globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"en-US"});
"use strict";(function(global,_global$ng,_global$ng2,_global$ng2$common,_global$ng$common,_global$ng$common$loc){(_global$ng=global.ng)!==null&&_global$ng!==void 0?_global$ng:global.ng={};(_global$ng2$common=(_global$ng2=global.ng).common)!==null&&_global$ng2$common!==void 0?_global$ng2$common:_global$ng2.common={};(_global$ng$common$loc=(_global$ng$common=global.ng.common).locales)!==null&&_global$ng$common$loc!==void 0?_global$ng$common$loc:_global$ng$common.locales={};const u=undefined;function plural(val){const n=val,i=Math.floor(Math.abs(val)),v=val.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["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"]],u,[["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"]],u,[["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}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(globalThis);;
(self.webpackChunknoggin_apps=self.webpackChunknoggin_apps||[]).push([[792],{43569:(at,N)=>{var n=function(){var a=function(L,o,C,w){for(C=C||{},w=L.length;w--;C[L[w]]=o);return C},g=[1,4],m=[1,5],T=[1,6],O=[1,7],D=[5,11,13],E=[11,13],y={trace:function(){},yy:{},symbols_:{error:2,expressions:3,expression:4,EOF:5,number:6,STRING:7,"-":8,FUNCTION:9,"(":10,")":11,expseq:12,",":13,NUMBER:14,DECIMAL:15,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",7:"STRING",8:"-",9:"FUNCTION",10:"(",11:")",13:",",14:"NUMBER",15:"DECIMAL"},productions_:[0,[3,2],[4,1],[4,1],[4,2],[4,3],[4,4],[12,1],[12,3],[6,1],[6,3]],performAction:function(o,C,w,M,q,z,F){var U=z.length-1;switch(q){case 1:return z[U-1];case 2:this.$=M.handler.helper.number(z[U]);break;case 3:this.$=M.handler.helper.string(z[U]);break;case 4:this.$=M.handler.helper.numberInverted(z[U]);break;case 5:this.$=M.handler.helper.callFunction.call(this,z[U-2]);break;case 6:this.$=M.handler.helper.callFunction.call(this,z[U-3],z[U-1]);break;case 7:this.$=[z[U]];break;case 8:z[U-2].push(z[U]),this.$=z[U-2];break;case 9:this.$=z[U];break;case 10:this.$=1*(z[U-2]+"."+z[U])}},table:[{3:1,4:2,6:3,7:g,8:m,9:T,14:O},{1:[3]},{5:[1,8]},a(D,[2,2]),a(D,[2,3]),{6:9,14:O},{10:[1,10]},a(D,[2,9],{15:[1,11]}),{1:[2,1]},a(D,[2,4]),{4:14,6:3,7:g,8:m,9:T,11:[1,12],12:13,14:O},{14:[1,15]},a(D,[2,5]),{11:[1,16],13:[1,17]},a(E,[2,7]),a(D,[2,10]),a(D,[2,6]),{4:18,6:3,7:g,8:m,9:T,14:O},a(E,[2,8])],defaultActions:{8:[2,1]},parseError:function(o,C){if(!C.recoverable){var w=new Error(o);throw w.hash=C,w}this.trace(o)},parse:function(o){var w=[0],q=[null],z=[],F=this.table,U="",k=0,Y=0,x=0,$=z.slice.call(arguments,1),H=Object.create(this.lexer),ie={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(ie.yy[ne]=this.yy[ne]);H.setInput(o,ie.yy),ie.yy.lexer=H,ie.yy.parser=this,typeof H.yylloc>"u"&&(H.yylloc={});var Q=H.yylloc;z.push(Q);var ze,le=H.options&&H.options.ranges;this.parseError="function"==typeof ie.yy.parseError?ie.yy.parseError:Object.getPrototypeOf(this).parseError;for(var ae,K,de,Me,be,Ae,Oe,Pe,Le={};;){if(this.defaultActions[de=w[w.length-1]]?Me=this.defaultActions[de]:((null===ae||typeof ae>"u")&&(ze=void 0,"number"!=typeof(ze=H.lex()||1)&&(ze=this.symbols_[ze]||ze),ae=ze),Me=F[de]&&F[de][ae]),typeof Me>"u"||!Me.length||!Me[0]){var $e;for(Ae in Pe=[],F[de])this.terminals_[Ae]&&Ae>2&&Pe.push("'"+this.terminals_[Ae]+"'");$e=H.showPosition?"Parse error on line "+(k+1)+":\n"+H.showPosition()+"\nExpecting "+Pe.join(", ")+", got '"+(this.terminals_[ae]||ae)+"'":"Parse error on line "+(k+1)+": Unexpected "+(1==ae?"end of input":"'"+(this.terminals_[ae]||ae)+"'"),this.parseError($e,{text:H.match,token:this.terminals_[ae]||ae,line:H.yylineno,loc:Q,expected:Pe})}if(Me[0]instanceof Array&&Me.length>1)throw new Error("Parse Error: multiple actions possible at state: "+de+", token: "+ae);switch(Me[0]){case 1:w.push(ae),q.push(H.yytext),z.push(H.yylloc),w.push(Me[1]),ae=null,K?(ae=K,K=null):(Y=H.yyleng,U=H.yytext,k=H.yylineno,Q=H.yylloc,x>0&&x--);break;case 2:if(Le.$=q[q.length-(Oe=this.productions_[Me[1]][1])],Le._$={first_line:z[z.length-(Oe||1)].first_line,last_line:z[z.length-1].last_line,first_column:z[z.length-(Oe||1)].first_column,last_column:z[z.length-1].last_column},le&&(Le._$.range=[z[z.length-(Oe||1)].range[0],z[z.length-1].range[1]]),typeof(be=this.performAction.apply(Le,[U,Y,k,ie.yy,Me[1],q,z].concat($)))<"u")return be;Oe&&(w=w.slice(0,-1*Oe*2),q=q.slice(0,-1*Oe),z=z.slice(0,-1*Oe)),w.push(this.productions_[Me[1]][0]),q.push(Le.$),z.push(Le._$),w.push(F[w[w.length-2]][w[w.length-1]]);break;case 3:return!0}}return!0}};function b(){this.yy={}}return y.lexer=function(){return{EOF:1,parseError:function(C,w){if(!this.yy.parser)throw new Error(C);this.yy.parser.parseError(C,w)},setInput:function(o,C){return this.yy=C||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var o=this._input[0];return this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o,o.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var C=o.length,w=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-C),this.offset-=C;var M=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),w.length-1&&(this.yylineno-=w.length-1);var q=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:w?(w.length===M.length?this.yylloc.first_column:0)+M[M.length-w.length].length-w[0].length:this.yylloc.first_column-C},this.options.ranges&&(this.yylloc.range=[q[0],q[0]+this.yyleng-C]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),C=new Array(o.length+1).join("-");return o+this.upcomingInput()+"\n"+C+"^"},test_match:function(o,C){var w,M,q;if(this.options.backtrack_lexer&&(q={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(q.yylloc.range=this.yylloc.range.slice(0))),(M=o[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=M.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:M?M[M.length-1].length-M[M.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],w=this.performAction.call(this,this.yy,this,C,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),w)return w;if(this._backtrack){for(var z in q)this[z]=q[z];return!1}return!1},next:function(){if(this.done)return this.EOF;var o,C,w,M;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var q=this._currentRules(),z=0;z<q.length;z++)if((w=this._input.match(this.rules[q[z]]))&&(!C||w[0].length>C[0].length)){if(C=w,M=z,this.options.backtrack_lexer){if(!1!==(o=this.test_match(w,q[z])))return o;if(this._backtrack){C=!1;continue}return!1}if(!this.options.flex)break}return C?!1!==(o=this.test_match(C,q[M]))&&o:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(C){this.conditionStack.push(C)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(C){return(C=this.conditionStack.length-1-Math.abs(C||0))>=0?this.conditionStack[C]:"INITIAL"},pushState:function(C){this.begin(C)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(C,w,M,q){switch(M){case 0:case 5:break;case 1:return 7;case 2:case 3:return 9;case 4:return 14;case 6:return 15;case 7:return 8;case 8:return 13;case 9:return 10;case 10:return 11;case 11:return 5}},rules:[/^(?:\s+)/,/^(?:"(\\["]|[^"])*")/,/^(?:[A-Za-z]{1,}[A-Za-z_0-9]+(?=[(]))/,/^(?:[A-Za-z]+(?=[(]))/,/^(?:[0-9]+)/,/^(?:\$)/,/^(?:[.])/,/^(?:-)/,/^(?:,)/,/^(?:\()/,/^(?:\))/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11],inclusive:!0}}}}(),b.prototype=y,y.Parser=b,new b}();N.iX=n.Parser},33513:(at,N,s)=>{"use strict";function a(M){return function n(M,q){for(var z=0;z<M.length;z++)if(M[z]!==q[z])return!1;return!0}(M[0],M[M.length-1])||M.push(M[0]),M}function g(M){for(var k,q=0,z=0,F=M.length,U=M[z];z<F-1;z++)q+=((k=M[z+1])[0]-U[0])*(k[1]+U[1]),U=k;return q>=0}function m(M,q,z,F){var Y=(F[1]-z[1])*(q[0]-M[0])-(F[0]-z[0])*(q[1]-M[1]);if(0!==Y){var x=((F[0]-z[0])*(M[1]-z[1])-(F[1]-z[1])*(M[0]-z[0]))/Y,B=((q[0]-M[0])*(M[1]-z[1])-(q[1]-M[1])*(M[0]-z[0]))/Y;if(x>=0&&x<=1&&B>=0&&B<=1)return!0}return!1}function T(M,q){for(var z=0;z<M.length-1;z++)for(var F=0;F<q.length-1;F++)if(m(M[z],M[z+1],q[F],q[F+1]))return!0;return!1}function D(M,q){var z=T(M,q),F=function O(M,q){for(var z=!1,F=-1,U=M.length,k=U-1;++F<U;k=F)(M[F][1]<=q[1]&&q[1]<M[k][1]||M[k][1]<=q[1]&&q[1]<M[F][1])&&q[0]<(M[k][0]-M[F][0])*(q[1]-M[F][1])/(M[k][1]-M[F][1])+M[F][0]&&(z=!z);return z}(M,q[0]);return!(z||!F)}function y(M){var q=[],z=M.slice(0),F=a(z.shift().slice(0));if(F.length>=4){g(F)||F.reverse(),q.push(F);for(var U=0;U<z.length;U++){var k=a(z[U].slice(0));k.length>=4&&(g(k)&&k.reverse(),q.push(k))}}return q}function b(M){var q={};for(var z in M)M.hasOwnProperty(z)&&(q[z]=M[z]);return q}function o(M,q){var z={};if(M.features){z.type="FeatureCollection",z.features=[];for(var F=0;F<M.features.length;F++)z.features.push(o(M.features[F],q))}if("number"==typeof M.x&&"number"==typeof M.y&&(z.type="Point",z.coordinates=[M.x,M.y],"number"==typeof M.z&&z.coordinates.push(M.z)),M.points&&(z.type="MultiPoint",z.coordinates=M.points.slice(0)),M.paths&&(1===M.paths.length?(z.type="LineString",z.coordinates=M.paths[0].slice(0)):(z.type="MultiLineString",z.coordinates=M.paths.slice(0))),M.rings&&(z=function E(M){for(var F,k,q=[],z=[],Y=0;Y<M.length;Y++){var x=a(M[Y].slice(0));if(!(x.length<4))if(g(x)){var B=[x.slice().reverse()];q.push(B)}else z.push(x.slice().reverse())}for(var j=[];z.length;){k=z.pop();var $=!1;for(F=q.length-1;F>=0;F--)if(D(q[F][0],k)){q[F].push(k),$=!0;break}$||j.push(k)}for(;j.length;){k=j.pop();var H=!1;for(F=q.length-1;F>=0;F--)if(T(q[F][0],k)){q[F].push(k),H=!0;break}H||q.push([k.reverse()])}return 1===q.length?{type:"Polygon",coordinates:q[0]}:{type:"MultiPolygon",coordinates:q}}(M.rings.slice(0))),"number"==typeof M.xmin&&"number"==typeof M.ymin&&"number"==typeof M.xmax&&"number"==typeof M.ymax&&(z.type="Polygon",z.coordinates=[[[M.xmax,M.ymax],[M.xmin,M.ymax],[M.xmin,M.ymin],[M.xmax,M.ymin],[M.xmax,M.ymax]]]),(M.geometry||M.attributes)&&(z.type="Feature",z.geometry=M.geometry?o(M.geometry):null,z.properties=M.attributes?b(M.attributes):null,M.attributes))try{z.id=function L(M,q){for(var z=q?[q,"OBJECTID","FID"]:["OBJECTID","FID"],F=0;F<z.length;F++){var U=z[F];if(U in M&&("string"==typeof M[U]||"number"==typeof M[U]))return M[U]}throw Error("No valid id attribute found")}(M.attributes,q)}catch{}return JSON.stringify(z.geometry)===JSON.stringify({})&&(z.geometry=null),M.spatialReference&&M.spatialReference.wkid&&4326!==M.spatialReference.wkid&&console.warn("Object converted in non-standard crs - "+JSON.stringify(M.spatialReference)),z}function C(M,q){q=q||"OBJECTID";var U,z={wkid:4326},F={};switch(M.type){case"Point":F.x=M.coordinates[0],F.y=M.coordinates[1],F.spatialReference=z;break;case"MultiPoint":F.points=M.coordinates.slice(0),F.spatialReference=z;break;case"LineString":F.paths=[M.coordinates.slice(0)],F.spatialReference=z;break;case"MultiLineString":F.paths=M.coordinates.slice(0),F.spatialReference=z;break;case"Polygon":F.rings=y(M.coordinates.slice(0)),F.spatialReference=z;break;case"MultiPolygon":F.rings=function I(M){for(var q=[],z=0;z<M.length;z++)for(var F=y(M[z]),U=F.length-1;U>=0;U--){var k=F[U].slice(0);q.push(k)}return q}(M.coordinates.slice(0)),F.spatialReference=z;break;case"Feature":M.geometry&&(F.geometry=C(M.geometry,q)),F.attributes=M.properties?b(M.properties):{},M.id&&(F.attributes[q]=M.id);break;case"FeatureCollection":for(F=[],U=0;U<M.features.length;U++)F.push(C(M.features[U],q));break;case"GeometryCollection":for(F=[],U=0;U<M.geometries.length;U++)F.push(C(M.geometries[U],q))}return F}s.d(N,{ey:()=>o,iI:()=>C})},90224:(at,N,s)=>{"use strict";s.d(N,{C:()=>O});var n=s(7673),a=s(25558),g=s(93953),m=s(14784),T=s(52168);let O=(()=>{class D{constructor(y,I){this.meService=y,this.router=I}canActivate(y,I){return this.meService.isAdmin$().pipe((0,a.n)(b=>(b||this.router.navigate(["/not-authorized"]),(0,n.of)(b))))}static#e=this.\u0275fac=function(I){return new(I||D)(g.KVO(m.Q),g.KVO(T.Ix))};static#t=this.\u0275prov=g.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},46680:(at,N,s)=>{"use strict";s.d(N,{y:()=>q});var n=s(50835),a=s(93953),g=s(18228),m=s(60177),T=s(2455);const O=["*",[["","eim-i18n-property","message"]],[["","eim-i18n-property","autherrordesc"]],[["","eim-i18n-property","secondarytitle"]]],D=["*","[eim-i18n-property=message]","[eim-i18n-property=authErrorDesc]","[eim-i18n-property=secondaryTitle]"];function E(z,F){if(1&z&&(a.j41(0,"h6",25),a.EFF(1),a.k0s()),2&z){const U=a.XpG();a.R7$(),a.JRh(U.primaryTitle)}}function y(z,F){1&z&&a.eu8(0)}function I(z,F){if(1&z&&a.EFF(0),2&z){const U=a.XpG(2);a.JRh(U.message)}}function b(z,F){1&z&&a.SdG(0,1)}function L(z,F){if(1&z&&(a.j41(0,"app-alert",26),a.DNE(1,y,1,0,"ng-container",19)(2,I,1,1,"ng-template",null,2,a.C5r)(4,b,1,0,"ng-template",null,3,a.C5r),a.k0s()),2&z){const U=a.sdS(3),k=a.sdS(5),Y=a.XpG();a.HbH(Y.authClass),a.R7$(),a.Y8G("ngIf",Y.message)("ngIfThen",U)("ngIfElse",k)}}function o(z,F){1&z&&(a.j41(0,"p",27),a.SdG(1,2),a.k0s())}function C(z,F){1&z&&a.eu8(0)}function w(z,F){if(1&z&&a.EFF(0),2&z){const U=a.XpG();a.JRh(U.secondaryTitle)}}function M(z,F){1&z&&a.SdG(0,3)}let q=(()=>{class z{constructor(U){this.locationService=U,this.formType="Login",this.showMessage=!1,this.showAuthErrorDesc=!1,this.authClass=""}ngOnInit(){this.currentYear=(new Date).getFullYear()}supportPortal(U){if(U&&U.shiftKey){const k=n.c.host+"/support/login?ns="+escape(n.c.ns);this.locationService.redirect(k)}}static#e=this.\u0275fac=function(k){return new(k||z)(a.rXU(g.N))};static#t=this.\u0275cmp=a.VBU({type:z,selectors:[["app-auth-chrome"]],inputs:{primaryTitle:"primaryTitle",secondaryTitle:"secondaryTitle",formType:"formType",message:"message",showMessage:"showMessage",showAuthErrorDesc:"showAuthErrorDesc",secondaryTitleDiv:"secondaryTitleDiv",authClass:"authClass"},ngContentSelectors:D,decls:35,vars:10,consts:()=>{let U,k,Y;return U="{VAR_SELECT, select, Login {Login} other {{INTERPOLATION}}}",U=a.k04(U,{INTERPOLATION:"\ufffd1\ufffd",VAR_SELECT:"\ufffd0\ufffd"}),k="Privacy Policy",Y="Privacy Policy",[["secondaryTitleText",""],["secondaryTitleContent",""],["messageText",""],["messageContent",""],U,k,Y,[1,"auth-container","d-flex","flex-column"],[1,"auth-layout"],[1,"auth-header","d-flex","justify-content-center"],["src","assets/img/logo.svg","alt","Noggin - a Motorola Solutions Company",1,"logo-img"],[1,"header-divider"],[1,"header-text"],["class","mb-4 text-center px-5",4,"ngIf"],[1,"px-sm-5"],["type","danger",3,"class",4,"ngIf"],["class","text-center px-5 pb-3",4,"ngIf"],[1,"px-5","pb-3"],[1,"secondary-title","mb-4","text-center"],[4,"ngIf","ngIfThen","ngIfElse"],[1,"d-block","d-sm-none","my-4","text-center","copyright-text"],["href","https://www.noggin.io/privacy","target","_blank","rel","noopener noreferrer"],["src","assets/img/auth-footer.svg","alt","footer",1,"w-100"],[1,"d-none","d-sm-block","copyright","copyright-text"],[1,"support",3,"click"],[1,"mb-4","text-center","px-5"],["type","danger"],[1,"text-center","px-5","pb-3"]]},template:function(k,Y){if(1&k){const x=a.RV6();a.NAR(O),a.j41(0,"div",7)(1,"div",8)(2,"header",9),a.nrm(3,"img",10),a.EFF(4,"\xa0 "),a.j41(5,"span",11),a.EFF(6," | "),a.k0s(),a.EFF(7,"\xa0 "),a.j41(8,"span",12),a.pXf(9,4),a.k0s()(),a.j41(10,"main"),a.DNE(11,E,2,1,"h6",13),a.j41(12,"div",14),a.DNE(13,L,6,5,"app-alert",15)(14,o,2,0,"p",16),a.k0s(),a.j41(15,"div",17)(16,"h6",18),a.DNE(17,C,1,0,"ng-container",19)(18,w,1,1,"ng-template",null,0,a.C5r)(20,M,1,0,"ng-template",null,1,a.C5r),a.k0s(),a.SdG(22),a.k0s()()(),a.j41(23,"footer")(24,"div",20)(25,"span"),a.EFF(26),a.j41(27,"a",21),a.pXf(28,5),a.k0s()()(),a.nrm(29,"img",22),a.j41(30,"div",23),a.EFF(31),a.j41(32,"a",21),a.pXf(33,6),a.k0s()(),a.j41(34,"div",24),a.bIt("click",function(j){return a.eBV(x),a.Njj(Y.supportPortal(j))}),a.k0s()()()}if(2&k){const x=a.sdS(19),B=a.sdS(21);a.R7$(9),a.uP7(Y.formType)(Y.formType),a.nnv(9),a.R7$(2),a.Y8G("ngIf",Y.primaryTitle),a.R7$(2),a.Y8G("ngIf",Y.showMessage),a.R7$(),a.Y8G("ngIf",Y.showAuthErrorDesc),a.R7$(3),a.Y8G("ngIf",Y.secondaryTitle)("ngIfThen",x)("ngIfElse",B),a.R7$(9),a.SpI("Copyright \xa9 ",Y.currentYear," Noggin - "),a.R7$(5),a.SpI(" Copyright \xa9 ",Y.currentYear," Noggin - ")}},dependencies:[m.bT,T.C],styles:[".auth-container[_ngcontent-%COMP%]{min-height:100vh;background-color:#fff}.auth-layout[_ngcontent-%COMP%]{flex:1 0 auto;margin:0 auto;width:400px}.auth-layout[_ngcontent-%COMP%]   .auth-header[_ngcontent-%COMP%]{margin-bottom:20px;padding-top:40px;font-size:2.7rem;line-height:2.9rem}.auth-layout[_ngcontent-%COMP%]   .auth-header[_ngcontent-%COMP%]   .header-divider[_ngcontent-%COMP%]{color:#d6e0e4;font-weight:200}.auth-layout[_ngcontent-%COMP%]   .auth-header[_ngcontent-%COMP%]   .logo-img[_ngcontent-%COMP%]{height:52px}.auth-layout[_ngcontent-%COMP%]   .auth-header[_ngcontent-%COMP%]   .header-text[_ngcontent-%COMP%]{color:#545454;font-weight:700}@media (max-width: 575.98px){.auth-layout[_ngcontent-%COMP%]{width:100%}}footer[_ngcontent-%COMP%]{flex:none;position:relative}footer[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]{position:absolute;bottom:10px;left:12px;color:#fff}footer[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#fff;text-decoration:underline}footer[_ngcontent-%COMP%]   .copyright-text[_ngcontent-%COMP%]{font-size:.8rem}footer[_ngcontent-%COMP%]   .support[_ngcontent-%COMP%]{background-color:#fff;position:absolute;right:6%;bottom:15%;height:40%;width:7%;opacity:0;cursor:default}.secondary-title[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})}return z})()},8142:(at,N,s)=>{"use strict";s.d(N,{V:()=>T});var n=s(21626),a=s(50835),g=s(93953),m=s(15387);let T=(()=>{class O{constructor(E,y){this.httpClient=E,this.sessionManager=y}get(E,y){return this.httpClient.get(E,{...y,...this.getHttpOptions()})}post(E,y,I={}){return this.httpClient.post(E,y,{...I,...this.getHttpOptions()})}patch(E,y,I={}){return this.httpClient.patch(E,y,{...I,...this.getHttpOptions()})}postWithOptions(E,y,I){return this.httpClient.post(E,y,{...I,...this.getHttpOptions()})}delete(E){return this.httpClient.delete(E,this.getHttpOptions())}getHttpOptions(){const E=this.sessionManager.getAuthToken();return{headers:new n.Lr({Authorization:`Bearer ${E}`,"en-namespace":a.c.ns})}}static#e=this.\u0275fac=function(y){return new(y||O)(g.KVO(n.Qq),g.KVO(m.Pb))};static#t=this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})()},96022:(at,N,s)=>{"use strict";s.d(N,{r:()=>y});var n=s(60177),a=s(89417),g=s(52168),m=s(7333),T=s(41536),O=s(35772),D=s(35046),E=s(93953);let y=(()=>{class I{static#e=this.\u0275fac=function(o){return new(o||I)};static#t=this.\u0275mod=E.$C({type:I});static#n=this.\u0275inj=E.G2t({providers:[O.lK],imports:[n.MD,a.YN,a.X1,g.iI,m.r,T.G,D.c,D.c]})}return I})()},39007:(at,N,s)=>{"use strict";s.d(N,{J2:()=>B,uR:()=>Q});var n=s(84412),a=s(7673),g=s(96354),m=s(99437),T=s(25558),O=s(61594),D=s(96697),E=s(40673),y=s(19439),I=s(67376),L=s(55596),o=s(93953),C=s(63137),w=s(27916),M=s(15387),q=s(76087),z=s(8142),F=s(87612),U=s(52168),k=s(64552),Y=s(68775),B=function(le){return le.SUCCESS="success",le.BAD="bad",le.FAILURE="failure",le.IN_PROGRESS="inProgress",le.AWAITING="awaiting",le.INVITED="invited",le.SUSPENDED="suspended",le.REQUESTED="requested",le.ACCOUNT_LOCK="accountLock",le.WEAK_PASSWORD="weakPassword",le.TOTP_REQUIRED="totp_required",le.TOTP_SETUP="totp_setup",le.TOTP_SETUP_FAILED="totp_setup_failed",le.SMS_REQUIRED="sms_required",le.MFA_FAILED="mfa_failed",le.SMS_TOO_MANY_FAILED="sms_too_many_failed",le.TOTP_TOO_MANY_FAILED="totp_too_many_failed",le.SMS_NO_NUMBER="sms_no_number",le.SMS_NETWORK_FAILURE="sms_network_failure",le}(B||{}),j=function(le){return le.SUCCESS="Success",le.FAILURE="Failure",le}(j||{});const $={success:B.SUCCESS,bad:B.BAD,suspended:B.SUSPENDED,invited:B.INVITED,requested:B.REQUESTED,"awaiting verification":B.AWAITING,account_lock:B.ACCOUNT_LOCK,totp_setup:B.TOTP_SETUP,totp_required:B.TOTP_REQUIRED,totp_setup_failed:B.TOTP_SETUP_FAILED,sms_required:B.SMS_REQUIRED,mfa_failed:B.MFA_FAILED,sms_too_many_failed:B.SMS_TOO_MANY_FAILED,totp_too_many_failed:B.TOTP_TOO_MANY_FAILED,sms_no_number:B.SMS_NO_NUMBER,sms_network_failure:B.SMS_NETWORK_FAILURE},ne=E.Ay.SECURITY.OP;let Q=(()=>{class le{constructor(te,ae,K,de,Me,me,be,Le,Ae){this.ensrvService=te,this.processService=ae,this.sessionManager=K,this.formulaService=de,this.authHttpClient=Me,this.deviceService=me,this.router=be,this.opCacheService=Le,this.mobileAppMessageBusService=Ae,this.credentials=new n.t({email:"",password:""}),this.totpSetUpDetails$=new n.t({qrCode:"",otpAuthUrl:"",manualCode:""}),this.mfaStatus=new n.t(null),this._opAuthResetTokenFactory=new y.f("op/auth/reset-token",ne),this._opAuthSecretStrengthFactory=new y.f("op/auth/secret-strength",ne)}isAuthenticated(){return this.formulaService.evaluate('HAS_LABELS("app/security-label/user")').pipe((0,g.T)(te=>"true"===te[0]),(0,m.W)(()=>(0,a.of)(!1)))}signIn(te,ae,K,de){this.sessionManager.changeToken(null);const me=new y.f("op/auth/gen-token",ne).setFields([{tip:"op/auth/gen-token:key",value:[te]},{tip:"op/auth/gen-token:secret",value:[ae]},{tip:"op/auth/gen-token:payload",value:[te]}]).makeEno();return this.ensrvService.send([me]).pipe((0,T.n)(be=>{const Le=be.filter(Pe=>"error"===(0,I.get)(Pe,"source.type",null))[0];if(Le)switch(Le.getFieldStringValue("error/message/tip")){case"error/message/auth/invalid-credential":return(0,a.of)(B.BAD);case"error/message/auth/too-many-auth-attempts":return(0,a.of)(B.ACCOUNT_LOCK)}const Ae=be.filter(Pe=>"response/auth/gen-token"===(0,I.get)(Pe,"source.type",null))[0],Oe={"Auth key":[te],"Auth token":[Ae.getFieldStringValue("response/auth/gen-token:token")]};K&&(Oe["Profile tip"]=[K]);const Xe=this.sessionManager.getLastProfileWithEmail(te);return Xe&&(Oe["Profile tip"]=[Xe]),de&&(Oe.userToken=[de]),this.processService.start("eim/process/auth/login",Oe).pipe((0,O.$)(Pe=>Pe.finished),(0,g.T)(Pe=>this._processVarsToResultStatus(Pe.vars)))}))}_processVarsToResultStatus(te){if(te&&te.Status){const ae=te.Status[0];let K=null;if(ae===B.SMS_REQUIRED||ae===B.MFA_FAILED||ae===B.TOTP_REQUIRED||ae===B.TOTP_SETUP||ae===B.TOTP_SETUP_FAILED||ae===B.SMS_TOO_MANY_FAILED||ae===B.TOTP_TOO_MANY_FAILED||ae===B.SMS_NO_NUMBER)return ae===B.TOTP_SETUP&&(K=te.mfaTokenUrl?te.mfaTokenUrl[0]:null,this.getTotpDetails(K)),ae}return te.Status&&te["JWT token"]&&void 0!==$[te.Status[0]]?(this.sessionManager.updateSessionInfoAndRedirectToOriginalRequestedDestination(te["JWT token"][0]),$[te.Status[0]]):B.FAILURE}redirectToMFAScreens(te,ae,K){const de=(0,I.get)(this.router,"url",null);te===B.SMS_REQUIRED||te===B.SMS_NO_NUMBER||te===B.SMS_TOO_MANY_FAILED?de&&de.indexOf("mfa")<0&&(this.sendCredentialsToMFA(te,ae,K),this.router.navigate(["mfa","sms"])):(te===B.TOTP_SETUP||te===B.TOTP_REQUIRED||te===B.TOTP_TOO_MANY_FAILED)&&de&&de.indexOf("mfa")<0&&(this.sendCredentialsToMFA(te,ae,K),this.router.navigate(["mfa","totp"]))}sendCredentialsToMFA(te=null,ae,K){this.credentials.next({email:ae,password:K}),this.mfaStatus.next(te)}getTotpDetails(te){te&&this.authHttpClient.get(te).pipe((0,D.s)(1)).subscribe(ae=>{this.sendTotpDetails(ae.secrets)})}sendTotpDetails(te){this.totpSetUpDetails$.next({manualCode:te.base32,qrCode:te.qrCode,otpAuthUrl:te.otpAuthUrl})}onSubmitPasscode(te){return this.getCredentials().pipe((0,T.n)(ae=>te.length>0?this.signIn(ae.email,ae.password,"",te):this.signIn(ae.email,ae.password)))}getCredentials(){return this.credentials}signOut(){let te={};return this.deviceService.deviceInfo&&this.deviceService.deviceInfo.registrationId&&(te={deviceId:this.deviceService.deviceInfo.uuid?[this.deviceService.deviceInfo.uuid]:[]},this.mobileAppMessageBusService.pushDataToMobileApp({input:{action:"stop"},identifier:L.qR})),this.opCacheService.destroyAll(),this.processService.start("eim/process/auth/logout",te).pipe((0,O.$)(ae=>ae.finished),(0,g.T)(ae=>{const K=ae.vars.Status[0]===j.SUCCESS;return K&&this.sessionManager.updateSessionInfo(null),K}),(0,m.W)(()=>(0,a.of)(!1)))}forgotPassword(te){return this.processService.start("eim/process/auth/request-forgotten-password",{"Auth key":[te]}).pipe((0,O.$)(ae=>ae.finished),(0,g.T)(()=>!0))}resetPassword(te,ae,K){const de=this._opAuthResetTokenFactory.setFields([{tip:"op/auth/reset-token:key",value:[te]},{tip:"op/auth/reset-token:token",value:[K]},{tip:"op/auth/reset-token:new-secret",value:[ae]}]).makeEno();return this.ensrvService.send([de]).pipe((0,O.$)(),(0,T.n)(Me=>{const me=Me.filter(Le=>"response/auth/reset-token"===(0,I.get)(Le,"source.type",null))[0],be=Me.filter(Le=>"error"===(0,I.get)(Le,"source.type",null))[0];return be&&me.getFieldValues("response/auth/reset-token:error")[0]===be.tip?(0,a.of)(be):(0,a.of)(null)}))}checkPasswordStrength(te){const ae=this._opAuthSecretStrengthFactory.setFields([{tip:"op/auth/secret-strength:secret",value:[te]}]).makeEno();return this.ensrvService.send([ae]).pipe((0,O.$)(),(0,g.T)(K=>{if(!K.filter(me=>!!me.source).length)return null;const de=K.filter(me=>"response/auth/secret-strength"===(0,I.get)(me,"source.type",null))[0];return K.filter(me=>"error"===(0,I.get)(me,"source.type",null))[0]?-1:+(0,I.get)(de.getFieldValues("response/auth/secret-strength:score"),"0",0)}),(0,m.W)(()=>(0,a.of)(-1)))}static#e=this.\u0275fac=function(ae){return new(ae||le)(o.KVO(C.w),o.KVO(w.V),o.KVO(M.Pb),o.KVO(q.C),o.KVO(z.V),o.KVO(F.g),o.KVO(U.Ix),o.KVO(k.D),o.KVO(Y.o))};static#t=this.\u0275prov=o.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})()},43662:(at,N,s)=>{"use strict";s.d(N,{C:()=>O});var n=s(17552),a=s(67376);const m=()=>({user:null,profile:null,sessionId:null,namespace:null,inactivityTimeout:null,sessionExpiry:null,agentEmail:null}),T=new n.X7;function O(I){if(!I)return m();let b;try{b=T.decodeToken(atob(I))}catch{return m()}const L=function E(I){return"number"!=typeof I?null:new Date(1e3*I)}((0,a.get)(b,"exp",null));return function y(I){if(!(I instanceof Date))return!1;const L=Date.now()+18e5;return I.valueOf()<L}(L)?m():{user:(0,a.get)(b,"customPayload.userTip",null),profile:(0,a.get)(b,"customPayload.profileTip",null),sessionId:(0,a.get)(b,"sessionId",null),namespace:(0,a.get)(b,"namespace",null),sessionExpiry:L,inactivityTimeout:D((0,a.get)(b,"customPayload.inactivityTimeout",null)),agentEmail:(0,a.get)(b,"customPayload.auditTags.agentEmail",null)}}function D(I){return"number"!=typeof I?null:I}},35772:(at,N,s)=>{"use strict";s.d(N,{b3:()=>T,lK:()=>O});var n=s(93953),a=s(92880);const T=new n.nKC("InactivityCountdownTimer"),O={provide:T,useFactory:()=>new a.InactivityCountdownTimer}},87138:(at,N,s)=>{"use strict";s.d(N,{o:()=>T});var n=s(21413),a=s(92597),g=s(93953),m=s(76087);let T=(()=>{class O{constructor(E){this.formulaService=E,this.relatedItemsSubject$=new n.B,this.relatedObjectSubject$=new n.B,this.messageLabelSubject$=new n.B,this.filterOnStatusTabelSubject$=new n.B,this.recipientSourceSubject$=new n.B}getRecipientSource(E,y){if(E.length>0){const I=(0,a.Ac)({name:"MAP",args:[{name:"ARRAY",args:E},{name:"ARRAY",args:[{name:"FIELD",args:[y,{name:"VAR",args:["Value"]}]}]}]});this.formulaService.evaluate(I).subscribe(b=>{this.recipientSourceSubject$.next(b)})}else this.recipientSourceSubject$.next([])}getRelatedItems(E,y){this.formulaService.evaluate(`ARRAY(FIELD("app/message/related-objects:items", "${E}"))`,E).subscribe(b=>{y?this.relatedObjectSubject$.next(b):this.relatedItemsSubject$.next(b)})}static#e=this.\u0275fac=function(y){return new(y||O)(g.KVO(m.C))};static#t=this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})()},59782:(at,N,s)=>{"use strict";s.d(N,{Om:()=>Q,TP:()=>ne,TU:()=>Me,Uj:()=>le,oY:()=>H,pv:()=>ie});var n=s(67376),g=s(97586),m=s.n(g),T=s(84412),O=s(61594),D=s(70152),E=s(91986),y=s(25558),I=s(96354),b=s(88141),L=s(40673),o=s(10298),C=s(95113),w=s(55516),M=s(93953),q=s(44667),z=s(51229),F=s(31933),U=s(79029),k=s(54709),Y=s(27916),x=s(19937),B=s(76087),j=s(50337),$=s(52168),H=function(be){return be.EMAIL="app/email/inbound",be.SMS="app/sms/inbound",be}(H||{}),ie=function(be){return be.EMAIL="app/email/outbound",be.SMS="app/sms/outbound",be.VOICE="app/voice-message/outbound",be}(ie||{}),ne=function(be){return be.EMAIL="app/email/outbound-source",be.SMS="app/sms/outbound-source",be.VOICE="app/voice-message/outbound-source",be}(ne||{}),Q=function(be){return be.EMAIL="app/email/outbound:email-source",be.SMS="app/sms/outbound:sms-source",be.VOICE="app/voice-message/outbound:voice-message-source",be}(Q||{}),le=function(be){return be.EMAIL="test-dashboards-sent-email-status",be.SMS="test-dashboards-sent-sms-status",be.VOICE="test-dashboards-sent-voice-message-status",be}(le||{});let Me=(()=>{class be{constructor(Ae,Oe,Xe,Pe,$e,ze,Be,Ye,Ct,Lt){this.objectService=Ae,this.queryService=Oe,this.emailService=Xe,this.smsService=Pe,this.voiceMessageService=$e,this.processService=ze,this.toastService=Be,this.formulaService=Ye,this.sideSheetService=Ct,this.router=Lt,this.popupOptions={timeOut:1e4,clickToClose:!0},this.storeVars$=new T.t({}),this.selectedMessageTipsForUpdate=[]}getEmailFromAddresses(Ae,Oe){return this.queryService.execute1dFirst(w.R.GET_EMAIL_FROM_ADDRESSES,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:Ae,limit:Oe,sortby:["TITLE()"],sortdir:["asc"]}]})}showToastNavigation(Ae,Oe,Xe){this.toastService.showSuccessToast("Sending... Click to view details. Some details may not be immediately available.",this.popupOptions).click.pipe((0,O.$)(),(0,D.B)(200),(0,E.c)(500),(0,y.n)(()=>this.formulaService.evaluate(`REFERENCES("${Oe}", TIP())`,Ae).pipe((0,O.$)()))).subscribe($e=>{this.sideSheetService.pop(),this.router.navigate(["app","s","dashboard",Xe,(0,n.get)($e,"[0]")])})}getInboxFolderCount$(){return this.queryService.execute1dFirst(w.R.GET_MESSAGES_COUNT_FOR_INBOX_DRAFT,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}]}).pipe((0,I.T)(Ae=>{let Oe=0,Xe=0;return Ae.forEach(Pe=>{Pe.type===o.QE.INBOX?Oe++:Pe.type===o.QE.DRAFT&&Xe++}),{inboxUnread:Oe,draft:Xe}}))}getAllInboxMessages$(Ae,Oe=!1,Xe,Pe,$e){const Be=this.buildExtraFiltersInbox(Pe,Oe,$e),Ye=(0,n.isEmpty)(Pe.messageType)?["app/email/inbound","app/sms/inbound"]:[`app/${Pe.messageType}/inbound`],Ct=this.buildVars(Pe,{messageRelated:Oe,contextTip:Xe},$e,Ye);return this.queryService.execute1dFirst(w.R.GET_INBOX_MESSAGES,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:['FIELD("app/super-type/message/inbound:sent-datetime")'],sortdir:["desc"],offset:Ae.offset,limit:Ae.limit}],extraFilters:Be,vars:Ct}).pipe((0,b.M)(Lt=>(Lt.forEach(Vt=>{Vt.messageLabels=Vt?.messageLabelStr?this.transformMessageLabel((0,n.get)(Vt,"messageLabelStr","")):[]}),Lt)),(0,I.T)(Lt=>Lt.map(Vt=>({...Vt,hasAttachment:"true"===Vt.hasAttachment||"1"===Vt.hasAttachment,sentDatetime:m()(Vt.sentDatetime),readState:"true"===Vt.readState}))))}getAllOutboxMessages$(Ae,Oe,Xe=!1,Pe,$e,ze){const Be=Ae===o.QE.DRAFT?w.R.GET_DRAFT_MESSAGES_META:w.R.GET_SENT_MESSAGES_META,Ye=Ae===o.QE.DRAFT?['META_FIELD("app/search-meta-fields/modified-date")']:['META_FIELD("app/search-meta-fields/outbound-source-datetime")'],Ct=this.constructSearchableTypeTip(Ae,$e.messageType),Lt=this.buildExtraFilters($e,Xe,Ae,ze),Vt=this.buildVars($e,{messageRelated:Xe,contextTip:Pe},ze,Ct);return this.queryService.execute1dFirst(Be,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:Ye,sortdir:["desc"],offset:Oe.offset,limit:Oe.limit}],extraFilters:Lt,vars:Vt}).pipe((0,b.M)(ht=>(ht.forEach(gt=>{gt.messageLabels=gt?.messageLabelStr?this.transformMessageLabel((0,n.get)(gt,"messageLabelStr","")):[]}),ht)),(0,I.T)(ht=>Ae===o.QE.DRAFT?ht.reduce((gt,Ge)=>(Ge.isDraft&&gt.push(me(Ge)),gt),[]):ht.map(gt=>me(gt))))}transformMessageLabel(Ae){try{return(0,n.get)(JSON.parse(Ae),"messageLabels",[])}catch{return[]}}constructSearchableTypeTip(Ae,Oe){let Xe;return Xe=(0,n.isEmpty)(Oe)?["app/email/outbound-source","app/sms/outbound-source","app/voice-message/outbound-source"]:[`app/${Oe}/outbound-source`],Xe}buildExtraFilters(Ae,Oe,Xe,Pe){const $e=[];return(0,n.isEmpty)(Pe)||$e.push({label:"If provided typeTip values have text matching provided search value",formula:'INARRAY(SEARCH_IN_TYPE(VAR("Search value"), VAR("Tip type to search")), TIP())'}),this.isExistingFilter(Ae.to)&&$e.push({label:"filter message by recipients",formula:'OR(INARRAY(FIELD("app/email/outbound-source:to"),VAR("recipientTip")),INARRAY(FIELD("app/sms/outbound-source:to"), VAR("recipientTip")),INARRAY(FIELD("app/voice-message/outbound-source:to"),VAR("recipientTip")))'}),this.isExistingFilter(Ae.from)&&$e.push({label:"filter message by sender",formula:'INARRAY(ARRAY(FIELD("app/email/outbound-source:from-address"), FIELD("app/sms/outbound-source:from-address"), FIELD("app/email/outbound-source:from-address", FIELD("app/email/outbound:email-source")), FIELD("app/sms/outbound-source:from-address", FIELD("app/sms/outbound:sms-source")), FIELD("app/voice-message/outbound-source:from-address"), FIELD("app/voice-message/outbound-source:from-address", FIELD("app/voice-message/outbound:voice-message-source"))), VAR("senderTip"))'}),this.isExistingFilter(Ae.messageType)&&$e.push({label:"filter outbound message by message type",formula:`ISTYPE("app/${Ae.messageType}/outbound-source")`}),this.isExistingFilter(Ae.fromSystem)&&$e.push({label:"filter message by from system",formula:'INARRAY(VAR("fromSystemTip"),FIELD("app/email/outbound-source:from-address"))'}),this.isExistingFilter(Ae.whitelist)&&$e.push({label:"filter message by system email addresses",formula:'OR(NOT(EQUALS(TYPE(TIP()), "app/email/outbound-source")),INARRAY(VAR("whiteList"),FIELD("app/email/outbound-source:from-address")))'}),this.isExistingFilter(Ae.dateWithin)&&$e.push({label:"Email list filtered for specific date",formula:Ae.dateWithin}),this.isExistingFilter(Ae.customDateRange)&&$e.push({label:"Email list filtered for specific date range",formula:Ae.customDateRange}),Oe&&$e.push({label:"filter message by relative items",formula:'OR(INARRAY(REFERENCES("app/message/related-objects:items",VAR("relativeItems")),FIELD("app/email/outbound-source:related-objects")),INARRAY(REFERENCES("app/message/related-objects:items",VAR("relativeItems")),FIELD("app/sms/outbound-source:related-objects")),INARRAY(REFERENCES("app/message/related-objects:items",VAR("relativeItems")),FIELD("app/voice-message/outbound-source:related-objects")))'}),(this.isExistingFilter(Ae.messageLabel)||this.isExistingFilter(Ae.prefilterMessageLabelTips))&&$e.push({label:"filter message by labels",formula:'OR(HAS_INTERSECT(VAR("messageLabels"),FIELD("app/email/outbound-source:message-labels")),HAS_INTERSECT(VAR("messageLabels"),FIELD("app/sms/outbound-source:message-labels")),HAS_INTERSECT(VAR("messageLabels"),FIELD("app/voice-message/outbound-source:message-labels")))'}),$e}buildExtraFiltersInbox(Ae,Oe,Xe){const Pe=[];return(0,n.isEmpty)(Xe)||Pe.push({label:"If provided typeTip values have text matching provided search value",formula:'INARRAY(SEARCH_IN_TYPE(VAR("Search value"), VAR("Tip type to search")), TIP())'}),this.isExistingFilter(Ae.to)&&Pe.push({label:"filter message by recipients",formula:'OR(INARRAY(FIELD("app/email/inbound:to"),VAR("recipientTip")),INARRAY(FIELD("app/sms/inbound:to"), VAR("recipientTip")))'}),this.isExistingFilter(Ae.from)&&Pe.push({label:"filter message by sender",formula:'OR(INARRAY(FIELD("app/email/inbound:from"), VAR("senderTip")), INARRAY(FIELD("app/sms/inbound:from"), VAR("senderTip")))'}),this.isExistingFilter(Ae.messageType)&&Pe.push({label:"filter inbox message by message type",formula:`ISTYPE("app/${Ae.messageType}/inbound")`}),this.isExistingFilter(Ae.messageReadStatus)&&Pe.push({label:"filter message by read status",formula:'OR(INARRAY(FIELD("app/email/inbound:read-state"),VAR("readStatus")), INARRAY(FIELD("app/sms/inbound:read-state"),VAR("readStatus")))'}),this.isExistingFilter(Ae.toSystem)&&Pe.push({label:"Was email sent to address of provided tip",formula:'INARRAY(LOOKUP(FIELD("app/email/from-address:email"), AND(ISTYPE("app/email/from-address"), INARRAY(VAR("toSystemTip"), TIP()))), META_FIELD("app/search-meta-fields/inbound-whitelist-emails"))'}),this.isExistingFilter(Ae.dateWithin)&&Pe.push({label:"Email list filtered for specific date",formula:Ae.dateWithin}),this.isExistingFilter(Ae.customDateRange)&&Pe.push({label:"Email list filtered for specific date range",formula:Ae.customDateRange}),this.isExistingFilter(Ae.whitelist)&&Pe.push({label:"filter message by system email addresses",formula:'INARRAY(LOOKUP(FIELD("app/email/from-address:email"), AND(ISTYPE("app/email/from-address"), INARRAY(VAR("whiteList"), TIP()))), META_FIELD("app/search-meta-fields/inbound-whitelist-emails"))'}),Oe&&Pe.push({label:"filter message by relative items",formula:'OR(INARRAY(REFERENCES("app/message/related-objects:items",VAR("relativeItems")),FIELD("app/email/inbound:related-objects")),INARRAY(REFERENCES("app/message/related-objects:items",VAR("relativeItems")),FIELD("app/sms/inbound:related-objects")))'}),(this.isExistingFilter(Ae.messageLabel)||this.isExistingFilter(Ae.prefilterMessageLabelTips))&&Pe.push({label:"filter message by labels",formula:'OR(HAS_INTERSECT(VAR("messageLabels"),FIELD("app/email/inbound:message-labels")),HAS_INTERSECT(VAR("messageLabels"),FIELD("app/sms/inbound:message-labels")))'}),Pe}isExistingFilter(Ae){return!(0,n.isEmpty)(Ae)&&!(0,n.isEmpty)(Object.values(Ae).filter(Boolean))}buildVars(Ae,Oe,Xe,Pe){const $e={recipientTip:[],senderTip:[],relativeItems:[],readStatus:null,toSystemTip:[],fromSystemTip:[],whiteList:[],messageLabels:[]};return(0,n.isEmpty)(Xe)||($e["Tip type to search"]=Pe,$e["Search value"]=[Xe]),(0,n.isEmpty)(Ae.to)||($e.recipientTip=Object.values(Ae.to).filter(Boolean)),(0,n.isEmpty)(Ae.from)||($e.senderTip=[Ae.from].filter(Boolean)),(0,n.isEmpty)(Ae.messageReadStatus)||($e.readStatus=Ae.messageReadStatus===C.aA.READ?["true"]:["false"]),(0,n.isEmpty)(Ae.toSystem)||($e.toSystemTip=Ae.toSystem.filter(Boolean)),(0,n.isEmpty)(Ae.fromSystem)||($e.fromSystemTip=Ae.fromSystem.filter(Boolean)),(0,n.isEmpty)(Ae.whitelist)||($e.whiteList=Ae.whitelist.filter(Boolean)),(0,n.get)(Oe,"messageRelated")&&($e.relativeItems=[Oe.contextTip]),(0,n.isEmpty)(Ae.messageLabel)?(0,n.isEmpty)(Ae.prefilterMessageLabelTips)||($e.messageLabels=Ae.prefilterMessageLabelTips.filter(Boolean)):$e.messageLabels=Ae.messageLabel.map(ze=>ze.$tip),$e}getInboundMessage$(Ae,Oe){return this.objectService.getObject(Ae,Oe,L.Ay.BRANCH_MASTER,[],!1).pipe((0,b.M)(Xe=>{Oe===o.Hq&&this.normalizeInboundEmail(Xe)}))}getOutbound(Ae,Oe){switch(Oe){case ie.EMAIL:return this.emailService.getOutbound(Ae);case ie.SMS:return this.smsService.getOutbound(Ae);case ie.VOICE:return this.voiceMessageService.getOutbound(Ae)}}getOutboundSource(Ae,Oe){switch(Oe){case ne.EMAIL:return this.emailService.getOutboundSource(Ae);case ne.SMS:return this.smsService.getOutboundSource(Ae);case ne.VOICE:return this.voiceMessageService.getOutboundSource(Ae)}}normalizeInboundEmail(Ae){Ae.cc=Ae.cc||[],Ae.bcc=Ae.bcc||[],Ae.attachments=Ae.attachments||[]}selectedMessage(Ae){this.selectedMessageTipsForUpdate.indexOf(Ae)>-1?this.selectedMessageTipsForUpdate=this.selectedMessageTipsForUpdate.filter(Oe=>Ae!==Oe):this.selectedMessageTipsForUpdate.push(Ae)}markAsRead(Ae){return this.processService.start("eim/process/message/update-read-status",{"Object tip":[Ae],"Read status":["true"]})}bulkUpdateReadStatus(Ae){return this.processService.start("eim/process/message/bulk-update-read-status",{"Inbound tips":this.selectedMessageTipsForUpdate,"Read status":[Ae]})}bulkAttachRelatedObjects(Ae){return this.processService.start("eim/process/message/bulk-attach-related-objects",{"Message tips":this.selectedMessageTipsForUpdate,"New related object tips":Ae})}bulkAttachMessageLabels(Ae){return this.processService.start("eim/process/message/bulk-attach-message-labels",{"Message tips":this.selectedMessageTipsForUpdate,"New message label tips":Ae})}getOutboundTipFromOutboundSource(Ae){return this.formulaService.evaluate(Ae)}static#e=this.\u0275fac=function(Oe){return new(Oe||be)(M.KVO(q.T),M.KVO(z.c),M.KVO(F._),M.KVO(U.$),M.KVO(k.T),M.KVO(Y.V),M.KVO(x.f),M.KVO(B.C),M.KVO(j.E),M.KVO($.Ix))};static#t=this.\u0275prov=M.jDH({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})();function me(be){return{...be,hasAttachment:"true"===be.hasAttachment||"1"===be.hasAttachment,datetime:m()(be.datetime)}}},70849:(at,N,s)=>{"use strict";s.d(N,{S:()=>g,j:()=>m});var n=s(97586),a=s.n(n),g=function(T){return T.START="START",T.MIDDLE="MIDDLE",T.END="END",T}(g||{});class m{static getNumberOfDays(O,D){const E=a()(O);let y=a()(D);return 0===y.minute()&&0===y.second()&&(y=y.subtract(1,"seconds")),E.isSame(y,"days")?1:Math.abs(y.diff(E,"days"))+1}static isSameDate(O,D){const E=a()(O);let y=a()(D);return 0===y.minute()&&0===y.second()&&(y=y.subtract(1,"seconds")),E.isSame(y,"days")}static getShiftsByDate(O,D){return O.filter(E=>m.isShiftForDate(E,D))}static getShiftsByDateAndRole(O,D,E){return E.filter(y=>m.isShiftForRole(y,O)&&m.isShiftForDate(y,D))}static isShiftForRole(O,D){return O.role===D}static isShiftForDate(O,D){const E=O.start,y=O.end,I=a()(E);let b=a()(y);return 0===b.minute()&&0===b.second()&&(b=b.subtract(1,"seconds")),a()(D).isBetween(I,b,"day","[]")||!E&&!y||E&&!y&&a()(D).isSameOrAfter(E,"days")||!E&&y&&a()(D).isSameOrBefore(y,"days")}}},65454:(at,N,s)=>{"use strict";s.d(N,{i:()=>K});var n=s(67376),a=s(97586),g=s.n(a),m=s(84412),T=s(983),O=s(44668),D=s(99172),E=s(23294),y=s(96354),I=s(61594),b=s(88141),L=s(99437),o=s(89417),C=s(69172),w=s(68030),M=s(93953),q=s(29968),z=s(36193);const F={ariaLabelledBy:"modal-basic-title",size:"sm",centered:!0};let U=(()=>{class de{constructor(me){this.modal=me}setProps(me){Object.assign(this,me)}static#e=this.\u0275fac=function(be){return new(be||de)(M.rXU(q.Lw))};static#t=this.\u0275cmp=M.VBU({type:de,selectors:[["app-multiple-options-confirmation-modal"]],decls:16,vars:5,consts:[[1,"modal-header","d-flex","flex-row","justify-content-center","align-items-center","p-3"],["id","modal-title",1,"modal-title"],["type","button","aria-label","Close button","aria-describedby","modal-title",1,"close","m-0","p-0",3,"click"],["aria-hidden","true"],[1,"modal-body","px-4","pt-5","pb-1"],[1,"modal-text","m-0"],[1,"modal-footer","d-flex","flex-row"],["data-test","option-one-button","type","button",1,"btn","btn-danger","flex-fill",3,"click"],["data-test","option-two-button","type","button","ngbAutofocus","",1,"btn","btn-primary","flex-fill",3,"click"],["data-test","option-three-button","type","button",1,"btn","btn-danger","flex-fill",3,"click"]],template:function(be,Le){1&be&&(M.j41(0,"div",0)(1,"h4",1),M.EFF(2),M.k0s(),M.j41(3,"button",2),M.bIt("click",function(){return Le.modal.dismiss()}),M.j41(4,"span",3),M.EFF(5,"\xd7"),M.k0s()()(),M.j41(6,"div",4)(7,"p",5),M.EFF(8),M.k0s()(),M.j41(9,"div",6)(10,"button",7),M.bIt("click",function(){return Le.modal.close("1")}),M.EFF(11),M.k0s(),M.j41(12,"button",8),M.bIt("click",function(){return Le.modal.close("2")}),M.EFF(13),M.k0s(),M.j41(14,"button",9),M.bIt("click",function(){return Le.modal.close("3")}),M.EFF(15),M.k0s()()),2&be&&(M.R7$(2),M.SpI(" ",Le.title," "),M.R7$(6),M.SpI(" ",Le.message," "),M.R7$(3),M.JRh(Le.optionOneText),M.R7$(2),M.JRh(Le.optionTwoText),M.R7$(2),M.JRh(Le.optionThreeText))},dependencies:[z.d],styles:[".modal-header[_ngcontent-%COMP%]{background-color:#f9f9f9;height:53px;border-bottom:1px solid #D8D8D8}.modal-title[_ngcontent-%COMP%]{font-weight:400;font-size:1.2rem}.modal-text[_ngcontent-%COMP%]{font-size:1.2rem;text-align:center}.close[_ngcontent-%COMP%]{position:absolute;right:1rem;font-size:2rem}"],changeDetection:0})}return de})();var k=s(1095),Y=s(45410),x=s(50337),B=s(19431),j=s(19937);const $=()=>["app/super-type/role"],H=()=>["app/super-type/contact"],ie=()=>["app/shift-series"];function ne(de,Me){if(1&de){const me=M.RV6();M.j41(0,"app-side-sheet-header",20),M.nI1(1,"async"),M.bIt("actioned",function(){M.eBV(me);const Le=M.XpG();return M.Njj(Le.onDone())}),M.pXf(2,2),M.k0s()}if(2&de){const me=M.XpG();M.Y8G("disabled",(null==me.itemForm?null:me.itemForm.invalid)||M.bMT(1,1,me.state$)===me.LOADING_STATUS.IN_PROGRESS)}}function Q(de,Me){if(1&de){const me=M.RV6();M.j41(0,"app-side-sheet-header",21),M.nI1(1,"async"),M.bIt("actioned",function(){M.eBV(me);const Le=M.XpG();return M.Njj(Le.onDone())}),M.pXf(2,3),M.k0s()}if(2&de){const me=M.XpG();M.Y8G("disabled",(null==me.itemForm?null:me.itemForm.invalid)||M.bMT(1,1,me.state$)===me.LOADING_STATUS.IN_PROGRESS)}}function le(de,Me){1&de&&(M.j41(0,"app-alert",22),M.pXf(1,4),M.k0s())}function pe(de,Me){1&de&&(M.j41(0,"app-alert",22),M.pXf(1,5),M.k0s())}function te(de,Me){1&de&&M.nrm(0,"app-single-object-chooser-field",23),2&de&&M.Y8G("typeTips",M.lJ4(2,ie))("readonly",!0)}function ae(de,Me){if(1&de){const me=M.RV6();M.j41(0,"div",24)(1,"button",25),M.nI1(2,"async"),M.bIt("click",function(){M.eBV(me);const Le=M.XpG();return M.Njj(Le.onClickDeleteModal())}),M.EFF(3,"Delete"),M.k0s()()}if(2&de){const me=M.XpG();M.R7$(),M.Y8G("disabled",M.bMT(2,1,me.state$)===me.LOADING_STATUS.IN_PROGRESS)}}let K=(()=>{class de extends k.l{constructor(me,be,Le,Ae,Oe,Xe){super(me),this.fb=be,this.shiftService=Le,this.toastService=Ae,this.modalService=Oe,this.cdr=Xe,this.LOADING_STATUS=C.Hf,this.extraVarsFromFormData=[],this.statuses=Y.K.getShiftStatusOptions(),this.stateSubject$=new m.t(C.Hf.LOADED)}setProps(me){this.shiftTip=(0,n.get)(me,"objectTip",null)}ngOnInit(){this.initShiftForm(),this.state$=this.stateSubject$.asObservable().pipe((0,O.t)()),this.shiftTip&&this.loadShift(),this.contactFilter$=this.getContactFilter$()}getContactFilter$(){return this.roleControl.valueChanges.pipe((0,D.Z)(this.roleControl.value),(0,E.F)(),(0,y.T)(me=>{this.extraVarsFromFormData=[{[C.WB]:Array.isArray(me)?me:[me]}];const be=(0,n.cloneDeep)(this.contactFilter),Ae=(be&&be.filterInputs||[]).map(Oe=>{const Xe=(0,n.head)(Oe.value);return"Field"===Oe.by&&"app/shift:role"===Xe&&(Oe.formFieldTip=Xe,Oe.value=me),Oe});return{...be,filterInputs:Ae}}))}onDone(){this.shiftTip?this.updateShift():this.createShift()}onClickDeleteModal(){this.shift.shiftSeries?this.showBulkDeleteModal():this.showDeleteModal()}showSingleShiftUpdateModal(){const me=this.modalService.open(w.F,w.G),be=me.componentInstance;be.title="Update",be.confirmText="Update",be.message="Because the shift time will change, only this shift will be updated",be.isDelete=!1,me.result.then(Le=>Le?this.updateSingleShift():null).catch(()=>{})}showBulkUpdateModal(){const me=this.modalService.open(U,F),be=me.componentInstance;be.title="Update",be.optionOneText="Update all",be.optionTwoText="Update one",be.optionThreeText="Update this and future",be.message="Which shifts in the series do you want to update?",me.result.then(Le=>{switch(Le){case"1":this.updateBulkShiftFromShiftSeries();break;case"2":this.updateSingleShift();break;case"3":this.updateBulkShiftFromShiftSeries(!0)}}).catch(()=>{})}showDeleteModal(){const me=this.modalService.open(w.F,w.G);me.componentInstance.objectType="shift",me.result.then(Le=>Le?this.deleteShift():null).catch(()=>{})}showBulkDeleteModal(){const me=this.modalService.open(U,F),be=me.componentInstance;be.title="Delete",be.optionOneText="Delete all",be.optionTwoText="Delete one",be.optionThreeText="Delete this and future",be.message="Which shifts in the series do you want to delete?",me.result.then(Le=>{switch(Le){case"1":this.deleteBulkShiftFromShiftSeries();break;case"2":this.deleteShift();break;case"3":this.deleteBulkShiftFromShiftSeries(!0)}}).catch(()=>{})}deleteShift(){this.stateSubject$.next(C.Hf.IN_PROGRESS),this.shiftService.deleteShift$(this.shiftTip).pipe((0,I.$)(),(0,b.M)(()=>{this.stateSubject$.next(C.Hf.LOADED),this.toastService.showSuccessToast("Shift successfully deleted."),this.sideSheetService.pop()}),(0,L.W)(()=>(this.stateSubject$.next(C.Hf.FAILED_DELETE),this.toastService.showErrorToast("Deleting shift failed."),T.w))).subscribe()}hasStartOrEndDateChanged(){const me=this.startDateControl.value?this.startDateControl.value.format(C.Bp):null,be=this.endDateControl.value?this.endDateControl.value.format(C.Bp):null;return this.originalStartDate!==me||this.originalEndDate!==be}updateShift(){this.shift.shiftSeries?this.hasStartOrEndDateChanged()?this.showSingleShiftUpdateModal():this.showBulkUpdateModal():this.updateSingleShift()}deleteBulkShiftFromShiftSeries(me=!1){this.stateSubject$.next(C.Hf.IN_PROGRESS),this.shiftService.deleteBulkShiftFromShiftSeries$(this.shift,me).pipe((0,I.$)(),(0,b.M)(be=>{const Le=(0,n.get)(be,["vars","Failed removed shifts"],[]);this.stateSubject$.next(C.Hf.LOADED),(0,n.isEmpty)(Le)?this.toastService.showSuccessToast("Shifts successfully deleted."):this.toastService.showWarningToast("Some shifts were not deleted due to their security policy."),this.sideSheetService.pop()}),(0,L.W)(()=>(this.stateSubject$.next(C.Hf.FAILED_DELETE),this.toastService.showErrorToast("Deleting shifts failed."),T.w))).subscribe()}updateBulkShiftFromShiftSeries(me=!1){this.stateSubject$.next(C.Hf.IN_PROGRESS);const be={$tip:this.shiftTip,shiftSeries:this.shift.shiftSeries,...this.transformFormValues()};this.shiftService.updateBulkShiftFromShiftSeries$(be,me).pipe((0,I.$)(),(0,b.M)(Le=>{const Ae=(0,n.get)(Le,["vars","Shifts cannot be updated from shift series"],[]);this.stateSubject$.next(C.Hf.LOADED),(0,n.isEmpty)(Ae)?this.toastService.showSuccessToast("Shifts successfully saved."):this.toastService.showWarningToast("Some shifts were not updated due to their security policy."),this.sideSheetService.pop()}),(0,L.W)(()=>(this.stateSubject$.next(C.Hf.FAILED_SAVE),this.toastService.showErrorToast("Saving shifts failed."),T.w))).subscribe()}updateSingleShift(){this.stateSubject$.next(C.Hf.IN_PROGRESS);const me={$tip:this.shiftTip,...this.transformFormValues()};this.shiftService.updateShift$(me).pipe((0,I.$)(),(0,b.M)(be=>{this.stateSubject$.next(C.Hf.LOADED),this.toastService.showSuccessToast("Shift successfully saved."),this.sideSheetService.pop()}),(0,L.W)(()=>(this.stateSubject$.next(C.Hf.FAILED_SAVE),this.toastService.showErrorToast("Saving shift failed."),T.w))).subscribe()}createShift(){this.stateSubject$.next(C.Hf.IN_PROGRESS),this.shiftService.createShift$(this.transformFormValues()).pipe((0,I.$)(),(0,b.M)(me=>{this.stateSubject$.next(C.Hf.LOADED),this.toastService.showSuccessToast("Shift successfully created."),this.sideSheetService.pop()}),(0,L.W)(()=>(this.stateSubject$.next(C.Hf.FAILED_SAVE),this.toastService.showErrorToast("Creating shift failed."),T.w))).subscribe()}loadShift(){this.stateSubject$.next(C.Hf.IN_PROGRESS),this.shiftService.getShift$(this.shiftTip).pipe((0,I.$)(),(0,b.M)(me=>{this.shift=me,this.stateSubject$.next(C.Hf.LOADED),this.itemForm.setValue(this.transformToFormValues(me)),this.originalStartDate=me.start?me.start.format(C.Bp):null,this.originalEndDate=me.end?me.end.format(C.Bp):null,this.cdr.detectChanges()}),(0,L.W)(()=>(this.stateSubject$.next(C.Hf.FAILED_LOAD),this.toastService.showErrorToast("Loading shift failed."),T.w))).subscribe()}get startDateControl(){return this.itemForm.get("start")}get endDateControl(){return this.itemForm.get("end")}initShiftForm(){this.itemForm=this.fb.group({role:new o.MJ(this.roleTip,o.k0.required),contact:new o.MJ(null),status:new o.MJ(null,o.k0.required),start:new o.MJ(this.defaultStartDateTime?g()(this.defaultStartDateTime):null),end:new o.MJ(null),code:new o.MJ(null),type:new o.MJ(null),shiftSeries:new o.MJ(null)})}get roleControl(){return this.itemForm.get("role")}transformFormValues(){const me=this.itemForm.value;return{contact:me.contact&&me.contact[0],role:Array.isArray(me.role)?me.role&&me.role[0]:me.role,start:me.start,end:me.end,status:me.status,type:me.type,code:me.code}}transformToFormValues(me){return{contact:me.contact&&[me.contact]||null,role:me.role||null,start:me.start||null,end:me.end||null,status:me.status||null,type:me.type||null,code:me.code||null,shiftSeries:me.shiftSeries||null}}static#e=this.\u0275fac=function(be){return new(be||de)(M.rXU(x.E),M.rXU(o.ok),M.rXU(B.E),M.rXU(j.f),M.rXU(q.Bq),M.rXU(M.gRc))};static#t=this.\u0275cmp=M.VBU({type:de,selectors:[["app-shift-edit-side-sheet"]],features:[M.Vt3],decls:23,vars:32,consts:()=>{let me,be,Le,Ae,Oe,Xe,Pe,$e,ze,Be,Ye,Ct,Lt,Vt,ht,gt;return me="Create",be="Role",Le="Start",Ae="End",Oe="Status",Xe="Contact",Pe="Search all contacts",$e="Shift code",ze="Shift type",Be="Shift series",Ye="An empty shift Start or End time will leave the shift open-ended in that direction.",Ct="New Shift",Lt="Save",Vt="Edit Shift",ht="Unable to save shift at this time. Check your connection and try again.",gt="Unable to delete shift at this time. Check your connection and try again.",[["saveHeader",""],Ye,Ct,Vt,ht,gt,["action",me,3,"disabled","actioned",4,"ngIf","ngIfElse"],[1,"modal-body"],[3,"formGroup","appSpinner"],["type","danger",4,"ngIf"],["formControlName","role","label",be,3,"readonly","required","typeTips"],[1,"row"],["formControlName","start","mode","datetime","label",Le,1,"col-12","col-lg-6",3,"calculated"],["formControlName","end","mode","datetime","label",Ae,1,"col-12","col-lg-6",3,"calculated"],["formControlName","status","label",Oe,3,"required","options"],["formControlName","contact","label",Xe,"filterTextPlaceholder",Pe,3,"allowUserToAdd","ignoreQueryAndFilterOnFilterText","typeTips","extraVars","queryAndFilter"],["formControlName","code","label",$e,3,"maxlength"],["formControlName","type","label",ze,3,"maxlength"],["formControlName","shiftSeries","label",Be,3,"typeTips","readonly",4,"ngIf"],["class","form-options d-flex justify-content-center",4,"ngIf"],["action",me,3,"actioned","disabled"],["action",Lt,3,"actioned","disabled"],["type","danger"],["formControlName","shiftSeries","label",Be,3,"typeTips","readonly"],[1,"form-options","d-flex","justify-content-center"],[1,"btn","btn-danger",3,"click","disabled"]]},template:function(be,Le){if(1&be&&(M.DNE(0,ne,3,3,"app-side-sheet-header",6)(1,Q,3,3,"ng-template",null,0,M.C5r),M.j41(3,"div",7)(4,"form",8),M.nI1(5,"async"),M.DNE(6,le,2,0,"app-alert",9),M.nI1(7,"async"),M.DNE(8,pe,2,0,"app-alert",9),M.nI1(9,"async"),M.nrm(10,"app-single-object-chooser-field",10),M.j41(11,"p"),M.pXf(12,1),M.k0s(),M.j41(13,"div",11),M.nrm(14,"app-datetime-field",12)(15,"app-datetime-field",13),M.k0s(),M.nrm(16,"app-single-option-list-field",14)(17,"app-single-object-chooser-field",15),M.nI1(18,"async"),M.nrm(19,"app-text-field",16)(20,"app-text-field",17),M.DNE(21,te,1,3,"app-single-object-chooser-field",18)(22,ae,4,3,"div",19),M.k0s()()),2&be){const Ae=M.sdS(2);M.Y8G("ngIf",!Le.shiftTip)("ngIfElse",Ae),M.R7$(4),M.Y8G("formGroup",Le.itemForm)("appSpinner",M.bMT(5,22,Le.state$)===Le.LOADING_STATUS.IN_PROGRESS),M.R7$(2),M.Y8G("ngIf",M.bMT(7,24,Le.state$)===Le.LOADING_STATUS.FAILED_SAVE),M.R7$(2),M.Y8G("ngIf",M.bMT(9,26,Le.state$)===Le.LOADING_STATUS.FAILED_DELETE),M.R7$(2),M.Y8G("readonly",!(null==Le.shift||!Le.shift.shiftSeries))("required",!0)("typeTips",M.lJ4(30,$)),M.R7$(4),M.Y8G("calculated",!1),M.R7$(),M.Y8G("calculated",!1),M.R7$(),M.Y8G("required",!0)("options",Le.statuses),M.R7$(),M.Y8G("allowUserToAdd",!1)("ignoreQueryAndFilterOnFilterText",!0)("typeTips",M.lJ4(31,H))("extraVars",Le.extraVarsFromFormData)("queryAndFilter",M.bMT(18,28,Le.contactFilter$)),M.R7$(2),M.Y8G("maxlength",13),M.R7$(),M.Y8G("maxlength",50),M.R7$(),M.Y8G("ngIf",Le.shiftTip&&(null==Le.shift?null:Le.shift.shiftSeries)),M.R7$(),M.Y8G("ngIf",Le.shiftTip)}},encapsulation:2,changeDetection:0})}return de})()},45410:(at,N,s)=>{"use strict";s.d(N,{K:()=>D,c:()=>O});var n=s(3810),a=s(97586),g=s.n(a),m=s(67376),O=function(E){return E.DRAFT="#01748e",E.AVAILABLE="#d60012",E.REQUESTED="#ff8904",E.CONFIRMED="#0ca98a",E.CANCELLED="#181818",E.DEFAULT="#f8f9fc",E}(O||{});class D{static getStatusColorFromShiftStatus(y,I=!0){switch(y){case n.$.AVAILABLE:return I?O.AVAILABLE:O.CONFIRMED;case n.$.REQUESTED:return O.REQUESTED;case n.$.CANCELLED:return O.CANCELLED;case n.$.DRAFT:return O.DRAFT;case n.$.CONFIRMED:return O.CONFIRMED;default:return O.DEFAULT}}static getIconClassFromShiftStatus(y,I=!0){switch(y){case n.$.AVAILABLE:return I?"mdi-alert-circle":"mdi-circle-o";case n.$.REQUESTED:return"mdi-time";case n.$.CANCELLED:return"mdi-calendar-close";case n.$.DRAFT:return"mdi-edit";case n.$.CONFIRMED:return"mdi-check-circle";default:return null}}static getShiftTimeLength(y,I){if(!y||!I)return null;const b=Math.abs(g()(I).diff(y,"days",!0));if(b<7){const L=Math.floor(10*Math.abs(g()(I).diff(y,"hours",!0)))/10;return`${L} ${L<=1?"hour":"hours"}`}return`${(0,m.round)(b)} days`}static getShiftStatusOptions(){return[{label:n.$.DRAFT,value:n.$.DRAFT},{label:n.$.AVAILABLE,value:n.$.AVAILABLE},{label:n.$.REQUESTED,value:n.$.REQUESTED},{label:n.$.CONFIRMED,value:n.$.CONFIRMED},{label:n.$.CANCELLED,value:n.$.CANCELLED}]}}},19431:(at,N,s)=>{"use strict";s.d(N,{E:()=>ie});var n=s(67376),g=s(97586),m=s.n(g),T=s(22806),O=s(7673),D=s(31397),E=s(70274),y=s(64058),I=s(96354),b=s(61594),L=s(25558),o=s(3810),C=s(69172),w=s(55516),M=s(70849),q=s(5002),z=s(93953),F=s(76151),U=s(51229),k=s(51525),Y=s(44667),x=s(27916),B=s(61687),j=s(25687),$=s(19937),H=s(10506);let ie=(()=>{class ne{constructor(le,pe,te,ae,K,de,Me,me,be){this.filterInputService=le,this.queryService=pe,this.mediaService=te,this.objectService=ae,this.processService=K,this.settingsShiftPatternService=de,this.formulaMultiService=Me,this.toastService=me,this.featureFlagStateService=be}fetchShifts$({filter:le,contextTip:pe,queryParams:te,vars:ae,options:K,dimension:de}){return(le&&le.queryTip?this.executeQueryWhenFilter(le,pe,te,ae,K,de):this.executeQuery(w.R.GET_ALL_SHIFTS,K)).pipe((0,D.Z)(me=>(0,T.H)(me).pipe((0,E.H)(be=>this.getShiftWithContactAvatarPreviewUri$(be)),(0,y.$)())))}fetchRoles$({filter:le,contextTip:pe,queryParams:te,vars:ae,options:K,dimension:de}){return(le&&le.queryTip?this.executeQueryWhenFilter(le,pe,te,ae,K,de):this.executeQuery(w.R.GET_ALL_SUPERTYPE_ROLE,K)).pipe((0,I.T)(me=>(me||[]).map(this.transformToRole)))}updateShift$(le){return this.objectService.setObject(le,o.f)}updateShifts$(le){return this.objectService.setObjects(le,[o.f])}createShift$(le){const pe={$security:"app/security-policy/instance-user-user",$type:"app/shift",...le};return this.objectService.setObject(pe,o.f).pipe((0,I.T)(te=>(0,n.merge)(pe,{$tip:te[0].tip,$sid:te[0].sid})))}getShift$(le){return this.objectService.getObject(le,o.f)}deleteShift$(le){return this.objectService.deleteObjects([{$tip:le}])}updateBulkShiftFromShiftSeries$(le,pe=!1){const{shiftSeries:te,contact:ae,code:K,type:de,status:Me,$tip:me}=le;return this.processService.start("eim/process/shift/bulk-update-shifts",{"Base shift tip":[me],"Shift series tip":[te],"Shift contact":ae?[ae]:[],"Shift code":K?[K]:[],"Shift type":de?[de]:[],"Shift status":[Me],"Is this and future bulk update":[pe]},{bulk:!0}).pipe((0,b.$)(be=>be.finished))}deleteBulkShiftFromShiftSeries$(le,pe=!1){const{shiftSeries:te,$tip:ae}=le;return this.processService.start("eim/process/shift/bulk-delete-shifts",{"Base shift tip":[ae],"Shift series tip":[te],"Is this and future bulk delete":[pe]},{bulk:!0}).pipe((0,b.$)(K=>K.finished))}createShiftSeries$(le,pe=1e3){const{role:te,pattern:ae,rangeStart:K,rangeEnd:de,shiftContact:Me,shiftCode:me,shiftType:be,timeZone:Le,shiftStatus:Ae}=le;return this.getStartEndTimestampsForShiftSeries$(le,pe).pipe((0,L.n)(Oe=>{const{startTimestamps:Xe,endTimestamps:Pe}=Oe;return this.processService.start("eim/process/shift/create-new-shift-series",{"Shift series role":[te],"Shift series pattern":[ae],"Shift series range start":[K.format(C.Bp)],"Shift series range end":[de.format(C.Bp)],"Shift series shift contact":Me?[Me]:[],"Shift series shift code":me?[me]:[],"Shift series shift type":be?[be]:[],"Shift series timezone":[Le],"Shift series shift status":[Ae],"Shift start timestamps":Xe,"Shift end timestamps":Pe},{bulk:!0}).pipe((0,b.$)($e=>$e.finished))}))}getStartEndTimestampsForShiftSeries$(le,pe){return this.settingsShiftPatternService.getShiftPattern$(le.pattern).pipe((0,L.n)(te=>{const ae=te.source.shiftStartHour,K=te.source.shiftStartMinute,de=le.rangeStart.tz(le.timeZone).set({seconds:0}),Me=m()(de).clone().set({hours:ae,minutes:K}),me=le.rangeEnd.tz(le.timeZone).set({seconds:0});de.isSameOrBefore(Me)&&Me.subtract(1,"days");const be=Me.format(C.Bp),Le=me.format(C.Bp);return this.formulaMultiService.evaluate([{formula:`CRON_SCHEDULE("${te.cron}","${le.timeZone}","${be}",${pe})`,watch:!1}]).pipe((0,I.T)(Ae=>(0,n.head)(Ae)||[]),(0,I.T)(Ae=>{const Oe=Ae.filter($e=>m()($e).isBetween(de,me,void 0,"[]")),Xe=Oe.map($e=>this.getEndTimeStamp($e,te)||[]);if(this.featureFlagStateService.isFeatureEnabled(q.g.FEATURE_EIM_28355_SHIFT_WIDGET_FF_MERGE)&&1e3==Oe.length){const $e=new Date(Oe[999]),ze=m()($e).format("DD MMM YYYY HH:mm"),Be=new Date(Xe[999].toString()),Ye=m()(Be).format("DD MMM YYYY HH:mm");new Date(Le).getDate()!==Be.getDate()&&this.toastService.showWarningToast(`The maximum shift creation limit of 1000 has been reached. The last shift created is with the following start and end date-time: ${ze} to ${Ye}. Please fill out the shift series form again to create any remaining shifts.`,{timeOut:0})}return{startTimestamps:Oe,endTimestamps:Xe}}))}))}getEndTimeStamp(le,pe){const te=m()(le),{shiftDurationDays:ae,shiftDurationMonths:K,shiftDurationHours:de,shiftDurationMinutes:Me}=pe,me=!(0,n.isNil)(ae),be=!(0,n.isNil)(K),Le=!(0,n.isNil)(de),Ae=!(0,n.isNil)(Me);return me||be||Le||Ae?(me&&te.add(ae,"day"),be&&te.add(K,"month"),Le&&te.add(de,"hour"),Ae&&te.add(Me,"minute"),te.format(C.Bp)):null}executeQueryWhenFilter(le,pe,te,ae,K,de){return this.filterInputService.convertFilterInputsToVars(le.filterInputs,pe,te).pipe((0,L.n)(Me=>{const me=le.sortingOptions||[],be=me.map(ze=>ze.formula),Le=me.map(ze=>ze.sortDirection),Xe=[(0,n.merge)(de,{sortby:[...de.sortby||[],...be],sortdir:[...de.sortdir||[],...Le]})],Pe={...ae,...Me},$e={...K,vars:Pe,dimensionOptions:Xe};return this.executeQuery(le.queryTip,$e)}))}executeQuery(le,pe){return this.queryService.execute1dArray(le,pe)}getShiftWithContactAvatarPreviewUri$(le){const pe=this.transformToShift(le),te=pe.contactAvatar;return(te?this.mediaService.previewUri(te):(0,O.of)(null)).pipe((0,I.T)(K=>({...pe,contactAvatarPreviewUri:K})))}transformToShift(le){const pe=(0,n.head)(le.start),te=(0,n.head)(le.end);return{$tip:(0,n.head)(le.$tip),start:pe,end:te,contact:(0,n.head)(le.contact),contactTitle:(0,n.head)(le.contactTitle),contactAvatar:(0,n.head)(le.contactAvatar),count:Number((0,n.head)(le.count)),status:(0,n.head)(le.status),code:(0,n.head)(le.code),type:(0,n.head)(le.type),role:(0,n.head)(le.role),roleTitle:(0,n.head)(le.roleTitle),teamTitle:(0,n.head)(le.teamTitle),shiftSeries:(0,n.head)(le.shiftSeries),isMultiDay:!M.j.isSameDate(pe,te)||!pe||!te}}transformToRole(le){return{$tip:(0,n.head)(le.$tip),title:(0,n.head)(le.title),team:(0,n.head)(le.team),teamTitle:(0,n.head)(le.teamTitle),teamDefaultShiftPattern:(0,n.head)(le.teamDefaultShiftPattern)}}static#e=this.\u0275fac=function(pe){return new(pe||ne)(z.KVO(F.O),z.KVO(U.c),z.KVO(k.u),z.KVO(Y.T),z.KVO(x.V),z.KVO(B.L),z.KVO(j.$),z.KVO($.f),z.KVO(H.F))};static#t=this.\u0275prov=z.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})()},19439:(at,N,s)=>{"use strict";s.d(N,{f:()=>I,q:()=>b});var n=s(31471),a=s(67376),g=s(74127),m=s(40673);const T={field:O("tip"),i18n:O("lang"),parent:void 0};function O(L){return function(o,C){return"object"==typeof o&&"object"==typeof C&&void 0!==o[L]&&void 0!==C[L]?o[L]<C[L]?-1:o[L]>C[L]?1:0:0}}function D(L){return JSON.stringify(L).replace(/[\u007F-\uFFFF]/g,function(C){return"\\u"+("0000"+C.charCodeAt(0).toString(16)).substr(-4)})}function E(L){return null==L?"null":L instanceof Array?"["+L.map(E)+"]":"object"==typeof L?"{"+Object.keys(L).filter(function(o){return!(null==L[o]||"object"==typeof L[o]&&0===Object.keys(L[o]).length)}).sort().map(function(o){return L[o]instanceof Array&&T.hasOwnProperty(o)?D(o)+":["+L[o].slice().sort(T[o]).map(E)+"]":D(o)+":"+E(L[o])})+"}":D(L)}const y=["var","query/dimension","op/query","op/query/dimension","op/pull","op/merge","op/formula","op/session","op/watch/register","op/watch/unregister","op/auth/gen-token","op/auth/reset-token","op/auth/register"];class I{constructor(o=null,C=null){this._proto=null,this._patchTargetTip=null,this._useEmptyNonce=!1,this._useTipNonce=!1,this._nonce=null,o&&"string"!=typeof o?this.setProto(o):this.reset(o,C)}makeEno(){if(!this._isSettingValid())throw new Error("Eno Factory setting has not enough information to make an eno.");return this._cleanField(),this._proto.source.nonce=(0,a.isString)(this._nonce)?this._nonce:this._useEmptyNonce||this._emptyNonceRequired()?"":this._useTipNonce&&this._patchTargetTip?this._patchTargetTip:b(),this._generateSid(),this._cleanTransaction(),this._proto.tip=this._patchTargetTip||this._proto.sid,new g.h(this._proto)}_cleanTransaction(){null===this._proto.clientT&&this._resetClientT();const o=this._proto.clientT;o.sequence=o.sequence||1,o.createdDate=o.modifiedDate=(new Date).valueOf(),this._proto.serverT=null}_emptyNonceRequired(){return y.indexOf(this._proto.source.type)>-1}_generateSid(){this._proto.sid=(0,n.SHA256)(E(this._proto.source)).toString()}_cleanField(){this._proto.source.field=this._proto.source.field.filter(o=>o.value&&0!==o.value.length||o.i18n&&function C(){let w=!1;for(let M=0;M<o.i18n.length;M++)if(o.i18n[M].value&&o.i18n[M].value.length>0){w=!0;break}return w}()||o.formula)}_isSettingValid(){return!(null===this._proto.source||null===this._proto.source.type||null===this._proto.source.security)}reset(o=null,C=null){return this._patchTargetTip=null,this._useEmptyNonce=!1,this._nonce=null,this._proto={source:{deleted:!1,type:o,security:C,parent:[],field:[],nonce:b()},tip:null,sid:null,serverT:null,clientT:null},this}setProto(o){return this.reset(),o.clientT&&(this._proto.clientT=(0,a.cloneDeep)(o.clientT)),o.source&&(this._proto.source=(0,a.cloneDeep)(o.source)),this}setProtoToPatch(o){if(!o.source)throw new Error("You can't patch acknowledgement");return this.reset(),this._patchTargetTip=o.tip,o.clientT?(this._proto.clientT=(0,a.cloneDeep)(o.clientT),this._proto.clientT.sequence++):(this._resetClientT(),this._proto.clientT.sequence=1),this._proto.source=(0,a.cloneDeep)(o.source),this._proto.source.parent=[o.sid],this}resetFields(){return this._proto.source.field=[],this}setWellKnownTip(o){return this._patchTargetTip=o,this}setType(o){return this._proto.source.field=this._proto.source.type!==o?[]:this._proto.source.field,this._proto.source.type=o,this}useEmptyNonce(){return this._useEmptyNonce=!0,this}useTipNonce(){return this._useTipNonce=!0,this}useRandomNonce(){return this._useTipNonce=!1,this._useEmptyNonce=!1,this}setI18nValue(o,C,w){w=w||m.Ay.LOCALE_ID,C=C.filter(this._normalizeValuesFilter);let M=!1;for(const q of this._proto.source.field)if(q.tip===o){M=!0,this._updateExistingI18n(q,C,w);break}return M||this._proto.source.field.push({tip:o,i18n:[{lang:w,value:C}]}),this}_updateExistingI18n(o,C,w){o.i18n=o.i18n||[],o.value&&(o.i18n=[{lang:m.Ay.LANG_DEFAULT,value:o.value}],delete o.value);const M=o.i18n.find(z=>z.lang===w);if(M&&(0,a.isEqual)(M.value,C))return;if(w===m.Ay.LANG_DEFAULT)return void(o.i18n=[{lang:w,value:C}]);let q=!1;for(const z of o.i18n)if(z.lang===w){q=!0,z.value=C;break}q||o.i18n.push({lang:w,value:C})}setField(o,C){let w="string"==typeof o?{tip:o,value:C}:o;w=this._normalizeIField(w);let M=!1;for(let q=0;q<this._proto.source.field.length;q++)if(this._proto.source.field[q].tip===w.tip){M=!0,this._proto.source.field[q]=w;break}return M||this._proto.source.field.push(w),this}setFieldFormula(o,C){let w={tip:o,formula:C};w=this._normalizeIField(w);let M=!1;for(let q=0;q<this._proto.source.field.length;q++)if(this._proto.source.field[q].tip===w.tip){M=!0,this._proto.source.field[q]=w;break}return M||this._proto.source.field.push(w),this}_normalizeIField(o){return o.i18n||o.formula?(o.i18n&&o.i18n.forEach(C=>{C.value=null==C.value?[]:C.value,C.value=C.value.filter(this._normalizeValuesFilter)}),o):(o.value=null==o.value?[]:o.value,o.value=o.value.filter(this._normalizeValuesFilter),o)}_normalizeValuesFilter(o){return null!=o}setFields(o){return o.forEach(C=>{this.setField(C)}),this}setSecurity(o){return this._proto.source.security=o,this}setDeleted(o){return this._proto.source.deleted=o,this.resetFields(),this}setBranch(o=m.Ay.BRANCH_MASTER){return null===this._proto.clientT?(this._resetClientT(o),this):(this._proto.clientT.branch=o,this)}setNonce(o){return(0,a.isString)(o)&&(this._nonce=o),this}_resetClientT(o=m.Ay.BRANCH_MASTER){this._proto.clientT={branch:o,sequence:null,createdDate:null,modifiedDate:null}}setSequence(o){return null===this._proto.clientT&&this._resetClientT(),this._proto.clientT.sequence=o,this}}function b(){return Math.random()+""}},12225:(at,N,s)=>{"use strict";s.d(N,{W:()=>z,b:()=>F});var n=s(67376),g=s(7673),m=s(18359),T=s(84572),O=s(92771),D=s(25558),E=s(5964),y=s(96354),I=s(20857),b=s(98305),L=s(55516),o=s(79551),C=s(93953),w=s(51229),M=s(76087),q=s(65348);let z=Y=>(0,g.of)(null),F=(()=>{class Y{constructor(B,j,$){this.queryService=B,this.formulaService=j,this.myProfileService=$,this.allTypeMetaMapSubjects=new Map,this.subscription=new m.yU,z=H=>this.getObjectType$(H)}getLifecycleWorkflowFromTypeTip$(B){return this.getDefaultFromTypeTip(B,"lifecycleWorkflow")}getDefaultDashboardTipFromTypeTip$(B){return this.getDefaultFromTypeTip(B,"defaultDashboard")}getDefaultFormTipFromTypeTip$(B){return this.getDefaultFromTypeTip(B,"defaultForm")}getDashboardTipFromTypeTip$(B){return this.getDefaultFromTypeTip(B,"dashboard")}getFormTipFromTypeTip$(B){return this.getDefaultFromTypeTip(B,"form")}getSymbologyForType$(B){return this.getObjectType$(B).pipe((0,D.n)(j=>j&&j.superType?this.getObjectTypes$(Array.from(j.isImplementedBy.values())).pipe((0,E.p)(Boolean),(0,y.T)($=>$.filter(Boolean).map(H=>({typeTip:H.innerType,symbology:H.symbology})))):j&&!(0,n.isEmpty)(j.symbology)?(0,g.of)([{symbology:j.symbology,typeTip:j.innerType}]):(0,g.of)([])))}getSearchableMetafields$(B){return this.getObjectType$(B).pipe((0,y.T)(j=>j&&!j.superType?j.searchableMetafields:[]))}getObjectType$(B){return this.getObjectTypes$([B]).pipe((0,y.T)(j=>(0,n.head)(j)))}getObjectTypes$(B){if(0===B.length)return(0,g.of)([]);const j=[],$=(0,T.z)(B.map(Q=>(this.allTypeMetaMapSubjects.has(Q)||(this.allTypeMetaMapSubjects.set(Q,new O.m(1)),j.push(Q)),this.allTypeMetaMapSubjects.get(Q).asObservable()))),H=[],ie=[...b.O3,...I.it].map(Q=>Q.$tip),ne=j.filter(Q=>!ie.includes(Q));return I.it.filter(Q=>j.includes(Q.$tip)).forEach(Q=>{H.push(this.formulaService.evaluate('LOOKUP(TIP(),AND(ISTYPE("type"),INARRAY(FIELD("type/implements"),VAR("superTypeTip"))))',void 0,void 0,{superTypeTip:[Q.$tip]}).pipe((0,y.T)(pe=>[{superTypeTip:Q.$tip,label:Q.label,symbology:{},implementsSuperTypes:[],searchableMetafields:[],systemType:!1,isImplementedBy:pe.reduce((te,ae)=>(te.add(ae),te),new Set),superType:!0}])))}),b.O3.filter(Q=>j.includes(Q.$tip)).forEach(Q=>{H.push((0,g.of)([{innerType:Q.$tip,label:Q.label,symbology:{},implementsSuperTypes:[],searchableMetafields:[],systemType:!0,isImplementedBy:new Set,superType:!1}]))}),ne.length>0&&H.push(this.queryService.execute1dCommaSeparated(L.R.GET_ALL_OBJECT_TYPES_MASTER_QUERY,{vars:{customTypeTips:ne},extraFilters:[{label:"customTypeTips",formula:'INARRAY(VAR("customTypeTips"), FIELD("app/object-type:type"))'}],watch:!0}).pipe((0,y.T)(le=>ne.map(pe=>{const te=(0,n.find)(le,{innerType:pe});if(!te)return this.allTypeMetaMapSubjects.get(pe).next(null),null;const ae=function k(Y){let x={};if(!(0,n.isEmpty)(Y.symbology))try{const B=(0,o.Lr)(Y.symbology);x=JSON.parse(B)}catch{console.error("could not extract symbology for",Y)}return x}(te),K=U(te,"implementsSuperTypes"),de=U(te,"searchableMetafields");return{...te,symbology:ae,implementsSuperTypes:K,searchableMetafields:de,systemType:!1,isImplementedBy:new Set,superType:!1}})))),H.length>0&&this.myProfileService.getMyProfileOnce$().subscribe({next:Q=>{H.forEach(le=>{le.subscribe({next:pe=>{pe.filter(Boolean).forEach(te=>{const ae=(0,n.find)((0,n.get)(Q,["objectTypeSettings"],[]),{$tip:te.appObjectType});ae?(te.dashboard=ae.defaultDashboard||null,te.form=ae.defaultForm||null):(te.dashboard=te.defaultDashboard||null,te.form=te.defaultForm||null),this.allTypeMetaMapSubjects.get(te.innerType||te.superTypeTip).next(te)})},error:pe=>{console.error("[AllObjectTypesService/getObjectTypes$] Error",pe)}})})}}),$}getObjectTypesMap$(B){return this.getObjectTypes$(B).pipe((0,y.T)(j=>j.filter(Boolean).reduce(($,H)=>($.set(H?.innerType||H?.superTypeTip,H),$),new Map)))}ngOnDestroy(){this.subscription.unsubscribe()}getDefaultFromTypeTip(B,j){return this.getObjectType$(B).pipe((0,y.T)($=>{if($)return $[j]||null;throw new Error(`Type tip "${B}" is not available`)}))}static#e=this.\u0275fac=function(j){return new(j||Y)(C.KVO(w.c),C.KVO(M.C),C.KVO(q.p))};static#t=this.\u0275prov=C.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})();function U(Y,x){const B=(0,n.get)(Y,x,"");return(0,n.isEmpty)(B)?[]:B.split(",").map(j=>j.trim())}},20924:(at,N,s)=>{"use strict";s.d(N,{z:()=>m});var n=s(67376),g=s(93953);let m=(()=>{class T{static#e=this.generateAlphanumericValueFromString=D=>(0,n.camelCase)(D.replace(/^[^a-zA-Z]+/,"")).substr(0,50);static applyAlphanumericValueToControl(D,E){const y=D.value;if(!y)return void E.setValue(y);const I=T.generateAlphanumericValueFromString(y);E.setValue(I)}static#t=this.\u0275fac=function(E){return new(E||T)};static#n=this.\u0275prov=g.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},64552:(at,N,s)=>{"use strict";s.d(N,{D:()=>U});var n=s(96697),a=s(96354),g=s(5964),m=s(25558),T=s(57786),O=s(23294),D=s(5002),E=s(93953),y=s(10506),I=s(71985),b=s(7673),L=s(19006);let o=(()=>{class k{constructor(x){this.sessionStorage=x,this.maxItemSize=102400,this.cleanSizeOnFailure=1048576,this.logging=!1}cacheKey(x){return"opcache-"+x}toggleLogging(){this.logging=!this.logging,console.log("[SessionStorageOpCacheService/toggleLogging] "+(this.logging?"Enabled":"Disabled"))}log(x,...B){this.logging&&console.log(x,...B)}get$(x){const B=this.cacheKey(x);return new I.c(j=>{const $=this.sessionStorage.getItem(B);$?(this.log("[SessionStorageOpCacheService/get$] Hit",{key:x}),j.next(JSON.parse($))):this.log("[SessionStorageOpCacheService/get$] Miss",{key:x}),j.complete()}).pipe((0,O.F)())}set$(x,B){const j=this.cacheKey(x);try{const $=JSON.stringify(B);if($.length>this.maxItemSize)return this.log("[SessionStorageOpCacheService/set$] Too large",{key:x,size:$.length}),(0,b.of)();this.sessionStorage.getItem(j)!==$?(this.sessionStorage.setItem(j,$),this.log("[SessionStorageOpCacheService/set$] Updated",{key:x})):this.log("[SessionStorageOpCacheService/set$] No change",{key:x})}catch{let H=0,ie=0;for(;ie<this.cleanSizeOnFailure&&this.sessionStorage.length>H;){const ne=this.sessionStorage.key(H);ne&&/^opcache-/.test(ne)?(ie+=this.sessionStorage.getItem(ne).length,this.sessionStorage.removeItem(ne)):H++}this.log("[SessionStorageOpCacheService/set$] Cleaned",{cleanSize:ie,numRemains:this.sessionStorage.length})}return(0,b.of)()}destroyAll(){for(let x=this.sessionStorage.length-1;x>=0;x--){const B=this.sessionStorage.key(x);B&&/^opcache-/.test(B)&&this.sessionStorage.removeItem(B)}this.log("[SessionStorageOpCacheService/destroyAll] Destroyed")}static#e=this.\u0275fac=function(B){return new(B||k)(E.KVO(L.vb))};static#t=this.\u0275prov=E.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})();var C=s(67376);let w=(()=>{class k{constructor(x){this.localStorage=x,this.maxItemSize=102400,this.cleanSizeOnFailure=1048576,this.logging=!1,this.allowedEnoTypes=["type","field","app/form","app/object-type","app/list","app/dashboard","app/workflow-panel","app/map","app/functional-access-control-settings","query","app/type/locale","app/chart","app/branding-settings"]}cacheKey(x){return"opcache-"+x}toggleLogging(){this.logging=!this.logging,console.log("[LocalStorageOpCacheService/toggleLogging] "+(this.logging?"Enabled":"Disabled"))}log(x,...B){this.logging&&console.log(x,...B)}get$(x){const B=this.cacheKey(x);return new I.c(j=>{const $=this.localStorage.getItem(B);$?(this.log("[LocalStorageOpCacheService/get$] Hit",{key:x}),j.next(JSON.parse($))):this.log("[LocalStorageOpCacheService/get$] Miss",{key:x}),j.complete()}).pipe((0,O.F)())}permittedToStore(x){const B=(0,C.get)(x,"source.type");return this.allowedEnoTypes.includes(B)}set$(x,B){if(!this.permittedToStore(B))return this.log("[LocalStorageOpCacheService/set$] Not permitted",{key:x}),(0,b.of)();const j=this.cacheKey(x);try{const $=JSON.stringify(B);return $.length>this.maxItemSize?(this.log("[LocalStorageOpCacheService/set$] Too large",{key:x,size:$.length}),(0,b.of)()):(this.localStorage.getItem(j)!==$?(this.localStorage.setItem(j,$),this.log("[LocalStorageOpCacheService/set$] Updated",{key:x})):this.log("[LocalStorageOpCacheService/set$] No change",{key:x}),(0,b.of)())}catch{let H=0,ie=0;for(;ie<this.cleanSizeOnFailure&&this.localStorage.length>H;){const ne=this.localStorage.key(H);ne&&/^opcache-/.test(ne)?(ie+=this.localStorage.getItem(ne).length,this.localStorage.removeItem(ne)):H++}return this.log("[LocalStorageOpCacheService/set$] Cleaned",{cleanSize:ie,numRemains:this.localStorage.length}),(0,b.of)()}}destroyAll(){for(let x=this.localStorage.length-1;x>=0;x--){const B=this.localStorage.key(x);B&&/^opcache-/.test(B)&&this.localStorage.removeItem(B)}this.log("[LocalStorageOpCacheService/destroyAll] Destroyed")}static#e=this.\u0275fac=function(B){return new(B||k)(E.KVO(L.Wd))};static#t=this.\u0275prov=E.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})();var M=s(983),q=s(18810),z=s(50835);let F=(()=>{class k{constructor(){this.logging=!1;try{this.sharedWorker=new SharedWorker(("development"===z.c.release?"":"/assets/"+z.c.release)+"/assets/js/shared-worker/opcache-shared-worker.js"),this.sharedWorker.port.start()}catch{console.debug("[SharedWorkerOpCacheService] Not available")}}toggleLogging(){this.logging=!this.logging,console.log("[SharedWorkerOpCacheService/toggleLogging] "+(this.logging?"Enabled":"Disabled"))}log(x,...B){this.logging&&console.log(x,...B)}get$(x){return this.sharedWorker?new I.c(B=>{const j=$=>{"getResponse"===$.data.cmd&&$.data.key===x&&(this.sharedWorker.port.removeEventListener("message",j),this.log("[SharedWorkerOpCacheService/get$] Hit",{key:x}),B.next($.data.value),B.complete())};return this.sharedWorker.port.addEventListener("message",j),this.sharedWorker.port.postMessage({cmd:"get",key:x}),()=>{this.sharedWorker.port.removeEventListener("message",j)}}).pipe((0,O.F)()):M.w}set$(x,B){if(!this.sharedWorker)return M.w;try{return this.sharedWorker.port.postMessage({cmd:"set",key:x,value:B}),this.log("[SharedWorkerOpCacheService/set$] Set",{key:x}),(0,b.of)()}catch(j){return(0,q.$)(()=>j)}}destroyAll(){this.sharedWorker&&(this.sharedWorker.port.postMessage({cmd:"destroyAll"}),this.log("[SharedWorkerOpCacheService/destroyAll] Destroyed"))}static#e=this.\u0275fac=function(B){return new(B||k)};static#t=this.\u0275prov=E.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})(),U=(()=>{class k{constructor(x,B,j,$){this.featureFlagStateService=x,this.sessionStorageOpCache=B,this.localStorageOpCache=j,this.sharedWorkerOpCache=$,this.opCacheServices=[{featureFlagName:D.g.FEATURE_USE_SESSIONSTORAGE_OPCACHE,opCacheService:this.sessionStorageOpCache},{featureFlagName:D.g.FEATURE_USE_LOCALSTORAGE_OPCACHE,opCacheService:this.localStorageOpCache},{featureFlagName:D.g.FEATURE_USE_SHAREDWORKER_OPCACHE,opCacheService:this.sharedWorkerOpCache}]}toggleLogging(){this.opCacheServices.forEach(x=>x.opCacheService.toggleLogging())}opCacheServices$(){return this.featureFlagStateService.areFeaturesEnabled$(this.opCacheServices.map(x=>({featureFlagName:x.featureFlagName}))).pipe((0,n.s)(1),(0,a.T)(x=>{let B=[];for(let j=0;j<x.length;j++)x[j]&&B.push(this.opCacheServices[j].opCacheService);return B}))}get$(x){return this.opCacheServices$().pipe((0,g.p)(B=>B.length>0),(0,m.n)(B=>(0,T.h)(...B.map(j=>j.get$(x)))),(0,n.s)(1),(0,O.F)())}set$(x,B){return this.opCacheServices$().pipe((0,g.p)(j=>j.length>0),(0,m.n)(j=>j.map($=>$.set$(x,B))),(0,a.T)(()=>{}),(0,n.s)(1))}destroyAll(){this.opCacheServices.forEach(x=>x.opCacheService.destroyAll())}static#e=this.\u0275fac=function(B){return new(B||k)(E.KVO(y.F),E.KVO(o),E.KVO(w),E.KVO(F))};static#t=this.\u0275prov=E.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},40673:(at,N,s)=>{"use strict";s.d(N,{Ay:()=>T,Uu:()=>m,tK:()=>g});var g=function(O){return O.TwilioAccountIsNotActiveOrIsSuspended="Twilio account is not active or is suspended",O.TwilioAccountIsInTrialModeAndRecipientNumberIsUnverified="Twilio account is in trial mode and recipient number is unverified",O.MessageBlockedDueTSuspectedSpam="Message blocked due to suspected spam",O.MessageBlockedDueToContentFiltering="Message blocked due to content filtering",O.UnableToSendMessageToRecipient="Unable to send message to recipient",O.InvalidRecipientPhoneNumberFormat="Invalid recipient phone number format",O.RecipientPhoneNumberIsBlacklisted="Recipient phone number is blacklisted",O.TwilioMessageQueueOverflow="Twilio message queue overflow",O.TwilioMessageQueueCapacityExceeded="Twilio message queue capacity exceeded",O.TwilioMessageRateLimitExceeded="Twilio message rate limit exceeded",O.TwilioAccountDoesNotHavePermissionsToSendMessages="Twilio account does not have permissions to send messages",O.InvalidRecipientPhoneNumber="Invalid recipient phone number",O.YouCannotSendMessagesToLandlineNumbers="You cannot send messages to landline numbers",O.UnexpectedErrorInExecutionOfAPIRequest="Unexpected error in execution of API request",O.OutOfTwilioPhoneNumbers="Out of Twilio phone numbers",O.TwilioPhoneNumberNotFound="Twilio phone number not found",O.InvalidTwilioPhoneNumber="Invalid Twilio phone number",O.YouCannotSendMessagesToTheFromPhoneNumber="You cannot send messages to the 'From' phone number",O.RecipientPhoneNumberIsNotAMobileNumber="Recipient phone number is not a mobile number",O.YouCannotSendMessagesWithoutAValidToPhoneNumber="You cannot send messages without a valid 'To' phone number",O.YouCannotSendMessagesToShortCodes="You cannot send messages to short codes",O.DestinationIsBlockedFromReceivingThisMessage="Destination is blocked from receiving this message",O.InvalidToPhoneNumber="Invalid 'To' Phone Number",O.InvalidPhoneNumber="Invalid phone number",O.TwilioFailedToDeliverTheMessage="Twilio failed to deliver the message",O.FailedToDeliverVoiceSMSDueToTwilioFailure="Failed to deliver voice SMS due to twilio failure",O.MessageFailedToSend="Message failed to send",O}(g||{});const m={es:{TwilioAccountIsNotActiveOrIsSuspended:"La cuenta de Twilio est\xe1 inactiva o suspendida",TwilioAccountIsInTrialModeAndRecipientNumberIsUnverified:"La cuenta de Twilio est\xe1 en modo de prueba y el n\xfamero de destinatario no est\xe1 verificado",MessageBlockedDueTSuspectedSpam:"Mensaje bloqueado debido a sospecha de spam",MessageBlockedDueToContentFiltering:"Mensaje bloqueado debido al filtrado de contenido",UnableToSendMessageToRecipient:"No se puede enviar un mensaje al destinatario",InvalidRecipientPhoneNumberFormat:"Formato no v\xe1lido del n\xfamero de tel\xe9fono del destinatario",RecipientPhoneNumberIsBlacklisted:"El n\xfamero de tel\xe9fono del destinatario est\xe1 en la lista negra",TwilioMessageQueueOverflow:"Desbordamiento de la cola de mensajes de Twilio",TwilioMessageQueueCapacityExceeded:"Se super\xf3 la capacidad de la cola de mensajes de Twilio",TwilioMessageRateLimitExceeded:"Se super\xf3 el l\xedmite de frecuencia de mensajes de Twilio",TwilioAccountDoesNotHavePermissionsToSendMessages:"La cuenta de Twilio no tiene permisos para enviar mensajes",InvalidRecipientPhoneNumber:"N\xfamero de tel\xe9fono del destinatario no v\xe1lido",YouCannotSendMessagesToLandlineNumbers:"No puedes enviar mensajes a n\xfameros fijos",UnexpectedErrorInExecutionOfAPIRequest:"Error inesperado en la ejecuci\xf3n de la solicitud de API",OutOfTwilioPhoneNumbers:"No es uno de los n\xfameros de tel\xe9fono de Twilio",TwilioPhoneNumberNotFound:"No se encontr\xf3 el n\xfamero de tel\xe9fono de Twilio",InvalidTwilioPhoneNumber:"N\xfamero de tel\xe9fono de Twilio no v\xe1lido",YouCannotSendMessagesToTheFromPhoneNumber:"No puedes enviar mensajes al n\xfamero de tel\xe9fono saliente",RecipientPhoneNumberIsNotAMobileNumber:"El n\xfamero de tel\xe9fono del destinatario no es un n\xfamero de m\xf3vil",YouCannotSendMessagesWithoutAValidToPhoneNumber:"No puedes enviar mensajes sin un n\xfamero de tel\xe9fono saliente que sea v\xe1lido",YouCannotSendMessagesToShortCodes:"No puedes enviar mensajes a c\xf3digos cortos",DestinationIsBlockedFromReceivingThisMessage:"Destination is blocked from receiving this message.",InvalidToPhoneNumber:"Invalid 'To' Phone Number",InvalidPhoneNumber:"Invalid phone number",TwilioFailedToDeliverTheMessage:"Twilio no pudo enviar el mensaje.",FailedToDeliverVoiceSMSDueToTwilioFailure:"No se pudo enviar el SMS de voz debido a un error de Twilio.",MessageFailedToSend:"No se pudo enviar el mensaje."},fr:{TwilioAccountIsNotActiveOrIsSuspended:"Le compte Twilio est inactif ou suspendu",TwilioAccountIsInTrialModeAndRecipientNumberIsUnverified:"Le compte Twilio est en version d'essai et le num\xe9ro du destinataire n'est pas v\xe9rifi\xe9'",MessageBlockedDueTSuspectedSpam:"Message bloqu\xe9 pour suspicion de spam",MessageBlockedDueToContentFiltering:"Message bloqu\xe9 en raison du filtrage de contenu",UnableToSendMessageToRecipient:"Impossible d'envoyer le message au destinataire",InvalidRecipientPhoneNumberFormat:"Format de num\xe9ro de t\xe9l\xe9phone du destinataire non valide",RecipientPhoneNumberIsBlacklisted:"Le num\xe9ro de t\xe9l\xe9phone du destinataire est mis sur liste noire",TwilioMessageQueueOverflow:"Surcharge de la file d'attente des messages Twilio",TwilioMessageQueueCapacityExceeded:"Capacit\xe9 de la file d'attente des messages Twilio d\xe9pass\xe9e",TwilioMessageRateLimitExceeded:"Limite de d\xe9bit des messages Twilio d\xe9pass\xe9e",TwilioAccountDoesNotHavePermissionsToSendMessages:"Le compte Twilio n'est pas autoris\xe9 \xe0 envoyer des messages",InvalidRecipientPhoneNumber:"Num\xe9ro de t\xe9l\xe9phone du destinataire non valide",YouCannotSendMessagesToLandlineNumbers:"Vous ne pouvez pas envoyer de messages vers des num\xe9ros fixes",UnexpectedErrorInExecutionOfAPIRequest:"Erreur inattendue lors de l'ex\xe9cution de la requ\xeate API",OutOfTwilioPhoneNumbers:"Num\xe9ros de t\xe9l\xe9phone non correspondant \xe0 Twilio",TwilioPhoneNumberNotFound:"Num\xe9ro de t\xe9l\xe9phone Twilio introuvable",InvalidTwilioPhoneNumber:"Num\xe9ro de t\xe9l\xe9phone Twilio non valide",YouCannotSendMessagesToTheFromPhoneNumber:"Vous ne pouvez pas envoyer de messages au num\xe9ro de t\xe9l\xe9phone de l'exp\xe9diteur",RecipientPhoneNumberIsNotAMobileNumber:"Le num\xe9ro de t\xe9l\xe9phone du destinataire n'est pas un num\xe9ro mobile",YouCannotSendMessagesWithoutAValidToPhoneNumber:"Vous ne pouvez pas envoyer de messages sans un num\xe9ro de t\xe9l\xe9phone du destinataire valide",YouCannotSendMessagesToShortCodes:"Vous ne pouvez pas envoyer de messages \xe0 un num\xe9ro abr\xe9g\xe9",DestinationIsBlockedFromReceivingThisMessage:"Destination is blocked from receiving this message.",InvalidToPhoneNumber:"Invalid 'To' Phone Number",InvalidPhoneNumber:"Invalid phone number",TwilioFailedToDeliverTheMessage:"Twilio n'a pas pu transmettre le message.",FailedToDeliverVoiceSMSDueToTwilioFailure:"\xc9chec de l'envoi du SMS vocal en raison d'une d\xe9faillance de Twilio.",MessageFailedToSend:"Le message n'a pas \xe9t\xe9 envoy\xe9."},ms:{TwilioAccountIsNotActiveOrIsSuspended:"Akaun Twilio tidak aktif atau digantung",TwilioAccountIsInTrialModeAndRecipientNumberIsUnverified:"Akaun Twilio dalam mod percubaan dan nombor penerima tidak disahkan",MessageBlockedDueTSuspectedSpam:"Mesej disekat kerana disyaki spam",MessageBlockedDueToContentFiltering:"Mesej disekat akibat penapisan kandungan",UnableToSendMessageToRecipient:"Tidak dapat menghantar mesej kepada penerima",InvalidRecipientPhoneNumberFormat:"Format nombor telefon penerima tidak sah",RecipientPhoneNumberIsBlacklisted:"Nombor telefon penerima disenaraihitamkan",TwilioMessageQueueOverflow:"Limpahan baris gilir mesej Twilio",TwilioMessageQueueCapacityExceeded:"Baris gilir mesej Twilio melebihi kapasiti",TwilioMessageRateLimitExceeded:"Kadar mesej Twilio melampaui had",TwilioAccountDoesNotHavePermissionsToSendMessages:"Akaun Twilio tiada kebenaran untuk menghantar mesej",InvalidRecipientPhoneNumber:"Nombor telefon penerima tidak sah",YouCannotSendMessagesToLandlineNumbers:"Anda tidak boleh menghantar mesej kepada nombor talian tetap",UnexpectedErrorInExecutionOfAPIRequest:"Ralat yang tidak dijangka ketika melaksanakan permintaan API",OutOfTwilioPhoneNumbers:"Tiada nombor telefon Twilio",TwilioPhoneNumberNotFound:"Nombor telefon Twilio tidak ditemui",InvalidTwilioPhoneNumber:"Nombor telefon Twilio tidak sah",YouCannotSendMessagesToTheFromPhoneNumber:"Anda tidak boleh menghantar mesej kepada nombor telefon 'Daripada'",RecipientPhoneNumberIsNotAMobileNumber:"Nombor telefon penerima bukan nombor mudah alih",YouCannotSendMessagesWithoutAValidToPhoneNumber:"Anda tidak boleh menghantar mesej tanpa nombor telefon 'Kepada' yang sah",YouCannotSendMessagesToShortCodes:"Anda tidak boleh menghantar mesej kepada kod pendek",DestinationIsBlockedFromReceivingThisMessage:"Destination is blocked from receiving this message.",InvalidToPhoneNumber:"Invalid 'To' Phone Number",InvalidPhoneNumber:"Invalid phone number",TwilioFailedToDeliverTheMessage:"Twilio gagal menghantar mesej.",FailedToDeliverVoiceSMSDueToTwilioFailure:"Gagal menghantar SMS suara akibat kegagalan twilio.",MessageFailedToSend:"Mesej gagal dihantar."},th:{TwilioAccountIsNotActiveOrIsSuspended:"\u0e1a\u0e31\u0e0d\u0e0a\u0e35 Twilio \u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e2b\u0e23\u0e37\u0e2d\u0e16\u0e39\u0e01\u0e23\u0e30\u0e07\u0e31\u0e1a",TwilioAccountIsInTrialModeAndRecipientNumberIsUnverified:"\u0e1a\u0e31\u0e0d\u0e0a\u0e35 Twilio \u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19\u0e42\u0e2b\u0e21\u0e14\u0e17\u0e14\u0e25\u0e2d\u0e07\u0e43\u0e0a\u0e49\u0e41\u0e25\u0e30\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e1c\u0e39\u0e49\u0e23\u0e31\u0e1a\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e22\u0e37\u0e19\u0e22\u0e31\u0e19",MessageBlockedDueTSuspectedSpam:"\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e16\u0e39\u0e01\u0e1a\u0e25\u0e47\u0e2d\u0e01\u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u0e08\u0e32\u0e01\u0e2a\u0e07\u0e2a\u0e31\u0e22\u0e27\u0e48\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e41\u0e1b\u0e21",MessageBlockedDueToContentFiltering:"\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e16\u0e39\u0e01\u0e1a\u0e25\u0e47\u0e2d\u0e01\u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e01\u0e23\u0e2d\u0e07\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32",UnableToSendMessageToRecipient:"\u0e44\u0e21\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e16\u0e36\u0e07\u0e1c\u0e39\u0e49\u0e23\u0e31\u0e1a\u0e44\u0e14\u0e49",InvalidRecipientPhoneNumberFormat:"\u0e23\u0e39\u0e1b\u0e41\u0e1a\u0e1a\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c\u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e23\u0e31\u0e1a\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07",RecipientPhoneNumberIsBlacklisted:"\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c\u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e23\u0e31\u0e1a\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19\u0e1a\u0e31\u0e0d\u0e0a\u0e35\u0e14\u0e33",TwilioMessageQueueOverflow:"\u0e04\u0e34\u0e27\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21 Twilio \u0e25\u0e49\u0e19",TwilioMessageQueueCapacityExceeded:"\u0e40\u0e01\u0e34\u0e19\u0e04\u0e27\u0e32\u0e21\u0e08\u0e38\u0e04\u0e34\u0e27\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21 Twilio",TwilioMessageRateLimitExceeded:"\u0e40\u0e01\u0e34\u0e19\u0e02\u0e35\u0e14\u0e08\u0e33\u0e01\u0e31\u0e14\u0e2d\u0e31\u0e15\u0e23\u0e32\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21 Twilio",TwilioAccountDoesNotHavePermissionsToSendMessages:"\u0e1a\u0e31\u0e0d\u0e0a\u0e35 Twilio \u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e23\u0e31\u0e1a\u0e2d\u0e19\u0e38\u0e0d\u0e32\u0e15\u0e43\u0e2b\u0e49\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21",InvalidRecipientPhoneNumber:"\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c\u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e23\u0e31\u0e1a\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07",YouCannotSendMessagesToLandlineNumbers:"\u0e04\u0e38\u0e13\u0e44\u0e21\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c\u0e1e\u0e37\u0e49\u0e19\u0e10\u0e32\u0e19\u0e44\u0e14\u0e49",UnexpectedErrorInExecutionOfAPIRequest:"\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e04\u0e32\u0e14\u0e04\u0e34\u0e14\u0e43\u0e19\u0e01\u0e32\u0e23\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23\u0e15\u0e32\u0e21\u0e04\u0e33\u0e02\u0e2d API",OutOfTwilioPhoneNumbers:"\u0e44\u0e21\u0e48\u0e43\u0e0a\u0e48\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c\u0e02\u0e2d\u0e07 Twilio",TwilioPhoneNumberNotFound:"\u0e44\u0e21\u0e48\u0e1e\u0e1a\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c\u0e02\u0e2d\u0e07 Twilio",InvalidTwilioPhoneNumber:"\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c Twilio \u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07",YouCannotSendMessagesToTheFromPhoneNumber:"\u0e04\u0e38\u0e13\u0e44\u0e21\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c '\u0e08\u0e32\u0e01' \u0e44\u0e14\u0e49",RecipientPhoneNumberIsNotAMobileNumber:"\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c\u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e23\u0e31\u0e1a\u0e44\u0e21\u0e48\u0e43\u0e0a\u0e48\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c\u0e21\u0e37\u0e2d\u0e16\u0e37\u0e2d",YouCannotSendMessagesWithoutAValidToPhoneNumber:"\u0e04\u0e38\u0e13\u0e44\u0e21\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e42\u0e14\u0e22\u0e44\u0e21\u0e48\u0e21\u0e35\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c '\u0e16\u0e36\u0e07' \u0e17\u0e35\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07",YouCannotSendMessagesToShortCodes:"\u0e04\u0e38\u0e13\u0e44\u0e21\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e23\u0e2b\u0e31\u0e2a\u0e2a\u0e31\u0e49\u0e19\u0e44\u0e14\u0e49",DestinationIsBlockedFromReceivingThisMessage:"Destination is blocked from receiving this message.",InvalidToPhoneNumber:"Invalid 'To' Phone Number",InvalidPhoneNumber:"Invalid phone number",TwilioFailedToDeliverTheMessage:"Twilio \u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e25\u0e49\u0e21\u0e40\u0e2b\u0e25\u0e27",FailedToDeliverVoiceSMSDueToTwilioFailure:"\u0e2a\u0e48\u0e07 SMS \u0e41\u0e1a\u0e1a\u0e40\u0e2a\u0e35\u0e22\u0e07\u0e25\u0e49\u0e21\u0e40\u0e2b\u0e25\u0e27\u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u0e08\u0e32\u0e01\u0e04\u0e27\u0e32\u0e21\u0e25\u0e49\u0e21\u0e40\u0e2b\u0e25\u0e27\u0e02\u0e2d\u0e07 twilio",MessageFailedToSend:"\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e25\u0e49\u0e21\u0e40\u0e2b\u0e25\u0e27"},"zh-Hant":{TwilioAccountIsNotActiveOrIsSuspended:"Twilio \u5e33\u6236\u672a\u555f\u7528\u6216\u5df2\u88ab\u66ab\u505c",TwilioAccountIsInTrialModeAndRecipientNumberIsUnverified:"Twilio \u5e33\u6236\u662f\u8a66\u7528\u6a21\u5f0f\uff0c\u6536\u4ef6\u4eba\u865f\u78bc\u672a\u7d93\u9a57\u8b49",MessageBlockedDueTSuspectedSpam:"\u90f5\u4ef6\u56e0\u7591\u4f3c\u5783\u573e\u90f5\u4ef6\u800c\u88ab\u5c01\u9396",MessageBlockedDueToContentFiltering:"\u8a0a\u606f\u56e0\u5167\u5bb9\u904e\u6ffe\u800c\u88ab\u5c01\u9396",UnableToSendMessageToRecipient:"\u7121\u6cd5\u50b3\u9001\u8a0a\u606f\u7d66\u6536\u4ef6\u4eba",InvalidRecipientPhoneNumberFormat:"\u6536\u4ef6\u4eba\u96fb\u8a71\u865f\u78bc\u683c\u5f0f\u7121\u6548",RecipientPhoneNumberIsBlacklisted:"\u6536\u4ef6\u4eba\u96fb\u8a71\u865f\u78bc\u5df2\u5217\u5165\u9ed1\u540d\u55ae",TwilioMessageQueueOverflow:"Twilio \u8a0a\u606f\u4f47\u5217\u6ea2\u51fa",TwilioMessageQueueCapacityExceeded:"Twilio \u8a0a\u606f\u4f47\u5217\u5bb9\u91cf\u8d85\u51fa",TwilioMessageRateLimitExceeded:"Twilio \u8a0a\u606f\u901f\u7387\u9650\u5236\u8d85\u51fa",TwilioAccountDoesNotHavePermissionsToSendMessages:"Twilio \u5e33\u6236\u6c92\u6709\u50b3\u9001\u8a0a\u606f\u7684\u6b0a\u9650",InvalidRecipientPhoneNumber:"\u6536\u4ef6\u4eba\u96fb\u8a71\u865f\u78bc\u7121\u6548",YouCannotSendMessagesToLandlineNumbers:"\u60a8\u7121\u6cd5\u50b3\u9001\u8a0a\u606f\u5230\u56fa\u5b9a\u96fb\u8a71\u865f\u78bc",UnexpectedErrorInExecutionOfAPIRequest:"\u57f7\u884c API \u8acb\u6c42\u6642\u767c\u751f\u672a\u9810\u671f\u932f\u8aa4",OutOfTwilioPhoneNumbers:"\u975e Twilio \u63d0\u4f9b\u7684\u96fb\u8a71\u865f\u78bc",TwilioPhoneNumberNotFound:"\u672a\u627e\u5230 Twilio \u96fb\u8a71\u865f\u78bc",InvalidTwilioPhoneNumber:"\u7121\u6548\u7684 Twilio \u96fb\u8a71\u865f\u78bc",YouCannotSendMessagesToTheFromPhoneNumber:"\u60a8\u7121\u6cd5\u50b3\u9001\u8a0a\u606f\u5230\u300c\u5bc4\u4ef6\u8005\u300d\u96fb\u8a71\u865f\u78bc",RecipientPhoneNumberIsNotAMobileNumber:"\u6536\u4ef6\u4eba\u96fb\u8a71\u865f\u78bc\u4e0d\u662f\u884c\u52d5\u96fb\u8a71\u865f\u78bc",YouCannotSendMessagesWithoutAValidToPhoneNumber:"\u6c92\u6709\u6709\u6548\u7684\u300c\u6536\u4ef6\u4eba\u300d\u96fb\u8a71\u865f\u78bc\u7121\u6cd5\u50b3\u9001\u8a0a\u606f",YouCannotSendMessagesToShortCodes:"\u60a8\u7121\u6cd5\u50b3\u9001\u8a0a\u606f\u5230\u77ed\u4ee3\u78bc",DestinationIsBlockedFromReceivingThisMessage:"Destination is blocked from receiving this message.",InvalidToPhoneNumber:"Invalid 'To' Phone Number",InvalidPhoneNumber:"Invalid phone number",TwilioFailedToDeliverTheMessage:"Twilio \u50b3\u9001\u8a0a\u606f\u5931\u6557\u3002",FailedToDeliverVoiceSMSDueToTwilioFailure:"\u7531\u65bc twilio \u6545\u969c\u800c\u7121\u6cd5\u767c\u9001\u8a9e\u97f3\u7c21\u8a0a\u3002",MessageFailedToSend:"\u8a0a\u606f\u50b3\u9001\u5931\u6557\u3002"},zh:{TwilioAccountIsNotActiveOrIsSuspended:"Twilio \u8d26\u6237\u672a\u6fc0\u6d3b\u6216\u5df2\u88ab\u6682\u505c",TwilioAccountIsInTrialModeAndRecipientNumberIsUnverified:"Twilio \u8d26\u6237\u5904\u4e8e\u8bd5\u7528\u6a21\u5f0f\uff0c\u6536\u4ef6\u4eba\u53f7\u7801\u672a\u7ecf\u9a8c\u8bc1",MessageBlockedDueTSuspectedSpam:"\u7531\u4e8e\u7591\u4f3c\u5783\u573e\u90ae\u4ef6\uff0c\u90ae\u4ef6\u5df2\u88ab\u62e6\u622a",MessageBlockedDueToContentFiltering:"\u4fe1\u606f\u56e0\u5185\u5bb9\u8fc7\u6ee4\u800c\u88ab\u62e6\u622a",UnableToSendMessageToRecipient:"\u65e0\u6cd5\u5411\u6536\u4ef6\u4eba\u53d1\u9001\u4fe1\u606f",InvalidRecipientPhoneNumberFormat:"\u6536\u4ef6\u4eba\u7535\u8bdd\u53f7\u7801\u683c\u5f0f\u65e0\u6548",RecipientPhoneNumberIsBlacklisted:"\u6536\u4ef6\u4eba\u7535\u8bdd\u53f7\u7801\u88ab\u5217\u4e3a\u9ed1\u540d\u5355",TwilioMessageQueueOverflow:"Twilio \u6d88\u606f\u961f\u5217\u6ea2\u51fa",TwilioMessageQueueCapacityExceeded:"Twilio \u6d88\u606f\u961f\u5217\u8d85\u51fa\u5bb9\u91cf",TwilioMessageRateLimitExceeded:"\u8d85\u51fa Twilio \u6d88\u606f\u901f\u7387\u9650\u5236",TwilioAccountDoesNotHavePermissionsToSendMessages:"Twilio \u8d26\u6237\u6ca1\u6709\u53d1\u9001\u6d88\u606f\u7684\u6743\u9650",InvalidRecipientPhoneNumber:"\u6536\u4ef6\u4eba\u7535\u8bdd\u53f7\u7801\u65e0\u6548",YouCannotSendMessagesToLandlineNumbers:"\u65e0\u6cd5\u5411\u56fa\u5b9a\u7535\u8bdd\u53f7\u7801\u53d1\u9001\u4fe1\u606f",UnexpectedErrorInExecutionOfAPIRequest:"\u6267\u884c API \u8bf7\u6c42\u65f6\u51fa\u73b0\u610f\u5916\u9519\u8bef",OutOfTwilioPhoneNumbers:"\u4e0d\u5c5e\u4e8e\u6709\u6548\u7684 Twilio \u7535\u8bdd\u53f7\u7801",TwilioPhoneNumberNotFound:"\u672a\u627e\u5230 Twilio \u7535\u8bdd\u53f7\u7801",InvalidTwilioPhoneNumber:"Twilio \u7535\u8bdd\u53f7\u7801\u65e0\u6548",YouCannotSendMessagesToTheFromPhoneNumber:"\u65e0\u6cd5\u5411\u201c\u53d1\u4ef6\u4eba\u201d\u7535\u8bdd\u53f7\u7801\u53d1\u9001\u4fe1\u606f",RecipientPhoneNumberIsNotAMobileNumber:"\u6536\u4ef6\u4eba\u7535\u8bdd\u53f7\u7801\u975e\u624b\u673a\u53f7\u7801",YouCannotSendMessagesWithoutAValidToPhoneNumber:"\u5982\u679c\u6ca1\u6709\u6709\u6548\u7684\u201c\u6536\u4ef6\u4eba\u201d\u7535\u8bdd\u53f7\u7801\uff0c\u5219\u65e0\u6cd5\u53d1\u9001\u4fe1\u606f",YouCannotSendMessagesToShortCodes:"\u65e0\u6cd5\u5411\u77ed\u4ee3\u7801\u53d1\u9001\u4fe1\u606f",DestinationIsBlockedFromReceivingThisMessage:"Destination is blocked from receiving this message.",InvalidToPhoneNumber:"Invalid 'To' Phone Number",InvalidPhoneNumber:"Invalid phone number",TwilioFailedToDeliverTheMessage:"Twilio \u65e0\u6cd5\u53d1\u9001\u4fe1\u606f\u3002",FailedToDeliverVoiceSMSDueToTwilioFailure:"\u7531\u4e8e twilio \u6545\u969c\uff0c\u8bed\u97f3\u77ed\u4fe1\u53d1\u9001\u5931\u8d25\u3002",MessageFailedToSend:"\u4fe1\u606f\u53d1\u9001\u5931\u8d25\u3002"},de:{TwilioAccountIsNotActiveOrIsSuspended:"Das Twilio-Konto ist nicht aktiv oder gesperrt",TwilioAccountIsInTrialModeAndRecipientNumberIsUnverified:"Das Twilio-Konto befindet sich im Testmodus und die Empf\xe4ngernummer ist nicht best\xe4tigt",MessageBlockedDueTSuspectedSpam:"Nachricht wegen Spamverdacht blockiert",MessageBlockedDueToContentFiltering:"Nachricht aufgrund von Inhaltsfilterung blockiert",UnableToSendMessageToRecipient:"Nachricht kann nicht an Empf\xe4nger gesendet werden",InvalidRecipientPhoneNumberFormat:"Ung\xfcltiges Format f\xfcr die Empf\xe4nger-Telefonnummer",RecipientPhoneNumberIsBlacklisted:"Die Telefonnummer des Empf\xe4ngers steht auf der schwarzen Liste",TwilioMessageQueueOverflow:"Zu viele Nachrichten in der Twilio-Warteschlange",TwilioMessageQueueCapacityExceeded:"Kapazit\xe4t der Twilio-Nachrichtenwarteschlange \xfcberschritten",TwilioMessageRateLimitExceeded:"Twilio-Limit f\xfcr die Nachrichtenfrequenz wurde \xfcberschritten",TwilioAccountDoesNotHavePermissionsToSendMessages:"Das Twilio-Konto hat keine Berechtigung, um Nachrichten zu senden",InvalidRecipientPhoneNumber:"Ung\xfcltige Empf\xe4nger-Telefonnummer",YouCannotSendMessagesToLandlineNumbers:"Sie k\xf6nnen keine Nachrichten an Festnetznummern senden",UnexpectedErrorInExecutionOfAPIRequest:"Unerwarteter Fehler bei der Ausf\xfchrung der API-Anfrage",OutOfTwilioPhoneNumbers:"Keine weiteren Twilio-Telefonnummern",TwilioPhoneNumberNotFound:"Twilio-Telefonnummer nicht gefunden",InvalidTwilioPhoneNumber:"Ung\xfcltige Twilio-Telefonnummer",YouCannotSendMessagesToTheFromPhoneNumber:"Sie k\xf6nnen keine Nachrichten an die Absendernummer senden",RecipientPhoneNumberIsNotAMobileNumber:"Die Empf\xe4nger-Telefonnummer ist keine Mobiltelefonnummer",YouCannotSendMessagesWithoutAValidToPhoneNumber:"Sie k\xf6nnen keine Nachrichten ohne eine g\xfcltige \u201eAn\u201c-Telefonnummer senden",YouCannotSendMessagesToShortCodes:"Sie k\xf6nnen keine Nachrichten an Funktionscodes senden",DestinationIsBlockedFromReceivingThisMessage:"Das Ziel ist f\xfcr den Empfang dieser Nachricht gesperrt",InvalidToPhoneNumber:"Ung\xfcltige \u201eAn\u201c-Telefonnummer",InvalidPhoneNumber:"Ung\xfcltige Telefonnummer",TwilioFailedToDeliverTheMessage:"Twilio konnte die Nachricht nicht \xfcbermitteln",FailedToDeliverVoiceSMSDueToTwilioFailure:"Aufgrund eines Twilio-Fehlers konnte die Sprach-SMS nicht zugestellt werden",MessageFailedToSend:"Nachricht konnte nicht gesendet werden"},"pt-br":{TwilioAccountIsNotActiveOrIsSuspended:"A conta da Twilio n\xe3o est\xe1 ativa ou est\xe1 suspensa",TwilioAccountIsInTrialModeAndRecipientNumberIsUnverified:"A conta da Twilio est\xe1 em modo de teste e o n\xfamero do destinat\xe1rio n\xe3o foi verificado",MessageBlockedDueTSuspectedSpam:"Mensagem bloqueada devido a suspeita de spam",MessageBlockedDueToContentFiltering:"Mensagem bloqueada devido \xe0 filtragem de conte\xfado",UnableToSendMessageToRecipient:"N\xe3o \xe9 poss\xedvel enviar mensagem ao destinat\xe1rio",InvalidRecipientPhoneNumberFormat:"Formato do n\xfamero de telefone do destinat\xe1rio inv\xe1lido",RecipientPhoneNumberIsBlacklisted:"O n\xfamero do telefone do destinat\xe1rio est\xe1 na lista negra",TwilioMessageQueueOverflow:"Estouro da fila de mensagens da Twilio",TwilioMessageQueueCapacityExceeded:"A capacidade da fila de mensagens da Twilio foi excedida",TwilioMessageRateLimitExceeded:"O limite da taxa de mensagens da Twilio foi excedido",TwilioAccountDoesNotHavePermissionsToSendMessages:"A conta da Twilio n\xe3o tem permiss\xf5es para enviar mensagens",InvalidRecipientPhoneNumber:"N\xfamero do telefone do destinat\xe1rio inv\xe1lido",YouCannotSendMessagesToLandlineNumbers:"Voc\xea n\xe3o pode enviar mensagens para n\xfameros fixos",UnexpectedErrorInExecutionOfAPIRequest:"Erro inesperado na execu\xe7\xe3o da solicita\xe7\xe3o da API",OutOfTwilioPhoneNumbers:"Esgotaram-se os n\xfameros de telefone da Twilio",TwilioPhoneNumberNotFound:"N\xfamero de telefone do Twilio n\xe3o encontrado",InvalidTwilioPhoneNumber:"N\xfamero de telefone da Twilio inv\xe1lido",YouCannotSendMessagesToTheFromPhoneNumber:'Voc\xea n\xe3o pode enviar mensagens para o n\xfamero de telefone "De" (origem)',RecipientPhoneNumberIsNotAMobileNumber:"O n\xfamero de telefone do destinat\xe1rio n\xe3o \xe9 um n\xfamero de celular",YouCannotSendMessagesWithoutAValidToPhoneNumber:'Voc\xea n\xe3o pode enviar mensagens sem um n\xfamero de telefone "Para" (destino)',YouCannotSendMessagesToShortCodes:"Voc\xea n\xe3o pode enviar mensagens para c\xf3digos curtos",DestinationIsBlockedFromReceivingThisMessage:"O destino est\xe1 impedido de receber esta mensagem",InvalidToPhoneNumber:'N\xfamero de telefone "Para" inv\xe1lido',InvalidPhoneNumber:"N\xfamero de telefone inv\xe1lido",TwilioFailedToDeliverTheMessage:"A Twilio n\xe3o conseguiu entregar a mensagem",FailedToDeliverVoiceSMSDueToTwilioFailure:"N\xe3o foi poss\xedvel entregar SMS de voz devido a falha da Twilio",MessageFailedToSend:"A mensagem n\xe3o foi enviada"}},T={LOCALE_ID:"en-us",ACCEPTABLE_LOCALE_IDS:["en-us"],LANG_DEFAULT:"en-us",LOCALES:[{label:"American English (en-us)",value:"en-us"},{label:"American Spanish (es)",value:"es"},{label:"Bahasa Malaysia (ms)",value:"ms"},{label:"Brazilian Portuguese (pt-br)",value:"pt-br"},{label:"French (fr)",value:"fr"},{label:"German (de)",value:"de"},{label:"Simplified Chinese (zh-cn)",value:"zh"},{label:"Thai (th)",value:"th"},{label:"Traditional Chinese (zh-tw)",value:"zh-Hant"}],BRANCH_MASTER:"branch/master",SECURITY:{OP:"security/policy/op",EVERYONE:"security/policy/everyone",INSTANCE_USER_ADMIN:"app/security-policy/instance-user-admin",INSTANCE_USER_USER:"app/security-policy/instance-user-user",INSTANCE_ADMIN_ADMIN:"app/security-policy/instance-admin-admin",INSTANCE_USER_ADMIN_UPDATE_ONLY:"app/security-policy/instance-user-admin-update-only"},LOCAL_STORAGE:{SESSION_TOKEN:"en-session-token",SESSION_LAST_PROFILE:"en-last-profile",SHOW_TYPE_CHOOSER_INFO_MESSAGE:"show-type-chooser-info-message",SHOW_WORFLOW_DESIGNER_NEW_FEATURE_POPOVER:"show-workflow-designer-new-feature-popover",QUERY_SERVICE_MODE:"query-service-mode",QUERY_SERVICE_AGGREGATION:"query-service-aggregation",QUERY_SERVICE_COMMON_FIELDS:"query-service-common-fields",AUTH_TRANSACTION_SECRET:"auth-transaction-secret",LAST_PERSIST:"last-persist"},HTTP_HEADER:{SESSION_TOKEN_HEADER:"Session-Token",SESSION_ID_HEADER:"Session-Id",ENCLOUD_BULK:"encloud-bulk"},AVAILABLE_DOMAINS_CHECK_INTERVAL:30,PRINT_IN_MOBILE_APP:"PRINT_IN_MOBILE_APP"}},95746:(at,N,s)=>{"use strict";s.d(N,{K:()=>z});var n=s(67376),a=s(21413),g=s(5964),m=s(70980),T=s(55972),O=s(99898),D=s(78329),E=s(77088),y=s(40673),I=s(19439),b=s(72564),L=s(93953),o=s(96697),C=s(96354),w=s(99760);let M=(()=>{class F{constructor(k){this._enoService=k,this._varFactory=new I.f("var",y.Ay.SECURITY.EVERYONE)}objectToEnos(k){return Object.keys(k).map(Y=>(this._varFactory.setFields([{tip:"var/key",value:[Y]},{tip:"var/value",value:k[Y]}]),this._varFactory.makeEno()))}enosToObject(k){const Y={};return k.forEach(x=>{Y[x.getFieldStringValue("var/key")]=x.getFieldValues("var/value")}),Y}tipsToObject(k){return this._enoService.readEnos(k).pipe((0,o.s)(1),(0,C.T)(this.enosToObject,this))}static#e=this.\u0275fac=function(Y){return new(Y||F)(L.KVO(w.g))};static#t=this.\u0275prov=L.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})();var q=s(63137);let z=(()=>{class F{constructor(k,Y,x){this.varsService=k,this.ensrvService=Y,this.pubSubService=x,this.broadcasterMap={},this.unwatchOpEnofactory=new I.f("op/watch/unregister",y.Ay.SECURITY.OP),this.watchOpEnoFactory=new I.f("op/watch/register",y.Ay.SECURITY.OP),this.enableWatchLogging=!1,this.pubSubService.receiveSessionMessage(b.B.criteriaWatch).pipe((0,g.p)(B=>this.broadcasterMap.hasOwnProperty(B.op)&&B.tips&&B.tips.length>0)).subscribe(B=>this._handleSessionMessageData(B))}getWatchedCriteria(){const k=(0,n.cloneDeep)(this.broadcasterMap);return(0,n.forEach)(k,Y=>{delete Y.subject$,delete Y.sharedSubject$}),k}toggleWatchLogging(){this.enableWatchLogging=!this.enableWatchLogging,console.log("Critera watch logging is now "+(this.enableWatchLogging?"enabled":"disabled"))}watch(k,Y,x={},B=y.Ay.BRANCH_MASTER,j=0){const $=this.varsService.objectToEnos(x);let H=Y;if(!(0,n.isEmpty)(Y)){const te=this.removeGeoFieldIntersectsFromCriteriaFormula(Y);H=E.X.toFormulaString(te)}const ie=this.watchOpEnoFactory.setFields([{tip:"op/watch/register:type",value:[k]},{tip:"op/watch/register:criteria",value:H?[H]:[]},{tip:"op/watch/register:criteria-vars",value:$.map(te=>te.tip)},{tip:"op/watch/register:branch",value:[B]},{tip:"op/watch/register:limit",value:[""+j]}]).makeEno(),ne=ie.tip;if(this.broadcasterMap[ne])return this.broadcasterMap[ne].sharedSubject$;const Q=new a.B,le=Q.pipe((0,m.j)(()=>this.unwatch({watchOpTip:ne,typeTip:k,criteria:H,criteriaVars:x})),(0,T.H)(1),(0,O.B)());this.broadcasterMap[ne]={criteria:H,criteriaVars:x,sharedSubject$:le,subject$:Q,typeTip:k};const pe=$.concat(ie);return this.ensrvService.send(pe).subscribe(()=>{this.enableWatchLogging&&console.log(`Currently watching ${Object.keys(this.broadcasterMap).length} criteria. Last %caddition%c to criteria watch: ${ne}.`,"color: green","color: unset",{watchOpTip:ne,typeTip:k,criteria:H,criteriaVars:x})},te=>{Q.error(te)}),le}_handleSessionMessageData(k){this.broadcasterMap[k.op].subject$.next(k.tips)}unwatch({watchOpTip:k,typeTip:Y,criteria:x,criteriaVars:B}){if((0,n.isNil)(this.broadcasterMap[k]))return;const j=this.unwatchOpEnofactory.setFields([{tip:"op/watch/unregister:op-id",value:[k]}]).makeEno();this.ensrvService.send([j]).subscribe(),delete this.broadcasterMap[k],this.enableWatchLogging&&console.log(`Currently watching ${Object.keys(this.broadcasterMap).length} criteria. Last %cremoval%c from criteria watch: ${k}.`,"color: red","color: unset",{watchOpTip:k,typeTip:Y,criteria:x,criteriaVars:B})}removeGeoFieldIntersectsFromCriteriaFormula(k){const Y=E.X.toFormulaSpec(k),{name:x,args:B}=Y;return(0,n.isEmpty)(B)||B.every((0,n.negate)(D.g))?Y:"GEO_FIELD_INTERSECTS"===x?{name:"ARRAY",args:[{name:"TIP",args:[]}]}:{name:x,args:B.map(j=>(0,D.g)(j)?this.removeGeoFieldIntersectsFromCriteriaFormula(j):j)}}static#e=this.\u0275fac=function(Y){return new(Y||F)(L.KVO(M),L.KVO(q.w),L.KVO(b.R))};static#t=this.\u0275prov=L.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},28276:(at,N,s)=>{"use strict";s.d(N,{h:()=>E});var n=s(96354),a=s(7673),g=s(97586),m=s.n(g),T=s(38582),O=s(93953),D=s(41989);let E=(()=>{class I{constructor(L){this.localeService=L}format(L,o=T._N.DATE){return L?this.localeService.localeSubject.pipe((0,n.T)(C=>y(C)(L,o))):(0,a.of)("")}getFormatFn(){return this.localeService.localeSubject.pipe((0,n.T)(L=>y(L)))}static#e=this.\u0275fac=function(o){return new(o||I)(O.KVO(D.i))};static#t=this.\u0275prov=O.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})();function y(I){return function(L,o=T._N.DATE){const C=o===T._N.DATE?I.dateformat:o===T._N.DATETIME?I.datetimeformat:"DD MMM YYYY HH:mm:ss";return"number"==typeof L&&L>0||m()(L,m().ISO_8601,!0).isValid()?m()(L,!0).format(C):""}}},78798:(at,N,s)=>{"use strict";s.d(N,{A:()=>w});var n=s(50835),a=s(67376),m=s(21413),T=s(27468),O=s(7673),D=s(25558),E=s(96354),y=s(99437),I=s(56977),b=s(40673),L=s(93953),o=s(21626),C=s(32099);let w=(()=>{class M{constructor(z,F){this.httpClient=z,this.loggerService=F,this.coreDomain=n.c.host.replace("https://",""),this.domainDiscoveryPath=`${n.c.host}/.encloud/config`,this.intervalInMinutes=b.Ay.AVAILABLE_DOMAINS_CHECK_INTERVAL,this.domainToUseIndex=0,this.unsubscribe$=new m.B,this.availableDomains=[this.coreDomain]}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}checkDomainsPeriodically(){this.getAvailableDomains(),this.domainCheckProcess=setInterval(()=>{this.getAvailableDomains()},6e4*this.intervalInMinutes)}getAvailableDomains(){this.availableDomains=[this.coreDomain],"http/1.1"===(0,a.get)(performance.getEntriesByType("navigation"),"[0].nextHopProtocol","h2")&&this.getAdditionalDomains().pipe((0,D.n)(F=>F.length?(0,T.p)(F.map(U=>this.httpClient.get(`https://${U}/.encloud/config`,{responseType:"json"}).pipe((0,E.T)(()=>U),(0,y.W)(()=>(0,O.of)(null))))):(0,O.of)([])),(0,I.Q)(this.unsubscribe$)).subscribe(F=>{this.availableDomains=[this.coreDomain,...F.filter(U=>!!U)]},F=>{this.loggerService.error(`Failed to retrieve available domains - Url: ${this.domainDiscoveryPath} - Error: ${F}`)})}getAdditionalDomains(){return this.httpClient.get(this.domainDiscoveryPath,{responseType:"json"}).pipe((0,E.T)(z=>(0,a.get)(z,"additional-domains",[])))}clearDomainCheckProcess(){this.availableDomains=[this.coreDomain],this.domainToUseIndex=0,clearInterval(this.domainCheckProcess)}getDomainToUse(){this.domainToUseIndex>=this.availableDomains.length&&(this.domainToUseIndex=0);const z=(0,a.get)(this.availableDomains,this.domainToUseIndex,this.coreDomain);return this.domainToUseIndex++,z}static#e=this.\u0275fac=function(F){return new(F||M)(L.KVO(o.Qq),L.KVO(C.g))};static#t=this.\u0275prov=L.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})()},7134:(at,N,s)=>{"use strict";s.d(N,{u:()=>T});var n=s(40673),a=s(67376),m=s(93953);let T=(()=>{class O{constructor(){this._enos=new Map}hasEno(E,y=n.Ay.BRANCH_MASTER){return this._enos.has(this._getKey(E,y))}getEno(E,y=n.Ay.BRANCH_MASTER){return this._enos.get(this._getKey(E,y))}setEno(E,y,I){y.source&&this._enos.set(this._getKey(E,I||y.getBranch()),(0,a.cloneDeep)(y))}_getKey(E,y){return`${E}:${y}`}static#e=this.\u0275fac=function(y){return new(y||O)};static#t=this.\u0275prov=m.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})()},99760:(at,N,s)=>{"use strict";s.d(N,{g:()=>pe});var n=s(18359),a=s(28793),g=s(7673),m=s(983),T=s(21413),O=s(18810),D=s(5964),E=s(88141),y=s(11765),I=s(99437),b=s(70980),L=s(55972),o=s(99898),C=s(25558),w=s(61594),M=s(96354),q=s(790),z=s(69828),F=s(40673),U=s(19439),k=s(67376);class Y extends Error{constructor(ae,K){if(super(),this.message=void 0===K?"Access denied on sid "+ae:"Access denied on tip and branch "+ae+", "+K.toString(),Object.setPrototypeOf(this,Y.prototype),this.name="AccessDeniedError",void 0!==K)return this.tip=ae,void(this.branches=(0,k.clone)(K));this.sid=ae}}var x=s(74127),B=s(72564),j=s(93953),$=s(63137),H=s(7134),ie=s(57032);let ne=(()=>{class te{constructor(K){this._opPullService=K,this._enoTipsWatched=new Set}_getKey(K,de){return`${K}:${de}`}isWatched(K,de=F.Ay.BRANCH_MASTER){return this._enoTipsWatched.has(this._getKey(K,de))}markAsWatched(K,de=F.Ay.BRANCH_MASTER){("string"==typeof K?[K]:K)?.forEach(me=>{this._enoTipsWatched.add(this._getKey(me,de)),de!==F.Ay.BRANCH_MASTER&&this._enoTipsWatched.add(this._getKey(me,F.Ay.BRANCH_MASTER))})}getWatchOpPulls(K){const de={},Me=[];for(const me of K){if(me.source.security===F.Ay.SECURITY.OP)continue;const be=me.getBranch();this._enoTipsWatched.has(this._getKey(me.tip,be))||me.source.deleted||(void 0===de[be]&&(de[be]={tips:[],ifNotSids:[]}),de[be].tips.push(me.tip),de[be].ifNotSids.push(me.sid))}for(const me of Object.keys(de))Me.push(this._opPullService.createOpPull({tip:de[me].tips,ifNotSid:de[me].ifNotSids,branch:me===F.Ay.BRANCH_MASTER?[me]:[me,F.Ay.BRANCH_MASTER]}));return Me}static#e=this.\u0275fac=function(de){return new(de||te)(j.KVO(ie.q))};static#t=this.\u0275prov=j.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}return te})();var Q=s(32099),le=s(64552);let pe=(()=>{class te{constructor(K,de,Me,me,be,Le,Ae){this._ensrvService=K,this._enoCacheService=de,this._enoWatchService=Me,this._opPullService=me,this._pubSubService=be,this._loggerService=Le,this._opCacheService=Ae,this._enoFactory=new U.f,this._enoSubjects={},this._batchSubjects={},this.awaitingPullTips=new Set,this._pubSubService.receiveSessionMessage(B.B.tipWatch).pipe((0,D.p)(Oe=>!(void 0===this._enoSubjects[Oe.op]&&void 0===this._batchSubjects[Oe.op]))).subscribe(Oe=>this._handleTipWatchData(Oe))}_handleTipWatchData(K){const de=this._enoSubjects[K.op],Me=this._batchSubjects[K.op],me=this._opPullService.getOpPull(K.op);this._loggerService.debug("[ENO_WATCH] Handling....",K),de?this._doOpPullForReadEno(me,de,me.getFieldStringValue("op/pull/tip"),me.getFieldValues("op/pull/branch")[0],me.getFieldNumberValue("op/pull/recursive-depth"),me.getFieldValues("op/pull/recursive-field")):this._doOpPullForReadEnos(me,Me,[],me.getFieldValues("op/pull/tip"),me.getFieldValues("op/pull/branch")[0])}readEno(K,{branch:de=F.Ay.BRANCH_MASTER,recursiveDepth:Me=0,recursiveFields:me=[],useCache:be=null}={branch:F.Ay.BRANCH_MASTER,recursiveDepth:0,recursiveFields:[],useCache:null}){const Le=this._enoCacheService.hasEno(K,de),Ae=this._enoCacheService.getEno(K,de),Oe=!this._enoWatchService.isWatched(K,de),Xe=(0,q.t)(be),$e=de===F.Ay.BRANCH_MASTER?[de]:[F.Ay.BRANCH_MASTER],ze=this._opPullService.createOpPull({tip:[K],branch:$e,watch:!0,recursiveDepth:Me,recursiveField:me}).tip,Be=this._opPullService.createOpPull({tip:[K],branch:$e,watch:Oe,recursiveDepth:Me,recursiveField:me}),Ye=this._initEnoSubject(ze);let Ct=new n.yU;Xe!==q.q.USE_NETWORK_NO_CACHE&&!Le&&(Ct=this._opCacheService.get$(ze).subscribe(ht=>Ye.subject.next(new x.h(ht))));const Lt=Ye.observable.pipe((0,E.M)(ht=>{Ct.unsubscribe(),this._opCacheService.set$(ze,ht.toJson()).subscribe()}),(0,y.w)("sid")),Vt=(0,a.x)((0,g.of)(Ae),Lt).pipe((0,y.w)("sid"));return Xe===q.q.USE_CACHE&&Le?Vt:(this._doOpPullForReadEno(Be,Ye,K,de,Me,me),Xe===q.q.USE_NETWORK_NO_CACHE?Lt:Le?Vt:Lt)}_doOpPullForReadEno(K,de,Me,me,be,Le){this.awaitingPullTips.has(K.tip)||(this.awaitingPullTips.add(K.tip),this._ensrvService.send([K]).pipe((0,I.W)(Ae=>(this.awaitingPullTips.delete(K.tip),this._loggerService.error(Ae),this._sendEnoSubjectError(de,Ae),m.w))).subscribe(Ae=>{if(this.awaitingPullTips.delete(K.tip),this._handleReadEnoError(de,Ae,Me,me,be,Le))return;this._enoWatchService.markAsWatched(Me,me),this._cacheBatchOnRequestedBranch(Ae,[Me],me);const Oe=this._extractTipEno(Me,Ae);null!==Oe?de.subject.next(Oe):0===K.getFieldValues("op/pull/if-not-sid").length&&this._sendEnoSubjectError(de,new Error(`op/pull response batch does not contain requested tip. tip: ${Me}, batch: [${Ae.map(Xe=>Xe.tip)}]`))}))}_initEnoSubject(K){if(!this._enoSubjects[K]){const de=new T.B,Me=de.pipe((0,b.j)(()=>this._removeEnoSubject(K)),(0,L.H)(1),(0,o.B)());this._enoSubjects[K]={subject:de,observable:Me}}return this._enoSubjects[K]}_removeEnoSubject(K){this._enoSubjects[K]&&delete this._enoSubjects[K]}_sendEnoSubjectError(K,de){Object.keys(this._enoSubjects).forEach(Me=>{this._enoSubjects[Me]===K&&(K.subject.error(de),delete this._enoSubjects[Me])})}_extractTipEno(K,de){for(const Me of de)if(Me.tip===K)return Me;return null}_handleReadEnoError(K,de,Me,me,be,Le){const Ae=this._checkAccessDenied(de,Me,me);if(Ae)return this._sendEnoSubjectError(K,new Y(Ae,[me])),!0;if(this._containsError(de)){const Oe=new Error(`Error happens while reading object tip: ${Me}, branch: ${me},                           recursiveField: [${Le.join(", ")}], recursiveDepth: ${be}`);return this._loggerService.error(Oe),this._sendEnoSubjectError(K,Oe),!0}return!1}readEnos(K,{branch:de=F.Ay.BRANCH_MASTER,recursiveDepth:Me=0,recursiveFields:me=[],useCache:be=null,ignoreErrors:Le=!1}={branch:F.Ay.BRANCH_MASTER,recursiveDepth:0,recursiveFields:[],useCache:null,ignoreErrors:!1}){if(0===K.length)return(0,g.of)([]);let Ae=!1;const Oe=[];let Xe=!0;const Pe=[];K.forEach(Ct=>{const Lt=this._enoCacheService.hasEno(Ct,de),Vt=this._enoCacheService.getEno(Ct,de);Ae=Ae||!this._enoWatchService.isWatched(Ct,de),Lt?(Pe.push(Vt),Oe.push(Vt.sid)):Xe=!1});const $e=de===F.Ay.BRANCH_MASTER?[de]:[de,F.Ay.BRANCH_MASTER],ze=this._opPullService.createOpPull({tip:K,branch:$e,watch:!0,recursiveDepth:Me,recursiveField:me}).tip,Be=this._opPullService.createOpPull({tip:K,branch:$e,watch:Ae,recursiveDepth:Me,recursiveField:me}),Ye=this._initBatchSubject(ze);return Xe&&!0===be||this._doOpPullForReadEnos(Be,Ye,Pe,K,de,Le),Xe?(0,a.x)((0,g.of)(Pe),Ye.observable).pipe((0,z.C)()):Ye.observable.pipe((0,z.C)())}_doOpPullForReadEnos(K,de,Me,me,be,Le=!1){this.awaitingPullTips.has(K.tip)||(this.awaitingPullTips.add(K.tip),this._ensrvService.send([K]).pipe((0,I.W)(Ae=>(this.awaitingPullTips.delete(K.tip),this._loggerService.error(Ae),this._sendBatchSubjectError(de,Ae),m.w))).subscribe(Ae=>{this.awaitingPullTips.delete(K.tip),(Le||!this._handleReadEnosError(de,Ae,me,be))&&(this._enoWatchService.markAsWatched(me,be),this._cacheBatchOnRequestedBranch(Ae,me,be),de.subject.next(this._mergeBatch(me,Me,Ae)))}))}_initBatchSubject(K){if(!this._batchSubjects[K]){const de=new T.B,Me=de.pipe();this._batchSubjects[K]={subject:de,observable:Me}}return this._batchSubjects[K]}_sendBatchSubjectError(K,de){Object.keys(this._batchSubjects).forEach(Me=>{this._batchSubjects[Me]===K&&(K.subject.error(de),delete this._batchSubjects[Me])})}_mergeBatch(K,de,Me){const me=Me.concat(de);return K.map(be=>{for(const Le of me)if(be===Le.tip)return Le})}_handleReadEnosError(K,de,Me,me){const be=this._checkAccessDenied(de,Me,me);if(be)return this._sendBatchSubjectError(K,new Y(be,[me])),!0;if(this._containsError(de)){const Le=new Error(`Error happens while reading object tips: [${Me.join(", ")}], branch: ${me}`);return this._loggerService.error(Le),this._sendBatchSubjectError(K,Le),!0}return!1}_cacheBatchOnRequestedBranch(K,de,Me){K.filter(me=>de.indexOf(me.tip)>-1).forEach(me=>{this._enoCacheService.setEno(me.tip,me,Me)})}_checkAccessDenied(K,de,Me){Array.isArray(de)||(de=[de]);let me=null;return K.forEach(be=>{"error"===be.getType()&&"error/message/security/access-denied"===be.getFieldStringValue("error/message/tip")&&de.indexOf(be.getFieldStringValue("error/object/tip"))>-1&&Me===be.getFieldStringValue("error/object/branch")&&(me=be.getFieldStringValue("error/object/tip"))}),me}_containsError(K){for(const de of K)if("error"===de.getType())return!0;return!1}writeEno(K){return this.writeEnos([K])}writeEnos(K){let de=K;return de=de.concat(this._enoWatchService.getWatchOpPulls(K)),this._ensrvService.send(de).pipe((0,C.n)(Me=>{const me=[],be=[];let Le=!1;for(const Ae of Me)Ae.hasError()?me.push(Ae.tip):"error"===Ae.getType()&&(be.push(Ae.tip),"error/message/security/access-denied"===Ae.getFieldStringValue("error/message/tip")&&(Le=!0));if(0===me.length)for(const Ae of K)this._enoCacheService.setEno(Ae.tip,Ae);return be.length?(0,O.$)(`[EnoService] Failed to write Eno(s) ${Le?"- Access denied":""}. Error object detected: [${be.join(", ")}].`):me.length?(0,O.$)(`[EnoService] Failed to write Eno(s) "${me.join(", ")}".`):(0,g.of)(Me)}))}mergeBranch(K,de=F.Ay.BRANCH_MASTER,Me=[]){const be=new U.f("op/merge",F.Ay.SECURITY.OP).setFields([{tip:"op/merge/branch",value:[K]},{tip:"op/merge/to",value:[de]},{tip:"op/merge/expect",value:Me}]).makeEno(),Le=this._ensrvService.getEnoReceiver("response/merge").pipe((0,w.$)(Ae=>Ae.getFieldStringValue("response/merge/op-tip")===be.tip),(0,C.n)(Ae=>{const Oe=Ae.getFieldValues("response/merge/error");return Oe.length>0?(0,O.$)(`Merge failed with errors. ${Oe.toString()}`):(0,g.of)(!0)}));return this._ensrvService.send([be]).subscribe(()=>{},Ae=>{this._loggerService.error("Failed to send op/merge",Ae)}),Le}markEnosAsDeleted$(K){return this.readEnos(K).pipe((0,w.$)(),(0,E.M)(()=>K.forEach(de=>this._enoWatchService.markAsWatched(de))),(0,M.T)(de=>de.map(Me=>this._enoFactory.setProtoToPatch(Me).setDeleted(!0).makeEno())))}deleteEno(K){return this.readEno(K).pipe((0,w.$)(),(0,C.n)(de=>(this._enoWatchService.markAsWatched(K),this.writeEno(this._enoFactory.setProtoToPatch(de).setDeleted(!0).makeEno()))))}deleteEnos(K){return this.markEnosAsDeleted$(K).pipe((0,w.$)(),(0,C.n)(de=>this.writeEnos(de)))}getTypeTip(K){return this.getTypeTips([K]).pipe((0,M.T)(de=>de[0]))}getTypeTips(K,{ignoreErrors:de=!1}={ignoreErrors:!1}){return this.readEnos(K,{ignoreErrors:de}).pipe((0,M.T)(Me=>Me.map(me=>me&&me.getType())),(0,w.$)())}static#e=this.\u0275fac=function(de){return new(de||te)(j.KVO($.w),j.KVO(H.u),j.KVO(ne),j.KVO(ie.q),j.KVO(B.R),j.KVO(Q.g),j.KVO(le.D))};static#t=this.\u0275prov=j.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}return te})()},63137:(at,N,s)=>{"use strict";s.d(N,{w:()=>Me});var n=s(67376),a=s(21413),g=s(18810),m=s(43236),T=s(28211),O=s(39974),D=s(58750),E=s(81853),y=s(54360),I=s(45225);const b=(0,E.L)(me=>function(Le=null){me(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=Le});function o(me){throw new b(me)}var C=s(99437),w=s(88141),M=s(96354),q=s(5964),z=s(40838),F=s(50835),U=s(93953);class k{static getServiceUrl(be){return(0,U.naY)()?be:`${F.c.host}${be}`}}var Y=s(40673),x=s(74127),B=s(97586),j=s.n(B),$=s(59030),H=s(1807),ie=s(12498),le=s(8142),pe=s(7134),te=s(21626),ae=s(32099),K=s(15387);let Me=(()=>{class me{constructor(Le,Ae,Oe,Xe,Pe){this._authHttpClientService=Le,this._enoCacheService=Ae,this._http=Oe,this._loggerService=Xe,this._sessionManager=Pe,this._maxRequestRetryCount=2,this._queryServiceUrl=k.getServiceUrl(F.c.queryServicePath),this._thinOperations=["op/pull","op/formula","op/query"],this._baseFatUriHttp=F.c.host+F.c.enSrvFatPath,this._baseThinUriHttp=F.c.host+F.c.enSrvThinPath,this._enoBroadcaster=null,this._sessionInfo=null,this._enoBroadcaster=new a.B,this.lastPersistKeys=new Map,this._sessionManager.getSessionInfo$().subscribe($e=>{this._sessionInfo=$e})}send(Le,Ae={}){const Oe={"Content-type":"application/json",Accept:"application/json","Conn-Isolation":"true"},Xe=this._sessionInfo;Xe.token&&(Oe[Y.Ay.HTTP_HEADER.SESSION_TOKEN_HEADER]=Xe.token),Xe.id&&(Oe[Y.Ay.HTTP_HEADER.SESSION_ID_HEADER]=Xe.id),Ae.bulk&&(Oe[Y.Ay.HTTP_HEADER.ENCLOUD_BULK]="true");const Pe=parseInt(1e5*Math.random()+"",10),$e=Le.map(gt=>gt.source.type);z.m.api.outboundBatchMonitor&&this._loggerService.debug(`[Out (XHR) - ${Pe}] (${$e.join(", ")})`,Le);for(let gt of Le)if("op/process"===gt.source.type&&"eim/process/shell/me"!==gt.getFieldStringValue("op/process/process")||!gt.source.type.startsWith("op/")&&"var"!==gt.source.type){this.touchLastPersist();break}const ze="op/query"===(0,n.head)(Le)?.source.type,Be=window.localStorage.getItem(Y.Ay.LOCAL_STORAGE.QUERY_SERVICE_MODE),Ye=window.localStorage.getItem(Y.Ay.LOCAL_STORAGE.QUERY_SERVICE_AGGREGATION),Ct=window.localStorage.getItem(Y.Ay.LOCAL_STORAGE.QUERY_SERVICE_COMMON_FIELDS),Lt={observe:"response"},Vt={};return(0,n.isEmpty)(Be)||(Vt.mode=Be),(0,n.isEmpty)(Ye)||(Vt.aggregation=Ye),(0,n.isEmpty)(Ye)||(Vt.commonfields=Ct),Lt.params=Vt,(ze?this._authHttpClientService.postWithOptions(`${this._queryServiceUrl}/ensrv`,Le,Lt):this._http.post(this._getUri(Le),Le.map(gt=>gt.toJson()),{headers:Oe,params:{ns:F.c.ns},observe:"response"})).pipe(function L(me,be){const{first:Le,each:Ae,with:Oe=o,scheduler:Xe=be??m.E,meta:Pe=null}=(0,T.v)(me)?{first:me}:"number"==typeof me?{each:me}:me;if(null==Le&&null==Ae)throw new TypeError("No timeout provided.");return(0,O.N)(($e,ze)=>{let Be,Ye,Ct=null,Lt=0;const Vt=ht=>{Ye=(0,I.N)(ze,Xe,()=>{try{Be.unsubscribe(),(0,D.Tg)(Oe({meta:Pe,lastValue:Ct,seen:Lt})).subscribe(ze)}catch(gt){ze.error(gt)}},ht)};Be=$e.subscribe((0,y._)(ze,ht=>{Ye?.unsubscribe(),Lt++,ze.next(Ct=ht),Ae>0&&Vt(Ae)},void 0,void 0,()=>{Ye?.closed||Ye?.unsubscribe(),Ct=null})),!Lt&&Vt(null!=Le?"number"==typeof Le?Le:+Le-Xe.now():Ae)})}((0,n.get)(Ae,"timeoutMs",3e4)),me=>(0,$.v)(()=>{const be=Date.now();return me.pipe((0,ie.L)({count:10,delay:(Le,Ae)=>{const Oe=Date.now()-be;if(Ae<2||Ae<10&&Oe<3e4){const Xe=Math.max(0,100*Math.pow(2,Ae-1)-Oe);return(0,H.O)(Xe)}return(0,g.$)(()=>Le)}}))}),(0,C.W)(gt=>{const Ge="Unexpected error returned from EnSrv:\n\n"+JSON.stringify(gt);return this._loggerService.warn(Ge),(0,g.$)(()=>gt)}),(0,w.M)(gt=>this.updateSessionInfo(gt)),(0,M.T)(gt=>this._createEnosFromResponse(gt)),(0,w.M)(gt=>{const Ge=gt.map(Se=>Se.source?Se.source.type:"Ack");z.m.api.inboundBatchMonitor&&this._loggerService.debug(`[In (XHR) - ${Pe}] (${Ge.join(", ")})`,gt),gt.forEach(Se=>{this._enoCacheService.setEno(Se.tip,Se)}),gt.forEach(Se=>{this._enoBroadcaster.next(Se)})}))}getLastPersist(Le){return Le&&this.lastPersistKeys.has(Le)?this.lastPersistKeys.get(Le):window.localStorage.getItem(Y.Ay.LOCAL_STORAGE.LAST_PERSIST)||null}touchLastPersist(Le){Le?this.lastPersistKeys.set(Le,j()().toISOString()):(window.localStorage.setItem(Y.Ay.LOCAL_STORAGE.LAST_PERSIST,j()().toISOString()),this.lastPersistKeys.clear())}getEnoReceiver(Le){return Le?this._enoBroadcaster.pipe((0,q.p)(Ae=>Ae.source&&Ae.source.type===Le)):this._enoBroadcaster.asObservable()}updateSessionInfo(Le){const Ae=Le.headers.get(Y.Ay.HTTP_HEADER.SESSION_TOKEN_HEADER);Ae&&this._sessionManager.updateSessionInfo(Ae)}_createEnosFromResponse(Le){return Le.body?Le.body.map(Ae=>new x.h(Ae)):[]}_firstItemIsThinOperation(Le){const Ae=(0,n.get)(Le,[0,"source","type"],null);return this._thinOperations.indexOf(Ae)>-1}_getUri(Le){return this._isSingleEno(Le)&&this._firstItemIsThinOperation(Le)?this._baseThinUriHttp+"/"+Le[0].source.type:this._baseFatUriHttp}_isSingleEno(Le){return 1===Le.length}static#e=this.\u0275fac=function(Ae){return new(Ae||me)(U.KVO(le.V),U.KVO(pe.u),U.KVO(te.Qq),U.KVO(ae.g),U.KVO(K.Pb))};static#t=this.\u0275prov=U.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})()},58164:(at,N,s)=>{"use strict";s.d(N,{A:()=>n});class n extends Error{constructor(g){super(g),Object.setPrototypeOf(this,new.target.prototype)}}},36939:(at,N,s)=>{"use strict";s.d(N,{g:()=>n});class n extends Error{constructor(g){super(g),Object.setPrototypeOf(this,new.target.prototype)}}},92335:(at,N,s)=>{"use strict";s.d(N,{i:()=>n});class n extends Error{constructor(g){super(g),Object.setPrototypeOf(this,new.target.prototype)}}},85923:(at,N,s)=>{"use strict";s.d(N,{A:()=>n});class n extends Error{constructor(g,m){super(g),this.message=g,this.requiredKeys=m,Object.setPrototypeOf(this,new.target.prototype)}}},72260:(at,N,s)=>{"use strict";s.d(N,{d:()=>U});var n=s(67376),g=s(84412),m=s(18810),T=s(7673),O=s(61594),D=s(25558),E=s(12498),y=s(50835),I=s(19006),b=s(5002),L=s(93953),o=s(8142),C=s(68775),w=s(10506),M=s(32099),q=s(21626);const z=`${y.c.host}${y.c.externalPath}`,F=`noggin_apps_offline_forms_bundle_${y.c.ns}`;let U=(()=>{class k{constructor(x,B,j,$,H,ie){this.authHttpClient=x,this.mobileAppMessageBusService=B,this.featureFlagStateService=j,this.loggerService=$,this.httpClient=H,this.localStorage=ie,this.offlineBundleAvailable$=new g.t(!1),this.activeOfflineForms$=new g.t(void 0)}ngOnDestroy(){this.subscription.unsubscribe()}loadOfflineFormsBundle(){this.featureFlagStateService.isFeatureEnabledSkipInitialSet$(b.g.FEATURE_EIM_27885_NEW_BUNDLE_API_OFFLINE_FORM).pipe((0,O.$)()).subscribe(x=>{x?this.fetchBundleAPIV2():this.fetchBundleAPIV1()})}pushBundleToMobile(x){this.activeOfflineForms$.next(x.settings?.formsToDisplay),this.offlineBundleAvailable$.next(!0),this.mobileAppMessageBusService.pushDataToMobileApp({input:x,identifier:F})}isBundleExpired(x,B){const j=new Date(x.lastModifiedDate);return(new Date).getTime()-j.getTime()>B}fetchBundleAPIV2(){this.subscription=this.authHttpClient.get(`${z}/v2/formBundle`).pipe((0,D.n)(H=>{const{presignedBundleUrl:ie}=H;return ie?this.httpClient.get(ie):(this.offlineBundleAvailable$.next(!1),(0,m.$)(()=>new Error("No pre-signed link is returned")))}),(0,D.n)(H=>!H||(0,n.isEmpty)(H)?(this.offlineBundleAvailable$.next(!1),(0,m.$)(()=>new Error("Empty bundle received"))):this.isBundleExpired(H,36e5)?(this.pushBundleToMobile(H),(0,m.$)(()=>new Error("Bundle is expired"))):(0,T.of)(H)),(0,E.L)({count:2,delay:6e5})).subscribe({next:H=>this.pushBundleToMobile(H),error:H=>{this.offlineBundleAvailable$.next(!1),this.loggerService.error("Failed to fetch the bundle after retries:",H)}})}fetchBundleAPIV1(){this.subscription=this.authHttpClient.get(`${z}/formBundle`,{responseType:"json"}).pipe((0,O.$)()).subscribe(B=>{B?this.pushBundleToMobile(B):this.offlineBundleAvailable$.next(!1)})}static#e=this.\u0275fac=function(B){return new(B||k)(L.KVO(o.V),L.KVO(C.o),L.KVO(w.F),L.KVO(M.g),L.KVO(q.Qq),L.KVO(I.Wd))};static#t=this.\u0275prov=L.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},82785:(at,N,s)=>{"use strict";s.d(N,{Y:()=>Y,l:()=>k});var n=s(67376),a=s(84412),g=s(84572),m=s(7673),T=s(25558),O=s(96354),D=s(5964),E=s(23294),y=s(99437),I=s(61594),b=s(88141),L=s(48636);const o={"app/functional-access-control-settings:global-search-profile-restriction-tips":{type:L.U.stringArray},"app/functional-access-control-settings:custom-security-policy-restriction-tips":{type:L.U.stringArray}},C="app/functional-access-control-settings/default";var w=s(5002),M=s(93953),q=s(14784),z=s(44667),F=s(87335),U=s(10506),k=function(x){return x[x.GlobalSearch=0]="GlobalSearch",x[x.CustomSecurityPolicies=1]="CustomSecurityPolicies",x}(k||{});let Y=(()=>{class x{constructor(j,$,H,ie){this.meService=j,this.objectService=$,this.profileService=H,this.featureFlagStateService=ie,this.isInitialised=!1,this.facSubject=new a.t([{type:k.GlobalSearch,label:"Global search",allowedProfiles:[],allAllowed:!1,isInitialized:!1},{type:k.CustomSecurityPolicies,label:"Custom security policies",allowedProfiles:[],allAllowed:!1,isInitialized:!1}])}get features$(){return this.facSubject.asObservable()}get enabledFeatures$(){return this.facSubject.pipe((0,T.n)(j=>(0,g.z)(j.map($=>this.isFeatureEnabled$($.type).pipe((0,O.T)(H=>({...$,isEnabled:H})))))),(0,O.T)(j=>j.filter($=>$.isEnabled)))}reload(){return this.load()}canAccess$(j){return this.isFeatureEnabled$(j).pipe((0,T.n)($=>{if(!$)return(0,m.of)(!1);this.isInitialised||this.initialise();const H=this.meService.me$.pipe((0,D.p)(Boolean),(0,O.T)(ne=>ne.profiles),(0,E.F)(n.isEqual)),ie=this.features$.pipe((0,O.T)(ne=>ne.find(Q=>Q.type===j)),(0,D.p)(ne=>ne.isInitialized),(0,E.F)(n.isEqual));return(0,g.z)([H,ie,this.meService.isAdmin$()]).pipe((0,O.T)(([ne,Q,le])=>le||Q.allAllowed||(0,n.intersection)(ne,Q.allowedProfiles.map(pe=>pe.$tip)).length>0),(0,E.F)(),(0,y.W)(()=>(0,m.of)(!1)))}))}isFeatureEnabled$(j){switch(j){case k.GlobalSearch:return this.featureFlagStateService.isFeatureEnabledSkipInitialSet$(w.g.FEATURE_GLOBAL_SEARCH);case k.CustomSecurityPolicies:return this.featureFlagStateService.isFeatureEnabledSkipInitialSet$(w.g.FEATURE_EIM_9155_RESTRICT_ABILITY_TO_GOVERN_SECURITY_POLICIES_USING_FAC);default:throw new Error("Unknown feature type")}}save(j){return this.objectService.getObject(C,o).pipe((0,I.$)(),(0,T.n)($=>{switch(j.type){case k.GlobalSearch:$.globalSearchProfileRestrictionTips=j.allowedProfiles.map(H=>H.$tip);break;case k.CustomSecurityPolicies:$.customSecurityPolicyRestrictionTips=j.allowedProfiles.map(H=>H.$tip);break;default:throw new Error("Unknown feature access type")}return this.objectService.setObject($,o)}),(0,O.T)(()=>{}))}load(){return(0,g.z)([this.objectService.getObject(C,o),this.profileService.getProfiles().pipe((0,O.T)(j=>(0,n.keyBy)(j,"$tip")))]).pipe((0,I.$)(),(0,b.M)(([j,$])=>this.processSettings(j,$)),(0,O.T)(()=>{}))}processSettings(j,$){const H=this.filterProfilesByTips(j?.globalSearchProfileRestrictionTips,$),ie=this.filterProfilesByTips(j?.customSecurityPolicyRestrictionTips,$);this.facSubject.next([this.createFeature(k.GlobalSearch,"Global search",H),this.createFeature(k.CustomSecurityPolicies,"Custom security policies",ie)])}filterProfilesByTips(j,$){return j?.reduce((H,ie)=>{const ne=$[ie];return ne&&H.push(ne),H},[])||[]}createFeature(j,$,H){return{type:j,label:$,isInitialized:!0,allAllowed:0===H.length,allowedProfiles:H}}initialise(){this.isInitialised=!0,this.load().subscribe()}static#e=this.\u0275fac=function($){return new($||x)(M.KVO(q.Q),M.KVO(z.T),M.KVO(F.Q),M.KVO(U.F))};static#t=this.\u0275prov=M.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},9615:(at,N,s)=>{"use strict";s.d(N,{D:()=>j,z:()=>$});var n=s(7673),a=s(18810),g=s(84572),m=s(96354),T=s(25558),O=s(99437),D=s(96508),E=s.n(D),y=s(67376),b=s(79551),L=s(48299),o=s(76194),C=s(52596),w=s(47735),M=s(25793),q=s(93953),z=s(76087),F=s(25687),U=s(44667),k=s(71631),Y=s(85790),x=s(24881),B=s(54071);let j=(()=>{class H{constructor(ne,Q,le,pe,te,ae,K){this.formulaService=ne,this.formulaMultiService=Q,this.objectService=le,this.objectTypeService=pe,this.dataTypeFormatter=te,this.getFormulaDatatypeService=ae,this.numberFormatService=K,this.maxRecursionDepth=50,this.getListItemAncestors=(de,Me)=>{const me=[];if(!Me||!Me.value||""===Me.value.trim())return me;if(!Me.parentValue)return[{icon:Me.icon,color:Me.color,value:Me.value,label:(0,M.YN)(Me.label),parentValue:Me.parentValue}];let be=Me.value;for(;be;)de.find(Le=>{Le.value===be&&(me.push({icon:Le.icon,color:Le.color,value:Le.value,label:Le.label,parentValue:Le.parentValue}),be=Le.parentValue)});return me.forEach((Le,Ae)=>{me[Ae].label=(0,M.YN)(Le.label)}),me}}getDisplayFieldInfo({value:ne,type:Q,fieldFormula:le,fieldTip:pe,contextTip:te}){let ae;pe&&!le&&(le=this.formulaService.stringify({name:"FIELD",args:[pe]}));const K=this.formulaMultiService.evaluate([{formula:le,context:te,watch:!0}]).pipe((0,m.T)(Me=>Me.length?Me.join(","):""));return ae=(!ne&&0!==ne&&te?K:(0,n.of)(0===ne?0:ne||"")).pipe((0,T.n)(Me=>le?this.getFieldMeta(le,pe).pipe((0,T.n)(me=>this.getDisplayValueFromFieldMeta(Me,me,le))):this.getDisplayInfoByType(Me,Q?{datatype:Q}:{datatype:this.getFieldTypeFromValue(Me)}))),ae}getFieldTypeFromValue(ne){return"number"==typeof ne?o.HT.number:ne instanceof Date||ne instanceof E()?o.HT.datetime:o.HT.string}getDisplayValueFromFieldMeta(ne,Q,le){if(!Q)return(0,n.of)({displayValue:[""]});if(le&&le.includes("COMMON_FIELD_FORMULA")){le.startsWith("CONTEXT")&&(le=(0,w.em)(le).outerFormula);const pe=this.formulaService.parse(le),te=this.getFormulaDatatypeService.getFormulaDataTypeForCommonField(pe);if(Q.datatype!==te.datatype)return(0,n.of)({displayValue:[""]})}return Q.listTip?this.getDisplayInfoFromList(ne,Q):Q.datatype===o.HT.json?this.getDisplayInfoFromJson(ne,Q):this.getDisplayInfoByType(ne,Q)}getDisplayInfoFromJson(ne,Q){const pe=(Array.isArray(ne)?ne:[ne]).map(te=>te.label||te.title).filter(Boolean);return this.getDisplayInfoByType(pe,Q)}getDisplayInfoFromList(ne,Q){const pe=(0,b.yu)(ne).map(ae=>Q.listItems.find(K=>K.value===ae)||{label:"",value:""}),te={displayValue:pe.map(ae=>(0,M.YN)(ae.label)),datatype:Q.datatype,displayType:$.LIST_ITEM,icon:pe.find(ae=>!!ae.icon)?pe.map(ae=>ae.icon||""):[],color:pe.find(ae=>!!ae.color)?pe.map(ae=>ae.color||""):[],isMulti:!!Q.isMulti,dataWithAncestors:pe.map(ae=>this.getListItemAncestors(Q.listItems,ae))};return(0,n.of)(te)}getDisplayInfoByType(ne,Q){let le;switch(Q.datatype){case o.HT.datetime:le=this.dateTimeFormatter(ne);break;case o.HT.date:le=this.dateFormatter(ne);break;case o.HT.object:le=this.objectFormatter(ne);break;case o.HT.html:le=this.htmlFormatter(ne);break;case o.HT.geography:le=this.geoFormatter(ne);break;default:le=this.textFormatter(ne)}return le.pipe((0,m.T)(pe=>(pe.$tip=pe.$tip||Q.$tip,pe.value=ne,pe.datatype=pe.datatype||Q.datatype,pe.typerestrict=pe.typerestrict||Q.typerestrict,pe.displayType=pe.displayType||$.FIELD,pe.numberFormat=pe.numberFormat||Q.numberFormat,pe)),(0,O.W)(pe=>{const te=new Error(`\n        Error getting display by type, params:\n          ---\n          ${JSON.stringify({value:ne,fieldMeta:Q})}\n          ---\n          \n          original error ${JSON.stringify(pe)}\n        `);return(0,a.$)(te)}))}getFieldMeta(ne,Q){return this.getFormulaDatatypeService.getFormulaDataType(ne).pipe((0,T.n)(({datatype:le,typerestrict:pe,listTip:te,isMulti:ae,numberFormatTip:K})=>{const de={$tip:Q,datatype:le,typerestrict:pe,listTip:te,isMulti:ae};return le===o.HT.number?this.addNumberFormat(de,K):(0,n.of)(de)}),(0,T.n)(le=>this.addListItemsToFieldMeta(le)))}addListItemsToFieldMeta(ne){return ne&&ne.listTip?this.getListItems(ne.listTip).pipe((0,m.T)(Q=>(ne.listItems=(0,L.h)(Q,0,this.maxRecursionDepth),ne))):(0,n.of)(ne)}getListItems(ne){return ne?this.objectService.getObject(ne,C.c).pipe((0,m.T)(Q=>Q.items)):(0,n.of)([])}addNumberFormat(ne,Q){return this.numberFormatService.getNumberFormatMap().pipe((0,m.T)(le=>{const pe=le.get(Q);return pe&&(ne.numberFormat=pe),ne}))}objectFormatter(ne){if(ne&&ne.length){const Q=Array.isArray(ne)?ne:ne.split(","),le=pe=>{const te={displayValue:(0,y.flatten)(pe.map(ae=>ae.titles)),displayType:$.OBJECT,tips:Q};return pe.find(ae=>null!==ae.objectType)&&(te.objectType=pe.map(ae=>ae.objectType)),te};return(0,g.z)(Q.map(pe=>this.formulaService.evaluate("TITLE()",pe).pipe((0,T.n)(te=>this.objectTypeService.getObjectTypeTipByObjectTip(pe).pipe((0,T.n)(ae=>ae&&ae.length?this.objectTypeService.getObjectType(ae[0]):(0,n.of)(null)),(0,m.T)(ae=>({objectType:ae,titles:te}))))))).pipe((0,m.T)(le))}return(0,n.of)({displayValue:[""],displayType:$.OBJECT})}dateTimeFormatter(ne){return(0,n.of)({displayValue:this.dataTypeFormatter.dateTimeFormatter(ne)})}dateFormatter(ne){return(0,n.of)({displayValue:this.dataTypeFormatter.dateFormatter(ne)})}htmlFormatter(ne){return(0,n.of)({displayValue:this.dataTypeFormatter.htmlFormatter(ne)})}textFormatter(ne){return(0,n.of)({displayValue:this.dataTypeFormatter.textFormatter(ne)})}geoFormatter(ne){let Q;const le=Array.isArray(ne)&&ne.length?JSON.parse(ne[0]):ne;switch((0,y.toLower)(le.type)){case o.iS.POINT:Q=this.dataTypeFormatter.geoPointFormatter(le);break;case o.iS.POLYGON:Q=this.dataTypeFormatter.geoPolygonFormatter();break;case o.iS.LINE:Q=this.dataTypeFormatter.geoLineFormatter()}return(0,n.of)({displayValue:Q})}static#e=this.\u0275fac=function(Q){return new(Q||H)(q.KVO(z.C),q.KVO(F.$),q.KVO(U.T),q.KVO(k.h),q.KVO(Y.b),q.KVO(x.Kh),q.KVO(B.w))};static#t=this.\u0275prov=q.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();var $=function(H){return H.LIST_ITEM="listitem",H.FIELD="field",H.OBJECT="object",H.SYMBOLOGY="symbology",H}($||{})},25687:(at,N,s)=>{"use strict";s.d(N,{$:()=>$});var n=s(67376),g=s(7673),m=s(18810),T=s(983),O=s(57786),D=s(71203),E=s(99172),y=s(99437),I=s(5964),b=s(70980),L=s(25558),o=s(96354),C=s(23294),w=s(40673),M=s(92597),q=s(790),z=s(17338),F=s(78329),U=s(19439),k=s(72564),Y=s(93953),x=s(63137),B=s(7134),j=s(32099);let $=(()=>{class te{constructor(K,de,Me,me,be){this.ensrvService=K,this.enoCache=de,this.pubSubService=Me,this.currentDatetimeService=me,this.loggerService=be,this.requestEnoResponseEnoMap=new Map,this.enableWatchLogging=!1,this.watchedFormulas={}}getWatchedFormulas(){return(0,n.cloneDeep)(this.watchedFormulas)}toggleWatchLogging(){this.enableWatchLogging=!this.enableWatchLogging,console.log("Formula watch logging is now "+(this.enableWatchLogging?"enabled":"disabled"))}stringify(K){return(0,M.Ac)(K)}evaluate(K,de=q.q.USE_CACHE_THEN_NETWORK,Me=!1){if((0,n.isEmpty)(K))return(0,g.of)([]);if(1===K.length&&"TIP()"===K[0].formula&&K[0].context)return(0,g.of)([[K[0].context]]);try{return(0,g.of)(K.map(Ye=>(0,M.a)(Ye.formula,Ye.vars)))}catch{}this.addNowVariable(K);const me=this.makeFormulaOperationEno(K),be=K.map(Ye=>Ye.formula),Le=this.requestEnoResponseEnoMap.get(me.tip)||"",Ae=this.enoCache.getEno(Le),Oe=this.ensrvService.getEnoReceiver("response/formula").pipe(ie(me,this.requestEnoResponseEnoMap,this.enoCache,Me)),Xe=this.ensrvService.getEnoReceiver("response/formula").pipe((0,E.Z)(Ae),ie(me,this.requestEnoResponseEnoMap,this.enoCache,Me)),Pe=()=>this.ensrvService.send([me]).pipe((0,y.W)(Ye=>{const Ct=new Error(`\n            Error sending multi formula\n            ------\n            For request eno: ${JSON.stringify(me,null,4)}\n            ------\n            Original error: ${Ye}\n           `);return(0,m.$)(Ct)}),(0,I.p)(()=>!1)),$e=K.filter(Ye=>Ye.watch).length,ze=$e?this.pubSubService.receiveSessionMessage(k.B.formulaWatch).pipe((0,I.p)(Ye=>Ye.op===me.tip),(0,b.j)(()=>{if(this.watchedFormulas[me.tip]){const Ye=K.map(Vt=>Vt.context).filter((0,n.negate)(n.isNil)),Lt=new U.f("op/watch/unregister",w.Ay.SECURITY.OP).setFields([{tip:"op/watch/unregister:op-id",value:[me.tip]}]).setFields([{tip:"op/watch/unregister:op-type",value:["op/formula"]}]).setFields([{tip:"op/watch/unregister:context",value:Ye}]).makeEno();this.ensrvService.send([Lt]).subscribe(),delete this.watchedFormulas[me.tip],this.requestEnoResponseEnoMap.delete(me.tip),this.enableWatchLogging&&console.log(`Currently watching ${Object.keys(this.watchedFormulas).length} formulas. Just %cremoved%c ${me.tip}.`,"color: red","color: unset",be)}}),(0,L.n)(Pe)):T.w;let Be;if(de===q.q.USE_CACHE&&Ae)Be=(0,O.h)(Xe,ze);else{const Ye=Pe();Be=(0,O.h)(Ye,de===q.q.USE_CACHE_THEN_NETWORK&&Ae?Xe:Oe,ze)}return Be.pipe((0,o.T)((Ye,Ct)=>(0===Ct&&$e&&(this.watchedFormulas[me.tip]=be,this.enableWatchLogging&&console.log(`Currently watching ${Object.keys(this.watchedFormulas).length} formulas. Just %cadded%c ${me.tip}.`,"color: green","color: unset",be)),Ye)))}makeFormulaOperationEno(K){return ne.setBranch(w.Ay.BRANCH_MASTER).setField("op/formula:multi-formula",[JSON.stringify(Q(K))]).setField("op/formula:lang",w.Ay.ACCEPTABLE_LOCALE_IDS).makeEno()}addNowVariable(K){K.forEach(de=>{de.vars||(de.vars={});try{pe((0,M.iX)(de.formula))&&(de.vars[z.t]=[this.currentDatetimeService.getCurrentDatetime()])}catch(Me){this.loggerService.warn("Possible evaluation of a non formula",Me)}})}static#e=this.\u0275fac=function(de){return new(de||te)(Y.KVO(x.w),Y.KVO(B.u),Y.KVO(k.R),Y.KVO(z.Y),Y.KVO(j.g))};static#t=this.\u0275prov=Y.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}return te})();function ie(te,ae,K,de){return(0,D.F)((0,o.T)(n.cloneDeep),(0,I.p)(function H(te){return function(K){const de=K.getFieldStringValue("response/formula:op");return te===de}}(te.tip)),(0,C.F)(le),(0,o.T)(Me=>{ae.set(te.tip,Me.tip);const[me]=Me.getFieldValues("response/formula:multi-result"),[be]=Me.getFieldValues("response/formula:multi-errors");if(be){const Ae=(JSON.parse(be)||[]).reduce((Oe,Xe)=>(Xe&&Oe.push(K.getEno(Xe)),Oe),[]);if(Ae.length&&!de)throw new Error(`Error fetching formulas ${JSON.stringify(Ae,null,4)}`)}return JSON.parse(me)}),(0,y.W)(Me=>{const me=new Error(`\n            Error with formula response\n\n            ------\n            For request eno: ${JSON.stringify(te,null,4)}\n\n            ------\n            Original error: ${Me}\n           `);return(0,m.$)(me)}))}const ne=new U.f("op/formula",w.Ay.SECURITY.OP);function Q(te){return te.map(ae=>({contextBranches:[w.Ay.BRANCH_MASTER],watch:!1,...ae}))}function le(te,ae){const[K]=te.getFieldValues("response/formula:multi-result"),[de]=te.getFieldValues("response/formula:multi-errors"),[Me]=ae.getFieldValues("response/formula:multi-result"),[me]=ae.getFieldValues("response/formula:multi-errors");return K===Me&&de===me}function pe(te){if(!(0,F.g)(te))return!1;if("VAR"===te.name&&1===te.args.length&&te.args[0]===z.t||"QUERY"===te.name)return!0;for(let ae of te.args)if(pe(ae))return!0;return!1}},76087:(at,N,s)=>{"use strict";s.d(N,{C:()=>F});var n=s(7673),a=s(84572),g=s(92771),m=s(96354),T=s(65245),O=s(23294),D=s(99437),E=s(67376),I=s(790),b=s(92597),L=s(40673),o=s(19439),C=s(17338),w=s(93953),M=s(63137),q=s(32099);let F=(()=>{class k{constructor(x,B,j){this.ensrvService=x,this.loggerService=B,this.currentDatetimeService=j,this.formulaOpEnoFactory=new o.f("op/formula",L.Ay.SECURITY.OP),this.formulaBroadcasters={},this.ensrvService.getEnoReceiver("response/formula").subscribe($=>this.handleResponse($))}parse(x){return(0,b.iX)(x)}stringify(x){return(0,b.Ac)(x)}quoteString(x){return(0,b.AQ)(x)}unquoteString(x){return x.replace(/^\"|\"$/g,"")}evaluate(x,B,j=[L.Ay.BRANCH_MASTER],$={},H=null){return"TIP()"===x&&B?(0,n.of)([B]):this.evaluateBatch([{formula:x,context:B,contextBranches:j,vars:$,cache:(0,I.t)(H)}]).pipe((0,m.T)(ie=>ie[0]))}evaluateBatch(x){try{return(0,n.of)(x.map(ie=>(0,b.a)(ie.formula,ie.vars)))}catch{}const B=this.createAndSegmentEnos(function U(k){return k.map(Y=>({contextBranches:[L.Ay.BRANCH_MASTER],vars:{},cache:I.q.USE_CACHE_THEN_NETWORK,...Y}))}(x)),{sendBatch:j,skipList:$}=this.createSubjectsBatchRequests(B);j.length>0&&this.send(j);const H=B.enoTips.map(ie=>{const ne=this.formulaBroadcasters[ie].observable;return $.has(ie)?ne.pipe((0,T.i)(1)):ne});return(0,a.z)(H).pipe((0,O.F)())}createAndSegmentEnos(x){return x.reduce((B,j)=>[{eno:this.createFormulaEno(j),params:j},...B],[]).reduceRight((B,j)=>{const{eno:$,params:H}=j;return B.enoTips.push($.tip),H.cache===I.q.USE_CACHE&&B.useCache.push(j),H.cache===I.q.USE_CACHE_THEN_NETWORK&&B.useCacheThenNetwork.push(j),H.cache===I.q.USE_NETWORK_NO_CACHE&&B.useNetworkNoCache.push(j),B},{enoTips:[],useCache:[],useCacheThenNetwork:[],useNetworkNoCache:[]})}createSubjectsBatchRequests(x){const{useCache:B,useNetworkNoCache:j,useCacheThenNetwork:$}=x,H=[],ie=new Map;return function ne(){B.forEach(pe=>{this.isCached(pe.eno.tip)||(this.addNewReplaySubjectToCache(pe),H.push(pe.eno))})}.call(this),function Q(){$.forEach(pe=>{const te=pe.eno.tip;this.isCached(te)||this.addNewReplaySubjectToCache(pe),this.inProgress(te)||H.push(pe.eno)})}.call(this),function le(){j.forEach(pe=>{const te=pe.eno.tip;if(this.isCached(te)){let ae=!1;this.formulaBroadcasters[te].observable.subscribe(de=>ae=!0).unsubscribe(),ae&&ie.set(te,!0)}else this.addNewReplaySubjectToCache(pe);this.inProgress(te)||H.push(pe.eno)})}.call(this),{sendBatch:H,skipList:ie}}send(x){return x.forEach(B=>{this.formulaBroadcasters[B.tip].inProgress=!0}),this.ensrvService.send(x).subscribe(()=>{},B=>{x.forEach(({tip:j})=>{this.formulaBroadcasters[j].subject.error(B)})})}isCached(x){return!!this.formulaBroadcasters[x]}inProgress(x){return(0,E.get)(this,["formulaBroadcasters",x,"inProgress"],!1)}createFormulaEno({formula:x,context:B,contextBranches:j,vars:$}){const H={};return H[C.t]=[this.currentDatetimeService.getCurrentDatetime()],this.formulaOpEnoFactory.setFields([{tip:"op/formula:formula",value:[x]},{tip:"op/formula:context",value:B?[B]:[]},{tip:"op/formula:context-branch",value:j},{tip:"op/formula:vars",value:[JSON.stringify({...$,...H})]},{tip:"op/formula:lang",value:L.Ay.ACCEPTABLE_LOCALE_IDS}]).makeEno()}handleResponse(x){const B=x.getFieldStringValue("response/formula:op"),j=this.formulaBroadcasters[B];j&&(j.inProgress=!1,j.subject.next(x.getFieldValues("response/formula:result")))}addNewReplaySubjectToCache({eno:x,params:B}){const j=new g.m(1,3e5),$=j.asObservable().pipe((0,D.W)(H=>{throw this.loggerService.error(`[FormulaService] Failed to evaluate formula "${B.formula}".`,H),this.clearFormulaObservable(x.tip),H}));this.formulaBroadcasters[x.tip]={subject:j,observable:$,inProgress:!1}}clearFormulaObservable(x){delete this.formulaBroadcasters[x]}static#e=this.\u0275fac=function(B){return new(B||k)(w.KVO(M.w),w.KVO(q.g),w.KVO(C.Y))};static#t=this.\u0275prov=w.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},39668:(at,N,s)=>{"use strict";s.d(N,{$:()=>L});var n=s(21413),a=s(71203),g=s(96354),m=s(5964),T=s(88141),O=s(39974),D=s(42326),E=s(26365),y=s(9326),I=s(22806);function L(o,C,w){const M=new Map,q=new n.B,z=q.asObservable();return(0,a.F)((0,g.T)(F=>({data:F,groupKey:C(F)})),(0,m.p)(({groupKey:F,data:U})=>{const k=M.has(F);if(k){const x={skipped:M.get(F).skipped+1,data:U};M.set(F,x)}return!k}),(0,T.M)(({data:F,groupKey:U})=>{M.set(U,{data:F,skipped:0}),setTimeout(()=>{const k=M.get(U);k.skipped>1&&w&&w.info(`Throttled (skipped) ${k.skipped-1} requests for ${U}`),k.skipped>0&&(q.next(k.data),w&&w.info("Throttled (delayed) requests with data",k.data)),M.delete(U)},o)}),(0,g.T)(({data:F})=>F),function b(...o){const C=(0,y.lI)(o),w=(0,y.R0)(o,1/0);return o=(0,D.K)(o),(0,O.N)((M,q)=>{(0,E.U)(w)((0,I.H)([M,...o],C)).subscribe(q)})}(z))}},70559:(at,N,s)=>{"use strict";s.d(N,{W4:()=>z,Wp:()=>M});var n=s(93953),a=s(84412),g=s(23294),m=s(96354),T=s(61594),O=s(67376),E=s(19006),y=s(40673),I=s(5002),b=s(2490),L=s(32099),o=s(18228),C=s(41989),w=s(10506);const M="noggin_apps_locale_id",q="noggin_apps_i18n_reloaded";let z=(()=>{class F{constructor(k,Y,x,B,j,$,H){this.localeId=k,this.localStorage=Y,this.cookieService=x,this.loggerService=B,this.locationService=j,this.localeService=$,this.featureFlagStateService=H,this.acceptableLocaleIdsSubject=new a.t([y.Ay.LANG_DEFAULT]),this.acceptableLocaleIds$=this.acceptableLocaleIdsSubject.pipe((0,g.F)(O.isEqual)),this.computedLocaleIdSubject=new a.t(y.Ay.LANG_DEFAULT),this.computedLocaleId$=this.computedLocaleIdSubject.pipe((0,g.F)(O.isEqual));const ie="zh-Hant"===k?k:k.toLowerCase();y.Ay.LOCALE_ID=ie,this.updateAcceptableLocaleIds([ie,y.Ay.LANG_DEFAULT])}getSystemLanguages$(){return this.featureFlagStateService.isFeatureEnabled$(I.g.FEATURE_EIM_24583_LANGUAGES_GERMAN_AND_PORTUGUESE).pipe((0,m.T)(k=>k?y.Ay.LOCALES:y.Ay.LOCALES.filter(Y=>"de"!==Y.value&&"pt-br"!==Y.value)))}checkLocale$(k){const Y=y.Ay.LOCALE_ID;this.cookieService.set(M,Y,{expires:60,path:"/"}),k&&(this.updateAcceptableLocaleIds([Y,k.localeId,y.Ay.LANG_DEFAULT]),"true"!==this.localStorage.getItem(q)?this.localeService.localeSubject.pipe((0,T.$)(),(0,m.T)(B=>{this.updateAcceptableLocaleIds([y.Ay.LOCALE_ID,k.localeId,B.localeId,y.Ay.LANG_DEFAULT]);const j=k.localeId||B.localeId||y.Ay.LANG_DEFAULT;this.computedLocaleIdSubject.next(j),Y!==j&&(this.cookieService.set(M,j,{expires:60,path:"/"}),this.refresh())})).subscribe():this.localStorage.removeItem(q))}refresh(){this.loggerService.info("[i18n service] redirecting."),this.localStorage.setItem(q,"true"),this.locationService.refresh()}updateAcceptableLocaleIds(k){const Y=(0,O.uniq)((0,O.compact)(k));y.Ay.ACCEPTABLE_LOCALE_IDS=Y,this.acceptableLocaleIdsSubject.next(Y)}static#e=this.\u0275fac=function(Y){return new(Y||F)(n.KVO(n.xe9),n.KVO(E.Wd),n.KVO(b.O),n.KVO(L.g),n.KVO(o.N),n.KVO(C.i),n.KVO(w.F))};static#t=this.\u0275prov=n.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},75902:(at,N,s)=>{"use strict";s.d(N,{u:()=>D});var n=s(61594),a=s(96354),g=s(36539),m=s(93953),T=s(99213),O=s(345);let D=(()=>{class E{constructor(I,b){this.iconRegistry=I,this.sanitizer=b}registerGlobalIcons(){const I=this._getSafeUrl(g.Rn);return this.iconRegistry.addSvgIconSet(I),this._pingSvgIconSetUrl(I)}registerSymbolIcons(){const I=this._getSafeUrl(g.UV);return this.iconRegistry.addSvgIconSetInNamespace(g.GX,I),this._pingSvgIconSetUrl(I)}registerFormAndObjectDesignerIcons(){const I=this._getSafeUrl(g.ql);return this.iconRegistry.addSvgIconSetInNamespace(g.E3,I),this._pingSvgIconSetUrl(I)}registerIntegrationsCenterIcons(){const I=this._getSafeUrl(g.fq);return this.iconRegistry.addSvgIconSetInNamespace(g.nJ,I),this._pingSvgIconSetUrl(I)}registerDashboardDesignerIcons(){const I=this._getSafeUrl(g.m4);return this.iconRegistry.addSvgIconSetInNamespace(g.YK,I),this._pingSvgIconSetUrl(I)}_getSafeUrl(I){return this.sanitizer.bypassSecurityTrustResourceUrl(I)}_pingSvgIconSetUrl(I){return this.iconRegistry.getSvgIconFromUrl(I).pipe((0,n.$)(),(0,a.T)(b=>!0))}static#e=this.\u0275fac=function(b){return new(b||E)(m.KVO(T.tp),m.KVO(O.up))};static#t=this.\u0275prov=m.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})()},36539:(at,N,s)=>{"use strict";s.d(N,{E3:()=>y,GX:()=>m,Rn:()=>a,Ry:()=>D,UV:()=>g,YK:()=>o,_O:()=>T,fq:()=>I,m4:()=>L,n8:()=>O,nJ:()=>b,ql:()=>E});const n="assets/img/icon-sets",a=`${n}/global-icon-set.svg`,g=`${n}/symbols.svg`,m="symbols",T="button-icons__",O="menu-icons__",D="color__",E=`${n}/form-and-object-designer-icon-set.svg`,y="form-designer",I=`${n}/integrations-center-icon-set.svg`,b="integrations-center",L=`${n}/dashboard-designer-icon-set.svg`,o="dashboard-designer"},41989:(at,N,s)=>{"use strict";s.d(N,{i:()=>L,v:()=>o});var n=s(72874),a=s(96354),g=s(99437),m=s(61594),T=s(67376),D=s(92771),E=s(7673),y=s(40673),I=s(93953),b=s(44667);let L=(()=>{class C{constructor(M){this.objectService=M,this.localeSubject=new D.m(1),this.objectService.getObject("app/locale",n.m).pipe((0,a.T)(q=>(0,T.defaults)(q,o)),(0,g.W)(q=>(0,E.of)(o)),(0,m.$)()).subscribe(q=>{this.localeSubject.next((0,T.defaults)(q,o))})}update(M){return this.objectService.setObject(M,n.m).pipe((0,m.$)(),(0,a.T)(q=>{if(q.length>0)return(0,T.head)(q).tip}))}static#e=this.\u0275fac=function(q){return new(q||C)(I.KVO(b.T))};static#t=this.\u0275prov=I.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})();const o={localeId:y.Ay.LANG_DEFAULT,timezone:"Australia/Sydney",dateformat:"DD MMM YYYY",datetimeformat:"DD MMM YYYY HH:mm",internationaldialingcode:61,fiscalYearEndDate:""}},78173:(at,N,s)=>{"use strict";s.d(N,{y:()=>E});var n=s(19439),g=(s(40673),s(67376));function E(y,I){const b=(0,g.cloneDeep)(y);return b.$tip&&delete b.$tip,b.$sid&&delete b.$sid,I&&(b.$security=I),b}new n.f},51525:(at,N,s)=>{"use strict";s.d(N,{u:()=>Q});var n=s(7673),a=s(12498),g=s(61594),m=s(96354),T=s(44668),O=s(25558),D=s(96697),E=s(88141),y=s(67376),b=s(50835),L=s(19006),o=s(90947),C=s(5002),w=s(25391),M=s(93953),q=s(21626),z=s(8142),F=s(15387),U=s(345),k=s(76087),Y=s(52168),x=s(50701),B=s(65348),j=s(87612),$=s(10506),H=s(68775);const ie=b.c.host+b.c.mediaServicePath;let Q=(()=>{class le{constructor(te,ae,K,de,Me,me,be,Le,Ae,Oe,Xe,Pe,$e,ze){this.http=te,this.authHttp=ae,this.sessionManager=K,this.domSanitizer=de,this.formulaService=Me,this.router=me,this.securityService=be,this.myProfileService=Le,this.deviceService=Ae,this.featureFlagStateService=Oe,this.mobileAppMessageBusService=Xe,this.operationalLimitService=Pe,this.saveAs=$e,this.window=ze,this.getBase64FromBlob$=o.j,this.previewUriCache={},this.fullSizeImageUriCache={},this.sessionManager.getSessionInfo$().pipe((0,a.L)(3)).subscribe(Be=>this.sessionInfo=Be),this.fileMaxUploadSize$=this.operationalLimitService.getValue$(w.m.FILE_MAX_UPLOAD_SIZE,50).pipe((0,g.$)(),(0,m.T)(Be=>1024*Be*1024),(0,T.t)(1))}createUploadInputWithSecurityPolicy(te,ae,K="primary",de){return this.getSecurityPolicy(te,ae,K,de).pipe((0,m.T)(Me=>this.createUploadInput(Me)))}getSecurityPolicy(te,ae,K="primary",de){if((0,y.isString)(de))return(0,n.of)(de);let Me=(0,n.of)(ae);return!te&&!ae&&(Me=this.myProfileService.getMyProfileOnce$().pipe((0,m.T)(me=>me.defaultPolicy))),Me.pipe((0,O.n)(me=>"primary"===K?(0,n.of)(me):this.securityService.getSecurityPolicyVariantTip$(K,te,me)))}createUploadInput(te,ae){return{type:ae?"uploadFile":"uploadAll",url:`${ie}/file?ns=${escape(b.c.ns)}&security=${encodeURIComponent(escape(te))}${ae?.size?"&size="+ae.size:""}`,method:"POST",headers:this.getAuthHeaders(),withCredentials:!0,...ae?{file:ae}:{}}}getAuthHeaders(){if(!this.sessionInfo)throw new Error("Attempting to authorize against the media service without a session token");return{Authorization:"Bearer "+this.sessionInfo.token}}fileInfo(te){return this.formulaService.evaluate('ARRAY(FIELD("file/name"),FIELD("file/mime"),FIELD("file/size"),FIELD("file/data"))',te).pipe((0,D.s)(1),(0,m.T)(K=>({name:K[0],mimeType:K[1],size:parseInt(K[2],10),data:K[3]})))}fileInfoWithS3FallbackForData(te){return this.formulaService.evaluate('ARRAY(FIELD("file/name"),FIELD("file/mime"),FIELD("file/size"),FIELD("file/data"))',te).pipe((0,D.s)(1),(0,O.n)(K=>{const[de,Me,me,be]=K;return be?(0,n.of)({name:de,mimeType:Me,size:parseInt(me,10),data:be}):this.getFileAsBase64(te,de).pipe((0,g.$)(),(0,m.T)(Le=>({name:de,mimeType:Me,size:parseInt(me,10),data:Le})))}))}getFileAsBase64(te,ae){return this.http.get(ie+"/file?tip="+encodeURIComponent(te)+"&ns="+encodeURIComponent(b.c.ns),{headers:this.getAuthHeaders(),responseType:"blob",withCredentials:!0}).pipe((0,g.$)(),(0,O.n)(K=>this.getBase64FromBlob$(K,!1)))}download(te,ae){this.deviceService.onNativeApp?this.getFileUrl(te,ae):this.downloadFile(te,ae)}download$(te,ae){return this.deviceService.onNativeApp?this.getFileUrl$(te,ae):this.downloadFile$(te,ae)}downloadFile(te,ae){this.http.get(ie+"/download?tip="+encodeURIComponent(te)+"&ns="+encodeURIComponent(b.c.ns),{headers:this.getAuthHeaders(),responseType:"blob",withCredentials:!0}).pipe((0,D.s)(1)).subscribe(K=>this.saveAs(K,ae))}downloadFile$(te,ae){return this.http.get(ie+"/download?tip="+encodeURIComponent(te)+"&ns="+encodeURIComponent(b.c.ns),{headers:this.getAuthHeaders(),responseType:"blob",withCredentials:!0}).pipe((0,D.s)(1),(0,E.M)(K=>this.saveAs(K,ae)))}getFileUrl(te,ae){return this.authHttp.post(ie+"/link",{tip:te}).pipe((0,D.s)(1)).subscribe(({uri:de})=>{if(this.featureFlagStateService.isFeatureEnabled(C.g.FEATURE_EIM_13978_DOWNLOADS_IN_MOBILE_APP))this.mobileAppMessageBusService.pushDataToMobileApp({input:{uri:de,fileName:ae},identifier:"DOWNLOAD_FILE_IN_MOBILE_APP"});else{const me=window.open(de,this.deviceService.onNativeApp?"_self":"_blank");me.opener&&(me.opener=null)}})}getFileUrl$(te,ae){return this.authHttp.post(ie+"/link",{tip:te}).pipe((0,D.s)(1),(0,E.M)(({uri:de})=>{if(this.featureFlagStateService.isFeatureEnabled(C.g.FEATURE_EIM_13978_DOWNLOADS_IN_MOBILE_APP))this.mobileAppMessageBusService.pushDataToMobileApp({input:{uri:de,fileName:ae},identifier:"DOWNLOAD_FILE_IN_MOBILE_APP"});else{const me=window.open(de,this.deviceService.onNativeApp?"_self":"_blank");me.opener&&(me.opener=null)}}))}preview(te,ae){this.router.navigate(["app","s",{outlets:{preview:["preview",te]}}],{replaceUrl:!0})}originalPreviewUri(te,ae,K){let de=ie+"/preview?tip="+encodeURIComponent(te)+"&ns="+encodeURIComponent(b.c.ns);return K&&K.length>0&&(de+="&fit="+K),ae&&ae>0?de+"&w="+ae:de}previewUri(te,ae=!1,K,de){return this.previewUriCache.hasOwnProperty(te)?(0,n.of)(this.getUri(this.previewUriCache[te],ae)):this.getImagebyTip(te,ae,!1,K,de)}getImageBlobByTip(te,ae=!1,K,de){return this.previewUriCache.hasOwnProperty(te)?(0,n.of)(this.previewUriCache[te]):this.getImagebyTip(te,ae,!1,K,de,!0)}previewUriForFullImage(te,ae=!1){return this.fullSizeImageUriCache.hasOwnProperty(te)?(0,n.of)(this.getUri(this.fullSizeImageUriCache[te],ae)):this.getImagebyTip(te,ae,!0,-1)}getImagebyTip(te,ae=!1,K,de,Me,me=!1){return this.http.get(this.originalPreviewUri(te,de,Me),{headers:this.getAuthHeaders(),responseType:"blob",withCredentials:!0}).pipe((0,g.$)(),(0,m.T)(be=>(!0===K?this.fullSizeImageUriCache[te]=be:this.previewUriCache[te]=be,!0===me?be:this.getUri(be,ae))))}getUri(te,ae){return ae?this.domSanitizer.bypassSecurityTrustStyle(`url('${this.window.URL.createObjectURL(te)}')`):this.domSanitizer.bypassSecurityTrustUrl(this.window.URL.createObjectURL(te))}static#e=this.\u0275fac=function(ae){return new(ae||le)(M.KVO(q.Qq),M.KVO(z.V),M.KVO(F.Pb),M.KVO(U.up),M.KVO(k.C),M.KVO(Y.Ix),M.KVO(x.i),M.KVO(B.p),M.KVO(j.g),M.KVO($.F),M.KVO(H.o),M.KVO(w.H),M.KVO(L.fl),M.KVO(L.jf))};static#t=this.\u0275prov=M.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}return le})()},74127:(at,N,s)=>{"use strict";s.d(N,{h:()=>m});var n=s(67376),g=s(40673);class m{constructor(O){(0,n.merge)(this,(0,n.cloneDeep)(O))}toJson(O={}){const D=Object.create(null);for(const E of Object.keys(this))O&&O.propWhiteList&&-1===O.propWhiteList.indexOf(E)||(D[E]=(0,n.cloneDeep)(this[E]));return D}getBranch(){return this.serverT?this.serverT.branch:this.clientT?this.clientT.branch:null}getType(){return this.source?this.source.type:null}getSessionId(){return this.serverT?this.serverT.session:null}hasError(){return this.serverT&&this.serverT.error&&this.serverT.error.length>0}getFieldFormula(O){const D=this.source.field.filter(E=>E.tip===O)[0];return D&&D.formula&&D.formula.length>0?D.formula[0]:null}getFieldValues(O,D=g.Ay.LOCALE_ID){const E=this.source.field.filter(L=>L.tip===O)[0];if(!E)return[];if(E.value)return E.value;if(E.formula)return E.formula;if(!E.i18n)return[];const y=D.substr(0,2);let I=null,b=null;for(let L=0;L<E.i18n.length;L++){if(E.i18n[L].lang===D)return E.i18n[L].value;null===I&&E.i18n[L].lang.substr(0,2)===y?I=L:null===b&&E.i18n[L].lang===g.Ay.LANG_DEFAULT&&(b=L)}return null!==I?E.i18n[I].value:null!==b?E.i18n[b].value:[]}getFieldRawI18n(O){const D=this.source.field.filter(E=>E.tip===O)[0];return(0,n.isArray)(D.i18n)?[...D.i18n]:(0,n.isArray)(D.value)?[{lang:g.Ay.LANG_DEFAULT,value:D.value}]:[]}getFieldStringValue(O,D=g.Ay.LOCALE_ID){return this.getFieldValues(O,D).join(", ")||null}getFieldNumberValue(O,D=g.Ay.LOCALE_ID){return parseFloat(this.getFieldValues(O,D)[0])||null}getFieldBooleanValue(O,D=g.Ay.LOCALE_ID){const E=this.getFieldValues(O,D);return E&&0===E.filter(y=>"true"!==y).length}getFieldJsonValue(O,D=g.Ay.LOCALE_ID){const E=this.getFieldValues(O,D);return E&&E.length>0?JSON.parse(E[0]):null}isContentDiff(O){return this.source.deleted!==O.source.deleted||this.source.type!==O.source.type||this.source.security!==O.source.security||this._isFieldDiff(O)}_isFieldDiff(O){const D=(0,n.union)(this.source.field.map(E=>E.tip),O.source.field.map(E=>E.tip));for(const E of D)if(!(0,n.isEqual)(this.getFieldValues(E),O.getFieldValues(E)))return!0;return!1}}},48636:(at,N,s)=>{"use strict";s.d(N,{U:()=>n});var n=function(a){return a[a.string=0]="string",a[a.i18n=1]="i18n",a[a.boolean=2]="boolean",a[a.number=3]="number",a[a.datetime=4]="datetime",a[a.object=5]="object",a[a.json=6]="json",a[a.uri=7]="uri",a[a.email=8]="email",a[a.phone=9]="phone",a[a.geography=10]="geography",a[a.formula=11]="formula",a[a.stringArray=12]="stringArray",a[a.i18nArray=13]="i18nArray",a[a.booleanArray=14]="booleanArray",a[a.numberArray=15]="numberArray",a[a.datetimeArray=16]="datetimeArray",a[a.objectArray=17]="objectArray",a[a.jsonArray=18]="jsonArray",a[a.uriArray=19]="uriArray",a[a.emailArray=20]="emailArray",a[a.phoneArray=21]="phoneArray",a[a.geographyArray=22]="geographyArray",a[a.formulaArray=23]="formulaArray",a[a.i18nObject=24]="i18nObject",a}(n||{})},97036:(at,N,s)=>{"use strict";s.d(N,{m:()=>y});var n=s(25558),a=s(96354),g=s(7673),m=s(67376),O=s(93953),D=s(12225),E=s(76087);let y=(()=>{class I{constructor(L,o){this.allObjectTypesService=L,this.formulaService=o}resolveObjectBehaviour(L,o){return(o?(0,g.of)([o]):this.formulaService.evaluate("TYPE(TIP())",L)).pipe((0,n.n)(C=>this.allObjectTypesService.getDashboardTipFromTypeTip$((0,m.head)(C))),(0,a.T)(C=>C?{url:`${window.location.protocol}//${window.location.hostname}:${window.location.port}/app/s/dashboard/${encodeURIComponent(C)}/${encodeURIComponent(L)}`}:null))}static#e=this.\u0275fac=function(o){return new(o||I)(O.KVO(D.b),O.KVO(E.C))};static#t=this.\u0275prov=O.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})()},50918:(at,N,s)=>{"use strict";s.d(N,{M:()=>m,m:()=>T});var n=s(97586),a=s.n(n),g=s(48636);const m={};m[g.U.booleanArray]=O=>O.map(D=>"true"===D),m[g.U.boolean]=O=>O.length>0&&"true"===O[0],m[g.U.numberArray]=O=>O.map(parseFloat),m[g.U.number]=O=>O.length>0?parseFloat(O[0]):null,m[g.U.datetimeArray]=O=>O.map(D=>a()(D,a().ISO_8601)).filter(D=>D.isValid()),m[g.U.datetime]=O=>O.length>0&&a()(O[0],a().ISO_8601).isValid()?a()(O[0],a().ISO_8601):null,m[g.U.stringArray]=O=>O.slice(),m[g.U.i18nArray]=m[g.U.stringArray],m[g.U.emailArray]=m[g.U.stringArray],m[g.U.uriArray]=m[g.U.stringArray],m[g.U.phoneArray]=m[g.U.stringArray],m[g.U.string]=O=>O.length>0?O[0]:null,m[g.U.i18n]=m[g.U.string],m[g.U.email]=m[g.U.string],m[g.U.uri]=m[g.U.string],m[g.U.phone]=m[g.U.string],m[g.U.jsonArray]=O=>O.map(D=>JSON.parse(D)),m[g.U.json]=O=>O.length>0&&""!==O[0]?JSON.parse(O[0]):null,m[g.U.geographyArray]=O=>O.map(D=>JSON.parse(D)),m[g.U.geography]=O=>O.length>0&&""!==O[0]?JSON.parse(O[0]):null,m[g.U.formula]=O=>O.length>0?O[0]:null,m[g.U.formulaArray]=O=>O.slice();const T={};T[g.U.string]=O=>[O],T[g.U.stringArray]=O=>O.slice(),T[g.U.i18n]=O=>[O],T[g.U.i18nArray]=O=>O.slice(),T[g.U.email]=O=>[O],T[g.U.emailArray]=O=>O.slice(),T[g.U.uri]=O=>[O],T[g.U.uriArray]=O=>O.slice(),T[g.U.phone]=O=>[O],T[g.U.phoneArray]=O=>O.slice(),T[g.U.number]=O=>[O.toString()],T[g.U.numberArray]=O=>O.map(D=>D.toString()),T[g.U.boolean]=O=>[O?"true":"false"],T[g.U.booleanArray]=O=>O.map(D=>D?"true":"false"),T[g.U.datetime]=O=>a().isMoment(O)&&O.isValid()?[O.toISOString(!0)]:[],T[g.U.datetimeArray]=O=>O.filter(D=>a().isMoment(D)&&D.isValid()).map(D=>D.toISOString(!0)),T[g.U.json]=O=>[JSON.stringify(O)],T[g.U.jsonArray]=O=>O.map(D=>JSON.stringify(D)),T[g.U.geography]=O=>[JSON.stringify(O)],T[g.U.geographyArray]=O=>O.map(D=>JSON.stringify(D)),T[g.U.formula]=O=>[O],T[g.U.formulaArray]=O=>O.slice()},44667:(at,N,s)=>{"use strict";s.d(N,{T:()=>ne});var n=s(67376),a=s(7673),g=s(84572),m=s(40605),T=s(27468),O=s(22806),D=s(18810),E=s(11765),y=s(25558),I=s(96354),b=s(61594),L=s(56977),o=s(23294),C=s(88141),w=s(73703),M=s(69828),q=s(40673),z=s(19439),F=s(48636),U=s(50918);function k(Q,le=0,pe=[],te=[]){const ae=le,K=Object.keys(Q);return te.push(Q),K.forEach(de=>{if(Q[de].type===F.U.object||Q[de].type===F.U.objectArray){if(!Q[de].scheme)throw new Error("[ObjectService] Missing scheme on object datatype: "+de);if(-1===pe.indexOf(de)&&pe.push(de),-1===te.indexOf(Q[de].scheme)){const Me=k(Q[de].scheme,ae+1,pe,te);Me.maxDepth>le&&(le=Me.maxDepth),Me.followFields.forEach(me=>{-1===pe.indexOf(me)&&pe.push(me)}),Me.schemes.forEach(me=>{-1===te.indexOf(me)&&te.push(me)})}}}),{maxDepth:le,followFields:pe,schemes:te}}var Y=s(59405),x=s(93953),B=s(99760),j=s(15387),$=s(63137),H=s(57032),ie=s(95199);let ne=(()=>{class Q{constructor(pe,te,ae,K,de){this.enoService=pe,this.sessionManagerService=te,this.enSrvService=ae,this.opPullService=K,this.embeddedMediaService=de}scanScheme(pe,te=0,ae=[],K=[]){return k(pe,te,ae,K)}fieldTipToName(pe){return(0,Y.e)(pe)}castValue(pe,te,ae){return(0,Y.L)(pe,te,ae)}parseValue(pe,te){return U.m[te.type||F.U.string](pe)}getObject(pe,te,ae=q.Ay.BRANCH_MASTER,K=[],de){if(!pe)throw new Error("[ObjectService] Could not get object by tip. Object tip is not defined.");if(K.indexOf(pe)>-1)throw new Error("[ObjectService] Circular reference detected: "+pe);K.push(pe);const Me=this.scanScheme(te);return this.enoService.readEno(pe,{branch:ae,recursiveFields:Me.followFields,recursiveDepth:Me.maxDepth,useCache:void 0!==de?de:K.length>1||null}).pipe((0,E.w)("sid"),(0,y.n)(be=>this.mapEnoToScheme(be,te,ae,K)))}getObjects(pe,te,ae=q.Ay.BRANCH_MASTER,K=[],de,Me=!0){if((0,n.isEmpty)(pe))return(0,a.of)([]);if((0,n.isEmpty)(K)&&pe.forEach(()=>K.push([])),pe.some((Le,Ae)=>K[Ae].includes(Le)))throw new Error("[ObjectService] Circular reference detected: "+pe);pe.forEach((Le,Ae)=>K[Ae].push(Le));const me=this.scanScheme(te);return this.enoService.readEnos(pe,{branch:ae,recursiveFields:me.followFields,recursiveDepth:me.maxDepth,useCache:void 0!==de?de:K.length>1||null,ignoreErrors:Me}).pipe((0,M.C)(),(0,y.n)(Le=>(0,g.z)(Le.map((Ae,Oe)=>Ae?this.mapEnoToScheme(Ae,te,ae,K[Oe]):(0,a.of)(void 0)))),(0,I.T)(n.compact))}pollObject({tip:pe,branch:te=q.Ay.BRANCH_MASTER,scheme:ae,interval:K,cancel$:de}){if(Object.keys(ae).some(Ae=>ae[Ae].type===F.U.object||ae[Ae].type===F.U.objectArray))throw new Error("[Poll Service] Has to be a scheme without object or objectArray fields!");const Me=[];return(0,m.Y)(K).pipe((0,L.Q)(de),(0,y.n)(()=>{const Ae=this.opPullService.createOpPull({tip:[pe],branch:[te],watch:!1,recursiveDepth:0,recursiveField:[],ifNotSid:Me});return this.enSrvService.send([Ae]).pipe((0,b.$)(),(0,I.T)(([Oe])=>Oe))}),(0,o.F)((Ae,Oe)=>!Oe||!Oe.sid||Ae.sid===Oe.sid),(0,I.T)(Ae=>{if("error"===Ae.getType())throw new Error("[Poll Service] Server returns an error!");return Ae}),(0,C.M)(Ae=>Me.push(Ae.sid)),(0,y.n)(Ae=>this.mapEnoToScheme(Ae,ae,te)))}mapEnoToScheme(pe,te,ae=q.Ay.BRANCH_MASTER,K=[]){const de=[(0,a.of)({name:"$tip",value:pe.tip}),(0,a.of)({name:"$security",value:pe.source.security}),(0,a.of)({name:"$branch",value:pe.getBranch()}),(0,a.of)({name:"$type",value:pe.getType()}),(0,a.of)({name:"$sid",value:pe.sid})].concat(pe.source.field.filter(Me=>pe.getFieldValues(Me.tip).length>0).map(Me=>{const me=te[Me.tip]||{},be=me.name||this.fieldTipToName(Me.tip),Le=pe.getFieldValues(Me.tip);return me.type===F.U.object?this.getObject(Le[0],me.scheme,ae,K.slice()).pipe((0,I.T)(Ae=>({name:be,value:Ae}))):me.type===F.U.objectArray?this.getObjects(Le,me.scheme,ae,Le.map(()=>K.slice())).pipe((0,I.T)(Ae=>({name:be,value:Ae}))):(0,a.of)(me.type===F.U.i18nObject?{name:be,value:pe.getFieldRawI18n(Me.tip)}:{name:be,value:this.castValue(pe,Me.tip,me)})}));return(0,g.z)(de).pipe((0,I.T)(Me=>Me.reduce((me,be)=>(me[be.name]=be.value,me),{})))}castObject(pe,te){return(0,g.z)(Object.keys(pe).map(ae=>{const K=te[ae]||{},de=this.fieldTipToName(ae),Me=pe[ae];if("tip"===de||"security"===de)return(0,a.of)({name:`$${de}`,value:Me});if(K.type===F.U.object)return this.getObject(Me,K.scheme).pipe((0,I.T)(me=>({name:de,value:me})));if(K.type===F.U.objectArray){const me="string"==typeof Me?Me.split(","):Me;return(0,g.z)(me.map(be=>this.getObject(be,K.scheme))).pipe((0,I.T)(be=>({name:de,value:be})))}return(0,a.of)({name:de,value:U.M[K.type||F.U.string]([Me])})})).pipe((0,I.T)(ae=>ae.reduce((K,de)=>(K[de.name]=de.value,K),{})))}defaultSecurityPolicy$(){return this.sessionManagerService.getSessionInfo$().pipe((0,y.n)(pe=>this.enoService.readEno(pe.profile,{useCache:!0})),(0,b.$)(),(0,I.T)(pe=>pe.getFieldStringValue("app/profile:default-policy")))}batchSetAndDeleteObjects$({inputs:pe,schemes:te,branches:ae,securityPolicies:K,tipsToDelete:de}){const Me=[],me=this.getWriteDeleteBatch$({inputs:pe,schemes:te,branches:ae,securityPolicies:K},Me);return this.enoService.markEnosAsDeleted$(de||[]).pipe((0,b.$)(),(0,y.n)(be=>(0,T.p)(me).pipe((0,I.T)(Le=>({writeBatch:(0,n.concat)([],...Le.map(({writeBatch:Ae})=>Ae),be),deleteBatch:(0,n.concat)([],...Le.map(({deleteBatch:Ae})=>Ae))})),(0,y.n)(Le=>this.writeBatches(Le,Me)),(0,I.T)(Le=>(0,n.dropRight)(Le,de.length)))))}setObject(pe,te,ae,K){const de=[];return(0,O.H)(this.embeddedMediaService.processEmbeddedMedia(pe,!0)).pipe((0,I.T)(me=>me?(de.push(...me.embeddedMediaList),me.newObjectData):pe)).pipe((0,y.n)(me=>this.objectToEnoFactory$({input:me,scheme:te,branch:ae,securityPolicy:K,seen:[]})),(0,I.T)(me=>this.factoryStateToBatch(me)),(0,y.n)(me=>this.writeBatches(me,de)))}setObjects(pe,te,ae,K){const de=[],Me=this.getWriteDeleteBatch$({inputs:pe,schemes:te,branches:ae,securityPolicies:K},de);return(0,T.p)(Me).pipe((0,I.T)(me=>({writeBatch:(0,n.concat)([],...me.map(({writeBatch:be})=>be)),deleteBatch:(0,n.concat)([],...me.map(({deleteBatch:be})=>be))})),(0,y.n)(me=>this.writeBatches(me,de)))}writeBatches(pe,te=[]){return this.enoService.writeEnos(pe.writeBatch).pipe((0,y.n)(ae=>pe.deleteBatch.length>0?this.enoService.writeEnos(pe.deleteBatch).pipe((0,I.T)(K=>(0,n.concat)(ae,K))):(0,a.of)(ae)),(0,y.n)(ae=>{if(!te.length)return(0,a.of)(ae);const K=this.embeddedMediaService.getUploadEmbeddedMediaList(ae,te);if(!K.uploadBatch.length&&!K.copyBatch.length)return(0,a.of)(ae);const de=K.uploadBatch.length?K.uploadBatch.map(me=>this.embeddedMediaService.uploadEmbeddedMedia(me)):[(0,a.of)({})],Me=K.copyBatch.length?K.copyBatch.map(me=>this.embeddedMediaService.copyEmbeddedMedia(me)):[(0,a.of)({})];return(0,T.p)([...de,...Me]).pipe((0,I.T)(()=>ae))}))}factoryStateToBatch(pe){const te=this.factoryStateToBatchCallbacks(pe);return{writeBatch:(0,n.compact)(te.writeCallbacks.map(ae=>ae())),deleteBatch:(0,n.compact)(te.deleteCallbacks.map(ae=>ae()))}}factoryStateToBatchCallbacks(pe,te=[]){let ae=[];const K={},de={},Me=Object.keys(pe.referencedFactories||{});let me=[];return te.push(pe),Me.forEach(be=>{K[be]=pe.referencedFactories[be].slice(),de[be]=(0,n.compact)(pe.referencedFactories[be].map(Le=>{if("string"==typeof Le)return Le;if(!Le.eno&&te.indexOf(Le)>-1){const Ae=this.makePlaceholderEno(pe,be);return Ae?(ae.push(()=>Ae),me.push(()=>this.makePlaceholderDelete(Ae)),Ae.tip):null}if(!Le.eno){const Ae=this.factoryStateToBatchCallbacks(Le,te);ae=(0,n.concat)(ae,Ae.writeCallbacks),me=(0,n.concat)(me,Ae.deleteCallbacks)}return Le.eno.tip})),pe.enoFactory.setField(be,de[be])}),pe.eno=pe.enoFactory.makeEno(),(!pe.previousEno||pe.previousEno.isContentDiff(pe.eno))&&ae.push(()=>pe.eno),ae.push(()=>this.makePlaceholderPatch(pe,K,de)),{writeCallbacks:ae,deleteCallbacks:me}}makePlaceholderEno(pe,te){const ae=pe.scheme[te];if(!ae)return null;const K=ae.circularPlaceholder;if(!K)return null;const de=new z.f;return de.setType(K.$type),de.setSecurity(pe.securityPolicy),de.setBranch(pe.branch),de.makeEno()}makePlaceholderPatch(pe,te,ae){const K=Object.keys(pe.referencedFactories||{});let de=!1;const Me=new z.f;return Me.setProtoToPatch(pe.eno),K.forEach(me=>{const be=te[me].map(Le=>"string"==typeof Le?Le:Le.eno.tip);(0,n.isEqual)(be,ae[me])||(Me.setField(me,be),de=!0)}),de?Me.makeEno():null}makePlaceholderDelete(pe){const te=new z.f;return te.setProtoToPatch(pe),te.setDeleted(!0),te.makeEno()}objectToEnoFactory$(pe){const te=(0,n.find)(pe.seen,ae=>ae.input===pe.input);return te?(0,a.of)(te):((pe={...pe,enoFactory:null,eno:null,referencedFactories:{}}).seen.push(pe),this.makeEnoFactoryFromObject$(pe).pipe((0,I.T)(ae=>this.setBranch(pe,ae)),(0,I.T)(ae=>this.setNonce(pe,ae)),(0,y.n)(ae=>this.setSecurityPolicy(pe,ae)),(0,y.n)(ae=>this.setFields(pe,ae)),(0,w.u)(pe)))}setFields(pe,te){return(0,T.p)(Object.keys(pe.scheme).map(ae=>this.setEnoFactoryField$({...pe,fieldTip:ae}))).pipe((0,w.u)(te))}setBranch(pe,te){return pe.input.$branch?te.setBranch(pe.input.$branch):pe.branch?te.setBranch(pe.branch):pe.input.$tip||te.setBranch("branch/master"),te}setNonce(pe,te){return(0,n.isString)(pe.input.$nonce)&&te.setNonce(pe.input.$nonce),te}setSecurityPolicy(pe,te){if(pe.input.$security)te.setSecurity(pe.input.$security);else if(pe.securityPolicy)te.setSecurity(pe.securityPolicy);else if(!pe.input.$tip)return this.defaultSecurityPolicy$().pipe((0,I.T)(ae=>{if(!ae)throw new Error("[ObjectService] We don't have a default policy in our profile");return te.setSecurity(ae),te}));return(0,a.of)(te)}makeEnoFactoryFromObject$(pe){const te=new z.f;return pe.enoFactory=te,pe.input.$tip?this.enoService.readEno(pe.input.$tip,{useCache:!0}).pipe((0,b.$)(),(0,C.M)(ae=>pe.previousEno=ae),(0,I.T)(ae=>te.setProtoToPatch(ae)),(0,w.u)(te)):pe.input.$type?(te.setType(pe.input.$type),(0,a.of)(te)):(0,D.$)(new Error("[ObjectService] All new objects must have a $type"))}setEnoFactoryFieldSubObject$(pe){const te=pe.scheme[pe.fieldTip],ae=te.name||this.fieldTipToName(pe.fieldTip),K=pe.input[ae];return"string"==typeof K?(pe.enoFactory.setField(pe.fieldTip,[K]),(0,a.of)(null)):te.mutable?(K.$security=K.$security||pe.input.$security,this.objectToEnoFactory$({...pe,input:K,scheme:te.scheme}).pipe((0,C.M)(de=>pe.referencedFactories[pe.fieldTip]=[de]))):K.$tip?(pe.enoFactory.setField(pe.fieldTip,[K.$tip]),(0,a.of)(null)):(0,D.$)(new Error("Attempted to create a new object in a immmutable sub-object: "+pe.fieldTip))}setEnoFactoryFieldSubObjectArray$(pe){const te=pe.scheme[pe.fieldTip],ae=te.name||this.fieldTipToName(pe.fieldTip),K=pe.input[ae];if(te.mutable){const de=K.map(Me=>"string"==typeof Me?(0,a.of)(Me):(Me.$security=Me.$security||pe.input.$security,this.objectToEnoFactory$({...pe,input:Me,scheme:te.scheme})));return(0,T.p)(de).pipe((0,C.M)(Me=>{pe.referencedFactories[pe.fieldTip]=Me}))}return K.filter(de=>"string"!=typeof de&&!de.$tip).length>0?(0,D.$)(new Error("Attempted to create a new object in a immutable sub-object-array: "+pe.fieldTip)):(pe.enoFactory.setField(pe.fieldTip,K.map(de=>"string"==typeof de?de:de.$tip)),(0,a.of)(null))}setEnoFactoryField$(pe){const te=pe.scheme[pe.fieldTip],ae=te.name||this.fieldTipToName(pe.fieldTip),K=pe.input[ae];if(!pe.input.hasOwnProperty(ae))return(0,a.of)(!0);if(null==K||Array.isArray(K)&&0===K.length)return pe.enoFactory.setField(pe.fieldTip,[]),(0,a.of)(null);if(te.type===F.U.number&&""===K)return pe.enoFactory.setField(pe.fieldTip,[]),(0,a.of)(null);if(te.type===F.U.i18nObject)return pe.enoFactory.setField({tip:pe.fieldTip,i18n:K}),(0,a.of)(null);if(te.type===F.U.object)return this.setEnoFactoryFieldSubObject$(pe);if(te.type===F.U.objectArray)return this.setEnoFactoryFieldSubObjectArray$(pe);const de=this.parseValue(K,te);return te.type===F.U.i18n||te.type===F.U.i18nArray?(pe.enoFactory.setI18nValue(pe.fieldTip,de),(0,a.of)(null)):te.type===F.U.formula||te.type===F.U.formulaArray?(pe.enoFactory.setFieldFormula(pe.fieldTip,de),(0,a.of)(null)):(pe.enoFactory.setField(pe.fieldTip,de),(0,a.of)(null))}deleteObject(pe){return this.deleteObjects([pe])}deleteObjects(pe){return this.enoService.deleteEnos(pe.map(te=>te.$tip)).pipe((0,w.u)(!0))}getWriteDeleteBatch$({inputs:pe,schemes:te,branches:ae,securityPolicies:K},de){return pe.map((Me,me)=>{const be=ae?ae[me]:null,Le=K?K[me]:null,Ae=te[me]||te[0];return(0,O.H)(this.embeddedMediaService.processEmbeddedMedia(Me)).pipe((0,y.n)(Oe=>{let Xe=Me;return Oe&&(de.push(...Oe.embeddedMediaList),Xe=Oe.newObjectData),this.objectToEnoFactory$({input:Xe,scheme:Ae,branch:be,securityPolicy:Le,seen:[]})}),(0,I.T)(Oe=>this.factoryStateToBatch(Oe)))})}static#e=this.\u0275fac=function(te){return new(te||Q)(x.KVO(B.g),x.KVO(j.Pb),x.KVO($.w),x.KVO(H.q),x.KVO(ie.c))};static#t=this.\u0275prov=x.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})()},59405:(at,N,s)=>{"use strict";s.d(N,{L:()=>m,e:()=>g});var n=s(48636),a=s(50918);function g(T){const O=/[a-z0-9_-]+$/i.exec(T);if(!O)throw new Error("[ObjectService] Cannot automatically determine a property name: "+T);return O[0].replace(/\-([a-z])/gi,(D,E)=>E.toUpperCase()).replace(/[^a-zA-Z0-9]/gi,"")}function m(T,O,D){const E=T.getFieldValues(O);return a.M[D.type||n.U.string](E)}},57032:(at,N,s)=>{"use strict";s.d(N,{q:()=>m});var n=s(19439),a=s(40673),g=s(93953);let m=(()=>{class T{constructor(){this._opPullFactory=new n.f("op/pull",a.Ay.SECURITY.OP),this._opPullCache=new Map}createOpPull(D){this._normalizeOpPullOption(D);const E=this._opPullFactory.setFields([{tip:"op/pull/tip",value:D.tip},{tip:"op/pull/sid",value:D.sid},{tip:"op/pull/branch",value:D.branch},{tip:"op/pull/watch",value:[D.watch+""]},{tip:"op/pull/recursive-depth",value:0===D.recursiveDepth?[]:[D.recursiveDepth+""]},{tip:"op/pull/recursive-field",value:D.recursiveField},{tip:"op/pull/if-not-sid",value:D.ifNotSid}]).makeEno();return this._opPullCache.set(E.tip,E),E}_normalizeOpPullOption(D){D.sid=D.sid||[],D.branch=D.branch||[a.Ay.BRANCH_MASTER],D.watch=void 0===D.watch||D.watch,D.recursiveDepth=D.recursiveDepth||0,D.recursiveField=D.recursiveField||[],D.ifNotSid=D.ifNotSid||[]}getOpPull(D,E=!1){const y=this._opPullCache.get(D);if(void 0===y)return null;const I=new n.f;return I.setProto(y),I.setField({tip:"op/pull/watch",value:[E+""]}),I.setField({tip:"op/pull/if-not-sid",value:[]}),I.makeEno()}static#e=this.\u0275fac=function(E){return new(E||T)};static#t=this.\u0275prov=g.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},25391:(at,N,s)=>{"use strict";s.d(N,{H:()=>D,m:()=>O});var n=s(92771),a=s(96354),g=s(55516),m=s(93953),T=s(51229),O=function(E){return E.FILE_MAX_UPLOAD_SIZE="fileMaxUploadSize",E.METRIC_HIGHLIGHT_WIDGET_DATA_COUNT="dataCountToBeShown",E.RELATIONSHIP_MAP_WIDGET_NODE_COUNT="relationshipMapNodeLimit",E}(O||{});let D=(()=>{class E{constructor(I){this.queryService=I,this.allOperationalLimits=new n.m(1),this.allOperationalLimits$=this.allOperationalLimits.asObservable()}getOperationalLimit$(I){return this.allOperationalLimits$.pipe((0,a.T)(b=>b.has(I)?b.get(I):null))}getValue$(I,b=0){return this.getOperationalLimit$(I).pipe((0,a.T)(L=>null===L?b:L.value))}getUsed$(I,b=0){return this.getOperationalLimit$(I).pipe((0,a.T)(L=>null===L?b:L.used))}getRemains$(I,b=0){return this.getOperationalLimit$(I).pipe((0,a.T)(L=>null===L?b:L.value-L.used))}loadAllOperationalLimits(){this.subscription=this.queryService.execute1dFirst(g.R.GET_ALL_OPERATIONAL_LIMITS_QUERY).pipe((0,a.T)(I=>I.reduce((b,L)=>b.set(L.name,{label:L.label,value:parseInt(L.value,10)||0,used:parseInt(L.used,10)||0}),new Map))).subscribe(I=>{this.allOperationalLimits.next(I)})}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(b){return new(b||E)(m.KVO(T.c))};static#t=this.\u0275prov=m.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})()},27916:(at,N,s)=>{"use strict";s.d(N,{V:()=>L});var n=s(21413),a=s(5964),g=s(67376),T=s(40673),O=s(19439),D=s(72564),E=s(93953),y=s(63137),I=s(57032),b=s(32099);let L=(()=>{class o{constructor(w,M,q,z){this._ensrvService=w,this._pubSubService=M,this._opPullService=q,this.loggerService=z,this._processOpFactory=new O.f("op/process",T.Ay.SECURITY.OP),this._processSubjects={},this._processResponseSids=[],this._pubSubService.receiveSessionMessage(D.B.processResponse).pipe((0,a.p)(F=>this._processSubjects.hasOwnProperty(F.op)&&F.tips&&F.tips.length>0)).subscribe(F=>this._handleSessionMessageData(F)),this._ensrvService.getEnoReceiver("response/process").subscribe(F=>this._handleResponse(F))}start(w,M={},q={}){const z=new n.B,F=this._processOpFactory.setFields([{tip:"op/process/process",value:[w]},{tip:"op/process/inline-vars",value:[JSON.stringify(M)]}]).makeEno();return this._processSubjects[F.tip]=z,this.loggerService.debug(`[ProcessService] Started process "${w}"(process operation "${F.tip}" with vars "${JSON.stringify(M)}").`),this._ensrvService.send([F],q).subscribe(U=>{const k=U.filter(Y=>"error"===(0,g.get)(Y,"source.type",null));k.length>0&&(this.logProcessFailure({processTip:w,processOpEno:F,processVars:M,error:k}),z.error(k))},U=>{this.logProcessFailure({processTip:w,processOpEno:F,processVars:M,error:U}),z.error(U)}),z.asObservable()}logProcessFailure({processTip:w,processOpEno:M,processVars:q,error:z}){this.loggerService.error(`[ProcessService] Failed to execute process "${w}"(process operation "${M.tip}" with vars "${JSON.stringify(q)}").`,z)}_handleResponse(w){if(this._processResponseSids.includes(w.sid))return;this._processResponseSids.push(w.sid);const M=w.getFieldStringValue("response/process/op-tip"),q=this._processSubjects[M];if(!q)return;const z=w.getFieldJsonValue("response/process/inline-vars")||{},F=w.getFieldBooleanValue("response/process/finished");q.next({finished:F,vars:z}),F&&q.complete()}_handleSessionMessageData(w){const q=this._opPullService.createOpPull({tip:[w.tips[0]],watch:!1});this._ensrvService.send([q]).subscribe()}static#e=this.\u0275fac=function(M){return new(M||o)(E.KVO(y.w),E.KVO(D.R),E.KVO(I.q),E.KVO(b.g))};static#t=this.\u0275prov=E.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},88405:(at,N,s)=>{"use strict";s.d(N,{k:()=>E});var n=s(48636);const a={"app/au-gov/protective-marking:label":{type:n.U.i18n},"app/au-gov/protective-marking:subject-suffix":{type:n.U.i18n},"app/au-gov/protective-marking:header-value":{type:n.U.i18n}},g={"app/au-gov/protective-markings-settings:protective-markings-enabled":{type:n.U.boolean},"app/au-gov/protective-markings-settings:protective-markings-default":{type:n.U.object,scheme:a},"app/au-gov/protective-markings-settings:protective-markings":{type:n.U.objectArray,scheme:a}};var m=s(96354),T=s(67376),O=s(93953),D=s(44667);let E=(()=>{class o{constructor(w){this.objectService=w}loadSettings(){return this.objectService.getObject("app/au-gov/protective-markings-settings/default",g)}loadOptions(w={}){return this.loadSettings().pipe((0,m.T)(function y(o){return function(C){const w=(0,T.get)(C,"protectiveMarkingsEnabled",!1);if(!w)return{enabled:w,initialMarking:null,options:[]};const M=C.protectiveMarkings||[],{protectiveMarkingMap:q,options:z}=function I(o){const C=new Map;return o.forEach(w=>C.set(w.$tip,function b(o){return{value:o.$tip,label:o.label}}(w))),{protectiveMarkingMap:C,options:Array.from(C.values())}}(M),F=L(C,"protectiveMarkingsDefault.$tip",null,q);return{enabled:w,initialMarking:L(o,"currentMarking",null,q)||F||null,options:z}}}(w)))}static#e=this.\u0275fac=function(M){return new(M||o)(O.KVO(D.T))};static#t=this.\u0275prov=O.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function L(o,C,w,M){const q=(0,T.get)(o,C,w);return M.has(q)&&!(0,T.isEmpty)(q)?q:w}},72564:(at,N,s)=>{"use strict";s.d(N,{B:()=>wi,R:()=>Si});var n={};s.r(n),s.d(n,{Decoder:()=>Hn,Encoder:()=>$i,PacketType:()=>ui,protocol:()=>vi});var a=s(31471),g=s(67376),m=s(84412),T=s(21413),O=s(61594),D=s(5964);const E=Object.create(null);E.open="0",E.close="1",E.ping="2",E.pong="3",E.message="4",E.upgrade="5",E.noop="6";const y=Object.create(null);Object.keys(E).forEach(Cn=>{y[E[Cn]]=Cn});const I={type:"error",data:"parser error"},b="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),L="function"==typeof ArrayBuffer,o=Cn=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(Cn):Cn&&Cn.buffer instanceof ArrayBuffer,C=({type:Cn,data:ut},Mt,Bt)=>b&&ut instanceof Blob?Mt?Bt(ut):w(ut,Bt):L&&(ut instanceof ArrayBuffer||o(ut))?Mt?Bt(ut):w(new Blob([ut]),Bt):Bt(E[Cn]+(ut||"")),w=(Cn,ut)=>{const Mt=new FileReader;return Mt.onload=function(){const Bt=Mt.result.split(",")[1];ut("b"+(Bt||""))},Mt.readAsDataURL(Cn)};function M(Cn){return Cn instanceof Uint8Array?Cn:Cn instanceof ArrayBuffer?new Uint8Array(Cn):new Uint8Array(Cn.buffer,Cn.byteOffset,Cn.byteLength)}let q;const U=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let Cn=0;Cn<64;Cn++)U["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(Cn)]=Cn;const x="function"==typeof ArrayBuffer,B=(Cn,ut)=>{if("string"!=typeof Cn)return{type:"message",data:$(Cn,ut)};const Mt=Cn.charAt(0);return"b"===Mt?{type:"message",data:j(Cn.substring(1),ut)}:y[Mt]?Cn.length>1?{type:y[Mt],data:Cn.substring(1)}:{type:y[Mt]}:I},j=(Cn,ut)=>{if(x){const Mt=(Cn=>{let Bt,Jt,He,fe,nt,ut=.75*Cn.length,Mt=Cn.length,Rt=0;"="===Cn[Cn.length-1]&&(ut--,"="===Cn[Cn.length-2]&&ut--);const Ot=new ArrayBuffer(ut),rn=new Uint8Array(Ot);for(Bt=0;Bt<Mt;Bt+=4)Jt=U[Cn.charCodeAt(Bt)],He=U[Cn.charCodeAt(Bt+1)],fe=U[Cn.charCodeAt(Bt+2)],nt=U[Cn.charCodeAt(Bt+3)],rn[Rt++]=Jt<<2|He>>4,rn[Rt++]=(15&He)<<4|fe>>2,rn[Rt++]=(3&fe)<<6|63&nt;return Ot})(Cn);return $(Mt,ut)}return{base64:!0,data:Cn}},$=(Cn,ut)=>"blob"===ut?Cn instanceof Blob?Cn:new Blob([Cn]):Cn instanceof ArrayBuffer?Cn:Cn.buffer;let le;function pe(Cn){return Cn.reduce((ut,Mt)=>ut+Mt.length,0)}function te(Cn,ut){if(Cn[0].length===ut)return Cn.shift();const Mt=new Uint8Array(ut);let Bt=0;for(let Rt=0;Rt<ut;Rt++)Mt[Rt]=Cn[0][Bt++],Bt===Cn[0].length&&(Cn.shift(),Bt=0);return Cn.length&&Bt<Cn[0].length&&(Cn[0]=Cn[0].slice(Bt)),Mt}function de(Cn){if(Cn)return function Me(Cn){for(var ut in de.prototype)Cn[ut]=de.prototype[ut];return Cn}(Cn)}de.prototype.on=de.prototype.addEventListener=function(Cn,ut){return this._callbacks=this._callbacks||{},(this._callbacks["$"+Cn]=this._callbacks["$"+Cn]||[]).push(ut),this},de.prototype.once=function(Cn,ut){function Mt(){this.off(Cn,Mt),ut.apply(this,arguments)}return Mt.fn=ut,this.on(Cn,Mt),this},de.prototype.off=de.prototype.removeListener=de.prototype.removeAllListeners=de.prototype.removeEventListener=function(Cn,ut){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var Mt=this._callbacks["$"+Cn];if(!Mt)return this;if(1==arguments.length)return delete this._callbacks["$"+Cn],this;for(var Bt,Rt=0;Rt<Mt.length;Rt++)if((Bt=Mt[Rt])===ut||Bt.fn===ut){Mt.splice(Rt,1);break}return 0===Mt.length&&delete this._callbacks["$"+Cn],this},de.prototype.emitReserved=de.prototype.emit=function(Cn){this._callbacks=this._callbacks||{};for(var ut=new Array(arguments.length-1),Mt=this._callbacks["$"+Cn],Bt=1;Bt<arguments.length;Bt++)ut[Bt-1]=arguments[Bt];if(Mt){Bt=0;for(var Rt=(Mt=Mt.slice(0)).length;Bt<Rt;++Bt)Mt[Bt].apply(this,ut)}return this},de.prototype.listeners=function(Cn){return this._callbacks=this._callbacks||{},this._callbacks["$"+Cn]||[]},de.prototype.hasListeners=function(Cn){return!!this.listeners(Cn).length};const me=typeof self<"u"?self:typeof window<"u"?window:Function("return this")();function be(Cn,...ut){return ut.reduce((Mt,Bt)=>(Cn.hasOwnProperty(Bt)&&(Mt[Bt]=Cn[Bt]),Mt),{})}const Le=me.setTimeout,Ae=me.clearTimeout;function Oe(Cn,ut){ut.useNativeTimers?(Cn.setTimeoutFn=Le.bind(me),Cn.clearTimeoutFn=Ae.bind(me)):(Cn.setTimeoutFn=me.setTimeout.bind(me),Cn.clearTimeoutFn=me.clearTimeout.bind(me))}function Pe(Cn){return"string"==typeof Cn?function $e(Cn){let ut=0,Mt=0;for(let Bt=0,Rt=Cn.length;Bt<Rt;Bt++)ut=Cn.charCodeAt(Bt),ut<128?Mt+=1:ut<2048?Mt+=2:ut<55296||ut>=57344?Mt+=3:(Bt++,Mt+=4);return Mt}(Cn):Math.ceil(1.33*(Cn.byteLength||Cn.size))}class Ye extends Error{constructor(ut,Mt,Bt){super(ut),this.description=Mt,this.context=Bt,this.type="TransportError"}}class Ct extends de{constructor(ut){super(),this.writable=!1,Oe(this,ut),this.opts=ut,this.query=ut.query,this.socket=ut.socket}onError(ut,Mt,Bt){return super.emitReserved("error",new Ye(ut,Mt,Bt)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(ut){"open"===this.readyState&&this.write(ut)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(ut){const Mt=B(ut,this.socket.binaryType);this.onPacket(Mt)}onPacket(ut){super.emitReserved("packet",ut)}onClose(ut){this.readyState="closed",super.emitReserved("close",ut)}pause(ut){}createUri(ut,Mt={}){return ut+"://"+this._hostname()+this._port()+this.opts.path+this._query(Mt)}_hostname(){const ut=this.opts.hostname;return-1===ut.indexOf(":")?ut:"["+ut+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(ut){const Mt=function ze(Cn){let ut="";for(let Mt in Cn)Cn.hasOwnProperty(Mt)&&(ut.length&&(ut+="&"),ut+=encodeURIComponent(Mt)+"="+encodeURIComponent(Cn[Mt]));return ut}(ut);return Mt.length?"?"+Mt:""}}const Lt="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Vt=64,ht={};let Se,gt=0,Ge=0;function ke(Cn){let ut="";do{ut=Lt[Cn%Vt]+ut,Cn=Math.floor(Cn/Vt)}while(Cn>0);return ut}function Je(){const Cn=ke(+new Date);return Cn!==Se?(gt=0,Se=Cn):Cn+"."+ke(gt++)}for(;Ge<Vt;Ge++)ht[Lt[Ge]]=Ge;let Qe=!1;try{Qe=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const rt=Qe;function ft(Cn){const ut=Cn.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!ut||rt))return new XMLHttpRequest}catch{}if(!ut)try{return new(me[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch{}}function It(){}const In=null!=new ft({xdomain:!1}).responseType;let Ze=(()=>{class Cn extends de{constructor(Mt,Bt){super(),Oe(this,Bt),this.opts=Bt,this.method=Bt.method||"GET",this.uri=Mt,this.data=void 0!==Bt.data?Bt.data:null,this.create()}create(){var Mt;const Bt=be(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");Bt.xdomain=!!this.opts.xd;const Rt=this.xhr=new ft(Bt);try{Rt.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){Rt.setDisableHeaderCheck&&Rt.setDisableHeaderCheck(!0);for(let Jt in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(Jt)&&Rt.setRequestHeader(Jt,this.opts.extraHeaders[Jt])}}catch{}if("POST"===this.method)try{Rt.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{Rt.setRequestHeader("Accept","*/*")}catch{}null===(Mt=this.opts.cookieJar)||void 0===Mt||Mt.addCookies(Rt),"withCredentials"in Rt&&(Rt.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(Rt.timeout=this.opts.requestTimeout),Rt.onreadystatechange=()=>{var Jt;3===Rt.readyState&&(null===(Jt=this.opts.cookieJar)||void 0===Jt||Jt.parseCookies(Rt)),4===Rt.readyState&&(200===Rt.status||1223===Rt.status?this.onLoad():this.setTimeoutFn(()=>{this.onError("number"==typeof Rt.status?Rt.status:0)},0))},Rt.send(this.data)}catch(Jt){return void this.setTimeoutFn(()=>{this.onError(Jt)},0)}typeof document<"u"&&(this.index=Cn.requestsCount++,Cn.requests[this.index]=this)}onError(Mt){this.emitReserved("error",Mt,this.xhr),this.cleanup(!0)}cleanup(Mt){if(!(typeof this.xhr>"u"||null===this.xhr)){if(this.xhr.onreadystatechange=It,Mt)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Cn.requests[this.index],this.xhr=null}}onLoad(){const Mt=this.xhr.responseText;null!==Mt&&(this.emitReserved("data",Mt),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}return Cn.requestsCount=0,Cn.requests={},Cn})();function wn(){for(let Cn in Ze.requests)Ze.requests.hasOwnProperty(Cn)&&Ze.requests[Cn].abort()}typeof document<"u"&&("function"==typeof attachEvent?attachEvent("onunload",wn):"function"==typeof addEventListener&&addEventListener("onpagehide"in me?"pagehide":"unload",wn,!1));const zn="function"==typeof Promise&&"function"==typeof Promise.resolve?ut=>Promise.resolve().then(ut):(ut,Mt)=>Mt(ut,0),di=me.WebSocket||me.MozWebSocket,Li=typeof navigator<"u"&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),Qt={websocket:class ms extends Ct{constructor(ut){super(ut),this.supportsBinary=!ut.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const ut=this.uri(),Mt=this.opts.protocols,Bt=Li?{}:be(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(Bt.headers=this.opts.extraHeaders);try{this.ws=Li?new di(ut,Mt,Bt):Mt?new di(ut,Mt):new di(ut)}catch(Rt){return this.emitReserved("error",Rt)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=ut=>this.onClose({description:"websocket connection closed",context:ut}),this.ws.onmessage=ut=>this.onData(ut.data),this.ws.onerror=ut=>this.onError("websocket error",ut)}write(ut){this.writable=!1;for(let Mt=0;Mt<ut.length;Mt++){const Rt=Mt===ut.length-1;C(ut[Mt],this.supportsBinary,Jt=>{try{this.ws.send(Jt)}catch{}Rt&&zn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const ut=this.opts.secure?"wss":"ws",Mt=this.query||{};return this.opts.timestampRequests&&(Mt[this.opts.timestampParam]=Je()),this.supportsBinary||(Mt.b64=1),this.createUri(ut,Mt)}check(){return!!di}},webtransport:class Rn extends Ct{get name(){return"webtransport"}doOpen(){"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(ut=>{this.onError("webtransport error",ut)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(ut=>{const Mt=function ae(Cn,ut){le||(le=new TextDecoder);const Mt=[];let Bt=0,Rt=-1,Jt=!1;return new TransformStream({transform(He,fe){for(Mt.push(He);;){if(0===Bt){if(pe(Mt)<1)break;const nt=te(Mt,1);Jt=!(128&~nt[0]),Rt=127&nt[0],Bt=Rt<126?3:126===Rt?1:2}else if(1===Bt){if(pe(Mt)<2)break;const nt=te(Mt,2);Rt=new DataView(nt.buffer,nt.byteOffset,nt.length).getUint16(0),Bt=3}else if(2===Bt){if(pe(Mt)<8)break;const nt=te(Mt,8),Ot=new DataView(nt.buffer,nt.byteOffset,nt.length),rn=Ot.getUint32(0);if(rn>Math.pow(2,21)-1){fe.enqueue(I);break}Rt=rn*Math.pow(2,32)+Ot.getUint32(4),Bt=3}else{if(pe(Mt)<Rt)break;const nt=te(Mt,Rt);fe.enqueue(B(Jt?nt:le.decode(nt),ut)),Bt=0}if(0===Rt||Rt>Cn){fe.enqueue(I);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),Bt=ut.readable.pipeThrough(Mt).getReader(),Rt=function Q(){return new TransformStream({transform(Cn,ut){!function z(Cn,ut){b&&Cn.data instanceof Blob?Cn.data.arrayBuffer().then(M).then(ut):L&&(Cn.data instanceof ArrayBuffer||o(Cn.data))?ut(M(Cn.data)):C(Cn,!1,Mt=>{q||(q=new TextEncoder),ut(q.encode(Mt))})}(Cn,Mt=>{const Bt=Mt.length;let Rt;if(Bt<126)Rt=new Uint8Array(1),new DataView(Rt.buffer).setUint8(0,Bt);else if(Bt<65536){Rt=new Uint8Array(3);const Jt=new DataView(Rt.buffer);Jt.setUint8(0,126),Jt.setUint16(1,Bt)}else{Rt=new Uint8Array(9);const Jt=new DataView(Rt.buffer);Jt.setUint8(0,127),Jt.setBigUint64(1,BigInt(Bt))}Cn.data&&"string"!=typeof Cn.data&&(Rt[0]|=128),ut.enqueue(Rt),ut.enqueue(Mt)})}})}();Rt.readable.pipeTo(ut.writable),this.writer=Rt.writable.getWriter();const Jt=()=>{Bt.read().then(({done:fe,value:nt})=>{fe||(this.onPacket(nt),Jt())}).catch(fe=>{})};Jt();const He={type:"open"};this.query.sid&&(He.data=`{"sid":"${this.query.sid}"}`),this.writer.write(He).then(()=>this.onOpen())})}))}write(ut){this.writable=!1;for(let Mt=0;Mt<ut.length;Mt++){const Rt=Mt===ut.length-1;this.writer.write(ut[Mt]).then(()=>{Rt&&zn(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var ut;null===(ut=this.transport)||void 0===ut||ut.close()}},polling:class Kt extends Ct{constructor(ut){if(super(ut),this.polling=!1,typeof location<"u"){const Bt="https:"===location.protocol;let Rt=location.port;Rt||(Rt=Bt?"443":"80"),this.xd=typeof location<"u"&&ut.hostname!==location.hostname||Rt!==ut.port}this.supportsBinary=In&&!(ut&&ut.forceBase64),this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(ut){this.readyState="pausing";const Mt=()=>{this.readyState="paused",ut()};if(this.polling||!this.writable){let Bt=0;this.polling&&(Bt++,this.once("pollComplete",function(){--Bt||Mt()})),this.writable||(Bt++,this.once("drain",function(){--Bt||Mt()}))}else Mt()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(ut){((Cn,ut)=>{const Mt=Cn.split("\x1e"),Bt=[];for(let Rt=0;Rt<Mt.length;Rt++){const Jt=B(Mt[Rt],ut);if(Bt.push(Jt),"error"===Jt.type)break}return Bt})(ut,this.socket.binaryType).forEach(Bt=>{if("opening"===this.readyState&&"open"===Bt.type&&this.onOpen(),"close"===Bt.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(Bt)}),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const ut=()=>{this.write([{type:"close"}])};"open"===this.readyState?ut():this.once("open",ut)}write(ut){this.writable=!1,((Cn,ut)=>{const Mt=Cn.length,Bt=new Array(Mt);let Rt=0;Cn.forEach((Jt,He)=>{C(Jt,!1,fe=>{Bt[He]=fe,++Rt===Mt&&ut(Bt.join("\x1e"))})})})(ut,Mt=>{this.doWrite(Mt,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const ut=this.opts.secure?"https":"http",Mt=this.query||{};return!1!==this.opts.timestampRequests&&(Mt[this.opts.timestampParam]=Je()),!this.supportsBinary&&!Mt.sid&&(Mt.b64=1),this.createUri(ut,Mt)}request(ut={}){return Object.assign(ut,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Ze(this.uri(),ut)}doWrite(ut,Mt){const Bt=this.request({method:"POST",data:ut});Bt.on("success",Mt),Bt.on("error",(Rt,Jt)=>{this.onError("xhr post error",Rt,Jt)})}doPoll(){const ut=this.request();ut.on("data",this.onData.bind(this)),ut.on("error",(Mt,Bt)=>{this.onError("xhr poll error",Mt,Bt)}),this.pollXhr=ut}}},Wt=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Yt=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Mn(Cn){if(Cn.length>2e3)throw"URI too long";const ut=Cn,Mt=Cn.indexOf("["),Bt=Cn.indexOf("]");-1!=Mt&&-1!=Bt&&(Cn=Cn.substring(0,Mt)+Cn.substring(Mt,Bt).replace(/:/g,";")+Cn.substring(Bt,Cn.length));let Rt=Wt.exec(Cn||""),Jt={},He=14;for(;He--;)Jt[Yt[He]]=Rt[He]||"";return-1!=Mt&&-1!=Bt&&(Jt.source=ut,Jt.host=Jt.host.substring(1,Jt.host.length-1).replace(/;/g,":"),Jt.authority=Jt.authority.replace("[","").replace("]","").replace(/;/g,":"),Jt.ipv6uri=!0),Jt.pathNames=function ci(Cn,ut){const Bt=ut.replace(/\/{2,9}/g,"/").split("/");return("/"==ut.slice(0,1)||0===ut.length)&&Bt.splice(0,1),"/"==ut.slice(-1)&&Bt.splice(Bt.length-1,1),Bt}(0,Jt.path),Jt.queryKey=function Ue(Cn,ut){const Mt={};return ut.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(Bt,Rt,Jt){Rt&&(Mt[Rt]=Jt)}),Mt}(0,Jt.query),Jt}let Un=(()=>{class Cn extends de{constructor(Mt,Bt={}){super(),this.binaryType="arraybuffer",this.writeBuffer=[],Mt&&"object"==typeof Mt&&(Bt=Mt,Mt=null),Mt?(Mt=Mn(Mt),Bt.hostname=Mt.host,Bt.secure="https"===Mt.protocol||"wss"===Mt.protocol,Bt.port=Mt.port,Mt.query&&(Bt.query=Mt.query)):Bt.host&&(Bt.hostname=Mn(Bt.host).host),Oe(this,Bt),this.secure=null!=Bt.secure?Bt.secure:typeof location<"u"&&"https:"===location.protocol,Bt.hostname&&!Bt.port&&(Bt.port=this.secure?"443":"80"),this.hostname=Bt.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=Bt.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=Bt.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},Bt),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function Be(Cn){let ut={},Mt=Cn.split("&");for(let Bt=0,Rt=Mt.length;Bt<Rt;Bt++){let Jt=Mt[Bt].split("=");ut[decodeURIComponent(Jt[0])]=decodeURIComponent(Jt[1])}return ut}(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(Mt){const Bt=Object.assign({},this.opts.query);Bt.EIO=4,Bt.transport=Mt,this.id&&(Bt.sid=this.id);const Rt=Object.assign({},this.opts,{query:Bt,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[Mt]);return new Qt[Mt](Rt)}open(){let Mt;if(this.opts.rememberUpgrade&&Cn.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))Mt="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);Mt=this.transports[0]}this.readyState="opening";try{Mt=this.createTransport(Mt)}catch{return this.transports.shift(),void this.open()}Mt.open(),this.setTransport(Mt)}setTransport(Mt){this.transport&&this.transport.removeAllListeners(),this.transport=Mt,Mt.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",Bt=>this.onClose("transport close",Bt))}probe(Mt){let Bt=this.createTransport(Mt),Rt=!1;Cn.priorWebsocketSuccess=!1;const Jt=()=>{Rt||(Bt.send([{type:"ping",data:"probe"}]),Bt.once("packet",Oi=>{if(!Rt)if("pong"===Oi.type&&"probe"===Oi.data){if(this.upgrading=!0,this.emitReserved("upgrading",Bt),!Bt)return;Cn.priorWebsocketSuccess="websocket"===Bt.name,this.transport.pause(()=>{Rt||"closed"!==this.readyState&&(Jn(),this.setTransport(Bt),Bt.send([{type:"upgrade"}]),this.emitReserved("upgrade",Bt),Bt=null,this.upgrading=!1,this.flush())})}else{const Ci=new Error("probe error");Ci.transport=Bt.name,this.emitReserved("upgradeError",Ci)}}))};function He(){Rt||(Rt=!0,Jn(),Bt.close(),Bt=null)}const fe=Oi=>{const Ci=new Error("probe error: "+Oi);Ci.transport=Bt.name,He(),this.emitReserved("upgradeError",Ci)};function nt(){fe("transport closed")}function Ot(){fe("socket closed")}function rn(Oi){Bt&&Oi.name!==Bt.name&&He()}const Jn=()=>{Bt.removeListener("open",Jt),Bt.removeListener("error",fe),Bt.removeListener("close",nt),this.off("close",Ot),this.off("upgrading",rn)};Bt.once("open",Jt),Bt.once("error",fe),Bt.once("close",nt),this.once("close",Ot),this.once("upgrading",rn),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==Mt?this.setTimeoutFn(()=>{Rt||Bt.open()},200):Bt.open()}onOpen(){if(this.readyState="open",Cn.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let Mt=0;const Bt=this.upgrades.length;for(;Mt<Bt;Mt++)this.probe(this.upgrades[Mt])}}onPacket(Mt){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",Mt),this.emitReserved("heartbeat"),this.resetPingTimeout(),Mt.type){case"open":this.onHandshake(JSON.parse(Mt.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const Bt=new Error("server error");Bt.code=Mt.data,this.onError(Bt);break;case"message":this.emitReserved("data",Mt.data),this.emitReserved("message",Mt.data)}}onHandshake(Mt){this.emitReserved("handshake",Mt),this.id=Mt.sid,this.transport.query.sid=Mt.sid,this.upgrades=this.filterUpgrades(Mt.upgrades),this.pingInterval=Mt.pingInterval,this.pingTimeout=Mt.pingTimeout,this.maxPayload=Mt.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const Mt=this.getWritablePackets();this.transport.send(Mt),this.prevBufferLen=Mt.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let Bt=1;for(let Rt=0;Rt<this.writeBuffer.length;Rt++){const Jt=this.writeBuffer[Rt].data;if(Jt&&(Bt+=Pe(Jt)),Rt>0&&Bt>this.maxPayload)return this.writeBuffer.slice(0,Rt);Bt+=2}return this.writeBuffer}write(Mt,Bt,Rt){return this.sendPacket("message",Mt,Bt,Rt),this}send(Mt,Bt,Rt){return this.sendPacket("message",Mt,Bt,Rt),this}sendPacket(Mt,Bt,Rt,Jt){if("function"==typeof Bt&&(Jt=Bt,Bt=void 0),"function"==typeof Rt&&(Jt=Rt,Rt=null),"closing"===this.readyState||"closed"===this.readyState)return;(Rt=Rt||{}).compress=!1!==Rt.compress;const He={type:Mt,data:Bt,options:Rt};this.emitReserved("packetCreate",He),this.writeBuffer.push(He),Jt&&this.once("flush",Jt),this.flush()}close(){const Mt=()=>{this.onClose("forced close"),this.transport.close()},Bt=()=>{this.off("upgrade",Bt),this.off("upgradeError",Bt),Mt()},Rt=()=>{this.once("upgrade",Bt),this.once("upgradeError",Bt)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?Rt():Mt()}):this.upgrading?Rt():Mt()),this}onError(Mt){Cn.priorWebsocketSuccess=!1,this.emitReserved("error",Mt),this.onClose("transport error",Mt)}onClose(Mt,Bt){("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",Mt,Bt),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(Mt){const Bt=[];let Rt=0;const Jt=Mt.length;for(;Rt<Jt;Rt++)~this.transports.indexOf(Mt[Rt])&&Bt.push(Mt[Rt]);return Bt}}return Cn.protocol=4,Cn})();const Ii="function"==typeof ArrayBuffer,En=Cn=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(Cn):Cn.buffer instanceof ArrayBuffer,ln=Object.prototype.toString,Dn="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===ln.call(Blob),Ai="function"==typeof File||typeof File<"u"&&"[object FileConstructor]"===ln.call(File);function os(Cn){return Ii&&(Cn instanceof ArrayBuffer||En(Cn))||Dn&&Cn instanceof Blob||Ai&&Cn instanceof File}function Fs(Cn,ut){if(!Cn||"object"!=typeof Cn)return!1;if(Array.isArray(Cn)){for(let Mt=0,Bt=Cn.length;Mt<Bt;Mt++)if(Fs(Cn[Mt]))return!0;return!1}if(os(Cn))return!0;if(Cn.toJSON&&"function"==typeof Cn.toJSON&&1===arguments.length)return Fs(Cn.toJSON(),!0);for(const Mt in Cn)if(Object.prototype.hasOwnProperty.call(Cn,Mt)&&Fs(Cn[Mt]))return!0;return!1}function sn(Cn){const ut=[],Bt=Cn;return Bt.data=oi(Cn.data,ut),Bt.attachments=ut.length,{packet:Bt,buffers:ut}}function oi(Cn,ut){if(!Cn)return Cn;if(os(Cn)){const Mt={_placeholder:!0,num:ut.length};return ut.push(Cn),Mt}if(Array.isArray(Cn)){const Mt=new Array(Cn.length);for(let Bt=0;Bt<Cn.length;Bt++)Mt[Bt]=oi(Cn[Bt],ut);return Mt}if("object"==typeof Cn&&!(Cn instanceof Date)){const Mt={};for(const Bt in Cn)Object.prototype.hasOwnProperty.call(Cn,Bt)&&(Mt[Bt]=oi(Cn[Bt],ut));return Mt}return Cn}function pt(Cn,ut){return Cn.data=cn(Cn.data,ut),delete Cn.attachments,Cn}function cn(Cn,ut){if(!Cn)return Cn;if(Cn&&!0===Cn._placeholder){if("number"==typeof Cn.num&&Cn.num>=0&&Cn.num<ut.length)return ut[Cn.num];throw new Error("illegal attachments")}if(Array.isArray(Cn))for(let Mt=0;Mt<Cn.length;Mt++)Cn[Mt]=cn(Cn[Mt],ut);else if("object"==typeof Cn)for(const Mt in Cn)Object.prototype.hasOwnProperty.call(Cn,Mt)&&(Cn[Mt]=cn(Cn[Mt],ut));return Cn}const Tn=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],vi=5;var ui=function(Cn){return Cn[Cn.CONNECT=0]="CONNECT",Cn[Cn.DISCONNECT=1]="DISCONNECT",Cn[Cn.EVENT=2]="EVENT",Cn[Cn.ACK=3]="ACK",Cn[Cn.CONNECT_ERROR=4]="CONNECT_ERROR",Cn[Cn.BINARY_EVENT=5]="BINARY_EVENT",Cn[Cn.BINARY_ACK=6]="BINARY_ACK",Cn}(ui||{});class $i{constructor(ut){this.replacer=ut}encode(ut){return ut.type!==ui.EVENT&&ut.type!==ui.ACK||!Fs(ut)?[this.encodeAsString(ut)]:this.encodeAsBinary({type:ut.type===ui.EVENT?ui.BINARY_EVENT:ui.BINARY_ACK,nsp:ut.nsp,data:ut.data,id:ut.id})}encodeAsString(ut){let Mt=""+ut.type;return(ut.type===ui.BINARY_EVENT||ut.type===ui.BINARY_ACK)&&(Mt+=ut.attachments+"-"),ut.nsp&&"/"!==ut.nsp&&(Mt+=ut.nsp+","),null!=ut.id&&(Mt+=ut.id),null!=ut.data&&(Mt+=JSON.stringify(ut.data,this.replacer)),Mt}encodeAsBinary(ut){const Mt=sn(ut),Bt=this.encodeAsString(Mt.packet),Rt=Mt.buffers;return Rt.unshift(Bt),Rt}}function Nn(Cn){return"[object Object]"===Object.prototype.toString.call(Cn)}class Hn extends de{constructor(ut){super(),this.reviver=ut}add(ut){let Mt;if("string"==typeof ut){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");Mt=this.decodeString(ut);const Bt=Mt.type===ui.BINARY_EVENT;Bt||Mt.type===ui.BINARY_ACK?(Mt.type=Bt?ui.EVENT:ui.ACK,this.reconstructor=new Qn(Mt),0===Mt.attachments&&super.emitReserved("decoded",Mt)):super.emitReserved("decoded",Mt)}else{if(!os(ut)&&!ut.base64)throw new Error("Unknown type: "+ut);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");Mt=this.reconstructor.takeBinaryData(ut),Mt&&(this.reconstructor=null,super.emitReserved("decoded",Mt))}}decodeString(ut){let Mt=0;const Bt={type:Number(ut.charAt(0))};if(void 0===ui[Bt.type])throw new Error("unknown packet type "+Bt.type);if(Bt.type===ui.BINARY_EVENT||Bt.type===ui.BINARY_ACK){const Jt=Mt+1;for(;"-"!==ut.charAt(++Mt)&&Mt!=ut.length;);const He=ut.substring(Jt,Mt);if(He!=Number(He)||"-"!==ut.charAt(Mt))throw new Error("Illegal attachments");Bt.attachments=Number(He)}if("/"===ut.charAt(Mt+1)){const Jt=Mt+1;for(;++Mt&&","!==ut.charAt(Mt)&&Mt!==ut.length;);Bt.nsp=ut.substring(Jt,Mt)}else Bt.nsp="/";const Rt=ut.charAt(Mt+1);if(""!==Rt&&Number(Rt)==Rt){const Jt=Mt+1;for(;++Mt;){const He=ut.charAt(Mt);if(null==He||Number(He)!=He){--Mt;break}if(Mt===ut.length)break}Bt.id=Number(ut.substring(Jt,Mt+1))}if(ut.charAt(++Mt)){const Jt=this.tryParse(ut.substr(Mt));if(!Hn.isPayloadValid(Bt.type,Jt))throw new Error("invalid payload");Bt.data=Jt}return Bt}tryParse(ut){try{return JSON.parse(ut,this.reviver)}catch{return!1}}static isPayloadValid(ut,Mt){switch(ut){case ui.CONNECT:return Nn(Mt);case ui.DISCONNECT:return void 0===Mt;case ui.CONNECT_ERROR:return"string"==typeof Mt||Nn(Mt);case ui.EVENT:case ui.BINARY_EVENT:return Array.isArray(Mt)&&("number"==typeof Mt[0]||"string"==typeof Mt[0]&&-1===Tn.indexOf(Mt[0]));case ui.ACK:case ui.BINARY_ACK:return Array.isArray(Mt)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Qn{constructor(ut){this.packet=ut,this.buffers=[],this.reconPack=ut}takeBinaryData(ut){if(this.buffers.push(ut),this.buffers.length===this.reconPack.attachments){const Mt=pt(this.reconPack,this.buffers);return this.finishedReconstruction(),Mt}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function ri(Cn,ut,Mt){return Cn.on(ut,Mt),function(){Cn.off(ut,Mt)}}const li=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Fi extends de{constructor(ut,Mt,Bt){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=ut,this.nsp=Mt,Bt&&Bt.auth&&(this.auth=Bt.auth),this._opts=Object.assign({},Bt),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const ut=this.io;this.subs=[ri(ut,"open",this.onopen.bind(this)),ri(ut,"packet",this.onpacket.bind(this)),ri(ut,"error",this.onerror.bind(this)),ri(ut,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...ut){return ut.unshift("message"),this.emit.apply(this,ut),this}emit(ut,...Mt){if(li.hasOwnProperty(ut))throw new Error('"'+ut.toString()+'" is a reserved event name');if(Mt.unshift(ut),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(Mt),this;const Bt={type:ui.EVENT,data:Mt,options:{}};if(Bt.options.compress=!1!==this.flags.compress,"function"==typeof Mt[Mt.length-1]){const He=this.ids++,fe=Mt.pop();this._registerAckCallback(He,fe),Bt.id=He}return this.flags.volatile&&(!(this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable)||!this.connected)||(this.connected?(this.notifyOutgoingListeners(Bt),this.packet(Bt)):this.sendBuffer.push(Bt)),this.flags={},this}_registerAckCallback(ut,Mt){var Bt;const Rt=null!==(Bt=this.flags.timeout)&&void 0!==Bt?Bt:this._opts.ackTimeout;if(void 0===Rt)return void(this.acks[ut]=Mt);const Jt=this.io.setTimeoutFn(()=>{delete this.acks[ut];for(let fe=0;fe<this.sendBuffer.length;fe++)this.sendBuffer[fe].id===ut&&this.sendBuffer.splice(fe,1);Mt.call(this,new Error("operation has timed out"))},Rt),He=(...fe)=>{this.io.clearTimeoutFn(Jt),Mt.apply(this,fe)};He.withError=!0,this.acks[ut]=He}emitWithAck(ut,...Mt){return new Promise((Bt,Rt)=>{const Jt=(He,fe)=>He?Rt(He):Bt(fe);Jt.withError=!0,Mt.push(Jt),this.emit(ut,...Mt)})}_addToQueue(ut){let Mt;"function"==typeof ut[ut.length-1]&&(Mt=ut.pop());const Bt={id:this._queueSeq++,tryCount:0,pending:!1,args:ut,flags:Object.assign({fromQueue:!0},this.flags)};ut.push((Rt,...Jt)=>Bt!==this._queue[0]?void 0:(null!==Rt?Bt.tryCount>this._opts.retries&&(this._queue.shift(),Mt&&Mt(Rt)):(this._queue.shift(),Mt&&Mt(null,...Jt)),Bt.pending=!1,this._drainQueue())),this._queue.push(Bt),this._drainQueue()}_drainQueue(ut=!1){if(!this.connected||0===this._queue.length)return;const Mt=this._queue[0];Mt.pending&&!ut||(Mt.pending=!0,Mt.tryCount++,this.flags=Mt.flags,this.emit.apply(this,Mt.args))}packet(ut){ut.nsp=this.nsp,this.io._packet(ut)}onopen(){"function"==typeof this.auth?this.auth(ut=>{this._sendConnectPacket(ut)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(ut){this.packet({type:ui.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},ut):ut})}onerror(ut){this.connected||this.emitReserved("connect_error",ut)}onclose(ut,Mt){this.connected=!1,delete this.id,this.emitReserved("disconnect",ut,Mt),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(ut=>{if(!this.sendBuffer.some(Bt=>String(Bt.id)===ut)){const Bt=this.acks[ut];delete this.acks[ut],Bt.withError&&Bt.call(this,new Error("socket has been disconnected"))}})}onpacket(ut){if(ut.nsp===this.nsp)switch(ut.type){case ui.CONNECT:ut.data&&ut.data.sid?this.onconnect(ut.data.sid,ut.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case ui.EVENT:case ui.BINARY_EVENT:this.onevent(ut);break;case ui.ACK:case ui.BINARY_ACK:this.onack(ut);break;case ui.DISCONNECT:this.ondisconnect();break;case ui.CONNECT_ERROR:this.destroy();const Bt=new Error(ut.data.message);Bt.data=ut.data.data,this.emitReserved("connect_error",Bt)}}onevent(ut){const Mt=ut.data||[];null!=ut.id&&Mt.push(this.ack(ut.id)),this.connected?this.emitEvent(Mt):this.receiveBuffer.push(Object.freeze(Mt))}emitEvent(ut){if(this._anyListeners&&this._anyListeners.length){const Mt=this._anyListeners.slice();for(const Bt of Mt)Bt.apply(this,ut)}super.emit.apply(this,ut),this._pid&&ut.length&&"string"==typeof ut[ut.length-1]&&(this._lastOffset=ut[ut.length-1])}ack(ut){const Mt=this;let Bt=!1;return function(...Rt){Bt||(Bt=!0,Mt.packet({type:ui.ACK,id:ut,data:Rt}))}}onack(ut){const Mt=this.acks[ut.id];"function"==typeof Mt&&(delete this.acks[ut.id],Mt.withError&&ut.data.unshift(null),Mt.apply(this,ut.data))}onconnect(ut,Mt){this.id=ut,this.recovered=Mt&&this._pid===Mt,this._pid=Mt,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(ut=>this.emitEvent(ut)),this.receiveBuffer=[],this.sendBuffer.forEach(ut=>{this.notifyOutgoingListeners(ut),this.packet(ut)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(ut=>ut()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:ui.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(ut){return this.flags.compress=ut,this}get volatile(){return this.flags.volatile=!0,this}timeout(ut){return this.flags.timeout=ut,this}onAny(ut){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(ut),this}prependAny(ut){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(ut),this}offAny(ut){if(!this._anyListeners)return this;if(ut){const Mt=this._anyListeners;for(let Bt=0;Bt<Mt.length;Bt++)if(ut===Mt[Bt])return Mt.splice(Bt,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(ut){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(ut),this}prependAnyOutgoing(ut){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(ut),this}offAnyOutgoing(ut){if(!this._anyOutgoingListeners)return this;if(ut){const Mt=this._anyOutgoingListeners;for(let Bt=0;Bt<Mt.length;Bt++)if(ut===Mt[Bt])return Mt.splice(Bt,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(ut){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const Mt=this._anyOutgoingListeners.slice();for(const Bt of Mt)Bt.apply(this,ut.data)}}}function ei(Cn){this.ms=(Cn=Cn||{}).min||100,this.max=Cn.max||1e4,this.factor=Cn.factor||2,this.jitter=Cn.jitter>0&&Cn.jitter<=1?Cn.jitter:0,this.attempts=0}ei.prototype.duration=function(){var Cn=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var ut=Math.random(),Mt=Math.floor(ut*this.jitter*Cn);Cn=1&Math.floor(10*ut)?Cn+Mt:Cn-Mt}return 0|Math.min(Cn,this.max)},ei.prototype.reset=function(){this.attempts=0},ei.prototype.setMin=function(Cn){this.ms=Cn},ei.prototype.setMax=function(Cn){this.max=Cn},ei.prototype.setJitter=function(Cn){this.jitter=Cn};class Hi extends de{constructor(ut,Mt){var Bt;super(),this.nsps={},this.subs=[],ut&&"object"==typeof ut&&(Mt=ut,ut=void 0),(Mt=Mt||{}).path=Mt.path||"/socket.io",this.opts=Mt,Oe(this,Mt),this.reconnection(!1!==Mt.reconnection),this.reconnectionAttempts(Mt.reconnectionAttempts||1/0),this.reconnectionDelay(Mt.reconnectionDelay||1e3),this.reconnectionDelayMax(Mt.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(Bt=Mt.randomizationFactor)&&void 0!==Bt?Bt:.5),this.backoff=new ei({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==Mt.timeout?2e4:Mt.timeout),this._readyState="closed",this.uri=ut;const Rt=Mt.parser||n;this.encoder=new Rt.Encoder,this.decoder=new Rt.Decoder,this._autoConnect=!1!==Mt.autoConnect,this._autoConnect&&this.open()}reconnection(ut){return arguments.length?(this._reconnection=!!ut,this):this._reconnection}reconnectionAttempts(ut){return void 0===ut?this._reconnectionAttempts:(this._reconnectionAttempts=ut,this)}reconnectionDelay(ut){var Mt;return void 0===ut?this._reconnectionDelay:(this._reconnectionDelay=ut,null===(Mt=this.backoff)||void 0===Mt||Mt.setMin(ut),this)}randomizationFactor(ut){var Mt;return void 0===ut?this._randomizationFactor:(this._randomizationFactor=ut,null===(Mt=this.backoff)||void 0===Mt||Mt.setJitter(ut),this)}reconnectionDelayMax(ut){var Mt;return void 0===ut?this._reconnectionDelayMax:(this._reconnectionDelayMax=ut,null===(Mt=this.backoff)||void 0===Mt||Mt.setMax(ut),this)}timeout(ut){return arguments.length?(this._timeout=ut,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(ut){if(~this._readyState.indexOf("open"))return this;this.engine=new Un(this.uri,this.opts);const Mt=this.engine,Bt=this;this._readyState="opening",this.skipReconnect=!1;const Rt=ri(Mt,"open",function(){Bt.onopen(),ut&&ut()}),Jt=fe=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",fe),ut?ut(fe):this.maybeReconnectOnOpen()},He=ri(Mt,"error",Jt);if(!1!==this._timeout){const nt=this.setTimeoutFn(()=>{Rt(),Jt(new Error("timeout")),Mt.close()},this._timeout);this.opts.autoUnref&&nt.unref(),this.subs.push(()=>{this.clearTimeoutFn(nt)})}return this.subs.push(Rt),this.subs.push(He),this}connect(ut){return this.open(ut)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const ut=this.engine;this.subs.push(ri(ut,"ping",this.onping.bind(this)),ri(ut,"data",this.ondata.bind(this)),ri(ut,"error",this.onerror.bind(this)),ri(ut,"close",this.onclose.bind(this)),ri(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(ut){try{this.decoder.add(ut)}catch(Mt){this.onclose("parse error",Mt)}}ondecoded(ut){zn(()=>{this.emitReserved("packet",ut)},this.setTimeoutFn)}onerror(ut){this.emitReserved("error",ut)}socket(ut,Mt){let Bt=this.nsps[ut];return Bt?this._autoConnect&&!Bt.active&&Bt.connect():(Bt=new Fi(this,ut,Mt),this.nsps[ut]=Bt),Bt}_destroy(ut){const Mt=Object.keys(this.nsps);for(const Bt of Mt)if(this.nsps[Bt].active)return;this._close()}_packet(ut){const Mt=this.encoder.encode(ut);for(let Bt=0;Bt<Mt.length;Bt++)this.engine.write(Mt[Bt],ut.options)}cleanup(){this.subs.forEach(ut=>ut()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(ut,Mt){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",ut,Mt),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const ut=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const Mt=this.backoff.duration();this._reconnecting=!0;const Bt=this.setTimeoutFn(()=>{ut.skipReconnect||(this.emitReserved("reconnect_attempt",ut.backoff.attempts),!ut.skipReconnect&&ut.open(Rt=>{Rt?(ut._reconnecting=!1,ut.reconnect(),this.emitReserved("reconnect_error",Rt)):ut.onreconnect()}))},Mt);this.opts.autoUnref&&Bt.unref(),this.subs.push(()=>{this.clearTimeoutFn(Bt)})}}onreconnect(){const ut=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",ut)}}const gn={};function yn(Cn,ut){"object"==typeof Cn&&(ut=Cn,Cn=void 0);const Mt=function Xn(Cn,ut="",Mt){let Bt=Cn;Mt=Mt||typeof location<"u"&&location,null==Cn&&(Cn=Mt.protocol+"//"+Mt.host),"string"==typeof Cn&&("/"===Cn.charAt(0)&&(Cn="/"===Cn.charAt(1)?Mt.protocol+Cn:Mt.host+Cn),/^(https?|wss?):\/\//.test(Cn)||(Cn=typeof Mt<"u"?Mt.protocol+"//"+Cn:"https://"+Cn),Bt=Mn(Cn)),Bt.port||(/^(http|ws)$/.test(Bt.protocol)?Bt.port="80":/^(http|ws)s$/.test(Bt.protocol)&&(Bt.port="443")),Bt.path=Bt.path||"/";const Jt=-1!==Bt.host.indexOf(":")?"["+Bt.host+"]":Bt.host;return Bt.id=Bt.protocol+"://"+Jt+":"+Bt.port+ut,Bt.href=Bt.protocol+"://"+Jt+(Mt&&Mt.port===Bt.port?"":":"+Bt.port),Bt}(Cn,(ut=ut||{}).path||"/socket.io"),Bt=Mt.source,Rt=Mt.id;let nt;return ut.forceNew||ut["force new connection"]||!1===ut.multiplex||gn[Rt]&&Mt.path in gn[Rt].nsps?nt=new Hi(Bt,ut):(gn[Rt]||(gn[Rt]=new Hi(Bt,ut)),nt=gn[Rt]),Mt.query&&!ut.query&&(ut.query=Mt.queryKey),nt.socket(Mt.path,ut)}Object.assign(yn,{Manager:Hi,Socket:Fi,io:yn,connect:yn});var hn=s(50835),Bn=s(93953),mi=s(15387),wi=function(Cn){return Cn.tipWatch="ENO_WATCH",Cn.criteriaWatch="CRITERIA_WATCH",Cn.queryWatch="QUERY_WATCH",Cn.formulaWatch="FORMULA_WATCH",Cn.processResponse="PROCESS_RESPONSE",Cn}(wi||{});let Si=(()=>{class Cn{constructor(Mt,Bt){this._sessionManagerService=Mt,this.ngZone=Bt,this._isConnectedToServer$=new m.t(!0),this._initSocket(),this._initSessionMessage(),this._initMessageReceiver(),this._socketDisconnected=!1}get isConnectedToServer$(){return this._isConnectedToServer$.asObservable()}static _isSessionMessage(Mt){return Mt.topic.startsWith("session-")}static _generateSessionMessageTopic(Mt){return`session-${(0,a.SHA256)(Mt).toString()}`}_initSocket(){this.ngZone.runOutsideAngular(()=>{const Mt={path:hn.c.pubSubPath+"/socket.io/"};this._socket=hn.c.pubSubHost?yn(hn.c.pubSubHost,Mt):yn(Mt),this._socket.on("connect",()=>{this._isConnectedToServer$.next(!0),!0===this._socketDisconnected&&(this._socket.emit("subscribe",{topic:this._SessionMessageTopic}),this._socketDisconnected=!1)}),this._socket.on("disconnect",()=>{this._isConnectedToServer$.next(!1),this._socketDisconnected=!0})})}_initSessionMessage(){this._sessionMessageSubject=new T.B,this._sessionManagerService.getSessionInfo$().pipe((0,O.$)(Mt=>!!Mt.token)).subscribe(Mt=>{this._SessionMessageTopic=Cn._generateSessionMessageTopic(Mt.token),this._socket.emit("subscribe",{topic:this._SessionMessageTopic})})}_initMessageReceiver(){this.ngZone.runOutsideAngular(()=>{this._socket.on("receive",Mt=>{Cn._isSessionMessage(Mt)&&this.ngZone.run(()=>{this._sessionMessageSubject.next(JSON.parse(Mt.data))})})})}ngOnDestroy(){this._SessionMessageTopic&&this._socket.emit("unsubscribe",{topic:this._SessionMessageTopic})}receiveSessionMessage(Mt,Bt){return this._sessionMessageSubject.pipe((0,D.p)(Rt=>Rt.type===Mt),(0,D.p)(Rt=>!(0,g.isFunction)(Bt)||Bt(Rt)))}publish(Mt){this._socket.emit("publish",{topic:this._SessionMessageTopic,data:JSON.stringify(Mt)})}static#e=this.\u0275fac=function(Bt){return new(Bt||Cn)(Bn.KVO(mi.Pb),Bn.KVO(Bn.SKi))};static#t=this.\u0275prov=Bn.jDH({token:Cn,factory:Cn.\u0275fac,providedIn:"root"})}return Cn})()},34775:(at,N,s)=>{"use strict";s.d(N,{CD:()=>T,HF:()=>O,Ik:()=>m});var n=s(37600),a=s(67376);function m(C,w,M){const q=(0,a.cloneDeep)(C);q.vars||(q.vars={}),q.vars["Type fields to search"]=w,q.vars["Search value"]=[M];const z={label:"If provided fields' values have text matching provided search value",formula:'INARRAY(SEARCH_IN_FIELD(VAR("Search value"), VAR("Type fields to search")), TIP())'};return q.extraFilters?q.extraFilters.push(z):q.extraFilters=[z],q}function T(C,w,M,q){const z=(0,a.cloneDeep)(C);z.vars||(z.vars={}),z.vars["Type tip to search"]=w,z.vars["Search value"]=[M];const U={label:"If provided typeTip values have text matching provided search value",formula:`${D(q)}`};return z.extraFilters?z.extraFilters.push(U):z.extraFilters=[U],z}function O(C,w){const M=(0,a.cloneDeep)(C);if(!(0,a.isEmpty)(w)){const q={label:"If tips are not in the exclusion list",formula:'NOT(INARRAY(VAR("Excluded tips"), TIP()))'};M.vars||(M.vars={}),M.vars["Excluded tips"]=w,M.extraFilters?M.extraFilters.push(q):M.extraFilters=[q]}return M}function D(C){const w='INARRAY(SEARCH_IN_TYPE(VAR("Search value"), VAR("Type tip to search")), TIP())';return(0,a.isEmpty)(C)?w:`AND(${[w,L(C)].map(z=>z).filter(Boolean).join(",")})`}function I(C){return C?"createdDate":"modifiedDate"}function b(C,w){const M=[];return C.fromDate&&M.push(function E(C,w){return`OP(DATE_DIFF(TO_DATETIME(CONCAT("@",FLOOR(SERVER_T("${I(w)}")))),LAST("${C.fromDate}"),"seconds"),">=",0)`}(C,w)),C.toDate&&M.push(function y(C,w){return`OP(DATE_DIFF(TO_DATETIME(CONCAT("@",FLOOR(SERVER_T("${I(w)}")))),FIRST("${C.toDate}"),"seconds"),"<=",0)`}(C,w)),M.join(",")}function L(C){return C.dateType===n.Vr.ANY_DATE?C.fromDate||C.toDate?`OR(AND(${b(C,!0)}),AND(${b(C,!1)}))`:null:C.dateType===n.Vr.CREATED_ON?b(C,!0):C.dateType===n.Vr.LAST_MODIFIED_ON?b(C,!1):void 0}},51229:(at,N,s)=>{"use strict";s.d(N,{b:()=>te,c:()=>ae});var n=s(67376),a=s(21413),g=s(71985),m=s(18359),T=s(7673),O=s(92771),D=s(56977),E=s(5964),y=s(96354),I=s(25558),b=s(23294),L=s(70980),o=s(55972),C=s(99898),w=s(40838),M=s(17338),q=s(79551),z=s(40673),F=s(19439),U=s(39668),k=s(72564),Y=s(97586),x=s.n(Y),B=s(93953),j=s(99760),$=s(63137),H=s(70559),ie=s(32099),ne=s(96697),Q=s(7134);let le=(()=>{class de{constructor(me,be){this._enoService=me,this._enoCacheService=be}parse(me){return new g.c(be=>{const Le=me.getFieldValues("response/query/attributes"),Ae=me.getFieldValues("response/query/runtime-attributes"),Oe=me.getFieldValues("response/query/dimensions"),Xe=me.getFieldValues("response/query/runtime-dimensions"),Pe=me.getFieldValues("response/query/result"),$e={attributes:null,dimensions:null,results:null,execTime:me.getFieldNumberValue("response/query/exec-time")};this._enoService.readEnos(Le,{useCache:!0}).pipe((0,ne.s)(1)).subscribe(ze=>{const Be=[];Oe.forEach(Ye=>{Be.push(this._enoCacheService.getEno(Ye))}),$e.attributes=ze.map(Ye=>({tip:Ye.tip,label:Ye.getFieldStringValue("query/attribute/label")})),Ae.forEach(Ye=>{const Ct=JSON.parse(Ye);$e.attributes.push({label:Ct.label})}),$e.dimensions=Be.map(Ye=>({label:Ye.getFieldStringValue("response/query/dimension/label"),values:Ye.getFieldValues("response/query/dimension/value")})),Xe.forEach(Ye=>{const Ct=JSON.parse(Ye);$e.dimensions.push({label:Ct.label,values:Ct.value})}),$e.results=this._unpack(Pe,$e.dimensions,$e.attributes),be.next($e),be.complete()})})}parseTipOneDimensionQuery(me){const be=[];return me.results.forEach(Le=>{let Ae;for(const Oe in Le)Le[Oe]&&(Ae={...Le[Oe]},Ae.$tip=Oe);be.push(Ae)}),be}_unpack(me,be,Le,Ae=[],Oe=0){if(Oe===be.length-1){let Xe=0;return be[be.length-1].values.forEach(Pe=>{const $e={};if($e[Pe]={},"{#}"!==me[Xe]){for(const ze of Le)$e[Pe][ze.label]=me[Xe++];Ae.push($e)}else Xe+=Le.length}),Ae}return be[Oe]?(be[Oe].values.forEach((Xe,Pe)=>{const $e=[],ze=me.length/be[Oe].values.length,Be=Pe*ze,Ye=Be+ze;Ae[Pe]={},Ae[Pe][Xe]=$e,this._unpack(me.slice(Be,Ye),be,Le,$e,Oe+1)}),Ae):[]}static#e=this.\u0275fac=function(be){return new(be||de)(B.KVO(j.g),B.KVO(Q.u))};static#t=this.\u0275prov=B.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})();var pe=s(64552);const te=[{label:"Tip dimension",formula:"TIP()"}];let ae=(()=>{class de{constructor(me,be,Le,Ae,Oe,Xe,Pe,$e){this._currentDatetimeService=me,this._enoService=be,this._ensrvService=Le,this._i18nService=Ae,this._loggerService=Oe,this._pubSubService=Xe,this._queryResponseParserService=Pe,this._opCacheService=$e,this.defaultTimeoutMs=3e4,this.timeoutBufferMs=2e3,this.minimumQueryTimeoutMs=1e3,this.maximumQueryTimeoutMs=28e3,this.minimumObservableTimeoutMs=1500,this._responseStation={},this.debugConfig=w.m,this.enableWatchLogging=!1,this.opStorage={},this.destroy$=new a.B,this._pubSubService.receiveSessionMessage(k.B.queryWatch).pipe((0,D.Q)(this.destroy$),(0,E.p)(({op:ze})=>void 0!==this._responseStation[ze]&&void 0!==this.opStorage[ze]),(0,U.$)(5e3,ze=>ze.op,Oe)).subscribe(({op:ze})=>this.handleQueryWatchData(this.opStorage[ze])),this._ensrvService.getEnoReceiver("response/query").pipe((0,D.Q)(this.destroy$)).subscribe(ze=>this._broadcastResult(ze))}static commaSeparatedResult(me){return(0,n.mapValues)(me,be=>be.join(", "))}static commaSeparatedResults(me){return me.map(be=>de.commaSeparatedResult(be))}static firstResult(me){return(0,n.mapValues)(me,n.head)}static firstResults(me){return me.map(be=>de.firstResult(be))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}now(){return x()().toISOString()}handleQueryWatchData(me){const be=new F.f;be.setProtoToPatch(me),be.useEmptyNonce();const Le=me.getFieldJsonValue("op/query/query")||{};(0,n.has)(Le,["vars",M.t])&&(0,n.set)(Le,["vars",M.t],[this._currentDatetimeService.getCurrentDatetime()]),(0,n.set)(Le,"lastPersist",this.now()),be.setField("op/query/query",[JSON.stringify(Le)]),be.setField("op/query/watch",["false"]);const Ae=be.makeEno();this._enoService.writeEno(Ae).subscribe(()=>{this.debugConfig.query.watch.watchProgress&&this._loggerService.debug("op/query is sent triggered by query watch",{opQuery:me,updatedOpQuery:Ae})},Oe=>{this.debugConfig.query.watch.watchProgress&&this._loggerService.error("op/query failed triggered by query watch",{opQuery:me,updatedOpQuery:Ae,error:Oe})})}_broadcastResult(me){const be=me.getFieldStringValue("response/query/op-tip"),Le=this._responseStation[be];Le&&this._queryResponseParserService.parse(me).subscribe(Ae=>Le.broadcaster.next(Ae),()=>this._sendResponseBroadcasterError(be,"Unable to parse query response"))}getWatchedQueries(){return(0,n.cloneDeep)(this._responseStation)}toggleWatchLogging(){this.enableWatchLogging=!this.enableWatchLogging,console.log("Query watch logging is now "+(this.enableWatchLogging?"enabled":"disabled"))}execute1dFirst(me,be={branch:z.Ay.BRANCH_MASTER,watch:!0,vars:{},extraFilters:[],extraAttributes:[],dimensionOptions:te}){return this.execute1dArray(me,be).pipe((0,y.T)(Le=>de.firstResults(Le)))}execute1dCommaSeparated(me,be={branch:z.Ay.BRANCH_MASTER,watch:!0,vars:{},extraFilters:[],extraAttributes:[],dimensionOptions:te}){return this.execute1dArray(me,be).pipe((0,y.T)(Le=>de.commaSeparatedResults(Le)))}execute1dArray(me,be={branch:z.Ay.BRANCH_MASTER,watch:!0,vars:{},extraFilters:[],extraAttributes:[],dimensionOptions:te}){return this.execute(me,be).pipe((0,y.T)(Le=>{const Ae=Le.dimensions[0]?.values;return Le.results.map((Oe,Xe)=>{const Pe=Oe[Ae[Xe]];for(const $e in Pe)if(Pe.hasOwnProperty($e)&&"string"==typeof Pe[$e]){const ze=(0,q.rO)(Pe[$e]);Pe[$e]=K(ze)}return Pe})}))}execute(me,be={branch:z.Ay.BRANCH_MASTER,watch:!0,vars:{},extraFilters:[],extraAttributes:[],dimensionOptions:te}){return this.getLangsOption(be).pipe((0,I.n)(Le=>{this._normalizeQueryOptions(be,Le);const Ae=this._prepareInlineOperation(me,be);this.opStorage[Ae.tip]=Ae;const Oe=this._getResponseBroadcaster(Ae.tip,me),{observableTimeoutMs:Xe}=this.calcQueryTimeouts(be.timeoutMs),Pe=this._ensrvService.send([Ae],{timeoutMs:Xe}).subscribe($e=>{if(0===$e.filter(ze=>"response/query"===ze.getType()).length)return this._sendResponseBroadcasterError(Ae.tip,"Query execution failed. Probably an invalid query.")},()=>this._sendResponseBroadcasterError(Ae.tip,"Query execution failed"));return new g.c($e=>{let ze=new m.yU;be.watch&&(ze=this._opCacheService.get$(Ae.tip).subscribe(Ye=>$e.next(Ye)));const Be=Oe.observable.subscribe({next:Ye=>{ze.unsubscribe(),$e.next(Ye),this._opCacheService.set$(Ae.tip,{...Ye,execTime:0}).subscribe()},error:Ye=>$e.error(Ye),complete:()=>$e.complete()});return()=>{Be.unsubscribe(),Pe.unsubscribe(),ze.unsubscribe()}}).pipe((0,b.F)(($e,ze)=>(0,n.isEqual)($e.results,ze.results)),(0,y.T)(n.cloneDeep))}))}calcQueryTimeouts(me){return{queryTimeoutMs:Math.min(this.maximumQueryTimeoutMs,Math.max(this.minimumQueryTimeoutMs,me-this.timeoutBufferMs)),observableTimeoutMs:Math.max(this.minimumObservableTimeoutMs,me)}}getLangsOption(me){return Array.isArray(me.langs)&&me.langs.length>0?(0,T.of)(me.langs):this._i18nService.acceptableLocaleIds$}_normalizeQueryOptions(me,be){me.branch=me.branch||z.Ay.BRANCH_MASTER,me.langs=be,me.watch=void 0===me.watch||me.watch,me.vars=me.vars||{},me.vars[M.t]=[this._currentDatetimeService.getCurrentDatetime()],me.extraFilters=me.extraFilters||[],me.extraAttributes=me.extraAttributes||[],me.dimensionOptions=me.dimensionOptions||te,me.timeoutMs=me.timeoutMs||this.defaultTimeoutMs}_prepareInlineOperation(me,be){const{queryTimeoutMs:Le}=this.calcQueryTimeouts(be.timeoutMs),Ae=new F.f("op/query",z.Ay.SECURITY.OP);Ae.useEmptyNonce(),Ae.setField({tip:"op/query/tip",value:[me]}).setField({tip:"op/query/branch",value:[be.branch]}).setField({tip:"op/query/watch",value:[be.watch?"true":"false"]}).setField({tip:"op/query/lang",value:be.langs}).setField({tip:"op/query/timeout",value:[Le.toString()]});const Oe={attributes:be.extraAttributes,filters:be.extraFilters,dimensions:be.dimensionOptions,vars:(0,n.omit)(be.vars,M.t)};Ae.setField({tip:"op/query/query",value:[JSON.stringify(Oe)]});const Xe=Ae.makeEno(),Pe=this._ensrvService.getLastPersist(),$e=new F.f;return $e.setProtoToPatch(Xe),$e.useEmptyNonce(),Oe.vars=be.vars,Pe&&(Oe.lastPersist=Pe),$e.setField({tip:"op/query/query",value:[JSON.stringify(Oe)]}),$e.makeEno()}_getResponseBroadcaster(me,be){if(!this._responseStation[me]){const Le=new O.m(1),Ae=Le.pipe((0,L.j)(()=>this._ungetResponseBroadcaster(me)),(0,o.H)(1),(0,C.B)());this._responseStation[me]={broadcaster:Le,observable:Ae,queryTip:be},this.enableWatchLogging&&console.log(`Currently watching ${Object.keys(this._responseStation).length} queries. Last %caddition%c to query watch: ${be}.`,"color: green","color: unset")}return this._responseStation[me]}_ungetResponseBroadcaster(me){if(!this._responseStation[me])return;const Ae=new F.f("op/watch/unregister",z.Ay.SECURITY.OP).setFields([{tip:"op/watch/unregister:op-id",value:[me]}]).makeEno(),Oe=this._responseStation[me].queryTip;this._ensrvService.send([Ae]).subscribe(),delete this._responseStation[me],delete this.opStorage[me],this.enableWatchLogging&&console.log(`Currently watching ${Object.keys(this._responseStation).length} queries. Last %cremoval%c from query watch: ${Oe}.`,"color: red","color: unset")}_sendResponseBroadcasterError(me,be){this._responseStation[me]&&(this._responseStation[me].broadcaster.error(new Error(be)),delete this._responseStation[me])}deleteEmptyProp(me,be){return me.forEach(Le=>{be.forEach(Ae=>{""===Le[Ae]&&delete Le[Ae]})}),me}static#e=this.\u0275fac=function(be){return new(be||de)(B.KVO(M.Y),B.KVO(j.g),B.KVO($.w),B.KVO(H.W4),B.KVO(ie.g),B.KVO(k.R),B.KVO(le),B.KVO(pe.D))};static#t=this.\u0275prov=B.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})();function K(de){return 1===de.length&&0===de[0].length?[]:de}},57089:(at,N,s)=>{"use strict";s.d(N,{h:()=>g});const n={allowedTags:["b","i","u","strong","strike","br","span","em","p","h1","h2","h3","h4","h5","h6","sup","sub","code","blockquote","div","pre","ol","ul","li","a","img","table","tr","td","hr","iframe","input"],allowedAttributes:{"*":["style"],a:["href","target","rel"],img:["src","alt","crossorigin","height","width"],div:["data-substitutions","role","aria-live"],iframe:["width","height","src","frameborder"],td:["colspan","rowspan"],input:["class","disabled","readonly","value","size","data-substitution"],span:["class","contenteditable","data-substitution"]},allowedStyles:{"*":{"font-family":[/^.*$/],"font-size":[/^.*$/],height:[/^.*$/],margin:[/^.*$/],"margin-top":[/^.*$/],"margin-right":[/^.*$/],"margin-bottom":[/^.*$/],"margin-left":[/^.*$/],padding:[/^.*$/],"padding-top":[/^.*$/],"padding-right":[/^.*$/],"padding-bottom":[/^.*$/],"padding-left":[/^.*$/],"text-align":[/^.*$/],"text-decoration":[/^.*$/],"text-transform":[/^.*$/],width:[/^.*$/],color:[/^.*$/],"background-color":[/^.*$/],border:[/^.*$/],"border-style":[/^.*$/],"border-width":[/^.*$/],"border-color":[/^.*$/],"border-top-style":[/^.*$/],"border-right-style":[/^.*$/],"border-bottom-style":[/^.*$/],"border-left-style":[/^.*$/]}},selfClosing:["img","br","hr"],allowedSchemes:["http","https"],allowedSchemesByTag:{img:["data","enmedia"]},allowProtocolRelative:!1};var a=s(93953);let g=(()=>{class m{static sanitizeHtml(O){return sanitizeHtml(O,n)}static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275prov=a.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})()},50701:(at,N,s)=>{"use strict";s.d(N,{h:()=>Y,i:()=>B});var n=s(67376),g=s(84572),m=s(7673),T=s(96354),O=s(25558),D=s(5964),E=s(61594),y=s(55516),I=s(19472),b=s(11310),L=s(5002),o=s(16995),C=s(93953),w=s(27916),M=s(76087),q=s(51229),z=s(99760),F=s(65348),U=s(10506),k=s(44667),Y=function($){return $.SYSTEM="system",$.CENTRAL="central",$.BESPOKE="bespoke",$}(Y||{});const x=["app/security-policy/instance-admin-admin","app/security-policy/system-all-users-read","app/security-policy/system-all-users-read-modify","app/security-policy/system-all-users-read-write","app/security-policy/system-all-users-read-write-delete"];let B=(()=>{class ${constructor(ie,ne,Q,le,pe,te,ae){this.processService=ie,this.formulaService=ne,this.queryService=Q,this.enoService=le,this.myProfileService=pe,this.featureFlagStateService=te,this.objectService=ae,this.securityPolicyVariantCache={}}getSecurityPolicies$(){const ie=this.featureFlagStateService.isFeatureEnabled$(L.g.FEATURE_EIM_24175_OBJECT_EDIT_SECURITY_POLICY).pipe((0,T.T)(Q=>x.filter(le=>Q||"app/security-policy/system-all-users-read-modify"!==le&&"app/security-policy/instance-admin-admin"!==le)),(0,O.n)(Q=>this.enoService.readEnos(Q,{useCache:!0})),(0,T.T)(Q=>Q.map(le=>({$tip:le.tip,name:le.getFieldStringValue("security/policy/label")})))),ne=this.queryService.execute1dFirst(y.R.GET_SECURITY_POLICIES,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:["TITLE()"],sortdir:["asc"]}]}).pipe((0,T.T)(Q=>Q.map(le=>({$tip:le.$tip,name:le.Name}))));return(0,g.z)([ie,ne]).pipe((0,T.T)(([Q,le])=>[...Q,...le]))}getSecurityPolicy$(ie){let ne;return this.enoService.readEno(ie,{useCache:!1}).pipe((0,O.n)(Q=>{const le=(0,I.u)(Q.getFieldValues("security/policy/tag")),pe=le.has("cohortstash")?JSON.parse(le.get("cohortstash")):{},te=le.has("solution")?le.get("solution"):[];return ne={$tip:Q.tip,name:Q.getFieldStringValue("security/policy/label"),description:le.get("description")||"",type:le.get("policytype"),...pe},(0,n.isEmpty)(te)?(0,m.of)(null):this.objectService.getObjects((0,n.isArray)(te)?te:[te],o.h)}),(0,T.T)(Q=>({...ne,solutions:Q})))}createSecurityPolicy$(ie){const ne=this.convertSecurityPolicyToVars(ie);return this.processService.start("eim/process/security/create-security-policy",ne).pipe((0,D.p)(({finished:Q})=>!!Q),(0,E.$)(),(0,T.T)(Q=>{if(Q&&Q.vars&&Q.vars.SecurityPolicy&&Q.vars.SecurityPolicy.length>0)return Q.vars.SecurityPolicy[0];throw new Error("Unable to create new security policy")}))}updateSecurityPolicy$(ie){const ne={SecurityPolicyTip:[ie.$tip],...this.convertSecurityPolicyToVars(ie)};return this.processService.start("eim/process/security/update-security-policy",ne).pipe((0,D.p)(({finished:Q})=>!!Q),(0,E.$)(),(0,T.T)(Q=>{if(Q&&Q.vars&&Q.vars.Success&&Q.vars.Success.length>0)return"true"===Q.vars.Success[0];throw new Error("Unable to update security policy")}))}deleteSecurityPolicy$(ie){return this.processService.start("eim/process/security/delete-security-policy",{SecurityPolicyTip:[ie]}).pipe((0,D.p)(({finished:Q})=>!!Q),(0,E.$)(),(0,T.T)(Q=>{if(Q&&Q.vars&&Q.vars.Success&&Q.vars.Success.length>0)return"true"===Q.vars.Success[0];throw new Error("Unable to delete security policy")}))}setObjectSecurity(ie,ne){return ne?.bespokeSecurityPolicy?ie.$tip&&ne.bespokeSecurityPolicy.$tip?this.updateBespokeSecurityPolicy$(ie.$tip,ne.bespokeSecurityPolicy).pipe((0,T.T)(()=>ie)):this.createBespokeSecurityPolicy$(ne.bespokeSecurityPolicy).pipe((0,T.T)(Q=>(ie.$security=Q,ie))):ne?.securityPolicyTip?(ie.$security=ne.securityPolicyTip,(0,m.of)(ie)):ie.$tip?(0,m.of)(ie):this.getNewObjectSecurityPolicyTip$().pipe((0,T.T)(Q=>(ie.$security=Q,ie)))}duplicateSecurityPolicy$(ie){return this.processService.start("eim/process/security/duplicate-security-policy",{SecurityPolicyTip:[ie]}).pipe((0,D.p)(({finished:Q})=>!!Q),(0,E.$)(),(0,T.T)(Q=>{if(Q&&Q.vars&&Q.vars.SecurityPolicy&&Q.vars.SecurityPolicy.length>0)return Q.vars.SecurityPolicy[0];throw new Error("Unable to duplicate security policy")}))}createBespokeSecurityPolicy$(ie){const ne=this.convertSecurityPolicyToVars(ie);return this.processService.start("eim/process/security/create-bespoke-security-policy",ne).pipe((0,D.p)(({finished:Q})=>!!Q),(0,E.$)(),(0,T.T)(Q=>{if(Q&&Q.vars&&Q.vars.SecurityPolicy&&Q.vars.SecurityPolicy.length>0)return Q.vars.SecurityPolicy[0];throw new Error("Unable to create bespoke security policy")}))}updateBespokeSecurityPolicy$(ie,ne){const Q={ObjectTip:[ie],...this.convertSecurityPolicyToVars(ne)};return this.processService.start("eim/process/security/update-bespoke-security-policy",Q).pipe((0,D.p)(({finished:le})=>!!le),(0,E.$)(),(0,T.T)(le=>{if(le&&le.vars&&le.vars.Success&&le.vars.Success.length>0)return"true"===le.vars.Success[0];throw new Error("Unable to update bespoke security policy")}))}getSecurityPolicyVariantTip$(ie,ne,Q){const le={Variant:[ie]};if(ne&&(le.PrimaryObjectTip=[ne]),Q){const pe=(0,n.get)(this,["securityPolicyVariantCache",Q,ie]);if(pe)return(0,m.of)(pe);le.PrimarySecurityPolicyTip=[Q]}return this.processService.start("eim/process/security/get-security-policy-variant",le).pipe((0,D.p)(({finished:pe})=>!!pe),(0,E.$)(),(0,T.T)(pe=>{const te=(0,n.get)(pe,"vars.VariantSecurityPolicyTip",[]);if(te.length>0)return(0,n.set)(this,["securityPolicyVariantCache",Q,ie],te[0]),te[0];throw new Error("Unable to get security policy variant")}))}getNewObjectSecurityPolicyTip$(){return this.myProfileService.getMyProfileOnce$().pipe((0,E.$)(),(0,T.T)(ie=>ie.defaultPolicy||"app/security-policy/system-all-users-read-write-delete"))}cohortsTips(ie){const ne=[];return ie?(Object.keys(ie).forEach(Q=>{ie[Q].forEach(le=>{ne.push(le.tip)})}),(0,n.uniq)(ne)):ne}isAllCohorts(ie){return ie.indexOf("__ALL__")>-1}cohortsLabelSummary(ie){let ne=[];return ie?(Object.keys(ie).forEach(Q=>{ie[Q].forEach(le=>{le.label&&ne.push(le.label)})}),(0,b.T)(ne)):null}convertSecurityPolicyToVars(ie){const ne=this.cohortsTips(ie.deleteCohorts),Q=(0,n.uniq)((0,n.union)(this.cohortsTips(ie.changeCohorts),ne)),le=(0,n.uniq)((0,n.union)(this.cohortsTips(ie.modifyCohorts),Q)),pe=(0,n.uniq)((0,n.union)(this.cohortsTips(ie.collaborateCohorts),le)),te=this.cohortsTips(ie.readCohorts),ae=this.isAllCohorts(ne),K=this.isAllCohorts(Q),de=this.isAllCohorts(le),Me=this.isAllCohorts(pe),me=this.isAllCohorts(te);return{name:[ie.name],description:[ie.description],solutions:[ie.solutions?ie.solutions.map(be=>be.$tip):[]],readCohorts:me?[]:te,collaborateCohorts:Me?[]:pe,modifyCohorts:de?[]:le,changeCohorts:K?[]:Q,deleteCohorts:ae?[]:ne,allReadCohorts:[me?"true":"false"],allCollaborateCohorts:[Me?"true":"false"],allModifyCohorts:[de?"true":"false"],allChangeCohorts:[K?"true":"false"],allDeleteCohorts:[ae?"true":"false"],cohortStash:[JSON.stringify({readCohorts:ie.readCohorts,collaborateCohorts:ie.collaborateCohorts,modifyCohorts:ie.modifyCohorts,changeCohorts:ie.changeCohorts,deleteCohorts:ie.deleteCohorts})]}}canAction(ie,ne){return this.formulaService.evaluate('CAN_ACTION(SECURITY(VAR("Objects")), VAR("Actions"))',null,null,{Objects:ie,Actions:ne}).pipe((0,T.T)(le=>le&&"true"===le[0]))}canRead(ie){const ne=j(ie);return this.canAction(ne,["security/action/read"])}canUpdate(ie){const ne=j(ie);return this.canActionWithAny(ne,["security/action/update","security/action/update-without-security"])}canUpdateSecurity(ie){const ne=j(ie);return this.canAction(ne,["security/action/update"])}canDelete(ie){const ne=j(ie);return this.canAction(ne,["security/action/delete"])}canCollaborate(ie){const ne=j(ie);return this.canAction(ne,["app/security-action/collaborate"])}canUpdateOrCollaborate(ie){const ne=j(ie);return this.canActionWithAny(ne,["security/action/update","app/security-action/collaborate","security/action/update-without-security"])}canCreate(ie){const ne=j(ie);return this.canAction(ne,["security/action/create"])}canActionWithAny(ie,ne){const le=`OR(${ne.map(pe=>`CAN_ACTION(SECURITY(VAR("Objects")), "${pe}")`).join(",")})`;return this.formulaService.evaluate(le,null,null,{Objects:ie}).pipe((0,T.T)(pe=>pe&&"true"===pe[0]))}static#e=this.\u0275fac=function(ne){return new(ne||$)(C.KVO(w.V),C.KVO(M.C),C.KVO(q.c),C.KVO(z.g),C.KVO(F.p),C.KVO(U.F),C.KVO(k.T))};static#t=this.\u0275prov=C.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();function j($){return Array.isArray($)?$:[$]}},15387:(at,N,s)=>{"use strict";s.d(N,{Pb:()=>q});var n=s(84412),a=s(40673),g=s(67376),T=s(43662),O=s(19006),D=s(50835),E=s(31471),I=s(93953),b=s(18228),L=s(32099),o=s(64552);const C=a.Ay.LOCAL_STORAGE,w="redirect-to",M="[session-manager]";let q=(()=>{class k{constructor(x,B,j,$){this.locationService=x,this.loggerService=B,this.localStorage=j,this.opCacheService=$,this.sessionInfoSubject=new n.t(this.loadSessionFromLocalStorage())}get originalRequestedDestination(){return this.localStorage.getItem(w)}setOriginalRequestedDestination(x){this.localStorage.setItem(w,x)}clearOriginalRequestedDestination(){this.localStorage.removeItem(w)}getAuthToken(){return(0,g.get)(this.sessionInfoSubject.getValue(),"token","")}getSessionId(){return(0,g.get)(this.sessionInfoSubject.getValue(),"id","")}getSessionInfo$(){return this.sessionInfoSubject.asObservable()}get tokenChanged$(){return this.sessionInfoSubject.asObservable()}updateSessionInfoAndRedirectToOriginalRequestedDestination(x,B=null){const j=this.getAuthToken();this.shouldSetToken(x,j)&&(this.setToken(x),this.redirect(B&&""!==B?B:this.originalRequestedDestination))}updateSessionInfo(x){const B=this.getAuthToken();if(this.shouldSetToken(x,B)){if(function z(k,Y){if(F(k)&&F(Y))return!0}(B,x))return void this.changeToken(x);this.setToken(x),this.redirect(window.location.href)}}getLastProfileWithEmail(x){return this.localStorage.getItem(this.getLastProfileKey(x))||""}getLastProfileKey(x){return`${C.SESSION_LAST_PROFILE}-${(0,E.SHA256)(x)}`}setLastProfile(x,B){this.localStorage.setItem(this.getLastProfileKey(x),B)}shouldSetToken(x,B){return!(""===x||x===B)}setToken(x){return x?this.localStorage.setItem(C.SESSION_TOKEN,x):(this.localStorage.removeItem(C.SESSION_TOKEN),this.opCacheService.destroyAll()),this.loggerService.info(`${M} set new token - sessionId: `,(0,g.get)((0,T.C)(x),"sessionId",null)),!0}changeToken(x){this.setToken(x),this.loggerService.info(`${M} change token`),this.sessionInfoSubject.next(this.loadSessionFromLocalStorage())}redirect(x){const B=x||"/";this.loggerService.info(`${M} redirecting to ${B}`),this.locationService.redirect(B)}loadSessionFromLocalStorage(){const x=this.localStorage.getItem(C.SESSION_TOKEN),{user:B,profile:j,sessionId:$,inactivityTimeout:H,sessionExpiry:ie,namespace:ne}=(0,T.C)(x);if(!function U(k,Y){return null===k?(Y(`${M} namespace is valid - null (pristine)`),!0):k===D.c.ns&&(Y(`${M} namespace is valid - environment is correct`),!0)}(ne,this.loggerService.info.bind(this)))return this.loggerService.info(`${M} namespace invalid clearing and redirecting`),this.localStorage.removeItem(C.SESSION_TOKEN),void this.locationService.redirect("/");const Q={id:$,token:x,user:B,profile:j,inactivityTimeout:H,sessionExpiry:ie};return this.loggerService.info(`${M} namespace valid returning - sessionId:`,Q.id),Q}static#e=this.\u0275fac=function(B){return new(B||k)(I.KVO(b.N),I.KVO(L.g),I.KVO(O.Wd),I.KVO(o.D))};static#t=this.\u0275prov=I.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})();function F(k){return!(0,T.C)(k).sessionExpiry}},30348:(at,N,s)=>{"use strict";s.d(N,{U:()=>D});var n=s(93953),a=s(7673),g=s(96354),m=s(99437),T=s(50835),O=s(8142);let D=(()=>{class E{constructor(I){this.http=I}encryptedString(I){if(!I.value.trim())return(0,a.of)({result:{encryptedData:"",encryptedDataKey:""},error:null});const L=((0,n.naY)()?"http://localhost:4200":T.c.host)+I.servicePath+"/encryptKey";return this.http.post(L,{keyToEncrypt:I.value}).pipe((0,g.T)(o=>({result:o,error:null})),(0,m.W)(()=>(0,a.of)({result:null,error:"Failed to encrypt value"})))}static#e=this.\u0275fac=function(b){return new(b||E)(n.KVO(O.V))};static#t=this.\u0275prov=n.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})()},69703:(at,N,s)=>{"use strict";s.d(N,{Nd:()=>o,yE:()=>M});var n=s(96354),a=s(74140),g=s(92597),m=s(14554),T=s(67376),D=s(81422),E=s(95354),y=s(2466),I=s(93953),b=s(64627),L=s(97206),o=function(q){return q.EMAIL="app/super-type/email-capable",q.SMS="app/super-type/sms-capable",q.VOICE="app/super-type/voice-message-capable",q}(o||{}),C=function(q){return q.CURRENT_DATE="Current date",q.CURRENT_DATE_AND_TIME="Current date and time",q.CURRENT_MONTH="Current month",q.CURRENT_YEAR="Current year",q.CURRENT_USER="Current user",q}(C||{}),w=function(q){return q.RECIPIENTS_LIST="Recipients list",q}(w||{});let M=(()=>{class q{constructor(F,U){this.formulaLabelService=F,this.displayFormulaWrapperService=U}static getLabelFromSystemFormula(F){switch(F){case a._.CURRENT_DATE:return C.CURRENT_DATE;case a._.CURRENT_DATETIME:return C.CURRENT_DATE_AND_TIME;case a._.CURRENT_MONTH:return C.CURRENT_MONTH;case a._.CURRENT_YEAR:return C.CURRENT_YEAR;case a._.CURRENT_USER:return C.CURRENT_USER;case D.K:return D.r;default:return null}}getSubstitutionCandidateFromSystem(F,U){switch(F){case a._.CURRENT_DATE:return{type:U,label:C.CURRENT_DATE,value:a._.CURRENT_DATE};case a._.CURRENT_DATETIME:return{type:U,label:C.CURRENT_DATE_AND_TIME,value:a._.CURRENT_DATETIME};case a._.CURRENT_MONTH:return{type:U,label:C.CURRENT_MONTH,value:a._.CURRENT_MONTH};case a._.CURRENT_YEAR:return{type:U,label:C.CURRENT_YEAR,value:a._.CURRENT_YEAR};case a._.CURRENT_USER:return{type:U,label:C.CURRENT_USER,value:a._.CURRENT_USER};default:return null}}getSubstitutionCandidateFromMessage(F,U){if(F===y.Qi.RECIPIENTS_LIST)return{type:U,label:w.RECIPIENTS_LIST,value:y.Qi.RECIPIENTS_LIST}}getSubstitutionCandidateFromFormula(F,U,k){const Y=this.displayFormulaWrapperService.removeDisplayFormulaWrapper(F);return this.formulaLabelService.transform(Y,{},k).pipe((0,n.T)(x=>({type:U,label:x,value:F})))}getRecipientSubstitutionCandidateFromFormula(F,U,k){let Y,x;switch(k){case o.EMAIL:Y="app/email/recipient:source";break;case o.SMS:Y="app/sms/recipient:source";break;case o.VOICE:Y="app/voice-message/recipient:source"}if(Y&&F!==m.n){const j=`FIELD(${(0,g.AQ)(Y)})`;x=(0,E.mT)(F,j)}const B=x||F;return this.formulaLabelService.transform(this.displayFormulaWrapperService.removeDisplayFormulaWrapper(F)).pipe((0,n.T)(j=>({type:U,label:j,value:B})))}replaceSubstitutions(F,U){return(0,T.isEmpty)(U)||U.forEach(k=>{F=F.replace(new RegExp(k.key,"g"),k.label)}),F}static#e=this.\u0275fac=function(U){return new(U||q)(I.KVO(b.i),I.KVO(L.T))};static#t=this.\u0275prov=I.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})()},19006:(at,N,s)=>{"use strict";s.d(N,{Ui:()=>y,Wd:()=>E,fl:()=>C,jf:()=>T,l9:()=>w,r6:()=>L,rK:()=>O,vb:()=>b});var n=s(93953),a=s(2578);const T=new n.nKC("WindowToken"),O={provide:T,useFactory:()=>window},E=new n.nKC("LocalStorage"),y={provide:E,useFactory:()=>window.localStorage},b=new n.nKC("SessionStorage"),L={provide:b,useFactory:()=>window.sessionStorage},C=new n.nKC("SaveAsToken"),w={provide:C,useFactory:()=>a.saveAs}},4372:(at,N,s)=>{"use strict";s.d(N,{J:()=>Q});var n=s(67376),g=s(93953),m=s(60177),T=s(99213);const O=le=>({"required-field":le}),D=(le,pe)=>({"eim-forms_required":le,"eim-forms_optional":pe});function E(le,pe){1&le&&g.nrm(0,"mat-icon",24)}function y(le,pe){1&le&&(g.j41(0,"span",25),g.pXf(1,0),g.k0s())}function I(le,pe){if(1&le&&(g.j41(0,"span",21),g.DNE(1,E,1,0,"mat-icon",22)(2,y,2,0,"span",23),g.k0s()),2&le){const te=g.XpG();g.Y8G("ngClass",g.l_i(3,D,te.required,te.optional)),g.R7$(),g.Y8G("ngIf",te.required),g.R7$(),g.Y8G("ngIf",te.required)}}function b(le,pe){if(1&le&&(g.j41(0,"span",25),g.EFF(1),g.k0s()),2&le){const te=g.XpG(2);g.R7$(),g.JRh(te.errorMessage)}}function L(le,pe){if(1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.DNE(2,b,2,1,"span",23),g.k0s()),2&le){const te=g.XpG();g.R7$(2),g.Y8G("ngIf",te.errorMessage)}}function o(le,pe){1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,1),g.k0s()())}function C(le,pe){1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,2),g.k0s()())}function w(le,pe){1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,3),g.k0s()())}function M(le,pe){1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,4),g.k0s()())}function q(le,pe){if(1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,5),g.k0s()()),2&le){const te=g.XpG();g.R7$(3),g.uP7(te.error_info.max),g.nnv(3)}}function z(le,pe){1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,6),g.k0s()())}function F(le,pe){1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,7),g.k0s()())}function U(le,pe){if(1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,8),g.k0s()()),2&le){const te=g.XpG();g.R7$(3),g.uP7(te.error_info.min),g.nnv(3)}}function k(le,pe){if(1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,9),g.k0s()()),2&le){const te=g.XpG();g.R7$(3),g.uP7(te.error_info.requiredLength),g.nnv(3)}}function Y(le,pe){if(1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,10),g.k0s()()),2&le){const te=g.XpG();g.R7$(3),g.uP7(te.error_info.requiredLength),g.nnv(3)}}function x(le,pe){if(1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,11),g.k0s()()),2&le){const te=g.XpG();g.R7$(3),g.uP7(te.error_info.requiredLength),g.nnv(3)}}function B(le,pe){1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,12),g.k0s()())}function j(le,pe){1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,13),g.k0s()())}function $(le,pe){1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,14),g.k0s()())}function H(le,pe){1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,15),g.k0s()())}function ie(le,pe){1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.pXf(3,16),g.k0s()())}function ne(le,pe){if(1&le&&(g.j41(0,"span",26),g.nrm(1,"mat-icon",27),g.j41(2,"span",25),g.EFF(3),g.k0s()()),2&le){const te=g.XpG();g.R7$(3),g.SpI(" ",te.errorMessage," ")}}let Q=(()=>{class le{constructor(){this.optional=!1,this.required=!1,this.disabled=!1,this.isMultiSelect=!1,this.errorType="none",this.error_info={}}set errors(te){if(!(0,n.isEmpty)(te)){const ae=Object.keys(te).filter(K=>te[K]);if(!(0,n.isEmpty)(ae)){this.errorType="invalid";const K=ae.reduce((de,Me)=>(de[Me]=Me,de),{});return this.errorType=K.phoneNumber||this.errorType,this.errorType=K.uri||this.errorType,this.errorType=K.email||this.errorType,this.errorType=K.min||this.errorType,this.errorType=K.max||this.errorType,this.errorType=K.maxValue||this.errorType,this.errorType=K.minValue||this.errorType,this.errorType=K.maxBytes||this.errorType,this.errorType=K.minLength||this.errorType,this.errorType=K.maxLength||this.errorType,this.errorType=K.badEmails||this.errorType,this.errorType=K.domain||this.errorType,this.errorType=K.httpsPrefix||this.errorType,this.errorType=K.rootPathPrefix||this.errorType,this.errorType=K.hostName||this.errorType,this.errorType=K.endDateConstraint||this.errorType,this.errorType=K.invalidNogginUrl||this.errorType,this.errorType=K.required||this.errorType,this.error_info=te[this.errorType]||this.error_info,void(this.errorMessage=te[this.errorType].message)}}this.errorType="none"}static#e=this.\u0275fac=function(ae){return new(ae||le)};static#t=this.\u0275cmp=g.VBU({type:le,selectors:[["app-form-control-label"]],inputs:{label:"label",for:"for",optional:"optional",required:"required",disabled:"disabled",isMultiSelect:"isMultiSelect",errors:"errors"},decls:22,vars:28,consts:()=>{let te,ae,K,de,Me,me,be,Le,Ae,Oe,Xe,Pe,$e,ze,Be,Ye,Ct;return te="Required",ae="Date is before start date",K="Web address must be valid and start with http:// or https://",de="Phone numbers must start with a + followed by the country code and only numbers or spaces",Me="This is not a valid email address",me="This value must not exceed " + "\ufffd0\ufffd" + "",be="This value must not be lower than minimum value ",Le="This value must not be greater than maximum value ",Ae="This value must not be lower than " + "\ufffd0\ufffd" + "",Oe="No more than " + "\ufffd0\ufffd" + " characters are permitted",Xe="At least " + "\ufffd0\ufffd" + " characters are required",Pe="No more than " + "\ufffd0\ufffd" + " bytes are permitted",$e="Not valid email addresses",ze="This is not a valid domain",Be="Domain must start with https protocol",Ye="Path must start with '/'",Ct="Hostname must start with https protocol",[te,ae,K,de,Me,me,be,Le,Ae,Oe,Xe,Pe,$e,ze,Be,Ye,Ct,[1,"eim-forms_form-control-header"],[1,"eim-forms_form-control-label",3,"for","ngClass"],["class","d-flex ml-1",3,"ngClass",4,"ngIf"],["class","ml-1",4,"ngIf"],[1,"d-flex","ml-1",3,"ngClass"],["class","eim-forms_form-control-label-required-icon","data-test","required-icon","svgIcon","event",4,"ngIf"],["class","eim-forms_form-control-label-required-text ml-2",4,"ngIf"],["data-test","required-icon","svgIcon","event",1,"eim-forms_form-control-label-required-icon"],[1,"eim-forms_form-control-label-required-text","ml-2"],[1,"ml-1"],["svgIcon","event",1,"eim-forms_form-control-label-required-icon"]]},template:function(ae,K){1&ae&&(g.j41(0,"div",17)(1,"label",18),g.EFF(2),g.k0s(),g.DNE(3,I,3,6,"span",19)(4,L,3,1,"span",20)(5,o,4,0,"span",20)(6,C,4,0,"span",20)(7,w,4,0,"span",20)(8,M,4,0,"span",20)(9,q,4,1,"span",20)(10,z,4,0,"span",20)(11,F,4,0,"span",20)(12,U,4,1,"span",20)(13,k,4,1,"span",20)(14,Y,4,1,"span",20)(15,x,4,1,"span",20)(16,B,4,0,"span",20)(17,j,4,0,"span",20)(18,$,4,0,"span",20)(19,H,4,0,"span",20)(20,ie,4,0,"span",20)(21,ne,4,1,"span",20),g.k0s()),2&ae&&(g.AVh("eim-forms_form-control-header_flex-end",K.isMultiSelect),g.R7$(),g.AVh("disabled",K.disabled),g.Y8G("for",K.for)("ngClass",g.eq3(26,O,K.required)),g.R7$(),g.JRh(K.label),g.R7$(),g.Y8G("ngIf","required"===K.errorType),g.R7$(),g.Y8G("ngIf","invalid"===K.errorType),g.R7$(),g.Y8G("ngIf","endDateConstraint"===K.errorType),g.R7$(),g.Y8G("ngIf","uri"===K.errorType),g.R7$(),g.Y8G("ngIf","phoneNumber"===K.errorType),g.R7$(),g.Y8G("ngIf","email"===K.errorType),g.R7$(),g.Y8G("ngIf","max"===K.errorType),g.R7$(),g.Y8G("ngIf","maxValue"===K.errorType),g.R7$(),g.Y8G("ngIf","minValue"===K.errorType),g.R7$(),g.Y8G("ngIf","min"===K.errorType),g.R7$(),g.Y8G("ngIf","maxLength"===K.errorType),g.R7$(),g.Y8G("ngIf","minLength"===K.errorType),g.R7$(),g.Y8G("ngIf","maxBytes"===K.errorType),g.R7$(),g.Y8G("ngIf","badEmails"===K.errorType),g.R7$(),g.Y8G("ngIf","domain"===K.errorType),g.R7$(),g.Y8G("ngIf","httpsPrefix"===K.errorType),g.R7$(),g.Y8G("ngIf","rootPathPrefix"===K.errorType),g.R7$(),g.Y8G("ngIf","hostName"===K.errorType),g.R7$(),g.Y8G("ngIf","invalidNogginUrl"===K.errorType))},dependencies:[m.YU,m.bT,T.An],styles:[".eim-forms_form-control-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start}.eim-forms_form-control-header[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex:1}.eim-forms_form-control-header[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{flex:1}"],changeDetection:0})}return le})()},29994:(at,N,s)=>{"use strict";s.d(N,{Y:()=>o});var n=s(67376),g=s(7673),m=s(96354),T=s(25558),O=s(99437),D=s(39309),E=s(790),y=s(93953),I=s(25687),b=s(32099),L=s(81514);let o=(()=>{class q{constructor(F,U,k){this.formulaMultiService=F,this.loggerService=U,this.objectRenderMetaService=k}getDisplayObjects(F){if(!F||(0,n.isEmpty)(F))return(0,g.of)({displayObjects:[],symbologyInList:!1});const U=F.reduce((k,Y)=>[...k,{formula:"TITLE()",context:Y,watch:!1},{formula:"SUMMARY()",context:Y,watch:!1},{formula:`TYPE("${Y}")`,watch:!1},{formula:"TIP()",context:Y,watch:!1}],[]);return this.formulaMultiService.evaluate(U,E.q.USE_CACHE_THEN_NETWORK,!0).pipe((0,m.T)((0,D.x)(4)),(0,m.T)(k=>k.reduce(M,{titleAndSummary:[],uniqueTypes:new Set})),(0,T.n)(({titleAndSummary:k,uniqueTypes:Y})=>this.objectRenderMetaService.getObjectMeta(Array.from(Y)).pipe((0,m.T)(x=>({titleAndSummary:k,objectRenderMetaMap:x})))),(0,m.T)(({titleAndSummary:k,objectRenderMetaMap:Y})=>({titleAndSummary:k,symbologyFormulas:k.reduce(w(Y),[]),objectRenderMetaMap:Y})),(0,T.n)(({titleAndSummary:k,symbologyFormulas:Y,objectRenderMetaMap:x})=>this.formulaMultiService.evaluate(Y).pipe((0,m.T)(B=>({titleAndSummary:k,results:B,objectRenderMetaMap:x})))),(0,m.T)(({titleAndSummary:k,results:Y,objectRenderMetaMap:x})=>{let B=!1;return{displayObjects:(0,D.x)(2)(Y).map(([$,H],ie)=>{const ne=k[ie],Q=x.getSymbology({typeTip:ne.type,colorValue:(0,n.head)($.split(",")),iconValue:(0,n.head)(H.split(","))});return function C(q){return!!q&&(q.icon||q.color)}(Q)&&(B=!0),{...ne,symbology:Q}}),symbologyInList:B}}),(0,O.W)(k=>{this.loggerService.error("Couldn't retrieve title and summary for",k);const Y=F.map(x=>({title:"Title unavailable",summary:x,symbology:null}));return(0,g.of)({displayObjects:Y,symbologyInList:!1})}))}static#e=this.\u0275fac=function(U){return new(U||q)(y.KVO(I.$),y.KVO(b.g),y.KVO(L._))};static#t=this.\u0275prov=y.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})();function w(q){return function(F,{type:U,tip:k}){const Y=q.getTypeSymbology(U);return[...F,{formula:`FIELD("${(0,n.get)(Y,"color.listField",null)}")`,context:k},{formula:`FIELD("${(0,n.get)(Y,"icon.listField")}")`,context:k}]}}function M(q,[z,F,U,k]){const Y=!!z;return q.titleAndSummary.push({title:Y?z:"Title unavailable",summary:F,type:U,tip:k}),Y&&q.uniqueTypes.add(U),q}},31841:(at,N,s)=>{"use strict";s.d(N,{z:()=>ke});var n=s(93953),a=s(89417),g=s(67376),m=s(21413),T=s(56977),O=s(61594),D=s(25558),E=s(44668),y=s(96354),I=s(20509),b=s(34566),L=s(76194),o=s(78896),C=s(2937),w=s(69595),M=s(55379),q=s(98305),z=s(14531);const F=[{tip:q.qN,open:(Ne,Je)=>{const{componentInstance:Qe}=Ne.sideSheetService.push(z.v);Qe.objectType="OBJECT",Ne.sideSheetService.resizeTo("sm"),Qe.init((0,g.get)(Je,"objectTip")),Qe.done=()=>{Ne.updateDisplayValuesObservable()}}}];var U=s(50337),k=s(57503),Y=s(97036),x=s(29994),B=s(87612),j=s(54709),$=s(15765),H=s(12294),ie=s(66386);const ne=["sideSheetList"],Q=["listInteractionButtonsDefault"],le=["listInteractionButtonsRemove"],pe=["listInteractionButtonsDrag"],te=["*"];function ae(Ne,Je){if(1&Ne&&n.nrm(0,"app-form-control-label",14),2&Ne){const Qe=n.XpG();n.Y8G("label",Qe.label)("for",Qe.uniqueId)("required",Qe.required)("optional",Qe.optional)("errors",null==Qe.formControl?null:Qe.formControl.errors)("disabled",Qe.offline)("isMultiSelect",!0),n.BMQ("aria-label",Qe.label)}}function K(Ne,Je){}function de(Ne,Je){if(1&Ne&&(n.j41(0,"div",15),n.DNE(1,K,0,0,"ng-template",16),n.k0s()),2&Ne){const Qe=n.XpG();n.R7$(),n.Y8G("ngTemplateOutlet",Qe.listInteractionTemplate)}}function Me(Ne,Je){if(1&Ne){const Qe=n.RV6();n.j41(0,"app-side-sheet-list-item",21),n.bIt("navAway",function(ft){const Xt=n.eBV(Qe).$implicit,It=n.XpG(3);return n.Njj(It.onOpenObject(ft,Xt))}),n.nrm(1,"app-object-list-item",22),n.nI1(2,"async"),n.k0s()}if(2&Ne){const Qe=Je.$implicit,rt=Je.index,ft=n.XpG(3);n.Y8G("key",rt)("allowNavAway",ft.allowNavAway)("disabled",ft.offline),n.R7$(),n.Y8G("showSymbology",n.bMT(2,5,ft.showSymbology$))("listItem",Qe)}}function me(Ne,Je){if(1&Ne&&(n.j41(0,"app-side-sheet-list-item",24)(1,"div",25)(2,"div",26)(3,"div"),n.EFF(4),n.nI1(5,"truncateLabel"),n.k0s()()()()),2&Ne){const Qe=Je.$implicit,rt=n.XpG(5);n.Y8G("key",Qe.formula)("title",Qe.title)("disabled",rt.offline),n.R7$(4),n.JRh(n.bMT(5,4,Qe.title))}}function be(Ne,Je){if(1&Ne&&(n.qex(0),n.DNE(1,me,6,6,"app-side-sheet-list-item",23),n.bVm()),2&Ne){const Qe=n.XpG(4);n.R7$(),n.Y8G("ngForOf",Qe.currentCapableMetaCollection.workflowInputs)}}function Le(Ne,Je){if(1&Ne&&(n.j41(0,"app-side-sheet-list-item",24)(1,"div",25)(2,"div",26)(3,"div"),n.EFF(4),n.nI1(5,"truncateLabel"),n.k0s()()()()),2&Ne){const Qe=Je.$implicit,rt=n.XpG(5);n.Y8G("key",Qe.formula)("title",Qe.title)("disabled",rt.offline),n.R7$(4),n.JRh(n.bMT(5,4,Qe.title))}}function Ae(Ne,Je){if(1&Ne&&(n.qex(0),n.DNE(1,Le,6,6,"app-side-sheet-list-item",23),n.bVm()),2&Ne){const Qe=n.XpG(4);n.R7$(),n.Y8G("ngForOf",Qe.currentCapableMetaCollection.workflowActors)}}function Oe(Ne,Je){if(1&Ne&&(n.j41(0,"app-side-sheet-list-item",24)(1,"div",25)(2,"div",26)(3,"div"),n.EFF(4),n.nI1(5,"truncateLabel"),n.k0s()()()()),2&Ne){const Qe=Je.$implicit,rt=n.XpG(5);n.Y8G("key",Qe.formula)("title",Qe.title)("disabled",rt.offline),n.R7$(4),n.JRh(n.bMT(5,4,Qe.title))}}function Xe(Ne,Je){if(1&Ne&&(n.qex(0),n.DNE(1,Oe,6,6,"app-side-sheet-list-item",23),n.bVm()),2&Ne){const Qe=n.XpG(4);n.R7$(),n.Y8G("ngForOf",Qe.currentCapableMetaCollection.workflowVars)}}function Pe(Ne,Je){if(1&Ne&&(n.qex(0),n.DNE(1,be,2,1,"ng-container",20)(2,Ae,2,1,"ng-container",20)(3,Xe,2,1,"ng-container",20),n.bVm()),2&Ne){const Qe=n.XpG(3);n.R7$(),n.Y8G("ngIf",null==Qe.currentCapableMetaCollection||null==Qe.currentCapableMetaCollection.workflowInputs?null:Qe.currentCapableMetaCollection.workflowInputs.length),n.R7$(),n.Y8G("ngIf",null==Qe.currentCapableMetaCollection||null==Qe.currentCapableMetaCollection.workflowActors?null:Qe.currentCapableMetaCollection.workflowActors.length),n.R7$(),n.Y8G("ngIf",null==Qe.currentCapableMetaCollection||null==Qe.currentCapableMetaCollection.workflowVars?null:Qe.currentCapableMetaCollection.workflowVars.length)}}function $e(Ne,Je){if(1&Ne){const Qe=n.RV6();n.j41(0,"app-side-sheet-list",18,5),n.mxI("draggableModelChange",function(ft){n.eBV(Qe);const Xt=n.XpG(2);return n.DH7(Xt.selected,ft)||(Xt.selected=ft),n.Njj(ft)}),n.DNE(2,Me,3,7,"app-side-sheet-list-item",19)(3,Pe,4,3,"ng-container",20),n.k0s()}if(2&Ne){const Qe=n.XpG().ngIf,rt=n.XpG();n.Y8G("mode",rt.listInteractionMode)("disabled",rt.offline)("showMoreButton",!1),n.R50("draggableModel",rt.selected),n.R7$(2),n.Y8G("ngForOf",Qe),n.R7$(),n.Y8G("ngIf",rt.currentCapableMetaCollection)}}function ze(Ne,Je){if(1&Ne){const Qe=n.RV6();n.j41(0,"app-empty-list",27),n.bIt("actionBlur",function(){n.eBV(Qe);const ft=n.XpG(2);return n.Njj(ft.onTouched())})("actionClick",function(){n.eBV(Qe);const ft=n.XpG(2);return n.Njj(ft.openRelatedItemChooserObjectType())}),n.k0s()}if(2&Ne){const Qe=n.XpG(2);n.Y8G("readonly",Qe.readonly)("disabled",Qe.offline)("canCreateNew",Qe.canCreateNew)}}function Be(Ne,Je){if(1&Ne&&(n.qex(0),n.DNE(1,$e,4,6,"app-side-sheet-list",17)(2,ze,1,3,"ng-template",null,4,n.C5r),n.bVm()),2&Ne){const Qe=n.sdS(3),rt=n.XpG();n.R7$(),n.Y8G("ngIf",!rt.isEmpty||rt.selected.length)("ngIfElse",Qe)}}function Ye(Ne,Je){1&Ne&&n.nrm(0,"div",28),2&Ne&&n.Y8G("appSpinner",!0)}function Ct(Ne,Je){if(1&Ne){const Qe=n.RV6();n.j41(0,"button",34),n.bIt("click",function(){n.eBV(Qe);const ft=n.XpG(3);return n.Njj(ft.updateInteractionMode(ft.SideSheetListModes.DRAG))})("blur",function(){n.eBV(Qe);const ft=n.XpG(3);return n.Njj(ft.onTouched())}),n.nrm(1,"mat-icon",35),n.k0s()}if(2&Ne){const Qe=n.XpG(3);n.Y8G("disabled",Qe.disabled||Qe.offline)}}function Lt(Ne,Je){if(1&Ne){const Qe=n.RV6();n.qex(0),n.DNE(1,Ct,2,1,"button",31),n.j41(2,"button",32),n.bIt("click",function(){n.eBV(Qe);const ft=n.XpG(2);return n.Njj(ft.updateInteractionMode(ft.SideSheetListModes.MULTI_SELECT))})("blur",function(){n.eBV(Qe);const ft=n.XpG(2);return n.Njj(ft.onTouched())}),n.nrm(3,"mat-icon",33),n.k0s(),n.bVm()}if(2&Ne){const Qe=n.XpG(2);n.R7$(),n.Y8G("ngIf",!Qe.isRelatedItemsInListForWorkflowNodes),n.R7$(),n.Y8G("disabled",Qe.disabled||Qe.offline)}}function Vt(Ne,Je){if(1&Ne){const Qe=n.RV6();n.DNE(0,Lt,4,2,"ng-container",20),n.j41(1,"button",29),n.bIt("click",function(){n.eBV(Qe);const ft=n.XpG();return n.Njj(ft.openRelatedItemChooserObjectType())})("blur",function(){n.eBV(Qe);const ft=n.XpG();return n.Njj(ft.onTouched())}),n.nrm(2,"mat-icon",30),n.k0s()}if(2&Ne){const Qe=n.XpG();n.Y8G("ngIf",!Qe.isEmpty||(null==Qe.selected?null:Qe.selected.length)),n.R7$(),n.Y8G("disabled",Qe.disabled||Qe.offline),n.BMQ("title",!Qe.alwaysShowPlusButton&&null!=Qe.selected&&Qe.selected.length?"Edit":"Add"),n.R7$(),n.Y8G("svgIcon",!Qe.alwaysShowPlusButton&&null!=Qe.selected&&Qe.selected.length?"edit":"plus")}}function ht(Ne,Je){if(1&Ne){const Qe=n.RV6();n.j41(0,"button",36),n.bIt("click",function(){n.eBV(Qe);const ft=n.XpG();return n.Njj(ft.updateInteractionMode(ft.SideSheetListModes.NONE))}),n.pXf(1,6),n.k0s(),n.j41(2,"button",37),n.bIt("click",function(){n.eBV(Qe);const ft=n.XpG();return n.Njj(ft.removeItems(null==ft.sideSheetList?null:ft.sideSheetList.selected))}),n.pXf(3,7),n.k0s()}if(2&Ne){const Qe=n.XpG();n.Y8G("disabled",Qe.disabled||Qe.offline),n.R7$(2),n.Y8G("disabled",Qe.disabled||Qe.offline)}}function gt(Ne,Je){if(1&Ne){const Qe=n.RV6();n.qex(0),n.j41(1,"button",36),n.bIt("click",function(){n.eBV(Qe);const ft=n.XpG(2);return n.Njj(ft.updateInteractionMode(ft.SideSheetListModes.NONE))}),n.pXf(2,8),n.k0s(),n.j41(3,"button",38),n.bIt("click",function(){n.eBV(Qe);const ft=n.XpG(2);return n.Njj(ft.reorderItems())}),n.pXf(4,9),n.k0s(),n.bVm()}if(2&Ne){const Qe=n.XpG(2);n.R7$(),n.Y8G("disabled",Qe.disabled||Qe.offline),n.R7$(2),n.Y8G("disabled",Qe.disabled||Qe.offline)}}function Ge(Ne,Je){if(1&Ne&&n.DNE(0,gt,5,2,"ng-container",20),2&Ne){const Qe=n.XpG();n.Y8G("ngIf",!Qe.isRelatedItemsInListForWorkflowNodes)}}const Se={provide:a.kq,useExisting:(0,n.Rfq)(()=>ke),multi:!0};let ke=(()=>{class Ne{get listInteractionMode(){return this._listInteractionMode}set listInteractionMode(Qe){switch(Qe){case w.X.NONE:this.listInteractionTemplate=this.listInteractionButtonsDefault;break;case w.X.MULTI_SELECT:this.listInteractionTemplate=this.listInteractionButtonsRemove;break;case w.X.DRAG:this.listInteractionTemplate=this.listInteractionButtonsDrag}this._listInteractionMode=Qe}constructor(Qe,rt,ft,Xt,It,In,Kt,Ze,wn,zn){this.sideSheetService=Qe,this.objectLaunch=rt,this.navAwayService=ft,this.multiObjectChooserDisplayServiceService=Xt,this.deviceService=It,this.cdr=In,this.messageService=Kt,this.messageUtilsService=Ze,this.recipientListService=wn,this.connectionService=zn,this._eimFormsFormControlHostClass=!0,this.allowNavAway=!0,this.alwaysShowPlusButton=!1,this.canCreateNew=!0,this.optional=!1,this.readonly=!1,this.required=!1,this.isRelatedItemsInListForWorkflowNodes=!1,this.isOutboundMessage=!1,this.selected=[],this.selectedBeforeReorder=[],this.uniqueId=(0,g.uniqueId)("app-multi-object-chooser-field-"),this.unsubscribe$=new m.B,this.isEmpty=!0,this.currentCapableMetaCollection={},this.updateRelatedValue={items:[],workflowRelatedItems:{},workflowRelatedItemFormula:""},this.currentRelatedItems=[],this.currentRelatedItemsFormula=[],this.offline=!1,this.SideSheetListModes=w.X,this.onChange=di=>{},this.onTouched=()=>{}}writeValue(Qe){this.isRelatedItemsInListForWorkflowNodes&&!this.isOutboundMessage?this.assignValuesWhenIMessageRelatedObjects(Qe):this.isRelatedItemsInListForWorkflowNodes&&this.isOutboundMessage?this.assignValuesForOutboundMessage(Qe):this.assignValuesWhenTips(Qe),this.updateDisplayValuesObservable()}registerOnChange(Qe){this.onChange=Qe}registerOnTouched(Qe){this.onTouched=Qe}setDisabledState(Qe){this.disabled=Qe}ngOnInit(){this.updateInteractionMode(w.X.NONE),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,T.Q)(this.unsubscribe$)).subscribe(Qe=>{this.offline=!Qe,this.cdr.detectChanges()})}assignValuesWhenTips(Qe){this.selected=Qe&&Qe?.length?Qe:[]}assignValuesWhenIMessageRelatedObjects(Qe){this.selected=(0,g.get)(Qe,"items",[]),this.currentCapableMetaCollection=Qe?.workflowRelatedItems??{},this.updateIsEmpty()}assignValuesForOutboundMessage(Qe){this.selected=(0,g.get)(Qe,"items",[]),this.getObjectForOutboundCapables(Qe?.workflowRelatedItems),this.updateIsEmpty()}updateInteractionMode(Qe){switch(Qe){case w.X.NONE:this.listInteractionMode===w.X.DRAG&&(this.selected=(0,g.cloneDeep)(this.selectedBeforeReorder));break;case w.X.MULTI_SELECT:this.sideSheetList.toggleAll(!1);break;case w.X.DRAG:this.selectedBeforeReorder=(0,g.cloneDeep)(this.selected)}this.listInteractionMode=Qe}removeItems(Qe){this.selected=this.selected?.filter((rt,ft)=>!this.sideSheetList?.selected.includes(ft)),this.updateValue(!0),this.isRelatedItemsInListForWorkflowNodes&&this.removeWorkflowItems(Qe)}removeWorkflowItems(Qe){Qe?.map(rt=>{(0,g.includes)(rt,"Input-")?this.currentCapableMetaCollection.workflowInputs=this.currentCapableMetaCollection.workflowInputs.filter(ft=>!ft.formula.includes(rt)):(0,g.includes)(rt,"Actor-")?this.currentCapableMetaCollection.workflowActors=this.currentCapableMetaCollection.workflowActors.filter(ft=>!ft.formula.includes(rt)):(0,g.includes)(rt,"Variable-")&&(this.currentCapableMetaCollection.workflowVars=this.currentCapableMetaCollection.workflowVars.filter(ft=>!ft.formula.includes(rt)))}),this.updateWorkflowItems(this.currentCapableMetaCollection),this.updateIsEmpty(),this.updateInteractionMode(w.X.NONE)}getObjectForOutboundCapables(Qe){const rt=(0,g.uniq)((0,g.concat)((0,g.map)(Qe?.workflowInputs,"$tip"),(0,g.map)(Qe?.workflowActors,"$tip"),(0,g.map)(Qe?.workflowVars,"$tip")));this.selected=[...rt,...this.selected],this.updateDisplayValuesObservable()}reorderItems(){this.listInteractionMode=w.X.NONE,this.updateValue(!0)}openRelatedItemChooserObjectType(){if(this.isRelatedItemsInListForWorkflowNodes){const Qe=this.sideSheetService.push(b.i),rt=Qe.componentInstance;Qe.ToggleType=C.T.NO_TOGGLE,rt.workflowVariables=this.workflowVariables,rt.currentlySelected=this.messageUtilsService.getEmptyCollection(),rt.workflowPrimitiveTypeRestrict=L.HT.phone,rt.back=ft=>{this.sideSheetService.pop(),this.updateMessageCapables(ft,!1)},rt.openObjectChooser=()=>{this.selectObjectType()}}else this.selectObjectType()}updateMessageCapables(Qe,rt=!0){this.cdr.markForCheck(),rt?this.relatedCapableMetaCollection=Qe:(0,g.mergeWith)(this.relatedCapableMetaCollection,Qe,(ft,Xt)=>(0,g.union)(ft,Xt)),this.updateIsEmpty(),this.messageService.getVoiceMessageCapableMetaCollection(Qe,this.workflowVariables).pipe((0,O.$)(),(0,D.n)(ft=>this.recipientListService.getParsedMetaCollection(ft))).subscribe(ft=>{rt?this.currentCapableMetaCollection=ft:(0,g.mergeWith)(this.currentCapableMetaCollection,ft,(Xt,It)=>(0,g.unionWith)(Xt,It,g.isEqual)),this.updateWorkflowItems(this.currentCapableMetaCollection),this.updateIsEmpty()})}updateIsEmpty(){this.cdr.markForCheck(),this.isEmpty=this.messageUtilsService.isMessageCapableCollectionEmpty(this.currentCapableMetaCollection)}selectObjectType(Qe=[]){if(!(0,g.isEmpty)(this.typeTips))return this.openObjectChooserSideSheet();const rt=this.sideSheetService.push(o.j);rt.componentInstance.selected=Qe,rt.componentInstance.minSelect=1,rt.componentInstance.maxSelect=1,rt.componentInstance.actionLabel="Next",rt.componentInstance.onDone=ft=>{ft&&ft.length&&this.openObjectChooserSideSheet(ft,()=>{this.sideSheetService.pop(),this.selectObjectType(ft)})}}openObjectChooserSideSheet(Qe=this.typeTips,rt){const{componentInstance:ft}=this.sideSheetService.push(M.a);ft.allowNavAway=this.allowNavAway,ft.canCreateNew=this.canCreateNew,ft.contextTip=this.contextTip,ft.extraFilters=this.extraFilters||[],ft.goBack=rt,ft.listType=w.X.MULTI_SELECT,ft.queryAndFilter=this.queryAndFilter,ft.selected=this.selected,ft.title=this.label,ft.typeTips=Qe,ft.monitorConnection=this.monitorConnection,ft.done=Xt=>{this.selected=Xt.selected&&Xt.selected.length?Xt.selected:[],this.updateValue()}}onOpenObject(Qe,rt){const ft=this.selected[Qe];ft&&this.navAwayService.resolveObjectBehaviour(ft,(0,g.head)(this.typeTips)).pipe((0,O.$)()).subscribe(Xt=>{if(Xt&&Xt.url)window.open(Xt.url,this.deviceService.onNativeApp?"_self":"_blank").opener=null;else if(F.some(It=>It.tip===(0,g.get)(rt,"type"))){const{open:It}=F.find(In=>In.tip===(0,g.get)(rt,"type"));It(this,{objectTip:ft})}else this.objectLaunch.pushSheet({objectTip:ft,operation:I.c.VIEW,monitorConnection:this.monitorConnection,readonlyOverride:this.readonly},this.unsubscribe$).subscribe()})}updateDisplayValuesObservable(){const Qe=this.multiObjectChooserDisplayServiceService.getDisplayObjects(this.selected).pipe((0,E.t)(1));this.displayValues$=Qe.pipe((0,y.T)(rt=>rt.displayObjects)),this.showSymbology$=Qe.pipe((0,y.T)(rt=>rt.symbologyInList)),this.cdr.markForCheck()}getWorkflowFormulasFromCapables(Qe){return(0,g.uniq)((0,g.concat)((0,g.map)(Qe?.workflowInputs,"formula"),(0,g.map)(Qe?.workflowActors,"formula"),(0,g.map)(Qe?.workflowVars,"formula"),this.currentRelatedItemsFormula))}updateWorkflowItems(Qe){this.cdr.markForCheck(),this.currentRelatedItemsFormula=this.getWorkflowFormulasFromCapables(this.currentCapableMetaCollection);const rt=this.getArrayOfFormula(this.currentRelatedItemsFormula);this.updateRelatedValue.workflowRelatedItems=Qe,this.updateRelatedValue.workflowRelatedItemFormula=rt,this.updateRelatedValue.items=this.selected,this.onChange(this.updateRelatedValue)}getArrayOfFormula(Qe){return"ARRAY("+Qe.join(",")+")"}updateValue(Qe=!1){this.isRelatedItemsInListForWorkflowNodes?(this.updateRelatedValue.items=this.selected,this.onChange(this.updateRelatedValue),this.selected&&!Qe&&this.sideSheetService.pop()):this.onChange(this.selected),this.updateDisplayValuesObservable()}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(rt){return new(rt||Ne)(n.rXU(U.E),n.rXU(k.a),n.rXU(Y.m),n.rXU(x.Y),n.rXU(B.g),n.rXU(n.gRc),n.rXU(j.T),n.rXU($.Gq),n.rXU(H.m),n.rXU(ie.K))};static#t=this.\u0275cmp=n.VBU({type:Ne,selectors:[["app-multi-object-chooser-field"]],viewQuery:function(rt,ft){if(1&rt&&(n.GBs(ne,5),n.GBs(Q,7),n.GBs(le,7),n.GBs(pe,7)),2&rt){let Xt;n.mGM(Xt=n.lsd())&&(ft.sideSheetList=Xt.first),n.mGM(Xt=n.lsd())&&(ft.listInteractionButtonsDefault=Xt.first),n.mGM(Xt=n.lsd())&&(ft.listInteractionButtonsRemove=Xt.first),n.mGM(Xt=n.lsd())&&(ft.listInteractionButtonsDrag=Xt.first)}},hostVars:2,hostBindings:function(rt,ft){2&rt&&n.AVh("eim-forms_form-control-host",ft._eimFormsFormControlHostClass)},inputs:{allowNavAway:"allowNavAway",alwaysShowPlusButton:"alwaysShowPlusButton",canCreateNew:"canCreateNew",contextTip:"contextTip",extraFilters:"extraFilters",label:"label",optional:"optional",queryAndFilter:"queryAndFilter",readonly:"readonly",required:"required",typeTips:"typeTips",formControl:"formControl",workflowVariables:"workflowVariables",isRelatedItemsInListForWorkflowNodes:"isRelatedItemsInListForWorkflowNodes",isOutboundMessage:"isOutboundMessage",monitorConnection:"monitorConnection"},features:[n.Jv_([Se])],ngContentSelectors:te,decls:14,vars:6,consts:()=>{let Qe,rt,ft,Xt;return Qe=" Cancel ",rt=" Remove ",ft=" Cancel ",Xt=" Done ",[["loading",""],["listInteractionButtonsDefault",""],["listInteractionButtonsRemove",""],["listInteractionButtonsDrag",""],["empty",""],["sideSheetList",""],Qe,rt,ft,Xt,[1,"d-flex","flex-row","justify-content-between","mb-2"],["appTabIndex","","class","w-100",3,"label","for","required","optional","errors","disabled","isMultiSelect",4,"ngIf"],["class","d-flex flex-row ml-2",4,"ngIf"],[4,"ngIf","ngIfElse"],["appTabIndex","",1,"w-100",3,"label","for","required","optional","errors","disabled","isMultiSelect"],[1,"d-flex","flex-row","ml-2"],[3,"ngTemplateOutlet"],[3,"mode","disabled","showMoreButton","draggableModel","draggableModelChange",4,"ngIf","ngIfElse"],[3,"draggableModelChange","mode","disabled","showMoreButton","draggableModel"],[3,"key","allowNavAway","disabled","navAway",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"navAway","key","allowNavAway","disabled"],[3,"showSymbology","listItem"],[3,"key","title","disabled",4,"ngFor","ngForOf"],[3,"key","title","disabled"],[1,"emilable-body","d-flex","flex-column","pt-1","pb-1"],[1,"d-flex","align-items-center","flex-grow-1"],[3,"actionBlur","actionClick","readonly","disabled","canCreateNew"],[1,"mt-6",3,"appSpinner"],["data-test","edit-button",1,"btn","btn-secondary","eim-button_minimized","ml-1",3,"click","blur","disabled"],[3,"svgIcon"],["class","btn btn-secondary eim-button_minimized","data-test","reorder-button","title","Toggle re-order",3,"disabled","click","blur",4,"ngIf"],["data-test","remove-button","title","Remove",1,"btn","btn-secondary","eim-button_minimized","ml-1",3,"click","blur","disabled"],["svgIcon","delete"],["data-test","reorder-button","title","Toggle re-order",1,"btn","btn-secondary","eim-button_minimized",3,"click","blur","disabled"],["svgIcon","reorder"],[1,"btn","btn-secondary","eim-button_size-h-xs","flex-shrink-0",3,"click","disabled"],[1,"btn","btn-danger","eim-button_size-h-xs","ml-1","flex-shrink-0",3,"click","disabled"],[1,"btn","btn-secondary","eim-button_size-h-xs","ml-1","flex-shrink-0",3,"click","disabled"]]},template:function(rt,ft){if(1&rt&&(n.NAR(),n.j41(0,"div",10),n.DNE(1,ae,1,8,"app-form-control-label",11)(2,de,2,1,"div",12),n.k0s(),n.DNE(3,Be,4,2,"ng-container",13),n.nI1(4,"async"),n.DNE(5,Ye,1,1,"ng-template",null,0,n.C5r),n.SdG(7),n.DNE(8,Vt,3,4,"ng-template",null,1,n.C5r)(10,ht,4,2,"ng-template",null,2,n.C5r)(12,Ge,1,1,"ng-template",null,3,n.C5r)),2&rt){const Xt=n.sdS(6);n.R7$(),n.Y8G("ngIf",ft.label),n.R7$(),n.Y8G("ngIf",!ft.readonly),n.R7$(),n.Y8G("ngIf",n.bMT(4,4,ft.displayValues$))("ngIfElse",Xt)}},styles:[".btn-danger[_ngcontent-%COMP%]{background-color:#c01!important}"]})}return Ne})()},87354:(at,N,s)=>{"use strict";s.d(N,{_:()=>M});var n=s(93953),a=s(89417),g=s(67376),T=s(21413),O=s(56977),D=s(66386),E=s(60177),y=s(4372),I=s(99213),b=s(36193);const L=["textareaEl"],o=["*"];function C(q,z){if(1&q&&n.nrm(0,"app-form-control-label",5),2&q){const F=n.XpG();n.Y8G("label",F.label)("for",F.uniqueId)("required",F.required)("optional",F.optional)("disabled",F.disabled)("errors",F.errors)}}function w(q,z){if(1&q){const F=n.RV6();n.j41(0,"button",6),n.bIt("click",function(){n.eBV(F);const k=n.XpG();return n.Njj(k.onCalculate())}),n.nrm(1,"mat-icon",7),n.k0s()}if(2&q){const F=n.XpG();n.Y8G("disabled",F.offline)}}let M=(()=>{class q{constructor(F,U,k){this.elRef=F,this.renderer=U,this.connectionService=k,this._eimFormsFormControlHostClass=!0,this.required=!1,this.optional=!1,this.readonly=!1,this.autocomplete=!1,this.placeholder="",this.rows=null,this.errors=null,this.calculated=!1,this.monitorConnection=!1,this.keyup=new n.bkB,this.calculate=new n.bkB,this.disabled=!1,this.uniqueId=(0,g.uniqueId)("app-multitext-field-"),this.offline=!1,this._destroyed$=new T.B}onKeyUp(F){this.keyup.emit(F),this.onTouched&&this.onTouched(F),this.onChange&&this.onChange(F),F.target?.value&&0==F.target.value.trim().length&&(this.textareaEl.nativeElement.value="")}ngOnInit(){this.renderer.addClass(this.elRef.nativeElement,"ng-invalid-passthru"),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,O.Q)(this._destroyed$)).subscribe(F=>{this.offline=!F})}ngOnDestroy(){this._destroyed$.next(),this._destroyed$.complete()}writeValue(F){this.textareaEl.nativeElement.value=F||""}registerOnChange(F){this.onChange=()=>F(this.textareaEl.nativeElement.value)}registerOnTouched(F){this.onTouched=F}setDisabledState(F){this.disabled=F,this.renderer.addClass(this.textareaEl.nativeElement,"textarea-disabled")}onCalculate(){this.calculate.emit()}static#e=this.\u0275fac=function(U){return new(U||q)(n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(D.K))};static#t=this.\u0275cmp=n.VBU({type:q,selectors:[["app-multi-text-field"]],viewQuery:function(U,k){if(1&U&&n.GBs(L,7),2&U){let Y;n.mGM(Y=n.lsd())&&(k.textareaEl=Y.first)}},hostVars:2,hostBindings:function(U,k){2&U&&n.AVh("eim-forms_form-control-host",k._eimFormsFormControlHostClass)},inputs:{label:"label",required:"required",optional:"optional",readonly:"readonly",autocomplete:"autocomplete",placeholder:"placeholder",maxlength:"maxlength",height:"height",rows:"rows",errors:"errors",calculated:"calculated",monitorConnection:"monitorConnection"},outputs:{keyup:"keyup",calculate:"calculate"},features:[n.Jv_([{provide:a.kq,useExisting:(0,n.Rfq)(()=>q),multi:!0}])],ngContentSelectors:o,decls:6,vars:9,consts:[["textareaEl",""],[3,"label","for","required","optional","disabled","errors",4,"ngIf"],[1,"eim-forms_form-control-text-field-and-button-container","eim-forms_form-control-text-field-input-container","align-items-stretch"],[1,"form-control","form-control-sm",3,"change","keyup","blur","id","placeholder"],["type","button","class","btn btn-secondary eim-button_minimized align-self-center","data-test","calculate-btn",3,"disabled","click",4,"ngIf"],[3,"label","for","required","optional","disabled","errors"],["type","button","data-test","calculate-btn",1,"btn","btn-secondary","eim-button_minimized","align-self-center",3,"click","disabled"],["svgIcon","refresh",1,"eim-color_icon","eim-icon_sm"]],template:function(U,k){if(1&U){const Y=n.RV6();n.NAR(),n.DNE(0,C,1,6,"app-form-control-label",1),n.j41(1,"div",2)(2,"textarea",3,0),n.bIt("change",function(B){return n.eBV(Y),n.Njj(k.onChange(B))})("keyup",function(B){return n.eBV(Y),n.Njj(k.onKeyUp(B))})("blur",function(B){return n.eBV(Y),n.Njj(k.onTouched(B))}),n.k0s(),n.DNE(4,w,2,1,"button",4),n.k0s(),n.SdG(5)}2&U&&(n.Y8G("ngIf",k.label),n.R7$(2),n.xc7("height",k.height),n.Y8G("id",k.uniqueId)("placeholder",k.placeholder),n.BMQ("readonly",k.readonly||k.disabled?"":null)("maxlength",k.maxlength)("rows",k.rows),n.R7$(2),n.Y8G("ngIf",k.calculated))},dependencies:[E.bT,y.J,I.An,b.d],styles:["[_nghost-%COMP%]     .form-control[disabled]{color:#273c4e;background:transparent;border:none;padding:0}.textarea-disabled[_ngcontent-%COMP%]{color:#273c4e;background:transparent;border:none;padding:0}"]})}return q})()},58132:(at,N,s)=>{"use strict";s.d(N,{k:()=>n});class n{static configValidator(g){const m=g.value;return null===m||m.useTemplate&&!m.templateTip?{valid:!1}:null}}},35825:(at,N,s)=>{"use strict";s.d(N,{y:()=>D});var n=s(89417),a=s(58132),g=s(95113),m=s(93953),T=s(73427),O=s(38403);let D=(()=>{class E{constructor(){this.MESSAGE_TYPE=g.$z,this.configForm=new n.gE({emailConfig:new n.MJ(null,a.k.configValidator)}),this.done=()=>{}}ngOnInit(){this.configForm.setValue({emailConfig:this.emailConfig})}onPrimary(){this.done(this.configForm.getRawValue().emailConfig)}static#e=this.\u0275fac=function(b){return new(b||E)};static#t=this.\u0275cmp=m.VBU({type:E,selectors:[["app-config-email"]],decls:4,vars:5,consts:[["action","Save",3,"actioned","showCancelButton","disabled"],[3,"formGroup"],["formControlName","emailConfig",3,"mode","contextTypeTip"]],template:function(b,L){1&b&&(m.j41(0,"app-side-sheet-header",0),m.bIt("actioned",function(){return L.onPrimary()}),m.EFF(1," Configure email\n"),m.k0s(),m.j41(2,"form",1),m.nrm(3,"app-send-message-behavior-config",2),m.k0s()),2&b&&(m.Y8G("showCancelButton",!0)("disabled",L.configForm.invalid||L.configForm.pristine),m.R7$(2),m.Y8G("formGroup",L.configForm),m.R7$(),m.Y8G("mode",L.MESSAGE_TYPE.EMAIL)("contextTypeTip",L.contextTypeTip))},dependencies:[T.R,n.qT,n.BC,n.cb,n.j4,n.JD,O.F]})}return E})()},53343:(at,N,s)=>{"use strict";s.d(N,{b:()=>D});var n=s(89417),a=s(95113),g=s(58132),m=s(93953),T=s(73427),O=s(38403);let D=(()=>{class E{constructor(){this.MESSAGE_TYPE=a.$z,this.configForm=new n.gE({emailConfig:new n.MJ(null,g.k.configValidator),SMSConfig:new n.MJ(null,g.k.configValidator),voiceMessageConfig:new n.MJ(null)}),this.done=()=>{}}ngOnInit(){this.configForm.setValue({emailConfig:this.emailConfig,SMSConfig:this.SMSConfig,voiceMessageConfig:this.voiceMessageConfig})}onPrimary(){const I=this.configForm.getRawValue();this.done(I.emailConfig,I.SMSConfig,I.voiceMessageConfig)}static#e=this.\u0275fac=function(b){return new(b||E)};static#t=this.\u0275cmp=m.VBU({type:E,selectors:[["app-config-message"]],decls:7,vars:12,consts:[["action","Save",3,"actioned","showCancelButton","disabled"],[3,"formGroup"],["formControlName","emailConfig",3,"mode","contextTypeTip","showTitle"],[1,"side-sheet-section-divider"],["formControlName","SMSConfig",3,"mode","contextTypeTip","showTitle"],["formControlName","voiceMessageConfig",3,"mode","contextTypeTip","showTitle"]],template:function(b,L){1&b&&(m.j41(0,"app-side-sheet-header",0),m.bIt("actioned",function(){return L.onPrimary()}),m.EFF(1," Configure message\n"),m.k0s(),m.j41(2,"form",1),m.nrm(3,"app-send-message-behavior-config",2)(4,"div",3)(5,"app-send-message-behavior-config",4)(6,"app-send-message-behavior-config",5),m.k0s()),2&b&&(m.Y8G("showCancelButton",!0)("disabled",L.configForm.invalid||L.configForm.pristine),m.R7$(2),m.Y8G("formGroup",L.configForm),m.R7$(),m.Y8G("mode",L.MESSAGE_TYPE.EMAIL)("contextTypeTip",L.contextTypeTip)("showTitle",!0),m.R7$(2),m.Y8G("mode",L.MESSAGE_TYPE.SMS)("contextTypeTip",L.contextTypeTip)("showTitle",!0),m.R7$(),m.Y8G("mode",L.MESSAGE_TYPE.VOICE)("contextTypeTip",L.contextTypeTip)("showTitle",!0))},dependencies:[T.R,n.qT,n.BC,n.cb,n.j4,n.JD,O.F],changeDetection:0})}return E})()},71283:(at,N,s)=>{"use strict";s.d(N,{n:()=>D});var n=s(89417),a=s(58132),g=s(95113),m=s(93953),T=s(73427),O=s(38403);let D=(()=>{class E{constructor(){this.MESSAGE_TYPE=g.$z,this.configForm=new n.gE({SMSConfig:new n.MJ(null,a.k.configValidator)}),this.done=()=>{}}ngOnInit(){this.configForm.setValue({SMSConfig:this.SMSConfig})}onPrimary(){this.done(this.configForm.getRawValue().SMSConfig)}static#e=this.\u0275fac=function(b){return new(b||E)};static#t=this.\u0275cmp=m.VBU({type:E,selectors:[["app-config-sms"]],decls:4,vars:5,consts:[["action","Save",3,"actioned","showCancelButton","disabled"],[3,"formGroup"],["formControlName","SMSConfig",3,"mode","contextTypeTip"]],template:function(b,L){1&b&&(m.j41(0,"app-side-sheet-header",0),m.bIt("actioned",function(){return L.onPrimary()}),m.EFF(1," Configure SMS\n"),m.k0s(),m.j41(2,"form",1),m.nrm(3,"app-send-message-behavior-config",2),m.k0s()),2&b&&(m.Y8G("showCancelButton",!0)("disabled",L.configForm.invalid||L.configForm.pristine),m.R7$(2),m.Y8G("formGroup",L.configForm),m.R7$(),m.Y8G("mode",L.MESSAGE_TYPE.SMS)("contextTypeTip",L.contextTypeTip))},dependencies:[T.R,n.qT,n.BC,n.cb,n.j4,n.JD,O.F]})}return E})()},75409:(at,N,s)=>{"use strict";s.d(N,{$:()=>D});var n=s(89417),a=s(58132),g=s(95113),m=s(93953),T=s(73427),O=s(38403);let D=(()=>{class E{constructor(){this.MESSAGE_TYPE=g.$z,this.configForm=new n.gE({voiceMessageConfig:new n.MJ(null,a.k.configValidator)}),this.done=()=>{}}ngOnInit(){this.configForm.setValue({voiceMessageConfig:this.voiceMessageConfig})}onPrimary(){this.done(this.configForm.getRawValue().voiceMessageConfig)}static#e=this.\u0275fac=function(b){return new(b||E)};static#t=this.\u0275cmp=m.VBU({type:E,selectors:[["app-config-voice-message"]],decls:4,vars:5,consts:[["action","Save",3,"actioned","showCancelButton","disabled"],[3,"formGroup"],["formControlName","voiceMessageConfig",3,"mode","contextTypeTip"]],template:function(b,L){1&b&&(m.j41(0,"app-side-sheet-header",0),m.bIt("actioned",function(){return L.onPrimary()}),m.EFF(1," Configure Voice Message\n"),m.k0s(),m.j41(2,"form",1),m.nrm(3,"app-send-message-behavior-config",2),m.k0s()),2&b&&(m.Y8G("showCancelButton",!0)("disabled",L.configForm.invalid||L.configForm.pristine),m.R7$(2),m.Y8G("formGroup",L.configForm),m.R7$(),m.Y8G("mode",L.MESSAGE_TYPE.VOICE)("contextTypeTip",L.contextTypeTip))},dependencies:[T.R,n.qT,n.BC,n.cb,n.j4,n.JD,O.F]})}return E})()},38403:(at,N,s)=>{"use strict";s.d(N,{F:()=>I});var n=s(93953),a=s(89417),g=s(18359),m=s(95113),T=s(15765),O=s(36193),D=s(83958),E=s(83400);const y=b=>[b];let I=(()=>{class b{constructor(){this.showTitle=!1,this.disabled=!1,this.configForm=new a.gE({useTemplate:new a.MJ({value:!0,disabled:this.disabled},[a.k0.required,this.useTemplateValidator.bind(this)]),templateTip:new a.MJ({value:null,disabled:this.disabled}),allowChangeTemplate:new a.MJ({value:!0,disabled:this.disabled})}),this.subs=new g.yU,this.MESSAGE_TYPE=m.$z,this.title=null,this.templateTipRequired=!1,this.templateLabel="",this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this.config=this.config||this.extractConfigFromForm(),this.setMessageTemplateProperties(),this.templateFilter=T.Gq.generateTemplateFilters([this.contextTypeTip],this.mode,!1),this.subs.add(this.configForm.valueChanges.subscribe(o=>{this.onChange(o)}))}ngOnDestroy(){this.subs.unsubscribe()}setMessageTemplateProperties(){switch(this.mode){case m.$z.EMAIL:this.templateType="app/email/outbound-template",this.templateLabel="Email template",this.title=this.showTitle?"Email configuration":null;break;case m.$z.SMS:this.templateType="app/sms/outbound-template",this.templateLabel="SMS template",this.title=this.showTitle?"SMS configuration":null;break;case m.$z.VOICE:this.templateType="app/voice-message/outbound-template",this.templateLabel="Voice Message template",this.title=this.showTitle?"Voice Message configuration":null}}extractConfigFromForm(){return this.configForm.getRawValue()}writeValue(o){this.configForm.setValue(o)}registerOnChange(o){this.onChange=o}registerOnTouched(o){this.onTouched=o}setDisabledState(o){this.disabled=o}useTemplateValidator(o){if(!this.configForm)return{};const C=o.value?[a.k0.required]:[];return this.templateTipRequired=o.value,this.configForm.controls.templateTip.setValidators(C),null}static#e=this.\u0275fac=function(C){return new(C||b)};static#t=this.\u0275cmp=n.VBU({type:b,selectors:[["app-send-message-behavior-config"]],inputs:{mode:"mode",config:"config",showTitle:"showTitle",contextTypeTip:"contextTypeTip"},features:[n.Jv_([{provide:a.kq,useExisting:(0,n.Rfq)(()=>b),multi:!0}])],decls:16,vars:13,consts:[[3,"showBorder","title"],[3,"formGroup"],[1,"custom-control","custom-radio"],["type","radio","formControlName","useTemplate",1,"custom-control-input",3,"value"],[1,"custom-control-label"],[1,"template-chooser"],["formControlName","templateTip","placeholder","Select template to use",3,"required","label","typeTips","extraFilters","emitStringNotArray","allowUserToAdd"],[1,"custom-control","custom-checkbox","custom-control-inline"],["type","checkbox","formControlName","allowChangeTemplate",1,"custom-control-input"],[1,"custom-control-label","custom-control-color"],["data-test","radio-no-template","type","radio","formControlName","useTemplate",1,"custom-control-input",3,"value"]],template:function(C,w){1&C&&(n.j41(0,"app-side-sheet-section",0)(1,"form",1)(2,"label",2),n.nrm(3,"input",3),n.j41(4,"span",4),n.EFF(5,"Use a template"),n.k0s()(),n.j41(6,"div",5),n.nrm(7,"app-single-object-chooser-field",6),n.j41(8,"label",7),n.nrm(9,"input",8),n.j41(10,"span",9),n.EFF(11,"Allow user to change template"),n.k0s()()(),n.j41(12,"label",2),n.nrm(13,"input",10),n.j41(14,"span",4),n.EFF(15,"No template"),n.k0s()()()()),2&C&&(n.Y8G("showBorder",!1)("title",w.title),n.R7$(),n.Y8G("formGroup",w.configForm),n.R7$(2),n.Y8G("value",!0),n.R7$(4),n.Y8G("required",w.templateTipRequired)("label",w.templateLabel)("typeTips",n.eq3(11,y,w.templateType))("extraFilters",w.templateFilter)("emitStringNotArray",!0)("allowUserToAdd",!1),n.R7$(6),n.Y8G("value",!1))},dependencies:[O.d,D.D,E.m,a.qT,a.me,a.Zm,a.Fm,a.BC,a.cb,a.YS,a.j4,a.JD],styles:[".template-chooser[_ngcontent-%COMP%]{padding-left:30px}"]})}return b})()},15780:(at,N,s)=>{"use strict";s.d(N,{A:()=>n,I:()=>a});var n=function(g){return g.NAV_DASHBOARD="Navigate to a dashboard",g.NAV_HREF="Open an external link",g.NAV_INTERNAL="Internal link",g.NAV_LIFECYCLE="Open a lifecycle workflow",g.NAV_SCREEN="Navigate to a screen",g.NEW_OBJECT="Create a new object",g.EDIT_OBJECT="Open a specific object",g.START_WORKFLOW="Start a workflow",g.SEND_MESSAGE="Send a message",g.IMPORT_DATA="Import data",g.EXPORT_DATA="Export data",g}(n||{}),a=function(g){return g.NAV_DASHBOARD="nav-dashboard",g.NAV_HREF="nav-href",g.NAV_INTERNAL="nav-internal",g.NAV_LIFECYCLE="nav-lifecycle",g.NAV_SCREEN="nav-screen",g.NEW_OBJECT="new-object",g.EDIT_OBJECT="edit-object",g.START_WORKFLOW="start-workflow",g.SEND_MESSAGE="send-message",g.IMPORT_DATA="import-data",g.EXPORT_DATA="export-data",g}(a||{})},6099:(at,N,s)=>{"use strict";s.d(N,{p:()=>C});var n=s(69595),a=s(35825),g=s(71283),m=s(53343),T=s(15780),O=s(95113),D=s(75409),E=s(93953),y=s(50337),I=s(2937),b=s(73427),L=s(83958);const o=w=>[w];let C=(()=>{class w{constructor(q){this.sideSheetService=q,this.MESSAGE_TYPE=O.$z,this.SideSheetListModes=n.X,this.done=()=>{}}ngOnInit(){}onPrimary(q){let z,F;switch(q[0]){case O.$z.EMAIL:z=this.sideSheetService.push(a.y),F=z.componentInstance,F.emailConfig=this.selectedMessageType===O.$z.EMAIL&&this.selectedConfig&&this.selectedConfig.emailConfig?this.selectedConfig.emailConfig:this.getDefaultConfig(),F.contextTypeTip=this.contextTypeTip,F.done=U=>{this.done(this.buildNavConfig({emailConfig:U})),this.sideSheetService.pop()};break;case O.$z.SMS:z=this.sideSheetService.push(g.n),F=z.componentInstance,F.SMSConfig=this.selectedMessageType===O.$z.SMS&&this.selectedConfig&&this.selectedConfig.SMSConfig?this.selectedConfig.SMSConfig:this.getDefaultConfig(),F.contextTypeTip=this.contextTypeTip,F.done=U=>{this.done(this.buildNavConfig({SMSConfig:U})),this.sideSheetService.pop()};break;case O.$z.MESSAGE:z=this.sideSheetService.push(m.b),F=z.componentInstance,F.emailConfig=this.selectedMessageType===O.$z.MESSAGE&&this.selectedConfig&&this.selectedConfig.emailConfig?this.selectedConfig.emailConfig:this.getDefaultConfig(),F.SMSConfig=this.selectedMessageType===O.$z.MESSAGE&&this.selectedConfig&&this.selectedConfig.SMSConfig?this.selectedConfig.SMSConfig:this.getDefaultConfig(),F.voiceMessageConfig=this.selectedMessageType===O.$z.MESSAGE&&this.selectedConfig&&this.selectedConfig.voiceMessageConfig?this.selectedConfig.voiceMessageConfig:this.getDefaultConfig(),F.contextTypeTip=this.contextTypeTip,F.done=(U,k,Y)=>{this.done(this.buildNavConfig({emailConfig:U,SMSConfig:k,voiceMessageConfig:Y})),this.sideSheetService.pop()};break;case O.$z.VOICE:z=this.sideSheetService.push(D.$),F=z.componentInstance,F.voiceMessageConfig=this.selectedMessageType===O.$z.VOICE&&this.selectedConfig&&this.selectedConfig.voiceMessageConfig?this.selectedConfig.voiceMessageConfig:this.getDefaultConfig(),F.contextTypeTip=this.contextTypeTip,F.done=U=>{this.done(this.buildNavConfig({voiceMessageConfig:U})),this.sideSheetService.pop()}}}buildNavConfig(q){return{type:T.I.SEND_MESSAGE,value:q}}getDefaultConfig(){return{useTemplate:!0,templateTip:null,allowChangeTemplate:!0}}static#e=this.\u0275fac=function(z){return new(z||w)(E.rXU(y.E))};static#t=this.\u0275cmp=E.VBU({type:w,selectors:[["app-navigation-config-send-message"]],decls:13,vars:11,consts:[["list",""],[3,"showCancelButton"],[3,"showBorder"],[3,"selectedChange","mode","emitChangeEventOnLoad","selected"],[3,"key"]],template:function(z,F){if(1&z){const U=E.RV6();E.j41(0,"app-side-sheet-header",1),E.EFF(1," Select action\n"),E.k0s(),E.j41(2,"app-side-sheet-section",2)(3,"app-side-sheet-list",3,0),E.bIt("selectedChange",function(){E.eBV(U);const Y=E.sdS(4);return E.Njj(F.onPrimary(Y.selected))}),E.j41(5,"app-side-sheet-list-item",4),E.EFF(6,"New message"),E.k0s(),E.j41(7,"app-side-sheet-list-item",4),E.EFF(8,"New email message"),E.k0s(),E.j41(9,"app-side-sheet-list-item",4),E.EFF(10,"New SMS message"),E.k0s(),E.j41(11,"app-side-sheet-list-item",4),E.EFF(12,"New voice message"),E.k0s()()()}2&z&&(E.Y8G("showCancelButton",!0),E.R7$(2),E.Y8G("showBorder",!1),E.R7$(),E.Y8G("mode",F.SideSheetListModes.SINGLE_SELECT)("emitChangeEventOnLoad",!1)("selected",E.eq3(9,o,F.selectedMessageType)),E.R7$(2),E.Y8G("key",F.MESSAGE_TYPE.MESSAGE),E.R7$(2),E.Y8G("key",F.MESSAGE_TYPE.EMAIL),E.R7$(2),E.Y8G("key",F.MESSAGE_TYPE.SMS),E.R7$(2),E.Y8G("key",F.MESSAGE_TYPE.VOICE))},dependencies:[I.N,n.A,b.R,L.D]})}return w})()},34669:(at,N,s)=>{"use strict";s.d(N,{O:()=>U,k:()=>k});var n=s(89417),a=s(67376),m=s(97586),T=s.n(m);const O=/^http(s?):\/\/([^?#]*)(\?([^#]*))?(#(.*))?/,D=/^[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9](?:\.[a-zA-Z]{2,})+$/,E=/^[\+]?[0-9\-\ \(\)]+$/,y=/^\//,I=/^[a-zA-Z0-9_]*$/,b=/^([0-1][0-9]|[2][0-3]):([0-5][0-9])$/,C=Number.MAX_SAFE_INTEGER,w=Number.MIN_SAFE_INTEGER,M=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)+$/,q=/^[\[\]\_\-\.\!\#\$\%\&\'\*\+\=\?\^\`\{\|\}\~\(\)\;\:\<\>\~\@\, a-zA-Z 0-9]*$/g,F=[{regex:/^ *(https?:\/\/)?(([a-z0-9]+(\-[a-z0-9]+)*)(\.(dev|test))?\.((dev|protected)\-)?nogginapp\.io)\/? *$/,errorMessage:"URL must be valid and be a Noggin system URL."}];let U=(()=>{class Y{static phoneNumber(B){return B.value?new RegExp(E).test(B.value)?null:{phoneNumber:!0}:null}static uri(B){return B.value?new RegExp(O).test(B.value)?null:{uri:!0}:null}static domain(B){return B.value?new RegExp(D).test(B.value)?null:{domain:!0}:null}static emailRecipients(B){const j=B.value;return j&&(j.to&&j.to.length||j.toFormulas&&j.toFormulas.length)?null:{recipients:!0}}static internalLink(B){return B.value?new RegExp(y).test(B.value)?null:{link:!0}:null}static messageRecipients(B){const j=B.value;return j&&(j.to&&j.to.length||j.toFormulas&&j.toFormulas.length)?null:{recipients:!0}}static emailTemplateSubjectValidator(B){const j=B.value;return(j||j.html)&&""===j.html?{emptySubject:!0}:null}static alphanumericValidator(B){return B.value?new RegExp(I).test(B.value)?null:{alphanumeric:!0}:null}static requiredFieldWithSubstitutionValidator(B){const j=B.value;return j&&j.html?null:{requiredSubstitutionFieldEmpty:!0}}static manualTimeInputValidation(B){return B.value?new RegExp(b).test(B.value)?null:{timeIncorrect:!0}:null}static maxLength(B){return n.k0.maxLength(255)(B)}static minLength(B){return n.k0.minLength(3)(B)}static maxBytesValidator(B,j){const $=new Blob([B.value]).size,ie=j.templateOptions.maxBytes;let ne=null;return $>ie&&(ne={maxBytes:{requiredLength:ie}}),ne}static maxNumber(B){return n.k0.max(C)(B)}static minNumber(B){return n.k0.min(w)(B)}static email(B){return B.value?new RegExp(M).test(B.value)?null:{email:!0}:null}static filterInputsRequired(B){const j=B.value;return j&&j.length>0&&j.find(H=>H.value&&H.by)?null:{required:!0}}static richTextHTMLSubstitutionsBlankValidator(B){const j=B.value;return j&&j.html&&""!==(0,a.trim)((0,a.replace)(j.html,/<p><\/p>/g,""))&&"<p><br></p>"!==j.html&&"<p><br /></p>"!==j.html?null:{required:!0}}static richTextHTMLBlankValidator(B){const j=B.value;return j&&""!==j&&"<p></p>"!==j&&"<p><br></p>"!==j&&"<p><br /></p>"!==j?null:{required:!0}}static#e=this.maxvalValidatorFn=B=>{const j=B.get("minval"),$=B.get("maxval");if(!j&&!$)return null;const H={maxValue:!0},ie={minValue:!0},ne=j?.value&&$?.value?parseInt(j.value)<parseInt($.value)?null:{...H,...ie}:null;return ne?($.setErrors(H),j.setErrors(ie)):($.setErrors(ne),j.setErrors(ne)),ne};static signatureNameCheck(B){return B.value?new RegExp(q).test(B.value)?null:{signatureNameInvalid:!0}:null}static nogginUrlValidator(B){const j=B.value;if(!j)return null;const $=j.trim();for(const H of F)if(H.regex.test($))return null;return{invalidNogginUrl:{message:F.map(H=>H.errorMessage).join(" ")}}}}return Y})();function k(Y){return x=>{const B=x.parent?.get(Y)?.value,j=x.value;if(!B||!j)return null;const $=T()(B);return T()(j).isBefore($)?{endDateConstraint:"Date is before start date"}:null}}},84464:(at,N,s)=>{"use strict";s.d(N,{f:()=>j});var n=s(56977),a=s(61594),g=s(99172),m=s(96354),T=s(57089),O=s(57943),D=s(7930),E=s(93953);let y=(()=>{class ${constructor(){this.onChange=new E.bkB,this.onBeforeEnter=new E.bkB(!1),this.onKeydown=new E.bkB(!1),this.onMousedown=new E.bkB(!1),this.onClick=new E.bkB(!1),this.onFocus=new E.bkB,this.onBlur=new E.bkB,this.onPaste=new E.bkB(!1),this.onResize=new E.bkB,this.onBeforeCommand=new E.bkB(!1),this.onAfterCommand=new E.bkB,this.onAfterExec=new E.bkB,this.onAfterPaste=new E.bkB,this.onChangeSelection=new E.bkB}static#e=this.\u0275fac=function(ne){return new(ne||$)};static#t=this.\u0275dir=E.FsC({type:$,outputs:{onChange:"onChange",onBeforeEnter:"onBeforeEnter",onKeydown:"onKeydown",onMousedown:"onMousedown",onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur",onPaste:"onPaste",onResize:"onResize",onBeforeCommand:"onBeforeCommand",onAfterCommand:"onAfterCommand",onAfterExec:"onAfterExec",onAfterPaste:"onAfterPaste",onChangeSelection:"onChangeSelection"}})}return $})();var I=s(21413),b=s(7673),L=s(50337),o=s(95199),C=s(66386),w=s(67376),M=s(43236),q=s(70152),z=s(33726),F=s(5964),U=s(96697),k=s(84572),Y=s(52783);let x=(()=>{class ${constructor(){this.renderer=(0,E.WQX)(E.sFG),this.tabIndexService=(0,E.WQX)(Y.D),this.elementRef=(0,E.WQX)(E.aKT),this.joditWrapperComponent=(0,E.WQX)(j),this.resizeObserver=null,this.destroy$=new I.B,this.range=null}ngAfterViewInit(){M.E.schedule(()=>{this.screenResizeObserver().pipe((0,q.B)(5),(0,n.Q)(this.destroy$)).subscribe(()=>{const ie=Array.from(this.joditWrapperComponent?.editor?.container?.children[0]?.children);!ie||0===ie.length||(this.addFocusStylesAndListenersToJoditToolbarButtons(ie),this.setShiftTabListenerForEditorDocument(this.joditWrapperComponent.editor.editorDocument))})})}addFocusStylesAndListenersToJoditToolbarButtons(ie,ne=!1){if(!(0,w.isEmpty)(ie)){for(const Q of ie){if((0,w.isEmpty)(Q))return;this.renderer.setAttribute(Q,"tabindex","0"),this.renderer.listen(Q,"focusin",()=>{this.renderer.addClass(Q,"focus-style"),this.renderer.setStyle(Q,"outline-color","#008fdb"),this.renderer.setStyle(Q,"outline-offset","-2px");const le=new MouseEvent("mouseenter",{bubbles:!0});Q.dispatchEvent(le)}),this.renderer.listen(Q,"focusout",()=>{this.renderer.removeClass(Q,"focus-style"),this.renderer.removeStyle(Q,"outline-color"),this.renderer.removeStyle(Q,"outline-offset");const le=new MouseEvent("mouseleave",{bubbles:!0});Q.dispatchEvent(le)}),Q?.classList?.contains("jodit_toolbar_btn")&&this.renderer.listen(Q,"click",le=>{(le.target===Q||Q.firstChild?.contains(le.target))&&this.checkIfTheJoditToolbarButtonHasDropdown(Q)}),this.renderer.listen(Q,"keydown",le=>{if(le.target===Q){switch(le.key){case"Enter":case" ":this.tabIndexService.enterKeyPressed(le,Q)}this.checkIfTheJoditToolbarButtonHasDropdown(Q)}})}ne&&ie[0]?.focus()}}addFocusStylesAndListenersToJoditPopupFormElements(ie){if(!(0,w.isEmpty)(ie)){for(const Q of ie){if(Q instanceof HTMLButtonElement&&"none"===Q.style.display)continue;this.renderer.setAttribute(Q,"tabindex","0");let le=Q;const pe=this.renderer.parentNode(Q);pe?.classList?.contains("jodit_draganddrop_file_box")&&(le=pe),this.renderer.listen(Q,"focusin",()=>{this.renderer.addClass(le,"focus-style"),this.renderer.setStyle(le,"outline-color","#008fdb"),this.renderer.setStyle(le,"outline-offset","-2px");const te=new MouseEvent("mouseenter",{bubbles:!0});Q.dispatchEvent(te)}),this.renderer.listen(Q,"focusout",()=>{this.renderer.removeClass(le,"focus-style"),this.renderer.removeStyle(le,"outline-color"),this.renderer.removeStyle(le,"outline-offset");const te=new MouseEvent("mouseleave",{bubbles:!0});Q.dispatchEvent(te)}),this.renderer.listen(Q,"keydown",te=>{switch(te.key){case"Enter":Q instanceof HTMLInputElement&&"checkbox"===Q.type?Q.click():this.tabIndexService.enterKeyPressed(te,Q);break;case" ":this.tabIndexService.enterKeyPressed(te,Q)}this.checkIfTheJoditToolbarButtonHasDropdown(Q)})}ie[0]?.focus()}}checkIfTheJoditToolbarButtonHasDropdown(ie){const ne=ie.querySelector(".jodit_form-table-creator-box");ne&&this.customizeTableCreatorForm(ne);const Q=Array.from(ie.querySelectorAll(".jodit_toolbar")).length>0,le=Array.from(ie.querySelectorAll(".jodit_toolbar > .jodit_toolbar_btn")),pe=Array.from(ie.querySelectorAll(".jodit_toolbar_popup input")),te=Array.from(ie.querySelectorAll(".jodit_toolbar_popup button")),ae=[...Array.from(ie.querySelectorAll(".jodit_toolbar_popup .jodit_tabs_buttons a")),...Array.from(ie.querySelectorAll(".jodit_tabs .jodit_tabs_buttons a")),...Array.from(ie.querySelectorAll(".jodit_colorpicker a"))];le.length>0&&this.addFocusStylesAndListenersToJoditToolbarButtons(le,!0),(pe.length>0||te.length>0||ae.length>0)&&this.addFocusStylesAndListenersToJoditPopupFormElements([...pe,...te,...ae]),Q&&this.addEscapeEventCatcherToCurrentElement(ie,this.elementRef.nativeElement)}addEscapeEventCatcherToCurrentElement(ie,ne){ne.eventListeners("keydown").length>0||(0,z.R)(ne,"keydown").pipe((0,F.p)(le=>"Escape"===le.key),(0,U.s)(1)).subscribe(le=>{le.preventDefault(),le.stopPropagation(),this.tabIndexService.simulateToMouseClickEventForJoditToolbarButtons(ne),ie.focus()})}customizeTableCreatorForm(ie){if(ie.querySelector(".row_cols_container"))return;const Q=this.renderer.createElement("div");this.renderer.addClass(Q,"row_cols_container"),this.renderer.addClass(Q,"d-flex"),this.renderer.addClass(Q,"flex-row"),this.renderer.addClass(Q,"flex-wrap");const le=this.renderer.createElement("input");this.renderer.setAttribute(le,"type","number"),this.renderer.setAttribute(le,"max","10"),this.renderer.setAttribute(le,"min","1"),this.renderer.setAttribute(le,"placeholder","rows"),this.renderer.setAttribute(le,"value","1");const pe=this.renderer.createElement("input");this.renderer.setAttribute(pe,"type","number"),this.renderer.setAttribute(pe,"max","10"),this.renderer.setAttribute(pe,"min","1"),this.renderer.setAttribute(pe,"placeholder","cols"),this.renderer.setAttribute(pe,"value","1");const te=this.renderer.createElement("button");this.renderer.setAttribute(te,"type","button"),te.textContent="Insert",this.renderer.appendChild(Q,le),this.renderer.appendChild(Q,pe),this.renderer.appendChild(Q,te),this.renderer.appendChild(ie,Q);const ae=(0,w.chunk)(Array.from(ie.querySelector(".jodit_form-container").children),10),[K,de]=Array.from(ie.parentNode.querySelectorAll("form > label span")),Me=(0,z.R)(le,"change").pipe((0,m.T)(be=>Number(be.target.value)),(0,g.Z)(1)),me=(0,z.R)(pe,"change").pipe((0,m.T)(be=>Number(be.target.value)),(0,g.Z)(1));this.renderer.listen(te,"click",()=>{const Ae=ae[le.value][pe.value];this.range&&this.joditWrapperComponent.editor.selection.setCursorIn(this.range.endContainer,!1),this.tabIndexService.simulateToMouseClickEventForJoditToolbarButtons(Ae)}),(0,k.z)([Me,me]).pipe((0,n.Q)(this.destroy$)).subscribe(([be,Le])=>{for(let Ae=0;Ae<10;Ae++)for(let Oe=0;Oe<10;Oe++){const Xe=ae[Ae][Oe];this.isElementInSubGrid(Ae,Oe,Le,be)?this.renderer.addClass(Xe,"hovered"):this.renderer.removeClass(Xe,"hovered")}K.textContent=be.toString(),de.textContent=Le.toString()})}isElementInSubGrid(ie,ne,Q,le){return ie<le&&ne<Q}screenResizeObserver(){const ie=new I.B;return new ResizeObserver(Q=>{ie.next(Q)}).observe(this.elementRef.nativeElement),ie.asObservable()}setShiftTabListenerForEditorDocument(ie){(0,w.isEmpty)(ie)||this.renderer.listen(ie,"keydown",ne=>{const Q=ie.getSelection();if("Tab"===ne.key&&ne.shiftKey){const le=Q.getRangeAt(0);this.range=le}})}ngOnDestroy(){this.resizeObserver&&this.resizeObserver.disconnect(),this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(ne){return new(ne||$)};static#t=this.\u0275dir=E.FsC({type:$,selectors:[["","appJoditAccessability",""]],standalone:!0})}return $})();function B($,H){}let j=(()=>{class $ extends y{constructor(ie,ne,Q,le,pe,te,ae){super(),this.renderer=ie,this.elementRef=ne,this.ngZone=Q,this.sideSheetService=le,this.cdr=pe,this.embeddedMediaService=te,this.connectionService=ae,this.joditInFocus=!1,this.config={},this.useContextFormulaForStringInterpolation=!0,this.hideSystemCurrentUserOption=!1,this.enableStringInterpolation=!1,this.contextTypeTips=[],this._destroyed$=new I.B,this._isDisabled=!1}get defaultValue(){return this._defaultValue}set defaultValue(ie){this._defaultValue=ie,this.editor&&this.editor.getEditorValue()!==ie&&this.setEditorValue(ie)}get isDisabled(){return this._isDisabled}set isDisabled(ie){this._isDisabled=ie,this.editor&&this.editor.setReadOnly(ie)}ngOnInit(){this.enableStringInterpolation&&this.initStringInterpolation(),this.initEditor(),this.initEventHandlers(),this.setOfflineCheckStream()}ngOnDestroy(){this.editor&&this.editor.destruct(),this._destroyed$.next(),this._destroyed$.complete()}ngAfterViewInit(){this.disableImageButtonStream()}disableImageButtonStream(){this.offline$.pipe((0,n.Q)(this._destroyed$)).subscribe(ie=>{this.editor.options.controls.image&&this.monitorConnection&&(this.editor.options.controls.image.isDisable=()=>ie,this.cdr.detectChanges())})}initStringInterpolation(){this.config.extraButtons.push({iconURL:"assets/img/global-icons/string-interpolation.svg",tooltip:"Dynamic field",exec:()=>this.openStringInterpolationSelectSideSheet()})}initEditor(){const ie=this.renderer.createElement("textarea");this.renderer.appendChild(this.elementRef.nativeElement,ie),this.ngZone.runOutsideAngular(()=>{this.editor=new Jodit(ie,this.config)}),this.editor.id=this.id,this.editor.container.classList.add("form-control"),this.editor.container.classList.add("eim-forms_form-control-rich-text-editor"),this.editor.setReadOnly(this.isDisabled);const ne=this.defaultValue?this.defaultValue.startsWith("<p")&&this.defaultValue.endsWith("</p>")?this.defaultValue:`<p>${this.defaultValue}</p>`:"<p><br></p>";this.setEditorValue(ne),this.cdr.detectChanges()}setEditorValue(ie){const ne=T.h.sanitizeHtml(ie||"");this.embeddedMediaService.processUuidReferences(ne).pipe((0,a.$)()).subscribe(Q=>{this.justWritten=Q,this.editor.setEditorValue(Q),this.cdr.detectChanges()})}initEventHandlers(){this.editor.events.on("change",ie=>{ie!==this.justWritten&&(this.justWritten=void 0,this.ngZone.run(()=>this.onChange.emit(ie)))}).on("focus",()=>this.ngZone.run(()=>{this.joditInFocus=!0,this.cdr.markForCheck()})).on("blur",()=>this.ngZone.run(()=>{this.joditInFocus=!1,this.onBlur.emit()})).on("beforePaste",ie=>{if(ie.clipboardData.getData("text/html").includes("data-substitution")){const ne=T.h.sanitizeHtml(ie.clipboardData.getData("text/html")||"");return this.editor.selection.insertHTML(ne),!1}})}openStringInterpolationSelectSideSheet(){const ie=this.editor.selection.sel.anchorNode;this.sideSheetService.pushV2(O.S,{recipientSuperTypeTip:this.recipientSuperTypeTip,interpolationType:this.interpolationType,hideResponseLinks:this.hideResponseLinks,hideRecipient:this.hideRecipient,contextTypeTips:this.contextTypeTips,workflowVariables:this.workflowVariables,useContextFormula:this.useContextFormulaForStringInterpolation,isFromContactSelfService:this.isFromContactSelfService,hideSystemCurrentUserOption:this.hideSystemCurrentUserOption,hideMessageOptions:this.hideMessageOptions,...this.interpolationType===D.YG.message?{metaDataKeysToExclude:[]}:{},done:Q=>{this.sideSheetService.pop();const le=D.tk.createInterpolationInputElement(Q,this.renderer);try{"TD"===ie.nodeName?("<br>"===ie?.innerHTML&&(ie.innerHTML=""),this.editor.selection.setCursorIn(ie)):this.editor.selection.setCursorAfter(ie)}catch{}this.editor.selection.insertHTML(le)}})}setOfflineCheckStream(){this.offline$=this.monitorConnection?this.connectionService.connectionMonitor$.pipe((0,g.Z)(!0),(0,m.T)(ie=>!ie)):(0,b.of)(!1)}static#e=this.\u0275fac=function(ne){return new(ne||$)(E.rXU(E.sFG),E.rXU(E.aKT),E.rXU(E.SKi),E.rXU(L.E),E.rXU(E.gRc),E.rXU(o.c),E.rXU(C.K))};static#t=this.\u0275cmp=E.VBU({type:$,selectors:[["app-jodit-wrapper"]],hostVars:2,hostBindings:function(ne,Q){2&ne&&E.AVh("jodit-in-focus",Q.joditInFocus)},inputs:{config:"config",id:"id",useContextFormulaForStringInterpolation:"useContextFormulaForStringInterpolation",hideSystemCurrentUserOption:"hideSystemCurrentUserOption",enableStringInterpolation:"enableStringInterpolation",recipientSuperTypeTip:"recipientSuperTypeTip",interpolationType:"interpolationType",hideResponseLinks:"hideResponseLinks",hideMessageOptions:"hideMessageOptions",hideRecipient:"hideRecipient",contextTypeTips:"contextTypeTips",workflowVariables:"workflowVariables",isFromContactSelfService:"isFromContactSelfService",monitorConnection:"monitorConnection",defaultValue:"defaultValue",isDisabled:"isDisabled"},features:[E.nM4([x]),E.Vt3],decls:1,vars:0,template:function(ne,Q){1&ne&&E.DNE(0,B,0,0,"ng-template")},styles:[".jodit_container{padding:0!important;border:initial!important;font-family:Lato,Arial,sans-serif!important}.jodit_container .jodit_toolbar{display:block;min-height:36px!important}.jodit_container .jodit_workplace{min-height:164px!important}.jodit-in-focus .jodit_toolbar{display:block}.jodit-in-focus .jodit_workplace{border-color:#019cbe!important}.ng-invalid.ng-touched.eim-forms_form-control-host .jodit_workplace{border:solid 1px #D60012!important;border-radius:6px}.jodit_wysiwyg{font-size:1rem}.jodit_toolbar{background:#fff;box-shadow:initial;border:initial}.jodit_toolbar .jodit_toolbar_btn{line-height:28px;color:#273c4e;background-color:#fff;border:1px solid #d8e2eb;border-radius:6px;box-shadow:inset 0 -1px #b6c9da;border-bottom-color:#b6c9da;flex-shrink:0;display:flex;justify-content:center;align-items:center;margin:0;padding:0 .6rem!important;min-width:30px;height:30px;font-size:1.3rem}.jodit_toolbar .jodit_toolbar_btn a{position:relative;bottom:2px}.jodit_container>.jodit_toolbar>li:first-child{margin-left:0!important}.jodit_toolbar>.jodit_toolbar_btn:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.jodit_toolbar>.jodit_toolbar_btn:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.jodit_toolbar>.jodit_toolbar_btn{position:relative;flex:1 1 auto}.jodit_toolbar_popup .jodit_toolbar_btn{border:none;box-shadow:none}.jodit_icon{fill:#5a7186}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container>div.hovered:after{background:#5a7186;border:1px solid #D6E0E4}.jodit_workplace,.jodit_container:not(.jodit_inline) .jodit_workplace{border-radius:6px;border:1px solid #D6E0E4}.jodit_statusbar{background:#fff;border:initial}.eim-forms_form-control-rich-text-editor .jodit_workplace{flex-grow:1}.jodit_container:not(.jodit_inline) .jodit_wysiwyg p{text-indent:0!important}.jodit_toolbar_btn-image .jodit_tabs>.jodit_tabs_buttons>:last-child{display:none!important}.jodit_toolbar_btn-image .jodit_tabs>.jodit_tabs_buttons>:first-child{width:100%!important}.row_cols_container{gap:10px;font-size:medium!important;align-items:baseline}.row_cols_container input{display:block;outline:none;border:1px solid #b5b5b5;height:28px;line-height:28px;padding:0 5px;width:50px;margin-top:10px;color:#273c4e}\n"],encapsulation:2,changeDetection:0})}return $})()},72892:(at,N,s)=>{"use strict";s.d(N,{z:()=>w});var n=s(93953),a=s(89417),g=s(67376),T=s(60177),O=s(7930),D=s(84464),E=s(57089),y=s(95199);const I=["*"],b=M=>({"is-disabled":M});function L(M,q){if(1&M){const z=n.RV6();n.j41(0,"app-jodit-wrapper",3),n.bIt("onChange",function(U){n.eBV(z);const k=n.XpG();return n.Njj(k.updateValue(U))})("onBlur",function(){n.eBV(z);const U=n.XpG();return n.Njj(U.onBlur())}),n.k0s()}if(2&M){const z=n.XpG();n.Y8G("id",z.uniqueId)("config",z.config)("defaultValue",z.defaultHTMLValue)("isDisabled",z.isDisabled)("ngClass",n.eq3(17,b,z.isDisabled))("enableStringInterpolation",z.enableStringInterpolation)("recipientSuperTypeTip",z.recipientSuperTypeTip)("interpolationType",z.interpolationType)("hideResponseLinks",z.hideResponseLinks)("hideMessageOptions",z.hideMessageOptions)("hideRecipient",z.hideRecipient)("contextTypeTips",z.contextTypeTips)("workflowVariables",z.workflowVariables)("useContextFormulaForStringInterpolation",z.useContextFormulaForStringInterpolation)("hideSystemCurrentUserOption",z.hideSystemCurrentUserOption)("isFromContactSelfService",z.isFromContactSelfService)("monitorConnection",z.monitorConnection)}}function o(M,q){if(1&M&&(n.nrm(0,"div",4),n.nI1(1,"embeddedMedia"),n.nI1(2,"async"),n.nI1(3,"fixTabNabbing"),n.nI1(4,"sanitizeHtml")),2&M){const z=n.XpG();n.Y8G("innerHTML",n.bMT(4,7,n.bMT(3,5,n.bMT(2,3,n.bMT(1,1,z.defaultHTMLValue)))),n.npT)}}let w=(()=>{class M{constructor(z,F,U,k){this.renderer=z,this.embeddedMediaService=F,this.cdr=U,this.document=k,this._eimFormsFormControlHostClass=!0,this.inline=!1,this.required=!1,this.optional=!1,this.readonly=!1,this.placeholder="Enter text here...",this.fullHeight=!1,this.enableStringInterpolation=!1,this.contextTypeTips=[],this.useContextFormulaForStringInterpolation=!0,this.hideSystemCurrentUserOption=!1,this.hideVideoImageTablebuttons=!1,this.isFromContactSelfService=!1,this.uniqueId=(0,g.uniqueId)("app-rich-jodit-text-field-"),this.onChange=Y=>{},this.onTouched=()=>{}}ngOnInit(){let z=this.height||160;this.fullHeight&&!this.height&&(z=.85*this.document.documentElement.scrollHeight),this.config=(M=>({editorCssClass:"customize-jodit-editor",buttons:!0===this.hideVideoImageTablebuttons?"paragraph,source,bold,italic,underline,brush,align,ul,ol,outdent,indent,link,hr":"paragraph,source,bold,italic,underline,brush,align,ul,ol,outdent,indent,link,image,table,video,hr",buttonsMD:"paragraph,bold,italic,underline,brush,align,ul,ol,outdent,indent,dots",buttonsSM:"paragraph,bold,italic,underline,brush,align,ul,ol,outdent,indent,dots",buttonsXS:"paragraph,bold,italic,underline,brush,align,dots",extraButtons:[],height:M||160,placeholder:this.placeholder,tabIndex:0,controls:{brush:{tooltip:"Text color"},paragraph:{tooltip:"Text style"}},uploader:{insertImageAsBase64URI:!0},enableDragAndDropFileToEditor:!0,addNewLineOnDBLClick:!1,showCharsCounter:!1,showWordsCounter:!1,showXPathInStatusbar:!1,useAceEditor:!1,beautifyHTML:!1,cleanHTML:{replaceNBSP:!0,fillEmptyParagraph:!1,cleanOnPaste:!0,denyTags:{style:!0,meta:!0,title:!0}}}))(z)}writeValue(z){if(z){const F="string"==typeof z?z:O.tk.getViewHtmlFromDataHtml(z.html,this.renderer);this.defaultHTMLValue=F,this.cdr.markForCheck()}else this.defaultHTMLValue="",this.cdr.markForCheck()}registerOnChange(z){this.onChange=z}registerOnTouched(z){this.onTouched=z}setDisabledState(z){this.isDisabled=z,this.cdr.markForCheck()}onBlur(){this.onTouched&&this.onTouched(),this.defaultHTMLValue=this.joditWrapperComponent.editor.getEditorValue()||""}updateValue(z){if(z=z.replace(/&nbsp;/g," "),this.joditWrapperComponent.elementRef?.nativeElement?.innerText&&0==this.joditWrapperComponent.elementRef.nativeElement.innerText.trim().length&&this.joditWrapperComponent.editor.setEditorValue(z="<p></p>"),!this.enableStringInterpolation){const k=E.h.sanitizeHtml(z),Y=this.embeddedMediaService.rebuildUuidReference(k);return void this.onChange(Y)}const F=O.tk.getSubstitutionMetaFromViewHtml(z,this.renderer),U=E.h.sanitizeHtml(F.html);F.html=this.embeddedMediaService.rebuildUuidReference(U),this.onChange(F)}removeContextSubstitution(){const{changed:z,newHtml:F}=O.tk.removeSubstitutionByContextFormula(this.joditWrapperComponent.editor.getEditorValue(),this.renderer);z&&(this.defaultHTMLValue=F,this.updateValue(F))}static#e=this.\u0275fac=function(F){return new(F||M)(n.rXU(n.sFG),n.rXU(y.c),n.rXU(n.gRc),n.rXU(T.qQ))};static#t=this.\u0275cmp=n.VBU({type:M,selectors:[["app-rich-jodit-text-field"]],viewQuery:function(F,U){if(1&F&&n.GBs(D.f,5),2&F){let k;n.mGM(k=n.lsd())&&(U.joditWrapperComponent=k.first)}},hostVars:2,hostBindings:function(F,U){2&F&&n.AVh("eim-forms_form-control-host",U._eimFormsFormControlHostClass)},inputs:{inline:"inline",label:"label",required:"required",optional:"optional",readonly:"readonly",placeholder:"placeholder",fullHeight:"fullHeight",height:"height",enableStringInterpolation:"enableStringInterpolation",recipientSuperTypeTip:"recipientSuperTypeTip",interpolationType:"interpolationType",hideResponseLinks:"hideResponseLinks",hideRecipient:"hideRecipient",hideMessageOptions:"hideMessageOptions",workflowVariables:"workflowVariables",contextTypeTips:"contextTypeTips",useContextFormulaForStringInterpolation:"useContextFormulaForStringInterpolation",hideSystemCurrentUserOption:"hideSystemCurrentUserOption",hideVideoImageTablebuttons:"hideVideoImageTablebuttons",isFromContactSelfService:"isFromContactSelfService",monitorConnection:"monitorConnection"},features:[n.Jv_([{provide:a.kq,useExisting:(0,n.Rfq)(()=>M),multi:!0}])],ngContentSelectors:I,decls:5,vars:6,consts:[["showReadonly",""],[3,"label","for","required","optional"],["class","flex-grow-1 d-flex flex-column",3,"id","config","defaultValue","isDisabled","ngClass","enableStringInterpolation","recipientSuperTypeTip","interpolationType","hideResponseLinks","hideMessageOptions","hideRecipient","contextTypeTips","workflowVariables","useContextFormulaForStringInterpolation","hideSystemCurrentUserOption","isFromContactSelfService","monitorConnection","onChange","onBlur",4,"ngIf","ngIfElse"],[1,"flex-grow-1","d-flex","flex-column",3,"onChange","onBlur","id","config","defaultValue","isDisabled","ngClass","enableStringInterpolation","recipientSuperTypeTip","interpolationType","hideResponseLinks","hideMessageOptions","hideRecipient","contextTypeTips","workflowVariables","useContextFormulaForStringInterpolation","hideSystemCurrentUserOption","isFromContactSelfService","monitorConnection"],[3,"innerHTML"]],template:function(F,U){if(1&F&&(n.NAR(),n.nrm(0,"app-form-control-label",1),n.DNE(1,L,1,19,"app-jodit-wrapper",2)(2,o,5,9,"ng-template",null,0,n.C5r),n.SdG(4)),2&F){const k=n.sdS(3);n.Y8G("label",U.label)("for",U.uniqueId)("required",U.required)("optional",U.optional),n.R7$(),n.Y8G("ngIf",!U.readonly)("ngIfElse",k)}},styles:["[_nghost-%COMP%]  table tr td{border:1px solid #ddd}.is-disabled[_ngcontent-%COMP%]{opacity:.4!important}"],changeDetection:0})}return M})()},55852:(at,N,s)=>{"use strict";s.d(N,{b:()=>C,u:()=>w});var n=s(67376),g=s(84412),m=s(21413),T=s(7673),O=s(27468),D=s(70980),E=s(25558),y=s(88141),I=s(96354),b=s(93953),L=s(51525),o=s(21626),C=function(M){return M.DONE="done",M.PENDING="pending",M.NO_SIGNATURE_FIELD="no_signature_field",M.SIGNATURE_ERROR="signature_error",M}(C||{});let w=(()=>{class M{constructor(z,F){this.mediaService=z,this.http=F,this.loading$=new g.t(!1),this.triggerSave$=new m.B,this.indexArr=new Map,this.multipleSignatureCount=0,this.iserrorOnSigneeName$=new g.t(!0)}validateSignature(z){let F="";this.formGroup=z;let U=[];const k=Object.keys(z.value);this.loading$.next(!0),this.multipleSignatureCount=0,this.indexArr.clear();for(let Y=0;Y<k.length;Y++)(0,n.get)(this.formGroup.get(k[Y]),"value.isSignatureForm",!1)&&(F=k[Y],U.push(this.validateSignatureFormControl(F)));return this.iserrorOnSigneeName$.value?U?.length>0?(0,O.p)(U).pipe((0,D.j)(()=>{this.loading$.next(!1)})):(this.loading$.next(!1),(0,T.of)([C.NO_SIGNATURE_FIELD])):(this.loading$.next(!1),(0,T.of)([C.SIGNATURE_ERROR]))}validateSignatureFormControl(z){const F=this.formGroup.get(z).value;let U=F.required??!1;if(F.isMulti){const k=F.multipleSignature;if(U){let Y=!1;return Y=this.checkSignatureValidation(k),Y?(this.formGroup.get(z).setErrors({incorrect:!0}),(0,T.of)(C.SIGNATURE_ERROR)):this.validateMultiSignature(k,z,F.securityPolicyTip,F.fileSecurityPolicyTip)}return this.iserrorOnSigneeName$.value?this.validateMultiSignature(k,z,F.securityPolicyTip,F.fileSecurityPolicyTip):(this.loading$.next(!1),(0,T.of)(C.SIGNATURE_ERROR))}{let k=F.singleSignature;return U?this.validateSingleRequiredSignature(k,F.securityPolicyTip,F.fileSecurityPolicyTip,z):this.iserrorOnSigneeName$.value?this.validateSingleOptionalSignature(k,F.securityPolicyTip,F.fileSecurityPolicyTip,z):(this.loading$.next(!1),(0,T.of)(C.SIGNATURE_ERROR))}}validateSingleOptionalSignature(z,F,U,k){return(0,n.get)(z,"signFormGroup.value.signatureName",!1)?(0,n.get)(z,"modified",!1)?(0,n.get)(z,"signature",!1)?this.getSignaturePayload(F,U).pipe((0,E.n)(Y=>{let x=new FormData;const B="Signature - "+(0,n.get)(z,"signFormGroup.value.signatureName","")+" - "+(0,n.get)(z,"signature.timeStamp","");return x.append("file",(0,n.get)(z,"signature.file",null),B+".png"),Y.url=this.addSizeToUploadUrl(Y,(0,n.get)(z,"signature.file.size",0)),this.uploadSignature(Y,x)}),(0,y.M)(Y=>{Y&&this.formGroup.get(k).setValue(Y[0].tip),this.formGroup.get(k).setErrors(null)}),(0,I.T)(Y=>Y?C.DONE:C.PENDING)):(this.formGroup.get(k).setValue(null),this.formGroup.get(k).setErrors(null),(0,T.of)(C.DONE)):(this.formGroup.get(k).setValue(z.tip),this.formGroup.get(k).setErrors(null),(0,T.of)(C.DONE)):(this.formGroup.get(k).setValue(null),this.formGroup.get(k).setErrors(null),(0,T.of)(C.DONE))}validateSingleRequiredSignature(z,F,U,k){return(0,n.get)(z,"signFormGroup.value.signatureName",!1)&&(0,n.get)(z,"signature",!1)?(0,n.get)(z,"modified",!1)?this.getSignaturePayload(F,U).pipe((0,E.n)(Y=>{let x=new FormData;const B="Signature - "+z.signFormGroup.value.signatureName+" - "+z.signature.timeStamp;return x.append("file",(0,n.get)(z,"signature.file",null),B+".png"),Y.url=this.addSizeToUploadUrl(Y,(0,n.get)(z,"signature.file.size",0)),this.uploadSignature(Y,x)}),(0,y.M)(Y=>{Y&&this.formGroup.get(k).setValue(Y[0].tip),this.formGroup.get(k).setErrors(null)}),(0,I.T)(Y=>Y?C.DONE:C.PENDING)):(this.formGroup.get(k).setValue(z.tip),this.formGroup.get(k).setErrors(null),(0,T.of)(C.DONE)):(this.formGroup.get(k).setErrors({incorrect:!0}),(0,T.of)(C.DONE))}validateMultiSignature(z,F,U,k){let Y=[];const x=this.multipleSignatureCount;return this.multipleSignatureCount++,z.forEach(B=>{B&&Y.push(B.tip)}),this.uploadMultipleSignatures(z,U,k,x).pipe((0,E.n)(B=>B?.length>0?(0,O.p)(B):(0,T.of)([])),(0,y.M)(B=>{let j=0;B.length>0&&this.indexArr.get(x).map(H=>{Y[H]=B[j][0].tip,j++})}),(0,I.T)(B=>Y.length>0?(Y.filter(j=>null!=j),this.formGroup.get(F).setValue(Y.slice()),this.formGroup.get(F).setErrors(null),C.DONE):(this.formGroup.get(F).setValue(null),this.formGroup.get(F).setErrors(null),C.DONE)))}uploadMultipleSignatures(z,F,U,k){return this.getSignaturePayload(F,U).pipe((0,I.T)(Y=>{let x=[],B=[];return z.forEach((j,$)=>{if((0,n.get)(j,"modified",!1)&&(0,n.get)(j,"signature",!1)&&(0,n.get)(j,"signature.file",!1)){let H=new FormData;const ie="Signature - "+(0,n.get)(j,"signFormControl.value","")+" - "+(0,n.get)(j,"signature.timeStamp","");H.append("file",(0,n.get)(j,"signature.file",null),ie+".png");const ne=(0,n.cloneDeep)(Y);ne.url=this.addSizeToUploadUrl(ne,(0,n.get)(j,"signature.file.size",0)),B.push($),this.indexArr.set(k,B),x.push(this.uploadSignature(ne,H))}}),x}))}checkSignatureValidation(z){let F=!1;return z.forEach(U=>{(0==(U.signFormControl?U.signFormControl.value??"":"").length||!(0,n.get)(U,"signature",!1))&&(F=!0)}),F}getSignaturePayload(z,F){return this.mediaService.createUploadInputWithSecurityPolicy(null,z,"dependency",F)}uploadSignature(z,F){return this.http.post(z.url,F,{headers:z.headers})}addSizeToUploadUrl(z,F){return`${z.url}&size=${F}`}static#e=this.\u0275fac=function(F){return new(F||M)(b.KVO(L.u),b.KVO(o.Qq))};static#t=this.\u0275prov=b.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})()},83400:(at,N,s)=>{"use strict";s.d(N,{m:()=>gt});var n=s(93953),a=s(89417),g=s(67376),m=s(84412),T=s(21413),O=s(7673),D=s(56977),E=s(61594),y=s(96354),I=s(88141),b=s(99437),L=s(44668),o=s(55379),C=s(69595),w=s(64687),M=s(66987),q=s(76194),z=s(18359),F=s(25558),U=s(50337),k=s(99760),Y=s(12225),x=s(60177),B=s(2937),j=s(73427),$=s(99213);const H=Ge=>({"badge-success":Ge});function ie(Ge,Se){if(1&Ge){const ke=n.RV6();n.qex(0),n.j41(1,"app-side-sheet-list-item")(2,"div",5),n.bIt("click",function(){const Je=n.eBV(ke).$implicit,Qe=n.XpG();return n.Njj(Qe.onOptionChosen(Je.optionId))}),n.j41(3,"div")(4,"span",6),n.EFF(5),n.k0s(),n.j41(6,"span",7)(7,"span",8),n.EFF(8),n.k0s()()(),n.j41(9,"div",9),n.nrm(10,"mat-icon",10),n.k0s()()(),n.bVm()}if(2&Ge){const ke=Se.$implicit;n.R7$(2),n.BMQ("data-test","actor-type:"+ke.optionLabel),n.R7$(2),n.Y8G("ngClass",n.eq3(4,H,!!ke.value)),n.R7$(),n.JRh(ke.value?1:0),n.R7$(3),n.JRh(ke.optionLabel)}}let ne=(()=>{class Ge{constructor(ke,Ne,Je,Qe){this.sideSheetService=ke,this.enoService=Ne,this.allObjectTypesService=Je,this.cdr=Qe,this.subs$=new z.yU}ngOnInit(){this.options=[{optionId:"contact",typeTip:"app/super-type/contact",optionLabel:"Contacts"},{optionId:"group",typeTip:"app/group",optionLabel:"Groups"},{optionId:"profile",typeTip:"app/profile",optionLabel:"Profiles"},{optionId:"Team role",typeTip:"app/team-role",optionLabel:"Team roles"},{optionId:"user",typeTip:"app/user",optionLabel:"Users"}],this.selectedData&&this.selectedData.length&&this.subs$.add(this.enoService.getTypeTip(this.selectedData[0]).pipe((0,F.n)(ke=>this.allObjectTypesService.getObjectType$(ke).pipe((0,y.T)(Ne=>({targetTip:ke,implementSuperTypes:Ne.implementsSuperTypes||[]}))))).subscribe(({targetTip:ke,implementSuperTypes:Ne})=>{for(const Je of this.options)if(Je.typeTip===ke||Ne.indexOf(Je.typeTip)>-1){Je.value=this.selectedData[0],this.currentSelection=Je,this.cdr.markForCheck();break}}))}ngOnDestroy(){this.subs$.unsubscribe()}onOptionChosen(ke){switch(this.currentSelection=this.options.find(Ne=>Ne.optionId===ke),ke){case"profile":case"Team role":case"user":case"contact":this.openObjectChooserSideSheet(ke);break;case"group":this.openHierarchicalChooser(ke)}}openObjectChooserSideSheet(ke){const Je=this.sideSheetService.push(o.a).componentInstance;Je.title=`Select a ${ke}`,Je.listType=C.X.SINGLE_SELECT,Je.typeTips=[this.currentSelection.typeTip],Je.selected=this.currentSelection.value?[this.currentSelection.value]:[],Je.done=Qe=>{this.resetSelections(),this.currentSelection.value=Qe.selected&&Qe.selected.length?Qe.selected[0]:null,this.cdr.detectChanges()}}openHierarchicalChooser(ke){const{componentInstance:Ne}=this.sideSheetService.push(w.b),Qe={typeRestrict:this.currentSelection.typeTip,extendedFieldType:q.TV.hierarchical,isHierarchical:!0,operator:null,objectType:null,fieldTip:null};Ne.setInitialProps(this.currentSelection&&this.currentSelection.value?[this.currentSelection.value]:[],(0,M.C)(Qe),Qe.typeRestrict,C.X.SINGLE_SELECT,rt=>this.onSelectingGroup(rt))}onSelectingGroup(ke){this.resetSelections(),this.currentSelection.value=ke&&ke.length?ke[0]:null,this.cdr.detectChanges()}resetSelections(){for(const ke of this.options)ke.value=null}onDonePressed(){this.sideSheetService.pop(),this.done(this.currentSelection)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ge)(n.rXU(U.E),n.rXU(k.g),n.rXU(Y.b),n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:Ge,selectors:[["app-workflow-new-actor-option-chooser"]],decls:9,vars:2,consts:[["action","Done",3,"actioned","disabled"],[1,"card-body"],[1,"card-header","d-flex","justify-content-start","align-items-center","pt-2"],[1,"title"],[4,"ngFor","ngForOf"],[1,"d-flex","justify-content-between","align-items-center",3,"click"],[1,"badge","badge-pill",3,"ngClass"],[1,"ml-2"],[1,"display-value"],[1,"h1","m-0","ml-2"],["svgIcon","chevron",1,"eim-icon_chevron-right-list-item","no-shrink"]],template:function(Ne,Je){1&Ne&&(n.j41(0,"app-side-sheet-header",0),n.bIt("actioned",function(){return Je.onDonePressed()}),n.EFF(1," Select actor\n"),n.k0s(),n.j41(2,"div")(3,"div",1)(4,"div",2)(5,"div",3)(6,"strong"),n.EFF(7,"Actor type"),n.k0s()()(),n.DNE(8,ie,11,6,"ng-container",4),n.k0s()()),2&Ne&&(n.Y8G("disabled",null==Je.selectedData),n.R7$(8),n.Y8G("ngForOf",Je.options))},dependencies:[x.YU,x.Sq,B.N,j.R,$.An],changeDetection:0})}return Ge})();var Q=s(76087),le=s(14784),pe=s(71631),te=s(21695),ae=s(66386),K=s(36193),de=s(37919),Me=s(4372);const me=["*"],be=(Ge,Se,ke,Ne)=>({displayValue:Ge,loading:Se,moduleName:ke,isAdmin:Ne}),Le=Ge=>({"h-100":Ge});function Ae(Ge,Se){if(1&Ge&&n.nrm(0,"app-form-control-label",4),2&Ge){const ke=n.XpG();n.Y8G("for",ke.uniqueId)("label",ke.label)("required",ke.required)("optional",ke.optional)("errors",null==ke.formControl?null:ke.formControl.errors)("disabled",ke.offline)}}function Oe(Ge,Se){1&Ge&&n.eu8(0)}function Xe(Ge,Se){if(1&Ge&&(n.j41(0,"div",12)(1,"span",13),n.EFF(2),n.k0s()()),2&Ge){const ke=n.XpG(2).displayValue;n.R7$(2),n.SpI(" ",ke,"")}}function Pe(Ge,Se){if(1&Ge&&(n.j41(0,"div",14),n.EFF(1),n.k0s()),2&Ge){const ke=n.XpG(2).moduleName;n.R7$(),n.JRh(ke)}}function $e(Ge,Se){if(1&Ge){const ke=n.RV6();n.j41(0,"span",15)(1,"mat-icon",16),n.bIt("click",function(Je){n.eBV(ke);const Qe=n.XpG(3);return n.Njj(!Qe.offline&&Qe.clickToolIcon(Je))}),n.k0s()()}}function ze(Ge,Se){if(1&Ge){const ke=n.RV6();n.j41(0,"span",15)(1,"mat-icon",17),n.bIt("click",function(Je){n.eBV(ke);const Qe=n.XpG(3);return n.Njj(!Qe.offline&&Qe.clickToolIcon(Je))}),n.k0s()()}}function Be(Ge,Se){1&Ge&&(n.j41(0,"span",20),n.EFF(1," Loading\u2026 "),n.k0s())}function Ye(Ge,Se){if(1&Ge&&(n.j41(0,"div",12),n.DNE(1,Be,2,0,"span",18),n.j41(2,"span",19),n.EFF(3),n.k0s()()),2&Ge){const ke=n.XpG(2).loading,Ne=n.XpG();n.R7$(),n.Y8G("ngIf",ke),n.R7$(2),n.JRh(!ke&&Ne.placeholder?Ne.placeholder:"")}}function Ct(Ge,Se){if(1&Ge){const ke=n.RV6();n.j41(0,"button",7),n.bIt("blur",function(){n.eBV(ke);const Je=n.XpG(2);return n.Njj(Je.onTouched())})("click",function(){n.eBV(ke);const Je=n.XpG(2);return n.Njj(Je.onOpenAction())}),n.j41(1,"div",8),n.DNE(2,Xe,3,1,"div",9)(3,Pe,2,1,"div",10),n.k0s(),n.DNE(4,$e,2,0,"span",11)(5,ze,2,0,"span",11)(6,Ye,4,2,"ng-template",null,1,n.C5r),n.k0s()}if(2&Ge){const ke=n.sdS(7),Ne=n.XpG(),Je=Ne.displayValue,Qe=Ne.loading,rt=Ne.moduleName,ft=Ne.isAdmin,Xt=n.XpG();n.Y8G("ngClass",n.eq3(9,Le,Xt.showSecondaryLabel))("id",Xt.uniqueId)("disabled",Xt.disabled||Qe||Xt.offline),n.BMQ("disabled",Xt.disabled||Xt.offline?"":null),n.R7$(2),n.Y8G("ngIf",!Qe&&Je)("ngIfElse",ke),n.R7$(),n.Y8G("ngIf",rt),n.R7$(),n.Y8G("ngIf",Xt.isObjectType&&rt&&ft&&!Qe&&Je),n.R7$(),n.Y8G("ngIf",Xt.isWorkflow&&ft&&!Qe&&Je)}}function Lt(Ge,Se){if(1&Ge&&n.nrm(0,"input",21),2&Ge){const ke=n.XpG(),Ne=ke.displayValue,Je=ke.loading,Qe=n.XpG();n.Y8G("id",Qe.uniqueId)("isNavigable",!Qe.readonly)("placeholder",Je?"Loading...":Qe.placeholder)("value",Ne)}}function Vt(Ge,Se){if(1&Ge&&n.DNE(0,Ct,8,11,"button",5)(1,Lt,1,4,"input",6),2&Ge){const ke=n.XpG();n.Y8G("ngIf",!ke.readonly),n.R7$(),n.Y8G("ngIf",ke.readonly)}}const ht={provide:a.kq,useExisting:(0,n.Rfq)(()=>gt),multi:!0};let gt=(()=>{class Ge{constructor(ke,Ne,Je,Qe,rt,ft,Xt){this.sideSheetService=ke,this.formulaService=Ne,this.meService=Je,this.objectTypeService=Qe,this.workflowDesignerService=rt,this.connectionService=ft,this.cdr=Xt,this._eimFormsFormControlHostClass=!0,this.allowNavAway=!0,this.allowUserToAdd=!0,this.emitStringNotArray=!1,this.handlingWorkflowActor=!1,this.ignoreQueryAndFilterOnFilterText=!1,this.optional=!1,this.readonly=!1,this.required=!1,this.showModuleInfo=!1,this.displayValue$=new m.t(""),this.isObjectType=!1,this.isWorkflow=!1,this.loading$=new m.t(!1),this.showSecondaryLabel=!1,this.uniqueId=(0,g.uniqueId)("app-single-object-chooser-field-"),this.offline=!1,this.destroyed$=new T.B,this.onChange=It=>{},this.onTouched=()=>{}}ngOnInit(){this.isAdmin$=this.meService.isAdmin$(),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,D.Q)(this.destroyed$)).subscribe(ke=>{this.offline=!ke,this.cdr.detectChanges()})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}writeValue(ke){this.selected=Array.isArray(ke)?ke&&ke.length?[ke[0]]:[]:ke?[ke]:[],this.typeTips&&this.typeTips.length&&"app/object-type"===this.typeTips[0]&&(this.isObjectType=!0),this.typeTips&&this.typeTips.length&&"app/workflow"===this.typeTips[0]&&(this.isWorkflow=!0),this.updateDisplayValueObservable(),this.setModuleName()}registerOnChange(ke){this.onChange=ke}registerOnTouched(ke){this.onTouched=ke}setDisabledState(ke){this.disabled=ke}onOpenAction(){this.handlingWorkflowActor?this.openNewActorSideSheet():this.openObjectChooserSideSheet()}openObjectChooserSideSheet(){const Ne=this.sideSheetService.push(o.a).componentInstance;Ne.allowNavAway=this.allowNavAway,Ne.canCreateNew=this.allowUserToAdd,Ne.contextTip=this.contextTip,Ne.excludeList=this.excludeList,Ne.extraFilters=this.extraFilters||[],Ne.extraVars=this.extraVars,Ne.filterTextPlaceHolder=this.filterTextPlaceholder,Ne.ignoreQueryAndFilterOnFilterText=this.ignoreQueryAndFilterOnFilterText,Ne.isObjectType=this.isObjectType,Ne.listType=C.X.SINGLE_SELECT,Ne.moduleTip=this.moduleTip,Ne.queryAndFilter=this.queryAndFilter,Ne.selected=this.selected,Ne.showModuleInfo=this.showModuleInfo,Ne.staticOptions=this.staticOptions||[],Ne.title=this.label,Ne.typeTips=this.typeTips,Ne.monitorConnection=this.monitorConnection,Ne.done=Je=>{this.selected=Je.selected&&Je.selected.length?[Je.selected[0]]:[],this.updateDisplayValueObservable(),this.setModuleName(),this.onChange(this.emitStringNotArray?this.selected[0]||null:this.selected)}}openNewActorSideSheet(){const Ne=this.sideSheetService.push(ne).componentInstance;Ne.selectedData=this.selected,Ne.done=Je=>{this.selected=Je.value?[Je.value]:[],this.updateDisplayValueObservable(),this.onChange(this.emitStringNotArray?this.selected[0]||null:this.selected)}}updateDisplayValueObservable(){if(this.selected&&this.selected.length){if(this.staticOptions&&this.staticOptions.length>0)for(const ke of this.staticOptions)if(ke.$tip===this.selected[0])return void this.displayValue$.next(ke.title);this.loading$.next(!0),this.formulaService.evaluate("TITLE()",this.selected[0].toString()).pipe((0,E.$)(),(0,y.T)(ke=>ke[0]),(0,I.M)(ke=>{this.displayValue$.next(ke),this.loading$.next(!1)}),(0,b.W)(()=>(this.loading$.next(!1),(0,O.of)(null)))).subscribe(),(this.showModuleInfo||this.isObjectType||this.isWorkflow)&&this.setModuleName()}else this.displayValue$.next("")}setModuleName(){this.moduleName$=(0,O.of)(""),(this.showModuleInfo||this.isObjectType||this.isWorkflow)&&this.selected&&this.selected.length?(this.showSecondaryLabel=!0,this.loading$.next(!0),this.isObjectType?this.moduleName$=this.objectTypeService.getModuleNameFromObjectTypeTip(this.selected[0]):this.isWorkflow&&(this.moduleName$=this.workflowDesignerService.getModuleNameFromWorkflowTip(this.selected[0])),this.moduleName$=this.moduleName$.pipe((0,L.t)(1),(0,E.$)(),(0,I.M)(()=>this.loading$.next(!1)),(0,b.W)(()=>(this.loading$.next(!1),(0,O.of)(null))))):this.showSecondaryLabel=!1}clickToolIcon(ke){this.isObjectType&&this.selected&&this.selected.length&&this.objectTypeService.openObjectTypeDesignPage(ke,this.selected[0]),this.isWorkflow&&this.selected&&this.selected.length&&this.workflowDesignerService.openWorkflowDesignerPage(ke,this.selected[0])}static#e=this.\u0275fac=function(Ne){return new(Ne||Ge)(n.rXU(U.E),n.rXU(Q.C),n.rXU(le.Q),n.rXU(pe.h),n.rXU(te.e),n.rXU(ae.K),n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:Ge,selectors:[["app-single-object-chooser-field"]],hostVars:2,hostBindings:function(Ne,Je){2&Ne&&n.AVh("eim-forms_form-control-host",Je._eimFormsFormControlHostClass)},inputs:{allowNavAway:"allowNavAway",allowUserToAdd:"allowUserToAdd",contextTip:"contextTip",disabled:"disabled",emitStringNotArray:"emitStringNotArray",excludeList:"excludeList",extraFilters:"extraFilters",extraVars:"extraVars",filterTextPlaceholder:"filterTextPlaceholder",handlingWorkflowActor:"handlingWorkflowActor",ignoreQueryAndFilterOnFilterText:"ignoreQueryAndFilterOnFilterText",label:"label",moduleTip:"moduleTip",optional:"optional",placeholder:"placeholder",queryAndFilter:"queryAndFilter",readonly:"readonly",required:"required",showModuleInfo:"showModuleInfo",staticOptions:"staticOptions",typeTips:"typeTips",formControl:"formControl",monitorConnection:"monitorConnection"},features:[n.Jv_([ht])],ngContentSelectors:me,decls:9,vars:16,consts:[["chooser",""],["showPlaceholder",""],[3,"for","label","required","optional","errors","disabled",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"for","label","required","optional","errors","disabled"],["data-test","object-chooser-button","rightArrowSingleLine","","type","button","class","d-flex px-2 py-0",3,"ngClass","id","disabled","blur","click",4,"ngIf"],["readonly","","class","form-control form-control-sm",3,"id","isNavigable","placeholder","value",4,"ngIf"],["data-test","object-chooser-button","rightArrowSingleLine","","type","button",1,"d-flex","px-2","py-0",3,"blur","click","ngClass","id","disabled"],[1,"text-left","w-50","flex-grow-1","object-type-chooser-content"],["class","d-flex",4,"ngIf","ngIfElse"],["class","align-left eim-font-size_small eim-font-color_grey",4,"ngIf"],["class","tool-icon",4,"ngIf"],[1,"d-flex"],["data-test","display-value",1,"text-truncate","eim-forms_form-control-chooser-value","object-type-label"],[1,"align-left","eim-font-size_small","eim-font-color_grey"],[1,"tool-icon"],["role","button","aria-label","Open object type","aria-hidden","false","appTabIndex","","svgIcon","admin-tool",1,"flex-shrink-0",3,"click"],["role","button","aria-label","Open workflow","aria-hidden","false","appTabIndex","","svgIcon","admin-tool",1,"flex-shrink-0",3,"click"],["class","text-truncate eim-forms_form-control-chooser-placeholder eim-forms_form-control-chooser-placeholder-async",4,"ngIf"],[1,"text-truncate","eim-forms_form-control-chooser-placeholder"],[1,"text-truncate","eim-forms_form-control-chooser-placeholder","eim-forms_form-control-chooser-placeholder-async"],["readonly","",1,"form-control","form-control-sm",3,"id","isNavigable","placeholder","value"]],template:function(Ne,Je){if(1&Ne&&(n.NAR(),n.DNE(0,Ae,1,6,"app-form-control-label",2)(1,Oe,1,0,"ng-container",3),n.nI1(2,"async"),n.nI1(3,"async"),n.nI1(4,"async"),n.nI1(5,"async"),n.DNE(6,Vt,2,2,"ng-template",null,0,n.C5r),n.SdG(8)),2&Ne){const Qe=n.sdS(7);n.Y8G("ngIf",Je.label),n.R7$(),n.Y8G("ngTemplateOutlet",Qe)("ngTemplateOutletContext",n.ziG(11,be,n.bMT(2,3,Je.displayValue$),n.bMT(3,5,Je.loading$),n.bMT(4,7,Je.moduleName$),n.bMT(5,9,Je.isAdmin$)))}},dependencies:[x.YU,x.bT,x.T3,K.d,de.Z,Me.J,$.An,x.Jj],styles:[".object-type-label[_ngcontent-%COMP%]{font-size:1.1rem}.object-type-chooser-content[_ngcontent-%COMP%]{line-height:1.4rem;padding:10px 0}.tool-icon[_ngcontent-%COMP%]{padding:0 20px;border-right:1px solid #dbdfe2;border-left:1px solid #dbdfe2;height:30px;display:flex;align-items:center;margin-right:20px}.tool-icon[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{display:flex;width:20px;height:20px;color:#5a7186}"]})}return Ge})()},41666:(at,N,s)=>{"use strict";s.d(N,{b:()=>ie});var n=s(93953),a=s(89417),g=s(67376),T=s(69822),O=s(69595),D=s(36539),E=s(21413),y=s(71985),I=s(56977),b=s(37526),L=s(50337),o=s(60177),C=s(4372),w=s(99213),M=s(37919),q=s(36193),z=s(35026);const F=[[["","explanatoryText",""]],"*"],U=["[explanatoryText]","*"];function k(ne,Q){if(1&ne&&n.nrm(0,"app-form-control-label",5),2&ne){const le=n.XpG();n.Y8G("label",le.label)("for",le.uniqueId)("required",le.required)("optional",le.optional)}}function Y(ne,Q){if(1&ne&&n.nrm(0,"mat-icon",10),2&ne){const le=n.XpG(3);n.Y8G("svgIcon",le.ICON_SET_NAMESPACE+":"+le.selectedOption.icon)}}function x(ne,Q){if(1&ne&&(n.j41(0,"span",7),n.DNE(1,Y,1,1,"mat-icon",8),n.nrm(2,"span",9),n.nI1(3,"fixTabNabbing"),n.k0s()),2&ne){const le=n.XpG(2);n.R7$(),n.Y8G("ngIf",le.showIcon&&(null==le.selectedOption?null:le.selectedOption.icon)),n.R7$(),n.xc7("color",le.getSymbologyIconColor(null==le.selectedOption?null:le.selectedOption.color)),n.Y8G("innerHTML",n.bMT(3,4,null==le.selectedOption?null:le.selectedOption.label),n.npT)}}function B(ne,Q){if(1&ne&&(n.j41(0,"span",11),n.EFF(1),n.k0s()),2&ne){const le=n.XpG(2);n.R7$(),n.JRh(le.placeholder)}}function j(ne,Q){if(1&ne&&(n.qex(0),n.DNE(1,x,4,6,"span",6)(2,B,2,1,"ng-template",null,1,n.C5r),n.bVm()),2&ne){const le=n.sdS(3),pe=n.XpG();n.R7$(),n.Y8G("ngIf",pe.selectedOption)("ngIfElse",le)}}function $(ne,Q){1&ne&&(n.j41(0,"span"),n.EFF(1,"Loading..."),n.k0s())}const H={provide:a.kq,useExisting:(0,n.Rfq)(()=>ie),multi:!0};let ie=(()=>{class ne{set options(le){this.setOptions(le)}constructor(le,pe,te){this.changeDetectorRef=le,this.colorService=pe,this.sideSheetService=te,this._eimFormsFormControlHostClass=!0,this.required=!1,this.optional=!1,this.readonly=!1,this.showIcon=!0,this.showColor=!1,this.searchBox=!1,this.actionText="Done",this._options=[],this.loading=!1,this.shadow=!0,this.hasBottomMargin=!0,this.isFromContactSelfService=!1,this.showBorderBeforeListItem=!1,this.monitorConnection=!1,this.back=new n.bkB,this.ICON_SET_NAMESPACE=D.GX,this.uniqueId=(0,g.uniqueId)("app-single-option-list-field-"),this.unsubscribe$=new E.B,this.onChange=ae=>{},this.onTouched=()=>{}}writeValue(le){this.selected=le,this.changeDetectorRef.markForCheck()}registerOnChange(le){this.onChange=le}registerOnTouched(le){this.onTouched=le}setDisabledState(le){this.disabled=le,this.changeDetectorRef.markForCheck()}openOptionListSideSheet(){this.onTouched();const le=this.sideSheetService.push(T.T);le.componentInstance.listType=O.X.SINGLE_SELECT,le.componentInstance.options=this._options,le.componentInstance.selected=this.selected,le.componentInstance.label=this.title||this.label,le.componentInstance.required=this.required,le.componentInstance.searchBox=this.searchBox,le.componentInstance.actionText=this.actionText,le.componentInstance.isFromContactSelfService=this.isFromContactSelfService,le.componentInstance.emptyStateDynamicConfiguration=this.emptyStateConfiguration,le.componentInstance.showBorderBeforeListItem=this.showBorderBeforeListItem,le.componentInstance.monitorConnection=this.monitorConnection,le.componentInstance.back=()=>{this.back.emit()},le.componentInstance.done=pe=>{this.selected=pe.selected,this.onChange(pe.selected),this.back.emit(),this.changeDetectorRef.markForCheck()}}setOptions(le){if(!le)return void(this._options=[]);if(!(le instanceof y.c))return void(this._options=le);const pe=this.disabled;this.disabled=!0,this.loading=!0,this.changeDetectorRef.markForCheck(),le.pipe((0,I.Q)(this.unsubscribe$)).subscribe(te=>{this.options=te,this.disabled=pe,this.loading=!1,this.changeDetectorRef.markForCheck()})}get selectedOption(){if(!this._options.length)return;const le=(0,g.clone)(this._options.find(pe=>pe.value===this.selected));return le?(le.label=le.label.split("<br>")[0],le):void 0}getSymbologyButtonStyle(le){if(!this.showColor||!le)return null;const pe=this.colorService.getDarkenedColor(le);return{"background-color":le,"border-color":pe,"box-shadow":`inset 0 -1px 0 ${pe}`}}getSymbologyIconColor(le){return this.showColor&&le?this.colorService.getContrastingColor(le):null}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(pe){return new(pe||ne)(n.rXU(n.gRc),n.rXU(b.lr),n.rXU(L.E))};static#t=this.\u0275cmp=n.VBU({type:ne,selectors:[["app-single-option-list-field"]],hostVars:2,hostBindings:function(pe,te){2&pe&&n.AVh("eim-forms_form-control-host",te._eimFormsFormControlHostClass)},inputs:{label:"label",placeholder:"placeholder",required:"required",optional:"optional",readonly:"readonly",showIcon:"showIcon",showColor:"showColor",searchBox:"searchBox",title:"title",options:"options",actionText:"actionText",height:"height",shadow:"shadow",hasBottomMargin:"hasBottomMargin",isFromContactSelfService:"isFromContactSelfService",emptyStateConfiguration:"emptyStateConfiguration",showBorderBeforeListItem:"showBorderBeforeListItem",monitorConnection:"monitorConnection"},outputs:{back:"back"},features:[n.Jv_([H])],ngContentSelectors:U,decls:7,vars:6,consts:[["loadingText",""],["backupDisplay",""],[3,"label","for","required","optional",4,"ngIf"],["type","button","rightArrowSingleLine","",3,"blur","click","id","disabled","ngStyle"],[4,"ngIf","ngIfElse"],[3,"label","for","required","optional"],["class","display-value d-flex justify-content-center align-items-center",4,"ngIf","ngIfElse"],[1,"display-value","d-flex","justify-content-center","align-items-center"],["class","mr-1 eim-icon_control",3,"svgIcon",4,"ngIf"],[3,"innerHTML"],[1,"mr-1","eim-icon_control",3,"svgIcon"],[1,"placeholder-text"]],template:function(pe,te){if(1&pe){const ae=n.RV6();n.NAR(F),n.DNE(0,k,1,4,"app-form-control-label",2),n.SdG(1),n.j41(2,"button",3),n.bIt("blur",function(){return n.eBV(ae),n.Njj(te.onTouched())})("click",function(){return n.eBV(ae),n.Njj(te.openOptionListSideSheet())}),n.DNE(3,j,4,2,"ng-container",4)(4,$,2,0,"ng-template",null,0,n.C5r),n.k0s(),n.SdG(6,1)}if(2&pe){const ae=n.sdS(5);n.Y8G("ngIf",te.label),n.R7$(2),n.Y8G("id",te.uniqueId)("disabled",te.disabled||te.readonly)("ngStyle",te.getSymbologyButtonStyle(null==te.selectedOption?null:te.selectedOption.color)),n.R7$(),n.Y8G("ngIf",!te.loading)("ngIfElse",ae)}},dependencies:[o.bT,o.B3,C.J,w.An,M.Z,q.d,z.c],styles:[".placeholder-text[_ngcontent-%COMP%]{color:#878787}.display-value[_ngcontent-%COMP%], .placeholder-text[_ngcontent-%COMP%]{overflow:hidden;min-width:0}  .display-value .description{display:none}"],changeDetection:0})}return ne})()},49232:(at,N,s)=>{"use strict";s.d(N,{BX:()=>Q,J6:()=>H,SI:()=>ie});var n=s(93953),a=s(89417),g=s(67376),T=s(57943),O=s(7930),D=s(19006),E=s(84412),y=s(61594),I=s(9975),b=s(60177),L=s(50337),o=s(64627),C=s(97206),w=s(4372),M=s(99213),q=s(44225),z=s(36193),F=s(35026);const U=["formFieldEl"],k=["*"];function Y(le,pe){if(1&le&&n.nrm(0,"app-form-control-label",4),2&le){const te=n.XpG();n.Y8G("label",te.label)("for",te.uniqueId)("required",te.required)("optional",te.optional)("disabled",te.isDisabled)}}function x(le,pe){if(1&le){const te=n.RV6();n.j41(0,"div",8)(1,"div",9,0),n.bIt("blur",function(){n.eBV(te);const K=n.XpG(2);return n.Njj(K.onTouched())})("keyup",function(){n.eBV(te);const K=n.XpG(2);return K.formatNewValue(),n.Njj(K.updateCurrentCursorPositionValues())})("mouseup",function(){n.eBV(te);const K=n.XpG(2);return n.Njj(K.updateCurrentCursorPositionValues())})("paste",function(K){n.eBV(te);const de=n.XpG(2);return n.Njj(de.sanitizePaste(K))})("keydown",function(K){n.eBV(te);const de=n.XpG(2);return n.Njj(de.preventIfEnterKeyPressed(K))}),n.k0s(),n.j41(3,"button",10),n.bIt("click",function(){n.eBV(te);const K=n.XpG(2);return n.Njj(K.openStringInterpolationSelectSideSheet())}),n.nrm(4,"mat-icon",11),n.k0s()()}if(2&le){const te=n.XpG(2);n.Y8G("showSpinner$",te.loading$),n.R7$(),n.AVh("contenteditable_disabled",te.isDisabled),n.Y8G("id",te.uniqueId),n.BMQ("contenteditable",!te.isDisabled)("data-placeholder",te.placeholder),n.R7$(2),n.Y8G("disabled",te.isDisabled)}}function B(le,pe){if(1&le){const te=n.RV6();n.j41(0,"div",12)(1,"div",13)(2,"button",14),n.bIt("click",function(){n.eBV(te);const K=n.XpG(2);return n.Njj(K.openStringInterpolationSelectSideSheet())}),n.nrm(3,"mat-icon",11),n.k0s()(),n.j41(4,"div",15,0),n.bIt("input",function(){n.eBV(te);const K=n.XpG(2);return n.Njj(K.formatNewValue())})("blur",function(){n.eBV(te);const K=n.XpG(2);return n.Njj(K.onTouched())})("keyup",function(){n.eBV(te);const K=n.XpG(2);return n.Njj(K.updateCurrentCursorPositionValues())})("mouseup",function(){n.eBV(te);const K=n.XpG(2);return n.Njj(K.updateCurrentCursorPositionValues())})("paste",function(K){n.eBV(te);const de=n.XpG(2);return n.Njj(de.sanitizePaste(K))}),n.k0s()()}if(2&le){const te=n.XpG(2);n.Y8G("showSpinner$",te.loading$),n.R7$(2),n.Y8G("disabled",te.isDisabled),n.R7$(2),n.AVh("contenteditable_disabled",te.isDisabled),n.Y8G("id",te.uniqueId),n.BMQ("contenteditable",!te.isDisabled)("data-placeholder",te.placeholder)}}function j(le,pe){if(1&le&&(n.qex(0,5),n.DNE(1,x,5,7,"div",6)(2,B,6,7,"div",7),n.bVm()),2&le){const te=n.XpG();n.Y8G("ngSwitch",te.mode),n.R7$(),n.Y8G("ngSwitchCase",te.STRING_INTERPOLATE_TEXT_FIELD_MODE.SINGLE_LINE),n.R7$(),n.Y8G("ngSwitchCase",te.STRING_INTERPOLATE_TEXT_FIELD_MODE.MULTI_LINE)}}function $(le,pe){if(1&le&&(n.nrm(0,"div",16),n.nI1(1,"fixTabNabbing")),2&le){const te=n.XpG();n.Y8G("innerHTML",n.bMT(1,1,te.readOnlyValue),n.npT)}}var H=function(le){return le.SINGLE_LINE="single-line",le.MULTI_LINE="multi-line",le}(H||{}),ie=function(le){return le.SUBSTITUTIONS="substitutions",le.FORMULA="formula",le}(ie||{});const ne={provide:a.kq,useExisting:(0,n.Rfq)(()=>Q),multi:!0};let Q=(()=>{class le{constructor(te,ae,K,de,Me,me,be){this.cdr=te,this.renderer=ae,this.sideSheetService=K,this.formulaLabelService=de,this.displayFormulaWrapperService=Me,this.window=me,this.document=be,this._eimFormsFormControlHostClass=!0,this.required=!1,this.optional=!1,this.readonly=!1,this.placeholder="",this.mode=H.SINGLE_LINE,this.interpolationType=O.YG.message,this.hideResponseLinks=!1,this.hideMessageOptions=!0,this.hideRecipient=!1,this.contextTypeTips=[],this.valueFormat=ie.SUBSTITUTIONS,this.useContextFormula=!1,this.preserveLineBreaks=!1,this.hideSystemCurrentUserOption=!1,this.isFromContactSelfService=!1,this.uniqueId=(0,g.uniqueId)("app-string-interpolate-text-field-"),this.STRING_INTERPOLATE_TEXT_FIELD_MODE=H,this.loading$=new E.t(!1),this.isTextHighlighted=!1,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(te){if(this.valueFormat===ie.SUBSTITUTIONS||"string"!=typeof te)return void this.initValue(te);const ae=(te=O.tk.getSubstitutionMetaFromStringifiedFormula(te)).substitutions.map(K=>({formulaString:this.displayFormulaWrapperService.removeDisplayFormulaWrapper(K.value)}));if(!ae.length)return this.initValue(te),void this.loading$.next(!1);this.loading$.next(!0),this.formulaLabelService.transformBatch(ae).pipe((0,y.$)()).subscribe(K=>{te.substitutions.forEach((de,Me)=>{K[Me]&&(de.label=K[Me])}),this.initValue(te),this.loading$.next(!1)},()=>{te.substitutions.forEach((K,de)=>{K.label=""}),this.initValue(te),this.loading$.next(!1)})}initValue(te){if(!this.formFieldEl)return void(this.value=te&&this.instanceOfISubstitutionMeta(te)?te:null);if(!te||!this.instanceOfISubstitutionMeta(te))return this.value=null,void this.renderer.setProperty(this.formFieldEl.nativeElement,"innerHTML","");const ae=O.tk.getViewTextFromDataHtml(te,this.renderer);this.renderer.setProperty(this.formFieldEl.nativeElement,"innerHTML",ae),this.formatNewValue(!1)}registerOnChange(te){this.onChange=te}registerOnTouched(te){this.onTouched=te}setDisabledState(te){this.isDisabled=te,this.cdr.markForCheck()}ngAfterViewInit(){this.writeValue(this.value),this.triggerRemoveContextSubstitution$&&this.triggerRemoveContextSubstitution$.subscribe(()=>this.removeContextSubstitution())}formatNewValue(te=!0){const K=O.tk.getSubstitutionMetaFromViewHtml(this.formFieldEl.nativeElement.innerHTML,this.renderer,O.Ty.TEXT_CONTENT,this.preserveLineBreaks);if(this.valueFormat===ie.FORMULA&&O.tk.getStringifiedFormulaFromSubstitutionMeta(K),this.value=K,te){const de=this.valueFormat===ie.FORMULA?O.tk.getStringifiedFormulaFromSubstitutionMeta(K):K;this.onChange(de)}}openStringInterpolationSelectSideSheet(){const ae=this.sideSheetService.push(T.S).componentInstance;ae.recipientSuperTypeTip=this.recipientSuperTypeTip,ae.interpolationType=this.interpolationType,ae.hideResponseLinks=this.hideResponseLinks,ae.hideMessageOptions=this.hideMessageOptions,ae.hideRecipient=this.hideRecipient,ae.contextTypeTips=this.contextTypeTips,ae.workflowVariables=this.workflowVariables,ae.useContextFormula=this.useContextFormula,ae.showSequence=this.showSequence,ae.showModuleOptions=this.showModuleOptions,ae.moduleTip=this.moduleTip,ae.hideSystemCurrentUserOption=this.hideSystemCurrentUserOption,ae.isFromContactSelfService=this.isFromContactSelfService,ae.displayFormulaRule=this.showSequence?{...this.displayFormulaRule,stripHTML:!0,list:!0,date:!0,datetime:!0,wrapStringFieldsInTopLevelConcatWS:!1}:{...this.displayFormulaRule,stripHTML:!0,date:!0,datetime:!0,wrapStringFieldsInTopLevelConcatWS:!1},this.interpolationType===O.YG.general?ae.metaDataKeysToExclude=[I.Po.title,I.Po.urlLink]:this.interpolationType===O.YG.message&&(ae.metaDataKeysToExclude=[]),ae.done=K=>{this.sideSheetService.pop();const de=O.tk.createInterpolationSpanElement(K,this.renderer);if(!this.currentCursorPositionNode||null===this.currentCursorPositionOffset)return this.renderer.appendChild(this.formFieldEl.nativeElement,de),void this.formatNewValue();const Me=this.currentCursorPositionNode.textContent.slice(),me=Me.substring(0,this.currentCursorPositionOffset),be=Me.substring(this.currentCursorPositionOffset);this.currentCursorPositionNode.textContent="";const Le=this.renderer.parentNode(this.currentCursorPositionNode),Ae=this.renderer.nextSibling(this.currentCursorPositionNode);this.renderer.insertBefore(Le,de,Ae),de.insertAdjacentText("beforebegin",me),de.insertAdjacentText("afterend",be),this.formatNewValue()}}updateCurrentCursorPositionValues(){const te=this.window.getSelection();if(this.isTextHighlighted=!!te.toString(),this.formFieldEl?.nativeElement?.innerText&&0==this.formFieldEl.nativeElement.innerText.trim().length&&(this.formFieldEl.nativeElement.innerText=""),this.isTextHighlighted&&0!==te.rangeCount){const ae=te.getRangeAt(0);this.highlightedTextStart=ae.startOffset,this.highlightedTextEnd=ae.endOffset}else this.highlightedTextStart=this.highlightedTextEnd=-1;if(!this.formFieldEl.nativeElement.contains(te.anchorNode.parentElement))return this.currentCursorPositionNode=null,void(this.currentCursorPositionOffset=null);if(te.anchorNode.parentElement.parentElement.getAttribute("data-substitution")){const ae=te.anchorNode.parentElement.parentElement.previousSibling;return this.currentCursorPositionNode=ae,void(ae&&(this.currentCursorPositionOffset=ae.textContent.length))}this.currentCursorPositionNode=te.anchorNode,this.currentCursorPositionOffset=te.anchorOffset}preventIfEnterKeyPressed(te){"enter"===te.key.toLowerCase()&&(te.preventDefault(),this.formFieldEl.nativeElement.blur())}sanitizePaste(te){te.stopPropagation(),te.preventDefault();const ae=te.clipboardData||window.clipboardData;if(!ae||!ae.getData)return;const K=ae.getData(te.clipboardData?"text/plain":"Text");if(!K)return;const de=this.renderer.createText(K);if(this.currentCursorPositionNode)if(this.currentCursorPositionOffset>=0&&""!==this.currentCursorPositionNode.textContent){let Me="";if(this.isTextHighlighted&&this.highlightedTextEnd>this.highlightedTextStart){const me=this.currentCursorPositionNode.textContent,be=me.substring(0,this.highlightedTextStart),Le=me.substring(this.highlightedTextEnd);Me=be+de.textContent+Le}else{const me=this.currentCursorPositionNode.textContent,be=me.substring(0,this.currentCursorPositionOffset),Le=me.substring(this.currentCursorPositionOffset);Me=be+de.textContent+Le}this.renderer.setValue(this.currentCursorPositionNode,Me)}else{const Me=this.renderer.parentNode(this.currentCursorPositionNode),me=this.renderer.nextSibling(this.currentCursorPositionNode);this.renderer.insertBefore(Me,de,me)}else this.renderer.appendChild(this.formFieldEl.nativeElement,de);this.formatNewValue()}removeContextSubstitution(){const{changed:te,newHtml:ae}=O.tk.removeSubstitutionByContextFormula(this.formFieldEl.nativeElement.innerHTML,this.renderer);te&&(this.renderer.setProperty(this.formFieldEl.nativeElement,"innerHTML",ae),this.formatNewValue(!0))}get readOnlyValue(){return"string"==typeof this.value?this.value:this.value.html}instanceOfISubstitutionMeta(te){return te&&"object"==typeof te&&"html"in te&&"substitutions"in te}static#e=this.\u0275fac=function(ae){return new(ae||le)(n.rXU(n.gRc),n.rXU(n.sFG),n.rXU(L.E),n.rXU(o.i),n.rXU(C.T),n.rXU(D.jf),n.rXU(b.qQ))};static#t=this.\u0275cmp=n.VBU({type:le,selectors:[["app-string-interpolate-text-field"]],viewQuery:function(ae,K){if(1&ae&&n.GBs(U,5),2&ae){let de;n.mGM(de=n.lsd())&&(K.formFieldEl=de.first)}},hostVars:2,hostBindings:function(ae,K){2&ae&&n.AVh("eim-forms_form-control-host",K._eimFormsFormControlHostClass)},inputs:{label:"label",required:"required",optional:"optional",readonly:"readonly",placeholder:"placeholder",mode:"mode",recipientSuperTypeTip:"recipientSuperTypeTip",interpolationType:"interpolationType",hideResponseLinks:"hideResponseLinks",hideMessageOptions:"hideMessageOptions",hideRecipient:"hideRecipient",contextTypeTips:"contextTypeTips",workflowVariables:"workflowVariables",valueFormat:"valueFormat",useContextFormula:"useContextFormula",displayFormulaRule:"displayFormulaRule",showSequence:"showSequence",showModuleOptions:"showModuleOptions",moduleTip:"moduleTip",preserveLineBreaks:"preserveLineBreaks",hideSystemCurrentUserOption:"hideSystemCurrentUserOption",triggerRemoveContextSubstitution$:"triggerRemoveContextSubstitution$",isFromContactSelfService:"isFromContactSelfService"},features:[n.Jv_([ne])],ngContentSelectors:k,decls:4,vars:3,consts:[["formFieldEl",""],[3,"label","for","required","optional","disabled",4,"ngIf"],[3,"ngSwitch",4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"label","for","required","optional","disabled"],[3,"ngSwitch"],["class","eim-forms_form-control-text-field-and-button-container","appSpinner","",3,"showSpinner$",4,"ngSwitchCase"],["class","d-flex flex-column justify-content-start align-items-stretch form-control multi-line-input","appSpinner","",3,"showSpinner$",4,"ngSwitchCase"],["appSpinner","",1,"eim-forms_form-control-text-field-and-button-container",3,"showSpinner$"],[1,"form-control","form-control-sm",3,"blur","keyup","mouseup","paste","keydown","id"],["type","button","data-test","interpolation-btn","title","Open string interpolation",1,"btn","btn-secondary","eim-button_minimized",3,"click","disabled"],["svgIcon","string-interpolation",1,"eim-color_icon","eim-icon_sm"],["appSpinner","",1,"d-flex","flex-column","justify-content-start","align-items-stretch","form-control","multi-line-input",3,"showSpinner$"],[1,"d-flex","pb-1","justify-content-start","align-items-center","flex-shrink-0","multi-line-input__header"],["type","button","data-test","interpolation-btn","title","Open string interpolation",1,"btn","btn-secondary","eim-button_minimized","ml-1","mt-1",3,"click","disabled"],[1,"flex-grow-1","multi-line-input__body",3,"input","blur","keyup","mouseup","paste","id"],[3,"innerHTML"]],template:function(ae,K){1&ae&&(n.NAR(),n.DNE(0,Y,1,5,"app-form-control-label",1)(1,j,3,3,"ng-container",2)(2,$,2,3,"div",3),n.SdG(3)),2&ae&&(n.Y8G("ngIf",K.label),n.R7$(),n.Y8G("ngIf",!K.readonly),n.R7$(),n.Y8G("ngIf",K.readonly&&K.value))},dependencies:[b.bT,b.ux,b.e1,w.J,M.An,q.b,z.d,F.c],styles:[".form-control[_ngcontent-%COMP%]{line-height:2rem;overflow-x:hidden;white-space:nowrap}.eim-button_minimized[_ngcontent-%COMP%]{flex-shrink:0}[contenteditable=true][_ngcontent-%COMP%]:empty:after{content:attr(data-placeholder);color:#757575}[contenteditable=true][_ngcontent-%COMP%]   br[_ngcontent-%COMP%]{display:none}[contenteditable=true][_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{display:inline;white-space:nowrap}.multi-line-input[_ngcontent-%COMP%]{padding:0;height:150px;border:none}.multi-line-input__header[_ngcontent-%COMP%] > .btn[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{width:16px;height:16px}.multi-line-input__body[_ngcontent-%COMP%]{overflow-y:scroll;padding:4px 12px;font-size:1rem;white-space:pre-wrap;outline:none;border:1px solid #D6E0E4;border-radius:6px}.contenteditable_disabled[_ngcontent-%COMP%]{opacity:.4}"],changeDetection:0})}return le})()},7930:(at,N,s)=>{"use strict";s.d(N,{Ty:()=>L,WG:()=>b,YG:()=>y,tk:()=>o});var n=s(67376),g=s(15765),m=s(95354),T=s(69703),O=s(35011),D=s(93953);const E=/\{\{([G|M|P|R|S|V])\d+\}\}/;var y=function(C){return C.general="G",C.message="M",C.recipient="P",C.responseLink="R",C.subject="S",C.voice="V",C}(y||{}),I=function(C){return C.INPUT="input",C.SPAN="span",C}(I||{}),b=function(C){return C.MESSAGE="messageSubstitutions",C.SUBJECT="subjectSubstitutions",C}(b||{}),L=function(C){return C.INNER_HTML="innerHTML",C.TEXT_CONTENT="textContent",C}(L||{});let o=(()=>{class C{constructor(){}static getSubstitutionKeyFromType(M,q){return`{{${M}${q}}}`}static getSubstitutionTypeFromKey(M){return M.match(E)[1]}static makeInterpolationElement(M,q,z=I.INPUT){const F={type:C.getSubstitutionTypeFromKey(M.key),label:M.label,value:M.value},U=q.createElement("div"),k=z===I.INPUT?C.createInterpolationInputElement(F,q):C.createInterpolationSpanElement(F,q);return q.appendChild(U,k),U.innerHTML}static getSubstitutionFromEmailSMSSubstitution(M,q=y.message){const z=(0,n.cloneDeep)(M);return z.type=q,z}static createInterpolationInputElement(M,q){const z=q.createElement("input");return q.addClass(z,"eim-forms_form-control-string-interpolation_interpolation-blot"),q.setAttribute(z,"disabled","true"),q.setAttribute(z,"readonly","readonly"),q.setAttribute(z,"value",M.label),q.setAttribute(z,"size",M.label.length.toString()),q.setAttribute(z,"data-substitution",JSON.stringify(M)),z}static createInterpolationSpanElement(M,q){const z=q.createElement("span");q.addClass(z,"eim-forms_form-control-string-interpolation_interpolation-blot"),q.setAttribute(z,"data-substitution",JSON.stringify(M));const F=q.createElement("span");q.setAttribute(z,"contenteditable","false");const U=q.createText(M.label);return q.appendChild(F,U),q.appendChild(z,F),z}static getSubstitutionMetaFromEmailOutboundSource(M,q=b.MESSAGE){let z,F;switch(q){case b.MESSAGE:z=M.body,F=y.message;break;case b.SUBJECT:z=M.subject,F=y.subject}return{html:z,substitutions:(M[q]||[]).map(k=>this.getSubstitutionFromEmailSMSSubstitution(k,F))}}static getSubstitutionMetaFromSmsOutboundSource(M){const z=y.message;return{html:M.body,substitutions:(M[b.MESSAGE]||[]).map(U=>this.getSubstitutionFromEmailSMSSubstitution(U,z))}}static extractEmailSMSSubstitutions(M,q="app/email/substitution"){return(M||[]).map(z=>(z.$type=q,z))}static isResponseLinkSubstitution(M){return M.key.startsWith("{{R")}static getSubstitutionMetaFromViewHtml(M,q,z=L.INNER_HTML,F=!1){const U=q.createElement("div");U.innerHTML=M;const k=U.querySelectorAll("[data-substitution]");if(0===k.length)return{html:z===L.INNER_HTML?M:F?this.removeHtmlAndCreateLineBreaks(M):U.textContent,substitutions:[]};const Y=[];if((0,n.forEach)(k,(B,j)=>{const $=JSON.parse(B.getAttribute("data-substitution")),H=C.getSubstitutionKeyFromType($.type,j);B.insertAdjacentHTML("afterend",H),B.parentNode.removeChild(B),Y.push({key:H,type:$.type,label:$.label,value:$.value})}),z===L.TEXT_CONTENT){let B=this.removeHtmlAndCreateLineBreaks(U.innerHTML);return B&&!F&&(B.includes("\n")||B.includes("\r"))&&(B=B.replace(/[\r\n]/g,"")),{html:B,substitutions:Y}}const x=q.createElement("div");return q.setAttribute(x,"data-substitutions",JSON.stringify(Y).replace(/\{\{/g,"{-{")),q.appendChild(U,x),{html:U.innerHTML,substitutions:Y}}static removeSubstitutionByContextFormula(M,q,z=`VAR("${g.oT}")`){const F=q.createElement("div");F.innerHTML=M;const U=F.querySelectorAll("[data-substitution]");let k=!1;return U.forEach(Y=>{const x=JSON.parse(Y.dataset.substitution),B=(0,m.Hb)(x.value);B&&B===z&&(Y.parentNode.removeChild(Y),k=!0)}),{changed:k,newHtml:F.innerHTML}}static getViewHtmlFromDataHtml(M,q){const z=q.createElement("div");z.innerHTML=M;const F=z.querySelector("[data-substitutions]");return F&&(z.removeChild(F),M=z.innerHTML,JSON.parse(F.getAttribute("data-substitutions").replace(/\{\-\{/g,"{{")).forEach(k=>{const Y=C.makeInterpolationElement(k,q,I.INPUT);Y&&(M=M.replace(k.key,Y))})),M}static getViewTextFromDataHtml(M,q){let z=M.html;const F=M.substitutions;return z?(F.length&&F.forEach(U=>{const k=C.makeInterpolationElement(U,q,I.SPAN);k&&(z=z.replace(U.key,k))}),z):""}static getStringifiedFormulaFromSubstitutionMeta(M){const{substitutions:q}=M;let{html:z}=M;return z?(q.length&&q.forEach(F=>z=z.replace(F.key,`{=${F.value}}`)),z):""}static getSubstitutionMetaFromStringifiedFormula(M){const q={html:M,substitutions:[]};let z=0;return M.replace(/{=([A-Z|_]+\([^=]*\))}/g,(F,U,k)=>(q.substitutions.push({key:`{{${y.general}${z}}}`,type:y.general,label:T.yE.getLabelFromSystemFormula(U)||`Label ${z}`,value:U}),q.html=q.html.replace(F,q.substitutions[z].key),z++,q.substitutions[z-1].key)),q}static removeHtmlAndCreateLineBreaks(M){return(0,O.QZ)((0,O.nm)((0,O.jT)(M)))}static#e=this.\u0275fac=function(q){return new(q||C)};static#t=this.\u0275prov=D.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},18354:(at,N,s)=>{"use strict";s.d(N,{L:()=>F,m:()=>z});var n=s(93953),a=s(89417),g=s(67376),T=s(7673),O=s(99172),D=s(96354),E=s(66386),y=s(60177),I=s(4372),b=s(99213),L=s(36193);const o=["inputEl"],C=["*"];function w(U,k){if(1&U&&n.nrm(0,"app-form-control-label",6),2&U){const Y=n.XpG();n.Y8G("label",Y.label)("for",Y.uniqueId)("required",Y.required)("optional",Y.optional)("errors",null==Y.formControl?null:Y.formControl.errors)("disabled",Y.disabled)}}function M(U,k){if(1&U&&(n.j41(0,"div",7),n.nrm(1,"mat-icon",8),n.k0s()),2&U){const Y=n.XpG();n.R7$(),n.Y8G("svgIcon",Y.type)}}function q(U,k){if(1&U){const Y=n.RV6();n.j41(0,"button",9),n.nI1(1,"async"),n.bIt("click",function(){n.eBV(Y);const B=n.XpG();return n.Njj(B.onCalculate())}),n.nrm(2,"mat-icon",10),n.k0s()}if(2&U){const Y=n.XpG();n.Y8G("disabled",n.bMT(1,1,Y.offline$))}}var z=function(U){return U.TEXT="text",U.NUMBER="number",U.EMAIL="email",U.PHONE="tel",U.WEB="url",U.DOMAIN="domain",U}(z||{});let F=(()=>{class U{constructor(Y,x){this.renderer=Y,this.connectionService=x,this._eimFormsFormControlHostClass=!0,this.inline=!1,this.required=!1,this.optional=!1,this.readonly=!1,this.autocomplete=!1,this.placeholder="",this.type=z.TEXT,this.updateOnBlur=!1,this.calculated=!1,this.showIcon=!0,this.keyup=new n.bkB,this.calculate=new n.bkB,this.disabled=!1,this.showOtherThanRequiredError=!1,this.TEXT_FIELD_TYPE=z,this.uniqueId=(0,g.uniqueId)("app-text-field-")}ngOnInit(){this.offline$=this.monitorConnection?this.connectionService.connectionMonitor$.pipe((0,O.Z)(!0),(0,D.T)(Y=>!Y)):(0,T.of)(!1)}onKeyUp(Y){this.keyup.emit(Y),this.onTouched&&this.onTouched(Y),this.inputEl?.nativeElement?.value&&0==this.inputEl.nativeElement.value.trim().length&&(this.inputEl.nativeElement.value=""),!this.updateOnBlur&&this.onChange&&this.change()}change(Y){let x=this.inputEl.nativeElement.value;[z.EMAIL,z.PHONE,z.WEB,z.DOMAIN].includes(this.type)&&""===x&&(x=null),this.onChange(x)}writeValue(Y){void 0!==Y&&this.inputEl&&this.inputEl.nativeElement&&(this.inputEl.nativeElement.value=Y)}registerOnChange(Y){this.onChange=Y}registerOnTouched(Y){this.onTouched=Y}setDisabledState(Y){this.disabled=Y,this.renderer.setProperty(this.inputEl.nativeElement,"disabled",Y)}onCalculate(){this.calculate.emit()}static#e=this.\u0275fac=function(x){return new(x||U)(n.rXU(n.sFG),n.rXU(E.K))};static#t=this.\u0275cmp=n.VBU({type:U,selectors:[["app-text-field"]],viewQuery:function(x,B){if(1&x&&n.GBs(o,7),2&x){let j;n.mGM(j=n.lsd())&&(B.inputEl=j.first)}},hostVars:2,hostBindings:function(x,B){2&x&&n.AVh("eim-forms_form-control-host",B._eimFormsFormControlHostClass)},inputs:{inline:"inline",label:"label",required:"required",optional:"optional",readonly:"readonly",autocomplete:"autocomplete",placeholder:"placeholder",testId:"testId",maxlength:"maxlength",minlength:"minlength",step:"step",min:"min",max:"max",type:"type",updateOnBlur:"updateOnBlur",numberFormat:"numberFormat",calculated:"calculated",showIcon:"showIcon",formControl:"formControl",monitorConnection:"monitorConnection"},outputs:{keyup:"keyup",calculate:"calculate"},features:[n.Jv_([{provide:a.kq,useExisting:(0,n.Rfq)(()=>U),multi:!0}])],ngContentSelectors:C,decls:7,vars:17,consts:[["inputEl",""],[3,"label","for","required","optional","errors","disabled",4,"ngIf"],[1,"eim-forms_form-control-text-field-and-button-container","eim-forms_form-control-text-field-input-container","align-items-stretch"],["class","eim-forms_form-control-icon-container",4,"ngIf"],[1,"form-control","form-control-sm",3,"change","keyup","blur","id","type","autocomplete","placeholder","disabled","isNavigable"],["type","button","class","btn btn-secondary eim-button_minimized align-self-center","data-test","calculate-btn","aria-label","Recalculate","title","Recalculate",3,"disabled","click",4,"ngIf"],[3,"label","for","required","optional","errors","disabled"],[1,"eim-forms_form-control-icon-container"],[1,"eim-color_icon","eim-icon_sm",3,"svgIcon"],["type","button","data-test","calculate-btn","aria-label","Recalculate","title","Recalculate",1,"btn","btn-secondary","eim-button_minimized","align-self-center",3,"click","disabled"],["aria-hidden","true","svgIcon","refresh",1,"eim-color_icon","eim-icon_sm"]],template:function(x,B){if(1&x){const j=n.RV6();n.NAR(),n.DNE(0,w,1,6,"app-form-control-label",1),n.j41(1,"div",2),n.DNE(2,M,2,1,"div",3),n.j41(3,"input",4,0),n.bIt("change",function(H){return n.eBV(j),n.Njj(B.change(H))})("keyup",function(H){return n.eBV(j),n.Njj(B.onKeyUp(H))})("blur",function(H){return n.eBV(j),n.Njj(B.onTouched(H))}),n.k0s(),n.DNE(5,q,3,3,"button",5),n.k0s(),n.SdG(6)}2&x&&(n.Y8G("ngIf",B.label),n.R7$(2),n.Y8G("ngIf",B.showIcon&&!B.readonly&&B.type!==B.TEXT_FIELD_TYPE.TEXT&&B.type!==B.TEXT_FIELD_TYPE.NUMBER),n.R7$(),n.Y8G("id",B.uniqueId)("type",B.type)("autocomplete",B.autocomplete?"on":"off")("placeholder",B.placeholder)("disabled",B.disabled)("isNavigable",!B.disabled&&!B.readonly),n.BMQ("readonly",B.readonly?"":null)("tabindex",B.readonly||B.disabled?"-1":null)("minlength",B.minlength)("maxlength",B.maxlength)("min",B.min)("max",B.max)("step",B.step)("data-test",B.testId),n.R7$(2),n.Y8G("ngIf",B.calculated))},dependencies:[y.bT,I.J,b.An,L.d,y.Jj],styles:["input[placeholder][_ngcontent-%COMP%]{text-overflow:ellipsis}[_ngcontent-%COMP%]::-webkit-input-placeholder{text-overflow:ellipsis}[_ngcontent-%COMP%]::-moz-placeholder{text-overflow:ellipsis}input[_ngcontent-%COMP%]:-ms-input-placeholder{text-overflow:ellipsis}input[_ngcontent-%COMP%]:-moz-placeholder{text-overflow:ellipsis}.form-control[disabled][_ngcontent-%COMP%]{color:#273c4e;background:transparent;border:none;padding:0}"]})}return U})()},57700:(at,N,s)=>{"use strict";s.d(N,{u:()=>b});var n=s(93953),a=s(89417),g=s(67376),T=s(60177),O=s(4372),D=s(36193);const E=["inputEl"],y=["*"];function I(L,o){if(1&L&&n.nrm(0,"app-form-control-label",6),2&L){const C=n.XpG();n.Y8G("label",C.label)("for",C.uniqueId)("required",C.required)("optional",C.optional)("disabled",C.disabled)}}let b=(()=>{class L{constructor(C){this.renderer=C,this._eimFormsFormControlHostClass=!0,this.required=!1,this.optional=!1,this.readonly=!1,this.value=!1,this.disabled=!1,this.uniqueId=(0,g.uniqueId)("app-toggle-field-"),this.isChecked=!1}ngOnInit(){this.writeValue(this.value)}change(C){this.isChecked=C,this.onChange&&this.onChange(C)}writeValue(C){this.isChecked=C,this.renderer.setProperty(this.inputEl.nativeElement,"checked",C)}registerOnChange(C){this.onChange=C}registerOnTouched(C){this.onTouched=C}setDisabledState(C){this.disabled=C,this.renderer.setProperty(this.inputEl.nativeElement,"disabled",C)}static#e=this.\u0275fac=function(w){return new(w||L)(n.rXU(n.sFG))};static#t=this.\u0275cmp=n.VBU({type:L,selectors:[["app-toggle-field"]],viewQuery:function(w,M){if(1&w&&n.GBs(E,7),2&w){let q;n.mGM(q=n.lsd())&&(M.inputEl=q.first)}},hostVars:2,hostBindings:function(w,M){2&w&&n.AVh("eim-forms_form-control-host",M._eimFormsFormControlHostClass)},inputs:{label:"label",required:"required",optional:"optional",readonly:"readonly",testId:"testId",value:"value",disabled:"disabled",onChange:"onChange"},features:[n.Jv_([{provide:a.kq,useExisting:(0,n.Rfq)(()=>L),multi:!0}])],ngContentSelectors:y,decls:8,vars:9,consts:[["inputEl",""],[3,"label","for","required","optional","disabled",4,"ngIf"],[1,"eim-forms_form-control-toggle-field-input-container","align-items-stretch"],["data-test","switch-status-button",1,"switch-button"],["type","checkbox","appTabIndex","",1,"form-control","form-control-sm",3,"change","blur","id","disabled","isNavigable"],[3,"for"],[3,"label","for","required","optional","disabled"]],template:function(w,M){if(1&w){const q=n.RV6();n.NAR(),n.DNE(0,I,1,5,"app-form-control-label",1),n.j41(1,"div",2)(2,"div",3)(3,"input",4,0),n.bIt("change",function(){n.eBV(q);const F=n.sdS(4);return n.Njj(M.change(F.checked))})("blur",function(F){return n.eBV(q),n.Njj(M.onTouched(F))}),n.k0s(),n.j41(5,"span"),n.nrm(6,"label",5),n.k0s()()(),n.SdG(7)}2&w&&(n.Y8G("ngIf",M.label),n.R7$(2),n.AVh("switch-button-success",M.isChecked),n.R7$(),n.Y8G("id",M.uniqueId)("disabled",M.disabled)("isNavigable",!0),n.BMQ("readonly",M.readonly?"":null)("data-test",M.testId),n.R7$(3),n.Y8G("for",M.uniqueId))},dependencies:[T.bT,O.J,D.d],styles:[".eim-forms_form-control-toggle-field-input-container[_ngcontent-%COMP%]{display:flex;flex-direction:row}.eim-forms_form-control-toggle-field-input-container[_ngcontent-%COMP%]   .switch-button[_ngcontent-%COMP%]{box-shadow:0 1px 0 1.5px #888;height:35px;width:60px}.eim-forms_form-control-toggle-field-input-container[_ngcontent-%COMP%]   .switch-button.switch-button-success[_ngcontent-%COMP%]{box-shadow:0 1px 0 1.5px #00805f}.eim-forms_form-control-toggle-field-input-container[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:4px}.eim-forms_form-control-toggle-field-input-container[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]:before{line-height:35px}.eim-forms_form-control-toggle-field-input-container[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{padding:8px}"]})}return L})()},76336:(at,N,s)=>{"use strict";s.d(N,{x:()=>Pe});var n=s(84412),a=s(84572),g=s(96354),m=s(58756),T=s(69595),O=s(5002),D=s(69172),E=s(8970),y=s(67376),b=s(93953),L=s(87335),o=s(50337),C=s(32099),w=s(60177),M=s(83958),q=s(2937),z=s(70723),F=s(99213),U=s(36193),k=s(39973),Y=s(50256);const x=$e=>({value:$e});function B($e,ze){if(1&$e&&b.nrm(0,"app-user-type-pill",10),2&$e){const Be=b.XpG(2);b.Y8G("value",Be.userType)}}function j($e,ze){if(1&$e){const Be=b.RV6();b.j41(0,"div",11)(1,"button",12),b.bIt("click",function(){b.eBV(Be);const Ct=b.XpG(2);return b.Njj(Ct.openProfileSelector())}),b.nrm(2,"i"),b.nI1(3,"async"),b.k0s()()}if(2&$e){const Be=b.XpG(2);b.R7$(),b.Y8G("disabled",Be.disabled),b.R7$(),b.HbH(b.bMT(3,3,Be.buttonClass$))}}function $($e,ze){1&$e&&b.eu8(0)}function H($e,ze){if(1&$e&&(b.qex(0),b.j41(1,"app-side-sheet-section",6),b.nI1(2,"async"),b.DNE(3,B,1,1,"app-user-type-pill",7)(4,j,4,5,"div",8),b.j41(5,"p"),b.pXf(6,3),b.k0s(),b.DNE(7,$,1,0,"ng-container",9),b.k0s(),b.bVm()),2&$e){const Be=b.XpG(),Ye=b.sdS(6);b.R7$(),b.Y8G("tallyPill",!0)("tallyPillValue",b.bMT(2,6,Be.selectedProfilesLength$))("showBorder",!0),b.R7$(2),b.Y8G("ngIf",!Be.isCreateNewUser),b.R7$(),b.Y8G("ngIf",!Be.readonly),b.R7$(3),b.Y8G("ngTemplateOutlet",Ye)}}function ie($e,ze){if(1&$e){const Be=b.RV6();b.j41(0,"div",11)(1,"button",14),b.bIt("click",function(){b.eBV(Be);const Ct=b.XpG(2);return b.Njj(Ct.openProfileSelector())}),b.nrm(2,"mat-icon",15),b.k0s()()}if(2&$e){const Be=b.XpG(2);b.R7$(),b.Y8G("disabled",Be.disabled)}}function ne($e,ze){1&$e&&b.eu8(0)}function Q($e,ze){if(1&$e&&(b.qex(0),b.j41(1,"app-side-sheet-section",13),b.DNE(2,ie,3,1,"div",8),b.j41(3,"p"),b.EFF(4,"Users with the Administrator profile can always create objects of this object type."),b.k0s(),b.DNE(5,ne,1,0,"ng-container",9),b.k0s(),b.bVm()),2&$e){const Be=b.XpG(),Ye=b.sdS(6);b.R7$(),b.Y8G("showBorder",!0),b.R7$(),b.Y8G("ngIf",!Be.readonly),b.R7$(3),b.Y8G("ngTemplateOutlet",Ye)}}function le($e,ze){if(1&$e){const Be=b.RV6();b.j41(0,"div",11)(1,"button",14),b.bIt("click",function(){b.eBV(Be);const Ct=b.XpG(2);return b.Njj(Ct.openProfileSelector())}),b.nrm(2,"mat-icon",15),b.k0s()()}if(2&$e){const Be=b.XpG(2);b.R7$(),b.Y8G("disabled",Be.disabled)}}function pe($e,ze){1&$e&&b.eu8(0)}function te($e,ze){if(1&$e&&(b.qex(0),b.j41(1,"app-side-sheet-section",16),b.DNE(2,le,3,1,"div",8),b.j41(3,"p"),b.EFF(4,"Users with the administrator profile will always be able to view this dashboard."),b.k0s(),b.DNE(5,pe,1,0,"ng-container",9),b.k0s(),b.bVm()),2&$e){const Be=b.XpG(),Ye=b.sdS(6);b.R7$(),b.Y8G("showBorder",!0),b.R7$(),b.Y8G("ngIf",!Be.readonly),b.R7$(3),b.Y8G("ngTemplateOutlet",Ye)}}function ae($e,ze){if(1&$e){const Be=b.RV6();b.j41(0,"div",11)(1,"button",14),b.bIt("click",function(){b.eBV(Be);const Ct=b.XpG(2);return b.Njj(Ct.openProfileSelector())}),b.nrm(2,"mat-icon",15),b.k0s()()}if(2&$e){const Be=b.XpG(2);b.R7$(),b.Y8G("disabled",Be.disabled)}}function K($e,ze){1&$e&&b.eu8(0)}function de($e,ze){if(1&$e&&(b.qex(0),b.j41(1,"app-side-sheet-section",17),b.DNE(2,ae,3,1,"div",8),b.j41(3,"p"),b.EFF(4,"Users with the Administrator profile can always manually trigger this workflow."),b.k0s(),b.DNE(5,K,1,0,"ng-container",9),b.k0s(),b.bVm()),2&$e){const Be=b.XpG(),Ye=b.sdS(6);b.R7$(),b.Y8G("showBorder",!0),b.R7$(),b.Y8G("ngIf",!Be.readonly),b.R7$(3),b.Y8G("ngTemplateOutlet",Ye)}}function Me($e,ze){if(1&$e){const Be=b.RV6();b.j41(0,"app-side-sheet-list-item",21),b.bIt("toggle",function(){b.eBV(Be);const Ct=b.XpG(4);return b.Njj(Ct.openProfileSelector())}),b.j41(1,"div",22)(2,"div",23),b.EFF(3),b.k0s(),b.j41(4,"div",24),b.EFF(5),b.nI1(6,"userTypeLabel"),b.k0s()()()}if(2&$e){const Be=ze.$implicit,Ye=b.XpG(4);b.Y8G("disabled",Ye.disabled)("value",null==Be?null:Be.$tip),b.R7$(3),b.JRh(null==Be?null:Be.name),b.R7$(2),b.SpI(" ",b.bMT(6,4,null==Be?null:Be.userType)," ")}}function me($e,ze){if(1&$e&&(b.qex(0),b.DNE(1,Me,7,6,"app-side-sheet-list-item",20),b.bVm()),2&$e){const Be=b.XpG().ngIf;b.R7$(),b.Y8G("ngForOf",Be.value)}}function be($e,ze){if(1&$e&&(b.qex(0),b.DNE(1,me,2,1,"ng-container",19),b.bVm()),2&$e){const Be=ze.ngIf;b.XpG();const Ye=b.sdS(3);b.R7$(),b.Y8G("ngIf",(null==Be.value?null:Be.value.length)>0)("ngIfElse",Ye)}}function Le($e,ze){if(1&$e){const Be=b.RV6();b.j41(0,"app-empty-state",26),b.bIt("actionClick",function(){b.eBV(Be);const Ct=b.XpG(3);return b.Njj(!Ct.disabled&&Ct.openProfileSelector())}),b.k0s()}}function Ae($e,ze){1&$e&&(b.j41(0,"app-side-sheet-list-item"),b.EFF(1,"All profiles"),b.k0s())}function Oe($e,ze){if(1&$e&&b.DNE(0,Le,1,0,"app-empty-state",25)(1,Ae,2,0,"ng-template",null,2,b.C5r),2&$e){const Be=b.sdS(2),Ye=b.XpG(2);b.Y8G("ngIf","User"===Ye.mode)("ngIfElse",Be)}}function Xe($e,ze){if(1&$e&&(b.DNE(0,be,2,2,"ng-container",18),b.nI1(1,"async"),b.DNE(2,Oe,3,2,"ng-template",null,1,b.C5r)),2&$e){const Be=b.XpG();b.Y8G("ngIf",b.eq3(3,x,b.bMT(1,1,Be.displaySelectedProfiles$)))}}let Pe=(()=>{class $e{constructor(Be,Ye,Ct,Lt){this.profileEditorService=Be,this.sideSheetService=Ye,this.loggerService=Ct,this.cdr=Lt,this.mode="User",this.monitorConnection=!1,this.readonly=!1,this.selectedProfileTips$=new n.t([]),this.disabled=!1,this.FeatureFlags=O.g}ngOnInit(){const Be=this.profileEditorService.getProfiles().pipe((0,g.T)(Ye=>{const Ct=new Map;return Ye.forEach(Lt=>{Ct.set(Lt.$tip,Lt)}),Ct}));this.selectedProfilesLength$=this.selectedProfileTips$.pipe((0,g.T)(Ye=>Ye.length)),this.buttonClass$=this.selectedProfilesLength$.pipe((0,g.T)(Ye=>Ye>0?(this.isCreateNewUser=!1,"mdi mdi-edit"):0===Ye?(this.isCreateNewUser=!0,"mdi mdi-plus"):void 0)),this.displaySelectedProfiles$=(0,a.z)([Be,this.selectedProfileTips$]).pipe((0,g.T)(([Ye,Ct])=>{const Lt=Ct.reduce((ht,gt)=>{const Ge=Ye.get(gt);return Ge?ht.push(Ge):this.loggerService.error(`[UserProfilesSelectionFieldComponent] the user has as profile set: ${gt}, that is inaccessible to this user (likely deleted)`),ht},[]),Vt=Lt.every(ht=>ht.userType&&"lite-user"===ht.userType);return this.userType=Vt?D.ve.liteUser:D.ve.fullUser,Lt}))}openProfileSelector(){const Be="User"===this.mode;this.sideSheetService.pushV2(m.s,{mode:T.X.MULTI_SELECT,preselectAdminProfile:!Be,showAll:!Be,initiallySelectedTips:this.selectedProfileTips$.getValue(),done:this.onProfileSideSheetDone.bind(this),monitorConnection:this.monitorConnection})}onProfileSideSheetDone(Be){if(this.sideSheetService.pop(),(0,y.isEqual)(this.selectedProfileTips$.getValue(),Be))return;const Ye=Be.map(Lt=>Lt.$tip),Ct=Ye.includes("__ALL__")?[]:Ye;this.selectedProfileTips$.next(Ct),this.onChange(Ct)}writeValue(Be){this.selectedProfileTips$.next(Be||[])}registerOnTouched(Be){this.onTouched=Be}registerOnChange(Be){this.onChange=Be}setDisabledState(Be){this.disabled=Be,this.cdr.detectChanges()}static#e=this.\u0275fac=function(Ye){return new(Ye||$e)(b.rXU(L.Q),b.rXU(o.E),b.rXU(C.g),b.rXU(b.gRc))};static#t=this.\u0275cmp=b.VBU({type:$e,selectors:[["app-user-profiles-selection-field"]],inputs:{mode:"mode",monitorConnection:"monitorConnection"},features:[b.Jv_([(0,E.M)($e)])],decls:7,vars:5,consts:()=>{let Be,Ye,Ct,Lt,Vt;return Be="Assign profiles",Ye=" These users will be able to switch between these profiles to change what they can see and do in the system. ",Ct="Profiles permitted to create objects",Lt="Select profiles to assign",Vt="No profiles selected",[["profilesTemplate",""],["noProfilesTemplate",""],["allProfilesTemplate",""],Ye,[3,"ngSwitch"],[4,"ngSwitchCase"],["title",Be,3,"tallyPill","tallyPillValue","showBorder"],["extra-pill","",3,"value",4,"ngIf"],["buttons","",4,"ngIf"],[4,"ngTemplateOutlet"],["extra-pill","",3,"value"],["buttons",""],["data-test","select-profiles-button","title","Select profiles",1,"btn","btn-secondary","btn-social","ml-1",3,"click","disabled"],["title",Ct,3,"showBorder"],["data-test","select-profiles-button","title","Select profiles",1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"click","disabled"],["svgIcon","edit"],["title","Profiles permitted to view this dashboard",3,"showBorder"],["title","Profiles that can manually trigger this workflow",3,"showBorder"],[4,"ngIf"],[4,"ngIf","ngIfElse"],[3,"disabled","value","toggle",4,"ngFor","ngForOf"],[3,"toggle","disabled","value"],[1,"d-flex","flex-column"],[1,"profile-name","flex-fill"],[1,"profile-user-type","flex-fill"],["actionText",Lt,"imgSrc","assets/img/empty-states/no-personnel.svg","label",Vt,3,"actionClick",4,"ngIf","ngIfElse"],["actionText",Lt,"imgSrc","assets/img/empty-states/no-personnel.svg","label",Vt,3,"actionClick"]]},template:function(Ye,Ct){1&Ye&&(b.qex(0,4),b.DNE(1,H,8,8,"ng-container",5)(2,Q,6,3,"ng-container",5)(3,te,6,3,"ng-container",5)(4,de,6,3,"ng-container",5),b.bVm(),b.DNE(5,Xe,4,5,"ng-template",null,0,b.C5r)),2&Ye&&(b.Y8G("ngSwitch",Ct.mode),b.R7$(),b.Y8G("ngSwitchCase","User"),b.R7$(),b.Y8G("ngSwitchCase","Object type access control"),b.R7$(),b.Y8G("ngSwitchCase","Dashboard access control"),b.R7$(),b.Y8G("ngSwitchCase","Workflow"))},dependencies:[w.Sq,w.bT,w.T3,w.ux,w.e1,M.D,q.N,z.o,F.An,U.d,k.G,w.Jj,Y.m],changeDetection:0})}return $e})()},3757:(at,N,s)=>{"use strict";s.d(N,{D4:()=>I,i7:()=>b});var n=s(67376),g=s(41538),m=s(44128),T=s(69873),O=s(61594),D=s(11819);class E{constructor(o,C,w,M){this.values=new Map,this.optionKeys=[],this.restrictedPublicForm=["app/super-type/asset","app/super-type/org-structure"],this.objectTypeService=w,o&&o.type&&o.type.field&&this.setOptions(o.type.field,C,M)}list(){return this.optionKeys.map(o=>this.values.get(o))}setOptions(o,C,w){const M=(0,n.chain)(o).keyBy("name").mapValues("$tip").value();o.forEach(q=>{const{$tip:z,name:F,label:U,typerestrict:k,maxcount:Y,numberFormat:x,default:B,calculation:j,calculationFieldDependencies:$,tag:H}=q,{_datatype:ie,listTip:ne,sequenceTip:Q,listAnyLevelSelection:le}=(0,g.F)({field:q}),pe=function y(L,o){return!L||L&&!o?null:o.get(L)}(x,C),te={value:z,name:F,label:U,datatype:ie,numberFormat:pe};if(ne&&(te.listTip=ne,te.listAnyLevelSelection=le),Q&&(te.sequenceTip=Q),Y&&(te.maxcount=Y),k&&(te.typerestrict=k),B&&(te.defaultValueFormula=B),j&&(te.calculation=(0,m.u)(j,M),$&&$.length>0&&(te.calculationFieldDependencies=$.map(ae=>ae.$tip)),te.calculationAutoRecalculate=H&&H.includes(T.Kq),te.calculationNoValueAsZero=H&&H.includes(T._f)),!(0,n.isEmpty)(te.typerestrict)&&this.objectTypeService&&w===D.jo.PUBLIC){const ae=(0,n.get)(te,"typerestrict[0]",null);this.objectTypeService.getObjectTypeByTypeTip(ae).pipe((0,O.$)()).subscribe(K=>{te.implements=(0,n.get)(K,"type.supertypes",[]).filter(de=>this.restrictedPublicForm.includes(de.$tip)).map(de=>de.$tip),this.addOption(te)})}else this.addOption(te)})}addOption(o){this.values.set(o.value,o),this.optionKeys.push(o.value)}}function I([L,o],C,w){return new E(L,o,C,w)}const b=({datatypes:L})=>o=>{if(!L)return[];const C=L.indexOf("signature");return C>-1&&(L[C]="file"),o.filter(w=>L.includes(w.datatype))}},95199:(at,N,s)=>{"use strict";s.d(N,{c:()=>z});var n=s(10467),a=s(46421),g=s(67376),m=s(92597),T=s(61594),O=s(96354),D=s(99437),E=s(25558),y=s(50835),b=s(7673),L=s(27468),o=s(90947),C=s(93953),w=s(76087),M=s(8142),q=s(19937);let z=(()=>{class F{constructor(k,Y,x){this.formulaService=k,this.authHttpClientService=Y,this.toastService=x,this.mediaServicePath=y.c.host+y.c.mediaServicePath}processUuidReferences(k){if(!k)return(0,b.of)(k);const Y=new RegExp('enmedia://([^"]*)',"g"),x=k.match(Y);if(x?.length){const B=x.map(j=>j.replace("enmedia://",""));return this.getEmbeddedMediaUri(B).pipe((0,T.$)(),(0,O.T)(j=>{const $=j?.uri;if($){let H=(0,g.cloneDeep)(k);return B.forEach(ie=>{H=H.replace(`enmedia://${ie}`,`${$}&uuid=${ie}`),H.includes(`alt="${ie}" crossorigin`)||(H=H.replace(`alt="${ie}"`,`alt="${ie}" crossorigin`))}),H}return k}))}return(0,b.of)(k)}convertUuidReferencesToDataUri(k){if(!k)return(0,b.of)(k);const Y=new RegExp('enmedia://([^"]*)',"g"),x=k.match(Y);if(x?.length){const B=x.map(j=>j.replace("enmedia://",""));return(0,L.p)(B.map(j=>this.getEmbeddedMediaBase64(j))).pipe((0,O.T)(j=>{let $=(0,g.cloneDeep)(k);return j.forEach((H,ie)=>{H&&($=$.replace(`enmedia://${B[ie]}`,H))}),$}))}return(0,b.of)(k)}rebuildUuidReference(k){if(!k)return k;let Y=(0,g.cloneDeep)(k);const x=new RegExp('alt="[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"',"g"),B=Y.match(x);return B?.length&&B.forEach(j=>{Y=Y.replace(j,`${j.replace('alt="','src="enmedia://')} ${j}`)}),Y}getUploadEmbeddedMediaList(k,Y){const x=[],B=k.map(ie=>ie.tip);Y.forEach(ie=>{(B.includes(ie.objectTip)||void 0===ie.objectTip)&&x.push(ie)});const $=x.map(ie=>(0,g.flatMap)(ie.embeddedMedia.map(ne=>ne.embeddedMediaData))).map((ie,ne)=>ie.map(Q=>({tip:B[ne],uuid:Q.uuid,data:Q.data}))),H=x.filter(ie=>ie.existingUuids.length).map((ie,ne)=>({tip:B[ne],uuids:ie.existingUuids}));return{uploadBatch:(0,g.flatMap)($),copyBatch:H}}processEmbeddedMedia(k,Y=!1){var x=this;return(0,n.A)(function*(){const B=[];let j=(0,g.cloneDeep)(k);const $=yield x.retrieveSubObjectFieldsFromObject(k,Y);if(Object.keys($).length)for(const ie of Object.keys($)){const ne=$[ie];if(ne&&Array.isArray(ne)){const Q=(0,g.cloneDeep)(ne);for(const[le,pe]of ne.entries())if("object"==typeof pe){const te=yield x.processEmbeddedMedia(pe,Y);Q[le]=te.newObjectData,B.push(...te.embeddedMediaList)}j[ie]=Q}}const H=yield x.updateEmbeddedMediaValues(j,Y);return j=H.newObjectData,B.push({objectTip:k.$tip,embeddedMedia:H.richtextEmbeddedMediaList,existingUuids:H.existingUuids}),{newObjectData:j,embeddedMediaList:B}})()}createUuid(){return(0,a.A)()}updateEmbeddedMediaValues(k,Y){var x=this;return(0,n.A)(function*(){const B=yield x.retrieveRichtextFieldsFromObject(k,Y),j=x.extractAndReplaceEmbeddedMedia(B),$=x.retrieveExistingUuidsFromObjectData(B),H=(0,g.cloneDeep)(k);return Object.keys(j.newContentObject).forEach(ie=>{H[ie]=j.newContentObject[ie]}),{newObjectData:H,richtextEmbeddedMediaList:j.richtextEmbeddedMediaList,existingUuids:(0,g.flatMap)($)}})()}uploadEmbeddedMedia(k){const{tip:Y,uuid:x,data:B}=k,j=`${this.mediaServicePath}/embed/upload?tip=${Y}&uuid=${x}`,$=B.split(";"),H=$[0].split(":")[1],ne=function I(F,U="",k=512){const Y=atob(F),x=[];for(let j=0;j<Y.length;j+=k){const $=Y.slice(j,j+k),H=new Array($.length);for(let ne=0;ne<$.length;ne++)H[ne]=$.charCodeAt(ne);const ie=new Uint8Array(H);x.push(ie)}return new Blob(x,{type:U})}($[1].split(",")[1],H),Q=new FormData;return Q.append("file",ne,`${x}.${H.split("/")[1]}`),this.authHttpClientService.postWithOptions(j,Q,{responseType:"text"}).pipe((0,D.W)(()=>(this.toastService.showWarningToast("Embedded media upload failed",{preventDuplicates:!0}),(0,b.of)({}))))}copyEmbeddedMedia(k){const{tip:Y,uuids:x}=k;return this.authHttpClientService.post(`${this.mediaServicePath}/embed/copy?tip=${Y}`,{uuids:x}).pipe((0,D.W)(()=>(0,b.of)({})))}getEmbeddedMediaUri(k){return this.authHttpClientService.post(`${this.mediaServicePath}/embed/url`,{uuids:k}).pipe((0,D.W)(x=>(0,b.of)(null)))}getEmbeddedMediaBase64(k){return this.authHttpClientService.postWithOptions(`${this.mediaServicePath}/embed/download`,{uuid:k},{responseType:"blob"}).pipe((0,T.$)(),(0,E.n)(x=>(0,o.j)(x)),(0,D.W)(x=>(0,b.of)(null)))}retrieveRichtextFieldsFromObject(k,Y){var x=this;return(0,n.A)(function*(){return x.retrieveSpecificFieldObject(k,{name:"LOOKUP",args:[{name:"TIP",args:[]},{name:"AND",args:[{name:"INARRAY",args:[{name:"VAR",args:["tips"]},{name:"TIP",args:[]}]},{name:"EQUALS",args:[{name:"FIELD",args:["field/datatype"]},"html"]}]}]},Y)})()}retrieveSubObjectFieldsFromObject(k,Y){var x=this;return(0,n.A)(function*(){return x.retrieveSpecificFieldObject(k,{name:"LOOKUP",args:[{name:"TIP",args:[]},{name:"AND",args:[{name:"INARRAY",args:[{name:"VAR",args:["tips"]},{name:"TIP",args:[]}]},{name:"EQUALS",args:[{name:"FIELD",args:["field/tag"]},"isSubObject--true"]}]}]},Y)})()}retrieveSpecificFieldObject(k,Y,x=!1){var B=this;return(0,n.A)(function*(){const j={},$=Object.keys(k).filter(ie=>!ie.includes("$")).map(ie=>x?`${k.$type}:${ie}`:ie);return $.length&&(yield B.formulaService.evaluate((0,m.Ac)(Y),null,null,{tips:$}).pipe((0,T.$)()).toPromise()).forEach(ie=>{const ne=x?ie.replace(`${k.$type}:`,""):ie;Object.keys(k).includes(ne)&&(j[ne]=k[ne])}),j})()}extractAndReplaceEmbeddedMedia(k){const Y=[],x=(0,g.cloneDeep)(k);return Object.keys(k).forEach(B=>{let j=x[B];const $=new RegExp('data:image/([a-zA-Z]*);base64,([^"]*)',"g"),H=j?.match($);if(H?.length){const ie=[];H.forEach(ne=>{const Q=this.createUuid();ie.push({uuid:Q,data:ne}),j=j.replace(`${ne}"`,`enmedia://${Q}" alt="${Q}" crossorigin`)}),x[B]=j,Y.push({tip:B,embeddedMediaData:ie})}}),{newContentObject:x,richtextEmbeddedMediaList:Y}}retrieveExistingUuidsFromObjectData(k){const Y=[];return Object.keys(k).forEach(x=>{const B=k[x];if(B){const j=new RegExp('enmedia://([^"]*)',"g"),$=B.match(j);Y.push($?.map(H=>H.replace("enmedia://",""))||[])}}),Y}extractAndReplaceEMFromHtml(k,Y){const x=[];let B=(0,g.cloneDeep)(k);const j=new RegExp('data:image/([a-zA-Z]*);base64,([^"]*)',"g"),$=B?.match(j);return $?.length&&$.forEach(H=>{const ie=this.createUuid();B=B.replace(`${H}"`,`enmedia://${ie}" alt="${ie}" crossorigin`),x.push({tip:Y,uuid:ie,data:H})}),{replacedHtmlContent:B,embeddedMediaList:x}}static#e=this.\u0275fac=function(Y){return new(Y||F)(C.KVO(w.C),C.KVO(M.V),C.KVO(q.f))};static#t=this.\u0275prov=C.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},2535:(at,N,s)=>{"use strict";s.d(N,{T:()=>F,t:()=>U});var n=s(67376),g=s(97586),m=s.n(g),T=s(21413),O=s(983),D=s(56977),E=s(25558),y=s(23294),I=s(5964),b=s(61594),L=s(88141),o=s(73703),C=s(76194),w=s(790),M=s(93953),q=s(36353),z=s(25687);let F=(()=>{class k{constructor(x,B){this.formFieldService=x,this.formulaMultiService=B,this.onDestroy$=new T.B,this.calculation$=new T.B,this.calculation$.pipe((0,D.Q)(this.onDestroy$),(0,E.n)(j=>this.calculateOnce$(j))).subscribe()}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}registerForm(x,B){this.formFieldService.whenReady$().subscribe(()=>{this.form=x,this.formlyFormOptions=B,this.fieldOptionMap=(0,n.get)(this,"formlyFormOptions.formState.contextTypeOptions.values",null),this.contextTip=(0,n.get)(this,"formlyFormOptions.formState.objectAndType.objectData.$tip",null),this.registerAutoRecalculate(),this.executeInitialCalculation()})}registerAutoRecalculate(){this.fieldOptionMap&&this.fieldOptionMap.forEach((x,B)=>{const j=x.datatype,$=x.calculation,H=!!x.calculationAutoRecalculate,ie=!!x.calculationNoValueAsZero,ne=x.calculationFieldDependencies;!$||!ne||!ne.length||ne.map(Q=>this.formFieldService.getFormControl(Q)).filter(Q=>!!Q).forEach(Q=>{Q.valueChanges.pipe((0,y.F)(n.isEqual),(0,D.Q)(this.onDestroy$),(0,I.p)(()=>this.form.pristine||H),(0,I.p)(()=>{const le=this.formFieldService.getFormControl(B);return le&&le.pristine}),(0,E.n)(()=>this.calculateOnce$({fieldTip:B,fieldDataType:j,calculationFormula:$,calculationNoValueAsZero:ie}))).subscribe()})})}executeInitialCalculation(){this.contextTip||!this.fieldOptionMap||([...this.fieldOptionMap].filter(([x,B])=>!B.calculation).forEach(([x,B])=>{const j=this.formFieldService.getFormControl(x);j&&j.setValue(j.value)}),[...this.fieldOptionMap].filter(([x,B])=>B.calculation&&(!B.calculationFieldDependencies||!B.calculationFieldDependencies.length)).map(([x,B])=>({fieldTip:x,fieldDataType:B.datatype,calculationFormula:B.calculation,calculationNoValueAsZero:!!B.calculationNoValueAsZero})).forEach(x=>this.calculateOnce$(x).subscribe()))}calculateOnce$({fieldTip:x,fieldDataType:B,calculationFormula:j,calculationNoValueAsZero:$}){const H=this.formFieldService.getAllFieldValuesAndSetUndefinedAsNull(),ie=this.formFieldService.getFormControl(x);if(!ie)return O.w;const Q={formula:j,watch:!1,vars:(0,n.mapValues)(H,U)};return this.contextTip&&(Q.context=this.contextTip),this.formulaMultiService.evaluate([Q],w.q.USE_NETWORK_NO_CACHE).pipe((0,b.$)(),(0,L.M)(le=>{const pe=!le[0].length&&$?"0":le[0][0]||"";if(B===C.HT.date||B===C.HT.datetime){const te=m()(pe,m().ISO_8601);return ie.setValue(te.isValid()?te:null)}if(B===C.TV.list&&0===le[0].length)return ie.setValue(null);ie.setValue(pe)}),(0,o.u)(void 0))}static#e=this.\u0275fac=function(B){return new(B||k)(M.KVO(q.o),M.KVO(z.$))};static#t=this.\u0275prov=M.jDH({token:k,factory:k.\u0275fac})}return k})();function U(k){return null===k?null:m().isMoment(k)?k.isValid()?[k.toISOString(!0)]:[]:(0,n.isArray)(k)?k.map(Y=>Y+""):[k+""]}},35790:(at,N,s)=>{"use strict";s.d(N,{z:()=>Le});var n=s(67376),a=s(21413),g=s(84412),m=s(92771),T=s(7673),O=s(84572),D=s(5964),E=s(96354),y=s(23294),I=s(56977),b=s(25558),L=s(61594),o=s(92335),C=s(3757),w=s(19439),M=s(93953),q=s(27468),z=s(76194),F=s(41538);class U{constructor($e){this.dataTypeToFieldMap=new Map,this.multiField=new Set,this.sequenceFields=[],$e.forEach(ze=>{1!==ze.maxcount&&this.multiField.add(ze.$tip);const{_datatype:Be,isSequence:Ye}=(0,F.F)({field:ze});if(this.dataTypeToFieldMap.has(Be)){const Ct=this.dataTypeToFieldMap.get(Be);this.dataTypeToFieldMap.set(Be,[...Ct,ze.$tip])}else this.dataTypeToFieldMap.set(Be,[ze.$tip]);Ye&&this.sequenceFields.push(ze.$tip)})}getFieldTipsOfType($e){return this.dataTypeToFieldMap.get($e)||[]}isMulti($e){return this.multiField.has($e)}getSequenceFieldTips(){return this.sequenceFields}}function k(Pe){const $e=(0,n.get)(Pe,"objectType.field",[]);return{...Pe,objectDataTypeAndTagsFieldMap:new U($e)}}var x=s(48636);function B(Pe,$e,ze=0){const Be=ze+1,{objectDataTypeAndTagsFieldMap:Ye,objectData:Ct,objectScheme:Lt}=Pe,Vt=Ye.getFieldTipsOfType(z.TV.sub_object),gt=function Y({objectData:Pe,sequenceFieldTips:$e}){return 0===$e.length||Pe.$tip?Pe:$e.reduce((Be,Ye)=>(Pe.hasOwnProperty(Ye)&&delete Pe[Ye],Be),Pe)}({sequenceFieldTips:Ye.getSequenceFieldTips(),objectData:Ct}),Ge=Vt.map(Qe=>({subObjectOrObjects:Ct[Qe],multi:Ye.isMulti(Qe),subObjectFieldTip:Qe})).filter(({subObjectOrObjects:Qe})=>!!Qe);if((0,n.isEmpty)(Ge))return{...Pe,objectData:gt,objectScheme:Lt,objectsToDelete:[],depth:Be};const{updatedObjectScheme:Se,updatedObjectData:ke,updatedObjectsToDelete:Ne,maxDepth:Je}=Ge.reduce(function j(Pe,$e){return function(Be,{subObjectOrObjects:Ye,subObjectFieldTip:Ct,multi:Lt}){if("string"==typeof Ye||Array.isArray(Ye)&&"string"==typeof(0,n.head)(Ye))return Be;const{updatedObjectScheme:Vt,updatedObjectData:ht}=Be;if(Array.isArray(Ye)){const gt=[];let Ge={},Se=0;Ye.forEach((Ne,Je)=>{const{objectToDelete:Qe,extractedData:rt,updatedScheme:ft,depth:Xt}=$({subObjectData:Ne,subObjectFieldTip:Ct,multi:Lt,currentDepth:Pe,subObjectVariantPolicy:$e}),It=rt[Ct];It&&gt.push(It),Qe&&Be.updatedObjectsToDelete.push(Qe),Xt>Se&&(Se=Xt,Ge=ft)});const ke={[Ct]:gt};return{updatedObjectsToDelete:Be.updatedObjectsToDelete,updatedObjectScheme:{...Vt,...Ge},updatedObjectData:{...ht,...ke},maxDepth:Se}}{const{updatedScheme:gt,extractedData:Ge,objectToDelete:Se,depth:ke}=$({subObjectData:Ye,subObjectFieldTip:Ct,multi:Lt,currentDepth:Pe,subObjectVariantPolicy:$e});return Se&&Be.updatedObjectsToDelete.push(Se),{updatedObjectsToDelete:Be.updatedObjectsToDelete,updatedObjectScheme:{...Vt,...gt},updatedObjectData:{...ht,...Ge},maxDepth:ke}}}}(Be,$e),{updatedObjectScheme:Lt,updatedObjectData:gt,updatedObjectsToDelete:[],maxDepth:0});return{...Pe,objectScheme:Se,objectData:ke,objectsToDelete:Ne,depth:Math.max(Je,Be)}}function $({subObjectData:Pe,subObjectFieldTip:$e,currentDepth:Be,subObjectVariantPolicy:Ye}){let Ct,Lt=null;const Vt=(0,n.get)(Pe,"objectData.$tip",null);Pe.deleteOnSave&&Vt?(Ct={objectScheme:{},objectData:null,depth:Be},Lt=Vt):Ct=B(k(Pe),Ye,Be);const ht={[$e]:{name:$e,type:x.U.objectArray,scheme:Ct.objectScheme,mutable:!0}};return Ye&&!Vt&&(Ct.objectData.$security=Ye),{updatedScheme:ht,extractedData:{[$e]:Ct.objectData},objectToDelete:Lt,depth:Ct.depth}}var H=s(12225),ie=s(8076),ne=s(50701),Q=s(44667);let le=(()=>{class Pe{constructor(ze,Be,Ye,Ct){this.allObjectTypesService=ze,this.objectService=Be,this.securityService=Ye,this.dataObjectService=Ct}save(ze,Be,Ye,Ct=[]){return ze.pipe((0,L.$)(),(0,E.T)(function pe(Pe){return function(ze){const Be={$type:ze.objectType.$tip,...ze.objectData,...Pe};return{...ze,objectData:Be}}}(Be)),(0,E.T)(te),(0,E.T)(k),(0,b.n)(Lt=>this.setSecurity(Lt,Ye)),(0,E.T)(({securedObjectTypeSchemeAndMap:Lt,subObjectVariantPolicy:Vt})=>B(Lt,Vt)),(0,b.n)(({objectData:Lt,objectScheme:Vt,objectType:ht,objectsToDelete:gt})=>{const Ge=(0,n.cloneDeep)(Lt);Ct.forEach(ke=>delete Ge[ke]);const Se=this.dataObjectService.batchSetAndDeleteObjects$({inputs:[Ge],schemes:[Vt],tipsToDelete:gt}).pipe((0,L.$)(),(0,E.T)(ke=>this.objectService.mapBatchResultsToTip(ke,Ge.$tip)));return(0,q.p)([Se,this.allObjectTypesService.getDashboardTipFromTypeTip$(ht.$tip).pipe((0,L.$)())])}),(0,E.T)(([Lt,Vt])=>({objectTip:Lt,defaultDashboardTip:Vt})))}setSecurity(ze,Be){return this.securityService.setObjectSecurity(ze.objectData,Be).pipe((0,E.T)(Ye=>({...ze,objectData:Ye})),(0,b.n)(Ye=>function ae({objectDataTypeAndTagsFieldMap:Pe,objectData:$e}){return!Pe.getFieldTipsOfType(z.TV.sub_object).find(Ye=>{const Ct=(0,n.get)($e,Ye,[]);return!(0,n.isEmpty)(Ct)&&"string"!=typeof Ct[0]})}(Ye)?(0,T.of)({securedObjectTypeSchemeAndMap:Ye}):this.securityService.getSecurityPolicyVariantTip$("dependency",void 0,Ye.objectData.$security).pipe((0,E.T)(Lt=>({securedObjectTypeSchemeAndMap:Ye,subObjectVariantPolicy:Lt})))))}static#e=this.\u0275fac=function(Be){return new(Be||Pe)(M.KVO(H.b),M.KVO(ie.T),M.KVO(ne.i),M.KVO(Q.T))};static#t=this.\u0275prov=M.jDH({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();function te(Pe){const $e=(0,n.get)(Pe,"objectType.field",null);if(!$e)return Pe;const ze=$e.find(Be=>Be.tag&&Be.tag.findIndex(Ye=>Ye.includes("sequenceTip"))>-1);return ze&&Pe.objectData.hasOwnProperty(ze.$tip)&&delete Pe.objectData[ze.$tip],Pe}var K=s(36353),de=s(71242),Me=s(32099),me=s(54071),be=s(19937);let Le=(()=>{class Pe{constructor(ze,Be,Ye,Ct,Lt,Vt,ht,gt){this.editFormSideSheetService=ze,this.formFieldService=Be,this.getObjectAndFormService=Ye,this.loggerService=Ct,this.numberFormatService=Lt,this.objectService=Vt,this.securityService=ht,this.toastService=gt,this.unsubscribe$=new a.B,this.done$=new a.B,this.loading$=new g.t(!1),this.hasLoaded$=this.loading$.pipe((0,D.p)(Ge=>!Ge),(0,E.T)(()=>!0)),this.appAlert$=new g.t(null),this.object$=new m.m(1),this.form$=new g.t(null),this.numberFormatMap$=new m.m(1),this.typeFields$=this.object$.pipe((0,E.T)(Oe)),this.objectData$=this.object$.pipe((0,E.T)(Ae)),this.formOptions$=this.form$.pipe(function Xe(Pe,$e){return function(Be){const Ye=Be.pipe((0,D.p)(Boolean),(0,E.T)(Lt=>Lt.contextType)),Ct=(0,O.z)([Ye,Pe]).pipe((0,E.T)(C.D4));return(0,O.z)([Ct,$e]).pipe((0,E.T)(([Lt,Vt])=>({formState:{contextTypeOptions:Lt,objectAndType:Vt}})))}}(this.numberFormatMap$,this.object$)),this.subObject=!1,this._readonly$=new g.t(!0),this._canUpdateSecurity$=new g.t(!1),this._deletable$=new g.t(!1),this.readonly$=this._readonly$.asObservable().pipe((0,y.F)()),this.canUpdateSecurity$=this._canUpdateSecurity$.asObservable().pipe((0,y.F)()),this.deletable$=this._deletable$.asObservable().pipe((0,y.F)())}load(ze){this.appAlert$.next(null),this.loading$.next(!0),(ze.formObjectAndType?(0,T.of)(ze.formObjectAndType):this.getObjectAndFormService.getFormObjectAndType(ze)).pipe((0,I.Q)(this.unsubscribe$),(0,b.n)(({form:Ye,objectAndType:Ct})=>{const Lt=(0,n.get)(Ct,"objectData.$tip"),Vt=(0,n.isEmpty)(Lt),ht=Vt?(0,T.of)(!1):this.securityService.canDelete(Lt),gt=Vt?(0,T.of)(!0):this.securityService.canUpdateSecurity(Lt),Ge=Vt?(0,T.of)(!0):this.securityService.canUpdate(Lt);return(0,O.z)([(0,T.of)(Ye),(0,T.of)(Ct),this.numberFormatService.getNumberFormatMap(),ht,gt,Ge])})).subscribe({next:([Ye,Ct,Lt,Vt,ht,gt])=>{Ct.objectData?.$tip||(Ct.objectData.$nonce=(0,w.q)()),this.subObject=!!ze.subObject,this._deletable$.next(Vt),this._canUpdateSecurity$.next(ht),this._readonly$.next(!gt),this.form$.next(Ye),this.numberFormatMap$.next(Lt),this.object$.next(Ct),this.loading$.next(!1)},error:Ye=>{this.setAppAlert("Failed to load. Please try again."),this.loggerService.error(Ye),this.loading$.next(!1)}})}save(ze){const Be=this.formFieldService.getAllFieldValues();this.appAlert$.next(null),this.loading$.next(!0),this.subObject?this.object$.pipe((0,L.$)()).subscribe(({objectType:Ye,objectData:Ct,objectScheme:Lt,deleteOnSave:Vt})=>{const gt={objectType:Ye,objectData:{$type:Ye.$tip,...Ct,...Be},objectScheme:Lt,deleteOnSave:Vt};this.loading$.next(!1),this.done$.next({subObject:gt})}):this.save$(ze).subscribe({next:Ye=>{this.loading$.next(!1),this.toastService.showSuccessToast("Form saved"),this.done$.next(Ye)},error:Ye=>{this.setAppAlert(Ye instanceof o.i?Ye.message:"Failed to save please try again"),this.loggerService.error(Ye)}})}save$(ze){const Be=this.formFieldService.getFieldsToExcludeFromSave(),Ye=this.formFieldService.getAllFieldValues();return this.editFormSideSheetService.save(this.object$,Ye,ze,Be)}delete$(){return this.object$.pipe((0,b.n)(ze=>this.objectService.deleteObject(ze.objectData)))}delete(ze){if(this.loading$.next(!0),this.subObject)return this.loading$.next(!1),void this.done$.next({deleted:!0});this.delete$().pipe((0,I.Q)(this.unsubscribe$)).subscribe({next:()=>{this.toastService.showToastMessage(`${ze} deleted`,"SUCCESS"),this.loading$.next(!1),this.done$.next({deleted:!0})},error:Be=>{this.toastService.showToastMessage(`Unable to delete ${ze}`,"FAILURE"),this.setAppAlert("Failed to delete please try again"),this.loggerService.error(Be)}})}getAllFieldValues(ze=!1){return ze?this.formFieldService.getAllFieldValuesWithoutEmbeddedMedia():this.formFieldService.getAllFieldValues()}setAppAlert(ze){this.loading$.next(!1),this.appAlert$.next(ze)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete(),this.loading$.complete(),this.form$.complete(),this.object$.complete(),this.done$.complete()}static#e=this.\u0275fac=function(Be){return new(Be||Pe)(M.KVO(le),M.KVO(K.o),M.KVO(de.w),M.KVO(Me.g),M.KVO(me.w),M.KVO(ie.T),M.KVO(ne.i),M.KVO(be.f))};static#t=this.\u0275prov=M.jDH({token:Pe,factory:Pe.\u0275fac})}return Pe})();function Ae({objectData:Pe}){return Pe||{}}function Oe({objectType:Pe}){return Pe.field||[]}},67137:(at,N,s)=>{"use strict";s.d(N,{Q:()=>Ne});var n=s(89417),a=s(67376),m=s(84412),T=s(84572),O=s(21413),D=s(7673),E=s(44668),y=s(96354),I=s(99172),b=s(56977),L=s(20140),o=s(61594),C=s(88141),w=s(55852),M=s(92597),q=s(32803),z=s(53536),F=s(81537),U=s(68030),k=s(5002),Y=s(36353),x=s(35790),B=s(62601),j=s(50835),$=s(69172),H=s(93953),ie=s(50337),ne=s(76087),Q=s(29968),le=s(10506),pe=s(14784),te=s(66386),ae=s(634),K=s(72260),de=s(87612);const Me=(It,In,Kt)=>({canUpdateSecurity:It,canViewWFD:In,canDelete:Kt});function me(It,In){if(1&It&&(H.j41(0,"span"),H.pXf(1,0),H.k0s()),2&It){const Kt=H.XpG().ngIf;H.R7$(),H.uP7(Kt),H.nnv(1)}}function be(It,In){if(1&It&&(H.j41(0,"span"),H.pXf(1,1),H.k0s()),2&It){const Kt=H.XpG().ngIf;H.R7$(),H.uP7(Kt),H.nnv(1)}}function Le(It,In){if(1&It&&(H.j41(0,"span"),H.pXf(1,2),H.k0s()),2&It){const Kt=H.XpG().ngIf;H.R7$(),H.uP7(Kt),H.nnv(1)}}function Ae(It,In){1&It&&(H.qex(0,14),H.DNE(1,me,2,1,"span",15)(2,be,2,1,"span",15)(3,Le,2,1,"span",15),H.bVm()),2&It&&(H.Y8G("ngSwitch",In.ngIf),H.R7$(),H.Y8G("ngSwitchCase","New"),H.R7$(),H.Y8G("ngSwitchCase","Edit"),H.R7$(),H.Y8G("ngSwitchCase","Preview"))}function Oe(It,In){if(1&It&&(H.qex(0),H.DNE(1,Ae,4,4,"ng-container",13),H.nI1(2,"async"),H.nI1(3,"async"),H.bVm()),2&It){const Kt=H.XpG();H.R7$(),H.Y8G("ngIf",H.bMT(3,3,H.bMT(2,1,Kt.hasPrefix$)&&Kt.prefix$))}}function Xe(It,In){if(1&It&&(H.j41(0,"div",16),H.nrm(1,"div",17),H.k0s()),2&It){const Kt=In.ngIf;H.R7$(),H.Y8G("innerHTML",Kt,H.npT)}}function Pe(It,In){if(1&It&&(H.j41(0,"app-alert"),H.EFF(1),H.k0s()),2&It){const Kt=In.$implicit;H.R7$(),H.JRh(Kt)}}function $e(It,In){1&It&&(H.j41(0,"div",18),H.nrm(1,"mat-icon",19),H.j41(2,"span"),H.pXf(3,3),H.k0s()())}function ze(It,In){1&It&&H.nrm(0,"div",20)}function Be(It,In){if(1&It){const Kt=H.RV6();H.j41(0,"button",24),H.bIt("click",function(){H.eBV(Kt);const wn=H.XpG(2);return H.Njj(wn.print())}),H.nrm(1,"span",25),H.k0s()}if(2&It){const Kt=H.XpG(2);H.Y8G("disabled",Kt.offline)}}function Ye(It,In){if(1&It){const Kt=H.RV6();H.j41(0,"button",33),H.bIt("click",function(){H.eBV(Kt);const wn=H.XpG(4);return H.Njj(wn.setSecurity())}),H.EFF(1," Edit security policy... "),H.k0s()}if(2&It){const Kt=H.XpG(4);H.Y8G("disabled",Kt.offline)}}function Ct(It,In){if(1&It){const Kt=H.RV6();H.j41(0,"button",34),H.bIt("click",function(){H.eBV(Kt);const wn=H.XpG(4);return H.Njj(wn.showActivatedWorkflowsSideSheet())}),H.EFF(1," View activated workflows... "),H.k0s()}if(2&It){const Kt=H.XpG(4);H.Y8G("disabled",Kt.offline)}}function Lt(It,In){if(1&It){const Kt=H.RV6();H.qex(0),H.nrm(1,"div",35),H.j41(2,"button",36),H.bIt("click",function(){H.eBV(Kt);const wn=H.XpG(4);return H.Njj(wn.delete())}),H.EFF(3," Delete... "),H.k0s(),H.bVm()}if(2&It){const Kt=H.XpG(4);H.R7$(2),H.Y8G("disabled",Kt.offline)}}function Vt(It,In){if(1&It&&(H.j41(0,"div",27)(1,"button",28),H.nrm(2,"mat-icon",29),H.k0s(),H.j41(3,"div",30),H.DNE(4,Ye,2,1,"button",31)(5,Ct,2,1,"button",32)(6,Lt,4,1,"ng-container",6),H.k0s()()),2&It){const Kt=H.XpG().ngIf,Ze=H.XpG(2);H.R7$(),H.Y8G("disabled",Ze.offline)("isNavigable",!0),H.R7$(3),H.Y8G("ngIf",Kt.canUpdateSecurity),H.R7$(),H.Y8G("ngIf",Kt.canViewWFD),H.R7$(),H.Y8G("ngIf",Kt.canDelete)}}function ht(It,In){if(1&It&&(H.qex(0),H.DNE(1,Vt,7,5,"div",26),H.bVm()),2&It){const Kt=In.ngIf;H.R7$(),H.Y8G("ngIf",Kt.canUpdateSecurity||Kt.canViewWFD||Kt.canDelete)}}function gt(It,In){if(1&It&&(H.j41(0,"div",21)(1,"div",22),H.DNE(2,Be,2,1,"button",23)(3,ht,2,1,"ng-container",6),H.nI1(4,"async"),H.nI1(5,"async"),H.nI1(6,"async"),H.k0s()()),2&It){const Kt=H.XpG();H.R7$(2),H.Y8G("ngIf",Kt.isEdit),H.R7$(),H.Y8G("ngIf",H.sMw(8,Me,H.bMT(4,2,Kt.canUpdateSecurity$),H.bMT(5,4,Kt.isEdit&&Kt.canViewWFD$),H.bMT(6,6,Kt.deletable$)))}}function Ge(It,In){if(1&It){const Kt=H.RV6();H.j41(0,"app-form-renderer",37),H.nI1(1,"async"),H.nI1(2,"async"),H.nI1(3,"async"),H.nI1(4,"async"),H.nI1(5,"async"),H.nI1(6,"async"),H.bIt("formData",function(wn){H.eBV(Kt);const zn=H.XpG();return H.Njj(zn.setFormObject(wn))})("formGroup$",function(wn){H.eBV(Kt);const zn=H.XpG();return H.Njj(zn.setFormGroup(wn))})("formStatus",function(wn){H.eBV(Kt);const zn=H.XpG();return H.Njj(zn.formStatus(wn))}),H.k0s()}if(2&It){const Kt=In.$implicit,Ze=H.XpG();H.Y8G("form",Kt)("initialData",H.bMT(1,8,Ze.objectData$))("isOfflineModeAllowed",Ze.isOfflineModeAllowed)("monitorConnection",H.bMT(2,10,Ze.isFormResilienceFeatureEnabled$)&&!H.bMT(3,12,Ze.readonly$))("options",H.bMT(4,14,Ze.formOptions$))("preview",Ze.preview)("typeFields",H.bMT(5,16,Ze.typeFields$))("readonly",H.bMT(6,18,Ze.readonly$))}}function Se(It,In){if(1&It){const Kt=H.RV6();H.j41(0,"app-side-sheet-section",39)(1,"div",40)(2,"button",41),H.bIt("click",function(){H.eBV(Kt);const wn=H.XpG(2);return H.Njj(wn.delete())}),H.pXf(3,4),H.k0s()()()}if(2&It){const Kt=H.XpG(2);H.Y8G("showHeader",!1),H.R7$(2),H.Y8G("disabled",Kt.offline)}}function ke(It,In){if(1&It&&(H.qex(0),H.DNE(1,Se,4,2,"app-side-sheet-section",38),H.nI1(2,"async"),H.bVm()),2&It){const Kt=H.XpG();H.R7$(),H.Y8G("ngIf",H.bMT(2,1,Kt.deletable$))}}let Ne=(()=>{class It{constructor(Kt,Ze,wn,zn,di,jn,Di,Li,ms,Rn,Qt,Wt){this.sideSheetService=Kt,this.formulaService=Ze,this.editFormInstanceService=wn,this.modalService=zn,this.signatureFieldService=di,this.cdr=jn,this.featureFlagStateService=Di,this.meService=Li,this.connectionService=ms,this.mobileAppService=Rn,this.externalService=Qt,this.deviceService=Wt,this.form$=this.editFormInstanceService.form$,this.typeFields$=this.editFormInstanceService.typeFields$,this.objectData$=this.editFormInstanceService.objectData$,this.formOptions$=this.editFormInstanceService.formOptions$,this.loading$=this.editFormInstanceService.loading$,this.appAlert$=this.editFormInstanceService.appAlert$,this.deletable$=this.editFormInstanceService.deletable$,this.canUpdateSecurity$=this.editFormInstanceService.canUpdateSecurity$,this.readonly$=this.editFormInstanceService.readonly$.pipe((0,E.t)(1)),this.formTitlePrefix$=new m.t({prefix:"",postfix:""}),this.formTitle$=(0,T.z)([this.form$,this.formTitlePrefix$]).pipe((0,y.T)(ft)),this.hasPrefix$=this.form$.pipe((0,y.T)(Xt)),this.prefix$=this.formTitlePrefix$.pipe((0,y.T)(Yt=>Yt.prefix),(0,E.t)(1)),this.formSize="sm",this.actionText="",this.typeLabel="",this.formValid=!1,this.formDirty=!1,this.preview=!1,this.hideSecurityOptions=!1,this.done$=this.editFormInstanceService.done$,this.isEdit=!1,this.showFormBreadcrumbs=!1,this.formBreadcrumbs$=new m.t(""),this.formGroup=new n.gE({}),this.showErrorBanner=!1,this.isHardToDeleteEnabled=!1,this.canSwitchToOfflineMode=!1,this.isOfflineModeAllowed=!1,this.disablePrimaryButtondWhenOffline=!1,this.isNativeApp=!1,this.offline=!1,this.OfflineHeaderType=$.l2,this.GoOfflineLabel="Go offline",this.destroyed$=new O.B,this.canViewWFD$=this.meService.isAdmin$(),this.isFormResilienceFeatureEnabled$=this.featureFlagStateService.isFeatureEnabled$(k.g.FEATURE_EIM_23059_FORM_RESILIENCE),this.isConnectionAvailable$=this.connectionService.connectionMonitor$.pipe((0,I.Z)(!0)),this.isNativeApp=this.deviceService.checkForMobileApp()}ngOnInit(){this.featureFlagStateService.isFeatureEnabled(k.g.FEATURE_EIM_23059_FORM_RESILIENCE)&&this.connectionService.connectionMonitor$.pipe((0,b.Q)(this.destroyed$)).subscribe(Kt=>{this.offline=!Kt,this.cdr.detectChanges()})}print(){this.sideSheetService.pushV2(F.Q).setProps(this.printProps)}setProps(Kt){this.formTip=(0,a.get)(Kt,"formObjectAndType.form.$tip"),this.formSize=this.getFormSize((0,a.get)(Kt,"formObjectAndType.form.size")),this.showFormBreadcrumbs=(0,a.get)(Kt,"formObjectAndType.form.showFormBreadcrumbs",!1),this.hideSecurityOptions=(0,a.get)(Kt,"hideSecurityOptions",!1),this.securityPolicyTip=(0,a.get)(Kt,"securityPolicyTip",void 0),this.editFormInstanceService.load(Kt),this.formTitlePrefix$.next(Je(Kt)),this.actionText=this.getActionText(Kt),this.typeLabel=Qe(Kt.formObjectAndType.form),this.preview=Kt.preview||!1,this.printProps=this.getPrintProps(Kt),this.isEdit=!!Kt.objectTip,this.contextTip=Kt.objectTip,Kt.readonlyOverride&&(this.readonly$=(0,D.of)(!0),this.deletable$=(0,D.of)(!1),this.canUpdateSecurity$=(0,D.of)(!1)),this.isHardToDeleteEnabled=(0,a.get)(Kt,"isHardToDeleteEnabled",!1),this.getTitleForObject(Kt).pipe((0,b.Q)(this.destroyed$)).subscribe(Ze=>{Ze?Array.isArray(Ze)?this.sideSheetService.pushBreadcrumbSuffix(Ze[0]):this.sideSheetService.pushBreadcrumbSuffix(Ze):this.sideSheetService.pushBreadcrumbSuffix(""),this.formBreadcrumbs$.next(this.sideSheetService.generateBreadcrumbString())}),this.isNativeApp&&(0,T.z)([this.isFormResilienceFeatureEnabled$,this.isConnectionAvailable$,this.externalService.activeOfflineForms$]).pipe((0,b.Q)(this.destroyed$)).subscribe(([Ze,wn,zn])=>{if(!Ze)return;let di;di=zn?zn.includes(this.formTip):(this.deviceService.deviceInfo?.activeOfflineForms?.find(Di=>Di.namespace===j.c.ns)?.activeForms||[]).includes(this.formTip),this.isOfflineModeAllowed=this.deviceService.deviceInfo?.formResilienceAvailable&&!Kt.objectTip&&di,this.canSwitchToOfflineMode=!wn&&this.isOfflineModeAllowed,this.disablePrimaryButtondWhenOffline=!this.canSwitchToOfflineMode&&!wn,this.cdr.detectChanges()})}getPrintProps(Kt){const Ze=Kt.formObjectAndType.form,wn={templateTip:z.vp,settingTip:z.f$,contextTip:Kt.objectTip};return(0,a.get)(Ze,"$tip",!1)&&(wn.formTip=Ze.$tip),wn}save(){this.formGroup.updateValueAndValidity(),this.signatureFieldService.validateSignature(this.formGroup).pipe((0,b.Q)(this.destroyed$)).subscribe(Kt=>{if(!(Kt.indexOf(w.b.PENDING)>-1||Kt.indexOf(w.b.SIGNATURE_ERROR)>-1)){if(!this.formValid)return this.showErrorBanner=!0,void this.formGroup.markAllAsTouched();const Ze=this.editFormInstanceService.subObject||!1;this.editFormInstanceService.save({securityPolicyTip:this.securityPolicyTip,bespokeSecurityPolicy:this.bespokeSecurityPolicy}),Ze||this.sideSheetService.makeClean()}})}switchToOffline(){const Kt={namespace:j.c.ns,formTip:this.formTip,formData:this.editFormInstanceService.getAllFieldValues(!0)};this.mobileAppService.switchAppToOfflineMode(Kt)}delete(){const Kt=this.modalService.open(U.F,U.G);Kt.componentInstance.objectType=this.typeLabel,Kt.result.then(wn=>{wn&&(this.sideSheetService.makeClean(),this.editFormInstanceService.delete(this.typeLabel))})}setFormObject(Kt){this.object=Kt}formStatus(Kt){this.formValid=Kt.valid,Kt.dirty&&!this.formDirty&&(this.formDirty=!0,this.sideSheetService.makeDirty())}setFormGroup(Kt){this.formGroup=Kt}getActionText(Kt){return Kt.preview?"":Kt.subObject?"Done":"Save"}setSecurity(){this.getSecurity$().pipe((0,L.v)(this.meService.isAdmin$()),(0,o.$)(),(0,C.M)(([Kt,Ze])=>{this.sideSheetService.pushV2(q.$,{bespokeSecurityPolicy:this.bespokeSecurityPolicy,securityPolicyTip:this.bespokeSecurityPolicy?null:Kt,monitorConnection:this.featureFlagStateService.isFeatureEnabled(k.g.FEATURE_EIM_23059_FORM_RESILIENCE),canAdd:Ze,onDone:(wn,zn)=>{wn?(this.securityPolicyTip=wn,this.bespokeSecurityPolicy=null):(this.securityPolicyTip=null,this.bespokeSecurityPolicy=zn),this.cdr.detectChanges()}})})).subscribe()}getSecurity$(){return this.securityPolicyTip?(0,D.of)(this.securityPolicyTip):this.objectData$.pipe((0,y.T)(Kt=>Kt.$security))}getFormSize(Kt){switch(Kt){case"large":return"lg";case"extraLarge":return"xl";default:return"sm"}}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}showActivatedWorkflowsSideSheet(){this.sideSheetService.pushV2(B.D).setProps({subjectTip:this.contextTip,title:"Activated workflows for the current object",submenu:{workflow:!0},columns:{workflow:!0,eventType:!1}})}getTitleForObject(Kt){if("New"===Je(Kt).prefix)return(0,D.of)("new");{const Ze=(0,a.get)(Kt,"formObjectAndType.objectAndType.objectData.$tip",null);if(Ze){const wn=(0,M.Ac)({name:"TITLE",args:[Ze]});return this.formulaService.evaluate(wn)}return(0,D.of)("new")}}static#e=this.\u0275fac=function(Ze){return new(Ze||It)(H.rXU(ie.E),H.rXU(ne.C),H.rXU(x.z),H.rXU(Q.Bq),H.rXU(w.u),H.rXU(H.gRc),H.rXU(le.F),H.rXU(pe.Q),H.rXU(te.K),H.rXU(ae.z),H.rXU(K.d),H.rXU(de.g))};static#t=this.\u0275cmp=H.VBU({type:It,selectors:[["app-edit-form-side-sheet"]],features:[H.Jv_([x.z,Y.o])],decls:20,vars:33,consts:()=>{let Kt,Ze,wn,zn,di;return Kt="" + "\ufffd0\ufffd" + "",Ze="" + "\ufffd0\ufffd" + "",wn="" + "\ufffd0\ufffd" + "",zn="Please complete all errors below",di="Delete ",[Kt,Ze,wn,zn,di,[3,"actioned","action","disabled","monitorConnection","offlineHeaderType","size"],[4,"ngIf"],["class","sidesheet-header-container d-flex flex-row align-items-center justify-content-between form-breadcrumbs",4,"ngIf"],["appSpinner","",1,"edit-form-content-container",3,"showSpinner$"],["class","d-flex flex-row justify-content-center align-items-center mb-3 form-error-alert",4,"ngIf"],["class","mt-4",4,"ngIf"],["class","d-flex justify-content-end mb-1 mt-3 px-3",4,"ngIf"],[3,"form","initialData","isOfflineModeAllowed","monitorConnection","options","preview","typeFields","readonly","formData","formGroup$","formStatus",4,"ngIf"],[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"sidesheet-header-container","d-flex","flex-row","align-items-center","justify-content-between","form-breadcrumbs"],[1,"w-10","mx-3","text-left",3,"innerHTML"],[1,"d-flex","flex-row","justify-content-center","align-items-center","mb-3","form-error-alert"],["svgIcon","event",1,"mr-1"],[1,"mt-4"],[1,"d-flex","justify-content-end","mb-1","mt-3","px-3"],[1,"d-flex","justify-content-end"],["class","btn btn-secondary btn-social ml-1","data-test","edit-form-print-button","title","Print",3,"disabled","click",4,"ngIf"],["data-test","edit-form-print-button","title","Print",1,"btn","btn-secondary","btn-social","ml-1",3,"click","disabled"],[1,"mdi","mdi-print"],["class","nav-item dropdown d-flex","ngbDropdown","","placement","bottom-right",4,"ngIf"],["ngbDropdown","","placement","bottom-right",1,"nav-item","dropdown","d-flex"],["data-test","edit-sidesheet-more-actions-ellipsis-button","ngbDropdownToggle","","title","More actions",1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"disabled","isNavigable"],["svgIcon","more"],["ngbDropdownMenu","","role","menu",1,"dropdown-menu"],["appTabIndex","","class","dropdown-item","data-test","more-action-edit-security-policy-button","ngbDropdownItem","","role","menuitem",3,"disabled","click",4,"ngIf"],["appTabIndex","","class","dropdown-item","data-test","more-action-workflow-button","ngbDropdownItem","","role","menuitem",3,"disabled","click",4,"ngIf"],["appTabIndex","","data-test","more-action-edit-security-policy-button","ngbDropdownItem","","role","menuitem",1,"dropdown-item",3,"click","disabled"],["appTabIndex","","data-test","more-action-workflow-button","ngbDropdownItem","","role","menuitem",1,"dropdown-item",3,"click","disabled"],[1,"dropdown-divider"],["appTabIndex","","data-test","more-action-delete-button","ngbDropdownItem","","role","menuitem",1,"dropdown-item",3,"click","disabled"],[3,"formData","formGroup$","formStatus","form","initialData","isOfflineModeAllowed","monitorConnection","options","preview","typeFields","readonly"],[3,"showHeader",4,"ngIf"],[3,"showHeader"],[1,"text-center"],["data-test","edit-delete-button",1,"btn","btn-danger",3,"click","disabled"]]},template:function(Ze,wn){1&Ze&&(H.j41(0,"app-side-sheet-header",5),H.nI1(1,"async"),H.nI1(2,"async"),H.nI1(3,"async"),H.nI1(4,"async"),H.bIt("actioned",function(){return wn.canSwitchToOfflineMode?wn.switchToOffline():wn.save()}),H.DNE(5,Oe,4,5,"ng-container",6),H.nI1(6,"async"),H.EFF(7),H.nI1(8,"async"),H.k0s(),H.DNE(9,Xe,2,1,"div",7),H.nI1(10,"async"),H.DNE(11,Pe,2,1,"app-alert",6),H.nI1(12,"async"),H.j41(13,"div",8),H.DNE(14,$e,4,0,"div",9)(15,ze,1,0,"div",10)(16,gt,7,12,"div",11)(17,Ge,7,20,"app-form-renderer",12),H.nI1(18,"async"),H.DNE(19,ke,3,3,"ng-container",6),H.k0s()),2&Ze&&(H.Y8G("action",H.bMT(1,15,wn.readonly$)?void 0:wn.canSwitchToOfflineMode?wn.GoOfflineLabel:wn.actionText)("disabled",H.bMT(2,17,wn.loading$)||wn.disablePrimaryButtondWhenOffline||!wn.canSwitchToOfflineMode&&wn.offline)("monitorConnection",H.bMT(3,19,wn.isFormResilienceFeatureEnabled$)&&!H.bMT(4,21,wn.readonly$))("offlineHeaderType",wn.canSwitchToOfflineMode?wn.OfflineHeaderType.mainFormGoOffline:wn.OfflineHeaderType.mainForm)("size",wn.formSize),H.R7$(5),H.Y8G("ngIf",!H.bMT(6,23,wn.readonly$)),H.R7$(2),H.SpI(" ",H.bMT(8,25,wn.formTitle$),"\n"),H.R7$(2),H.Y8G("ngIf",wn.showFormBreadcrumbs&&H.bMT(10,27,wn.formBreadcrumbs$)),H.R7$(2),H.Y8G("ngIf",H.bMT(12,29,wn.appAlert$)),H.R7$(2),H.Y8G("showSpinner$",wn.loading$),H.R7$(),H.Y8G("ngIf",wn.formGroup.invalid&&wn.showErrorBanner),H.R7$(),H.Y8G("ngIf",wn.hideSecurityOptions),H.R7$(),H.Y8G("ngIf",!wn.hideSecurityOptions),H.R7$(),H.Y8G("ngIf",H.bMT(18,31,wn.form$)),H.R7$(2),H.Y8G("ngIf",!wn.isHardToDeleteEnabled))},styles:[".edit-form-content-container[_ngcontent-%COMP%]{padding-bottom:20px}.form-breadcrumbs[_ngcontent-%COMP%]{background-color:#f1f1f4;padding-top:7px;padding-bottom:7px;font-weight:500;font-size:1rem;color:#273c4e;line-height:1.75rem}"],changeDetection:0})}return It})();function Je(It){return It.preview?{prefix:"Preview",postfix:""}:It.subObject?"boolean"==typeof It.subObject?{prefix:"New",postfix:""}:{prefix:"Edit",postfix:""}:It.objectTip?{prefix:"Edit",postfix:""}:{prefix:"New",postfix:""}}function Qe(It){return(0,a.get)(It,"contextType.type.label","")}function rt(It){return(0,a.get)(It,"titleOverride",null)}function ft([It,{postfix:In}]){const Kt=Qe(It);return rt(It)||(Kt?`${Kt} ${In}`:"")}function Xt(It){return!rt(It)}},36353:(at,N,s)=>{"use strict";s.d(N,{o:()=>M});var n=s(89417),a=s(67376),m=s(21413),T=s(92771),O=s(13946),D=s(5964),E=s(96354),y=s(25558),I=s(61594),b=s(88141),L=s(56977),o=s(2535),C=s(93953),w=s(25687);let M=(()=>{class z{constructor(U){this.formulaMultiService=U,this.destroy$=new m.B,this.formFieldsMetadataMap=new Map,this.ready$=new T.m(1)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}whenReady$(){return this.ready$.asObservable()}register(U,k){this.isCreationForm=k,U.forEach(({options:Y,fields:x})=>{const B=(0,a.get)(Y,["formState","contextTypeOptions","values"])||new Map;(0,a.flatMapDeep)((0,a.flatMapDeep)(x,q),q).filter($=>!!$.key).forEach($=>this.registerFieldRow($,B))}),this.ready$.next(),this.ready$.complete()}getFieldsToExcludeFromSave(){return this.isCreationForm?[]:Array.from(this.formFieldsMetadataMap).reduce((U,[k,{initialValue:Y}])=>(0,a.isEqual)(Y,this.getFormControl(k).value)?[...U,k]:U,[])}getAllFieldValues(){return Array.from(this.formFieldsMetadataMap).reduce((U,[k])=>{const Y=this.getFormControl(k).value;return{...U,[k]:Y}},{})}getAllFieldValuesAndSetUndefinedAsNull(){return Array.from(this.formFieldsMetadataMap).reduce((U,[k])=>{const Y=void 0===this.getFormControl(k).value?null:this.getFormControl(k).value;return{...U,[k]:Y}},{})}getAllFieldValuesWithoutEmbeddedMedia(){return Array.from(this.formFieldsMetadataMap).reduce((U,[k,Y])=>{let x=this.getFormControl(k).value;return x&&"rich-text"===Y.formlyFieldConfig.type&&(x=x.replace(/<img.*?>/g,`<em>${"Media removed when taken offline. It can be added when back online."}</em>`)),{...U,[k]:x}},{})}getFormControl(U){const k=this.formFieldsMetadataMap.get(U).formlyFieldConfig.formControl;return k instanceof n.MJ?k:void 0}registerFieldRow(U,k){const Y=U.key,x=U.isConditional,B=(0,a.get)(U,"conditionalFields.visibility.applyDefaultValueWhenShown",!1),j=k.get(Y)||{},$=!(0,a.isEmpty)(j.calculation),H=j.defaultValueFormula;!$&&x&&this.initClearFieldOnHide(Y,U.hide$),B&&this.initApplyDefaultValueWhenShown(Y,U.hide$,H),this.updateMetadata(Y,{formlyFieldConfig:U,initialValue:(0,a.cloneDeep)(U.formControl.value)})}updateMetadata(U,k){const x={...this.formFieldsMetadataMap.get(U)||{},...k};this.formFieldsMetadataMap.set(U,x)}initApplyDefaultValueWhenShown(U,k,Y){k.pipe((0,O.J)(),(0,D.p)(([x,B])=>x&&!B),(0,E.T)(()=>this.getFormControl(U)),(0,D.p)(x=>null===x.value),(0,y.n)(x=>{const B=this.getAllFieldValues(),j=(0,a.mapValues)(B,o.t);return this.formulaMultiService.evaluate([{formula:Y,watch:!1,vars:j}]).pipe((0,I.$)(),(0,b.M)(H=>x.setValue(H[0][0])))}),(0,L.Q)(this.destroy$)).subscribe()}initClearFieldOnHide(U,k){k.pipe((0,O.J)(),(0,D.p)(([Y,x])=>!Y&&x),(0,E.T)(()=>this.getFormControl(U)),(0,L.Q)(this.destroy$)).subscribe(Y=>Y.setValue(null))}static#e=this.\u0275fac=function(k){return new(k||z)(C.KVO(w.$))};static#t=this.\u0275prov=C.jDH({token:z,factory:z.\u0275fac})}return z})();function q(z){return z.fieldGroup?z.fieldGroup:[z]}},71242:(at,N,s)=>{"use strict";s.d(N,{w:()=>x});var n=s(7673),a=s(27468),g=s(18810),m=s(25558),T=s(96354),O=s(31397),D=s(61594),E=s(67376),y=s(69172),I=s(41538),b=s(55577),L=s(76194),o=s(82639);function C({objectType:ne,objectData:Q}){const pe=[{tabName:"Tab 1",rows:ne.field.map(w,{objectTip:(0,E.get)(Q,"$tip",null)})}];return{name:"Generated form",description:"",size:"regular",version:1,contextType:{type:{$tip:ne.$tip,label:ne.label,field:ne.field}},tabs:pe}}function w(ne){const{_datatype:Q}=(0,I.F)({field:ne}),le=[];try{let pe;"app/org-unit:parent"===ne.$tip?(pe=q(b.b)(ne),pe.templateOptions.currentOrgUnit=this.objectTip):pe=M[Q](ne),"object-chooser"===(0,E.get)(pe,"type")&&(0,E.get)(ne,"$tip","").includes(o.W1.PROTECTIVE_MARKING_SETTINGS)&&(0,E.set)(pe,"templateOptions.protectiveMarkingSettings",!0),pe&&le.push(pe)}catch{throw new Error(`CreateRowFromField failed\n      Field: ${JSON.stringify(ne,null,2)}`)}return{fields:le}}const M={[L.HT.string_i18n]:q(b.Ky),[L.HT.string]:q(b.Ky),[L.HT.blob]:()=>null,[L.HT.number]:q(b.id),[L.HT.decimal]:q(b.id),[L.HT.bool]:q(b.Ox),[L.HT.date]:q(b.fM),[L.HT.datetime]:q(b.BU),[L.HT.object]:q(b.ih),[L.HT.email]:q(b.Oh),[L.HT.phone]:q(b.rW),[L.HT.uri]:q(b._I),[L.HT.formula]:()=>null,[L.HT.string_formula]:()=>null,[L.HT.json]:()=>null,[L.HT.html]:q(b.zB),[L.TV.file]:q(b.lh),[L.TV.signature]:q(b.pz),[L.TV.list]:q(b.p8),[L.TV.address]:q(b.Bo),[L.TV.point]:q(b.Zf),[L.TV.line]:q(b.fT),[L.TV.polygon]:q(b.Rf),[L.TV.assignable]:q(b._p),[L.TV.sub_object]:q(b.fv)};function q(ne){return Q=>{const le=(0,E.cloneDeep)(ne);return le.templateOptions.contextTypeTip=Q.$tip,le.templateOptions.label=Q.label,le.templateOptions.placeholder=Q.label,Q.maxlen&&(le.templateOptions.maxLength=Q.maxlen),Q.minlen&&(le.templateOptions.minLength=Q.minlen,Q.required=!0),le.conditionalFields.required.value=Q.mincount>0||Q.required?"true":"false",le}}var z=s(93953),F=s(8076),U=s(76087),k=s(88848),Y=s(12225);let x=(()=>{class ne{constructor(le,pe,te,ae){this.objectService=le,this.formulaService=pe,this.formDesignerService=te,this.allObjectTypesService=ae}getFormObjectAndType({formTip:le,objectTip:pe,typeTip:te,contextTip:ae,queryParams:K,subObject:de}){return le&&pe?this.getFormAndObject$(le,pe):te&&le&&ae?this.getTypeThenFormWithContext$(te,ae,le):le&&te?this.getFormAndType$(le,te):ae&&te?this.getTypeThenFormWithContext$(te,ae):le?this.getFormThenType$(le):te?this.getTypeData$(te,K):pe?this.getObjectThenForm$(pe):de?this.useSubObjectToCreateForm(de):void 0}hasCustomForm$(le){return(0,E.isEmpty)(le)?(0,n.of)(!1):this.getObject$(le).pipe((0,m.n)(pe=>this.getFormTip$(pe.objectType.$tip)),(0,T.T)(pe=>!(0,E.isEmpty)(pe)))}getTypeData$(le,pe){return this.objectService.isSuperType$(le).pipe((0,m.n)(te=>te?(0,n.of)({isSuperType:!0}):this.getTypeAndForm$(le,pe)))}getTypeAndForm$(le,pe){const te=()=>this.getType$(le).pipe((0,T.T)(K=>[C(K),K])),ae=K=>(0,a.p)([this.getForm$(K),this.getType$(le)]);return this.getFormTip$(le).pipe((0,m.n)(K=>K?ae(K):te()),(0,T.T)(j))}getTypeThenFormWithContext$(le,pe,te){const ae=(0,n.of)({isSuperType:!0}),K=(0,a.p)([te?(0,n.of)(te):this.getFormTip$(le),this.getType$(le),this.getContextTypeTip$(pe)]).pipe((0,O.Z)(([de,Me,me])=>{const be=de?this.getForm$(de):(0,n.of)(C(Me)),Le=(0,n.of)(Me).pipe((0,m.n)($.call(this,me,pe)));return(0,a.p)([be,Le]).pipe((0,T.T)(j))}));return this.objectService.isSuperType$(le).pipe((0,m.n)(de=>de?ae:K))}getObjectThenForm$(le){return this.getObject$(le).pipe((0,m.n)(pe=>(0,a.p)([this.getFormTip$(pe.objectType.$tip),(0,n.of)(pe)])),(0,m.n)(([pe,te])=>{const ae=pe?this.getForm$(pe):(0,n.of)(C(te));return(0,a.p)([ae,(0,n.of)(te)])}),(0,T.T)(B))}getFormThenType$(le){return this.getForm$(le).pipe((0,O.Z)(pe=>(0,a.p)([(0,n.of)(pe),this.getType$(pe.contextType.type.$tip)]).pipe((0,T.T)(j))))}getFormAndType$(le,pe){return(0,a.p)([this.getForm$(le),this.getType$(pe)]).pipe((0,T.T)(B))}getFormAndObject$(le,pe){return le!==y.GP?(0,a.p)([this.getForm$(le),this.getObject$(pe)]).pipe((0,T.T)(B)):this.getObject$(pe).pipe((0,T.T)(te=>B([C(te),te])))}useSubObjectToCreateForm(le){if("boolean"==typeof le)return(0,g.$)('You can only use "subObject: true" for creating new subObjects when editing you need to pass the subObject');const pe=(0,E.get)(le,"objectType.$tip",null);return pe?this.getFormTip$(pe).pipe((0,m.n)(te=>te?this.getForm$(te):(0,n.of)(C(le))),(0,T.T)(te=>({form:te,objectAndType:le}))):(0,g.$)("Cannot load sub object without an objectTypeTip")}getObject$(le){return this.objectService.getObjectAndType(le).pipe((0,D.$)())}getType$(le){return this.objectService.getType(le).pipe((0,D.$)())}getContextTypeTip$(le){return this.formulaService.evaluate(`TYPE("${le}")`).pipe((0,D.$)(),(0,T.T)(pe=>pe[0]))}getFormTip$(le){return this.allObjectTypesService.getFormTipFromTypeTip$(le).pipe((0,D.$)())}getForm$(le){return this.formDesignerService.loadForm(le).pipe((0,D.$)())}static#e=this.\u0275fac=function(pe){return new(pe||ne)(z.KVO(F.T),z.KVO(U.C),z.KVO(k.j),z.KVO(Y.b))};static#t=this.\u0275prov=z.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})();function B([ne,Q]){const le=(0,E.get)(ne,"contextType.type.$tip",null),pe=(0,E.get)(Q,"objectType.$tip",null);if(null===le||null===pe||le!==pe)throw new Error(`\n              You cannot load this form with context type tip ${le} for type tip ${pe}.\n              Types should be the same!`);return{form:ne,objectAndType:Q}}function j([ne,Q]){return{form:ne,objectAndType:Q}}function $(ne,Q){return function(le){if(le.objectType.field&&le.objectType.field.length){const pe=le.objectType.field.map(te=>H.call(this,te,ne,Q,le));return(0,a.p)([Promise.all(pe)]).pipe((0,T.T)(()=>le))}return(0,n.of)(le)}.bind(this)}function H(ne,Q,le,pe){return new Promise(te=>Q&&ne.tag&&ne.tag.length&&"autoPopulate--true"===ne.tag[0]&&(0,E.isArray)(ne.typerestrict)?ne.typerestrict.includes(Q)?(ie(ne,pe,le),te()):this.objectService.getType(Q).pipe((0,D.$)()).subscribe(ae=>((0,E.isArray)(ae.objectType.supertypes)&&(0,E.intersection)(ne.typerestrict,ae.objectType.supertypes.map(K=>K.$tip)).length&&ie(ne,pe,le),te())):te())}function ie(ne,Q,le){Q.objectData[ne.$tip]=1!==ne.maxcount?[le]:le}},77874:(at,N,s)=>{"use strict";s.d(N,{Z:()=>L});var n=s(7673),a=s(22806),g=s(96354),m=s(67376),O=s(92597),D=s(93953),E=s(12225),y=s(52168),I=s(50337),b=s(76087);let L=(()=>{class o{constructor(w,M,q,z){this.allObjectTypesService=w,this.router=M,this.sideSheetService=q,this.formulaService=z}redirectViaOutletWithFormAndObject(w,{preview:M,contextTip:q}){const z=(0,m.get)(w,"objectAndType.objectData.$tip",null),F=(0,m.get)(w,"objectAndType.objectType.$tip",null);return F?z?this.getWorkflowRuntime(z).pipe((0,g.T)(U=>U?(this.sideSheetService.clear(),this.navigateToWorkflowViaOutlet(U),null):w)):this.checkHasLifecycleWorkflow(F).pipe((0,g.T)(U=>(U&&!M&&this.navigateToWorkflowLauncher(F,q),w))):(0,n.of)(w)}redirectWithObject(w){return this.withObject({object:w,viaOutlet:!1})}redirectViaOutletWithObject(w,M){return this.withObject({object:w,viaOutlet:!0,cancel$:M})}redirectViaOutletWithObjectTip(w,M=!1){return this.withObject({viaOutlet:!0,objectTip:w,replaceUrl:M}).pipe((0,g.T)(({redirected:q})=>q))}withObject({object:w,viaOutlet:M,cancel$:q,objectTip:z,replaceUrl:F}){const U=(0,m.get)(w,"objectData.$tip",z);return U?this.getWorkflowRuntime(U).pipe((0,g.T)(k=>k&&M?(this.navigateToWorkflowViaOutlet(k,F),q&&q.next(),{object:w,redirected:!0}):k&&!M?(this.navigateToWorkflow(k),q&&q.next(),{object:w,redirected:!0}):{object:w,redirected:!1})):(0,n.of)({object:w,redirected:!1})}checkHasLifecycleWorkflow(w){return this.allObjectTypesService.getLifecycleWorkflowFromTypeTip$(w).pipe((0,g.T)(Boolean))}getWorkflowRuntime(w){return w?this.formulaService.evaluate((0,O.Ac)({name:"FIELD",args:["app/object-stage-state:workflow-runtime",{name:"REFERENCES",args:["app/object-stage-state:object",w]}]})).pipe((0,g.T)(([M])=>M)):(0,n.of)(null)}navigateToWorkflow(w){return(0,a.H)(this.router.navigate(["app","s","workflow",w]))}navigateToWorkflowViaOutlet(w,M=!0){return this.sideSheetService.clear(),(0,a.H)(this.router.navigate(["app","s",{outlets:{sidesheet:["workflow",w]}}],{replaceUrl:M}))}navigateToWorkflowLauncher(w,M){this.sideSheetService.clear();const q={sidesheet:["object","workflow-launcher",w]};return M&&(q.sidesheet=[...q.sidesheet,"context",M]),(0,a.H)(this.router.navigate(["app","s",{outlets:q}],{replaceUrl:!0}))}static#e=this.\u0275fac=function(M){return new(M||o)(D.KVO(E.b),D.KVO(y.Ix),D.KVO(I.E),D.KVO(b.C))};static#t=this.\u0275prov=D.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},79293:(at,N,s)=>{"use strict";s.d(N,{W:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-formly-field-security-policy-chooser"]],features:[a.Vt3],decls:1,vars:5,consts:[[3,"label","placeholder","formControl","canAdd","required"]],template:function(D,E){1&D&&a.nrm(0,"app-security-policy-chooser",0),2&D&&a.Y8G("label",E.to.label)("placeholder",E.to.placeholder)("formControl",E.formControl)("canAdd",E.to.canAdd)("required",E.to.required)},styles:["[_nghost-%COMP%]{width:100%}"]})}return m})()},62286:(at,N,s)=>{"use strict";s.d(N,{bq:()=>oa,zG:()=>Rr,v7:()=>wo});var n=s(8524),a=s(93953),g=s(89417),m=s(72510);let T=(()=>{class bi extends n.PU{constructor(){super(...arguments),this.defaultOptions={templateOptions:{items:[]}}}static#e=this.\u0275fac=(()=>{let Pn;return function(fi){return(Pn||(Pn=a.xGo(bi)))(fi||bi)}})();static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-ng-select"]],features:[a.Vt3],decls:1,vars:6,consts:[["autocomplete","off","data-test","ng-select",3,"formControl","placeholder","multiple","items","bindValue","bindLabel"]],template:function(Ei,fi){1&Ei&&a.nrm(0,"ng-select",0),2&Ei&&a.Y8G("formControl",fi.formControl)("placeholder",fi.to.placeholder)("multiple",fi.to.multiple)("items",fi.to.items)("bindValue",fi.to.bindValue)("bindLabel",fi.to.bindLabel)},dependencies:[g.BC,g.l_,m.vr],encapsulation:2})}return bi})();var O=s(60177),D=s(4372);const E=["fieldComponent"];function y(bi,Po){if(1&bi&&a.nrm(0,"app-form-control-label",5),2&bi){const Pn=a.XpG();a.Y8G("label",Pn.to.label)("for",Pn.id)("required",Pn.to.required)("optional",Pn.to.optional)}}function I(bi,Po){}function b(bi,Po){if(1&bi&&(a.j41(0,"div",6),a.nrm(1,"formly-validation-message",7),a.k0s()),2&bi){const Pn=a.XpG();a.xc7("display","block"),a.R7$(),a.Y8G("field",Pn.field)}}function L(bi,Po){if(1&bi&&(a.j41(0,"p",8),a.EFF(1),a.k0s()),2&bi){const Pn=a.XpG();a.R7$(),a.JRh(Pn.to.description)}}let o=(()=>{class bi extends n.cm{static#e=this.\u0275fac=(()=>{let Pn;return function(fi){return(Pn||(Pn=a.xGo(bi)))(fi||bi)}})();static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-label-description-wrapper"]],viewQuery:function(Ei,fi){if(1&Ei&&a.GBs(E,5,a.c1b),2&Ei){let Ks;a.mGM(Ks=a.lsd())&&(fi.fieldComponent=Ks.first)}},features:[a.Vt3],decls:6,vars:5,consts:[["fieldComponent",""],[1,"form-group"],[3,"label","for","required","optional",4,"ngIf"],["class","invalid-feedback",3,"display",4,"ngIf"],["class","form-text text-muted",4,"ngIf"],[3,"label","for","required","optional"],[1,"invalid-feedback"],[3,"field"],[1,"form-text","text-muted"]],template:function(Ei,fi){1&Ei&&(a.j41(0,"div",1),a.DNE(1,y,1,4,"app-form-control-label",2)(2,I,0,0,"ng-template",null,0,a.C5r)(4,b,2,3,"div",3)(5,L,2,1,"p",4),a.k0s()),2&Ei&&(a.AVh("has-error",fi.showError),a.R7$(),a.Y8G("ngIf",fi.to.label),a.R7$(3),a.Y8G("ngIf",fi.showError),a.R7$(),a.Y8G("ngIf",fi.to.description))},dependencies:[O.bT,D.J,n.Nc],encapsulation:2})}return bi})();var C=s(16652),w=s(99213),M=s(36193);const q=["fieldComponent"];function z(bi,Po){}let F=(()=>{class bi extends n.cm{constructor(Pn){super(),this.copyToClipboard=Pn,this.classes="d-flex flex-row align-items-end"}copy(){this.copyToClipboard(this.field.formControl.value)}static#e=this.\u0275fac=function(Ei){return new(Ei||bi)(a.rXU(C.x_))};static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-copyable-wrapper"]],viewQuery:function(Ei,fi){if(1&Ei&&a.GBs(q,5,a.c1b),2&Ei){let Ks;a.mGM(Ks=a.lsd())&&(fi.fieldComponent=Ks.first)}},hostVars:2,hostBindings:function(Ei,fi){2&Ei&&a.HbH(fi.classes)},features:[a.Vt3],decls:4,vars:0,consts:[["fieldComponent",""],["data-test","copy-text-button",1,"btn","btn-secondary","eim-button_minimized","ml-1","mb-3",3,"click"],["aria-hidden","false","aria-label","copy","svgIcon","duplicate"]],template:function(Ei,fi){if(1&Ei){const Ks=a.RV6();a.DNE(0,z,0,0,"ng-template",null,0,a.C5r),a.j41(2,"button",1),a.bIt("click",function(){return a.eBV(Ks),a.Njj(fi.copy())}),a.nrm(3,"mat-icon",2),a.k0s()}},dependencies:[w.An,M.d],encapsulation:2})}return bi})();var U=s(67376),k=s(21413),Y=s(56977),x=s(50337),B=s(2937),j=s(69595),$=s(70723);function H(bi,Po){if(1&bi&&a.nrm(0,"app-form-control-label",6),2&bi){const Pn=a.XpG();a.Y8G("label",null==Pn.to?null:Pn.to.label)("for",Pn.id)("required",null==Pn.to?null:Pn.to.required)("optional",null==Pn.to?null:Pn.to.optional)}}function ie(bi,Po){if(1&bi&&a.nrm(0,"mat-icon",11),2&bi){const Pn=a.XpG().$implicit,Ei=a.XpG();a.Y8G("svgIcon",Ei.itemIconDisplayFn(Pn))}}function ne(bi,Po){if(1&bi){const Pn=a.RV6();a.j41(0,"app-side-sheet-list-item",7),a.bIt("click",function(){const fi=a.eBV(Pn),Ks=fi.$implicit,fa=fi.index,za=a.XpG();return a.Njj(za.openItem(Ks,fa))}),a.j41(1,"div",8),a.DNE(2,ie,1,1,"mat-icon",9),a.j41(3,"div",10),a.EFF(4),a.k0s()()()}if(2&bi){const Pn=Po.$implicit,Ei=a.XpG();a.Y8G("hasChevron",!0),a.R7$(2),a.Y8G("ngIf",Ei.itemIconDisplayFn),a.R7$(2),a.JRh(Ei.itemDisplayFn(Pn))}}function Q(bi,Po){if(1&bi){const Pn=a.RV6();a.j41(0,"app-empty-state",12),a.bIt("actionClick",function(){a.eBV(Pn);const fi=a.XpG();return a.Njj(fi.createItem())}),a.k0s()}if(2&bi){const Pn=a.XpG();a.FS9("imgSrc",(null==Pn.to?null:Pn.to.emptyStateImage)||"assets/img/empty-states/empty-state-generic.svg"),a.FS9("label",null==Pn.to?null:Pn.to.emptyStateLabel),a.FS9("actionText",null==Pn.to?null:Pn.to.emptyStateActionText)}}const le=bi=>(0,U.get)(bi,"label","-- no itemDisplayFn passed and no label set --");let pe=(()=>{class bi{set templateOptions(Pn){this.to=Pn,this.itemDisplayFn=(0,U.get)(Pn,"itemDisplayFn",le),this.itemIconDisplayFn=(0,U.get)(Pn,"itemIconDisplayFn",null)}constructor(Pn,Ei){this.sideSheetService=Pn,this.cdr=Ei,this.itemDisplayFn=le,this.itemIconDisplayFn=null,this.disabled=!1,this.disableCreate=!1,this.items=[],this.unsubscribe$=new k.B}createItem(){!this.disabled&&!this.disableCreate&&this.launchComponent()}openItem(Pn,Ei){this.disabled||this.launchComponent({selectedItem:Pn,selectedItemIndex:Ei})}launchComponent(Pn){if(this.onTouched(),!(0,U.get)(this,"to.component",null))throw new Error(`ComponentLaunchObjectChooser missing component, template options: ${JSON.stringify(this.to)}`);const Ei=this.sideSheetService.push(this.to.component).componentInstance;Ei.setProps({itemDisplayFn:this.itemDisplayFn,items:this.items,to:this.to,selectedItem:(0,U.get)(Pn,"selectedItem",null),selectedItemIndex:(0,U.get)(Pn,"selectedItemIndex",null)}),Ei.done$.pipe((0,Y.Q)(this.unsubscribe$)).subscribe(fi=>{(0,U.get)(fi,"items",!1)&&(this.updateItems(fi.items),this.onChange(fi.items)),this.cdr.detectChanges(),this.sideSheetService.pop()})}updateItems(Pn){this.items=Array.isArray(Pn)?Pn:[];const Ei=(0,U.get)(this,"to.maxLength",null);this.disableCreate=!!(Ei&&Ei<=this.items.length)}writeValue(Pn){this.updateItems(Pn),this.cdr.detectChanges()}registerOnTouched(Pn){this.onTouched=Pn}registerOnChange(Pn){this.onChange=Pn}setDisabledState(Pn){this.disabled=Pn}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(Ei){return new(Ei||bi)(a.rXU(x.E),a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-component-launch-object-chooser"]],hostVars:2,hostBindings:function(Ei,fi){2&Ei&&a.AVh("eim-forms_form-control-host",fi.itemDisplayFn)},inputs:{id:"id",templateOptions:"templateOptions"},features:[a.Jv_([{provide:g.kq,useExisting:(0,a.Rfq)(()=>bi),multi:!0}])],decls:7,vars:4,consts:[[1,"d-flex","flex-row","justify-content-between"],["class","flex-fill",3,"label","for","required","optional",4,"ngIf"],["data-test","new-item-button","title","Add",1,"btn","btn-secondary","eim-button_minimized","ml-1",3,"click","blur","disabled"],["svgIcon","plus"],[3,"hasChevron","click",4,"ngFor","ngForOf"],[3,"imgSrc","label","actionText","actionClick",4,"ngIf"],[1,"flex-fill",3,"label","for","required","optional"],[3,"click","hasChevron"],[1,"d-flex","flex-row"],["class","mr-1",3,"svgIcon",4,"ngIf"],[1,"eim-font-side-sheet-list-item_font-size"],[1,"mr-1",3,"svgIcon"],[3,"actionClick","imgSrc","label","actionText"]],template:function(Ei,fi){1&Ei&&(a.j41(0,"div",0),a.DNE(1,H,1,4,"app-form-control-label",1),a.j41(2,"button",2),a.bIt("click",function(){return fi.createItem()})("blur",function(){return fi.onTouched()}),a.nrm(3,"mat-icon",3),a.k0s()(),a.j41(4,"app-side-sheet-list"),a.DNE(5,ne,5,3,"app-side-sheet-list-item",4),a.k0s(),a.DNE(6,Q,1,3,"app-empty-state",5)),2&Ei&&(a.R7$(),a.Y8G("ngIf",null==fi.to?null:fi.to.label),a.R7$(),a.Y8G("disabled",fi.disableCreate||fi.disabled),a.R7$(3),a.Y8G("ngForOf",fi.items),a.R7$(),a.Y8G("ngIf",!(null!=fi.items&&fi.items.length)))},dependencies:[O.Sq,O.bT,B.N,j.A,$.o,w.An,D.J,M.d],styles:["mat-icon[_ngcontent-%COMP%]{line-height:0}"],changeDetection:0})}return bi})(),te=(()=>{class bi extends n.PU{static#e=this.\u0275fac=(()=>{let Pn;return function(fi){return(Pn||(Pn=a.xGo(bi)))(fi||bi)}})();static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-formly-field-component-launch-object-chooser"]],features:[a.Vt3],decls:1,vars:3,consts:[[3,"id","templateOptions","formControl"]],template:function(Ei,fi){1&Ei&&a.nrm(0,"app-component-launch-object-chooser",0),2&Ei&&a.Y8G("id",fi.id)("templateOptions",fi.to)("formControl",fi.formControl)},dependencies:[g.BC,g.l_,pe],encapsulation:2})}return bi})(),ae=(()=>{class bi extends n.PU{get displayObject(){const Pn=(0,U.get)(this,"to.displayObject");return(0,U.get)(this,"formControl.value")||Pn}static#e=this.\u0275fac=(()=>{let Pn;return function(fi){return(Pn||(Pn=a.xGo(bi)))(fi||bi)}})();static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-text-content"]],features:[a.Vt3],decls:3,vars:3,template:function(Ei,fi){1&Ei&&(a.j41(0,"pre"),a.EFF(1),a.nI1(2,"json"),a.k0s()),2&Ei&&(a.R7$(),a.JRh(a.bMT(2,1,fi.displayObject)))},dependencies:[O.TG],styles:["pre[_ngcontent-%COMP%]{background-color:#eef1f8;border-radius:2px}"]})}return bi})();var K=s(13598),de=s(76336);let Me=(()=>{class bi extends n.PU{static#e=this.\u0275fac=(()=>{let Pn;return function(fi){return(Pn||(Pn=a.xGo(bi)))(fi||bi)}})();static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-user-profiles-selection"]],features:[a.Vt3],decls:1,vars:1,consts:[[3,"formControl"]],template:function(Ei,fi){1&Ei&&a.nrm(0,"app-user-profiles-selection-field",0),2&Ei&&a.Y8G("formControl",fi.formControl)},dependencies:[g.BC,g.l_,de.x],encapsulation:2})}return bi})();const me=["fieldComponent"];function be(bi,Po){}let Le=(()=>{class bi extends n.cm{static#e=this.\u0275fac=(()=>{let Pn;return function(fi){return(Pn||(Pn=a.xGo(bi)))(fi||bi)}})();static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-field-wrapper-notification-message"]],viewQuery:function(Ei,fi){if(1&Ei&&a.GBs(me,5,a.c1b),2&Ei){let Ks;a.mGM(Ks=a.lsd())&&(fi.fieldComponent=Ks.first)}},features:[a.Vt3],decls:5,vars:0,consts:[["fieldComponent",""],[1,"d-flex","flex-row","align-items-center","mx-6","my-3"],["svgIcon","event",1,"eim-icon_xl","eim-color_icon-yellow",2,"min-width","24px"],[1,"ml-3"]],template:function(Ei,fi){1&Ei&&(a.j41(0,"div",1),a.nrm(1,"mat-icon",2),a.j41(2,"div",3),a.DNE(3,be,0,0,"ng-template",null,0,a.C5r),a.k0s()())},dependencies:[w.An],encapsulation:2})}return bi})();var Ae=s(61594),Oe=s(96354),Xe=s(25558),Pe=s(7673),$e=s(38582),ze=s(76087),Be=s(28276);let Ye=(()=>{class bi extends n.PU{constructor(Pn,Ei){super(),this.formulaService=Pn,this.dateFormatService=Ei}ngOnInit(){const Pn=this.to.formula,Ei=this.model.$tip,fi=this.to.isDateTime;this.formulaResult$=Pn&&Ei?this.formulaService.evaluate(Pn,Ei).pipe((0,Ae.$)(),(0,Oe.T)(U.head),(0,Xe.n)(Ks=>fi?this.dateFormatService.format(Ks,$e._N.DATETIME):(0,Pe.of)(Ks))):(0,Pe.of)("")}static#e=this.\u0275fac=function(Ei){return new(Ei||bi)(a.rXU(ze.C),a.rXU(Be.h))};static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-display-formula"]],features:[a.Vt3],decls:3,vars:3,consts:[[1,"eim-font-color_main"]],template:function(Ei,fi){1&Ei&&(a.j41(0,"p",0),a.EFF(1),a.nI1(2,"async"),a.k0s()),2&Ei&&(a.R7$(),a.JRh(a.bMT(2,1,fi.formulaResult$)))},dependencies:[O.Jj],encapsulation:2})}return bi})();var Ct=s(79293),Lt=s(2455),Vt=s(73427),ht=s(83958);function gt(bi,Po){if(1&bi&&(a.j41(0,"app-alert",6),a.EFF(1),a.k0s()),2&bi){const Pn=a.XpG();a.R7$(),a.JRh(Pn.appAlert)}}let Ge=(()=>{class bi{constructor(Pn){this.fb=Pn,this.form=this.fb.group({jitProvisioning:[!1,[]],jitContactType:[null,[]],jitContactSecurityPolicy:[null,[]]}),this.fields=[],this.appAlert=null,this.model={name:"",loginUrl:"",logoutUrl:"",jitProvisioning:!0,jitContactType:"",jitContactSecurityPolicy:"",publicCertificates:[]}}ngOnInit(){this.setupFields()}setupFields(){this.fields=[{wrappers:["side-sheet-section-wrapper"],fieldGroup:[{key:"jitProvisioning",type:"checkbox",templateOptions:{label:"Enable just-in-time provisioning"}},{key:"jitContactType",type:"object-chooser",templateOptions:{label:"Contact type",placeholder:"Select Contact type",typeTips:["app/object-type"],extraFilters:[{label:"Get all contact types",formula:'HAS_INTERSECT(FIELD("type/implements", FIELD("app/object-type:type", TIP())), ARRAY("app/super-type/contact"))'}]},expressionProperties:{"templateOptions.required":Pn=>Pn.jitProvisioning}},{key:"jitContactSecurityPolicy",type:"security-policy-chooser",templateOptions:{label:"Security policy of new contact records",placeholder:""},expressionProperties:{"templateOptions.required":Pn=>Pn.jitProvisioning}},{template:"<label>When provisioning a user, the system checks to see if there is an existing contact record for the user based on the matching field for the selected contact object type. If a match is found, the existing contact record is linked to the user. If no match is found, the system creates a contact record and links it to the user.</label>"}]}]}onDone(){this.done(this.model)}static#e=this.\u0275fac=function(Ei){return new(Ei||bi)(a.rXU(g.ok))};static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-just-in-time-provisioning-side-sheet"]],decls:10,vars:7,consts:[["action","Done",3,"actioned","disabled"],["type","danger",4,"ngIf"],[3,"showBorder"],[1,"m-0"],[1,"pt-2"],[3,"fields","model","form"],["type","danger"]],template:function(Ei,fi){1&Ei&&(a.j41(0,"app-side-sheet-header",0),a.bIt("actioned",function(){return fi.onDone()}),a.EFF(1,"Just-in-time provisioning"),a.k0s(),a.DNE(2,gt,2,1,"app-alert",1),a.j41(3,"app-side-sheet-section",2)(4,"label"),a.EFF(5,"Provider name"),a.k0s(),a.j41(6,"h6",3),a.EFF(7),a.k0s()(),a.j41(8,"div",4),a.nrm(9,"formly-form",5),a.k0s()),2&Ei&&(a.Y8G("disabled",fi.form.pristine||fi.form.invalid),a.R7$(2),a.Y8G("ngIf",fi.appAlert),a.R7$(),a.Y8G("showBorder",!1),a.R7$(4),a.JRh(fi.model.name),a.R7$(2),a.Y8G("fields",fi.fields)("model",fi.model)("form",fi.form))},dependencies:[O.bT,n.aF,Lt.C,Vt.R,ht.D]})}return bi})();const Se=["*"];let ke=(()=>{class bi{set templateOptions(Pn){this.label=Pn.label,this.model=Pn.model,this.doneFn=Pn.doneFn}constructor(Pn,Ei){this.sideSheetService=Pn,this.cdr=Ei,this.uniqueId=(0,U.uniqueId)("app-just-in-time-provisioning"),this.disabled=!1,this.onTouched=()=>{},this.onChange=fi=>{}}writeValue(Pn){this.model=Pn,this.cdr.detectChanges()}registerOnChange(Pn){this.onChange=Pn}registerOnTouched(Pn){this.onTouched=Pn}setDisabledState(Pn){this.disabled=Pn}openProvisioningSideSheet(){const Ei=this.sideSheetService.push(Ge).componentInstance;Ei.model=(0,U.cloneDeep)(this.model),Ei.done=fi=>{this.model=fi,this.cdr.detectChanges(),this.sideSheetService.pop(),this.doneFn(fi)}}static#e=this.\u0275fac=function(Ei){return new(Ei||bi)(a.rXU(x.E),a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-just-in-time-provisioning"]],inputs:{templateOptions:"templateOptions"},features:[a.Jv_([{provide:g.kq,useExisting:(0,a.Rfq)(()=>bi),multi:!0}])],ngContentSelectors:Se,decls:9,vars:5,consts:[[1,"form-group","drilldown-form-control"],[1,"control-label",3,"for"],["type","button",1,"btn","btn-space","btn-secondary","px-3","pt-1","d-flex","flex-row","justify-content-between","align-items-center",3,"blur","click","id","disabled"],[1,"h1","m-0"],[1,"icon-dropdown","mdi","mdi-chevron-right"]],template:function(Ei,fi){1&Ei&&(a.NAR(),a.j41(0,"div",0)(1,"label",1),a.EFF(2),a.k0s(),a.j41(3,"button",2),a.bIt("blur",function(){return fi.onTouched()})("click",function(){return fi.openProvisioningSideSheet()}),a.j41(4,"span"),a.EFF(5),a.k0s(),a.j41(6,"div",3),a.nrm(7,"span",4),a.k0s()(),a.SdG(8),a.k0s()),2&Ei&&(a.R7$(),a.Y8G("for",fi.uniqueId),a.R7$(),a.JRh(fi.label||"Just-in-time provisioning"),a.R7$(),a.Y8G("id",fi.uniqueId)("disabled",fi.disabled),a.R7$(2),a.JRh(fi.model.jitProvisioning?"Enabled":"Disabled"))},dependencies:[M.d],changeDetection:0})}return bi})(),Ne=(()=>{class bi extends n.PU{static#e=this.\u0275fac=(()=>{let Pn;return function(fi){return(Pn||(Pn=a.xGo(bi)))(fi||bi)}})();static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-formly-field-jit-provisioning"]],features:[a.Vt3],decls:1,vars:1,consts:[[3,"templateOptions"]],template:function(Ei,fi){1&Ei&&a.nrm(0,"app-just-in-time-provisioning",0),2&Ei&&a.Y8G("templateOptions",fi.to)},dependencies:[ke],encapsulation:2})}return bi})();var Je=s(69172),Qe=s(59016),rt=s(99437),ft=s(36939),Xt=s(53536);const It=[{key:"name",type:"input",templateOptions:{type:"text",label:"Label",placeholder:"Enter label here",required:!0}},{type:"app-formly-print-template-download-template",expressionProperties:{"templateOptions.fileContent":"formState.fileContent","templateOptions.templateName":"formState.fileName","templateOptions.mimeType":"formState.fileMimeType"},hideExpression:"!formState.printTemplateTip"},{type:"text-content",templateOptions:{html:'<div class="side-sheet-section-divider mb-2"></div>\n                  <h4>Upload printable file format</h4>'}},{key:"fileTip",type:"file-upload",className:"eim-noggin-form-row",templateOptions:{svgOptions:{concurrency:1,allowedContentTypes:[Xt.TL.HTML,Xt.TL.DOCX,""]}},expressionProperties:{"templateOptions.required":"!formState.printTemplateTip"}}];var In=s(68030),Kt=s(25775),Ze=s(19937),wn=s(51525),zn=s(29968),di=s(3964),jn=s(44225);function Di(bi,Po){if(1&bi){const Pn=a.RV6();a.j41(0,"app-side-sheet-section")(1,"div",5)(2,"button",6),a.bIt("click",function(){a.eBV(Pn);const fi=a.XpG();return a.Njj(fi.onRequestDelete())}),a.EFF(3,"Delete"),a.k0s()()()}}let ms=(()=>{class bi{constructor(Pn,Ei,fi,Ks,fa,za,l1){this.printingManagerService=Pn,this.toastService=Ei,this.sideSheetService=fi,this.cdr=Ks,this.mediaService=fa,this.modalService=za,this.printV2Service=l1,this.printTemplateForm=new g.gE({name:new g.MJ(null),fileTip:new g.MJ(null)}),this.model={name:"",fileTip:""},this.options={formState:{fileName:"PrintTemplateTemplate.html",fileContent:"",printTemplateTip:"",fileMimeType:Xt.TL.HTML}},this.fields=(0,U.cloneDeep)(It),this.loadingStates=Je.Gu,this.loadingState=Je.Gu.inProgress,this.errorPopupTimeout=2e4,this.done=()=>{}}ngOnInit(){this.loadingState=Je.Gu.inProgress,this.options.formState.printTemplateTip=this.printTemplateTip,this.loadPrintTemplate()}loadPrintTemplate(){this.printTemplateTip?this.printingManagerService.getPrintTemplate(this.printTemplateTip).pipe((0,Ae.$)(),(0,Xe.n)(Pn=>(this.model=(0,U.cloneDeep)(Pn),this.model.fileTip="",this.fileTip=Pn.fileTip,this.mediaService.fileInfoWithS3FallbackForData(Pn.fileTip).pipe((0,Ae.$)())))).subscribe({next:Pn=>{Pn.name&&(this.options.formState.fileName=Pn.name),this.options.formState.fileMimeType=Pn.mimeType,this.options.formState.fileContent=Pn.data?atob(Pn.data):this.model.template,this.loadingState=Je.Gu.loaded,this.cdr.markForCheck()},error:Pn=>this.loadingFailed(Pn,"load")}):this.loadingState=Je.Gu.loaded}validateTemplate(Pn){Pn.mimeType||"docx"===Pn.name.split(".").pop()&&(Pn.mimeType=Xt.TL.DOCX);let Ei="";if(Pn&&Pn.data)return Pn.mimeType===Xt.TL.DOCX?(this.model.fileType=Qe.ls.DOCX,this.printV2Service.validate(Pn.data).pipe((0,Oe.T)(()=>Pn.data),(0,rt.W)(fi=>(this.docxTemplateValidationErrors=fi.error,[null])))):(Ei=atob(Pn.data),(0,Pe.of)(Ei))}onDone(){this.loadingState=Je.Gu.inProgress,this.model.fileTip||(this.model.fileTip=this.fileTip);const Pn={timeOut:this.errorPopupTimeout,clickToClose:!0};this.mediaService.fileInfoWithS3FallbackForData(this.model.fileTip).pipe((0,Ae.$)(),(0,Xe.n)(Ei=>this.validateTemplate(Ei)),(0,Xe.n)(Ei=>{if(Ei){const fi={...this.model,template:Ei};return this.printTemplateTip?this.printingManagerService.updatePrintTemplate(fi,this.moduleTip).pipe((0,Ae.$)()):this.printingManagerService.createPrintTemplate(fi,this.moduleTip).pipe((0,Ae.$)())}this.toastService.showErrorToast(this.docxTemplateValidationErrors.join("; "),Pn)})).subscribe({next:()=>{this.loadingState=Je.Gu.loaded,this.sideSheetService.pop(),this.toastService.showSuccessToast("Printable file format saved."),this.done()},error:Ei=>this.loadingFailed(Ei,"update",Pn)})}onRequestDelete(){const Pn=this.modalService.open(In.F,In.G);Pn.componentInstance.objectType="printable file format",Pn.result.then(Ei=>Ei?this.delete():null).catch(()=>{})}delete(){this.loadingState=Je.Gu.inProgress,this.printingManagerService.deletePrintTemplate(this.printTemplateTip,this.moduleTip).pipe((0,Ae.$)()).subscribe({next:()=>{this.loadingState=Je.Gu.loaded,this.toastService.showSuccessToast("Deleted printable file format successfully."),this.sideSheetService.pop()},error:Pn=>this.loadingFailed(Pn,"delete")})}loadingFailed(Pn,Ei,fi){this.loadingState=Je.Gu.failed,Pn instanceof ft.g?this.toastService.showErrorToast(Pn.message):this.toastService.showErrorToast(`Failed to ${Ei} printable file format`,fi)}static#e=this.\u0275fac=function(Ei){return new(Ei||bi)(a.rXU(Kt.c),a.rXU(Ze.f),a.rXU(x.E),a.rXU(a.gRc),a.rXU(wn.u),a.rXU(zn.Bq),a.rXU(di.B))};static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-print-template-edit-side-sheet"]],decls:6,vars:11,consts:[["action","Save",3,"actioned","showCancelButton","disabled"],[3,"appSpinner"],[3,"showHeader","showBorder"],[3,"form","fields","model","options"],[4,"ngIf"],[1,"form-options","d-flex","justify-content-center"],["data-test","edit-delete-button",1,"btn","btn-danger",3,"click"]],template:function(Ei,fi){1&Ei&&(a.j41(0,"app-side-sheet-header",0),a.bIt("actioned",function(){return fi.onDone()}),a.EFF(1),a.k0s(),a.j41(2,"div",1)(3,"app-side-sheet-section",2),a.nrm(4,"formly-form",3),a.k0s(),a.DNE(5,Di,4,0,"app-side-sheet-section",4),a.k0s()),2&Ei&&(a.Y8G("showCancelButton",!0)("disabled",fi.loadingState===fi.loadingStates.inProgress||fi.printTemplateForm.invalid||fi.printTemplateForm.pristine),a.R7$(),a.SpI(" ",(fi.printTemplateTip?"Edit":"Create")+" printable file format","\n"),a.R7$(),a.Y8G("appSpinner",fi.loadingState===fi.loadingStates.inProgress),a.R7$(),a.Y8G("showHeader",!1)("showBorder",!1),a.R7$(),a.Y8G("form",fi.printTemplateForm)("fields",fi.fields)("model",fi.model)("options",fi.options),a.R7$(),a.Y8G("ngIf",fi.printTemplateTip))},dependencies:[O.bT,jn.b,M.d,Vt.R,ht.D,n.aF],changeDetection:0})}return bi})();var Rn=s(2578),Qt=s(17509),Wt=s(42017);const Yt=()=>["name"];function Mn(bi,Po){if(1&bi){const Pn=a.RV6();a.j41(0,"app-side-sheet-list-item",11),a.bIt("click",function(){const fi=a.eBV(Pn).$implicit,Ks=a.XpG();return a.Njj(Ks.onTemplateClicked(fi.$tip))}),a.EFF(1),a.k0s()}if(2&bi){const Pn=Po.$implicit;a.Y8G("hasChevron",!0)("key",Pn.$tip),a.R7$(),a.SpI(" ",Pn.name," ")}}function ci(bi,Po){if(1&bi){const Pn=a.RV6();a.j41(0,"app-empty-state",12),a.bIt("actionClick",function(){a.eBV(Pn);const fi=a.XpG();return a.Njj(fi.addNewPrintTemplate())}),a.k0s()}}function Ue(bi,Po){1&bi&&a.nrm(0,"div",13),2&bi&&a.Y8G("appSpinner",!0)}let Un=(()=>{class bi{constructor(Pn,Ei,fi,Ks){this.printingManagerService=Pn,this.sideSheetService=Ei,this.toastService=fi,this.printV2Service=Ks,this.defaultTemplateName="default-template",this.printTemplates=[],this.filterText="",this.showAddButton=!1,this.loadingStates=Je.Gu}ngOnInit(){this.sub=this.getPrintTemplateList()}ngOnDestroy(){this.sub.unsubscribe()}onTemplateClicked(Pn){const fi=this.sideSheetService.push(ms).componentInstance;fi.printTemplateTip=Pn,fi.moduleTip=this.moduleTip}addNewPrintTemplate(){this.sideSheetService.push(ms).componentInstance.moduleTip=this.moduleTip}onDownloadBuiltInPrintTemplate(){return this.printV2Service.downloadDefault().subscribe(Pn=>(0,Rn.saveAs)(Pn,this.defaultTemplateName+".docx"))}getPrintTemplateList(){return this.loadingState=Je.Gu.inProgress,this.printingManagerService.getAllPrintTemplateMetas(this.moduleTip).subscribe({next:Pn=>{this.printTemplates=(0,U.orderBy)(Pn,[Ei=>(0,U.get)(Ei,"name","").toUpperCase()],["asc"]),this.loadingState=Je.Gu.loaded},error:()=>{this.toastService.showErrorToast("Failed to load printable file formats"),this.loadingState=Je.Gu.failed}})}static#e=this.\u0275fac=function(Ei){return new(Ei||bi)(a.rXU(Kt.c),a.rXU(x.E),a.rXU(Ze.f),a.rXU(di.B))};static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-print-template-list-side-sheet"]],decls:17,vars:11,consts:[["loading",""],[1,"p-3"],[3,"add","filterTextChange","showAddButton","filterText"],[1,"side-sheet-section-divider"],[1,"pl-2","pr-2"],[1,"template-list","pl-2","pr-2"],[3,"loadingState"],[3,"hasChevron","key","click",4,"ngFor","ngForOf"],["label","No printable file formats here","actionText","Add printable file format",3,"actionClick",4,"ngIf"],[1,"w-100","text-center","pb-4","pt-5"],["type","button","data-test","download-built-in-export-button",1,"btn","btn-space","btn-secondary",3,"click"],[3,"click","hasChevron","key"],["label","No printable file formats here","actionText","Add printable file format",3,"actionClick"],[3,"appSpinner"]],template:function(Ei,fi){if(1&Ei){const Ks=a.RV6();a.j41(0,"app-side-sheet-header"),a.EFF(1),a.k0s(),a.j41(2,"div",1)(3,"app-filter-and-add",2),a.bIt("add",function(){return a.eBV(Ks),a.Njj(fi.addNewPrintTemplate())}),a.mxI("filterTextChange",function(za){return a.eBV(Ks),a.DH7(fi.filterText,za)||(fi.filterText=za),a.Njj(za)}),a.k0s()(),a.nrm(4,"div",3),a.j41(5,"h4",4),a.EFF(6,"Printable file formats"),a.k0s(),a.j41(7,"div",5)(8,"app-side-sheet-list",6),a.DNE(9,Mn,2,3,"app-side-sheet-list-item",7),a.nI1(10,"filter"),a.DNE(11,ci,1,0,"app-empty-state",8),a.k0s()(),a.j41(12,"div",9)(13,"button",10),a.bIt("click",function(){return a.eBV(Ks),a.Njj(fi.onDownloadBuiltInPrintTemplate())}),a.EFF(14," Download built-in printable file format "),a.k0s()(),a.DNE(15,Ue,1,1,"ng-template",null,0,a.C5r)}2&Ei&&(a.R7$(),a.JRh(fi.title),a.R7$(2),a.Y8G("showAddButton",fi.showAddButton),a.R50("filterText",fi.filterText),a.R7$(5),a.Y8G("loadingState",fi.loadingState),a.R7$(),a.Y8G("ngForOf",a.brH(10,6,fi.printTemplates,fi.filterText,a.lJ4(10,Yt))),a.R7$(2),a.Y8G("ngIf",fi.loadingState===fi.loadingStates.loaded&&!(null!=fi.printTemplates&&fi.printTemplates.length)))},dependencies:[O.Sq,O.bT,jn.b,M.d,B.N,j.A,Vt.R,$.o,Qt.E,Wt.L]})}return bi})();var _n=s(37919);const Xn=["*"];function Ii(bi,Po){if(1&bi&&a.nrm(0,"app-form-control-label",5),2&bi){const Pn=a.XpG();a.Y8G("label",Pn.label)("required",Pn.required)("optional",Pn.optional)}}function En(bi,Po){if(1&bi&&(a.j41(0,"span",6),a.EFF(1),a.k0s()),2&bi){const Pn=a.XpG();a.R7$(),a.JRh(Pn.displayValue)}}function ln(bi,Po){if(1&bi&&(a.j41(0,"span",8),a.EFF(1),a.k0s()),2&bi){const Pn=a.XpG(2);a.R7$(),a.JRh(Pn.placeholder)}}function Dn(bi,Po){if(1&bi&&a.DNE(0,ln,2,1,"span",7),2&bi){const Pn=a.XpG();a.Y8G("ngIf",Pn.placeholder)}}let Ai=(()=>{class bi{constructor(Pn,Ei,fi){this.sideSheetService=Pn,this.cdr=Ei,this.printingManagerService=fi,this.required=!1,this.optional=!1,this.readonly=!1,this.placeholder="",this._eimFormsFormControlHostClass=!0,this.disabled=!1,this.displayValue="",this.onChange=Ks=>{},this.onTouched=()=>{}}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}registerOnChange(Pn){this.onChange=Pn}registerOnTouched(Pn){this.onTouched=Pn}writeValue(Pn){this.selected=Pn?Pn[0]:void 0,this.updateDisplayValue()}updateDisplayValue(){this.sub=this.printingManagerService.getAllPrintTemplateMetas(this.moduleTip).subscribe(Pn=>{this.displayValue=Pn.length?`${Pn.length} printable file format(s) configured`:"",this.cdr.markForCheck()})}setDisabledState(Pn){this.disabled=Pn,this.cdr.detectChanges()}openPrintTemplateListSideSheet(){const Ei=this.sideSheetService.push(Un).componentInstance;Ei.title="Printable file formats",Ei.showAddButton=!0,Ei.moduleTip=this.moduleTip}static#e=this.\u0275fac=function(Ei){return new(Ei||bi)(a.rXU(x.E),a.rXU(a.gRc),a.rXU(Kt.c))};static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-print-template-chooser-field"]],hostVars:2,hostBindings:function(Ei,fi){2&Ei&&a.AVh("eim-forms_form-control-host",fi._eimFormsFormControlHostClass)},inputs:{label:"label",required:"required",optional:"optional",readonly:"readonly",placeholder:"placeholder",moduleTip:"moduleTip"},features:[a.Jv_([{provide:g.kq,useExisting:(0,a.Rfq)(()=>bi),multi:!0}])],ngContentSelectors:Xn,decls:7,vars:4,consts:[["showPlaceholder",""],[3,"label","required","optional",4,"ngIf"],[1,"eim-forms_form-control-text-field-and-button-container"],["type","button","rightArrowSingleLine","",3,"blur","click","disabled"],["data-test","display-value","class","eim-forms_form-control-chooser-value",4,"ngIf","ngIfElse"],[3,"label","required","optional"],["data-test","display-value",1,"eim-forms_form-control-chooser-value"],["class","eim-forms_form-control-chooser-placeholder",4,"ngIf"],[1,"eim-forms_form-control-chooser-placeholder"]],template:function(Ei,fi){if(1&Ei){const Ks=a.RV6();a.NAR(),a.DNE(0,Ii,1,3,"app-form-control-label",1),a.j41(1,"div",2)(2,"button",3),a.bIt("blur",function(){return a.eBV(Ks),a.Njj(fi.onTouched())})("click",function(){return a.eBV(Ks),a.Njj(fi.openPrintTemplateListSideSheet())}),a.DNE(3,En,2,1,"span",4)(4,Dn,1,1,"ng-template",null,0,a.C5r),a.k0s()(),a.SdG(6)}if(2&Ei){const Ks=a.sdS(5);a.Y8G("ngIf",fi.label),a.R7$(2),a.Y8G("disabled",fi.disabled||fi.readonly),a.R7$(),a.Y8G("ngIf",fi.displayValue)("ngIfElse",Ks)}},dependencies:[O.bT,D.J,_n.Z,M.d],changeDetection:0})}return bi})(),os=(()=>{class bi extends n.PU{static#e=this.\u0275fac=(()=>{let Pn;return function(fi){return(Pn||(Pn=a.xGo(bi)))(fi||bi)}})();static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-print-template-chooser"]],features:[a.Vt3],decls:1,vars:6,consts:[[3,"formControl","label","placeholder","required","readonly","moduleTip"]],template:function(Ei,fi){1&Ei&&a.nrm(0,"app-print-template-chooser-field",0),2&Ei&&a.Y8G("formControl",fi.formControl)("label",fi.to.label)("placeholder",fi.to.placeholder)("required",fi.to.required)("readonly",fi.to.readonly)("moduleTip",fi.to.moduleTip)},dependencies:[g.BC,g.YS,g.l_,Ai],encapsulation:2})}return bi})();var Fs=s(29058);const sn=[{key:"name",type:"input",templateOptions:{type:"text",label:"Label",placeholder:"Enter label here",required:!0}},{key:"objectType",type:Fs.lF.name,templateOptions:{label:"Object Type",required:!0,typeTips:["app/object-type"],placeholder:"Select an object type"}},{key:"form",type:Fs.og.name,defaultValue:null,templateOptions:{label:"Form to use"},expressionProperties:{"templateOptions.options":"formState.listForms","templateOptions.readonly":"!model.objectType"}},{key:"exportFormat",type:Fs.og.name,defaultValue:null,templateOptions:{label:"Printable file format",required:!0,placeholder:"Select printable file format"},expressionProperties:{"templateOptions.options":"formState.listExportFormats"}},{fieldGroupClassName:"allChangePrintFileTypeBlock",fieldGroup:[{key:"allowChangePrintFileType",type:Fs.Ho.name,templateOptions:{label:"Allow user to select print file type"}},{key:"printFileType",type:Fs.og.name,defaultValue:Xt.gN[0].value,templateOptions:{label:"Print file type",options:Xt.gN}}]}];var oi=s(18359),pt=s(55379),cn=s(81537),Tn=s(71631);function vi(bi,Po){if(1&bi){const Pn=a.RV6();a.j41(0,"div",7)(1,"button",8),a.bIt("click",function(){a.eBV(Pn);const fi=a.XpG();return a.Njj(fi.openObjectChooserSideSheet())}),a.EFF(2,"Test"),a.k0s()()}}function ui(bi,Po){if(1&bi){const Pn=a.RV6();a.j41(0,"app-side-sheet-section")(1,"div",9)(2,"button",10),a.bIt("click",function(){a.eBV(Pn);const fi=a.XpG();return a.Njj(fi.onRequestDelete())}),a.EFF(3,"Delete"),a.k0s()()()}}function $i(bi,Po){if(1&bi&&(a.j41(0,"app-alert",11),a.EFF(1),a.k0s()),2&bi){const Pn=a.XpG();a.R7$(),a.JRh(Pn.renderError)}}let Nn=(()=>{class bi{constructor(Pn,Ei,fi,Ks,fa,za,l1,Yn){this.cdr=Pn,this.fb=Ei,this.objectTypeService=fi,this.printingManagerService=Ks,this.sideSheetService=fa,this.toastService=za,this.modalService=l1,this.eleByClassName=Yn,this.printTemplateUsageForm=this.fb.group({}),this.model=Object.create({}),this.options={formState:{listForms:[{label:"Autogenerate Form",value:null}],objectTypeTip:"",listExportFormats:[]}},this.fields=(0,U.cloneDeep)(sn),this.loadingStates=Je.Gu,this.loadingState=Je.Gu.inProgress,this.renderError="",this.subscriptions=new oi.yU,this.availableExportFormat=[],this.done=()=>{}}ngOnInit(){this.loadingState=Je.Gu.inProgress,this.loadPrintTemplateUsage()}ngAfterViewInit(){this.allChangePrintFileTypeContainer=this.eleByClassName.nativeElement.querySelector(".allChangePrintFileTypeBlock"),this.allChangePrintFileTypeContainer&&this.allChangePrintFileTypeContainer.classList.add("invisible");const Pn=this.printTemplateUsageForm.get("objectType");Pn&&this.subscriptions.add(Pn.valueChanges.pipe((0,Xe.n)(fi=>(this.loadingState=Je.Gu.inProgress,this.objectTypeService.getObjectForms(fi)))).subscribe(fi=>{this.printTemplateUsageForm.value.objectType!==this.options.formState.objectTypeTip&&(this.options.formState.objectTypeTip=this.printTemplateUsageForm.value.objectType,this.resetFieldsWhenObjectTypeChange()),this.options.formState.listForms=this.options.formState.listForms.concat(fi.map(Ks=>({label:Ks.name,value:Ks.$tip}))),this.loadingState=Je.Gu.loaded,this.cdr.markForCheck()}));const Ei=this.printTemplateUsageForm.get("exportFormat");Ei&&this.subscriptions.add(Ei.valueChanges.subscribe(fi=>{if(this.allChangePrintFileTypeContainer){const Ks=(0,U.find)(this.availableExportFormat,{tip:fi});Ks&&Ks.isDOCX?this.allChangePrintFileTypeContainer.classList.remove("invisible"):this.allChangePrintFileTypeContainer.classList.add("invisible")}this.cdr.markForCheck()}))}loadPrintTemplateUsage(){this.printingManagerService.getAllPrintTemplateMetas(this.moduleTip).pipe((0,Ae.$)()).subscribe(Pn=>{this.availableExportFormat=Pn.map(Ei=>({tip:Ei.$tip,isDOCX:"docx"===Ei["file type"]})),this.options.formState.listExportFormats=(0,U.orderBy)(Pn.map(Ei=>({label:Ei.name,value:Ei.$tip})),[Ei=>(0,U.get)(Ei,"label","").toUpperCase()],["asc"]),this.printTemplateUsageTip&&this.printingManagerService.getPrintTemplateUsage(this.printTemplateUsageTip).pipe((0,Ae.$)()).subscribe(Ei=>{this.options.formState.objectTypeTip=Ei.objectType,this.model=Ei,this.loadingState=Je.Gu.loaded,this.cdr.markForCheck()},()=>{this.loadingState=Je.Gu.failed,this.toastService.showErrorToast("Failed to load print template usage")}),this.loadingState=Je.Gu.loaded,this.cdr.markForCheck()})}onDone(){this.loadingState=Je.Gu.inProgress,this.printingManagerService.checkDuplicatePrintTemplateUsage(this.printTemplateUsageTip,this.model).pipe((0,Ae.$)()).subscribe(Pn=>{Pn?(this.renderError="This combination of object, form, and printable file format is used in another template. Please select a different combination.",this.loadingState=Je.Gu.loaded,this.cdr.markForCheck()):this.saveprintTemplateUsage(this.model).pipe((0,Ae.$)()).subscribe(()=>{this.loadingState=Je.Gu.loaded,this.sideSheetService.pop(),this.toastService.showSuccessToast("Saved print template usage successfully."),this.done()},()=>{this.loadingState=Je.Gu.failed,this.toastService.showErrorToast("Failed to save print usage template.")})})}onRequestDelete(){const Pn=this.modalService.open(In.F,In.G);Pn.componentInstance.objectType="print template",Pn.result.then(Ei=>Ei?this.delete():null).catch(()=>{})}delete(){this.loadingState=Je.Gu.inProgress,this.printingManagerService.deletePrintTemplateUsage(this.printTemplateUsageTip,this.moduleTip).pipe((0,Ae.$)()).subscribe(()=>{this.loadingState=Je.Gu.loaded,this.toastService.showSuccessToast("Deleted print template usage successfully."),this.sideSheetService.pop()},()=>{this.loadingState=Je.Gu.failed,this.toastService.showErrorToast("Failed to delete print template usage.")})}ngOnDestroy(){this.subscriptions.unsubscribe()}saveprintTemplateUsage(Pn){return this.printTemplateUsageTip?this.printingManagerService.updatePrintTemplateUsage(Pn,this.moduleTip):this.printingManagerService.createPrintTemplateUsage(Pn,this.moduleTip)}resetFieldsWhenObjectTypeChange(){this.options.formState.listForms=[{label:"Autogenerate Form",value:null}],this.printTemplateUsageForm.patchValue({form:null})}getFormBuilder(){return this.fb}get showTestButton(){let Pn=!1;const Ei=this.printTemplateUsageForm.get("objectType"),fi=this.printTemplateUsageForm.get("exportFormat");if(fi&&fi.value){const Ks=(0,U.find)(this.availableExportFormat,{tip:fi.value},null);Ks&&Ks.isDOCX&&Ei.value&&(Pn=!0)}return Pn}openObjectChooserSideSheet(){const Pn=this.printTemplateUsageForm.get("objectType"),Ei=this.printTemplateUsageForm.value.form;this.objectTypeService.getObjectType(Pn.value).pipe((0,Ae.$)()).subscribe(fi=>{const Ks=this.printTemplateUsageForm.get("exportFormat"),fa=this.printTemplateUsageForm.get("printFileType"),{componentInstance:za}=this.sideSheetService.push(pt.a);za.title="Select an object to test the template",za.listType=j.X.SINGLE_SELECT,za.typeTips=[fi.type.$tip],za.selected=[],za.canCreateNew=!1,za.goBack=()=>this.clearObjectChooserSideSheets(),za.done=l1=>{const Yn=l1.selected&&l1.selected.length&&l1.selected[0],so=fa.value===Xt.cH.DOCX?Xt.cH.DOCX:Xt.cH.PDF;if(Yn){const Hr={contextTip:Yn,formTip:Ei??void 0,outputFileType:so,settingTip:Xt.f$,templateTip:Ks.value},vr=this.sideSheetService.push(cn.Q).componentInstance;return vr.setProps(Hr,!1),vr.isDocxFileType=!0,vr.loading$.next(!1),void vr.generateAndDownload(so)}}})}clearObjectChooserSideSheets(){this.sideSheetService.pop()}static#e=this.\u0275fac=function(Ei){return new(Ei||bi)(a.rXU(a.gRc),a.rXU(g.ok),a.rXU(Tn.h),a.rXU(Kt.c),a.rXU(x.E),a.rXU(Ze.f),a.rXU(zn.Bq),a.rXU(a.aKT))};static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-print-template-usage-edit-side-sheet"]],decls:8,vars:13,consts:[["action","Save",3,"actioned","showCancelButton","disabled"],["class","text-right px-3 test-connection",4,"ngIf"],[3,"appSpinner"],[3,"showHeader","showBorder"],[3,"form","fields","model","options"],[4,"ngIf"],["type","danger",4,"ngIf"],[1,"text-right","px-3","test-connection"],[1,"btn","btn-secondary","btn-social","m-1",3,"click"],[1,"form-options","d-flex","justify-content-center"],[1,"btn","btn-danger",3,"click"],["type","danger"]],template:function(Ei,fi){1&Ei&&(a.j41(0,"app-side-sheet-header",0),a.bIt("actioned",function(){return fi.onDone()}),a.EFF(1),a.k0s(),a.DNE(2,vi,3,0,"div",1),a.j41(3,"div",2)(4,"app-side-sheet-section",3),a.nrm(5,"formly-form",4),a.k0s(),a.DNE(6,ui,4,0,"app-side-sheet-section",5),a.k0s(),a.DNE(7,$i,2,1,"app-alert",6)),2&Ei&&(a.Y8G("showCancelButton",!0)("disabled",fi.loadingState===fi.loadingStates.inProgress||fi.printTemplateUsageForm.invalid||fi.printTemplateUsageForm.pristine),a.R7$(),a.SpI(" ",fi.printTemplateUsageTip?"Edit print template":"New print template","\n"),a.R7$(),a.Y8G("ngIf",fi.showTestButton),a.R7$(),a.Y8G("appSpinner",fi.loadingState===fi.loadingStates.inProgress),a.R7$(),a.Y8G("showHeader",!1)("showBorder",!1),a.R7$(),a.Y8G("form",fi.printTemplateUsageForm)("fields",fi.fields)("model",fi.model)("options",fi.options),a.R7$(),a.Y8G("ngIf",fi.printTemplateUsageTip),a.R7$(),a.Y8G("ngIf",fi.renderError))},dependencies:[O.bT,Lt.C,jn.b,M.d,Vt.R,ht.D,n.aF],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}"],changeDetection:0})}return bi})();const Hn=()=>["name"];function Qn(bi,Po){if(1&bi){const Pn=a.RV6();a.j41(0,"app-side-sheet-list-item",9),a.bIt("click",function(){const fi=a.eBV(Pn).$implicit,Ks=a.XpG();return a.Njj(Ks.onTemplateClicked(fi.$tip))}),a.j41(1,"div")(2,"div",10),a.EFF(3),a.k0s(),a.j41(4,"div",11),a.EFF(5),a.k0s()()()}if(2&bi){const Pn=Po.$implicit;a.Y8G("hasChevron",!0)("key",Pn.$tip),a.R7$(3),a.JRh(Pn.name),a.R7$(2),a.Lme("Object: ",Pn.objectTypeName,", Form: ",Pn.formName?Pn.formName:"Autogenerate Form","")}}function ri(bi,Po){if(1&bi){const Pn=a.RV6();a.j41(0,"app-empty-state",12),a.bIt("actionClick",function(){a.eBV(Pn);const fi=a.XpG();return a.Njj(fi.addNewPrintTemplateUsage())}),a.k0s()}}function li(bi,Po){1&bi&&a.nrm(0,"div",6),2&bi&&a.Y8G("appSpinner",!0)}let Fi=(()=>{class bi{constructor(Pn,Ei,fi){this.printingManagerService=Pn,this.toastService=Ei,this.sideSheetService=fi,this.printTemplateUsages=[],this.filterText="",this.showAddButton=!1,this.loadingStates=Je.Gu}ngOnInit(){this.sub=this.getPrintTemplateUsageList()}ngOnDestroy(){this.sub.unsubscribe()}getPrintTemplateUsageList(){return this.loadingState=Je.Gu.inProgress,this.printingManagerService.getAllPrintTemplateUsageMetas(this.moduleTip).subscribe({next:Pn=>{this.printTemplateUsages=(0,U.orderBy)(Pn,[Ei=>(0,U.get)(Ei,"name","").toUpperCase()],["asc"]),this.loadingState=Je.Gu.loaded},error:()=>{this.toastService.showErrorToast("Failed to load print templates"),this.loadingState=Je.Gu.failed}})}onTemplateClicked(Pn){const fi=this.sideSheetService.push(Nn).componentInstance;fi.printTemplateUsageTip=Pn,fi.moduleTip=this.moduleTip}addNewPrintTemplateUsage(){this.sideSheetService.push(Nn).componentInstance.moduleTip=this.moduleTip}static#e=this.\u0275fac=function(Ei){return new(Ei||bi)(a.rXU(Kt.c),a.rXU(Ze.f),a.rXU(x.E))};static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-print-template-usage-list-side-sheet"]],decls:14,vars:11,consts:[["loading",""],[1,"p-3"],[3,"add","filterTextChange","showAddButton","filterText"],[1,"side-sheet-section-divider"],[1,"pl-2","pr-2"],[1,"template-list","pl-2","pr-2"],[3,"appSpinner"],[3,"hasChevron","key","click",4,"ngFor","ngForOf"],["label","No print templates here","actionText","Add print template",3,"actionClick",4,"ngIf"],[3,"click","hasChevron","key"],[1,"option-title"],[1,"eim-font-size_small"],["label","No print templates here","actionText","Add print template",3,"actionClick"]],template:function(Ei,fi){if(1&Ei){const Ks=a.RV6();a.j41(0,"app-side-sheet-header"),a.EFF(1),a.k0s(),a.j41(2,"div",1)(3,"app-filter-and-add",2),a.bIt("add",function(){return a.eBV(Ks),a.Njj(fi.addNewPrintTemplateUsage())}),a.mxI("filterTextChange",function(za){return a.eBV(Ks),a.DH7(fi.filterText,za)||(fi.filterText=za),a.Njj(za)}),a.k0s()(),a.nrm(4,"div",3),a.j41(5,"h4",4),a.EFF(6,"Print templates"),a.k0s(),a.j41(7,"div",5)(8,"div",6),a.DNE(9,Qn,6,5,"app-side-sheet-list-item",7),a.nI1(10,"filter"),a.DNE(11,ri,1,0,"app-empty-state",8),a.k0s()(),a.DNE(12,li,1,1,"ng-template",null,0,a.C5r)}2&Ei&&(a.R7$(),a.JRh(fi.title),a.R7$(2),a.Y8G("showAddButton",fi.showAddButton),a.R50("filterText",fi.filterText),a.R7$(5),a.Y8G("appSpinner","in-progress"===fi.loadingState),a.R7$(),a.Y8G("ngForOf",a.brH(10,6,fi.printTemplateUsages,fi.filterText,a.lJ4(10,Hn))),a.R7$(2),a.Y8G("ngIf",fi.loadingState===fi.loadingStates.loaded&&!(null!=fi.printTemplateUsages&&fi.printTemplateUsages.length)))},dependencies:[O.Sq,O.bT,jn.b,B.N,Vt.R,$.o,Qt.E,Wt.L]})}return bi})();const ei=["*"];function Hi(bi,Po){if(1&bi&&a.nrm(0,"app-form-control-label",5),2&bi){const Pn=a.XpG();a.Y8G("label",Pn.label)("required",Pn.required)("optional",Pn.optional)}}function gn(bi,Po){if(1&bi&&(a.j41(0,"span",6),a.EFF(1),a.k0s()),2&bi){const Pn=a.XpG();a.R7$(),a.JRh(Pn.displayValue)}}function yn(bi,Po){if(1&bi&&(a.j41(0,"span",8),a.EFF(1),a.k0s()),2&bi){const Pn=a.XpG(2);a.R7$(),a.JRh(Pn.placeholder)}}function hn(bi,Po){if(1&bi&&a.DNE(0,yn,2,1,"span",7),2&bi){const Pn=a.XpG();a.Y8G("ngIf",Pn.placeholder&&!Pn.displayValue)}}let Bn=(()=>{class bi{constructor(Pn,Ei,fi){this.sideSheetService=Pn,this.cdr=Ei,this.printingManagerService=fi,this.required=!1,this.optional=!1,this.readonly=!1,this.placeholder="",this._eimFormsFormControlHostClass=!0,this.disabled=!1,this.displayValue="",this.onChange=Ks=>{},this.onTouched=()=>{}}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}registerOnChange(Pn){this.onChange=Pn}registerOnTouched(Pn){this.onTouched=Pn}writeValue(Pn){this.selected=Pn,this.updateDisplayValue()}updateDisplayValue(){this.sub=this.printingManagerService.getAllPrintTemplateUsageMetas(this.moduleTip).subscribe(Pn=>{this.displayValue=Pn.length?`${Pn.length} print template(s) configured`:"",this.cdr.markForCheck()})}setDisabledState(Pn){this.disabled=Pn,this.cdr.detectChanges()}openPrintTemplateUsageListSideSheet(){const Ei=this.sideSheetService.push(Fi).componentInstance;Ei.title="Print templates",Ei.showAddButton=!0,Ei.moduleTip=this.moduleTip}static#e=this.\u0275fac=function(Ei){return new(Ei||bi)(a.rXU(x.E),a.rXU(a.gRc),a.rXU(Kt.c))};static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-print-template-usage-chooser-field"]],hostVars:2,hostBindings:function(Ei,fi){2&Ei&&a.AVh("eim-forms_form-control-host",fi._eimFormsFormControlHostClass)},inputs:{label:"label",required:"required",optional:"optional",readonly:"readonly",placeholder:"placeholder",moduleTip:"moduleTip"},features:[a.Jv_([{provide:g.kq,useExisting:(0,a.Rfq)(()=>bi),multi:!0}])],ngContentSelectors:ei,decls:7,vars:4,consts:[["showPlaceholder",""],[3,"label","required","optional",4,"ngIf"],[1,"eim-forms_form-control-text-field-and-button-container"],["type","button","rightArrowSingleLine","",3,"blur","click","disabled"],["data-test","display-value","class","eim-forms_form-control-chooser-value",4,"ngIf","ngIfElse"],[3,"label","required","optional"],["data-test","display-value",1,"eim-forms_form-control-chooser-value"],["class","eim-forms_form-control-chooser-placeholder",4,"ngIf"],[1,"eim-forms_form-control-chooser-placeholder"]],template:function(Ei,fi){if(1&Ei){const Ks=a.RV6();a.NAR(),a.DNE(0,Hi,1,3,"app-form-control-label",1),a.j41(1,"div",2)(2,"button",3),a.bIt("blur",function(){return a.eBV(Ks),a.Njj(fi.onTouched())})("click",function(){return a.eBV(Ks),a.Njj(fi.openPrintTemplateUsageListSideSheet())}),a.DNE(3,gn,2,1,"span",4)(4,hn,1,1,"ng-template",null,0,a.C5r),a.k0s()(),a.SdG(6)}if(2&Ei){const Ks=a.sdS(5);a.Y8G("ngIf",fi.label),a.R7$(2),a.Y8G("disabled",fi.disabled||fi.readonly),a.R7$(),a.Y8G("ngIf",fi.displayValue)("ngIfElse",Ks)}},dependencies:[O.bT,D.J,_n.Z],changeDetection:0})}return bi})(),mi=(()=>{class bi extends n.PU{static#e=this.\u0275fac=(()=>{let Pn;return function(fi){return(Pn||(Pn=a.xGo(bi)))(fi||bi)}})();static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-print-template-usage-chooser"]],features:[a.Vt3],decls:1,vars:6,consts:[[3,"formControl","label","placeholder","required","readonly","moduleTip"]],template:function(Ei,fi){1&Ei&&a.nrm(0,"app-print-template-usage-chooser-field",0),2&Ei&&a.Y8G("formControl",fi.formControl)("label",fi.to.label)("placeholder",fi.to.placeholder)("required",fi.to.required)("readonly",fi.to.readonly)("moduleTip",fi.to.moduleTip)},dependencies:[g.BC,g.YS,g.l_,Bn],encapsulation:2})}return bi})();var wi=s(6099),Si=s(95113);const Cn=["*"];function ut(bi,Po){if(1&bi&&a.nrm(0,"app-form-control-label",5),2&bi){const Pn=a.XpG();a.Y8G("label",Pn.label)("required",Pn.required)}}function Mt(bi,Po){if(1&bi&&(a.j41(0,"span",6),a.EFF(1),a.k0s()),2&bi){const Pn=a.XpG();a.R7$(),a.JRh(Pn.displayValue)}}function Bt(bi,Po){if(1&bi&&(a.j41(0,"span",8),a.EFF(1),a.k0s()),2&bi){const Pn=a.XpG(2);a.R7$(),a.JRh(Pn.placeholder)}}function Rt(bi,Po){if(1&bi&&a.DNE(0,Bt,2,1,"span",7),2&bi){const Pn=a.XpG();a.Y8G("ngIf",Pn.placeholder)}}var He=function(bi){return bi.emailConfig="email",bi.SMSConfig="sms",bi.voiceMessageConfig="voice-message",bi}(He||{});let fe=(()=>{class bi{constructor(Pn,Ei){this.sideSheetService=Pn,this.cdr=Ei,this._eimFormsFormControlHostClass=!0,this.label="",this.placeholder="",this.required=!1,this.readonly=!1,this.selectedMessageType=Si.$z.MESSAGE,this.displayValue="New Message",this.uniqueId=(0,U.uniqueId)("message-compose-button-config-field"),this.onChange=fi=>{},this.onTouched=()=>{}}openMessageComposeConfigSideSheet(){const Ei=this.sideSheetService.push(wi.p).componentInstance;Ei.selectedMessageType=this.selectedMessageType,Ei.selectedConfig=this.selectedConfig,Ei.done=fi=>{this.updateDisplayValue(fi),this.onChange(fi),this.cdr.markForCheck(),this.sideSheetService.pop()}}writeValue(Pn){this.updateDisplayValue(Pn),this.cdr.markForCheck()}registerOnChange(Pn){this.onChange=Pn,this.cdr.markForCheck()}registerOnTouched(Pn){this.onTouched=Pn}setDisabledState(Pn){this.isDisabled=Pn,this.cdr.markForCheck()}updateDisplayValue(Pn){if(!Pn||(0,U.isEmpty)(Pn))return;this.selectedConfig=Pn.value;const Ei=Object.keys(Pn.value);if((0,U.isArray)(Ei))if(1===Ei.length)this.selectedMessageType=He[Ei[0]],this.displayValue=`New ${this.selectedMessageType} message`;else{if(!(Ei.length>1))return;this.displayValue="New Message",this.selectedMessageType=Si.$z.MESSAGE}}static#e=this.\u0275fac=function(Ei){return new(Ei||bi)(a.rXU(x.E),a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-message-compose-button-config-field"]],hostVars:2,hostBindings:function(Ei,fi){2&Ei&&a.AVh("eim-forms_form-control-host",fi._eimFormsFormControlHostClass)},inputs:{label:"label",placeholder:"placeholder",required:"required",readonly:"readonly"},features:[a.Jv_([{provide:g.kq,useExisting:(0,a.Rfq)(()=>bi),multi:!0}])],ngContentSelectors:Cn,decls:7,vars:4,consts:[["showPlaceholder",""],[3,"label","required",4,"ngIf"],[1,"eim-forms_form-control-text-field-and-button-container"],["type","button","rightArrowSingleLine","",3,"blur","click","disabled"],["data-test","display-value","class","eim-forms_form-control-chooser-value",4,"ngIf","ngIfElse"],[3,"label","required"],["data-test","display-value",1,"eim-forms_form-control-chooser-value"],["class","eim-forms_form-control-chooser-placeholder",4,"ngIf"],[1,"eim-forms_form-control-chooser-placeholder"]],template:function(Ei,fi){if(1&Ei){const Ks=a.RV6();a.NAR(),a.DNE(0,ut,1,2,"app-form-control-label",1),a.j41(1,"div",2)(2,"button",3),a.bIt("blur",function(){return a.eBV(Ks),a.Njj(fi.onTouched())})("click",function(){return a.eBV(Ks),a.Njj(fi.openMessageComposeConfigSideSheet())}),a.DNE(3,Mt,2,1,"span",4)(4,Rt,1,1,"ng-template",null,0,a.C5r),a.k0s()(),a.SdG(6)}if(2&Ei){const Ks=a.sdS(5);a.Y8G("ngIf",fi.label),a.R7$(2),a.Y8G("disabled",fi.readonly),a.R7$(),a.Y8G("ngIf",fi.displayValue)("ngIfElse",Ks)}},dependencies:[O.bT,D.J,_n.Z,M.d],changeDetection:0})}return bi})(),nt=(()=>{class bi extends n.PU{static#e=this.\u0275fac=(()=>{let Pn;return function(fi){return(Pn||(Pn=a.xGo(bi)))(fi||bi)}})();static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-message-compose-button-config"]],features:[a.Vt3],decls:1,vars:5,consts:[[3,"label","placeholder","required","readonly","formControl"]],template:function(Ei,fi){1&Ei&&a.nrm(0,"app-message-compose-button-config-field",0),2&Ei&&a.Y8G("label",fi.to.label)("placeholder",fi.to.placeholder)("required",fi.to.required)("readonly",fi.to.readonly)("formControl",fi.formControl)},dependencies:[g.BC,g.YS,g.l_,fe],encapsulation:2})}return bi})();var Ot=s(41666);let rn=(()=>{class bi extends n.PU{static#e=this.\u0275fac=(()=>{let Pn;return function(fi){return(Pn||(Pn=a.xGo(bi)))(fi||bi)}})();static#t=this.\u0275cmp=a.VBU({type:bi,selectors:[["app-formly-field-single-item-selection-list"]],features:[a.Vt3],decls:1,vars:3,consts:[[3,"label","options","formControl"]],template:function(Ei,fi){1&Ei&&a.nrm(0,"app-single-option-list-field",0),2&Ei&&a.Y8G("label",fi.to.label)("options",fi.to.options)("formControl",fi.to.defaultItem)},dependencies:[g.BC,g.l_,Ot.b],encapsulation:2})}return bi})();const wo={wrappers:["side-sheet-section-wrapper"],templateOptions:{showBorder:!0},fieldGroup:[{key:"solution",type:"object-chooser",templateOptions:{label:"Solutions",placeholder:"Choose a solution",typeTips:["app/solution"],multi:!0,extraFilters:[{label:"Is not custom solution",formula:`NOT(EQUALS(TIP(), "${s(61237).qp}"))`}]}}]},Rr={name:"side-sheet-section-wrapper",component:K.t},oa={types:[{name:"ng-selector",component:T,wrappers:["form-field-label-description-wrapper"]},{name:"input-copyable",extends:"input",wrappers:["form-field-copyable-wrapper"]},{name:"multi-line-text-copyable",extends:"multi-line-text",wrappers:["form-field-copyable-wrapper"]},{name:"component-launch-object-chooser",component:te},{name:"json-content",component:ae,wrappers:["form-field-label-description-wrapper"]},{name:"user-profiles-selection",component:Me,wrappers:[]},{name:"display-formula",component:Ye,wrappers:["form-field-label-description-wrapper"]},{name:"security-policy-chooser",component:Ct.W},{name:"just-in-time-provisioning",component:Ne},{name:"print-template-chooser",component:os},{name:"print-template-usage-chooser",component:mi},{name:"message-compose-button-config",component:nt,wrappers:["form-field"]},{name:"single-item-selection-list",component:rn}],wrappers:[{name:"form-field-label-description-wrapper",component:o},{name:"form-field-copyable-wrapper",component:F},Rr,{name:"notification-message-wrapper",component:Le}],extras:{checkExpressionOn:"changeDetectionCheck",lazyRender:!1,resetFieldOnHide:!1}}},29058:(at,N,s)=>{"use strict";s.d(N,{_r:()=>gn,MS:()=>Dn,y9:()=>js,Ho:()=>En,Ce:()=>Xn,Ne:()=>cn,$:()=>li,IS:()=>Ai,zG:()=>Wt,HQ:()=>Hi,V3:()=>Hn,En:()=>Nn,k7:()=>sn,_L:()=>Ii,Nr:()=>Qn,lF:()=>oi,qz:()=>Tn,og:()=>Ue,Ct:()=>ri,Sf:()=>yn,hm:()=>wi,gZ:()=>Un,Ph:()=>vi,kz:()=>ut,J6:()=>Cn,jG:()=>Yt,Gh:()=>ln,f1:()=>Fi});var n=s(93953),a=s(18359),g=s(7673),m=s(96354),T=s(8524),O=s(61903);const D=["fieldComponent"];function E(es,zs){}let y=(()=>{class es extends T.cm{click(){this.form&&this.field&&this.field.designMode&&this.formEditingService.selectFormField(this.field.key)}constructor(Gi,ds){super(),this.cdr=Gi,this.formEditingService=ds,this.isSelectedSub=new a.yU,this.isSelected=!1,this.fullWidth=!0}ngOnInit(){this.fullWidth=this.field.fullWidth||!1,this.formEditingService?this.isSelectedSub=this.formEditingService.currentlySelectedKey$.pipe((0,m.T)(Gi=>{if(this.field&&this.field.key)return Gi===this.field.key})).subscribe(Gi=>{this.isSelected=Gi,this.cdr.markForCheck()}):(0,g.of)(!1)}ngOnDestroy(){this.isSelectedSub.unsubscribe()}static#e=this.\u0275fac=function(ds){return new(ds||es)(n.rXU(n.gRc),n.rXU(O.K,8))};static#t=this.\u0275cmp=n.VBU({type:es,selectors:[["app-wrapper-form-field"]],viewQuery:function(ds,rs){if(1&ds&&n.GBs(D,5,n.c1b),2&ds){let ao;n.mGM(ao=n.lsd())&&(rs.fieldComponent=ao.first)}},hostVars:3,hostBindings:function(ds,rs){1&ds&&n.bIt("click",function(){return rs.click()}),2&ds&&(n.BMQ("data-full-width",rs.fullWidth),n.AVh("is-selected",rs.isSelected))},features:[n.Vt3],decls:2,vars:0,consts:[["fieldComponent",""]],template:function(ds,rs){1&ds&&n.DNE(0,E,0,0,"ng-template",null,0,n.C5r)},styles:['.is-selected[_nghost-%COMP%]:before{content:"";display:inline-block;position:absolute;left:-14px;margin-left:-6px;width:8px;height:84%;background:#00daff;border-radius:0 6px 6px 0}']})}return es})();var I=s(93987),b=s(33445),L=s(21413),o=s(56977),C=s(40941),w=s(43236),M=s(5002),q=s(10506),z=s(83958);let F=(()=>{class es extends T.PU{constructor(Gi,ds){super(),this.featureFlagStateService=Gi,this.cdr=ds,this.collapsed=!1,this.shouldNotHide=!1,this.destroyed$=new L.B}ngOnInit(){this.featureFlagStateService.isFeatureEnabled(M.g.FEATURE_EIM_23834_ADD_COLLAPSIBILITY_VISIBILITY_OPTIONS_TO_SECTION_HEADER)?(this.setDefaultBehaviour(),this.setShouldNotHide(),this.proxyHideExpression(),this.createHideExpression(this.getSectionFields())):this.field.hideExpression=()=>!1}toggle(){this.to.toggle&&(this.collapsed=!this.collapsed,this.to.toggle.next(this.collapsed))}ngOnDestroy(){this.field&&this.to.toggle&&this.to.toggle.complete(),this.destroyed$.next(),this.destroyed$.complete()}proxyHideExpression(){const Gi=this.field.hideExpression;if(!Gi)return;const ds=new Proxy(Gi,{apply:(rs,ao,wo)=>{const zr=rs.apply(ao,wo);return!this.shouldNotHide&&zr}});this.field.hideExpression=ds}setDefaultBehaviour(){this.collapsed="expand"!==this.to?.defaultBehaviour,this.to.toggle&&this.to.toggle.next(this.collapsed)}setShouldNotHide(){const Gi=this.getSectionFields()||[];this.form.valueChanges.pipe((0,o.Q)(this.destroyed$),(0,C.Q)(w.E)).subscribe(()=>{this.shouldNotHide=Gi.some(ds=>ds?.templateOptions?.required),this.cdr.markForCheck()})}getSectionFields(){return this.to.sectionFields||[]}createHideExpression(Gi){Gi.forEach(ds=>{const rs=ds.hideExpression;if(!rs)return;const ao=new Proxy(rs,{apply:(wo,zr,Ea)=>this.to.hidden?(ds?.formControl.reset(),!0):wo.apply(zr,Ea)});ds.hideExpression=ao})}static#e=this.\u0275fac=function(ds){return new(ds||es)(n.rXU(q.F),n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:es,selectors:[["app-section-header"]],features:[n.Vt3],decls:1,vars:3,consts:[[3,"click","title","collapsible","collapsed"]],template:function(ds,rs){1&ds&&(n.j41(0,"app-side-sheet-section",0),n.bIt("click",function(){return rs.toggle()}),n.k0s()),2&ds&&n.Y8G("title",rs.to.title)("collapsible",!0)("collapsed",rs.collapsed)},dependencies:[z.D],encapsulation:2,changeDetection:0})}return es})();var U=s(65831),k=s(86589),Y=s(12524);let x=(()=>{class es extends T.PU{static#e=this.\u0275fac=(()=>{let Gi;return function(rs){return(Gi||(Gi=n.xGo(es)))(rs||es)}})();static#t=this.\u0275cmp=n.VBU({type:es,selectors:[["app-text-content"]],features:[n.Vt3],decls:2,vars:3,consts:[[3,"innerHTML"]],template:function(ds,rs){1&ds&&(n.nrm(0,"div",0),n.nI1(1,"sanitizeHtml")),2&ds&&n.Y8G("innerHTML",n.bMT(1,1,rs.to.html),n.npT)},dependencies:[Y.b],encapsulation:2})}return es})();var B=s(20653),j=s(89079),$=s(89417),H=s(36193);let ie=(()=>{class es extends T.PU{constructor(){super(...arguments),this.defaultOptions={templateOptions:{indeterminate:!1}},this.destroyRef=(0,n.WQX)(n.abz)}ngOnInit(){"boolean"!=typeof this.formControl.value&&this.formControl.patchValue(!1),this.to.readonly&&this.formControl.disable(),this.formControl.valueChanges.pipe((0,j.pQ)(this.destroyRef)).subscribe(Gi=>{const ds=this.formControl.errors;this.to.required&&!Gi?this.formControl.setErrors(ds?{...ds,required:!0}:{required:!0}):ds&&this.formControl.setErrors({...ds,required:null})})}ngDoCheck(){this.formControl.disabled!==this.to.readonly&&(this.to.readonly?this.formControl.disable():this.formControl.enable())}onKeyDown(Gi){"Enter"===Gi.key&&(Gi.preventDefault(),this.formControl.patchValue(!this.formControl.value))}static#e=this.\u0275fac=(()=>{let Gi;return function(rs){return(Gi||(Gi=n.xGo(es)))(rs||es)}})();static#t=this.\u0275cmp=n.VBU({type:es,selectors:[["app-formly-field-checkbox"]],features:[n.Vt3],decls:4,vars:8,consts:[[1,"be-checkbox","custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"keydown","formControl","indeterminate","isNavigable","required"],[1,"custom-control-label","custom-control-color"]],template:function(ds,rs){1&ds&&(n.j41(0,"label",0)(1,"input",1),n.bIt("keydown",function(wo){return rs.onKeyDown(wo)}),n.k0s(),n.j41(2,"span",2),n.EFF(3),n.k0s()()),2&ds&&(n.R7$(),n.AVh("is-invalid",rs.showError),n.Y8G("formControl",rs.formControl)("indeterminate",rs.defaultOptions.templateOptions.indeterminate)("isNavigable",!rs.to.readonly)("required",rs.to.required),n.BMQ("data-test",rs.to.testId),n.R7$(2),n.JRh(rs.to.label))},dependencies:[$.Zm,$.BC,$.xq,$.l_,H.d],encapsulation:2})}return es})();var ne=s(38566),Q=s(5827);const le=["section"];function pe(es,zs){}let te=(()=>{class es extends T.cm{constructor(){super(...arguments),this.collapsed=!1}ngOnInit(){this.to.toggle&&(this.subscription=this.to.toggle.subscribe(Gi=>{this.setCollapsed(Gi)}))}setCollapsed(Gi){this.collapsed=Gi}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static#e=this.\u0275fac=(()=>{let Gi;return function(rs){return(Gi||(Gi=n.xGo(es)))(rs||es)}})();static#t=this.\u0275cmp=n.VBU({type:es,selectors:[["app-field-wrapper-noggin-section"]],viewQuery:function(ds,rs){if(1&ds&&n.GBs(le,5,n.c1b),2&ds){let ao;n.mGM(ao=n.lsd())&&(rs.fieldComponent=ao.first)}},hostVars:2,hostBindings:function(ds,rs){2&ds&&n.AVh("toggle-closed",rs.collapsed)},features:[n.Vt3],decls:2,vars:0,consts:[["section",""]],template:function(ds,rs){1&ds&&n.DNE(0,pe,0,0,"ng-template",null,0,n.C5r)},styles:["app-field-wrapper-noggin-section{display:block}app-field-wrapper-noggin-section.toggle-closed formly-field:not(:first-child){display:none}\n"],encapsulation:2})}return es})();var ae=s(50127),K=s(17998),de=s(74175),Me=s(16107),me=s(72335),be=s(3177),Le=s(4139),Ae=s(32467),Oe=s(24514),Xe=s(54547),Pe=s(99851),$e=s(11505),ze=s(8652),Be=s(9485),Ye=s(13525),Ct=s(78910),Lt=s(53595),Vt=s(21760),ht=s(99801),gt=s(57700);let Ge=(()=>{class es extends T.PU{ngOnInit(){"boolean"!=typeof this.formControl.value&&this.formControl.patchValue(!1)}static#e=this.\u0275fac=(()=>{let Gi;return function(rs){return(Gi||(Gi=n.xGo(es)))(rs||es)}})();static#t=this.\u0275cmp=n.VBU({type:es,selectors:[["app-formly-field-toggle"]],features:[n.Vt3],decls:1,vars:5,consts:[[3,"testId","formControl","label","required","readonly"]],template:function(ds,rs){1&ds&&n.nrm(0,"app-toggle-field",0),2&ds&&n.Y8G("testId",rs.to.testId)("formControl",rs.formControl)("label",rs.to.label)("required",rs.to.required)("readonly",rs.to.readonly)},dependencies:[$.BC,$.YS,$.l_,gt.u],encapsulation:2})}return es})();var Se=s(34669),ke=s(68858),Ne=s(62209),Je=s(82559),Qe=s(90480),rt=s(13598),ft=s(83354),Xt=s(92573),It=s(67376),In=s(60177),Kt=s(4372);const Ze=["inputEl"],wn=["*"];function zn(es,zs){if(1&es&&n.nrm(0,"app-form-control-label",5),2&es){const Gi=n.XpG();n.Y8G("label",Gi.label)("required",Gi.required)("optional",Gi.optional)("errors",null==Gi.formControl?null:Gi.formControl.errors)("disabled",Gi.disabled)}}let di=(()=>{class es{constructor(Gi){this.renderer=Gi,this._eimFormsFormControlHostClass=!0,this.inline=!1,this.required=!1,this.optional=!1,this.readonly=!1,this.autocomplete=!1,this.placeholder="",this.updateOnBlur=!1,this.textExtend="",this.disabledExtend=!0,this.keyup=new n.bkB,this.disabled=!1}onKeyUp(Gi){this.keyup.emit(Gi),this.onTouched&&this.onTouched(Gi),this.inputEl?.nativeElement?.value&&0==this.inputEl.nativeElement.value.trim().length&&(this.inputEl.nativeElement.value=""),!this.updateOnBlur&&this.onChange&&this.change()}change(Gi){this.onChange(this.inputEl.nativeElement.value)}writeValue(Gi){this.inputEl&&this.inputEl.nativeElement&&(this.inputEl.nativeElement.value=Gi)}registerOnChange(Gi){this.onChange=Gi}registerOnTouched(Gi){this.onTouched=Gi}setDisabledState(Gi){this.disabled=Gi,this.renderer.setProperty(this.inputEl.nativeElement,"disabled",Gi)}static#e=this.\u0275fac=function(ds){return new(ds||es)(n.rXU(n.sFG))};static#t=this.\u0275cmp=n.VBU({type:es,selectors:[["app-text-field-extend"]],viewQuery:function(ds,rs){if(1&ds&&n.GBs(Ze,7),2&ds){let ao;n.mGM(ao=n.lsd())&&(rs.inputEl=ao.first)}},hostVars:2,hostBindings:function(ds,rs){2&ds&&n.AVh("eim-forms_form-control-host",rs._eimFormsFormControlHostClass)},inputs:{inline:"inline",label:"label",required:"required",optional:"optional",readonly:"readonly",autocomplete:"autocomplete",placeholder:"placeholder",testId:"testId",maxlength:"maxlength",minlength:"minlength",step:"step",updateOnBlur:"updateOnBlur",formControl:"formControl",textExtend:"textExtend",disabledExtend:"disabledExtend"},outputs:{keyup:"keyup"},features:[n.Jv_([{provide:$.kq,useExisting:(0,n.Rfq)(()=>es),multi:!0}])],ngContentSelectors:wn,decls:6,vars:12,consts:[["inputEl",""],[3,"label","required","optional","errors","disabled",4,"ngIf"],[1,"eim-forms_form-control-text-field-and-button-container","eim-forms_form-control-text-field-input-container","d-flex","flex-row","justify-content-between"],[1,"form-control","form-control-sm","w-100","input-text","rounded-right","border-right-0","text-right",3,"change","keyup","blur","autocomplete","placeholder","disabled","isNavigable"],[1,"form-control","form-control-sm","w-100","input-extend","rounded-left",3,"disabled","value"],[3,"label","required","optional","errors","disabled"]],template:function(ds,rs){if(1&ds){const ao=n.RV6();n.NAR(),n.DNE(0,zn,1,5,"app-form-control-label",1),n.j41(1,"div",2)(2,"input",3,0),n.bIt("change",function(zr){return n.eBV(ao),n.Njj(rs.change(zr))})("keyup",function(zr){return n.eBV(ao),n.Njj(rs.onKeyUp(zr))})("blur",function(zr){return n.eBV(ao),n.Njj(rs.onTouched(zr))}),n.k0s(),n.nrm(4,"input",4),n.k0s(),n.SdG(5)}2&ds&&(n.Y8G("ngIf",rs.label),n.R7$(2),n.Y8G("autocomplete",rs.autocomplete?"on":"off")("placeholder",rs.placeholder)("disabled",rs.disabled)("isNavigable",!rs.disabled&&!rs.readonly),n.BMQ("readonly",rs.readonly?"":null)("minlength",rs.minlength)("maxlength",rs.maxlength)("step",rs.step)("data-test",rs.testId),n.R7$(2),n.Y8G("disabled",rs.disabledExtend)("value",rs.textExtend))},dependencies:[In.bT,Kt.J,H.d],styles:[".input-text[_ngcontent-%COMP%], .input-extend[_ngcontent-%COMP%]{box-shadow:none;outline:none}.input-extend[_ngcontent-%COMP%]:disabled{background-color:#eef1f8!important;opacity:1!important}"]})}return es})(),jn=(()=>{class es extends T.PU{ngOnInit(){const Gi=(0,It.get)(this,"field.templateOptions.contextTypeTip",null),ds=(0,It.get)(this,"formState.contextTypeOptions",null);this.fieldOption=Gi&&ds?ds.values.get(Gi):null}static#e=this.\u0275fac=(()=>{let Gi;return function(rs){return(Gi||(Gi=n.xGo(es)))(rs||es)}})();static#t=this.\u0275cmp=n.VBU({type:es,selectors:[["app-input-extend"]],features:[n.Vt3],decls:1,vars:8,consts:[[3,"testId","formControl","label","placeholder","required","readonly","disabledExtend","textExtend"]],template:function(ds,rs){1&ds&&n.nrm(0,"app-text-field-extend",0),2&ds&&n.Y8G("testId",rs.to.testId)("formControl",rs.formControl)("label",rs.to.label)("placeholder",rs.to.placeholder)("required",rs.to.required)("readonly",rs.to.readonly)("disabledExtend",rs.to.disabledExtend)("textExtend",rs.to.textExtend)},dependencies:[$.BC,$.YS,$.l_,di],encapsulation:2})}return es})();var Di=s(36776),Li=s(40845),ms=s(60683);const Wt={name:"side-sheet-section-wrapper",component:rt.t},Yt={name:"text-content",component:x,wrappers:["form-field"]},Ue={name:"option-list",component:U._,wrappers:["form-field"]},Un={name:"rich-text",component:k.M,wrappers:["form-field"]},Xn={name:"date-time",component:B.u,wrappers:["form-field"]},Ii={name:"multi-line-text",component:b.V,wrappers:["form-field"]},En={name:"checkbox",component:ie,wrappers:["form-field"]},ln={name:"toggle",component:Ge,wrappers:["form-field"]},Dn={name:"boolean-chooser",component:Xe.W,wrappers:["form-field"]},Ai={name:"file-upload",component:Q.q,wrappers:["form-field"]},sn={name:"list-items-select",component:ae.F,wrappers:["form-field"]},oi={name:"object-chooser",component:K.h,wrappers:["form-field"]},cn={name:"edit-list",component:Di.x,wrappers:["form-field"]},Tn={name:"object-type-chooser",component:$e.Z,wrappers:["form-field"]},vi={name:"simple-query-chooser",component:ze.C,wrappers:["form-field"]},Nn={name:"input",component:I.H,wrappers:["form-field"],defaultOptions:{validators:{validation:["max-bytes"]}}},Hn={name:"input-extend",component:jn,wrappers:["form-field"]},Qn={name:"number",extends:"input",defaultOptions:{validators:{validation:["max","min"]}}},ri={name:"phone-number",extends:"input",defaultOptions:{validators:{validation:["phone-number"]}}},li={name:"email-address",extends:"input",defaultOptions:{validators:{validation:["email"]}}},Fi={name:"web-address",extends:"input",defaultOptions:{validators:{validation:["uri"]}}},Hi={name:"geo-chooser",component:be.h,wrappers:["form-field"]},gn={name:"address-chooser",component:Ae.W,wrappers:["form-field"]},yn={name:"query-chooser",component:de.Y,wrappers:["form-field"]},wi={name:"formly-recipient-chooser",component:Qe.F,wrappers:["form-field"]},Cn={name:"string-interpolate-text",component:Ct.e,wrappers:["form-field"]},ut={name:"string-interpolate-rich-text",component:Lt.i,wrappers:["form-field"]},js={types:[{name:"section-header",component:F,wrappers:["form-field"]},Wt,Yt,{name:"chart-content",component:Me.e,wrappers:["form-field"]},{name:"table-content",component:Le.I,wrappers:["form-field"]},Ue,Un,Nn,{name:"hidden-input",component:Ye.f,wrappers:["form-field"]},Hn,Xn,Ii,Qn,En,Dn,Ai,{name:"signature",component:Li.R,wrappers:["form-field"]},{name:"conditional-selector",component:ne.G,wrappers:["form-field"]},sn,oi,Tn,vi,{name:"table-columns",component:Be._,wrappers:["form-field"]},{name:"system-email-addresses",component:ft.y,wrappers:["form-field"]},{name:"system-message-labels",component:(()=>{class es extends T.PU{static#e=this.\u0275fac=(()=>{let Gi;return function(rs){return(Gi||(Gi=n.xGo(es)))(rs||es)}})();static#t=this.\u0275cmp=n.VBU({type:es,selectors:[["app-system-message-labels"]],features:[n.Vt3],decls:1,vars:1,consts:[[3,"formControl"]],template:function(ds,rs){1&ds&&n.nrm(0,"app-system-message-labels-chooser",0),2&ds&&n.Y8G("formControl",rs.formControl)},dependencies:[$.BC,$.l_,ms.E],encapsulation:2})}return es})(),wrappers:["form-field"]},ri,li,Fi,{name:"domain",extends:"input",defaultOptions:{validators:{validation:["domain"]}}},Hi,gn,{name:"sub-object-chooser",component:Ne.R,wrappers:["form-field"]},cn,yn,{name:"chart-chooser",component:me.e},{name:"assign-to",component:Oe.L},{name:"app-formly-type-chooser",component:Pe.k,wrappers:["form-field"]},wi,{name:"org-unit-parent-chooser",component:Xt.s,wrappers:["form-field"]},Cn,ut,{name:"number-format",component:Vt.P,wrappers:[]},{name:"number-format-preview",component:ht.z,wrappers:["form-field"]},ln,{name:"string-encryption",component:ke.B},{name:"color-picker",component:Je.m}],wrappers:[{name:"form-field",component:y},{name:"noggin-section",component:te}],validators:[{name:"max",validation:Se.O.maxNumber},{name:"min",validation:Se.O.minNumber},{name:"max-length",validation:Se.O.maxLength},{name:"min-length",validation:Se.O.minLength},{name:"max-bytes",validation:Se.O.maxBytesValidator},{name:"email",validation:Se.O.email},{name:"phone-number",validation:Se.O.phoneNumber},{name:"uri",validation:Se.O.uri},{name:"domain",validation:Se.O.domain}],extras:{checkExpressionOn:"changeDetectionCheck",lazyRender:!1,resetFieldOnHide:!1}}},32467:(at,N,s)=>{"use strict";s.d(N,{W:()=>T});var n=s(8524),a=s(67376),m=s(93953);let T=(()=>{class O extends n.PU{ngOnInit(){this.monitorConnection=(0,a.get)(this,"field.templateOptions.monitorConnection",!1)}static#e=this.\u0275fac=(()=>{let E;return function(I){return(E||(E=m.xGo(O)))(I||O)}})();static#t=this.\u0275cmp=m.VBU({type:O,selectors:[["app-address-chooser"]],features:[m.Vt3],decls:1,vars:7,consts:[[3,"formControl","label","placeholder","required","readonly","monitorConnection","mapTip"]],template:function(y,I){1&y&&m.nrm(0,"app-address-chooser-field",0),2&y&&m.Y8G("formControl",I.formControl)("label",I.to.label)("placeholder",I.to.placeholder)("required",I.to.required)("readonly",I.to.readonly)("monitorConnection",I.monitorConnection)("mapTip",I.to.mapTip)},encapsulation:2})}return O})()},24514:(at,N,s)=>{"use strict";s.d(N,{L:()=>T});var n=s(8524),a=s(67376),m=s(93953);let T=(()=>{class O extends n.PU{ngOnInit(){this.monitorConnection=(0,a.get)(this,"field.templateOptions.monitorConnection",!1)}static#e=this.\u0275fac=(()=>{let E;return function(I){return(E||(E=m.xGo(O)))(I||O)}})();static#t=this.\u0275cmp=m.VBU({type:O,selectors:[["app-assign-to-formly"]],features:[m.Vt3],decls:1,vars:3,consts:[[3,"formControl","showUnAssignButton","monitorConnection"]],template:function(y,I){1&y&&m.nrm(0,"app-assign-to-field",0),2&y&&m.Y8G("formControl",I.formControl)("showUnAssignButton",I.to.showUnAssignButton)("monitorConnection",I.monitorConnection)},encapsulation:2})}return O})()},54547:(at,N,s)=>{"use strict";s.d(N,{W:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-formly-boolean-chooser"]],features:[a.Vt3],decls:1,vars:2,consts:[[3,"formControl","label"]],template:function(D,E){1&D&&a.nrm(0,"app-boolean-chooser-field",0),2&D&&a.Y8G("formControl",E.formControl)("label",E.field.templateOptions.label)},encapsulation:2})}return m})()},72335:(at,N,s)=>{"use strict";s.d(N,{e:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-formly-field-chart-chooser"]],features:[a.Vt3],decls:1,vars:3,consts:[[3,"formControl","contextTypeTip","contextTypeTitle"]],template:function(D,E){1&D&&a.nrm(0,"app-chart-chooser",0),2&D&&a.Y8G("formControl",E.formControl)("contextTypeTip",E.to.contextTypeTip)("contextTypeTitle",E.to.contextTypeTitle)},encapsulation:2})}return m})()},16107:(at,N,s)=>{"use strict";s.d(N,{e:()=>L});var n=s(8524),a=s(67376),m=s(40438),T=s(93953),O=s(76277),D=s(52168);function E(o,C){if(1&o&&(T.j41(0,"div",4),T.nrm(1,"app-chart",5),T.k0s()),2&o){const w=C.ngIf,M=T.XpG(2);T.R7$(),T.Y8G("chart",w)("filterInputs",M.config.filterInputs)("contextTip",M.contextTip)}}function y(o,C){if(1&o&&(T.j41(0,"div"),T.DNE(1,E,2,3,"div",3),T.nI1(2,"async"),T.k0s()),2&o){const w=T.XpG(),M=T.sdS(4);T.R7$(),T.Y8G("ngIf",T.bMT(2,2,w.chart$))("ngIfElse",M)}}function I(o,C){1&o&&T.nrm(0,"app-empty-state",6)}function b(o,C){1&o&&T.nrm(0,"div",7),2&o&&T.Y8G("appSpinner",!0)}let L=(()=>{class o extends n.PU{constructor(w,M){super(),this.chartDesignerService=w,this.router=M,this.chart$=null,this.config={filterInputs:[],title:"Unset",chartTip:null,canExport:!1}}ngOnInit(){this.currentUrl=this.router.routerState.snapshot.url||"",this.setChart(),this.contextTip=(0,a.get)(this.options,"formState.objectAndType.objectData.$tip",null)}setChart(){const w=(0,a.get)(this,"to.chartConfig",null);if(w.chartTip){this.config=w;const q=(0,a.get)(this.config,"filterInputs",[]).some(F=>("Field"===F.by||"Context"===F.by)&&F.value),z=this.currentUrl&&this.currentUrl.includes("app/s/settings/modules/")&&this.currentUrl.includes("/forms/");q&&!z?this.to.onChangeParams=F=>{this.config=F,this.chart$=this.chartDesignerService.getChart(this.config.chartTip),this.chartComponent&&this.chartComponent.redrawChart()}:this.chart$=this.chartDesignerService.getChart(this.config.chartTip)}}static#e=this.\u0275fac=function(M){return new(M||o)(T.rXU(O.r),T.rXU(D.Ix))};static#t=this.\u0275cmp=T.VBU({type:o,selectors:[["app-chart-content"]],viewQuery:function(M,q){if(1&M&&T.GBs(m.Q,5),2&M){let z;T.mGM(z=T.lsd())&&(q.chartComponent=z.first)}},features:[T.Vt3],decls:5,vars:2,consts:[["placeholder",""],["loading",""],[4,"ngIf","ngIfElse"],["style","height: 480px;",4,"ngIf","ngIfElse"],[2,"height","480px"],[3,"chart","filterInputs","contextTip"],["imgSrc","assets/img/empty-states/no-chart.svg"],["data-test","chart-content-loading-spinner",3,"appSpinner"]],template:function(M,q){if(1&M&&T.DNE(0,y,3,4,"div",2)(1,I,1,0,"ng-template",null,0,T.C5r)(3,b,1,1,"ng-template",null,1,T.C5r),2&M){const z=T.sdS(2);T.Y8G("ngIf",q.config.chartTip)("ngIfElse",z)}},encapsulation:2})}return o})()},82559:(at,N,s)=>{"use strict";s.d(N,{m:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{onColorAdded(O){this.formControl.updateValueAndValidity()}static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-color-picker-formly"]],features:[a.Vt3],decls:1,vars:7,consts:[[3,"addColor","formControl","label","required","optional","readonly","options","allowCustomColors"]],template:function(D,E){1&D&&(a.j41(0,"app-color-picker-field",0),a.bIt("addColor",function(I){return E.onColorAdded(I)}),a.k0s()),2&D&&a.Y8G("formControl",E.formControl)("label",E.to.label)("required",E.to.requiredrequired)("optional",E.to.optional)("readonly",E.to.readonly)("options",E.to.options)("allowCustomColors",E.to.allowCustomColors)},encapsulation:2})}return m})()},38566:(at,N,s)=>{"use strict";s.d(N,{G:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-conditional-field-selector"]],features:[a.Vt3],decls:1,vars:8,consts:[[3,"label","formControl","placeholder","fieldContextTip","conditionsText","hintMessage","isSection","fieldKey"]],template:function(D,E){1&D&&a.nrm(0,"app-conditional-field-selector-field",0),2&D&&a.Y8G("label",E.to.label)("formControl",E.formControl)("placeholder",E.to.placeholder)("fieldContextTip",E.to.fieldContextTip)("conditionsText",E.to.conditionsText)("hintMessage",E.to.hintMessage)("isSection",E.to.isSection)("fieldKey",E.field.key)},encapsulation:2})}return m})()},20653:(at,N,s)=>{"use strict";s.d(N,{u:()=>O});var n=s(8524),a=s(67376),m=s(76194),T=s(93953);let O=(()=>{class D extends n.PU{ngOnInit(){const y=(0,a.get)(this,"field.templateOptions.contextTypeTip",null),I=(0,a.get)(this,"formState.contextTypeOptions",null);this.monitorConnection=(0,a.get)(this,"field.templateOptions.monitorConnection",!1),this.isOfflineModeAllowed=(0,a.get)(this,"field.templateOptions.isOfflineModeAllowed",!1),this.fieldOption=y&&I?I.values.get(y):null}calculate(){this.formState.calculation$.next({fieldTip:this.field.key,fieldDataType:m.HT.datetime,calculationFormula:this.fieldOption.calculation})}static#e=this.\u0275fac=(()=>{let y;return function(b){return(y||(y=T.xGo(D)))(b||D)}})();static#t=this.\u0275cmp=T.VBU({type:D,selectors:[["app-date-time"]],features:[T.Vt3],decls:1,vars:14,consts:[[3,"calculate","formControl","label","required","placeholder","mode","readonly","dateFormat","timeFormat","timezone","dateValidation","defaultValue","calculated","monitorConnection","isOfflineModeAllowed"]],template:function(I,b){1&I&&(T.j41(0,"app-datetime-field",0),T.bIt("calculate",function(){return b.calculate()}),T.k0s()),2&I&&T.Y8G("formControl",b.formControl)("label",b.to.label)("required",b.to.required)("placeholder",b.to.placeholder)("mode",b.to.type)("readonly",b.to.readonly)("dateFormat",b.to.dateFormat)("timeFormat",b.to.timeFormat)("timezone",b.to.timezone)("dateValidation",b.to.dateValidation)("defaultValue",b.to.defaultValue)("calculated",!(null==b.fieldOption||!b.fieldOption.calculation))("monitorConnection",b.monitorConnection)("isOfflineModeAllowed",b.isOfflineModeAllowed)},encapsulation:2})}return D})()},36776:(at,N,s)=>{"use strict";s.d(N,{x:()=>m});var n=s(8524),a=s(93953);function g(T,O){if(1&T&&a.nrm(0,"app-edit-list-field",1),2&T){const D=a.XpG();a.Y8G("label",D.to.label)("actionText",D.to.actionText)("labelText",D.to.labelText)("emptyListIcon",D.to.emptyListIcon)("formControl",D.formControl)("maxCount",D.to.maxCount)("openSideSheet",D.to.openSideSheet)("popSideSheet",D.to.popSideSheet)("getPropsForSideSheet",D.to.getPropsForSideSheet)("mapListItemToSideSheetItem",D.to.mapListItemToSideSheetItem)("mapSideSheetItemToListItem",D.to.mapSideSheetItemToListItem)}}let m=(()=>{class T extends n.PU{constructor(){super()}static#e=this.\u0275fac=function(E){return new(E||T)};static#t=this.\u0275cmp=a.VBU({type:T,selectors:[["app-edit-list-formly-field"]],features:[a.Vt3],decls:1,vars:1,consts:[[3,"label","actionText","labelText","emptyListIcon","formControl","maxCount","openSideSheet","popSideSheet","getPropsForSideSheet","mapListItemToSideSheetItem","mapSideSheetItemToListItem",4,"ngIf"],[3,"label","actionText","labelText","emptyListIcon","formControl","maxCount","openSideSheet","popSideSheet","getPropsForSideSheet","mapListItemToSideSheetItem","mapSideSheetItemToListItem"]],template:function(E,y){1&E&&a.DNE(0,g,1,11,"app-edit-list-field",0),2&E&&a.Y8G("ngIf",!y.to.hidden)},encapsulation:2})}return T})()},5827:(at,N,s)=>{"use strict";s.d(N,{q:()=>O});var n=s(8524),a=s(67376),m=s(93953);function T(D,E){if(1&D&&m.nrm(0,"app-file-upload-field",1),2&D){const y=m.XpG();m.Y8G("isMulti",y.multi)("formControl",y.formControl)("label",y.to.label)("securityPolicyTip",y.securityPolicyTip)("fileSecurityPolicyTip",y.to.fileSecurityPolicyTip||y.fileSecurityPolicyTip)("readonly",y.to.readonly)("required",y.to.required)("options",y.to.svgOptions)("monitorConnection",y.monitorConnection)("isContactSelfService",y.to.isContactSelfService)}}let O=(()=>{class D extends n.PU{constructor(){super(...arguments),this.multi=!1}ngOnInit(){this.contextTypeOptions=(0,a.get)(this,"formState.contextTypeOptions",null),this.securityPolicyTip=(0,a.get)(this,"formState.contextSecurityPolicyTip",null),this.fileSecurityPolicyTip=(0,a.get)(this,"formState.contextfileSecurityPolicyTip",null),this.monitorConnection=(0,a.get)(this,"field.templateOptions.monitorConnection",!1),this.setParams()}setParams(){const y=(0,a.get)(this,"field.templateOptions.contextTypeTip",null),I=y?this.contextTypeOptions.values.get(y):null;this.multi=!!I&&1!==I.maxcount}static#e=this.\u0275fac=(()=>{let y;return function(b){return(y||(y=m.xGo(D)))(b||D)}})();static#t=this.\u0275cmp=m.VBU({type:D,selectors:[["app-file-upload"]],features:[m.Vt3],decls:1,vars:1,consts:[[3,"isMulti","formControl","label","securityPolicyTip","fileSecurityPolicyTip","readonly","required","options","monitorConnection","isContactSelfService",4,"ngIf"],[3,"isMulti","formControl","label","securityPolicyTip","fileSecurityPolicyTip","readonly","required","options","monitorConnection","isContactSelfService"]],template:function(I,b){1&I&&m.DNE(0,T,1,10,"app-file-upload-field",0),2&I&&m.Y8G("ngIf",b.formControl)},encapsulation:2})}return D})()},3177:(at,N,s)=>{"use strict";s.d(N,{h:()=>T});var n=s(8524),a=s(67376),m=s(93953);let T=(()=>{class O extends n.PU{ngOnInit(){this.monitorConnection=(0,a.get)(this,"field.templateOptions.monitorConnection",!1)}static#e=this.\u0275fac=(()=>{let E;return function(I){return(E||(E=m.xGo(O)))(I||O)}})();static#t=this.\u0275cmp=m.VBU({type:O,selectors:[["app-geo-chooser"]],features:[m.Vt3],decls:1,vars:8,consts:[[3,"formControl","label","placeholder","required","readonly","monitorConnection","mode","mapTip"]],template:function(y,I){1&y&&m.nrm(0,"app-geo-chooser-field",0),2&y&&m.Y8G("formControl",I.formControl)("label",I.to.label)("placeholder",I.to.placeholder)("required",I.to.required)("readonly",I.to.readonly)("monitorConnection",I.monitorConnection)("mode",I.to.type)("mapTip",I.to.mapTip)},encapsulation:2})}return O})()},13525:(at,N,s)=>{"use strict";s.d(N,{f:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-hidden-input"]],features:[a.Vt3],decls:1,vars:1,consts:[[3,"formControl"]],template:function(D,E){1&D&&a.nrm(0,"app-text-field",0),2&D&&a.Y8G("formControl",E.formControl)},styles:["[_nghost-%COMP%]{display:none}"]})}return m})()},93987:(at,N,s)=>{"use strict";s.d(N,{H:()=>T});var n=s(8524),a=s(67376),m=s(93953);let T=(()=>{class O extends n.PU{constructor(){super(...arguments),this.classes="flex-fill"}ngOnInit(){const E=(0,a.get)(this,"field.templateOptions.contextTypeTip",null),y=(0,a.get)(this,"formState.contextTypeOptions",null);this.fieldOption=E&&y?y.values.get(E):null,this.numberFormat=(0,a.get)(this.fieldOption,"numberFormat",null),this.monitorConnection=(0,a.get)(this,"field.templateOptions.monitorConnection",!1)}calculate(){this.formState.calculation$.next({fieldTip:this.field.key,calculationFormula:this.fieldOption.calculation,calculationNoValueAsZero:!!this.fieldOption.calculationNoValueAsZero})}static#e=this.\u0275fac=(()=>{let E;return function(I){return(E||(E=m.xGo(O)))(I||O)}})();static#t=this.\u0275cmp=m.VBU({type:O,selectors:[["app-input"]],hostVars:2,hostBindings:function(y,I){2&y&&m.HbH(I.classes)},features:[m.Vt3],decls:1,vars:13,consts:[[3,"focusout","calculate","testId","formControl","label","placeholder","required","readonly","type","min","max","numberFormat","showIcon","calculated","monitorConnection"]],template:function(y,I){1&y&&(m.j41(0,"app-text-field",0),m.bIt("focusout",function(L){return I.to.focusout&&I.to.focusout(I.field,L)})("calculate",function(){return I.calculate()}),m.k0s()),2&y&&m.Y8G("testId",I.to.testId)("formControl",I.formControl)("label",I.to.label)("placeholder",I.to.placeholder)("required",I.to.required)("readonly",I.to.readonly)("type",I.to.type||I.field.type)("min",I.to.min)("max",I.to.max)("numberFormat",I.numberFormat)("showIcon",I.to.showIcon)("calculated",!(null==I.fieldOption||!I.fieldOption.calculation))("monitorConnection",I.monitorConnection)},encapsulation:2})}return O})()},50127:(at,N,s)=>{"use strict";s.d(N,{F:()=>E});var n=s(8524),a=s(67376),m=s(76194),T=s(93953);function O(y,I){if(1&y){const b=T.RV6();T.qex(0),T.j41(1,"app-list-item-single-select-field",2),T.bIt("calculate",function(){T.eBV(b);const o=T.XpG();return T.Njj(o.calculate())}),T.k0s(),T.bVm()}if(2&y){const b=T.XpG();T.R7$(),T.Y8G("formControl",b.formControl)("label",b.field.templateOptions.label)("listTip",(null==b.field||null==b.field.templateOptions?null:b.field.templateOptions.listTip)||b.listTip)("placeholder",b.field.templateOptions.placeholder)("readonly",b.to.readonly)("required",b.to.required)("listAnyLevelSelection",b.listAnyLevelSelection)("calculated",!(null==b.fieldOption||!b.fieldOption.calculation))("monitorConnection",b.monitorConnection)("isOfflineModeAllowed",b.isOfflineModeAllowed)}}function D(y,I){if(1&y){const b=T.RV6();T.j41(0,"app-list-item-multi-select-field",2),T.bIt("calculate",function(){T.eBV(b);const o=T.XpG();return T.Njj(o.calculate())}),T.k0s()}if(2&y){const b=T.XpG();T.Y8G("formControl",b.formControl)("label",b.field.templateOptions.label)("listTip",(null==b.field||null==b.field.templateOptions?null:b.field.templateOptions.listTip)||b.listTip)("placeholder",b.field.templateOptions.placeholder)("readonly",b.to.readonly)("required",b.to.required)("listAnyLevelSelection",b.listAnyLevelSelection)("calculated",!(null==b.fieldOption||!b.fieldOption.calculation))("monitorConnection",b.monitorConnection)("isOfflineModeAllowed",b.isOfflineModeAllowed)}}let E=(()=>{class y extends n.PU{constructor(){super(...arguments),this.single=!0,this.listAnyLevelSelection=!1}ngOnInit(){this.hasIsMulti=!(0,a.isNil)((0,a.get)(this,"field.templateOptions.isMulti",void 0));const b=(0,a.get)(this,"field.templateOptions.contextTypeTip",null),L=(0,a.get)(this,"formState.contextTypeOptions",null);this.fieldOption=b&&L?L.values.get(b):null,this.single=!this.fieldOption||1===this.fieldOption.maxcount,this.listTip=this.fieldOption&&this.fieldOption.listTip?this.fieldOption.listTip:null,this.monitorConnection=(0,a.get)(this,"field.templateOptions.monitorConnection",!1),this.isOfflineModeAllowed=(0,a.get)(this,"field.templateOptions.isOfflineModeAllowed",!1),this.listAnyLevelSelection=(0,a.isEmpty)(L)?(0,a.get)(this,"field.templateOptions.listAnyLevelSelection",!1):(0,a.get)(this.fieldOption,"listAnyLevelSelection",!1)}calculate(){this.formState.calculation$.next({fieldTip:this.field.key,fieldDataType:m.TV.list,calculationFormula:this.fieldOption.calculation})}static#e=this.\u0275fac=(()=>{let b;return function(o){return(b||(b=T.xGo(y)))(o||y)}})();static#t=this.\u0275cmp=T.VBU({type:y,selectors:[["app-list-items-select"]],features:[T.Vt3],decls:3,vars:2,consts:[["multi",""],[4,"ngIf","ngIfElse"],[3,"calculate","formControl","label","listTip","placeholder","readonly","required","listAnyLevelSelection","calculated","monitorConnection","isOfflineModeAllowed"]],template:function(L,o){if(1&L&&T.DNE(0,O,2,10,"ng-container",1)(1,D,1,10,"ng-template",null,0,T.C5r),2&L){const C=T.sdS(2);T.Y8G("ngIf",o.hasIsMulti?!(null!=o.field&&null!=o.field.templateOptions&&o.field.templateOptions.isMulti):o.single)("ngIfElse",C)}},encapsulation:2})}return y})()},33445:(at,N,s)=>{"use strict";s.d(N,{V:()=>O});var n=s(8524),a=s(67376),m=s(76194),T=s(93953);let O=(()=>{class D extends n.PU{constructor(){super(...arguments),this.classes="flex-fill"}ngOnInit(){const y=(0,a.get)(this,"field.templateOptions.contextTypeTip",null),I=(0,a.get)(this,"formState.contextTypeOptions",null);this.monitorConnection=(0,a.get)(this,"field.templateOptions.monitorConnection",!1),this.fieldOption=y&&I?I.values.get(y):null}calculate(){this.formState.calculation$.next({fieldTip:this.field.key,fieldDataType:m.HT.string,calculationFormula:this.fieldOption.calculation})}static#e=this.\u0275fac=(()=>{let y;return function(b){return(y||(y=T.xGo(D)))(b||D)}})();static#t=this.\u0275cmp=T.VBU({type:D,selectors:[["app-multi-line-text"]],hostVars:2,hostBindings:function(I,b){2&I&&T.HbH(b.classes)},features:[T.Vt3],decls:1,vars:8,consts:[[3,"calculate","formControl","label","placeholder","required","readonly","rows","calculated","monitorConnection"]],template:function(I,b){1&I&&(T.j41(0,"app-multi-text-field",0),T.bIt("calculate",function(){return b.calculate()}),T.k0s()),2&I&&T.Y8G("formControl",b.formControl)("label",b.to.label)("placeholder",b.to.placeholder)("required",b.to.required)("readonly",b.to.readonly)("rows",b.to.rows)("calculated",!(null==b.fieldOption||!b.fieldOption.calculation))("monitorConnection",b.monitorConnection)},encapsulation:2})}return D})()},99801:(at,N,s)=>{"use strict";s.d(N,{z:()=>E});var n=s(8524),a=s(99172),g=s(56977),m=s(89417),T=s(21413),O=s(39263),D=s(93953);let E=(()=>{class I extends n.PU{constructor(){super(...arguments),this.classes="flex-fill",this.PFormControl=new m.MJ,this.done$=new T.B}ngOnInit(){this.PFormControl.disable(),this.preview$=this.form.valueChanges.pipe((0,a.Z)(this.form.value),(0,g.Q)(this.done$)).subscribe(L=>{const o=function y(I){return{calculations:I["number-format:calculations"],decimalPlaces:I["number-format:decimal-places"],thousandsSeparator:I["number-format:thousands-separator"],decimalSeparator:I["number-format:decimal-separator"],suffix:I["number-format:suffix"],prefix:I["number-format:prefix"]}}(L),w=(0,O.ZV)(L["number-format:preview-value"],o);this.PFormControl.patchValue(w)})}ngOnDestroy(){this.done$.next(),this.done$.complete()}static#e=this.\u0275fac=(()=>{let L;return function(C){return(L||(L=D.xGo(I)))(C||I)}})();static#t=this.\u0275cmp=D.VBU({type:I,selectors:[["app-number-format-preview-formly"]],hostVars:2,hostBindings:function(o,C){2&o&&D.HbH(C.classes)},features:[D.Vt3],decls:1,vars:1,consts:[["label","Number preview",3,"formControl"]],template:function(o,C){1&o&&D.nrm(0,"app-text-field",0),2&o&&D.Y8G("formControl",C.PFormControl)},encapsulation:2})}return I})()},21760:(at,N,s)=>{"use strict";s.d(N,{P:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{constructor(){super(...arguments),this.typeTips=["number-format"]}static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-number-format-formly"]],features:[a.Vt3],decls:1,vars:7,consts:[[3,"placeholder","formControl","label","required","typeTips","emitStringNotArray","readonly"]],template:function(D,E){1&D&&a.nrm(0,"app-single-object-chooser-field",0),2&D&&a.Y8G("placeholder",E.to.placeholder)("formControl",E.formControl)("label",E.to.label)("required",E.to.required)("typeTips",E.typeTips)("emitStringNotArray",!0)("readonly",E.to.readonly)},encapsulation:2})}return m})()},17998:(at,N,s)=>{"use strict";s.d(N,{h:()=>Y});var n=s(8524),a=s(67376),g=s(18359),m=s(7673),T=s(76194);const D=[{type:s(98305).i4,config:{canCreateNew:!1,allowNavAway:!1},condition:x=>{const B=(0,a.get)(x,"field.templateOptions.contextTypeTip",null);return!(0,a.isEmpty)(B)&&!B.startsWith("app/au-gov/protective-markings-settings")}}];var E=s(33342),y=s(82639),I=s(61594),b=s(96354),L=s(93953),o=s(12225),C=s(14784);function w(x,B){if(1&x&&L.nrm(0,"app-single-object-chooser-field",5),2&x){const j=L.XpG(2);L.Y8G("allowUserToAdd",j.canCreateNew)("allowNavAway",j.allowNavAway)("contextTip",j.contextTip)("emitStringNotArray",!0)("extraFilters",j.extraFilters)("extraVars",j.extraVars)("formControl",j.formControl)("ignoreQueryAndFilterOnFilterText",j.to.ignoreQueryAndFilterOnFilterText)("label",j.to.label)("placeholder",j.to.placeholder)("queryAndFilter",j.queryAndFilter)("readonly",j.to.readonly)("required",j.to.required)("showModuleInfo",j.to.showModuleInfo)("typeTips",j.to.typeTips||j.typeTips)("monitorConnection",j.monitorConnection)}}function M(x,B){if(1&x&&L.nrm(0,"app-protective-marking-single-object-chooser",6),2&x){const j=L.XpG(2);L.Y8G("allowUserToAdd",j.canCreateNew)("allowNavAway",j.allowNavAway)("contextTip",j.contextTip)("emitStringNotArray",!0)("extraFilters",j.extraFilters)("extraVars",j.extraVars)("formControl",j.formControl)("ignoreQueryAndFilterOnFilterText",j.to.ignoreQueryAndFilterOnFilterText)("label",j.to.label)("placeholder",j.to.placeholder)("queryAndFilter",j.queryAndFilter)("readonly",j.to.readonly)("required",j.to.required)("showModuleInfo",j.to.showModuleInfo)("typeTips",j.to.typeTips||j.typeTips)}}function q(x,B){if(1&x&&(L.qex(0),L.DNE(1,w,1,16,"app-single-object-chooser-field",4)(2,M,1,15,"ng-template",null,0,L.C5r),L.bVm()),2&x){const j=L.sdS(3),$=L.XpG();L.R7$(),L.Y8G("ngIf",!$.isProtectiveMarking)("ngIfElse",j)}}function z(x,B){if(1&x&&L.nrm(0,"app-multi-object-chooser-field",8),2&x){const j=L.XpG(2);L.Y8G("allowNavAway",j.allowNavAway)("canCreateNew",j.canCreateNew)("contextTip",j.contextTip)("extraFilters",j.extraFilters)("formControl",j.formControl)("label",j.to.label)("queryAndFilter",j.queryAndFilter)("readonly",j.to.readonly)("required",j.to.required)("typeTips",j.to.typeTips||j.typeTips)("monitorConnection",j.monitorConnection)}}function F(x,B){if(1&x&&L.nrm(0,"app-protective-marking-multi-object-chooser",9),2&x){const j=L.XpG(2);L.Y8G("allowNavAway",j.allowNavAway)("canCreateNew",j.canCreateNew)("contextTip",j.contextTip)("extraFilters",j.extraFilters)("formControl",j.formControl)("label",j.to.label)("queryAndFilter",j.queryAndFilter)("readonly",j.to.readonly)("required",j.to.required)("typeTips",j.to.typeTips||j.typeTips)}}function U(x,B){if(1&x&&(L.qex(0),L.DNE(1,z,1,11,"app-multi-object-chooser-field",7)(2,F,1,10,"ng-template",null,1,L.C5r),L.bVm()),2&x){const j=L.sdS(3),$=L.XpG();L.R7$(),L.Y8G("ngIf",!$.isProtectiveMarking)("ngIfElse",j)}}function k(x,B){if(1&x&&(L.qex(0),L.nrm(1,"app-single-hierarchical-object-chooser-field",10),L.bVm()),2&x){const j=L.XpG();L.R7$(),L.Y8G("formControl",j.formControl)("label",j.to.label)("parentFieldTip",j.hierarchyParentFieldTip)("placeholder",j.to.placeholder)("readonly",j.to.readonly)("required",j.to.required)("typeTip",j.hierarchyFieldTip)}}let Y=(()=>{class x extends n.PU{constructor(j,$,H){super(),this.allObjectTypesService=j,this.meService=$,this.cdr=H,this.subs=new g.yU,this.allowNavAway=!0,this.canCreateNew=!0,this.extraFilters=[],this.queryAndFilter={},this.single=!0,this.typeTips=[],this.meService.isAdmin$().pipe((0,I.$)()).subscribe(ie=>this.isAdmin=ie)}ngOnInit(){this.contextTypeOptions=(0,a.get)(this,"formState.contextTypeOptions",null),this.contextTip=(0,a.get)(this,["formState","objectAndType","objectData","$tip"],null),this.subs.add(this.setViaContextParams$().subscribe(()=>{this.cdr.detectChanges()}))}ngOnDestroy(){this.subs.unsubscribe()}setViaContextParams$(){const j=(0,a.get)(this,"field.templateOptions.contextTypeTip",null),$=this.contextTypeOptions?this.contextTypeOptions.values.get(j):null;return((0,a.get)(this,"field.templateOptions.multi",!1)||$&&1!==$.maxcount)&&(this.single=!1,this.viewMode="multi"),this.typeTips=(0,a.get)($,"typerestrict",[]),this.queryAndFilter=(0,a.get)(this,"field.templateOptions.filter",{}),this.extraFilters=(0,a.get)(this,"field.templateOptions.extraFilters",[]),this.allowNavAway=(0,a.get)(this,"field.templateOptions.allowNavAway",!0),this.canCreateNew=!(0,a.get)(this,"field.templateOptions.hidePlusButton",!1),this.extraVars=(0,a.get)(this,"field.templateOptions.extraVars",[]),this.monitorConnection=(0,a.get)(this,"field.templateOptions.monitorConnection",!1),(this.typeTips.length>0?this.allObjectTypesService.getObjectType$(this.typeTips[0]):(0,m.of)(void 0)).pipe((0,b.T)(ne=>{const Q=this.checkIfTypeIsHierarchical(this.typeTips,ne),le="Hierarchical"===(0,a.get)(this,"field.templateOptions.hierarchicalView","Flat");this.single&&((0,a.isEmpty)(this.queryAndFilter)&&le&&Q?(this.viewMode="hierarchical",this.hierarchyFieldTip=this.typeTips&&this.typeTips.length>0?this.typeTips[0]:null,this.hierarchyParentFieldTip=this.hierarchyFieldTip?this.getParentFieldTip(this.typeTips[0],ne):null):this.viewMode="single");const pe=(0,a.get)(this.typeTips,"0","NULL");if(D.some(te=>te.type===pe)){const te=D.find(ae=>ae.type===pe);(!te.condition||te.condition(this))&&(this.canCreateNew=te.config.canCreateNew,this.allowNavAway=te.config.allowNavAway)}!this.isAdmin&&this.typeTips.includes("app/user")&&(this.allowNavAway=!1)}))}getParentFieldTip(j,$){if(T.EW[T.TV.hierarchical].typeRestrict.includes(j))return`${j}:parent`;if($){const H=$.implementsSuperTypes;if(H&&H.length){const ie=H.find(ne=>T.EW[T.TV.hierarchical].typeRestrict.includes(ne));if(ie)return`${ie}:parent`}return null}}checkIfTypeIsHierarchical(j,$){if(j&&1===j.length){if((0,a.intersection)(j,T.EW[T.TV.hierarchical].typeRestrict).length>0)return!0;if($)return(0,E.B)($)}return!1}get isProtectiveMarking(){return(0,a.head)(this.to.typeTips||this.typeTips)===y.W1.PROTECTIVE_MARKING&&!(0,a.get)(this,"to.protectiveMarkingSettings",!1)}static#e=this.\u0275fac=function($){return new($||x)(L.rXU(o.b),L.rXU(C.Q),L.rXU(L.gRc))};static#t=this.\u0275cmp=L.VBU({type:x,selectors:[["app-object-chooser"]],features:[L.Vt3],decls:4,vars:4,consts:[["singleProtectiveMarkingObjectChooserField",""],["multiProtectiveMarkingObjectChooserField",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"allowUserToAdd","allowNavAway","contextTip","emitStringNotArray","extraFilters","extraVars","formControl","ignoreQueryAndFilterOnFilterText","label","placeholder","queryAndFilter","readonly","required","showModuleInfo","typeTips","monitorConnection",4,"ngIf","ngIfElse"],[3,"allowUserToAdd","allowNavAway","contextTip","emitStringNotArray","extraFilters","extraVars","formControl","ignoreQueryAndFilterOnFilterText","label","placeholder","queryAndFilter","readonly","required","showModuleInfo","typeTips","monitorConnection"],[3,"allowUserToAdd","allowNavAway","contextTip","emitStringNotArray","extraFilters","extraVars","formControl","ignoreQueryAndFilterOnFilterText","label","placeholder","queryAndFilter","readonly","required","showModuleInfo","typeTips"],[3,"allowNavAway","canCreateNew","contextTip","extraFilters","formControl","label","queryAndFilter","readonly","required","typeTips","monitorConnection",4,"ngIf","ngIfElse"],[3,"allowNavAway","canCreateNew","contextTip","extraFilters","formControl","label","queryAndFilter","readonly","required","typeTips","monitorConnection"],[3,"allowNavAway","canCreateNew","contextTip","extraFilters","formControl","label","queryAndFilter","readonly","required","typeTips"],[3,"formControl","label","parentFieldTip","placeholder","readonly","required","typeTip"]],template:function($,H){1&$&&(L.qex(0,2),L.DNE(1,q,4,2,"ng-container",3)(2,U,4,2,"ng-container",3)(3,k,2,7,"ng-container",3),L.bVm()),2&$&&(L.Y8G("ngSwitch",H.viewMode),L.R7$(),L.Y8G("ngSwitchCase","single"),L.R7$(),L.Y8G("ngSwitchCase","multi"),L.R7$(),L.Y8G("ngSwitchCase","hierarchical"))},encapsulation:2})}return x})()},11505:(at,N,s)=>{"use strict";s.d(N,{Z:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-object-type-chooser"]],features:[a.Vt3],decls:1,vars:6,consts:[[3,"label","placeholder","required","includeSuperTypes","includeSystemTypes","formControl"]],template:function(D,E){1&D&&a.nrm(0,"app-type-chooser",0),2&D&&a.Y8G("label",E.to.label)("placeholder",E.to.placeholder)("required",E.to.required)("includeSuperTypes",E.to.includeSuperTypes)("includeSystemTypes",E.to.includeSystemTypes)("formControl",E.formControl)},encapsulation:2})}return m})()},65831:(at,N,s)=>{"use strict";s.d(N,{_:()=>T});var n=s(8524),a=s(93953);function g(O,D){if(1&O){const E=a.RV6();a.qex(0),a.j41(1,"app-single-option-list-field",2),a.bIt("back",function(I){a.eBV(E);const b=a.XpG();return a.Njj(b.field.templateOptions.back&&b.field.templateOptions.back(b.field,I))}),a.k0s(),a.bVm()}if(2&O){const E=a.XpG();a.R7$(),a.Y8G("formControl",E.formControl)("label",E.field.templateOptions.label)("title",E.field.templateOptions.title)("searchBox",E.field.templateOptions.searchBox)("placeholder",E.field.templateOptions.placeholder)("required",E.field.templateOptions.required)("options",E.field.templateOptions.options)("readonly",E.field.templateOptions.readonly)("showBorderBeforeListItem",E.field.templateOptions.showBorder)("isFromContactSelfService",E.field.templateOptions.isFromContactSelfService)}}function m(O,D){if(1&O&&a.nrm(0,"app-multi-option-list-field",3),2&O){const E=a.XpG();a.Y8G("formControl",E.formControl)("label",E.field.templateOptions.label)("placeholder",E.field.templateOptions.placeholder)("required",E.field.templateOptions.required)("options",E.field.templateOptions.options)("readonly",E.field.templateOptions.readonly)}}let T=(()=>{class O extends n.PU{static#e=this.\u0275fac=(()=>{let E;return function(I){return(E||(E=a.xGo(O)))(I||O)}})();static#t=this.\u0275cmp=a.VBU({type:O,selectors:[["app-option-list"]],features:[a.Vt3],decls:3,vars:2,consts:[["multi",""],[4,"ngIf","ngIfElse"],[3,"back","formControl","label","title","searchBox","placeholder","required","options","readonly","showBorderBeforeListItem","isFromContactSelfService"],[3,"formControl","label","placeholder","required","options","readonly"]],template:function(y,I){if(1&y&&a.DNE(0,g,2,10,"ng-container",1)(1,m,1,6,"ng-template",null,0,a.C5r),2&y){const b=a.sdS(2);a.Y8G("ngIf",!(null!=I.field&&null!=I.field.templateOptions&&I.field.templateOptions.isMultiSelect))("ngIfElse",b)}},encapsulation:2})}return O})()},92573:(at,N,s)=>{"use strict";s.d(N,{s:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-org-unit-parent-chooser"]],features:[a.Vt3],decls:1,vars:7,consts:[[3,"formControl","label","placeholder","required","disabled","readonly","currentOrgUnit"]],template:function(D,E){1&D&&a.nrm(0,"app-org-unit-parent-chooser-field",0),2&D&&a.Y8G("formControl",E.formControl)("label",E.to.label)("placeholder",E.to.placeholder)("required",E.to.required)("disabled",E.to.disabled)("readonly",E.to.readonly)("currentOrgUnit",E.to.currentOrgUnit)},encapsulation:2})}return m})()},74175:(at,N,s)=>{"use strict";s.d(N,{Y:()=>E});var n=s(8524),a=s(67376),m=s(21413),T=s(56977),O=s(93953),D=s(52168);let E=(()=>{class y extends n.PU{constructor(b){super(),this.route=b,this.objectTypeTip=null,this.destroy$=new m.B}ngOnInit(){this.contextTypeOptions=(0,a.get)(this,"formState.contextTypeOptions",null),this.moduleTip=(0,a.get)(this.route,"snapshot.params.moduleTip")||(0,a.get)(this,"field.templateOptions.moduleTip",null),this.setParams(),this.form.valueChanges.pipe((0,T.Q)(this.destroy$)).subscribe(()=>this.setParams())}setParams(){this.objectTypeTip=null;const b=this.model?.typeTip||null;b&&(this.objectTypeTip=b);const L=(0,a.get)(this,"field.templateOptions.fieldToFilter",null);if(L&&this.contextTypeOptions){const o=this.contextTypeOptions.values.get(L);this.objectTypeTip=(0,a.get)(o,"typerestrict[0]")}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(L){return new(L||y)(O.rXU(D.nX))};static#t=this.\u0275cmp=O.VBU({type:y,selectors:[["app-query-filter-chooser"]],features:[O.Vt3],decls:1,vars:12,consts:[[3,"formControl","label","placeholder","objectTypeTip","contextTypeTip","contextTypeTitle","moduleTip","required","filterOutQueriesWithVars","withFilterInputs","showFormFieldInputs","openSimpleChooser"]],template:function(L,o){1&L&&O.nrm(0,"app-query-chooser",0),2&L&&O.Y8G("formControl",o.formControl)("label",o.field.templateOptions.label)("placeholder",o.field.templateOptions.placeholder)("objectTypeTip",o.objectTypeTip)("contextTypeTip",o.to.formContext)("contextTypeTitle",o.to.formContextTitle)("moduleTip",o.moduleTip)("required",o.to.required)("filterOutQueriesWithVars",o.to.filterOutQueriesWithVars||!1)("withFilterInputs",!0)("showFormFieldInputs",o.to.showFormFieldInputs)("openSimpleChooser",o.to.openSimpleChooser)},encapsulation:2})}return y})()},90480:(at,N,s)=>{"use strict";s.d(N,{F:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-recipient-chooser"]],features:[a.Vt3],decls:1,vars:9,consts:[[3,"formControl","label","inline","placeholder","required","disabled","readonly","outboundSource","workflowVariables"]],template:function(D,E){1&D&&a.nrm(0,"app-voice-message-recipient-chooser-field",0),2&D&&a.Y8G("formControl",E.formControl)("label",E.to.label)("inline",E.to.inline)("placeholder",E.to.placeholder)("required",E.to.required)("disabled",E.to.disabled)("readonly",E.to.readonly)("outboundSource",E.to.outboundSource)("workflowVariables",E.to.workflowVariables)},encapsulation:2})}return m})()},86589:(at,N,s)=>{"use strict";s.d(N,{M:()=>T});var n=s(8524),a=s(67376),m=s(93953);let T=(()=>{class O extends n.PU{ngOnInit(){this.monitorConnection=(0,a.get)(this,"field.templateOptions.monitorConnection",!1)}static#e=this.\u0275fac=(()=>{let E;return function(I){return(E||(E=m.xGo(O)))(I||O)}})();static#t=this.\u0275cmp=m.VBU({type:O,selectors:[["app-rich-text"]],features:[m.Vt3],decls:1,vars:7,consts:[[3,"formControl","label","readonly","required","hideVideoImageTablebuttons","isFromContactSelfService","monitorConnection"]],template:function(y,I){1&y&&m.nrm(0,"app-rich-jodit-text-field",0),2&y&&m.Y8G("formControl",I.formControl)("label",I.field.templateOptions.label)("readonly",I.to.readonly)("required",I.to.required)("hideVideoImageTablebuttons",I.to.hideVideoImageTablebuttons)("isFromContactSelfService",I.field.templateOptions.isFromContactSelfService)("monitorConnection",I.monitorConnection)},encapsulation:2})}return O})()},40845:(at,N,s)=>{"use strict";s.d(N,{R:()=>O});var n=s(8524),a=s(67376),m=s(93953);function T(D,E){if(1&D&&m.nrm(0,"app-signature-field",1),2&D){const y=m.XpG();m.Y8G("isMulti",y.multi)("formControl",y.formControl)("securityPolicyTip",y.securityPolicyTip)("fileSecurityPolicyTip",y.to.fileSecurityPolicyTip)("readonly",y.to.readonly)("required",y.to.required)("label",y.to.label)}}let O=(()=>{class D extends n.PU{constructor(){super(...arguments),this.multi=!1}ngOnInit(){this.contextTypeOptions=(0,a.get)(this,"formState.contextTypeOptions",null),this.securityPolicyTip=(0,a.get)(this,"formState.contextSecurityPolicyTip",null),this.setParams()}setParams(){const y=(0,a.get)(this,"field.templateOptions.contextTypeTip",null),I=y?this.contextTypeOptions.values.get(y):null;this.multi=!!I&&1!==I.maxcount}static#e=this.\u0275fac=(()=>{let y;return function(b){return(y||(y=m.xGo(D)))(b||D)}})();static#t=this.\u0275cmp=m.VBU({type:D,selectors:[["app-signature"]],features:[m.Vt3],decls:1,vars:1,consts:[[3,"isMulti","formControl","securityPolicyTip","fileSecurityPolicyTip","readonly","required","label",4,"ngIf"],[3,"isMulti","formControl","securityPolicyTip","fileSecurityPolicyTip","readonly","required","label"]],template:function(I,b){1&I&&m.DNE(0,T,1,7,"app-signature-field",0),2&I&&m.Y8G("ngIf",b.formControl)},encapsulation:2})}return D})()},8652:(at,N,s)=>{"use strict";s.d(N,{C:()=>y});var n=s(8524),a=s(67376),m=s(21413),T=s(23294),O=s(56977),D=s(93953),E=s(52168);let y=(()=>{class I extends n.PU{constructor(L){super(),this.route=L,this.withFilterInputs=!0,this.destroy$=new m.B}ngOnInit(){this.objectTypeTip=this.field?.templateOptions?.objectTypeTip;const L=this.form.get("templateOptions").get("tableConfig").get("objectTypeTip"),o=this.form.get("templateOptions").get("tableConfig").get("queryTip"),C=this.form.get("templateOptions").get("tableConfig").get("filterInputs"),w=this.form.get("templateOptions").get("tableConfig").get("sortingOptions");L?.valueChanges.pipe((0,T.F)(),(0,O.Q)(this.destroy$)).subscribe(M=>this.handleObjectTypeChanges(M)),this.formControl.valueChanges.pipe((0,O.Q)(this.destroy$)).subscribe(M=>{o&&o.setValue(M.queryTip),C&&C.setValue(M.filterInputs),w&&w.setValue(M.sortingOptions)}),this.moduleTip=(0,a.get)(this.options,"formState.moduleTip",null)||this.route.snapshot.params.moduleTip,Object.keys(this.to).includes("withFilterInputs")&&(this.withFilterInputs=this.to.withFilterInputs)}handleObjectTypeChanges(L){this.formControl.setValue({queryTip:null,filterInputs:[]}),this.objectTypeTip=L}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(o){return new(o||I)(D.rXU(E.nX))};static#t=this.\u0275cmp=D.VBU({type:I,selectors:[["app-simple-query-filter-chooser"]],features:[D.Vt3],decls:1,vars:11,consts:[[3,"formControl","label","required","placeholder","objectTypeTip","contextTypeTip","contextTypeTitle","moduleTip","withFilterInputs","sortSearchableFieldsOnly","showFormFieldInputs"]],template:function(o,C){1&o&&D.nrm(0,"app-query-chooser",0),2&o&&D.Y8G("formControl",C.formControl)("label",C.to.label)("required",C.to.required)("placeholder",C.to.placeholder)("objectTypeTip",C.objectTypeTip)("contextTypeTip",C.to.contextTypeTip)("contextTypeTitle",C.to.contextTypeTitle)("moduleTip",C.moduleTip)("withFilterInputs",C.withFilterInputs)("sortSearchableFieldsOnly",C.to.sortSearchableFieldsOnly)("showFormFieldInputs",C.withFilterInputs)},encapsulation:2})}return I})()},68858:(at,N,s)=>{"use strict";s.d(N,{B:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{reset(O){this.to.reset&&this.to.reset(this.model),this.formControl.markAsTouched(),this.formControl.updateValueAndValidity()}static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-string-encryption"]],features:[a.Vt3],decls:1,vars:7,consts:[[3,"resetData","formControl","label","placeholder","required","readonly","rows","height"]],template:function(D,E){1&D&&(a.j41(0,"app-string-with-encryption-field",0),a.bIt("resetData",function(I){return E.reset(I)}),a.k0s()),2&D&&a.Y8G("formControl",E.formControl)("label",E.to.label)("placeholder",E.to.placeholder)("required",E.to.required)("readonly",E.to.readonly)("rows",E.to.rows)("height",E.to.height)},encapsulation:2})}return m})()},53595:(at,N,s)=>{"use strict";s.d(N,{i:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-string-interpolate-rich-text"]],features:[a.Vt3],decls:1,vars:14,consts:[[3,"formControl","label","readonly","required","enableStringInterpolation","hideVideoImageTablebuttons","recipientSuperTypeTip","interpolationType","hideResponseLinks","hideRecipient","workflowVariables","hideSystemCurrentUserOption","contextTypeTips","isFromContactSelfService"]],template:function(D,E){1&D&&a.nrm(0,"app-rich-jodit-text-field",0),2&D&&a.Y8G("formControl",E.formControl)("label",E.field.templateOptions.label)("readonly",E.field.templateOptions.readonly)("required",E.field.templateOptions.required)("enableStringInterpolation",!0)("hideVideoImageTablebuttons",E.field.templateOptions.hideVideoImageTablebuttons)("recipientSuperTypeTip",E.field.templateOptions.recipientSuperTypeTip)("interpolationType",E.field.templateOptions.interpolationType)("hideResponseLinks",E.field.templateOptions.hideResponseLinks)("hideRecipient",E.field.templateOptions.hideRecipient)("workflowVariables",E.field.templateOptions.workflowVariables)("hideSystemCurrentUserOption",E.field.templateOptions.hideSystemCurrentUserOption)("contextTypeTips",E.field.templateOptions.contextTypeTips)("isFromContactSelfService",null==E.field.templateOptions?null:E.field.templateOptions.isFromContactSelfService)},encapsulation:2})}return m})()},78910:(at,N,s)=>{"use strict";s.d(N,{e:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{constructor(){super(...arguments),this.classes="flex-fill"}static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-string-interpolate-text"]],hostVars:2,hostBindings:function(D,E){2&D&&a.HbH(E.classes)},features:[a.Vt3],decls:1,vars:19,consts:[[3,"formControl","label","placeholder","required","readonly","mode","recipientSuperTypeTip","interpolationType","hideResponseLinks","hideRecipient","contextTypeTips","valueFormat","showSequence","workflowVariables","useContextFormula","displayFormulaRule","triggerRemoveContextSubstitution$","hideSystemCurrentUserOption","isFromContactSelfService"]],template:function(D,E){1&D&&a.nrm(0,"app-string-interpolate-text-field",0),2&D&&a.Y8G("formControl",E.formControl)("label",E.field.templateOptions.label)("placeholder",E.field.templateOptions.placeholder)("required",E.field.templateOptions.required)("readonly",E.field.templateOptions.readonly)("mode",E.field.templateOptions.mode)("recipientSuperTypeTip",E.field.templateOptions.recipientSuperTypeTip)("interpolationType",E.field.templateOptions.interpolationType)("hideResponseLinks",E.field.templateOptions.hideResponseLinks)("hideRecipient",E.field.templateOptions.hideRecipient)("contextTypeTips",E.field.templateOptions.contextTypeTips)("valueFormat",E.field.templateOptions.valueFormat)("showSequence",E.field.templateOptions.showSequence)("workflowVariables",E.field.templateOptions.workflowVariables)("useContextFormula",null==E.field.templateOptions?null:E.field.templateOptions.useContextFormula)("displayFormulaRule",null==E.field.templateOptions?null:E.field.templateOptions.displayFormulaRule)("triggerRemoveContextSubstitution$",null==E.field.templateOptions?null:E.field.templateOptions.triggerRemoveContextSubstitution$)("hideSystemCurrentUserOption",null==E.field.templateOptions?null:E.field.templateOptions.hideSystemCurrentUserOption)("isFromContactSelfService",null==E.field.templateOptions?null:E.field.templateOptions.isFromContactSelfService)},encapsulation:2})}return m})()},62209:(at,N,s)=>{"use strict";s.d(N,{R:()=>O});var n=s(8524),a=s(67376),m=s(93953),T=s(32099);let O=(()=>{class D extends n.PU{constructor(y){super(),this.loggerService=y,this.single=!0,this.typeTip=null,this.monitorConnection=!1}ngOnInit(){this.contextTypeOptions=(0,a.get)(this,"formState.contextTypeOptions",null),this.monitorConnection=(0,a.get)(this,"field.templateOptions.monitorConnection",!1);const y=(0,a.get)(this,"field.templateOptions.contextTypeTip",null),I=this.contextTypeOptions?this.contextTypeOptions.values.get(y):null;((0,a.get)(this,"field.templateOptions.multi",!1)||I&&1!==I.maxcount)&&(this.single=!1);const L=(0,a.get)(I,"typerestrict",[]);L.length>1&&this.loggerService.error("\n        The sub object chooser should only instantiated with one type.\n        Multiple types were provided. We will load the first one and hope that's right",L),L&&(this.typeTip=(0,a.head)(L))}static#e=this.\u0275fac=function(I){return new(I||D)(m.rXU(T.g))};static#t=this.\u0275cmp=m.VBU({type:D,selectors:[["app-sub-object-chooser-formly"]],features:[m.Vt3],decls:1,vars:8,consts:[[3,"label","required","readonly","formControl","typeTip","placeholder","single","monitorConnection"]],template:function(I,b){1&I&&m.nrm(0,"app-sub-object-chooser-field",0),2&I&&m.Y8G("label",b.to.label)("required",b.to.required)("readonly",b.to.readonly)("formControl",b.formControl)("typeTip",b.typeTip)("placeholder",b.to.placeholder)("single",b.single)("monitorConnection",b.monitorConnection)},encapsulation:2})}return D})()},83354:(at,N,s)=>{"use strict";s.d(N,{y:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-system-email-addresses"]],features:[a.Vt3],decls:1,vars:1,consts:[[3,"formControl"]],template:function(D,E){1&D&&a.nrm(0,"app-system-email-addresses-chooser",0),2&D&&a.Y8G("formControl",E.formControl)},encapsulation:2})}return m})()},9485:(at,N,s)=>{"use strict";s.d(N,{_:()=>L});var n=s(8524),a=s(21413),g=s(23294),m=s(56977),T=s(61594),O=s(76194),D=s(41793),E=s(93760),y=s(92597),I=s(93953),b=s(44667);let L=(()=>{class o extends n.PU{constructor(w){super(),this.objectService=w,this.destroy$=new a.B}ngOnInit(){this.objectTypeTip=this.field?.templateOptions?.objectTypeTip,this.form.get("templateOptions").get("tableConfig").get("objectTypeTip")?.valueChanges.pipe((0,g.F)(),(0,m.Q)(this.destroy$)).subscribe(M=>this.handleObjectTypeChanges(M))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateColumnItems(w){this.form.get("templateOptions").get("tableConfig").get("columnItems")?.setValue(w)}handleObjectTypeChanges(w){if(this.formControl.setValue([]),w){const M=/^app\/super-type\//.test(w)?D.l:E.m;this.objectService.getObject(w,M).pipe((0,T.$)()).subscribe(q=>{this.form.get("templateOptions").get("tableConfig").get("columnItems").setValue([]),this.formControl.setValue(q.field.filter(z=>z.datatype!==O.HT.object).map(z=>`FIELD(${(0,y.AQ)(z.$tip)})`))})}this.objectTypeTip=w}static#e=this.\u0275fac=function(M){return new(M||o)(I.rXU(b.T))};static#t=this.\u0275cmp=I.VBU({type:o,selectors:[["app-table-columns"]],features:[I.Vt3],decls:2,vars:3,consts:[["typeLabel","Object type",3,"labelsChanged","objectTypeTip","form","formControl"]],template:function(M,q){1&M&&(I.j41(0,"app-table-columns-chooser",0),I.bIt("labelsChanged",function(F){return q.updateColumnItems(F)}),I.k0s(),I.nrm(1,"div")),2&M&&I.Y8G("objectTypeTip",q.objectTypeTip)("form",q.form)("formControl",q.formControl)},encapsulation:2})}return o})()},4139:(at,N,s)=>{"use strict";s.d(N,{I:()=>y});var n=s(8524),a=s(67376),m=s(36811),T=s(93953);function O(I,b){if(1&I&&(T.j41(0,"div")(1,"h3"),T.EFF(2),T.k0s(),T.nrm(3,"app-table",2),T.k0s()),2&I){const L=T.XpG();T.AVh("table-outline",0===(null==L.tableComponent||null==L.tableComponent.table?null:L.tableComponent.table.total)),T.R7$(2),T.JRh(null==L.to||null==L.to.tableConfig?null:L.to.tableConfig.title),T.R7$(),T.Y8G("tableParams",L.tableParams)}}function D(I,b){if(1&I&&(T.j41(0,"h3"),T.EFF(1),T.k0s()),2&I){const L=T.XpG(2);T.R7$(),T.JRh(null==L.to||null==L.to.tableConfig?null:L.to.tableConfig.title)}}function E(I,b){if(1&I&&(T.j41(0,"div",3),T.DNE(1,D,2,1,"h3",4),T.nrm(2,"app-empty-state",5),T.k0s()),2&I){const L=T.XpG();T.R7$(),T.Y8G("ngIf",null==L.to||null==L.to.tableConfig?null:L.to.tableConfig.title)}}let y=(()=>{class I extends n.PU{ngOnInit(){this.tableParams=(0,a.cloneDeep)(this.to.tableConfig),this.tableParams.limit&&(this.tableParams.limit=+this.tableParams.limit),this.tableParams.contextTip=(0,a.get)(this.options,"formState.objectAndType.objectData.$tip",null),this.tableParams.sortSearchableFieldsOnly=!0;const L=(0,a.cloneDeep)(this.tableParams);this.to.onChangeParams=o=>{const C={...L,...o};this.tableComponent&&this.tableComponent.updateTableByFilterInput(C)}}static#e=this.\u0275fac=(()=>{let L;return function(C){return(L||(L=T.xGo(I)))(C||I)}})();static#t=this.\u0275cmp=T.VBU({type:I,selectors:[["app-table-content"]],viewQuery:function(o,C){if(1&o&&T.GBs(m.O,5),2&o){let w;T.mGM(w=T.lsd())&&(C.tableComponent=w.first)}},features:[T.Vt3],decls:3,vars:2,consts:[["placeholder",""],[3,"table-outline",4,"ngIf","ngIfElse"],[3,"tableParams"],[1,"table-outline"],[4,"ngIf"],["label","Configure table","imgSrc","assets/img/empty-states/no-table.svg"]],template:function(o,C){if(1&o&&T.DNE(0,O,4,4,"div",1)(1,E,3,1,"ng-template",null,0,T.C5r),2&o){const w=T.sdS(2);T.Y8G("ngIf",null==C.to||null==C.to.tableConfig?null:C.to.tableConfig.objectTypeTip)("ngIfElse",w)}},styles:["h3[_ngcontent-%COMP%]{font-size:1.3rem}.table-outline[_ngcontent-%COMP%]{border:1px solid #D6E0E4;border-radius:6px;margin-bottom:1.154rem}.table-outline[_ngcontent-%COMP%] > h3[_ngcontent-%COMP%]{border-bottom:1px solid #D6E0E4;padding:0 10px;margin-top:5px;color:#273c4e}"]})}return I})()},99851:(at,N,s)=>{"use strict";s.d(N,{k:()=>g});var n=s(8524),a=s(93953);let g=(()=>{class m extends n.PU{static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=a.xGo(m)))(E||m)}})();static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["app-formly-type-chooser"]],features:[a.Vt3],decls:1,vars:10,consts:[[3,"change","formControl","label","inline","placeholder","required","readonly","optional","includeSystemTypes","includeSuperTypes","importUsers"]],template:function(D,E){1&D&&(a.j41(0,"app-type-chooser",0),a.bIt("change",function(){return E.to.change}),a.k0s()),2&D&&a.Y8G("formControl",E.formControl)("label",E.to.label)("inline",E.to.inline)("placeholder",E.to.placeholder)("required",E.to.required)("readonly",E.to.readonly)("optional",E.to.optional)("includeSystemTypes",E.to.includeSystemTypes)("includeSuperTypes",E.to.includeSuperTypes)("importUsers",E.to.importUsers)},encapsulation:2})}return m})()},16652:(at,N,s)=>{"use strict";s.d(N,{$u:()=>O,x_:()=>T});var n=s(93953),a=s(28182);const T=new n.nKC("CopyToClipBoard"),O={provide:T,useFactory:()=>a}},13598:(at,N,s)=>{"use strict";s.d(N,{t:()=>O});var n=s(93953),a=s(8524),g=s(83958);const m=["fieldComponent"];function T(D,E){}let O=(()=>{class D extends a.cm{static#e=this.\u0275fac=(()=>{let y;return function(b){return(y||(y=n.xGo(D)))(b||D)}})();static#t=this.\u0275cmp=n.VBU({type:D,selectors:[["app-side-sheet-section-wrapper"]],viewQuery:function(I,b){if(1&I&&n.GBs(m,5,n.c1b),2&I){let L;n.mGM(L=n.lsd())&&(b.fieldComponent=L.first)}},features:[n.Vt3],decls:3,vars:7,consts:[["fieldComponent",""],[3,"title","showBorder","collapsible","buttonCollapseWithTitle","tallyPill","tallyPillValue","showHeader"]],template:function(I,b){1&I&&(n.j41(0,"app-side-sheet-section",1),n.DNE(1,T,0,0,"ng-template",null,0,n.C5r),n.k0s()),2&I&&n.Y8G("title",null==b.to?null:b.to.title)("showBorder",(null==b.to?null:b.to.showBorder)||!1)("collapsible",null==b.to?null:b.to.collapsible)("buttonCollapseWithTitle",null==b.to?null:b.to.buttonCollapseWithTitle)("tallyPill",null==b.to?null:b.to.tallyPill)("tallyPillValue",null==b.to?null:b.to.tallyPillValue)("showHeader",(null==b.to?null:b.to.showHeader)||!1)},dependencies:[g.D],encapsulation:2})}return D})()},29018:(at,N,s)=>{"use strict";s.d(N,{N:()=>C});var n=s(7673),a=s(27468),g=s(73703),m=s(61594),T=s(96354),O=s(97586),D=s.n(O),E=s(67376),I=s(76194),b=s(790),L=s(93953),o=s(25687);let C=(()=>{class w{constructor(q){this.formulaMultiService=q}populateFormDefaultValues(q,z){if(q.objectAndType.objectData.$tip)return(0,n.of)(q);const F=q.objectAndType.objectType.field.filter(U=>!!U.default);return F&&0!==F.length?(0,a.p)(F.map(U=>this.populateFieldDefaultValue(U,z,q.objectAndType.objectData))).pipe((0,g.u)(q)):(0,n.of)(q)}populateFieldDefaultValue(q,z,F){const U=q.datatype;return this.formulaMultiService.evaluate([z.typeTip?{formula:q.default,context:z.contextTip,watch:!1,vars:{Type:[z.typeTip],CONTEXT_VAR_NAME:[z.contextTip]}}:{formula:q.default,context:z.contextTip,watch:!1,vars:{CONTEXT_VAR_NAME:[z.contextTip]}}],b.q.USE_NETWORK_NO_CACHE).pipe((0,m.$)(),(0,T.T)(Y=>(Y&&Y[0]&&Y[0].length>0&&this.setObjectDataValues(q,Y[0],F,[I.HT.date,I.HT.datetime].includes(U)),!0)))}setObjectDataValues(q,z,F,U=!1){F[q.$tip]=1!==q.maxcount?(0,E.isArray)(z)?z.map(k=>this.getValue(U,k)):[this.getValue(U,z)]:this.getValue(U,(0,E.isArray)(z)?z[0]:z)}getValue(q,z){return q?D()(z):z}setSequenceFieldReadOnly(q){if(!(0,E.get)(q,"objectAndType.objectType.field",null))return(0,n.of)(q);const z=q.objectAndType.objectType.field.find(F=>F.tag&&F.tag.findIndex(U=>U.includes("sequenceTip"))>-1);return z&&q.form.tabs.forEach(F=>{F.rows.forEach(U=>{U.fields.forEach(k=>{k.templateOptions.contextTypeTip===z.$tip&&(k.conditionalFields.readonly.value="true")})})}),(0,n.of)(q)}static#e=this.\u0275fac=function(z){return new(z||w)(L.KVO(o.$))};static#t=this.\u0275prov=L.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},20509:(at,N,s)=>{"use strict";s.d(N,{c:()=>n});var n=function(a){return a.CREATE="create",a.EDIT="edit",a.VIEW="view",a}(n||{})},57503:(at,N,s)=>{"use strict";s.d(N,{a:()=>H});var n=s(7673),a=s(18810),g=s(96354),m=s(25558),T=s(58523),O=s(61594),D=s(99437),E=s(56977),y=s(5964),I=s(20509),b=s(65906),L=s(82639),o=s(24424),C=s(93953),w=s(50337),M=s(71242),q=s(12225);let z=(()=>{class Q{constructor(pe){this.allObjectTypesService=pe}isRestrictedSystemType$(pe){return(0,n.of)(!1)}static#e=this.\u0275fac=function(te){return new(te||Q)(C.KVO(q.b))};static#t=this.\u0275prov=C.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})();var F=s(77874),U=s(25687),k=s(29018),Y=s(67137),x=s(67376),B=s(77199),j=s(10506);let $=(()=>{class Q{constructor(pe){this.featureFlagStateService=pe}loadEditCreateConfig(pe,te){const{objectAndType:ae}=pe;if(te?.formTip)return{component:Y.Q,formObjectAndType:pe,objectLaunchOverrides:{}};const K=this.featureFlagStateService.featureFlagsMap,de=(0,x.get)(ae,"objectType.$tip",null),Me=(0,L.DU)({objectType:de,formObjectAndType:pe,allFeatureFlagsMap:K,params:te});return Me&&(0,x.get)(ae,"objectData.$tip",null)?Me[I.c.EDIT]:Me?Me[I.c.CREATE]:{component:Y.Q,formObjectAndType:pe,objectLaunchOverrides:{}}}loadViewConfig(pe){const te=(0,x.get)(pe,"objectType.$tip",null),ae=(0,L.DU)({objectType:te,formObjectAndType:{objectAndType:pe}});return(0,x.get)(ae,[I.c.VIEW])?ae[I.c.VIEW]:{component:B.$,formObjectAndType:{objectAndType:pe},objectLaunchOverrides:{}}}static#e=this.\u0275fac=function(te){return new(te||Q)(C.KVO(j.F))};static#t=this.\u0275prov=C.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})(),H=(()=>{class Q{constructor(pe,te,ae,K,de,Me,me){this.sideSheetService=pe,this.getObjectAndFormService=te,this.objectLaunchFormulasService=ae,this.lifecycleWorkflowRedirect=K,this.formulaMultiService=de,this.objectLaunchDefaultService=Me,this.wellKnownType=me}pushSheet(pe,te){return(0,n.of)(!0).pipe((0,g.T)(()=>this.sideSheetService.push(b.J).componentInstance)).pipe((0,m.n)(K=>pe.operation===I.c.VIEW?this.loadView(pe,te,K):this.loadCreateEdit(pe,te,K)))}replaceSheet(pe,te){return(0,n.of)(!0).pipe((0,g.T)(()=>this.sideSheetService.replace(b.J).componentInstance)).pipe((0,m.n)(K=>pe.operation===I.c.VIEW?this.loadView(pe,te,K):this.loadCreateEdit(pe,te,K)))}pop(pe=!1){this.sideSheetService.pop(pe)}cleanAndPop(pe=!1){this.sideSheetService.makeClean(),this.pop(pe)}loadView(pe,te,ae){return this.getObjectAndFormService.getObject$(pe.objectTip).pipe((0,T.q)(K=>this.throwErrorForDynamicObjectType(K,K.objectType.$tip)),(0,m.n)(K=>this.lifecycleWorkflowRedirect.redirectViaOutletWithObject(K,te).pipe((0,O.$)())),(0,D.W)(K=>ne(K,ae)),(0,m.n)(({object:K,redirected:de})=>{if(de)return(0,n.of)(null);const{component:Me,objectLaunchOverrides:me}=this.wellKnownType.loadViewConfig(K),be={...pe,object:K,...me};return this.replaceComponent(Me,be,te)}),(0,E.Q)(te))}loadCreateEdit(pe,te,ae){const K=Me=>{const me=o.h,be={...pe,formObjectAndType:Me};return this.replaceComponent(me,be,te)},de=Me=>this.throwErrorForDynamicObjectType(Me,Me.objectAndType.objectType.$tip).pipe((0,m.n)(me=>this.lifecycleWorkflowRedirect.redirectViaOutletWithFormAndObject(me,pe).pipe((0,O.$)())),(0,y.p)(me=>null!==me),(0,m.n)(me=>this.objectLaunchDefaultService.setSequenceFieldReadOnly(me)),(0,m.n)(me=>this.objectLaunchDefaultService.populateFormDefaultValues(me,pe)),(0,g.T)(me=>this.wellKnownType.loadEditCreateConfig(me,pe)),(0,m.n)(({formObjectAndType:me,component:be,objectLaunchOverrides:Le})=>{const Ae={...pe,formObjectAndType:me,...Le};return this.replaceComponent(be,Ae,te)}),(0,g.T)(ie));return this.getObjectAndFormService.getFormObjectAndType(pe).pipe((0,T.q)(Me=>Me.isSuperType?K(Me):de(Me)),(0,D.W)(Me=>ne(Me,ae)),(0,E.Q)(te))}replaceComponent(pe,te,ae){const{componentInstance:K}=this.sideSheetService.replace(pe,te);K.setProps&&K.setProps(te),te.monitorConnection&&(K.monitorConnection=te.monitorConnection);let de=null;return K.done$&&(de=K.done$.pipe((0,E.Q)(ae))),de||ae}throwErrorForDynamicObjectType(pe,te){return this.objectLaunchFormulasService.isRestrictedSystemType$(te).pipe((0,T.q)(ae=>ae?(0,a.$)({errorMessage:"Users cannot load dynamic system objects"}):(0,n.of)(pe)))}static#e=this.\u0275fac=function(te){return new(te||Q)(C.KVO(w.E),C.KVO(M.w),C.KVO(z),C.KVO(F.Z),C.KVO(U.$),C.KVO(k.N),C.KVO($))};static#t=this.\u0275prov=C.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})();function ie(Q){const{objectTip:le,defaultDashboardTip:pe}=Q;if(pe&&le){const te={redirectLocation:`app/s/dashboard/${encodeURIComponent(pe)}/${encodeURIComponent(le)}`,type:L.Ls.dashboard};return{...Q,redirect:te}}return{...Q,redirect:Q.redirect||null}}function ne(Q,le){return le.setProps({errorMessage:Q.errorMessage||"Error loading object."}),(0,a.$)(Q)}},82639:(at,N,s)=>{"use strict";s.d(N,{ub:()=>ie,Ls:()=>ne,W1:()=>Q,DU:()=>pe,D5:()=>le});var n=s(93953),a=s(60780),g=s(17128),m=s(7361),T=s(41722),O=s(20509),D=s(56076),E=s(67137);const y=ae=>60*ae,b=ae=>ae*(24*y(60)),L=({fieldTip:ae,label:K,options:de})=>({type:"option-list",templateOptions:{contextTypeTip:ae,label:K,options:de}}),o={name:"General security settings form",description:"",size:"regular",version:1,titleOverride:"Manage general security settings",contextType:{type:{$tip:"app/general-security-settings"}},tabs:[{tabName:"tab1",rows:[{fields:[L({fieldTip:"app/general-security-settings:session-expiration-timeout",label:"Session expiry",options:[{label:"1 day",value:b(1)},{label:"7 days",value:b(7)},{label:"14 days",value:b(14)},{label:"30 days",value:b(30)},{label:"90 days",value:b(90)}]})]},{fields:[L({fieldTip:"app/general-security-settings:session-inactivity-timeout",label:"Inactive session timeout",options:[{label:"No timeout",value:0},{label:"15 minutes",value:y(15)},{label:"20 minutes",value:y(20)},{label:"30 minutes",value:y(30)},{label:"60 minutes",value:y(60)}]})]},{fields:[L({fieldTip:"app/general-security-settings:invitation-expiration-time",label:"Email link expiry",options:[{label:"60 minutes",value:y(60)},{label:"1 day",value:b(1)},{label:"2 days",value:b(2)},{label:"7 days",value:b(7)},{label:"30 days",value:b(30)}]})]}]}]};var C=s(28342);const w={name:"API key form",description:"A form for an API key meta object",size:"regular",version:1,contextType:{type:{$tip:"app/api-key-meta",label:"API key"}},tabs:[{tabName:"tab1",rows:[{fields:[{type:"input",templateOptions:{type:"text",label:"Name",placeholder:"Enter API key name",contextTypeTip:"app/api-key-meta:name",required:!0}}]},{fields:[{wrappers:["side-sheet-section-wrapper"],type:"object-chooser",templateOptions:{label:"Profiles",placeholder:"Select profiles",typeTips:["app/profile"],contextTypeTip:"app/api-key-meta:profiles",multi:!0,required:!0,showBorder:!0,allowNavAway:!1,canCreateNew:!1}}]}]}]},M={name:"API key form",description:"A form for an API key meta object",size:"regular",version:1,contextType:{type:{$tip:"app/api-key-meta",label:"API key"}},tabs:[{tabName:"tab1",rows:[{fields:[{type:"input",templateOptions:{type:"text",label:"Name",placeholder:"Enter API key name",contextTypeTip:"app/api-key-meta:name",required:!0}}]},{fields:[{type:"display-formula",templateOptions:{label:"Creation date",formula:'\n              TO_DATETIME(\n                CONCAT(\n                  "@",\n                  FLOOR(SERVER_T("createdDate"))\n                )\n              )',isDateTime:!0}}]},{fields:[{type:"display-formula",templateOptions:{label:"Created by",formula:`\n                CONCAT(\n                  FIELD("app/user:email", SERVER_T("createdBy")),\n                  IF(\n                    EQUALS(\n                      SERVER_T("createdBy"),\n                      ${C.R0}\n                    ),\n                    " (you)",\n                    ""\n                  )\n                )\n              `}}]},{fields:[{wrappers:["side-sheet-section-wrapper"],type:"object-chooser",templateOptions:{label:"Profiles",placeholder:"Select profiles",typeTips:["app/profile"],contextTypeTip:"app/api-key-meta:profiles",multi:!0,required:!0,showBorder:!0,allowNavAway:!1,canCreateNew:!1}}]}]}]},q={name:"Branding settings form",description:"A form for Branding settings",size:"regular",version:1,contextType:{type:{$tip:"app/branding-settings",label:"Branding settings"}},tabs:[{tabName:"tab1",rows:[{fields:[{type:"input",templateOptions:{type:"text",contextTypeTip:"app/branding-settings:organisation-name",label:"Name of the organisation",placeholder:"Noggin"}}]},{fields:[{type:"file-upload",templateOptions:{contextTypeTip:"app/branding-settings:organisation-logo",label:"Company logo",placeholder:"Company logo",svgOptions:{concurrency:1,allowedContentTypes:["image/svg+xml"]},fileSecurityPolicyTip:"app/security-policy/instance-user-admin"}}]},{fields:[{type:"text-content",templateOptions:{label:"Text content",html:"<p>Please upload logo in SVG format with a transparent background. Note: This will be displayed on a dark blue background.</p>"}}]}]}]},z={name:"Number format form",description:"",size:"regular",version:1,titleOverride:"Define number format",contextType:{type:{$tip:"number-format"}},tabs:[{tabName:"Tab 1",rows:[{fields:[{type:"input",templateOptions:{type:"text",label:"Name",placeholder:"My custom format",contextTypeTip:"number-format:name",required:!0}}]},{fields:[{type:"number",templateOptions:{label:"Preview value",contextTypeTip:"number-format:preview-value",required:!0}}]},{fields:[{type:"number-format-preview",templateOptions:{}}]},{fields:[{type:"option-list",templateOptions:{label:"Calculations",placeholder:"Number",contextTypeTip:"number-format:calculations",options:[{label:"Number",value:void 0},{label:"Percent",value:"percentage"}]}}]},{fields:[{type:"input",templateOptions:{type:"text",label:"Prefix",placeholder:"",contextTypeTip:"number-format:prefix"}}]},{fields:[{type:"input",templateOptions:{type:"text",label:"Number suffix",placeholder:"",contextTypeTip:"number-format:suffix"}}]},{fields:[{type:"number",templateOptions:{label:"Decimal places",contextTypeTip:"number-format:decimal-places",numberFormat:"normal"}}]},{fields:[{type:"input",templateOptions:{type:"text",label:"Thousands separator",contextTypeTip:"number-format:thousands-separator"}}]},{fields:[{type:"input",templateOptions:{type:"text",label:"Decimal separator",placeholder:".",contextTypeTip:"number-format:decimal-separator"}}]}]}]},Y={name:"Locale settings form",description:"A form for setting the timezone",size:"regular",version:1,contextType:{type:{$tip:"app/type/locale",label:"timezone"}},tabs:[{tabName:"tab1",rows:[{fields:[(({fieldTip:ae,label:K,searchBox:de,options:Me})=>({type:"option-list",templateOptions:{contextTypeTip:ae,label:K,searchBox:de,options:Me}}))({fieldTip:"app/type/locale:timezone",label:"Timezone",searchBox:!0,options:(0,s(73439).UJ)(!1)})]}]}]},x={name:"Locale dialing code settings form",description:"A form for setting the dialing code",size:"regular",version:1,contextType:{type:{$tip:"app/type/locale",label:"international dialing code"}},tabs:[{tabName:"tab1",rows:[{fields:[(({fieldTip:ae,label:K})=>({type:"input",templateOptions:{contextTypeTip:ae,label:K,min:1,type:"number",pattern:/^(\+?\d{1,3}|\d{1,4})$/,placeholder:"Enter international dialing code",maxLength:4}}))({fieldTip:"app/type/locale:internationaldialingcode",label:"International dialing code"})]}]}]};var B=s(67376),j=s(14531),$=s(65454),H=s(5002);const ie=new n.nKC("ObjectLaunchService");var ne=function(ae){return ae.dashboard="dashboard",ae.workflow="workflow",ae}(ne||{}),Q=function(ae){return ae.SHIFT_PATTERN="app/shift-pattern",ae.EMAIL_INBOUND="app/email/inbound",ae.EMAIL_OUTBOUND="app/email/outbound",ae.GROUP="app/group",ae.PLAN="app/plan",ae.PROTECTIVE_MARKING="app/au-gov/protective-marking",ae.PROTECTIVE_MARKING_SETTINGS="app/au-gov/protective-markings-settings",ae.GENERAL_SECURITY_SETTINGS="app/general-security-settings",ae.API_KEY_META="app/api-key-meta",ae.BRANDING_SETTINGS="app/branding-settings",ae.GLOBAL_NAVIGATION_SETTINGS="app/global-navigation-settings",ae.LOCALE_SETTINGS="app/type/locale",ae.NUMBER_FORMAT="number-format",ae.CALENDAR_EVENT="app/calendar-event",ae.SHIFT="app/shift",ae}(Q||{});const le=["app/plan"];function pe({objectType:ae,formObjectAndType:K,allFeatureFlagsMap:de,params:Me}){const me={[Q.GROUP]:{[O.c.CREATE]:{component:a.X,objectLaunchOverrides:{},formObjectAndType:K},[O.c.EDIT]:{component:g.X,objectLaunchOverrides:{},formObjectAndType:K}},[Q.PLAN]:{[O.c.VIEW]:{component:D.D,objectLaunchOverrides:{},formObjectAndType:K},[O.c.EDIT]:{component:D.D,objectLaunchOverrides:{},formObjectAndType:K}},[Q.SHIFT_PATTERN]:{[O.c.CREATE]:{component:T.m,objectLaunchOverrides:{},formObjectAndType:K},[O.c.EDIT]:{component:T.m,objectLaunchOverrides:{shiftPatternTip:(0,B.get)(K,"objectAndType.objectData.$tip")},formObjectAndType:K}},[Q.EMAIL_INBOUND]:{[O.c.VIEW]:{component:m.c,objectLaunchOverrides:{tip:(0,B.get)(K,"objectAndType.objectData.$tip"),isOriginOutbound:!1},formObjectAndType:K}},[Q.EMAIL_OUTBOUND]:{[O.c.VIEW]:{component:m.c,objectLaunchOverrides:{tip:(0,B.get)(K,"objectAndType.objectData.$tip"),isOriginOutbound:!0},formObjectAndType:K}},[Q.CALENDAR_EVENT]:{[O.c.CREATE]:{component:j.v,objectLaunchOverrides:{objectType:"OBJECT"}},[O.c.EDIT]:{component:j.v,objectLaunchOverrides:{objectType:"OBJECT"}}}};(0,B.isMap)(de)&&de.get(H.g.FEATURE_EIM_17166_OPEN_CUSTOM_SHIFT_FORM)&&(me[Q.SHIFT]={[O.c.CREATE]:{component:$.i,objectLaunchOverrides:{},formObjectAndType:K},[O.c.EDIT]:{component:$.i,objectLaunchOverrides:{},formObjectAndType:K}});const be={hideSecurityOptions:!0},Le=ht=>({component:E.Q,objectLaunchOverrides:be,formObjectAndType:te({formObjectAndType:K,customForm:ht})});me[Q.API_KEY_META]={[O.c.CREATE]:Le(w),[O.c.EDIT]:Le(M)};const Oe={component:E.Q,objectLaunchOverrides:{hideSecurityOptions:!0,securityPolicyTip:"app/security-policy/instance-user-admin"},formObjectAndType:K};me[Q.PROTECTIVE_MARKING]={[O.c.CREATE]:Oe,[O.c.EDIT]:Oe};const Pe={component:E.Q,objectLaunchOverrides:{hideSecurityOptions:!0},formObjectAndType:K};me[Q.PROTECTIVE_MARKING_SETTINGS]={[O.c.EDIT]:Pe};const ze={component:E.Q,objectLaunchOverrides:{hideSecurityOptions:!0},formObjectAndType:te({formObjectAndType:K,customForm:o})};me[Q.GENERAL_SECURITY_SETTINGS]={[O.c.EDIT]:ze};const Ye={component:E.Q,objectLaunchOverrides:{hideSecurityOptions:!0},formObjectAndType:te({formObjectAndType:K,customForm:q})};me[Q.BRANDING_SETTINGS]={[O.c.EDIT]:Ye};const Ct={hideSecurityOptions:!0};if((0,B.isMap)(de)){const ht={component:E.Q,objectLaunchOverrides:Ct,formObjectAndType:te({formObjectAndType:K,customForm:"dialingCode"===Me?.queryParams?x:Y})};me[Q.LOCALE_SETTINGS]={[O.c.EDIT]:ht}}const Vt={component:E.Q,objectLaunchOverrides:{hideSecurityOptions:!0,securityPolicyTip:"app/security-policy/instance-user-admin"},formObjectAndType:te({formObjectAndType:K,customForm:z})};return me[Q.NUMBER_FORMAT]={[O.c.EDIT]:Vt,[O.c.CREATE]:Vt},me[ae]}function te({formObjectAndType:ae,customForm:K}){return{...ae,form:K}}},24424:(at,N,s)=>{"use strict";s.d(N,{h:()=>w});var n=s(67376),g=s(21413),m=s(56977),T=s(2937),O=s(55516),D=s(82639),E=s(93953),y=s(51229),I=s(19937);const b=()=>["label","module"];function L(M,q){if(1&M&&(E.j41(0,"div",9),E.EFF(1),E.k0s()),2&M){const z=E.XpG().$implicit;E.R7$(),E.JRh(z.module)}}function o(M,q){if(1&M){const z=E.RV6();E.j41(0,"app-side-sheet-list-item",6),E.bIt("toggle",function(U){E.eBV(z);const k=E.XpG();return E.Njj(k.onToggle(U))}),E.j41(1,"div",7)(2,"div"),E.EFF(3),E.k0s(),E.DNE(4,L,2,1,"div",8),E.k0s()()}if(2&M){const z=q.$implicit,F=E.XpG();E.Y8G("value",z.$tip===F.selectedTypeTip)("key",z.$tip)("toggleType",F.ToggleType.SINGLE_CHECK),E.R7$(3),E.JRh(z.label),E.R7$(),E.Y8G("ngIf",z.module)}}function C(M,q){1&M&&E.nrm(0,"app-empty-state",10)}let w=(()=>{class M{constructor(z,F,U){this.queryService=z,this.toastService=F,this.objectLaunchService=U,this.isLoading=!0,this.types=[],this.done$=new g.B,this.unsubscribe$=new g.B,this.ToggleType=T.T,this.filterText=""}ngOnInit(){this.loadObjectTypes()}setProps(z){this.superTypeTip=z.typeTip}loadObjectTypes(){this.queryService.execute1dFirst(O.R.GET_ALL_OBJECTS_TYPES_WITH_SUPER_TYPES,{vars:{superTypeTip:[this.superTypeTip]}}).pipe((0,m.Q)(this.unsubscribe$)).subscribe(z=>{this.types=(0,n.sortBy)(z,"label"),this.isLoading=!1},()=>{this.toastService.showErrorToast("Unable to load types"),this.objectLaunchService.pop(),this.isLoading=!1})}onToggle(z){this.selectedTypeTip=this.selectedTypeTip===z?"":z,this.onPrimary()}onPrimary(){this.objectLaunchService.pushSheet({typeTip:this.selectedTypeTip},this.unsubscribe$).subscribe(({objectTip:z})=>{z&&(this.objectLaunchService.pop(),this.done$.next({objectTip:z}))})}ngOnDestroy(){this.done$.complete(),this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(F){return new(F||M)(E.rXU(y.c),E.rXU(I.f),E.rXU(D.ub))};static#t=this.\u0275cmp=E.VBU({type:M,selectors:[["app-object-type-side-sheet"]],decls:9,vars:10,consts:()=>{let z,F;return z="No types",F="Select Type",[F,[3,"appSpinner"],[3,"showBorder"],[3,"filterTextChange","filterText"],[3,"value","key","toggleType","toggle",4,"ngFor","ngForOf"],["imgSrc","assets/img/empty-states/no-groups.svg","label",z,4,"ngIf"],[3,"toggle","value","key","toggleType"],[1,"p-1"],["class","module",4,"ngIf"],[1,"module"],["imgSrc","assets/img/empty-states/no-groups.svg","label",z]]},template:function(F,U){1&F&&(E.j41(0,"app-side-sheet-header"),E.pXf(1,0),E.k0s(),E.j41(2,"div",1)(3,"app-side-sheet-section",2)(4,"app-filter-and-add",3),E.mxI("filterTextChange",function(Y){return E.DH7(U.filterText,Y)||(U.filterText=Y),Y}),E.k0s()(),E.j41(5,"app-side-sheet-section"),E.DNE(6,o,5,5,"app-side-sheet-list-item",4),E.nI1(7,"filter"),E.k0s()(),E.DNE(8,C,1,0,"app-empty-state",5)),2&F&&(E.R7$(2),E.Y8G("appSpinner",U.isLoading),E.R7$(),E.Y8G("showBorder",!1),E.R7$(),E.R50("filterText",U.filterText),E.R7$(2),E.Y8G("ngForOf",E.brH(7,5,U.types,U.filterText,E.lJ4(9,b))),E.R7$(2),E.Y8G("ngIf",!(U.isLoading||U.types.length)))},styles:[".module[_ngcontent-%COMP%]{font-size:.8em}"]})}return M})()},65906:(at,N,s)=>{"use strict";s.d(N,{J:()=>T});var n=s(84412),a=s(93953);function g(O,D){if(1&O&&(a.j41(0,"app-alert",2),a.EFF(1),a.k0s()),2&O){const E=D.ngIf;a.R7$(),a.JRh(E)}}function m(O,D){if(1&O&&a.nrm(0,"div",3),2&O){const E=a.XpG();a.Y8G("appSpinner",E.showSpinner)}}let T=(()=>{class O{constructor(){this.errorMessage$=new n.t(null),this.showSpinner=!1}setProps({errorMessage:E}){this.errorMessage$.next(E)}ngOnDestroy(){this.errorMessage$.complete()}static#e=this.\u0275fac=function(y){return new(y||O)};static#t=this.\u0275cmp=a.VBU({type:O,selectors:[["app-placeholder-side-sheet"]],decls:5,vars:4,consts:[["loading",""],["type","danger",4,"ngIf","ngIfElse"],["type","danger"],[1,"mt-3",3,"appSpinner"]],template:function(y,I){if(1&y&&(a.nrm(0,"app-side-sheet-header"),a.DNE(1,g,2,1,"app-alert",1),a.nI1(2,"async"),a.DNE(3,m,1,1,"ng-template",null,0,a.C5r)),2&y){const b=a.sdS(4);a.R7$(),a.Y8G("ngIf",a.bMT(2,2,I.errorMessage$))("ngIfElse",b)}},changeDetection:0})}return O})()},59854:(at,N,s)=>{"use strict";s.d(N,{s:()=>w,U:()=>M});var n=s(67376),a=s(84572),g=s(96354),m=s(61594),T=s(25558),O=s(70274),D=s(34775),E=s(48636);const y={"app/group:name":{type:E.U.i18n},"app/group:description":{type:E.U.i18n},"app/group:parent":{type:E.U.string},"app/group:contacts":{type:E.U.stringArray}};var I=s(55516),b=s(93953),L=s(51229),o=s(76087),C=s(44667);const w="Access denied";let M=(()=>{class q{constructor(F,U,k){this.queryService=F,this.formulaService=U,this.objectService=k}getRootGroups(F,U,k){const Y={dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:F,limit:U,sortby:['FIELD("app/group:name")'],sortdir:["asc"]}]},x=k?(0,D.CD)(Y,["app/group"],k):Y;return this.queryService.execute1dFirst(I.R.GET_ROOT_GROUPS,x)}getGroupContents(F,U,k,Y){if(!F)return this.getRootGroups(U,k,Y);const x={vars:{parentTip:[F]},dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:U,limit:k}]},B=Y?(0,D.CD)(x,["app/group"],Y):x;return this.queryService.execute1dFirst(I.R.GET_SUB_GROUPS,B)}getGroupCrumbs(F){return this.formulaService.evaluate('ARRAY(TIP(), TITLE(), MAP(DESCENDANTS("app/group:parent"), ARRAY(VAR("Tip"), TITLE(VAR("Tip"))), "Tip"))',F).pipe((0,g.T)(k=>{const Y=[];for(let x=0;x<k.length;x+=2)Y.push({$tip:k[x],name:k[x+1],description:null});return Y.reverse()}))}createGroup(F,U,k){const Y={$security:"app/security-policy/instance-user-user",$type:"app/group",name:F,description:U};return k&&(Y.parent=k),this.objectService.setObject(Y,y).pipe((0,g.T)(x=>(0,n.merge)(Y,{$tip:x[0].tip,$sid:x[0].sid})))}getGroup$(F){return this.objectService.getObject(F,y)}moveGroups(F,U){return(0,a.z)(F.map(k=>this.objectService.getObject(k,y).pipe((0,m.$)()))).pipe((0,T.n)(k=>(k.forEach(Y=>Y.parent=U),this.objectService.setObjects(k,[y]))))}deleteGroups(F){return this.objectService.deleteObjects(F.map(U=>({$tip:U})))}getSelectableContacts(F,U,k,Y,x){const B={vars:{groupTip:[F],contactTypeTip:[U]},extraFilters:[],dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:k,limit:Y,sortby:["TITLE()"],sortdir:["asc"]}]},j=x?(0,D.CD)(B,[U],x):B;return this.queryService.execute1dFirst(I.R.GET_ALL_CONTACTS_OF_TYPE_AND_NOT_IN_GROUP,j)}addContactsToGroup(F,U){return F.contacts=F.contacts&&F.contacts.length?(0,n.union)(F.contacts,U):U,this.objectService.setObject(F,y)}getContactsFromGroup(F,U,k){return this.queryService.execute1dFirst(I.R.GET_CONTACTS_FROM_GROUP,{vars:{groupTip:[F]},dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:U,limit:k,sortby:["TITLE()"],sortdir:["asc"]}]})}moveContacts$(F,U,k){return this.removeContactsFromGroup$(U,F).pipe((0,O.H)(()=>this.addContactsToGroup(k,F)))}removeContactsFromGroup$(F,U){return this.getGroup$(F).pipe((0,m.$)(),(0,T.n)(k=>(k.contacts=k.contacts.filter(Y=>!U.includes(Y)),this.objectService.setObject(k,y))))}static#e=this.\u0275fac=function(U){return new(U||q)(b.KVO(L.c),b.KVO(o.C),b.KVO(C.T))};static#t=this.\u0275prov=b.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})()},60780:(at,N,s)=>{"use strict";s.d(N,{X:()=>y});var n=s(89417),a=s(61594),g=s(21413),m=s(69172),T=s(93953),O=s(59854),D=s(50337),E=s(19937);let y=(()=>{class I{constructor(L,o,C){this.groupsService=L,this.sideSheetService=o,this.toastService=C,this.groupForm=new n.gE({name:new n.MJ("",n.k0.required),description:new n.MJ("")}),this.LoadingState=m.Gu,this.done$=new g.B}onPrimary(){this.loadingState=m.Gu.inProgress,this.groupsService.createGroup(this.groupForm.value.name,this.groupForm.value.description,this.parentGroupTip).pipe((0,a.$)()).subscribe(({$tip:L})=>{this.toastService.showToastMessage("Group saved","SUCCESS"),this.done$.next({objectTip:L}),this.sideSheetService.pop()},()=>{this.toastService.showToastMessage("Unable to save group","FAILURE"),this.loadingState=m.Gu.failed})}ngOnDestroy(){this.done$.complete()}static#e=this.\u0275fac=function(o){return new(o||I)(T.rXU(O.U),T.rXU(D.E),T.rXU(E.f))};static#t=this.\u0275cmp=T.VBU({type:I,selectors:[["app-group-create-side-sheet"]],decls:6,vars:5,consts:()=>{let L,o,C,w,M,q;return L="Save",o="Name",C="Enter a name",w="Description",M="Enter a description",q="Create group",[q,["action",L,3,"actioned","disabled","showCancelButton"],[1,"modal-body",3,"appSpinner"],[3,"formGroup"],["formControlName","name","label",o,"placeholder",C,"data-test","group-name",3,"required"],["formControlName","description","label",w,"placeholder",M,"data-test","group-description"]]},template:function(o,C){1&o&&(T.j41(0,"app-side-sheet-header",1),T.bIt("actioned",function(){return C.onPrimary()}),T.pXf(1,0),T.k0s(),T.j41(2,"div",2)(3,"form",3),T.nrm(4,"app-text-field",4)(5,"app-multi-text-field",5),T.k0s()()),2&o&&(T.Y8G("disabled",C.groupForm.invalid||C.loadingState===C.LoadingState.inProgress)("showCancelButton",!0),T.R7$(2),T.Y8G("appSpinner",C.loadingState===C.LoadingState.inProgress),T.R7$(),T.Y8G("formGroup",C.groupForm),T.R7$(),T.Y8G("required",!0))}})}return I})()},17128:(at,N,s)=>{"use strict";s.d(N,{X:()=>H});var n=s(21413),a=s(84572),g=s(56977),m=s(25558),T=s(61594),O=s(69172),D=s(68030),E=s(67376),I=s(32803),b=s(5002),L=s(93953),o=s(59854),C=s(8076),w=s(50337),M=s(19937),q=s(29968),z=s(52168),F=s(50701),U=s(10506),k=s(14784);function Y(ie,ne){if(1&ie&&(L.j41(0,"app-alert",7),L.pXf(1,1),L.k0s()),2&ie){const Q=L.XpG();L.R7$(),L.uP7(Q.errorType),L.nnv(1)}}function x(ie,ne){if(1&ie){const Q=L.RV6();L.j41(0,"div",12)(1,"button",13),L.bIt("click",function(){L.eBV(Q);const pe=L.XpG(2);return L.Njj(pe.setSecurity())}),L.nrm(2,"span",14),L.k0s()()}}function B(ie,ne){if(1&ie){const Q=L.RV6();L.j41(0,"button",15),L.bIt("click",function(){L.eBV(Q);const pe=L.XpG(2);return L.Njj(pe.showDeleteModal())}),L.pXf(1,2),L.k0s()}}function j(ie,ne){if(1&ie&&(L.DNE(0,x,3,0,"div",8),L.nrm(1,"app-object-edit-form",9),L.j41(2,"div",10),L.DNE(3,B,2,0,"button",11),L.k0s()),2&ie){const Q=L.XpG();L.Y8G("ngIf",Q.isSecurityEnabled&&!Q.readonly),L.R7$(),L.Y8G("objectType",Q.objectType)("objectData",Q.objectData)("readonly",Q.readonly),L.R7$(2),L.Y8G("ngIf",!Q.readonly&&Q.canDelete)}}var $=function(ie){return ie.default="default",ie.save="save",ie.delete="delete",ie}($||{});let H=(()=>{class ie{constructor(Q,le,pe,te,ae,K,de,Me,me,be){this.groupsService=Q,this.objectService=le,this.sideSheetService=pe,this.toastService=te,this.cdr=ae,this.modalService=K,this.router=de,this.securityService=Me,this.featureFlagStateService=me,this.meService=be,this.objectTypeTip="app/group",this.securityPolicyTip="app/security-policy/instance-user-admin",this.readonly=!1,this.state=O.Gu.inProgress,this.errorType=$.default,this.LoadingState=O.Gu,this.done$=new n.B,this.canDelete=!0,this.securityData=null,this.unsubscribe$=new n.B,this.isSecurityEnabled=this.featureFlagStateService.isFeatureEnabled(b.g.FEATURE_EIM_9754_GROUP_SECURITIES)}ngOnInit(){this.meService.isAdmin$().pipe((0,g.Q)(this.unsubscribe$)).subscribe(Q=>{this.isAdmin=Q})}ngAfterViewInit(){(0,a.z)([this.securityService.canUpdate(this.objectTip),this.securityService.canDelete(this.objectTip),this.objectService.getObjectAndType(this.objectTip,this.objectBranchTip)]).pipe((0,g.Q)(this.unsubscribe$)).subscribe(([Q,le,pe])=>{this.objectType=pe.objectType,this.objectScheme=pe.objectScheme,this.objectData=pe.objectData,this.objectType.field=this.objectType.field.filter(te=>"app/group:contacts"!==te.$tip&&"app/group:parent"!==te.$tip),this.readonly=!Q,this.canDelete=le,this.state=O.Gu.loaded,this.cdr.detectChanges()},()=>{this.toastService.showErrorToast("Unable to open group form at this time"),this.sideSheetService.pop()})}setProps({objectTip:Q}){this.objectTip=Q}ngOnDestroy(){this.done$.complete(),this.unsubscribe$.next(),this.unsubscribe$.complete()}onSave(){this.state=O.Gu.inProgress,this.securityService.setObjectSecurity(this.objectData,this.securityData).pipe((0,m.n)(Q=>this.objectService.updateObject(Q,this.objectScheme,this.objectBranchTip))).subscribe(()=>{this.done$.next({objectTip:this.objectTip}),this.toastService.showSuccessToast("Saved "+this.objectType.label+" successfully"),this.sideSheetService.pop()},()=>{this.errorType=$.save,this.state=O.Gu.failed,this.cdr.detectChanges()})}showDeleteModal(){const Q=this.modalService.open(D.F,D.G);Q.componentInstance.objectType="group",Q.result.then(pe=>pe?this.onDelete():null).catch(()=>{})}onDelete(){this.state=O.Gu.inProgress,this.groupsService.deleteGroups([this.objectTip]).pipe((0,T.$)()).subscribe(()=>{this.done$.next({objectTip:this.objectTip,deleted:!0}),this.toastService.showSuccessToast("Deleted "+this.objectType.label+"  successfully"),this.sideSheetService.clear(),this.router.navigateByUrl("/app/s/groups/all")},()=>{this.errorType=$.delete,this.state=O.Gu.failed})}setSecurity(){const Q=(0,E.get)(this.objectData,"$security"),le=(0,E.get)(this.securityData,"bespokeSecurityPolicy",null),pe=(0,E.get)(this.securityData,"securityPolicyTip",null);this.sideSheetService.pushV2(I.$,{bespokeSecurityPolicy:le,securityPolicyTip:le?null:pe||Q,canAdd:this.isAdmin,onDone:(te,ae)=>{this.securityData={securityPolicyTip:te,bespokeSecurityPolicy:ae}}})}static#e=this.\u0275fac=function(le){return new(le||ie)(L.rXU(o.U),L.rXU(C.T),L.rXU(w.E),L.rXU(M.f),L.rXU(L.gRc),L.rXU(q.Bq),L.rXU(z.Ix),L.rXU(F.i),L.rXU(U.F),L.rXU(k.Q))};static#t=this.\u0275cmp=L.VBU({type:ie,selectors:[["app-group-edit-side-sheet"]],decls:5,vars:6,consts:()=>{let Q,le,pe,te;return Q="Save",le="Edit " + "\ufffd0\ufffd" + "",pe="{VAR_SELECT, select, default {Unable to perform requested action at this time.} save {Unable to save group at this time.} delete {Unable to delete group at this time.}}",pe=L.k04(pe,{VAR_SELECT:"\ufffd0\ufffd"}),te="Delete",[le,pe,te,["action",Q,3,"actioned","disabled","showCancelButton"],[1,"modal-body",3,"appSpinner"],["type","danger",4,"ngIf"],[3,"ngIf"],["type","danger"],["buttons","","class","text-right mb-1",4,"ngIf"],[3,"objectType","objectData","readonly"],[1,"form-options","d-flex","justify-content-center"],["type","button","class","btn btn-danger delete-button-contrast-updated-color","data-test","delete-button",3,"click",4,"ngIf"],["buttons","",1,"text-right","mb-1"],["data-test","edit-security-button",1,"btn","btn-secondary","btn-social","ml-1",3,"click"],[1,"mdi","mdi-lock"],["type","button","data-test","delete-button",1,"btn","btn-danger","delete-button-contrast-updated-color",3,"click"]]},template:function(le,pe){1&le&&(L.j41(0,"app-side-sheet-header",3),L.bIt("actioned",function(){return pe.onSave()}),L.pXf(1,0),L.k0s(),L.j41(2,"div",4),L.DNE(3,Y,2,1,"app-alert",5)(4,j,4,5,"ng-template",6),L.k0s()),2&le&&(L.Y8G("disabled",!pe.objectType||!pe.objectData||pe.readonly||pe.state===pe.LoadingState.inProgress)("showCancelButton",!0),L.R7$(),L.uP7(null==pe.objectType?null:pe.objectType.label),L.nnv(1),L.R7$(),L.Y8G("appSpinner",pe.state===pe.LoadingState.inProgress),L.R7$(),L.Y8G("ngIf",pe.state===pe.LoadingState.failed),L.R7$(),L.Y8G("ngIf",pe.objectType&&pe.objectData))}})}return ie})()},25793:(at,N,s)=>{"use strict";s.d(N,{YN:()=>m,e2:()=>T,lD:()=>O});var n=s(67376),g=s(40673);function m(D){if(!D)return"";if((0,n.isString)(D))return D;for(const y of g.Ay.ACCEPTABLE_LOCALE_IDS)if((0,n.isString)(D[y]))return D[y];const E=(0,n.values)(D)[0];return(0,n.isString)(E)?E:""}function T(D,E){if(void 0===E)return{[g.Ay.LOCALE_ID]:D};if((0,n.isString)(E))return g.Ay.LOCALE_ID===g.Ay.LANG_DEFAULT?{[g.Ay.LOCALE_ID]:D}:{[g.Ay.LANG_DEFAULT]:E,[g.Ay.LOCALE_ID]:D};const y={...E};return y[g.Ay.LOCALE_ID]=D,y}function O(D){if(!D)return[];const E=(0,n.get)(D,[0,"value"],[]),y=(0,n.chain)(D).keyBy("lang").mapValues("value").value(),I=E.length,b=[];for(let L=0;L<I;L++){for(const o of g.Ay.ACCEPTABLE_LOCALE_IDS){const C=y[o];if(C&&C[L]){b.push(C[L]);break}}if(!b[L]){const o=(0,n.find)(D,C=>!!(0,n.get)(C,["value",L]));b.push((0,n.get)(o,["value",L])||"")}}return b}},49046:(at,N,s)=>{"use strict";s.d(N,{L:()=>g});var n=s(60177),a=s(93953);let g=(()=>{class m{static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275mod=a.$C({type:m});static#n=this.\u0275inj=a.G2t({imports:[n.MD]})}return m})()},18819:(at,N,s)=>{"use strict";s.d(N,{s:()=>k});var n=s(89417),a=s(84412),g=s(21413),m=s(84572),T=s(56977),O=s(61594),D=s(25558),E=s(57353),y=s(93953),I=s(99539),b=s(50337),L=s(52168),o=s(19937),C=s(32099),w=s(14784),M=s(50701),q=s(73427),z=s(8524),F=s(44225),U=s(60177);let k=(()=>{class Y{constructor(B,j,$,H,ie,ne,Q,le,pe){this.fb=B,this.exportCsvService=j,this.sideSheetService=$,this.router=H,this.toastService=ie,this.loggerService=ne,this.cdr=Q,this.meService=le,this.securityService=pe,this.form=this.fb.group({typeTip:[null,n.k0.required],queryAndFilter:[null],fileSecurityPolicy:[null,n.k0.required],showReferenceTitles:[null],convertHtmlToPlain:[null],showMatchingKeys:[null],includeLegacyHeader:[null],excludeNogginId:[null],useSystemLocale:[null],useListLabelsInsteadOfKeys:[null]}),this.model={},this.options={formState:{isAdmin:!1}},this.disabled=!1,this.loading$=new a.t(!1),this.destroy$=new g.B}ngOnInit(){(0,m.z)([this.meService.isAdmin$(),this.securityService.getNewObjectSecurityPolicyTip$()]).pipe((0,T.Q)(this.destroy$)).subscribe(([B,j])=>{if(this.options.formState.isAdmin=B,this.model.fileSecurityPolicy||(this.model.fileSecurityPolicy=j),this.fields=(0,E.i)({contextTypeTip:this.typeTip,contextTypeTitle:this.typeTitle,defaultFileSecurityPolicy:j}).filter($=>"hideExportSetting"!==$.key),this.disabled&&this.fields.length){const $=this.fields.find(H=>"typeTip"===H.key);$&&($.templateOptions.disabled=this.disabled)}this.cdr.detectChanges()}),this.form.get("typeTip").valueChanges.pipe((0,T.Q)(this.destroy$)).subscribe(()=>this.form.get("queryAndFilter")?.setValue(null))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setProps(B){this.model={...this.model,...B},this.form.patchValue(this.model),this.disabled=B.disabled,this.typeTip=B.typeTip,this.typeTitle=B.typeTitle,this.contextTip=B.contextTip||null}createExport(){this.loading$.getValue()||(this.loading$.next(!0),this.exportCsvService.getCreateExportParams(this.model,this.contextTip).pipe((0,O.$)(),(0,D.n)(B=>this.exportCsvService.create(B))).subscribe(B=>{this.loading$.next(!1),this.sideSheetService.clear(),this.router.navigate(["app","s",{outlets:{sidesheet:["import-export","export","export-tracking",B]}}])},B=>{this.loading$.next(!1),this.loggerService.error(B),this.toastService.showErrorToast(B.error&&B.error.message?B.error.message:"Unable to create export. Please try again later.")}))}static#e=this.\u0275fac=function(j){return new(j||Y)(y.rXU(n.ok),y.rXU(I.a),y.rXU(b.E),y.rXU(L.Ix),y.rXU(o.f),y.rXU(C.g),y.rXU(y.gRc),y.rXU(w.Q),y.rXU(M.i))};static#t=this.\u0275cmp=y.VBU({type:Y,selectors:[["app-create-export-side-sheet"]],decls:5,vars:9,consts:[["action","Export",3,"actioned","disabled"],[1,"pt-2",3,"formGroup","appSpinner"],[3,"fields","model","form","options"]],template:function(j,$){1&j&&(y.j41(0,"app-side-sheet-header",0),y.bIt("actioned",function(){return $.createExport()}),y.EFF(1,"Export"),y.k0s(),y.j41(2,"form",1),y.nI1(3,"async"),y.nrm(4,"formly-form",2),y.k0s()),2&j&&(y.Y8G("disabled",$.form.invalid),y.R7$(2),y.Y8G("formGroup",$.form)("appSpinner",y.bMT(3,7,$.loading$)),y.R7$(2),y.Y8G("fields",$.fields)("model",$.model)("form",$.form)("options",$.options))},dependencies:[q.R,z.aF,n.qT,n.cb,n.j4,F.b,U.Jj],changeDetection:0})}return Y})()},99539:(at,N,s)=>{"use strict";s.d(N,{a:()=>z});var n=s(67376),a=s(84572),g=s(96354),m=s(25558),T=s(44668),O=s(50835),D=s(17338),E=s(89182),y=s(48636);const I={"app/export-tracking:context-type":{type:y.U.string},"app/export-tracking:query":{type:y.U.string},"app/export-tracking:status":{type:y.U.string},"app/export-tracking:processed":{type:y.U.number},"app/export-tracking:query-errors":{type:y.U.stringArray},"app/export-tracking:csv":{type:y.U.string}};var b=s(93953),L=s(8142),o=s(44667),C=s(12225),w=s(76087),M=s(76151);const q=`${O.c.host}${O.c.exportServicePath}`;let z=(()=>{class U{constructor(Y,x,B,j,$,H){this.authHttp=Y,this.objectService=x,this.allObjectTypesService=B,this.formulaService=j,this.filterInputService=$,this.currentDatetimeService=H}create(Y){return this.authHttp.post(`${q}/export-to-csv`,Y).pipe((0,g.T)(B=>(0,n.get)(B,"trackingTip",null)))}getCreateExportParams({typeTip:Y,queryAndFilter:x,fileSecurityPolicy:B,showReferenceTitles:j,convertHtmlToPlain:$,showMatchingKeys:H,includeLegacyHeader:ie,useSystemLocale:ne,excludeNogginId:Q,useListLabelsInsteadOfKeys:le},pe){return this.filterInputService.convertFilterInputsToVars(x.filterInputs,pe).pipe((0,g.T)(te=>(te[D.t]=[this.currentDatetimeService.getCurrentDatetime()],{typeTip:Y,queryAndFilter:x,vars:te,fileSecurityPolicy:B,showReferenceTitles:j,convertHtmlToPlain:$,showMatchingKeys:H,includeLegacyHeader:ie,useSystemLocale:ne,excludeNogginId:Q,showListLabels:le})))}getTrackingResult(Y){let x=null,B=null;return this.objectService.getObject(Y,I).pipe((0,m.n)(j=>{const $=`${j.contextType}${j.query}`;return $!==x&&(x=$,B=this.getMetaDisplayInformation(j).pipe((0,T.t)())),B.pipe((0,g.T)(([H,ie])=>({...j,displayStatus:F(j.status),objectLabel:H,filterLabel:ie,failedToDownload:j.status===E.F.FAILED,disableDownload:!j.csv||j.status===E.F.FAILED})))}))}getMetaDisplayInformation(Y){const{contextType:x,query:B}=Y,j=this.allObjectTypesService.getObjectType$(x).pipe((0,g.T)(H=>H.label)),$=this.formulaService.evaluate(`TITLE("${B}")`).pipe((0,g.T)(n.head));return(0,a.z)([j,$])}static#e=this.\u0275fac=function(x){return new(x||U)(b.KVO(L.V),b.KVO(o.T),b.KVO(C.b),b.KVO(w.C),b.KVO(M.O),b.KVO(D.Y))};static#t=this.\u0275prov=b.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();function F(U){return U===E.F.COMPLETED?"Export complete":U===E.F.FAILED?"Export failed":"Exporting"}},57353:(at,N,s)=>{"use strict";s.d(N,{i:()=>n});const n=({contextTypeTip:a,contextTypeTitle:g,defaultFileSecurityPolicy:m})=>[{key:"typeTip",type:"app-formly-type-chooser",className:"eim-noggin-form-row",templateOptions:{label:"Object type",includeSystemTypes:!1,includeSuperTypes:!1,required:!0},expressionProperties:{"templateOptions.importUsers":"formState.isAdmin"}},{key:"queryAndFilter",type:"query-chooser",className:"eim-noggin-form-row",templateOptions:{label:"Filter for selection",placeholder:"Select filter",required:!0,withFilterInputs:!1,moduleTip:null,formContext:a||"",formContextTitle:g||""},expressionProperties:{"templateOptions.objectTypeTip":"model.typeTip"},hideExpression:"!model.typeTip"},{key:"fileSecurityPolicy",type:"security-policy-chooser",className:"eim-noggin-form-row",defaultValue:m,templateOptions:{label:"Output file security policy",placeholder:"",required:!0},hideExpression:"!model.typeTip"},{key:"showReferenceTitles",type:"checkbox",className:"eim-noggin-form-row",defaultValue:!1,templateOptions:{label:"Export reference object titles instead of IDs"},hideExpression:"!model.typeTip"},{key:"convertHtmlToPlain",type:"checkbox",className:"eim-noggin-form-row",defaultValue:!1,templateOptions:{label:"Convert rich text fields to plain text"},hideExpression:"!model.typeTip"},{key:"showMatchingKeys",type:"checkbox",className:"eim-noggin-form-row",defaultValue:!1,templateOptions:{label:"Show matching keys"},hideExpression:"!model.typeTip"},{key:"includeLegacyHeader",type:"checkbox",className:"eim-noggin-form-row",defaultValue:!1,templateOptions:{label:"Include legacy header"},hideExpression:"!model.typeTip"},{key:"excludeNogginId",type:"checkbox",className:"eim-noggin-form-row",defaultValue:!1,templateOptions:{label:"Exclude Noggin ID"},hideExpression:"!model.typeTip"},{key:"useSystemLocale",type:"checkbox",className:"eim-noggin-form-row",defaultValue:!0,templateOptions:{label:"Use system locale"},hideExpression:"!model.typeTip"},{key:"useListLabelsInsteadOfKeys",type:"checkbox",className:"eim-noggin-form-row",defaultValue:!0,templateOptions:{label:"Export list values as labels instead of keys"},hideExpression:"!model.typeTip"},{key:"hideExportSetting",type:"checkbox",className:"eim-noggin-form-row",defaultValue:!1,templateOptions:{label:"Hide export settings for end-users"},hideExpression:"!model.typeTip"}]},54722:(at,N,s)=>{"use strict";s.d(N,{n:()=>k});var n=s(69172),a=s(85923),g=s(21413),m=s(7673),T=s(58118),O=s(96354),D=s(93953),E=s(2553),y=s(32099),I=s(50337),b=s(19937),L=s(71631),o=s(52168),C=s(89417),w=s(60177),M=s(73427),q=s(8524),z=s(2455),F=s(44225);function U(Y,x){1&Y&&(D.j41(0,"app-alert",4),D.EFF(1,"Could not import file. Please try again later.\n"),D.k0s())}let k=(()=>{class Y{constructor(B,j,$,H,ie,ne,Q,le,pe,te){this.importCsvService=B,this.loggerService=j,this.sideSheetService=$,this.toastService=H,this.importFormFields=ie,this.objectTypeService=ne,this.router=Q,this.activatedRoute=le,this.fb=pe,this.cdr=te,this.form=this.fb.group({typeTip:[null],fileTip:[null],contextTip:[null],matchingBehavior:[null],primaryKeyFieldTip:[null],enoSecurityPolicy:[null]}),this.model={matchingBehavior:T.I.alwaysCreateNewEnoForRow},this.loadingStates=n.Gu,this.loadingState=n.Gu.inProgress,this.unsubscribe$=new g.B}setProps(B){this.model={...this.model,...B},this.form.patchValue(this.model)}ngOnInit(){this.contextTip=this.activatedRoute.snapshot.queryParams.contextTip,this.model.contextTip=this.contextTip,(this.contextTip?this.objectTypeService.getObjectType(this.contextTip).pipe((0,O.T)(j=>j.$type)):(0,m.of)(null)).subscribe(j=>{this.importFormFields.createImportFields({form:this.form,contextTypeTips:[j],takeUntil$:this.unsubscribe$}).subscribe(({objectTypeAndUploadTemplate:$,fileUpload:H,matchingBehaviourAndSecurity:ie})=>{this.loadingState=n.Gu.loaded,this.fields=[...$,...H,...ie],this.cdr.detectChanges()})})}createImport(){if(this.loadingState===n.Gu.inProgress)return;this.loadingState=n.Gu.inProgress,this.cdr.markForCheck();let B={...this.model};this.importCsvService.create(B).subscribe(j=>{this.sideSheetService.clear(),this.router.navigate(["app","s",{outlets:{sidesheet:["import-export","import","import-tracking",j.trackingTip]}}])},j=>{j instanceof a.A&&this.toastService.showErrorToast(`Import error - ${j.message}`),this.loadingState=n.Gu.failed,this.loggerService.error(j),this.cdr.markForCheck()})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(j){return new(j||Y)(D.rXU(E.n),D.rXU(y.g),D.rXU(I.E),D.rXU(b.f),D.rXU(T.y),D.rXU(L.h),D.rXU(o.Ix),D.rXU(o.nX),D.rXU(C.ok),D.rXU(D.gRc))};static#t=this.\u0275cmp=D.VBU({type:Y,selectors:[["app-create-import-side-sheet"]],decls:5,vars:7,consts:[["action","Import",3,"actioned","disabled"],["type","danger",4,"ngIf"],[1,"pt-2",3,"formGroup","appSpinner"],[3,"fields","model","form"],["type","danger"]],template:function(j,$){1&j&&(D.j41(0,"app-side-sheet-header",0),D.bIt("actioned",function(){return $.createImport()}),D.EFF(1,"Import\n"),D.k0s(),D.DNE(2,U,2,0,"app-alert",1),D.j41(3,"form",2),D.nrm(4,"formly-form",3),D.k0s()),2&j&&(D.Y8G("disabled",$.form.pristine||$.form.invalid),D.R7$(2),D.Y8G("ngIf",$.loadingState===$.loadingStates.failed),D.R7$(),D.Y8G("formGroup",$.form)("appSpinner",$.loadingState===$.loadingStates.inProgress),D.R7$(),D.Y8G("fields",$.fields)("model",$.model)("form",$.form))},dependencies:[w.bT,M.R,q.aF,C.qT,C.cb,C.j4,z.C,F.b],changeDetection:0})}return Y})()},89182:(at,N,s)=>{"use strict";s.d(N,{F:()=>g,M:()=>a});var n=s(48636);const a={"app/import-tracking:context-type":{type:n.U.string},"app/import-tracking:status":{type:n.U.string},"app/import-tracking:processed":{type:n.U.number},"app/import-tracking:created":{type:n.U.number},"app/import-tracking:replaced":{type:n.U.number},"app/import-tracking:updated":{type:n.U.number},"app/import-tracking:deleted":{type:n.U.number},"app/import-tracking:skipped":{type:n.U.number},"app/import-tracking:errored":{type:n.U.number},"app/import-tracking:report":{type:n.U.string},"app/import-tracking:total":{type:n.U.number}};var g=function(m){return m.PROGRESS="in-progress",m.COMPLETED="completed",m.FAILED="failed",m}(g||{})},2553:(at,N,s)=>{"use strict";s.d(N,{n:()=>F});var n=s(67376),g=s(18810),m=s(25558),T=s(99437),O=s(50835),D=s(85923),E=s(76194),y=s(41538),I=s(89182),b=s(5002),L=s(93953),o=s(8142),C=s(44667),w=s(17338),M=s(65348),q=s(10506);const z=`${O.c.host}${O.c.importV2ServicePath}`;let F=(()=>{class U{constructor(Y,x,B,j,$){this.authHttp=Y,this.objectService=x,this.currentDatetimeService=B,this.myProfileService=j,this.featureFlagStateService=$}create(Y){return this.myProfileService.getMyProfileOnce$().pipe((0,m.n)(x=>{const B={...Y,enoSecurity:Y.enoSecurityPolicy||x.defaultPolicy,trackingEnoSecurity:x.defaultPolicy,currentDateTime:this.currentDatetimeService.getCurrentDatetime()};return this.authHttp.post(`${z}/create-from-csv`,B)}),(0,T.W)(x=>"ParserError"===(0,n.get)(x,"error.type","")?(0,g.$)(new D.A(x.error.message,x.error.requiredKeys)):(0,g.$)(x)))}getTrackingObject(Y){return this.objectService.getObject(Y,I.M)}getMatchingFieldOptions(Y){return Y&&Y.type?this.typeToKeyOptions(Y.type):[]}downloadTemplate(Y){return this.authHttp.get(`${z}/template/${encodeURIComponent(Y)}`,{responseType:"text"})}typeToKeyOptions(Y){return Y.field.reduce((B,j)=>{const{_datatype:$}=(0,y.F)({field:j});return this.featureFlagStateService.isFeatureEnabled(b.g.FEATURE_EIM_24284_OBJECT_DESIGNER_EMAIL_MATCHING_FIELD)?($===E.HT.string||$===E.HT.email)&&B.push({label:j.label,value:j.$tip}):$===E.HT.string&&B.push({label:j.label,value:j.$tip}),B},[{label:"Noggin ID",value:"tip"}])}static#e=this.\u0275fac=function(x){return new(x||U)(L.KVO(o.V),L.KVO(C.T),L.KVO(w.Y),L.KVO(M.p),L.KVO(q.F))};static#t=this.\u0275prov=L.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})()},58118:(at,N,s)=>{"use strict";s.d(N,{I:()=>C,y:()=>w});var n=s(96354),a=s(61594),g=s(99172),m=s(5964),T=s(56977),O=s(25558),D=s(67376),y=s(58531),I=s(93953),b=s(2553),L=s(65348),o=s(71631),C=function(z){return z.alwaysCreateNewEnoForRow="alwaysCreateNewEnoForRow",z.skipDoNotCreateOrUpdateExistingEnoForRow="skipDoNotCreateOrUpdateExistingEnoForRow",z.replaceExistingEnoWithEnoCreatedFromRow="replaceExistingEnoWithEnoCreatedFromRow",z.updateExistingEnoWithAllFieldsInTheRow="updateExistingEnoWithAllFieldsInTheRow",z.updateExistingEnoOnlyWithRowFieldsItIsMissing="updateExistingEnoOnlyWithRowFieldsItIsMissing",z}(C||{});let w=(()=>{class z{constructor(U,k,Y){this.importCsvService=U,this.myProfileService=k,this.objectTypeService=Y}defaultPolicy(){return this.myProfileService.getMyProfileOnce$().pipe((0,n.T)(U=>(0,D.get)(U,"defaultPolicy","")))}getFieldsForImportButtonConfig(){return this.defaultPolicy().pipe((0,a.$)(),(0,n.T)(U=>[M({required:!1,className:""}),q({defaultPolicy:U,className:"",required:!1})]))}createImportFields({form:U,contextTypeTips:k,workflowProps:Y,takeUntil$:x}){const j=U.get("typeTip").valueChanges.pipe((0,g.Z)(U.get("typeTip").value),(0,m.p)(Boolean)).pipe((0,T.Q)(x),(0,O.n)(ie=>this.objectTypeService.getObjectTypeByTypeTip(ie))),$=j.pipe((0,T.Q)(x),(0,n.T)(ie=>ie?ie.matchingField:null)),H=j.pipe((0,T.Q)(x),(0,n.T)(ie=>this.importCsvService.getMatchingFieldOptions(ie)));return this.defaultPolicy().pipe((0,n.T)(ie=>{const ne=[M({required:!0,className:"eim-noggin-form-row"}),{key:"contextTip",type:"object-chooser",className:"eim-noggin-form-row",hideExpression:`${(0,D.isEmpty)((0,D.get)(k,"0"))} || model.typeTip === 'app/user'`,templateOptions:{label:"Context object to relate",typeTips:k,readonly:!0}},{type:"text-content",className:"eim-noggin-form-row",hideExpression:`${(0,D.isEmpty)((0,D.get)(k,"0"))} || model.typeTip === 'app/user'`,templateOptions:{html:"\n              <div>\n                <p>To relate the context object to the objects you are importing, the object type you are importing must have an Object field to store the relationship and your import file must include this field.</p>\n                <p>If an Object field in your import file has no value, the object is automatically related to the context object during import. If an Object field has a tip of an object of the same object type, the object is related to that object on import.</p>\n                <p>If the objects you are importing have more than one Object field mapped to the context object type and the fields have no values in your import template, the context object is related to first field in the object type.</p>\n              </div>"}},{type:"app-formly-import-template",expressionProperties:{"templateOptions.typeTip":"model.typeTip"}}];let le=[];Y&&(le=[{key:"fileToImportTip",type:"workflow-value-chooser",className:"eim-noggin-form-row",templateOptions:{label:"File to import",placeholder:"Select the file to be imported",required:!0,actors:Y.actors,inputs:Y.inputs,variables:Y.variables.filter(y.wQ)}}]);const pe=[{key:"matchingBehaviour",type:"option-list",className:"eim-noggin-form-row",templateOptions:{label:"Matching behaviour",placeholder:"Select matching behaviour",options:[{label:"Append only",value:C.alwaysCreateNewEnoForRow},{label:"Skip row",value:C.skipDoNotCreateOrUpdateExistingEnoForRow},{label:"Replace object",value:C.replaceExistingEnoWithEnoCreatedFromRow},{label:"Only overwrite fields with values in the import",value:C.updateExistingEnoWithAllFieldsInTheRow},{label:"Only overwrite empty fields in existing object",value:C.updateExistingEnoOnlyWithRowFieldsItIsMissing}],required:!0},defaultValue:C.alwaysCreateNewEnoForRow,hideExpression:'model.typeTip === "app/user"'},{key:"primaryKeyFieldTip",type:"option-list",className:"eim-noggin-form-row",templateOptions:{label:"Matching field",placeholder:"Select matching field",options:H,required:!0},hooks:{onInit:ae=>{$.pipe((0,a.$)()).subscribe(K=>{(0,D.isNil)(ae.formControl.value)&&ae.formControl.setValue(K)})}},hideExpression:ae=>!ae.typeTip||ae.matchingBehaviour===C.alwaysCreateNewEnoForRow},q({defaultPolicy:ie,required:!0,className:"eim-noggin-form-row"})];let te=[];return Y&&(te=[{key:"importReportVariableToSetKey",type:"option-list",className:"eim-noggin-form-row",templateOptions:{label:"Variable to set with import report",placeholder:"Select a variable to set to the import report",options:(0,y.cV)(Y.variables)}}]),{objectTypeAndUploadTemplate:ne,fileToBeImported:le,fileUpload:[{type:"text-content",templateOptions:{html:'<div class="side-sheet-section-divider mb-2"></div>'}},{key:"fileTip",type:"file-upload",className:"eim-noggin-form-row",templateOptions:{label:"Upload data file",required:!0}},{type:"text-content",className:"eim-noggin-form-row",templateOptions:{html:"<p>Make sure your data files conform to the import template.</p>"}}],matchingBehaviourAndSecurity:pe,workflowVars:te}}))}static#e=this.\u0275fac=function(k){return new(k||z)(I.KVO(b.n),I.KVO(L.p),I.KVO(o.h))};static#t=this.\u0275prov=I.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})();function M({required:z,className:F}){return{key:"typeTip",type:"app-formly-type-chooser",className:F,templateOptions:{label:"Object type",includeSystemTypes:!1,includeSuperTypes:!1,importUsers:!0,required:z}}}function q({required:z,defaultPolicy:F,className:U}){return{key:"enoSecurityPolicy",type:"security-policy-chooser",className:U,templateOptions:{label:"Imported object(s) security policy",placeholder:"",required:z},defaultValue:F,hideExpression:'model.typeTip === "app/user"'}}},31933:(at,N,s)=>{"use strict";s.d(N,{_:()=>$});var n=s(67376),g=s(7673),m=s(27468),T=s(18810),O=s(1033),D=s(96354),E=s(25558),y=s(61594),I=s(88141),b=s(40673),L=s(10298),o=s(55516),C=s(15765),w=s(93953),M=s(44667),q=s(8076),z=s(51229),F=s(27916),U=s(99760),k=s(12225),Y=s(76087),x=s(19937),B=s(32099);let $=(()=>{class H{constructor(ne,Q,le,pe,te,ae,K,de,Me,me){this.dataObjectService=ne,this.objectService=Q,this.queryService=le,this.processService=pe,this.enoService=te,this.messageUtilsService=ae,this.allObjectTypes=K,this.formulaService=de,this.toastService=Me,this.loggerService=me}createAddhocEmail(ne,Q){return this.dataObjectService.setObject({$type:"app/email/addhoc-address",$security:b.Ay.SECURITY.EVERYONE,label:Q||ne,email:ne},L.Db,null,null).pipe((0,D.T)(le=>({$tip:le[0].tip,email:ne,label:ne})))}isValidDraftEmail(ne){return null!==ne.template||ne.to&&ne.to.length>0||ne.toAddressFormula&&ne.toAddressFormula.length>0||""!==ne.subject||""!==ne.body||ne.attachments.length>0}getEmailableCollectionCount(ne){return Object.keys(ne).reduce((Q,le)=>Q+ne[le].length,0)}getEmailableMetaCollection(ne,Q){let le=[];Object.keys(ne).filter(te=>!["workflowInputs","workflowVars","workflowActors"].includes(te)).forEach(te=>{le=le.concat(ne[te])});const pe={groups:[],organizationalUnits:[],people:[],teams:[],roles:[],filters:[],otherContacts:[],workflowInputs:this.workflowPropFormulasToMeta(ne.workflowInputs,Q,"inputs"),workflowActors:this.workflowPropFormulasToMeta(ne.workflowActors,Q,"actors"),workflowVars:this.workflowPropFormulasToMeta(ne.workflowVars,Q,"variables")};return le.length?this.queryService.execute1dFirst(o.R.GET_ALL_EMAILABLE_META,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}],vars:{Tips:le}}).pipe((0,D.T)(te=>{const ae=new Map;return te.forEach(K=>{ae.set(K.$tip,K)}),{...pe,groups:ne.groups?.map(K=>ae.get(K)).filter(K=>!!K),organizationalUnits:ne.organizationalUnits?.map(K=>ae.get(K)).filter(K=>!!K),people:ne.people?.map(K=>ae.get(K)).filter(K=>!!K),teams:ne.teams?.map(K=>ae.get(K)).filter(K=>!!K),roles:ne.roles?.map(K=>ae.get(K)).filter(K=>!!K),filters:ne.filters?.map(K=>ae.get(K)).filter(K=>!!K),otherContacts:ne.otherContacts?.map(K=>ae.get(K)).filter(K=>!!K)}})):(0,g.of)(pe)}workflowPropFormulasToMeta(ne,Q,le){return ne&&ne.length?ne.map(pe=>{const te=this.messageUtilsService.getWorkflowPropFromFormula(pe,le,Q);return{title:te?te.label:"",email:"",formula:pe}}):[]}getTipsFromEmailableByType(ne){const Q={...ne.to},le={...ne.cc},pe={...ne.bcc};return["workflowInputs","workflowActors","workflowVars"].forEach(te=>{delete Q[te],delete le[te],delete pe[te]}),{to:this.messageUtilsService.getFlattenedTipsFromCollection(Q),cc:this.messageUtilsService.getFlattenedTipsFromCollection(le),bcc:this.messageUtilsService.getFlattenedTipsFromCollection(pe),toFormulas:this.messageUtilsService.getFlattenedFormulasFromCollection(ne.to),ccFormulas:this.messageUtilsService.getFlattenedFormulasFromCollection(ne.cc),bccFormulas:this.messageUtilsService.getFlattenedFormulasFromCollection(ne.bcc)}}getTitlesFromEmailableByType(ne){const Q=(ne.to||[]).concat(ne.cc||[]).concat(ne.bcc||[]).concat(ne.from||[]),le=(0,n.get)(ne,"to.length",0),pe=(0,n.get)(ne,"cc.length",0),te=(0,n.get)(ne,"bcc.length",0);return this.objectService.getTitles(Q).pipe((0,D.T)(ae=>({to:ae.splice(0,le),cc:ae.splice(0,pe),bcc:ae.splice(0,te),from:ae.shift()})))}getEmailableByType(ne){return(0,m.p)([this.enoService.getTypeTips(ne.to||[],{ignoreErrors:!0}),this.enoService.getTypeTips(ne.cc||[],{ignoreErrors:!0}),this.enoService.getTypeTips(ne.bcc||[],{ignoreErrors:!0})]).pipe((0,E.n)(([Q,le,pe])=>this.allObjectTypes.getObjectTypesMap$([...Q,...le,...pe]).pipe((0,D.T)(te=>[Q,le,pe,te]))),(0,D.T)(([Q,le,pe,te])=>{(Q.includes(void 0)||le.includes(void 0)||pe.includes(void 0))&&this.toastService.showWarningToast(C.Q9);const ae=this.messageUtilsService.getEmptyCollection(),K=this.messageUtilsService.getEmptyCollection(),de=this.messageUtilsService.getEmptyCollection();return(Q||[]).filter(Me=>!!Me).forEach((Me,me)=>{const be=this.getType(Me,te);be&&ae[be].push(ne.to[me])}),(le||[]).filter(Me=>Me).forEach((Me,me)=>{const be=this.getType(Me,te);be&&K[be].push(ne.cc[me])}),(pe||[]).filter(Me=>Me).forEach((Me,me)=>{const be=this.getType(Me,te);be&&de[be].push(ne.bcc[me])}),this.messageUtilsService.addFormulasToCollection(ae,ne.toFormulas),this.messageUtilsService.addFormulasToCollection(K,ne.ccFormulas),this.messageUtilsService.addFormulasToCollection(de,ne.bccFormulas),{to:ae,cc:K,bcc:de}}))}createNewOutboundSource(ne){return{$type:"app/email/outbound-source",to:[],cc:[],bcc:[],fromAddress:ne,context:void 0,template:null,subject:"",body:"",attachments:[],status:L.KQ.DRAFT,attachmentSubstitutions:[],messageSubstitutions:[],recipientSubstitutionFormulas:[],title:""}}saveOutboundSource(ne,Q=L.KQ.SENT){return ne.status=Q,ne.$type="app/email/outbound-source",ne.$security=b.Ay.SECURITY.INSTANCE_USER_USER,(ne.$tip?this.hasValidEmailOutboundSourceType$(ne.$tip):(0,g.of)(!0)).pipe((0,E.n)(pe=>pe?this.dataObjectService.setObject(ne,L.dO,null,null).pipe((0,D.T)(te=>te[te.length-1].tip)):(0,T.$)(()=>new Error("Email Outbound source eno has the wrong type"))))}hasValidEmailOutboundSourceType$(ne){return this.dataObjectService.getObject(ne,L.dO,b.Ay.BRANCH_MASTER,[],!0).pipe((0,y.$)(),(0,D.T)(Q=>"app/email/outbound-source"===Q.$type))}sendEmailWithEarlyReturn(ne,Q){const le=this.sendEmail(ne,Q),pe=this.messageUtilsService.preemptiveMailRequestExpiryTimer();return(0,O.O)([le,pe]).pipe((0,D.T)(te=>(0===te&&this.loggerService.info("[EmailService/sendEmailWithEarlyReturn] Early timeout. Did not wait for actual response."),!0)))}sendEmail(ne,Q){const le={"Outbound source tip":[ne]};return Q&&(le[C.oT]=[Q]),this.processService.start("eim/process/message/send-email",le).pipe((0,y.$)(pe=>pe.finished),(0,E.n)(pe=>(0,n.get)(pe,"vars.Status[0]","")===C.$d.SENT?(0,g.of)(!0):(0,T.$)(new Error("Failed to send email"))))}getOutboundSource(ne){return this.dataObjectService.getObject(ne,L.dO).pipe((0,I.M)(this.normalizeOutboundSrc))}normalizeOutboundSrc(ne){ne.to=ne.to||[],ne.cc=ne.cc||[],ne.bcc=ne.bcc||[],ne.body=ne.body||"",ne.subject=ne.subject||"",ne.context=ne.context||null,ne.template=ne.template||null,ne.attachments=ne.attachments||[],ne.attachmentSubstitutions=ne.attachmentSubstitutions||[],ne.messageSubstitutions=ne.messageSubstitutions||[],ne.recipientSubstitutionFormulas=ne.recipientSubstitutionFormulas||[],ne.billingCode=ne.billingCode||null}getOutboundTemplate(ne){return this.dataObjectService.getObject(ne,L.Eu).pipe((0,I.M)(this.normalizeTemplate))}normalizeTemplate(ne){ne.contextType=ne.contextType||null,ne.cc=ne.cc||[],ne.bcc=ne.bcc||[],ne.billingCode=ne.billingCode||null,ne.attachments=ne.attachments||[],ne.attachmentSubstitutions=ne.attachmentSubstitutions||[],ne.messageSubstitutions=ne.messageSubstitutions||[],ne.recipientSubstitutionFormulas=ne.recipientSubstitutionFormulas||[]}getOutbound(ne){return this.dataObjectService.getObject(ne,L.O2,b.Ay.BRANCH_MASTER,[],!1).pipe((0,I.M)(this.normalizeOutbound))}getFromEmailAddresses(){return this.queryService.execute1dFirst(o.R.GET_EMAIL_FROM_ADDRESSES,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:["TITLE()"],sortdir:["asc"]}]})}updateEmail(ne){const Q={...ne,$type:"app/email/from-address"};return this.dataObjectService.setObject(Q,L.Qi,null,null).pipe((0,D.T)(le=>(0,n.get)(le,`[${le.length-1}].tip`,null)))}deleteSystemEmail(ne){return this.dataObjectService.deleteObject(ne)}getEmail(ne){return this.dataObjectService.getObject(ne,L.Qi,b.Ay.BRANCH_MASTER,void 0,!1)}getSystemDefaultEmail(){return this.dataObjectService.getObject("email/default-from-address",L.Qi,void 0,void 0,!1)}updateSystemDefault(ne,Q){return this.processService.start("eim/process/from-address/update-system-default-email",{"Default tip":["email/default-from-address"],Email:[ne],Label:[Q]}).pipe((0,y.$)(le=>le.finished))}checkDuplicateSystemEmailAddress(ne){return this.formulaService.evaluate(`COUNT(LOOKUP(TIP(), AND(ISTYPE("app/email/from-address"), AND(NOT(EQUALS(TIP(), ${ne.$tip?`"${ne.$tip}"`:"ARRAY()"})), EQUALS(FIELD("app/email/from-address:email"), "${ne.email}")))))`).pipe((0,D.T)(pe=>!(pe.length&&"0"===pe[0])))}getInstanceNameForSystemEmail(){return this.formulaService.evaluate('LAST(SPLIT("/", FIELD("app/system-info:customer-uri", "app/system-info")))').pipe((0,y.$)(),(0,D.T)(Q=>(0,n.get)(Q,"[0]",null)))}normalizeOutbound(ne){ne.cc=ne.cc||[],ne.bcc=ne.bcc||[]}getType(ne,Q){return C.In[ne]?C.In[ne]:this.messageUtilsService.checkSuperTypeFromMetaMap(ne,Q)}static#e=this.\u0275fac=function(Q){return new(Q||H)(w.KVO(M.T),w.KVO(q.T),w.KVO(z.c),w.KVO(F.V),w.KVO(U.g),w.KVO(C.Gq),w.KVO(k.b),w.KVO(Y.C),w.KVO(x.f),w.KVO(B.g))};static#t=this.\u0275prov=w.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},70495:(at,N,s)=>{"use strict";s.d(N,{W:()=>Yt});var n=s(93953),a=s(89417),g=s(67376),m=s(21413),T=s(84572),O=s(7673),D=s(57786),E=s(61594),y=s(56977),I=s(88141),b=s(99437),L=s(25558),o=s(23294),C=s(44668),w=s(5964),M=s(99172),q=s(96354),z=s(59782),F=s(34669),U=s(7930),k=s(10298),Y=s(76194),x=s(95113),B=s(92597),j=s(69172),$=s(58639),H=s(97586),ie=s.n(H),ne=s(95354),Q=s(24567),le=s(15765);function te({status:Mn,form:ci,$tip:Ue,messageLabels:Un,relatedObjects:_n}){const Xn=ci.getRawValue();return{title:Xn.title?Xn.title:"Send email",$tip:Ue,to:Xn.recipients.to,cc:Xn.recipients.cc,bcc:Xn.recipients.bcc,toAddressFormula:Xn.recipients.toFormulas?(0,B.Ac)({name:"ARRAY",args:Xn.recipients.toFormulas.map(Ii=>(0,B.iX)(Ii))}):"ARRAY()",ccAddressFormula:Xn.recipients.ccFormulas?(0,B.Ac)({name:"ARRAY",args:Xn.recipients.ccFormulas.map(Ii=>(0,B.iX)(Ii))}):"ARRAY()",bccAddressFormula:Xn.recipients.bccFormulas?(0,B.Ac)({name:"ARRAY",args:Xn.recipients.bccFormulas.map(Ii=>(0,B.iX)(Ii))}):"ARRAY()",status:Mn,draftSavedDatetime:ie()(),fromAddress:Xn.from,context:Xn.contextTip,contextFormula:(0,g.get)(Xn.contextFormula,"formula"),contextFormulaMeta:JSON.stringify(Xn.contextFormula),subject:Xn.subject.html,subjectSubstitutions:U.tk.extractEmailSMSSubstitutions(Xn.subject.substitutions),body:Xn.body.html,messageSubstitutions:U.tk.extractEmailSMSSubstitutions(Xn.body.substitutions),attachments:Xn.attachments,attachmentsFormula:Xn.attachmentsWorkflowVars?ae(Xn.attachmentsWorkflowVars):"ARRAY()",billingCode:Xn.billingCode,template:Xn.template,protectiveMarking:Xn.protectiveMarking,...Xn.responseAck,responderWorkflowVarKeyValues:(0,le.Ww)((0,g.get)(Xn,"responseAck.responderWorkflowInputOutputMaps.inputMaps")),messageLabels:Un,relatedObjects:_n}}function ae(Mn){if(Mn&&Mn.length>0){const ci=Mn.map(Ue=>(0,ne.mT)("TIP()",Ue));return(0,B.Ac)({name:"ARRAY",args:ci.map(Ue=>(0,B.iX)(Ue))})}return"ARRAY()"}var de=s(389),Me=s(69595),me=s(68030),be=s(88405),Le=s(8076);let Ae=(()=>{class Mn{constructor(Ue,Un){this.protectiveMarkingsService=Ue,this.objectService=Un}loadEmailComposeContext({dashboardContextTip:Ue,currentProtectiveMarking:Un,mode:_n}){const Xn=this.protectiveMarkingsService.loadOptions({currentMarking:Un}),Ii=this.getContextSettings(_n,Ue);return(0,T.z)([Xn,Ii]).pipe((0,q.T)(([En,ln])=>({...ln,protectiveMarkings:En})))}getContextSettings(Ue,Un){return Un?this.objectService.getObjectAndType(Un).pipe((0,q.T)(_n=>{const Xn=(0,g.get)(_n,"objectType.$tip",null),Ii=Xn?[Xn]:[];return{dashboardContextType:Xn,contextTypeTips:Ii,templateFilter:le.Gq.generateTemplateFilters(Ii)}})):(0,O.of)({templateFilter:Ue===k.st.WORKFLOW?null:le.Gq.generateTemplateFilters(),contextTypeTips:[],dashboardContextType:null})}static#e=this.\u0275fac=function(Un){return new(Un||Mn)(n.KVO(be.k),n.KVO(Le.T))};static#t=this.\u0275prov=n.jDH({token:Mn,factory:Mn.\u0275fac,providedIn:"root"})}return Mn})();var Oe=s(31933),Xe=s(32099),Pe=s(56399),$e=s(50337),ze=s(29739),Be=s(19937),Ye=s(6153),Ct=s(60295),Lt=s(29968);const Vt=["attachWorkflowVars"],ht=()=>["app/email/from-address"],gt=()=>["app/email/outbound-template"],Ge=Mn=>[Mn],Se=()=>({list:!0,datetime:!0,date:!0});function ke(Mn,ci){1&Mn&&n.eu8(0)}function Ne(Mn,ci){if(1&Mn){const Ue=n.RV6();n.j41(0,"app-side-sheet-header",46),n.bIt("actioned",function(){n.eBV(Ue);const _n=n.XpG();return n.Njj(_n.onPrimary())}),n.DNE(1,ke,1,0,"ng-container",47),n.nI1(2,"substitutionText"),n.k0s()}if(2&Mn){const Ue=n.XpG(),Un=n.sdS(7),_n=n.sdS(9);n.Y8G("disabled",Ue.emailForm.invalid||Ue.loadingState===Ue.LoadingState.inProgress)("showCancelButton",!0),n.R7$(),n.Y8G("ngIf",n.i5U(2,5,null==Ue.outboundSource?null:Ue.outboundSource.subject,null==Ue.outboundSource?null:Ue.outboundSource.subjectSubstitutions))("ngIfThen",Un)("ngIfElse",_n)}}function Je(Mn,ci){if(1&Mn){const Ue=n.RV6();n.j41(0,"app-side-sheet-header",48),n.bIt("actioned",function(){n.eBV(Ue);const _n=n.XpG();return n.Njj(_n.onPrimary())}),n.pXf(1,3),n.k0s()}if(2&Mn){const Ue=n.XpG();n.Y8G("disabled",Ue.emailForm.invalid||Ue.loadingState===Ue.LoadingState.inProgress)("showCancelButton",!0)}}function Qe(Mn,ci){if(1&Mn){const Ue=n.RV6();n.j41(0,"app-side-sheet-header",49),n.bIt("actioned",function(){n.eBV(Ue);const _n=n.XpG();return n.Njj(_n.onPrimary())}),n.pXf(1,4),n.k0s()}if(2&Mn){const Ue=n.XpG();n.Y8G("disabled",Ue.emailForm.invalid||Ue.loadingState===Ue.LoadingState.inProgress)("showCancelButton",!0)}}function rt(Mn,ci){if(1&Mn){const Ue=n.RV6();n.j41(0,"app-side-sheet-header",50),n.bIt("actioned",function(){n.eBV(Ue);const _n=n.XpG();return n.Njj(_n.onPrimary())}),n.pXf(1,5),n.k0s()}if(2&Mn){const Ue=n.XpG();n.Y8G("disabled",Ue.emailForm.invalid||Ue.loadingState===Ue.LoadingState.inProgress)("showCancelButton",!0)}}function ft(Mn,ci){1&Mn&&n.eu8(0)}function Xt(Mn,ci){if(1&Mn){const Ue=n.RV6();n.j41(0,"app-side-sheet-header",51),n.bIt("actioned",function(){n.eBV(Ue);const _n=n.XpG();return n.Njj(_n.onPrimary())}),n.DNE(1,ft,1,0,"ng-container",47),n.nI1(2,"substitutionText"),n.k0s()}if(2&Mn){const Ue=n.XpG(),Un=n.sdS(7),_n=n.sdS(9);n.Y8G("disabled",Ue.emailForm.invalid||Ue.loadingState===Ue.LoadingState.inProgress)("showCancelButton",!0),n.R7$(),n.Y8G("ngIf",n.i5U(2,5,null==Ue.outboundSource?null:Ue.outboundSource.subject,null==Ue.outboundSource?null:Ue.outboundSource.subjectSubstitutions))("ngIfThen",Un)("ngIfElse",_n)}}function It(Mn,ci){if(1&Mn&&(n.EFF(0),n.nI1(1,"substitutionText")),2&Mn){const Ue=n.XpG();n.JRh(n.i5U(1,1,null==Ue.outboundSource?null:Ue.outboundSource.subject,null==Ue.outboundSource?null:Ue.outboundSource.subjectSubstitutions))}}function In(Mn,ci){1&Mn&&n.pXf(0,6)}function Kt(Mn,ci){1&Mn&&n.nrm(0,"app-filter-notification")}function Ze(Mn,ci){if(1&Mn&&(n.j41(0,"div",52)(1,"label"),n.pXf(2,7),n.k0s(),n.nrm(3,"app-labels",53),n.k0s()),2&Mn){const Ue=n.XpG();n.R7$(3),n.Y8G("labels",Ue.messageLabels)}}function wn(Mn,ci){1&Mn&&(n.j41(0,"div",27),n.nrm(1,"app-text-field",54),n.k0s()),2&Mn&&(n.R7$(),n.Y8G("required",!0))}function zn(Mn,ci){if(1&Mn&&n.nrm(0,"app-single-object-chooser-field",55),2&Mn){const Ue=n.XpG();n.Y8G("typeTips",n.lJ4(4,gt))("emitStringNotArray",!0)("allowNavAway",!1)("extraFilters",Ue.templateFilter)}}function di(Mn,ci){if(1&Mn&&n.nrm(0,"app-single-object-chooser-field",56),2&Mn){const Ue=n.XpG();n.Y8G("typeTips",n.lJ4(5,gt))("emitStringNotArray",!0)("allowNavAway",!1)("allowUserToAdd",!1)("extraFilters",Ue.templateFilter)}}function jn(Mn,ci){if(1&Mn&&n.nrm(0,"app-single-object-chooser-field",57),2&Mn){const Ue=n.XpG();n.Y8G("emitStringNotArray",!0)("typeTips",n.eq3(3,Ge,Ue.dashboardContextType))("readonly",!0)}}function Di(Mn,ci){if(1&Mn&&n.nrm(0,"app-workflow-value-chooser",58),2&Mn){const Ue=n.XpG();n.Y8G("inputs",Ue.workflowVariables.inputs)("actors",Ue.workflowVariables.actors)("variables",Ue.workflowVariables.variables)("objectTypeConstraint",Ue.dashboardContextType)}}function Li(Mn,ci){if(1&Mn&&n.nrm(0,"app-string-interpolate-text-field",59),2&Mn){const Ue=n.XpG();n.Y8G("required",!0)("workflowVariables",Ue.workflowVariables)("interpolationType",Ue.INTERPOLATION_TYPE.subject)("contextTypeTips",Ue.listOfContextTypeTips)("displayFormulaRule",n.lJ4(7,Se))("useContextFormula",!0)("hideSystemCurrentUserOption",!0)}}function ms(Mn,ci){if(1&Mn&&(n.j41(0,"div",60),n.nrm(1,"app-form-control-label",61),n.j41(2,"div"),n.pXf(3,8),n.k0s()()),2&Mn){const Ue=n.XpG();n.R7$(3),n.uP7(Ue.emailForm.value.subject.html),n.nnv(3)}}function Rn(Mn,ci){if(1&Mn&&n.nrm(0,"app-single-option-list-field",62),2&Mn){const Ue=n.XpG();n.Y8G("required",!0)("options",Ue.protectiveMarkingOptions)}}function Qt(Mn,ci){if(1&Mn){const Ue=n.RV6();n.j41(0,"app-multi-option-list-field",63,2)(2,"app-empty-state",64),n.bIt("actionClick",function(){n.eBV(Ue);const _n=n.XpG();return n.Njj(_n.attachWorkflowVarsExternal())}),n.k0s()()}if(2&Mn){const Ue=n.XpG();n.Y8G("selectAllByDefault",!1)("options",Ue.workFlowVarsForMultiOptionList)}}function Wt(Mn,ci){if(1&Mn){const Ue=n.RV6();n.j41(0,"button",65),n.bIt("click",function(){n.eBV(Ue);const _n=n.XpG();return n.Njj(_n.onDraftSave())}),n.pXf(1,9),n.k0s()}if(2&Mn){const Ue=n.XpG();n.Y8G("disabled",Ue.emailForm.pristine||!Ue.isValidDraft()||Ue.loadingState===Ue.LoadingState.inProgress)}}let Yt=(()=>{class Mn{constructor(Ue,Un,_n,Xn,Ii,En,ln,Dn,Ai,os,Fs,sn,oi,pt){this.cdRef=Ue,this.composeEmailService=Un,this.emailService=_n,this.fb=Xn,this.loggerService=Ii,this.messageWidgetService=En,this.messagesHelperService=ln,this.sideSheetService=Dn,this.templateManagerService=Ai,this.toastService=os,this.messageUtilsService=Fs,this.messageLabelsService=sn,this.messageRelatedObjectsService=oi,this.modalService=pt,this.templateDisabled=!1,this.mode=k.st.NEW,this.outboundSaved=new n.bkB,this.workFlowVarsForMultiOptionList=[],this.COMPOSE_TYPE=k.st,this.INTERPOLATION_TYPE=U.YG,this.MESSAGE_TYPE=x.$z,this.unsubscribe$=new m.B,this.loadingState=j.Gu.loaded,this.LoadingState=j.Gu,this.emailForm=this.fb.group({title:[{value:""}],template:[null],from:[{value:"email/default-from-address"},a.k0.required],recipients:[{to:[],cc:[],bcc:[]},F.O.emailRecipients],subject:[{html:"",substitutions:[]},F.O.emailTemplateSubjectValidator],body:[{html:"",substitutions:[]}],attachments:[[]],attachmentsWorkflowVars:[],protectiveMarking:[null],billingCode:[null],contextTip:[null],contextFormula:[null,cn=>this.mode===k.st.WORKFLOW&&this.dashboardContextType&&(0,g.isEmpty)((0,g.get)(cn,"value"))?[a.k0.required]:null],responseAck:[null]}),this.protectiveMarkingsEnabled=!1,this.protectiveMarkingOptions=[],this.relatedObjectCollapsed=!0,this.isDirty=!1,this.messageLabels=[],this.selectedRelatedObjectsTips=[],this.selectedMessageLabelsTips=[],this.isFilterApplied=!1,this.isNewMessageFromStatusDashboard=!1,this.prevTemplate="",this.prevRecipients={}}get isTemplateSelected(){return!!this.emailForm.get("template").value}get bodyControl(){return this.emailForm.get("body")}ngOnInit(){this.messageUtilsService.validateMessagingFields("title",this.COMPOSE_TYPE.WORKFLOW,this.mode,this.emailForm),this.outboundSource=(0,g.cloneDeep)(this.outboundSource),this.fetchRelatedObjectsByTips(),this.fetchMessageLabelsByTips(),this.templateDisabled&&this.emailForm.controls.template.disable(),this.loadInitialData(),this.watchFormForChanges(),this.messageBodySubstitutions$=this.getMessageBodySubstitutions$(),this.workflowVariables&&this.workflowVariables.variables&&(this.workFlowVarsForMultiOptionList=this.workflowVariables.variables.filter(Ue=>Ue.dataType===Y.TV.file).map(Ue=>({label:Ue.label,value:`VAR(${(0,B.AQ)(Ue.key)})`})))}loadInitialData(){const Ue=(0,g.get)(this.outboundSource,"protectiveMarking",null);this.loadingState=j.Gu.inProgress,(0,T.z)([this.composeEmailService.loadEmailComposeContext({dashboardContextTip:this.dashboardContextTip,currentProtectiveMarking:Ue,mode:this.mode}),this.messagesHelperService.updateOutboundSourceRecipients$(this.outboundSource,k.dO).pipe((0,E.$)())]).subscribe(([{contextTypeTips:Un,dashboardContextType:_n,protectiveMarkings:Xn,templateFilter:Ii},En])=>{this.outboundSource=En,this.dashboardContextType=_n,this.listOfContextTypeTips=Un,this.templateFilter=Ii,this.loadingState=j.Gu.loaded,this.protectiveMarkingOptions=Xn.options,this.protectiveMarkingsEnabled=Xn.enabled,this.protectiveMarkingsEnabled&&this.emailForm.get("protectiveMarking").setValidators(a.k0.required),this.isNewMessageFromStatusDashboard&&(0,g.forEach)(this.protectiveMarkingOptions,ln=>{ln.value==this.outboundSource.protectiveMarking&&(this.outboundSource.subject=this.outboundSource?.subject?.replace(ln.label,""))}),this.outboundSource.protectiveMarking=Xn.initialMarking,this.populateFormAndSetupFormWatchValues()})}fetchMessageLabelsByTips(){this.outboundSource?.messageLabels&&this.outboundSource?.messageLabels.length&&this.messageLabelsService.getMessageLabelsByTips(this.outboundSource?.messageLabels).pipe((0,y.Q)(this.unsubscribe$)).subscribe(Ue=>{this.messageLabels=Ue.filter(Un=>{if(Un.$tip&&Un?.name&&Un?.color)return Un}),this.selectedMessageLabelsTips=this.messageLabels.map(Un=>Un.$tip)},Ue=>{this.loadingState=j.Gu.failed})}fetchRelatedObjectsByTips(){this.outboundSource?.relatedObjects&&this.outboundSource?.relatedObjects.length&&this.messageRelatedObjectsService.getOrNewRelatedObjects(this.outboundSource?.relatedObjects).pipe((0,y.Q)(this.unsubscribe$)).subscribe(Ue=>{this.selectedRelatedObjectsTips=Ue?.items?.map(Un=>Un)},Ue=>{this.loadingState=j.Gu.failed})}populateFormAndSetupFormWatchValues(){!function pe(Mn){const ci=!(0,g.isEmpty)((0,g.get)(Mn,"template","")),Ue=!(0,g.isEmpty)((0,g.get)(Mn,"$tip",""));return ci&&!Ue}(this.outboundSource)||this.isNewMessageFromStatusDashboard?this.outboundSource&&this.outboundSource.template&&this.mode===k.st.WORKFLOW?this.templateManagerService.getOutboundTemplate(this.outboundSource.template,k.Eu).pipe((0,y.Q)(this.unsubscribe$)).subscribe(Ue=>{const Un=(0,g.cloneDeep)(this.outboundSource);Un.subject=Ue.subject,Un.body=Ue.body,Un.attachments=Ue.attachments,Un.messageSubstitutions=Ue.messageSubstitutions,Un.subjectSubstitutions=Ue.subjectSubstitutions,this.patchWithDefaults(Un),this.setupFormWatchValues()},Ue=>{this.patchWithDefaults(this.outboundSource),this.watchTemplateChange()}):(this.patchWithDefaults(this.outboundSource),this.setupFormWatchValues()):(this.setTemplate$(this.outboundSource?.template).subscribe(),this.disableControlsWhenWorkflow(this.outboundSource?.template),this.watchTemplateChange())}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}setTemplate$(Ue){return this.loadingState=j.Gu.inProgress,this.cdRef.markForCheck(),this.emailService.getOutboundTemplate(Ue).pipe((0,E.$)(),(0,I.M)(Un=>{this.loadingState=j.Gu.loaded,this.dashboardContextType=Un.contextType;const _n={template:Ue,...Un};this.patchWithDefaults(_n)}),(0,b.W)(Un=>(this.toastService.showErrorToast("Adding template data to form failed"),this.loggerService.error("[compose-email] error loading template",Un),this.loadingState=j.Gu.failed,this.cdRef.detectChanges(),(0,O.of)())))}isValidDraft(){return this.emailService.isValidDraftEmail(te({$tip:this.outboundSource.$tip,status:k.KQ.DRAFT,form:this.emailForm,messageLabels:this.selectedMessageLabelsTips,relatedObjects:this.selectedRelatedObjectsTips}))}onPrimary(){this.loadingState=j.Gu.inProgress,this.cdRef.markForCheck(),this.saveOutboundSource(k.KQ.SENT).pipe((0,L.n)(Ue=>(this.outboundSrcTip=Ue,this.mode===k.st.WORKFLOW?(0,O.of)(!0):this.emailService.sendEmailWithEarlyReturn(Ue,this.dashboardContextTip)))).subscribe(()=>{this.mode!==k.st.WORKFLOW?this.messageWidgetService.showToastNavigation(this.outboundSrcTip,z.Om.EMAIL,z.Uj.EMAIL):this.toastService.showSuccessToast("Successfully saved"),this.loadingState=j.Gu.loaded,this.cdRef.markForCheck(),this.sideSheetService.makeClean(),this.sideSheetService.pop()},Ue=>{this.loggerService.error(Ue),this.loadingState=j.Gu.failed,this.cdRef.markForCheck(),this.toastService.showErrorToast("Failed to "+(this.mode!==k.st.WORKFLOW?"send":"save"))})}onDraftSave(){this.loadingState=j.Gu.inProgress,this.cdRef.markForCheck(),this.saveOutboundSource(k.KQ.DRAFT).subscribe(()=>{this.toastService.showSuccessToast("Successfully saved"),this.loadingState=j.Gu.loaded,this.cdRef.markForCheck(),this.sideSheetService.makeClean(),this.sideSheetService.pop()},Ue=>{this.loggerService.error(Ue),this.loadingState=j.Gu.loaded,this.cdRef.markForCheck(),this.toastService.showErrorToast("Failed to save")})}saveOutboundSource(Ue){const Un=this.emailForm.get("from").value;Array.isArray(Un)&&this.emailForm.get("from").patchValue((0,g.head)(Un));const _n=te({$tip:this.outboundSource.$tip,form:this.emailForm,status:Ue,messageLabels:this.selectedMessageLabelsTips,relatedObjects:this.selectedRelatedObjectsTips});return this.relatedObjectsComponent.saveRelatedObjects().pipe((0,I.M)(Xn=>_n.relatedObjects=Xn),(0,L.n)(()=>this.emailService.saveOutboundSource(_n,Ue)),(0,I.M)(Xn=>{_n.$tip=Xn,this.outboundSaved.emit(_n)}))}onRelatedButton(){this.relatedObjectsComponent.openAddSideSheet()}onMessageLabelButton(){this.openMessageLabelsSideSheet()}makeFormDirty(){this.sideSheetService.makeDirty()}attachWorkflowVarsExternal(){this.attachWorkflowVars.openOptionListSideSheet()}openMessageLabelsSideSheet(){const Un=this.sideSheetService.push(de.K).componentInstance;Un.mode=Me.X.MULTI_SELECT,Un.selectedMessageLabels=this.messageLabels,Un.done=_n=>{this.messageLabels=(0,g.get)(_n,"selected",[]),this.selectedMessageLabelsTips=this.messageLabels.map(Xn=>Xn.$tip)}}watchFormForChanges(){this.emailForm.valueChanges.pipe((0,y.Q)(this.unsubscribe$)).subscribe(()=>{this.emailForm.dirty&&!this.isDirty&&(this.isDirty=!0,this.sideSheetService.makeDirty())})}setupFormWatchValues(){this.disableControlsWhenWorkflow(this.outboundSource.template),this.watchTemplateChange()}watchTemplateChange(){const Ue=this.emailForm.get("template").valueChanges.pipe((0,I.M)(Ii=>{Ii&&this.emailForm.value.template!=this.emailForm.controls.template.value&&(this.prevTemplate=this.emailForm.value.template,this.prevRecipients=this.emailForm.value.recipients)}),(0,o.F)(),(0,C.t)()),Un=Ue.pipe((0,w.p)(Ii=>null===Ii),(0,I.M)(()=>this.patchWithDefaults()),(0,b.W)(Ii=>(this.loggerService.error("[compose-email] error patching with defaults",Ii),(0,O.of)()))),_n=Ue.pipe((0,w.p)(Boolean),(0,L.n)(Ii=>this.setTemplate$(Ii))),Xn=Ue.pipe((0,I.M)(Ii=>this.disableControlsWhenWorkflow(Ii)));(0,D.h)(_n,Un,Xn).pipe((0,y.Q)(this.unsubscribe$)).subscribe()}disableControlsWhenWorkflow(Ue){const _n=this.mode!==k.st.WORKFLOW||(0,g.isEmpty)(Ue)?"enable":"disable";["subject","body","attachments"].forEach(Xn=>this.emailForm.get(Xn)[_n]())}getMessageBodySubstitutions$(){return this.bodyControl.valueChanges.pipe((0,M.Z)(this.bodyControl.value),(0,o.F)(),(0,q.T)(Ue=>Ue.substitutions||[]))}updateRecipientsOnTemplateSelect(Ue,Un,_n){const Xn=this.modalService.open(me.F,me.G);Xn.componentInstance.setProps({title:"Manage recipients",message:"Replace or add template recipients to the existing recipients in the message?",cancelText:"Replace",confirmText:"Add",isDelete:!1}),Xn.result.then(En=>{if(En){const ln=(0,g.union)(Ue,Un);this.emailForm.patchValue({recipients:{to:ln,toFormulas:_n}}),this.cdRef.detectChanges()}else this.emailForm.patchValue({recipients:{to:Un,toFormulas:[]}}),this.cdRef.detectChanges()}).catch(En=>{this.patchWithDefaults(),this.emailForm.patchValue({template:this.prevTemplate,recipients:this.prevRecipients}),this.loadingState=j.Gu.loaded,this.cdRef.detectChanges()})}patchWithDefaults(Ue){const Un=this.emailForm?.get("recipients")?.value;Ue&&(Un?.to?.length>0||Un?.toFormulas?.length>0)&&this.updateRecipientsOnTemplateSelect(Un?.to,Ue?.to,Un?.toFormulas);const _n=function K(Mn){const ci={title:"",subject:"",body:"",...Mn.patchWith},Ue=U.tk.getSubstitutionMetaFromEmailOutboundSource(ci,U.WG.SUBJECT),Un=U.tk.getSubstitutionMetaFromEmailOutboundSource(ci);return{title:(0,g.get)(ci,"title",""),from:(0,g.get)(ci,"fromAddress","email/default-from-address"),recipients:{to:(0,g.get)(ci,"to",[]),cc:(0,g.get)(ci,"cc",[]),bcc:(0,g.get)(ci,"bcc",[]),toFormulas:(0,Q.p)((0,g.get)(ci,"toAddressFormula","")),ccFormulas:(0,Q.p)((0,g.get)(ci,"ccAddressFormula","")),bccFormulas:(0,Q.p)((0,g.get)(ci,"bccAddressFormula",""))},body:Un,subject:Ue,template:(0,g.get)(ci,"template",null),attachments:(0,g.get)(ci,"attachments",[]),attachmentsWorkflowVars:(0,Q.Z)((0,g.get)(ci,"attachmentsFormula","")),billingCode:(0,g.get)(ci,"billingCode",null),protectiveMarking:(0,g.get)(ci,"protectiveMarking",null),contextTip:(0,g.get)(ci,"context",Mn.dashboardContextTip),contextFormula:JSON.parse((0,g.get)(ci,"contextFormulaMeta",null)),responseAck:{ackType:(0,g.get)(ci,"ackType","all"),answerVariableKey:(0,g.get)(ci,"answerVariableKey",null),eachResponderWorkflow:(0,g.get)(ci,"eachResponderWorkflow",null),firstResponderVariableKey:(0,g.get)(ci,"firstResponderVariableKey",null),firstResponse:(0,g.get)(ci,"firstResponse",null),responderWorkflowInputOutputMaps:(0,g.get)(ci,"responderWorkflowInputOutputMaps",{}),responseTimeout:(0,g.get)(ci,"responseTimeout",null)}}}({patchWith:Ue,dashboardContextTip:this.dashboardContextTip});this.emailForm.patchValue(_n),(0,g.isEmpty)((0,g.get)(_n,"contextFormula.objectType"))||(this.dashboardContextType=_n.contextFormula.objectType),this.cdRef.detectChanges()}static#e=this.\u0275fac=function(Un){return new(Un||Mn)(n.rXU(n.gRc),n.rXU(Ae),n.rXU(Oe._),n.rXU(a.ok),n.rXU(Xe.g),n.rXU(z.TU),n.rXU(Pe.U),n.rXU($e.E),n.rXU(ze.R),n.rXU(Be.f),n.rXU(le.Gq),n.rXU(Ye.A),n.rXU(Ct.q),n.rXU(Lt.Bq))};static#t=this.\u0275cmp=n.VBU({type:Mn,selectors:[["app-compose-email"]],viewQuery:function(Un,_n){if(1&Un&&(n.GBs(Vt,5),n.GBs($.G,7)),2&Un){let Xn;n.mGM(Xn=n.lsd())&&(_n.attachWorkflowVars=Xn.first),n.mGM(Xn=n.lsd())&&(_n.relatedObjectsComponent=Xn.first)}},inputs:{outboundSource:"outboundSource",mode:"mode",workflowVariables:"workflowVariables",workflowTip:"workflowTip"},outputs:{outboundSaved:"outboundSaved"},decls:44,vars:49,consts:()=>{let Ue,Un,_n,Xn,Ii,En,ln,Dn,Ai,os,Fs,sn,oi,pt,cn,Tn,vi,ui,$i,Nn,Hn,Qn,ri,li,Fi,ei,Hi,gn,yn,hn,Bn,mi;return Ue="Save",Un="Send",_n="Send",Xn="Send",Ii="Send",En="Add message labels",ln="Template",Dn="Not selected",Ai="Template",os="Not selected",Fs="Context",sn="Not selected",oi="Context",pt="Not selected",cn="From",Tn="Subject",vi="Enter subject",ui="Protective marking",$i="Select protective marking",Nn="Body",Hn="Upload your attachments below",Qn="Workflow attachments",ri="Reply email",li="New email",Fi="Forward email",ei="New email",Hi="Label",gn="Subject",yn="" + "\ufffd0\ufffd" + "",hn="No workflow attachments here",Bn="Add workflow attachments",mi="Save as a draft",[["headerOutboundSourceSubject",""],["headerNewEmail",""],["attachWorkflowVars",""],ri,li,Fi,ei,Hi,yn,mi,[3,"ngSwitch"],["action",Ue,"size","lg",3,"disabled","showCancelButton","actioned",4,"ngSwitchCase"],["action",Un,"size","lg",3,"disabled","showCancelButton","actioned",4,"ngSwitchCase"],["action",_n,"size","lg",3,"disabled","showCancelButton","actioned",4,"ngSwitchCase"],["action",Xn,"size","lg",3,"disabled","showCancelButton","actioned",4,"ngSwitchCase"],["action",Ii,"size","lg",3,"disabled","showCancelButton","actioned",4,"ngSwitchDefault"],[3,"formGroup","appSpinner"],[1,"main","pl-2","pr-2","pt-1","pb-1"],[4,"ngIf"],[3,"showBorder"],["buttons",""],["data-test","messagLabelButton","title",En,1,"btn-social","btn","btn-secondary","ml-1",3,"click"],[1,"mdi","mdi-label-alt"],["data-test","relateButton","title","Select related object",1,"btn-social","btn","btn-secondary","ml-1",3,"click"],[1,"mdi","mdi-link"],["class","selected-message-labels",4,"ngIf"],["class","row",4,"ngIf"],[1,"row"],["class","col-6","formControlName","template","label",ln,"placeholder",Dn,3,"typeTips","emitStringNotArray","allowNavAway","extraFilters",4,"ngIf"],["class","col-6","formControlName","template","label",Ai,"placeholder",os,3,"typeTips","emitStringNotArray","allowNavAway","allowUserToAdd","extraFilters",4,"ngIf"],["class","col-6","formControlName","contextTip","label",Fs,"placeholder",sn,3,"emitStringNotArray","typeTips","readonly",4,"ngIf"],["class","col-6","formControlName","contextFormula","label",oi,"placeholderText",pt,"dataTypeRestrict","object",3,"inputs","actors","variables","objectTypeConstraint",4,"ngIf"],["label",cn,"formControlName","from",1,"col-6",3,"emitStringNotArray","readonly","allowUserToAdd","typeTips"],["formControlName","recipients",1,"col-6",3,"isNewMessageFromStatusDashboard","workflowVariables","required"],["formControlName","subject","label",Tn,"placeholder",vi,"recipientSuperTypeTip","app/super-type/email-capable",3,"required","workflowVariables","interpolationType","contextTypeTips","displayFormulaRule","useContextFormula","hideSystemCurrentUserOption",4,"ngIf"],["class","mb-4",4,"ngIf"],["formControlName","protectiveMarking","label",ui,"placeholder",$i,3,"required","options",4,"ngIf"],["label",Nn,"formControlName","body","recipientSuperTypeTip","app/super-type/email-capable","interpolationType","M",1,"body",3,"enableStringInterpolation","workflowVariables","contextTypeTips","hideMessageOptions","hideSystemCurrentUserOption"],["formControlName","responseAck",3,"show","substitutions","workflowTip","workflowVariables","messageType"],[3,"showHeader"],["label",Hn,"formControlName","attachments",3,"isMulti"],["formControlName","attachmentsWorkflowVars","label",Qn,3,"selectAllByDefault","options",4,"ngIf"],[3,"showHeader","collapsed"],[3,"relatedObjectsFormChanged$","valueChanged","relatedObjectTip","workflowVariables","dashboardContextTip","isRelatedItemsInListForWorkflowNodes"],[1,"d-flex","tail","p-2","align-items-center","justify-content-center"],["class","btn btn-secondary","data-test","SaveDraftButton",3,"disabled","click",4,"ngIf"],["action",Ue,"size","lg",3,"actioned","disabled","showCancelButton"],[4,"ngIf","ngIfThen","ngIfElse"],["action",Un,"size","lg",3,"actioned","disabled","showCancelButton"],["action",_n,"size","lg",3,"actioned","disabled","showCancelButton"],["action",Xn,"size","lg",3,"actioned","disabled","showCancelButton"],["action",Ii,"size","lg",3,"actioned","disabled","showCancelButton"],[1,"selected-message-labels"],[3,"labels"],["label","Description","placeholder","Description","formControlName","title",1,"col-12",3,"required"],["formControlName","template","label",ln,"placeholder",Dn,1,"col-6",3,"typeTips","emitStringNotArray","allowNavAway","extraFilters"],["formControlName","template","label",Ai,"placeholder",os,1,"col-6",3,"typeTips","emitStringNotArray","allowNavAway","allowUserToAdd","extraFilters"],["formControlName","contextTip","label",Fs,"placeholder",sn,1,"col-6",3,"emitStringNotArray","typeTips","readonly"],["formControlName","contextFormula","label",oi,"placeholderText",pt,"dataTypeRestrict","object",1,"col-6",3,"inputs","actors","variables","objectTypeConstraint"],["formControlName","subject","label",Tn,"placeholder",vi,"recipientSuperTypeTip","app/super-type/email-capable",3,"required","workflowVariables","interpolationType","contextTypeTips","displayFormulaRule","useContextFormula","hideSystemCurrentUserOption"],[1,"mb-4"],["label",gn],["formControlName","protectiveMarking","label",ui,"placeholder",$i,3,"required","options"],["formControlName","attachmentsWorkflowVars","label",Qn,3,"selectAllByDefault","options"],["imgSrc","assets/img/empty-states/no-attachments.svg","label",hn,"actionText",Bn,1,"empty",3,"actionClick"],["data-test","SaveDraftButton",1,"btn","btn-secondary",3,"click","disabled"]]},template:function(Un,_n){if(1&Un){const Xn=n.RV6();n.qex(0,10),n.DNE(1,Ne,3,8,"app-side-sheet-header",11)(2,Je,2,2,"app-side-sheet-header",12)(3,Qe,2,2,"app-side-sheet-header",13)(4,rt,2,2,"app-side-sheet-header",14)(5,Xt,3,8,"app-side-sheet-header",15),n.bVm(),n.DNE(6,It,2,4,"ng-template",null,0,n.C5r)(8,In,1,0,"ng-template",null,1,n.C5r),n.j41(10,"form",16)(11,"div",17),n.nrm(12,"app-allow-list-banner"),n.DNE(13,Kt,1,0,"app-filter-notification",18),n.j41(14,"app-side-sheet-section",19)(15,"div",20)(16,"button",21),n.bIt("click",function(){return n.eBV(Xn),n.Njj(_n.onMessageLabelButton())}),n.nrm(17,"span",22),n.k0s(),n.j41(18,"button",23),n.bIt("click",function(){return n.eBV(Xn),n.Njj(_n.onRelatedButton())}),n.nrm(19,"span",24),n.k0s()()(),n.DNE(20,Ze,4,1,"div",25)(21,wn,2,1,"div",26),n.j41(22,"div",27),n.DNE(23,zn,1,5,"app-single-object-chooser-field",28)(24,di,1,6,"app-single-object-chooser-field",29)(25,jn,1,5,"app-single-object-chooser-field",30)(26,Di,1,4,"app-workflow-value-chooser",31),n.k0s(),n.j41(27,"div",27),n.nrm(28,"app-single-object-chooser-field",32)(29,"app-recipient-chooser",33),n.k0s(),n.DNE(30,Li,1,8,"app-string-interpolate-text-field",34)(31,ms,4,1,"div",35)(32,Rn,1,2,"app-single-option-list-field",36),n.nrm(33,"app-rich-jodit-text-field",37)(34,"app-response-timeout-chooser",38),n.nI1(35,"async"),n.k0s(),n.j41(36,"app-side-sheet-section",39),n.nrm(37,"app-file-upload-field",40),n.k0s(),n.j41(38,"app-side-sheet-section",39),n.DNE(39,Qt,3,2,"app-multi-option-list-field",41),n.k0s(),n.j41(40,"app-side-sheet-section",42)(41,"app-message-related-objects",43),n.bIt("relatedObjectsFormChanged$",function(){return n.eBV(Xn),n.Njj(_n.makeFormDirty())})("valueChanged",function(En){return n.eBV(Xn),n.Njj(_n.relatedObjectCollapsed=!En||0===En.length)}),n.k0s()(),n.j41(42,"div",44),n.DNE(43,Wt,2,1,"button",45),n.k0s()()}2&Un&&(n.Y8G("ngSwitch",_n.mode),n.R7$(),n.Y8G("ngSwitchCase",_n.COMPOSE_TYPE.WORKFLOW),n.R7$(),n.Y8G("ngSwitchCase",_n.COMPOSE_TYPE.REPLY),n.R7$(),n.Y8G("ngSwitchCase",_n.COMPOSE_TYPE.RESEND),n.R7$(),n.Y8G("ngSwitchCase",_n.COMPOSE_TYPE.FORWARD),n.R7$(6),n.Y8G("formGroup",_n.emailForm)("appSpinner",_n.loadingState===_n.LoadingState.inProgress),n.R7$(3),n.Y8G("ngIf",_n.isFilterApplied),n.R7$(),n.Y8G("showBorder",!1),n.R7$(6),n.Y8G("ngIf",null==_n.messageLabels?null:_n.messageLabels.length),n.R7$(),n.Y8G("ngIf",_n.mode===_n.COMPOSE_TYPE.WORKFLOW),n.R7$(2),n.Y8G("ngIf",_n.mode!==_n.COMPOSE_TYPE.REPLY&&_n.mode!==_n.COMPOSE_TYPE.WORKFLOW),n.R7$(),n.Y8G("ngIf",_n.mode===_n.COMPOSE_TYPE.WORKFLOW),n.R7$(),n.Y8G("ngIf",(_n.dashboardContextTip||(null==_n.outboundSource?null:_n.outboundSource.context))&&_n.mode!==_n.COMPOSE_TYPE.WORKFLOW),n.R7$(),n.Y8G("ngIf",_n.mode===_n.COMPOSE_TYPE.WORKFLOW&&!!_n.dashboardContextType),n.R7$(2),n.Y8G("emitStringNotArray",!0)("readonly",_n.isTemplateSelected)("allowUserToAdd",!1)("typeTips",n.lJ4(48,ht)),n.R7$(),n.Y8G("isNewMessageFromStatusDashboard",_n.isNewMessageFromStatusDashboard)("workflowVariables",_n.workflowVariables)("required",_n.mode===_n.COMPOSE_TYPE.WORKFLOW),n.R7$(),n.Y8G("ngIf",_n.mode!==_n.COMPOSE_TYPE.REPLY&&_n.mode!==_n.COMPOSE_TYPE.FORWARD),n.R7$(),n.Y8G("ngIf",_n.mode===_n.COMPOSE_TYPE.REPLY||_n.mode===_n.COMPOSE_TYPE.FORWARD),n.R7$(),n.Y8G("ngIf",_n.protectiveMarkingsEnabled),n.R7$(),n.Y8G("enableStringInterpolation",!0)("workflowVariables",_n.workflowVariables)("contextTypeTips",_n.listOfContextTypeTips)("hideMessageOptions",!1)("hideSystemCurrentUserOption",!0),n.R7$(),n.Y8G("show",_n.mode===_n.COMPOSE_TYPE.WORKFLOW)("substitutions",n.bMT(35,46,_n.messageBodySubstitutions$))("workflowTip",_n.workflowTip)("workflowVariables",_n.workflowVariables)("messageType",_n.MESSAGE_TYPE.EMAIL),n.R7$(2),n.Y8G("showHeader",!1),n.R7$(),n.Y8G("isMulti",!0),n.R7$(),n.Y8G("showHeader",!1),n.R7$(),n.Y8G("ngIf",_n.mode===_n.COMPOSE_TYPE.WORKFLOW&&(null==_n.workflowVariables?null:_n.workflowVariables.variables)),n.R7$(),n.Y8G("showHeader",!1)("collapsed",_n.relatedObjectCollapsed),n.R7$(),n.Y8G("relatedObjectTip",null==_n.outboundSource?null:_n.outboundSource.relatedObjects)("workflowVariables",_n.workflowVariables)("dashboardContextTip",_n.dashboardContextTip)("isRelatedItemsInListForWorkflowNodes",!0),n.R7$(2),n.Y8G("ngIf",_n.mode!==_n.COMPOSE_TYPE.WORKFLOW))},styles:[".tail{height:65px}.flex-1{flex:1}\n"],encapsulation:2,changeDetection:0})}return Mn})()},7361:(at,N,s)=>{"use strict";s.d(N,{c:()=>de});var n=s(67376),g=s(21413),m=s(983),T=s(27468),O=s(61594),D=s(99437),E=s(88141),y=s(25558),I=s(56977),b=s(59782),L=s(10298),o=s(70495),C=s(389),w=s(69595),M=s(6947),q=s(15765),z=s(93953),F=s(52168),U=s(8076),k=s(50337),Y=s(31933),x=s(27916),B=s(32099),j=s(19937),$=s(6153);const H=["relatedObjectsComponent"];function ie(Me,me){if(1&Me&&(z.j41(0,"app-alert",32),z.EFF(1),z.k0s()),2&Me){const be=z.XpG(2);z.HbH("addPaddingSentMessage"),z.Y8G("type","info"),z.R7$(),z.JRh(be.alertMessage)}}function ne(Me,me){if(1&Me){const be=z.RV6();z.j41(0,"button",33),z.bIt("click",function(){z.eBV(be);const Ae=z.XpG(2);return z.Njj(Ae.openEmailDetailsDashboard())}),z.nrm(1,"img",34),z.k0s()}}function Q(Me,me){if(1&Me){const be=z.RV6();z.j41(0,"span",35)(1,"button",36),z.nrm(2,"mat-icon",37),z.k0s(),z.j41(3,"div",38)(4,"div")(5,"a",39),z.bIt("click",function(){z.eBV(be);const Ae=z.XpG(2);return z.Njj(Ae.onForward())}),z.pXf(6,2),z.k0s(),z.j41(7,"a",39),z.bIt("click",function(){z.eBV(be);const Ae=z.XpG(2);return z.Njj(Ae.onResend())}),z.pXf(8,3),z.k0s(),z.j41(9,"a",39),z.bIt("click",function(){z.eBV(be);const Ae=z.XpG(2);return z.Njj(Ae.onSendNewWithExistingRecipient())}),z.pXf(10,4),z.k0s()()()()}2&Me&&(z.R7$(),z.Y8G("isNavigable",!0))}function le(Me,me){if(1&Me){const be=z.RV6();z.j41(0,"span",35)(1,"button",36),z.nrm(2,"mat-icon",37),z.k0s(),z.j41(3,"div",38)(4,"a",39),z.bIt("click",function(){z.eBV(be);const Ae=z.XpG(2);return z.Njj(Ae.onForward())}),z.pXf(5,5),z.k0s()()()}2&Me&&(z.R7$(),z.Y8G("isNavigable",!0))}function pe(Me,me){if(1&Me&&(z.j41(0,"div",40)(1,"label"),z.pXf(2,6),z.k0s(),z.nrm(3,"app-labels",41),z.k0s()),2&Me){const be=z.XpG(2);z.R7$(3),z.Y8G("labels",be.messageLabels)}}function te(Me,me){if(1&Me&&(z.j41(0,"app-side-sheet-section",27)(1,"div",42),z.nrm(2,"app-render-files",43),z.k0s()()),2&Me){const be=z.XpG(2);z.Y8G("showHeader",!1),z.R7$(2),z.Y8G("displayFieldInfo",be.attachmentFieldInfo)}}function ae(Me,me){if(1&Me){const be=z.RV6();z.qex(0),z.DNE(1,ie,2,4,"app-alert",9),z.j41(2,"app-side-sheet-section",10)(3,"div",11),z.DNE(4,ne,2,0,"button",12),z.j41(5,"button",13),z.bIt("click",function(){z.eBV(be);const Ae=z.XpG();return z.Njj(Ae.onMessageLabelButton())}),z.nrm(6,"span",14),z.k0s(),z.j41(7,"button",15),z.bIt("click",function(){z.eBV(be);const Ae=z.XpG();return z.Njj(Ae.onRelatedButton())}),z.nrm(8,"span",16),z.k0s(),z.DNE(9,Q,11,1,"span",17)(10,le,6,1,"span",17),z.k0s(),z.j41(11,"div",18),z.DNE(12,pe,4,1,"div",19),z.k0s(),z.j41(13,"div",20)(14,"div"),z.nrm(15,"app-form-control-label",21),z.j41(16,"span",22),z.EFF(17),z.k0s()(),z.j41(18,"div"),z.nrm(19,"app-form-control-label",23),z.j41(20,"span",22),z.EFF(21),z.k0s()()(),z.j41(22,"div",24)(23,"div"),z.nrm(24,"app-form-control-label",25),z.j41(25,"span",26),z.EFF(26),z.k0s()()()(),z.j41(27,"app-side-sheet-section",27),z.nrm(28,"div",28),z.nI1(29,"substitutionText"),z.nI1(30,"embeddedMedia"),z.nI1(31,"async"),z.nI1(32,"fixTabNabbing"),z.nI1(33,"sanitizeHtml"),z.k0s(),z.DNE(34,te,3,2,"app-side-sheet-section",29),z.j41(35,"app-side-sheet-section",30)(36,"app-message-related-objects",31,1),z.bIt("valueChanged",function(Ae){z.eBV(be);const Oe=z.XpG();return z.Njj(Oe.relatedObjectCollapsed=!Ae||0===Ae.length)})("relatedObjectsSaved",function(Ae){z.eBV(be);const Oe=z.XpG();return z.Njj(Oe.attachRelatedObjects(Ae))}),z.k0s()(),z.bVm()}if(2&Me){const be=z.XpG();z.R7$(),z.Y8G("ngIf",null==be.inboundEmailProps?null:be.inboundEmailProps.isOriginOutbound),z.R7$(),z.Y8G("showBorder",!1)("showHeader",!1),z.R7$(2),z.Y8G("ngIf",null==be.inboundEmailProps?null:be.inboundEmailProps.isOriginOutbound),z.R7$(5),z.Y8G("ngIf",null==be.inboundEmailProps?null:be.inboundEmailProps.isOriginOutbound),z.R7$(),z.Y8G("ngIf",!(null!=be.inboundEmailProps&&be.inboundEmailProps.isOriginOutbound)),z.R7$(),z.Y8G("appSpinner",be.messageLabelsLoading),z.R7$(),z.Y8G("ngIf",null==be.messageLabels?null:be.messageLabels.length),z.R7$(5),z.JRh(be.email.from),z.R7$(4),z.JRh(be.email.datetime),z.R7$(5),z.JRh(be.stringifyTo()),z.R7$(),z.Y8G("showHeader",!1),z.R7$(),z.Y8G("innerHTML",z.bMT(33,29,z.bMT(32,27,z.bMT(31,25,z.bMT(30,23,z.i5U(29,20,be.email.body,null==be.origin||null==be.origin.emailSource?null:be.origin.emailSource.messageSubstitutions))))),z.npT),z.R7$(6),z.Y8G("ngIf",be.email.attachments&&be.email.attachments.length>0),z.R7$(),z.Y8G("showHeader",!1)("collapsed",be.relatedObjectCollapsed),z.R7$(),z.Y8G("relatedObjectTip",null!=be.inboundEmailProps&&be.inboundEmailProps.isOriginOutbound?null==be.origin||null==be.origin.sentSource?null:be.origin.sentSource.relatedObjects:null==be.origin?null:be.origin.relatedObjects)("instantSaving",!0)("isRelatedItemsInListForWorkflowNodes",!0)("isOutboundMessage",!0)}}function K(Me,me){1&Me&&z.nrm(0,"div",18),2&Me&&z.Y8G("appSpinner",!0)}let de=(()=>{class Me{constructor(be,Le,Ae,Oe,Xe,Pe,$e,ze,Be,Ye){this.router=be,this.cdRef=Le,this.objectService=Ae,this.sideSheetService=Oe,this.emailService=Xe,this.processService=Pe,this.messageWidgetService=$e,this.loggerService=ze,this.toastService=Be,this.messageLabelService=Ye,this.attachmentFieldInfo={},this.alertMessage="",this.messageLabels=[],this.prefilterMessageLabelTips=[],this.selectedMessageLabelsTips=[],this.destroy$=new g.B}ngOnInit(){this.alertMessage="The body of the message displayed below is a representation of the message people receive. Recipient information and fields in the object that have no value display as their dynamic field and are shown in brackets {} here. Recipients will see their unique information in the message they receive.",this.inboundEmailProps.isOriginOutbound?this.messageWidgetService.getOutbound(this.inboundEmailProps.tip,b.pv.EMAIL).pipe((0,O.$)(),(0,D.W)(be=>(this.loggerService.error(be),this.toastService.showErrorToast("Fail to open sent message"),this.sideSheetService.pop(),m.w))).subscribe(be=>{this.origin=be,this.fetchMessageLabelsByTip(this.origin?.sentSource?.messageLabels),this.translateOutboundToSummary()}):this.messageWidgetService.getInboundMessage$(this.inboundEmailProps.tip,L.Hq).pipe((0,O.$)(),(0,E.M)(be=>{this.origin=be}),(0,y.n)(be=>this.messageWidgetService.markAsRead(be.$tip)),(0,D.W)(be=>(this.loggerService.error(be),this.toastService.showErrorToast("Unable to open the message."),this.sideSheetService.pop(),m.w))).subscribe(()=>{this.translateInboundToSummary(),this.fetchMessageLabelsByTip(this.origin?.messageLabels)})}fetchMessageLabelsByTip(be){be&&be.length&&this.messageLabelService.getMessageLabelsByTips(be).pipe((0,I.Q)(this.destroy$)).subscribe(Le=>{this.messageLabels=Le,this.cdRef.markForCheck()},Le=>{this.messageLabels=[],this.cdRef.markForCheck()})}setProps(be){this.inboundEmailProps=be}translateOutboundToSummary(){const be=this.origin;(0,T.p)([this.objectService.getTitles(be.emailSource.attachments).pipe((0,O.$)()),this.emailService.getTitlesFromEmailableByType({to:(be.to||[]).slice(0,101),cc:(be.cc||[]).slice(0,101),bcc:(be.bcc||[]).slice(0,101)}).pipe((0,O.$)())]).subscribe(([Le,Ae])=>{this.email={to:Ae.to.map(Oe=>Oe.title),cc:Ae.cc.map(Oe=>Oe.title),bcc:Ae.bcc.map(Oe=>Oe.title),from:`${be.fromEmail} <${be.fromName}>`,subject:be.sentSource.subject,datetime:this.stringifySentDatetime(be.sentDatetime),body:be.sentSource.body,attachments:Le},this.attachmentFieldInfo.tips=(Le||[]).map(Oe=>Oe.$tip),this.cdRef.markForCheck()})}translateInboundToSummary(){const be=this.origin;(0,T.p)([this.objectService.getTitles(be.attachments).pipe((0,O.$)()),this.emailService.getTitlesFromEmailableByType({to:be.to,cc:be.cc,bcc:be.bcc,from:be.from}).pipe((0,O.$)())]).subscribe(([Le,Ae])=>{this.email={to:Ae.to.map(Oe=>Oe.title),cc:Ae.cc.map(Oe=>Oe.title),bcc:Ae.bcc.map(Oe=>Oe.title),from:Ae.from.title,subject:be.subject,datetime:this.stringifySentDatetime(be.sentDatetime),body:be.body,attachments:Le,processedState:be.processedState},this.attachmentFieldInfo.tips=(Le||[]).map(Oe=>Oe.$tip),this.cdRef.markForCheck()})}onPrimary(){const be=this.origin,Le={$type:"app/email/outbound-source",to:[be.from],cc:[],bcc:[],fromAddress:"email/default-from-address",context:null,template:null,subject:`Re: ${be.subject}`,body:`<p><br></p><p><br></p><p>--</p>${be.body}`,attachments:[],status:L.KQ.DRAFT,attachmentSubstitutions:[],messageSubstitutions:[],recipientSubstitutionFormulas:[],title:"",messageLabels:be.messageLabels,relatedObjects:be.relatedObjects},{componentInstance:Ae}=this.sideSheetService.push(o.W);Ae.mode=L.st.REPLY,Ae.outboundSource=Le}stringifySentDatetime(be){return be.format("DD/MM/YYYY - HH:mm")}stringifyTo(){return(this.email.to||[]).slice(0,100).join(", ")+((this.email.to||[]).length>100?", ...more":"")}onMessageLabelButton(){this.openMessageLabelsSideSheet()}openMessageLabelsSideSheet(){const Le=this.sideSheetService.push(C.K).componentInstance;Le.mode=w.X.MULTI_SELECT,this.prefilterMessageLabelTips.length>0?Le.prefilterMessageLabelTips=(0,n.cloneDeep)(this.prefilterMessageLabelTips):Le.selectedMessageLabels=(0,n.cloneDeep)(this.messageLabels),Le.done=Ae=>{const Oe=(0,n.get)(Ae,"selected",[]);this.selectedMessageLabelsTips=Oe.map(Xe=>Xe.$tip),this.attachMessageLabels(this.selectedMessageLabelsTips,Oe)}}attachMessageLabels(be,Le){this.messageLabelsLoading=!0;const Ae=this.inboundEmailProps.isOriginOutbound?(0,n.get)(this.origin,"sentSource"):this.origin,Oe=this.inboundEmailProps.isOriginOutbound?"eim/process/message/email-upgrade-message-labels":"eim/process/message/email-inbound-upgrade-message-labels";Ae.messageLabels=be,this.processService.start(Oe,{"Sent source tip":[Ae.$tip],"Message label tip":be}).subscribe(Xe=>{Xe.finished&&(this.messageLabels=Le,this.sendMessageLabelSource({sourceTip:this.inboundEmailProps.tip,messageLabels:Le})),this.messageLabelsLoading=!1,this.cdRef.markForCheck()},Xe=>{this.messageLabelsLoading=!1,this.cdRef.markForCheck()})}sendMessageLabelSource(be){this.messageLabelService.messageLabels$.next(be)}openEmailDetailsDashboard(){this.sideSheetService.clear(),this.router.navigate(["app","s","dashboard","test-dashboards-sent-email-status",this.origin.$tip])}onDelete(){}onRelatedButton(){this.relatedObjectsComponent.openAddSideSheet()}attachRelatedObjects(be){const Le=this.inboundEmailProps.isOriginOutbound?(0,n.get)(this.origin,"sentSource"):this.origin,Ae=this.inboundEmailProps.isOriginOutbound?"eim/process/message/email-upgrade-sent-source":"eim/process/message/email-inbound-upgrade-sent-source";Le&&!Le.relatedObjects&&(Le.relatedObjects=be,this.processService.start(Ae,{"Sent source tip":[Le.$tip],"Related objects tip":[be]}))}onForward(){const be=this.inboundEmailProps.isOriginOutbound?this.origin.emailSource:this.origin,Ae={$type:"app/email/outbound-source",to:[],cc:[],bcc:[],fromAddress:"email/default-from-address",context:null,template:null,subject:`Fwd: ${be.subject}`,body:`<p><br></p><p><br></p><p>---- Forwarded Message ----</p>${be.body}`,attachments:be.attachments||[],status:L.KQ.DRAFT,attachmentSubstitutions:[],messageSubstitutions:[],recipientSubstitutionFormulas:[],title:"",messageLabels:this.inboundEmailProps.isOriginOutbound?this.origin.sentSource.messageLabels:this.origin.messageLabels},{componentInstance:Oe}=this.sideSheetService.push(o.W);Oe.mode=L.st.FORWARD,Oe.outboundSource=Ae}onResend(){const be=this.origin.sentSource,Le=be?.messageLabels,Ae=be?.relatedObjects,Oe=this.origin.emailSource,Xe=Oe?.messageSubstitutions,Pe=Oe?.subjectSubstitutions,ze=`${(0,q.$m)(be?.subject,Oe?.subjectSubstitutions)}`,Ye=`${(0,q.$m)(be?.body,Oe?.messageSubstitutions)}`,Ct={$type:"app/email/outbound-source",to:be?.to,cc:[],bcc:[],fromAddress:"email/default-from-address",context:null,template:null,subject:ze,body:Ye,attachments:be?.attachments||[],status:L.KQ.DRAFT,attachmentSubstitutions:[],messageSubstitutions:Xe,subjectSubstitutions:Pe,recipientSubstitutionFormulas:[],title:"",messageLabels:Le,relatedObjects:Ae,protectiveMarking:Oe?.protectiveMarking},{componentInstance:Lt}=this.sideSheetService.push(o.W);Lt.mode=L.st.RESEND,Lt.outboundSource=Ct,Lt.isNewMessageFromStatusDashboard=!0}onSendNewWithExistingRecipient(){const Le=this.origin.sentSource.to,{componentInstance:Ae}=this.sideSheetService.push(M.y);Ae.mode=L.st.NEW,Ae.to=Le,Ae.isNewMessageFromStatusDashboard=!0}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(Le){return new(Le||Me)(z.rXU(F.Ix),z.rXU(z.gRc),z.rXU(U.T),z.rXU(k.E),z.rXU(Y._),z.rXU(x.V),z.rXU(b.TU),z.rXU(B.g),z.rXU(j.f),z.rXU($.A))};static#t=this.\u0275cmp=z.VBU({type:Me,selectors:[["app-view-inbound-email"]],viewQuery:function(Le,Ae){if(1&Le&&z.GBs(H,5),2&Le){let Oe;z.mGM(Oe=z.lsd())&&(Ae.relatedObjectsComponent=Oe.first)}},decls:6,vars:7,consts:()=>{let be,Le,Ae,Oe,Xe,Pe,$e,ze,Be,Ye;return be="Reply",Le="Add message labels",Ae="From",Oe="Date",Xe="To",Pe="Forward...",$e="Resend...",ze="Send new message\u2026",Be="Forward...",Ye="Label",[["loading",""],["relatedObjectsComponent",""],Pe,$e,ze,Be,Ye,["action",be,"size","lg",3,"actioned","disabled"],[4,"ngIf","ngIfElse"],[3,"type","class",4,"ngIf"],[3,"showBorder","showHeader"],[1,"email-row","justify-content-end","mb-5"],["class","btn-social btn btn-secondary","data-test","dashboardButton","title","Open email details dashboard",3,"click",4,"ngIf"],["data-test","messagLabelButton","title",Le,1,"btn-social","btn","btn-secondary","ml-1",3,"click"],[1,"mdi","mdi-label-alt"],["data-test","relateButton","title","Select related object",1,"btn-social","btn","btn-secondary","ml-1",3,"click"],[1,"mdi","mdi-link"],["ngbDropdown","","class","nav-item dropdown d-flex","placement","bottom-right",4,"ngIf"],[3,"appSpinner"],["class","selected-message-labels",4,"ngIf"],[1,"email-row","mb-5"],["label",Ae],[1,"email-value"],["label",Oe],[1,"email-row"],["label",Xe],["data-test","inbound-email-to",1,"email-value"],[3,"showHeader"],["data-test","inbound-email-body",1,"email-value",3,"innerHTML"],[3,"showHeader",4,"ngIf"],[3,"showHeader","collapsed"],[3,"valueChanged","relatedObjectsSaved","relatedObjectTip","instantSaving","isRelatedItemsInListForWorkflowNodes","isOutboundMessage"],[3,"type"],["data-test","dashboardButton","title","Open email details dashboard",1,"btn-social","btn","btn-secondary",3,"click"],["src","assets/img/analytics-icon.svg",1,"icon-img"],["ngbDropdown","","placement","bottom-right",1,"nav-item","dropdown","d-flex"],["ngbDropdownToggle","","title","More actions",1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"isNavigable"],["svgIcon","more"],["ngbDropdownMenu","","role","menu",1,"dropdown-menu"],["appTabIndex","",1,"dropdown-item","ml-1",3,"click"],[1,"selected-message-labels"],[3,"labels"],[1,"view-email-attachment"],[3,"displayFieldInfo"]]},template:function(Le,Ae){if(1&Le){const Oe=z.RV6();z.j41(0,"app-side-sheet-header",7),z.bIt("actioned",function(){return z.eBV(Oe),z.Njj(Ae.onPrimary())}),z.EFF(1),z.nI1(2,"substitutionText"),z.k0s(),z.DNE(3,ae,38,31,"ng-container",8)(4,K,1,1,"ng-template",null,0,z.C5r)}if(2&Le){const Oe=z.sdS(5);z.Y8G("disabled",null==Ae.inboundEmailProps?null:Ae.inboundEmailProps.isOriginOutbound),z.R7$(),z.SpI("",z.i5U(2,4,null==Ae.email?null:Ae.email.subject,null==Ae.origin||null==Ae.origin.emailSource?null:Ae.origin.emailSource.subjectSubstitutions),"\n"),z.R7$(2),z.Y8G("ngIf",Ae.email)("ngIfElse",Oe)}},styles:[".view-email-tail[_ngcontent-%COMP%]{height:60px}.icon-img[_ngcontent-%COMP%]{height:13px;width:13px}.email-value[_ngcontent-%COMP%]{color:#273c4e}.email-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.remove-space[_ngcontent-%COMP%]{margin-bottom:-5px!important}"],changeDetection:0})}return Me})()},15765:(at,N,s)=>{"use strict";s.d(N,{$d:()=>q,$m:()=>Y,Gq:()=>U,In:()=>L,Q9:()=>F,Ww:()=>k,XL:()=>w,oT:()=>z});var n=s(97586),a=s.n(n),g=s(67376),T=s(95354),O=s(95113),D=s(92597),E=s(89417),y=s(40605),I=s(61594),b=s(93953);const L={"app/group":"groups","app/org-unit":"organizationalUnits","app/person":"people","app/organization":"people","app/team":"teams","app/team-role":"roles",query:"filters","app/email/addhoc-address":"otherContacts","app/sms/addhoc-number":"otherContacts","app/voice-message/addhoc-number":"otherContacts"};var w=function(x){return x[x.LOADING=0]="LOADING",x[x.EDITING=1]="EDITING",x}(w||{}),q=function(x){return x.SENT="Sent",x.FAILED="Failed",x}(q||{});const z="Dashboard context tip",F="Unable to load all recipients.";let U=(()=>{class x{static generateTemplateFilters(j,$=O.$z.EMAIL,H=!0){const ie=`EQUALS(FIELD("app/${$}/outbound-template:context-type"),ARRAY())`;if((0,g.isEmpty)(j)||(0,g.isEmpty)((0,g.head)(j)))return[{label:"templates with no context",formula:ie}];{let ne=(0,D.Ac)({name:"ARRAY",args:j});return H||(ne=`ARRAY(${ne},FIELD_VALUES("app/object-type:type",${ne}))`),[{label:"templates of current or no context",formula:`OR(INARRAY(${ne},FIELD("app/${$}/outbound-template:context-type")),${ie})`}]}}getEmptyCollection(){return{groups:[],organizationalUnits:[],people:[],teams:[],roles:[],filters:[],otherContacts:[],workflowInputs:[],workflowActors:[],workflowVars:[]}}isCollectionEmpty(j){return!j||!Object.entries(j).some(([$,H])=>H.length)}getFlattenedTipsFromCollection(j){return Object.keys(j).reduce(($,H)=>$.concat(j[H]),[])}isMessageCapableCollectionEmpty(j){for(const $ in j)if(j[$].length>0)return!1;return!0}datetimeToMetaString(j){const $="DD-MM-YYYY";return j.format($)===a()().format($)?j.format("LT"):j.format("D MMM")}addFormulasToCollection(j,$){j.workflowInputs=($||[]).filter(H=>H.indexOf('VAR("Input-')>-1),j.workflowVars=($||[]).filter(H=>H.indexOf('VAR("Variable-')>-1),j.workflowActors=($||[]).filter(H=>H.indexOf('VAR("Actor-')>-1)}getWorkflowPropFromFormula(j,$,H){let ie;const ne=(0,D.iX)(j);return ie="VAR"===ne.name?ne.args[0]:(0,D.iX)((0,T.Hb)(j)).args[0],H[$].find(Q=>Q.key===ie)}getFlattenedFormulasFromCollection(j){return[...j.workflowInputs||[],...j.workflowVars||[],...j.workflowActors||[]]}validateMessagingFields(j,$,H,ie){H===$?ie.get(j).setValidators([E.k0.required]):ie.get(j).removeValidators([E.k0.required])}checkSuperTypeFromMetaMap(j,$){const H=$.get(j);if(H&&H.implementsSuperTypes){if(H.implementsSuperTypes.indexOf("app/super-type/contact")>-1)return"people";if(H.implementsSuperTypes.indexOf("app/super-type/org-structure")>-1)return"organizationalUnits"}}preemptiveMailRequestExpiryTimer(j=5){return(0,y.Y)(1e3*j).pipe((0,I.$)())}static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275prov=b.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})();function k(x){return(0,g.isEmpty)(x)?null:(0,D.Ac)({name:"JSON_BUILD",args:[JSON.stringify({type:"object",property:{subworkflowVarKeys:{type:"stringArray",formula:(0,D.Ac)({name:"ARRAY",args:x.filter(({parentProperty:B})=>!!B).map(({subInputKey:B})=>B)})},varValues:{type:"stringArray",formula:(0,D.Ac)({name:"ARRAY",args:x.filter(({parentProperty:B})=>!!B).map(({parentProperty:B})=>({name:"COALESCE",args:[{name:"FIRST",args:[(0,D.iX)(B.formula)]},""]}))})}}}),"root"]})}function Y(x,B){let j=x;const $=(0,g.filter)(B,H=>H.value.includes("app/email/recipient:source")||H.value.includes("app/sms/recipient:source")||H.value.includes("app/voice-message/recipient:source")||H.value.includes('ARRAY("Yes")')||H.value.includes('ARRAY("No")')||H.value.includes('ARRAY("Maybe")')||H.value.includes("Yes")||H.value.includes("No")||H.value.includes("Maybe")||H.value.includes("TIP()")||"Recipients list"===H.label);return(0,g.forEach)($,H=>{x.includes("{"+H.label+"}")?j=j.replace("{"+H.label+"}",H.key):x.includes(H.label)&&(j=j.replace(H.label,H.key))}),j}},58639:(at,N,s)=>{"use strict";s.d(N,{G:()=>I});var n=s(93953),a=s(89417),g=s(18359),m=s(7673),T=s(61594),O=s(88141),D=s(25558),E=s(31841),y=s(60295);let I=(()=>{class b{constructor(o,C){this.messageRelatedObjectsService=o,this.cdr=C,this.instantSaving=!1,this.valueChanged=new n.bkB,this.relatedObjectsSaved=new n.bkB,this.relatedObjectsFormChanged$=new n.bkB,this.messageRelatedObjectsForm=new a.gE({items:new a.MJ({})}),this.subscriptions=new g.yU}ngOnInit(){this.subscriptions.add(this.messageRelatedObjectsService.getOrNewRelatedObjects(this.relatedObjectTip,this.dashboardContextTip).pipe((0,T.$)()).subscribe(o=>{this.relatedObject=o,this.emitValueChanged(),this.messageRelatedObjectsForm.setValue({items:this.relatedObject||{}})})),this.subscriptions.add(this.messageRelatedObjectsForm.valueChanges.pipe((0,O.M)(()=>{this.cdr.markForCheck(),this.isRelatedItemsInListForWorkflowNodes&&(this.relatedObject.workflowRelatedItems=this.messageRelatedObjectsForm.value.items.workflowRelatedItems||{},this.relatedObject.workflowRelatedItemFormula=this.messageRelatedObjectsForm.value.items.workflowRelatedItemFormula||""),this.relatedObject.items=this.messageRelatedObjectsForm.value.items.items||[],this.emitValueChanged(),this.relatedObjectsFormChanged()}),(0,D.n)(()=>this.instantSaving?this.saveRelatedObjects():(0,m.of)())).subscribe())}emitValueChanged(){this.valueChanged.emit(this.relatedObject)}relatedObjectsFormChanged(){this.relatedObjectsFormChanged$.emit()}saveRelatedObjects(){return this.messageRelatedObjectsService.setRelatedObjects(this.relatedObject).pipe((0,T.$)(),(0,O.M)(o=>{this.relatedObject.$tip=o,this.relatedObjectsSaved.emit(o)}))}openAddSideSheet(){this.multiObjectChooserFieldComponent.openRelatedItemChooserObjectType()}ngOnDestroy(){this.subscriptions.unsubscribe()}static#e=this.\u0275fac=function(C){return new(C||b)(n.rXU(y.q),n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:b,selectors:[["app-message-related-objects"]],viewQuery:function(C,w){if(1&C&&n.GBs(E.z,7),2&C){let M;n.mGM(M=n.lsd())&&(w.multiObjectChooserFieldComponent=M.first)}},inputs:{relatedObjectTip:"relatedObjectTip",dashboardContextTip:"dashboardContextTip",instantSaving:"instantSaving",workflowVariables:"workflowVariables",isRelatedItemsInListForWorkflowNodes:"isRelatedItemsInListForWorkflowNodes",isOutboundMessage:"isOutboundMessage"},outputs:{valueChanged:"valueChanged",relatedObjectsSaved:"relatedObjectsSaved",relatedObjectsFormChanged$:"relatedObjectsFormChanged$"},decls:2,vars:5,consts:[[3,"formGroup"],["formControlName","items","label","Related items",3,"alwaysShowPlusButton","isRelatedItemsInListForWorkflowNodes","workflowVariables","isOutboundMessage"]],template:function(C,w){1&C&&(n.j41(0,"div",0),n.nrm(1,"app-multi-object-chooser-field",1),n.k0s()),2&C&&(n.Y8G("formGroup",w.messageRelatedObjectsForm),n.R7$(),n.Y8G("alwaysShowPlusButton",!0)("isRelatedItemsInListForWorkflowNodes",w.isRelatedItemsInListForWorkflowNodes)("workflowVariables",w.workflowVariables)("isOutboundMessage",w.isOutboundMessage))},changeDetection:0})}return b})()},60295:(at,N,s)=>{"use strict";s.d(N,{q:()=>y});var n=s(7673),a=s(95113),g=s(40673),m=s(96354),T=s(67376),D=s(93953),E=s(44667);let y=(()=>{class I{constructor(L){this.objectService=L}getOrNewRelatedObjects(L,o){if(L)return this.objectService.getObject(L,a.Sl);const C={$type:"app/message/related-objects",items:[],workflowRelatedItems:{}};return o&&C.items.push(o),(0,n.of)(C)}setRelatedObjects(L){return this.objectService.setObject(L,a.Sl,g.Ay.BRANCH_MASTER,g.Ay.SECURITY.INSTANCE_USER_USER).pipe((0,m.T)(o=>(0,T.get)(o,"[0].tip",L.$tip)))}static#e=this.\u0275fac=function(o){return new(o||I)(D.KVO(E.T))};static#t=this.\u0275prov=D.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})()},6947:(at,N,s)=>{"use strict";s.d(N,{y:()=>C});var n=s(95113),a=s(70495),g=s(27406),m=s(56039),T=s(61594),O=s(25558),D=s(67376),y=s(93953),I=s(50337),b=s(31933),L=s(54709),o=s(79029);let C=(()=>{class w{constructor(q,z,F,U){this.sideSheetService=q,this.emailService=z,this.voiceMessageService=F,this.smsService=U,this.MESSAGE_TYPE=n.$z,this.SMSTemplateTip=null,this.emailTemplateTip=null,this.voiceTemplateTip=null,this.isFilterApplied=!1,this.isNewMessageFromStatusDashboard=!1,this.SMSTemplateDisabled=!1,this.emailTemplateDisabled=!1,this.voiceTemplateDisabled=!1}select(q){const z={inputs:[],actors:[],variables:[]};let F;switch(q){case n.$z.EMAIL:if(this.isNewMessageFromStatusDashboard)this.emailService.getEmailableByType({to:this.to,cc:[],bcc:[]}).pipe((0,T.$)(),(0,O.n)(x=>this.emailService.getEmailableMetaCollection(x.to,z))).subscribe(x=>{const B=(0,D.flatten)(Object.values(x)),j=(0,D.map)(B,"$tip");F=this.initSideSheetInstance(a.W),F.dashboardContextTip=this.dashboardContextTip;const $=this.emailService.createNewOutboundSource("email/default-from-address");$.template=this.emailTemplateTip,F.templateDisabled=this.emailTemplateDisabled,F.outboundSource=$,$.to=j,F.isFilterApplied=this.isFilterApplied,F.isNewMessageFromStatusDashboard=this.isNewMessageFromStatusDashboard});else{F=this.initSideSheetInstance(a.W),F.dashboardContextTip=this.dashboardContextTip;const Y=this.emailService.createNewOutboundSource("email/default-from-address");Y.template=this.emailTemplateTip,F.templateDisabled=this.emailTemplateDisabled,F.outboundSource=Y}break;case n.$z.SMS:const U=this.smsService.createNewOutboundSource();U.to=this.to,this.isNewMessageFromStatusDashboard?this.smsService.getSMSCapableByTypeFromOutboundSource(U).pipe((0,T.$)(),(0,O.n)(Y=>this.smsService.getSMSCapableMetaCollection(Y,z))).subscribe(Y=>{const x=(0,D.flatten)(Object.values(Y)),B=(0,D.map)(x,"$tip");U.template=this.SMSTemplateTip,F=this.initSideSheetInstance(g.t),F.dashboardContextTip=this.dashboardContextTip,F.templateDisabled=this.SMSTemplateDisabled,F.outboundSource=U,U.to=B,F.isFilterApplied=this.isFilterApplied,F.isNewMessageFromStatusDashboard=this.isNewMessageFromStatusDashboard}):(U.template=this.SMSTemplateTip,F=this.initSideSheetInstance(g.t),F.dashboardContextTip=this.dashboardContextTip,F.templateDisabled=this.SMSTemplateDisabled,F.outboundSource=U);break;case n.$z.VOICE:const k=this.voiceMessageService.createNewOutboundSource("voice-message/default-from-number");if(k.to=this.to,this.isNewMessageFromStatusDashboard)this.voiceMessageService.getVoiceMessageCapableByTypeFromOutboundSource(k).pipe((0,T.$)(),(0,O.n)(Y=>this.voiceMessageService.getVoiceMessageCapableMetaCollection(Y,z))).subscribe(Y=>{const x=(0,D.flatten)(Object.values(Y)),B=(0,D.map)(x,"$tip");F=this.initSideSheetInstance(m.$),F.prepopulateTemplate=!!this.voiceTemplateTip,F.dashboardContextTip=this.dashboardContextTip,k.template=this.voiceTemplateTip,F.templateDisabled=this.voiceTemplateDisabled,F.outboundSource=k,k.to=B,F.isFilterApplied=this.isFilterApplied,F.isNewMessageFromStatusDashboard=this.isNewMessageFromStatusDashboard});else{F=this.initSideSheetInstance(m.$),F.prepopulateTemplate=!!this.voiceTemplateTip,F.dashboardContextTip=this.dashboardContextTip;const Y=this.voiceMessageService.createNewOutboundSource("voice-message/default-from-number");Y.template=this.voiceTemplateTip,F.templateDisabled=this.voiceTemplateDisabled,F.outboundSource=Y}}}initSideSheetInstance(q){return this.sideSheetService.push(q).componentInstance}static#e=this.\u0275fac=function(z){return new(z||w)(y.rXU(I.E),y.rXU(b._),y.rXU(L.T),y.rXU(o.$))};static#t=this.\u0275cmp=y.VBU({type:w,selectors:[["app-message-type-chooser-side-sheet"]],decls:10,vars:6,consts:()=>{let q,z,F,U;return q="Choose message type",z="Email",F="SMS",U="Voice message",[q,z,F,U,[3,"showBorder","showHeader"],[3,"showMoreButton"],["data-test","type-email",3,"click","hasChevron"],["data-test","type-sms",3,"click","hasChevron"],["data-test","type-voice",3,"click","hasChevron"]]},template:function(z,F){1&z&&(y.j41(0,"app-side-sheet-header"),y.pXf(1,0),y.k0s(),y.j41(2,"app-side-sheet-section",4)(3,"app-side-sheet-list",5)(4,"app-side-sheet-list-item",6),y.bIt("click",function(){return F.select(F.MESSAGE_TYPE.EMAIL)}),y.pXf(5,1),y.k0s(),y.j41(6,"app-side-sheet-list-item",7),y.bIt("click",function(){return F.select(F.MESSAGE_TYPE.SMS)}),y.pXf(7,2),y.k0s(),y.j41(8,"app-side-sheet-list-item",8),y.bIt("click",function(){return F.select(F.MESSAGE_TYPE.VOICE)}),y.pXf(9,3),y.k0s()()()),2&z&&(y.R7$(2),y.Y8G("showBorder",!1)("showHeader",!1),y.R7$(),y.Y8G("showMoreButton",!1),y.R7$(),y.Y8G("hasChevron",!0),y.R7$(2),y.Y8G("hasChevron",!0),y.R7$(2),y.Y8G("hasChevron",!0))}})}return w})()},56399:(at,N,s)=>{"use strict";s.d(N,{U:()=>T});var n=s(7673),a=s(96354),g=s(93953),m=s(44667);let T=(()=>{class O{constructor(E){this.dataObjectService=E}updateOutboundSourceRecipients$(E,y){return E.$tip?this.dataObjectService.getObject(E.$tip,y,void 0,void 0,!1).pipe((0,a.T)(I=>({...E,to:I.to}))):(0,n.of)({...E})}static#e=this.\u0275fac=function(y){return new(y||O)(g.KVO(m.T))};static#t=this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})()},24567:(at,N,s)=>{"use strict";s.d(N,{Z:()=>m,p:()=>g});var n=s(92597),a=s(95354);function g(T){const O=[];if(T){if(Array.isArray(T))return T;if(""!==T&&"string"==typeof T){const D=(0,n.iX)(T);if(D.args)for(const E of D.args)O.push((0,n.Ac)(E))}}return O}function m(T){return T&&"ARRAY()"!==T&&""!==T?g(T).map(D=>(0,a.Hb)(D)):[]}},12294:(at,N,s)=>{"use strict";s.d(N,{m:()=>b});var n=s(67376),g=s(27468),m=s(7673),T=s(96354),O=s(61594),D=s(92597),E=s(93953),y=s(64627),I=s(76087);let b=(()=>{class L{constructor(C,w){this.formulaLabelService=C,this.formulaService=w}getParsedMetaCollection(C){return(0,g.p)([this.updateTitleForWorkflowVars(C.workflowActors),this.updateTitleForWorkflowVars(C.workflowInputs),this.updateTitleForWorkflowVars(C.workflowVars)]).pipe((0,T.T)(w=>(C.workflowActors=w[0],C.workflowInputs=w[1],C.workflowVars=w[2],C)))}updateTitleForWorkflowVars(C){return 0===C.length?(0,m.of)([]):(0,g.p)(C.map(w=>this.getTitleFromWorkflowFormulas(this.parseFormulaToTransform(w.formula)).pipe((0,T.T)(M=>((0,n.get)(M[0],"label","").length>0&&(w.title=w.title+" \u203a "+M[0].label),w)))))}parseFormulaToTransform(C){const w=C?.split(",").reverse(),q=(w?.pop(),w?.reverse().join(",").slice(0,-1)),z=[];return z.push(q?.length>0?q:C),z}getTitleFromWorkflowFormulas(C){return this.transformWorkFlowFormulas(C).pipe((0,O.$)(Boolean),(0,T.T)(w=>C.map((M,q)=>({formula:M,label:w[q]}))))}transformWorkFlowFormulas(C){const w=C.map(M=>({formulaString:M}));return this.formulaLabelService.transformBatch(w).pipe((0,T.T)(M=>M.map(q=>q)))}startToolTipProcess(C){let w=C.groups.slice();if(w.length>0){let M=[];w.forEach((F,U)=>{M.push(F.$tip)});const z=(0,D.Ac)({name:"MAP",args:[{name:"ARRAY",args:M},{name:"CONCAT_WS",args:[" > ",{name:"MAP",args:[{name:"REVERSE",args:[{name:"ARRAY",args:[{name:"DESCENDANTS",args:["app/group:parent",{name:"VAR",args:["tip"]}]}]}]},{name:"TITLE",args:[{name:"VAR",args:["pathTip"]}]},"pathTip"]}]},"tip"]});return this.formulaService.evaluate(z)}return(0,m.of)([])}static#e=this.\u0275fac=function(w){return new(w||L)(E.KVO(y.i),E.KVO(I.C))};static#t=this.\u0275prov=E.jDH({token:L,factory:L.\u0275fac,providedIn:"root"})}return L})()},34566:(at,N,s)=>{"use strict";s.d(N,{i:()=>O});var n=s(93953),a=s(76194),g=s(95354),m=s(92597);function T(D,E){if(1&D){const y=n.RV6();n.qex(0),n.j41(1,"app-workflow-property-chooser",5),n.bIt("done",function(b){n.eBV(y);const L=n.XpG();return n.Njj(L.onWorkflowVariablesChosen("inputs",b))}),n.k0s(),n.j41(2,"app-workflow-property-chooser",6),n.bIt("done",function(b){n.eBV(y);const L=n.XpG();return n.Njj(L.onWorkflowVariablesChosen("actors",b))}),n.k0s(),n.j41(3,"app-workflow-property-chooser",7),n.bIt("done",function(b){n.eBV(y);const L=n.XpG();return n.Njj(L.onWorkflowVariablesChosen("variables",b))}),n.k0s(),n.bVm()}if(2&D){const y=n.XpG();n.R7$(),n.Y8G("showTally",!1)("items",y.emailableWorkflowInputs)("formula",y.selectedFormula)("isRelatedItem",!0)("dataTypeRestrict",y.workflowPrimitiveTypeRestrict),n.R7$(),n.Y8G("showTally",!1)("isRelatedItem",!0)("items",y.workflowVariables.actors)("formula",y.selectedFormula),n.R7$(),n.Y8G("showTally",!1)("isRelatedItem",!0)("items",y.emailableWorkflowVars)("formula",y.selectedFormula)("dataTypeRestrict",y.workflowPrimitiveTypeRestrict)}}let O=(()=>{class D{constructor(){this.valueChanged=new n.bkB,this.emailableWorkflowInputs=[],this.emailableWorkflowVars=[],this.workflowPrimitiveTypeRestrict=a.HT.email,this.back=()=>{},this.openObjectChooser=()=>{},this.relatedObjectCollapsed=!0}ngOnInit(){const y=this.workflowVariables?[...this.workflowVariables.inputs]:[];this.emailableWorkflowInputs=y.filter(b=>[this.workflowPrimitiveTypeRestrict,a.HT.object].includes(b.dataType));const I=this.workflowVariables?[...this.workflowVariables.variables]:[];this.emailableWorkflowVars=I.filter(b=>[this.workflowPrimitiveTypeRestrict,a.HT.object].includes(b.dataType)),this.updateSelectedWorkflowVars()}updateSelectedWorkflowVars(){!this.currentlySelected||!this.workflowVariables||(this.setSelectedWorkflowVars(this.currentlySelected.workflowInputs,this.emailableWorkflowInputs),this.setSelectedWorkflowVars(this.currentlySelected.workflowVars,this.emailableWorkflowVars),this.setSelectedWorkflowVars(this.currentlySelected.workflowActors,this.workflowVariables.actors))}setSelectedWorkflowVars(y,I){y&&y.forEach(b=>{const L=(0,m.iX)(b);let o;o="VAR"===L.name?L.args[0]:(0,m.iX)((0,g.Hb)(b)).args[0],this.selectedFormula=(0,g.Ju)(b);const C=I.find(w=>w.key===o);C&&(C.isSelected=!0)})}onWorkflowVariablesChosen(y,I){"inputs"===y?this.currentlySelected.workflowInputs=I.formula?[I.formula]:[]:"actors"===y?this.currentlySelected.workflowActors=I.formula?[I.formula]:[]:"variables"===y&&(this.currentlySelected.workflowVars=I.formula?[I.formula]:[]),this.updateSelectedWorkflowVars(),this.back(this.currentlySelected)}onRelatedObjectChosen(y=!1){this.openObjectChooser()}onBack(){this.back(this.currentlySelected)}static#e=this.\u0275fac=function(I){return new(I||D)};static#t=this.\u0275cmp=n.VBU({type:D,selectors:[["app-related-items-chooser"]],outputs:{valueChanged:"valueChanged"},decls:6,vars:2,consts:()=>{let y,I;return y=" Relate to ",I=" Select an object ",[y,I,[1,"modal-body"],[3,"click","hasChevron"],[4,"ngIf"],["label","Workflow inputs","title","Workflow Input","dataType","email",3,"done","showTally","items","formula","isRelatedItem","dataTypeRestrict"],["label","Workflow actors","title","Workflow Actor",3,"done","showTally","isRelatedItem","items","formula"],["label","Workflow variables","title","Workflow Variable",3,"done","showTally","isRelatedItem","items","formula","dataTypeRestrict"]]},template:function(I,b){1&I&&(n.j41(0,"app-side-sheet-header"),n.pXf(1,0),n.k0s(),n.j41(2,"div",2)(3,"app-side-sheet-list-item",3),n.bIt("click",function(){return b.onRelatedObjectChosen()}),n.pXf(4,1),n.k0s(),n.DNE(5,T,4,14,"ng-container",4),n.k0s()),2&I&&(n.R7$(3),n.Y8G("hasChevron",!0),n.R7$(2),n.Y8G("ngIf",b.workflowVariables))},changeDetection:0})}return D})()},27406:(at,N,s)=>{"use strict";s.d(N,{t:()=>gt});var n=s(93953),a=s(89417),g=s(67376),T=s(97586),O=s.n(T),D=s(21413),E=s(84572),y=s(7673),I=s(61594),b=s(25558),L=s(99437),o=s(88141),C=s(56977),w=s(5964),M=s(59782),q=s(34669),z=s(49232),F=s(7930),U=s(95113),k=s(83855),Y=s(69172),x=s(15765),B=s(58639),j=s(24567),$=s(2937),H=s(389),ie=s(69595),ne=s(68030),Q=s(76087),le=s(56399),pe=s(8076),te=s(50337),ae=s(79029),K=s(29739),de=s(19937),Me=s(6153),me=s(29968);const be=()=>({list:!0,datetime:!0,date:!0}),Le=()=>["app/sms/outbound-template"],Ae=Ge=>[Ge];function Oe(Ge,Se){if(1&Ge){const ke=n.RV6();n.j41(0,"app-side-sheet-header",33),n.bIt("actioned",function(){n.eBV(ke);const Je=n.XpG();return n.Njj(Je.onPrimary())}),n.pXf(1,0),n.k0s()}if(2&Ge){const ke=n.XpG();n.Y8G("showCancelButton",!0)("disabled",ke.smsForm.invalid||ke.loadingState===ke.LoadingState.inProgress)}}function Xe(Ge,Se){if(1&Ge){const ke=n.RV6();n.j41(0,"app-side-sheet-header",34),n.bIt("actioned",function(){n.eBV(ke);const Je=n.XpG();return n.Njj(Je.onPrimary())}),n.pXf(1,1),n.k0s()}if(2&Ge){const ke=n.XpG();n.Y8G("showCancelButton",!0)("disabled",ke.smsForm.invalid||ke.loadingState===ke.LoadingState.inProgress)}}function Pe(Ge,Se){if(1&Ge){const ke=n.RV6();n.j41(0,"app-side-sheet-header",35),n.bIt("actioned",function(){n.eBV(ke);const Je=n.XpG();return n.Njj(Je.onPrimary())}),n.pXf(1,2),n.k0s()}if(2&Ge){const ke=n.XpG();n.Y8G("showCancelButton",!0)("disabled",ke.smsForm.invalid||ke.loadingState===ke.LoadingState.inProgress)}}function $e(Ge,Se){if(1&Ge){const ke=n.RV6();n.j41(0,"app-side-sheet-header",36),n.bIt("actioned",function(){n.eBV(ke);const Je=n.XpG();return n.Njj(Je.onPrimary())}),n.pXf(1,3),n.k0s()}if(2&Ge){const ke=n.XpG();n.Y8G("showCancelButton",!0)("disabled",ke.smsForm.invalid||ke.loadingState===ke.LoadingState.inProgress)}}function ze(Ge,Se){1&Ge&&n.nrm(0,"app-filter-notification")}function Be(Ge,Se){if(1&Ge&&(n.j41(0,"div",37)(1,"label"),n.pXf(2,4),n.k0s(),n.nrm(3,"app-labels",38),n.k0s()),2&Ge){const ke=n.XpG();n.R7$(3),n.Y8G("labels",ke.messageLabels)}}function Ye(Ge,Se){1&Ge&&n.nrm(0,"app-text-field",39),2&Ge&&n.Y8G("required",!0)}function Ct(Ge,Se){if(1&Ge&&n.nrm(0,"app-single-object-chooser-field",40),2&Ge){const ke=n.XpG();n.Y8G("emitStringNotArray",!0)("extraFilters",ke.templateFilter)("allowNavAway",!1)("allowUserToAdd",!1)("typeTips",n.lJ4(5,Le))}}function Lt(Ge,Se){if(1&Ge&&n.nrm(0,"app-single-object-chooser-field",41),2&Ge){const ke=n.XpG();n.Y8G("emitStringNotArray",!0)("typeTips",n.eq3(3,Ae,ke.dashboardContextType))("readonly",!0)}}function Vt(Ge,Se){if(1&Ge&&n.nrm(0,"app-workflow-value-chooser",42),2&Ge){const ke=n.XpG();n.Y8G("inputs",null==ke.workflowVariables?null:ke.workflowVariables.inputs)("actors",null==ke.workflowVariables?null:ke.workflowVariables.actors)("variables",null==ke.workflowVariables?null:ke.workflowVariables.variables)("objectTypeConstraint",ke.dashboardContextType)}}function ht(Ge,Se){if(1&Ge){const ke=n.RV6();n.j41(0,"app-side-sheet-section",43)(1,"div",44)(2,"button",45),n.bIt("click",function(){n.eBV(ke);const Je=n.XpG();return n.Njj(Je.saveSMSAsDraft())}),n.pXf(3,5),n.k0s()()()}if(2&Ge){const ke=n.XpG();n.Y8G("showBorder",!1),n.R7$(2),n.Y8G("disabled",ke.smsForm.pristine||!ke.isValidDraft())}}let gt=(()=>{class Ge{constructor(ke,Ne,Je,Qe,rt,ft,Xt,It,In,Kt,Ze,wn){this.cdRef=ke,this.formulaService=Ne,this.messageWidgetService=Je,this.messagesHelperService=Qe,this.objectService=rt,this.sideSheetService=ft,this.smsService=Xt,this.templateManagerService=It,this.toastService=In,this.messageUtilsService=Kt,this.messageLabelsService=Ze,this.modalService=wn,this.templateDisabled=!1,this.mode=k.yP.NEW,this.outboundSaved=new n.bkB,this.ToggleType=$.T,this.isTemplateSelected=!1,this.loadingState=Y.Gu.inProgress,this.LoadingState=Y.Gu,this.MESSAGE_TYPE=U.$z,this.SMS_COMPOSE_TYPE=k.yP,this.STRING_INTERPOLATE_TEXT_FIELD_MODE=z.J6,this.selectedTemplateRecipients=[],this.unsubscribe$=new D.B,this.fromOptions=[{label:"Default origins",value:"0"}],this.smsForm=new a.gE({title:new a.MJ(""),template:new a.MJ(null),from:new a.MJ({value:"0",disabled:!0}),recipients:new a.MJ({to:[],toFormulas:[]},q.O.messageRecipients),body:new a.MJ({html:"",substitutions:[]},q.O.emailTemplateSubjectValidator),billingCode:new a.MJ({value:null,disabled:!0}),contextTip:new a.MJ(null),contextFormula:new a.MJ(null,zn=>this.mode===k.yP.WORKFLOW&&this.dashboardContextType&&(0,g.isEmpty)((0,g.get)(zn,"value"))?[a.k0.required]:null),responseAck:new a.MJ(null)}),this.relatedObjectCollapsed=!0,this.enableDescription=!1,this.messageLabels=[],this.selectedMessageLabelsTips=[],this.isDirty=!1,this.isFilterApplied=!1,this.isNewMessageFromStatusDashboard=!1,this.isResend=!1,this.prevTemplateTip=""}ngOnInit(){this.messageUtilsService.validateMessagingFields("title",this.SMS_COMPOSE_TYPE.WORKFLOW,this.mode,this.smsForm),this.fetchMessageLabelsByTips(),this.templateDisabled&&this.smsForm.controls.template.disable(),(0,E.z)([this.getOutboundTemplate$(this.outboundSource),this.messagesHelperService.updateOutboundSourceRecipients$(this.outboundSource,k.iS).pipe((0,I.$)())]).pipe((0,b.n)(([ke,Ne])=>(this.outboundSource=Ne,this.populateForm(this.outboundSource,ke)))).subscribe(()=>{this.loadingState=Y.Gu.loaded,this.cdRef.markForCheck(),this.watchFormForChanges()})}setFromOptions(ke){return this.formulaService.evaluate('LOOKUP(FIELD("app/sender-id:sender-id"),ISTYPE("app/sender-id"))').pipe((0,L.W)(()=>(0,y.of)(null)),(0,o.M)(Ne=>{if(Ne){const Je=Ne.map(Qe=>({label:`${Qe}<br /><span class="description">Sender ID</span>`,value:Qe}));this.fromOptions=[...Je,...this.fromOptions],this.smsForm.get("from").enable(),this.smsForm.get("from").setValue(ke||this.fromOptions[0].value)}}))}fetchMessageLabelsByTips(){this.outboundSource?.messageLabels&&this.outboundSource?.messageLabels.length&&this.messageLabelsService.getMessageLabelsByTips(this.outboundSource?.messageLabels).pipe((0,C.Q)(this.unsubscribe$)).subscribe(ke=>{this.messageLabels=ke.filter(Ne=>{if(Ne.$tip&&Ne?.name&&Ne?.color)return Ne}),this.selectedMessageLabelsTips=this.messageLabels.map(Ne=>Ne.$tip)},ke=>{this.loadingState=Y.Gu.failed})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}isValidDraft(){return this.smsService.isValidDraft(this.generateSrcFromForm(k.Pn.DRAFT,this.selectedMessageLabelsTips))}onPrimary(){this.loadingState=Y.Gu.inProgress,this.cdRef.markForCheck(),this.saveOutboundSource(k.Pn.SENT).pipe((0,I.$)(),(0,b.n)(ke=>(this.outboundSrcTip=ke,this.mode===k.yP.WORKFLOW?(0,y.of)(null):this.smsService.sendSmsWithEarlyReturn(ke,this.dashboardContextTip).pipe((0,I.$)())))).subscribe(ke=>{this.mode!==k.yP.WORKFLOW?this.messageWidgetService.showToastNavigation(this.outboundSrcTip,M.Om.SMS,M.Uj.SMS):this.toastService.showSuccessToast("Saved"),this.loadingState=Y.Gu.loaded,this.cdRef.markForCheck(),this.sideSheetService.makeClean(),this.sideSheetService.pop()},()=>{this.loadingState=Y.Gu.failed,this.toastService.showErrorToast("SMS failed to "+(this.mode===k.yP.WORKFLOW?"save":"send")),this.cdRef.markForCheck()})}saveSMSAsDraft(){this.loadingState=Y.Gu.inProgress,this.cdRef.markForCheck(),this.saveOutboundSource(k.Pn.DRAFT).subscribe(()=>{this.toastService.showSuccessToast("SMS draft saved"),this.loadingState=Y.Gu.loaded,this.cdRef.markForCheck(),this.sideSheetService.makeClean(),this.sideSheetService.pop()},()=>{this.loadingState=Y.Gu.failed,this.toastService.showErrorToast("SMS draft save failed"),this.cdRef.markForCheck()})}onRelatedButton(ke=!1){this.relatedObjectsComponent.openAddSideSheet()}onMessageLabelButton(){this.openMessageLabelsSideSheet()}openMessageLabelsSideSheet(){const Ne=this.sideSheetService.push(H.K).componentInstance;Ne.mode=ie.X.MULTI_SELECT,Ne.selectedMessageLabels=(0,g.cloneDeep)(this.messageLabels),Ne.done=Je=>{this.messageLabels=(0,g.get)(Je,"selected",[]),this.selectedMessageLabelsTips=this.messageLabels.map(Qe=>Qe.$tip)}}makeFormDirty(){this.sideSheetService.makeDirty()}populateForm(ke,Ne){const Je=this.getSenderId(ke,Ne);return this.smsForm.patchValue({template:ke.template,title:ke.title,from:Je,recipients:{to:ke.to,toFormulas:ke.toNumberFormula?(0,j.p)(ke.toNumberFormula):[]},body:F.tk.getSubstitutionMetaFromSmsOutboundSource(Ne&&Ne.body?Ne:ke),billingCode:ke.billingCode||null,contextTip:ke.context||this.dashboardContextTip,contextFormula:JSON.parse((0,g.get)(ke,"contextFormulaMeta",null)),responseAck:{ackType:(0,g.get)(this.outboundSource,"ackType","all"),answerVariableKey:(0,g.get)(ke,"answerVariableKey",null),eachResponderWorkflow:(0,g.get)(ke,"eachResponderWorkflow",null),firstResponderVariableKey:(0,g.get)(ke,"firstResponderVariableKey",null),firstResponse:(0,g.get)(ke,"firstResponse",null),responderWorkflowInputOutputMaps:(0,g.get)(ke,"responderWorkflowInputOutputMaps",{}),responseTimeout:(0,g.get)(ke,"responseTimeout",null)}}),this.dashboardContextType=(0,g.get)(this.smsForm.value,"contextFormula.objectType"),ke.template&&(Ne?this.setFormFromTemplate(Ne):(this.loadingState=Y.Gu.loaded,this.toastService.showErrorToast("Adding template data to form failed"))),(0,E.z)([this.setFromOptions(Je),this.updateDashboardContextType()]).pipe((0,I.$)())}getSenderId(ke,Ne=null){const Je=Ne&&Ne.senderId?Ne.senderId:"0";return ke&&ke.$tip&&ke.senderId||Je}watchFormForChanges(){this.smsForm.valueChanges.pipe((0,C.Q)(this.unsubscribe$)).subscribe(()=>{this.smsForm.dirty&&!this.isDirty&&(this.isDirty=!0,this.sideSheetService.makeDirty())}),this.smsForm.get("template").valueChanges.pipe((0,C.Q)(this.unsubscribe$),(0,o.M)(ke=>{this.prevTemplateTip=this.smsForm?.value?.template,ke||(this.clearForm(),this.loadingState=Y.Gu.loaded)}),(0,w.p)(ke=>!!ke),(0,o.M)(()=>{this.loadingState=Y.Gu.inProgress,this.cdRef.markForCheck()}),(0,b.n)(ke=>this.smsService.getSMSTemplate(ke).pipe((0,I.$)()))).subscribe(ke=>{this.setFormFromTemplate(ke),this.loadingState=Y.Gu.loaded,this.cdRef.markForCheck()},()=>{this.toastService.showErrorToast("Adding template data to form failed"),this.loadingState=Y.Gu.failed,this.cdRef.markForCheck()})}setFormFromTemplate(ke){this.dashboardContextType=ke.contextType,this.selectedTemplateRecipients=(0,g.get)(ke,"to",[]);const Ne=this.smsForm.get("recipients");Ne.updateValueAndValidity({onlySelf:!0}),ke.messageSubstitutions=this.isNewMessageFromStatusDashboard&&this.isResend?this.outboundSource?.messageSubstitutions:ke?.messageSubstitutions,ke.body=this.isNewMessageFromStatusDashboard&&this.isResend?this.outboundSource?.body:ke?.body;const Je=this.isFilterApplied?Ne?.value?.to:(0,g.union)(Ne?.value?.to,this.selectedTemplateRecipients);""!==this.prevTemplateTip&&(Ne?.value?.to?.length>0||Ne?.value?.toFormulas?.length>0)?this.updateRecipientsOnTemplateSelect(Je,this.selectedTemplateRecipients,Ne?.value?.toFormulas):this.outboundSource.to=(0,g.union)(this.prevRecipients?.to,Ne?.value?.to,this.selectedTemplateRecipients),this.smsForm.patchValue({recipients:{to:this.outboundSource.to,toFormulas:this.smsForm.value.recipients?.toFormulas??[]},body:F.tk.getSubstitutionMetaFromSmsOutboundSource(ke),from:ke.senderId||"0"}),this.mode===k.yP.WORKFLOW&&ke?this.smsForm.get("body").disable():this.smsForm.get("body").enable(),this.isTemplateSelected=!0,this.cdRef.markForCheck()}updateRecipientsOnTemplateSelect(ke,Ne,Je){const Qe=this.modalService.open(ne.F,ne.G);Qe?.componentInstance?.setProps({title:"Manage recipients",message:"Replace or add template recipients to the existing recipients in the message?",cancelText:"Replace",confirmText:"Add",isDelete:!1}),Qe?.result?.then(ft=>{ft?(this.outboundSource.to=(0,g.union)(ke,Ne),this.smsForm.patchValue({recipients:{to:this.outboundSource.to,toFormulas:Je}}),this.cdRef.markForCheck()):(this.outboundSource.to=Ne,this.smsForm.patchValue({recipients:{to:this.outboundSource.to,toFormulas:[]}}),this.outboundSource.toNumberFormula="",this.cdRef.markForCheck())}).catch(()=>{this.prevRecipients={to:this.outboundSource.to,toFormulas:this.outboundSource.toNumberFormula?(0,j.p)(this.outboundSource.toNumberFormula):[]},this.clearForm(),this.smsForm.patchValue({template:this.prevTemplateTip,recipients:this.prevRecipients}),this.loadingState=Y.Gu.loaded,this.cdRef.markForCheck()})}saveOutboundSource(ke){const Ne=this.generateSrcFromForm(ke,this.selectedMessageLabelsTips);return this.relatedObjectsComponent.saveRelatedObjects().pipe((0,o.M)(Je=>Ne.relatedObjects=Je),(0,b.n)(()=>this.smsService.saveOutboundSource(Ne,ke)),(0,o.M)(Je=>{this.outboundSaved.emit({...Ne,$tip:Je})}))}generateSrcFromForm(ke,Ne){const Je=this.smsForm.getRawValue();return{title:Je.title?Je.title:"Send SMS",$tip:this.outboundSource.$tip,to:Je.recipients.to,toNumberFormula:Je.recipients.toFormulas?`ARRAY(${Je.recipients.toFormulas})`:"ARRAY()",senderId:"0"===Je.from?void 0:Je.from,context:Je.context,contextFormula:(0,g.get)(Je.contextFormula,"formula",void 0),contextFormulaMeta:JSON.stringify(Je.contextFormula),subject:this.outboundSource.subject,body:Je.body.html,messageSubstitutions:F.tk.extractEmailSMSSubstitutions(Je.body.substitutions,"app/sms/substitution"),status:ke,billingCode:Je.billingCode,draftSavedDatetime:O()(),template:Je.template,...Je.responseAck,responderWorkflowVarKeyValues:(0,x.Ww)((0,g.get)(Je,"responseAck.responderWorkflowInputOutputMaps.inputMaps")),messageLabels:Ne}}clearForm(){this.isTemplateSelected=!1,this.selectedTemplateRecipients=[],this.dashboardContextType=void 0,this.smsForm.get("body").patchValue({html:"",substitutions:[]}),this.smsForm.get("recipients").patchValue({to:"",toNumberFormula:""}),this.outboundSource.to=[],this.smsForm.get("recipients").setValidators(q.O.messageRecipients),this.smsForm.get("recipients").updateValueAndValidity({onlySelf:!0}),this.smsForm.get("body").enable(),this.cdRef.markForCheck()}updateDashboardContextType(){return this.dashboardContextTip?this.objectService.getObjectAndType(this.dashboardContextTip).pipe((0,I.$)(),(0,C.Q)(this.unsubscribe$),(0,o.M)(ke=>{this.dashboardContextType=ke.objectType.$tip,this.listOfContextTypeTips=[this.dashboardContextType],this.templateFilter=x.Gq.generateTemplateFilters(this.listOfContextTypeTips,U.$z.SMS),this.cdRef.markForCheck()})):(this.templateFilter=this.mode===k.yP.WORKFLOW?null:x.Gq.generateTemplateFilters(void 0,U.$z.SMS),(0,y.of)(!0))}getOutboundTemplate$(ke){return ke.template?this.templateManagerService.getOutboundTemplate(ke.template,k.Pg).pipe((0,I.$)(),(0,L.W)(()=>(0,y.of)(null))):(0,y.of)(null)}static#e=this.\u0275fac=function(Ne){return new(Ne||Ge)(n.rXU(n.gRc),n.rXU(Q.C),n.rXU(M.TU),n.rXU(le.U),n.rXU(pe.T),n.rXU(te.E),n.rXU(ae.$),n.rXU(K.R),n.rXU(de.f),n.rXU(x.Gq),n.rXU(Me.A),n.rXU(me.Bq))};static#t=this.\u0275cmp=n.VBU({type:Ge,selectors:[["app-compose-sms"]],viewQuery:function(Ne,Je){if(1&Ne&&n.GBs(B.G,7),2&Ne){let Qe;n.mGM(Qe=n.lsd())&&(Je.relatedObjectsComponent=Qe.first)}},inputs:{outboundSource:"outboundSource",templateDisabled:"templateDisabled",mode:"mode",workflowTip:"workflowTip",workflowVariables:"workflowVariables"},outputs:{outboundSaved:"outboundSaved"},decls:28,vars:39,consts:()=>{let ke,Ne,Je,Qe,rt,ft,Xt,It,In,Kt,Ze,wn,zn,di,jn,Di,Li,ms,Rn,Qt,Wt;return ke="Save",Ne="Send",Je="Send",Qe="Send",rt="Add message labels",ft="Template",Xt="Not selected",It="Context",In="Not selected",Kt="Context",Ze="Not selected",wn="From",zn="Recipients",di="Body",jn="Enter SMS body...",Di="New SMS",Li="Reply SMS",ms="Forward SMS",Rn="New SMS",Qt="Label",Wt="Save as a draft",[Di,Li,ms,Rn,Qt,Wt,[3,"ngSwitch"],["action",ke,3,"showCancelButton","disabled","actioned",4,"ngSwitchCase"],["action",Ne,3,"showCancelButton","disabled","actioned",4,"ngSwitchCase"],["action",Je,3,"showCancelButton","disabled","actioned",4,"ngSwitchCase"],["action",Qe,3,"showCancelButton","disabled","actioned",4,"ngSwitchDefault"],[3,"appSpinner"],[3,"formGroup"],[1,"banner-style"],[4,"ngIf"],[1,"card-header","d-flex","flex-row","justify-content-end","align-items-center","pt-2"],["data-test","messageLabelButton","title",rt,1,"btn-social","btn","btn-secondary","ml-1",3,"click"],[1,"mdi","mdi-label-alt"],["data-test","relateButton","title","Select related object",1,"btn-social","btn","btn-secondary","ml-1",3,"click"],[1,"mdi","mdi-link"],[1,"card-body","px-3","py-2"],["class","selected-message-labels",4,"ngIf"],["label","Description","placeholder","Description","formControlName","title",3,"required",4,"ngIf"],["formControlName","template","label",ft,"placeholder",Xt,3,"emitStringNotArray","extraFilters","allowNavAway","allowUserToAdd","typeTips",4,"ngIf"],["formControlName","contextTip","label",It,"placeholder",In,3,"emitStringNotArray","typeTips","readonly",4,"ngIf"],["class","col-6","formControlName","contextFormula","label",Kt,"placeholderText",Ze,"dataTypeRestrict","object",3,"inputs","actors","variables","objectTypeConstraint",4,"ngIf"],["formControlName","from","label",wn,3,"required","options"],["formControlName","recipients","label",zn,3,"isNewMessageFromStatusDashboard","outboundSource","workflowVariables","required"],["formControlName","body","label",di,"placeholder",jn,"recipientSuperTypeTip","app/super-type/sms-capable",3,"required","contextTypeTips","workflowVariables","mode","preserveLineBreaks","displayFormulaRule","useContextFormula","hideSystemCurrentUserOption"],["formControlName","responseAck",3,"show","substitutions","workflowTip","workflowVariables","messageType"],[3,"showHeader","collapsed"],[3,"relatedObjectsFormChanged$","valueChanged","relatedObjectTip","workflowVariables","dashboardContextTip","isRelatedItemsInListForWorkflowNodes"],[3,"showBorder",4,"ngIf"],["action",ke,3,"actioned","showCancelButton","disabled"],["action",Ne,3,"actioned","showCancelButton","disabled"],["action",Je,3,"actioned","showCancelButton","disabled"],["action",Qe,3,"actioned","showCancelButton","disabled"],[1,"selected-message-labels"],[3,"labels"],["label","Description","placeholder","Description","formControlName","title",3,"required"],["formControlName","template","label",ft,"placeholder",Xt,3,"emitStringNotArray","extraFilters","allowNavAway","allowUserToAdd","typeTips"],["formControlName","contextTip","label",It,"placeholder",In,3,"emitStringNotArray","typeTips","readonly"],["formControlName","contextFormula","label",Kt,"placeholderText",Ze,"dataTypeRestrict","object",1,"col-6",3,"inputs","actors","variables","objectTypeConstraint"],[3,"showBorder"],[1,"d-flex","justify-content-center"],["data-test","SaveDraftButton","type","button",1,"btn","btn-secondary",3,"click","disabled"]]},template:function(Ne,Je){1&Ne&&(n.qex(0,6),n.DNE(1,Oe,2,2,"app-side-sheet-header",7)(2,Xe,2,2,"app-side-sheet-header",8)(3,Pe,2,2,"app-side-sheet-header",9)(4,$e,2,2,"app-side-sheet-header",10),n.bVm(),n.j41(5,"div",11)(6,"div",12)(7,"div",13),n.nrm(8,"app-allow-list-banner"),n.DNE(9,ze,1,0,"app-filter-notification",14),n.k0s(),n.j41(10,"div",15)(11,"button",16),n.bIt("click",function(){return Je.onMessageLabelButton()}),n.nrm(12,"span",17),n.k0s(),n.j41(13,"button",18),n.bIt("click",function(){return Je.onRelatedButton()}),n.nrm(14,"span",19),n.k0s()(),n.j41(15,"div",20),n.DNE(16,Be,4,1,"div",21)(17,Ye,1,1,"app-text-field",22)(18,Ct,1,6,"app-single-object-chooser-field",23)(19,Lt,1,5,"app-single-object-chooser-field",24)(20,Vt,1,4,"app-workflow-value-chooser",25),n.nrm(21,"app-single-option-list-field",26)(22,"app-sms-recipient-chooser-field",27)(23,"app-string-interpolate-text-field",28)(24,"app-response-timeout-chooser",29),n.k0s()(),n.j41(25,"app-side-sheet-section",30)(26,"app-message-related-objects",31),n.bIt("relatedObjectsFormChanged$",function(){return Je.makeFormDirty()})("valueChanged",function(rt){return Je.relatedObjectCollapsed=!rt||0===rt.length}),n.k0s()(),n.DNE(27,ht,4,2,"app-side-sheet-section",32),n.k0s()),2&Ne&&(n.Y8G("ngSwitch",Je.mode),n.R7$(),n.Y8G("ngSwitchCase",Je.SMS_COMPOSE_TYPE.WORKFLOW),n.R7$(),n.Y8G("ngSwitchCase",Je.SMS_COMPOSE_TYPE.REPLY),n.R7$(),n.Y8G("ngSwitchCase",Je.SMS_COMPOSE_TYPE.FORWARD),n.R7$(2),n.Y8G("appSpinner",Je.loadingState===Je.LoadingState.inProgress),n.R7$(),n.Y8G("formGroup",Je.smsForm),n.R7$(3),n.Y8G("ngIf",Je.isFilterApplied),n.R7$(7),n.Y8G("ngIf",null==Je.messageLabels?null:Je.messageLabels.length),n.R7$(),n.Y8G("ngIf",Je.mode===Je.SMS_COMPOSE_TYPE.WORKFLOW),n.R7$(),n.Y8G("ngIf",Je.mode!==Je.SMS_COMPOSE_TYPE.REPLY&&Je.mode!==Je.SMS_COMPOSE_TYPE.FORWARD),n.R7$(),n.Y8G("ngIf",Je.dashboardContextTip&&Je.mode!==Je.SMS_COMPOSE_TYPE.WORKFLOW),n.R7$(),n.Y8G("ngIf",Je.mode===Je.SMS_COMPOSE_TYPE.WORKFLOW&&!!Je.dashboardContextType),n.R7$(),n.Y8G("required",!0)("options",Je.fromOptions),n.R7$(),n.Y8G("isNewMessageFromStatusDashboard",Je.isNewMessageFromStatusDashboard)("outboundSource",Je.outboundSource)("workflowVariables",Je.workflowVariables)("required",!0),n.R7$(),n.Y8G("required",!0)("contextTypeTips",Je.listOfContextTypeTips)("workflowVariables",Je.workflowVariables)("mode",Je.STRING_INTERPOLATE_TEXT_FIELD_MODE.MULTI_LINE)("preserveLineBreaks",!0)("displayFormulaRule",n.lJ4(38,be))("useContextFormula",!0)("hideSystemCurrentUserOption",!0),n.R7$(),n.Y8G("show",Je.mode===Je.SMS_COMPOSE_TYPE.WORKFLOW)("substitutions",null==Je.smsForm.value.body?null:Je.smsForm.value.body.substitutions)("workflowTip",Je.workflowTip)("workflowVariables",Je.workflowVariables)("messageType",Je.MESSAGE_TYPE.SMS),n.R7$(),n.Y8G("showHeader",!1)("collapsed",Je.relatedObjectCollapsed),n.R7$(),n.Y8G("relatedObjectTip",Je.outboundSource.relatedObjects)("workflowVariables",Je.workflowVariables)("dashboardContextTip",Je.dashboardContextTip)("isRelatedItemsInListForWorkflowNodes",!0),n.R7$(),n.Y8G("ngIf",Je.mode!==Je.SMS_COMPOSE_TYPE.WORKFLOW))},changeDetection:0})}return Ge})()},79029:(at,N,s)=>{"use strict";s.d(N,{$:()=>Y});var n=s(67376),g=s(7673),m=s(18810),T=s(1033),O=s(96354),D=s(25558),E=s(61594),y=s(40673),I=s(83855),b=s(55516),L=s(15765),o=s(24567),C=s(93953),w=s(44667),M=s(99760),q=s(51229),z=s(27916),F=s(12225),U=s(19937),k=s(32099);let Y=(()=>{class x{constructor(j,$,H,ie,ne,Q,le,pe){this.objectService=j,this.enoService=$,this.queryService=H,this.messageUtilsService=ie,this.processService=ne,this.allObjectTypes=Q,this.toastService=le,this.loggerService=pe}createNewOutboundSource(j=""){return{to:[],toNumberFormula:"",senderId:j,subject:"",body:"",status:I.Pn.DRAFT,messageSubstitutions:[],recipientSubstitutionFormulas:[],title:""}}createNewOutboundSourceWithRecipient(j="",$){return{to:$,toNumberFormula:"",senderId:j,subject:"",body:"",status:I.Pn.DRAFT,messageSubstitutions:[],recipientSubstitutionFormulas:[],title:""}}createReplyOutboundSource(j,$,H,ie=""){return this.createAddhocNumber(j.number,j.name).pipe((0,O.T)(ne=>({to:[ne.$tip],senderId:ie||"",subject:"",body:`\n\n--\n${$}`,status:I.Pn.DRAFT,messageSubstitutions:[],recipientSubstitutionFormulas:[],title:"",messageLabels:H})))}createForwardOutboundSource(j,$,H=""){return{to:[],toNumberFormula:"",senderId:H,subject:"",body:`\n\n---- Forwarded Message ----\n${j}`,status:I.Pn.DRAFT,messageSubstitutions:[],recipientSubstitutionFormulas:[],title:"",messageLabels:$}}createResendOutboundSource(j,$,H="",ie,ne,Q){return{to:ie,toNumberFormula:"",senderId:H,subject:"",body:j,status:I.Pn.DRAFT,messageSubstitutions:Q,recipientSubstitutionFormulas:[],title:"",messageLabels:$,relatedObjects:ne}}createAddhocNumber(j,$){return this.objectService.setObject({$type:"app/sms/addhoc-number",$security:y.Ay.SECURITY.EVERYONE,label:$||j,number:j},I.cb).pipe((0,O.T)(ie=>ie[0]),(0,O.T)(ie=>({$tip:ie.tip,label:j,number:j})))}getOutbound(j){return this.objectService.getObject(j,I.VS,y.Ay.BRANCH_MASTER,[],!1)}getOutboundSource(j){return this.objectService.getObject(j,I.iS,y.Ay.BRANCH_MASTER,[],!1).pipe((0,O.T)($=>($.template=$.template||null,$.to=$.to||[],$.body=$.body||"",$.toNumberFormula=$.toNumberFormula||"",$)))}getSMSCapableByTypeFromOutboundSource(j){return(0,n.get)(j,"to.length")||(0,n.get)(j,"toNumberFormula")?this.enoService.getTypeTips(j.to||[],{ignoreErrors:!0}).pipe((0,D.n)($=>this.allObjectTypes.getObjectTypesMap$($).pipe((0,O.T)(H=>({types:$,allTypesMap:H})))),(0,O.T)(({types:$,allTypesMap:H})=>{const ie=this.messageUtilsService.getEmptyCollection();return $.includes(void 0)&&this.toastService.showWarningToast(L.Q9),($||[]).filter(ne=>!!ne).forEach((ne,Q)=>{const le=this.getType(ne,H);le&&ie[le].push(j.to[Q])}),this.messageUtilsService.addFormulasToCollection(ie,(0,o.p)(j.toNumberFormula)),ie})):(0,g.of)(this.messageUtilsService.getEmptyCollection())}getSMSCapableMetaCollection(j,$){let H=[];Object.keys(j).filter(Q=>!["workflowInputs","workflowVars","workflowActors"].includes(Q)).forEach(Q=>{H=H.concat(j[Q])});const ie={groups:[],organizationalUnits:[],people:[],teams:[],roles:[],filters:[],otherContacts:[],workflowInputs:this.workflowPropFormulasToMeta(j.workflowInputs,$,"inputs"),workflowActors:this.workflowPropFormulasToMeta(j.workflowActors,$,"actors"),workflowVars:this.workflowPropFormulasToMeta(j.workflowVars,$,"variables")};return H.length?this.queryService.execute1dFirst(b.R.GET_ALL_SMS_CAPABLE_META,{vars:{Tips:H},dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}]}).pipe((0,O.T)(Q=>{const le=new Map;return Q.forEach(pe=>{le.set(pe.$tip,pe)}),{...ie,groups:j.groups.map(pe=>le.get(pe)).filter(pe=>!!pe),organizationalUnits:j.organizationalUnits.map(pe=>le.get(pe)).filter(pe=>!!pe),people:j.people.map(pe=>le.get(pe)).filter(pe=>!!pe),teams:j.teams.map(pe=>le.get(pe)).filter(pe=>!!pe),roles:j.roles.map(pe=>le.get(pe)).filter(pe=>!!pe),filters:j.filters.map(pe=>le.get(pe)).filter(pe=>!!pe),otherContacts:j.otherContacts.map(pe=>le.get(pe)).filter(pe=>!!pe)}})):(0,g.of)(ie)}workflowPropFormulasToMeta(j,$,H){return j&&j.length?j.map(ie=>{const ne=this.messageUtilsService.getWorkflowPropFromFormula(ie,H,$);return{title:ne?ne.label:"",number:"",formula:ie}}):[]}getSMSTemplate(j){return this.objectService.getObject(j,I.Pg)}saveOutboundSource(j,$=I.Pn.SENT){return j.status=$,j.$type="app/sms/outbound-source",j.$security=y.Ay.SECURITY.INSTANCE_USER_USER,(j.$tip?this.hasValidSmsOutboundSourceType$(j.$tip):(0,g.of)(!0)).pipe((0,D.n)(ie=>ie?this.objectService.setObject(j,I.iS).pipe((0,O.T)(ne=>ne[ne.length-1].tip)):(0,m.$)(()=>new Error("Sms outbound source eno has the wrong type"))))}hasValidSmsOutboundSourceType$(j){return this.objectService.getObject(j,I.iS,y.Ay.BRANCH_MASTER,[],!0).pipe((0,E.$)(),(0,O.T)($=>"app/sms/outbound-source"===$.$type))}sendSmsWithEarlyReturn(j,$){const H=this.sendSMS(j,$),ie=this.messageUtilsService.preemptiveMailRequestExpiryTimer();return(0,T.O)([H,ie]).pipe((0,O.T)(ne=>(0===ne&&this.loggerService.info("[SmsService/sendSmsWithEarlyReturn] Early timeout. Did not wait for actual response."),!0)))}sendSMS(j,$){const ie={"Outbound source tip":[j]};return $&&(ie[L.oT]=[$]),this.processService.start("eim/process/message/send-sms",ie)}isValidDraft(j){return!!j?.template||j?.to?.length>0||j?.toNumberFormula?.length>0||""!==j?.body&&void 0!==j?.body}getRecipientsFromMessageCollection(j){const $={...j};return["workflowInputs","workflowActors","workflowVars"].forEach(H=>{delete $[H]}),{to:this.messageUtilsService.getFlattenedTipsFromCollection($),toFormulas:this.messageUtilsService.getFlattenedFormulasFromCollection(j)}}getType(j,$){return L.In[j]?L.In[j]:this.messageUtilsService.checkSuperTypeFromMetaMap(j,$)}static#e=this.\u0275fac=function($){return new($||x)(C.KVO(w.T),C.KVO(M.g),C.KVO(q.c),C.KVO(L.Gq),C.KVO(z.V),C.KVO(F.b),C.KVO(U.f),C.KVO(k.g))};static#t=this.\u0275prov=C.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},56039:(at,N,s)=>{"use strict";s.d(N,{$:()=>Ge});var n=s(93953),a=s(89417),g=s(389),m=s(67376),O=s(97586),D=s.n(O),E=s(21413),y=s(84572),I=s(7673),b=s(56977),L=s(61594),o=s(25558),C=s(88141),w=s(5964),M=s(96354),q=s(99437),z=s(59782),F=s(69703),U=s(34669),k=s(49232),Y=s(7930),x=s(95113),B=s(93862),j=s(53803),$=s(69172),H=s(77184),ie=s(15765),ne=s(58639),Q=s(24567),le=s(69595),pe=s(68030),te=s(56399),ae=s(8076),K=s(50337),de=s(29739),Me=s(19937),me=s(54709),be=s(6153),Le=s(29968);const Ae=()=>({label:"Noggin",value:"voice-message/default-from-number"}),Oe=Se=>[Se],Xe=()=>({list:!0,datetime:!0,date:!0}),Pe=()=>["app/voice-message/outbound-template"];function $e(Se,ke){if(1&Se){const Ne=n.RV6();n.j41(0,"app-side-sheet-header",31),n.bIt("actioned",function(){n.eBV(Ne);const Qe=n.XpG();return n.Njj(Qe.onPrimary())}),n.pXf(1,0),n.k0s()}if(2&Se){const Ne=n.XpG();n.Y8G("showCancelButton",!0)("disabled",Ne.voiceMessageForm.invalid||Ne.loadingState===Ne.LoadingState.inProgress)}}function ze(Se,ke){if(1&Se){const Ne=n.RV6();n.j41(0,"app-side-sheet-header",32),n.bIt("actioned",function(){n.eBV(Ne);const Qe=n.XpG();return n.Njj(Qe.onPrimary())}),n.pXf(1,1),n.k0s()}if(2&Se){const Ne=n.XpG();n.Y8G("showCancelButton",!0)("disabled",Ne.voiceMessageForm.invalid||Ne.loadingState===Ne.LoadingState.inProgress)}}function Be(Se,ke){1&Se&&n.nrm(0,"app-filter-notification")}function Ye(Se,ke){if(1&Se&&(n.j41(0,"div",33)(1,"label"),n.pXf(2,2),n.k0s(),n.nrm(3,"app-labels",34),n.k0s()),2&Se){const Ne=n.XpG();n.R7$(3),n.Y8G("labels",Ne.messageLabels)}}function Ct(Se,ke){1&Se&&n.nrm(0,"app-text-field",35),2&Se&&n.Y8G("required",!0)}function Lt(Se,ke){if(1&Se&&n.nrm(0,"app-single-object-chooser-field",36),2&Se){const Ne=n.XpG();n.Y8G("extraFilters",Ne.templateFilter)("allowNavAway",!1)("allowUserToAdd",!1)("typeTips",n.lJ4(4,Pe))}}function Vt(Se,ke){if(1&Se&&n.nrm(0,"app-single-object-chooser-field",37),2&Se){const Ne=n.XpG();n.Y8G("emitStringNotArray",!0)("typeTips",n.eq3(3,Oe,Ne.dashboardContextType))("readonly",!0)}}function ht(Se,ke){if(1&Se&&n.nrm(0,"app-workflow-value-chooser",38),2&Se){const Ne=n.XpG();n.Y8G("inputs",Ne.workflowVariables.inputs)("actors",Ne.workflowVariables.actors)("variables",Ne.workflowVariables.variables)("objectTypeConstraint",Ne.dashboardContextType)}}function gt(Se,ke){if(1&Se){const Ne=n.RV6();n.j41(0,"app-side-sheet-section",39)(1,"div",40)(2,"button",41),n.bIt("click",function(){n.eBV(Ne);const Qe=n.XpG();return n.Njj(Qe.saveVoiceMessageAsDraft())}),n.pXf(3,3),n.k0s()()()}if(2&Se){const Ne=n.XpG();n.Y8G("showBorder",!1),n.R7$(2),n.Y8G("disabled",Ne.voiceMessageForm.pristine||!Ne.isValidDraft())}}let Ge=(()=>{class Se{constructor(Ne,Je,Qe,rt,ft,Xt,It,In,Kt,Ze,wn){this.cdRef=Ne,this.messageWidgetService=Je,this.messagesHelperService=Qe,this.objectService=rt,this.sideSheetService=ft,this.templateManagerService=Xt,this.toastService=It,this.voiceMessageService=In,this.messageUtilsService=Kt,this.messageLabelsService=Ze,this.modalService=wn,this.RECIPIENT_SUPER_TYPE_TIP=F.Nd,this.prepopulateTemplate=!1,this.templateDisabled=!1,this.mode=B.x9.NEW,this.outboundSaved=new n.bkB,this.isTemplateSelected=!1,this.LoadingState=$.Gu,this.MESSAGE_TYPE=x.$z,this.VOICE_MESSAGE_COMPOSE_TYPE=B.x9,this.STRING_INTERPOLATE_TEXT_FIELD_MODE=k.J6,this.INTERPOLATION_TYPE=Y.YG,this.selectedTemplateRecipients=[],this.unsubscribe$=new E.B,this.languageOptions=$.Hx,this.defaultLanguage="en-US",this.voiceMessageForm=new a.gE({title:new a.MJ(""),template:new a.MJ(null),from:new a.MJ({value:"voice-message/default-from-number",disabled:!0},a.k0.required),recipients:new a.MJ({to:[],toFormulas:[]},U.O.messageRecipients),body:new a.MJ({html:"",substitutions:[]},U.O.emailTemplateSubjectValidator),language:new a.MJ("",a.k0.required),billingCode:new a.MJ({value:null,disabled:!0}),contextTip:new a.MJ(null),contextFormula:new a.MJ(null,zn=>this.mode===B.x9.WORKFLOW&&this.dashboardContextType&&(0,m.isEmpty)((0,m.get)(zn,"value"))?{invalidContextFormula:!0}:null),audibleResponses:new a.MJ(null),responseAck:new a.MJ(null)}),this.mapSideSheetItemToListItem=j.LT,this.mapListItemToSideSheetItem=j.xL,this.relatedObjectCollapsed=!0,this.messageLabels=[],this.selectedMessageLabelsTips=[],this.isDirty=!1,this.isFilterApplied=!1,this.isNewMessageFromStatusDashboard=!1,this.prevTemplateValue="",this.openSideSheet=()=>this.sideSheetService.push(H.V).componentInstance,this.popSideSheet=()=>{this.sideSheetService.pop()}}ngOnInit(){this.messageUtilsService.validateMessagingFields("title",this.VOICE_MESSAGE_COMPOSE_TYPE.WORKFLOW,this.mode,this.voiceMessageForm),this.templateDisabled&&this.voiceMessageForm.controls.template.disable(),this.fetchMessageLabelsByTips(),this.voiceMessageFormTemplateValueChanges().pipe((0,b.Q)(this.unsubscribe$)).subscribe(Ne=>{this.dashboardContextType=Ne.contextType,this.voiceMessageForm.get("contextFormula").clearValidators(),this.selectedTemplateRecipients=(0,m.get)(Ne,"to",[]);const Je=this.voiceMessageForm.get("recipients");Je.updateValueAndValidity({onlySelf:!0}),""!==this.prevTemplateValue&&(Je?.value?.to?.length>0||Je?.value?.toFormulas?.length>0)?this.updateRecipientsOnTemplateSelect(Je?.value?.to,this.selectedTemplateRecipients,Je?.value?.toFormulas):this.outboundSource.to=(0,m.union)(this.prevRecipients?.to,Je?.value?.to,this.selectedTemplateRecipients),this.voiceMessageForm.patchValue({recipients:{to:this.outboundSource.to,toFormulas:[]},body:Y.tk.getSubstitutionMetaFromSmsOutboundSource(Ne),language:Ne.language,contextFormula:null,audibleResponses:(Ne.audibleResponses||[]).map(j.LT)}),this.isTemplateSelected=!0,this.loadingState=$.Gu.loaded,this.cdRef.markForCheck()},()=>{this.toastService.showErrorToast("Adding template data to form failed"),this.loadingState=$.Gu.failed,this.cdRef.markForCheck()}),(0,y.z)([this.getOutboundTemplate$(this.outboundSource).pipe((0,L.$)()),this.messagesHelperService.updateOutboundSourceRecipients$(this.outboundSource,B.yF).pipe((0,L.$)())]).subscribe(([Ne,Je])=>{this.outboundSource=Je,this.populateForm(this.outboundSource,Ne)})}updateRecipientsOnTemplateSelect(Ne,Je,Qe){const rt=this.modalService.open(pe.F,pe.G);rt.componentInstance.setProps({title:"Manage recipients",message:"Replace or add template recipients to the existing recipients in the message?",cancelText:"Replace",confirmText:"Add",isDelete:!1}),rt.result.then(Xt=>{Xt?(this.outboundSource.to=(0,m.union)(Ne,Je),this.voiceMessageForm.patchValue({recipients:{to:this.outboundSource.to,toFormulas:Qe}}),this.cdRef.markForCheck()):(this.outboundSource.to=Je,this.voiceMessageForm.patchValue({recipients:{to:this.outboundSource.to,toFormulas:[]}}),this.outboundSource.toNumberFormula="",this.cdRef.markForCheck())}).catch(()=>{this.prevRecipients={to:this.outboundSource.to,toFormulas:this.outboundSource.toNumberFormula?(0,Q.p)(this.outboundSource.toNumberFormula):[]},this.resetTemplate(),this.voiceMessageForm.patchValue({template:this.prevTemplateValue,recipients:this.prevRecipients}),this.loadingState=$.Gu.loaded,this.cdRef.markForCheck()})}fetchMessageLabelsByTips(){this.outboundSource?.messageLabels&&this.outboundSource?.messageLabels.length&&this.messageLabelsService.getMessageLabelsByTips(this.outboundSource?.messageLabels).pipe((0,b.Q)(this.unsubscribe$)).subscribe(Ne=>{this.messageLabels=Ne.filter(Je=>{if(Je.$tip&&Je?.name&&Je?.color)return Je}),this.selectedMessageLabelsTips=this.messageLabels.map(Je=>Je.$tip),this.cdRef.markForCheck()},Ne=>{this.loadingState=$.Gu.failed})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}isValidDraft(){return this.voiceMessageService.isValidDraft(this.generateSrcFromForm(B.Ee.DRAFT,this.selectedMessageLabelsTips))}onPrimary(){this.loadingState=$.Gu.inProgress,this.cdRef.markForCheck(),this.saveOutboundSource(B.Ee.SENT).pipe((0,L.$)(),(0,o.n)(Ne=>(this.outboundSrcTip=Ne,this.mode===B.x9.WORKFLOW?(0,I.of)(null):this.voiceMessageService.sendVoiceMessageWithEarlyReturn(Ne,this.dashboardContextTip).pipe((0,L.$)())))).subscribe(()=>{this.mode!==B.x9.WORKFLOW?this.messageWidgetService.showToastNavigation(this.outboundSrcTip,z.Om.VOICE,z.Uj.VOICE):this.toastService.showSuccessToast("Saved"),this.loadingState=$.Gu.loaded,this.cdRef.markForCheck(),this.sideSheetService.makeClean(),this.sideSheetService.pop()},()=>{this.loadingState=$.Gu.failed,this.toastService.showErrorToast("Voice message failed to "+(this.mode===B.x9.WORKFLOW?"save":"send")),this.cdRef.markForCheck()})}saveVoiceMessageAsDraft(){this.loadingState=$.Gu.inProgress,this.cdRef.markForCheck(),this.saveOutboundSource(B.Ee.DRAFT).subscribe(()=>{this.toastService.showSuccessToast("voice message draft saved"),this.loadingState=$.Gu.loaded,this.cdRef.markForCheck(),this.sideSheetService.makeClean(),this.sideSheetService.pop()},()=>{this.loadingState=$.Gu.failed,this.toastService.showErrorToast("voice message draft save failed"),this.cdRef.markForCheck()})}onRelatedButton(){this.relatedObjectsComponent.openAddSideSheet()}onMessageLabelButton(){this.openMessageLabelsSideSheet()}openMessageLabelsSideSheet(){const Je=this.sideSheetService.push(g.K).componentInstance;Je.mode=le.X.MULTI_SELECT,Je.selectedMessageLabels=(0,m.cloneDeep)(this.messageLabels),Je.done=Qe=>{this.messageLabels=(0,m.get)(Qe,"selected",[]),this.selectedMessageLabelsTips=this.messageLabels.map(rt=>rt.$tip)}}makeFormDirty(){this.sideSheetService.makeDirty()}getPropsForSideSheet(Ne,Je){const Qe=Ne?"Edit response":"New response",rt=(Je||[]).filter(Xt=>!Ne||Xt!==Ne).map(Xt=>(0,j.xL)(Xt).number);return{header:Qe,formlyFieldConfigs:(0,j.NN)(rt,Ne?(0,j.xL)(Ne):null)}}populateForm(Ne,Je){const Qe=Je.template;this.voiceMessageForm.patchValue({title:Ne.title,from:Ne.fromNumber,recipients:{to:Ne.to,toFormulas:Ne.toNumberFormula?(0,Q.p)(Ne.toNumberFormula):[]},body:Y.tk.getSubstitutionMetaFromSmsOutboundSource(Qe&&Qe.body?Qe:Ne),billingCode:Ne.billingCode||null,contextTip:Ne.context||this.dashboardContextTip,contextFormula:JSON.parse((0,m.get)(Ne,"contextFormulaMeta",null)),language:Qe&&Qe.language?Qe.language:Ne.language||this.defaultLanguage,audibleResponses:Qe&&Qe.audibleResponses?Qe.audibleResponses.map(j.LT):(Ne.audibleResponses||[]).map(j.LT),responseAck:{ackType:(0,m.get)(this.outboundSource,"ackType","all"),responseTimeout:(0,m.get)(Ne,"responseTimeout",null),eachResponderWorkflow:(0,m.get)(Ne,"eachResponderWorkflow",null),firstResponse:(0,m.get)(Ne,"firstResponse",null),firstResponderVariableKey:(0,m.get)(Ne,"firstResponderVariableKey",null),answerVariableKey:(0,m.get)(Ne,"answerVariableKey",null),responderWorkflowInputOutputMaps:(0,m.get)(Ne,"responderWorkflowInputOutputMaps",{})}}),this.dashboardContextType=(0,m.get)(this.voiceMessageForm.value,"contextFormula.objectType"),this.voiceMessageForm.patchValue({template:Ne.template?[Ne.template]:null}),Je.templateUnavailable&&(this.voiceMessageForm.get("body").enable(),this.voiceMessageForm.get("language").enable()),this.watchFormForChanges(),this.getDashboardContextType()}watchFormForChanges(){this.voiceMessageForm.valueChanges.pipe((0,b.Q)(this.unsubscribe$)).subscribe(()=>{this.voiceMessageForm.dirty&&!this.isDirty&&(this.isDirty=!0,this.sideSheetService.makeDirty())})}saveOutboundSource(Ne){const Je=this.generateSrcFromForm(Ne,this.selectedMessageLabelsTips);return this.relatedObjectsComponent.saveRelatedObjects().pipe((0,C.M)(Qe=>Je.relatedObjects=Qe),(0,o.n)(()=>this.voiceMessageService.saveOutboundSource(Je,Ne)),(0,C.M)(Qe=>{this.outboundSaved.emit({...Je,$tip:Qe})}))}generateSrcFromForm(Ne,Je){const Qe=this.voiceMessageForm.getRawValue();return{title:Qe.title?Qe.title:"Send voice message",$tip:this.outboundSource.$tip,to:Qe.recipients.to,toNumberFormula:Qe.recipients.toFormulas?`ARRAY(${Qe.recipients.toFormulas})`:"ARRAY()",fromNumber:Qe.from,context:Qe.context,contextFormula:(0,m.get)(Qe.contextFormula,"formula",void 0),contextFormulaMeta:JSON.stringify(Qe.contextFormula),body:Qe.body.html,messageSubstitutions:Y.tk.extractEmailSMSSubstitutions(Qe.body.substitutions,"app/voice-message/substitution"),status:Ne,billingCode:Qe.billingCode,draftSavedDatetime:D()(),template:Array.isArray(Qe.template)?Qe.template[0]:Qe.template,language:Qe.language,audibleResponses:Qe.audibleResponses.map(j.xL),...Qe.responseAck,responderWorkflowVarKeyValues:(0,ie.Ww)((0,m.get)(Qe,"responseAck.responderWorkflowInputOutputMaps.inputMaps")),messageLabels:Je}}voiceMessageFormTemplateValueChanges(){return this.voiceMessageForm.get("template").valueChanges.pipe((0,C.M)(Ne=>{this.prevTemplateValue=this.voiceMessageForm?.value?.template,this.disableControlsWhenWorkflow(Ne)}),(0,w.p)(()=>this.prepopulateTemplate?(this.prepopulateTemplate=!0,!0):(this.prepopulateTemplate=!0,!1)),(0,C.M)(()=>{this.loadingState=$.Gu.inProgress,this.cdRef.markForCheck()}),(0,w.p)(Ne=>!(!Ne||!Ne.length)||(this.resetTemplate(),!1)),(0,o.n)(([Ne])=>this.voiceMessageService.getVoiceMessageTemplate(Ne).pipe((0,L.$)())))}resetTemplate(){this.isTemplateSelected=!1,this.selectedTemplateRecipients=[],this.dashboardContextType=void 0,this.voiceMessageForm.get("body").patchValue({html:"",substitutions:[]}),this.voiceMessageForm.get("recipients").patchValue({to:[],toNumberFormula:[]}),this.outboundSource.to=[],this.voiceMessageForm.get("recipients").setValidators(U.O.messageRecipients),this.voiceMessageForm.get("recipients").updateValueAndValidity({onlySelf:!0}),this.loadingState=$.Gu.loaded,this.cdRef.markForCheck()}getDashboardContextType(){this.dashboardContextTip?this.objectService.getObjectAndType(this.dashboardContextTip).pipe((0,L.$)(),(0,b.Q)(this.unsubscribe$)).subscribe(Ne=>{this.dashboardContextType=Ne.objectType.$tip,this.listOfContextTypeTips=[this.dashboardContextType],this.templateFilter=ie.Gq.generateTemplateFilters(this.listOfContextTypeTips,x.$z.VOICE),this.cdRef.markForCheck()}):this.templateFilter=this.mode===B.x9.WORKFLOW?null:ie.Gq.generateTemplateFilters(void 0,x.$z.VOICE)}disableControlsWhenWorkflow(Ne){const Qe=this.mode!==B.x9.WORKFLOW||(0,m.isEmpty)(Ne)?"enable":"disable";["language","body"].forEach(rt=>this.voiceMessageForm.get(rt)[Qe]())}getOutboundTemplate$(Ne){return Ne.template&&this.mode===B.x9.WORKFLOW?this.templateManagerService.getOutboundTemplate(this.outboundSource.template,B.hC).pipe((0,M.T)(Je=>({template:Je,templateUnavailable:!1})),(0,q.W)(()=>(0,I.of)({template:null,templateUnavailable:!0}))):(0,I.of)({template:null,templateUnavailable:!0})}static#e=this.\u0275fac=function(Je){return new(Je||Se)(n.rXU(n.gRc),n.rXU(z.TU),n.rXU(te.U),n.rXU(ae.T),n.rXU(K.E),n.rXU(de.R),n.rXU(Me.f),n.rXU(me.T),n.rXU(ie.Gq),n.rXU(be.A),n.rXU(Le.Bq))};static#t=this.\u0275cmp=n.VBU({type:Se,selectors:[["app-compose-voice-message"]],viewQuery:function(Je,Qe){if(1&Je&&n.GBs(ne.G,7),2&Je){let rt;n.mGM(rt=n.lsd())&&(Qe.relatedObjectsComponent=rt.first)}},inputs:{outboundSource:"outboundSource",prepopulateTemplate:"prepopulateTemplate",templateDisabled:"templateDisabled",mode:"mode",workflowTip:"workflowTip",workflowVariables:"workflowVariables"},outputs:{outboundSaved:"outboundSaved"},decls:28,vars:50,consts:()=>{let Ne,Je,Qe,rt,ft,Xt,It,In,Kt,Ze,wn,zn,di,jn,Di,Li,ms,Rn;return Ne="Save",Je="Send",Qe="Add message labels",rt="Template",ft="Not selected",Xt="Context",It="Not selected",In="Context",Kt="Not selected",Ze="From",wn="Recipients",zn="Voice message languages",di="Text",jn="Enter text body...",Di="New Voice Message",Li="New Voice Message",ms="Label",Rn="Save as a draft",[Di,Li,ms,Rn,[3,"ngSwitch"],["action",Ne,3,"showCancelButton","disabled","actioned",4,"ngSwitchCase"],["action",Je,3,"showCancelButton","disabled","actioned",4,"ngSwitchDefault"],[3,"appSpinner"],[3,"formGroup"],[1,"banner-style"],[4,"ngIf"],[1,"card-header","d-flex","flex-row","justify-content-end","align-items-center","pt-2"],["data-test","messageLabelButton","title",Qe,1,"btn-social","btn","btn-secondary","ml-1",3,"click"],[1,"mdi","mdi-label-alt"],["data-test","relateButton","title","Select related object",1,"btn-social","btn","btn-secondary","ml-1",3,"click"],[1,"mdi","mdi-link"],[1,"card-body","px-3","py-2"],["class","selected-message-labels",4,"ngIf"],["label","Description","placeholder","Description","formControlName","title",3,"required",4,"ngIf"],["formControlName","template","label",rt,"placeholder",ft,3,"extraFilters","allowNavAway","allowUserToAdd","typeTips",4,"ngIf"],["formControlName","contextTip","label",Xt,"placeholder",It,3,"emitStringNotArray","typeTips","readonly",4,"ngIf"],["class","col-6","formControlName","contextFormula","label",In,"placeholderText",Kt,"dataTypeRestrict","object",3,"inputs","actors","variables","objectTypeConstraint",4,"ngIf"],["formControlName","from","label",Ze,3,"required","options"],["formControlName","recipients","label",wn,3,"isNewMessageFromStatusDashboard","workflowVariables","outboundSource","required"],["placeholder","Select a voice message languages","formControlName","language","label",zn,3,"required","options"],["formControlName","body","label",di,"placeholder",jn,"data-test","voice-message-body",3,"required","recipientSuperTypeTip","contextTypeTips","workflowVariables","mode","interpolationType","preserveLineBreaks","displayFormulaRule","useContextFormula","hideSystemCurrentUserOption"],["formControlName","audibleResponses","label","Audible response","actionText","No response here","labelText","Add a response","emptyListIcon","assets/img/empty-states/empty-state-plus.svg",3,"maxCount","openSideSheet","popSideSheet","getPropsForSideSheet","mapListItemToSideSheetItem","mapSideSheetItemToListItem"],["formControlName","responseAck",3,"show","workflowTip","workflowVariables","messageType","audibleResponses"],[3,"showHeader","collapsed"],[3,"relatedObjectsFormChanged$","valueChanged","relatedObjectTip","workflowVariables","dashboardContextTip","isRelatedItemsInListForWorkflowNodes"],[3,"showBorder",4,"ngIf"],["action",Ne,3,"actioned","showCancelButton","disabled"],["action",Je,3,"actioned","showCancelButton","disabled"],[1,"selected-message-labels"],[3,"labels"],["label","Description","placeholder","Description","formControlName","title",3,"required"],["formControlName","template","label",rt,"placeholder",ft,3,"extraFilters","allowNavAway","allowUserToAdd","typeTips"],["formControlName","contextTip","label",Xt,"placeholder",It,3,"emitStringNotArray","typeTips","readonly"],["formControlName","contextFormula","label",In,"placeholderText",Kt,"dataTypeRestrict","object",1,"col-6",3,"inputs","actors","variables","objectTypeConstraint"],[3,"showBorder"],[1,"d-flex","justify-content-center"],["data-test","SaveDraftButton","type","button",1,"btn","btn-secondary",3,"click","disabled"]]},template:function(Je,Qe){1&Je&&(n.qex(0,4),n.DNE(1,$e,2,2,"app-side-sheet-header",5)(2,ze,2,2,"app-side-sheet-header",6),n.bVm(),n.j41(3,"div",7)(4,"div",8)(5,"div",9),n.nrm(6,"app-allow-list-banner"),n.DNE(7,Be,1,0,"app-filter-notification",10),n.k0s(),n.j41(8,"div",11)(9,"button",12),n.bIt("click",function(){return Qe.onMessageLabelButton()}),n.nrm(10,"span",13),n.k0s(),n.j41(11,"button",14),n.bIt("click",function(){return Qe.onRelatedButton()}),n.nrm(12,"span",15),n.k0s()(),n.j41(13,"div",16),n.DNE(14,Ye,4,1,"div",17)(15,Ct,1,1,"app-text-field",18)(16,Lt,1,5,"app-single-object-chooser-field",19)(17,Vt,1,5,"app-single-object-chooser-field",20)(18,ht,1,4,"app-workflow-value-chooser",21),n.nrm(19,"app-single-option-list-field",22)(20,"app-voice-message-recipient-chooser-field",23)(21,"app-single-option-list-field",24)(22,"app-string-interpolate-text-field",25)(23,"app-edit-list-field",26)(24,"app-response-timeout-chooser",27),n.k0s()(),n.j41(25,"app-side-sheet-section",28)(26,"app-message-related-objects",29),n.bIt("relatedObjectsFormChanged$",function(){return Qe.makeFormDirty()})("valueChanged",function(ft){return Qe.relatedObjectCollapsed=!ft||0===ft.length}),n.k0s()(),n.DNE(27,gt,4,2,"app-side-sheet-section",30),n.k0s()),2&Je&&(n.Y8G("ngSwitch",Qe.mode),n.R7$(),n.Y8G("ngSwitchCase",Qe.VOICE_MESSAGE_COMPOSE_TYPE.WORKFLOW),n.R7$(2),n.Y8G("appSpinner",Qe.loadingState===Qe.LoadingState.inProgress),n.R7$(),n.Y8G("formGroup",Qe.voiceMessageForm),n.R7$(3),n.Y8G("ngIf",Qe.isFilterApplied),n.R7$(7),n.Y8G("ngIf",null==Qe.messageLabels?null:Qe.messageLabels.length),n.R7$(),n.Y8G("ngIf",Qe.mode===Qe.VOICE_MESSAGE_COMPOSE_TYPE.WORKFLOW),n.R7$(),n.Y8G("ngIf",Qe.mode!==Qe.VOICE_MESSAGE_COMPOSE_TYPE.REPLY),n.R7$(),n.Y8G("ngIf",Qe.mode!==Qe.VOICE_MESSAGE_COMPOSE_TYPE.WORKFLOW&&Qe.dashboardContextTip),n.R7$(),n.Y8G("ngIf",Qe.mode===Qe.VOICE_MESSAGE_COMPOSE_TYPE.WORKFLOW&&!!Qe.dashboardContextType),n.R7$(),n.Y8G("required",!0)("options",n.eq3(47,Oe,n.lJ4(46,Ae))),n.R7$(),n.Y8G("isNewMessageFromStatusDashboard",Qe.isNewMessageFromStatusDashboard)("workflowVariables",Qe.workflowVariables)("outboundSource",Qe.outboundSource)("required",!0),n.R7$(),n.Y8G("required",!0)("options",Qe.languageOptions),n.R7$(),n.Y8G("required",!0)("recipientSuperTypeTip",Qe.RECIPIENT_SUPER_TYPE_TIP.VOICE)("contextTypeTips",Qe.listOfContextTypeTips)("workflowVariables",Qe.workflowVariables)("mode",Qe.STRING_INTERPOLATE_TEXT_FIELD_MODE.MULTI_LINE)("interpolationType",Qe.INTERPOLATION_TYPE.voice)("preserveLineBreaks",!0)("displayFormulaRule",n.lJ4(49,Xe))("useContextFormula",!0)("hideSystemCurrentUserOption",!0),n.R7$(),n.Y8G("maxCount",9)("openSideSheet",Qe.openSideSheet)("popSideSheet",Qe.popSideSheet)("getPropsForSideSheet",Qe.getPropsForSideSheet)("mapListItemToSideSheetItem",Qe.mapListItemToSideSheetItem)("mapSideSheetItemToListItem",Qe.mapSideSheetItemToListItem),n.R7$(),n.Y8G("show",Qe.mode===Qe.VOICE_MESSAGE_COMPOSE_TYPE.WORKFLOW)("workflowTip",Qe.workflowTip)("workflowVariables",Qe.workflowVariables)("messageType",Qe.MESSAGE_TYPE.VOICE)("audibleResponses",null==Qe.voiceMessageForm.value.audibleResponses?null:Qe.voiceMessageForm.value.audibleResponses.map(Qe.mapListItemToSideSheetItem)),n.R7$(),n.Y8G("showHeader",!1)("collapsed",Qe.relatedObjectCollapsed),n.R7$(),n.Y8G("relatedObjectTip",Qe.outboundSource.relatedObjects)("workflowVariables",Qe.workflowVariables)("dashboardContextTip",Qe.dashboardContextTip)("isRelatedItemsInListForWorkflowNodes",!0),n.R7$(),n.Y8G("ngIf",Qe.mode!==Qe.VOICE_MESSAGE_COMPOSE_TYPE.WORKFLOW))},changeDetection:0})}return Se})()},54709:(at,N,s)=>{"use strict";s.d(N,{T:()=>Y});var n=s(67376),g=s(7673),m=s(18810),T=s(1033),O=s(61594),D=s(96354),E=s(25558),y=s(40673),I=s(93862),b=s(55516),L=s(15765),o=s(24567),C=s(93953),w=s(44667),M=s(99760),q=s(51229),z=s(27916),F=s(12225),U=s(19937),k=s(32099);let Y=(()=>{class x{constructor(j,$,H,ie,ne,Q,le,pe){this.objectService=j,this.enoService=$,this.queryService=H,this.messageUtilsService=ie,this.processService=ne,this.allObjectTypes=Q,this.toastService=le,this.loggerService=pe}hasValidVoiceOutboundSourceType$(j){return this.objectService.getObject(j,I.yF,y.Ay.BRANCH_MASTER,[],!0).pipe((0,O.$)(),(0,D.T)($=>"app/voice-message/outbound-source"===$.$type))}createNewOutboundSource(j){return{to:[],toNumberFormula:"",fromNumber:j,body:"",status:I.Ee.DRAFT,language:"",audibleResponses:[],title:""}}createResendOutboundSource(j){const $=j?.voiceMessageSource?.messageSubstitutions,ie=`${(0,L.$m)(j?.sentSource?.body,j?.voiceMessageSource?.messageSubstitutions)}`;return{to:j?.sentSource?.to,toNumberFormula:"",fromNumber:j?.sentSource?.fromNumber,body:ie,status:I.Ee.DRAFT,language:j?.sentSource?.language,audibleResponses:j?.sentSource?.audibleResponses,title:"",relatedObjects:j?.sentSource?.relatedObjects,messageLabels:j?.sentSource?.messageLabels,messageSubstitutions:$}}createNewOutboundSourceWithRecipient(j,$){return{to:$,toNumberFormula:"",fromNumber:j,body:"",status:I.Ee.DRAFT,language:"",audibleResponses:[],title:""}}createAddhocNumber(j,$){return this.objectService.setObject({$type:"app/voice-message/addhoc-number",$security:y.Ay.SECURITY.EVERYONE,label:$||j,number:j},I.XO).pipe((0,D.T)(ie=>ie[0]),(0,D.T)(ie=>({$tip:ie.tip,label:j,number:j})))}getOutbound(j){return this.objectService.getObject(j,I.bm,y.Ay.BRANCH_MASTER,[],!1)}getOutboundSource(j){return this.objectService.getObject(j,I.yF).pipe((0,D.T)($=>($.template=$.template||null,$.to=$.to||[],$.body=$.body||"",$.toNumberFormula=$.toNumberFormula||"",$)))}getVoiceMessageCapableByTypeFromOutboundSource(j){return(0,n.get)(j,"to.length")||(0,n.get)(j,"toNumberFormula")?this.enoService.getTypeTips(j.to||[],{ignoreErrors:!0}).pipe((0,E.n)($=>this.allObjectTypes.getObjectTypesMap$($).pipe((0,D.T)(H=>({types:$,allTypesMap:H})))),(0,D.T)(({types:$,allTypesMap:H})=>{const ie=this.messageUtilsService.getEmptyCollection();return $.includes(void 0)&&this.toastService.showWarningToast(L.Q9),($||[]).filter(ne=>!!ne).forEach((ne,Q)=>{const le=this.getType(ne,H);le&&ie[le].push(j.to[Q])}),this.messageUtilsService.addFormulasToCollection(ie,(0,o.p)(j.toNumberFormula)),ie})):(0,g.of)(this.messageUtilsService.getEmptyCollection())}getVoiceMessageCapableMetaCollection(j,$){let H=[];Object.keys(j).filter(Q=>!["workflowInputs","workflowVars","workflowActors"].includes(Q)).forEach(Q=>{H=H.concat(j[Q])});const ie={groups:[],organizationalUnits:[],people:[],teams:[],roles:[],filters:[],otherContacts:[],workflowInputs:this.workflowPropFormulasToMeta(j.workflowInputs,$,"inputs"),workflowActors:this.workflowPropFormulasToMeta(j.workflowActors,$,"actors"),workflowVars:this.workflowPropFormulasToMeta(j.workflowVars,$,"variables")};return H.length?this.queryService.execute1dFirst(b.R.GET_ALL_VOICE_MESSAGE_CAPABLE_META,{vars:{Tips:H},dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}]}).pipe((0,D.T)(Q=>{const le=new Map;return Q.forEach(pe=>{le.set(pe.$tip,pe)}),{...ie,groups:j.groups.map(pe=>le.get(pe)).filter(pe=>!!pe),organizationalUnits:j.organizationalUnits.map(pe=>le.get(pe)).filter(pe=>!!pe),people:j.people.map(pe=>le.get(pe)).filter(pe=>!!pe),teams:j.teams.map(pe=>le.get(pe)).filter(pe=>!!pe),roles:j.roles.map(pe=>le.get(pe)).filter(pe=>!!pe),filters:j.filters.map(pe=>le.get(pe)).filter(pe=>!!pe),otherContacts:j.otherContacts.map(pe=>le.get(pe)).filter(pe=>!!pe)}})):(0,g.of)(ie)}workflowPropFormulasToMeta(j,$,H){return j&&j.length?j.map(ie=>{const ne=this.messageUtilsService.getWorkflowPropFromFormula(ie,H,$);return{title:ne?ne.label:"",number:"",formula:ie}}):[]}getVoiceMessageTemplate(j){return this.objectService.getObject(j,I.hC)}saveOutboundSource(j,$=I.Ee.SENT){return j.status=$,j.$type="app/voice-message/outbound-source",j.$security=y.Ay.SECURITY.INSTANCE_USER_USER,(j.$tip?this.hasValidVoiceOutboundSourceType$(j.$tip):(0,g.of)(!0)).pipe((0,E.n)(ie=>ie?this.objectService.setObject(j,I.yF).pipe((0,D.T)(ne=>ne[ne.length-1].tip)):(0,m.$)(()=>new Error("Voice message outbound source eno has the wrong type"))))}sendVoiceMessageWithEarlyReturn(j,$){const H=this.sendVoiceMessage(j,$),ie=this.messageUtilsService.preemptiveMailRequestExpiryTimer();return(0,T.O)([H,ie]).pipe((0,D.T)(ne=>(0===ne&&this.loggerService.info("[VoiceMessageService/sendVoiceMessageWithEarlyReturn] Early timeout. Did not wait for actual response."),!0)))}sendVoiceMessage(j,$){const ie={"Outbound source tip":[j]};return $&&(ie[L.oT]=[$]),this.processService.start("eim/process/message/send-voice-message",ie)}isValidDraft(j){return!!j?.template||j?.to?.length>0||j?.toNumberFormula?.length>0||""!==j?.body&&void 0!==j?.body}getRecipientsFromMessageCollection(j){const $={...j};return["workflowInputs","workflowActors","workflowVars"].forEach(H=>{delete $[H]}),{to:this.messageUtilsService.getFlattenedTipsFromCollection($),toFormulas:this.messageUtilsService.getFlattenedFormulasFromCollection(j)}}getType(j,$){return L.In[j]?L.In[j]:this.messageUtilsService.checkSuperTypeFromMetaMap(j,$)}static#e=this.\u0275fac=function($){return new($||x)(C.KVO(w.T),C.KVO(M.g),C.KVO(q.c),C.KVO(L.Gq),C.KVO(z.V),C.KVO(F.b),C.KVO(U.f),C.KVO(k.g))};static#t=this.\u0275prov=C.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},63537:(at,N,s)=>{"use strict";s.d(N,{l:()=>a,y:()=>g});var n=s(48636);const a="app/assignment",g={"app/assignment:assignee":{type:n.U.string},"app/assignment:due":{type:n.U.datetime}}},3149:(at,N,s)=>{"use strict";s.d(N,{I:()=>n});const n={"app/branding-settings:organisation-name":{},"app/branding-settings:organisation-logo":{}}},81104:(at,N,s)=>{"use strict";s.d(N,{_c:()=>a,_n:()=>m,jq:()=>g});const a={"app/chart-settings:use-list-colors-for-chart":{type:s(48636).U.boolean}},g="app/chart-settings",m=`${g}/default`},42190:(at,N,s)=>{"use strict";s.d(N,{Ad:()=>E,CZ:()=>U,EY:()=>B,Ir:()=>x,O6:()=>T,bt:()=>j,gO:()=>O,oR:()=>m,qy:()=>g,te:()=>D,u$:()=>Y,ve:()=>k});var n=s(48636),a=s(76194);const g={"app/chart:title":{type:n.U.i18n},"app/chart:configuration":{type:n.U.json},"app/chart:data-source":{name:"dataSource",type:n.U.jsonArray},"app/chart:preview-input":{name:"previewInput",type:n.U.jsonArray},"app/chart:deps":{type:n.U.stringArray}};var m=function($){return $.LINE="Line",$.AREA="Area",$.STACKED_AREA="Stacked area",$.STACKED_AREA_100="100% stacked area",$.COLUMN="Column",$.STACKED_COLUMN="Stacked column",$.STACKED_COLUMN_100="100% stacked column",$.BAR="Bar",$.STACKED_BAR="Stacked bar",$.STACKED_BAR_100="100% stacked bar",$.PIE="Pie",$.DOUHNUT="Doughnut",$.SCATTER="Scatter",$.BUBBLE="Bubble",$.TIMELINE="Timeline",$}(m||{});const T={[m.LINE]:{datasetOptions:{type:"line",fill:!1,pointRadius:3}},[m.PIE]:{datasetOptions:{type:"pie"},options:{cutoutPercentage:0}},[m.DOUHNUT]:{datasetOptions:{type:"doughnut"},options:{cutoutPercentage:50}},[m.COLUMN]:{datasetOptions:{type:"bar"}},[m.AREA]:{datasetOptions:{type:"line",fill:!0}},[m.SCATTER]:{datasetOptions:{type:"scatter",showLine:!1,fill:!1}},[m.STACKED_COLUMN]:{datasetOptions:{type:"bar"}}};var O=function($){return $.AVERAGE="Average",$.COUNT="Count",$.SUM="Sum",$.CUMULATIVE_SUM="Cumulative sum",$.STANDARD_DEVIATION="Standard deviation",$.VALUES="Values",$}(O||{}),D=function($){return $.NO_GROUPING="No grouping",$.YEAR="Year",$.MONTH="Month",$.DATE="Date",$.DAY_OF_THE_WEEK="Day of the week",$.MONTH_PER_YEAR="Month per year",$.QUARTER_PER_YEAR="Year and quarter",$.FISCAL_YEAR="Fiscal year",$.QUARTER_PER_FISCAL_YEAR="Fiscal year and quarter",$.MONTH_PER_FISCAL_YEAR="Fiscal year and month",$}(D||{}),E=function($){return $.NO_GROUPING="",$.YEAR="e.g. 2020",$.MONTH="e.g. January",$.DATE="e.g. 31-01-2020",$.DAY_OF_THE_WEEK="e.g. Monday",$.MONTH_PER_YEAR="e.g. June 2020",$.QUARTER_PER_YEAR="e.g. Q2 2020",$.FISCAL_YEAR="e.g. FY2020 to e.g. FY20",$.QUARTER_PER_FISCAL_YEAR="e.g. Q2 FY 2020 to e.g. Q2 FY20",$.MONTH_PER_FISCAL_YEAR="e.g. June FY 2020 to e.g. June FY20",$}(E||{});const b={offset:!0,time:{min:"",max:"",unit:"year",tooltipFormat:"YYYY"},distribution:"series",ticks:{source:"data"}},L={offset:!0,time:{min:"1999-12-15",max:"2000-12-16",unit:"month",displayFormats:{month:"MMM"},tooltipFormat:"MMM"},distribution:"linear",ticks:{source:"auto"}},o={offset:!0,time:{min:"",max:"",unit:"day",displayFormats:{day:"DD MMM YYYY"},tooltipFormat:"DD MMM YYYY"},distribution:"series",ticks:{source:"data"}},C={offset:!0,time:{min:"2019-02-09T12:00:00",max:"2019-02-16T12:00:00",unit:"day",displayFormats:{day:"dddd"},tooltipFormat:"dddd"},distribution:"linear",ticks:{source:"auto"}},w={offset:!0,time:{min:"",max:"",unit:"month",displayFormats:{month:"MMM YYYY"},tooltipFormat:"MMM YYYY"},distribution:"series",ticks:{source:"data"}},M={offset:!0,time:{min:"",max:"",unit:"quarter",displayFormats:{},tooltipFormat:""},distribution:"series",ticks:{source:"data"}},q={offset:!0,time:{min:"",max:"",unit:"year",displayFormats:{},tooltipFormat:""},distribution:"series",ticks:{source:"data"}},z={offset:!0,time:{min:"",max:"",unit:"quarter",displayFormats:{},tooltipFormat:""},distribution:"series",ticks:{source:"data"}},F={offset:!0,time:{min:"",max:"",unit:"month",displayFormats:{},tooltipFormat:""},distribution:"series",ticks:{source:"data"}},U={[D.NO_GROUPING]:{[a.HT.date]:{offset:!0,time:{min:"",max:"",unit:"second",displayFormats:{second:"DD MMM YYYY"},tooltipFormat:"DD MMM YYYY"},distribution:"series",ticks:{source:"data"}},[a.HT.datetime]:{offset:!0,time:{min:"",max:"",unit:"second",displayFormats:{second:"DD MMM YYYY HH:mm"},tooltipFormat:"DD MMM YYYY HH:mm"},distribution:"series",ticks:{source:"data"}}},[D.YEAR]:{[a.HT.date]:b,[a.HT.datetime]:b},[D.MONTH]:{[a.HT.date]:L,[a.HT.datetime]:L},[D.DATE]:{[a.HT.date]:o,[a.HT.datetime]:o},[D.DAY_OF_THE_WEEK]:{[a.HT.date]:C,[a.HT.datetime]:C},[D.MONTH_PER_YEAR]:{[a.HT.date]:w,[a.HT.datetime]:w},[D.QUARTER_PER_YEAR]:{[a.HT.date]:M,[a.HT.datetime]:M},[D.FISCAL_YEAR]:{[a.HT.date]:q,[a.HT.datetime]:q},[D.QUARTER_PER_FISCAL_YEAR]:{[a.HT.date]:z,[a.HT.datetime]:z},[D.MONTH_PER_FISCAL_YEAR]:{[a.HT.date]:F,[a.HT.datetime]:F}};var k=function($){return $.SOLID="Solid",$.SHORT_DASH="Short dash",$.SHORT_DOT="Short dot",$.SHORT_DASH_DOT="Short dash dot",$.SHORT_DASH_DOT_DOT="Short dash dot dot",$.DOT="Dot",$.DASH="Dash",$.LONG_DASH="Long dash",$.DASH_DOT="Dash dot",$.LONG_DASH_DOT="Long dash dot",$.LONG_DASH_DOT_DOT="Long dash dot dot",$}(k||{});const Y={[k.SOLID]:[],[k.SHORT_DASH]:[5,5],[k.SHORT_DOT]:[1,5],[k.SHORT_DASH_DOT]:[5,5,1,5],[k.SHORT_DASH_DOT_DOT]:[5,5,1,5,1,5],[k.DOT]:[1,10],[k.DASH]:[10,10],[k.LONG_DASH]:[20,10],[k.DASH_DOT]:[10,10,1,10],[k.LONG_DASH_DOT]:[20,10,1,10],[k.LONG_DASH_DOT_DOT]:[20,10,1,10,1,10]};var x=function($){return $.AUTO="Auto",$.CIRCLE="Circle",$.SQUARE="Square",$.DIAMOND="Diamond",$.TRIANGLE="Triangle",$.STAR="Star",$}(x||{});const B={[x.AUTO]:"circle",[x.CIRCLE]:"circle",[x.SQUARE]:"rect",[x.DIAMOND]:"rectRot",[x.TRIANGLE]:"triangle",[x.STAR]:"star"},j=[{suggestedMin:0,suggestedMax:0},{suggestedMin:0,suggestedMax:0}]},18848:(at,N,s)=>{"use strict";s.d(N,{ZN:()=>m,oG:()=>O,ur:()=>T});var n=s(48636),a=s(16976),g=s(64385);const m={"app/checklistitem:text":{type:n.U.i18n},"app/checklistitem:assignee":{type:n.U.object,scheme:{...a.Rg,...g.Lw,...g.Dc}},"app/checklistitem:status":{type:n.U.string}},T={"app/checklistitem:text":{type:n.U.i18n},"app/checklistitem:assignee":{type:n.U.string},"app/checklistitem:status":{type:n.U.string}};var O=function(D){return D.IN_PROGRESS="in-progress",D.NOT_STARTED="not-started",D.COMPLETED="completed",D.CANCELLED="cancelled",D}(O||{})},29218:(at,N,s)=>{"use strict";s.d(N,{a:()=>g,s:()=>m});var n=s(48636),a=s(18848);const g={"app/checklist:name":{type:n.U.i18n},"app/checklist:items":{type:n.U.objectArray,scheme:a.ZN,mutable:!0},"app/checklist:context":{type:n.U.string}};var m=function(T){return T.GLOBAL_ASSIGNEE="global-assignee",T.CONTEXT_ANY="context-any",T}(m||{})},36478:(at,N,s)=>{"use strict";s.d(N,{hJ:()=>g,wT:()=>m,yu:()=>a});var n=s(48636);const a={"app/dashboard:title":{type:n.U.i18n},"app/dashboard:context-type":{name:"contextTypeTip",type:n.U.string},"app/dashboard:tabs":{type:n.U.jsonArray},"app/dashboard:workflow-panel":{name:"workflowPanel",type:n.U.string},"app/dashboard:type":{type:n.U.string},"app/dashboard:color":{type:n.U.string},"app/dashboard:title-color":{type:n.U.string},"app/dashboard:background":{name:"backgroundTip",type:n.U.string},"app/dashboard:show-navigation":{type:n.U.boolean},"app/dashboard:deps":{type:n.U.stringArray},"app/dashboard:profile-restriction-tips":{type:n.U.stringArray}};var g=function(T){return T.LAUNCHPAD="Launchpad",T.STANDARD="Standard",T}(g||{});const m={1:["col-12","col-md-4","col-lg-1"],2:["col-12","col-md-4","col-lg-2"],3:["col-12","col-md-6","col-lg-3"],4:["col-12","col-md-12","col-lg-4"],5:["col-12","col-md-12","col-lg-5"],6:["col-12","col-md-12","col-lg-6"],7:["col-12","col-md-12","col-lg-7"],8:["col-12","col-md-12","col-lg-8"],9:["col-12","col-md-12","col-lg-9"],10:["col-12","col-md-12","col-lg-10"],11:["col-12","col-md-12","col-lg-11"],12:["col-12"]}},10298:(at,N,s)=>{"use strict";s.d(N,{Db:()=>D,Eu:()=>L,Hq:()=>C,KQ:()=>g,O2:()=>b,QE:()=>m,Qi:()=>y,dO:()=>I,st:()=>a,wh:()=>T});var n=s(48636),a=function(w){return w.NEW="new",w.DRAFT="draft",w.REPLY="reply",w.FORWARD="forward",w.WORKFLOW="workflow",w.RESEND="resend",w}(a||{}),g=function(w){return w.DRAFT="draft",w.SENT="sent",w}(g||{}),m=function(w){return w.INBOX="Inbox",w.SENT="Sent",w.DRAFT="Draft",w}(m||{}),T=function(w){return w.TO="To",w.CC="CC",w.BCC="BCC",w}(T||{});const O={"app/email/substitution:key":{},"app/email/substitution:label":{},"app/email/substitution:value":{type:n.U.formula}},D={"app/email/addhoc-address:label":{},"app/email/addhoc-address:email":{}},y={"app/email/from-address:email":{},"app/email/from-address:label":{},"app/email/from-address:verified":{type:n.U.boolean}},I={"app/email/outbound-source:to":{type:n.U.stringArray},"app/email/outbound-source:cc":{type:n.U.stringArray},"app/email/outbound-source:bcc":{type:n.U.stringArray},"app/email/outbound-source:to-address-formula":{type:n.U.formula},"app/email/outbound-source:cc-address-formula":{type:n.U.formula},"app/email/outbound-source:bcc-address-formula":{type:n.U.formula},"app/email/outbound-source:from-address":{},"app/email/outbound-source:context":{},"app/email/outbound-source:context-formula":{type:n.U.formula},"app/email/outbound-source:context-formula-meta":{},"app/email/outbound-source:template":{},"app/email/outbound-source:subject":{},"app/email/outbound-source:body":{},"app/email/outbound-source:attachments":{type:n.U.stringArray},"app/email/outbound-source:attachments-formula":{type:n.U.formula},"app/email/outbound-source:status":{},"app/email/outbound-source:draft-saved-datetime":{type:n.U.datetime},"app/email/outbound-source:billing-code":{},"app/email/outbound-source:attachment-substitutions":{type:n.U.objectArray,mutable:!0,scheme:O},"app/email/outbound-source:message-substitutions":{type:n.U.objectArray,mutable:!0,scheme:O},"app/email/outbound-source:subject-substitutions":{type:n.U.objectArray,mutable:!0,scheme:O},"app/email/outbound-source:recipient-substitution-formulas":{type:n.U.stringArray},"app/email/outbound-source:related-objects":{},"app/email/outbound-source:protective-marking":{},"app/email/outbound-source:ack-type":{},"app/email/outbound-source:response-timeout":{type:n.U.number},"app/email/outbound-source:each-responder-workflow":{},"app/email/outbound-source:responder-workflow-input-output-maps":{type:n.U.json},"app/email/outbound-source:responder-workflow-var-key-values":{type:n.U.formula},"app/email/outbound-source:first-response":{},"app/email/outbound-source:first-responder-variable-key":{},"app/email/outbound-source:answer-variable-key":{},"app/email/outbound-source:message-labels":{type:n.U.stringArray}},b={"app/email/outbound:email-source":{type:n.U.object,scheme:I},"app/email/outbound:sent-source":{type:n.U.object,scheme:I},"app/email/outbound:to":{type:n.U.stringArray},"app/email/outbound:cc":{type:n.U.stringArray},"app/email/outbound:bcc":{type:n.U.stringArray},"app/email/outbound:status":{},"app/email/outbound:status-message":{},"app/email/outbound:from-name":{},"app/email/outbound:from-email":{},"app/email/outbound:sent-datetime":{type:n.U.datetime},"app/email/outbound:first-responder":{},"app/email/outbound:all-responded":{type:n.U.boolean}},L={"app/email/outbound-template:name":{},"app/email/outbound-template:context-type":{},"app/email/outbound-template:to":{type:n.U.stringArray},"app/email/outbound-template:cc":{type:n.U.stringArray},"app/email/outbound-template:bcc":{type:n.U.stringArray},"app/email/outbound-template:from-address":{},"app/email/outbound-template:subject":{},"app/email/outbound-template:body":{},"app/email/outbound-template:billing-code":{},"app/email/outbound-template:attachments":{type:n.U.stringArray},"app/email/outbound-template:attachment-substitutions":{type:n.U.objectArray,mutable:!0,scheme:O},"app/email/outbound-template:message-substitutions":{type:n.U.objectArray,mutable:!0,scheme:O},"app/email/outbound-template:subject-substitutions":{type:n.U.objectArray,mutable:!0,scheme:O},"app/email/outbound-template:recipient-substitution-formulas":{type:n.U.stringArray},"app/email/outbound-template:protective-marking":{},"app/email/outbound-template:deps":{type:n.U.stringArray}},C={"app/email/inbound:to":{type:n.U.stringArray},"app/email/inbound:cc":{type:n.U.stringArray},"app/email/inbound:bcc":{type:n.U.stringArray},"app/email/inbound:from":{},"app/email/inbound:subject":{},"app/email/inbound:sent-datetime":{type:n.U.datetime},"app/email/inbound:body":{},"app/email/inbound:attachments":{type:n.U.stringArray},"app/email/inbound:original":{type:n.U.json},"app/email/inbound:processed-state":{},"app/email/inbound:read-state":{type:n.U.boolean},"app/email/inbound:related-objects":{},"app/email/inbound:message-labels":{type:n.U.stringArray}}},76194:(at,N,s)=>{"use strict";s.d(N,{EW:()=>D,HT:()=>T,TV:()=>O,cF:()=>m,iS:()=>g,mm:()=>E});var n=s(48636),a=s(20857),g=function(I){return I.POINT="point",I.LINE="linestring",I.POLYGON="polygon",I}(g||{});const m={"field/label":{type:n.U.i18n},"field/description":{type:n.U.i18n},"field/datatype":{},"field/name":{},"field/required":{type:n.U.boolean},"field/default":{type:n.U.formula},"field/default-i18n":{type:n.U.i18n},"field/calculation":{},"field/minlen":{type:n.U.number},"field/maxlen":{type:n.U.number},"field/minlenexc":{type:n.U.number},"field/maxlenexc":{type:n.U.number},"field/mincount":{type:n.U.number},"field/maxcount":{type:n.U.number},"field/mincountexc":{type:n.U.number},"field/maxcountexc":{type:n.U.number},"field/minval":{type:n.U.number},"field/maxval":{type:n.U.number},"field/minvalexc":{type:n.U.number},"field/maxvalexc":{type:n.U.number},"field/regexp":{},"field/whitelist":{type:n.U.formula},"field/whitelist-i18n":{type:n.U.i18nArray},"field/blacklist":{type:n.U.stringArray},"field/blacklist-i18n":{type:n.U.i18nArray},"field/multiline":{type:n.U.boolean},"field/typerestrict":{type:n.U.stringArray},"field/totaldigits":{type:n.U.number},"field/fractiondigits":{type:n.U.number},"field/uniquevalues":{type:n.U.boolean},"field/type-geo-restrict":{type:n.U.string},"field/number-format":{type:n.U.string},"field/merge-policy":{},"field/implements":{type:n.U.stringArray},"field/tag":{type:n.U.stringArray},"field/searchable":{type:n.U.boolean},"field/search-index-value":{type:n.U.formula},"field/on-delete":{type:n.U.string},"field/deps":{type:n.U.stringArray}};m["field/calculation-field-dependencies"]={type:n.U.objectArray,scheme:m,mutable:!0};var T=function(I){return I.string_i18n="string-i18n",I["string-i18n"]="string-i18n",I.string="string",I.blob="blob",I.number="number",I.decimal="decimal",I.bool="bool",I.date="date",I.datetime="datetime",I.object="object",I.email="email",I.phone="phone",I.uri="uri",I.geography="geography",I.formula="formula",I.string_formula="string-formula",I["string-formula"]="string-formula",I.string_i18n_formula="string-i18n-formula",I["string-i18n-formula"]="string-i18n-formula",I.json="json",I.html="html",I}(T||{}),O=function(I){return I.sub_object="sub-object",I.file="file",I.signature="signature",I.list="list",I.address="address",I.point="point",I.line="line",I.polygon="polygon",I.assignable="assignable",I.symbology="symbology",I.hierarchical="hierarchical",I.options="options",I}(O||{});const D={[O.file]:{fieldDataType:T.object,typeRestrict:["file"]},[O.signature]:{fieldDataType:T.object,typeRestrict:["signature"]},[O.list]:{fieldDataType:T.object,typeRestrict:["app/list"]},[O.address]:{fieldDataType:T.object,typeRestrict:["app/address"]},[O.point]:{fieldDataType:T.geography,typeGeoRestrict:g.POINT},[O.line]:{fieldDataType:T.geography,typeGeoRestrict:g.LINE},[O.polygon]:{fieldDataType:T.geography,typeGeoRestrict:g.POLYGON},[O.assignable]:{fieldDataType:T.object,typeRestrict:["app/assignment"]},[O.symbology]:{fieldDataType:T.json},[O.sub_object]:{fieldDataType:T.object},[O.hierarchical]:{fieldDataType:T.object,typeRestrict:[...a.it.filter(I=>I.isHierarchical).map(I=>I.$tip),"app/group"]},[O.options]:{fieldDataType:T.object}},E=function y(I){return Object.getOwnPropertyNames(I).forEach(L=>{const o=I[L];o&&"object"==typeof o&&y(o)}),Object.freeze(I)}({[T.string_i18n]:{fieldDataType:T.string_i18n},[T.string]:{fieldDataType:T.string},[T.blob]:{fieldDataType:T.blob},[T.number]:{fieldDataType:T.number},[T.decimal]:{fieldDataType:T.decimal},[T.bool]:{fieldDataType:T.bool},[T.date]:{fieldDataType:T.date},[T.datetime]:{fieldDataType:T.datetime},[T.object]:{fieldDataType:T.object},[T.email]:{fieldDataType:T.email},[T.phone]:{fieldDataType:T.phone},[T.uri]:{fieldDataType:T.uri},[T.geography]:{fieldDataType:T.geography},[T.formula]:{fieldDataType:T.formula},[T.string_formula]:{fieldDataType:T.string_formula},[T.string_i18n_formula]:{fieldDataType:T.string_i18n_formula},[T.json]:{fieldDataType:T.json},[T.html]:{fieldDataType:T.html},...D})},56832:(at,N,s)=>{"use strict";s.d(N,{x:()=>a});var n=s(48636);const a={"app/integration-arcgis:connection-name":{type:n.U.string},"app/integration-arcgis:enabled":{type:n.U.boolean},"app/integration-arcgis:default":{type:n.U.boolean},"app/integration-arcgis:connection-type":{type:n.U.string},"app/integration-arcgis:token-host":{type:n.U.string},"app/integration-arcgis:token-path":{type:n.U.string},"app/integration-arcgis:client-id":{type:n.U.string},"app/integration-arcgis:username":{type:n.U.string},"app/integration-arcgis:client-secret":{type:n.U.string},"app/integration-arcgis:password":{type:n.U.string},"app/integration-arcgis:password-key":{type:n.U.string},"app/integration-arcgis:client-secret-key":{type:n.U.string},"app/integration-arcgis:geocoding":{type:n.U.boolean},"app/integration-arcgis:connect-via":{type:n.U.string},"app/integration-arcgis:geocode-server-url":{type:n.U.string}}},80043:(at,N,s)=>{"use strict";s.d(N,{G:()=>a});var n=s(48636);const a={"app/webhook-endpoint:enabled":{type:n.U.boolean},"app/webhook-endpoint:label":{type:n.U.i18n},"app/webhook-endpoint:base-uri":{type:n.U.string},"app/webhook-endpoint:connect-via":{type:n.U.string}}},67606:(at,N,s)=>{"use strict";s.d(N,{y:()=>a});var n=s(48636);const a={"app/integration-what3words:enabled":{type:n.U.boolean},"app/integration-what3words:host":{type:n.U.string},"app/integration-what3words:api-key":{type:n.U.string},"app/integration-what3words:decrypt-key":{type:n.U.string},"app/integration-what3words:language":{type:n.U.string},"app/integration-what3words:connect-via":{type:n.U.string}}},52596:(at,N,s)=>{"use strict";s.d(N,{c:()=>g,x:()=>m});var n=s(25793),a=s(48636);const g={"app/list:name":{type:a.U.i18n},"app/list:description":{type:a.U.i18n},"app/list:items":{type:a.U.jsonArray},"app/list:values":{type:a.U.stringArray},"app/list:labels":{type:a.U.i18nObject},"app/list:is-user-modifiable":{type:a.U.boolean}};function m(T){return{...T,label:(0,n.YN)(T.label)}}},72874:(at,N,s)=>{"use strict";s.d(N,{m:()=>n});const n={"app/type/locale:locale-id":{},"app/type/locale:timezone":{},"app/type/locale:dateformat":{},"app/type/locale:datetimeformat":{},"app/type/locale:internationaldialingcode":{},"app/type/locale:fiscalYearEndDate":{}}},10532:(at,N,s)=>{"use strict";s.d(N,{EM:()=>k,Jq:()=>E,KT:()=>o,QC:()=>T,R1:()=>F,aK:()=>U,f6:()=>O,ff:()=>I,km:()=>y,lI:()=>g,mM:()=>b,mW:()=>w,mr:()=>z,o4:()=>M,pI:()=>L,tn:()=>a,xR:()=>C,yg:()=>m,ys:()=>D});var n=s(48636),a=function(Y){return Y.POINT="point",Y.LINE="line",Y.POLYGON="polygon",Y}(a||{}),g=function(Y){return Y.NOGGIN_QUERY="noggin/query",Y.EXTERNAL_GEOJSON="external/geojson",Y.EXTERNAL_GEORSS="external/georss",Y.EXTERNAL_KML="external/kml",Y.EXTERNAL_WMS="external/wms",Y.MAPBOX_VECTOR_TILES="mapbox/vector-tiles",Y.ESRI_FEATURE_LAYER="esri/feature-layer",Y.ESRI_DYNAMIC_MAP_SERVICE="esri/dynamic-map-service",Y.ESRI_TILED_MAP_SERVICE="esri/tiled-map-service",Y.ESRI_VECTOR_TILE_SERVICE="esri/vector-tile-service",Y.ESRI_IMAGE_SERVICE="esri/image-service",Y}(g||{});const m=[{label:"Noggin",types:[g.NOGGIN_QUERY]},{label:"External feeds",types:[g.EXTERNAL_GEOJSON,g.EXTERNAL_GEORSS,g.EXTERNAL_KML,g.EXTERNAL_WMS]},{label:"MapBox",types:[g.MAPBOX_VECTOR_TILES]},{label:"Esri",types:[g.ESRI_FEATURE_LAYER,g.ESRI_DYNAMIC_MAP_SERVICE,g.ESRI_TILED_MAP_SERVICE,g.ESRI_VECTOR_TILE_SERVICE,g.ESRI_IMAGE_SERVICE]}],T={[g.NOGGIN_QUERY]:"Query",[g.EXTERNAL_GEOJSON]:"GeoJSON",[g.EXTERNAL_GEORSS]:"GeoRSS",[g.EXTERNAL_KML]:"KML",[g.EXTERNAL_WMS]:"WMS",[g.MAPBOX_VECTOR_TILES]:"Vector tiles",[g.ESRI_FEATURE_LAYER]:"Feature layer",[g.ESRI_DYNAMIC_MAP_SERVICE]:"Dynamic map service",[g.ESRI_TILED_MAP_SERVICE]:"Tiled map service",[g.ESRI_VECTOR_TILE_SERVICE]:"Vector tile service",[g.ESRI_IMAGE_SERVICE]:"Image service"},O={"app/map/source:name":{type:n.U.i18n},"app/map/source:type":{type:n.U.string},"app/map/source:config":{type:n.U.json},"app/map/source:deps":{type:n.U.stringArray}};var D=function(Y){return Y.SOLID="solid",Y.DASH="dash",Y.DASH_DOT="dash-dot",Y.DOT="dot",Y.LONG_DASH="long-dash",Y.LONG_DASH_DOT="long-dash-dot",Y.LONG_DASH_DOT_DOT="long-dash-dot-dot",Y.SHORT_DASH="short-dash",Y.SHORT_DASH_DOT="short-dash-dot",Y.SHORT_DASH_DOT_DOT="short-dash-dot-dot",Y.SHORT_DOT="short-dot",Y.NONE="none",Y}(D||{});const E={[D.DASH]:{name:"Dash",picUrl:`assets/img/maps/dash-styles/${D.DASH}.png`},[D.DASH_DOT]:{name:"Dash dot",picUrl:`assets/img/maps/dash-styles/${D.DASH_DOT}.png`},[D.DOT]:{name:"Dot",picUrl:`assets/img/maps/dash-styles/${D.DOT}.png`},[D.LONG_DASH]:{name:"Long dash",picUrl:`assets/img/maps/dash-styles/${D.LONG_DASH}.png`},[D.LONG_DASH_DOT]:{name:"Long dash dot",picUrl:`assets/img/maps/dash-styles/${D.LONG_DASH_DOT}.png`},[D.LONG_DASH_DOT_DOT]:{name:"Long dash dot dot",picUrl:`assets/img/maps/dash-styles/${D.LONG_DASH_DOT_DOT}.png`},[D.NONE]:{name:"None"},[D.SHORT_DASH]:{name:"Short dash",picUrl:`assets/img/maps/dash-styles/${D.SHORT_DASH}.png`},[D.SHORT_DASH_DOT]:{name:"Short dash dot",picUrl:`assets/img/maps/dash-styles/${D.SHORT_DASH_DOT}.png`},[D.SHORT_DASH_DOT_DOT]:{name:"Short dash dot dot",picUrl:`assets/img/maps/dash-styles/${D.SHORT_DASH_DOT_DOT}.png`},[D.SHORT_DOT]:{name:"Short dot",picUrl:`assets/img/maps/dash-styles/${D.SHORT_DOT}.png`},[D.SOLID]:{name:"Solid",picUrl:`assets/img/maps/dash-styles/${D.SOLID}.png`}};var y=function(Y){return Y.SMALL="small",Y.MEDIUM="medium",Y.LARGE="large",Y}(y||{});const I={"app/map/style:name":{type:n.U.i18n},"app/map/style:type":{type:n.U.string},"app/map/style:config":{type:n.U.json}};var b=function(Y){return Y.DEFAULT="default",Y.STYLE="style",Y.HEATMAP="heatmap",Y}(b||{});const L={"app/map/layer:name":{type:n.U.i18n},"app/map/layer:data-source":{type:n.U.object,scheme:O},"app/map/layer:is-base-map":{type:n.U.boolean},"app/map/layer:geometry-type":{type:n.U.string},"app/map/layer:style-type":{type:n.U.string},"app/map/layer:style":{type:n.U.string},"app/map/layer:heatmap-radius":{type:n.U.number},"app/map/layer:has-min-zoom":{type:n.U.boolean},"app/map/layer:has-max-zoom":{type:n.U.boolean},"app/map/layer:min-zoom-level":{type:n.U.number},"app/map/layer:max-zoom-level":{type:n.U.number},"app/map/layer:opacity":{type:n.U.number},"app/map/layer:visible-properties":{type:n.U.stringArray},"app/map/layer:is-cluster":{type:n.U.boolean}},o={"app/map/layer:name":{type:n.U.i18n},"app/map/layer:data-source":{type:n.U.string},"app/map/layer:is-base-map":{type:n.U.boolean},"app/map/layer:geometry-type":{type:n.U.string},"app/map/layer:style-type":{type:n.U.string},"app/map/layer:style":{type:n.U.string},"app/map/layer:heatmap-radius":{type:n.U.number},"app/map/layer:has-min-zoom":{type:n.U.boolean},"app/map/layer:has-max-zoom":{type:n.U.boolean},"app/map/layer:min-zoom-level":{type:n.U.number},"app/map/layer:max-zoom-level":{type:n.U.number},"app/map/layer:opacity":{type:n.U.number},"app/map/layer:visible-properties":{type:n.U.stringArray},"app/map/layer:is-cluster":{type:n.U.boolean}};var C=function(Y){return Y.DEFAULT="default",Y.LOCATION="location",Y.POLYGON="polygon",Y.LAYER="layer",Y.ALL_LAYERS="all-layers",Y}(C||{});const w={[C.DEFAULT]:"Honor system extent default",[C.LOCATION]:"User's current location",[C.POLYGON]:"Define custom region on the map",[C.LAYER]:"Specific layers",[C.ALL_LAYERS]:"All layers"},M={"app/map/extent:type":{type:n.U.string},"app/map/extent:layer":{type:n.U.objectArray,scheme:L},"app/map/extent:polygon":{type:n.U.geography},"app/map/extent:zoom-level":{type:n.U.number}},z={"app/map:name":{type:n.U.i18n},"app/map:base-map":{type:n.U.object,scheme:L},"app/map:layers":{type:n.U.objectArray,scheme:L},"app/map:extent":{type:n.U.object,scheme:M}},F={"app/map:name":{type:n.U.i18n},"app/map:base-map":{type:n.U.string},"app/map:layers":{type:n.U.stringArray},"app/map:extent":{type:n.U.object,scheme:{"app/map/extent:type":{type:n.U.string},"app/map/extent:layer":{type:n.U.stringArray},"app/map/extent:polygon":{type:n.U.geography},"app/map/extent:zoom-level":{type:n.U.number}},mutable:!0}},U={"app/address:display-street":{type:n.U.i18n},"app/address:point":{type:n.U.geography},"app/address:meta":{type:n.U.json}};var k=function(Y){return Y.Requested="requested",Y.Active="active",Y.Declined="declined",Y}(k||{})},73070:(at,N,s)=>{"use strict";s.d(N,{EN:()=>g,Ln:()=>m,t2:()=>a});var n=s(48636),a=function(T){return T[T.LIMIT=500]="LIMIT",T}(a||{}),g=function(T){return T.COLOR="#029CBE",T}(g||{});const m={"app/message-label:name":{type:n.U.i18n},"app/message-label:color":{type:n.U.string}}},95113:(at,N,s)=>{"use strict";s.d(N,{$z:()=>m,CA:()=>E,NS:()=>a,Sl:()=>O,_s:()=>y,aA:()=>g,cJ:()=>D});var n=s(48636),a=function(I){return I.PROCESSED="Processed",I.NO_ACTION_REQUIRED="No Action Required",I.ACTION_REQUIRED="Action Required",I}(a||{}),g=function(I){return I.READ="read",I.UNREAD="unread",I}(g||{}),m=function(I){return I.EMAIL="email",I.SMS="sms",I.VOICE="voice-message",I.FAX="fax",I.MESSAGE="message",I}(m||{});const O={"app/message/related-objects:items":{type:n.U.stringArray},"app/message/related-objects:workflowRelatedItems":{type:n.U.json},"app/message/related-objects:workflowRelatedItemFormula":{type:n.U.formula}};var D=function(I){return I.TO="To",I.FROM="From",I.TO_SYSTEM="To system",I.FROM_SYSTEM="From system",I.MESSAGE_TYPE="Message type",I.MESSAGE_READ_STATUS="Message read status",I.MESSAGE_DATE="Date",I.MESSAGE_LABEL="Message Label",I}(D||{}),E=function(I){return I.GROUP="Group",I.CONTACT="Contact",I.TEAM="Team",I.ROLE="Role",I.OTHER_CONTACT="Other Contact",I}(E||{}),y=function(I){return I.TO="Select To address",I.FROM="Select From address",I.TO_SYSTEM="Select To address",I.FROM_SYSTEM="Select From address",I.MESSAGE_TYPE="Select Message Type",I.MESSAGE_READ_STATUS="Select Message Read Status",I.MESSAGE_DATE="Select Date",I}(y||{})},560:(at,N,s)=>{"use strict";s.d(N,{$:()=>z});var n=s(48636);s(52596),s(68302),s(36478),s(10195),s(11819),s(64250),s(13303),s(42190),s(10532),s(10298),s(83855),s(38045),s(6425),s(93862),s(59016);const z={"app/module:name":{type:n.U.i18n},"app/module:description":{type:n.U.i18n},"app/module:branch":{},"app/module:solution":{type:n.U.stringArray},"app/module:labels":{type:n.U.stringArray},"app/module:instance-policy":{},"app/module:type-policy":{},"app/module:workflow-process-policy":{},"app/module:module-setting-instance-policy":{},"app/module:blacklist":{type:n.U.stringArray},"app/module:options-object-type":{type:n.U.string},"app/module:object-types":{type:n.U.stringArray},"app/module:lists":{type:n.U.stringArray},"app/module:workflows":{type:n.U.stringArray},"app/module:queries":{type:n.U.stringArray},"app/module:dashboards":{type:n.U.stringArray},"app/module:workflow-panels":{type:n.U.stringArray},"app/module:forms":{type:n.U.stringArray},"app/module:plan-templates":{type:n.U.stringArray},"app/module:message-email-templates":{type:n.U.stringArray},"app/module:message-sms-templates":{type:n.U.stringArray},"app/module:message-voice-templates":{type:n.U.stringArray},"app/module:charts":{type:n.U.stringArray},"app/module:map-data-sources":{type:n.U.stringArray},"app/module:map-layers":{type:n.U.stringArray},"app/module:maps":{type:n.U.stringArray},"app/module:sequences":{type:n.U.stringArray},"app/module:risk-matrices":{type:n.U.stringArray},"app/module:print-templates":{type:n.U.stringArray},"app/module:print-template-usages":{type:n.U.stringArray}}},13274:(at,N,s)=>{"use strict";s.d(N,{F:()=>a});var n=s(48636);const a={"app/object-step:name":{type:n.U.i18n},"app/object-step:stage":{},"app/object-step:nav-config":{name:"navConfig",type:n.U.json},"app/object-step:new-window-navigation":{type:n.U.boolean},"app/object-step:order-number":{type:n.U.number},"app/object-step:deps":{type:n.U.stringArray}}},10195:(at,N,s)=>{"use strict";s.d(N,{a:()=>T,V:()=>m});var n=s(48636),a=s(93760);const m={"app/object-type:type":{type:n.U.object,mutable:!0,scheme:a.m},"app/object-type:stages":{type:n.U.objectArray,mutable:!0,scheme:{"app/object-stage:name":{type:n.U.i18n}}},"app/object-type:default-dashboard":{},"app/object-type:default-form":{},"app/object-type:lifecycle-workflow":{},"app/object-type:symbology":{type:n.U.json},"app/object-type:is-user-modifiable":{type:n.U.boolean},"app/object-type:matching-field":{},"app/object-type:can-create-profiles":{type:n.U.stringArray},"app/object-type:deps":{type:n.U.stringArray}},T={"app/object-type:type":{type:n.U.object,mutable:!0,scheme:a.m},"app/object-type:stages":{type:n.U.stringArray},"app/object-type:default-dashboard":{type:n.U.string},"app/object-type:default-form":{type:n.U.string},"app/object-type:lifecycle-workflow":{type:n.U.string},"app/object-type:symbology":{type:n.U.json},"app/object-type:matching-field":{type:n.U.string},"app/object-type:can-create-profiles":{type:n.U.stringArray}}},27808:(at,N,s)=>{"use strict";s.d(N,{H3:()=>m,OM:()=>g,nZ:()=>a});var n=s(48636),a=function(T){return T[T.LIMIT=500]="LIMIT",T}(a||{}),g=function(T){return T.COLOR="#029CBE",T}(g||{});const m={"app/plan-category:name":{type:n.U.i18n},"app/plan-category:color":{type:n.U.string}}},13303:(at,N,s)=>{"use strict";s.d(N,{D:()=>T,T:()=>m});var n=s(48636),a=s(29218),g=s(27808);const m={"app/plan:name":{type:n.U.i18n},"app/plan:description":{type:n.U.i18n},"app/plan:strategy":{type:n.U.string},"app/plan:checklists":{type:n.U.objectArray,scheme:a.a,mutable:!0},"app/plan:is-template":{type:n.U.boolean},"app/plan:is-activated":{type:n.U.boolean},"app/plan:context":{type:n.U.string},"app/plan:is-incomplete":{type:n.U.boolean},"app/plan:plan-categories":{type:n.U.objectArray,scheme:g.H3,mutable:!0}},T={"app/plan:name":{type:n.U.i18n},"app/plan:description":{type:n.U.i18n},"app/plan:strategy":{type:n.U.i18n},"app/plan:is-template":{type:n.U.boolean},"app/plan:is-activated":{type:n.U.boolean},"app/plan:context":{type:n.U.string},"app/plan:is-incomplete":{type:n.U.boolean}}},59016:(at,N,s)=>{"use strict";s.d(N,{NY:()=>a,eF:()=>m,ls:()=>g});var n=s(48636);const a={"app/print-template:name":{type:n.U.string},"app/print-template:template":{type:n.U.string},"app/print-template:template-file":{name:"fileTip",type:n.U.string},"app/print-template:file-type":{type:n.U.string}},g={DOCX:"docx",HTML:"html"},m={"app/print-template-usage:name":{type:n.U.i18n},"app/print-template-usage:object-type":{type:n.U.string},"app/print-template-usage:form":{type:n.U.string},"app/print-template-usage:export-format":{type:n.U.string},"app/print-template-usage:allow-change-print-file-type":{type:n.U.boolean},"app/print-template-usage:print-file-type":{type:n.U.string}}},91959:(at,N,s)=>{"use strict";s.d(N,{Lj:()=>z});var n=s(48636),a=s(67376);const T={"processconnection/outcome":{type:n.U.i18n},"processconnection/point":{type:n.U.numberArray},"processconnection/delay":{name:"delaySec",type:n.U.number}},O={"processnode/type":{},"processnode/env":{},"processnode/point":{type:n.U.numberArray},"processnode/reference":{type:n.U.json}},D=(0,a.cloneDeep)(O);D["processnode/logic/if/expr"]={name:"expression",type:n.U.string};const E=(0,a.cloneDeep)(O);E["processnode/logic/subprocess/process"]={type:n.U.formula},E["processnode/logic/subprocess/var-key"]={name:"varKeys",type:n.U.stringArray},E["processnode/logic/subprocess/subvar-key"]={name:"subVarKeys",type:n.U.stringArray},E["processnode/logic/subprocess/output-var-key"]={name:"outputVarKeys",type:n.U.stringArray},E["processnode/logic/subprocess/output-subvar-key"]={name:"outputSubVarKeys",type:n.U.stringArray},E["processnode/logic/subprocess/output-var-scope"]={name:"outputVarScope",type:n.U.string},E["processnode/logic/subprocess/timeout"]={name:"timeoutMs",type:n.U.number},E["processnode/logic/subprocess/wait-for-process-complete"]={name:"waitForProcessComplete",type:n.U.boolean};const y=(0,a.cloneDeep)(O),I=(0,a.cloneDeep)(O);I["processnode/data/update-eno/object"]={name:"updateEnoObject",type:n.U.string},I["processnode/data/update-eno/fields"]={name:"updateEnoFields",type:n.U.stringArray},I["processnode/data/update-eno/values"]={name:"updateEnoValues",type:n.U.formulaArray},I["processnode/data/update-eno/branch-src"]={name:"updateEnoBranchSrc",type:n.U.string},I["processnode/data/update-eno/branch-dest"]={name:"updateEnoBranchDest",type:n.U.string},I["processnode/data/update-eno/lang"]={name:"updateEnoLang",type:n.U.string},I["processnode/data/update-eno/security"]={name:"updateEnoSecurity",type:n.U.string};const b=(0,a.cloneDeep)(O);b["processnode/data/delete/tip"]={name:"deleteTip",type:n.U.stringArray},b["processnode/data/delete/srcbranch"]={name:"deleteSrcBranch",type:n.U.string},b["processnode/data/delete/destbranch"]={name:"deleteDestBranch",type:n.U.string},b["processnode/data/delete/security"]={name:"deleteSecurity",type:n.U.string};const L=(0,a.cloneDeep)(O);L["processnode/data/create/type"]={name:"createType",type:n.U.string},L["processnode/data/create/security"]={name:"createSecurity",type:n.U.string},L["processnode/data/create/branch"]={name:"createBranch",type:n.U.string},L["processnode/data/create/fields"]={name:"createFields",type:n.U.stringArray},L["processnode/data/create/data"]={name:"createData",type:n.U.stringArray},L["processnode/data/create/datacount"]={name:"createDataCount",type:n.U.stringArray},L["processnode/data/create/lang"]={name:"createLang",type:n.U.string},L["processnode/data/create/tip-var-key"]={name:"createTipVarKey",type:n.U.string},L["processnode/data/create/tip-var-scope"]={name:"createTipVarScope",type:n.U.string};const o=(0,a.cloneDeep)(O);o["processnode/data/duplicate/tip"]={name:"duplicateTip",type:n.U.stringArray},o["processnode/data/duplicate/fields"]={name:"duplicateFields",type:n.U.stringArray},o["processnode/data/duplicate/source-branch"]={name:"duplicateSourceBranch",type:n.U.string},o["processnode/data/duplicate/dest-branch"]={name:"duplicateDestBranch",type:n.U.string},o["processnode/data/duplicate/tip-var"]={name:"duplicateTipVar",type:n.U.string},o["processnode/data/duplicate/tip-var-scope"]={name:"duplicateTipVarScope",type:n.U.string},o["processnode/data/duplicate/duplicate-backward-refs"]={name:"duplicateBackwardRefs",type:n.U.boolean};const C=(0,a.cloneDeep)(O);C["processnode/reference/setvar/scope"]={name:"setVarScope",type:n.U.string},C["processnode/reference/setvar/key"]={name:"setVarKey",type:n.U.stringArray},C["processnode/reference/setvar/value"]={name:"setVarValue",type:n.U.formulaArray};const w=(0,a.cloneDeep)(O);C["processnode/logic/switch/expr"]={name:"switchExpr",type:n.U.string},C["processnode/logic/switch/default"]={name:"switchDefault",type:n.U.string},C["processnode/logic/switch/cases"]={name:"switchCases",type:n.U.stringArray};const M=(0,a.cloneDeep)(O);M["processnode/logic/foreach:source"]={name:"source",type:n.U.formula},M["processnode/logic/foreach:current"]={name:"currentElement",type:n.U.string},M["processnode/logic/foreach:index"]={name:"currentIndex",type:n.U.string},M["processnode/logic/foreach:stack"]={name:"stack",type:n.U.string};const q={"processnode/connection":{name:"connections",type:n.U.objectArray,mutable:!0,scheme:T},...O,...D,...y,...w,...E,...I,...L,...b,...o,...C,...M};T["processconnection/tonode"]={name:"toNodes",type:n.U.objectArray,mutable:!0,scheme:q,circularPlaceholder:{$type:"processnode/no-op"}},O["processnode/connection"]={name:"connections",type:n.U.objectArray,mutable:!0,scheme:T};const z={"process/title":{type:n.U.i18n},"process/description":{type:n.U.i18n},"process/node":{name:"nodes",type:n.U.objectArray,mutable:!0,scheme:q},"process/grants":{type:n.U.string},"process/env":{type:n.U.string},"process/required-vars":{type:n.U.stringArray},"process/required-description":{name:"requiredVarsDescription",type:n.U.stringArray},"process/optional-vars":{type:n.U.stringArray},"process/optional-description":{name:"optionalVarsDescription",type:n.U.stringArray},"process/reference":{type:n.U.json}}},61339:(at,N,s)=>{"use strict";s.d(N,{F:()=>a});var n=s(48636);const a={"app/profile:name":{type:n.U.i18n},"app/profile:key":{},"app/profile:description":{type:n.U.i18n},"app/profile:main-menus":{type:n.U.jsonArray},"app/profile:universal-buttons":{type:n.U.jsonArray},"app/profile:create-menus":{type:n.U.jsonArray},"app/profile:object-type-settings":{type:n.U.jsonArray},"app/profile:default-policy":{type:n.U.string},"app/profile:user-type":{type:n.U.string},"app/profile:deps":{type:n.U.stringArray},"app/profile:solution":{type:n.U.stringArray}}},68302:(at,N,s)=>{"use strict";s.d(N,{Wt:()=>I,c5:()=>E,qQ:()=>L});var n=s(67376),g=s(48636),m=s(76194);const E={"query/name":{type:g.U.i18n},"query/attributes":{type:g.U.objectArray,mutable:!0,scheme:{"query/attribute/label":{type:g.U.i18n},"query/attribute/formula":{}}},"query/filters":{type:g.U.objectArray,mutable:!0,scheme:{"query/filter/label":{type:g.U.i18n},"query/filter/formula":{}}},"query/dimensions":{type:g.U.objectArray,mutable:!0,scheme:{"query/dimension/label":{type:g.U.i18n},"query/dimension/formula":{}}},"query/tag":{type:g.U.stringArray}};var I=function(o){return o.EQUALS="Equals",o.NOT_EQUALS="Not equals",o.STARTS_WITH="Starts with",o.NOT_STARTS_WITH="Doesn't start with",o.ENDS_WITH="Ends with",o.NOT_ENDS_WITH="Doesn't end with",o.CONTAINS="Contains",o.NOT_CONTAINS="Doesn't contain",o.CONTAINS_ALL="Contains all",o.NOT_CONTAINS_ALL="Doesn't contain all",o.CONTAINS_ANY="Contains any",o.NOT_CONTAINS_ANY="Doesn't contain any",o.IS_EMPTY="Is empty",o.NOT_IS_EMPTY="Is not empty",o.IN="In",o.NOT_IN="Not in",o.LESS_THAN="Less than",o.GREATER_THAN="Greater than",o.LESS_THAN_EQUAL_TO="Less than or equal to",o.GREATER_THAN_EQUAL_TO="Greater than or equal to",o.INTERSECTS_WITH="Intersects with",o.NOT_INTERSECTS_WITH="Not intersects with",o.IS_OF_TYPE="Is of type",o.NOT_IS_OF_TYPE="Is not of type",o.WITHIN="Within",o.NOT_WITHIN="Not within",o.ASSIGNED_TO="Is assigned to",o.NOT_ASSIGNED_TO="Is not assigned to",o.CONTACT_IN_GROUP="In a group",o.CONTACT_NOT_IN_GROUP="Not in group",o}(I||{});const b={[m.HT.geography]:{[I.INTERSECTS_WITH]:"openGeographyValueForm",[I.NOT_INTERSECTS_WITH]:"openGeographyValueForm","*":"openGeographyValueForm"},[m.HT.object]:{"app/person":{[I.EQUALS]:"someFunction"},"app/personnel":{"*":"openAssignmentValueForm"},"app/assignment":{"*":"openAssignmentValueForm"},type:{"*":"openTypeValueForm"},"*":{[I.IS_OF_TYPE]:"openTypeValueForm",[I.NOT_IS_OF_TYPE]:"openTypeValueForm"}},__listItem__:"openListItemValueForm",__whitelist__:"openWhitelistValueForm",__hierarchicalObject__:"openHierarchicalObjectForm",__contactContainerObject__:"openContactInGroupValueForm",__openCustomUIObjectChooser__:"openCustomUIObjectChooser","*":"openGenericEnterValueForm"};function L(o){return o.isListItem?b.__listItem__:o.whitelist&&o.whitelist.length?b.__whitelist__:!("app/super-type/contact"===o.typeRestrict||o.implements&&-1!==o.implements.indexOf("app/super-type/contact"))||o.operator!==I.CONTACT_IN_GROUP&&o.operator!==I.CONTACT_NOT_IN_GROUP?o.isHierarchical&&o.operator!==I.IS_OF_TYPE&&o.operator!==I.NOT_IS_OF_TYPE?b.__hierarchicalObject__:"app/plan-category"===o.typeRestrict||"app/message-label"===o.typeRestrict?b.__openCustomUIObjectChooser__:(0,n.get)(b,`${o.fieldType}['${o.typeRestrict}']['${o.operator}']`,(0,n.get)(b,`${o.fieldType}['${o.typeRestrict}']['*']`,(0,n.get)(b,`${o.fieldType}['*']['${o.operator}']`,(0,n.get)(b,`${o.fieldType}['*']['*']`,(0,n.get)(b,`${o.fieldType}['${o.operator}']`,"object"===o.fieldType?b["*"]:(0,n.get)(b,`${o.fieldType}['*']`,b["*"])))))):b.__contactContainerObject__}},6425:(at,N,s)=>{"use strict";s.d(N,{M:()=>a});var n=s(48636);const a={"app/risk-matrix:title":{type:n.U.i18n},"app/risk-matrix:object-type":{type:n.U.string},"app/risk-matrix:filter":{type:n.U.string},"app/risk-matrix:x-axis":{type:n.U.string},"app/risk-matrix:y-axis":{type:n.U.string},"app/risk-matrix:score":{type:n.U.string},"app/risk-matrix:is-score-based":{type:n.U.boolean},"app/risk-matrix:cell-settings":{type:n.U.jsonArray}}},37600:(at,N,s)=>{"use strict";s.d(N,{Vr:()=>n,g1:()=>a,ro:()=>g});var n=function(m){return m.ANY_DATE="any_date",m.CREATED_ON="created_on",m.LAST_MODIFIED_ON="last_modified_on",m}(n||{}),a=function(m){return m.ANY_DATE="any_date",m.LAST_WEEK="last_week",m.LAST_MONTH="last_month",m.CUSTOM_RANGE="custom_range",m}(a||{});const g="YYYY-MM-DD"},38045:(at,N,s)=>{"use strict";s.d(N,{J:()=>g});var n=s(48636);const a={"app/sequence/substitution:key":{},"app/sequence/substitution:label":{},"app/sequence/substitution:value":{type:n.U.formula}},g={"app/sequence:name":{type:n.U.i18n},"app/sequence:object-type":{type:n.U.string},"app/sequence:number-of-digits":{type:n.U.number},"app/sequence:label":{type:n.U.string},"app/sequence:label-substitutions":{type:n.U.objectArray,mutable:!0,scheme:a},"app/sequence:key":{type:n.U.string},"app/sequence:key-substitutions":{type:n.U.objectArray,mutable:!0,scheme:a}}},50793:(at,N,s)=>{"use strict";s.d(N,{TW:()=>m,W5:()=>g,gR:()=>a});var n=s(48636),a=function(T){return T.EVERYDAY="everyDay",T.FIRST_DAY_OF_THE_MONTH="firstDayOfTheMonth",T}(a||{}),g=function(T){return T[T.SUNDAY=0]="SUNDAY",T[T.MONDAY=1]="MONDAY",T[T.TUESDAY=2]="TUESDAY",T[T.WEDNESDAY=3]="WEDNESDAY",T[T.THURSDAY=4]="THURSDAY",T[T.FRIDAY=5]="FRIDAY",T[T.SATURDAY=6]="SATURDAY",T}(g||{});const m={"app/shift-pattern:label":{type:n.U.i18n},"app/shift-pattern:cron":{},"app/shift-pattern:source":{type:n.U.json},"app/shift-pattern:shift-duration-months":{type:n.U.number},"app/shift-pattern:shift-duration-days":{type:n.U.number},"app/shift-pattern:shift-duration-hours":{type:n.U.number},"app/shift-pattern:shift-duration-minutes":{type:n.U.number}}},3810:(at,N,s)=>{"use strict";s.d(N,{$:()=>a,f:()=>g});var n=s(48636),a=function(m){return m.DRAFT="Draft",m.AVAILABLE="Available",m.REQUESTED="Requested",m.CONFIRMED="Confirmed",m.CANCELLED="Cancelled",m}(a||{});const g={"app/shift:role":{},"app/shift:start":{type:n.U.datetime},"app/shift:end":{type:n.U.datetime},"app/shift:contact":{},"app/shift:status":{},"app/shift:code":{},"app/shift:type":{},"app/shift:shift-series":{}}},83855:(at,N,s)=>{"use strict";s.d(N,{Pg:()=>I,Pn:()=>m,VS:()=>y,cb:()=>O,g$:()=>L,iS:()=>E,yP:()=>a});var n=s(48636),a=function(o){return o.NEW="new",o.REPLY="reply",o.FORWARD="forward",o.WORKFLOW="workflow",o.RESEND="resend",o}(a||{}),m=function(o){return o.DRAFT="draft",o.SENT="sent",o}(m||{});const T={"app/sms/substitution:key":{},"app/sms/substitution:label":{},"app/sms/substitution:value":{type:n.U.formula}},O={"app/sms/addhoc-number:label":{},"app/sms/addhoc-number:number":{}},E={"app/sms/outbound-source:to":{type:n.U.stringArray},"app/sms/outbound-source:to-number-formula":{type:n.U.formula},"app/sms/outbound-source:sender-id":{},"app/sms/outbound-source:context":{},"app/sms/outbound-source:context-formula":{type:n.U.formula},"app/sms/outbound-source:context-formula-meta":{},"app/sms/outbound-source:subject":{},"app/sms/outbound-source:body":{},"app/sms/outbound-source:status":{},"app/sms/outbound-source:billing-code":{},"app/sms/outbound-source:message-substitutions":{type:n.U.objectArray,mutable:!0,scheme:T},"app/sms/outbound-source:recipient-substitution-formulas":{type:n.U.stringArray},"app/sms/outbound-source:draft-saved-datetime":{type:n.U.datetime},"app/sms/outbound-source:template":{},"app/sms/outbound-source:related-objects":{},"app/sms/outbound-source:ack-type":{},"app/sms/outbound-source:response-timeout":{type:n.U.number},"app/sms/outbound-source:each-responder-workflow":{},"app/sms/outbound-source:responder-workflow-input-output-maps":{type:n.U.json},"app/sms/outbound-source:responder-workflow-var-key-values":{type:n.U.formula},"app/sms/outbound-source:first-response":{},"app/sms/outbound-source:first-responder-variable-key":{},"app/sms/outbound-source:answer-variable-key":{},"app/sms/outbound-source:message-labels":{type:n.U.stringArray}},y={"app/sms/outbound:sms-source":{type:n.U.object,scheme:E},"app/sms/outbound:sent-source":{type:n.U.object,scheme:E},"app/sms/outbound:to":{type:n.U.stringArray},"app/sms/outbound:status":{},"app/sms/outbound:status-message":{},"app/sms/outbound:from-name":{},"app/sms/outbound:sender-id":{},"app/sms/outbound:sent-datetime":{type:n.U.datetime},"app/sms/outbound:first-responder":{},"app/sms/outbound:all-responded":{type:n.U.boolean}},I={"app/sms/outbound-template:name":{},"app/sms/outbound-template:context-type":{},"app/sms/outbound-template:to":{type:n.U.stringArray},"app/sms/outbound-template:sender-id":{},"app/sms/outbound-template:subject":{},"app/sms/outbound-template:body":{},"app/sms/outbound-template:billing-code":{},"app/sms/outbound-template:message-substitutions":{type:n.U.objectArray,mutable:!0,scheme:T},"app/sms/outbound-template:recipient-substitution-formulas":{type:n.U.stringArray},"app/sms/outbound-template:deps":{type:n.U.stringArray}},b={"app/sms/number-info:name":{},"app/sms/number-info:number":{}},L={"app/sms/inbound:to":{type:n.U.objectArray,scheme:b},"app/sms/inbound:from":{type:n.U.object,scheme:b},"app/sms/inbound:subject":{},"app/sms/inbound:sent-datetime":{type:n.U.datetime},"app/sms/inbound:body":{},"app/sms/inbound:original":{type:n.U.json},"app/sms/inbound:processed-state":{},"app/sms/inbound:read-state":{type:n.U.boolean},"app/sms/inbound:related-objects":{},"app/sms/inbound:message-labels":{type:n.U.stringArray}}},16995:(at,N,s)=>{"use strict";s.d(N,{h:()=>a});var n=s(48636);const a={"app/solution:name":{type:n.U.i18n},"app/solution:color":{type:n.U.i18n},"app/solution:description":{type:n.U.string}}},41793:(at,N,s)=>{"use strict";s.d(N,{l:()=>g});var n=s(48636),a=s(76194);const g={"super-type:label":{type:n.U.i18n},"super-type:description":{type:n.U.i18n},"super-type:title":{type:n.U.i18n},"super-type:summary":{type:n.U.i18n},"super-type:field":{type:n.U.objectArray,mutable:!0,scheme:a.cF}}},87971:(at,N,s)=>{"use strict";s.d(N,{PG:()=>D,Tr:()=>g,en:()=>y,iD:()=>E,lt:()=>a,mw:()=>O,x_:()=>m});var n=s(48636);const a="app/system-settings/mapping",g="app/map/default-map",m="app/map/default-extent",O={"app/system-settings/mapping-type:system":{type:n.U.string},"app/system-settings/mapping-type:use-default-geocoder":{type:n.U.boolean}},D="app/location-tracking-settings",E=`${D}/default`,y={"app/location-tracking-settings:enabled":{type:n.U.boolean}}},64385:(at,N,s)=>{"use strict";s.d(N,{Bf:()=>D,Dc:()=>g,Lw:()=>O,Vl:()=>m,rW:()=>T});var n=s(48636),a=s(16976);const g={"app/team-role:name":{},"app/team-role:description":{},"app/team-role:users":{type:n.U.objectArray,scheme:a.TA}},m={"app/team-role:name":{},"app/team-role:description":{},"app/team-role:users":{type:n.U.stringArray}},T={"app/team:name":{},"app/team:description":{},"app/team:status":{},"app/team:roles":{type:n.U.objectArray,scheme:g}},O={"app/team:name":{},"app/team:description":{},"app/team:status":{},"app/team:roles":{type:n.U.stringArray}},D={"app/team:name":{},"app/team:description":{},"app/team:status":{},"app/team:roles":{type:n.U.objectArray,scheme:m}}},93760:(at,N,s)=>{"use strict";s.d(N,{m:()=>m});var n=s(48636),a=s(76194),g=s(41793);const m={"type/label":{type:n.U.i18n},"type/name":{type:n.U.string},"type/description":{type:n.U.i18n},"type/title":{type:n.U.i18n},"type/summary":{type:n.U.i18n},"type/audit-log":{type:n.U.boolean},"type/audit-log-view":{type:n.U.boolean},"type/field":{type:n.U.objectArray,mutable:!0,scheme:a.cF},"type/implements":{name:"supertypes",type:n.U.objectArray,scheme:g.l},"type/searchable-metafield":{type:n.U.stringArray}}},16976:(at,N,s)=>{"use strict";s.d(N,{tG:()=>m,TA:()=>T,Rg:()=>D});var n=s(48636);s(61339);const g={"app/super-type/contact:avatar":{name:"avatarTip",type:n.U.string},"app/super-type/contact:email":{type:n.U.email},"app/super-type/contact:phone":{type:n.U.phone},"app/super-type/contact:address":{type:n.U.string},"app/super-type/contact:org-structure":{name:"orgStructureTip",type:n.U.stringArray}},m={"app/user:email":{},"app/user:status":{},"app/user:person":{},"app/user:profiles":{type:n.U.stringArray},"app/user:identity-provider":{type:n.U.string},"app/user:locale-id":{},"app/user:new-email":{},"app/user:idp-name-id":{}},T={...m,"app/user:person":{type:n.U.object,scheme:g}},D={"app/user:email":{},"app/user:status":{},"app/user:person":{type:n.U.string},"app/user:locale-id":{},"app/user:idp-name-id":{}}},93862:(at,N,s)=>{"use strict";s.d(N,{Ee:()=>m,XO:()=>O,bm:()=>I,hC:()=>b,x9:()=>a,yF:()=>y});var n=s(48636),a=function(L){return L.NEW="new",L.REPLY="reply",L.FORWARD="forward",L.WORKFLOW="workflow",L.RESEND="resend",L}(a||{}),m=function(L){return L.DRAFT="draft",L.SENT="sent",L}(m||{});const T={"app/voice-message/substitution:key":{},"app/voice-message/substitution:label":{},"app/voice-message/substitution:value":{type:n.U.formula}},O={"app/voice-message/addhoc-number:label":{},"app/voice-message/addhoc-number:number":{}},y={"app/voice-message/outbound-source:to":{type:n.U.stringArray},"app/voice-message/outbound-source:to-number-formula":{type:n.U.formula},"app/voice-message/outbound-source:from-number":{},"app/voice-message/outbound-source:context":{},"app/voice-message/outbound-source:context-formula":{type:n.U.formula},"app/voice-message/outbound-source:context-formula-meta":{},"app/voice-message/outbound-source:language":{},"app/voice-message/outbound-source:body":{},"app/voice-message/outbound-source:message-substitutions":{type:n.U.objectArray,mutable:!0,scheme:T},"app/voice-message/outbound-source:billing-code":{},"app/voice-message/outbound-source:status":{},"app/voice-message/outbound-source:draft-saved-datetime":{type:n.U.datetime},"app/voice-message/outbound-source:template":{},"app/voice-message/outbound-source:related-objects":{},"app/voice-message/outbound-source:audible-responses":{type:n.U.jsonArray},"app/voice-message/outbound-source:ack-type":{},"app/voice-message/outbound-source:response-timeout":{type:n.U.number},"app/voice-message/outbound-source:each-responder-workflow":{},"app/voice-message/outbound-source:responder-workflow-input-output-maps":{type:n.U.json},"app/voice-message/outbound-source:responder-workflow-var-key-values":{type:n.U.formula},"app/voice-message/outbound-source:first-response":{},"app/voice-message/outbound-source:first-responder-variable-key":{},"app/voice-message/outbound-source:answer-variable-key":{},"app/voice-message/outbound-source:message-labels":{type:n.U.stringArray}},I={"app/voice-message/outbound:voice-message-source":{type:n.U.object,scheme:y},"app/voice-message/outbound:sent-source":{type:n.U.object,scheme:y},"app/voice-message/outbound:to":{type:n.U.stringArray},"app/voice-message/outbound:status":{},"app/voice-message/outbound:status-message":{},"app/voice-message/outbound:from-name":{},"app/voice-message/outbound:from-number":{},"app/voice-message/outbound:sent-datetime":{type:n.U.datetime},"app/voice-message/outbound:audible-responses":{type:n.U.jsonArray},"app/voice-message/outbound:first-responder":{},"app/voice-message/outbound:all-responded":{type:n.U.boolean}},b={"app/voice-message/outbound-template:name":{},"app/voice-message/outbound-template:context-type":{},"app/voice-message/outbound-template:to":{type:n.U.stringArray},"app/voice-message/outbound-template:from-number":{},"app/voice-message/outbound-template:language":{},"app/voice-message/outbound-template:body":{},"app/voice-message/outbound-template:audible-responses":{type:n.U.jsonArray},"app/voice-message/outbound-template:billing-code":{},"app/voice-message/outbound-template:message-substitutions":{type:n.U.objectArray,mutable:!0,scheme:T},"app/voice-message/outbound-template:deps":{type:n.U.stringArray}}},92216:(at,N,s)=>{"use strict";s.d(N,{u:()=>g,v:()=>m});var n=s(97586),a=s.n(n),g=function(T){return T.TIMESTAMP="timestamp",T}(g||{});function m(T=1){return{from:a()().subtract(T,"day").toISOString(),to:void 0}}},64250:(at,N,s)=>{"use strict";s.d(N,{PD:()=>m,Qe:()=>T,wU:()=>O});var n=s(48636),a=s(10195),g=s(13274);const m={"app/workflow-panel:name":{type:n.U.i18n},"app/workflow-panel:description":{type:n.U.i18n},"app/workflow-panel:global":{type:n.U.boolean},"app/workflow-panel:object-type":{type:n.U.object,scheme:a.V},"app/workflow-panel:steps":{type:n.U.objectArray,mutable:!0,scheme:g.F}},T={"app/workflow-panel:name":{type:n.U.i18n},"app/workflow-panel:description":{type:n.U.i18n},"app/workflow-panel:global":{type:n.U.boolean},"app/workflow-panel:object-type":{},"app/workflow-panel:steps":{type:n.U.stringArray}},O={"app/workflow-panel:name":{type:n.U.i18n},"app/workflow-panel:description":{type:n.U.i18n},"app/workflow-panel:dashboard-title":{type:n.U.i18n},"app/workflow-panel:global":{type:n.U.boolean},"app/workflow-panel:object-type":{},"app/workflow-panel:steps":{type:n.U.objectArray,mutable:!0,scheme:g.F}}},67492:(at,N,s)=>{"use strict";s.d(N,{J:()=>a});const a={"app/workflow-runtime:workflow":{},"app/workflow-runtime:ux":{type:s(48636).U.jsonArray},"app/workflow-runtime:outcome":{},"app/workflow-runtime:current-object-tip":{}}},46005:(at,N,s)=>{"use strict";s.d(N,{T:()=>T,ju:()=>O,z0:()=>g});var n=s(48636),a=s(91959),g=function(E){return E.INPUT="Input",E.VARIABLE="Variable",E.ACTOR="Actor",E}(g||{});const T={"app/workflow:name":{name:"name",type:n.U.i18n},"app/workflow:description":{name:"description",type:n.U.i18n},"app/workflow:diagramdata":{name:"diagramData",type:n.U.json},"app/workflow:isAdminMode":{name:"isAdminMode",type:n.U.boolean},"app/workflow:nodes":{name:"nodes",type:n.U.jsonArray},"app/workflow:process":{type:n.U.object,mutable:!0,scheme:a.Lj},"app/workflow:inputs":{name:"inputs",type:n.U.jsonArray},"app/workflow:actors":{name:"actors",type:n.U.jsonArray},"app/workflow:variables":{name:"variables",type:n.U.jsonArray},"app/workflow:deps":{name:"deps",type:n.U.stringArray},"app/workflow:profile-restriction-tips":{name:"profileRestrictionTips",type:n.U.stringArray}},O={"app/workflow:name":{name:"name",type:n.U.i18n},"app/workflow:description":{name:"description",type:n.U.i18n},"app/workflow:diagramdata":{name:"diagramData",type:n.U.json},"app/workflow:isAdminMode":{name:"isAdminMode",type:n.U.boolean},"app/workflow:nodes":{name:"nodes",type:n.U.jsonArray},"app/workflow:process":{type:n.U.string},"app/workflow:inputs":{name:"inputs",type:n.U.jsonArray},"app/workflow:actors":{name:"actors",type:n.U.jsonArray},"app/workflow:variables":{name:"variables",type:n.U.jsonArray},"app/workflow:deps":{name:"deps",type:n.U.stringArray},"app/workflow:profile-restriction-tips":{name:"profileRestrictionTips",type:n.U.stringArray}}},28654:(at,N,s)=>{"use strict";s.d(N,{l:()=>T});var n=s(8772),a=s(93953),g=s(50337),m=s(89417);let T=(()=>{class O extends n.i{constructor(E,y){super(),this.sideSheetService=E,this.fb=y,this.formulaForm=this.fb.group({customFormulaStr:[""]})}setProps(E){this.formulaForm.patchValue({customFormulaStr:E})}onPrimary(){this.done$.next(this.formulaForm.value.customFormulaStr),this.sideSheetService.pop()}static#e=this.\u0275fac=function(y){return new(y||O)(a.rXU(g.E),a.rXU(m.ok))};static#t=this.\u0275cmp=a.VBU({type:O,selectors:[["app-custom-formula-side-sheet"]],features:[a.Vt3],decls:5,vars:1,consts:[["action","Save",3,"actioned"],[3,"formGroup"],[1,"modal-body"],["label","Formula","placeholder","Enter formula here...","height","500px","formControlName","customFormulaStr"]],template:function(y,I){1&y&&(a.j41(0,"app-side-sheet-header",0),a.bIt("actioned",function(){return I.onPrimary()}),a.EFF(1,"Custom Formula"),a.k0s(),a.j41(2,"form",1)(3,"div",2),a.nrm(4,"app-custom-formula-input",3),a.k0s()()),2&y&&(a.R7$(2),a.Y8G("formGroup",I.formulaForm))},changeDetection:0})}return O})()},14554:(at,N,s)=>{"use strict";s.d(N,{w:()=>Vt,n:()=>Lt});var n=s(67376),a=s(21413),g=s(56977),m=s(76194),T=s(93760),O=s(2937),D=s(95354),E=s(81878),y=s(5002),I=s(41538),b=s(20857),L=s(28654),o=s(9975),C=s(96354),w=s(55516),M=s(93953),q=s(51229);let z=(()=>{class ht{constructor(Ge){this.queryService=Ge,this.objectTypes=[],this.commonFields=[],this.allFields=[],this.commonObjectFields=[],this.objectTypesWithAdditionalFields=[]}getSuperTypeFields(Ge){return this.queryService.execute1dArray(w.R.GET_ALL_OBJECTS_TYPE_FIELDS_FOR_SUPER_TYPE,{vars:{superTypeTip:[Ge]}}).pipe((0,C.T)(Se=>{this.allFields=[],this.objectTypes=Se.map(ke=>this.getObjectTypeWithFields(ke)),this.populateCommonAndAdditionalFields()}))}getObjectTypeWithFields(Ge){const ke=Ge["field keys"],Ne=Ge["field labels"],Je=Ge["field datatypes"],Qe=Ge["field typerestrict"],rt=Ge["field tag"],ft=Ge["field type georestricts"];return{field:Ge.field.map((It,In)=>{const Kt={$tip:It,name:ke[In],label:Ne[In],datatype:Je[In],tag:rt[In]?JSON.parse(rt[In]).filter(Ze=>!!Ze&&!Ze.startsWith("defaultValue--")):[],isSuperTypeField:"super-type"===(0,n.head)(Ge.$type),typeGeoRestrict:ft[In]};return Qe[In]&&(Kt.typerestrict=[Qe[In]]),this.allFields.find(Ze=>Ze.$tip===It)||this.allFields.push(Kt),Kt}),$tip:(0,n.head)(Ge.$tip),$type:(0,n.head)(Ge.$type),label:(0,n.head)(Ge.label),moduleName:(0,n.head)(Ge.module)}}populateCommonAndAdditionalFields(){const Ge=this.objectTypes.filter(Se=>"super-type"!==Se.$type);this.objectTypesWithAdditionalFields=Ge.map(Se=>({...Se,field:[]})),this.commonFields=[],this.commonObjectFields=[],this.allFields.forEach(Se=>{if(this.isCommonField(Se,Ge))Se.datatype!==m.HT.object||this.commonObjectFields.find(ke=>ke.name===Se.name)?this.commonFields.find(ke=>ke.name===Se.name)||this.commonFields.push(Se):this.commonObjectFields.push(Se);else{const ke=Ge.find(Ne=>!!Ne.field.find(Je=>Je.$tip===Se.$tip));if(ke){const Ne=this.objectTypesWithAdditionalFields.find(Je=>Je.$tip===ke.$tip);Ne&&Ne.field.push(Se)}}})}isCommonField(Ge,Se){return!!Ge.isSuperTypeField||!!(Ge.name&&Se&&Se.length)&&Se.filter(Ne=>Ne.field.some(Je=>Je.name===Ge.name&&Je.datatype===Ge.datatype)).length>1}static#e=this.\u0275fac=function(Se){return new(Se||ht)(M.KVO(q.c))};static#t=this.\u0275prov=M.jDH({token:ht,factory:ht.\u0275fac})}return ht})();var F=s(92597),U=s(71450),k=s(44667),Y=s(50337),x=s(19937),B=s(97206);function j(ht,gt){if(1&ht){const Ge=M.RV6();M.j41(0,"app-side-sheet-header",10),M.bIt("actioned",function(){M.eBV(Ge);const ke=M.XpG();return M.Njj(ke.onPrimary())}),M.EFF(1),M.k0s()}if(2&ht){const Ge=M.XpG();M.Y8G("disabled",!(Ge.objectType||null!=Ge.fieldFormulaSideSheetService&&null!=Ge.fieldFormulaSideSheetService.objectTypes&&Ge.fieldFormulaSideSheetService.objectTypes.length)),M.R7$(),M.JRh(Ge.title)}}function $(ht,gt){if(1&ht){const Ge=M.RV6();M.j41(0,"app-side-sheet-header",11),M.bIt("actioned",function(){M.eBV(Ge);const ke=M.XpG();return M.Njj(ke.onPrimary())}),M.pXf(1,1),M.k0s()}if(2&ht){const Ge=M.XpG();M.Y8G("disabled",!(Ge.objectType||null!=Ge.fieldFormulaSideSheetService&&null!=Ge.fieldFormulaSideSheetService.objectTypes&&Ge.fieldFormulaSideSheetService.objectTypes.length))}}function H(ht,gt){if(1&ht){const Ge=M.RV6();M.j41(0,"app-side-sheet-section",12)(1,"app-side-sheet-list-item",13),M.bIt("toggle",function(){M.eBV(Ge);const ke=M.XpG();return M.Njj(ke.toggleSelected(ke.realtimeLocationFormula))}),M.pXf(2,2),M.k0s()()}if(2&ht){const Ge=M.XpG();M.R7$(),M.Y8G("toggleType",Ge.realtimeLocationToggleType)("value",Ge.isSelected(Ge.realtimeLocationFormula))}}function ie(ht,gt){if(1&ht){const Ge=M.RV6();M.j41(0,"app-side-sheet-list-item",20),M.bIt("toggle",function(ke){M.eBV(Ge);const Ne=M.XpG(4);return M.Njj(Ne.toggleSelected(ke))}),M.EFF(1),M.k0s()}if(2&ht){const Ge=M.XpG().$implicit,Se=M.XpG(3);M.Y8G("value",Se.isSelected(Se.fieldFormula(Ge.$tip)))("key",Se.fieldFormula(Ge.$tip))("toggleType",1===Se.maxSelect?"single-check":"multi-check"),M.R7$(),M.JRh(Ge.label)}}function ne(ht,gt){if(1&ht){const Ge=M.RV6();M.j41(0,"app-side-sheet-list-item",20),M.bIt("toggle",function(ke){M.eBV(Ge);const Ne=M.XpG(4);return M.Njj(Ne.toggleSelected(ke))}),M.EFF(1),M.k0s()}if(2&ht){const Ge=M.XpG().$implicit,Se=M.XpG(3);M.Y8G("value",Se.isSelected(Se.commonFieldFormula(Ge)))("key",Se.commonFieldFormula(Ge))("toggleType",1===Se.maxSelect?"single-check":"multi-check"),M.R7$(),M.JRh(Ge.label)}}function Q(ht,gt){if(1&ht&&(M.qex(0),M.DNE(1,ie,2,4,"app-side-sheet-list-item",19)(2,ne,2,4,"app-side-sheet-list-item",19),M.bVm()),2&ht){const Ge=gt.$implicit;M.R7$(),M.Y8G("ngIf",Ge.isSuperTypeField),M.R7$(),M.Y8G("ngIf",!Ge.isSuperTypeField)}}function le(ht,gt){if(1&ht&&(M.j41(0,"app-side-sheet-section",17),M.DNE(1,Q,3,2,"ng-container",18),M.k0s()),2&ht){const Ge=M.XpG(2);M.Y8G("showBorder",!1),M.R7$(),M.Y8G("ngForOf",Ge.superTypeCommonFields)}}function pe(ht,gt){if(1&ht){const Ge=M.RV6();M.qex(0),M.j41(1,"app-side-sheet-list-item",22),M.bIt("click",function(){const ke=M.eBV(Ge).$implicit,Ne=M.XpG(3);return M.Njj(Ne.openRelatedFieldSheet(ke,!0))}),M.EFF(2),M.k0s(),M.bVm()}if(2&ht){const Ge=gt.$implicit,Se=M.XpG(3);M.R7$(),M.Y8G("value",Se.baseSelectedCount(Ge.$tip)),M.R7$(),M.JRh(Ge.label)}}function te(ht,gt){if(1&ht&&(M.j41(0,"app-side-sheet-section",21),M.DNE(1,pe,3,2,"ng-container",18),M.k0s()),2&ht){const Ge=M.XpG(2);M.R7$(),M.Y8G("ngForOf",Ge.superTypeCommonObjectFields)}}function ae(ht,gt){if(1&ht){const Ge=M.RV6();M.j41(0,"app-side-sheet-list-item",22),M.bIt("click",function(){M.eBV(Ge);const ke=M.XpG().$implicit,Ne=M.XpG(3);return M.Njj(Ne.openAdditionalFieldSheet(ke))}),M.EFF(1),M.k0s()}if(2&ht){const Ge=M.XpG().$implicit,Se=M.XpG(3);M.Y8G("value",Se.selectedCountForObjType(Ge)),M.R7$(),M.SpI("",Ge.label," ")}}function K(ht,gt){if(1&ht&&(M.qex(0),M.DNE(1,ae,2,2,"app-side-sheet-list-item",24),M.bVm()),2&ht){const Ge=gt.$implicit;M.R7$(),M.Y8G("ngIf",null==Ge?null:Ge.field.length)}}function de(ht,gt){if(1&ht&&(M.j41(0,"app-side-sheet-section",23),M.DNE(1,K,2,1,"ng-container",18),M.k0s()),2&ht){const Ge=M.XpG(2);M.Y8G("showBorder",!1),M.R7$(),M.Y8G("ngForOf",Ge.fieldFormulaSideSheetService.objectTypesWithAdditionalFields)}}function Me(ht,gt){if(1&ht&&(M.qex(0),M.DNE(1,le,2,2,"app-side-sheet-section",14)(2,te,2,1,"app-side-sheet-section",15)(3,de,2,2,"app-side-sheet-section",16),M.bVm()),2&ht){const Ge=M.XpG();M.R7$(),M.Y8G("ngIf",(null==Ge.superTypeCommonFields?null:Ge.superTypeCommonFields.length)>0),M.R7$(),M.Y8G("ngIf",(null==Ge.superTypeCommonObjectFields?null:Ge.superTypeCommonObjectFields.length)>0),M.R7$(),M.Y8G("ngIf",Ge.showSuperTypeAdditionalFields)}}function me(ht,gt){if(1&ht){const Ge=M.RV6();M.qex(0),M.j41(1,"app-side-sheet-list-item",20),M.bIt("toggle",function(ke){M.eBV(Ge);const Ne=M.XpG(3);return M.Njj(Ne.toggleSelected(ke))}),M.EFF(2),M.k0s(),M.bVm()}if(2&ht){const Ge=gt.$implicit,Se=M.XpG(3);M.R7$(),M.Y8G("value",Se.isSelected(Se.fieldFormula(Ge.$tip)))("key",Se.fieldFormula(Ge.$tip))("toggleType",1===Se.maxSelect?"single-check":"multi-check"),M.R7$(),M.JRh(Ge.label)}}function be(ht,gt){if(1&ht&&(M.j41(0,"app-side-sheet-section",27),M.DNE(1,me,3,4,"ng-container",18),M.k0s()),2&ht){const Ge=M.XpG(2);M.Y8G("showBorder",!1),M.R7$(),M.Y8G("ngForOf",Ge.fieldItems)}}function Le(ht,gt){if(1&ht){const Ge=M.RV6();M.j41(0,"app-side-sheet-list-item",20),M.bIt("toggle",function(ke){M.eBV(Ge);const Ne=M.XpG(4);return M.Njj(Ne.toggleSelected(ke))}),M.EFF(1),M.k0s()}if(2&ht){const Ge=gt.$implicit,Se=M.XpG(4);M.Y8G("value",Se.isSelected(Se.fieldFormula(Ge.$tip)))("key",Se.fieldFormula(Ge.$tip))("toggleType",1===Se.maxSelect?"single-check":"multi-check"),M.R7$(),M.JRh(Ge.label)}}function Ae(ht,gt){if(1&ht&&(M.qex(0),M.DNE(1,Le,2,4,"app-side-sheet-list-item",29),M.bVm()),2&ht){const Ge=M.XpG(3);M.R7$(),M.Y8G("ngForOf",Ge.relatedItems)}}function Oe(ht,gt){if(1&ht){const Ge=M.RV6();M.j41(0,"app-side-sheet-list-item",22),M.bIt("click",function(){const ke=M.eBV(Ge).$implicit,Ne=M.XpG(4);return M.Njj(Ne.openRelatedFieldSheet(ke))}),M.EFF(1),M.k0s()}if(2&ht){const Ge=gt.$implicit,Se=M.XpG(4);M.Y8G("value",Se.baseSelectedCount(Ge.$tip)),M.R7$(),M.JRh(Ge.label)}}function Xe(ht,gt){if(1&ht&&(M.qex(0),M.DNE(1,Oe,2,2,"app-side-sheet-list-item",30),M.bVm()),2&ht){const Ge=M.XpG(3);M.R7$(),M.Y8G("ngForOf",Ge.relatedItems)}}function Pe(ht,gt){if(1&ht&&(M.j41(0,"app-side-sheet-section",28),M.DNE(1,Ae,2,1,"ng-container",7)(2,Xe,2,1,"ng-container",7),M.k0s()),2&ht){const Ge=M.XpG(2);M.R7$(),M.Y8G("ngIf",Ge.isDetailWidget),M.R7$(),M.Y8G("ngIf",!Ge.isDetailWidget)}}function $e(ht,gt){if(1&ht&&(M.qex(0),M.DNE(1,be,2,2,"app-side-sheet-section",25)(2,Pe,3,2,"app-side-sheet-section",26),M.bVm()),2&ht){const Ge=M.XpG();M.R7$(),M.Y8G("ngIf",(null==Ge.fieldItems?null:Ge.fieldItems.length)>0),M.R7$(),M.Y8G("ngIf",(null==Ge.relatedItems?null:Ge.relatedItems.length)>0)}}function ze(ht,gt){if(1&ht){const Ge=M.RV6();M.qex(0),M.j41(1,"app-side-sheet-list-item",32),M.bIt("toggle",function(ke){const Ne=M.eBV(Ge).$implicit,Je=M.XpG(2);return M.Njj(Je.metaToggle(ke,Ne))}),M.EFF(2),M.k0s(),M.bVm()}if(2&ht){const Ge=gt.$implicit,Se=M.XpG(2);M.R7$(),M.Y8G("toggleType",Se.metaToggleType(Ge))("value",Se.metaSelectedValue(Ge))("key",Se.checkForFormula(Ge)),M.R7$(),M.JRh(Ge.label)}}function Be(ht,gt){if(1&ht&&(M.j41(0,"app-side-sheet-section",31),M.DNE(1,ze,3,4,"ng-container",18),M.k0s()),2&ht){const Ge=M.XpG();M.R7$(),M.Y8G("ngForOf",Ge.metaDataFormulas)}}function Ye(ht,gt){if(1&ht){const Ge=M.RV6();M.j41(0,"app-side-sheet-section",34)(1,"app-side-sheet-list-item",22),M.bIt("click",function(){M.eBV(Ge);const ke=M.XpG(2);return M.Njj(ke.openCustomFormulaSideSheet())}),M.pXf(2,3),M.k0s()()}if(2&ht){const Ge=M.XpG(2);M.R7$(),M.Y8G("value",-1===Ge.customFormulaIndex?0:1)}}function Ct(ht,gt){if(1&ht&&(M.qex(0),M.DNE(1,Ye,3,1,"app-side-sheet-section",33),M.bVm()),2&ht){const Ge=M.XpG();M.R7$(),M.Y8G("ngIf",Ge.allowCustomFormula)}}const Lt="TIP()";let Vt=(()=>{class ht{set dataTypeConstraint(Ge){if((0,n.isEmpty)(Ge))return;if(this.isMultipleConstraint)throw new Error("[FieldFormulaSideSheetComponent]: dataTypeConstraint (single) cannot be used together with dataAndObjectTypeConstraints (multiple)");this.isSingleConstraint=!0;const Se=(0,n.head)(this.actualDataTypeConstraints)||{};Object.assign(Se,m.mm[Ge]),this.actualDataTypeConstraints[0]=Se}getDisplayRealtimeLocationFlag(){return void 0!==this.objectTypeTip&&(this.objectTypeTip===this.SUPERTYPE_CONTACT||!this.objectTypeTip.startsWith(this.OBJECT_SUPERTYPE))&&this.showRealtimeLocation}get dataTypeConstraint(){throw new Error("[FieldFormulaSideSheetComponent]: Please use this.actualDataTypeConstraints instead of this.dataTypeConstraint")}set objectTypeConstraint(Ge){if((0,n.isEmpty)(Ge))return;const Se=(0,n.head)(this.actualDataTypeConstraints)||{};Se.typeRestrict=[Ge],this.actualDataTypeConstraints[0]=Se}get objectTypeConstraint(){throw new Error("[FieldFormulaSideSheetComponent]: Please use this.actualDataTypeConstraints instead of this.objectTypeConstraint")}set dataAndObjectTypeConstraints(Ge){if(!(0,n.isEmpty)(Ge)){if(this.isSingleConstraint)throw new Error("[FieldFormulaSideSheetComponent]: dataAndObjectTypeConstraints (multiple) cannot be used together with dataTypeConstraint (single)");this.isMultipleConstraint=!0,Ge.forEach(Se=>{this.actualDataTypeConstraints.push("string"==typeof Se?m.mm[Se]:Se)})}}get dataAndObjectTypeConstraints(){throw new Error("[FieldFormulaSideSheetComponent]: Please use this.actualDataTypeConstraints instead of this.dataAndObjectTypeConstraints")}constructor(Ge,Se,ke,Ne,Je){this.objectService=Ge,this.sideSheetService=Se,this.toastService=ke,this.fieldFormulaSideSheetService=Ne,this.displayFormulaWrapperService=Je,this.FeatureFlags=y.g,this.realtimeLocationToggleType=O.T.SINGLE_CHECK,this.realtimeLocationFormula=U.l.createPlaceholderFormula({key:U.x.REALTIME_LOCATION,label:"Last real-time location stored, if recent"}),this.OBJECT_SUPERTYPE="app/super-type/",this.SUPERTYPE_CONTACT="app/super-type/contact",this.allowCustomFormula=!1,this.selected=[],this.showRelatedItems=!0,this.showMetaItems=!0,this.showMetaData=!0,this.showRealtimeLocation=!1,this.metaDataKeysToExcluded=[o.Po.urlLink],this.formatsFields=!1,this.isSort=!1,this.searchableFieldsOnly=!1,this.isDetailWidget=!1,this.isRelatedItem=!1,this.maxSelectMessage="",this.actualDataTypeConstraints=[],this.destroy$=new a.B,this.isLastSheet=!0,this.isMultipleConstraint=!1,this.isSingleConstraint=!1,this.isLoading=!0,this.metaDataFormulas=[],this.isSuperType=!1,this.showSuperTypeAdditionalFields=!1,this.superTypeCommonFields=[],this.superTypeCommonObjectFields=[]}ngOnInit(){if(this.selected&&(this.selected=this.displayFormulaWrapperService.removeDisplayFormulaWrappers(this.selected)),this.isSuperType=(0,b.GE)(this.objectTypeTip),this.shouldDisplayRealtimeLocation=this.getDisplayRealtimeLocationFlag(),this.isDetailWidget||this.getDisplayMetaDataFormulas(),this.objectType)return this.getFieldsFromObjectType(),void(this.isLoading=!1);this.isSuperType?this.fieldFormulaSideSheetService.getSuperTypeFields(this.objectTypeTip).pipe((0,g.Q)(this.destroy$)).subscribe(()=>{this.isLoading=!1,this.superTypeCommonFields=this.fieldFormulaSideSheetService.commonFields.filter(Ge=>this.passesActualDataTypeConstraints(Ge)),this.superTypeCommonObjectFields=this.fieldFormulaSideSheetService.commonObjectFields.filter(Ge=>this.passesActualDataTypeConstraints(Ge)),this.showSuperTypeAdditionalFields=!this.isDetailWidget&&!(0,n.isEmpty)(this.fieldFormulaSideSheetService.objectTypesWithAdditionalFields)},Ge=>{this.toastService.showErrorToast("Unable to load related object type fields"),this.sideSheetService.pop()}):this.objectService.getObject(this.objectTypeTip,T.m).pipe((0,g.Q)(this.destroy$)).subscribe(Ge=>{this.objectType=Ge,this.getFieldsFromObjectType(),this.isLoading=!1},Ge=>{this.toastService.showErrorToast("Unable to load object type or access was denied"),this.sideSheetService.pop()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getDisplayMetaDataFormulas(){this.metaDataFormulas=o.ry.filter(Ge=>{if(this.metaDataKeysToExcluded.includes(Ge.key)||this.searchableFieldsOnly&&!Ge.searchable)return!1;if(!(0,n.isEmpty)(this.actualDataTypeConstraints)&&!Ge.hasDrillDown)if(Ge.key===o.Po.thisObject){if(this.isRelatedItem)return!0;if(!this.isConstrainedToObject())return!1;const Se=(0,n.flatten)(this.actualDataTypeConstraints.map(ke=>ke.typeRestrict||[]));if(!(this.isSuperType||Se.some(b.GE)||(0,n.isEmpty)(Se)||Se.includes(this.objectTypeTip)))return!1}else if(!this.passesActualDataTypeConstraints(Ge))return!1;return!0})}getFieldsFromObjectType(){const[Ge,Se]=(0,n.partition)(this.objectType.field||[],ke=>ke.datatype===m.HT.object);this.fieldItems=Se.filter(ke=>!(this.searchableFieldsOnly&&!ke.searchable)&&this.passesActualDataTypeConstraints(ke)&&(!this.tags||(0,n.intersection)(ke.tag||[],this.tags).length>0)),this.relatedItems=this.showRelatedItems?Ge.filter(ke=>"app/plan:context"===ke.$tip||ke.typerestrict&&1===ke.typerestrict.length):[]}onPrimary(){this.displayFormulaWrapperService.addDisplayFormulaWrapper(this.selected,this.objectTypeTip,this.displayFormulaRule).pipe((0,g.Q)(this.destroy$)).subscribe(Ge=>this.finalize(Ge))}finalize(Ge){this.onDone(Ge),this.sideSheetService.pop()}fieldFormula(Ge){return this.formatsFields&&this.isLastSheet?`FMT_FIELD(${(0,F.AQ)(Ge)})`:`FIELD(${(0,F.AQ)(Ge)})`}commonFieldFormula(Ge){return`ARRAY(ANNOTATE("COMMON_FIELD_FORMULA",${(0,F.AQ)(JSON.stringify({name:Ge.name,label:Ge.label,datatype:Ge.datatype,tag:Ge.tag,typerestrict:Ge.typerestrict,typeGeoRestrict:Ge.typeGeoRestrict}))},COALESCE(FIELD_BY_NAME(${(0,F.AQ)(Ge.name)}),ARRAY(""))))`}isSelected(Ge){const Se=(0,F.iX)(Ge);return this.selected.map(F.iX).some(ke=>(0,n.isEqual)(this.getParsedFormula(ke),Se))}isBasedOnField(Ge,Se){const ke=this.fieldFormula(Se);if(Ge.startsWith("CONTEXT")){if(!Ge.includes(Se)){const Qe=this.fieldFormulaSideSheetService.allFields.find(rt=>rt.$tip===Se);if(Qe){const rt=`EQUALS(FIELD("field/datatype",FIRST(FIELD_TIP(TYPE(TIP()),${(0,F.AQ)(Qe.name)}))),"object")`;return Ge.includes(rt)}return!1}return(0,D.GM)(Ge)===ke}const Ne=ke.length,Je=Ge.replace(/\)+$/,")");return Je.substr(Je.length-Ne,Ne)===ke}baseSelectedCount(Ge){return this.selected.filter(Se=>this.isBasedOnField((0,D.zC)(Se),Ge)).length}selectedCountForObjType(Ge){return this.selected.filter(Se=>Ge.field.some(ke=>this.isBasedOnField((0,D.zC)(Se),ke.$tip))).length}toggleSelected(Ge){const Se=this.selected.indexOf(Ge);this.maxSelectMessage?Se>-1?(this.selected.splice(Se,1),this.maxSelect=-1===this.maxSelect?this.totalSelectedCount:this.maxSelect,--this.totalSelectedCount):1===this.maxSelect?this.selected=[Ge]:-1===this.maxSelect||this.maxSelect===this.totalSelectedCount?(this.toastService.showWarningToast(this.maxSelectMessage),this.maxSelect=-1):(!this.maxSelect||this.maxSelect>this.selected.length)&&(this.selected.push(Ge),++this.totalSelectedCount):Se>-1?this.selected.splice(Se,1):1===this.maxSelect?this.selected=[Ge]:(!this.maxSelect||this.maxSelect>this.selected.length)&&this.selected.push(Ge)}openAdditionalFieldSheet(Ge){const Se=this.selected.filter(Je=>Ge.field.some(Qe=>this.isBasedOnField((0,D.zC)(Je),Qe.$tip))),Ne=this.sideSheetService.push(ht).componentInstance;Ne.selected=Se,Ne.objectType={...Ge,summary:"",description:"",title:""},Ne.allowCustomFormula=!1,Ne.dataAndObjectTypeConstraints=this.actualDataTypeConstraints,Ne.totalSelectedCount=this.totalSelectedCount,Ne.maxSelect=this.maxSubSelect||this.maxSelect,Ne.maxSelectMessage=this.maxSelectMessage,Ne.maxSubSelect=this.maxSubSelect,Ne.metaDataKeysToExcluded=this.metaDataKeysToExcluded,Ne.formatsFields=this.formatsFields,Ne.showMetaData=!1,Ne.onDone=Je=>{this.isLastSheet=!1,this.totalSelectedCount=Ne.totalSelectedCount,this.selected=1===this.maxSelect?[]:this.selected.filter(Qe=>-1===Se.indexOf((0,D.zC)(Qe))),Je.forEach(Qe=>{(!this.maxSelect||this.selected.length<this.maxSelect)&&this.selected.push(Qe)})}}openRelatedFieldSheet(Ge,Se=!1){const ke=this.selected.filter(rt=>this.isBasedOnField((0,D.zC)(rt),Ge.$tip)),Ne=ke.map(rt=>this.removeFieldFormula(rt,Ge.$tip)),Qe=this.sideSheetService.push(ht).componentInstance;Qe.selected=Ne,Qe.isRelatedItem=this.isRelatedItem,Ge.typerestrict&&(Qe.objectTypeTip=Ge.typerestrict[0]),Qe.allowCustomFormula=!1,Qe.dataAndObjectTypeConstraints=this.actualDataTypeConstraints,Qe.totalSelectedCount=this.totalSelectedCount,Qe.maxSelect=this.maxSubSelect||this.maxSelect,Qe.maxSelectMessage=this.maxSelectMessage,Qe.maxSubSelect=this.maxSubSelect,Qe.metaDataKeysToExcluded=(this.metaDataKeysToExcluded||[]).filter(rt=>rt!==o.Po.title),Qe.formatsFields=this.formatsFields,Qe.onDone=rt=>{this.isLastSheet=!1,this.totalSelectedCount=Qe.totalSelectedCount,this.selected=1===this.maxSelect?[]:this.selected.filter(ft=>-1===ke.indexOf(ft)),rt.forEach(ft=>{if(!this.maxSelect||this.selected.length<this.maxSelect){const Xt=(0,n.get)(Ge,"typerestrict.0");if(Se&&Ge.name&&Xt){const It='IF(EQUALS(FIELD("field/datatype",FIRST(FIELD_TIP(TYPE(TIP()),'+(0,F.AQ)(Ge.name)+'))),"object"),'+this.commonFieldFormula(Ge)+",ARRAY())";this.selected.push(this.insertFieldFormula(ft,It))}else if((0,n.get)(Ge,"parentTip","").includes("app/assignment")){const It=this.insertFieldFormula(ft,this.fieldFormula(Ge.$tip)),Kt=`ANNOTATE("ASSIGNMENT_RELATED_OBJECT",${(0,F.AQ)(JSON.stringify({tip:Ge.$tip,parentTip:Ge.parentTip}))},${It})`;this.selected.push(Kt)}else if("app/assignment"===(0,n.get)(Ge,"typerestrict.0")&&(0,F.iX)(ft).args.length>1){const It=(0,F.iX)(ft),In=JSON.parse(It.args[1]),Kt=(0,D.zC)(ft).replace(In.tip,In.parentTip);It.args[2]=(0,F.iX)(this.insertFieldFormula(Kt,this.fieldFormula(Ge.$tip))),this.selected.push((0,F.Ac)(It))}else this.selected.push(this.insertFieldFormula(ft,this.fieldFormula(Ge.$tip)))}})}}openCustomFormulaSideSheet(){const{componentInstance:Ge}=this.sideSheetService.push(L.l),Se=(0,n.get)(this,`selected[${this.customFormulaIndex}]`,"");Ge.setProps(Se.substr(9,Se.length-10)),Ge.done$.subscribe(ke=>{this.appendCustomFormula(ke)})}get customFormulaIndex(){return this.selected.findIndex(E._)}appendCustomFormula(Ge){const Se=this.customFormulaIndex;if(-1!==Se&&this.selected.splice(Se,1),Ge&&Ge.length)return 1===this.maxSelect&&(this.selected=[]),void this.selected.push(`COALESCE(${Ge})`)}insertFieldFormula(Ge,Se){return(0,D.wG)(Ge,Se)}removeFieldFormula(Ge,Se){if(Ge.startsWith("ANNOTATE")){const Je=(0,F.iX)(Ge),Qe=JSON.parse(Je.args[1]),rt=(0,D.Q8)((0,F.Ac)(Je.args[2]));if(Qe&&rt)return rt.replace(Qe.parentTip,Qe.tip);Ge=(0,D.zC)(Ge)}if(Ge.startsWith("CONTEXT"))return(0,D.Q8)(Ge);const ke=this.fieldFormula(Se);if(Ge===ke)return Lt;const Ne=/\)+$/.exec(Ge).length;return Ge.substr(0,Ge.length-Ne-ke.length-1)+")".repeat(Ne)}checkForFormula(Ge){return this.isSort&&Ge.sortFormula?Ge.sortFormula:Ge.formula}metaToggleType(Ge){return Ge.hasDrillDown?O.T.NUMBER:1===this.maxSelect?O.T.SINGLE_CHECK:O.T.MULTI_CHECK}isBasedOnMeta(Ge,Se){const ke=this.checkForFormula(Se);return Ge.indexOf(ke)>-1}metaSelectedValue(Ge){return Ge.hasDrillDown?this.selected.filter(Se=>this.isBasedOnMeta(Se,Ge)).length:this.isSelected(this.checkForFormula(Ge))}metaToggle(Ge,Se){if(!Se.hasDrillDown)return this.toggleSelected(Ge);const ke=this.selected.filter(rt=>this.isBasedOnMeta(rt,Se)),Ne=ke.map(rt=>(0,D.Q8)(rt)),Qe=this.sideSheetService.push(ht).componentInstance;Qe.selected=Ne,Se.typerestrict&&(Qe.objectTypeTip=Se.typerestrict[0]),Qe.allowCustomFormula=!1,Qe.dataAndObjectTypeConstraints=this.actualDataTypeConstraints,Qe.maxSubSelect=this.maxSubSelect,Qe.totalSelectedCount=this.totalSelectedCount,Qe.maxSelect=this.maxSubSelect||this.maxSelect,Qe.maxSelectMessage=this.maxSelectMessage,Qe.metaDataKeysToExcluded=this.metaDataKeysToExcluded,Qe.formatsFields=this.formatsFields,Qe.onDone=rt=>{this.isLastSheet=!1,this.totalSelectedCount=Qe.totalSelectedCount,this.selected=1===this.maxSelect?[]:this.selected.filter(ft=>-1===ke.indexOf(ft)),rt.forEach(ft=>{(!this.maxSelect||this.selected.length<this.maxSelect)&&this.selected.push((0,D.wG)(ft,this.checkForFormula(Se)))})}}isConstrainedToObject(){return!!(0,n.isEmpty)(this.actualDataTypeConstraints)||this.actualDataTypeConstraints.map(Se=>Se.fieldDataType).some(Se=>Se===m.HT.object)}passesActualDataTypeConstraints(Ge){if((0,n.isEmpty)(this.actualDataTypeConstraints))return!0;let Se;if("string"==typeof Ge)Se=m.mm[Ge];else if((0,o.ux)(Ge))Se={fieldDataType:Ge.datatype,typeRestrict:Ge.typerestrict};else if(this.isActualDataType(Ge))Se=Ge;else{const{_datatype:ke,typerestrict:Ne}=(0,I.F)({field:Ge});Se=(0,n.cloneDeep)(m.mm[ke]),(0,n.isEmpty)(Ne)||(Se.typeRestrict=Ne)}return this.actualDataTypeConstraints.some(({fieldDataType:ke,typeRestrict:Ne,typeGeoRestrict:Je})=>{const Qe=ke===Se.fieldDataType,rt=(0,n.isEmpty)(Ne)||0!==(0,n.intersection)(Ne,Se.typeRestrict).length,ft=(0,n.isNil)(Je)||Je===Se.typeGeoRestrict;return Qe&&rt&&ft})}isActualDataType(Ge){return Ge.hasOwnProperty("fieldDataType")}getParsedFormula(Ge){return"ANNOTATE"===Ge.name&&(0,n.get)(Ge,"args[2]")||Ge}static#e=this.\u0275fac=function(Se){return new(Se||ht)(M.rXU(k.T),M.rXU(Y.E),M.rXU(x.f),M.rXU(z),M.rXU(B.T))};static#t=this.\u0275cmp=M.VBU({type:ht,selectors:[["app-field-formula-side-sheet"]],inputs:{title:"title",minSelect:"minSelect",maxSelect:"maxSelect",maxSubSelect:"maxSubSelect",objectTypeTip:"objectTypeTip",allowCustomFormula:"allowCustomFormula",selected:"selected",totalSelectedCount:"totalSelectedCount",tags:"tags",showRelatedItems:"showRelatedItems",showMetaItems:"showMetaItems",showMetaData:"showMetaData",showRealtimeLocation:"showRealtimeLocation",metaDataKeysToExcluded:"metaDataKeysToExcluded",displayFormulaRule:"displayFormulaRule",formatsFields:"formatsFields",isSort:"isSort",searchableFieldsOnly:"searchableFieldsOnly",isDetailWidget:"isDetailWidget",isRelatedItem:"isRelatedItem",maxSelectMessage:"maxSelectMessage",dataTypeConstraint:"dataTypeConstraint",objectTypeConstraint:"objectTypeConstraint",dataAndObjectTypeConstraints:"dataAndObjectTypeConstraints"},features:[M.Jv_([z])],decls:9,vars:8,consts:()=>{let Ge,Se,ke,Ne,Je,Qe,rt,ft,Xt,It,In,Kt,Ze;return Ge="Done",Se="Real-time location",ke="Meta data",Ne="Done",Je="Select fields",Qe="Last real-time location stored, if recent",rt="Common fields",ft="Related object fields",Xt="Additional fields",It="Fields",In="Related Object Fields",Kt="Formula",Ze="Configure custom formula",[["sideSheetHeaderDefault",""],Je,Qe,Ze,["action",Ge,3,"disabled","actioned",4,"ngIf","ngIfElse"],[3,"appSpinner"],["title",Se,"data-test","realtime-location",4,"ngIf"],[4,"ngIf"],["title",ke,4,"ngIf"],[4,"appIfFeatureFlag"],["action",Ge,3,"actioned","disabled"],["action",Ne,3,"actioned","disabled"],["title",Se,"data-test","realtime-location"],[3,"toggle","toggleType","value"],["title",rt,3,"showBorder",4,"ngIf"],["title",ft,4,"ngIf"],["title",Xt,3,"showBorder",4,"ngIf"],["title",rt,3,"showBorder"],[4,"ngFor","ngForOf"],[3,"value","key","toggleType","toggle",4,"ngIf"],[3,"toggle","value","key","toggleType"],["title",ft],["toggleType","number",3,"click","value"],["title",Xt,3,"showBorder"],["toggleType","number",3,"value","click",4,"ngIf"],["title",It,3,"showBorder",4,"ngIf"],["title",In,4,"ngIf"],["title",It,3,"showBorder"],["title",In],[3,"value","key","toggleType","toggle",4,"ngFor","ngForOf"],["toggleType","number",3,"value","click",4,"ngFor","ngForOf"],["title",ke],[3,"toggle","toggleType","value","key"],["title",Kt,4,"ngIf"],["title",Kt]]},template:function(Se,ke){if(1&Se&&(M.DNE(0,j,2,2,"app-side-sheet-header",4)(1,$,2,1,"ng-template",null,0,M.C5r),M.j41(3,"div",5),M.DNE(4,H,3,2,"app-side-sheet-section",6)(5,Me,4,3,"ng-container",7)(6,$e,3,2,"ng-container",7)(7,Be,2,1,"app-side-sheet-section",8)(8,Ct,2,1,"ng-container",9),M.k0s()),2&Se){const Ne=M.sdS(2);M.Y8G("ngIf",ke.title)("ngIfElse",Ne),M.R7$(3),M.Y8G("appSpinner",ke.isLoading),M.R7$(),M.Y8G("ngIf",ke.shouldDisplayRealtimeLocation),M.R7$(),M.Y8G("ngIf",ke.isSuperType),M.R7$(),M.Y8G("ngIf",!ke.isSuperType),M.R7$(),M.Y8G("ngIf",ke.showMetaData&&ke.metaDataFormulas.length>0),M.R7$(),M.Y8G("appIfFeatureFlag",ke.FeatureFlags.FEATURE_CUSTOM_FORMULA)}}})}return ht})()},92597:(at,N,s)=>{"use strict";s.d(N,{AQ:()=>y,Ac:()=>E,Ms:()=>L,a:()=>b,iX:()=>D,ky:()=>w,og:()=>z});var n=s(67376),g=s(78329),m=s(43569);let T,M;function D(F){return T||(T=function O(){const F=new m.iX;return F.yy={handler:{helper:{number(U){switch(typeof U){case"number":return U;case"string":if(!isNaN(U))return U.indexOf(".")>-1?parseFloat(U):parseInt(U,10)}return U},numberInverted(U){return-1*this.number(U)},string:U=>U.substring(1,U.length-1).replace(/\\"/g,'"'),callFunction:(U,k=[])=>({name:U.toUpperCase(),args:k})}}},F}()),T.parse(F)}function E(F){const U=F.args.map((k,Y)=>"string"==typeof k?"ANNOTATE"===F.name&&1===Y?'"'+k.replace(/"/g,'\\"')+'"':y(k):"number"==typeof k?isNaN(k)?"":k.toString():E(k));return F.name+"("+U.join(",")+")"}function y(F){return'"'+F.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'}function I(F){return"string"!=typeof F&&"number"!=typeof F}function b(F,U){const k=D(F);if(I(k)){if("ARRAY"===k.name&&0===k.args.filter(I).length)return k.args.map(String);if("VAR"===k.name&&1===k.args.length&&!I(k.args[0])){const Y=(0,n.get)(U,String(k.args[0]),null);if(null!==Y)return Y}}throw new Error("Formula is not static")}function L(F,U){const k={};F.name!==U.name&&o(F,U,"Unexpected formula name"),F.args.length!==U.args.length&&o(F,U,"Argument length different");for(let Y=0;Y<U.args.length;Y++)"string"==typeof U.args[Y]&&"$"===U.args[Y].substr(0,1)?I(F.args[Y])?o(F,U,"Expected static value for argument "+(1+Y)):k[U.args[Y]]=F.args[Y]:I(U.args[Y])?I(F.args[Y])?(0,n.merge)(k,L(F.args[Y],U.args[Y])):o(F,U,"Expected "+U.args[Y].name+" formula for argument "+(1+Y)):F.args[Y]!==U.args[Y]&&o(F,U,"Unexpected value argument "+(1+Y));return k}function o(F,U,k){throw new Error("Does not conform to formula template: "+k+": "+E(F)+" != "+E(U))}function w(F){const U=[];let k="",Y=0;for(let x=0;x<F.length;x++)if(0===Y)"{"===F[x]&&"="===F[x+1]?(Y=1,x++,k.length>0&&(U.push(k),k="")):k+=F[x];else if(1===Y)if("}"===F[x]){try{U.push(D(k))}catch{throw new Error("Invalid formula: "+k)}k="",Y=0}else'"'===F[x]&&(Y=2),k+=F[x];else 2===Y?("\\"===F[x]?Y=3:'"'===F[x]&&(Y=1),k+=F[x]):3===Y&&(Y=2,k+=F[x]);if(0!==Y)throw new Error("Unfinished formula: "+k);return k.length>0&&U.push(k),U}const q=()=>(M||(M={byTip:[D('FIELD("$fieldTip")'),D('FIELD("$fieldTip", TIP())'),D('FIELD_VALUES("$fieldTip")'),D('FIELD_VALUES("$fieldTip", TIP())')],byName:[D('FIELD_BY_NAME("$fieldName")'),D('FIELD_BY_NAME("$fieldName", TIP())'),D('FIELD_BY_KEY("$typeTip", "$fieldName")'),D('FIELD_BY_KEY("$typeTip", "$fieldName", TIP())')],fmtField:[D('FMT_FIELD("$fieldTip", TIP())'),D('FMT_FIELD("$fieldTip")')]}),M);function z(F,U){if(!(0,g.g)(F))return F;const{byTip:k,byName:Y,fmtField:x}=q();for(let B=0;B<k.length;B++)try{return{name:"VAR",args:[L(F,k[B]).$fieldTip]}}catch{}for(let B=0;B<Y.length;B++)try{const j=L(F,Y[B]),$=(0,n.get)(U,["fieldNames",j.$fieldName]);return $?{name:"VAR",args:[$]}:{name:"ARRAY",args:[]}}catch{}for(let B=0;B<x.length;B++)try{const j=L(F,x[B]),$=(0,n.get)(U,["ruleTips",j.$fieldTip]);return $?{name:"FMT",args:[{name:"VAR",args:[j.$fieldTip]},$]}:{name:"VAR",args:[j.$fieldTip]}}catch{}return"CONTEXT"===F.name?"TIP"===(0,n.get)(F,"args[0].name")&&0===(0,n.get)(F,"args[0].args",[]).length?z(F.args[1],U):(F.args.length>0&&(F.args[0]=z(F.args[0],U)),F):{name:F.name,args:F.args.map(B=>z(B,U))}}},64627:(at,N,s)=>{"use strict";s.d(N,{i:()=>L});var n=s(96354),a=s(67376),m=s(47735),T=s(95354),O=s(92597),D=s(93953),E=s(76087),y=s(25687);let L=(()=>{class C{constructor(M,q){this.formulaService=M,this.formulaMultiService=q}transform(M,{branches:q,vars:z}={},F){return this.transformBatch([{formulaString:M,branches:q,vars:z,contextTypeTip:F}]).pipe((0,n.T)(a.head))}transformBatch(M){const{labelOrder:q,metaLabels:z,formulasToBatch:F}=M.reduce((U,k)=>{const Y=[];k.contextTypeTip&&(U.formulasToBatch.push({formula:'COALESCE(FIELD("type/label"), FIELD("super-type:label"))',context:k.contextTypeTip,vars:k.vars,contextBranches:k.branches}),Y.push("label"));const x=this.stripOuterAnnotateFormula(k.formulaString),{outerFormulas:B,mostInnerContextFormula:j}=(0,T.Sk)(x);return[j,...(0,a.reverse)(B)].forEach($=>{const H=(0,m.jp)($);if(H)return Y.push("meta"),void U.metaLabels.push(H);const ie=(0,O.iX)($);if("FIELD"===ie.name||"FMT_FIELD"===ie.name){const ne={formula:'FIELD("field/label")',context:(0,a.get)(ie,"args[0]"),vars:k.vars,contextBranches:k.branches};U.formulasToBatch.push(ne),Y.push("label")}return U},[]),U.labelOrder.push(Y),U},{labelOrder:[],metaLabels:[],formulasToBatch:[]});return this.formulaMultiService.evaluate(F).pipe((0,n.T)(a.flatten),(0,n.T)(function o(C,w){return function(q){return C.reduce((F,U)=>[...F,U.map(Y=>"meta"===Y?w.shift():"label"===Y?q.shift():void 0)],[])}}(q,z)),(0,n.T)(U=>U.map(k=>k.join(" \u203a "))))}stripOuterAnnotateFormula(M){const q=(0,O.iX)(M);return"ANNOTATE"===q.name?(0,O.Ac)(q.args[2]):M}static#e=this.\u0275fac=function(q){return new(q||C)(D.KVO(E.C),D.KVO(y.$))};static#t=this.\u0275prov=D.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},9975:(at,N,s)=>{"use strict";s.d(N,{Po:()=>g,a_:()=>D,ry:()=>m,ux:()=>E});var n=s(15765),a=s(76194),g=function(y){return y.thisObject="THIS_OBJECT",y.title="TITLE",y.createdDate="CREATED_DATE",y.lastModifiedDate="LAST_MODIFIED_DATE",y.objectStage="OBJECT_STAGE",y.personnel="PERSONNEL",y.urlLink="URL_LINK",y.type="TYPE",y.createdBy="CREATED_BY",y.lastModifiedBy="LAST_MODIFIED_BY",y}(g||{});const m=[{key:g.thisObject,label:"This object",datatype:a.HT.object,formula:"TIP()",searchable:!0},{key:g.title,label:"Title",datatype:a.HT.string,formula:"TITLE()",sortFormula:'META_FIELD("app/search-meta-fields/title")',searchable:!0},{key:g.title,label:"Summary",datatype:a.HT.string,formula:"SUMMARY()",sortFormula:'META_FIELD("app/search-meta-fields/summary")',searchable:!0},{key:g.createdDate,label:"Created date & time",datatype:a.HT.datetime,formula:'TO_DATETIME(CONCAT("@", FLOOR(SERVER_T("createdDate"))))',sortFormula:'META_FIELD("app/search-meta-fields/created-date")',searchable:!0},{key:g.lastModifiedDate,label:"Last modified date & time",datatype:a.HT.datetime,formula:'TO_DATETIME(CONCAT("@", FLOOR(SERVER_T("modifiedDate"))))',sortFormula:'META_FIELD("app/search-meta-fields/modified-date")',searchable:!0},{key:g.objectStage,label:"Object stage",datatype:a.HT.string_i18n,formula:'FIELD("app/object-stage:name", FIELD("app/object-stage-state:stage", REFERENCES("app/object-stage-state:object")))',searchable:!1},{key:g.personnel,label:"Personnel",datatype:a.HT.object,typerestrict:["app/personnel"],formula:'REFERENCES("app/personnel:object")',displayFormula:'TITLE(REFERENCES("app/personnel:object"))',searchable:!1},{key:g.urlLink,label:"URL link to this object",datatype:a.HT.string,formula:`CONCAT(FIELD("app/system-info:customer-uri", "app/system-info"), "/app/s/object-link/", URLENCODE(TIP()), "/", URLENCODE(VAR("${n.oT}")))`,displayFormula:'CONCAT_WS(", ", CONCAT(FIELD("app/system-info:customer-uri", "app/system-info"), "/app/s/object-link/", URLENCODE(TIP()), "/", URLENCODE(VAR("Dashboard context tip"))))',searchable:!1},{key:g.type,label:"Type",datatype:a.HT.string,formula:'FIELD("type/label", TYPE(TIP()))',searchable:!1},{key:g.createdBy,label:"Created by",datatype:a.HT.object,typerestrict:["app/user"],formula:'SERVER_T("createdBy")',searchable:!1,hasDrillDown:!0},{key:g.lastModifiedBy,label:"Last modified by",datatype:a.HT.object,typerestrict:["app/user"],formula:'SERVER_T("modifiedBy")',searchable:!1,hasDrillDown:!0}];let T=null;function D(y){return function O(){return T||(T=new Map,m.forEach(y=>{T.set(y.formula.replace(/,\s/g,","),y),y.displayFormula&&T.set(y.displayFormula.replace(/,\s/g,","),y),y.sortFormula&&T.set(y.sortFormula.replace(/,\s/g,","),y)})),T}().get(y.replace(/,\s/g,","))||null}function E(y){return"key"in y&&"label"in y&&"datatype"in y&&"formula"in y&&"searchable"in y}},74865:(at,N,s)=>{"use strict";s.d(N,{P:()=>I});var n=s(89417),a=s(93953);function g(b,L){if(1&b&&a.nrm(0,"app-text-field",7),2&b){const o=a.XpG().$implicit,C=a.XpG();a.Y8G("formControlName",o.$tip)("label",o.label)("required",o.required)("readonly",C.readonly)("maxlength",o.maxlen||500),a.BMQ("data-test","text-field:"+o.$tip)}}function m(b,L){if(1&b&&a.nrm(0,"app-multi-text-field",8),2&b){const o=a.XpG().$implicit,C=a.XpG();a.Y8G("formControlName",o.$tip)("label",o.label)("required",o.required)("readonly",C.readonly),a.BMQ("data-test","text-field:"+o.$tip)}}function T(b,L){if(1&b&&a.nrm(0,"app-datetime-field",8),2&b){const o=a.XpG().$implicit,C=a.XpG();a.Y8G("formControlName",o.$tip)("label",o.label)("required",o.required)("readonly",C.readonly),a.BMQ("data-test","datetime-field:"+o.$tip)}}function O(b,L){if(1&b&&a.nrm(0,"app-text-field",9),2&b){const o=a.XpG().$implicit,C=a.XpG();a.Y8G("formControlName",o.$tip)("label",o.label)("required",o.required)("readonly",C.readonly)("maxlength",o.maxlen||500),a.BMQ("data-test","email-field:"+o.$tip)}}function D(b,L){if(1&b&&a.nrm(0,"app-text-field",10),2&b){const o=a.XpG().$implicit,C=a.XpG();a.Y8G("formControlName",o.$tip)("label",o.label)("required",o.required)("readonly",C.readonly)("maxlength",o.maxlen||500),a.BMQ("data-test","phone-field:"+o.$tip)}}function E(b,L){if(1&b&&a.nrm(0,"app-rich-jodit-text-field",11),2&b){const o=a.XpG().$implicit,C=a.XpG();a.Y8G("formControlName",o.$tip)("label",o.label)("readonly",C.readonly),a.BMQ("data-test","html-field:"+o.$tip)}}function y(b,L){if(1&b&&(a.j41(0,"div"),a.DNE(1,g,1,6,"app-text-field",2)(2,m,1,5,"app-multi-text-field",3)(3,T,1,5,"app-datetime-field",3)(4,O,1,6,"app-text-field",4)(5,D,1,6,"app-text-field",5)(6,E,1,4,"app-rich-jodit-text-field",6),a.k0s()),2&b){const o=L.$implicit;a.R7$(),a.Y8G("ngIf",("string"===o.datatype||"string-i18n"===o.datatype||"number"===o.datatype)&&!o.multiline),a.R7$(),a.Y8G("ngIf",("string"===o.datatype||"string-i18n"===o.datatype||"number"===o.datatype)&&o.multiline),a.R7$(),a.Y8G("ngIf","date"===o.datatype||"datetime"===o.datatype),a.R7$(),a.Y8G("ngIf","email"===o.datatype),a.R7$(),a.Y8G("ngIf","phone"===o.datatype),a.R7$(),a.Y8G("ngIf","html"===o.datatype)}}let I=(()=>{class b{constructor(){this.readonly=!1,this.fields=[],this.fieldsToDisplay=[],this.objectForm=new n.gE({})}ngOnInit(){if(!this.objectType)throw new Error("<app-object-edit-form> is missing type attribute");this.fieldsToDisplay=this.fields&&this.fields.length?this.objectType.field.filter(o=>this.fields.indexOf(o.$tip)>-1):this.objectType.field,this.fieldsToDisplay.forEach(o=>{if("object"===o.datatype)return;const C=[];o.required&&C.push(n.k0.required),o.maxlen>0&&C.push(n.k0.maxLength(o.maxlen)),o.minlen>0&&C.push(n.k0.minLength(o.minlen));const w=new n.MJ(this.objectData[o.$tip]||"",C);this.objectForm.addControl(o.$tip,w),w.valueChanges.subscribe(()=>this.objectData[o.$tip]=w.value)})}static#e=this.\u0275fac=function(C){return new(C||b)};static#t=this.\u0275cmp=a.VBU({type:b,selectors:[["app-object-edit-form"]],inputs:{objectType:"objectType",objectData:"objectData",readonly:"readonly",fields:"fields"},decls:2,vars:2,consts:[[3,"formGroup"],[4,"ngFor","ngForOf"],[3,"formControlName","label","required","readonly","maxlength",4,"ngIf"],[3,"formControlName","label","required","readonly",4,"ngIf"],["type","email",3,"formControlName","label","required","readonly","maxlength",4,"ngIf"],["type","tel",3,"formControlName","label","required","readonly","maxlength",4,"ngIf"],[3,"formControlName","label","readonly",4,"ngIf"],[3,"formControlName","label","required","readonly","maxlength"],[3,"formControlName","label","required","readonly"],["type","email",3,"formControlName","label","required","readonly","maxlength"],["type","tel",3,"formControlName","label","required","readonly","maxlength"],[3,"formControlName","label","readonly"]],template:function(C,w){1&C&&(a.j41(0,"form",0),a.DNE(1,y,7,6,"div",1),a.k0s()),2&C&&(a.Y8G("formGroup",w.objectForm),a.R7$(),a.Y8G("ngForOf",w.fieldsToDisplay))}})}return b})()},69927:(at,N,s)=>{"use strict";s.d(N,{z:()=>q});var n=s(18359),a=s(7673),g=s(18810),m=s(61594),T=s(88141),O=s(99437),D=s(74865),E=s(93953),y=s(8076),I=s(50337),b=s(19937);function L(F,U){if(1&F){const k=E.RV6();E.j41(0,"app-side-sheet-header",9),E.bIt("actioned",function(){E.eBV(k);const x=E.XpG();return E.Njj(x.onPrimary())}),E.EFF(1),E.k0s()}if(2&F){const k=E.XpG();E.Y8G("disabled",!k.objectType||!k.objectData||k.readonly||"in-progress"===k.state),E.R7$(),E.JRh(k.title)}}function o(F,U){if(1&F){const k=E.RV6();E.j41(0,"app-side-sheet-header",10),E.bIt("actioned",function(){E.eBV(k);const x=E.XpG();return E.Njj(x.onPrimary())}),E.pXf(1,2),E.k0s()}if(2&F){const k=E.XpG();E.Y8G("disabled",!k.objectType||!k.objectData||k.readonly||"in-progress"===k.state),E.R7$(),E.uP7(k.createOrEdit)(null==k.objectType?null:k.objectType.label),E.nnv(1)}}function C(F,U){1&F&&(E.j41(0,"app-alert",11),E.pXf(1,3),E.k0s())}function w(F,U){if(1&F){const k=E.RV6();E.j41(0,"div",14)(1,"button",15),E.bIt("click",function(){E.eBV(k);const x=E.XpG(2);return E.Njj(x.onDelete())}),E.pXf(2,4),E.k0s()()}}function M(F,U){if(1&F&&(E.nrm(0,"app-object-edit-form",12,1),E.DNE(2,w,3,0,"div",13)),2&F){const k=E.XpG();E.Y8G("objectType",k.objectType)("objectData",k.objectData)("fields",k.fieldTipsToDisplay)("readonly",k.readonly),E.R7$(2),E.Y8G("ngIf",k.allowDelete)}}let q=(()=>{class F{constructor(k,Y,x,B){this.objectService=k,this.sideSheetService=Y,this.toastService=x,this.cd=B,this.allowDelete=!1,this.readonly=!1,this.state="in-progress",this.fieldTipsToDisplay=[],this.mode="return",this.subs=new n.yU,this.preDefinedFields=[]}ngOnInit(){}ngAfterViewInit(){this.getObjectAndType().pipe((0,m.$)(),(0,T.M)(k=>{this.objectType=k.objectType,this.objectScheme=k.objectScheme,this.objectData=k.objectData,this.createOrEdit=this.objectTip?"edit":"create"}),(0,O.W)(k=>(this.toastService.showErrorToast("Unable to open object at this time"),this.sideSheetService.pop(),(0,a.of)(k)))).subscribe(()=>{this.state=null,this.preDefinedFields&&this.preDefinedFields.length&&this.preDefinedFields.forEach(k=>{k.value||(k.value=null),this.objectData[k.fieldTip]=k.value}),this.cd.detectChanges()})}getObjectAndType(){return this.objectTip?this.objectService.getObjectAndType(this.objectTip,this.objectBranchTip):this.objectService.getType(this.enoType)}onPrimary(){if(this.objectEditForm.objectForm.invalid){const k=this.objectEditForm.objectForm;Object.keys(k.controls).forEach(Y=>k.get(Y).markAsTouched())}else{if("return"===this.mode)return this.sideSheetService.pop(),void(this.onDone&&this.onDone(this.objectData));this.objectTip||(this.objectData.$type=this.enoType,this.enoSecurity&&(this.objectData.$security=this.enoSecurity)),this.state="in-progress",this.subs.add(this.objectService.updateObject(this.objectData,this.objectScheme,this.objectBranchTip).subscribe(k=>{this.state=null,this.toastService.showSuccessToast("Saved successfully"),this.sideSheetService.pop(),this.onDone&&(this.objectData.$tip=k,this.onDone(this.objectData))},k=>{this.state="failed"}))}}ngOnDestroy(){this.subs.unsubscribe()}onDelete(){return this.allowDelete?this.objectService.deleteObject({$tip:this.objectTip}):(0,g.$)("Delete has not been allowed for this side sheet")}static#e=this.\u0275fac=function(Y){return new(Y||F)(E.rXU(y.T),E.rXU(I.E),E.rXU(b.f),E.rXU(E.gRc))};static#t=this.\u0275cmp=E.VBU({type:F,selectors:[["app-object-edit-side-sheet"]],viewQuery:function(Y,x){if(1&Y&&E.GBs(D.P,5),2&Y){let B;E.mGM(B=E.lsd())&&(x.objectEditForm=B.first)}},decls:6,vars:5,consts:()=>{let k,Y,x,B,j,$;return k="Save",Y="Save",x="{VAR_SELECT, select, create {Create} edit {Edit}}",x=E.k04(x,{VAR_SELECT:"\ufffd0\ufffd"}),B="" + x + " " + "\ufffd1\ufffd" + "",j="Unable to save at this time.",$="Delete",[["defaultHeader",""],["objectEditForm",""],B,j,$,["size","sm","action",k,3,"disabled","actioned",4,"ngIf","ngIfElse"],[1,"modal-body",3,"appSpinner"],["type","danger",4,"ngIf"],[3,"ngIf"],["size","sm","action",k,3,"actioned","disabled"],["size","sm","action",Y,3,"actioned","disabled"],["type","danger"],[3,"objectType","objectData","fields","readonly"],["class","form-options d-flex justify-content-center",4,"ngIf"],[1,"form-options","d-flex","justify-content-center"],[1,"btn","btn-danger",3,"click"]]},template:function(Y,x){if(1&Y&&(E.DNE(0,L,2,2,"app-side-sheet-header",5)(1,o,2,3,"ng-template",null,0,E.C5r),E.j41(3,"div",6),E.DNE(4,C,2,0,"app-alert",7)(5,M,3,5,"ng-template",8),E.k0s()),2&Y){const B=E.sdS(2);E.Y8G("ngIf",x.title)("ngIfElse",B),E.R7$(3),E.Y8G("appSpinner","in-progress"===x.state),E.R7$(),E.Y8G("ngIf","failed"===x.state),E.R7$(),E.Y8G("ngIf",x.objectType&&x.objectData)}}})}return F})()},77199:(at,N,s)=>{"use strict";s.d(N,{$:()=>$e});var n=s(56977),a=s(23294),g=s(96354),m=s(21413),T=s(84572),O=s(67376),D=s(82639),E=s(81537),y=s(53536),I=s(5002),b=s(93953),L=s(8076),o=s(50701),C=s(50337),w=s(7673),M=s(40673),q=s(25558),z=s(73703),F=s(76194),U=s(48299),k=s(92597);function Y(ze,Be){const Ye={name:"IF",args:[{name:"EQUALS",args:[{name:"FIELD",args:["field/datatype",Be]},"object"]},{name:"ARRAY",args:ze.map(x)},{name:"ARRAY",args:[]}]};return(0,k.Ac)(Ye)}function x(ze){return{name:"TYPE",args:[ze]}}var B=s(59405);var ie=s(99760),ne=s(25687),Q=s(12225),le=s(5374);let pe=(()=>{class ze{constructor(Ye){this.formulaMultiService=Ye}getSubObjectsSummary(Ye){if((0,O.isEmpty)(Ye))return(0,w.of)([]);const{formulaBatch:Ct,subObjectPlaceholders:Lt}=function ae(ze){return ze.reduce((Be,Ye)=>{const{formulaBatch:Ct,subObjectPlaceholders:Lt}=Be,Vt=Ye.subObjectTip,ht={tip:Vt,type:Ye.type,_titleIndex:null,_fieldTips:Ye.symbologyFields,_fieldsIndex:[]},gt={formula:"TITLE(TIP())",context:Vt};return ht._titleIndex=Ct.length,Ct.push(gt),Ye.symbologyFields.forEach(Ge=>{const Se={formula:`FIELD("${Ge}",TIP())`,context:Vt};ht._fieldsIndex.push(Ct.length),Ct.push(Se)}),Lt.push(ht),Be},{formulaBatch:[],subObjectPlaceholders:[]})}(Ye);return this.formulaMultiService.evaluate(Ct).pipe((0,g.T)(function te(ze){return function(Ye){return ze.map(({tip:Ct,type:Lt,_fieldsIndex:Vt,_fieldTips:ht,_titleIndex:gt})=>{const Ge=ht.reduce((ke,Ne,Je)=>(ke[Ne]=Ye[Vt[Je]],ke),{});return{tip:Ct,type:Lt,title:(0,O.first)(Ye[gt]),...Ge}})}}(Lt)))}static#e=this.\u0275fac=function(Ct){return new(Ct||ze)(b.KVO(ne.$))};static#t=this.\u0275prov=b.jDH({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),K=(()=>{class ze{constructor(Ye,Ct,Lt,Vt,ht){this.enoService=Ye,this.formulaMultiService=Ct,this.allObjectTypesService=Lt,this.objectRenderMetaListService=Vt,this.getSubObjectsService=ht}getObjectsToRender(Ye){return this.enoService.readEnos(Ye,{branch:M.Ay.BRANCH_MASTER}).pipe((0,q.n)(Ct=>this.getObjectMetaForEnoFields(Ct)))}getObjectMetaForEnoFields(Ye){const Ct=(0,O.flatMap)(Ye,Lt=>Lt.source.field.map(Vt=>Vt.tip));return(0,T.z)([this.getFields(Ct),this.getFieldObjectTypes(Ye)]).pipe((0,g.T)(([Lt,Vt])=>{const ht=new U.Z({fields:Lt,fieldTypes:Vt});return{enoObjs:Ye,fieldTypes:Vt,metaMap:ht}}),(0,q.n)(Lt=>this.addSymbologyForSubObjectFields(Lt)),(0,q.n)(Lt=>this.addMissingUnFetchedSubObjectSymbologyFields(Lt)),(0,q.n)(Lt=>this.addListsAndSubObjectsToMetaMap(Lt)))}addListsAndSubObjectsToMetaMap(Ye){const Ct=this.objectRenderMetaListService.addListsToMetaMap(Ye.metaMap),{metaMap:Lt}=Ye,Vt=this.getSubObjectsService.getSubObjectsSummary(Lt.getSubObjectSummariesToBeFetched()).pipe((0,g.T)(ht=>Lt.setSubObjects(ht)));return(0,T.z)([Ct,Vt]).pipe((0,z.u)(Ye))}getFieldObjectTypes(Ye){const Ct=Ye.reduce((Vt,ht)=>(ht.source.field.forEach(gt=>Vt.push({...gt,enoTip:ht.tip})),Vt),[]),Lt=Ct.map(Vt=>({formula:Y(Vt.value,Vt.tip),watch:!1}));return this.formulaMultiService.evaluate(Lt).pipe((0,g.T)(Vt=>Vt.map((ht,gt)=>({types:ht,fieldTip:Ct[gt].tip,enoTip:Ct[gt].enoTip,fieldValues:Ct[gt].value}))))}getFields(Ye){return this.enoService.readEnos(Ye).pipe((0,g.T)(Ct=>Ct.map(Lt=>function j(ze,Be){const Ye={$tip:ze.tip,$security:ze.source.security,$branch:ze.getBranch(),$type:ze.getType(),$sid:ze.sid},Ct=ze.source.field.filter(function H(ze){return function(Ye){return ze.getFieldValues(Ye.tip).length>0}}(ze)).reduce(function $(ze,Be){return function(Ct,Lt){const Vt=Be[Lt.tip]||{},ht=Vt.name||(0,B.e)(Lt.tip),gt=(0,B.L)(ze,Lt.tip,Vt);return Ct[ht]=gt,Ct}}(ze,Be),{});return{...Ye,...Ct}}(Lt,F.cF))))}addSymbologyForSubObjectFields(Ye){const{metaMap:Ct}=Ye,Lt=Ct.getSubObjectTypesToBeFetched();if((0,O.isEmpty)(Lt))return(0,w.of)(Ye);const Vt=Lt.map(ht=>this.allObjectTypesService.getSymbologyForType$(ht).pipe((0,g.T)(gt=>{Ct.setSubObjectSymbologies({subObjectTypeTip:ht,symbologies:gt})})));return(0,T.z)(Vt).pipe((0,z.u)(Ye))}addMissingUnFetchedSubObjectSymbologyFields(Ye){const{metaMap:Ct}=Ye,Lt=Ct.getUnFetchedSubObjectSymbologyFieldTips();return(0,O.isEmpty)(Lt)?(0,w.of)(Ye):this.getFields(Lt).pipe((0,g.T)(Vt=>Ct.setFields({fields:Vt})),(0,z.u)(Ye))}static#e=this.\u0275fac=function(Ct){return new(Ct||ze)(b.KVO(ie.g),b.KVO(ne.$),b.KVO(Q.b),b.KVO(le.V),b.KVO(pe))};static#t=this.\u0275prov=b.jDH({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();var de=s(66386),Me=s(71242),me=s(10506);function Le(ze,Be){if(1&ze){const Ye=b.RV6();b.j41(0,"div",5)(1,"button",6),b.bIt("click",function(){b.eBV(Ye);const Lt=b.XpG();return b.Njj(Lt.print())}),b.nrm(2,"span",7),b.k0s()()}if(2&ze){const Ye=b.XpG();b.R7$(),b.Y8G("disabled",Ye.offline)}}function Ae(ze,Be){if(1&ze&&(b.j41(0,"app-side-sheet-section",8),b.nrm(1,"app-open-object-view",9),b.k0s()),2&ze){const Ye=b.XpG();b.Y8G("showBorder",!1)("showHeader",!1),b.R7$(),b.Y8G("objectData",Ye.objectData)("objectType",Ye.objectType)("showObjectFieldsAs","list")("offline",Ye.offline)}}function Oe(ze,Be){if(1&ze&&(b.j41(0,"app-alert",11),b.EFF(1),b.k0s()),2&ze){const Ye=b.XpG(2);b.R7$(),b.JRh(Ye.loadingError)}}function Xe(ze,Be){1&ze&&b.nrm(0,"div",12),2&ze&&b.Y8G("appSpinner",!0)}function Pe(ze,Be){if(1&ze&&b.DNE(0,Oe,2,1,"app-alert",10)(1,Xe,1,1,"ng-template",null,1,b.C5r),2&ze){const Ye=b.sdS(2),Ct=b.XpG();b.Y8G("ngIf",Ct.loadingError)("ngIfElse",Ye)}}s(57503);let $e=(()=>{class ze{set fieldsToExclude(Ye){this._fieldsToExclude=[...this._fieldsToExclude,...Ye]}constructor(Ye,Ct,Lt,Vt,ht,gt,Ge,Se,ke){this.objectService=Ye,this.objectLaunch=Ct,this.securityService=Lt,this.sideSheetService=Vt,this.objectRenderService=ht,this.cdr=gt,this.connectionService=Ge,this.getObjectAndFormService=Se,this.featureFlagStateService=ke,this._fieldsToExclude=["app/email/recipient:smtp-message-id","app/email/recipient:token"],this.loadingError=null,this.unsubscribe$=new m.B,this.objectRenderData="",this.done$=new m.B}ngOnInit(){this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,n.Q)(this.unsubscribe$),(0,a.F)()).subscribe(Ye=>{this.offline=!Ye,this.cdr.detectChanges()})}setProps({objectTip:Ye,isHardToDeleteEnabled:Ct,readonlyOverride:Lt}){this.objectTip=Ye,this.load(Ct??!1,Lt??!1)}getObjectRenderData(Ye){this.objectRenderService.getObjectsToRender([Ye]).subscribe(Ct=>this.objectRenderData=Ct)}load(Ye,Ct){this.unsubscribe$.next();const Lt=this.objectService.getObjectTypeSchemeSubObject(this.objectTip),Vt=this.securityService.canUpdate(this.objectTip),ht=this.objectService.getTitles([this.objectTip]).pipe((0,g.T)(Se=>Se[0].title||"")),gt=this.getObjectAndFormService.hasCustomForm$(this.objectTip),Ge=this.featureFlagStateService.isFeatureEnabledSkipInitialSet$(I.g.FEATURE_EIM_23828_READONLY_CUSTOM_FORMS);(0,T.z)([Lt,Vt,ht,gt,Ge]).pipe((0,n.Q)(this.unsubscribe$)).subscribe({next:([Se,ke,Ne,Je,Qe])=>{this.clear(),this.cdr.detectChanges(),this.objectType=(0,O.get)(Se,"objectType",null),this.objectData=(0,O.get)(Se,"objectData",null),this.title=Ne;const rt=(0,O.get)(Se,"isSubObject",!1);this.canUpdate=ke&&!rt,this.canUpdate&&this.sideSheetService.depth$.getValue()>=1&&Object.keys(this.sideSheetService.cachedReadonlyFields||{}).forEach(ft=>{this.sideSheetService.cachedReadonlyFields[ft]&&this.sideSheetService.cachedReadonlyFields[ft].length&&this.sideSheetService.cachedReadonlyFields[ft].includes(this.objectData.$tip)&&(this.canUpdate=!1)}),this.canUpdate||this.objectType.field.forEach(ft=>{this.objectData[ft.$tip]&&(this.sideSheetService.cachedReadonlyFields[ft.$tip]=this.objectData[ft.$tip])});for(const ft of this._fieldsToExclude)this.objectData=(0,O.omit)(this.objectData,ft);this.cdr.markForCheck(),(this.canUpdate||Qe&&Je)&&this.redirectToEditMode(Ye,Ct)},error:()=>{this.loadingError="Unable to load object at this time",this.cdr.markForCheck()}})}redirectToEditMode(Ye,Ct){this.objectLaunch.replaceSheet({objectTip:this.objectTip,isHardToDeleteEnabled:Ye,readonlyOverride:Ct},this.unsubscribe$).subscribe(({})=>{this.sideSheetService.pop()})}print(){const{componentInstance:Ye}=this.sideSheetService.push(E.Q);Ye.setProps({templateTip:y.vp,settingTip:y.f$,contextTip:this.objectTip})}clear(){this.objectData=null,this.objectType=null,this.title=null,this.canUpdate=null}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(Ct){return new(Ct||ze)(b.rXU(L.T),b.rXU(D.ub),b.rXU(o.i),b.rXU(C.E),b.rXU(K),b.rXU(b.gRc),b.rXU(de.K),b.rXU(Me.w),b.rXU(me.F))};static#t=this.\u0275cmp=b.VBU({type:ze,selectors:[["app-object-open-side-sheet"]],decls:6,vars:5,consts:[["loadingOrError",""],["loading",""],[3,"monitorConnection"],["buttons","","class","d-flex justify-content-end pl-3 pr-3 pt-3",4,"ngIf"],[3,"showBorder","showHeader",4,"ngIf","ngIfElse"],["buttons","",1,"d-flex","justify-content-end","pl-3","pr-3","pt-3"],["data-test","object-open-print-button",1,"btn","btn-secondary","btn-social","ml-1",3,"click","disabled"],[1,"mdi","mdi-print"],[3,"showBorder","showHeader"],[3,"objectData","objectType","showObjectFieldsAs","offline"],["type","danger",4,"ngIf","ngIfElse"],["type","danger"],["data-test","object-open-loading-spinner",1,"p-3",3,"appSpinner"]],template:function(Ct,Lt){if(1&Ct&&(b.j41(0,"app-side-sheet-header",2),b.EFF(1),b.k0s(),b.DNE(2,Le,3,1,"div",3)(3,Ae,2,6,"app-side-sheet-section",4)(4,Pe,3,2,"ng-template",null,0,b.C5r)),2&Ct){const Vt=b.sdS(5);b.Y8G("monitorConnection",Lt.monitorConnection),b.R7$(),b.JRh(Lt.title),b.R7$(),b.Y8G("ngIf",Lt.objectType),b.R7$(),b.Y8G("ngIf",Lt.objectType)("ngIfElse",Vt)}},changeDetection:0})}return ze})()},5374:(at,N,s)=>{"use strict";s.d(N,{V:()=>E});var n=s(22806),a=s(96354),g=s(52596),m=s(67376),O=s(93953),D=s(44667);let E=(()=>{class y{constructor(b){this.objectService=b}addListsToMetaMap(b){const L=(0,m.uniq)(b.getListsToBeFetched());return(0,m.isEmpty)(L)?(0,n.H)([b]):this.getLists(L).pipe((0,a.T)(o=>(o.forEach(C=>{C.$tip&&b.setList(C.$tip,C.items)}),b)))}getLists(b){return this.objectService.getObjects(b,g.c,void 0,void 0,!0)}static#e=this.\u0275fac=function(L){return new(L||y)(O.KVO(D.T))};static#t=this.\u0275prov=O.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},48299:(at,N,s)=>{"use strict";s.d(N,{Z:()=>I,h:()=>b});var n=s(67376),a=s(41538),g=s(3310),T=s(47735),O=s(92597),D=s(24881),E=s(13411),y=function(C){return C.UnFetched="UnFetched",C.Fetched="Fetched",C}(y||{});class I{constructor({symbologiesAndTypes:w,fields:M,fieldTypes:q,numberFormatMap:z,topLevelTips:F,extraListTips:U}){this.fieldMap=new Map,this.listMap=new Map,this.symbology=new Map,this.superTypeImplementedBy=new Map,this.fieldSubObjectTypesMap=new Map,this.subObjectsMap=new Map,this.searchableFields=new Set,w&&w.forEach(k=>this.setSymbologiesAndTypes(k,z,F)),M&&this.setFields({fields:M,numberFormatMap:z}),q&&this.setFieldSubObjectTypes({fieldTypes:q}),U&&U.forEach(k=>{this.listMap.has(k)||this.listMap.set(k,null)})}setSymbologiesAndTypes(w,M,q){const z=(0,n.get)(w,"type.$tip");if(!z)throw new Error("Object Field Meta map requires a type tip");const F=(0,n.get)(w,"implementedBy",null);F&&this.superTypeImplementedBy.set(z,F);const U=(0,n.isEmpty)(q)||(0,E.U)(q).includes(z);this.setFields({fields:(0,n.get)(w,"type.field",[]),numberFormatMap:M,searchable:U});const k=(0,n.get)(w,"symbology",null);this.setSymbology({typeTip:z,symbology:k})}setSymbology({typeTip:w,symbology:M}){(function o(C){const w=!!(0,n.get)(C,"default.icon",null),M=!!(0,n.get)(C,"default.color",null),q=!!(0,n.get)(C,"icon.listField",null),z=!!(0,n.get)(C,"color.listField",null);return w||M||q||z})(M)&&this.symbology.set(w,M)}setFields({fields:w,numberFormatMap:M,searchable:q=!0}){w.forEach(z=>{const{_datatype:F,listTip:U}=(0,a.F)({field:z});var C;this.fieldMap.set(z.$tip,{field:z,datatype:F,isMulti:(C=z,(0,n.get)(C,"maxcount",1)>1),listTip:U||null,numberFormat:M&&M.get(z.numberFormat)||null}),U&&this.listMap.set(U,null),q&&z.searchable&&this.searchableFields.add(z.$tip)})}setFieldSubObjectTypes({fieldTypes:w}){w.forEach(M=>{M.types.forEach((q,z)=>{const F=(0,n.get)(M,["fieldValues",z]);this.subObjectsMap.set(F,{subObjectSummary:null,status:y.UnFetched,type:q}),this.fieldSubObjectTypesMap.has(q)||this.fieldSubObjectTypesMap.set(q,{status:y.UnFetched,symbologyFields:[]})})})}setSubObjectSymbologies({subObjectTypeTip:w,symbologies:M}){const q=M.reduce((z,F)=>{return this.setSymbology(F),[...z,...(C=F.symbology,[(0,n.get)(C,"icon.listField",null),(0,n.get)(C,"color.listField",null)].filter(q=>null!==q))];var C},[]);this.fieldSubObjectTypesMap.set(w,{status:y.Fetched,symbologyFields:q})}setSubObjects(w){w.forEach(M=>{this.subObjectsMap.set(M.tip,{status:y.Fetched,type:M.type,subObjectSummary:M})})}getFieldMeta(w){const M=this.fieldMap.get(w);return M?{...M,listItems:this.listMap.get(M.listTip)||new Map}:null}getFieldMetaFromFormula(w){const M=(0,T.em)(w),q=(0,g.O)(w);if(M){const F=(0,T.jp)(w);switch(M.type){case T.Cp.META_DATA_FORMULA:return{field:{$tip:(0,n.last)(q),label:F,datatype:M.metaData.datatype,typerestrict:M.metaData.typerestrict,searchable:M.metaData.searchable},datatype:M.metaData.datatype,isMulti:!1,listItems:new Map};case T.Cp.COMMON_FIELD_FORMULA:const U=(0,D.HL)((0,O.iX)(M.outerFormula)),k=U.extendedDataType||U.datatype;return{field:{$tip:(0,n.last)(q),label:F,name:U.name,datatype:U.datatype,typerestrict:U.typerestrict,typeGeoRestrict:U.typeGeoRestrict,tag:U.tag},datatype:k,listTip:U.listTip,isMulti:!0,listItems:this.listMap.get(U.listTip)||new Map}}}const z=this.getFieldMeta((0,n.last)(q));return z?{...z,...q.length>1?{contextTip:(0,n.first)(q)}:{}}:null}getSubObjectTypesToBeFetched(){const w=[];return this.fieldSubObjectTypesMap.forEach((M,q)=>{M.status!==y.Fetched&&w.push(q)}),w}getSubObjectSummariesToBeFetched(){const w=[];return this.subObjectsMap.forEach((M,q)=>{if(M.status===y.Fetched)return;const z=M.type,U={symbologyFields:this.fieldSubObjectTypesMap.get(z).symbologyFields||[],subObjectTip:q,type:z};w.push(U)}),w}getSubObject(w){return(0,n.get)(this.subObjectsMap.get(w),"subObjectSummary",null)}getUnFetchedSubObjectSymbologyFieldTips(){const w=[];return this.fieldSubObjectTypesMap.forEach((M,q)=>{M.status===y.Fetched&&M.symbologyFields.forEach(z=>{this.fieldMap.has(z)||w.push(z)})}),w}getListsToBeFetched(){const w=[];return this.listMap.forEach((M,q)=>{M||w.push(q)}),w}setList(w,M=[]){const q=new Map,z=[];b(M).forEach(F=>{q.has(F.value)&&z.push(F.value),q.set(F.value,F)}),this.listMap.set(w,q),(0,n.isEmpty)(z)||console.warn(`The list ${w} has duplicate items:`,(0,n.uniq)(z))}getListForField(w){return(0,n.get)(this.getFieldMeta(w),"listItems",null)||(console.error(`No list for fieldTip: ${w}`),new Map)}typeHasSymbology(w){return(this.superTypeImplementedBy.has(w)?this.superTypeImplementedBy.get(w):[w]).reduce((q,z)=>!!this.getTypeSymbology(z)||q,!1)}getTypeSymbology(w){return this.symbology.get(w)||null}getSymbology({typeTip:w,colorValue:M,iconValue:q}){const z=this.getTypeSymbology(w);if(!z)return null;let F=(0,n.get)(z,"default.color","");const U=(0,n.get)(z,"color.listField");if(M&&U){const B=this.getListForField(U),j=(0,n.get)(B.get(M),"color",null);j&&(F=j)}let k=(0,n.get)(z,"default.icon","");const Y=(0,n.get)(z,"icon.listField");if(q&&Y){const B=this.getListForField(Y),j=(0,n.get)(B.get(q),"icon",null);j&&(k=j)}return{icon:k,color:F,label:(0,n.get)(z,"default.label","")}}}function b(C,w=0,M=50){let q=[];return C.forEach(z=>{q.push(z),z.items&&z.items.length&&w<M&&(z.items.forEach(U=>U.parentValue=z.value),q=[...b(z.items,w+1,M),...q])}),q}},81514:(at,N,s)=>{"use strict";s.d(N,{_:()=>$});var n=s(96354),a=s(25558),g=s(88141),m=s(99437),T=s(7673),O=s(84572),D=s(93760),E=s(41793),y=s(48636),I=s(48299),b=s(13411),L=s(67376),C=s(3310),w=s(47735),M=s(24881),q=s(92597),z=s(93953),F=s(12225),U=s(44667),k=s(5374),Y=s(54071),x=s(32099),B=s(76087);const j={"app/object-type:type":{name:"type",type:y.U.object,scheme:D.m},"app/object-type:symbology":{name:"symbology",type:y.U.json}};let $=(()=>{class H{constructor(ne,Q,le,pe,te,ae){this.allObjectTypesService=ne,this.objectService=Q,this.objectRenderMetaListService=le,this.numberFormatService=pe,this.loggerService=te,this.formulaService=ae}getObjectMeta(ne,Q=[]){const le=[],pe=[];return this.getSymbologyAndTypeFromTypes(ne,le).pipe((0,a.n)(this.addTableColumnsMap(Q,pe)),(0,a.n)(ae=>this.numberFormatService.getNumberFormatMap().pipe((0,n.T)(K=>new I.Z({symbologiesAndTypes:ae,numberFormatMap:K,topLevelTips:le,extraListTips:pe})))),(0,a.n)(ae=>this.objectRenderMetaListService.addListsToMetaMap(ae)))}addTableColumnsMap(ne,Q=[]){return le=>{const pe=(0,L.uniq)((0,L.compact)(ne.reduce((te,ae)=>{const K=(0,w.em)(ae);if(K&&K.type===w.Cp.COMMON_FIELD_FORMULA){const Me=(0,M.HL)((0,q.iX)(K.outerFormula));return Me.listTip&&Q.push(Me.listTip),te}const de=(0,L.last)((0,C.O)(ae));return le.some(Me=>Me.type.field&&Me.type.field.some(me=>me.$tip===de))||te.push(de),te},[])));return(0,L.isEmpty)(pe)?(0,T.of)(le):this.formulaService.evaluate('UNIQUE(CONTEXT(VAR("fieldTips"), REFERENCES("type/field")))',void 0,void 0,{fieldTips:pe}).pipe((0,a.n)(te=>this.getSymbologyAndTypeFromTypes(te)),(0,n.T)(te=>(te.forEach(ae=>(0,L.pullAt)(ae.type.field,ae.type.field.reduce((K,de,Me)=>(pe.includes(de.$tip)||K.push(Me),K),[]))),te)),(0,n.T)(te=>[...le,...te]))}}getSymbologyAndTypeFromTypes(ne,Q=[]){return(0,L.isEmpty)(ne)?(0,T.of)([]):this.allObjectTypesService.getObjectTypes$((0,b.U)(ne)).pipe((0,a.n)(le=>this.getSymbologyAndTypes({objectTypeSummaries:le,typeOrSuperTypeTip:ne})),(0,g.M)(le=>Q.push(...le.map(pe=>pe.type.$tip))),(0,m.W)(le=>(this.loggerService.warn(le),(0,T.of)([]))))}getSymbologyAndTypes({objectTypeSummaries:ne,typeOrSuperTypeTip:Q}){return this.preparePullTips({objectTypeSummaries:ne,typeOrSuperTypeTip:Q}).pipe((0,a.n)(({superTypeTips:le,systemTypeTips:pe,objectTypeTips:te})=>(0,O.z)([this.getMultiSuperTypes(Array.from(le)),this.getMultiSystemTypes(Array.from(pe)),this.getMultiObjectTypes(Array.from(te))])),(0,n.T)(L.flatten))}preparePullTips({objectTypeSummaries:ne,typeOrSuperTypeTip:Q,noSuperType:le=!1}){const pe=new Set,te=new Set,ae=new Set,K=new Set;return ne.forEach(de=>{if(null!==de){if(!le||!de.superType){if(de.superType)return te.add(de.superTypeTip),void Array.from(de.isImplementedBy).forEach(pe.add,pe);if(de.systemType)return de.innerType?void ae.add(de.innerType):void this.loggerService.warn(`[ObjectRenderMetaService] No tip for system type, objectTypeSummary: ${JSON.stringify(de)}`);if(!de.appObjectType)return void this.loggerService.warn(`[ObjectRenderMetaService] No tip for app/object-type, objectTypeSummary: ${JSON.stringify(de)}`);K.add(de.appObjectType)}}else this.loggerService.warn(`[ObjectRenderMetaService] No type or supertype: "${Q}" present in the allObjectTypeService`)}),0===pe.size?(0,T.of)({superTypeTips:te,systemTypeTips:ae,objectTypeTips:K}):this.allObjectTypesService.getObjectTypes$(Array.from(pe)).pipe((0,a.n)(de=>this.preparePullTips({objectTypeSummaries:de,typeOrSuperTypeTip:Array.from(pe),noSuperType:!0})),(0,n.T)(de=>(Array.from(de.systemTypeTips).forEach(ae.add,ae),Array.from(de.objectTypeTips).forEach(K.add,K),{superTypeTips:te,systemTypeTips:ae,objectTypeTips:K})))}getMultiObjectTypes(ne){return this.objectService.getObjects(ne,j,void 0,void 0,!0)}getMultiSystemTypes(ne){return this.objectService.getObjects(ne,D.m,void 0,void 0,!0).pipe((0,n.T)(Q=>Q.map(le=>({type:le,symbology:{}}))))}getMultiSuperTypes(ne){return this.objectService.getObjects(ne,E.l,void 0,void 0,!0).pipe((0,n.T)(Q=>Q.map(le=>({type:le,symbology:{}}))))}static#e=this.\u0275fac=function(Q){return new(Q||H)(z.KVO(F.b),z.KVO(U.T),z.KVO(k.V),z.KVO(Y.w),z.KVO(x.g),z.KVO(B.C))};static#t=this.\u0275prov=z.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},32803:(at,N,s)=>{"use strict";s.d(N,{$:()=>H});var n=s(89417),a=s(18359),g=s(21413),m=s(7673),T=s(56977),O=s(61594),D=s(88141),E=s(50701),y=s(43452),I=s(69172),b=s(5002),L=s(82785),o=s(93953),C=s(50337),w=s(66386),M=s(10506);const q=ie=>({loadingInProgress:ie});function z(ie,ne){1&ie&&o.eu8(0)}function F(ie,ne){if(1&ie&&(o.j41(0,"div",18),o.EFF(1),o.k0s()),2&ie){const Q=o.XpG(3);o.R7$(),o.JRh(Q.readCohortLabel)}}function U(ie,ne){if(1&ie&&(o.j41(0,"div",18),o.EFF(1),o.k0s()),2&ie){const Q=o.XpG(3);o.R7$(),o.JRh(Q.collaborateCohortLabel)}}function k(ie,ne){if(1&ie&&(o.j41(0,"div",18),o.EFF(1),o.k0s()),2&ie){const Q=o.XpG(4);o.R7$(),o.JRh(Q.modifyCohortLabel)}}function Y(ie,ne){if(1&ie){const Q=o.RV6();o.j41(0,"app-side-sheet-list-item",19),o.bIt("click",function(){o.eBV(Q);const pe=o.XpG(3);return o.Njj(!pe.disabled&&pe.openModifyAction())}),o.qex(1),o.pXf(2,6),o.bVm(),o.DNE(3,k,2,1,"div",16),o.k0s()}if(2&ie){const Q=o.XpG(3);o.Y8G("disabled",Q.disabled)("hasChevron",!0)("value",Q.modifyCohortCount),o.R7$(3),o.Y8G("ngIf",Q.modifyCohortLabel)}}function x(ie,ne){if(1&ie&&(o.j41(0,"div",18),o.EFF(1),o.k0s()),2&ie){const Q=o.XpG(3);o.R7$(),o.JRh(Q.changeCohortLabel)}}function B(ie,ne){if(1&ie&&(o.j41(0,"div",18),o.EFF(1),o.k0s()),2&ie){const Q=o.XpG(3);o.R7$(),o.JRh(Q.deleteCohortLabel)}}function j(ie,ne){if(1&ie){const Q=o.RV6();o.j41(0,"app-side-sheet-section",14)(1,"app-side-sheet-list-item",15),o.bIt("click",function(){o.eBV(Q);const pe=o.XpG(2);return o.Njj(!pe.disabled&&pe.openReadAction())}),o.qex(2),o.pXf(3,2),o.bVm(),o.DNE(4,F,2,1,"div",16),o.k0s(),o.j41(5,"app-side-sheet-list-item",15),o.bIt("click",function(){o.eBV(Q);const pe=o.XpG(2);return o.Njj(!pe.disabled&&pe.openCollaborateAction())}),o.qex(6),o.pXf(7,3),o.bVm(),o.DNE(8,U,2,1,"div",16),o.k0s(),o.DNE(9,Y,4,4,"app-side-sheet-list-item",17),o.j41(10,"app-side-sheet-list-item",15),o.bIt("click",function(){o.eBV(Q);const pe=o.XpG(2);return o.Njj(!pe.disabled&&pe.openChangeAction())}),o.qex(11),o.pXf(12,4),o.bVm(),o.DNE(13,x,2,1,"div",16),o.k0s(),o.j41(14,"app-side-sheet-list-item",15),o.bIt("click",function(){o.eBV(Q);const pe=o.XpG(2);return o.Njj(!pe.disabled&&pe.openDeleteAction())}),o.qex(15),o.pXf(16,5),o.bVm(),o.DNE(17,B,2,1,"div",16),o.k0s()()}if(2&ie){const Q=o.XpG(2);o.Y8G("showBorder",!0),o.R7$(),o.Y8G("value",Q.readCohortCount)("hasChevron",!0)("disabled",Q.disabled),o.R7$(3),o.Y8G("ngIf",Q.readCohortLabel),o.R7$(),o.Y8G("value",Q.collaborateCohortCount)("hasChevron",!0)("disabled",Q.disabled),o.R7$(3),o.Y8G("ngIf",Q.collaborateCohortLabel),o.R7$(),o.Y8G("appIfFeatureFlag",Q.FeatureFlags.FEATURE_EIM_24175_OBJECT_EDIT_SECURITY_POLICY),o.R7$(),o.Y8G("value",Q.changeCohortCount)("hasChevron",!0)("disabled",Q.disabled),o.R7$(3),o.Y8G("ngIf",Q.changeCohortLabel),o.R7$(),o.Y8G("value",Q.deleteCohortCount)("hasChevron",!0)("disabled",Q.disabled),o.R7$(3),o.Y8G("ngIf",Q.deleteCohortLabel)}}function $(ie,ne){if(1&ie){const Q=o.RV6();o.j41(0,"app-side-sheet-header",8),o.bIt("actioned",function(){o.eBV(Q);const pe=o.XpG();return o.Njj(pe.done())}),o.pXf(1,1),o.k0s(),o.j41(2,"div",9)(3,"app-side-sheet-section",10)(4,"form",11),o.nrm(5,"app-security-policy-chooser",12),o.nI1(6,"async"),o.k0s()(),o.DNE(7,j,18,18,"app-side-sheet-section",13),o.k0s()}if(2&ie){const Q=ne.loadingInProgress,le=o.XpG();o.Y8G("disabled",Q||le.disabled)("monitorConnection",le.monitorConnection),o.R7$(2),o.Y8G("appSpinner",Q),o.R7$(),o.Y8G("showBorder",!1),o.R7$(),o.Y8G("formGroup",le.securityPolicyForm),o.R7$(),o.Y8G("showCustom",o.bMT(6,10,le.canEditCustomPolicies$))("disabled",le.disabled)("monitorConnection",le.monitorConnection)("canAdd",le.canAdd),o.R7$(2),o.Y8G("ngIf","__CUSTOM__"===le.securityPolicyTip)}}let H=(()=>{class ie{constructor(Q,le,pe,te,ae){this.securityService=Q,this.sideSheetService=le,this.connectionService=pe,this.featureAccessService=te,this.featureFlagStateService=ae,this.bespokeSecurityPolicy=null,this.subs=new a.yU,this.LoadingState=I.Gu,this.securityPolicyForm=new n.gE({securityPolicyTip:new n.MJ("")}),this.monitorConnection=!1,this.disabled=!1,this.destroyed$=new g.B,this.FeatureFlags=b.g}ngOnInit(){this.subscribeToPolicyChooser(),this.progressWrap(this.initializeSecurityPolicy$()),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,T.Q)(this.destroyed$)).subscribe(le=>{this.disabled=!le});const Q=this.featureFlagStateService.isFeatureEnabled(b.g.FEATURE_EIM_9155_RESTRICT_ABILITY_TO_GOVERN_SECURITY_POLICIES_USING_FAC);this.canEditCustomPolicies$=Q?this.featureAccessService.canAccess$(L.l.CustomSecurityPolicies):(0,m.of)(!0)}ngOnDestroy(){this.subs.unsubscribe(),this.destroyed$.next(),this.destroyed$.complete()}subscribeToPolicyChooser(){this.subs.add(this.securityPolicyForm.valueChanges.subscribe(Q=>this.progressWrap(this.loadSecurityPolicy$(Q.securityPolicyTip))))}progressWrap(Q){this.loadingState=I.Gu.inProgress,this.subs.add(Q.subscribe({next:()=>{this.afterSecurityPolicyChange(),this.loadingState=I.Gu.loaded},error:()=>this.loadingState=I.Gu.failed}))}afterSecurityPolicyChange(){this.securityPolicyForm.value.securityPolicyTip!==this.securityPolicyTip&&this.securityPolicyForm.setValue({securityPolicyTip:this.securityPolicyTip}),"__CUSTOM__"===this.securityPolicyTip&&(this.refreshCohortCounts(),this.refreshCohortLabels())}initializeSecurityPolicy$(){return this.bespokeSecurityPolicy?(this.securityPolicyTip="__CUSTOM__",(0,m.of)(null)):(this.bespokeSecurityPolicy={name:"Custom security policy",type:E.h.BESPOKE},this.securityPolicyTip?this.loadSecurityPolicy$(this.securityPolicyTip):this.defaultSecurityPolicy$())}defaultSecurityPolicy$(){return this.securityService.getNewObjectSecurityPolicyTip$().pipe((0,O.$)(),(0,D.M)(Q=>this.securityPolicyTip=Q))}loadSecurityPolicy$(Q){return"__CUSTOM__"===Q?(this.securityPolicyTip="__CUSTOM__",(0,m.of)(null)):this.securityService.getSecurityPolicy$(Q).pipe((0,O.$)(),(0,D.M)(le=>{le.type===E.h.BESPOKE?(this.bespokeSecurityPolicy=le,this.securityPolicyTip="__CUSTOM__"):this.securityPolicyTip=Q}))}done(){this.onDone&&("__CUSTOM__"===this.securityPolicyTip?this.onDone(null,this.bespokeSecurityPolicy):this.onDone(this.securityPolicyTip,null)),this.sideSheetService.pop()}refreshCohortCounts(){this.readCohortCount=this.securityService.cohortsTips(this.bespokeSecurityPolicy.readCohorts).length,this.collaborateCohortCount=this.securityService.cohortsTips(this.bespokeSecurityPolicy.collaborateCohorts).length,this.modifyCohortCount=this.securityService.cohortsTips(this.bespokeSecurityPolicy.modifyCohorts).length,this.changeCohortCount=this.securityService.cohortsTips(this.bespokeSecurityPolicy.changeCohorts).length,this.deleteCohortCount=this.securityService.cohortsTips(this.bespokeSecurityPolicy.deleteCohorts).length}refreshCohortLabels(){this.readCohortLabel=this.securityService.cohortsLabelSummary(this.bespokeSecurityPolicy.readCohorts),this.collaborateCohortLabel=this.securityService.cohortsLabelSummary(this.bespokeSecurityPolicy.collaborateCohorts),this.modifyCohortLabel=this.securityService.cohortsLabelSummary(this.bespokeSecurityPolicy.modifyCohorts),this.changeCohortLabel=this.securityService.cohortsLabelSummary(this.bespokeSecurityPolicy.changeCohorts),this.deleteCohortLabel=this.securityService.cohortsLabelSummary(this.bespokeSecurityPolicy.deleteCohorts)}openReadAction(){this.openAction("readCohorts","read-only")}openCollaborateAction(){this.openAction("collaborateCohorts","read & collaborate")}openModifyAction(){this.openAction("modifyCohorts","read, collaborate & edit")}openChangeAction(){this.openAction("changeCohorts","read, collaborate, edit & security")}openDeleteAction(){this.openAction("deleteCohorts","read, collaborate, edit, security & delete")}openAction(Q,le){const pe=this.bespokeSecurityPolicy[Q];this.canEditCustomPolicies$.pipe((0,O.$)()).subscribe(te=>{this.sideSheetService.pushV2(y.M,{selectedUsers:pe?.users??[],selectedProfiles:pe?.profiles??[],selectedTeams:pe?.teams??[],selectedRoles:pe?.roles??[],actionLabel:le,title:this.bespokeSecurityPolicy.name,readonly:!te,monitorConnection:this.monitorConnection,onDone:ae=>{this.bespokeSecurityPolicy[Q]=ae,this.refreshCohortCounts(),this.refreshCohortLabels()}})})}static#e=this.\u0275fac=function(le){return new(le||ie)(o.rXU(E.i),o.rXU(C.E),o.rXU(w.K),o.rXU(L.Y),o.rXU(M.F))};static#t=this.\u0275cmp=o.VBU({type:ie,selectors:[["app-object-security-side-sheet"]],decls:3,vars:4,consts:()=>{let Q,le,pe,te,ae,K,de,Me,me,be;return Q="Done",le="Security policy",pe="Select security policy",te="Custom security policy",ae=" Edit security policy ",K="Read-only",de="Read & collaborate",Me="Read, collaborate, edit & security",me="Read, collaborate, edit, security & delete",be="Read, collaborate & edit",[["bespokePolicyView",""],ae,K,de,Me,me,be,[4,"ngTemplateOutlet","ngTemplateOutletContext"],["action",Q,3,"actioned","disabled","monitorConnection"],[3,"appSpinner"],[3,"showBorder"],[3,"formGroup"],["formControlName","securityPolicyTip","label",le,"placeholder",pe,3,"showCustom","disabled","monitorConnection","canAdd"],["title",te,3,"showBorder",4,"ngIf"],["title",te,3,"showBorder"],["toggleType","number",3,"click","value","hasChevron","disabled"],["class","action-label",4,"ngIf"],["toggleType","number",3,"disabled","hasChevron","value","click",4,"appIfFeatureFlag"],[1,"action-label"],["toggleType","number",3,"click","disabled","hasChevron","value"]]},template:function(le,pe){if(1&le&&o.DNE(0,z,1,0,"ng-container",7)(1,$,8,12,"ng-template",null,0,o.C5r),2&le){const te=o.sdS(2);o.Y8G("ngTemplateOutlet",te)("ngTemplateOutletContext",o.eq3(2,q,pe.loadingState===pe.LoadingState.inProgress))}},styles:[".action-label[_ngcontent-%COMP%]{font-size:.8em}"]})}return ie})()},25966:(at,N,s)=>{"use strict";s.d(N,{e:()=>ne});var n=s(93953),a=s(89417),g=s(67376),T=s(7673),O=s(61594),D=s(96354),E=s(70980),y=s(96697),I=s(10195),b=s(78896),L=s(14784),o=s(44667),C=s(71631),w=s(50337),M=s(79659),q=s(60177),z=s(99213),F=s(36193);const U=["*"],k=(Q,le,pe)=>({"form-group":Q,required:le,optional:pe}),Y=Q=>({"btn-social":Q});function x(Q,le){if(1&Q&&(n.j41(0,"label",7),n.EFF(1),n.k0s()),2&Q){const pe=n.XpG();n.AVh("disabled",pe.disabled),n.Y8G("for",pe.uniqueId),n.R7$(),n.JRh(pe.label)}}function B(Q,le){if(1&Q&&(n.j41(0,"div",11),n.EFF(1),n.k0s()),2&Q){const pe=n.XpG(2);n.R7$(),n.JRh(pe.moduleName)}}function j(Q,le){if(1&Q&&(n.qex(0),n.j41(1,"div",8)(2,"div",9),n.EFF(3),n.k0s(),n.DNE(4,B,2,1,"div",10),n.k0s(),n.bVm()),2&Q){const pe=n.XpG();n.R7$(3),n.JRh(pe.objectTypeLabel),n.R7$(),n.Y8G("ngIf",pe.moduleName)}}function $(Q,le){if(1&Q){const pe=n.RV6();n.j41(0,"span",12)(1,"mat-icon",13),n.bIt("click",function(ae){n.eBV(pe);const K=n.XpG();return n.Njj(K.clickToolIcon(ae))}),n.k0s()()}}function H(Q,le){if(1&Q&&(n.j41(0,"span",14),n.EFF(1),n.k0s()),2&Q){const pe=n.XpG();n.R7$(),n.JRh(pe.placeholder||"Select object type")}}function ie(Q,le){1&Q&&(n.j41(0,"div",15),n.nrm(1,"span",16),n.k0s())}let ne=(()=>{class Q{constructor(pe,te,ae,K,de){this.meService=pe,this.objectService=te,this.objectTypeService=ae,this.sideSheetService=K,this.typeChooserComponentService=de,this.inline=!1,this.readonly=!1,this.disabled=!1,this.required=!1,this.optional=!1,this.uniqueId=(0,g.uniqueId)("app-object-type-chooser-"),this.onChange=Me=>{},this.onTouched=()=>{}}ngOnInit(){this.isAdmin$=this.meService.isAdmin$()}selectType(){this.onTouched(),this.disabled||this.readonly||(this.disabled=!0,(this.objectTypeTip?this.objectTypeService.getObjectType(this.objectTypeTip).pipe((0,O.$)(),(0,D.T)(({type:te})=>[te.$tip])):(0,T.of)([])).pipe((0,E.j)(()=>this.disabled=!1)).subscribe(te=>{const K=this.sideSheetService.push(b.j).componentInstance;K.selected=te,K.minSelect=this.required?1:0,K.maxSelect=1,K.includeSuperTypes=!1,K.includeSystemTypes=!1,K.importUsers=!1,K.formTypeSelected=this.formTypeSelected,K.onDone=(de,{type:Me})=>{const me=(0,g.head)(de)||null,{label:be,module:Le}=Me;this.objectTypeLabel=be,this.moduleName=Le,this.typeChooserComponentService.getObjectType(me).pipe((0,O.$)()).subscribe(({appObjectType:Ae})=>{this.objectTypeTip=Ae,this.onChange(Ae)})}}))}writeValue(pe){this.setDisplayValue(pe)}setDisplayValue(pe){this.objectTypeLabel="",pe?(this.objectTypeTip=pe,this.objectService.getObject(pe,I.a).pipe((0,y.s)(1)).subscribe(te=>{this.objectTypeLabel=te.type.label,this.setModuleName(pe)})):this.objectTypeTip=null}registerOnChange(pe){this.onChange=pe}registerOnTouched(pe){this.onTouched=pe}setDisabledState(pe){this.disabled=pe}clickToolIcon(pe){this.objectTypeService.openObjectTypeDesignPage(pe,this.objectTypeTip)}setModuleName(pe){this.objectTypeService.getModuleNameFromObjectTypeTip(pe).subscribe(te=>{this.moduleName=te})}static#e=this.\u0275fac=function(te){return new(te||Q)(n.rXU(L.Q),n.rXU(o.T),n.rXU(C.h),n.rXU(w.E),n.rXU(M.y))};static#t=this.\u0275cmp=n.VBU({type:Q,selectors:[["app-object-type-chooser"]],inputs:{inline:"inline",label:"label",placeholder:"placeholder",readonly:"readonly",disabled:"disabled",required:"required",optional:"optional",formTypeSelected:"formTypeSelected"},features:[n.Jv_([{provide:a.kq,useExisting:(0,n.Rfq)(()=>Q),multi:!0}])],ngContentSelectors:U,decls:10,vars:16,consts:[["placeholderEl",""],[3,"ngClass"],["class","control-label",3,"disabled","for",4,"ngIf"],[1,"btn","btn-secondary","px-3","d-flex","flex-row","justify-content-between","align-items-center","object-type-btn",3,"click","ngClass"],[4,"ngIf","ngIfElse"],["class","tool-icon",4,"ngIf"],["class","h1 m-0 ml-2",4,"ngIf"],[1,"control-label",3,"for"],[1,"object-type-chooser-content"],[1,"display-value","align-left","object-type-label","eim-font-color_main"],["class","align-left eim-font-size_small eim-font-color_grey",4,"ngIf"],[1,"align-left","eim-font-size_small","eim-font-color_grey"],[1,"tool-icon"],["appTabIndex","","svgIcon","admin-tool",1,"flex-shrink-0",3,"click"],[1,"placeholder-text"],[1,"h1","m-0","ml-2"],[1,"icon-dropdown","mdi","mdi-chevron-right"]],template:function(te,ae){if(1&te){const K=n.RV6();n.NAR(),n.j41(0,"div",1),n.DNE(1,x,2,4,"label",2),n.j41(2,"button",3),n.bIt("click",function(){return n.eBV(K),n.Njj(ae.selectType())}),n.DNE(3,j,5,2,"ng-container",4)(4,$,2,0,"span",5),n.nI1(5,"async"),n.DNE(6,H,2,1,"ng-template",null,0,n.C5r)(8,ie,2,0,"div",6),n.k0s(),n.SdG(9),n.k0s()}if(2&te){const K=n.sdS(7);n.Y8G("ngClass",n.sMw(10,k,!ae.inline,ae.required,ae.optional)),n.R7$(),n.Y8G("ngIf",ae.label),n.R7$(),n.Y8G("ngClass",n.eq3(14,Y,ae.inline)),n.BMQ("disabled",ae.disabled?"":null),n.R7$(),n.Y8G("ngIf",ae.objectTypeTip)("ngIfElse",K),n.R7$(),n.Y8G("ngIf",ae.objectTypeTip&&ae.moduleName&&n.bMT(5,8,ae.isAdmin$)),n.R7$(4),n.Y8G("ngIf",!ae.readonly)}},dependencies:[q.YU,q.bT,z.An,F.d,q.Jj],styles:["label.disabled[_ngcontent-%COMP%]{color:#757575}.btn-secondary[_ngcontent-%COMP%]{width:100%;background:#fff;font-weight:400;text-align:left}.mdi-chevron-right[_ngcontent-%COMP%]{color:#a9a8b1}.placeholder-text[_ngcontent-%COMP%]{color:#757575}.readonly-form-control[_ngcontent-%COMP%]{opacity:1!important}.readonly-form-control[_ngcontent-%COMP%]:hover{background:#fff!important}.object-type-label[_ngcontent-%COMP%]{font-size:1.1rem}.object-type-chooser-content[_ngcontent-%COMP%]{width:100%;line-height:1.4rem;padding:10px 0}.tool-icon[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px;border-right:.5px solid #dbdfe2;border-left:.5px solid #dbdfe2;height:30px;display:flex;align-items:center;margin-right:20px}.tool-icon[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{display:flex;width:20px;height:20px;color:#5a7186}.object-type-btn[_ngcontent-%COMP%]{height:100%!important}"]})}return Q})()},8076:(at,N,s)=>{"use strict";s.d(N,{T:()=>$});var n=s(67376),a=s(27468),g=s(7673),m=s(96697),T=s(25558),O=s(88141),D=s(96354),E=s(61594),y=s(41793),I=s(93760),b=s(76194),L=s(48636),o=s(63537),C=s(41538);const w={[b.HT.string]:L.U.stringArray,[b.HT.string_i18n]:L.U.i18nArray,[b.HT.json]:L.U.jsonArray,[b.HT.bool]:L.U.booleanArray,[b.HT.number]:L.U.numberArray,[b.HT.object]:L.U.stringArray,[b.HT.datetime]:L.U.datetimeArray,[b.HT.date]:L.U.datetimeArray,[b.HT.uri]:L.U.uriArray,[b.HT.email]:L.U.emailArray,[b.HT.phone]:L.U.phoneArray,[b.HT.geography]:L.U.geographyArray},M={[b.HT.string]:L.U.string,[b.HT.string_i18n]:L.U.i18n,[b.HT.json]:L.U.json,[b.HT.bool]:L.U.boolean,[b.HT.number]:L.U.number,[b.HT.object]:L.U.string,[b.HT.datetime]:L.U.datetime,[b.HT.date]:L.U.datetime,[b.HT.uri]:L.U.uri,[b.HT.email]:L.U.email,[b.HT.phone]:L.U.phone,[b.HT.geography]:L.U.geography};var F=s(18099),U=s(20857),k=s(93953),Y=s(44667),x=s(99760),B=s(76087),j=s(51229);let $=(()=>{class H{constructor(ne,Q,le,pe){this.dataObjectService=ne,this.enoService=Q,this.formulaService=le,this.queryService=pe}getScheme(ne){return ne.field.reduce((Q,le)=>{const{$tip:pe}=le,{_datatype:te}=(0,C.F)({field:le});return Q[pe]=function q(H,ie){const{$tip:ne,datatype:Q,maxcount:le}=H;return(ie||(0,C.F)({field:H}))===b.TV.assignable?{name:ne,type:L.U.object,scheme:o.y,mutable:!0}:function z(H,ie){return{name:H,type:ie}}(ne,le&&1===le?M[Q]:w[Q])}(le,te),Q},{})}getObjectAndType(ne,Q,le){const pe={objectData:null,objectType:null,objectScheme:null};return this.enoService.readEno(ne,{branch:Q,useCache:le}).pipe((0,m.s)(1),(0,T.n)(te=>this.dataObjectService.getObject(te.source.type,I.m)),(0,O.M)(te=>pe.objectType=te),(0,D.T)(te=>this.getScheme(te)),(0,O.M)(te=>pe.objectScheme=te),(0,T.n)(()=>this.dataObjectService.getObject(ne,pe.objectScheme,Q)),(0,O.M)(te=>pe.objectData=te),(0,D.T)(()=>pe))}getObjectTypeSchemeSubObject(ne,Q,le){return this.getObjectAndType(ne,Q,le).pipe((0,T.n)(pe=>{const te=(0,n.get)(pe,"objectData.$security",null);return this.enoService.readEno(te).pipe((0,D.T)(ae=>{const K=(0,n.head)(ae.getFieldValues("security/policy/label")),de=(0,F.C)(K);return{...pe,isSubObject:de}}))}))}getObjectsDataWithTypeAndScheme(ne){const Q=ne.map(le=>this.getObjectAndType(le).pipe((0,E.$)()));return(0,a.p)(Q)}getType(ne){const Q={objectData:{},objectType:null,objectScheme:null};return this.getPlainType(ne).pipe((0,O.M)(le=>Q.objectType=le),(0,D.T)(le=>this.getScheme(le)),(0,O.M)(le=>Q.objectScheme=le),(0,D.T)(()=>Q))}getPlainType(ne){const Q=(0,U.GE)(ne)?y.l:I.m;return this.dataObjectService.getObject(ne,Q)}mapBatchResultsToTip(ne,Q){if(0===ne.length)return null;const le=(0,n.last)(ne).tip;if(!le)throw new Error("[ObjectService/mapBatchResultsToTip] Missing Tip on received batch results.");return Q?Q!==le?null:Q:le}updateObject(ne,Q,le){return this.dataObjectService.setObject(ne,Q,le).pipe((0,D.T)(pe=>this.mapBatchResultsToTip(pe,ne.$tip)))}deleteObject(ne){return this.dataObjectService.deleteObject(ne).pipe((0,m.s)(1))}getTitles(ne){return ne&&0!==ne.length?(Array.isArray(ne)||(ne=[ne]),this.formulaService.evaluate(`TITLE(ARRAY("${ne.join('","')}"))`).pipe((0,D.T)(Q=>ne.map((le,pe)=>({$tip:le,title:Q[pe]}))))):(0,g.of)([])}isSuperType$(ne){return(0,g.of)((0,U.GE)(ne))}static#e=this.\u0275fac=function(Q){return new(Q||H)(k.KVO(Y.T),k.KVO(x.g),k.KVO(B.C),k.KVO(j.c))};static#t=this.\u0275prov=k.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})()},60879:(at,N,s)=>{"use strict";s.d(N,{z:()=>L});var n=s(11819),a=s(55516),g=s(92597);const m={label:"If object type contains search value or if object type's module contains search value",formula:(0,g.Ac)({name:"INARRAY",args:[{name:"UNIQUE",args:[{name:"ARRAY",args:[{name:"MAP",args:[{name:"SEARCH_IN_TYPE",args:[{name:"VAR",args:["Search value"]},"app/module"]},{name:"FIELD",args:["app/module:object-types",{name:"VAR",args:["Value"]}]}]},{name:"SEARCH_IN_TYPE",args:[{name:"VAR",args:["Search value"]},"app/object-type"]}]}]},{name:"TIP",args:[]}]})},T={label:"If object type contains search value",formula:(0,g.Ac)({name:"INARRAY",args:[{name:"SEARCH_IN_TYPE",args:[{name:"VAR",args:["Search value"]},"app/object-type"]},{name:"TIP",args:[]}]})},O={label:"If object type tips are provided",formula:(0,g.Ac)({name:"INARRAY",args:[{name:"VAR",args:["Existing tip"]},{name:"TIP",args:[]}]})},E={textFilterV1:m,textFilterV2:T,contactTypeFilter:{label:"implements contact super type",formula:(0,g.Ac)({name:"INARRAY",args:[{name:"REFERENCES",args:["app/object-type:type",{name:"REFERENCES",args:["type/implements","app/super-type/contact"]}]},{name:"TIP",args:[]}]})},objectTypeTipFilter:O};var y=s(67376),I=s(93953),b=s(51229);let L=(()=>{class o{constructor(w){this.queryService=w}getAllObjectTypes(w,M,q,z,F=[]){const U={dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:w,limit:M,sortby:['META_FIELD("app/search-meta-fields/title")'],sortdir:["asc"]}]};return z===n.jo.CONTACT_SELF_SERVICE&&(U.extraFilters=[E.contactTypeFilter]),q&&(U.vars={"Search value":[q]},U.extraFilters=[...U?.extraFilters||[],E.textFilterV2]),(0,y.isEmpty)(F)||(U.vars={"Existing tip":F},U.extraFilters=[...U?.extraFilters||[],E.objectTypeTipFilter]),this.queryService.execute1dFirst(a.R.GET_ALL_OBJECT_TYPES_V2,U)}static#e=this.\u0275fac=function(M){return new(M||o)(I.KVO(b.c))};static#t=this.\u0275prov=I.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},20857:(at,N,s)=>{"use strict";s.d(N,{GE:()=>m,it:()=>n});const n=[{$tip:"app/super-type/contact",label:"All contacts"},{$tip:"app/super-type/email-capable",label:"All email recipients"},{$tip:"app/super-type/sms-capable",label:"All SMS recipients"},{$tip:"app/super-type/org-structure",label:"All organizational structures",isHierarchical:!0},{$tip:"app/super-type/control",label:"All controls",isHierarchical:!0},{$tip:"app/super-type/risk",label:"All risks",isHierarchical:!0},{$tip:"app/super-type/event",label:"All events"},{$tip:"app/super-type/log",label:"All logs"},{$tip:"app/super-type/asset",label:"All assets"},{$tip:"app/super-type/assignable",label:"All assignable"},{$tip:"app/super-type/report",label:"All reports"},{$tip:"app/super-type/inspection",label:"All inspections"},{$tip:"app/super-type/voice-message-capable",label:"All voice message recipients"},{$tip:"app/super-type/message/inbound",label:"All inbound messages"},{$tip:"app/super-type/identity-provider",label:"All identity provider"},{$tip:"app/super-type/meeting-room",label:"All meeting rooms"}];let a=null;function m(T){return function g(){return a||(a=n.reduce((T,O)=>(T.set(O.$tip,O),T),new Map)),a}().has(T)}},98305:(at,N,s)=>{"use strict";s.d(N,{$f:()=>rt,$x:()=>Oe,Ag:()=>Pe,Dp:()=>ie,ES:()=>T,Fm:()=>Ct,Gq:()=>$e,Hz:()=>jn,JG:()=>te,O3:()=>Rn,PM:()=>ft,R8:()=>Vt,RB:()=>Be,Rt:()=>O,SQ:()=>H,ST:()=>Li,VW:()=>ze,Vi:()=>di,X:()=>Xe,Y3:()=>Qe,_Y:()=>Ae,aH:()=>In,bk:()=>ht,dh:()=>Se,i4:()=>be,j9:()=>gt,jx:()=>Lt,kJ:()=>j,lH:()=>It,mb:()=>ke,n0:()=>Y,nF:()=>wn,nU:()=>Kt,o1:()=>K,p_:()=>g,qN:()=>Me,qS:()=>zn,qk:()=>Xt,sA:()=>k,tE:()=>Ne,u8:()=>Je,uH:()=>Ye,ue:()=>n,vJ:()=>Le,vo:()=>Ge,z2:()=>Di,zF:()=>Ze});const n="app/plan",g="app/checklist",T="app/group",O="Groups",k="app/team",Y="Teams",j="app/user",H="app/profile",ie="Profiles",te="app/shift",K="app/shift-pattern",Me="app/calendar-event",me="Calendar events",be="app/au-gov/protective-marking",Le="Protective markings",Ae="app/solution",Oe="Solutions",Xe="app/module",Pe="Modules",$e="security/policy",ze="Security policies",Be="app/message-label",Ye="Message labels",Ct="app/dashboard",Lt="app/object-type",Vt="app/form",ht="app/workflow",gt="app/chart",Ge="app/workflow-panel",Se="app/list",ke="app/sequence",Ne="query",Je="app/risk-matrix",Qe="app/map/source",rt="app/map/layer",ft="app/map",Xt="app/email/outbound-template",It="app/sms/outbound-template",In="app/voice-message/outbound-template",Kt="type",Ze="field",wn="app/email/from-address",zn="security/action-label",di="app/print-template",jn="app/print-template-usage",Di=[{$tip:n,label:"Plans",userSelectable:!0},{$tip:g,label:"Check lists",userSelectable:!0},{$tip:"app/checklistitem",label:"Check list items",userSelectable:!0},{$tip:"app/document",label:"Documents",userSelectable:!0},{$tip:T,label:O,userSelectable:!0},{$tip:"app/email/inbound",label:"Inbound emails",userSelectable:!0},{$tip:"app/email/outbound",label:"Outbound emails",userSelectable:!0},{$tip:"app/sms/inbound",label:"Inbound SMS",userSelectable:!0},{$tip:"app/sms/outbound",label:"Outbound SMS",userSelectable:!0},{$tip:"app/voice-message/outbound",label:"Outbound voice message",userSelectable:!0},{$tip:k,label:Y,userSelectable:!0},{$tip:"app/team-role",label:"Roles in teams",userSelectable:!0},{$tip:j,label:"Users",userSelectable:!0},{$tip:H,label:ie,userSelectable:!0},{$tip:"app/timeline-post",label:"Timeline posts",userSelectable:!0},{$tip:"app/cap",label:"CAP alerts",userSelectable:!0},{$tip:te,label:"Shifts",userSelectable:!0},{$tip:K,label:"Shift patterns",userSelectable:!0},{$tip:Me,label:me,userSelectable:!0},{$tip:be,label:Le,userSelectable:!0}],Li=[{$tip:Me,label:me,userSelectable:!0}],Rn=[...Di,{$tip:"app/email/recipient",label:"Email recipient",userSelectable:!1},{$tip:"app/sms/recipient",label:"SMS recipient",userSelectable:!1},{$tip:"app/sms/outbound-template",label:"Template",userSelectable:!1},{$tip:"app/email/outbound-template",label:"Template",userSelectable:!1},{$tip:"app/sso/saml/idp",label:"SAML identity provider",userSelectable:!1},{$tip:"app/x509",label:"x509",userSelectable:!1},{$tip:"app/sms/outbound-template",label:"Template",userSelectable:!1},{$tip:"app/au-gov/protective-marking",label:"Protective marking",userSelectable:!1},{$tip:"app/au-gov/protective-markings-settings",label:"Protective marking settings",userSelectable:!1},{$tip:"app/general-security-settings",label:"General security settings",userSelectable:!1},{$tip:"app/api-key-meta",label:"API key",userSelectable:!1},{$tip:"number-format",label:"Number format",userSelectable:!1},{$tip:"app/branding-settings",label:"Branding",userSelectable:!1},{$tip:"app/global-navigation-settings",label:"Global navigation",userSelectable:!1},{$tip:"app/type/locale",label:"Locale",userSelectable:!1},{$tip:"app/voice-message/recipient",label:"Voice message recipient",userSelectable:!1},{$tip:"app/voice-message/outbound-template",label:"Template",userSelectable:!1}]},79659:(at,N,s)=>{"use strict";s.d(N,{y:()=>L});var n=s(7673),a=s(67376),m=s(96354),T=s(61594),O=s(25558),D=s(99437),E=s(93953),y=s(12225),I=s(31130),b=s(71631);let L=(()=>{class o{constructor(w,M,q){this.allObjectTypesService=w,this.moduleService=M,this.objectTypeService=q}getLabel(w){return w?this.getValueFromAllObjectType(w):(0,n.of)("")}getModuleName(w){return this.getModule(w).pipe((0,m.T)(q=>(0,a.get)(q,"name","")))}getModule(w){return w?this.getObjectType(w).pipe((0,T.$)(),(0,m.T)(M=>M?M.appObjectType:null),(0,O.n)(M=>M?this.objectTypeService.getModuleTipFromObjectTypeTip(M):(0,n.of)(null)),(0,O.n)(M=>M?this.moduleService.getModule(M):(0,n.of)(null))):(0,n.of)(null)}getValueFromAllObjectType(w){return this.getObjectType(w).pipe((0,T.$)(),(0,m.T)(q=>q?(0,a.get)(q,"label","-- no label for selected type --"):null))}getObjectType(w){return this.allObjectTypesService.getObjectType$(w).pipe((0,T.$)(),(0,m.T)(M=>M||null),(0,D.W)(M=>(0,n.of)(null)))}static#e=this.\u0275fac=function(M){return new(M||o)(E.KVO(y.b),E.KVO(I.A),E.KVO(b.h))};static#t=this.\u0275prov=E.jDH({token:o,factory:o.\u0275fac})}return o})()},78896:(at,N,s)=>{"use strict";s.d(N,{j:()=>Xe});var n=s(67376),g=s(21413),m=s(7673),T=s(84572),O=s(56977),D=s(25558),E=s(61594),y=s(88141),I=s(96354),b=s(76194),L=s(69595),o=s(20857),C=s(98305),w=s(2937),M=s(93953),q=s(60879),z=s(14784),F=s(71631),U=s(50337),k=s(19937),Y=s(79659),x=s(88405);const B=Pe=>({"color-dark-pastel-green":Pe}),j=Pe=>({tab:Pe}),$=Pe=>({type:Pe});function H(Pe,$e){1&Pe&&M.eu8(0)}function ie(Pe,$e){if(1&Pe&&M.DNE(0,H,1,0,"ng-container",17),2&Pe){const ze=M.XpG().$implicit;M.XpG(2);const Be=M.sdS(11);M.Y8G("ngTemplateOutlet",Be)("ngTemplateOutletContext",M.eq3(2,j,ze.value))}}function ne(Pe,$e){if(1&Pe&&(M.qex(0),M.j41(1,"li",13)(2,"a",14)(3,"span",15),M.EFF(4),M.nI1(5,"titlecase"),M.k0s()(),M.DNE(6,ie,1,4,"ng-template",16),M.k0s(),M.bVm()),2&Pe){const ze=$e.$implicit;M.R7$(),M.Y8G("ngbNavItem",ze.key),M.R7$(2),M.Y8G("ngClass",M.eq3(5,B,ze.value.hasSearchResults)),M.R7$(),M.SpI(" ",M.bMT(5,3,ze.value.title)," ")}}function Q(Pe,$e){if(1&Pe){const ze=M.RV6();M.j41(0,"div",9)(1,"ul",10,3),M.mxI("activeIdChange",function(Ye){M.eBV(ze);const Ct=M.XpG();return M.DH7(Ct.activeTabId,Ye)||(Ct.activeTabId=Ye),M.Njj(Ye)}),M.DNE(3,ne,7,7,"ng-container",11),M.nI1(4,"keyvalue"),M.k0s(),M.nrm(5,"div",12),M.k0s()}if(2&Pe){const ze=M.sdS(2),Be=M.XpG();M.R7$(),M.R50("activeId",Be.activeTabId),M.Y8G("destroyOnHide",!1),M.R7$(2),M.Y8G("ngForOf",M.i5U(4,4,Be.tabs,Be.orderSort)),M.R7$(2),M.Y8G("ngbNavOutlet",ze)}}function le(Pe,$e){1&Pe&&M.eu8(0)}function pe(Pe,$e){if(1&Pe&&(M.j41(0,"app-side-sheet-section",18),M.DNE(1,le,1,0,"ng-container",17),M.k0s()),2&Pe){const ze=M.XpG(),Be=M.sdS(11);M.R7$(),M.Y8G("ngTemplateOutlet",Be)("ngTemplateOutletContext",M.eq3(2,j,ze.tabs["ngb-tab-object"]))}}function te(Pe,$e){if(1&Pe&&(M.j41(0,"div",22),M.EFF(1),M.k0s()),2&Pe){const ze=M.XpG().type;M.R7$(),M.SpI(" ",ze.module," ")}}function ae(Pe,$e){if(1&Pe){const ze=M.RV6();M.j41(0,"app-side-sheet-list-item",19),M.bIt("actionClickToolSection",function(){const Ye=M.eBV(ze).type,Ct=M.XpG();return M.Njj(Ct.openDesignerPage(Ye))})("toggle",function(){const Ye=M.eBV(ze).type,Ct=M.XpG();return M.Njj(Ct.toggleSelected(Ye))}),M.j41(1,"div",20)(2,"div"),M.EFF(3),M.k0s(),M.DNE(4,te,2,1,"div",21),M.k0s()()}if(2&Pe){const ze=$e.type,Be=M.XpG();M.Y8G("hasToolSection",ze.hasToolSection)("hideUnderline",!0)("key",ze.$tip)("toggleType",1===Be.maxSelect?Be.ToggleType.SINGLE_CHECK:Be.ToggleType.MULTI_CHECK)("value",Be.isSelected(ze.$tip)),M.R7$(3),M.JRh(ze.label),M.R7$(),M.Y8G("ngIf",ze.module)}}function K(Pe,$e){1&Pe&&M.eu8(0)}function de(Pe,$e){if(1&Pe&&(M.qex(0),M.DNE(1,K,1,0,"ng-container",17),M.nrm(2,"div",27),M.bVm()),2&Pe){const ze=M.XpG().tab;M.XpG();const Be=M.sdS(9);M.R7$(),M.Y8G("ngTemplateOutlet",Be)("ngTemplateOutletContext",M.eq3(2,$,ze.initialSelection))}}function Me(Pe,$e){1&Pe&&M.eu8(0)}function me(Pe,$e){if(1&Pe&&(M.qex(0),M.DNE(1,Me,1,0,"ng-container",17),M.bVm()),2&Pe){const ze=$e.$implicit;M.XpG(2);const Be=M.sdS(9);M.R7$(),M.Y8G("ngTemplateOutlet",Be)("ngTemplateOutletContext",M.eq3(2,$,ze))}}function be(Pe,$e){if(1&Pe&&M.nrm(0,"app-empty-state",28),2&Pe){const ze=M.XpG().tab;M.Y8G("label",ze.emptyText)}}function Le(Pe,$e){if(1&Pe){const ze=M.RV6();M.j41(0,"div",23),M.DNE(1,de,3,4,"ng-container",24),M.j41(2,"app-side-sheet-list",25),M.bIt("showMore",function(){M.eBV(ze);const Ye=M.XpG();return M.Njj(Ye.loadMoreObjects())}),M.DNE(3,me,2,4,"ng-container",11),M.k0s(),M.DNE(4,be,1,1,"app-empty-state",26),M.k0s()}if(2&Pe){const ze=$e.tab,Be=M.XpG();M.Y8G("appSpinner",!ze.isLocalSearch&&Be.isLoading),M.R7$(),M.Y8G("ngIf",ze.initialSelection),M.R7$(),M.Y8G("mode",Be.SideSheetListModes.SINGLE_SELECT)("showMoreButton",!ze.isLocalSearch&&!Be.isLoading&&Be.showMoreButton),M.R7$(),M.Y8G("ngForOf",ze.isLocalSearch?ze.filteredTypes:ze.types),M.R7$(),M.Y8G("ngIf",Be.showEmptyState(ze))}}const Oe={Boolean:b.HT.bool,Date:b.HT.date,DateTime:b.HT.datetime,Email:b.HT.email,Float:b.HT.decimal,Integer:b.HT.number,Phone:b.HT.phone,String:b.HT.string,URL:b.HT.uri,File:b.TV.file,Point:b.TV.point};let Xe=(()=>{class Pe{constructor(ze,Be,Ye,Ct,Lt,Vt,ht){this.datatypeChooserService=ze,this.meService=Be,this.objectTypeService=Ye,this.sideSheetService=Ct,this.toastService=Lt,this.typeChooserComponentService=Vt,this.protectiveMarkingService=ht,this.actionLabel="Done",this.importUsers=!1,this.includePrimitiveTypes=!1,this.includeSuperTypes=!0,this.includeSystemTypes=!0,this.includeSubObjectSystemTypes=!1,this.maxSelect=1,this.minSelect=1,this.tabs={},this.SideSheetListModes=L.X,this.ToggleType=w.T,this.activeTabId="ngb-tab-object",this.filterText="",this.isLoading=!0,this.limit=50,this.offset=0,this.selected=[],this.showMoreButton=!1,this.showTabs=!1,this.destroy$=new g.B,this.loadObjects$=new g.B,this.orderSort=(gt,Ge)=>gt.value.order>Ge.value.order?1:Ge.value.order>gt.value.order?-1:0,this.loadObjects$.pipe((0,O.Q)(this.destroy$),(0,D.n)(()=>this.loadObjectTypes())).subscribe({error:()=>{this.toastService.showErrorToast("Unable to load object types"),this.sideSheetService.pop(),this.isLoading=!1}})}get isPrimaryButtonDisabled(){const ze=Object.values(this.tabs).every(Be=>(0,n.isEmpty)(Be.isLocalSearch?Be.filteredTypes:Be.types));return this.isLoading||ze}get isSingleSelect(){return 1===this.maxSelect}ngOnInit(){this.setupTabs()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}isSelected(ze){return this.selected.indexOf(ze)>-1}toggleSelected(ze){const{$tip:Be}=ze,Ct={type:ze,isPrimitive:!!this.tabs["ngb-tab-primitive"]&&!(0,n.isNil)(this.tabs["ngb-tab-primitive"].types.find(({$tip:Vt})=>Vt===Be))},Lt=this.selected.indexOf(Be);Lt>-1?this.selected.splice(Lt,1):1===this.maxSelect?this.selected=[Be]:(!this.maxSelect||this.maxSelect>this.selected.length)&&this.selected.push(Be),this.isSingleSelect&&(1===this.minSelect?(this.selected||[]).length>0&&this.onPrimary(Ct):this.onPrimary(Ct))}loadMoreObjects(){this.loadObjects$.next()}searchByText(){const ze=this.filterText.toLowerCase();this.offset=0,Object.keys(this.tabs).filter(Be=>this.tabs[Be].isLocalSearch).forEach(Be=>{this.tabs[Be].filteredTypes=this.tabs[Be].types.filter(({label:Ye})=>Ye.toLowerCase().includes(ze)),this.tabs[Be].hasSearchResults=this.filterText&&this.tabs[Be].filteredTypes.length>0}),this.tabs["ngb-tab-object"].types=[],this.loadMoreObjects()}onCancel(){this.goBack?this.goBack():this.sideSheetService.pop()}onPrimary(ze){this.onDone&&(this.sideSheetService.pop(),this.onDone(this.selected,ze))}openDesignerPage(ze){if(!ze.hasToolSection)return;this.isLoading=!0;let Be="";this.typeChooserComponentService.getObjectType(ze.$tip).pipe((0,D.n)(Ye=>Ye&&Ye.appObjectType?(Be=Ye.appObjectType,this.objectTypeService.getModuleTipFromObjectTypeTip(Ye.appObjectType)):(this.toastService.showErrorToast("Unable to navigate to the object type designer for this object type."),(0,m.of)(null)))).subscribe(Ye=>{if(this.isLoading=!1,Ye){const Ct=`${location.origin}/app/s/settings/modules/${encodeURIComponent(Ye)}/object-types/${encodeURIComponent(Be)}`;window.open(Ct,"_blank")}else this.toastService.showErrorToast("Unable to navigate to the object type designer for this object type.")})}compareTypes(ze,Be,Ye="label"){return ze[Ye]===Be[Ye]?0:ze[Ye]?Be[Ye]?ze[Ye].toUpperCase()===Be[Ye].toUpperCase()?ze[Ye]<Be[Ye]?-1:1:ze[Ye].localeCompare(Be[Ye],void 0,{numeric:!0,sensitivity:"base"}):-1:1}mapToType({innerType:ze,label:Be,module:Ye,isAdmin:Ct}){return{$tip:ze,label:Be,module:Ye,hasToolSection:!!Ye&&Ct}}loadObjectTypes(){const ze=this.offset,Be=this.limit,Ye=this.filterText,Ct=this.formTypeSelected;return this.isLoading=!0,(0,T.z)([this.datatypeChooserService.getAllObjectTypes(ze,Be+1,Ye,Ct),this.meService.isAdmin$()]).pipe((0,E.$)(),(0,y.M)(([Lt,Vt])=>{const ht=Lt.length>Be;this.offset+=Be,this.showMoreButton=ht;let gt=Lt.map(ke=>this.mapToType({...ke,isAdmin:Vt}));ht&&(gt=(0,n.take)(gt,Be));const Ge=this.tabs["ngb-tab-object"];Ge.types=[...Ge.types,...gt];const Se=this.tabs["ngb-tab-object"].initialSelection;(0,n.isNil)(Se)||(Ge.types=Ge.types.filter(ke=>ke.$tip!==Se.$tip)),Ge.hasSearchResults=this.filterText&&Ge.types.length>0,this.isLoading=!1}))}setupTabs(){const ze=(0,n.head)(this.selected);let Be=!1;const Ye=(Vt,ht,gt,Ge,Se,ke)=>{const Ne=Ge(),Je={title:ht,order:gt,initialSelection:null,hasSearchResults:!1,types:Ne,isLocalSearch:!0,filteredTypes:Ne,emptyText:Se,i18nEmptyText:ke};if(!Be&&ze){const[Qe,rt]=(0,n.partition)(Ne,({$tip:Xt})=>Xt===ze);!(0,n.isEmpty)(Qe)&&(Be=!0,this.activeTabId=Vt,Je.initialSelection=(0,n.head)(Qe),Je.filteredTypes=Je.types=rt)}return Je};if(this.includeSuperTypes&&(this.tabs["ngb-tab-super"]=Ye("ngb-tab-super","Super",2,()=>(0,n.cloneDeep)(o.it).sort(this.compareTypes),"No supertypes here","@@typeChooserSideSheet.superTypes.emptyState.label")),this.includePrimitiveTypes){const Vt={...Oe};this.tabs["ngb-tab-primitive"]=Ye("ngb-tab-primitive","Primitive",4,()=>Object.keys(Vt).map(ht=>({$tip:Vt[ht],label:ht})).sort(this.compareTypes),"No primitive types here","@@typeChooserSideSheet.primitiveTypes.emptyState.label")}const Ct=Vt=>Ye("ngb-tab-system","System",3,Vt,"No system types here","@@typeChooserSideSheet.systemTypes.emptyState.label");this.includeSystemTypes?this.tabs["ngb-tab-system"]=Ct(()=>(0,n.cloneDeep)(C.z2).sort(this.compareTypes)):this.importUsers?this.tabs["ngb-tab-system"]=Ct(()=>(0,n.cloneDeep)(C.z2).filter(Vt=>"app/user"===Vt.$tip)):this.includeSubObjectSystemTypes&&(this.tabs["ngb-tab-system"]=Ct(()=>(0,n.cloneDeep)(C.ST)));const Lt=this.tabs["ngb-tab-system"];Lt&&this.protectiveMarkingService.loadOptions().pipe((0,O.Q)(this.destroy$)).subscribe(Vt=>{Vt.enabled||(Lt.filteredTypes=Lt.types=(0,n.cloneDeep)(Lt.types).filter(ht=>ht.$tip!==C.i4))}),this.tabs["ngb-tab-object"]={title:"Object",order:1,initialSelection:null,hasSearchResults:!1,types:[],isLocalSearch:!1,emptyText:"No object types here",i18nEmptyText:"@@typeChooserSideSheet.objectTypes.emptyState.label"},this.showTabs=Object.keys(this.tabs).length>1,!Be&&ze?(0,T.z)([this.typeChooserComponentService.getModuleName(ze),this.typeChooserComponentService.getLabel(ze),this.meService.isAdmin$()]).pipe((0,E.$)(),(0,I.T)(([Vt,ht,gt])=>this.mapToType({innerType:ze,label:ht,module:Vt,isAdmin:gt}))).subscribe(Vt=>{this.activeTabId="ngb-tab-object",this.tabs[this.activeTabId].initialSelection=Vt,this.loadMoreObjects()}):this.loadMoreObjects()}showEmptyState(ze){return ze.isLocalSearch?0===ze.filteredTypes?.length:!this.isLoading&&0===ze.types?.length}static#e=this.\u0275fac=function(Be){return new(Be||Pe)(M.rXU(q.z),M.rXU(z.Q),M.rXU(F.h),M.rXU(U.E),M.rXU(k.f),M.rXU(Y.y),M.rXU(x.k))};static#t=this.\u0275cmp=M.VBU({type:Pe,selectors:[["app-type-chooser-side-sheet"]],inputs:{actionLabel:"actionLabel",importUsers:"importUsers",includePrimitiveTypes:"includePrimitiveTypes",includeSuperTypes:"includeSuperTypes",includeSystemTypes:"includeSystemTypes",includeSubObjectSystemTypes:"includeSubObjectSystemTypes",maxSelect:"maxSelect",minSelect:"minSelect",formTypeSelected:"formTypeSelected"},decls:12,vars:8,consts:()=>{let ze,Be;return ze=" Select type\n",Be="Object",[["noTabs",""],["typeListItem",""],["typeList",""],["nav","ngbNav"],ze,[3,"actioned","goBack","action","disabled"],[3,"showHeader","showBorder"],[3,"filterTextChange","keyup.enter","keyup.shift.enter","delayTime","filterText"],["class","ngb-nav-wrapper",4,"ngIf","ngIfElse"],[1,"ngb-nav-wrapper"],["ngbNav","",1,"nav-tabs",3,"activeIdChange","activeId","destroyOnHide"],[4,"ngFor","ngForOf"],[3,"ngbNavOutlet"],[1,"focus_el",3,"ngbNavItem"],["ngbNavLink",""],[3,"ngClass"],["ngbNavContent",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["title",Be],[3,"actionClickToolSection","toggle","hasToolSection","hideUnderline","key","toggleType","value"],[1,"p-1"],["class","eim-font-size_small",4,"ngIf"],[1,"eim-font-size_small"],[3,"appSpinner"],[4,"ngIf"],[3,"showMore","mode","showMoreButton"],["imgSrc","assets/img/empty-states/empty-state-generic.svg","size","default",3,"label",4,"ngIf"],[1,"side-sheet-section-divider","mx-n4"],["imgSrc","assets/img/empty-states/empty-state-generic.svg","size","default",3,"label"]]},template:function(Be,Ye){if(1&Be){const Ct=M.RV6();M.j41(0,"app-side-sheet-header",5),M.bIt("actioned",function(){return M.eBV(Ct),M.Njj(Ye.onPrimary())})("goBack",function(){return M.eBV(Ct),M.Njj(Ye.onCancel())}),M.pXf(1,4),M.k0s(),M.j41(2,"div")(3,"app-side-sheet-section",6)(4,"app-filter-and-add",7),M.mxI("filterTextChange",function(Vt){return M.eBV(Ct),M.DH7(Ye.filterText,Vt)||(Ye.filterText=Vt),M.Njj(Vt)}),M.bIt("keyup.enter",function(){return M.eBV(Ct),M.Njj(Ye.searchByText())})("keyup.shift.enter",function(){return M.eBV(Ct),M.Njj(Ye.searchByText())}),M.k0s()(),M.DNE(5,Q,6,7,"div",8)(6,pe,2,4,"ng-template",null,0,M.C5r),M.k0s(),M.DNE(8,ae,5,7,"ng-template",null,1,M.C5r)(10,Le,5,6,"ng-template",null,2,M.C5r)}if(2&Be){const Ct=M.sdS(7);M.Y8G("action",Ye.isSingleSelect?"":Ye.actionLabel)("disabled",Ye.isPrimaryButtonDisabled),M.R7$(3),M.Y8G("showHeader",!1)("showBorder",!1),M.R7$(),M.Y8G("delayTime",0),M.R50("filterText",Ye.filterText),M.R7$(),M.Y8G("ngIf",Ye.showTabs)("ngIfElse",Ct)}},styles:[".focus_el[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:focus-visible{border:#008fdb 3px solid!important}"]})}return Pe})()},33010:(at,N,s)=>{"use strict";s.d(N,{z:()=>o});var n=s(89417),a=s(69172),g=s(61594),m=s(82010),T=s(36939),O=s(67376),E=s(93953),y=s(82804),I=s(50337),b=s(19937);function L(C,w){1&C&&(E.qex(0),E.nrm(1,"app-add-plan-categories",6),E.bVm()),2&C&&(E.R7$(),E.Y8G("showCancelButton",!0)("showSideSheetSectionHeader",!1))}let o=(()=>{class C{constructor(M,q,z){this.planService=M,this.sideSheetService=q,this.toastService=z,this.planForm=new n.gE({name:new n.MJ("",n.k0.required),description:new n.MJ("",n.k0.required),planCategories:new n.MJ([])}),this.loadingStates=a.Gu,this.isClone=!1,this.action="Create",this.showCancelButton=!0}create(){this.loadingState=a.Gu.inProgress;const M={"app/plan:name":this.planForm.get("name").value,"app/plan:description":this.planForm.get("description").value,"app/plan:plan-categories":this.planForm.get("planCategories").value};let q;q=this.isClone&&this.enoToClone?this.planService.clonePlanTemplate({planData:M,originalPlanTip:this.enoToClone,moduleTip:this.moduleTip}):(0,O.isEmpty)(this.variantSecurityPolicy)||(0,O.isEmpty)(this.context)?this.planService.createPlanTemplate(M,this.moduleTip):this.planService.createPlanTemplateWithSecurity(M,this.variantSecurityPolicy,this.context),q.pipe((0,g.$)()).subscribe(z=>{if(this.toastService.showSuccessToast(`Plan template ${this.planForm.get("name").value} created`),this.done)return void this.done(z);this.sideSheetService.clear();const{componentInstance:F}=this.sideSheetService.push(m.t);F.moduleTip=this.moduleTip,F.manager={typeTip:["app/plan"],field:"planTemplates",createComponent:C,manageComponent:m.t,name:"Plan templates",canClone:!0}},z=>{this.toastService.showErrorToast(z instanceof T.g?z.message:"Failed to create plan at this time."),this.loadingState=a.Gu.failed})}static#e=this.\u0275fac=function(q){return new(q||C)(E.rXU(y.J),E.rXU(I.E),E.rXU(b.f))};static#t=this.\u0275cmp=E.VBU({type:C,selectors:[["app-create-plan-template-side-sheet"]],decls:7,vars:11,consts:[[3,"actioned","action","disabled","showCancelButton","showBackIcon"],[3,"showBorder","showHeader"],[3,"formGroup","appSpinner"],["data-test","plan-name-form-field","formControlName","name","label","Name","placeholder","Enter a name",3,"required"],["data-test","plan-description-form-field","formControlName","description","label","Description","placeholder","Enter a description",3,"required"],[4,"ngIf"],["formControlName","planCategories",3,"showCancelButton","showSideSheetSectionHeader"]],template:function(q,z){1&q&&(E.j41(0,"app-side-sheet-header",0),E.bIt("actioned",function(){return z.create()}),E.EFF(1," Create plan template\n"),E.k0s(),E.j41(2,"app-side-sheet-section",1)(3,"form",2),E.nrm(4,"app-text-field",3)(5,"app-text-field",4),E.DNE(6,L,2,2,"ng-container",5),E.k0s()()),2&q&&(E.Y8G("action",z.action)("disabled",z.planForm.invalid||z.loadingState===z.loadingStates.inProgress)("showCancelButton",z.showCancelButton)("showBackIcon",!z.showCancelButton),E.R7$(2),E.Y8G("showBorder",!1)("showHeader",!1),E.R7$(),E.Y8G("formGroup",z.planForm)("appSpinner",z.loadingState===z.loadingStates.inProgress),E.R7$(),E.Y8G("required",!0),E.R7$(),E.Y8G("required",!0),E.R7$(),E.Y8G("ngIf",!z.isClone))},changeDetection:0})}return C})()},82010:(at,N,s)=>{"use strict";s.d(N,{t:()=>Y});var n=s(67376),g=s(18359),m=s(84572),T=s(61594),O=s(25558),D=s(96697),E=s(31130),y=s(26515),I=s(69172),b=s(33010),L=s(60454),o=s(93953),C=s(82804),w=s(50337),M=s(52168);const q=()=>["name"];function z(x,B){1&x&&(o.j41(0,"app-alert",10),o.EFF(1,"Could not load plan templates. Please try again later."),o.k0s())}function F(x,B){if(1&x){const j=o.RV6();o.j41(0,"app-empty-state",11),o.bIt("actionClick",function(){o.eBV(j);const H=o.XpG();return o.Njj(H.onClickNew())}),o.k0s()}}function U(x,B){1&x&&o.nrm(0,"app-empty-state",12)}function k(x,B){if(1&x){const j=o.RV6();o.j41(0,"div")(1,"div",13),o.bIt("click",function(){const H=o.eBV(j).$implicit,ie=o.XpG();return o.Njj(ie.onClickEdit(H))}),o.j41(2,"div",14),o.nrm(3,"mat-icon",15),o.k0s(),o.j41(4,"div",16)(5,"div",17)(6,"div",18),o.EFF(7),o.k0s(),o.nrm(8,"app-labels",19),o.k0s(),o.j41(9,"span",20),o.EFF(10),o.k0s()(),o.j41(11,"div",21),o.nrm(12,"mat-icon",22),o.k0s()()()}if(2&x){const j=B.$implicit;o.R7$(7),o.JRh(j.name),o.R7$(),o.Y8G("labels",j.planCategories)("showMessageLabelMoreOnScreenResize",!0)("addMargin",!1),o.R7$(2),o.JRh(j.description)}}let Y=(()=>{class x{constructor(j,$,H,ie,ne){this.planService=j,this.sideSheetService=$,this.moduleService=H,this.router=ie,this.activatedRoute=ne,this.filterText="",this.filters={},this.plans=[],this.loadingState=I.Gu.inProgress,this.loadingStates=I.Gu,this.areFiltersApplied=!1,this.subs=new g.yU}ngOnInit(){const j=[this.getModuleInstancePolicy(),this.getItems(),this.getModuleLockedStatus()];this.subs.add((0,m.z)(j).subscribe(([$,H,ie])=>{this.moduleInstancePolicy=$,this.plans=H,this.isModuleUnlocked=(0,n.get)(ie,"isModuleUnlocked",!1),this.loadingState=I.Gu.loaded},()=>this.loadingState=I.Gu.failed))}getModuleLockedStatus(){return this.activatedRoute.queryParams}ngOnDestroy(){this.subs.unsubscribe()}onClickNew(){const{componentInstance:j}=this.sideSheetService.push(y.U);this.manager={typeTip:["app/plan"],field:"planTemplates",createComponent:b.z,manageComponent:x,name:"Plan templates",canClone:!0},j.setProps({manager:this.manager,moduleTip:this.moduleTip})}onClickEdit(j){const $=JSON.stringify(this.filters);this.router.navigate(["app","s","settings",{outlets:{sidesheet:["modules",this.moduleTip,"planTemplates",j.$tip]}}],{queryParams:{isModuleUnlocked:this.isModuleUnlocked,filters:$}})}copyToModule(j){this.planService.copyPlanTemplateToModule(j.$tip,this.moduleTip)}getModuleInstancePolicy(){return this.moduleService.getModulePolicy(this.moduleTip,E.b.INSTANCE).pipe((0,T.$)())}getItems(){return this.activatedRoute.queryParamMap.pipe((0,O.n)(j=>{try{const $=JSON.parse(j.get("filters"));return j.get("isModuleUnlocked")&&(this.isModuleUnlocked="true"===j.get("isModuleUnlocked")),this.getPlanTemplatesInModuleWithFilters($)}catch{return this.planService.getPlanTemplatesInModule(this.moduleTip)}}))}onFilter(){const $=this.sideSheetService.push(L.U).componentInstance;$.setFilters(this.filters),$.done=H=>{this.getPlanTemplatesInModuleWithFilters(H).subscribe(ie=>{this.plans=ie,this.areFiltersApplied=!0,this.loadingState=I.Gu.loaded})},$.onReset=()=>{this.areFiltersApplied=!1}}getPlanTemplatesInModuleWithFilters(j){this.filters=j;const $=this.planService.buildVars(j),H=this.planService.buildExtraFilters(j);return this.planService.getPlanTemplatesInModule(this.moduleTip,H,$).pipe((0,D.s)(1))}static#e=this.\u0275fac=function($){return new($||x)(o.rXU(C.J),o.rXU(w.E),o.rXU(E.A),o.rXU(M.Ix),o.rXU(M.nX))};static#t=this.\u0275cmp=o.VBU({type:x,selectors:[["app-manage-plan-templates-side-sheet"]],decls:12,vars:16,consts:[["size","lg"],[3,"showBorder","showHeader"],[3,"filterTextChange","add","filter","filterText","showAddButton","showFilterButton"],["title","Plan templates",3,"showBorder"],[3,"appSpinner"],["type","danger",4,"ngIf"],["class","empty","imgSrc","assets/img/empty-states/no-plans.svg","label","No plan templates here","actionText","Add a new plan template",3,"actionClick",4,"ngIf"],["class","empty","imgSrc","assets/img/empty-states/no-plans.svg","label","No plan templates here",4,"ngIf"],[1,"plans-container"],[4,"ngFor","ngForOf"],["type","danger"],["imgSrc","assets/img/empty-states/no-plans.svg","label","No plan templates here","actionText","Add a new plan template",1,"empty",3,"actionClick"],["imgSrc","assets/img/empty-states/no-plans.svg","label","No plan templates here",1,"empty"],["data-test","plan-list-item",1,"plan-item","d-flex","flex-row","align-items-stretch","justify-content-center",3,"click"],[1,"justify-content-start","plan-icon-container"],["svgIcon","plan-new-icon",1,"plan-new-icon-templates"],[1,"plan-description","flex-column"],[1,"d-flex","flex-row","align-items-baseline"],["data-test","plan-name-text",1,"text-truncate","plan-heading"],[3,"labels","showMessageLabelMoreOnScreenResize","addMargin"],["data-test","plan-description-text"],[1,"justify-content-start","plan-nav-right-container"],["svgIcon","chevron",1,"eim-icon_chevron-right-list-item-dark"]],template:function($,H){1&$&&(o.j41(0,"app-side-sheet-header",0),o.EFF(1,"Plan library"),o.k0s(),o.j41(2,"app-side-sheet-section",1)(3,"app-filter-and-add",2),o.mxI("filterTextChange",function(ne){return o.DH7(H.filterText,ne)||(H.filterText=ne),ne}),o.bIt("add",function(){return H.onClickNew()})("filter",function(){return H.onFilter()}),o.k0s()(),o.j41(4,"app-side-sheet-section",3)(5,"div",4),o.DNE(6,z,2,0,"app-alert",5)(7,F,1,0,"app-empty-state",6)(8,U,1,0,"app-empty-state",7),o.j41(9,"div",8),o.DNE(10,k,13,5,"div",9),o.nI1(11,"filter"),o.k0s()()()),2&$&&(o.R7$(2),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.R50("filterText",H.filterText),o.Y8G("showAddButton",H.isModuleUnlocked)("showFilterButton",!0),o.R7$(),o.Y8G("showBorder",!0),o.R7$(),o.Y8G("appSpinner",H.loadingState===H.loadingStates.inProgress),o.R7$(),o.Y8G("ngIf",H.loadingState===H.loadingStates.failed),o.R7$(),o.Y8G("ngIf",!(H.loadingState!==H.loadingStates.loaded||null!=H.plans&&H.plans.length||H.areFiltersApplied)),o.R7$(),o.Y8G("ngIf",H.loadingState===H.loadingStates.loaded&&!(null!=H.plans&&H.plans.length)&&H.areFiltersApplied),o.R7$(2),o.Y8G("ngForOf",o.brH(11,11,H.plans,H.filterText,o.lJ4(15,q))))},styles:[".plan-icon-container[_ngcontent-%COMP%]{display:flex;width:42px;height:35px;padding-right:10px}.plan-icon-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:100%;height:100%}.plan-nav-right-container[_ngcontent-%COMP%]{display:flex;width:20px;height:16px;margin-top:9px}.plan-nav-right-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:100%;height:100%}.plans-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;color:#5a7186}.plan-item-container[_ngcontent-%COMP%]{flex-direction:row;justify-content:center}.plan-item[_ngcontent-%COMP%]{padding-top:6px;padding-bottom:6px;border-bottom:1px solid #dbdfe2;min-width:0;cursor:pointer}.plan-description[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow-wrap:break-word;overflow:hidden;white-space:nowrap;width:95%;line-height:1.25;color:#273c4e}.plan-description[_ngcontent-%COMP%]   .plan-heading[_ngcontent-%COMP%]{font-size:1.1rem}.plan-description[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:.9rem}"]})}return x})()},26038:(at,N,s)=>{"use strict";s.d(N,{J:()=>D});var n=s(89417),a=s(67376),m=s(84412),T=s(93953),O=s(50337);let D=(()=>{class E{constructor(I){this.sideSheetService=I,this.planForm=new n.gE({name:new n.MJ(null,n.k0.required),description:new n.MJ(null,n.k0.required),planCategories:new n.MJ([]),strategy:new n.MJ(null)}),this.loading$=new m.t(!1),this.isFormDirty=!1}ngOnInit(){this.planForm.patchValue({name:this.plan.name,description:this.plan.description,strategy:this.plan.strategy||null,planCategories:this.plan.planCategories??[]}),this.onFormValueChanged()}ngOnDestroy(){this.formValueChangeSubscription.unsubscribe()}setProps({plan:I,done:b}){this.plan=(0,a.cloneDeep)(I),this.done=b}onPrimary(){Object.assign(this.plan,this.planForm.value),this.sideSheetService.makeClean(),this.loading$.next(!0),this.done(this.plan,this.loading$)}onFormValueChanged(){this.formValueChangeSubscription=this.planForm.valueChanges.subscribe(()=>{this.planForm.dirty&&!this.isFormDirty&&(this.isFormDirty=!0,this.sideSheetService.makeDirty())})}static#e=this.\u0275fac=function(b){return new(b||E)(T.rXU(O.E))};static#t=this.\u0275cmp=T.VBU({type:E,selectors:[["app-plan-edit-form-side-sheet"]],decls:9,vars:8,consts:()=>{let I,b,L,o,C;return I="Save",b="Name",L="Description",o="Strategy",C="Edit plan",[C,["action",I,"size","lg",3,"actioned","disabled"],[1,"p-3","form-container"],[1,"flex",3,"formGroup"],["formControlName","name","label",b,"data-test","name-field",3,"required"],["formControlName","description","label",L,"data-test","description-field",3,"required"],["formControlName","planCategories",3,"showCancelButton","showSideSheetSectionHeader"],["formControlName","strategy","label",o,"data-test","strategy-field"]]},template:function(b,L){1&b&&(T.j41(0,"app-side-sheet-header",1),T.nI1(1,"async"),T.bIt("actioned",function(){return L.onPrimary()}),T.pXf(2,0),T.k0s(),T.j41(3,"div",2)(4,"form",3),T.nrm(5,"app-text-field",4)(6,"app-text-field",5)(7,"app-add-plan-categories",6)(8,"app-rich-jodit-text-field",7),T.k0s()()),2&b&&(T.Y8G("disabled",L.planForm.pristine||L.planForm.invalid||T.bMT(1,6,L.loading$)),T.R7$(4),T.Y8G("formGroup",L.planForm),T.R7$(),T.Y8G("required",!0),T.R7$(),T.Y8G("required",!0),T.R7$(),T.Y8G("showCancelButton",!0)("showSideSheetSectionHeader",!1))},styles:["[_nghost-%COMP%]{display:flex!important;flex-direction:column;height:100%}  app-side-sheet-header{flex-shrink:0}  app-rich-jodit-text-field{flex:1;display:flex!important;flex-direction:column;margin:0!important}  app-jodit-wrapper{flex:1}  .jodit_container{display:flex;flex-direction:column;flex:1}  .jodit_workplace{flex:1}.form-container[_ngcontent-%COMP%]{flex:1}.form-container[_ngcontent-%COMP%] > form[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}"],changeDetection:0})}return E})()},56076:(at,N,s)=>{"use strict";s.d(N,{D:()=>Me});var n=s(18359),a=s(44668),g=s(61594),m=s(69172),T=s(68030),O=s(69927),D=s(35402),E=s(36939),y=s(82010),I=s(33010),b=s(81537),L=s(5002),o=s(93953),C=s(82804),w=s(50337),M=s(19937),q=s(29968),z=s(50701),F=s(60177),U=s(52168);const k=["checklistsList"];function Y(me,be){if(1&me){const Le=o.RV6();o.j41(0,"app-side-sheet-header",29),o.bIt("goBack",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.onGoBack())})("actioned",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.onDone())})("closed",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.onClose())}),o.EFF(1),o.k0s()}if(2&me){const Le=o.XpG();o.Y8G("disabled",Le.loadingState===Le.loadingStates.inProgress),o.R7$(),o.JRh(Le.plan.name)}}function x(me,be){if(1&me){const Le=o.RV6();o.j41(0,"app-side-sheet-header",30),o.bIt("goBack",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.onGoBack())})("actioned",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.onDone())})("closed",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.onClose())}),o.EFF(1),o.k0s()}if(2&me){const Le=o.XpG();o.Y8G("disabled",Le.loadingState===Le.loadingStates.inProgress),o.R7$(),o.JRh(Le.plan.name)}}function B(me,be){if(1&me){const Le=o.RV6();o.j41(0,"button",35),o.bIt("click",function(){o.eBV(Le);const Oe=o.XpG(2);return o.Njj(Oe.openPlanEditSideSheet())}),o.nrm(1,"mat-icon",36),o.k0s()}}function j(me,be){if(1&me){const Le=o.RV6();o.j41(0,"div",31)(1,"button",32),o.bIt("click",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.print())}),o.nrm(2,"span",33),o.k0s(),o.DNE(3,B,2,0,"button",34),o.nI1(4,"async"),o.k0s()}if(2&me){const Le=o.XpG();o.R7$(3),o.Y8G("ngIf",o.bMT(4,1,Le.canUpdate$))}}function $(me,be){if(1&me){const Le=o.RV6();o.j41(0,"textarea",37),o.mxI("ngModelChange",function(Oe){o.eBV(Le);const Xe=o.XpG();return o.DH7(Xe.plan.description,Oe)||(Xe.plan.description=Oe),o.Njj(Oe)}),o.bIt("change",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.updatePlan())}),o.k0s()}if(2&me){const Le=o.XpG();o.R50("ngModel",Le.plan.description)}}function H(me,be){if(1&me&&(o.j41(0,"div",38)(1,"p",39),o.pXf(2,5),o.k0s(),o.nrm(3,"app-labels",40),o.k0s()),2&me){const Le=o.XpG();o.R7$(3),o.Y8G("labels",Le.plan.planCategories)}}function ie(me,be){if(1&me){const Le=o.RV6();o.j41(0,"button",45),o.bIt("click",function(){o.eBV(Le);const Oe=o.XpG(2);return o.Njj(Oe.isInSelectMode=!0)}),o.nrm(1,"mat-icon",46),o.k0s()}}function ne(me,be){if(1&me){const Le=o.RV6();o.j41(0,"button",47),o.bIt("click",function(){o.eBV(Le);const Oe=o.XpG(2);return o.Njj(Oe.onDragStart())}),o.nrm(1,"mat-icon",48),o.k0s()}}function Q(me,be){if(1&me){const Le=o.RV6();o.j41(0,"button",49),o.bIt("click",function(){o.eBV(Le);const Oe=o.XpG(2);return o.Njj(Oe.onClickAddChecklist())}),o.nrm(1,"mat-icon",50),o.k0s()}}function le(me,be){if(1&me&&(o.j41(0,"div",41),o.DNE(1,ie,2,0,"button",42),o.nI1(2,"async"),o.DNE(3,ne,2,0,"button",43),o.nI1(4,"async"),o.DNE(5,Q,2,0,"button",44),o.nI1(6,"async"),o.k0s()),2&me){const Le=o.XpG();o.R7$(),o.Y8G("ngIf",(null==Le.plan||null==Le.plan.checklists?null:Le.plan.checklists.length)&&o.bMT(2,3,Le.canUpdate$)),o.R7$(2),o.Y8G("ngIf",o.bMT(4,5,Le.canUpdate$)),o.R7$(2),o.Y8G("ngIf",o.bMT(6,7,Le.canUpdate$))}}function pe(me,be){if(1&me){const Le=o.RV6();o.j41(0,"div")(1,"button",51),o.bIt("click",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.isInSelectMode=!1)}),o.pXf(2,6),o.k0s(),o.j41(3,"button",52),o.bIt("click",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.onRequestDeleteChecklists(Oe.checklistsList.list.selected))}),o.pXf(4,7),o.k0s()()}if(2&me){const Le=o.XpG();o.R7$(3),o.Y8G("disabled",!(null!=Le.checklistsList.list.selected&&Le.checklistsList.list.selected.length))}}function te(me,be){if(1&me){const Le=o.RV6();o.j41(0,"div")(1,"button",53),o.bIt("click",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.onDragCancel())}),o.pXf(2,8),o.k0s(),o.j41(3,"button",54),o.bIt("click",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.onDragFinish())}),o.pXf(4,9),o.k0s()()}if(2&me){const Le=o.XpG();o.R7$(),o.Y8G("disabled",Le.loadingState===Le.loadingStates.inProgress),o.R7$(2),o.Y8G("disabled",!(null!=Le.checklistsList&&Le.checklistsList.isDragged)||Le.loadingState===Le.loadingStates.inProgress)}}function ae(me,be){if(1&me&&(o.j41(0,"app-alert",55),o.EFF(1),o.k0s()),2&me){const Le=o.XpG();o.R7$(),o.JRh(Le.errorMessage)}}function K(me,be){if(1&me){const Le=o.RV6();o.j41(0,"div",56)(1,"app-checklists-list",57,1),o.mxI("checklistsChange",function(Oe){o.eBV(Le);const Xe=o.XpG();return o.DH7(Xe.plan.checklists,Oe)||(Xe.plan.checklists=Oe),o.Njj(Oe)}),o.bIt("checklistsChange",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.onChecklistsChange())}),o.k0s()()}if(2&me){const Le=o.XpG();o.R7$(),o.Y8G("mode",Le.isDraggable?"drag":Le.isInSelectMode?"multiselect":"none")("canUpdate$",Le.canUpdate$)("forceRefreshLocally",!0),o.R50("checklists",Le.plan.checklists)}}function de(me,be){if(1&me){const Le=o.RV6();o.j41(0,"button",58),o.bIt("click",function(){o.eBV(Le);const Oe=o.XpG();return o.Njj(Oe.onRequestDelete())}),o.pXf(1,10),o.k0s()}}let Me=(()=>{class me{constructor(Le,Ae,Oe,Xe,Pe,$e,ze,Be){this.planService=Le,this.sideSheetService=Ae,this.toastService=Oe,this.modalService=Xe,this.securityService=Pe,this.location=$e,this.router=ze,this.route=Be,this.FeatureFlags=L.g,this.filterText="",this.errorMessage="",this.loadingState=m.Gu.inProgress,this.plan={name:"",description:"",strategy:"",checklists:[],planCategories:[]},this.isInSelectMode=!1,this.isDraggable=!1,this.canActivate=!1,this.loadingStates=m.Gu,this.subscriptions=new n.yU,this.done=Ye=>{},this.closed=Ye=>{},this.back=Ye=>{}}ngOnInit(){this.subscriptions.add(this.planService.getPlan(this.objectTip).subscribe(Le=>{this.plan=Le,this.canActivate=!Le.isTemplate&&!Le.isActivated,this.loadingState=m.Gu.loaded},()=>{this.loadingState=m.Gu.failed,this.errorMessage="Unable to get plan data. Check your connection and try again"})),this.canUpdate$=this.securityService.canUpdate(this.objectTip).pipe((0,a.t)(1),(0,g.$)())}setProps({objectTip:Le}){this.objectTip=Le}onClickAddChecklist(){this.plan.checklists||(this.plan.checklists=[]),this.openObjectEditSideSheet({fieldTipsToDisplay:["app/checklist:name"],onDone:Le=>{this.plan.checklists.push({$tip:Le.$tip,$security:Le.$security,$type:Le.$type,name:Le["app/checklist:name"],items:[]}),this.updatePlan()},enoType:"app/checklist",enoSecurity:this.plan.$security})}openPlanEditSideSheet(){this.planService.openPlanEditSideSheet(this.plan,this.moduleTip,Le=>{this.plan=Le})}print(){let Le={templateTip:m.xb,contextTip:this.objectTip};this.sideSheetService.pushV2(b.Q).setProps(Le)}openObjectEditSideSheet({fieldTipsToDisplay:Le=[],onDone:Ae=ze=>{},objectTip:Oe=null,objectBranchTip:Xe=null,enoType:Pe=null,enoSecurity:$e=null}){const ze=this.sideSheetService.push(O.z);ze.componentInstance.title="Add checklist",ze.componentInstance.objectTip=Oe,ze.componentInstance.objectBranchTip=Xe||this.objectBranchTip,ze.componentInstance.mode="save",ze.componentInstance.fieldTipsToDisplay=Le,ze.componentInstance.enoType=Pe,ze.componentInstance.enoSecurity=$e,ze.componentInstance.onDone=Ae}onRequestDeleteChecklists(Le){const Ae=this.modalService.open(T.F,T.G);Ae.componentInstance.objectType="checklists",Ae.componentInstance.message="Do you really want to delete these checklists?",Ae.result.then(Oe=>Oe?this.deleteChecklists(Le):null).catch(()=>{})}deleteChecklists(Le){this.loadingState=m.Gu.inProgress,this.planService.deleteChecklists(Le,this.moduleTip).pipe((0,g.$)()).subscribe(()=>{this.loadingState=m.Gu.loaded,this.isInSelectMode=!1,this.plan.checklists=this.plan.checklists.filter(Ae=>!Le.includes(Ae.$tip)),this.checklistsList.list.selected=this.checklistsList.list.selected.filter(Ae=>!Le.includes(Ae.$tip))},Ae=>{this.loadingState=m.Gu.failed,this.toastService.showErrorToast(Ae instanceof E.g?Ae.message:"Failed to delete checklists at this time.")})}onRequestDelete(){const Le=this.modalService.open(T.F,T.G);Le.componentInstance.objectType="plan",Le.result.then(Ae=>Ae?this.delete():null).catch(()=>{})}delete(){this.loadingState=m.Gu.inProgress,this.planService.deletePlan(this.plan,this.moduleTip).pipe((0,g.$)()).subscribe(()=>{this.loadingState=m.Gu.loaded,this.sideSheetService.clear(),this.toastService.showSuccessToast("Deleted plan successfully");const{componentInstance:Le}=this.sideSheetService.push(y.t);Le.moduleTip=this.moduleTip,Le.manager={typeTip:["app/plan"],field:"planTemplates",createComponent:I.z,manageComponent:y.t,name:"Plan templates",canClone:!0}},Le=>{this.loadingState=m.Gu.failed,this.toastService.showErrorToast(Le instanceof E.g?Le.message:"Failed to update plan at this time")})}updatePlan(Le){this.loadingState=m.Gu.inProgress;const Ae=this.planService.updatePlan(this.plan,!1,this.moduleTip).pipe((0,g.$)());return this.subscriptions.add(Ae.subscribe(()=>{Le&&Le(),this.loadingState=m.Gu.loaded,this.toastService.showSuccessToast("Updated plan successfully")},Oe=>{this.toastService.showErrorToast(Oe instanceof E.g?Oe.message:"Failed to update plan at this time"),this.loadingState=m.Gu.loaded})),Ae}viewStrategy(){const Ae=this.sideSheetService.push(D.S).componentInstance;Ae.moduleTip=this.moduleTip,Ae.setProps({planTip:this.plan.$tip})}onClose(){this.closed(this.plan)}isRouted(){return/\/\/sidesheet:modules\/.*\/planTemplates\//.test(this.router.url)}onDone(){if(this.canActivate){this.loadingState=m.Gu.inProgress;const Le=this.modalService.open(T.F,T.G);Le.componentInstance.title="New plan",Le.componentInstance.message="Do you want to save this plan as a draft or activate it now?",Le.componentInstance.confirmText="Activate now",Le.componentInstance.cancelText="Save as draft",Le.componentInstance.cancelButtonClass="btn-secondary",Le.componentInstance.isDelete=!1,Le.result.then(Ae=>{Ae?(this.plan.isActivated=!0,this.plan.isIncomplete=!1):(this.plan.isActivated=!1,this.plan.isIncomplete=!1),this.updatePlan(()=>{this.sideSheetService.pop(),this.done(this.plan)})}).catch(()=>{this.loadingState=m.Gu.loaded})}else this.sideSheetService.pop(),this.done(this.plan)}onGoBack(){if(this.isRouted()){const Le=this.route.snapshot.queryParams;return this.sideSheetService.clear(),void this.router.navigate(["app","s","settings",{outlets:{sidesheet:["modules",this.moduleTip,"planTemplates"]}}],{queryParams:{...Le}})}this.sideSheetService.pop()}ngOnDestroy(){this.subscriptions.unsubscribe()}onDragFinish(){this.updatePlan(()=>{this.isDraggable=!1,this.checklistsList?.isDragged&&(this.checklistsList.isDragged=!1)})}onDragStart(){this.isDraggable=!this.isDraggable,this.checklistsBeforeDrag=[...this.plan.checklists]}onDragCancel(){this.isDraggable=!1,this.checklistsList.isDragged&&(this.plan.checklists=this.checklistsBeforeDrag,this.checklistsList?.isDragged&&(this.checklistsList.isDragged=!1))}onChecklistsChange(){this.checklistsList.isDragged||this.updatePlan()}static#e=this.\u0275fac=function(Ae){return new(Ae||me)(o.rXU(C.J),o.rXU(w.E),o.rXU(M.f),o.rXU(q.Bq),o.rXU(z.i),o.rXU(F.aZ),o.rXU(U.Ix),o.rXU(U.nX))};static#t=this.\u0275cmp=o.VBU({type:me,selectors:[["app-plan-edit-side-sheet"]],viewQuery:function(Ae,Oe){if(1&Ae&&o.GBs(k,5),2&Ae){let Xe;o.mGM(Xe=o.lsd())&&(Oe.checklistsList=Xe.first)}},decls:27,vars:14,consts:()=>{let Le,Ae,Oe,Xe,Pe,$e,ze,Be,Ye,Ct;return Le="Done",Ae="Details",Oe="View strategy",Xe="Checklists",Pe="Plan category",$e="Cancel",ze="Remove",Be="Cancel",Ye="Finish",Ct=" Delete ",[["sideSheetHeaderDefault",""],["checklistsList",""],Ae,Oe,Xe,Pe,$e,ze,Be,Ye,Ct,["action",Le,3,"disabled","goBack","actioned","closed",4,"ngIf","ngIfElse"],[3,"appSpinner"],[1,"p-3"],[1,"d-flex","align-items-center","justify-content-between"],[1,"flex-grow-1","my-3"],["class","d-flex justify-content-end",4,"appIfFeatureFlag"],["aria-label","Plan description","class","form-control form-control-sm","appTextareaAutogrow","","maxlength","500",3,"ngModel","ngModelChange","change",4,"ngIf"],["class","my-3",4,"ngIf"],[1,"text-center","mt-3"],["data-test","review-strategy-button",1,"btn","btn-social","btn-secondary",3,"click"],[1,"side-sheet-section-divider"],[1,"d-flex","align-items-center","justify-between","pl-3","pr-3"],["class","d-flex",4,"ngIf"],[4,"ngIf"],["type","danger",4,"ngIf"],["class","pl-3 pr-3 pb-2",4,"ngIf"],[1,"form-options","d-flex","justify-content-center","pt-3"],["data-test","delete-plan-button","class","btn btn-danger btn-danger-updated",3,"click",4,"ngIf"],["action",Le,3,"goBack","actioned","closed","disabled"],[3,"goBack","actioned","closed","disabled"],[1,"d-flex","justify-content-end"],["data-test","edit-form-print-button","title","Print",1,"btn","btn-secondary","btn-social","ml-1",3,"click"],[1,"mdi","mdi-print"],["class","btn btn-secondary eim-button_minimized ml-1","data-test","edit-plan-button","title","Edit",3,"click",4,"ngIf"],["data-test","edit-plan-button","title","Edit",1,"btn","btn-secondary","eim-button_minimized","ml-1",3,"click"],["svgIcon","edit"],["aria-label","Plan description","appTextareaAutogrow","","maxlength","500",1,"form-control","form-control-sm",3,"ngModelChange","change","ngModel"],[1,"my-3"],[1,"plan-category-title"],[3,"labels"],[1,"d-flex"],["class","eim-button_minimized btn btn-secondary","data-test","delete-check-list-icon","title","Remove",3,"click",4,"ngIf"],["class","eim-button_minimized btn btn-secondary ml-1","title","Toggle re-order",3,"click",4,"ngIf"],["class","eim-button_minimized btn btn-secondary ml-1","data-test","add-check-list-button","title","Add",3,"click",4,"ngIf"],["data-test","delete-check-list-icon","title","Remove",1,"eim-button_minimized","btn","btn-secondary",3,"click"],["svgIcon","delete"],["title","Toggle re-order",1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"click"],["svgIcon","reorder"],["data-test","add-check-list-button","title","Add",1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"click"],["svgIcon","plus"],[1,"btn","btn-secondary","btn-social",3,"click"],["data-test","remove-check-list-button",1,"btn","btn-danger","btn-social","ml-1",3,"click","disabled"],[1,"btn","btn-secondary","btn-social",3,"click","disabled"],[1,"btn","btn-secondary","btn-social","ml-1",3,"click","disabled"],["type","danger"],[1,"pl-3","pr-3","pb-2"],[3,"checklistsChange","mode","canUpdate$","forceRefreshLocally","checklists"],["data-test","delete-plan-button",1,"btn","btn-danger","btn-danger-updated",3,"click"]]},template:function(Ae,Oe){if(1&Ae){const Xe=o.RV6();o.DNE(0,Y,2,2,"app-side-sheet-header",11)(1,x,2,2,"ng-template",null,0,o.C5r),o.j41(3,"div",12)(4,"div",13)(5,"div",14)(6,"h3",15),o.pXf(7,2),o.k0s(),o.DNE(8,j,5,3,"div",16),o.k0s(),o.DNE(9,$,1,1,"textarea",17)(10,H,4,1,"div",18),o.j41(11,"div",19)(12,"button",20),o.bIt("click",function(){return o.eBV(Xe),o.Njj(Oe.viewStrategy())}),o.pXf(13,3),o.k0s()()(),o.nrm(14,"div",21),o.j41(15,"div",22)(16,"h3",15),o.pXf(17,4),o.k0s(),o.DNE(18,le,7,9,"div",23)(19,pe,5,1,"div",24)(20,te,5,2,"div",24),o.k0s(),o.DNE(21,ae,2,1,"app-alert",25)(22,K,3,4,"div",26),o.nrm(23,"div",21),o.j41(24,"div",27),o.DNE(25,de,2,0,"button",28),o.nI1(26,"async"),o.k0s()()}if(2&Ae){const Xe=o.sdS(2);o.Y8G("ngIf",Oe.canActivate)("ngIfElse",Xe),o.R7$(3),o.Y8G("appSpinner",Oe.loadingState===Oe.loadingStates.inProgress),o.R7$(5),o.Y8G("appIfFeatureFlag",Oe.FeatureFlags.FEATURE_EIM_27766_PRINT_PLAN_TEMPLATES),o.R7$(),o.Y8G("ngIf",Oe.plan),o.R7$(),o.Y8G("ngIf",(null==Oe.plan.planCategories?null:Oe.plan.planCategories.length)>0),o.R7$(8),o.Y8G("ngIf",!Oe.isInSelectMode&&!Oe.isDraggable),o.R7$(),o.Y8G("ngIf",Oe.isInSelectMode),o.R7$(),o.Y8G("ngIf",Oe.isDraggable),o.R7$(),o.Y8G("ngIf",Oe.loadingState===Oe.loadingStates.failed),o.R7$(),o.Y8G("ngIf",Oe.loadingState===Oe.loadingStates.loaded),o.R7$(3),o.Y8G("ngIf",o.bMT(26,12,Oe.canUpdate$))}},styles:["textarea[_ngcontent-%COMP%]{border:none;resize:none;height:2rem}.plan-category-title[_ngcontent-%COMP%]{margin:0!important;color:#416381}.btn-danger-updated[_ngcontent-%COMP%]{background-color:#c01}"]})}return me})()},35402:(at,N,s)=>{"use strict";s.d(N,{S:()=>E});var n=s(18359),a=s(69172),g=s(44668),m=s(93953),T=s(82804),O=s(50701);function D(y,I){if(1&y){const b=m.RV6();m.j41(0,"button",6),m.bIt("click",function(){m.eBV(b);const o=m.XpG();return m.Njj(o.openPlanEditSideSheet())}),m.nrm(1,"mat-icon",7),m.k0s()}}let E=(()=>{class y{constructor(b,L,o){this.cdr=b,this.planService=L,this.securityService=o,this.LoadingState=a.Gu,this.loadingState=a.Gu.inProgress,this.subscriptions=new n.yU}ngOnInit(){this.canUpdate$=this.securityService.canUpdate(this.planTip).pipe((0,g.t)(1)),this.subscriptions.add(this.planService.getPlan(this.planTip).subscribe(b=>{this.plan=b,this.loadingState=a.Gu.loaded,this.cdr.markForCheck()}))}ngOnDestroy(){this.subscriptions.unsubscribe()}setProps({planTip:b}){this.planTip=b}openPlanEditSideSheet(){this.planService.openPlanEditSideSheet(this.plan,this.moduleTip)}static#e=this.\u0275fac=function(L){return new(L||y)(m.rXU(m.gRc),m.rXU(T.J),m.rXU(O.i))};static#t=this.\u0275cmp=m.VBU({type:y,selectors:[["app-plan-strategy-side-sheet"]],decls:12,vars:14,consts:[["size","lg"],[1,"p-2",3,"appSpinner"],[1,"d-flex","justify-content-end","mb-2"],["data-test","edit-strategy","class","btn btn-secondary eim-button_minimized ml-1","title","Edit",3,"click",4,"ngIf"],[1,"px-1"],["data-test","plan-strategy-value",3,"innerHTML"],["data-test","edit-strategy","title","Edit",1,"btn","btn-secondary","eim-button_minimized","ml-1",3,"click"],["svgIcon","edit"]],template:function(L,o){1&L&&(m.j41(0,"app-side-sheet-header",0),m.EFF(1),m.k0s(),m.j41(2,"div",1)(3,"div",2),m.DNE(4,D,2,0,"button",3),m.nI1(5,"async"),m.k0s(),m.j41(6,"div",4),m.nrm(7,"div",5),m.nI1(8,"embeddedMedia"),m.nI1(9,"async"),m.nI1(10,"fixTabNabbing"),m.nI1(11,"sanitizeHtml"),m.k0s()()),2&L&&(m.R7$(),m.JRh(o.plan.name),m.R7$(),m.Y8G("appSpinner",o.loadingState===o.LoadingState.inProgress),m.R7$(2),m.Y8G("ngIf",m.bMT(5,4,o.canUpdate$)),m.R7$(3),m.Y8G("innerHTML",m.bMT(11,12,m.bMT(10,10,m.bMT(9,8,m.bMT(8,6,o.plan.strategy)))),m.npT))},changeDetection:0})}return y})()},82804:(at,N,s)=>{"use strict";s.d(N,{J:()=>ne});var n=s(67376),g=s(7673),m=s(84572),T=s(27468),O=s(61594),D=s(96354),E=s(25558),y=s(73703),I=s(99437),b=s(40673),L=s(36939),o=s(78173),C=s(18848),w=s(13303),M=s(31130),q=s(55516),z=s(26038),F=s(92597),U=s(93953),k=s(19937),Y=s(44667),x=s(51229),B=s(99760),j=s(27916),$=s(76087),H=s(50337),ie=s(87879);let ne=(()=>{class Q{constructor(pe,te,ae,K,de,Me,me,be,Le){this.toastService=pe,this.objectService=te,this.queryService=ae,this.enoService=K,this.processService=de,this.moduleService=Me,this.formulaService=me,this.sideSheetService=be,this.modulePackageService=Le,this.dimensionOptions=[{label:"Tip dimension",formula:"TIP()",sortby:['FIELD("app/plan:name")'],sortdir:["asc"]}]}getPlan(pe,te){return this.objectService.getObject(pe,w.T,te)}getPlans(pe,te){return pe&&pe.length?(0,m.z)(pe.map(ae=>this.getPlan(ae,te).pipe((0,O.$)()))):(0,g.of)([])}createPlanTemplateWithSecurity(pe,te,ae){return this.objectService.setObject({$type:"app/plan",name:pe["app/plan:name"],description:pe["app/plan:description"],planCategories:pe["app/plan:plan-categories"],checklists:[],isTemplate:!1,context:ae},w.T,b.Ay.BRANCH_MASTER,te).pipe((0,O.$)(),(0,D.T)(de=>(0,n.last)(de).tip))}createPlanTemplate(pe,te){const ae={$type:"app/plan",name:pe["app/plan:name"],description:pe["app/plan:description"],planCategories:pe["app/plan:plan-categories"],checklists:[],isTemplate:!0};return this.moduleService.getModulePolicy(te,M.b.INSTANCE).pipe((0,O.$)(),(0,E.n)(K=>this.objectService.setObject(ae,w.T,b.Ay.BRANCH_MASTER,K||"app/security-policy/instance-user-admin").pipe((0,O.$)())),(0,E.n)(K=>{const de=(0,n.last)(K).tip;return this.moduleService.addTipToFlatModuleField({moduleTip:te,moduleField:"planTemplates",tip:de}).pipe((0,y.u)(de))}),(0,I.W)(K=>this.modulePackageService.handleError("save plan template",te)))}clonePlanTemplate({planData:pe,originalPlanTip:te,moduleTip:ae}){const K=this.moduleService.getModulePolicy(ae,M.b.INSTANCE).pipe((0,O.$)()),de=this.objectService.getObject(te,w.T,void 0,void 0,!0).pipe((0,O.$)());return(0,T.p)(de,K).pipe((0,D.T)(([Me,me])=>({...Me,$tip:void 0,$security:me||"app/security-policy/instance-user-admin",name:pe["app/plan:name"],description:pe["app/plan:description"],planCategories:(0,n.isEmpty)(pe["app/plan:plan-categories"])?Me.planCategories:pe["app/plan:plan-categories"],checklists:this.removeEnoDataFromChecklists(Me.checklists,me)})),(0,E.n)(Me=>this.objectService.setObject(Me,w.T)),(0,D.T)(Me=>(0,n.last)(Me).tip),(0,E.n)(Me=>this.moduleService.addTipToFlatModuleField({moduleTip:ae,moduleField:"planTemplates",tip:Me}).pipe((0,y.u)(Me))),(0,I.W)(()=>this.modulePackageService.handleError("clone plan template",ae)))}removeEnoDataFromChecklists(pe,te){return pe&&pe.length?pe.map(ae=>{const K=(0,o.y)(ae,te),de=K.items&&K.items.length?K.items.map(Me=>{const me=(0,o.y)(Me,te);return me.status=C.oG.NOT_STARTED,me}):[];return K.items=de,K}):[]}updatePlan(pe,te=!1,ae){return this.objectService.setObject(pe,te?w.D:w.T).pipe((0,D.T)(()=>pe),(0,I.W)(()=>this.modulePackageService.handleError("update plan template",ae)))}deletePlan(pe,te){return this.deletePlans([pe.$tip],te).pipe((0,I.W)(()=>this.modulePackageService.handleError("delete plan template",te)))}deletePlans(pe,te){const ae=pe.map(K=>this.isPlanTemplate(K).pipe((0,O.$)(),(0,D.T)(de=>de?K:null)));return(0,T.p)(ae).pipe((0,D.T)(n.compact),(0,E.n)(K=>{const de=(0,n.difference)(pe,K).map(me=>({$tip:me})),Me=K.map(me=>this.deletePlanAndChecklists(me).pipe((0,O.$)()));return de.length?K.length?(0,T.p)([this.objectService.deleteObjects(de).pipe((0,O.$)()),...Me]):this.objectService.deleteObjects(de):(0,T.p)(Me)}),(0,I.W)(()=>this.modulePackageService.handleError("delete plan template",te)))}isPlanTemplate(pe){return this.formulaService.evaluate('FIELD("app/plan:is-template")',pe).pipe((0,D.T)(n.head),(0,D.T)(te=>"true"===te))}deletePlanAndChecklists(pe){return this.formulaService.evaluate('ARRAY(FIELD("app/plan:checklists"), FIELD_VALUES("app/checklist:items", FIELD("app/plan:checklists")))',pe).pipe((0,E.n)(te=>this.moduleService.deleteModuleConfig([pe,...te])))}deleteChecklists(pe,te){return this.enoService.deleteEnos(pe).pipe((0,I.W)(()=>this.modulePackageService.handleError("delete checklist",te)))}openPlanEditSideSheet(pe,te,ae){this.sideSheetService.push(z.J).componentInstance.setProps({plan:pe,done:(Me,me)=>{this.updatePlan(Me,!1,te).subscribe(()=>{this.toastService.showSuccessToast(`Successfully saved plan ${pe.name}.`),this.sideSheetService.pop(),ae(Me),me?.next(!1)},be=>{me?.next(!1),this.toastService.showErrorToast(be instanceof L.g?be.message:`Failed to save plan ${pe.name}.`)})}})}getPlanTemplates(pe=[],te={}){return this.queryService.execute1dFirst(q.R.GET_ALL_PLAN_TEMPLATES,{dimensionOptions:this.dimensionOptions,vars:te,extraFilters:pe}).pipe((0,D.T)(ae=>ae.map(K=>({...K,planCategories:this.transFormToPlanCategories(K.planCategories??"")}))))}getPlanTemplatesBasedOnVisibilitySettings(){return this.queryService.execute1dFirst(q.R.GET_PLAN_TEMPLATE_VISIBILITY_SYSTEM_SETTINGS).pipe((0,E.n)(pe=>pe?.length?this.enoService.readEno(pe[0]?.$tip):(0,g.of)(null)))}getPlanTemplatesInModule(pe,te=[],ae={}){return this.queryService.execute1dFirst(q.R.GET_MODULE_PLAN_TEMPLATES,{vars:{"Module tip":[pe],...ae},dimensionOptions:this.dimensionOptions,extraFilters:te}).pipe((0,D.T)(K=>K.map(de=>({...de,planCategories:this.transFormToPlanCategories(de.planCategories??"")}))))}getModuleFromPlanTip(pe){return this.formulaService.evaluate('REFERENCES("app/module:plan-templates")',pe).pipe((0,D.T)(te=>te[0]))}getModuleInstancePolicyFromPlanTip(pe){return this.getModuleFromPlanTip(pe).pipe((0,O.$)(),(0,E.n)(te=>te?this.moduleService.getModulePolicy(te,M.b.INSTANCE):(0,g.of)(null)))}addPlanToModule(pe,te){return this.moduleService.addTipToFlatModuleField({moduleTip:pe,moduleField:"planTemplates",tip:te.$tip}).pipe((0,I.W)(()=>this.modulePackageService.handleError("add plan to module",pe)))}getPlansForContextObjectOld(pe){return this.queryService.execute1dFirst(q.R.GET_PLAN_TEMPLATES_FOR_CONTEXT,{vars:{contextTip:[pe]},dimensionOptions:this.dimensionOptions}).pipe((0,E.n)(te=>this.getPlans(te.map(ae=>ae.$tip))))}getPlansForContextObject(pe){return this.queryService.execute1dArray(q.R.GET_PLAN_TEMPLATES_FOR_CONTEXT,{vars:{contextTip:[pe]},dimensionOptions:this.dimensionOptions})}createPlansResult(pe){const te=[];for(const ae of pe)te.push({$tip:ae.$tip&&ae.$tip[0]||"",$security:ae.$security&&ae.$security[0]||null,name:ae.name&&ae.name[0]||"",description:ae.description&&ae.description[0]||"",checklists:ae.checklists,strategy:ae.strategy&&ae.strategy[0]||"",isActivated:ae.isActivated&&null!=ae.isActivated[0]?"true"===ae.isActivated[0]:null,isIncomplete:ae.isIncomplete&&null!=ae.isIncomplete[0]?"true"===ae.isIncomplete[0]:null,isTemplate:ae.isTemplate&&null!=ae.isTemplate[0]?"true"===ae.isTemplate[0]:null,planCategories:this.transFormToPlanCategories(ae.planCategories?ae.planCategories[0]:"")});return te}getCheckListItemsByPlans(pe){return this.queryService.execute1dFirst(q.R.GET_CHECKLIST_ITEMS_BY_PLANS,{vars:{"Plan tips":pe}}).pipe((0,D.T)(te=>te))}aggregateCheckListItem(pe,te){const ae={inProgress:0,completed:0,cancelled:0,notStarted:0};let K=0,de=0,Me=0,me=0,be=0;for(const Le of te)if(pe===Le.plan)switch(be++,Le.status){case C.oG.CANCELLED:Me++;break;case C.oG.IN_PROGRESS:K++;break;case C.oG.NOT_STARTED:me++;break;case C.oG.COMPLETED:de++}return be>0&&(ae.inProgress=K/be*100,ae.completed=de/be*100,ae.cancelled=Me/be*100,ae.notStarted=me/be*100),ae}activatePlan(pe,te,ae){return this.duplicatePlan(pe,te,ae).pipe((0,E.n)(K=>this.getPlan(K)))}duplicatePlan(pe,te,ae){const K="Eno tip";return this.processService.start("eim/process/data/duplicate/instance",{Tip:[pe],Fields:["app/plan:checklists","app/checklist:items"],"Duplicate tip":[K],"Context tip":[te],"Is activated":[ae.toString()]}).pipe((0,O.$)(de=>de.finished),(0,D.T)(de=>de.vars[K]&&de.vars[K].length?de.vars[K][0]:null))}copyPlanTemplateToModule(pe,te){}transFormToPlanCategories(pe){if((0,n.isEmpty)(pe))return[];{const te=pe.split("---/---").map(ae=>{const K=ae.split("---,---").filter(Boolean);return{$tip:K[0],name:K[1],color:K[2]}});return(0,n.sortBy)(te,"name")}}buildVars(pe){const te={};return pe.planCategories&&pe.planCategories.length>0&&(te["Plan Categories To Filter"]=pe.planCategories),te}buildExtraFilters(pe){const te=[];return pe.planCategories&&pe.planCategories.length>0&&te.push({label:"Plan category filter",formula:(0,F.Ac)({name:"OP",args:[{name:"COUNT",args:[{name:"INTERSECT",args:[{name:"FIELD",args:["app/plan:plan-categories"]},{name:"VAR",args:["Plan Categories To Filter"]}]}]},">=",1]})}),te}static#e=this.\u0275fac=function(te){return new(te||Q)(U.KVO(k.f),U.KVO(Y.T),U.KVO(x.c),U.KVO(B.g),U.KVO(j.V),U.KVO(M.A),U.KVO($.C),U.KVO(H.E),U.KVO(ie.G))};static#t=this.\u0275prov=U.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})()},60454:(at,N,s)=>{"use strict";s.d(N,{U:()=>b});var n=s(93953),a=s(50337),g=s(54234),m=s(69595),T=s(84412),O=s(96354),D=s(99172),E=s(67376);const I=L=>({"badge-success":L});let b=(()=>{class L{constructor(){this.sideSheetService=(0,n.WQX)(a.E),this.selected$=new T.t({planCategories:[]}),this.selectedPlanCategoriesCount$=this.selected$.pipe((0,O.T)(C=>C.planCategories.length??0),(0,D.Z)(0))}onPrimary(){this.done?.(this.selected$.value),this.sideSheetService.pop()}reset(){const C=Object.keys(this.selected$.value).reduce((w,M)=>(w[M]=[],w),{});this.selected$.next(C),this.onReset?.()}openColumnFilterSideSheet(){const w=this.sideSheetService.push(g.p).componentInstance;w.mode=m.X.MULTI_SELECT,w.canAdd=!1,w.actionLabel="Done",w.showBorder=!1,w.title="Select plan category",w.isFilter=!0,w.showHeader=!1,w.addSelectedPlanCategories(this.selected$.value.planCategories),w.done=M=>{const q=this.selected$.value;q.planCategories=M.map(z=>z.$tip),this.selected$.next((0,E.cloneDeep)(q))}}setFilters(C){(0,E.isEmpty)(C)||this.selected$.next(C)}static#e=this.\u0275fac=function(w){return new(w||L)};static#t=this.\u0275cmp=n.VBU({type:L,selectors:[["app-plans-filter-side-sheet"]],decls:18,vars:12,consts:()=>{let C,w,M,q;return C="Filter by",w="Filter Plans",M="Reset",q="Plan category",[w,M,q,["action","Done",3,"actioned","showCancelButton"],["title",C,3,"collapsed","showBorder"],["buttons",""],["appTabIndex","",1,"btn-link","text-right","text-primary","btn-reset",3,"click"],[1,"px-3"],[3,"hideUnderline"],["appTabIndex","",1,"d-flex","justify-content-between","align-items-center",3,"click"],[1,"badge","badge-pill",3,"ngClass"],[1,"ml-2"],[1,"h1","m-0","ml-2"],[1,"mdi","mdi-chevron-right"]]},template:function(w,M){1&w&&(n.j41(0,"app-side-sheet-header",3),n.bIt("actioned",function(){return M.onPrimary()}),n.pXf(1,0),n.k0s(),n.j41(2,"app-side-sheet-section",4)(3,"div",5)(4,"a",6),n.bIt("click",function(){return M.reset()}),n.pXf(5,1),n.k0s()()(),n.j41(6,"div",7)(7,"app-side-sheet-list-item",8)(8,"div",9),n.bIt("click",function(){return M.openColumnFilterSideSheet()}),n.j41(9,"div")(10,"span",10),n.nI1(11,"async"),n.EFF(12),n.nI1(13,"async"),n.k0s(),n.j41(14,"span",11),n.pXf(15,2),n.k0s()(),n.j41(16,"div",12),n.nrm(17,"span",13),n.k0s()()()()),2&w&&(n.Y8G("showCancelButton",!0),n.R7$(2),n.Y8G("collapsed",!0)("showBorder",!1),n.R7$(5),n.Y8G("hideUnderline",!0),n.R7$(3),n.Y8G("ngClass",n.eq3(10,I,n.bMT(11,6,M.selectedPlanCategoriesCount$)>0)),n.R7$(2),n.JRh(n.bMT(13,8,M.selectedPlanCategoriesCount$)))},styles:["[_nghost-%COMP%]{display:block}.btn-reset[_ngcontent-%COMP%], .btn-reset[_ngcontent-%COMP%]:hover{color:#01748e!important}.btn-reset[_ngcontent-%COMP%]:focus{color:#01748e!important}.btn-reset[_ngcontent-%COMP%]:active{color:#015365!important}"],changeDetection:0})}return L})()},81537:(at,N,s)=>{"use strict";s.d(N,{Q:()=>ht});var n=s(8772),a=s(53536),g=s(65353),m=s(84412),T=s(21413),O=s(18810),D=s(7673),E=s(61594),y=s(25558),I=s(88141),b=s(77048),L=s(5964),o=s(56977),C=s(69595),w=s(59016),M=s(69822),q=s(67376),F=s(97586),U=s.n(F),k=s(2578),Y=s.n(k),x=s(38869),B=s(36939),j=s(69172),$=s(93953),H=s(27941),ie=s(50337),ne=s(19937),Q=s(345),le=s(25775),pe=s(3964),te=s(87612),ae=s(8076),K=s(12212);function de(gt,Ge){if(1&gt&&($.j41(0,"app-side-sheet-header",11),$.EFF(1),$.k0s()),2&gt){const Se=$.XpG();$.FS9("size",Se.formSize),$.R7$(),$.JRh(Se.headerText)}}function Me(gt,Ge){if(1&gt){const Se=$.RV6();$.j41(0,"app-side-sheet-header",12),$.bIt("actioned",function(){$.eBV(Se);const Ne=$.XpG();return $.Njj(Ne.generateAndDownload())}),$.EFF(1),$.k0s()}if(2&gt){const Se=$.XpG();$.FS9("size",Se.formSize),$.R7$(),$.JRh(Se.headerText)}}function me(gt,Ge){if(1&gt&&$.nrm(0,"iframe",18),2&gt){const Se=$.XpG(2);$.Y8G("src",Se.htmlContent,$.f$h)}}function be(gt,Ge){if(1&gt){const Se=$.RV6();$.j41(0,"div")(1,"label",20)(2,"input",21),$.mxI("ngModelChange",function(Ne){$.eBV(Se);const Je=$.XpG(3);return $.DH7(Je.outputFileType,Ne)||(Je.outputFileType=Ne),$.Njj(Ne)}),$.k0s(),$.j41(3,"span",22),$.EFF(4),$.k0s()()()}if(2&gt){const Se=Ge.$implicit,ke=$.XpG(3);$.R7$(2),$.Y8G("value",Se.value),$.R50("ngModel",ke.outputFileType),$.Y8G("isNavigable",!1),$.R7$(2),$.JRh(Se.label)}}function Le(gt,Ge){if(1&gt&&($.j41(0,"div")(1,"form")(2,"label"),$.pXf(3,0),$.k0s(),$.DNE(4,be,5,4,"div",19),$.k0s()()),2&gt){const Se=$.XpG(2);$.R7$(4),$.Y8G("ngForOf",Se.printFileTypeOptions)}}function Ae(gt,Ge){if(1&gt&&($.j41(0,"app-side-sheet-section",13)(1,"div",14)(2,"div",15),$.DNE(3,me,1,1,"iframe",16),$.k0s(),$.DNE(4,Le,5,1,"div",17),$.k0s()()),2&gt){const Se=$.XpG();$.FS9("title",Se.headerText),$.Y8G("showBorder",!1),$.R7$(),$.Y8G("showSpinner$",Se.loading$),$.R7$(2),$.Y8G("ngIf",Se.htmlContent),$.R7$(),$.Y8G("ngIf",Se.isDocxFileType)}}function Oe(gt,Ge){1&gt&&($.j41(0,"p",26),$.pXf(1,3),$.k0s())}function Xe(gt,Ge){if(1&gt){const Se=$.RV6();$.qex(0),$.nrm(1,"app-empty-state",24),$.DNE(2,Oe,2,0,"p",25),$.j41(3,"p",26),$.pXf(4,1),$.k0s(),$.j41(5,"div",27)(6,"a",28),$.bIt("click",function(){$.eBV(Se);const Ne=$.XpG(2);return $.Njj(Ne.download())}),$.pXf(7,2),$.k0s()(),$.bVm()}if(2&gt){const Se=$.XpG(2);$.R7$(2),$.Y8G("ngIf",Se.deviceService.onNativeApp)}}function Pe(gt,Ge){if(1&gt&&($.qex(0),$.nrm(1,"app-empty-state",29),$.j41(2,"div",27)(3,"a",30),$.pXf(4,4),$.k0s()(),$.bVm()),2&gt){const Se=$.XpG(2);$.R7$(3),$.FS9("href",Se.mobileDownloadUrl,$.B4B)}}function $e(gt,Ge){1&gt&&$.nrm(0,"img",38)}function ze(gt,Ge){1&gt&&$.nrm(0,"img",39)}function Be(gt,Ge){1&gt&&$.nrm(0,"img",40)}function Ye(gt,Ge){1&gt&&$.nrm(0,"img",41)}function Ct(gt,Ge){if(1&gt&&($.j41(0,"div",32),$.DNE(1,$e,1,0,"img",33)(2,ze,1,0,"img",34)(3,Be,1,0,"img",35)(4,Ye,1,0,"img",36),$.j41(5,"span",37)(6,"strong"),$.pXf(7,6),$.k0s()()()),2&gt){const Se=$.XpG(3);$.R7$(),$.Y8G("ngIf","queued"==Se.trackingStatus),$.R7$(),$.Y8G("ngIf","in progress"==Se.trackingStatus),$.R7$(),$.Y8G("ngIf","completed"==Se.trackingStatus),$.R7$(),$.Y8G("ngIf","failed"==Se.trackingStatus),$.R7$(3),$.uP7(Se.trackingStatus),$.nnv(7)}}function Lt(gt,Ge){if(1&gt&&($.qex(0),$.j41(1,"p",26),$.pXf(2,5),$.k0s(),$.DNE(3,Ct,8,5,"div",31),$.nrm(4,"div",14),$.bVm()),2&gt){const Se=$.XpG(2);$.R7$(3),$.Y8G("ngIf",Se.trackingStatus),$.R7$(),$.Y8G("showSpinner$",Se.downloadLoading$)}}function Vt(gt,Ge){if(1&gt&&($.j41(0,"app-side-sheet-section",23),$.DNE(1,Xe,8,1,"ng-container",17),$.nI1(2,"async"),$.DNE(3,Pe,5,1,"ng-container",17),$.nI1(4,"async"),$.DNE(5,Lt,5,2,"ng-container",17),$.nI1(6,"async"),$.k0s()),2&gt){const Se=$.XpG();$.Y8G("showBorder",!1),$.R7$(),$.Y8G("ngIf",!Se.onMobileApp&&!$.bMT(2,4,Se.downloadLoading$)),$.R7$(2),$.Y8G("ngIf",Se.onMobileApp&&!$.bMT(4,6,Se.downloadLoading$)),$.R7$(2),$.Y8G("ngIf",$.bMT(6,8,Se.downloadLoading$))}}let ht=(()=>{class gt extends n.i{constructor(Se,ke,Ne,Je,Qe,rt,ft,Xt,It,In){super(),this.printService=Se,this.sideSheetService=ke,this.toastService=Ne,this.domSanitizer=Je,this.printingManagerService=Qe,this.cdr=rt,this.printV2Service=ft,this.deviceService=Xt,this.objectService=It,this.settingsPrintService=In,this.loading$=new m.t(!0),this.showDownloadButton=!1,this.mobileDownloadUrl="",this.outputFileType=a.cH.DOCX,this.printOutputFileTypes=a.cH,this.printFileTypeOptions=a.gN,this.downloadLoading$=new m.t(!0),this.downloading=!1,this.trackingStatus="",this.unsubscribe$=new T.B,this.onMobileApp=this.deviceService.onNativeApp}get headerText(){return this.downloading?this.downloadLoading$.getValue()?"Generating document":"Download successful":!1!==this.isDocxFileType?"Print options":"Print preview"}get formSize(){return!1!==this.isDocxFileType?"sm":"lg"}setProps(Se,ke=!0){this.props=Se,ke&&this.onPrinting(this.props)}onPrinting(Se){this.printingManagerService.getObjectPrintTemplateUsages(Se.contextTip).pipe((0,E.$)()).subscribe(ke=>{switch(ke.length){case 0:this.showDownloadButton=!0,this.triggerGenerateDocx();break;case 1:this.printByTemplate(ke[0].$tip);break;default:this.openPrintTemplateUsageList(ke)}})}openPrintTemplateUsageList(Se){const ke=this.sideSheetService.push(M.T);ke.componentInstance.listType=C.X.SINGLE_SELECT,ke.componentInstance.options=(0,q.orderBy)(Se.map(Ne=>({label:Ne.name,value:Ne.$tip})),[Ne=>(0,q.get)(Ne,"label","").toUpperCase()],["asc"]),ke.componentInstance.label="Select print template",ke.componentInstance.hideBack=!0,ke.componentInstance.done=Ne=>{this.printByTemplate(Ne.selected)}}printByTemplate(Se){let ke;this.showDownloadButton=!0,this.printingManagerService.getPrintTemplateUsage(Se).pipe((0,E.$)(),(0,y.n)(Ne=>(ke=Ne,this.printingManagerService.getPrintTemplate(ke.exportFormat))),(0,E.$)()).subscribe(Ne=>{if(Ne.fileType===w.ls.DOCX)return this.triggerGenerateDocx(ke);this.triggerGenerateHtml({templateTip:ke.exportFormat,settingTip:a.f$,contextTip:this.props.contextTip,formTip:ke.form})})}generateAndDownload(Se){if(this.isDocxFileType&&(this.props.outputFileType=Se||this.outputFileType),!this.loading$.getValue()){if(this.isDocxFileType)return this.downloading=!0,this.showDownloadButton=!1,this.cdr.markForCheck(),void this.getFileNameAndGenerate();this.sideSheetService.pop();const{componentInstance:ke}=this.sideSheetService.push(g.d);ke.setProps(this.props)}}setTrackingStatus(Se){if(this.trackingStatus=Se.status,this.cdr.markForCheck(),this.trackingStatus===x.F.FAILED){const ke=this.getDisplayErrorMessage(Se.errormessage)??"Error processing document";return(0,O.$)(()=>ke)}return(0,D.of)(this.trackingStatus)}download(){this.onMobileApp?this.printV2Service.getDownloadUrl(this.props.trackingTip).subscribe(Se=>this.openPDFLink(Se)):this.printV2Service.download(this.props.trackingTip).subscribe(Se=>this.saveAs(Se),Se=>{let ke="Document download failed.";502===Se.status&&(ke+=" The generated file may be too large."),this.toastService.showErrorToast(ke)})}saveAs(Se){this.getDownloadFileName().subscribe(ke=>{Y()(Se,ke),this.downloadLoading$.next(!1)})}openPDFLink(Se){this.mobileDownloadUrl=Se,this.downloadLoading$.next(!1)}getDisplayErrorMessage(Se){const ke=Se.match(/Error converting to PDF: Document size exceeds (\d+) bytes/);if(ke)return`Error converting to PDF: Document size exceeds ${Number(ke[1])/1048576} MB`}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}triggerGenerateDocx(Se){if(this.isDocxFileType=!0,Se){if(this.props.templateTip=Se.exportFormat,this.props.formTip=Se.form,!Se.allowChangePrintFileType)return this.outputFileType=Se.printFileType??a.cH.PDF,this.loading$.next(!1),void this.generateAndDownload();this.cdr.markForCheck(),this.loading$.next(!1)}else this.props.templateTip!==j.xb&&delete this.props.templateTip,this.settingsPrintService.getPrintTemplateSettings().pipe((0,E.$)()).subscribe(ke=>{if(this.outputFileType=ke.printFileType||a.cH.PDF,!ke.allowChangePrintFileType)return this.cdr.markForCheck(),this.loading$.next(!1),void this.generateAndDownload();this.cdr.markForCheck(),this.loading$.next(!1)},ke=>{this.toastService.showErrorToast(ke instanceof B.g?ke.message:"Failed to load Print settings")})}triggerGenerateHtml(Se){this.isDocxFileType=!1,this.printService.generateHtml(Se).pipe((0,I.M)(({trackingTip:ke})=>this.props.trackingTip=ke),(0,y.n)(()=>this.printService.getTrackingObject(this.props.trackingTip)),(0,b.v)(ke=>ke.generateHtmlStatus===x.F.PROGRESS,!0),(0,y.n)(ke=>ke.generateHtmlStatus===x.F.FAILED?(0,O.$)("error processing generate html"):(0,D.of)(ke)),(0,L.p)(ke=>ke.generateHtmlStatus===x.F.COMPLETED),(0,y.n)(()=>this.printService.download(this.props.trackingTip)),(0,o.Q)(this.unsubscribe$)).subscribe(ke=>{this.loading$.next(!1),this.htmlContent=this.domSanitizer.bypassSecurityTrustResourceUrl(URL.createObjectURL(ke)),this.cdr.markForCheck()},()=>{this.toastService.showErrorToast("Unable to generate preview. Please try again later."),this.sideSheetService.pop()})}getFileNameAndGenerate(){this.getDownloadFileName().subscribe(Se=>this.generateDocument(Se))}generateDocument(Se){this.printV2Service.generate(this.props,Se).pipe((0,y.n)(({trackingEnoTip:ke})=>(this.props.trackingTip=ke,this.printV2Service.getTrackingObject(ke))),(0,b.v)(ke=>ke.status!==x.F.COMPLETED,!0),(0,y.n)(ke=>this.setTrackingStatus(ke)),(0,L.p)(ke=>ke===x.F.COMPLETED)).subscribe({next:()=>this.download(),error:ke=>{this.toastService.showErrorToast(ke),this.sideSheetService.pop()}})}getDownloadFileName(){return this.downloadFilename?(0,D.of)(this.downloadFilename):this.objectService.getTitles([this.props.contextTip]).pipe((0,y.n)(([{title:Se}])=>(this.downloadFilename=`${Se}-${U()().format("DD-MMM-YYYY")}.${this.props.outputFileType}`,(0,D.of)(this.downloadFilename))))}static#e=this.\u0275fac=function(ke){return new(ke||gt)($.rXU(H.B),$.rXU(ie.E),$.rXU(ne.f),$.rXU(Q.up),$.rXU(le.c),$.rXU($.gRc),$.rXU(pe.B),$.rXU(te.g),$.rXU(ae.T),$.rXU(K.o))};static#t=this.\u0275cmp=$.VBU({type:gt,selectors:[["app-print-html-preview-side-sheet"]],features:[$.Vt3],decls:4,vars:4,consts:()=>{let Se,ke,Ne,Je,Qe,rt,ft,Xt,It,In,Kt,Ze,wn,zn,di;return Se="Download",ke="Output file type",Ne="Download successful",Je="If your download does not begin,",Qe="please click here to try again.",rt="Please check your notifications or files to view.",ft="File creation successful",Xt="Click here to download the generated file.",It="Document generation in progress.",In="Status: queued",Kt="Status: in progress",Ze="Status: completed",wn="Status: failed",zn="{VAR_SELECT, select, queued {queued} in progress {in progress} completed {completed} failed {failed}}",zn=$.k04(zn,{VAR_SELECT:"\ufffd0\ufffd"}),di="Status: " + zn + "",[ke,Je,Qe,rt,Xt,It,di,[3,"size",4,"ngIf"],["action",Se,3,"size","actioned",4,"ngIf"],[3,"showBorder","title",4,"ngIf"],[3,"showBorder",4,"ngIf"],[3,"size"],["action",Se,3,"actioned","size"],[3,"showBorder","title"],["appSpinner","",3,"showSpinner$"],[1,"iframe-container"],[3,"src",4,"ngIf"],[4,"ngIf"],[3,"src"],[4,"ngFor","ngForOf"],["appTabIndex","",1,"custom-control","custom-radio"],["type","radio","name","outputFileType",1,"custom-control-input",3,"ngModelChange","value","ngModel","isNavigable"],[1,"custom-control-label"],[3,"showBorder"],["imgSrc","assets/img/empty-states/success.svg","label",Ne],["class","text-center mb-0 p-1",4,"ngIf"],[1,"text-center","mb-0","p-1"],["appTabIndex","",1,"text-center"],["appTabIndex","","href","javascript:",3,"click"],["imgSrc","assets/img/empty-states/success.svg","label",ft],["appTabIndex","",3,"href"],["class","d-flex flex-column align-items-center justify-content-center eim-forms_form-control p-6",4,"ngIf"],[1,"d-flex","flex-column","align-items-center","justify-content-center","eim-forms_form-control","p-6"],["src","assets/img/action-statuses/not-started.svg","class","p-1 img-md","alt",In,4,"ngIf"],["src","assets/img/action-statuses/in-progress.svg","class","p-1 img-md","alt",Kt,4,"ngIf"],["src","assets/img/action-statuses/completed.svg","class","p-1 img-md","alt",Ze,4,"ngIf"],["src","assets/img/action-statuses/cancelled.svg","class","p-1 img-md","alt",wn,4,"ngIf"],[1,"label","p-1"],["src","assets/img/action-statuses/not-started.svg","alt",In,1,"p-1","img-md"],["src","assets/img/action-statuses/in-progress.svg","alt",Kt,1,"p-1","img-md"],["src","assets/img/action-statuses/completed.svg","alt",Ze,1,"p-1","img-md"],["src","assets/img/action-statuses/cancelled.svg","alt",wn,1,"p-1","img-md"]]},template:function(ke,Ne){1&ke&&$.DNE(0,de,2,2,"app-side-sheet-header",7)(1,Me,2,2,"app-side-sheet-header",8)(2,Ae,5,5,"app-side-sheet-section",9)(3,Vt,7,10,"app-side-sheet-section",10),2&ke&&($.Y8G("ngIf",!Ne.showDownloadButton),$.R7$(),$.Y8G("ngIf",Ne.showDownloadButton),$.R7$(),$.Y8G("ngIf",!Ne.downloading),$.R7$(),$.Y8G("ngIf",Ne.downloading))},styles:["iframe[_ngcontent-%COMP%]{border:0;height:calc(100vh - 110px);width:60%;box-shadow:1px 1px 3px #999}.iframe-container[_ngcontent-%COMP%]{display:flex;justify-content:center}"],changeDetection:0})}return gt})()},65353:(at,N,s)=>{"use strict";s.d(N,{d:()=>Q});var n=s(8772),a=s(5002),g=s(84412),m=s(84572),T=s(7673),O=s(18810),D=s(61594),E=s(25558),y=s(96354),I=s(77048),b=s(5964),L=s(53536),o=s(97586),C=s.n(o),w=s(2578),M=s(90947),q=s(40673),z=function(le){return le[le.Save=0]="Save",le[le.InAppIOS=1]="InAppIOS",le[le.ExternalLink=2]="ExternalLink",le}(z||{}),F=s(93953),U=s(27941),k=s(8076),Y=s(87612),x=s(10506),B=s(68775);let j=(()=>{class le{constructor(te,ae,K,de,Me){this.printService=te,this.objectService=ae,this.deviceService=K,this.featureFlagStateService=de,this.mobileAppMessageBusService=Me,this.loading$=new g.t(!0),this.hasGeneratedPDF=!1,this.isMobile=this.deviceService.onNativeApp}print(te,ae){this.trackingTip=te,this.printMethod=this.getPrintMethod();const K=this.printMethod===z.Save||this.printMethod===z.InAppIOS;return(0,m.z)([this.generatePdf(),K?this.setContextTitle(ae):(0,T.of)(null)]).pipe((0,D.$)(),(0,E.n)(()=>this.printUsingMethod()))}retryPrint(){if(!this.hasGeneratedPDF)throw new Error("Print should be called first");return this.printUsingMethod()}printUsingMethod(){switch(this.printMethod){case z.Save:return this.printService.download(this.trackingTip,"pdf").pipe((0,D.$)(),(0,y.T)(te=>{this.loading$.next(!1);const ae=`${this.contextTitle}-${C()().format("DD-MMM-YYYY")}.pdf`;(0,w.saveAs)(te,ae)}));case z.InAppIOS:return this.printService.download(this.trackingTip,"pdf").pipe((0,D.$)(),(0,E.n)(te=>(0,M.j)(te,!1)),(0,y.T)(te=>{this.loading$.next(!1);const ae=`${this.contextTitle.replace(/:/g,"-")}-${C()().format("DD-MMM-YYYY")}.pdf`;this.mobileAppMessageBusService.pushDataToMobileApp({input:{data:te,fileName:ae},identifier:q.Ay.PRINT_IN_MOBILE_APP})}));case z.ExternalLink:return this.printService.generateLink(this.trackingTip).pipe((0,y.T)(({uri:te})=>{this.loading$.next(!1),window.open(te,"_self").opener=null}));default:throw new Error("Print method not implemented")}}getPrintMethod(){return this.deviceService.onNativeApp?this.featureFlagStateService.isFeatureEnabled(a.g.FEATURE_EIM_14495_PRINT_BUTTON_ON_MOBILE_DEVICES)&&this.deviceService.appPrintingSupport&&this.deviceService.isAnAppleDevice?z.InAppIOS:z.ExternalLink:z.Save}setContextTitle(te){return this.objectService.getTitles([te]).pipe((0,y.T)(ae=>{this.contextTitle=ae[0]?.title}))}generatePdf(){return this.printService.generatePdf(this.trackingTip).pipe((0,E.n)(()=>this.printService.getTrackingObject(this.trackingTip)),(0,I.v)(te=>te.generatePdfStatus!==L.Fl.COMPLETED,!0),(0,E.n)(te=>te.generatePdfStatus===L.Fl.FAILED?(0,O.$)("Error processing pdf"):(0,T.of)(te)),(0,b.p)(te=>te.generatePdfStatus===L.Fl.COMPLETED),(0,y.T)(()=>{this.hasGeneratedPDF=!0}))}static#e=this.\u0275fac=function(ae){return new(ae||le)(F.KVO(U.B),F.KVO(k.T),F.KVO(Y.g),F.KVO(x.F),F.KVO(B.o))};static#t=this.\u0275prov=F.jDH({token:le,factory:le.\u0275fac})}return le})();var $=s(50337),H=s(19937);function ie(le,pe){1&le&&(F.j41(0,"p",9),F.pXf(1,2),F.k0s())}function ne(le,pe){if(1&le){const te=F.RV6();F.qex(0),F.nrm(1,"app-empty-state",7),F.DNE(2,ie,2,0,"p",8),F.j41(3,"p",9),F.pXf(4,0),F.k0s(),F.j41(5,"div",10)(6,"a",11),F.bIt("click",function(){F.eBV(te);const K=F.XpG();return F.Njj(K.retryPrint())}),F.pXf(7,1),F.k0s()(),F.bVm()}if(2&le){const te=F.XpG();F.R7$(2),F.Y8G("ngIf",te.isMobile)}}let Q=(()=>{class le extends n.i{constructor(te,ae,K){super(),this.printPdfService=te,this.sideSheetService=ae,this.toastService=K,this.isLoading$=this.printPdfService.loading$,this.isMobile=this.printPdfService.isMobile}setProps(te){this.print(te.trackingTip,te.contextTip)}retryPrint(){this.printPdfService.retryPrint().pipe((0,D.$)()).subscribe()}ngOnDestroy(){}print(te,ae){this.printPdfService.print(te,ae).pipe((0,D.$)()).subscribe({error:()=>{this.toastService.showErrorToast("Unable to download. Please try again later."),this.sideSheetService.pop()}})}static#e=this.\u0275fac=function(ae){return new(ae||le)(F.rXU(j),F.rXU($.E),F.rXU(H.f))};static#t=this.\u0275cmp=F.VBU({type:le,selectors:[["app-print-pdf-export-side-sheet"]],features:[F.Jv_([j]),F.Vt3],decls:7,vars:9,consts:()=>{let te,ae,K,de;return te="Download successful",ae="If your download does not begin,",K="please click here to try again.",de="Please check your notifications or files to view.",[ae,K,de,[3,"showClose"],[3,"showBorder"],["appSpinner","",3,"showSpinner$"],[4,"ngIf"],["imgSrc","assets/img/empty-states/success.svg","label",te],["class","text-center mb-0",4,"ngIf"],[1,"text-center","mb-0"],["appTabIndex","",1,"text-center"],["appTabIndex","","href","javascript:",3,"click"]]},template:function(ae,K){1&ae&&(F.j41(0,"app-side-sheet-header",3),F.EFF(1),F.nI1(2,"async"),F.k0s(),F.j41(3,"app-side-sheet-section",4)(4,"div",5),F.DNE(5,ne,8,1,"ng-container",6),F.nI1(6,"async"),F.k0s()()),2&ae&&(F.Y8G("showClose",!0),F.R7$(),F.SpI(" ",F.bMT(2,5,K.isLoading$)?"Downloading":"Download successful","\n"),F.R7$(2),F.Y8G("showBorder",!1),F.R7$(),F.Y8G("showSpinner$",K.isLoading$),F.R7$(),F.Y8G("ngIf",!F.bMT(6,7,K.isLoading$)))},changeDetection:0})}return le})()},3964:(at,N,s)=>{"use strict";s.d(N,{B:()=>C});var n=s(21413),a=s(7673),g=s(56977),m=s(25558),T=s(50835),O=s(38869),D=s(40673),E=s(93953),y=s(8142),I=s(44667),b=s(21626),L=s(70559);const o=`${T.c.host}${T.c.printV2ServicePath}`;let C=(()=>{class w{constructor(q,z,F,U){this.http=q,this.objectService=z,this.httpNoAuth=F,this.i18nService=U,this.localeId=D.Ay.LOCALE_ID,this.destroy$=new n.B,this.i18nService.computedLocaleId$.pipe((0,g.Q)(this.destroy$)).subscribe(k=>{this.localeId=k})}validate(q){return this.http.post(o+"/validate-template",{file:q})}generate(q,z){return this.http.post(o+"/generate",{templateTip:q.templateTip,objectTip:q.contextTip,formTip:q.formTip,fileName:z,fileType:q.outputFileType,localeId:this.localeId})}getTrackingObject(q){return this.objectService.getObject(q,O.E)}download(q){return this.getDownloadUrl(q).pipe((0,m.n)(z=>this.httpNoAuth.get(z,{responseType:"blob"})))}getDownloadUrl(q){return this.http.post(o+"/download-url?trackingEnoTip="+q,{useSignedUrl:!0}).pipe((0,m.n)(z=>(0,a.of)(z.downloadUrl)))}downloadDefault(){return this.http.get(o+"/download-default",{responseType:"blob"})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(z){return new(z||w)(E.KVO(y.V),E.KVO(I.T),E.KVO(b.Qq),E.KVO(L.W4))};static#t=this.\u0275prov=E.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},38869:(at,N,s)=>{"use strict";s.d(N,{E:()=>a,F:()=>g});var n=s(48636);const a={"app/print-v2-tracking:status":{type:n.U.string},"app/print-v2-tracking:errormessage":{type:n.U.string}};var g=function(m){return m.QUEUED="queued",m.PROGRESS="in-progress",m.COMPLETED="completed",m.FAILED="failed",m}(g||{})},27941:(at,N,s)=>{"use strict";s.d(N,{B:()=>E});var n=s(93953),a=s(53536),g=s(50835),m=s(40673),T=s(8142),O=s(44667);const D=`${g.c.host}${g.c.printServicePath}`;let E=(()=>{class y{constructor(b,L){this.http=b,this.objectService=L,this.printPath=(0,n.naY)()?"api/print/print":D}generateHtml(b){return b={...b,localeId:m.Ay.LOCALE_ID},this.http.post(`${this.printPath}/generate-html`,b)}generatePdf(b){return this.http.post(`${this.printPath}/generate-pdf`,{trackingTip:b})}download(b,L="html"){return this.http.get(`${this.printPath}/download`,{params:{trackingTip:b,operation:L},responseType:"blob"})}getTrackingObject(b){return this.objectService.getObject(b,a.MM)}generateLink(b){return this.http.post(`${this.printPath}/link`,{trackingTip:b})}static#e=this.\u0275fac=function(L){return new(L||y)(n.KVO(T.V),n.KVO(O.T))};static#t=this.\u0275prov=n.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},53536:(at,N,s)=>{"use strict";s.d(N,{Fl:()=>a,MM:()=>E,TL:()=>T,cH:()=>g,f$:()=>D,gN:()=>m,vp:()=>O});var n=s(48636),a=function(y){return y.PROGRESS="in-progress",y.COMPLETED="completed",y.FAILED="failed",y}(a||{});const g={DOCX:"docx",PDF:"pdf"},m=[{label:"PDF (.pdf)",value:g.PDF},{label:"MS Word (.docx)",value:g.DOCX}],T={DOCX:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",HTML:"text/html"},O="app/print-template/default-template",D="app/default-print-template-settings",E={"app/print-tracking:generate-html-status":{type:n.U.string},"app/print-tracking:generate-pdf-status":{type:n.U.string}}},66987:(at,N,s)=>{"use strict";s.d(N,{C:()=>I,D:()=>o});var n=s(67376),g=s(68302),m=s(20857),T=s(78329),O=s(80665),D=s(30625);const E={opNo:2,toFormula:(C,w,M)=>{const q=I(M),F={name:(0,T.g)(C)&&"TIP"===C.name&&(0,n.isEmpty)(C.args)?"INARRAY":"HAS_INTERSECT",args:[{name:"ARRAY",args:[{name:"DESCENDANTS",args:[q,w]},w]},C]},k={formulaHash:(0,D.tW)(F),formulaVersion:2,leftArg:C,operatorName:D.y7.HIERARCHICAL_OBJECT_CONTAINS_ANY,operatorType:g.Wt.CONTAINS_ANY,parentFieldTip:q,rightArg:w};return{name:"ANNOTATE",args:["operatorMeta",JSON.stringify(k),F]}}},y={opNo:2,toFormula:(C,w,M)=>{const q=I(M),F={name:(0,T.g)(C)&&"TIP"===C.name&&(0,n.isEmpty)(C.args)?"INARRAY":"HAS_INTERSECT",args:[{name:"ARRAY",args:[{name:"ANCESTORS",args:[q,w]},w]},C]},k={formulaHash:(0,D.tW)(F),formulaVersion:2,leftArg:C,operatorName:D.y7.HIERARCHICAL_OBJECT_IN,operatorType:g.Wt.IN,parentFieldTip:q,rightArg:w};return{name:"ANNOTATE",args:["operatorMeta",JSON.stringify(k),F]}}};function I(C){let w="",M="";if(!C||!C.typeRestrict)return w;if([...m.it.filter(z=>z.isHierarchical).map(z=>z.$tip),"app/group"].includes(C.typeRestrict))M=C.typeRestrict;else if(C.implements&&C.implements.length){const z=m.it.filter(F=>F.isHierarchical).map(F=>F.$tip);M=C.implements.find(F=>z.includes(F))}return M&&(w=M+":parent"),w}const b=(0,D.fR)(E),L=(0,D.fR)(y),o={operators:{[g.Wt.CONTAINS_ANY]:E,[g.Wt.NOT_CONTAINS_ANY]:b,[g.Wt.IN]:y,[g.Wt.NOT_IN]:L,[g.Wt.EQUALS]:O.T.operators[g.Wt.EQUALS],[g.Wt.NOT_EQUALS]:O.T.operators[g.Wt.NOT_EQUALS],[g.Wt.IS_OF_TYPE]:O.T.operators[g.Wt.IS_OF_TYPE],[g.Wt.NOT_IS_OF_TYPE]:O.T.operators[g.Wt.NOT_IS_OF_TYPE]},getParts:C=>{if((0,D.EY)(C))return(0,D.c6)(C);let w=C,M=!1;if("NOT"===w.name&&(w=w.args[0],M=!0),"EQUALS"===w.name)return O.T.getParts(C);if("OP"===w.name)return{operator:M?g.Wt.NOT_IS_OF_TYPE:g.Wt.IS_OF_TYPE,leftArg:w.args[0].args[0],rightArg:w.args[2]};const q=w.args[0].args[0];if("ANCESTORS"===q.name)return{operator:M?g.Wt.NOT_CONTAINS_ANY:g.Wt.CONTAINS_ANY,leftArg:q.args[1],rightArg:w.args[1]};if("DESCENDANTS"===q.name)return{operator:M?g.Wt.NOT_IN:g.Wt.IN,leftArg:q.args[1],rightArg:w.args[1]};throw new Error("Unknown operators: "+w.name)}}},80665:(at,N,s)=>{"use strict";s.d(N,{T:()=>ie});var n=s(68302),a=s(92597),g=s(28342),m=s(78329),T=s(77088),O=s(67376),D=s(3310),E=s(37815);class y{static canOptimiseObjectContainsAny(Q,le){const pe=(0,D.k)(Q),te="CONTEXT"===Q.name,ae="CONTEXT"===(0,O.get)(Q,["args",0,"name"]),K=pe.length>=2&&te&&ae,Me="Selecting"===E.k.getRightArgBy(le);return K&&!Me}static getOptimisedObjectContainsAnyFormulaSpec(Q,le){const pe=(0,D.k)(Q);return{name:"HAS_INTERSECT",args:[{name:"FIELD",args:[pe.shift()]},{name:"CONTEXT",args:[y.getRecursiveReferencesFormulaSpec(pe,le),{name:"TIP",args:[]}]}]}}static getRecursiveReferencesFormulaSpec(Q,le){return[...Q].reverse().reduce((ae,K,de)=>0===de?{name:"REFERENCES",args:[K,le]}:{name:"REFERENCES",args:[K,ae]},{})}}var I=s(30625);const b={[n.Wt.IN]:"filter-designer-operator-object-in",[n.Wt.CONTAINS_ALL]:"filter-designer-operator-object-contains-all"},C={opNo:2,toFormula:(ne,Q)=>{let le=Q;return!(0,m.g)(Q)&&(0,g.jj)(Q)&&(le=(0,a.iX)(Q)),{name:"EQUALS",args:[ne,le]}}},w=(0,I.fR)(C),M={opNo:2,toFormula:(ne,Q)=>({name:"OP",args:[{name:"TYPE",args:[ne]},"==",Q]})},q=(0,I.fR)(M),z={opNo:1,toFormula:ne=>({name:"EQUALS",args:[{name:"ARRAY",args:[]},ne]})},F=(0,I.fR)(z),U={opNo:2,toFormula:(ne,Q)=>{const le=T.X.toFormulaSpec(ne);let pe=Q;!(0,m.g)(Q)&&(0,g.jj)(Q)&&(pe=(0,a.iX)(Q));const te={name:"HAS_INTERSECT",args:[le,pe]},ae=y.getOptimisedObjectContainsAnyFormulaSpec(le,pe),K=y.canOptimiseObjectContainsAny(le,pe)?ae:te,Me={formulaHash:(0,I.tW)(K),formulaVersion:2,leftArg:le,operatorName:I.y7.OBJECT_CONTAINS_ANY,operatorType:n.Wt.CONTAINS_ANY,rightArg:pe};return{name:"ANNOTATE",args:["operatorMeta",JSON.stringify(Me),K]}}},k=(0,I.fR)(U),Y={opNo:2,toFormula:(ne,Q)=>{let le=Q;return!(0,m.g)(Q)&&(0,g.jj)(Q)&&(le=(0,a.iX)(Q)),(0,m.g)(ne)&&"TIP"===ne.name?{name:"ANNOTATE",args:[b[n.Wt.IN],JSON.stringify({case:"left-arg-tip-case"}),{name:"INARRAY",args:[le,ne]}]}:{name:"OP",args:[{name:"EQUALS",args:[{name:"COUNT",args:[ne]},{name:"COUNT",args:[{name:"INTERSECT",args:[ne,le]}]}]},"&&",F.toFormula(ne)]}}},x=(0,I.fR)(Y),B={opNo:2,toFormula:(ne,Q)=>{let le=Q;return!(0,m.g)(Q)&&(0,g.jj)(Q)&&(le=(0,a.iX)(Q)),{name:"HAS_INTERSECT",args:[ne,{name:"UNIQUE",args:[{name:"FIELD_VALUES",args:["app/group:contacts",{name:"ARRAY",args:[le,{name:"ANCESTORS",args:["app/group:parent",le]}]}]}]}]}}},j=(0,I.fR)(B),$={opNo:2,toFormula:(ne,Q)=>{let le=Q;return!(0,m.g)(Q)&&(0,g.jj)(Q)&&(le=(0,a.iX)(Q)),(0,m.g)(le)&&"TIP"===le.name?{name:"ANNOTATE",args:[b[n.Wt.CONTAINS_ALL],JSON.stringify({case:"right-arg-tip-case"}),{name:"INARRAY",args:[ne,le]}]}:{name:"OP",args:[F.toFormula(le),"&&",{name:"EQUALS",args:[{name:"COUNT",args:[le]},{name:"COUNT",args:[{name:"INTERSECT",args:[ne,le]}]}]}]}}},H=(0,I.fR)($),ie={operators:{[n.Wt.EQUALS]:C,[n.Wt.NOT_EQUALS]:w,[n.Wt.IS_OF_TYPE]:M,[n.Wt.NOT_IS_OF_TYPE]:q,[n.Wt.IS_EMPTY]:z,[n.Wt.NOT_IS_EMPTY]:F,[n.Wt.IN]:Y,[n.Wt.NOT_IN]:x,[n.Wt.CONTACT_IN_GROUP]:B,[n.Wt.CONTACT_NOT_IN_GROUP]:j,[n.Wt.CONTAINS_ALL]:$,[n.Wt.NOT_CONTAINS_ALL]:H,[n.Wt.CONTAINS_ANY]:U,[n.Wt.NOT_CONTAINS_ANY]:k},getParts:ne=>{if((0,I.EY)(ne))return(0,I.c6)(ne);let Q=ne,le=!1;if(!Q)return{operator:n.Wt.IN,leftArg:null,rightArg:null};if("NOT"===Q.name&&(Q=Q.args[0],le=!0),"ANNOTATE"===Q.name){if(Q.args[0]===b[n.Wt.IN])return{operator:le?n.Wt.NOT_IN:n.Wt.IN,leftArg:Q.args[2].args[1],rightArg:Q.args[2].args[0]};if(Q.args[0]===b[n.Wt.CONTAINS_ALL])return{operator:le?n.Wt.NOT_CONTAINS_ALL:n.Wt.CONTAINS_ALL,leftArg:Q.args[2].args[0],rightArg:Q.args[2].args[1]}}if("EQUALS"===Q.name){const pe=Q.args[0];return"ARRAY"!==pe.name||pe.args.length?{operator:le?n.Wt.NOT_EQUALS:n.Wt.EQUALS,leftArg:Q.args[0],rightArg:Q.args[1]}:{operator:le?n.Wt.NOT_IS_EMPTY:n.Wt.IS_EMPTY,leftArg:Q.args[1]}}if("OP"===Q.name)return"EQUALS"===Q.args[0].name?{operator:le?n.Wt.NOT_IN:n.Wt.IN,leftArg:Q.args[0].args[1].args[0].args[0],rightArg:Q.args[0].args[1].args[0].args[1]}:"NOT"===Q.args[0].name?{operator:le?n.Wt.NOT_CONTAINS_ALL:n.Wt.CONTAINS_ALL,leftArg:Q.args[2].args[1].args[0].args[0],rightArg:Q.args[2].args[1].args[0].args[1]}:{operator:le?n.Wt.NOT_IS_OF_TYPE:n.Wt.IS_OF_TYPE,leftArg:Q.args[0].args[0],rightArg:Q.args[2]};if("HAS_INTERSECT"===Q.name)return Q.args[1]&&"UNIQUE"===Q.args[1].name?{operator:le?n.Wt.CONTACT_NOT_IN_GROUP:n.Wt.CONTACT_IN_GROUP,leftArg:Q.args[0],rightArg:Q.args[1].args[0].args[1].args[0]}:Q.args[0]&&Q.args[1]&&"ARRAY"===Q.args[0].name&&"FIELD"===Q.args[1].name?{operator:n.Wt.IN,leftArg:Q.args[0].args,rightArg:Q.args[0].args}:{operator:le?n.Wt.NOT_CONTAINS_ANY:n.Wt.CONTAINS_ANY,leftArg:Q.args[0],rightArg:Q.args[1]};throw new Error("Unknown operators: "+Q.name)}}},37815:(at,N,s)=>{"use strict";s.d(N,{k:()=>E});var n=s(67376),g=s(70398),m=s(28342),T=s(3310),O=s(78329),D=s(77088);class E{static getRightArgBy(I){if(!I)return null;let b,L;try{b=D.X.toFormulaSpec(I),L=D.X.toFormulaString(I)}catch{b=I,L=I}if((0,O.g)(b)&&"GEO_BUFFER"===b.name){const C=b.args[0];(0,O.g)(C)?(b=C,L=D.X.toFormulaString(b)):(b=C,L=C)}if((0,n.isString)(b)||(0,n.isNumber)(b))return"Entering";if(!(0,O.g)(b))return null;const o=(0,T.O)(L);if((0,m.jj)(L)||(0,n.get)(o,"0","").includes("app/user-session:user")||(0,n.get)(o,"0","").includes("session:owner"))return"Relative";if("TIP"===b.name&&0===b.args.length||"CONTEXT"===b.name||"FIELD"===b.name&&1===b.args.length&&(0,n.isString)(b.args[0]))return"Selecting";if("TO_DATETIME"===b.name&&1===b.args.length){const C=b.args[0];if((0,O.g)(C)&&"CONCAT"===C.name&&2===C.args.length&&"@"===C.args[0])return"Selecting"}return"VAR"===b.name&&1===b.args.length&&(0,n.isString)(b.args[0])?"Variable":(0,g.Fx)(L)?"Relative":"COALESCE"===b.name&&b.args?.length>0?"Selecting":(console.warn("[OperatorArgUtils.getRightArgBy()] unsupported rightArg formula",I),null)}}},30625:(at,N,s)=>{"use strict";s.d(N,{EY:()=>y,c6:()=>I,fR:()=>E,tW:()=>b,y7:()=>D});var n=s(67376),g=s(77783),m=s.n(g),T=s(68302),O=s(78329),D=function(w){return w.HIERARCHICAL_OBJECT_CONTAINS_ANY="HIERARCHICAL_OBJECT_CONTAINS_ANY",w.HIERARCHICAL_OBJECT_IN="HIERARCHICAL_OBJECT_IN",w.HIERARCHICAL_OBJECT_NOT_CONTAINS_ANY="HIERARCHICAL_OBJECT_NOT_CONTAINS_ANY",w.HIERARCHICAL_OBJECT_NOT_IN="HIERARCHICAL_OBJECT_NOT_IN",w.OBJECT_CONTAINS_ANY="OBJECT_CONTAINS_ANY",w.OBJECT_NOT_CONTAINS_ANY="OBJECT_NOT_CONTAINS_ANY",w.STRING_CONTAINS="STRING_CONTAINS",w.STRING_NOT_CONTAINS="STRING_NOT_CONTAINS",w}(D||{});function E(w){return{opNo:w.opNo,toFormula:(M,q,z)=>{const F=w.toFormula(M,1===w.opNo?null:q,z);if(!y(F))return{name:"NOT",args:[F]};const U=F.args[1],k=F.args[2],{operatorType:Y,operatorName:x,...B}=JSON.parse(U),j={name:"NOT",args:[k]},$={...B,formulaHash:b(j),operatorName:C(x),operatorType:o(Y)};return{name:"ANNOTATE",args:["operatorMeta",JSON.stringify($),j]}}}}function y(w){if(!(0,O.g)(w)||"ANNOTATE"!==w.name)return!1;const q=L(w.args[1]);return"formulaHash"in q&&"formulaVersion"in q&&"leftArg"in q&&"operatorName"in q&&"operatorType"in q}function I(w){const{leftArg:q,rightArg:z,operatorType:F}=L(w.args[1]);return{leftArg:q,rightArg:z,operator:F}}function b(w){return m()(JSON.parse(JSON.stringify(w)),{encoding:"base64"})}function L(w){let M;try{M=JSON.parse(w)}catch{console.warn("Unable to parse annotation meta, trying again.",w)}if((0,n.isNil)(M)){const q=w.replace(/[\\]+/g,"\\");try{M=JSON.parse(q)}catch{console.error("Failed to parse annotation meta",w)}}return M||{}}function o(w){switch(w){case T.Wt.ASSIGNED_TO:return T.Wt.NOT_ASSIGNED_TO;case T.Wt.CONTACT_IN_GROUP:return T.Wt.CONTACT_NOT_IN_GROUP;case T.Wt.CONTAINS:return T.Wt.NOT_CONTAINS;case T.Wt.CONTAINS_ALL:return T.Wt.NOT_CONTAINS_ALL;case T.Wt.CONTAINS_ANY:return T.Wt.NOT_CONTAINS_ANY;case T.Wt.ENDS_WITH:return T.Wt.NOT_ENDS_WITH;case T.Wt.EQUALS:return T.Wt.NOT_EQUALS;case T.Wt.GREATER_THAN:return T.Wt.LESS_THAN_EQUAL_TO;case T.Wt.IN:return T.Wt.NOT_IN;case T.Wt.INTERSECTS_WITH:return T.Wt.NOT_INTERSECTS_WITH;case T.Wt.IS_EMPTY:return T.Wt.NOT_IS_EMPTY;case T.Wt.IS_OF_TYPE:return T.Wt.NOT_IS_OF_TYPE;case T.Wt.LESS_THAN:return T.Wt.GREATER_THAN_EQUAL_TO;case T.Wt.STARTS_WITH:return T.Wt.NOT_STARTS_WITH;case T.Wt.WITHIN:return T.Wt.NOT_WITHIN;default:return console.error("[reverseOperatorType] Unknown operator type",w),null}}function C(w){switch(w){case D.HIERARCHICAL_OBJECT_IN:return D.HIERARCHICAL_OBJECT_NOT_IN;case D.HIERARCHICAL_OBJECT_CONTAINS_ANY:return D.HIERARCHICAL_OBJECT_NOT_CONTAINS_ANY;case D.OBJECT_CONTAINS_ANY:return D.OBJECT_NOT_CONTAINS_ANY;case D.STRING_CONTAINS:return D.STRING_NOT_CONTAINS;default:return console.error("[reverseOperatorName] Unknown operator name",w),null}}},25767:(at,N,s)=>{"use strict";s.d(N,{V:()=>Ii,_:()=>Xn});var n=s(67376),a=s(7673),g=s(96354),m=s(76194),T=s(52596),O=s(9975),D=s(69172),E=s(78329),y=s(30625),I=s(92597),b=s(68302),L=s(28342);const o={opNo:2,toFormula:(En,ln)=>{let Dn=ln;return!(0,E.g)(ln)&&(0,L.jj)(ln)&&(Dn=(0,I.iX)(ln)),{name:"INARRAY",args:[{name:"ARRAY",args:[Dn,{name:"REFERENCES",args:["app/team-role:users",Dn]},{name:"REFERENCES",args:["app/team:roles",{name:"REFERENCES",args:["app/team-role:users",Dn]}]},{name:"REFERENCES",args:["app/team:roles",Dn]}]},{name:"FIELD",args:["app/assignment:assignee",En]}]}}},C=(0,y.fR)(o),w={operators:{[b.Wt.ASSIGNED_TO]:o,[b.Wt.NOT_ASSIGNED_TO]:C},getParts:En=>{let ln=En,Dn=!1;if("NOT"===ln.name&&(ln=ln.args[0],Dn=!0),"INARRAY"===ln.name)return{operator:Dn?b.Wt.NOT_ASSIGNED_TO:b.Wt.ASSIGNED_TO,leftArg:ln.args[1].args[1],rightArg:ln.args[0].args[0]};throw new Error("Unknown operators: "+ln.name)}},M={opNo:2,toFormula:(En,ln)=>({name:"EQUALS",args:[{name:"COALESCE",args:[En,"false"]},{name:"COALESCE",args:[ln,"false"]}]})},q=(0,y.fR)(M),z={operators:{[b.Wt.EQUALS]:M,[b.Wt.NOT_EQUALS]:q},getParts:En=>{let ln=En,Dn=!1;if("NOT"===ln.name&&(ln=ln.args[0],Dn=!0),"EQUALS"===ln.name)return{operator:Dn?b.Wt.NOT_EQUALS:b.Wt.EQUALS,leftArg:ln.args[0].args[0],rightArg:ln.args[1].args[0]};throw new Error("Unknown operators: "+ln.name)}},F=En=>["&&",{name:"OP",args:[En,"!=",{name:"ARRAY",args:[]}]}],U={opNo:2,toFormula:(En,ln)=>({name:"EQUALS",args:[{name:"DATE_DIFF",args:[{name:"TO_DATE",args:[En]},{name:"TO_DATE",args:[ln]},"seconds"]},0]})},k={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[(0,y.fR)(U).toFormula(En,ln),...F(En)]})},Y={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[{name:"OP",args:[{name:"DATE_DIFF",args:[{name:"TO_DATE",args:[En]},{name:"TO_DATE",args:[{name:"FIRST",args:[ln]}]},"seconds"]},"<",0]},...F(En)]})},x={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[(0,y.fR)(B).toFormula(En,ln),...F(En)]})},B={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[{name:"DATE_DIFF",args:[{name:"TO_DATE",args:[En]},{name:"TO_DATE",args:[{name:"LAST",args:[ln]}]},"seconds"]},">",0]})},j={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[(0,y.fR)(Y).toFormula(En,ln),...F(En)]})},$={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[j.toFormula(En,ln),"&&",x.toFormula(En,ln)]})},H={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[(0,y.fR)($).toFormula(En,ln),...F(En)]})},ie=En=>void 0!==(0,n.get)(En,["args",2,"args",2,"args"])&&(!("OP"!==En.name||"&&"!==En.args[1]||"OP"!==En.args[2].name||"!="!==En.args[2].args[1]||"ARRAY"!==En.args[2].args[2].name||!Array.isArray(En.args[2].args[2].args)||0!==En.args[2].args[2].args.length)||En.args.map(ln=>ie(ln)).some(Boolean)),ne=En=>"NOT"===En.name,Q=En=>"OP"===En.name&&"NOT"===En.args[0].name,le={operators:{[b.Wt.EQUALS]:U,[b.Wt.NOT_EQUALS]:k,[b.Wt.WITHIN]:$,[b.Wt.NOT_WITHIN]:H,[b.Wt.LESS_THAN]:Y,[b.Wt.GREATER_THAN]:B,[b.Wt.LESS_THAN_EQUAL_TO]:x,[b.Wt.GREATER_THAN_EQUAL_TO]:j},getParts:En=>{let ln=En,Dn=!1;if(ie(ln)){if(Q(ln)&&(ln=ln.args[0].args[0],Dn=!0),"<"===ln.args[0].args[1])return{operator:Dn?b.Wt.GREATER_THAN_EQUAL_TO:b.Wt.LESS_THAN,leftArg:ln.args[0].args[0].args[0].args[0],rightArg:ln.args[0].args[0].args[1].args[0].args[0]};if("&&"===ln.args[1])return{operator:Dn?b.Wt.NOT_WITHIN:b.Wt.WITHIN,leftArg:ln.args[0].args[0].args[0].args[0].args[0].args[0].args[0],rightArg:ln.args[0].args[0].args[0].args[0].args[0].args[1].args[0].args[0]}}else if(ne(ln)&&(ln=ln.args[0],Dn=!0),"OP"===ln.name){if("<"===ln.args[1])return{operator:Dn?b.Wt.GREATER_THAN_EQUAL_TO:b.Wt.LESS_THAN,leftArg:ln.args[0].args[0].args[0],rightArg:ln.args[0].args[1].args[0].args[0]};if("&&"===ln.args[1])return{operator:Dn?b.Wt.NOT_WITHIN:b.Wt.WITHIN,leftArg:ln.args[0].args[0].args[0].args[0].args[0],rightArg:ln.args[0].args[0].args[0].args[1].args[0].args[0]}}if(">"===ln.args[1])return{operator:Dn?b.Wt.LESS_THAN_EQUAL_TO:b.Wt.GREATER_THAN,leftArg:ln.args[0].args[0].args[0],rightArg:ln.args[0].args[1].args[0].args[0]};if("EQUALS"===ln.name)return{operator:Dn?b.Wt.NOT_EQUALS:b.Wt.EQUALS,leftArg:ln.args[0].args[0].args[0],rightArg:ln.args[0].args[1].args[0]};throw new Error("Unknown operators: "+ln.name)}},pe=En=>"string"==typeof En?En:(0,n.isNil)(En)||!("name"in En)?null:"TO_DATETIME"!==En.name?"CONCAT"===En.name&&"@"===En.args[0]?{name:"TO_DATETIME",args:[En]}:En:pe(En.args[0]),te=En=>(0,E.g)(En)&&"TO_DATETIME"===En.name?En:{name:"TO_DATETIME",args:[En]},ae={opNo:2,toFormula:(En,ln)=>({name:"EQUALS",args:[{name:"DATE_DIFF",args:[te(En),te(ln),"seconds"]},0]})},K={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[(0,y.fR)(ae).toFormula(En,ln),...F(En)]})},de={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[{name:"OP",args:[{name:"DATE_DIFF",args:[te(En),te({name:"FIRST",args:[ln]}),"seconds"]},"<",0]},...F(En)]})},Me={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[(0,y.fR)(de).toFormula(En,ln),...F(En)]})},me={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[{name:"DATE_DIFF",args:[te(En),te({name:"LAST",args:[ln]}),"seconds"]},">",0]})},be={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[(0,y.fR)(me).toFormula(En,ln),...F(En)]})},Le={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[Me.toFormula(En,ln),"&&",be.toFormula(En,ln)]})},Ae={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[(0,y.fR)(Le).toFormula(En,ln),...F(En)]})},Oe=En=>"OP"===En.name&&"&&"===En.args[1]&&"NOT"===En.args[0].args[0].name&&"NOT"===En.args[2].args[0].name,Pe=En=>"OP"===En.name&&"&&"===En.args[1]&&"NOT"===En.args[0].name&&"NOT"===En.args[2].name,ze={operators:{[b.Wt.EQUALS]:ae,[b.Wt.NOT_EQUALS]:K,[b.Wt.WITHIN]:Le,[b.Wt.NOT_WITHIN]:Ae,[b.Wt.LESS_THAN]:de,[b.Wt.GREATER_THAN]:me,[b.Wt.LESS_THAN_EQUAL_TO]:be,[b.Wt.GREATER_THAN_EQUAL_TO]:Me},getParts:En=>{let ln=En,Dn=!1;if(Oe(ln))return(0,n.get)(En,"args[0].args[0].args[0].args[0].args[0].args[1].args[0]")?{operator:b.Wt.WITHIN,leftArg:pe(En.args[0].args[0].args[0].args[0].args[0].args[0]),rightArg:pe(En.args[0].args[0].args[0].args[0].args[0].args[1]).args[0]}:{operator:b.Wt.WITHIN,leftArg:pe(En.args[0].args[0].args[0].args[0].args[0]),rightArg:pe(En.args[0].args[0].args[0].args[0].args[1]).args[0]};if(Pe(ln))return{operator:b.Wt.WITHIN,leftArg:En.args[0].args[0].args[0].args[0],rightArg:En.args[0].args[0].args[0].args[1].args[0]};if((En=>Q(En)&&Oe(En.args[0].args[0]))(ln))return(0,n.get)(En,"args[0].args[0].args[0].args[0].args[0].args[0].args[0].args[1].args[0]")?{operator:b.Wt.NOT_WITHIN,leftArg:pe(En.args[0].args[0].args[0].args[0].args[0].args[0].args[0].args[0]),rightArg:pe(En.args[0].args[0].args[0].args[0].args[0].args[0].args[0].args[1]).args[0]}:{operator:b.Wt.NOT_WITHIN,leftArg:pe(En.args[0].args[0].args[0].args[0].args[0].args[0].args[0]),rightArg:pe(En.args[0].args[0].args[0].args[0].args[0].args[0].args[1]).args[0]};if((En=>ne(En)&&Pe(En.args[0]))(ln))return{operator:b.Wt.NOT_WITHIN,leftArg:En.args[0].args[0].args[0].args[0].args[0],rightArg:En.args[0].args[0].args[0].args[0].args[1].args[0]};if(Q(ln)?(ln=ln.args[0].args[0],Dn=!0):ne(ln)&&(ln=ln.args[0],Dn=!0),"EQUALS"===ln.name)return{operator:Dn?b.Wt.NOT_EQUALS:b.Wt.EQUALS,leftArg:pe(ln.args[0].args[0]),rightArg:pe(ln.args[0].args[1])};if(ie(ln)&&(ln=ln.args[0]),"<"===ln.args[1])return{operator:Dn?b.Wt.GREATER_THAN_EQUAL_TO:b.Wt.LESS_THAN,leftArg:pe(ln.args[0].args[0]),rightArg:pe(ln.args[0].args[1]).args[0]};if(">"===ln.args[1])return{operator:Dn?b.Wt.LESS_THAN_EQUAL_TO:b.Wt.GREATER_THAN,leftArg:pe(ln.args[0].args[0]),rightArg:pe(ln.args[0].args[1]).args[0]};throw new Error("Unknown operators: "+ln.name)}};var Be=s(3310),Ye=s(95354);const Ct={opNo:2,toFormula:(En,ln)=>{const Dn=(0,n.last)((0,E.g)(En)?(0,Be.k)(En):(0,Be.O)(En));if((0,E.g)(En)&&Dn||(0,E.g)(En)&&"VAR"===En.name)return{name:"INARRAY",args:[{name:"GEO_FIELD_INTERSECTS",args:[ln,{name:"ARRAY",args:Dn?[Dn]:[]}]},"CONTEXT"===En.name?(0,I.iX)((0,Ye.Hb)((0,I.Ac)(En))||"TIP()"):En.args[1]||{name:"TIP",args:[]}]};throw new Error("leftArg must be FIELD formula.")}},Lt=(0,y.fR)(Ct),Vt={operators:{[b.Wt.INTERSECTS_WITH]:Ct,[b.Wt.NOT_INTERSECTS_WITH]:Lt},getParts:En=>{let ln=En,Dn=!1;if("NOT"===ln.name&&(ln=ln.args[0],Dn=!0),"INARRAY"===ln.name){const Ai=Dn?b.Wt.NOT_INTERSECTS_WITH:b.Wt.INTERSECTS_WITH,os=ln.args[0].args[0],Fs={name:"FIELD",args:[ln.args[0].args[1].args[0]]};let sn;return sn="TIP"===ln.args[1].name?Fs:(0,Ye.f5)(Fs,ln.args[1]),{operator:Ai,leftArg:sn,rightArg:os}}throw new Error("Unknown operators: "+ln.name)}};var ht=s(66987);const gt={opNo:2,toFormula:(En,ln)=>({name:"EQUALS",args:[En,ln]})},Ge=(0,y.fR)(gt),Se={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[{name:"FIND_TEXT",args:[En,ln]},"==",0]})},ke=(0,y.fR)(Se),Ne={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[{name:"FIND_TEXT",args:[En,ln]},"==",{name:"SUB",args:[{name:"STRLEN",args:[En]},{name:"STRLEN",args:[ln]}]}]})},Je=(0,y.fR)(Ne),Qe={opNo:2,toFormula:(En,ln,{fieldTip:Dn,useSearchForStringContainsOperator:Ai})=>{const os={name:"OP",args:[{name:"COALESCE",args:[{name:"FIND_TEXT",args:[En,ln]},-1]},"!=",-1]},Fs={name:"OP",args:[{name:"INARRAY",args:[{name:"SEARCH_IN_TYPE",args:[ln,{name:"REFERENCES",args:["type/field",Dn]},Dn]},{name:"TIP",args:[]}]},"&&",os]},sn=!(0,n.isNil)(Dn)&&Ai?Fs:os,pt={formulaHash:(0,y.tW)(sn),formulaVersion:2,leftArg:En,operatorName:y.y7.STRING_CONTAINS,operatorType:b.Wt.CONTAINS,rightArg:ln};return{name:"ANNOTATE",args:["operatorMeta",JSON.stringify(pt),sn]}}},rt=(0,y.fR)(Qe),ft={opNo:1,toFormula:En=>({name:"INARRAY",args:[{name:"ARRAY",args:["",{name:"NULL",args:[]}]},En]})},Xt=(0,y.fR)(ft),It={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[-1,"!=",{name:"FIND_TEXT",args:[ln,En]}]})},In=(0,y.fR)(It),Kt={operators:{[b.Wt.EQUALS]:gt,[b.Wt.NOT_EQUALS]:Ge,[b.Wt.STARTS_WITH]:Se,[b.Wt.NOT_STARTS_WITH]:ke,[b.Wt.ENDS_WITH]:Ne,[b.Wt.NOT_ENDS_WITH]:Je,[b.Wt.CONTAINS]:Qe,[b.Wt.NOT_CONTAINS]:rt,[b.Wt.IS_EMPTY]:ft,[b.Wt.NOT_IS_EMPTY]:Xt,[b.Wt.IN]:It,[b.Wt.NOT_IN]:In},getParts:En=>{if((0,y.EY)(En))return(0,y.c6)(En);let ln=En,Dn=!1;if("NOT"===ln.name&&(ln=ln.args[0],Dn=!0),"INARRAY"===ln.name)return{operator:Dn?b.Wt.NOT_IS_EMPTY:b.Wt.IS_EMPTY,leftArg:ln.args[1]};if("OP"===ln.name){if(0===ln.args[2])return{operator:Dn?b.Wt.NOT_STARTS_WITH:b.Wt.STARTS_WITH,leftArg:ln.args[0].args[0],rightArg:ln.args[0].args[1]};if(-1===ln.args[2]){const Ai="COALESCE"===ln.args[0].name;return{operator:Dn?b.Wt.NOT_CONTAINS:b.Wt.CONTAINS,leftArg:Ai?ln.args[0].args[0].args[0]:ln.args[0].args[0],rightArg:Ai?ln.args[0].args[0].args[1]:ln.args[0].args[1]}}if(-1===ln.args[0])return{operator:Dn?b.Wt.NOT_IN:b.Wt.IN,leftArg:ln.args[2].args[1],rightArg:ln.args[2].args[0]};if("FIND_TEXT"===ln.args[0].name)return{operator:Dn?b.Wt.NOT_ENDS_WITH:b.Wt.ENDS_WITH,leftArg:ln.args[0].args[0],rightArg:ln.args[0].args[1]};throw new Error("Unknown operators:"+ln.name)}if("EQUALS"===ln.name)return{operator:Dn?b.Wt.NOT_EQUALS:b.Wt.EQUALS,leftArg:ln.args[0],rightArg:ln.args[1]};throw new Error("Unknown operators: "+ln.name)}},Ze={opNo:2,toFormula:(En,ln,Dn)=>{const Ai=Dn&&Dn.fieldTip?function Di(En){return{name:"LAST",args:[{name:"SPLIT",args:["--",{name:"FILTER",args:[{name:"FIELD",args:["field/tag",En]},{name:"EQUALS",args:[{name:"SUBSTR",args:[{name:"VAR",args:[D.wN]},"0",{name:"STRLEN",args:["listTip--"]}]},"listTip--"]},D.wN]}]}]}}(Dn.fieldTip):null;return{name:"HAS_INTERSECT",args:[En,{name:"ARRAY",args:[ln,{name:"JSON_DESCENDANTS",args:[{name:"CONCAT",args:["[",{name:"CONCAT_WS",args:[",",{name:"FIELD",args:["app/list:items",Ai]}]},"]"]},"value","value","items",ln]}]}]}}},wn=(0,y.fR)(Ze),zn={opNo:2,toFormula:(En,ln)=>({name:"INARRAY",args:[{name:"FIND_TEXT",args:[En,ln]},0]})},di=(0,y.fR)(zn),jn={operators:{[b.Wt.EQUALS]:gt,[b.Wt.NOT_EQUALS]:Ge,[b.Wt.CONTAINS]:zn,[b.Wt.NOT_CONTAINS]:di,[b.Wt.IS_EMPTY]:ft,[b.Wt.NOT_IS_EMPTY]:Xt,[b.Wt.IN]:Ze,[b.Wt.NOT_IN]:wn},getParts:En=>{let ln=En,Dn=!1;if("NOT"===ln.name&&(ln=ln.args[0],Dn=!0),"HAS_INTERSECT"===ln.name)return{operator:Dn?b.Wt.NOT_IN:b.Wt.IN,leftArg:ln.args[0],rightArg:ln.args[1].args[0]};if("EQUALS"===ln.name)return{operator:Dn?b.Wt.NOT_EQUALS:b.Wt.EQUALS,leftArg:ln.args[0],rightArg:ln.args[1]};if(0===ln.args[1])return{operator:Dn?b.Wt.NOT_CONTAINS:b.Wt.CONTAINS,leftArg:ln.args[0].args[0],rightArg:ln.args[0].args[1]};if("INARRAY"===ln.name)return{operator:Dn?b.Wt.NOT_IS_EMPTY:b.Wt.IS_EMPTY,leftArg:ln.args[1]};if("ARRAY"===ln.name&&(0,n.isEmpty)(ln.args))return{operator:null,leftArg:null,rightArg:null};throw new Error("Unknown operators: "+ln.name)}},Li={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[En,"<",ln]})},ms=(0,y.fR)(Li),Rn={opNo:2,toFormula:(En,ln)=>({name:"OP",args:[En,">",ln]})},Qt=(0,y.fR)(Rn),Wt={operators:{[b.Wt.EQUALS]:gt,[b.Wt.NOT_EQUALS]:Ge,[b.Wt.LESS_THAN]:Li,[b.Wt.GREATER_THAN]:Rn,[b.Wt.LESS_THAN_EQUAL_TO]:Qt,[b.Wt.GREATER_THAN_EQUAL_TO]:ms},getParts:En=>{let ln=En,Dn=!1;if("NOT"===ln.name&&(ln=ln.args[0],Dn=!0),"OP"===ln.name){if("<"===ln.args[1])return{operator:Dn?b.Wt.GREATER_THAN_EQUAL_TO:b.Wt.LESS_THAN,leftArg:ln.args[0],rightArg:ln.args[2]};if(">"===ln.args[1])return{operator:Dn?b.Wt.LESS_THAN_EQUAL_TO:b.Wt.GREATER_THAN,leftArg:ln.args[0],rightArg:ln.args[2]};throw new Error("Unknown operators:"+ln.name)}if("EQUALS"===ln.name)return{operator:Dn?b.Wt.NOT_EQUALS:b.Wt.EQUALS,leftArg:ln.args[0],rightArg:ln.args[1]};throw new Error("Unknown operators: "+ln.name)}};var Yt=s(80665);const Mn={opNo:2,toFormula:(En,ln)=>{let Dn=ln;return!(0,E.g)(ln)&&(0,L.jj)(ln)&&(Dn=(0,I.iX)(ln)),{name:"HAS_INTERSECT",args:[{name:"ARRAY",args:[{name:"FIELD",args:["app/personnel:teams",En]},{name:"FIELD",args:["app/personnel:users",En]}]},{name:"ARRAY",args:[Dn,{name:"REFERENCES",args:["app/team:roles",Dn]},{name:"REFERENCES",args:["app/team:roles",{name:"REFERENCES",args:["app/team-role:users",Dn]}]}]}]}}},ci=(0,y.fR)(Mn),Ue={operators:{[b.Wt.CONTAINS]:Mn,[b.Wt.NOT_CONTAINS]:ci},getParts:En=>{let ln=En,Dn=!1;if("NOT"===ln.name&&(ln=ln.args[0],Dn=!0),"HAS_INTERSECT"===ln.name)return{operator:Dn?b.Wt.NOT_CONTAINS:b.Wt.CONTAINS,leftArg:ln.args[0].args[0].args[1],rightArg:ln.args[1].args[0]};throw new Error("Unknown operators: "+ln.name)}};var Un=s(93953),_n=s(44667);const Xn={[m.iS.POINT]:[m.iS.POINT,m.iS.LINE,m.iS.POLYGON],[m.iS.LINE]:[m.iS.POINT,m.iS.LINE,m.iS.POLYGON],[m.iS.POLYGON]:[m.iS.POINT,m.iS.LINE,m.iS.POLYGON]};class Ii{static#e=this.DATATYPE_OPERATOR={[O.Po.thisObject]:Yt.T,[O.Po.title]:Kt,[O.Po.createdDate]:ze,[O.Po.lastModifiedDate]:ze,[O.Po.objectStage]:Kt,[O.Po.personnel]:Ue,[O.Po.urlLink]:Kt,[O.Po.type]:Kt,[O.Po.createdBy]:Yt.T,[O.Po.lastModifiedBy]:Yt.T,[m.HT.string]:Kt,[m.HT.string_i18n]:Kt,[m.HT.blob]:Kt,[m.HT.number]:Wt,[m.HT.decimal]:Wt,[m.HT.bool]:z,[m.HT.date]:le,[m.HT.datetime]:ze,[m.HT.object]:Yt.T,[m.HT.email]:Kt,[m.HT.phone]:Kt,[m.HT.uri]:Kt,[m.HT.geography]:Vt,[m.HT.formula]:Kt,[m.HT.string_formula]:Kt,[m.HT.string_i18n_formula]:Kt,[m.HT.json]:Kt,[m.HT.html]:Kt,[m.TV.sub_object]:Yt.T,[m.TV.file]:Yt.T,[m.TV.signature]:Yt.T,[m.TV.list]:jn,[m.TV.address]:Yt.T,[m.TV.point]:Vt,[m.TV.line]:Vt,[m.TV.polygon]:Vt,[m.TV.assignable]:w,[m.TV.symbology]:Yt.T,[m.TV.hierarchical]:ht.D,[m.TV.options]:Kt};constructor(ln){this.objectService=ln}static isLineFormula(ln){return(0,E.g)(ln)&&!Ii.isGroupFormula(ln)}static isGroupFormula(ln){return(0,E.g)(ln)&&("AND"===ln.name||"OR"===ln.name)}static toFormula(ln,Dn,Ai,os,Fs){return Ii.DATATYPE_OPERATOR[ln].operators[Dn].toFormula(Ai,os,Fs)}static getVarNames(ln,Dn=[]){return(0,E.g)(ln)?"VAR"===ln.name&&1===ln.args.length&&(0,n.isString)(ln.args[0])&&-1===D.ff.indexOf(ln.args[0])?(Dn.push(ln.args[0]),(0,n.uniq)(Dn)):ln.args.reduce((Ai,os)=>Ii.getVarNames(os,Ai),Dn):(0,n.uniq)(Dn)}getFieldItems(ln){return ln?this.objectService.getObject(ln,T.c).pipe((0,g.T)(Dn=>Dn.items)):(0,a.of)([])}static#t=this.\u0275fac=function(Dn){return new(Dn||Ii)(Un.KVO(_n.T))};static#n=this.\u0275prov=Un.jDH({token:Ii,factory:Ii.\u0275fac,providedIn:"root"})}},43452:(at,N,s)=>{"use strict";s.d(N,{M:()=>Q});var n=s(23702),a=s(2360),g=s(58756),m=s(76044),T=s(69595),O=s(56977),D=s(61594),E=s(67376),I=s(21413),b=s(93953),L=s(50337),o=s(76087),C=s(66386);function w(le,pe){if(1&le){const te=b.RV6();b.j41(0,"app-side-sheet-header",11),b.bIt("actioned",function(){b.eBV(te);const K=b.XpG();return b.Njj(K.onSave())}),b.EFF(1),b.k0s()}if(2&le){const te=b.XpG();b.Y8G("disabled",te.disabled)("monitorConnection",te.monitorConnection),b.R7$(),b.JRh(te.title)}}function M(le,pe){if(1&le&&(b.j41(0,"app-side-sheet-header",12),b.EFF(1),b.k0s()),2&le){const te=b.XpG();b.Y8G("monitorConnection",te.monitorConnection),b.R7$(),b.JRh(te.title)}}function q(le,pe){if(1&le){const te=b.RV6();b.j41(0,"div",13)(1,"button",14),b.bIt("click",function(){b.eBV(te);const K=b.XpG();return b.Njj(K.onAddGrant())}),b.nrm(2,"mat-icon",15),b.k0s()()}if(2&le){const te=b.XpG();b.R7$(),b.Y8G("disabled",te.disabled)}}function z(le,pe){if(1&le){const te=b.RV6();b.j41(0,"div",13)(1,"button",18),b.bIt("click",function(){b.eBV(te);const K=b.XpG(2);return b.Njj(K.onSelectProfiles())}),b.nrm(2,"mat-icon",19),b.k0s()()}if(2&le){const te=b.XpG(2);b.R7$(),b.Y8G("disabled",te.disabled)}}function F(le,pe){if(1&le){const te=b.RV6();b.j41(0,"app-side-sheet-list-item",20),b.bIt("click",function(){b.eBV(te);const K=b.XpG(2);return b.Njj(!K.disabled&&K.onSelectProfiles())}),b.EFF(1),b.k0s()}if(2&le){const te=pe.$implicit,ae=b.XpG(2);b.Y8G("value",te.tip)("disabled",ae.disabled),b.R7$(),b.JRh(te.label)}}function U(le,pe){if(1&le&&(b.j41(0,"app-side-sheet-section",16),b.DNE(1,z,3,1,"div",5)(2,F,2,3,"app-side-sheet-list-item",17),b.k0s()),2&le){const te=b.XpG();b.Y8G("tallyPill",!0)("tallyPillValue",te.selectedProfiles.length)("showBorder",!0),b.R7$(),b.Y8G("ngIf",!te.readonly),b.R7$(),b.Y8G("ngForOf",te.selectedProfiles)}}function k(le,pe){if(1&le){const te=b.RV6();b.j41(0,"div",13)(1,"button",18),b.bIt("click",function(){b.eBV(te);const K=b.XpG(2);return b.Njj(K.onSelectTeams())}),b.nrm(2,"mat-icon",19),b.k0s()()}if(2&le){const te=b.XpG(2);b.R7$(),b.Y8G("disabled",te.disabled)}}function Y(le,pe){if(1&le){const te=b.RV6();b.j41(0,"app-side-sheet-list-item",20),b.bIt("click",function(){b.eBV(te);const K=b.XpG(2);return b.Njj(!K.disabled&&K.onSelectTeams())}),b.EFF(1),b.k0s()}if(2&le){const te=pe.$implicit,ae=b.XpG(2);b.Y8G("value",te.tip)("disabled",ae.disabled),b.R7$(),b.JRh(te.label)}}function x(le,pe){if(1&le&&(b.j41(0,"app-side-sheet-section",21),b.DNE(1,k,3,1,"div",5)(2,Y,2,3,"app-side-sheet-list-item",17),b.k0s()),2&le){const te=b.XpG();b.Y8G("tallyPill",!0)("tallyPillValue",te.selectedTeams.length)("showBorder",!0),b.R7$(),b.Y8G("ngIf",!te.readonly),b.R7$(),b.Y8G("ngForOf",te.selectedTeams)}}function B(le,pe){if(1&le){const te=b.RV6();b.j41(0,"div",13)(1,"button",18),b.bIt("click",function(){b.eBV(te);const K=b.XpG(2);return b.Njj(K.onSelectUsers())}),b.nrm(2,"mat-icon",19),b.k0s()()}if(2&le){const te=b.XpG(2);b.R7$(),b.Y8G("disabled",te.disabled)}}function j(le,pe){if(1&le){const te=b.RV6();b.j41(0,"app-side-sheet-list-item",24),b.bIt("click",function(){b.eBV(te);const K=b.XpG(2);return b.Njj(!K.disabled&&K.onSelectUsers())}),b.EFF(1),b.k0s()}if(2&le){const te=pe.$implicit,ae=b.XpG(2);b.Y8G("key",te.tip)("disabled",ae.disabled),b.R7$(),b.JRh(te.label)}}function $(le,pe){if(1&le&&(b.j41(0,"app-side-sheet-section",22),b.DNE(1,B,3,1,"div",5)(2,j,2,3,"app-side-sheet-list-item",23),b.k0s()),2&le){const te=b.XpG();b.Y8G("tallyPill",!0)("tallyPillValue",te.selectedUsers.length)("showBorder",!0),b.R7$(),b.Y8G("ngIf",!te.readonly),b.R7$(),b.Y8G("ngForOf",te.selectedUsers)}}function H(le,pe){if(1&le){const te=b.RV6();b.j41(0,"app-empty-state",25),b.bIt("actionClick",function(){b.eBV(te);const K=b.XpG();return b.Njj(!K.disabled&&K.onAddGrant())}),b.k0s()}if(2&le){const te=b.XpG();b.Y8G("disabled",te.disabled)}}function ie(le,pe){1&le&&b.nrm(0,"app-empty-state",26)}const ne="---DELETED---";let Q=(()=>{class le{constructor(te,ae,K){this.sideSheetService=te,this.formulaService=ae,this.connectionService=K,this.selectedUsers=[],this.selectedProfiles=[],this.selectedTeams=[],this.selectedRoles=[],this.monitorConnection=!1,this.disabled=!1,this.destroyed$=new I.B}ngOnInit(){this.refreshLabels(),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,O.Q)(this.destroyed$)).subscribe(te=>{this.disabled=!te})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}onAddGrant(){const ae=this.sideSheetService.push(n._).componentInstance;ae.title="Grant "+this.actionLabel+" permissions to",ae.list=[{value:"profiles",label:"Profiles"},{value:"teams",label:"Teams"},{value:"users",label:"Users"}],ae.selectItem.subscribe(K=>{switch(this.sideSheetService.pop(),K.value){case"users":return this.onSelectUsers();case"profiles":return this.onSelectProfiles();case"teams":return this.onSelectTeams()}}),ae.monitorConnection=this.monitorConnection}refreshLabels(){const te=[...this.selectedUsers.map(ae=>ae.tip),...this.selectedProfiles.filter(ae=>"__ALL__"!==ae.tip).map(ae=>ae.tip),...this.selectedTeams.map(ae=>ae.tip),...this.selectedRoles.map(ae=>ae.tip)];0!==te.length?this.formulaService.evaluate(`MAP(VAR("tips"),COALESCE(TITLE(VAR("tip")),"${ne}"),"tip")`,null,[],{tips:te}).pipe((0,D.$)()).subscribe(ae=>this.updateLabels(te,ae),()=>this.updateLabels(te,te)):this.updateLabels(te,{})}updateLabels(te,ae){const K=de=>{const Me=[];de.forEach(me=>{ae[te.indexOf(me.tip)]!==ne?me.label="__ALL__"===me.tip?"All profiles":ae[te.indexOf(me.tip)]:Me.push(me)}),(0,E.pullAll)(de,Me)};K(this.selectedUsers),K(this.selectedTeams),K(this.selectedRoles),K(this.selectedProfiles)}onSave(){this.onDone({users:this.selectedUsers,profiles:this.selectedProfiles,teams:this.selectedTeams,roles:this.selectedRoles}),this.sideSheetService.pop()}onSelectUsers(){if(this.readonly)return;const{componentInstance:te}=this.sideSheetService.push(a.u);te.title="Select users",te.mode=T.X.MULTI_SELECT,te.initiallySelectedTips=this.selectedUsers.map(ae=>ae.tip),te.monitorConnection=this.monitorConnection,te.done=ae=>{this.selectedUsers=ae.map(K=>({tip:K})),this.refreshLabels(),this.sideSheetService.pop()}}onSelectProfiles(){if(this.readonly)return;const{componentInstance:te}=this.sideSheetService.push(g.s);te.mode=T.X.MULTI_SELECT,te.initiallySelectedTips=this.selectedProfiles.map(ae=>ae.tip),te.monitorConnection=this.monitorConnection,te.done=ae=>{const K=ae.map(({$tip:de})=>de);this.selectedProfiles=K.indexOf("__ALL__")>-1?[{tip:"__ALL__"}]:K.map(de=>({tip:de})),this.refreshLabels(),this.sideSheetService.pop()}}onSelectTeams(){if(this.readonly)return;const{componentInstance:te}=this.sideSheetService.push(m._);te.title="Select teams",te.mode=T.X.MULTI_SELECT,te.initiallySelectedTips=this.selectedTeams.map(ae=>ae.tip),te.monitorConnection=this.monitorConnection,te.done=ae=>{this.selectedTeams=ae.map(({$tip:K})=>({tip:K})),this.refreshLabels(),this.sideSheetService.pop()}}hasAnythingSet(){return this.selectedProfiles.length>0||this.selectedUsers.length>0||this.selectedTeams.length>0}static#e=this.\u0275fac=function(ae){return new(ae||le)(b.rXU(L.E),b.rXU(o.C),b.rXU(C.K))};static#t=this.\u0275cmp=b.VBU({type:le,selectors:[["app-security-action"]],viewQuery:function(ae,K){if(1&ae&&b.GBs(T.A,5),2&ae){let de;b.mGM(de=b.lsd())&&(K.list=de.first)}},decls:12,vars:10,consts:()=>{let te,ae,K,de,Me,me,be,Le;return te="Done",ae="Profiles",K="Teams",de="Users",Me="No permissions granted",me="Add a permission",be="No permissions granted",Le="Grant " + "\ufffd0\ufffd" + " permissions",[Le,["action",te,3,"disabled","monitorConnection","actioned",4,"ngIf"],[3,"monitorConnection",4,"ngIf"],[3,"showBorder"],["eim-i18n-property","title"],["buttons","","class","d-flex",4,"ngIf"],["title",ae,3,"tallyPill","tallyPillValue","showBorder",4,"ngIf"],["title",K,3,"tallyPill","tallyPillValue","showBorder",4,"ngIf"],["title",de,3,"tallyPill","tallyPillValue","showBorder",4,"ngIf"],["imgSrc","assets/img/empty-states/empty-state-generic.svg","label",Me,"actionText",me,3,"disabled","actionClick",4,"ngIf"],["imgSrc","assets/img/empty-states/empty-state-generic.svg","label",be,4,"ngIf"],["action",te,3,"actioned","disabled","monitorConnection"],[3,"monitorConnection"],["buttons","",1,"d-flex"],["data-test","security-action-add-button",1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"click","disabled"],["svgIcon","plus"],["title",ae,3,"tallyPill","tallyPillValue","showBorder"],[3,"value","disabled","click",4,"ngFor","ngForOf"],[1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"click","disabled"],["svgIcon","edit"],[3,"click","value","disabled"],["title",K,3,"tallyPill","tallyPillValue","showBorder"],["title",de,3,"tallyPill","tallyPillValue","showBorder"],[3,"key","disabled","click",4,"ngFor","ngForOf"],[3,"click","key","disabled"],["imgSrc","assets/img/empty-states/empty-state-generic.svg","label",Me,"actionText",me,3,"actionClick","disabled"],["imgSrc","assets/img/empty-states/empty-state-generic.svg","label",be]]},template:function(ae,K){1&ae&&(b.DNE(0,w,2,3,"app-side-sheet-header",1)(1,M,2,2,"app-side-sheet-header",2),b.j41(2,"div")(3,"app-side-sheet-section",3),b.qex(4,4),b.pXf(5,0),b.bVm(),b.DNE(6,q,3,1,"div",5),b.k0s(),b.DNE(7,U,3,5,"app-side-sheet-section",6)(8,x,3,5,"app-side-sheet-section",7)(9,$,3,5,"app-side-sheet-section",8)(10,H,1,1,"app-empty-state",9)(11,ie,1,0,"app-empty-state",10),b.k0s()),2&ae&&(b.Y8G("ngIf",!K.readonly),b.R7$(),b.Y8G("ngIf",K.readonly),b.R7$(2),b.Y8G("showBorder",!1),b.R7$(2),b.uP7(K.actionLabel),b.nnv(5),b.R7$(),b.Y8G("ngIf",!K.readonly),b.R7$(),b.Y8G("ngIf",K.selectedProfiles.length>0),b.R7$(),b.Y8G("ngIf",K.selectedTeams.length>0),b.R7$(),b.Y8G("ngIf",K.selectedUsers.length>0),b.R7$(),b.Y8G("ngIf",!K.hasAnythingSet()&&!K.readonly),b.R7$(),b.Y8G("ngIf",!K.hasAnythingSet()&&K.readonly))}})}return le})()},84326:(at,N,s)=>{"use strict";s.d(N,{Z:()=>Le});var n=s(93953),a=s(89417),g=s(7673),m=s(67376),T=s(61594),O=s(96354),D=s(18359),E=s(21413),y=s(99437),I=s(56977),b=s(69172),L=s(69595),o=s(11105),C=s(93880),w=s(50701),M=s(50337),q=s(66386),z=s(60177),F=s(2937),U=s(73427),k=s(83958),Y=s(70723),x=s(2455),B=s(36193),j=s(99213),$=s(42017);const H=()=>["name"];function ie(Ae,Oe){1&Ae&&(n.j41(0,"app-alert"),n.EFF(1,"Unable to load security policies at this time."),n.k0s())}function ne(Ae,Oe){if(1&Ae){const Xe=n.RV6();n.j41(0,"div",13)(1,"button",14),n.bIt("click",function(){n.eBV(Xe);const $e=n.XpG();return n.Njj($e.createPolicy())}),n.nrm(2,"mat-icon",15),n.k0s()()}if(2&Ae){const Xe=n.XpG();n.R7$(),n.Y8G("disabled",Xe.disabled)}}function Q(Ae,Oe){if(1&Ae){const Xe=n.RV6();n.j41(0,"app-side-sheet-list-item",18),n.bIt("moreInfo",function($e){n.eBV(Xe);const ze=n.XpG(2);return n.Njj(ze.viewPolicy($e))}),n.j41(1,"div",19)(2,"div",20),n.pXf(3,1),n.k0s()()()}if(2&Ae){const Xe=Oe.$implicit,Pe=n.XpG(2);n.Y8G("key",Xe.$tip)("showMoreInfo","__CUSTOM__"!==Xe.$tip)("disabled",Pe.disabled),n.R7$(3),n.uP7(null==Xe?null:Xe.type)(null==Xe?null:Xe.name),n.nnv(3)}}function le(Ae,Oe){if(1&Ae){const Xe=n.RV6();n.j41(0,"app-side-sheet-list",16),n.mxI("selectedChange",function($e){n.eBV(Xe);const ze=n.XpG();return n.DH7(ze.selectedPolicies,$e)||(ze.selectedPolicies=$e),n.Njj($e)}),n.bIt("selectedChange",function(){n.eBV(Xe);const $e=n.XpG();return n.Njj($e.onSelectedChange())}),n.DNE(1,Q,4,5,"app-side-sheet-list-item",17),n.nI1(2,"async"),n.nI1(3,"filter"),n.k0s()}if(2&Ae){const Xe=n.XpG();n.Y8G("mode",Xe.mode),n.R50("selected",Xe.selectedPolicies),n.Y8G("emitChangeEventOnLoad",!1)("loadingState",Xe.loadingState)("disabled",Xe.disabled),n.R7$(),n.Y8G("ngForOf",n.brH(3,8,n.bMT(2,6,Xe.policies$),Xe.filterText,n.lJ4(12,H)))}}function pe(Ae,Oe){1&Ae&&n.nrm(0,"app-empty-state",21)}let te=(()=>{class Ae{constructor(Xe,Pe,$e,ze){this.cdr=Xe,this.securityService=Pe,this.sideSheetService=$e,this.connectionService=ze,this.mode=L.X.SINGLE_SELECT,this.title="Select security policy",this.initiallySelectedTips=[],this.selectedPolicies=[],this.doNotDisplayInitiallySelectedPolicies=!1,this.subscriptions=new D.yU,this.loadingState=b.Gu.inProgress,this.canAdd=!0,this.showCustom=!1,this.monitorConnection=!1,this.disabled=!1,this.destroyed$=new E.B,this.LoadingStates=b.Gu}ngOnInit(){this.selectedPolicies=[...this.initiallySelectedTips],this.policies$=this.securityService.getSecurityPolicies$().pipe((0,O.T)(Xe=>(this.policies=this.doNotDisplayInitiallySelectedPolicies?Xe.filter(Pe=>-1===this.initiallySelectedTips.indexOf(Pe.$tip)):Xe,this.showCustom&&this.policies.unshift({$tip:"__CUSTOM__",name:"Custom security policy",type:"custom"}),this.loadingState=b.Gu.loaded,this.cdr.detectChanges(),this.policies)),(0,y.W)(Xe=>{throw this.loadingState=b.Gu.failed,Xe})),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,I.Q)(this.destroyed$)).subscribe(Xe=>{this.disabled=!Xe})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}get isSingleSelect(){return this.mode===L.X.SINGLE_SELECT}onSelectedChange(){this.isSingleSelect&&this.onDone()}onDone(){const Xe=this.selectedPolicies;switch(this.mode){case L.X.SINGLE_SELECT:Xe&&Xe.length&&this.done(this.policies.find(Pe=>Pe.$tip===Xe[0]));break;case L.X.MULTI_SELECT:this.done(this.policies.filter(Pe=>Xe.indexOf(Pe.$tip)>-1))}}createPolicy(){this.sideSheetService.pushV2(C.S,{monitorConnection:this.monitorConnection})}viewPolicy(Xe){this.sideSheetService.pushV2(o.u,{securityPolicyTip:Xe,readonly:!0,monitorConnection:this.monitorConnection})}static#e=this.\u0275fac=function(Pe){return new(Pe||Ae)(n.rXU(n.gRc),n.rXU(w.i),n.rXU(M.E),n.rXU(q.K))};static#t=this.\u0275cmp=n.VBU({type:Ae,selectors:[["app-security-policy-chooser-side-sheet"]],inputs:{mode:"mode"},decls:15,vars:10,consts:()=>{let Xe,Pe,$e;return Xe="Security policies",Pe="" + "\ufffd0\ufffd" + "",$e="{VAR_SELECT, select, custom {Custom security policy} other {{INTERPOLATION}}}",$e=n.k04($e,{INTERPOLATION:"\ufffd1\ufffd",VAR_SELECT:"\ufffd0\ufffd"}),[["empty",""],$e,["action",Pe],[3,"actioned","disabled","monitorConnection",6,"action"],[4,"ngIf"],[1,"px-3","py-2"],[1,"d-flex","align-items-center"],[1,"search-input","flex-grow-1"],[1,"search-input-icon","mdi","mdi-search"],["role","search","type","text",1,"form-control",3,"ngModelChange","ngModel","disabled"],["class","d-flex",4,"ngIf"],["title",Xe],[3,"mode","selected","emitChangeEventOnLoad","loadingState","disabled","selectedChange",4,"ngIf","ngIfElse"],[1,"d-flex"],["data-test","add-security-policy-button","title","Add",1,"eim-button_minimized","btn","btn-secondary","btn-add","ml-3",3,"click","disabled"],["svgIcon","plus"],[3,"selectedChange","mode","selected","emitChangeEventOnLoad","loadingState","disabled"],[3,"key","showMoreInfo","disabled","moreInfo",4,"ngFor","ngForOf"],[3,"moreInfo","key","showMoreInfo","disabled"],[1,"d-flex","justify-content-start","align-items-center","p-2"],[1,"flex-fill"],["imgSrc","assets/img/empty-states/no-policies.svg","label","No security policies here"]]},template:function(Pe,$e){if(1&Pe){const ze=n.RV6();n.j41(0,"app-side-sheet-header",3),n.bIt("actioned",function(){return n.eBV(ze),n.Njj($e.onDone())}),n.ehv(1,2),n.j41(2,"span"),n.EFF(3),n.k0s()(),n.DNE(4,ie,2,0,"app-alert",4),n.j41(5,"div",5)(6,"div",6)(7,"div",7),n.nrm(8,"span",8),n.j41(9,"input",9),n.mxI("ngModelChange",function(Ye){return n.eBV(ze),n.DH7($e.filterText,Ye)||($e.filterText=Ye),n.Njj(Ye)}),n.k0s()(),n.DNE(10,ne,3,1,"div",10),n.k0s()(),n.j41(11,"app-side-sheet-section",11),n.DNE(12,le,4,13,"app-side-sheet-list",12)(13,pe,1,0,"ng-template",null,0,n.C5r),n.k0s()}if(2&Pe){const ze=n.sdS(14);n.uP7($e.isSingleSelect?"":"Done"),n.nnv(1),n.Y8G("disabled",$e.disabled)("monitorConnection",$e.monitorConnection),n.R7$(3),n.JRh($e.title),n.R7$(),n.Y8G("ngIf",$e.loadingState===$e.LoadingStates.failed&&!$e.disabled),n.R7$(5),n.R50("ngModel",$e.filterText),n.Y8G("disabled",$e.disabled),n.R7$(),n.Y8G("ngIf",$e.canAdd),n.R7$(2),n.Y8G("ngIf",$e.loadingState!==$e.LoadingStates.failed)("ngIfElse",ze)}},dependencies:[z.Sq,z.bT,F.N,L.A,U.R,k.D,Y.o,x.C,B.d,a.me,a.BC,a.vS,j.An,z.Jj,$.L]})}return Ae})();var ae=s(76087),K=s(4372),de=s(37919);const Me=["*"];function me(Ae,Oe){if(1&Ae&&(n.qex(0),n.j41(1,"span",5),n.EFF(2),n.k0s(),n.bVm()),2&Ae){const Xe=Oe.ngIf;n.R7$(2),n.JRh(Xe)}}function be(Ae,Oe){if(1&Ae&&(n.j41(0,"span",6),n.EFF(1),n.k0s()),2&Ae){const Xe=n.XpG();n.R7$(),n.JRh(Xe.placeholder||"Select policy")}}let Le=(()=>{class Ae{constructor(Xe,Pe,$e){this.formulaService=Xe,this.sideSheetService=Pe,this.cdr=$e,this.required=!1,this.optional=!1,this.readonly=!1,this.showCustom=!1,this.canAdd=!0,this.uniqueId=(0,m.uniqueId)("app-security-policy-chooser-"),this.monitorConnection=!1,this.onChange=ze=>{},this.onTouched=()=>{}}writeValue(Xe){this.selected=Xe,this.updateDisplayValueObservable()}registerOnChange(Xe){this.onChange=Xe}registerOnTouched(Xe){this.onTouched=Xe}setDisabledState(Xe){this.disabled=Xe}updateDisplayValueObservable(){this.displayValue$="__CUSTOM__"===this.selected?(0,g.of)("Custom security policy"):this.selected?this.formulaService.evaluate('FIELD("security/policy/label")',this.selected).pipe((0,T.$)(),(0,O.T)(Xe=>Xe&&Xe[0]?Xe[0]:null)):(0,g.of)(null)}openPolicyChooserSideSheet(){const Pe=this.sideSheetService.push(te).componentInstance;Pe.initiallySelectedTips=this.selected?[this.selected]:[],Pe.showCustom=this.showCustom,Pe.canAdd=this.canAdd,Pe.monitorConnection=this.monitorConnection,Pe.done=$e=>{this.selected=$e.$tip,this.onChange(this.selected),this.updateDisplayValueObservable(),this.sideSheetService.pop(),this.cdr.markForCheck()}}static#e=this.\u0275fac=function(Pe){return new(Pe||Ae)(n.rXU(ae.C),n.rXU(M.E),n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:Ae,selectors:[["app-security-policy-chooser"]],inputs:{label:"label",placeholder:"placeholder",required:"required",optional:"optional",readonly:"readonly",showCustom:"showCustom",canAdd:"canAdd",disabled:"disabled",monitorConnection:"monitorConnection"},features:[n.Jv_([{provide:a.kq,useExisting:(0,n.Rfq)(()=>Ae),multi:!0}])],ngContentSelectors:Me,decls:8,vars:10,consts:[["placeholderEl",""],[1,"form-group","eim-forms_form-control-host"],[3,"for","label","required","optional"],["type","button","rightArrowSingleLine","",3,"blur","click","readOnly","disabled"],[4,"ngIf","ngIfElse"],[1,"display-value"],[1,"placeholder-text"]],template:function(Pe,$e){if(1&Pe){const ze=n.RV6();n.NAR(),n.j41(0,"div",1),n.nrm(1,"app-form-control-label",2),n.j41(2,"button",3),n.bIt("blur",function(){return n.eBV(ze),n.Njj($e.onTouched())})("click",function(){return n.eBV(ze),n.Njj($e.openPolicyChooserSideSheet())}),n.DNE(3,me,3,1,"ng-container",4),n.nI1(4,"async"),n.DNE(5,be,2,1,"ng-template",null,0,n.C5r),n.k0s(),n.SdG(7),n.k0s()}if(2&Pe){const ze=n.sdS(6);n.R7$(),n.Y8G("for",$e.uniqueId)("label",$e.label)("required",$e.required)("optional",$e.optional),n.R7$(),n.Y8G("readOnly",$e.readonly)("disabled",$e.disabled),n.R7$(),n.Y8G("ngIf",n.bMT(4,8,$e.displayValue$))("ngIfElse",ze)}},dependencies:[z.bT,B.d,K.J,de.Z,z.Jj]})}return Ae})()},11105:(at,N,s)=>{"use strict";s.d(N,{u:()=>rt});var n=s(21413),a=s(84572),g=s(7673),m=s(56977),T=s(61594),O=s(88141),D=s(99437),E=s(50701),y=s(69172),I=s(43452),b=s(89417),L=s(68030),o=s(62286),C=s(5002),w=s(67376),M=s(93953),q=s(50337),z=s(19937),F=s(29968),U=s(66386),k=s(60177),Y=s(73427),x=s(44225),B=s(36193),j=s(8524),$=s(87354),H=s(18354),ie=s(99213),ne=s(60076);const Q=ft=>({loadingInProgress:ft});function le(ft,Xt){1&ft&&M.eu8(0)}function pe(ft,Xt){if(1&ft&&M.nrm(0,"formly-form",15),2&ft){const It=M.XpG(3);M.Y8G("form",It.solutionForm)("fields",It.solutionFormFields)("model",It.solutionFormModel)}}function te(ft,Xt){if(1&ft&&(M.qex(0),M.DNE(1,pe,1,3,"formly-form",14),M.bVm()),2&ft){const It=M.XpG(2);M.R7$(),M.Y8G("appIfFeatureFlag",It.FeatureFlags.FEATURE_EIM_23836_MODULE_PORTABILITY)}}function ae(ft,Xt){if(1&ft){const It=M.RV6();M.j41(0,"app-side-sheet-header",2),M.bIt("actioned",function(){M.eBV(It);const Kt=M.XpG();return M.Njj(Kt.done())}),M.EFF(1," Edit security policy "),M.k0s(),M.j41(2,"div",3)(3,"div",4)(4,"div",5)(5,"button",6),M.nrm(6,"mat-icon",7),M.k0s(),M.j41(7,"div",8)(8,"div")(9,"button",9),M.bIt("click",function(){M.eBV(It);const Kt=M.XpG();return M.Njj(Kt.onDelete())}),M.EFF(10," Delete security policy... "),M.k0s()()()()(),M.j41(11,"form",10),M.nrm(12,"app-text-field",11)(13,"app-multi-text-field",12),M.k0s()(),M.DNE(14,te,2,1,"ng-container",13)}if(2&ft){const It=Xt.loadingInProgress,In=M.XpG();M.Y8G("disabled",In.securityPolicyForm.invalid||It||In.disabled)("monitorConnection",In.monitorConnection),M.R7$(2),M.Y8G("appSpinner",It),M.R7$(3),M.Y8G("isNavigable",!1)("disabled",In.disabled),M.R7$(4),M.Y8G("disabled",In.disabled),M.R7$(2),M.Y8G("formGroup",In.securityPolicyForm),M.R7$(),M.Y8G("required",!0),M.R7$(2),M.Y8G("appIfFeatureFlag",In.FeatureFlags.FEATURE_SOLUTIONS)}}let K=(()=>{class ft{constructor(It,In,Kt,Ze,wn,zn){this.sideSheetService=It,this.securityService=In,this.toastService=Kt,this.modalService=Ze,this.connectionService=wn,this.formBuilder=zn,this.securityPolicyForm=new b.gE({name:new b.MJ("",b.k0.required),description:new b.MJ("")}),this.solutionFormFields=[{...o.v7,templateOptions:{showBorder:!1}}],this.LoadingState=y.Gu,this.monitorConnection=!1,this.disabled=!1,this.destroyed$=new n.B,this.FeatureFlags=C.g}ngOnInit(){this.securityPolicyForm.setValue({name:this.name,description:this.description}),this.solutionFormModel={solution:(0,w.isEmpty)(this.solutions)?[]:this.solutions.map(It=>It.$tip)},this.solutionForm=this.formBuilder.group({solution:new b.MJ(this.solutionFormModel.solution)}),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,m.Q)(this.destroyed$)).subscribe(It=>{this.disabled=!It,this.disabled?this.securityPolicyForm.disable():this.securityPolicyForm.enable()})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}done(){this.onDone&&this.onDone({...this.securityPolicyForm.value,solutions:this.solutionForm.get("solution").value}),this.sideSheetService.pop()}onDelete(){const{componentInstance:It,result:In}=this.modalService.open(L.F,L.G);It.objectType="security policy",In.then(Kt=>{Kt&&this.delete()})}delete(){this.loadingState=y.Gu.inProgress,this.securityService.deleteSecurityPolicy$(this.securityPolicyTip).pipe((0,T.$)()).subscribe({next:()=>{this.toastService.showSuccessToast("Security policy deleted"),this.sideSheetService.pop(),this.sideSheetService.pop()},error:()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to delete security policy")}})}static#e=this.\u0275fac=function(In){return new(In||ft)(M.rXU(q.E),M.rXU(E.i),M.rXU(z.f),M.rXU(F.Bq),M.rXU(U.K),M.rXU(b.ok))};static#t=this.\u0275cmp=M.VBU({type:ft,selectors:[["app-security-policy-edit-side-sheet"]],decls:3,vars:4,consts:[["securityPolicyEdit",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["action","Done",3,"actioned","disabled","monitorConnection"],[1,"px-3",3,"appSpinner"],[1,"d-flex","justify-content-end","mt-1","add-space"],["ngbDropdown","","placement","bottom-right",1,"nav-item","dropdown","mt-1","d-flex"],["ngbDropdownToggle","","title","More actions",1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"isNavigable","disabled"],["svgIcon","more"],["ngbDropdownMenu","","role","menu",1,"dropdown-menu"],["appTabIndex","","role","menuitem",1,"dropdown-item",3,"click","disabled"],[3,"formGroup"],["label","Name","formControlName","name","placeholder","Enter a name",3,"required"],["label","Description","formControlName","description","placeholder","Enter a description"],[4,"appIfFeatureFlag"],[3,"form","fields","model",4,"appIfFeatureFlag"],[3,"form","fields","model"]],template:function(In,Kt){if(1&In&&M.DNE(0,le,1,0,"ng-container",1)(1,ae,15,9,"ng-template",null,0,M.C5r),2&In){const Ze=M.sdS(2);M.Y8G("ngTemplateOutlet",Ze)("ngTemplateOutletContext",M.eq3(2,Q,Kt.loadingState===Kt.LoadingState.inProgress))}},dependencies:[k.T3,Y.R,x.b,B.d,b.qT,b.BC,b.cb,b.YS,b.j4,b.JD,j.aF,$._,H.L,ie.An,ne.r,F.tg,F.do,F.U0],styles:[".add-space[_ngcontent-%COMP%]{margin-bottom:5px!important}formly-form[_ngcontent-%COMP%]{position:relative;top:-.9rem}"]})}return ft})();var de=s(16995),Me=s(14784),me=s(44667),be=s(2937),Le=s(83958);const Ae=ft=>({loadingInProgress:ft});function Oe(ft,Xt){1&ft&&M.eu8(0)}function Xe(ft,Xt){if(1&ft){const It=M.RV6();M.j41(0,"app-side-sheet-header",17),M.bIt("actioned",function(){M.eBV(It);const Kt=M.XpG(2);return M.Njj(Kt.save())}),M.pXf(1,1),M.k0s()}if(2&ft){const It=M.XpG().loadingInProgress,In=M.XpG();M.Y8G("disabled",It||In.disabled)("monitorConnection",In.monitorConnection)}}function Pe(ft,Xt){if(1&ft&&(M.j41(0,"app-side-sheet-header",18),M.pXf(1,2),M.k0s()),2&ft){const It=M.XpG(2);M.Y8G("monitorConnection",It.monitorConnection)}}function $e(ft,Xt){if(1&ft){const It=M.RV6();M.j41(0,"div",25)(1,"button",26),M.bIt("click",function(){M.eBV(It);const Kt=M.XpG(3);return M.Njj(Kt.duplicate())}),M.nrm(2,"mat-icon",27),M.k0s(),M.j41(3,"button",28),M.bIt("click",function(){M.eBV(It);const Kt=M.XpG(3);return M.Njj(Kt.editDetails())}),M.nrm(4,"mat-icon",29),M.k0s()()}if(2&ft){const It=M.XpG(3);M.R7$(),M.Y8G("disabled",It.disabled),M.R7$(2),M.Y8G("disabled",It.disabled)}}function ze(ft,Xt){if(1&ft&&(M.j41(0,"div")(1,"span",21),M.pXf(2,4),M.k0s(),M.j41(3,"div",30),M.EFF(4),M.k0s()()),2&ft){const It=M.XpG(3);M.R7$(4),M.JRh(It.securityPolicy.description)}}function Be(ft,Xt){if(1&ft&&(M.j41(0,"div",33)(1,"span"),M.EFF(2),M.k0s()()),2&ft){const It=Xt.$implicit;M.xc7("background-color",It.color),M.BMQ("alt",It.name)("title",It.name),M.R7$(2),M.JRh(It.name)}}function Ye(ft,Xt){if(1&ft&&(M.j41(0,"div")(1,"span",21),M.pXf(2,5),M.k0s(),M.j41(3,"div",31),M.DNE(4,Be,3,5,"div",32),M.k0s()()),2&ft){const It=M.XpG(5);M.R7$(4),M.Y8G("ngForOf",It.securityPolicy.solutions)}}function Ct(ft,Xt){if(1&ft&&(M.qex(0),M.DNE(1,Ye,5,1,"div",23),M.bVm()),2&ft){const It=M.XpG(4);M.R7$(),M.Y8G("ngIf",null==It.securityPolicy.solutions?null:It.securityPolicy.solutions.length)}}function Lt(ft,Xt){if(1&ft&&(M.qex(0),M.DNE(1,Ct,2,1,"ng-container",24),M.bVm()),2&ft){const It=M.XpG(3);M.R7$(),M.Y8G("appIfFeatureFlag",It.FeatureFlags.FEATURE_EIM_23836_MODULE_PORTABILITY)}}function Vt(ft,Xt){if(1&ft&&(M.j41(0,"app-side-sheet-section",19),M.DNE(1,$e,5,2,"div",20),M.j41(2,"span",21),M.pXf(3,3),M.k0s(),M.j41(4,"div",22),M.EFF(5),M.k0s(),M.DNE(6,ze,5,1,"div",23)(7,Lt,2,1,"ng-container",24),M.k0s()),2&ft){const It=M.XpG(2);M.Y8G("showBorder",!1),M.R7$(),M.Y8G("ngIf",!It.readonly),M.R7$(4),M.JRh(It.securityPolicy.name),M.R7$(),M.Y8G("ngIf",It.securityPolicy.description),M.R7$(),M.Y8G("appIfFeatureFlag",It.FeatureFlags.FEATURE_SOLUTIONS)}}function ht(ft,Xt){if(1&ft&&(M.j41(0,"div",38),M.EFF(1),M.k0s()),2&ft){const It=M.XpG(3);M.R7$(),M.JRh(It.readCohortLabel)}}function gt(ft,Xt){if(1&ft&&(M.j41(0,"div",38),M.EFF(1),M.k0s()),2&ft){const It=M.XpG(3);M.R7$(),M.JRh(It.collaborateCohortLabel)}}function Ge(ft,Xt){if(1&ft&&(M.j41(0,"div",38),M.EFF(1),M.k0s()),2&ft){const It=M.XpG(4);M.R7$(),M.JRh(It.modifyCohortLabel)}}function Se(ft,Xt){if(1&ft){const It=M.RV6();M.j41(0,"app-side-sheet-list-item",35),M.bIt("click",function(){M.eBV(It);const Kt=M.XpG(3);return M.Njj(!Kt.disabled&&Kt.openModifyAction())}),M.qex(1),M.pXf(2,10),M.bVm(),M.DNE(3,Ge,2,1,"div",36),M.k0s()}if(2&ft){const It=M.XpG(3);M.Y8G("disabled",It.disabled)("hasChevron",!0)("value",It.modifyCohortCount),M.R7$(3),M.Y8G("ngIf",It.modifyCohortLabel)}}function ke(ft,Xt){if(1&ft&&(M.j41(0,"div",38),M.EFF(1),M.k0s()),2&ft){const It=M.XpG(3);M.R7$(),M.JRh(It.changeCohortLabel)}}function Ne(ft,Xt){if(1&ft&&(M.j41(0,"div",38),M.EFF(1),M.k0s()),2&ft){const It=M.XpG(3);M.R7$(),M.JRh(It.deleteCohortLabel)}}function Je(ft,Xt){if(1&ft){const It=M.RV6();M.j41(0,"app-side-sheet-section",34)(1,"app-side-sheet-list-item",35),M.bIt("click",function(){M.eBV(It);const Kt=M.XpG(2);return M.Njj(!Kt.disabled&&Kt.openReadAction())}),M.qex(2),M.pXf(3,6),M.bVm(),M.DNE(4,ht,2,1,"div",36),M.k0s(),M.j41(5,"app-side-sheet-list-item",35),M.bIt("click",function(){M.eBV(It);const Kt=M.XpG(2);return M.Njj(!Kt.disabled&&Kt.openCollaborateAction())}),M.qex(6),M.pXf(7,7),M.bVm(),M.DNE(8,gt,2,1,"div",36),M.k0s(),M.DNE(9,Se,4,4,"app-side-sheet-list-item",37),M.j41(10,"app-side-sheet-list-item",35),M.bIt("click",function(){M.eBV(It);const Kt=M.XpG(2);return M.Njj(!Kt.disabled&&Kt.openChangeAction())}),M.qex(11),M.pXf(12,8),M.bVm(),M.DNE(13,ke,2,1,"div",36),M.k0s(),M.j41(14,"app-side-sheet-list-item",35),M.bIt("click",function(){M.eBV(It);const Kt=M.XpG(2);return M.Njj(!Kt.disabled&&Kt.openDeleteAction())}),M.qex(15),M.pXf(16,9),M.bVm(),M.DNE(17,Ne,2,1,"div",36),M.k0s()()}if(2&ft){const It=M.XpG(2);M.Y8G("showBorder",!0),M.R7$(),M.Y8G("disabled",It.disabled)("hasChevron",!0)("value",It.readCohortCount),M.R7$(3),M.Y8G("ngIf",It.readCohortLabel),M.R7$(),M.Y8G("disabled",It.disabled)("hasChevron",!0)("value",It.collaborateCohortCount),M.R7$(3),M.Y8G("ngIf",It.collaborateCohortLabel),M.R7$(),M.Y8G("appIfFeatureFlag",It.FeatureFlags.FEATURE_EIM_24175_OBJECT_EDIT_SECURITY_POLICY),M.R7$(),M.Y8G("disabled",It.disabled)("hasChevron",!0)("value",It.changeCohortCount),M.R7$(3),M.Y8G("ngIf",It.changeCohortLabel),M.R7$(),M.Y8G("disabled",It.disabled)("hasChevron",!0)("value",It.deleteCohortCount),M.R7$(3),M.Y8G("ngIf",It.deleteCohortLabel)}}function Qe(ft,Xt){if(1&ft&&(M.DNE(0,Xe,2,2,"app-side-sheet-header",12)(1,Pe,2,1,"app-side-sheet-header",13),M.j41(2,"div",14),M.DNE(3,Vt,8,5,"app-side-sheet-section",15)(4,Je,18,18,"app-side-sheet-section",16),M.k0s()),2&ft){const It=Xt.loadingInProgress,In=M.XpG();M.Y8G("ngIf",!In.readonly),M.R7$(),M.Y8G("ngIf",In.readonly),M.R7$(),M.Y8G("appSpinner",It),M.R7$(),M.Y8G("ngIf",In.securityPolicy),M.R7$(),M.Y8G("ngIf",In.securityPolicy)}}let rt=(()=>{class ft{constructor(It,In,Kt,Ze,wn,zn){this.meService=It,this.securityService=In,this.sideSheetService=Kt,this.toastService=Ze,this.connectionService=wn,this.objectService=zn,this.readonly=!0,this.LoadingState=y.Gu,this.monitorConnection=!1,this.disabled=!1,this.destroyed$=new n.B,this.FeatureFlags=C.g}ngOnInit(){this.loadingState=y.Gu.inProgress,(0,a.z)([this.meService.isAdmin$(),this.securityService.getSecurityPolicy$(this.securityPolicyTip)]).pipe((0,m.Q)(this.destroyed$)).subscribe({next:([It,In])=>{this.securityPolicy=In,this.readonly=!(It&&this.securityPolicy.type===E.h.CENTRAL),this.refreshCohortCounts(),this.refreshCohortLabels(),this.loadingState=y.Gu.loaded},error:()=>this.loadingState=y.Gu.failed}),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,m.Q)(this.destroyed$)).subscribe(It=>{this.disabled=!It})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}refreshCohortCounts(){this.readCohortCount=this.securityService.cohortsTips(this.securityPolicy.readCohorts).length,this.collaborateCohortCount=this.securityService.cohortsTips(this.securityPolicy.collaborateCohorts).length,this.modifyCohortCount=this.securityService.cohortsTips(this.securityPolicy.modifyCohorts).length,this.changeCohortCount=this.securityService.cohortsTips(this.securityPolicy.changeCohorts).length,this.deleteCohortCount=this.securityService.cohortsTips(this.securityPolicy.deleteCohorts).length}refreshCohortLabels(){this.readCohortLabel=this.securityService.cohortsLabelSummary(this.securityPolicy.readCohorts),this.collaborateCohortLabel=this.securityService.cohortsLabelSummary(this.securityPolicy.collaborateCohorts),this.modifyCohortLabel=this.securityService.cohortsLabelSummary(this.securityPolicy.modifyCohorts),this.changeCohortLabel=this.securityService.cohortsLabelSummary(this.securityPolicy.changeCohorts),this.deleteCohortLabel=this.securityService.cohortsLabelSummary(this.securityPolicy.deleteCohorts)}editDetails(){this.sideSheetService.pushV2(K,{securityPolicyTip:this.securityPolicyTip,name:this.securityPolicy.name,description:this.securityPolicy.description,monitorConnection:this.monitorConnection,solutions:this.securityPolicy.solutions,onDone:It=>{this.securityPolicy.name=It.name,this.securityPolicy.description=It.description,(0,w.isEmpty)(It.solutions)?this.securityPolicy.solutions=[]:this.objectService.getObjects(It.solutions,de.h).pipe((0,m.Q)(this.destroyed$)).subscribe(In=>this.securityPolicy.solutions=In)}})}save(){this.loadingState=y.Gu.inProgress,this.securityService.updateSecurityPolicy$(this.securityPolicy).pipe((0,T.$)(),(0,O.M)(()=>{this.toastService.showSuccessToast("Saved security policy"),this.sideSheetService.pop()}),(0,D.W)(It=>(this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to save security policy"),(0,g.of)(It)))).subscribe()}duplicate(){this.loadingState=y.Gu.inProgress,this.securityService.duplicateSecurityPolicy$(this.securityPolicyTip).pipe((0,T.$)(),(0,O.M)(It=>{this.toastService.showSuccessToast("Security policy duplicated"),this.sideSheetService.pop(),this.sideSheetService.pushV2(ft,{securityPolicyTip:It,readonly:!1,monitorConnection:this.monitorConnection})}),(0,D.W)(It=>(this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to duplicate security policy"),(0,g.of)(It)))).subscribe()}openReadAction(){this.openAction("readCohorts","read-only")}openCollaborateAction(){this.openAction("collaborateCohorts","read & collaborate")}openModifyAction(){this.openAction("modifyCohorts","read, collaborate & edit")}openChangeAction(){this.openAction("changeCohorts","read, collaborate, edit & security")}openDeleteAction(){this.openAction("deleteCohorts","read, collaborate, edit, security & delete")}openAction(It,In){const Kt=this.securityPolicy[It];this.sideSheetService.pushV2(I.M,{selectedUsers:Kt?.users??[],selectedProfiles:Kt?.profiles??[],selectedTeams:Kt?.teams??[],selectedRoles:Kt?.roles??[],actionLabel:In,title:this.securityPolicy.name,readonly:this.readonly,monitorConnection:this.monitorConnection,onDone:Ze=>{this.securityPolicy[It]=Ze,this.refreshCohortCounts(),this.refreshCohortLabels()}})}static#e=this.\u0275fac=function(In){return new(In||ft)(M.rXU(Me.Q),M.rXU(E.i),M.rXU(q.E),M.rXU(z.f),M.rXU(U.K),M.rXU(me.T))};static#t=this.\u0275cmp=M.VBU({type:ft,selectors:[["app-security-policy"]],decls:3,vars:4,consts:()=>{let It,In,Kt,Ze,wn,zn,di,jn,Di,Li,ms,Rn,Qt,Wt,Yt;return It="Save",In="Details",Kt="Permissions",Ze="Manage security policy ",wn="View security policy ",zn="Name",di="Duplicate",jn="Edit",Di="Description",Li="Solutions",ms="Read-only",Rn="Read & collaborate",Qt="Read, collaborate, edit & security",Wt="Read, collaborate, edit, security & delete ",Yt="Read, collaborate & edit",[["securityPolicyView",""],Ze,wn,zn,Di,Li,ms,Rn,Qt,Wt,Yt,[4,"ngTemplateOutlet","ngTemplateOutletContext"],["action",It,3,"disabled","monitorConnection","actioned",4,"ngIf"],[3,"monitorConnection",4,"ngIf"],[3,"appSpinner"],["title",In,3,"showBorder",4,"ngIf"],["title",Kt,3,"showBorder",4,"ngIf"],["action",It,3,"actioned","disabled","monitorConnection"],[3,"monitorConnection"],["title",In,3,"showBorder"],["buttons","","class","d-flex",4,"ngIf"],[1,"text-muted","label"],[1,"mt-1","mb-3"],[4,"ngIf"],[4,"appIfFeatureFlag"],["buttons","",1,"d-flex"],["title",di,1,"eim-button_minimized","btn","btn-secondary",3,"click","disabled"],["svgIcon","duplicate"],["data-test","edit-policy-button","title",jn,1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"click","disabled"],["svgIcon","edit"],[1,"mt-1","mb-3",2,"white-space","pre-wrap"],[1,"d-flex","flex-row","flex-wrap"],["class","tally-pill mr-2 mt-1",3,"backgroundColor",4,"ngFor","ngForOf"],[1,"tally-pill","mr-2","mt-1"],["title",Kt,3,"showBorder"],["toggleType","number",3,"click","disabled","hasChevron","value"],["class","action-label",4,"ngIf"],["toggleType","number",3,"disabled","hasChevron","value","click",4,"appIfFeatureFlag"],[1,"action-label"]]},template:function(In,Kt){if(1&In&&M.DNE(0,Oe,1,0,"ng-container",11)(1,Qe,5,5,"ng-template",null,0,M.C5r),2&In){const Ze=M.sdS(2);M.Y8G("ngTemplateOutlet",Ze)("ngTemplateOutletContext",M.eq3(2,Ae,Kt.loadingState===Kt.LoadingState.inProgress))}},dependencies:[k.Sq,k.bT,k.T3,be.N,Y.R,Le.D,x.b,B.d,ie.An,ne.r],styles:[".action-label[_ngcontent-%COMP%]{font-size:.8em}"]})}return ft})()},58756:(at,N,s)=>{"use strict";s.d(N,{s:()=>F});var n=s(18359),a=s(21413),g=s(7673),m=s(96354),T=s(99437),O=s(56977),D=s(69172),E=s(69595),y=s(93953),I=s(87335),b=s(66386);const L=()=>["name"],o=U=>({profiles:U});function C(U,k){1&U&&(y.j41(0,"app-alert",10),y.EFF(1," Failed to load profiles "),y.k0s())}function w(U,k){if(1&U){const Y=y.RV6();y.j41(0,"app-side-sheet-list-item",15),y.bIt("toggle",function(B){y.eBV(Y);const j=y.XpG(3);return y.Njj(j.toggleProfile(B))}),y.j41(1,"div",16)(2,"div",17),y.EFF(3),y.k0s(),y.j41(4,"div",18),y.EFF(5),y.nI1(6,"userTypeLabel"),y.k0s()()()}if(2&U){const Y=k.$implicit,x=y.XpG(3);y.Y8G("key",Y.$tip)("hideUnderline",Y.$tip!==x.allTip)("disabled",x.disabled||x.allSelected&&Y.$tip!==x.allTip||x.preselectAdminProfile&&Y.$tip===x.administratorTip),y.R7$(3),y.JRh(null==Y?null:Y.name),y.R7$(2),y.JRh(y.bMT(6,5,null==Y?null:Y.userType))}}function M(U,k){if(1&U){const Y=y.RV6();y.j41(0,"app-side-sheet-list",13),y.mxI("selectedChange",function(B){y.eBV(Y);const j=y.XpG(2);return y.DH7(j.selectedProfiles,B)||(j.selectedProfiles=B),y.Njj(B)}),y.DNE(1,w,7,7,"app-side-sheet-list-item",14),y.k0s()}if(2&U){const Y=y.XpG().ngIf,x=y.XpG();y.Y8G("mode",x.mode),y.R50("selected",x.selectedProfiles),y.Y8G("loadingState",x.loadingState)("disabled",x.disabled),y.R7$(),y.Y8G("ngForOf",Y.profiles)}}function q(U,k){1&U&&y.nrm(0,"app-empty-state",19)}function z(U,k){if(1&U&&(y.j41(0,"app-side-sheet-section",11),y.DNE(1,M,2,5,"app-side-sheet-list",12)(2,q,1,0,"ng-template",null,0,y.C5r),y.k0s()),2&U){const Y=k.ngIf,x=y.sdS(3),B=y.XpG();y.R7$(),y.Y8G("ngIf",B.loadingState===B.loadingStates.inProgress||(null==Y.profiles?null:Y.profiles.length)>0&&B.loadingState!==B.loadingStates.failed)("ngIfElse",x)}}let F=(()=>{class U{constructor(Y,x,B){this.profileService=Y,this.connectionService=x,this.cdr=B,this.mode=E.X.SINGLE_SELECT,this.showAll=!0,this.initiallySelectedTips=[],this.preselectAdminProfile=!1,this.selectedProfiles=[],this.doNotDisplayInitiallySelectedProfiles=!1,this.subscriptions=new n.yU,this.loadingStates=D.Gu,this.loadingState=D.Gu.inProgress,this.allSelected=!1,this.administratorTip="app/profile/administrator",this.allTip="__ALL__",this.monitorConnection=!1,this.offline=!1,this.destroyed$=new a.B}get disabled(){return this.offline||this.loadingState===D.Gu.failed}ngOnInit(){this.selectedProfiles=[...this.initiallySelectedTips],this.preselectAdminProfile&&!this.selectedProfiles.includes(this.administratorTip)&&this.selectedProfiles.unshift(this.administratorTip),this.mode===E.X.MULTI_SELECT&&this.showAll&&0===this.initiallySelectedTips.length&&this.selectedProfiles.unshift(this.allTip),this.allSelected=this.selectedProfiles.includes(this.allTip),this.profiles$=this.profileService.getProfiles().pipe((0,m.T)(Y=>{let x=[...Y];if(this.preselectAdminProfile){const B=x.findIndex(j=>j.$tip===this.administratorTip);if(-1!==B){const j=x.splice(B,1)[0];x.unshift(j)}}return this.doNotDisplayInitiallySelectedProfiles&&(x=x.filter(B=>!this.initiallySelectedTips.includes(B.$tip)||this.preselectAdminProfile&&B.$tip===this.administratorTip)),this.mode===E.X.MULTI_SELECT&&this.showAll&&x.unshift({$tip:this.allTip,name:"All profiles",description:"All profiles"}),this.profiles=x,this.loadingState=D.Gu.loaded,this.profiles}),(0,T.W)(()=>(this.profiles=[],this.loadingState=D.Gu.failed,this.cdr.detectChanges(),(0,g.of)([])))),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,O.Q)(this.destroyed$)).subscribe(Y=>{this.offline=!Y})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}onDone(){const Y=this.selectedProfiles;switch(this.mode){case E.X.SINGLE_SELECT:Y&&Y.length&&this.done(this.profiles.find(x=>x.$tip===Y[0]));break;case E.X.MULTI_SELECT:this.done(this.profiles.filter(x=>Y.indexOf(x.$tip)>-1))}}toggleProfile(Y){Y===this.allTip&&(this.allSelected=-1===this.selectedProfiles.indexOf(Y))}static#e=this.\u0275fac=function(x){return new(x||U)(y.rXU(I.Q),y.rXU(b.K),y.rXU(y.gRc))};static#t=this.\u0275cmp=y.VBU({type:U,selectors:[["app-select-profiles-side-sheet"]],inputs:{mode:"mode",showAll:"showAll"},decls:12,vars:15,consts:()=>{let Y,x,B,j;return Y="Done",x="Profiles",B="Select profiles",j="No profiles here",[["emptyState",""],B,["action",Y,3,"actioned","disabled","monitorConnection"],["type","danger",4,"ngIf"],[1,"p-3"],[1,"d-flex","align-items-center","pl-0","pr-0"],[1,"search-input","flex-grow-1"],[1,"search-input-icon","mdi","mdi-search"],["type","text",1,"form-control",3,"ngModelChange","ngModel","disabled"],["title",x,4,"ngIf"],["type","danger"],["title",x],[3,"mode","selected","loadingState","disabled","selectedChange",4,"ngIf","ngIfElse"],[3,"selectedChange","mode","selected","loadingState","disabled"],[3,"key","hideUnderline","disabled","toggle",4,"ngFor","ngForOf"],[3,"toggle","key","hideUnderline","disabled"],[1,"d-flex","flex-column"],[1,"profile-name","flex-fill"],[1,"profile-user-type","flex-fill"],["imgSrc","assets/img/empty-states/no-groups.svg","label",j,"size","default"]]},template:function(x,B){1&x&&(y.j41(0,"app-side-sheet-header",2),y.bIt("actioned",function(){return B.onDone()}),y.j41(1,"span"),y.pXf(2,1),y.k0s()(),y.DNE(3,C,2,0,"app-alert",3),y.j41(4,"div",4)(5,"div",5)(6,"div",6),y.nrm(7,"span",7),y.j41(8,"input",8),y.mxI("ngModelChange",function($){return y.DH7(B.filterText,$)||(B.filterText=$),$}),y.k0s()()()(),y.DNE(9,z,4,2,"app-side-sheet-section",9),y.nI1(10,"async"),y.nI1(11,"filter")),2&x&&(y.Y8G("disabled",B.disabled||0===B.selectedProfiles.length)("monitorConnection",B.monitorConnection),y.R7$(3),y.Y8G("ngIf",B.loadingState===B.loadingStates.failed&&!B.offline),y.R7$(5),y.R50("ngModel",B.filterText),y.Y8G("disabled",B.disabled),y.R7$(),y.Y8G("ngIf",y.eq3(13,o,y.brH(11,8,y.bMT(10,6,B.profiles$),B.filterText,y.lJ4(12,L)))))}})}return U})()},76044:(at,N,s)=>{"use strict";s.d(N,{_:()=>U});var n=s(18359),a=s(21413),g=s(7673),m=s(96354),T=s(99437),O=s(56977),D=s(69172),E=s(69595),y=s(93953),I=s(65825),b=s(66386);const L=()=>["name"],o=k=>({teams:k});function C(k,Y){1&k&&(y.j41(0,"app-alert",9),y.EFF(1," Failed to load teams "),y.k0s())}function w(k,Y){1&k&&(y.j41(0,"span",17)(1,"i",18),y.EFF(2,"\u2022"),y.k0s(),y.EFF(3,"Active \u2022 "),y.k0s())}function M(k,Y){if(1&k&&(y.j41(0,"app-side-sheet-list-item",14)(1,"div",15)(2,"div"),y.EFF(3),y.k0s(),y.j41(4,"div"),y.DNE(5,w,4,0,"span",16),y.EFF(6),y.k0s()()()),2&k){const x=Y.$implicit,B=y.XpG(3);y.Y8G("disabled",B.disabled)("key",x.$tip),y.R7$(3),y.JRh(x.name),y.R7$(2),y.Y8G("ngIf","active"===x.status),y.R7$(),y.Lme(" ",x.numMembers," members \u2022 ",x.numRoles," roles ")}}function q(k,Y){if(1&k){const x=y.RV6();y.j41(0,"app-side-sheet-list",12),y.mxI("selectedChange",function(j){y.eBV(x);const $=y.XpG(2);return y.DH7($.selectedTeams,j)||($.selectedTeams=j),y.Njj(j)}),y.DNE(1,M,7,6,"app-side-sheet-list-item",13),y.k0s()}if(2&k){const x=y.XpG().ngIf,B=y.XpG();y.R50("selected",B.selectedTeams),y.Y8G("disabled",B.disabled)("loadingState",B.loadingState)("mode",B.mode),y.R7$(),y.Y8G("ngForOf",x.teams)}}function z(k,Y){1&k&&y.nrm(0,"app-empty-state",19)}function F(k,Y){if(1&k&&(y.j41(0,"app-side-sheet-section",10),y.DNE(1,q,2,5,"app-side-sheet-list",11)(2,z,1,0,"ng-template",null,0,y.C5r),y.k0s()),2&k){const x=Y.ngIf,B=y.sdS(3),j=y.XpG();y.R7$(),y.Y8G("ngIf",j.loadingState===j.loadingStates.inProgress||(null==x.teams?null:x.teams.length)>0&&j.loadingState!==j.loadingStates.failed)("ngIfElse",B)}}let U=(()=>{class k{constructor(x,B,j){this.teamService=x,this.connectionService=B,this.cdr=j,this.mode=E.X.SINGLE_SELECT,this.title="Select teams",this.initiallySelectedTips=[],this.selectedTeams=[],this.doNotDisplayInitiallySelectedTeams=!1,this.subscriptions=new n.yU,this.loadingStates=D.Gu,this.loadingState=D.Gu.inProgress,this.monitorConnection=!1,this.offline=!1,this.destroyed$=new a.B}get disabled(){return this.offline||this.loadingState===D.Gu.failed}ngOnInit(){this.selectedTeams=[...this.initiallySelectedTips],this.teams$=this.teamService.getAnalyzedTeams().pipe((0,m.T)(x=>x.teams),(0,m.T)(x=>(this.teams=this.doNotDisplayInitiallySelectedTeams?x.filter(B=>-1===this.initiallySelectedTips.indexOf(B.$tip)):x,this.loadingState=D.Gu.loaded,this.teams)),(0,T.W)(()=>(this.loadingState=D.Gu.failed,this.teams=[],this.cdr.detectChanges(),(0,g.of)([])))),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,O.Q)(this.destroyed$)).subscribe(x=>{this.offline=!x})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}onDone(){const x=this.selectedTeams;switch(this.mode){case E.X.SINGLE_SELECT:x&&x.length&&this.done(this.teams.find(B=>B.$tip===x[0]));break;case E.X.MULTI_SELECT:this.done(this.teams.filter(B=>x.indexOf(B.$tip)>-1))}}static#e=this.\u0275fac=function(B){return new(B||k)(y.rXU(I.n),y.rXU(b.K),y.rXU(y.gRc))};static#t=this.\u0275cmp=y.VBU({type:k,selectors:[["app-select-teams-side-sheet"]],inputs:{mode:"mode"},decls:12,vars:16,consts:()=>{let x;return x="No teams here",[["emptyState",""],["action","Done",3,"actioned","disabled","monitorConnection"],["type","danger",4,"ngIf"],[1,"p-3"],[1,"d-flex","align-items-center","pl-0","pr-0"],[1,"search-input","flex-grow-1"],[1,"search-input-icon","mdi","mdi-search"],["type","text",1,"form-control",3,"ngModelChange","ngModel","disabled"],["title","Teams",4,"ngIf"],["type","danger"],["title","Teams"],[3,"selected","disabled","loadingState","mode","selectedChange",4,"ngIf","ngIfElse"],[3,"selectedChange","selected","disabled","loadingState","mode"],[3,"disabled","key",4,"ngFor","ngForOf"],[3,"disabled","key"],[1,"p-2"],["class","status-active ng-star-inserted",4,"ngIf"],[1,"status-active","ng-star-inserted"],[1,"mr-1","text-success"],["imgSrc","assets/img/empty-states/no-roles.svg","label",x,"size","default"]]},template:function(B,j){1&B&&(y.j41(0,"app-side-sheet-header",1),y.bIt("actioned",function(){return j.onDone()}),y.j41(1,"span"),y.EFF(2),y.k0s()(),y.DNE(3,C,2,0,"app-alert",2),y.j41(4,"div",3)(5,"div",4)(6,"div",5),y.nrm(7,"span",6),y.j41(8,"input",7),y.mxI("ngModelChange",function(H){return y.DH7(j.filterText,H)||(j.filterText=H),H}),y.k0s()()()(),y.DNE(9,F,4,2,"app-side-sheet-section",8),y.nI1(10,"async"),y.nI1(11,"filter")),2&B&&(y.Y8G("disabled",j.disabled||0===j.selectedTeams.length)("monitorConnection",j.monitorConnection),y.R7$(2),y.JRh(j.title),y.R7$(),y.Y8G("ngIf",j.loadingState===j.loadingStates.failed&&!j.offline),y.R7$(5),y.R50("ngModel",j.filterText),y.Y8G("disabled",j.disabled),y.R7$(),y.Y8G("ngIf",y.eq3(14,o,y.brH(11,9,y.bMT(10,7,j.teams$),j.filterText,y.lJ4(13,L)))))}})}return k})()},2360:(at,N,s)=>{"use strict";s.d(N,{u:()=>M});var n=s(18359),a=s(21413),g=s(56977),m=s(96354),T=s(96697),O=s(99437),D=s(69172),E=s(69595),y=s(93953),I=s(65886),b=s(66386);function L(q,z){1&q&&(y.j41(0,"app-alert",9),y.EFF(1," Failed to load users "),y.k0s())}function o(q,z){if(1&q&&(y.j41(0,"app-side-sheet-list-item",12)(1,"div",13),y.nrm(2,"app-avatar-view",14),y.j41(3,"div",15),y.EFF(4),y.k0s()()()),2&q){const F=z.$implicit,U=y.XpG(2);y.Y8G("key",F.$tip)("disabled",U.disabled),y.R7$(2),y.Y8G("size","40px")("avatarTip",null==F?null:F.avatar)("fullName",null==F?null:F.fullName),y.R7$(2),y.JRh(U.userLabel(F))}}function C(q,z){if(1&q){const F=y.RV6();y.j41(0,"app-side-sheet-list",10),y.mxI("selectedChange",function(k){y.eBV(F);const Y=y.XpG();return y.DH7(Y.selectedUsers,k)||(Y.selectedUsers=k),y.Njj(k)}),y.bIt("selectedChange",function(){y.eBV(F);const k=y.XpG();return y.Njj(k.onSelectedChange())})("showMore",function(){y.eBV(F);const k=y.XpG();return y.Njj(k.showMore())}),y.DNE(1,o,5,6,"app-side-sheet-list-item",11),y.k0s()}if(2&q){const F=y.XpG();y.Y8G("mode",F.mode),y.R50("selected",F.selectedUsers),y.Y8G("loadingState",F.loadingState)("emitChangeEventOnLoad",!1)("disabled",F.disabled)("showMoreButton",F.showMoreUsersButton&&F.loadingState===F.loadingStates.loaded),y.R7$(),y.Y8G("ngForOf",F.users)}}function w(q,z){1&q&&y.nrm(0,"app-empty-state",16)}let M=(()=>{class q{constructor(F,U){this.userService=F,this.connectionService=U,this.mode=E.X.SINGLE_SELECT,this.title="Select users",this.initiallySelectedTips=[],this.selectedUsers=[],this.doNotDisplayInitiallySelectedUsers=!1,this.previousUsers=[],this.subscriptions=new n.yU,this.loadingStates=D.Gu,this.loadingState=D.Gu.inProgress,this.offset=0,this.limit=100,this.showMoreUsersButton=!1,this.monitorConnection=!1,this.offline=!1,this.destroyed$=new a.B}get disabled(){return this.offline||this.loadingState===D.Gu.failed}ngOnInit(){this.loadUsers(),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,g.Q)(this.destroyed$)).subscribe(F=>{this.offline=!F})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}onSelectedChange(){this.isSingleSelect&&this.onDone()}onDone(){const F=this.selectedUsers;switch(this.mode){case E.X.SINGLE_SELECT:F&&F.length&&this.done(F[0]);break;case E.X.MULTI_SELECT:this.done(F)}}get isSingleSelect(){return this.mode===E.X.SINGLE_SELECT}userLabel(F){return(F.fullName??"").replace(/(^ +)|( +$)/g,"")||F.email}searchByText(){this.offset=0,this.users=[],this.previousUsers=[],this.loadUsers()}loadUsers(){this.loadingState=D.Gu.inProgress,this.selectedUsers=[...this.initiallySelectedTips],this.userService.getUsers(this.offset,this.limit,this.filterText).pipe((0,m.T)(F=>(this.offset+=this.limit,this.showMoreUsersButton=!(F.length<this.limit),this.users=this.doNotDisplayInitiallySelectedUsers?F.filter(U=>-1===this.initiallySelectedTips.indexOf(U.$tip)):F,this.users=[...this.previousUsers,...this.users],this.loadingState=D.Gu.loaded,this.users)),(0,T.s)(1),(0,O.W)(()=>(this.loadingState=D.Gu.failed,this.users=[],[]))).subscribe()}showMore(){this.previousUsers=[...this.users],this.loadUsers()}static#e=this.\u0275fac=function(U){return new(U||q)(y.rXU(I.DL),y.rXU(b.K))};static#t=this.\u0275cmp=y.VBU({type:q,selectors:[["app-select-users-side-sheet"]],inputs:{mode:"mode"},decls:12,vars:11,consts:()=>{let F;return F="No users here",[["emptyState",""],[3,"actioned","action","disabled","monitorConnection"],["type","danger",4,"ngIf"],[1,"p-3"],[1,"d-flex","align-items-center","pl-0","pr-0"],[1,"search-input","flex-grow-1"],[3,"filterTextChange","keyup.enter","keyup.shift.enter","delayTime","filterText","showAddButton","disabled"],["title","Users"],[3,"mode","selected","loadingState","emitChangeEventOnLoad","disabled","showMoreButton","selectedChange","showMore",4,"ngIf","ngIfElse"],["type","danger"],[3,"selectedChange","showMore","mode","selected","loadingState","emitChangeEventOnLoad","disabled","showMoreButton"],[3,"key","disabled",4,"ngFor","ngForOf"],[3,"key","disabled"],[1,"d-flex","justify-content-start","align-items-center","p-2"],[1,"mr-3",3,"size","avatarTip","fullName"],[1,"flex-fill"],["imgSrc","assets/img/empty-states/no-roles.svg","label",F,"size","default"]]},template:function(U,k){if(1&U){const Y=y.RV6();y.j41(0,"app-side-sheet-header",1),y.bIt("actioned",function(){return y.eBV(Y),y.Njj(k.onDone())}),y.j41(1,"span"),y.EFF(2),y.k0s()(),y.DNE(3,L,2,0,"app-alert",2),y.j41(4,"div",3)(5,"div",4)(6,"div",5)(7,"app-filter-and-add",6),y.mxI("filterTextChange",function(B){return y.eBV(Y),y.DH7(k.filterText,B)||(k.filterText=B),y.Njj(B)}),y.bIt("keyup.enter",function(){return y.eBV(Y),y.Njj(k.searchByText())})("keyup.shift.enter",function(){return y.eBV(Y),y.Njj(k.searchByText())}),y.k0s()()()(),y.j41(8,"app-side-sheet-section",7),y.DNE(9,C,2,7,"app-side-sheet-list",8)(10,w,1,0,"ng-template",null,0,y.C5r),y.k0s()}if(2&U){const Y=y.sdS(11);y.FS9("action",k.isSingleSelect?"":"Done"),y.Y8G("disabled",k.disabled||0===k.selectedUsers.length)("monitorConnection",k.monitorConnection),y.R7$(2),y.JRh(k.title),y.R7$(),y.Y8G("ngIf",k.loadingState===k.loadingStates.failed&&!k.offline),y.R7$(4),y.Y8G("delayTime",0),y.R50("filterText",k.filterText),y.Y8G("showAddButton","multiselect"!==k.mode)("disabled",k.disabled),y.R7$(2),y.Y8G("ngIf",k.loadingState===k.loadingStates.inProgress||k.users.length>0&&k.loadingState!==k.loadingStates.failed)("ngIfElse",Y)}}})}return q})()},76277:(at,N,s)=>{"use strict";s.d(N,{r:()=>z});var n=s(42190),a=s(51229),g=s(61594),m=s(96354),T=s(25558),O=s(99437),D=s(73703),E=s(40673),y=s(31130),I=s(76194),b=s(81878),L=s(67376),C=s(93953),w=s(44667),M=s(76151),q=s(87879);let z=(()=>{class F{constructor(k,Y,x,B,j){this.queryService=k,this.objectService=Y,this.moduleService=x,this.filterInputService=B,this.modulePackageService=j}static normalizeChart(k){return k.dataSource||(k.dataSource=[]),k.previewInput||(k.previewInput=[]),k}getChart(k){return this.objectService.getObject(k,n.qy).pipe((0,g.$)(),(0,m.T)(Y=>F.normalizeChart(Y)))}getQueryResult(k,Y,x,B,j=""){const $="2020-12-31";let H=k.dataConfiguration?.axes?.groupBy;const ie=k.dataConfiguration.axes.xAxis;let ne=k.dataConfiguration.axes.xAxis;switch(H){case n.te.YEAR:ne=`FORMAT_DATETIME(${ne}, "Y", FIELD("app/type/locale:timezone", "app/locale"))`;break;case n.te.MONTH:ne=`TO_DATE(CONCAT("2000-", MONTH(FORMAT_DATETIME(${ne}, "d M Y", FIELD("app/type/locale:timezone", "app/locale"))), "-01"))`;break;case n.te.DATE:ne=`FORMAT_DATETIME(${ne}, "d M Y", FIELD("app/type/locale:timezone", "app/locale"))`;break;case n.te.DAY_OF_THE_WEEK:ne=`CONCAT("2019-02-1", DAY_OF_WEEK(${ne}))`;break;case n.te.MONTH_PER_YEAR:ne=`TO_DATE(CONCAT(YEAR(${ne}), "-", MONTH(${ne}), "-01"))`;break;case n.te.QUARTER_PER_YEAR:const Le=`FORMAT_DATETIME(${ne}, "d M Y", FIELD("app/type/locale:timezone", "app/locale"))`;ne=`CONCAT(FIN_YEAR(${Le},TO_DATE("${$}")),"-",CONCAT("0",FIN_QUARTER(${Le},TO_DATE("${$}"))))`;break;case n.te.FISCAL_YEAR:ne=`FIN_YEAR(FORMAT_DATETIME(${ne}, "d M Y", FIELD("app/type/locale:timezone", "app/locale")),TO_DATE("2020-${j}"))`;break;case n.te.QUARTER_PER_FISCAL_YEAR:const Oe=`FORMAT_DATETIME(${ne}, "d M Y", FIELD("app/type/locale:timezone", "app/locale"))`;ne=`CONCAT(FIN_YEAR(${Oe},TO_DATE("2020-${j}")),"-",CONCAT("0",FIN_QUARTER(${Oe},TO_DATE("2020-${j}"))))`;break;case n.te.MONTH_PER_FISCAL_YEAR:const Xe=`FORMAT_DATETIME(${ne}, "d M Y", FIELD("app/type/locale:timezone", "app/locale"))`;ne=`TO_DATE(CONCAT(FIN_YEAR(${Xe},TO_DATE("2020-${j}")), "-", MONTH(${Xe}), "-01"))`}const Q={label:ie,formula:ne},le=k.dataConfiguration.axes.yAxisMetric,pe=k.dataConfiguration.axes.yAxisDataType,te=k.dataConfiguration.axes.yAxis;let ae=k.dataConfiguration.axes.yAxis;const K=[{...Q,sortby:k.sortingOptions?k.sortingOptions.map(be=>be.formula):[],sortdir:k.sortingOptions?k.sortingOptions.map(be=>be.sortDirection):[]}];switch(le){case n.gO.AVERAGE:ae=`AVG(${ae})`;break;case n.gO.COUNT:ae=`COUNT(${ae})`;break;case n.gO.SUM:ae=`MULTIPLY(AVG(${ae}), COUNT(${ae}))`;break;case n.gO.STANDARD_DEVIATION:ae=`POW(SUB(AVG(POW(${ae}, 2)), POW(AVG(${ae}), 2)), 0.5)`;break;case n.gO.CUMULATIVE_SUM:ae=pe===I.HT.number?`MULTIPLY(AVG(${ae}), COUNT(${ae}))`:`COUNT(${ae})`;break;default:(0,b._)(ae)||(K[0].label=a.b[0].label,K[0].formula=a.b[0].formula)}const de={label:te,formula:ae},Me=k.dataConfiguration.axes.series;Me&&K.unshift({label:Me,formula:Me});const me=[Q,de];return this.filterInputService.convertFilterInputsToVars(Y,x,B).pipe((0,T.n)(be=>this.queryService.execute(k.queryTip,{vars:be,extraAttributes:me,dimensionOptions:K})))}sortFiscalYearPoints(k,Y){const x=Object.keys(k);let B=[];const j=[];return x.forEach($=>{let H=(0,L.cloneDeep)(Y),ie=k[$];for(;H<=12;){const ne=ie?.findIndex(Q=>Q?.month===H);if(-1!=ne){ie=0===ne?ie?.concat(ie.splice(0,1)):ie?.concat(ie.splice(0,ne));break}H++}B=[...B,...ie]}),B?.forEach($=>{const H=(0,L.get)(Object.keys($),"0");j.push(H),delete $?.month}),{newSetsOfDate:B,labels:j}}newDataSource(){return{title:"",dataConfiguration:{axes:{}},seriesStyle:{}}}updateChart(k,Y){return this.objectService.setObject(k,n.qy).pipe((0,m.T)(()=>!0),(0,O.W)(()=>this.modulePackageService.handleError("update chart",Y)))}createChart(k,Y,x){const B={$type:"app/chart",title:k,configuration:{responsive:!0,maintainAspectRatio:!1,title:{display:!0,text:[k,Y]}}};return this.moduleService.getModulePolicy(x,y.b.INSTANCE).pipe((0,g.$)(),(0,T.n)(j=>this.objectService.setObject(B,n.qy,E.Ay.BRANCH_MASTER,j||"app/security-policy/instance-user-admin").pipe((0,g.$)())),(0,T.n)(j=>{const $=j[j.length-1].tip;return this.moduleService.addTipToFlatModuleField({moduleTip:x,moduleField:"charts",tip:$}).pipe((0,D.u)($))}),(0,O.W)(()=>this.modulePackageService.handleError("save chart",x)))}checkGroupBy(k){return[n.te.MONTH_PER_FISCAL_YEAR,n.te.FISCAL_YEAR,n.te.QUARTER_PER_FISCAL_YEAR,n.te.QUARTER_PER_YEAR].includes(k)}static#e=this.\u0275fac=function(Y){return new(Y||F)(C.KVO(a.c),C.KVO(w.T),C.KVO(y.A),C.KVO(M.O),C.KVO(q.G))};static#t=this.\u0275prov=C.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},40438:(at,N,s)=>{"use strict";s.d(N,{Q:()=>le});var n=s(43606),a=s(67376),g=s(97586),m=s.n(g),T=s(18359),O=s(84412),D=s(84572),E=s(7673),y=s(25558),I=s(96354),b=s(42190),L=s(76194),o=s(52596),C=s(72874),w=s(92597),M=s(69172),q=s(39263),z=s(25793),F=s(93953);let U=(()=>{class te{constructor(K,de){this.elementRef=K,this.ngZone=de,this.clickCanvas=new F.bkB,this.clickDataset=new F.bkB,this.clickElements=new F.bkB,this.clickElement=new F.bkB}ngOnInit(){this.create()}ngOnChanges(K){if(this.chart)if(K.type||K.options)this.create();else if(K.data){const de=K.data.currentValue;["datasets","labels","xLabels","yLabels"].forEach(Me=>{this.chart.data[Me]=de[Me]}),this.chart.update()}}create(){this.ngZone.runOutsideAngular(()=>{this.canvas&&this.elementRef.nativeElement.removeChild(this.canvas),this.canvas=document.createElement("canvas"),this.elementRef.nativeElement.appendChild(this.canvas),this.chart=new Chart(this.canvas,{type:this.type,data:this.data,options:this.options}),this.canvas.onclick=K=>{this.ngZone.run(()=>{this.clickCanvas.next(K),this.clickDataset.observers.length&&this.clickDataset.next(this.chart.getDatasetAtEvent(K)),this.clickElements.observers.length&&this.clickElements.next(this.chart.getElementsAtEvent(K)),this.clickElement.observers.length&&this.clickElement.next(this.chart.getElementAtEvent(K))})}})}static#e=this.\u0275fac=function(de){return new(de||te)(F.rXU(F.aKT),F.rXU(F.SKi))};static#t=this.\u0275cmp=F.VBU({type:te,selectors:[["angular2-chartjs"]],inputs:{type:"type",data:"data",options:"options"},outputs:{clickCanvas:"clickCanvas",clickDataset:"clickDataset",clickElements:"clickElements",clickElement:"clickElement"},features:[F.OA$],decls:0,vars:0,template:function(de,Me){},styles:["[_nghost-%COMP%]{display:block}"]})}return te})();var k=s(76277),Y=s(24881),x=s(97206),B=s(54071),j=s(44667),$=s(58846),H=s(60177),ie=s(44225),ne=s(70723);function Q(te,ae){if(1&te&&F.nrm(0,"app-empty-state",3),2&te){const K=F.XpG();F.Y8G("size",K.emptyStateIconSize)}}let le=(()=>{class te{constructor(K,de,Me,me,be,Le,Ae){this.chartDesignerService=K,this.getFormulaDatatypeService=de,this.displayFormulaWrapperService=Me,this.numberFormatService=me,this.objectService=be,this.chartService=Le,this.cdr=Ae,this.emptyStateIconSize="sm",this.data={},this.dataSources=[],this.loadingState=M.Gu.inProgress,this.loadingStates=M.Gu,this.chartType="bar",this.chartYAxisMinMax=(0,a.cloneDeep)(b.bt),this.Chart=n,this.itemsWithColorCode=[],this.seperateListResults=[],this.datasetChartTypes=[],this.groupByFYMonthLabels=[],this.groupByFYMonthResult=[],this.chartColors=["rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(54, 162, 235)","rgb(153, 102, 255)","rgb(201, 203, 207)","rgb(255, 179, 186)","rgb(225, 203, 156)","rgb(225, 225, 156)","rgb(156, 235, 171)","rgb(186, 225, 255)","rgb(201, 201, 255)","rgb(102, 187, 238)"],this.defaultScalesConfiguration={xAxes:[{id:"X1",type:"linear",stacked:!1}],yAxes:[{id:"Y1",type:"linear"},{id:"Y2",type:"linear",position:"right"}]},this.subs=new T.yU,this.onChanges=new O.t(null),this.generateLegendLabels=Oe=>Oe.data.datasets.length?Oe.data.datasets.map((Xe,Pe)=>{const{label:$e,backgroundColor:ze,borderColor:Be,borderWidth:Ye}=Xe,Ct=Oe.getDatasetMeta(Pe),Lt=Ct&&Ct.data[0],Vt=Lt&&Lt.custom||{},ht=Oe.options.elements.metaData||{},gt=Vt.backgroundColor?Vt.backgroundColor:n.helpers.getValueAtIndexOrDefault(ze,Pe,ht.backgroundColor),Ge=Vt.borderColor?Vt.borderColor:n.helpers.getValueAtIndexOrDefault(Be,Pe,ht.borderColor),Se=Vt.borderWidth?Vt.borderWidth:n.helpers.getValueAtIndexOrDefault(Ye,Pe,ht.borderWidth);return{text:pe($e),hidden:Ct?.hidden,fillStyle:gt,strokeStyle:Ge,lineWidth:Se,index:Pe,datasetIndex:Pe}}):[],this.generatePieLabels=Oe=>{if(Oe.data.labels.length&&Oe.data.datasets.length){const Xe=Oe.data.datasets[0],Pe=Oe.getDatasetMeta(0),ze=this.chart.dataSource;let Be;if(ze&&ze.length&&"time"===this.chartObjectScales.xAxes[0].type){const Ye=ze[0].dataConfiguration.axes;Ye.groupBy||(Ye.groupBy=b.te.NO_GROUPING),Be=this.datetimeGroupByXAxisSettings[Ye.groupBy][Ye.xAxisDataType].time.tooltipFormat}return Oe.data.labels.map((Ye,Ct)=>{Be&&(Ye=m()(Ye).format(Be));const Lt=Pe.data[Ct],Vt=Lt&&Lt.custom||{},ht=Oe.config.data.datasets.map(Ne=>Ne.data[Lt._index]).filter(Boolean).map((Ne,Je)=>this.formatYAxisValue(Ne,Je)).join(", "),gt=Oe.options.elements.metaData||{},Ge=Vt.backgroundColor?Vt.backgroundColor:n.helpers.getValueAtIndexOrDefault(Xe.backgroundColor,Ct,gt.backgroundColor),Se=Vt.borderColor?Vt.borderColor:n.helpers.getValueAtIndexOrDefault(Xe.borderColor,Ct,gt.borderColor),ke=Vt.borderWidth?Vt.borderWidth:n.helpers.getValueAtIndexOrDefault(Xe.borderWidth,Ct,gt.borderWidth);return{text:`${pe(Ye)}: ${ht}`,fillStyle:Ge,strokeStyle:Se,lineWidth:ke,hidden:Pe.data[Ct].hidden,index:Ct}})}return[]},"object"==typeof window&&(window.Chart.defaults.global.defaultFontFamily="Lato, Arial, sans-serif")}get datetimeGroupByXAxisSettings(){const K=(0,a.cloneDeep)(b.CZ);return K[b.te.DATE][L.HT.date].distribution="linear",K[b.te.DATE][L.HT.date].ticks.source="auto",K[b.te.DATE][L.HT.datetime].distribution="linear",K[b.te.DATE][L.HT.datetime].ticks.source="auto",K}get chartScales(){return this.chart.configuration.scales||(this.chart.configuration.scales={}),(0,a.defaultsDeep)(this.chart.configuration.scales,this.defaultScalesConfiguration),this.chart.configuration.scales}get chartObjectScales(){return this.chartObject.config.options.scales||(this.chartObject.config.options.scales={}),(0,a.defaultsDeep)(this.chartObject.config.options.scales,this.defaultScalesConfiguration),this.chartObject.config.options.scales}get chartObject(){return this.chartJSComponent?this.chartJSComponent.chart:null}ngAfterViewInit(){this.onChanges.subscribe(()=>{this.chart&&(this.subs&&this.subs.unsubscribe(),this.checkAndPatchScaleId(),this.update(),this.reRender&&this.reloadChart(),(0,a.isEmpty)((0,a.get)(this.chart,"dataSource"))&&(this.loadingState=M.Gu.empty))})}ngOnChanges(K){this.reRender=this.shouldReRender(K),this.onChanges.next(null)}ngOnDestroy(){this.chartObject?.destroy(),this.onChanges?.unsubscribe(),this.subs?.unsubscribe()}update(){this.clear();const K=[],de=[this.getQueryResults()];this.chartService.getChartListColorFlag&&(this.chart.dataSource.forEach(Me=>{(0,a.isEmpty)(this.chart.dataSource[0].dataConfiguration.axes.series)||(0,a.isEmpty)((0,a.get)((0,w.iX)(Me.dataConfiguration.axes.series),"args[1]['args'][0].args[0]"))?(0,a.isEmpty)(this.chart.dataSource[0].dataConfiguration.axes.xAxis)||(0,a.isEmpty)((0,a.get)((0,w.iX)(Me.dataConfiguration.axes.xAxis),"args[1]['args'][0].args[0]"))?!(0,a.isEmpty)(this.chart.dataSource[0].dataConfiguration.axes.yAxis)&&!(0,a.isEmpty)((0,a.get)((0,w.iX)(Me.dataConfiguration.axes.yAxis),"args[1]['args'][0].args[0]"))&&K.push((0,a.get)((0,w.iX)(Me.dataConfiguration.axes.yAxis),"args[1]['args'][0].args[0]")):K.push((0,a.get)((0,w.iX)(Me.dataConfiguration.axes.xAxis),"args[1]['args'][0].args[0]")):K.push((0,a.get)((0,w.iX)(Me.dataConfiguration.axes.series),"args[1]['args'][0].args[0]"))}),K?.length&&de.push(this.objectService.getObjects(K,o.c))),this.subs=(0,D.z)(de).pipe((0,y.n)(([Me,me])=>{if(!(0,a.isEmpty)(me)&&this.chartService.getChartListColorFlag){const be=me.map(Le=>(0,a.get)((0,w.iX)(Le?.whitelist),"args[1]"));return this.objectService.getObjects(be,o.c).pipe((0,I.T)(Le=>({results:Me,listItem:Le})))}return(0,E.of)({results:Me,listItem:null})})).subscribe({next:({results:Me,listItem:me})=>{this.loadingState=M.Gu.inProgress,this.seperateListResults=Me,this.itemsWithColorCode=me?(0,a.flatten)(me.map(be=>this.flattenNestedListItems(be?.items))):null,this.itemsWithColorCode?.forEach(be=>{be.color||(be.color=this.chartColors[Math.floor(Math.random()*this.chartColors.length)])}),this.updateChartData(Me)?(this.updateChart(),this.chartObject.resize(),this.loadingState=M.Gu.loaded):this.loadingState=M.Gu.empty,this.cdr.detectChanges()},error:()=>{this.loadingState=M.Gu.failed,this.cdr.detectChanges()}})}flattenNestedListItems(K){let de=[];return K?.forEach(Me=>{de.push(Me),Me?.items&&Array.isArray(Me?.items)&&de.push(...this.flattenNestedListItems(Me?.items))}),de}redrawChart(){this.clear(),this.reloadChart()}updateChart(){const K=this.getBaseChartType();this.chartObject.data.labels=this.data.labels,this.chartObject.data.datasets=this.data.datasets,this.chartObject.config.type=this.chartType,this.setupZoomOptions(),this.setupAxesOptions(K);let de=!1;(this.chartScales.xAxes[0].type!==this.chartObjectScales.xAxes[0].type||this.chartScales.yAxes[0].type!==this.chartObjectScales.yAxes[0].type||this.chartObjectScales.yAxes[1]&&this.chartScales.yAxes[1].type!==this.chartObjectScales.yAxes[1].type)&&(de=!0),this.chartObject.config.options.zoom||(this.chartObject.config.options.zoom={enabled:!1});const Me=this.chartObject.config.options.zoom.enabled!==this.chart.configuration.zoom.enabled;if((0,a.merge)(this.chartObject.config.options,this.chart.configuration||{}),this.updateChartTitle(),this.setTickFormatting(),Me&&!this.chart.configuration.zoom.enabled&&"function"==typeof this.chartObject.resetZoom)try{this.chartObject.resetZoom(),this.chartObject.update()}catch{}this.configureChartLegend(K),this.generateTooltip();const me=(0,a.get)(this.dataSources[0],"dataConfiguration.axes.groupBy",b.te.NO_GROUPING);me===b.te.MONTH_PER_FISCAL_YEAR&&"time"===(0,a.get)(this.chartObject.config.options.scales.xAxes[0],"type")&&delete this.chartObject.config.options.scales.xAxes[0].type,me===b.te.MONTH_PER_FISCAL_YEAR&&"time"===(0,a.get)(this.chartObject.config.options.scales.yAxes[0],"type")&&delete this.chartObject.config.options.scales.yAxes[0].type,K!==this.chartType||de||Me?(this.chartType=K,this.reloadChart()):this.chartObject.update()}clear(){this.data={labels:[],datasets:[]},this.dataSources=[],this.chartObject&&this.chartObject.update()}shouldReRender(K){for(const de in K)if(!K[de].isFirstChange())return!0;return!1}checkAndPatchScaleId(){const K=(0,a.get)(this.chart,"configuration.scales",null);if(K){const Me=K.yAxes;(K.xAxes||[]).forEach((me,be)=>{me.id||(me.id=`X${be+1}`)}),(Me||[]).forEach((me,be)=>{me.id||(me.id=`Y${be+1}`)})}}updateChartData(K){this.data.datasets=[],this.dataSources=[],this.datasetChartTypes=[];let de=[],Me=0;if(this.chartYAxisMinMax=(0,a.cloneDeep)(b.bt),K.forEach(({queryResult:me,dataSource:be})=>{let Le=me.results;me.dimensions.forEach(()=>{Le=(0,a.flatMapDeep)(Le,Pe=>Object.values(Pe))});const[Ae,Oe]=(0,a.unzip)(Le.map(Pe=>[Pe[be.dataConfiguration.axes.xAxis]?.replaceAll("\\,",","),Pe[be.dataConfiguration.axes.yAxis]]));if(de=(0,a.union)(de,Ae),(0,a.isEmpty)(Oe))return void Me++;const Xe=Oe.map(parseFloat).filter(Pe=>!Number.isNaN(Pe));"Y1"===be.dataConfiguration.axes.axisLocation?(this.chartYAxisMinMax[0].suggestedMin=Math.min(this.chartYAxisMinMax[0].suggestedMin,...Xe),this.chartYAxisMinMax[0].suggestedMax=Math.max(this.chartYAxisMinMax[0].suggestedMax,...Xe)):(this.chartYAxisMinMax[1].suggestedMin=Math.min(this.chartYAxisMinMax[1].suggestedMin,...Xe),this.chartYAxisMinMax[1].suggestedMax=Math.max(this.chartYAxisMinMax[1].suggestedMax,...Xe))}),Me===K.length)return!1;if(K[0].dataSource.dataConfiguration.axes.xAxisDataType===L.HT.datetime||K[0].dataSource.dataConfiguration.axes.xAxisDataType===L.HT.date){const me=K[0]?.dataSource?.dataConfiguration?.axes?.groupBy;me!==b.te.MONTH_PER_FISCAL_YEAR&&(de=de.sort((be,Le)=>m()(be)?.isBefore(m()(Le))?-1:m()(Le)?.isBefore(m()(be))?1:0)),de=me===b.te.MONTH_PER_FISCAL_YEAR?this.groupByFYMonthLabels:de}return this.data.labels=de,this.chartYAxisMinMax.forEach(me=>["suggestedMin","suggestedMax"].forEach(be=>me[be]*=1.1)),K.forEach(({queryResult:me,dataSource:be})=>{1===me.dimensions.length?this.extractDimensionData(me.results,be,de):me.dimensions[0].values.forEach((Ae,Oe)=>this.extractDimensionData(me.results[Oe][Ae],be,de,Ae))}),!0}extractDimensionData(K,de,Me,me){const be=de.dataConfiguration.axes,Le=be?.groupBy===b.te.MONTH_PER_FISCAL_YEAR?this.groupByFYMonthResult:K,Ae=Le.reduce((ze,Be)=>ze.concat(Object.keys(Be)),[]),Oe=b.O6[de.chartType];this.datasetChartTypes.push(Oe.datasetOptions.type);const Xe=n.helpers.color(this.chartColors[this.data.datasets.length%this.chartColors.length]),Pe={label:me||de.title,data:this.getChartDataForType(Ae,Le,de,Me),backgroundColor:Xe.alpha(.7).rgbString(),borderColor:Xe.rgbString(),yAxisID:be.axisLocation||"Y1"};"horizontalBar"!==Oe.datasetOptions.type&&(0,a.merge)(Pe,Oe.datasetOptions||{});const $e=de.seriesStyle;if($e&&$e.seriesDashStyle&&(Pe.borderDash=b.u$[$e.seriesDashStyle],Pe.borderCapStyle="round"),$e&&$e.pointMarkerSymbol&&$e.pointMarkerSymbol!==b.Ir.AUTO&&(Pe.pointStyle=b.EY[$e.pointMarkerSymbol],Pe.pointRadius=8),this.itemsWithColorCode?.length&&this.chartService.getChartListColorFlag){let ze=!1;const Be=[];this.seperateListResults[0].queryResult.results.forEach((Ye,Ct)=>{const Lt=Object.keys(this.seperateListResults[0].queryResult.results[Ct]);Lt[0]&&Lt[0].split(",").length>1?ze=!0:Be.push(Lt[0])}),ze?["pie","doughnut"].includes(Oe.datasetOptions.type)?(delete Pe?.borderColor,Pe.backgroundColor=this.seperateListResults[0].queryResult.results.map((Ye,Ct)=>Be?.length&&(0,a.find)(Be,Lt=>Lt===Object.keys(Ye)[0])?(0,a.find)(this.itemsWithColorCode,Lt=>(0,z.YN)(Lt.label)===Object.keys(Ye)[0])?.color:n.helpers.color(this.chartColors[Ct%this.chartColors.length]).alpha(.7).rgbString().toString()),(0,a.merge)(Pe,Oe.datasetOptions||{})):Pe.backgroundColor=-1!==this.itemsWithColorCode.findIndex(Ye=>(0,z.YN)(Ye.label)===Pe.label)?(0,a.find)(this.itemsWithColorCode,Ye=>(0,z.YN)(Ye.label)===Pe.label).color:n.helpers.color(this.chartColors[Math.floor(Math.random()*this.chartColors.length)]).alpha(.7).rgbString().toString():Pe.backgroundColor=Me.map((Ye,Ct)=>{if(Ye?.split(",").length>1)return delete Pe?.borderColor,Me.map(()=>n.helpers.color(this.chartColors[Math.floor(Math.random()*this.chartColors.length)]).alpha(.7).rgbString().toString());{delete Pe?.borderColor;const Lt=(0,a.find)(this.itemsWithColorCode,Vt=>(0,z.YN)(Vt.label)===Ye?.split(",")[0]);if(Lt)return Lt.color;if(void 0===(0,a.find)(this.itemsWithColorCode,Vt=>(0,z.YN)(Vt.label)===Ye?.split(",")[0])&&this.itemsWithColorCode?.find(Vt=>(0,z.YN)(Vt.label)===Pe.label)?.color)return this.itemsWithColorCode?.find(Vt=>(0,z.YN)(Vt.label)===Pe.label)?.color}})}else["pie","doughnut"].includes(Oe.datasetOptions.type)&&(delete Pe?.borderColor,Pe.backgroundColor=Me.map((ze,Be)=>n.helpers.color(this.chartColors[Be%this.chartColors.length]).alpha(.7).rgbString().toString()),(0,a.merge)(Pe,Oe.datasetOptions||{}));this.data.datasets.push(Pe),this.dataSources.push(de)}getQueryResults(){return this.objectService.getObject("app/locale",C.m).pipe((0,y.n)(K=>{const de=(0,a.get)(K,"fiscalYearEndDate","");return(0,D.z)(this.chart.dataSource.map(Me=>(0,D.z)([this.chartDesignerService.getQueryResult(Me,this.filterInputs,this.contextTip,this.queryParams,de),this.getFormulaDatatypeService.getFormulaDataType(this.displayFormulaWrapperService.removeDisplayFormulaWrapper(Me.dataConfiguration.axes.xAxis),Me.objectTypeTip),this.getFormulaDatatypeService.getFormulaDataType(this.displayFormulaWrapperService.removeDisplayFormulaWrapper(Me.dataConfiguration.axes.yAxis),Me.objectTypeTip),this.numberFormatService.getNumberFormatMap()]).pipe((0,I.T)(([me,be,Le,Ae])=>(Me.dataConfiguration.axes.xAxisDataType=L.HT[be.datatype],Me.dataConfiguration.axes.yAxisDataType=L.HT[Le.datatype],Le.datatype===L.HT.number&&(Me.dataConfiguration.axes.yAxisNumberFormat=Ae.get(Le.numberFormatTip)),me)),(0,I.T)(me=>{const be=me?.results?.filter(Le=>"-0"!==(0,a.get)(Object.keys(Le),"0"));return(0,a.set)(me,"results",be)}),(0,I.T)(me=>(Me?.dataConfiguration?.axes?.groupBy===b.te.MONTH_PER_FISCAL_YEAR&&!(0,a.isEmpty)(de)&&!(0,a.isEmpty)(me?.results)&&this.generateResultsForGroupByFYMonth(me,de),{queryResult:me,dataSource:Me})))))}))}generateResultsForGroupByFYMonth(K,de){const Me="2020-"+de,me=m()(Me).add(1,"days").month()+1,be={};this.groupByFYMonthResult=(0,a.cloneDeep)((0,a.get)(K,"results",[])),K?.results.sort((Oe,Xe)=>{const Pe=(0,a.get)(Object.keys(Oe),"0"),$e=(0,a.get)(Object.keys(Xe),"0");return m()(Pe)?.isBefore(m()($e))?-1:m()($e)?.isBefore(m()(Pe))?1:0}),K?.results?.forEach(Oe=>{const Xe=Object.keys(Oe);if(1===Xe.length){const[Pe,$e]=[m()(Xe[0]).year(),m()(Xe[0]).month()+1];be[Pe]||(be[Pe]=[]),be[Pe].push({[Xe[0]]:Oe[Xe[0]],month:$e})}});const{newSetsOfDate:Le,labels:Ae}=this.chartDesignerService.sortFiscalYearPoints(be,me);(0,a.set)(K,"results",Le),this.groupByFYMonthLabels=Ae}updateChartTitle(){this.chartObject.config.options.title.text&&"string"!=typeof this.chartObject.config.options.title.text&&(this.chartObject.config.options.title.text[1]?this.chartObject.config.options.title.text=this.chartObject.config.options.title.text[1]:this.chartObject.config.options.title.display=!1)}generateTooltipBody(K,de){const Me=(0,a.get)(de,`datasets[${K.datasetIndex}].label`,""),me=(0,a.get)(de,`datasets[${K.datasetIndex}].data[${K.index}]`,"");let Le=`${Me}: ${this.formatYAxisValue(me,K.datasetIndex)}`;const Ae=[];for(;Le.length>0;){const Oe=Le.split(" ",10).join(" ");Ae.push(Oe),Le=Le.replace(Oe,"").trim()}return Ae}generateTooltip(){this.chartObject.config.options.tooltips={callbacks:{title:([K],de)=>{let Me=(0,a.get)(de,`labels[${K.index}]`,"");const me=this.dataSources[K.datasetIndex];if(me){const be=me.dataConfiguration.axes.groupBy;if(be!==b.te.NO_GROUPING)if(this.chartDesignerService.checkGroupBy(be)){const Le=be===b.te.MONTH_PER_FISCAL_YEAR?(0,a.get)(Object.keys(this.groupByFYMonthResult[K.index]),"0"):K?.label;Me=this.generateLabelsBasedOfGroupBy(Le,be)}else Me=K.label}return Me},label:(K,de)=>this.generateTooltipBody(K,de)[0],afterBody:([K],de)=>{const Me=this.generateTooltipBody(K,de);return Me.shift(),Me.join("\n")}}}}configureChartLegend(K){const de=["pie","doughnut"].includes(K),Me=this.chart.configuration.legend;(de||Me)&&(this.chartObject.config.options.legend={display:!0,position:Me?.position||"bottom",labels:{generateLabels:de?this.generatePieLabels:this.generateLegendLabels}})}formatYAxisValue(K,de){const Me=(0,a.isInteger)(de)&&this.dataSources[de]?this.dataSources[de]:this.dataSources.filter(Le=>!!(0,a.get)(Le,"dataConfiguration.axes.yAxisNumberFormat",null))[0],me=(0,a.get)(Me,"dataConfiguration.axes.yAxisNumberFormat",null),be=K.hasOwnProperty("y")?K.y:K;return Me?((be||be+""=="0")&&me?(0,q.ZV)(be,me):be)+"":be+""}setupAxesOptions(K){const de=(0,a.get)(this.chartScales,"xAxes[0]"),Me=(0,a.get)(this.chartScales,"yAxes[0]"),me=(0,a.get)(this.chartScales,"yAxes[1]");de.type=this.getCompatibleXAxisType(K,de.type||"linear");const be=this.chart.dataSource;if(be&&be.length&&"time"===de.type){const Ae=be[0].dataConfiguration.axes;Ae.groupBy||(Ae.groupBy=b.te.NO_GROUPING),(0,a.merge)(de,this.datetimeGroupByXAxisSettings[Ae.groupBy][Ae.xAxisDataType])}Me.type=this.getCompatibleYAxisType(K,Me?.type||"linear","Y1"),Me.ticks={beginAtZero:!0,...this.chartYAxisMinMax[0]},me.type=this.getCompatibleYAxisType(K,me.type||"linear","Y2"),me.ticks={beginAtZero:!0,...this.chartYAxisMinMax[1]},["pie","doughnut"].includes(K)?(de.display=!1,Me.display=!1,me.display=!1):(de.display=!0,this.data.datasets&&(me.display=!!this.data.datasets.some(Ae=>"Y2"===Ae.yAxisID),Me.display=!me.display||this.data.datasets.some(Ae=>"Y1"===Ae.yAxisID)));const Le=this.dataSources.some(Ae=>Ae.chartType===b.oR.STACKED_COLUMN);this.dataSources.forEach(Ae=>{switch(Ae.dataConfiguration.axes.axisLocation){case"Y1":Me.stacked=Le;break;case"Y2":me.stacked=Le}}),de.stacked=Le}setupZoomOptions(){if(this.chart.configuration.zoom&&this.chart.configuration.zoom.enabled){const de={enabled:!0,mode:"xy"};this.chart.configuration.zoom={enabled:!0,drag:!1,mode:"x"},this.chart.configuration.pan=de}else this.chart.configuration.zoom={enabled:!1},this.chart.configuration.pan={enabled:!1}}setTickFormatting(){const K=this.chartObjectScales.xAxes[0],de=this.chartObjectScales.yAxes[0],Me=this.chartObjectScales.yAxes[1];this.setAxeTickCallbacks(K),[de,Me].forEach((me,be)=>{const Le=this.getDataSourceCorrespondingToYAxis(me.id);this.setAxeTickCallbacks(me,Le>-1?Le:be)}),(0,a.merge)(K,{ticks:{callback:(me,be)=>{if((0,a.isEmpty)(me))return;const Le=(0,a.get)(this.dataSources[0],"dataConfiguration.axes.groupBy",b.te.NO_GROUPING);this.chartDesignerService.checkGroupBy(Le)&&(me=this.generateLabelsBasedOfGroupBy(this.data.labels[be],Le));const Ae=String(me).substr(0,20);return me.length>20?`${Ae}...`:Ae}}})}generateLabelsBasedOfGroupBy(K,de){if(de===b.te.QUARTER_PER_YEAR){const Me=K?.split("-");let me="",be="";if(Me?.length>0){const Ae=(0,a.get)(Me,"1","");me=(0,a.get)(Ae?.split(""),"1",""),be=(0,a.get)(Me,"0","")}return`Q${me} ${be}`}if(de===b.te.FISCAL_YEAR){const Me=K?.split("");let me="",be="";return Me?.length>0&&(me=(0,a.get)(Me,"2",""),be=(0,a.get)(Me,"3","")),`FY${me}${be}`}if(de===b.te.QUARTER_PER_FISCAL_YEAR){const Me=K?.split("-");let me="",be="",Le="";if(Me?.length>0){const Oe=(0,a.get)(Me,"1","");me=(0,a.get)(Oe?.split(""),"1","");const Xe=(0,a.get)(Me,"0","")?.split("");be=(0,a.get)(Xe,"2",""),Le=(0,a.get)(Xe,"3","")}return`Q${me} FY${be}${Le}`}if(de===b.te.MONTH_PER_FISCAL_YEAR){let Me;(Xe=Me||(Me={}))["001"]="JAN",Xe["002"]="FEB",Xe["003"]="MAR",Xe["004"]="APR",Xe["005"]="MAY",Xe["006"]="JUN",Xe["007"]="JUL",Xe["008"]="AUG",Xe["009"]="SEP",Xe["010"]="OCT",Xe["011"]="NOV",Xe["012"]="DEC";const me=K?.split("-");let be="",Le="",Ae="";if(me?.length>0){be=Me[`0${(0,a.get)(me,"1")}`];const Xe=(0,a.get)(me,"0","")?.split("");Le=(0,a.get)(Xe,"2",""),Ae=(0,a.get)(Xe,"3","")}return`${be} FY${Le}${Ae}`}var Xe;return K}getDataSourceCorrespondingToYAxis(K){return this.dataSources?this.dataSources.findIndex(de=>(0,a.get)(de,"dataConfiguration.axes.axisLocation")===K):-1}setAxeTickCallbacks(K,de){["time","category"].includes(K.type)?K.ticks&&K.ticks.callback&&delete K.ticks.callback:(0,a.merge)(K,{ticks:{callback:Me=>this.formatYAxisValue(Math.round(100*Me)/100,de)}})}getCompatibleXAxisType(K,de){const Me=this.chart.dataSource;return Me&&Me.length&&Me.every(me=>me.dataConfiguration.axes.xAxisDataType===L.HT.datetime||me.dataConfiguration.axes.xAxisDataType===L.HT.date)?"time":(de="time"===de?this.defaultScalesConfiguration.xAxes[0].type:de,["line","scatter","bubble"].includes(K)?de:["pie","doughnut"].includes(K)||["bar","horizontalBar"].includes(K)&&["linear","logarithmic"].includes(de)?"category":de)}getCompatibleYAxisType(K,de,Me){if("horizontalBar"===K)return["linear","logarithmic"].includes(de)?"category":de;if("time"===de){const me=this.chart.dataSource.filter(be=>be.dataConfiguration.axes.axisLocation===Me);if(!me.length||!me.every(be=>be.dataConfiguration.axes.yAxisDataType===L.HT.datetime||be.dataConfiguration.axes.yAxisDataType===L.HT.date))return"linear"}return de}reloadChart(){if(this.chartObject){const K=Object.keys(b.O6).find(me=>b.O6[me].datasetOptions.type===this.chartType);b.O6[K].options&&(0,a.merge)(this.chartObject.config.options,b.O6[K].options||{});const de=(0,a.cloneDeep)(this.chartObject.data),Me=(0,a.cloneDeep)(this.chartObject.config);this.chartObject.destroy(),this.chartJSComponent.type=this.chartType,this.chartJSComponent.data=de,this.chartJSComponent.options=Me.options,this.chartJSComponent.ngOnInit()}}getChartDataForType(K,de,Me,me){const be=this.getChartPointData(K,de,Me);if(["pie","doughnut","horizontalBar","bar"].includes(b.O6[Me.chartType].datasetOptions.type)){const Le=(0,a.fill)(me.slice(0),void 0);return be.forEach(Ae=>{const Oe=me.indexOf(Ae.x);Oe>-1&&(Le[Oe]=parseFloat(Ae.y.toString()))}),Le}return be}getChartPointData(K,de,Me){const me=Me.dataConfiguration.axes;let be=de.map((Le,Ae)=>({x:Le[K[Ae]][me.xAxis]?.replaceAll("\\,",","),y:parseFloat(Le[K[Ae]][me.yAxis])}));return(0,a.isEmpty)(Me.sortingOptions)&&(be=this.sortPointDataSeries(be,Me.dataConfiguration.axes.xAxisDataType)),be}sortPointDataSeries(K,de){return K&&K.length?de===L.HT.number?K.sort((Me,me)=>Me.x===me.x?0:parseFloat(Me.x)<parseFloat(me.x)?-1:1):de!==L.HT.datetime&&de!==L.HT.date||this.chart.dataSource[0]?.dataConfiguration?.axes?.groupBy==b.te.MONTH_PER_FISCAL_YEAR?K:K.sort((me,be)=>m()(me.x)?.isBefore(m()(be.x))?-1:m()(be.x)?.isBefore(m()(me.x))?1:0):K}getBaseChartType(){return this.datasetChartTypes&&this.datasetChartTypes.length?1===this.datasetChartTypes.length||this.datasetChartTypes.every(K=>K===this.datasetChartTypes[0])?this.datasetChartTypes[0]:this.datasetChartTypes.includes("pie")?"pie":this.datasetChartTypes.includes("doughnut")?"doughnut":this.datasetChartTypes.includes("bar")?"bar":"line":this.chartType}static#e=this.\u0275fac=function(de){return new(de||te)(F.rXU(k.r),F.rXU(Y.Kh),F.rXU(x.T),F.rXU(B.w),F.rXU(j.T),F.rXU($.u),F.rXU(F.gRc))};static#t=this.\u0275cmp=F.VBU({type:te,selectors:[["app-chart"]],viewQuery:function(de,Me){if(1&de&&F.GBs(U,7),2&de){let me;F.mGM(me=F.lsd())&&(Me.chartJSComponent=me.first)}},inputs:{chart:"chart",filterInputs:"filterInputs",contextTip:"contextTip",queryParams:"queryParams",emptyStateIconSize:"emptyStateIconSize"},features:[F.OA$],decls:3,vars:9,consts:()=>{let K;return K="No charts here",[["role","region",3,"type","data","options","appSpinner"],[1,"align-items-center","d-flex","h-100","justify-content-center"],["imgSrc","assets/img/empty-states/no-chart.svg","label",K,3,"size",4,"ngIf"],["imgSrc","assets/img/empty-states/no-chart.svg","label",K,3,"size"]]},template:function(de,Me){1&de&&(F.nrm(0,"angular2-chartjs",0),F.j41(1,"div",1),F.DNE(2,Q,1,1,"app-empty-state",2),F.k0s()),2&de&&(F.xc7("display",Me.loadingState===Me.loadingStates.empty?"none":"block"),F.Y8G("type",Me.chartType)("data",Me.data)("options",Me.Chart.defaults.global)("appSpinner",Me.loadingState===Me.loadingStates.inProgress),F.BMQ("data-test","chart-type:"+Me.chartType)("aria-label",Me.chartType+" chart"),F.R7$(2),F.Y8G("ngIf",Me.loadingState===Me.loadingStates.empty))},dependencies:[H.bT,ie.b,ne.o,U],styles:["angular2-chartjs[_ngcontent-%COMP%]{height:100%}"]})}return te})();function pe(te){if(!te&&void 0===te.length)return;const ae=String(te).substr(0,20);return te.length>20?`${ae}...`:ae}},58846:(at,N,s)=>{"use strict";s.d(N,{u:()=>E});var n=s(81104),a=s(25558),g=s(96354),m=s(7673),T=s(93953),O=s(44667),D=s(76087);let E=(()=>{class y{constructor(b,L){this.objectService=b,this.formulaService=L,this.useChartListColor=!1}get getChartListColorFlag(){return this.useChartListColor}fetchChartSettings(){this.formulaService.evaluate(`ENO_EXISTS("${n._n}")`).pipe((0,a.n)(b=>{const L="true"===b[0];return L?this.objectService.getObject(n._n,n._c).pipe((0,g.T)(o=>({isEnoExists:L,settings:o}))):(0,m.of)({isEnoExists:L,settings:{}})})).subscribe({next:({isEnoExists:b,settings:L})=>{b&&(this.useChartListColor=!!L.useListColorsForChart)},error:()=>{this.useChartListColor=!1}})}static#e=this.\u0275fac=function(L){return new(L||y)(T.KVO(O.T),T.KVO(D.C))};static#t=this.\u0275prov=T.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},60683:(at,N,s)=>{"use strict";s.d(N,{E:()=>g});var n=s(93953),a=s(89417);let g=(()=>{class m{constructor(){this.messageLabels=[],this.onChange=O=>{}}writeValue(O){this.messageLabels=O}registerOnChange(O){this.onChange=O}registerOnTouched(O){this.onTouched=O}setDisabledState(O){this.isDisabled=O}updateMessageLabels(O){this.messageLabels=O,this.onChange(O)}static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275cmp=n.VBU({type:m,selectors:[["app-system-message-labels-chooser"]],inputs:{messageLabels:"messageLabels",form:"form"},features:[n.Jv_([{provide:a.kq,useExisting:(0,n.Rfq)(()=>m),multi:!0}])],decls:1,vars:1,consts:[[3,"messageLabelsChanged","messageLabels"]],template:function(D,E){1&D&&(n.j41(0,"app-system-message-labels-configuration",0),n.bIt("messageLabelsChanged",function(I){return E.updateMessageLabels(I)}),n.k0s()),2&D&&n.Y8G("messageLabels",E.messageLabels)},changeDetection:0})}return m})()},14620:(at,N,s)=>{"use strict";s.d(N,{f:()=>a});var n=s(76194);const a={"section-header":{restrictEditingTo:["title","collapsible","defaultBehaviour"],fullWidth:!0},"text-content":{restrictEditingTo:["html"],fullWidth:!0},"chart-content":{restrictEditingTo:["chartConfig"],fullWidth:!0},"table-content":{restrictEditingTo:["tableConfig"],fullWidth:!0,fieldOrder:["templateOptions.tableConfig.title","templateOptions.tableConfig.objectTypeTip","templateOptions.tableConfig.queryMeta","templateOptions.tableConfig.queryTip","templateOptions.tableConfig.filterInputs","templateOptions.tableConfig.limit","templateOptions.printRefKey","conditionalFields.visibility","templateOptions.tableConfig.columns"]},"input-text":{limitContextOptionTypesTo:[n.HT.string]},"multi-line-text":{limitContextOptionTypesTo:[n.HT.string],fullWidth:!0},"rich-text":{restrictEditingTo:["label","contextTypeTip"],limitContextOptionTypesTo:[n.HT.html],fullWidth:!0},number:{limitContextOptionTypesTo:[n.HT.number,n.HT.decimal]},"date-time-date":{limitContextOptionTypesTo:[n.HT.date]},"date-time-datetime":{limitContextOptionTypesTo:[n.HT.datetime]},"list-items-select":{limitContextOptionTypesTo:[n.TV.list]},"object-chooser":{limitContextOptionTypesTo:[n.HT.object]},"sub-object-chooser":{limitContextOptionTypesTo:[n.TV.sub_object]},"phone-number-tel":{limitContextOptionTypesTo:[n.HT.phone]},"email-address-email":{limitContextOptionTypesTo:[n.HT.email]},"web-address-url":{limitContextOptionTypesTo:[n.HT.uri]},checkbox:{restrictEditingTo:["label","contextTypeTip"],limitContextOptionTypesTo:[n.HT.bool]},"file-upload":{restrictEditingTo:["label","contextTypeTip"],limitContextOptionTypesTo:[n.TV.file],fullWidth:!0},signature:{restrictEditingTo:["label","contextTypeTip"],limitContextOptionTypesTo:[n.TV.signature],fullWidth:!0},assignable:{limitContextOptionTypesTo:[n.TV.assignable],fullWidth:!0},"geo-chooser-point":{limitContextOptionTypesTo:[n.TV.point],fullWidth:!0},"geo-chooser-polyline":{limitContextOptionTypesTo:[n.TV.line],fullWidth:!0},"geo-chooser-polygon":{limitContextOptionTypesTo:[n.TV.polygon],fullWidth:!0},"address-chooser":{limitContextOptionTypesTo:[n.TV.address],fullWidth:!0}}},55577:(at,N,s)=>{"use strict";s.d(N,{BU:()=>M,Bo:()=>j,Iw:()=>m,Ky:()=>I,Oh:()=>L,Ox:()=>z,Rf:()=>B,Zf:()=>Y,_I:()=>o,_p:()=>ie,b:()=>ne,fM:()=>w,fT:()=>x,fv:()=>H,id:()=>q,ih:()=>$,lh:()=>U,n2:()=>K,p$:()=>O,p8:()=>E,pz:()=>k,rW:()=>b,tJ:()=>D,zB:()=>y});var n=s(96888),a=s(70834),g=s(11819);const m={type:"section-header",templateOptions:{label:"Section header",title:"Section title",defaultBehaviour:"expand"},conditionalFields:{visibility:{value:"true",conditions:{},hintMessage:"Conditional visibility rules apply to all fields or elements contained in the section.",isSection:!0}}},T={type:"text-content",templateOptions:{label:"Text content",html:"<h3>Text content</h3><p>Text content</p>"},conditionalFields:{visibility:{value:"true",conditions:{}}}},O={type:"chart-content",templateOptions:{label:"Chart content",chartConfig:{title:"",canExport:!1,chartTip:null,filterInputs:[]}},conditionalFields:{visibility:{value:"true",conditions:{}}}},D={type:"table-content",templateOptions:{label:"Table content",tableConfig:{title:"",limit:10,objectTypeTip:null,queryTip:null,columns:[],filterInputs:[]}},conditionalFields:{visibility:{value:"true",conditions:{}}}},E={type:"list-items-select",templateOptions:{label:"List",placeholder:"Select your option",contextTypeTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},y={type:"rich-text",templateOptions:{label:"Rich text",contextTypeTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},I={type:"input",templateOptions:{type:"text",label:"Single-line text",placeholder:"Single-line text",contextTypeTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},b={type:"phone-number",templateOptions:{type:"tel",label:"Phone number",placeholder:"Phone number",contextTypeTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},L={type:"email-address",templateOptions:{type:"email",label:"Email address",placeholder:"Email address",contextTypeTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},o={type:"web-address",templateOptions:{type:"url",label:"Web address",placeholder:"Web address",contextTypeTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},C={type:"multi-line-text",templateOptions:{label:"Multi-line text",placeholder:"Multi-line text",contextTypeTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},w={type:"date-time",templateOptions:{type:"date",label:"Date",placeholder:"Date",contextTypeTip:"",dateFormat:null,dateValidation:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},M={type:"date-time",templateOptions:{type:"datetime",label:"Date & time",placeholder:"Date & time",contextTypeTip:"",dateFormat:null,timeFormat:null,timezone:"User timezone",dateValidation:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},q={type:"number",templateOptions:{label:"Number",placeholder:"Number",contextTypeTip:"",numberFormat:"normal",numberPrefix:"",numberSuffix:"",numberThousandsSeparator:"",numberDecimalSeparator:"",numberDecimalPlaces:null},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},z={type:"checkbox",templateOptions:{label:"Checkbox",contextTypeTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},U={type:"file-upload",templateOptions:{label:"File upload",contextTypeTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},k={type:"signature",templateOptions:{label:"Signature",contextTypeTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},Y={type:"geo-chooser",templateOptions:{type:a.cR.POINT,label:"Point chooser",placeholder:"Select point",contextTypeTip:"",mapTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},x={type:"geo-chooser",templateOptions:{type:a.cR.POLYLINE,label:"Line chooser",placeholder:"Line not set",contextTypeTip:"",mapTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},B={type:"geo-chooser",templateOptions:{type:a.cR.POLYGON,label:"Polygon chooser",placeholder:"Select polygon",contextTypeTip:"",mapTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},j={type:"address-chooser",templateOptions:{label:"Address chooser",placeholder:"Select address",contextTypeTip:"",mapTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},$={type:"object-chooser",templateOptions:{label:"Object chooser",placeholder:"Select object",contextTypeTip:"",filter:{},hierarchicalView:"",hidePlusButton:!1},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},H={type:"sub-object-chooser",templateOptions:{label:"Sub-object chooser",placeholder:"Select sub-object",contextTypeTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},ie={type:"assignable",templateOptions:{label:"Assigned to",placeholder:"Unassigned",contextTypeTip:""},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},ne={type:"org-unit-parent-chooser",templateOptions:{label:"Parent",placeholder:"Select org unit parent"},conditionalFields:{readonly:{value:"false",conditions:{}},required:{value:"false",conditions:{}},visibility:{value:"true",conditions:{}}}},le=[m],pe=[T,O,D],te=[T],ae=(de,Me=g.jo.REGULAR,me)=>{let Ae=[];return me&&(Ae=Me===g.jo.OFFLINE?[Y]:[]),[I,C,y,q,z,w,M,E,$,...de?[H]:[],b,L,o,U,...Me===g.jo.REGULAR?[k]:[],ne,...Me===g.jo.REGULAR?[ie,j,Y,x,B]:[],...Ae]},K=(de,Me=g.jo.REGULAR,me)=>[{title:"Structure",options:le.map(n.GK)},{title:"Content",options:Me!==g.jo.REGULAR?te.map(n.GK):pe.map(n.GK)},{title:"Fields",options:ae(de,Me,me).map(n.GK)}]},11819:(at,N,s)=>{"use strict";s.d(N,{Ef:()=>m,aC:()=>O,jo:()=>D,vQ:()=>T});var n=s(48636),a=s(10195);const g={"app/form:name":{type:n.U.i18n},"app/form:description":{type:n.U.i18n},"app/form:size":{type:n.U.string},"app/form:version":{type:n.U.number},"app/form:tabs":{type:n.U.jsonArray},"app/form:type":{type:n.U.string},"app/form:status":{type:n.U.string},"app/form:security-profile":{type:n.U.string},"app/form:url":{type:n.U.string},"app/form:show-form-breadcrumbs":{type:n.U.boolean},"app/form:offline-button-icon":{name:"offlineButtonIcon",type:n.U.string},"app/form:offline-button-main-text":{type:n.U.i18n},"app/form:offline-button-secondary-text":{type:n.U.i18n},"app/form:deps":{type:n.U.stringArray}},m={"app/form:context-type":{type:n.U.object,scheme:a.V},...g},T={"app/form:context-type":{type:n.U.string},...g};var O=function(E){return E.ACTIVE="active",E.INACTIVE="inactive",E}(O||{}),D=function(E){return E.REGULAR="regular",E.PUBLIC="public",E.OFFLINE="offline",E.CONTACT_SELF_SERVICE="contact-self-service",E}(D||{})},28064:(at,N,s)=>{"use strict";s.d(N,{G:()=>a});var n=s(55577);class a{constructor(m){this.indices={chart:{},table:{}},this.lastInsertedIndex={chart:0,table:0},m.forEach(T=>{T.rows.forEach(O=>{O.fields.forEach(D=>{if(D.templateOptions?.printRefIndex){const E=a.getIndexKey(D.type);if(!E)return;this.indices[E][D.templateOptions.printRefIndex]=!0}})})})}static getIndexKey(m){switch(m){case n.p$.type:return"chart";case n.tJ.type:return"table";default:return null}}addNewIndex(m){const T=a.getIndexKey(m);if(!T)return null;let O=this.lastInsertedIndex[T]+1;for(;this.indices[T][O];)O++;return this.indices[T][O]=!0,this.lastInsertedIndex[T]=O,O}}},96888:(at,N,s)=>{"use strict";s.d(N,{nn:()=>m,GK:()=>O,FQ:()=>g});var n=s(14620);const a={"section-header":{palletButtonConfig:{fill:"#00B8C0",iconName:"section-header"}},"text-content":{palletButtonConfig:{fill:"#75A9FF",iconName:"text-content"}},"chart-content":{palletButtonConfig:{fill:"#75A9FF",iconName:"chart"}},"table-content":{palletButtonConfig:{fill:"#75A9FF",iconName:"table"}},"input-text":{palletButtonConfig:{fill:"#2C1DBC",iconName:"input-text"}},"multi-line-text":{palletButtonConfig:{fill:"#2C1DBC",iconName:"multi-line-text"}},"rich-text":{palletButtonConfig:{fill:"#2C1DBC",iconName:"rich-text"}},number:{palletButtonConfig:{fill:"#DE9DF4",iconName:"number"}},checkbox:{palletButtonConfig:{fill:"#DE9DF4",iconName:"checkbox"}},"date-time-date":{palletButtonConfig:{fill:"#FF7100",iconName:"date-time-date"}},"date-time-datetime":{palletButtonConfig:{fill:"#FF7100",iconName:"date-time-date-time"}},"list-items-select":{palletButtonConfig:{fill:"#028BA1",iconName:"option-list"}},"object-chooser":{palletButtonConfig:{fill:"#028BA1",iconName:"object-chooser"}},"sub-object-chooser":{palletButtonConfig:{fill:"#028BA1",iconName:"sub-object"}},assignable:{palletButtonConfig:{fill:"#028BA1",iconName:"assignee"}},"phone-number-tel":{palletButtonConfig:{fill:"#83DF28",iconName:"input-tel"}},"email-address-email":{palletButtonConfig:{fill:"#83DF28",iconName:"input-email"}},"web-address-url":{palletButtonConfig:{fill:"#83DF28",iconName:"input-url"}},"file-upload":{palletButtonConfig:{fill:"#7C3A93",iconName:"file-upload"}},signature:{palletButtonConfig:{fill:"#7C3A93",iconName:"signature"}},"geo-chooser-point":{palletButtonConfig:{fill:"#FF0050",iconName:"point"}},"geo-chooser-polyline":{palletButtonConfig:{fill:"#FF0050",iconName:"line"}},"geo-chooser-polygon":{palletButtonConfig:{fill:"#FF0050",iconName:"polygon"}},"address-chooser":{palletButtonConfig:{fill:"#FF0050",iconName:"address"}}};function g(D){return D.templateOptions&&D.templateOptions.type?`${D.type}-${D.templateOptions.type}`:D.type}function m(D){const E=n.f[g(D)];return{...D,...E}}const O=D=>function T(D){const E=g(D),y=a[E];return{...D,listId:E,key:null,...y}}(m(D))},61895:(at,N,s)=>{"use strict";s.d(N,{j:()=>o});var n=s(84412),a=s(57786),g=s(5964),m=s(73703),T=s(99172),O=s(23294),D=s(93953),E=s(26708),y=s(47693),I=s(36029),b=s(19937);const L="all-fields";let o=(()=>{class F{constructor(k,Y,x,B){this.dragulaService=k,this.formDesignerField=Y,this.shadowFormElementService=x,this.toastService=B,this.dragulaGroupName="form-designer-dragula",this.disableDragula$=new n.t({isDisable:!1}),this.setupDragula(),this.setupCustomShadowElement(),this.setupIsDragging(),this.setupDropModel(),this.setupRemoveModel()}setupDragula(){this.dragulaService.createGroup(this.dragulaGroupName,{moves:(k,Y)=>{if(Y.id!==L)return!0;const x=this.disableDragula$.getValue();return x.isDisable&&this.toastService.showErrorToast(`You can only add ${x.operationalLimit} fields per form`),!x.isDisable},copy:(k,Y)=>Y.id===L,accepts:C,copyItem:k=>k,direction:"horizontal"})}setupCustomShadowElement(){this.subscription=this.dragulaService.shadow(this.dragulaGroupName).pipe((0,g.p)(q)).subscribe(k=>this.shadowFormElementService.attachShadowFormElement(k))}setupIsDragging(){const k=this.dragulaService.drag(this.dragulaGroupName).pipe((0,m.u)(!0)),Y=this.dragulaService.dragend(this.dragulaGroupName).pipe((0,m.u)(!1));this.isDragging$=(0,a.h)(k,Y).pipe((0,T.Z)(!1),(0,O.F)())}setupDropModel(){this.dropModel$=this.dragulaService.dropModel(this.dragulaGroupName)}setupRemoveModel(){this.removeModel$=this.dragulaService.removeModel(this.dragulaGroupName)}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(Y){return new(Y||F)(D.KVO(E.g$),D.KVO(y.l),D.KVO(I.M),D.KVO(b.f))};static#t=this.\u0275prov=D.jDH({token:F,factory:F.\u0275fac})}return F})();function C(F,U){if(U.id===L)return!1;const Y=function M(F){return q({el:F})?z(F.dataset.fullWidth):z(F.firstElementChild.dataset.fullWidth)}(F)||function w(F){return F.firstElementChild&&F.firstElementChild.firstElementChild&&z(F.firstElementChild.firstElementChild.dataset.fullWidth)}(U)?1:2;let x=0;for(let B=U.firstElementChild;null!==B;B=B.nextElementSibling)B.classList.contains("gu-transit")||x++;return x<Y}function q({el:F}){return F.classList&&F.classList.contains("new-field")}function z(F){return"true"===F}},47693:(at,N,s)=>{"use strict";s.d(N,{l:()=>g});var n=s(96888),a=s(93953);let g=(()=>{class m{constructor(){this.keyNumber=0}augmentField(O){return{...(0,n.nn)(O),className:"form-designer-edit-mode",key:"key-"+this.keyNumber++,designMode:!0}}static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275prov=a.jDH({token:m,factory:m.\u0275fac})}return m})()},88848:(at,N,s)=>{"use strict";s.d(N,{j:()=>Y});var n=s(84412),a=s(7673),g=s(18810),m=s(84572),T=s(96354),O=s(99437),D=s(61594),E=s(25558),y=s(73703),I=s(31130),b=s(40673),L=s(11819),o=s(55577),C=s(67376),M=s(5002),q=s(93953),z=s(44667),F=s(76087),U=s(87879),k=s(10506);let Y=(()=>{class x{constructor(j,$,H,ie,ne){this.objectService=j,this.moduleService=$,this.formulaService=H,this.modulePackageService=ie,this.featureFlagStateService=ne,this.formOptions=new Map,this.paletteState$=new n.t(!0),this.propertiesState$=new n.t(!0);const Q=(0,o.n2)(!0),le=this.featureFlagStateService.isFeatureEnabled(M.g.FEATURE_EIM_22471_OFFLINE_MAP);Q.forEach(pe=>{pe.options.forEach(te=>{this.formOptions.set(te.listId,te)})}),this.formOptionGroups$=(0,a.of)((0,o.n2)(!0)),this.formPublicOptionGroups$=(0,a.of)((0,o.n2)(!1,L.jo.PUBLIC)),this.formContactSelfServiceOptionGroups$=(0,a.of)((0,o.n2)(!1,L.jo.CONTACT_SELF_SERVICE)),this.formOfflineOptionGroups$=(0,a.of)(le?(0,o.n2)(!1,L.jo.OFFLINE,le):(0,o.n2)(!1,L.jo.OFFLINE))}loadForm(j){return this.objectService.getObject(j,L.Ef).pipe((0,T.T)($=>{if(!$.contextType)throw new Error("Form has no object attached");return $}),(0,O.W)($=>(0,g.$)({errorMessage:"Error loading form",error:$})))}getFormModuleName(j){return this.formulaService.evaluate('FIELD("app/module:name")',j).pipe((0,T.T)($=>$[0]))}getFormOption(j){return this.formOptions.get(j)}createNewForm(j,$){const H={$type:"app/form",...j};return this.moduleService.getModulePolicy($,I.b.INSTANCE).pipe((0,D.$)(),(0,E.n)(ie=>this.objectService.setObject(H,L.vQ,b.Ay.BRANCH_MASTER,ie||"app/security-policy/instance-user-admin").pipe((0,D.$)())),(0,E.n)(ie=>{const ne=ie[ie.length-1].tip;return this.moduleService.addTipToFlatModuleField({moduleTip:$,moduleField:"forms",tip:ne}).pipe((0,y.u)(ne))}),(0,O.W)(()=>this.modulePackageService.handleError("save form",$)))}cloneForm({newForm:j,originalFormTip:$,moduleTip:H}){const ie=this.moduleService.getModulePolicy(H,I.b.INSTANCE),ne=this.objectService.getObject($,L.vQ,void 0,void 0,!0);return(0,m.z)(ne,ie).pipe((0,T.T)(([Q,le])=>({...Q,$tip:void 0,$security:le||"app/security-policy/instance-user-admin",name:j.name,description:j.description,size:j.size,version:1})),(0,E.n)(Q=>this.objectService.setObject(Q,L.vQ)),(0,T.T)(Q=>(0,C.last)(Q).tip),(0,E.n)(Q=>this.moduleService.addTipToFlatModuleField({moduleTip:H,moduleField:"forms",tip:Q}).pipe((0,y.u)(Q))),(0,O.W)(()=>this.modulePackageService.handleError("clone form",H)))}deleteForm(j,$){return this.moduleService.deleteModuleConfig([j]).pipe((0,O.W)(()=>this.modulePackageService.handleError("delete form",$)))}saveForm(j,$){const H={...j,contextType:j.contextType.$tip};return this.objectService.setObject(H,L.vQ).pipe((0,O.W)(()=>this.modulePackageService.handleError("save form",$)))}static#e=this.\u0275fac=function($){return new($||x)(q.KVO(z.T),q.KVO(I.A),q.KVO(F.C),q.KVO(U.G),q.KVO(k.F))};static#t=this.\u0275prov=q.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},61903:(at,N,s)=>{"use strict";s.d(N,{K:()=>ne});var n=s(84412),a=s(84572),g=s(57786),m=s(5964),T=s(96354),O=s(53993),D=s(61594),E=s(88141),y=s(70980),I=s(99437),b=s(1482),L=s(67376),o=s(36939),C=s(53110);const w=["tabs.rows.fields.templateOptions.contextTypeTip","tabs.rows.fields.templateOptions.chartConfig.chartTip","tabs.rows.fields.templateOptions.mapTip","tabs.rows.fields.templateOptions.tableConfig.columns","tabs.rows.fields.templateOptions.filter.queryTip",...C.BI.map(te=>`tabs.rows.fields.templateOptions.tableConfig.${te}`),...C.Qx.map(te=>`tabs.rows.fields.templateOptions.filter.${te}`)];var q=s(5002),z=s(55577),F=s(93953),U=s(88848),k=s(61895),Y=s(19937),x=s(32099),B=s(87879),j=s(25391),$=s(87878),H=s(10506);let ne=(()=>{class te{constructor(K,de,Me,me,be,Le,Ae,Oe){this.formDesignerService=K,this.formDesignerDragulaService=de,this.toastService=Me,this.loggerService=me,this.modulePackageService=be,this.operationalLimitService=Le,this.depsParserService=Ae,this.featureFlagStateService=Oe,this.changesMade$=new n.t(!1),this.form$=new n.t(null),this.isEim23834Enabled$=this.featureFlagStateService.isFeatureEnabled$(q.g.FEATURE_EIM_23834_ADD_COLLAPSIBILITY_VISIBILITY_OPTIONS_TO_SECTION_HEADER),this.allTabs$=this.form$.pipe((0,m.p)(Boolean),(0,T.T)(Xe=>Xe.tabs)),this.tabs$=(0,a.z)([this.allTabs$,this.isEim23834Enabled$]).pipe((0,T.T)(([Xe,Pe])=>function pe(te,ae){return ae?[te.map(de=>({...de,rows:de.rows.map(Me=>({...Me,fields:Me.fields.map(me=>{if(me.type===z.Iw.type){let be=(0,L.get)(me,"conditionalFields",null);(0,L.isEmpty)(be)&&(be=z.Iw.conditionalFields,(0,L.set)(me,"conditionalFields",be)),(0,L.get)(me,"templateOptions.defaultBehaviour",null)||(0,L.set)(me,"templateOptions.defaultBehaviour","expand")}return me})}))})),ae]:[te,ae]}(Xe,Pe)),(0,T.T)(([Xe,Pe])=>function le(te,ae){return ae?te:te.map(K=>({...K,rows:K.rows.map(de=>({...de,fields:de.fields.map(Me=>(Me.type===z.Iw.type&&(Me=(0,L.omit)(Me,["conditionalFields","templateOptions.defaultBehaviour"])),Me))}))}))}(Xe,Pe))),this.loading$=new n.t(!1),this.selectedTabIndex$=new n.t(0),this.currentlySelectedKey$=new n.t(null),this.currentlySelected$=(0,a.z)([this.currentlySelectedKey$,this.tabs$]).pipe((0,O.E)(this.selectedTabIndex$),(0,T.T)(b.jf),(0,T.T)(b.u))}loadForm(K){this.setDefaults(),this.setupSubscriptions(),this.loading$.next(!0),this.formDesignerService.loadForm(K).pipe((0,D.$)()).subscribe(de=>{this.setForm(de),this.loading$.next(!1)},de=>{this.loggerService.error(de),this.toastService.showErrorToast("Error loading form"),this.loading$.next(!1)})}setDefaults(){this.form$.next(null),this.selectedTabIndex$.next(0),this.currentlySelectedKey$.next(null),this.changesMade$.next(!1)}setForm(K){this.persistedForm=(0,L.cloneDeep)(K),K.tabs.map(de=>(0,b.is)(de)),K.tabs=(0,b.He)(K.tabs),this.form$.next(K),this.changesMade$.next(!1)}selectTab(K){this.selectedTabIndex$.next(K)}selectFormField(K){this.currentlySelectedKey$.next(K)}saveTabs(K){let de=(0,L.cloneDeep)(this.persistedForm);de.tabs=(0,b.Gt)(this.form$.getValue().tabs,!0),de.deps=this.depsParserService.evaluateAndSanitize(de,w),de=this.parseDependenciesOfConditionalFields(de),de=(0,L.omit)(de,"status"),this.saveForm(de,K).subscribe(Me=>{this.toastService.showSuccessToast("Form just saved")},Me=>{this.toastService.showErrorToast(Me instanceof o.g?Me.message:"Error saving form, please try again")})}saveForm(K,de){this.loading$.next(!0);const Me=(0,L.cloneDeep)(K);return Me.tabs.map(me=>(0,b.Az)(me)),this.formDesignerService.saveForm(Me,de).pipe((0,D.$)(),(0,E.M)(()=>{this.setForm(Me)}),(0,y.j)(()=>this.loading$.next(!1)),(0,I.W)(()=>this.modulePackageService.handleError("save form",de)))}setupSubscriptions(){if(this.subscription)return;const K=this.formDesignerDragulaService.dropModel$,de=({item:Le})=>null===Le.key,me=K.pipe((0,m.p)(de),(0,E.M)(Le=>this.addNewField(Le))),be=K.pipe((0,m.p)(Le=>!de(Le)),(0,E.M)(Le=>this.moveExistingField(Le)));this.subscription=(0,g.h)(me,be).subscribe()}getCurrentTabsRows(){return this.form$.getValue().tabs[this.selectedTabIndex$.getValue()].rows}updateCurrentTabRows(K){const de=(0,L.cloneDeep)(this.form$.getValue());de.tabs[this.selectedTabIndex$.getValue()].rows=K,this.form$.next(de),this.changesMade$.next(!0)}editField(K,de){const me=this.getCurrentTabsRows().map(be=>{if(be.fields.length<1)return be;const Le=be.fields.map(Ae=>{if(Ae.key!==K)return Ae;const Oe={...Ae.templateOptions,...de.templateOptions},Xe={...Ae.conditionalFields,...de.conditionalFields};return{...Ae,templateOptions:Oe,conditionalFields:Xe,props:{...Oe}}});return{index:be.index,fields:Le}});this.updateCurrentTabRows(me)}addNewField({target:K,targetIndex:de,item:Me}){Me=(0,L.cloneDeep)(Me);const me=K.dataset.rowIndex,be=de,Le=b.F6.augmentField(Me),Ae=[...this.getCurrentTabsRows()],Oe={fields:[...Ae[me].fields]};Oe.fields.splice(be,0,Le),Ae.splice(me,1,Oe);const Xe=(0,b.b2)(Ae);this.updateCurrentTabRows(Xe),this.selectFormField(Le.key)}moveExistingField({source:K,target:de,sourceIndex:Me,targetIndex:me}){const be=K.dataset.rowIndex,Le=de.dataset.rowIndex,Ae=be===Le,Oe=[...this.getCurrentTabsRows()],Xe=Oe[be].fields[Me],Pe={fields:[...Oe[be].fields]};Pe.fields.splice(Me,1);const $e=Ae?Pe:{fields:[...Oe[Le].fields]};$e.fields.splice(me,0,Xe),Oe.splice(be,1,Pe),Oe.splice(Le,1,$e);const ze=(0,b.b2)(Oe);this.updateCurrentTabRows(ze)}deleteField(K){const Me=this.getCurrentTabsRows().map(me=>{if(me.fields.length<1)return me;const be=me.fields.filter(Le=>Le.key!==K);return{index:me.index,fields:be}});this.updateCurrentTabRows(Me)}finishEditingForm(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}fieldsInFormDesignerLimit$(){return(0,a.z)(this.operationalLimitService.getValue$("numberOfFieldsInFormDesigner",200),this.tabs$).pipe((0,T.T)(([K,de])=>({fieldsInFormOperationalLimit:K,fieldsInFormDesigner:Q(de)})))}parseDependenciesOfConditionalFields(K){const de=(0,L.get)(K,"tabs",[]);return(0,L.flattenDeep)(de.map(me=>(0,L.get)(me,"rows",[]))).forEach(me=>{(0,L.get)(me,"fields",[]).forEach(Le=>{const Ae=[];"conditional"===(0,L.get)(Le,"conditionalFields.readonly.value",null)&&Ae.push("conditionalFields.readonly.conditions.includes.fieldTip"),"conditional"===(0,L.get)(Le,"conditionalFields.required.value",null)&&Ae.push("conditionalFields.required.conditions.includes.fieldTip"),"conditional"===(0,L.get)(Le,"conditionalFields.visibility.value",null)&&Ae.push("conditionalFields.visibility.conditions.includes.fieldTip");let Oe=[];0!==Ae.length&&(Oe=this.depsParserService.evaluateAndSanitize(Le,[...Ae])??[]),(0,L.set)(Le,"deps",Oe)})}),(0,L.cloneDeep)(K)}ngOnDestroy(){this.finishEditingForm()}static#e=this.\u0275fac=function(de){return new(de||te)(F.KVO(U.j),F.KVO(k.j),F.KVO(Y.f),F.KVO(x.g),F.KVO(B.G),F.KVO(j.H),F.KVO($.f),F.KVO(H.F))};static#t=this.\u0275prov=F.jDH({token:te,factory:te.\u0275fac})}return te})();function Q(te){return(0,b.Gt)(te,!1).reduce((K,de)=>K+de.rows.reduce((me,be)=>me+be.fields.length,0),0)}},36029:(at,N,s)=>{"use strict";s.d(N,{M:()=>T});var n=s(93953),a=s(88848),g=s(8524);let m=(()=>{class O{set className(E){const y=E.replace("gu-transit","");this._className=y,this.fields=this.fields.map(I=>({...I,className:y}))}get className(){return this._className}constructor(E,y){this.formDesignerService=E,this.ref=y,this._className="",this.fields=[]}ngOnInit(){const E=this.formDesignerService.getFormOption(this.listId);this.fields=[{...E,key:"name"}]}static#e=this.\u0275fac=function(y){return new(y||O)(n.rXU(a.j),n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:O,selectors:[["app-shadow-form-element"]],inputs:{listId:"listId"},decls:1,vars:1,consts:[[3,"fields"]],template:function(y,I){1&y&&n.nrm(0,"formly-form",0),2&y&&n.Y8G("fields",I.fields)},dependencies:[g.aF],changeDetection:0})}return O})(),T=(()=>{class O{constructor(E,y,I){this.componentFactoryResolver=E,this.injector=y,this.appRef=I}attachShadowFormElement({el:E},y=m){if("APP-SHADOW-FORM-ELEMENT"===E.firstChild.nodeName)return;const I=this.componentFactoryResolver.resolveComponentFactory(y).create(this.injector);I.instance.listId=E.dataset.listId,this.appRef.attachView(I.hostView);const L=I.hostView.rootNodes[0];return E.innerHTML="",E.appendChild(L),I.instance}static#e=this.\u0275fac=function(y){return new(y||O)(n.KVO(n.OM3),n.KVO(n.zZn),n.KVO(n.o8S))};static#t=this.\u0275prov=n.jDH({token:O,factory:O.\u0275fac})}return O})()},1482:(at,N,s)=>{"use strict";s.d(N,{Az:()=>x,F6:()=>D,Gt:()=>y,He:()=>E,b2:()=>L,is:()=>Y,jf:()=>M,u:()=>w});var n=s(47693),a=s(67376),m=s(25793),T=s(29771),O=s(28064);const D=new n.l;function E($){return $.map(H=>({...H,rows:I(H.rows)}))}function y($,H){let ie=null;return H&&(ie=new O.G($)),$.map(ne=>({...ne,rows:o(ne.rows,ie)}))}function I($){return L($.map(ne=>({fields:b(ne)})))}function b($){return $.fields.map(H=>D.augmentField(H))}function L($){return $.reduce((H,ie)=>{const ne=H[H.length-1].index+1;if(ie.fields.length>0){const Q={...ie,index:ne};H.push(Q),H.push({fields:[],index:ne+1})}return H},[{fields:[],index:0}])}function o($,H){return $.reduce((ie,ne)=>(ne.fields.length>0&&ie.push({fields:ne.fields.map(Q=>function C($,H){H&&!$.templateOptions?.printRefIndex&&(0,a.set)($,"templateOptions.printRefIndex",H.addNewIndex($.type));const ie={type:$.type,templateOptions:$.templateOptions};return $.conditionalFields&&Object.assign(ie,{conditionalFields:$.conditionalFields}),ie}(Q,H))}),ie),[])}function w([$,H]){return(0,a.flatMap)(H,ie=>ie.fields).find(ie=>ie.key===$)||null}function M([[$,H],ie]){const ne=(0,a.get)(H,[ie,"rows"],null);if(null===ne)throw new Error(`No selected tab for index ${ie}`);return[$,ne]}const q={"chart-content":{setValues:function z($){j($,["label","placeholder"]),$.chartConfig&&j($.chartConfig,["title"])},getValues:function F($){B($,["label","placeholder"]),$.chartConfig&&B($.chartConfig,["title"])}},"table-content":{setValues:function U($){j($,["label","placeholder"]),$.tableConfig&&($.tableConfig.columnItems||[]).forEach(H=>{j(H,["label","overrideLabel"])})},getValues:function k($){B($,["label","placeholder"]),$.tableConfig&&("object"==typeof $.tableConfig.columnItems&&null!==$.tableConfig.columnItems&&(0,a.isEmpty)($.tableConfig.columnItems)&&delete $.tableConfig.columnItems,($.tableConfig.columnItems||[]).forEach(H=>{B(H,["label","overrideLabel"])}))}}};function Y($){return B($,["tabName"]),$.rows.map(H=>{H.fields.map(ie=>{ie.templateOptions&&((0,a.has)(q,ie.type)?q[ie.type].getValues(ie.templateOptions):B(ie.templateOptions,["label","placeholder","title","html"]))})}),$}function x($){return j($,["tabName"]),$.rows.map(H=>{H.fields.map(ie=>{ie.templateOptions&&((0,a.has)(q,ie.type)?q[ie.type].setValues(ie.templateOptions):j(ie.templateOptions,["label","placeholder","title","html"]))})}),$}function B($,H){H.forEach(ie=>{if((0,a.has)($,ie)){const ne=(0,a.get)($,ie);(0,a.set)($,(0,T.xQ)(`i18n_${ie}`),ne),(0,a.set)($,ie,(0,m.YN)(ne))}})}function j($,H){H.forEach(ie=>{if((0,a.has)($,ie)){const ne=(0,a.get)($,(0,T.xQ)(`i18n_${ie}`)),Q=(0,a.get)($,ie),le=Q===(0,m.YN)(ne)?ne:(0,m.e2)(Q);(0,a.set)($,ie,le)}(0,a.has)($,(0,T.xQ)(`i18n_${ie}`))&&delete $[(0,T.xQ)(`i18n_${ie}`)]})}},73439:(at,N,s)=>{"use strict";s.d(N,{UJ:()=>g,xZ:()=>m});var n=s(96508);function g(O=!1){const E=n.tz.names().map(y=>({label:y,value:y}));return O?[{value:"User timezone",label:"User timezone"},...E]:[...E]}function m(){return n.tz.names().map(O=>({label:O,value:O,offset:n.tz(O).utcOffset(),offsetLabel:"UTC "+T(n.tz(O).utcOffset())}))}function T(O){const D=O<0,E=Math.floor(Math.abs(O)/60),y=Math.abs(O)%60,I=E<10?"0"+E:E,b=y<10?"0"+y:y;return D?`-${I}:${b}`:`+${I}:${b}`}},44508:(at,N,s)=>{"use strict";s.d(N,{B:()=>w});var n=s(67376),g=s(21413),m=s(84412),T=s(84572),O=s(96354),D=s(56977),E=s(5964),y=s(55516),I=s(43637),b=s(93953),L=s(51229),o=s(75902),C=s(43470);let w=(()=>{class M{get integrationManagerMap(){return this._integrationManagerMap}constructor(z,F,U){this.queryService=z,this.iconRegistryService=F,this.featureFlagService=U,this.destroy$=new g.B,this.tileRefresh=new m.t(!1),this._integrationManagerMap=new Map}registerIntegrationsCenterIcons(){return this.iconRegistryService.registerIntegrationsCenterIcons()}getIntegrationManagers(){const z=(0,n.cloneDeep)(I.u);return(0,T.z)([this.queryService.execute1dFirst(y.R.GET_ALL_INTEGRATION_MANAGER_METADATA,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}]}),this.featureFlagService.allFeatureFlags$]).pipe((0,O.T)(([F,U])=>{const k=z.filter(Y=>!(0,n.isEmpty)(Y.featureFlag)&&!U.get(Y.featureFlag)).map(({key:Y})=>Y);return F.filter(({key:Y})=>!k.includes(Y))}),(0,O.T)(F=>F.map(U=>({...z.find(k=>k.key===U.key),...U,enabled:"true"===U.enabled}))))}getIntegrationManagersEnabledMap$(){return this.getIntegrationManagers().pipe((0,O.T)(z=>z.map(F=>[F.key,F.enabled])),(0,O.T)(z=>new Map(z)))}loadAllIntegrationManagers(){this.getIntegrationManagersEnabledMap$().pipe((0,D.Q)(this.destroy$),(0,E.p)(z=>!!z)).subscribe(z=>{this._integrationManagerMap=z})}isIntegrationEnabled(z){return this._integrationManagerMap.get(z)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(F){return new(F||M)(b.KVO(L.c),b.KVO(o.u),b.KVO(C.y))};static#t=this.\u0275prov=b.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})()},43637:(at,N,s)=>{"use strict";s.d(N,{u:()=>Vn,E:()=>pn});var n=s(18819),a=s(54722),g=s(23702),m=s(13774),T=s(79873),O=s(67376),D=s(96697),E=s(61594),y=s(69172),I=s(5002);const b=[{key:"endpoint",type:"input",templateOptions:{type:"text",label:"Endpoint",required:!0}},{key:"bucket",type:"input",templateOptions:{type:"text",label:"Bucket",required:!0}},{key:"authenticationMethod",type:"option-list",templateOptions:{label:"Authentication method",placeholder:"Select authentication method",options:[{label:"IAM Secret Key",value:"IAM Secret Key"},{label:"IAM Role Trust",value:"IAM Role Trust"}],required:!0}},{key:"accessKeyId",type:"input",templateOptions:{type:"text",label:"Access Key Id",required:!0},defaultValue:"",hideExpression:je=>"IAM Secret Key"!==je.authenticationMethod},{key:"secretAccessKey",type:"input",templateOptions:{type:"password",label:"Secret Access Key",required:!0,showIcon:!1},hideExpression:je=>"IAM Secret Key"!==je.authenticationMethod}];var L=s(18359),o=s(93953),C=s(89417),w=s(19937),M=s(50337),q=s(18810),z=s(7673),F=s(96354),U=s(99437),k=s(25558),Y=s(50835),x=s(66675),B=s(8142),j=s(43470);let $=(()=>{class je{constructor(De,Pt){this.authService=De,this.featureFlagService=Pt,this.uri="/auditlog/destination",this.testConnectionUri="/auditlog/testConnection",this.mappings={endpoint:"endpoint",bucket:"bucket",accessKeyId:"accessKeyId",secretAccessKey:"secretAccessKey"}}get auditLogUrl(){return`${Y.c.host}${this.uri}`}get auditLogUrlForTestConnection(){return`${Y.c.host}${this.testConnectionUri}`}loadAuditLog(){const De=this.authService.get(this.auditLogUrl).pipe((0,F.T)(Pt=>(0,x.Z)(Pt,this.mappings)),(0,U.W)(Pt=>(0,q.$)(Pt)));return this.featureFlagService.getFeatureFlag$(I.g.FEATURE_AUDIT_LOG_INTEGRATIONS_CENTER).pipe((0,E.$)(),(0,k.n)(Pt=>Pt?De:(0,z.of)(null)))}testConnection(De){return this.authService.post(this.auditLogUrlForTestConnection,De)}saveAuditLog(De){return this.featureFlagService.getFeatureFlag$(I.g.FEATURE_AUDIT_LOG_INTEGRATIONS_CENTER).pipe((0,E.$)(),(0,k.n)(Pt=>Pt?this.authService.post(this.auditLogUrl,De):(0,z.of)(null)))}deleteAuditLog(){return this.featureFlagService.getFeatureFlag$(I.g.FEATURE_AUDIT_LOG_INTEGRATIONS_CENTER).pipe((0,E.$)(),(0,k.n)(De=>De?this.authService.delete(this.auditLogUrl):(0,z.of)(null)))}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.KVO(B.V),o.KVO(j.y))};static#t=this.\u0275prov=o.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})();var H=s(60177),ie=s(44225),ne=s(36193),Q=s(73427),le=s(83958),pe=s(8524),te=s(60076);function ae(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"div",9)(1,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(2,"Delete"),o.k0s()()}}function K(je,Kn){if(1&je){const De=o.RV6();o.qex(0),o.j41(1,"app-side-sheet-header",1),o.bIt("actioned",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onSave())}),o.EFF(2," Audit Logs "),o.k0s(),o.j41(3,"div",2),o.nrm(4,"span",3),o.j41(5,"button",4),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.testConnection())}),o.EFF(6," Test connection "),o.k0s()(),o.j41(7,"app-side-sheet-section",5)(8,"div",6),o.nrm(9,"formly-form",7),o.k0s(),o.DNE(10,ae,3,0,"div",8),o.k0s(),o.bVm()}if(2&je){const De=o.XpG();o.R7$(),o.Y8G("showCancelButton",!0)("disabled",De.form.pristine||De.form.invalid||De.loadingState===De.loadingStates.inProgress)("action","Save"),o.R7$(4),o.Y8G("disabled",De.form.invalid||De.loadingState===De.loadingStates.inProgress),o.R7$(2),o.Y8G("showBorder",!1),o.R7$(),o.Y8G("appSpinner",De.loadingState===De.loadingStates.inProgress),o.R7$(),o.Y8G("fields",De.fields)("model",De.model)("form",De.form),o.R7$(),o.Y8G("ngIf",De.isEditMode)}}function de(je,Kn){1&je&&(o.qex(0),o.j41(1,"app-side-sheet-header"),o.EFF(2,"Audit Logs"),o.k0s(),o.j41(3,"app-side-sheet-section",11)(4,"p"),o.EFF(5,"The Audit log delivery is a paid product add-on."),o.k0s(),o.j41(6,"p"),o.EFF(7,"Please contact Noggin if you are interested in using this feature."),o.k0s()(),o.bVm()),2&je&&(o.R7$(3),o.Y8G("showBorder",!1)("showHeader",!1))}let Me=(()=>{class je{constructor(De,Pt,mt,pi,Ls){this.fb=De,this.toastService=Pt,this.sideSheetService=mt,this.auditLogSettingsService=pi,this.cdr=Ls,this.FeatureFlags=I.g,this.form=this.fb.group({}),this.fields=[],this.loadingStates=y.Gu,this.loadingState=y.Gu.empty,this.isEditMode=!0,this.subscription=new L.yU,this.model={endpoint:"",bucket:"",authenticationMethod:"",accessKeyId:"",secretAccessKey:""}}ngOnInit(){this.fields=(0,O.cloneDeep)(b),this.loadAuditLog(),this.subscription.add(this.form.valueChanges.subscribe(()=>{this.cdr.detectChanges()}))}testConnection(){this.auditLogSettingsService.testConnection(this.model).pipe((0,D.s)(1)).subscribe(De=>{this.loadingState=y.Gu.loaded,this.toastService.showSuccessToast("Test connection successful"),this.cdr.detectChanges()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Unable to connect to S3 bucket"),this.cdr.detectChanges()})}loadAuditLog(){this.loadingState=y.Gu.inProgress,this.auditLogSettingsService.loadAuditLog().pipe((0,E.$)()).subscribe(De=>{De?this.model={...De,secretAccessKey:"",authenticationMethod:this.isOldIntegration(De)?"IAM Secret Key":De.authenticationMethod}:this.isEditMode=!1,this.loadingState=y.Gu.loaded,this.cdr.markForCheck()},De=>{this.loadingState=y.Gu.failed,this.isEditMode=!1,500===De.status&&this.toastService.showErrorToast("Unable to get destination."),this.cdr.markForCheck()})}onSave(){this.loadingState=y.Gu.inProgress,this.auditLogSettingsService.saveAuditLog(this.model).pipe((0,E.$)()).subscribe(De=>{this.model=De,this.loadingState=y.Gu.loaded,this.sideSheetService.pop(),this.toastService.showSuccessToast("Settings successfully saved"),this.cdr.markForCheck()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to save audit log."),this.cdr.markForCheck()})}onDelete(){this.loadingState=y.Gu.inProgress,this.auditLogSettingsService.deleteAuditLog().pipe((0,E.$)()).subscribe(De=>{this.toastService.showSuccessToast("Audit log removed."),this.sideSheetService.pop(),this.cdr.markForCheck()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to delete Audit log."),this.cdr.markForCheck()})}isOldIntegration(De){const Pt=(0,O.get)(De,"authenticationMethod",null),mt=(0,O.get)(De,"accessKeyId",null);return!(!(0,O.isEmpty)(Pt)||(0,O.isEmpty)(mt))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(w.f),o.rXU(M.E),o.rXU($),o.rXU(o.gRc))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-audit-log-settings-side-sheet"]],decls:2,vars:2,consts:[[4,"appIfFeatureFlag"],[3,"actioned","showCancelButton","disabled","action"],[1,"text-right","px-3","test-connection"],[1,"left-button-class"],["data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1","ng-star-inserted",3,"click","disabled"],[3,"showBorder"],[3,"appSpinner"],[3,"fields","model","form"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],[1,"btn","btn-danger",3,"click"],[3,"showBorder","showHeader"]],template:function(Pt,mt){1&Pt&&o.DNE(0,K,11,10,"ng-container",0)(1,de,8,2,"ng-container",0),2&Pt&&(o.Y8G("appIfFeatureFlag",mt.FeatureFlags.FEATURE_AUDIT_LOG_INTEGRATIONS_CENTER),o.R7$(),o.Y8G("appIfFeatureFlag","!"+mt.FeatureFlags.FEATURE_AUDIT_LOG_INTEGRATIONS_CENTER))},dependencies:[H.bT,ie.b,ne.d,Q.R,le.D,pe.aF,te.r],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}"],changeDetection:0})}return je})();var me=s(19006),be=s(68030),Le=s(97586),Ae=s.n(Le);const Oe=[{key:"endpoint",type:"input",templateOptions:{type:"text",label:"Endpoint",required:!0}},{key:"bucket",type:"input",templateOptions:{type:"text",label:"Bucket",required:!0}},{key:"accessKeyId",type:"input",templateOptions:{type:"text",label:"Access Key Id",required:!0}},{key:"secretAccessKey",type:"input",templateOptions:{type:"password",label:"Secret Access Key",required:!0,showIcon:!1}}],Xe=[{wrappers:["side-sheet-section-wrapper"],templateOptions:{title:"Select Date to resume Data Warehouse",showHeader:!0},fieldGroup:[{template:'\n                <label class="eim-font-color_main">\n                Select from which date you wish to resume the data warehousing service from, by default the data warehousing service starts from when you paused the service.\n                </label>'},{wrappers:["side-sheet-section-wrapper"],fieldGroup:[{key:"startAt",type:"date-time",templateOptions:{type:"datetime",label:"Resume Date"}}]}]}];let Pe=(()=>{class je{constructor(De,Pt){this.authService=De,this.featureFlagService=Pt,this.mappings={endpoint:"endpoint",bucket:"bucket",accessKeyId:"accessKeyId",secretAccessKey:"secretAccessKey",enabled:"enabled"}}get dataWarehousingBaseUri(){return`${Y.c.host}${Y.c.dataWarehousePath}`}loadDataWareHousing(){const De=this.authService.get(this.dataWarehousingBaseUri+"/register").pipe((0,F.T)(Pt=>{const mt=(0,x.Z)(Pt,this.mappings);return(0,O.has)(mt,"enabled")||(0,O.set)(mt,"enabled",!0),(0,O.has)(mt,"lastExecution")&&(mt.lastExecutionDate=Ae()(mt.lastExecution).toISOString()),mt}),(0,U.W)(Pt=>(0,q.$)(Pt)));return this.featureFlagService.getFeatureFlag$(I.g.FEATURE_EIM_8926).pipe((0,E.$)(),(0,k.n)(Pt=>Pt?De:(0,z.of)(null)))}saveDataWareHousing(De){return this.featureFlagService.getFeatureFlag$(I.g.FEATURE_EIM_8926).pipe((0,E.$)(),(0,k.n)(Pt=>Pt?this.authService.post(this.dataWarehousingBaseUri+"/register",De):(0,z.of)(null)))}getSchema(){return this.featureFlagService.getFeatureFlag$(I.g.FEATURE_EIM_8926).pipe((0,E.$)(),(0,k.n)(De=>De?this.authService.get(this.dataWarehousingBaseUri+"/schemaAll"):(0,z.of)(null)))}deleteDataWareHousing(){return this.featureFlagService.getFeatureFlag$(I.g.FEATURE_EIM_8926).pipe((0,E.$)(),(0,k.n)(De=>De?this.authService.delete(this.dataWarehousingBaseUri+"/register"):(0,z.of)(null)))}pauseDataWareHousing(){return this.featureFlagService.getFeatureFlag$(I.g.FEATURE_EIM_8926).pipe((0,E.$)(),(0,k.n)(De=>De?this.authService.post(this.dataWarehousingBaseUri+"/pause",{}):(0,z.of)(null)))}resumeDataWareHousing(De){return this.featureFlagService.getFeatureFlag$(I.g.FEATURE_EIM_8926).pipe((0,E.$)(),(0,k.n)(Pt=>Pt?this.authService.post(this.dataWarehousingBaseUri+"/resume",{startAt:De}):(0,z.of)(null)))}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.KVO(B.V),o.KVO(j.y))};static#t=this.\u0275prov=o.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})(),$e=(()=>{class je{constructor(De,Pt,mt,pi){this.toastService=De,this.sideSheetService=Pt,this.dataWareHousingSettingsService=mt,this.cdr=pi,this.form=new C.gE({}),this.loadingStates=y.Gu,this.loadingState=y.Gu.empty,this.fields=(0,O.cloneDeep)(Xe)}ngOnInit(){(0,O.has)(this,"model.startAt")||(0,O.set)(this,"model.startAt",Ae()().toISOString())}onResume(){this.loadingState=y.Gu.inProgress,this.dataWareHousingSettingsService.resumeDataWareHousing((0,O.get)(this,"model.startAt")).pipe((0,E.$)()).subscribe(()=>{this.loadingState=y.Gu.loaded,this.sideSheetService.pop(),this.toastService.showSuccessToast("Data warehousing resumed"),this.cdr.markForCheck(),this.done()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to resume data warehousing"),this.cdr.markForCheck()})}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(w.f),o.rXU(M.E),o.rXU(Pe),o.rXU(o.gRc))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-data-warehousing-resume-side-sheet-component"]],decls:4,vars:7,consts:[[3,"actioned","showCancelButton","disabled","action"],[3,"appSpinner"],[3,"fields","model","form"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.bIt("actioned",function(){return mt.onResume()}),o.EFF(1," Resume Data Warehousing\n"),o.k0s(),o.j41(2,"div",1),o.nrm(3,"formly-form",2),o.k0s()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",mt.form.pristine||mt.form.invalid||mt.loadingState===mt.loadingStates.inProgress)("action","Resume"),o.R7$(2),o.Y8G("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form))},dependencies:[ie.b,Q.R,pe.aF],changeDetection:0})}return je})();var ze=s(29968);function Be(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"div",12)(1,"button",13),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.requestPause())}),o.EFF(2," Pause "),o.k0s()()}if(2&je){const De=o.XpG(2);o.R7$(),o.Y8G("disabled",De.loadingState===De.loadingStates.inProgress)}}function Ye(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"div",12)(1,"button",14),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onResume())}),o.EFF(2," Resume "),o.k0s()()}if(2&je){const De=o.XpG(2);o.R7$(),o.Y8G("disabled",De.loadingState===De.loadingStates.inProgress)}}function Ct(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"div",15)(1,"button",16),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(2,"Delete"),o.k0s()()}}function Lt(je,Kn){if(1&je){const De=o.RV6();o.qex(0),o.j41(1,"app-side-sheet-header",1),o.bIt("actioned",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onSave())}),o.EFF(2," Data Warehousing "),o.k0s(),o.DNE(3,Be,3,1,"div",2)(4,Ye,3,1,"div",2),o.j41(5,"app-side-sheet-section",3)(6,"p"),o.EFF(7,"You can pause the service at any time, pausing the service will mean that no data warehouse exports will be processed during this time. Resuming the service warehouses all data from the time the service was paused. "),o.k0s()(),o.nrm(8,"div",4),o.j41(9,"app-side-sheet-section",5)(10,"div",6),o.nrm(11,"formly-form",7),o.k0s()(),o.nrm(12,"div",4),o.j41(13,"app-side-sheet-section",8)(14,"p"),o.EFF(15,"Download a JSON file describing the data model (schema) of your Noggin object types. "),o.k0s(),o.j41(16,"button",9),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onDownloadSchema())}),o.nrm(17,"span",10),o.k0s()(),o.DNE(18,Ct,3,0,"div",11),o.bVm()}if(2&je){const De=o.XpG();o.R7$(),o.Y8G("showCancelButton",!0)("disabled",De.form.pristine||De.form.invalid||De.loadingState===De.loadingStates.inProgress)("action","Save"),o.R7$(2),o.Y8G("ngIf",De.isEditMode&&!0===De.model.enabled),o.R7$(),o.Y8G("ngIf",De.isEditMode&&!1===De.model.enabled),o.R7$(),o.Y8G("showBorder",!1),o.R7$(4),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("appSpinner",De.loadingState===De.loadingStates.inProgress),o.R7$(),o.Y8G("fields",De.fields)("model",De.model)("form",De.form),o.R7$(2),o.Y8G("showBorder",!1),o.R7$(5),o.Y8G("ngIf",De.isEditMode)}}function Vt(je,Kn){1&je&&(o.qex(0),o.j41(1,"app-side-sheet-header"),o.EFF(2,"Data Warehousing"),o.k0s(),o.j41(3,"app-side-sheet-section",5)(4,"p"),o.EFF(5,"The Data Warehousing integration is a paid product add-on."),o.k0s(),o.j41(6,"p"),o.EFF(7,"Please contact Noggin if you are interested in using this feature."),o.k0s()(),o.bVm()),2&je&&(o.R7$(3),o.Y8G("showBorder",!1)("showHeader",!1))}let ht=(()=>{class je{constructor(De,Pt,mt,pi,Ls,lo){this.toastService=De,this.sideSheetService=Pt,this.dataWareHousingSettingsService=mt,this.cdr=pi,this.modalService=Ls,this.saveAs=lo,this.FeatureFlags=I.g,this.form=new C.gE({}),this.fields=(0,O.cloneDeep)(Oe),this.loadingStates=y.Gu,this.loadingState=y.Gu.empty,this.namespace=Y.c.ns,this.isEditMode=!0,this.model={enabled:!0,endpoint:"",bucket:"",accessKeyId:"",secretAccessKey:""}}ngOnInit(){this.loadDataWareHousing()}loadDataWareHousing(){this.loadingState=y.Gu.inProgress,this.dataWareHousingSettingsService.loadDataWareHousing().pipe((0,E.$)()).subscribe(De=>{De?this.model={enabled:!0,...De,secretAccessKey:""}:this.isEditMode=!1,this.loadingState=y.Gu.loaded,this.cdr.markForCheck()},De=>{this.loadingState=y.Gu.failed,this.isEditMode=!1,500===De.status&&this.toastService.showErrorToast("Unable to get destination."),this.cdr.markForCheck()})}onSave(){this.loadingState=y.Gu.inProgress,this.dataWareHousingSettingsService.saveDataWareHousing(this.model).pipe((0,E.$)()).subscribe(De=>{this.model=De,this.loadingState=y.Gu.loaded,this.sideSheetService.pop(),this.toastService.showSuccessToast("Data warehousing successfully saved"),this.cdr.markForCheck()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to save data warehousing"),this.cdr.markForCheck()})}onDownloadSchema(){this.dataWareHousingSettingsService.getSchema().pipe((0,E.$)()).subscribe(De=>{const Pt=JSON.stringify(De),mt=Ae()().format("DD_MMM_YYYY_HH_mm_ss"),pi=new Blob([Pt],{type:"text/json"});this.saveAs(pi,`warehousing-schema-${this.namespace}-${mt}.json`)})}requestPause(){const De=this.modalService.open(be.F,be.G);De.componentInstance.setProps({title:"Pause Datawarehouse",message:"Are you sure you wish to pause data warehousing?",confirmText:"Confirm",isDelete:!1}),De.result.then(mt=>mt?this.onPause():null).catch(()=>{})}onDelete(){this.loadingState=y.Gu.inProgress,this.dataWareHousingSettingsService.deleteDataWareHousing().pipe((0,E.$)()).subscribe(()=>{this.toastService.showSuccessToast("Data warehousing removed"),this.sideSheetService.pop(),this.cdr.markForCheck()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to delete data warehousing"),this.cdr.markForCheck()})}onResume(){const Pt=this.sideSheetService.push($e).componentInstance;this.model.lastExecutionDate&&(0,O.set)(Pt,"model.startAt",this.model.lastExecutionDate),Pt.done=()=>{this.sideSheetService.pop()}}onPause(){this.loadingState=y.Gu.inProgress,this.dataWareHousingSettingsService.pauseDataWareHousing().pipe((0,E.$)()).subscribe(De=>{this.model.enabled=!1,this.toastService.showSuccessToast("Data warehousing paused"),this.sideSheetService.pop(),this.cdr.markForCheck()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to pause data warehousing"),this.cdr.markForCheck()})}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(w.f),o.rXU(M.E),o.rXU(Pe),o.rXU(o.gRc),o.rXU(ze.Bq),o.rXU(me.fl))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-data-warehousing-settings-side-sheet"]],decls:2,vars:2,consts:[[4,"appIfFeatureFlag"],[3,"actioned","showCancelButton","disabled","action"],["class","text-right px-3 action-bar",4,"ngIf"],["title","Pause/Resume Data Warehousing",3,"showBorder"],[1,"side-sheet-section-divider","mb-2"],[3,"showBorder","showHeader"],[3,"appSpinner"],[3,"fields","model","form"],["title","Download Noggin Schema",3,"showBorder"],["extra-text","","data-test","data-warehouse-download-schema-button","title","Download Schema",1,"btn","btn-secondary","eim-button_minimized","ml-1",3,"click"],[1,"mdi","mdi-download"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],[1,"text-right","px-3","action-bar"],["data-test","pause-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","disabled"],["data-test","resume-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","disabled"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],[1,"btn","btn-danger",3,"click"]],template:function(Pt,mt){1&Pt&&o.DNE(0,Lt,19,14,"ng-container",0)(1,Vt,8,2,"ng-container",0),2&Pt&&(o.Y8G("appIfFeatureFlag",mt.FeatureFlags.FEATURE_EIM_8926),o.R7$(),o.Y8G("appIfFeatureFlag","!"+mt.FeatureFlags.FEATURE_EIM_8926))},dependencies:[H.bT,ie.b,ne.d,Q.R,le.D,pe.aF,te.r],styles:[".action-bar[_ngcontent-%COMP%]{background-color:#1e88e5}"],changeDetection:0})}return je})();var gt=s(21413),Ge=s(84412),Se=s(983),ke=s(56977),Ne=s(88141),Je=s(44668),Qe=s(12498),rt=s(21626),ft=s(15387);const Xt=`${Y.c.host}${Y.c.integrationBucketPath}`;let It=(()=>{class je{constructor(De,Pt){this.httpClient=De,this.sessionManager=Pt,this.integrationUserDetailsSubject=new Ge.t({uri:null,username:null,keys:[]}),this.integrationUserDetailsLoadingStateSubject=new Ge.t(y.Gu.loaded),this.provisionPath=(0,o.naY)()?"integration-bucket/provision":`${Xt}/provision`,this.sessionManager.getSessionInfo$().pipe((0,Qe.L)(3)).subscribe(mt=>this.sessionInfo=mt)}getIntegrationUserDetailsSubject$(){return this.integrationUserDetailsSubject}fetchUserDetails$(){return this.integrationUserDetailsLoadingStateSubject.next(y.Gu.inProgress),this.fetchUser$().pipe((0,Ne.M)(De=>{this.integrationUserDetailsSubject.next(De),this.integrationUserDetailsLoadingStateSubject.next(y.Gu.loaded)}),(0,U.W)(()=>(this.integrationUserDetailsLoadingStateSubject.next(y.Gu.failed),this.integrationUserDetailsSubject.next({uri:null,username:null,keys:[]}),Se.w)))}getUserDetails$(){return this.integrationUserDetailsSubject.asObservable()}getUserDetailsLoadingState$(){return this.integrationUserDetailsLoadingStateSubject.asObservable()}generateCredential$(){return this.httpClient.put(this.provisionPath,null,{headers:this.getAuthHeaders()}).pipe((0,F.T)(({uri:De,username:Pt,privateKey:mt})=>({uri:De,username:Pt,privateKey:mt})))}getAuthHeaders(){if(!this.sessionInfo)throw new Error("Attempting to authorize against the gis service without a session token");return{Authorization:`Bearer ${this.sessionInfo.token}`,"en-namespace":Y.c.ns}}addPublicKey$(De){return this.httpClient.post(`${this.provisionPath}/addPublicKey`,{publicKey:De},{headers:this.getAuthHeaders()})}removePublicKey$(De){return this.httpClient.delete(`${this.provisionPath}/removePublicKey/${De}`,{headers:this.getAuthHeaders()})}generateKeyPair$(){return this.httpClient.post(`${this.provisionPath}/generateKeyPair`,null,{headers:this.getAuthHeaders()})}fetchUser$(){return this.httpClient.get(`${this.provisionPath}/getUser`,{headers:this.getAuthHeaders()})}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.KVO(rt.Qq),o.KVO(ft.Pb))};static#t=this.\u0275prov=o.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})();var In=s(2455);function Kt(je,Kn){1&je&&(o.j41(0,"app-alert",7),o.pXf(1,1),o.k0s())}let Ze=(()=>{class je{constructor(De,Pt,mt){this.sideSheetService=De,this.integrationBucketSettingsService=Pt,this.toastService=mt,this.form=new C.gE({publicKey:new C.MJ(null,C.k0.required)}),this.fields=this.getFields$(),this.model={publicKey:null},this.LOADING_STATE=y.Gu,this.loadingStateSubject$=new Ge.t(y.Gu.loaded)}ngOnInit(){this.loadingState$=this.loadingStateSubject$.asObservable().pipe((0,Je.t)())}onDone(){this.addPublicKey$().subscribe()}addPublicKey$(){return this.loadingStateSubject$.next(y.Gu.inProgress),this.integrationBucketSettingsService.addPublicKey$(this.form.value.publicKey).pipe((0,E.$)(),(0,Ne.M)(De=>{this.loadingStateSubject$.next(y.Gu.loaded),this.toastService.showSuccessToast("Public key successfully added."),this.sideSheetService.pop()}),(0,k.n)(()=>this.integrationBucketSettingsService.fetchUser$()),(0,Ne.M)(De=>this.integrationBucketSettingsService.getIntegrationUserDetailsSubject$().next(De)),(0,U.W)(()=>(this.loadingStateSubject$.next(y.Gu.failed),this.toastService.showErrorToast("Adding public key failed."),Se.w)))}getFields$(){return[{key:"publicKey",type:"multi-line-text",templateOptions:{label:"Public key",rows:15,required:!0}}]}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(M.E),o.rXU(It),o.rXU(w.f))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-add-public-key-side-sheet"]],decls:9,vars:15,consts:()=>{let De,Pt,mt;return De="Save",Pt="Add public key",mt="Unable to add public key at this time. Check your connection and try again.",[Pt,mt,["action",De,3,"actioned","disabled"],[3,"showBorder","showHeader"],[1,"pt-2",3,"appSpinner","formGroup"],["type","danger",4,"ngIf"],[3,"fields","model","form"],["type","danger"]]},template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",2),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onDone()}),o.pXf(2,0),o.k0s(),o.j41(3,"app-side-sheet-section",3)(4,"form",4),o.nI1(5,"async"),o.DNE(6,Kt,2,0,"app-alert",5),o.nI1(7,"async"),o.nrm(8,"formly-form",6),o.k0s()()),2&Pt&&(o.Y8G("disabled",(null==mt.form?null:mt.form.invalid)||o.bMT(1,9,mt.loadingState$)===mt.LOADING_STATE.inProgress),o.R7$(3),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("appSpinner",o.bMT(5,11,mt.loadingState$)===mt.LOADING_STATE.inProgress)("formGroup",mt.form),o.R7$(2),o.Y8G("ngIf",o.bMT(7,13,mt.loadingState$)===mt.LOADING_STATE.failed),o.R7$(2),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form))},dependencies:[H.bT,C.qT,C.cb,C.j4,In.C,ie.b,Q.R,le.D,pe.aF,H.Jj],encapsulation:2,changeDetection:0})}return je})();function zn(je,Kn){1&je&&(o.j41(0,"app-alert",10)(1,"p"),o.EFF(2,"The credentials shown below are not saved and cannot be accessed later. Save them at a safe location."),o.k0s()())}function di(je,Kn){1&je&&(o.j41(0,"app-alert",11),o.pXf(1,1),o.k0s())}let jn=(()=>{class je{constructor(De,Pt,mt,pi,Ls){this.fb=De,this.sideSheetService=Pt,this.modalService=mt,this.integrationBucketSettingsService=pi,this.toastService=Ls,this.form=this.fb.group({}),this.fields=[],this.model=Object.create({}),this.isFromGenerated=!1,this.LOADING_STATE=y.Gu,this.stateSubject$=new Ge.t(y.Gu.loaded)}ngOnInit(){this.fields=function wn(je=!1){return[{key:"sshPublicKeyId",type:"input-copyable",templateOptions:{label:"Key ID",type:"text",disabled:!0},hideExpression:"!model.sshPublicKeyId"},{key:"uri",type:"input-copyable",templateOptions:{label:"URI",type:"text",disabled:!0}},{key:"username",type:"input-copyable",templateOptions:{label:"Username",type:"text",disabled:!0}},{key:"publicKey",type:"multi-line-text-copyable",templateOptions:{label:"Public key",rows:15,disabled:!0},hideExpression:(Kn,De)=>!Kn.publicKey||je},{key:"privateKey",type:"multi-line-text-copyable",templateOptions:{label:"Private key",rows:15,disabled:!0},hideExpression:(Kn,De)=>!Kn.privateKey||!je}]}(this.isFromGenerated),this.state$=this.stateSubject$.asObservable().pipe((0,Je.t)())}onDone(){this.sideSheetService.pop()}showDeleteModal(){const De=this.modalService.open(be.F,be.G),Pt=De.componentInstance;Pt.objectType="key",Pt.message="Deleting this key will cause workflows using it fail",De.result.then(mt=>mt?this.onDelete():null).catch(()=>{})}onDelete(){this.deletePublicKey$().subscribe()}deletePublicKey$(){return this.stateSubject$.next(y.Gu.inProgress),this.integrationBucketSettingsService.removePublicKey$(this.model.sshPublicKeyId).pipe((0,E.$)(),(0,Ne.M)(De=>{this.stateSubject$.next(y.Gu.loaded),this.toastService.showSuccessToast("Key successfully deleted."),this.sideSheetService.pop()}),(0,k.n)(()=>this.integrationBucketSettingsService.fetchUser$()),(0,Ne.M)(De=>this.integrationBucketSettingsService.getIntegrationUserDetailsSubject$().next(De)),(0,U.W)(()=>(this.stateSubject$.next(y.Gu.failed),this.toastService.showErrorToast("Deleting key failed."),Se.w)))}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(M.E),o.rXU(ze.Bq),o.rXU(It),o.rXU(w.f))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-key-details-side-sheet"]],decls:13,vars:16,consts:()=>{let De,Pt,mt;return De="Done",Pt="Key details",mt="Unable to delete key at this time. Check your connection and try again.",[Pt,mt,["action",De,3,"actioned"],["type","warning",4,"ngIf"],[3,"showBorder","showHeader"],[1,"pt-2",3,"formGroup","appSpinner"],["type","danger",4,"ngIf"],[3,"fields","model","form"],[1,"form-options","d-flex","justify-content-center"],[1,"btn","btn-danger",3,"click","disabled"],["type","warning"],["type","danger"]]},template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",2),o.bIt("actioned",function(){return mt.onDone()}),o.pXf(1,0),o.k0s(),o.DNE(2,zn,3,0,"app-alert",3),o.j41(3,"app-side-sheet-section",4)(4,"form",5),o.nI1(5,"async"),o.DNE(6,di,2,0,"app-alert",6),o.nI1(7,"async"),o.nrm(8,"formly-form",7),o.k0s(),o.j41(9,"div",8)(10,"button",9),o.nI1(11,"async"),o.bIt("click",function(){return mt.showDeleteModal()}),o.EFF(12,"Delete"),o.k0s()()()),2&Pt&&(o.R7$(2),o.Y8G("ngIf",mt.isFromGenerated),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",o.bMT(5,10,mt.state$)===mt.LOADING_STATE.inProgress),o.R7$(2),o.Y8G("ngIf",o.bMT(7,12,mt.state$)===mt.LOADING_STATE.failed),o.R7$(2),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form),o.R7$(2),o.Y8G("disabled",o.bMT(11,14,mt.state$)===mt.LOADING_STATE.inProgress))},dependencies:[H.bT,C.qT,C.cb,C.j4,In.C,ie.b,ne.d,Q.R,le.D,pe.aF,H.Jj],encapsulation:2,changeDetection:0})}return je})();var Di=s(2937),Li=s(70723);function ms(je,Kn){1&je&&o.nrm(0,"div",15),2&je&&o.Y8G("appSpinner",!0)}function Rn(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-side-sheet-list-item",19),o.bIt("click",function(){const mt=o.eBV(De).$implicit,pi=o.XpG(2).ngIf,Ls=o.XpG(3);return o.Njj(Ls.onClickKey(null==mt?null:mt.sshPublicKeyId,pi))}),o.j41(1,"div",20),o.EFF(2),o.k0s()()}if(2&je){const De=Kn.$implicit;o.R7$(2),o.JRh(null==De?null:De.sshPublicKeyId)}}function Qt(je,Kn){if(1&je&&o.DNE(0,Rn,3,1,"app-side-sheet-list-item",18),2&je){const De=o.XpG().ngIf;o.Y8G("ngForOf",null==De?null:De.keys)}}function Wt(je,Kn){if(1&je&&(o.qex(0),o.DNE(1,Qt,1,1,"ng-template",17),o.bVm()),2&je){const De=Kn.ngIf;o.XpG(3);const Pt=o.sdS(5);o.R7$(),o.Y8G("ngIf",null==De||null==De.keys?null:De.keys.length)("ngIfElse",Pt)}}function Yt(je,Kn){if(1&je&&(o.qex(0),o.DNE(1,Wt,2,2,"ng-container",16),o.nI1(2,"async"),o.bVm()),2&je){const De=o.XpG(2);o.R7$(),o.Y8G("ngIf",o.bMT(2,1,De.userDetails$))}}function Mn(je,Kn){1&je&&(o.j41(0,"div",21)(1,"app-alert",22),o.pXf(2,4),o.k0s()())}function ci(je,Kn){if(1&je){const De=o.RV6();o.qex(0),o.j41(1,"div",6),o.nI1(2,"async"),o.j41(3,"app-side-sheet-section",7)(4,"div",8)(5,"button",9),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onClickAddPublicKey())}),o.pXf(6,2),o.k0s(),o.j41(7,"button",9),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onClickGenerateKeyPair())}),o.pXf(8,3),o.k0s()()(),o.j41(9,"app-side-sheet-section",10),o.qex(10,11),o.nI1(11,"async"),o.DNE(12,ms,1,1,"div",12)(13,Yt,3,3,"ng-container",13)(14,Mn,3,0,"div",14),o.bVm(),o.k0s()(),o.bVm()}if(2&je){const De=o.XpG();o.R7$(),o.Y8G("appSpinner",o.bMT(2,8,De.generateKeyPairLoadingState$)===De.LOADING_STATE.inProgress),o.R7$(2),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(6),o.Y8G("showBorder",!0),o.R7$(),o.Y8G("ngSwitch",o.bMT(11,10,De.userDetailsLoadingState$)),o.R7$(2),o.Y8G("ngSwitchCase",De.LOADING_STATE.inProgress),o.R7$(),o.Y8G("ngSwitchCase",De.LOADING_STATE.loaded),o.R7$(),o.Y8G("ngSwitchCase",De.LOADING_STATE.failed)}}function Ue(je,Kn){1&je&&(o.qex(0),o.j41(1,"app-side-sheet-section",7)(2,"p"),o.EFF(3,"The integration bucket is a paid product add-on. It is designed to act as a staging point for CSV files containing data to either be imported into the platform or exported from the platform. It requires other steps on the Noggin side and customer side to manage the import or export process. "),o.k0s(),o.j41(4,"p"),o.EFF(5,"Please contact Noggin if you are interested in using this feature."),o.k0s()(),o.bVm()),2&je&&(o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1))}function Un(je,Kn){1&je&&o.nrm(0,"app-empty-state",23)}let _n=(()=>{class je{constructor(De,Pt,mt,pi){this.integrationBucketSettingsService=De,this.sideSheetService=Pt,this.toastService=mt,this.featureFlagService=pi,this.FeatureFlags=I.g,this.LOADING_STATE=y.Gu,this.destroy$=new gt.B,this.generateKeyPairLoadingStateSubject$=new Ge.t(y.Gu.loaded)}ngOnInit(){this.featureFlagService.getFeatureFlag$(I.g.FEATURE_INTEGRATION_BUCKET).pipe((0,k.n)(De=>De?this.integrationBucketSettingsService.fetchUserDetails$():(0,z.of)(null)),(0,ke.Q)(this.destroy$)).subscribe(),this.userDetails$=this.integrationBucketSettingsService.getUserDetails$(),this.userDetailsLoadingState$=this.integrationBucketSettingsService.getUserDetailsLoadingState$(),this.generateKeyPairLoadingState$=this.generateKeyPairLoadingStateSubject$.asObservable()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onClickAddPublicKey(){this.sideSheetService.push(Ze)}onClickGenerateKeyPair(){this.generateKeyPair$().subscribe()}onClickKey(De,Pt){const mt=(Pt.keys||[]).find(pi=>De===pi.sshPublicKeyId);if(mt){const pi={sshPublicKeyId:mt.sshPublicKeyId,publicKey:mt.publicKey,uri:Pt.uri,username:Pt.username};this.sideSheetService.push(jn).componentInstance.model=pi}}generateKeyPair$(){return this.generateKeyPairLoadingStateSubject$.next(y.Gu.inProgress),this.integrationBucketSettingsService.generateKeyPair$().pipe((0,E.$)(),(0,Ne.M)(De=>{this.generateKeyPairLoadingStateSubject$.next(y.Gu.loaded);const mt=this.sideSheetService.push(jn).componentInstance;mt.isFromGenerated=!0,mt.model=De}),(0,k.n)(()=>this.integrationBucketSettingsService.fetchUser$()),(0,Ne.M)(De=>this.integrationBucketSettingsService.getIntegrationUserDetailsSubject$().next(De)),(0,U.W)(()=>(this.generateKeyPairLoadingStateSubject$.next(y.Gu.failed),this.toastService.showErrorToast("Generating key pair failed."),Se.w)))}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(It),o.rXU(M.E),o.rXU(w.f),o.rXU(j.y))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-integration-bucket-configuration-list-side-sheet"]],decls:6,vars:2,consts:()=>{let De,Pt,mt,pi,Ls,lo;return De="Integration bucket settings",Pt="Keys",mt="Add public key",pi="Generate key pair",Ls="Unable to retrieve keys at this time. Check your connection and try again.",lo="Nothing here",[["noKeysTemplate",""],De,mt,pi,Ls,[4,"appIfFeatureFlag"],[3,"appSpinner"],[3,"showBorder","showHeader"],[1,"d-flex","align-items-center","justify-content-between"],[1,"btn","btn-secondary",3,"click"],["title",Pt,3,"showBorder"],[3,"ngSwitch"],["class","mt-2",3,"appSpinner",4,"ngSwitchCase"],[4,"ngSwitchCase"],["class","mt-2",4,"ngSwitchCase"],[1,"mt-2",3,"appSpinner"],[4,"ngIf"],[3,"ngIf","ngIfElse"],[3,"click",4,"ngFor","ngForOf"],[3,"click"],[1,"eim-font-side-sheet-list-item_font-size"],[1,"mt-2"],["type","danger"],["imgSrc","assets/img/empty-states/empty-state-generic.svg","label",lo]]},template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header"),o.pXf(1,1),o.k0s(),o.DNE(2,ci,15,12,"ng-container",5)(3,Ue,6,2,"ng-container",5)(4,Un,1,0,"ng-template",null,0,o.C5r)),2&Pt&&(o.R7$(2),o.Y8G("appIfFeatureFlag",mt.FeatureFlags.FEATURE_INTEGRATION_BUCKET),o.R7$(),o.Y8G("appIfFeatureFlag","!"+mt.FeatureFlags.FEATURE_INTEGRATION_BUCKET))},dependencies:[H.Sq,H.bT,H.ux,H.e1,In.C,ie.b,ne.d,Di.N,Q.R,le.D,Li.o,te.r,H.Jj],encapsulation:2,changeDetection:0})}return je})();var Xn=s(55516),Ii=s(84572),En=s(99172),ln=s(23294),Dn=s(70980);const Ai={label:"Internet",value:"Internet"},os={label:"OAuth",value:"oAuth"},Fs={label:"Token auth",value:"tokenAuth"},sn=[{label:"Username and Password",value:"basic"},{label:"Microsoft 365",value:"oauth2-m365"}];var oi=function(je){return je.BASIC="basic",je.OAUTH2_M365="oauth2-m365",je}(oi||{}),pt=s(18452),cn=s(30348),Tn=s(10506);function vi(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Connect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.connectToolTip)}}function ui(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callResync())}),o.EFF(1," Synchronize "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.resyncToolTip)}}function $i(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Reconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.reconnectToolTip)}}function Nn(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callDisconnect())}),o.EFF(1," Disconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.disconnectToolTip)}}function Hn(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",11),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onTestConnection())}),o.EFF(1," Test connection "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("disabled",De.form.invalid)("ngbTooltip",De.testConnectionTooltip)}}function Qn(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",14),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(1,"Delete"),o.k0s()}}function ri(je,Kn){if(1&je&&(o.j41(0,"div",12),o.DNE(1,Qn,2,0,"button",13),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngIf",!!De.tip)}}let li=(()=>{class je{constructor(De,Pt,mt,pi,Ls,lo,Ro){this.fb=De,this.integrationCenterConfigurationService=Pt,this.toastService=mt,this.sideSheetService=pi,this.cdr=Ls,this.encryptionService=lo,this.featureFlagStateService=Ro,this.form=this.fb.group({}),this.model=Object.create({}),this.loadingStates=y.Gu,this.loadingState=y.Gu.empty,this.testConnectionEndpoint="",this.showResync=!1,this.showConnect=!1,this.showReconnect=!1,this.showDisconnect=!1,this.isFeatureEnabled=!1,this.resyncToolTip="",this.connectToolTip="",this.reconnectToolTip="",this.disconnectToolTip="",this.testConnectionTooltip="",this.showDeleteButton=!0,this.options={formState:{connectViaOptions:[Ai]}},this.defaultInstance={},this.showTestConnection=!0,this.disabled$=(0,Ii.z)([this.form.statusChanges,this.form.valueChanges]).pipe((0,F.T)(()=>!(!this.form.pristine&&!this.form.invalid)),(0,En.Z)(!0),(0,ln.F)()),this.unsubscribe$=new gt.B}ngOnInit(){this.loadSettings(this.tip,this.scheme)}setTip(De){this.tip=De}getConnectViaOptions$(){return this.integrationCenterConfigurationService.getConnectViaNetworks()}isFeatureEnabled$(De){return(0,O.isEmpty)(De)?(0,z.of)(!1):this.featureFlagStateService.isFeatureEnabled$(De).pipe((0,ke.Q)(this.unsubscribe$))}loadSettings(De,Pt){this.loadingState=y.Gu.inProgress;let mt=(0,z.of)({});De&&(mt=this.integrationCenterConfigurationService.loadSettings(De,Pt,this.defaultInstance).pipe((0,ke.Q)(this.unsubscribe$))),(0,Ii.z)([mt,this.getConnectViaOptions$().pipe((0,ke.Q)(this.unsubscribe$)),this.isFeatureEnabled$(this.featureFlagName)]).subscribe(([pi,Ls,lo])=>{this.isFeatureEnabled=lo,this.callOnInitManually(),(0,O.isEmpty)(Ls.connectVia)||(this.options.formState.connectViaOptions=this.options.formState.connectViaOptions.concat(Ls.connectVia.sort().map(Ro=>({label:Ro,value:Ro})))),this.loadingState=y.Gu.loaded,this.model=this.transformToModel(pi),(0,O.isEmpty)(this.secretFieldsToHide)||this.secretFieldsToHide.forEach(Ro=>this.model[Ro]=""),this.subscribeConnectVia(),this.cdr.detectChanges()},pi=>{this.loadingState=y.Gu.failed})}subscribeConnectVia(){this.form.valueChanges.subscribe(De=>{const Pt=this.form.get("connectVia");Pt&&!this.model.connectVia&&Pt.patchValue(Ai.value)})}onTestConnection(){const De=this.prepareTestProps();this.integrationCenterConfigurationService.testConnection(this.testConnectionEndpoint,De).subscribe(Pt=>{this.loadingState=y.Gu.loaded,(0,O.isEmpty)(Pt)||(0,O.isEmpty)(Pt.statusCode)||200===Pt.statusCode?this.toastService.showSuccessToast((0,O.get)(Pt,"body.message","Test connection successful.")):this.toastService.showErrorToast((0,O.get)(Pt,"body.message",this.testConnectionMessage)),this.cdr.markForCheck()},Pt=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast((0,O.get)(Pt,"error.message",this.testConnectionMessage)),this.cdr.markForCheck()})}encryptForm$(){return this.form.get(this.encryptedDataFieldName)?.dirty?this.encryptionService.encryptedString({value:this.model[this.encryptedDataFieldName],servicePath:this.servicePath}).pipe((0,E.$)(),(0,F.T)(De=>{if(De.error)throw new Error(De.error);const Pt=(0,O.get)(De,"result.encryptedData",null),mt=(0,O.get)(De,"result.encryptedDataKey",null);if(!Pt||!mt)throw new Error("Missing encryption results.");return{...this.model,[this.encryptedDataFieldName]:Pt,[this.encryptedDataKeyFieldName]:mt}})):(0,z.of)(this.model)}prepareTestProps(){return null}callResync(){return null}callConnect(){return null}callDisconnect(){return null}callOnInitManually(){return null}onSave(){this.loadingState=y.Gu.inProgress,this.encryptForm$().pipe((0,E.$)(),(0,k.n)(De=>this.integrationCenterConfigurationService.saveSettings(this.tip,this.transformToData(De),this.scheme,this.enoType).pipe((0,E.$)()))).subscribe(()=>{this.toastService.showSuccessToast("Settings successfully saved"),this.sideSheetService.pop()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to save settings."),this.cdr.detectChanges()})}onDelete(){this.loadingState=y.Gu.inProgress,this.integrationCenterConfigurationService.onDelete(this.tip).pipe((0,E.$)(),(0,Dn.j)(()=>{this.loadingState=y.Gu.loaded})).subscribe(()=>{this.toastService.showSuccessToast("Settings removed"),this.sideSheetService.pop()},()=>{this.toastService.showErrorToast("Failed to delete settings")})}transformToModel(De){return De.connectVia=De.connectVia||Ai.value,De}transformToData(De){const Pt=De.connectVia===Ai.value?null:De.connectVia;return{...De,connectVia:Pt}}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(pt.L),o.rXU(w.f),o.rXU(M.E),o.rXU(o.gRc),o.rXU(cn.U),o.rXU(Tn.F))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-integration-center-configuration"]],decls:16,vars:20,consts:[[3,"actioned","showCancelButton","disabled","action"],[1,"text-right","px-3","test-connection"],[1,"left-button-class-for-connect"],["placement","right","class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"ngbTooltip","click",4,"ngIf"],[1,"left-button-class"],["class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"disabled","ngbTooltip","click",4,"ngIf"],[3,"showBorder","showHeader"],[1,"",3,"formGroup","appSpinner"],[3,"fields","model","form","options"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],["placement","right","data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","ngbTooltip"],["data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","disabled","ngbTooltip"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],["class","btn btn-danger",3,"click",4,"ngIf"],[1,"btn","btn-danger",3,"click"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(2),o.k0s(),o.j41(3,"div",1)(4,"span",2),o.DNE(5,vi,2,1,"button",3),o.k0s()(),o.j41(6,"div",1)(7,"span",4),o.DNE(8,ui,2,1,"button",3)(9,$i,2,1,"button",3)(10,Nn,2,1,"button",3),o.k0s(),o.DNE(11,Hn,2,2,"button",5),o.k0s(),o.j41(12,"app-side-sheet-section",6)(13,"form",7),o.nrm(14,"formly-form",8),o.k0s(),o.DNE(15,ri,2,1,"div",9),o.k0s()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",o.bMT(1,18,mt.disabled$))("action","Save"),o.R7$(2),o.SpI(" ",mt.title,"\n"),o.R7$(3),o.Y8G("ngIf",mt.showConnect),o.R7$(3),o.Y8G("ngIf",mt.showResync),o.R7$(),o.Y8G("ngIf",mt.showReconnect),o.R7$(),o.Y8G("ngIf",mt.showDisconnect),o.R7$(),o.Y8G("ngIf",mt.showTestConnection),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options),o.R7$(),o.Y8G("ngIf",mt.showDeleteButton))},dependencies:[H.bT,C.qT,C.cb,C.j4,ie.b,ne.d,Q.R,le.D,pe.aF,ze.md,H.Jj],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}.left-button-class[_ngcontent-%COMP%]{float:left;left:5px}.left-button-class-for-connect[_ngcontent-%COMP%]{display:flex}"],changeDetection:0})}return je})();const Fi=[{key:"name",type:"input",templateOptions:{type:"text",label:"Name",required:!0}},{key:"bucketName",type:"input",templateOptions:{type:"text",label:"Bucket name",required:!0}},{key:"region",type:"input",templateOptions:{type:"text",label:"Region",required:!0}},{key:"endpoint",type:"input",templateOptions:{type:"text",label:"Endpoint"}},{key:"accessKeyId",type:"input",templateOptions:{type:"text",label:"Access key Id",required:!0}},{key:"secretAccessKey",type:"string-encryption",templateOptions:{rows:3,label:"Secret access key",required:!0}},{key:"path",type:"input",templateOptions:{type:"text",label:"Base path",required:!0}}];var ei=s(48636);const Hi={"app/integration-amazon-s3:name":{type:ei.U.string},"app/integration-amazon-s3:bucket-name":{type:ei.U.string},"app/integration-amazon-s3:region":{type:ei.U.string},"app/integration-amazon-s3:endpoint":{type:ei.U.string},"app/integration-amazon-s3:access-key-id":{type:ei.U.string},"app/integration-amazon-s3:secret-access-key":{type:ei.U.string},"app/integration-amazon-s3:encrypted-secret-access-key":{type:ei.U.string},"app/integration-amazon-s3:path":{type:ei.U.string}};function gn(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Connect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.connectToolTip)}}function yn(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callResync())}),o.EFF(1," Synchronize "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.resyncToolTip)}}function hn(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Reconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.reconnectToolTip)}}function Bn(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callDisconnect())}),o.EFF(1," Disconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.disconnectToolTip)}}function mi(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",11),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onTestConnection())}),o.EFF(1," Test connection "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("disabled",De.form.invalid)("ngbTooltip",De.testConnectionTooltip)}}function wi(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",14),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(1,"Delete"),o.k0s()}}function Si(je,Kn){if(1&je&&(o.j41(0,"div",12),o.DNE(1,wi,2,0,"button",13),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngIf",!!De.tip)}}let Cn=(()=>{class je extends li{constructor(De,Pt,mt,pi,Ls,lo){super(De,Pt,mt,pi,Ls,lo),this.fb=De,this.integrationCenterConfigurationService=Pt,this.toastService=mt,this.sideSheetService=pi,this.cdr=Ls,this.encryptionService=lo,this.title="Configure S3 bucket",this.enoType="app/integration-amazon-s3",this.fields=(0,O.cloneDeep)(Fi),this.scheme=Hi,this.testConnectionMessage="Unable to connect to S3 server.",this.testConnectionEndpoint=((0,o.naY)()?"http://localhost:4200":Y.c.host)+`${Y.c.s3ServicePath}${Y.c.testConnectionPath}`,this.encryptedDataFieldName="secretAccessKey",this.encryptedDataKeyFieldName="encryptedSecretAccessKey",this.servicePath=Y.c.s3ServicePath,this.model=Object.create({})}prepareTestProps(){return{...this.tip?{locationTip:this.tip}:{},...this.form.get("secretAccessKey").dirty?{secretAccessKey:this.model.secretAccessKey}:{},bucket:this.model.bucketName,endpoint:this.model.endpoint,accessKeyId:this.model.accessKeyId,region:this.model.region,path:this.model.path}}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(pt.L),o.rXU(w.f),o.rXU(M.E),o.rXU(o.gRc),o.rXU(cn.U))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-integration-center-configuration"]],features:[o.Vt3],decls:16,vars:20,consts:[[3,"actioned","showCancelButton","disabled","action"],[1,"text-right","px-3","test-connection"],[1,"left-button-class-for-connect"],["placement","right","class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"ngbTooltip","click",4,"ngIf"],[1,"left-button-class"],["class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"disabled","ngbTooltip","click",4,"ngIf"],[3,"showBorder","showHeader"],[1,"",3,"formGroup","appSpinner"],[3,"fields","model","form","options"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],["placement","right","data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","ngbTooltip"],["data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","disabled","ngbTooltip"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],["class","btn btn-danger",3,"click",4,"ngIf"],[1,"btn","btn-danger",3,"click"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(2),o.k0s(),o.j41(3,"div",1)(4,"span",2),o.DNE(5,gn,2,1,"button",3),o.k0s()(),o.j41(6,"div",1)(7,"span",4),o.DNE(8,yn,2,1,"button",3)(9,hn,2,1,"button",3)(10,Bn,2,1,"button",3),o.k0s(),o.DNE(11,mi,2,2,"button",5),o.k0s(),o.j41(12,"app-side-sheet-section",6)(13,"form",7),o.nrm(14,"formly-form",8),o.k0s(),o.DNE(15,Si,2,1,"div",9),o.k0s()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",o.bMT(1,18,mt.disabled$))("action","Save"),o.R7$(2),o.SpI(" ",mt.title,"\n"),o.R7$(3),o.Y8G("ngIf",mt.showConnect),o.R7$(3),o.Y8G("ngIf",mt.showResync),o.R7$(),o.Y8G("ngIf",mt.showReconnect),o.R7$(),o.Y8G("ngIf",mt.showDisconnect),o.R7$(),o.Y8G("ngIf",mt.showTestConnection),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options),o.R7$(),o.Y8G("ngIf",mt.showDeleteButton))},dependencies:[H.bT,C.qT,C.cb,C.j4,ie.b,ne.d,Q.R,le.D,pe.aF,ze.md,H.Jj],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}.left-button-class[_ngcontent-%COMP%]{float:left;left:5px}.left-button-class-for-connect[_ngcontent-%COMP%]{display:flex}"],changeDetection:0})}return je})();var ut=s(51229);let Mt=(()=>{class je{constructor(De){this.queryService=De}getItems(De,Pt){return this.queryService.execute1dFirst(De,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:[`FIELD("${Pt}:name")`],sortdir:["asc"]}]})}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.KVO(ut.c))};static#t=this.\u0275prov=o.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})();var Bt=s(69595),Rt=s(99213),Jt=s(42017);const He=je=>({items:je}),fe=()=>["name"];function nt(je,Kn){1&je&&o.eu8(0)}function Ot(je,Kn){if(1&je&&(o.j41(0,"app-alert",16),o.EFF(1),o.k0s()),2&je){const De=o.XpG(3);o.R7$(),o.JRh(De.errorMessage)}}function rn(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-side-sheet-list-item",18),o.bIt("click",function(){const mt=o.eBV(De).$implicit,pi=o.XpG(4);return o.Njj(pi.openItem(mt.$tip))}),o.j41(1,"div",19),o.EFF(2),o.k0s()()}if(2&je){const De=Kn.$implicit;o.Y8G("hasChevron",!0),o.R7$(2),o.JRh(De.name)}}function Jn(je,Kn){if(1&je&&(o.j41(0,"app-side-sheet-list"),o.DNE(1,rn,3,2,"app-side-sheet-list-item",17),o.nI1(2,"filter"),o.k0s()),2&je){const De=o.XpG(2).items,Pt=o.XpG();o.R7$(),o.Y8G("ngForOf",o.brH(2,1,De,Pt.filterText,o.lJ4(5,fe)))}}function Oi(je,Kn){if(1&je&&(o.qex(0),o.DNE(1,Ot,2,1,"app-alert",14)(2,Jn,3,6,"app-side-sheet-list",15),o.bVm()),2&je){const De=o.XpG(2);o.R7$(),o.Y8G("ngIf",De.loadingState===De.loadingStates.failed),o.R7$(),o.Y8G("ngIf",De.loadingState===De.loadingStates.loaded)}}function Ci(je,Kn){1&je&&o.nrm(0,"div",20),2&je&&o.Y8G("appSpinner",!0)}function Ui(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-empty-state",21),o.bIt("actionClick",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.createItem())}),o.k0s()}if(2&je){const De=o.XpG(2);o.FS9("label",De.labelForEmptyState),o.FS9("actionText",De.actionTextForEmptyState)}}function ps(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-side-sheet-header"),o.EFF(1),o.k0s(),o.j41(2,"div")(3,"div",3)(4,"div",4)(5,"div",5),o.nrm(6,"span",6),o.j41(7,"input",7),o.mxI("ngModelChange",function(mt){o.eBV(De);const pi=o.XpG();return o.DH7(pi.filterText,mt)||(pi.filterText=mt),o.Njj(mt)}),o.k0s()(),o.j41(8,"div",8)(9,"button",9),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.createItem())}),o.nrm(10,"mat-icon",10),o.k0s()()()(),o.j41(11,"app-side-sheet-section",11),o.DNE(12,Oi,3,2,"ng-container",12)(13,Ci,1,1,"ng-template",null,1,o.C5r)(15,Ui,1,2,"app-empty-state",13),o.k0s()()}if(2&je){const De=Kn.items,Pt=o.sdS(14),mt=o.XpG();o.R7$(),o.JRh(mt.header),o.R7$(6),o.R50("ngModel",mt.filterText),o.R7$(4),o.FS9("title",mt.displayTitle),o.R7$(),o.Y8G("ngIf",De)("ngIfElse",Pt),o.R7$(3),o.Y8G("ngIf",mt.loadingState===mt.loadingStates.loaded&&!(null!=De&&De.length))}}let Ji=(()=>{class je{constructor(De,Pt,mt){this.cdr=De,this.sideSheetService=Pt,this.integrationListService=mt,this.filterText="",this.loadingStates=y.Gu,this.displayTitle="",this.actionTextForEmptyState="",this.labelForEmptyState=""}ngOnInit(){this.items$=this.getItems(),this.loadingState=y.Gu.loaded,this.editInfoToDisplay(),this.cdr.markForCheck()}getItems(){return this.errorMessage=null,this.loadingState=y.Gu.inProgress,this.integrationListService.getItems(this.queryTip,this.enoType).pipe((0,Ne.M)(De=>this.loadingState=y.Gu.loaded),(0,U.W)(De=>(this.errorMessage=`Failed to load ${this.title} servers`,this.loadingState=y.Gu.failed,(0,z.of)([]))))}createItem(){this.sideSheetService.push(this.detailsComponent).componentInstance.model=Object.create({})}openItem(De){const mt=this.sideSheetService.push(this.detailsComponent).componentInstance;mt.model=Object.create({}),mt.setTip(De)}editInfoToDisplay(){"app/integration-amazon-s3"===this.enoType?(this.displayTitle=`${this.title} buckets`,this.actionTextForEmptyState="Add an S3 bucket",this.labelForEmptyState="No buckets configured"):(this.displayTitle=`${this.title} servers`,this.actionTextForEmptyState=`Add a new ${this.title} server`,this.labelForEmptyState="No servers configured")}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(o.gRc),o.rXU(M.E),o.rXU(Mt))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-integration-list"]],inputs:{enoType:"enoType",header:"header",actionText:"actionText",queryTip:"queryTip",title:"title",detailsComponent:"detailsComponent"},decls:4,vars:6,consts:[["itemList",""],["loading",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"px-3","py-2"],[1,"d-flex","align-items-center"],[1,"search-input","flex-grow-1"],[1,"search-input-icon","mdi","mdi-search"],["type","text","placeholder","",1,"form-control",3,"ngModelChange","ngModel"],[1,"d-flex"],["data-test","sftp-server-add-button",1,"eim-button_minimized","btn","btn-secondary","btn-add","ml-3",3,"click"],["svgIcon","plus"],[3,"title"],[4,"ngIf","ngIfElse"],["imgSrc","assets/img/empty-states/empty-state-generic.svg",3,"label","actionText","actionClick",4,"ngIf"],["type","danger",4,"ngIf"],[4,"ngIf"],["type","danger"],[3,"hasChevron","click",4,"ngFor","ngForOf"],[3,"click","hasChevron"],[1,"eim-font-side-sheet-list-item_font-size"],[1,"mt-6",3,"appSpinner"],["imgSrc","assets/img/empty-states/empty-state-generic.svg",3,"actionClick","label","actionText"]],template:function(Pt,mt){if(1&Pt&&(o.DNE(0,nt,1,0,"ng-container",2),o.nI1(1,"async"),o.DNE(2,ps,16,6,"ng-template",null,0,o.C5r)),2&Pt){const pi=o.sdS(3);o.Y8G("ngTemplateOutlet",pi)("ngTemplateOutletContext",o.eq3(4,He,o.bMT(1,2,mt.items$)))}},dependencies:[H.Sq,H.bT,H.T3,In.C,Q.R,C.me,C.BC,ie.b,le.D,Di.N,Bt.A,Li.o,Rt.An,C.vS,ne.d,H.Jj,Jt.L],changeDetection:0})}return je})();const _s=["integrationList"];let js=(()=>{class je{constructor(){this.enoType="app/integration-amazon-s3",this.header="Amazon S3",this.actionText="Add a new Amazon S3 connection",this.queryTip=Xn.R.GET_ALL_AMAZON_S3,this.title="Amazon S3",this.detailsComponent=Cn}static#e=this.\u0275fac=function(Pt){return new(Pt||je)};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-amazon-s3-integration"]],viewQuery:function(Pt,mt){if(1&Pt&&o.GBs(_s,7),2&Pt){let pi;o.mGM(pi=o.lsd())&&(mt.integrationList=pi.first)}},decls:2,vars:6,consts:[["integrationList",""],[3,"header","title","actionText","enoType","queryTip","detailsComponent"]],template:function(Pt,mt){1&Pt&&o.nrm(0,"app-integration-list",1,0),2&Pt&&o.Y8G("header",mt.header)("title",mt.title)("actionText",mt.actionText)("enoType",mt.enoType)("queryTip",mt.queryTip)("detailsComponent",mt.detailsComponent)},dependencies:[Ji],encapsulation:2,changeDetection:0})}return je})();var es=s(29058);const zs=[{key:"enabled",type:"toggle",templateOptions:{label:"Activate"}},{key:"name",type:"input",templateOptions:{type:"text",label:"Name",required:!0}},{key:"hostname",type:"input",templateOptions:{type:"email",label:"Hostname",required:!0}},{key:"connectVia",type:es.og.name,defaultValue:null,templateOptions:{label:"Connect via",required:!0},expressionProperties:{"templateOptions.options":"formState.connectViaOptions"}},{key:"sftpPort",type:"number",templateOptions:{label:"Port",required:!0}},{key:"username",type:"input",templateOptions:{label:"Username",required:!0}},{key:"privateKey",type:"string-encryption",templateOptions:{label:"Private key",rows:3,required:!0}},{key:"path",type:"input",templateOptions:{type:"text",label:"Base path",required:!0}}],Gi={"app/integration-sftp:enabled":{type:ei.U.boolean},"app/integration-sftp:hostname":{type:ei.U.string},"app/integration-sftp:sftp-port":{type:ei.U.number},"app/integration-sftp:name":{type:ei.U.string},"app/integration-sftp:username":{type:ei.U.string},"app/integration-sftp:private-key":{type:ei.U.string},"app/integration-sftp:encrypted-key":{type:ei.U.string},"app/integration-sftp:connect-via":{type:ei.U.string},"app/integration-sftp:path":{type:ei.U.string}};function ds(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Connect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.connectToolTip)}}function rs(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callResync())}),o.EFF(1," Synchronize "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.resyncToolTip)}}function ao(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Reconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.reconnectToolTip)}}function wo(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callDisconnect())}),o.EFF(1," Disconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.disconnectToolTip)}}function zr(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",11),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onTestConnection())}),o.EFF(1," Test connection "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("disabled",De.form.invalid)("ngbTooltip",De.testConnectionTooltip)}}function Ea(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",14),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(1,"Delete"),o.k0s()}}function Rr(je,Kn){if(1&je&&(o.j41(0,"div",12),o.DNE(1,Ea,2,0,"button",13),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngIf",!!De.tip)}}let A0=(()=>{class je extends li{constructor(De,Pt,mt,pi,Ls,lo){super(De,Pt,mt,pi,Ls,lo),this.fb=De,this.integrationCenterConfigurationService=Pt,this.toastService=mt,this.sideSheetService=pi,this.cdr=Ls,this.encryptionService=lo,this.title="SFTP configuration",this.enoType="app/integration-sftp",this.fields=(0,O.cloneDeep)(zs),this.scheme=Gi,this.testConnectionMessage="Unable to connect to SFTP server.",this.testConnectionEndpoint=((0,o.naY)()?"http://localhost:4200":Y.c.host)+`${Y.c.sftpServicePath}${Y.c.testConnectionPath}`,this.encryptedDataFieldName="privateKey",this.encryptedDataKeyFieldName="encryptedKey",this.servicePath=Y.c.sftpServicePath,this.model=Object.create({})}prepareTestProps(){const De=this.tip?{locationTip:this.tip}:{},Pt=this.form.get("privateKey").dirty?{privateKey:this.model.privateKey}:{};return{...De,...this.model.connectVia===Ai.value?{}:{vpceId:this.model.connectVia},...Pt,host:this.model.hostname,port:this.model.sftpPort,username:this.model.username,path:this.model.path}}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(pt.L),o.rXU(w.f),o.rXU(M.E),o.rXU(o.gRc),o.rXU(cn.U))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-integration-center-configuration"]],features:[o.Vt3],decls:16,vars:20,consts:[[3,"actioned","showCancelButton","disabled","action"],[1,"text-right","px-3","test-connection"],[1,"left-button-class-for-connect"],["placement","right","class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"ngbTooltip","click",4,"ngIf"],[1,"left-button-class"],["class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"disabled","ngbTooltip","click",4,"ngIf"],[3,"showBorder","showHeader"],[1,"",3,"formGroup","appSpinner"],[3,"fields","model","form","options"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],["placement","right","data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","ngbTooltip"],["data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","disabled","ngbTooltip"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],["class","btn btn-danger",3,"click",4,"ngIf"],[1,"btn","btn-danger",3,"click"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(2),o.k0s(),o.j41(3,"div",1)(4,"span",2),o.DNE(5,ds,2,1,"button",3),o.k0s()(),o.j41(6,"div",1)(7,"span",4),o.DNE(8,rs,2,1,"button",3)(9,ao,2,1,"button",3)(10,wo,2,1,"button",3),o.k0s(),o.DNE(11,zr,2,2,"button",5),o.k0s(),o.j41(12,"app-side-sheet-section",6)(13,"form",7),o.nrm(14,"formly-form",8),o.k0s(),o.DNE(15,Rr,2,1,"div",9),o.k0s()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",o.bMT(1,18,mt.disabled$))("action","Save"),o.R7$(2),o.SpI(" ",mt.title,"\n"),o.R7$(3),o.Y8G("ngIf",mt.showConnect),o.R7$(3),o.Y8G("ngIf",mt.showResync),o.R7$(),o.Y8G("ngIf",mt.showReconnect),o.R7$(),o.Y8G("ngIf",mt.showDisconnect),o.R7$(),o.Y8G("ngIf",mt.showTestConnection),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options),o.R7$(),o.Y8G("ngIf",mt.showDeleteButton))},dependencies:[H.bT,C.qT,C.cb,C.j4,ie.b,ne.d,Q.R,le.D,pe.aF,ze.md,H.Jj],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}.left-button-class[_ngcontent-%COMP%]{float:left;left:5px}.left-button-class-for-connect[_ngcontent-%COMP%]{display:flex}"],changeDetection:0})}return je})();const oa=["integrationList"];let bi=(()=>{class je{constructor(){this.enoType="app/integration-sftp",this.header="Secure File Transfer Protocol",this.actionText="Add a new SFTP server",this.queryTip=Xn.R.GET_ALL_SFTP,this.title="SFTP",this.detailsComponent=A0}static#e=this.\u0275fac=function(Pt){return new(Pt||je)};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-sftp-integration"]],viewQuery:function(Pt,mt){if(1&Pt&&o.GBs(oa,7),2&Pt){let pi;o.mGM(pi=o.lsd())&&(mt.integrationList=pi.first)}},decls:2,vars:6,consts:[["integrationList",""],[3,"header","title","actionText","enoType","queryTip","detailsComponent"]],template:function(Pt,mt){1&Pt&&o.nrm(0,"app-integration-list",1,0),2&Pt&&o.Y8G("header",mt.header)("title",mt.title)("actionText",mt.actionText)("enoType",mt.enoType)("queryTip",mt.queryTip)("detailsComponent",mt.detailsComponent)},dependencies:[Ji],encapsulation:2,changeDetection:0})}return je})(),Po=(()=>{class je{constructor(De){this.authSerivce=De,this.baseUrl=Y.c.host+Y.c.twilioPath,this.getDedicatedNumbers=(Pt,mt={})=>((0,O.set)(mt,"params.includeAlphaOrigins","true"),this.authSerivce.get(this.baseUrl+"/"+Pt+"/numbers",mt).pipe((0,F.T)(pi=>(0,x.Z)(pi,{phoneNumbers:null}).phoneNumbers||[]),(0,U.W)(pi=>(0,q.$)(pi))))}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.KVO(B.V))};static#t=this.\u0275prov=o.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})();function Pn(je,Kn){if(1&je&&(o.j41(0,"div",9),o.EFF(1),o.k0s()),2&je){const De=o.XpG().$implicit;o.R7$(),o.SpI(" when sent to ",De.whenSentToCountry,"")}}function Ei(je,Kn){1&je&&(o.j41(0,"div",9),o.EFF(1," when sent elsewhere"),o.k0s())}function fi(je,Kn){if(1&je&&(o.j41(0,"app-side-sheet-list-item")(1,"div"),o.EFF(2),o.k0s(),o.DNE(3,Pn,2,1,"div",8)(4,Ei,2,0,"div",8),o.k0s()),2&je){const De=Kn.$implicit;o.R7$(2),o.JRh(De.phoneNumber),o.R7$(),o.Y8G("ngIf",De.whenSentToCountry),o.R7$(),o.Y8G("ngIf",!De.whenSentToCountry)}}function Ks(je,Kn){if(1&je&&(o.j41(0,"div"),o.DNE(1,fi,5,3,"app-side-sheet-list-item",7),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngForOf",De.smsNumbers)}}function fa(je,Kn){1&je&&o.nrm(0,"app-empty-state",10)}function za(je,Kn){if(1&je&&(o.j41(0,"div",9),o.EFF(1),o.k0s()),2&je){const De=o.XpG().$implicit;o.R7$(),o.SpI(" when calling ",De.whenSentToCountry,"")}}function l1(je,Kn){1&je&&(o.j41(0,"div",9),o.EFF(1," when calling elsewhere"),o.k0s())}function Yn(je,Kn){if(1&je&&(o.j41(0,"app-side-sheet-list-item")(1,"span")(2,"div"),o.EFF(3),o.k0s(),o.DNE(4,za,2,1,"div",8)(5,l1,2,0,"div",8),o.k0s()()),2&je){const De=Kn.$implicit;o.R7$(3),o.JRh(De.phoneNumber),o.R7$(),o.Y8G("ngIf",De.whenSentToCountry),o.R7$(),o.Y8G("ngIf",!De.whenSentToCountry)}}function so(je,Kn){if(1&je&&(o.j41(0,"div"),o.DNE(1,Yn,6,3,"app-side-sheet-list-item",7),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngForOf",De.voiceNumbers)}}function Hr(je,Kn){1&je&&o.nrm(0,"app-empty-state",11)}let vr=(()=>{class je{constructor(De){this.dnService=De,this.LoadingState=y.Gu}ngOnInit(){this.loadingState=y.Gu.inProgress,(0,Ii.z)([this.dnService.getDedicatedNumbers("sms").pipe((0,E.$)(),(0,U.W)(()=>(0,z.of)(null))),this.dnService.getDedicatedNumbers("voice").pipe((0,E.$)(),(0,U.W)(()=>(0,z.of)(null)))]).subscribe(([De,Pt])=>{this.loadingState=y.Gu.loaded,De&&(this.smsNumbers=De),Pt&&(this.voiceNumbers=Pt)},()=>this.loadingState=y.Gu.failed)}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(Po))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-sender-id-settings-side-sheet"]],decls:15,vars:9,consts:[[3,"appSpinner"],["title","SMS origins",3,"showBorder","showHeader"],[4,"ngIf"],["class","empty","size","md","imgSrc","assets/img/global-icons/no-dedicated-nbr.svg","label","No SMS origins",4,"ngIf"],[1,"side-sheet-section-divider","mb-2"],["title","Voice origins",3,"showBorder","showHeader"],["class","empty","size","md","imgSrc","assets/img/global-icons/no-dedicated-nbr.svg","label","No voice origins",4,"ngIf"],[4,"ngFor","ngForOf"],["class","caveat",4,"ngIf"],[1,"caveat"],["size","md","imgSrc","assets/img/global-icons/no-dedicated-nbr.svg","label","No SMS origins",1,"empty"],["size","md","imgSrc","assets/img/global-icons/no-dedicated-nbr.svg","label","No voice origins",1,"empty"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header"),o.EFF(1,"SMS & voice origins"),o.k0s(),o.j41(2,"div",0)(3,"div")(4,"app-side-sheet-section",1)(5,"p"),o.EFF(6,"Messages can be sent from the following origins:"),o.k0s(),o.DNE(7,Ks,2,1,"div",2)(8,fa,1,0,"app-empty-state",3),o.k0s(),o.nrm(9,"div",4),o.j41(10,"app-side-sheet-section",5)(11,"p"),o.EFF(12,"Messages can be sent from the following origins:"),o.k0s(),o.DNE(13,so,2,1,"div",2)(14,Hr,1,0,"app-empty-state",6),o.k0s()()()),2&Pt&&(o.R7$(2),o.Y8G("appSpinner",mt.loadingState===mt.LoadingState.inProgress),o.R7$(2),o.Y8G("showBorder",!1)("showHeader",!0),o.R7$(3),o.Y8G("ngIf",(null==mt.smsNumbers?null:mt.smsNumbers.length)>0),o.R7$(),o.Y8G("ngIf",mt.loadingState===mt.LoadingState.loaded&&!(null!=mt.smsNumbers&&mt.smsNumbers.length)),o.R7$(2),o.Y8G("showBorder",!1)("showHeader",!0),o.R7$(3),o.Y8G("ngIf",(null==mt.voiceNumbers?null:mt.voiceNumbers.length)>0),o.R7$(),o.Y8G("ngIf",mt.loadingState===mt.LoadingState.loaded&&!(null!=mt.voiceNumbers&&mt.voiceNumbers.length)))},dependencies:[H.Sq,H.bT,ie.b,Di.N,Q.R,le.D,Li.o],styles:[".caveat[_ngcontent-%COMP%]{font-size:.8em}"]})}return je})();const Sa=[{key:"enabled",type:"toggle",templateOptions:{label:"Activate"}},{key:"accountSid",type:"input",templateOptions:{type:"text",label:"Account SID",required:!0}},{key:"serviceSid",type:"input",templateOptions:{type:"text",label:"Message service SID",required:!0}},{key:"authToken",type:"string-encryption",templateOptions:{label:"Auth token",required:!0}},{key:"hostName",type:"input",templateOptions:{type:"text",label:"Hostname"}},{key:"connectVia",type:es.og.name,defaultValue:null,templateOptions:{label:"Connect via",required:!0},expressionProperties:{"templateOptions.options":"formState.connectViaOptions"}},{type:"text-content",templateOptions:{html:'\n          <p class="eim-font-color_form-element-label">\n            Only required if using an egress Private Link Add-on.\n          </p>\n        '}}],X1={"app/integration-twilio-sms:enabled":{type:ei.U.boolean},"app/integration-twilio-sms:account-sid":{type:ei.U.string},"app/integration-twilio-sms:service-sid":{type:ei.U.string},"app/integration-twilio-sms:auth-token":{type:ei.U.string},"app/integration-twilio-sms:auth-token-key":{type:ei.U.string},"app/integration-twilio-sms:host-name":{type:ei.U.string},"app/integration-twilio-sms:connect-via":{type:ei.U.string}};function _1(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Connect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.connectToolTip)}}function K1(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callResync())}),o.EFF(1," Synchronize "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.resyncToolTip)}}function Ga(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Reconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.reconnectToolTip)}}function cl(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callDisconnect())}),o.EFF(1," Disconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.disconnectToolTip)}}function Ol(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",11),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onTestConnection())}),o.EFF(1," Test connection "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("disabled",De.form.invalid)("ngbTooltip",De.testConnectionTooltip)}}function Wa(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",14),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(1,"Delete"),o.k0s()}}function Jr(je,Kn){if(1&je&&(o.j41(0,"div",12),o.DNE(1,Wa,2,0,"button",13),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngIf",!!De.tip)}}let p0=(()=>{class je extends li{constructor(De,Pt,mt,pi,Ls,lo){super(De,Pt,mt,pi,Ls,lo),this.fb=De,this.integrationCenterConfigurationService=Pt,this.toastService=mt,this.sideSheetService=pi,this.cdr=Ls,this.encryptionService=lo,this.tip="app/integration-twilio-sms/instance",this.title="Twilio SMS",this.enoType="app/integration-twilio-sms",this.fields=(0,O.cloneDeep)(Sa),this.scheme=X1,this.showDeleteButton=!1,this.testConnectionMessage="Unable to connect to SMS service provider.",this.testConnectionEndpoint=((0,o.naY)()?"http://localhost:4200":Y.c.host)+`${Y.c.twilioPath}${Y.c.testConnectionPath}`,this.encryptedDataFieldName="authToken",this.encryptedDataKeyFieldName="authTokenKey",this.servicePath=Y.c.twilioPath,this.model=Object.create({}),this.defaultInstance={enabled:!1,accountSid:null,serviceSid:null,authToken:null,authTokenKey:null,hostName:null}}prepareTestProps(){return{...this.form.get("authToken").dirty?{password:this.model.authToken}:{},...this.model.connectVia===Ai.value?{}:{vpceId:this.model.connectVia},accountSid:this.model.accountSid,serviceSid:this.model.serviceSid,hostName:this.model.hostName}}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(pt.L),o.rXU(w.f),o.rXU(M.E),o.rXU(o.gRc),o.rXU(cn.U))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-sms-settings-side-sheet"]],features:[o.Vt3],decls:16,vars:20,consts:[[3,"actioned","showCancelButton","disabled","action"],[1,"text-right","px-3","test-connection"],[1,"left-button-class-for-connect"],["placement","right","class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"ngbTooltip","click",4,"ngIf"],[1,"left-button-class"],["class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"disabled","ngbTooltip","click",4,"ngIf"],[3,"showBorder","showHeader"],[1,"",3,"formGroup","appSpinner"],[3,"fields","model","form","options"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],["placement","right","data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","ngbTooltip"],["data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","disabled","ngbTooltip"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],["class","btn btn-danger",3,"click",4,"ngIf"],[1,"btn","btn-danger",3,"click"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(2),o.k0s(),o.j41(3,"div",1)(4,"span",2),o.DNE(5,_1,2,1,"button",3),o.k0s()(),o.j41(6,"div",1)(7,"span",4),o.DNE(8,K1,2,1,"button",3)(9,Ga,2,1,"button",3)(10,cl,2,1,"button",3),o.k0s(),o.DNE(11,Ol,2,2,"button",5),o.k0s(),o.j41(12,"app-side-sheet-section",6)(13,"form",7),o.nrm(14,"formly-form",8),o.k0s(),o.DNE(15,Jr,2,1,"div",9),o.k0s()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",o.bMT(1,18,mt.disabled$))("action","Save"),o.R7$(2),o.SpI(" ",mt.title,"\n"),o.R7$(3),o.Y8G("ngIf",mt.showConnect),o.R7$(3),o.Y8G("ngIf",mt.showResync),o.R7$(),o.Y8G("ngIf",mt.showReconnect),o.R7$(),o.Y8G("ngIf",mt.showDisconnect),o.R7$(),o.Y8G("ngIf",mt.showTestConnection),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options),o.R7$(),o.Y8G("ngIf",mt.showDeleteButton))},dependencies:[H.bT,C.qT,C.cb,C.j4,ie.b,ne.d,Q.R,le.D,pe.aF,ze.md,H.Jj],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}.left-button-class[_ngcontent-%COMP%]{float:left;left:5px}.left-button-class-for-connect[_ngcontent-%COMP%]{display:flex}"],changeDetection:0})}return je})();const Tr=[{key:"enabled",type:"toggle",templateOptions:{label:"Enable"}},{key:"name",type:"input",templateOptions:{type:"text",label:"Name",required:!0}},{key:"fromAddress",type:"input",templateOptions:{type:"text",label:"From address",required:!0}},{key:"serverAddress",type:"input",templateOptions:{type:"text",label:"Server address",required:!0}},{key:"smtpPort",type:"input",templateOptions:{type:"number",label:"SMTP port",required:!0}},{key:"authenticationMethod",type:"option-list",templateOptions:{label:"Authentication method",title:"Select authentication method",placeholder:"Select authentication method",options:sn,required:!0},defaultValue:oi.BASIC},{type:es.jG.name,templateOptions:{html:'<p>This authentication method uses the configuration provided as part of M365 integration. Please check this configuration <span class="text-content-href-link">here</span>.</p>'},hideExpression:je=>je.authenticationMethod!==oi.OAUTH2_M365},{key:"userName",type:"input",templateOptions:{type:"text",label:"Username",required:!0},hideExpression:je=>je.authenticationMethod!==oi.BASIC},{key:"password",type:"string-encryption",templateOptions:{label:"Password",required:!0},hideExpression:je=>je.authenticationMethod!==oi.BASIC},{key:"connectVia",type:es.og.name,defaultValue:null,templateOptions:{label:"Connect via",required:!0},expressionProperties:{"templateOptions.options":"formState.connectViaOptions"}},{type:"text-content",templateOptions:{html:'\n        <p class="eim-font-color_form-element-label">\n          Only required if using an egress Private Link Add-on.\n        </p>\n      '}},{key:"deliveryRate",type:"input",templateOptions:{type:"number",label:"Maximum messages per minute",required:!0}}],Ta={"app/integration-smtp:enabled":{type:ei.U.boolean},"app/integration-smtp:name":{type:ei.U.string},"app/integration-smtp:from-address":{type:ei.U.string},"app/integration-smtp:server-address":{type:ei.U.string},"app/integration-smtp:smtp-port":{type:ei.U.number},"app/integration-smtp:user-name":{type:ei.U.string},"app/integration-smtp:password":{type:ei.U.string},"app/integration-smtp:password-key":{type:ei.U.string},"app/integration-smtp:connect-via":{type:ei.U.string},"app/integration-smtp:delivery-rate":{type:ei.U.number},"app/integration-smtp:authentication-method":{type:ei.U.string}},Ao=[{key:"enabled",type:"toggle",templateOptions:{label:"Enable"}},{key:"allowOnlineMeetings",type:es.Ho.name,templateOptions:{label:"Allow users to generate online meetings",options:[!0,!1]}},{key:"tenantId",type:"input",templateOptions:{type:"text",label:"Tenant ID",readonly:!0},hideExpression:je=>""===je.tenantId||!1},{key:"calendarUpn",type:"input",templateOptions:{type:"email",label:"Calendar UPN",required:!0,placeholder:"user@example.com"}},{key:"aadEndpoint",type:"input",templateOptions:{type:"text",label:"Azure AD end point",placeholder:"https://login.microsoftonline.com"}},{key:"graphEndpoint",type:"input",templateOptions:{type:"text",label:"Microsoft Graph end point",placeholder:"https://graph.microsoft.com"}},{key:"connectVia",type:es.og.name,defaultValue:null,templateOptions:{label:"Connect via",required:!0},expressionProperties:{"templateOptions.options":"formState.connectViaOptions"}}],Da={"app/integration-m365:enabled":{type:ei.U.boolean},"app/integration-m365:tenant-id":{type:ei.U.string},"app/integration-m365:allow-online-meetings":{type:ei.U.boolean},"app/integration-m365:calendar-upn":{type:ei.U.string},"app/integration-m365:aad-endpoint":{type:ei.U.string},"app/integration-m365:graph-endpoint":{type:ei.U.string},"app/integration-m365:connect-via":{type:ei.U.string}};var y0=s(44508);let ma=(()=>{class je{constructor(De){this.queryService=De}getM365Settings$(){return this.queryService.execute1dFirst(Xn.R.GET_ALL_M365,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}]})}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.KVO(ut.c))};static#t=this.\u0275prov=o.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})();var Lr=s(5485);function Ia(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Connect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.connectToolTip)}}function Vs(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callResync())}),o.EFF(1," Synchronize "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.resyncToolTip)}}function Ar(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Reconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.reconnectToolTip)}}function gr(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callDisconnect())}),o.EFF(1," Disconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.disconnectToolTip)}}function Zr(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",11),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onTestConnection())}),o.EFF(1," Test connection "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("disabled",De.form.invalid)("ngbTooltip",De.testConnectionTooltip)}}function Ur(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",14),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(1,"Delete"),o.k0s()}}function Co(je,Kn){if(1&je&&(o.j41(0,"div",12),o.DNE(1,Ur,2,0,"button",13),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngIf",!!De.tip)}}let Ka=(()=>{class je extends li{constructor(De,Pt,mt,pi,Ls,lo,Ro,to,Er,Xr){super(De,Pt,mt,pi,Ls,lo),this.fb=De,this.integrationCenterConfigurationService=Pt,this.toastService=mt,this.sideSheetService=pi,this.cdr=Ls,this.encryptionService=lo,this.integrationCenterService=Ro,this.authService=to,this.m365Service=Er,this.browserWindowService=Xr,this.connectSub=new L.yU,this.title="Microsoft 365",this.enoType="app/integration-m365",this.fields=(0,O.cloneDeep)(Ao),this.scheme=Da,this.showDeleteButton=!1,this.testConnectionMessage="Unable to connect to Microsoft 365",this.showTestConnection=!1,this.showConnect=!0,this.connectToolTip="Click the button to authorize this connection in MS 365",this.reconnectToolTip="Click the button to reauthorize this connection in MS 365",this.disconnectToolTip="Click the button to disable this connection",this.testConnectionTooltip="Click the button to test your connection",this.testConnectionEndpoint=((0,o.naY)()?"http://localhost:4200":Y.c.host)+`${Y.c.m365ServicePath}${Y.c.testConnectionPath}`,this.servicePath=Y.c.m365ServicePath,this.m365ConfigPath=((0,o.naY)()?"http://localhost:4200":Y.c.host)+`${Y.c.m365ServicePath}`,this.model=Object.create({}),this.defaultInstance={enabled:!1,tenantId:"",allowOnlineMeetings:!1,calendarUpn:"",aadEndpoint:"",graphEndpoint:"",connectVia:""}}ngOnInit(){this.loadingState=y.Gu.inProgress,this.connectSub.add(this.m365Service.getM365Settings$().subscribe(De=>{De.length>0&&(this.tip=De[0].$tip),this.loadSettings(this.tip,this.scheme)}))}ngDoCheck(){this.checkTenantIdIsNullOrNot()}checkTenantIdIsNullOrNot(){this.model.tenantId||this.defaultInstance.tenantId?this.showOrHideOptions(!0,!0,!1,!0):(this.model.tenantId="",this.showOrHideOptions(!1,!1,!0,!1)),this.cdr.detectChanges()}callConnect(){this.connectSub.add(this.connectM365(this.m365ConfigPath+"/connect",{redirectUri:""}).subscribe(Pt=>{this.loadingState=y.Gu.loaded,this.browserWindowService.openInNewWindow(Pt.consentUrl),this.showOrHideOptions(!0,!0,!1,!0),this.toastService.showSuccessToast("Consent sent for approval"),this.cdr.detectChanges()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to connect."),this.cdr.detectChanges()}))}showOrHideOptions(De,Pt,mt,pi){this.showDisconnect=De,this.showReconnect=Pt,this.showTestConnection=pi,this.showConnect=mt}connectM365(De,Pt){return this.authService.post(De,Pt)}callDisconnect(){this.loadingState=y.Gu.inProgress,this.integrationCenterConfigurationService.saveSettings(this.tip,this.transformToData({tenantId:""}),this.scheme,this.enoType).pipe((0,E.$)()).subscribe(()=>{this.loadingState=y.Gu.loaded,this.showOrHideOptions(!1,!1,!0,!1),this.toastService.showSuccessToast("Disconnected Successfully"),this.integrationCenterService.tileRefresh.next(!0),this.sideSheetService.pop(),this.cdr.detectChanges()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to disconnect."),this.cdr.detectChanges()})}onSave(){this.loadingState=y.Gu.inProgress,this.integrationCenterConfigurationService.saveSettings(this.tip,this.transformToData(this.model),this.scheme,this.enoType).pipe((0,E.$)()).subscribe(()=>{this.loadingState=y.Gu.loaded,this.toastService.showSuccessToast("Settings successfully saved"),this.integrationCenterService.tileRefresh.next(!0),this.sideSheetService.pop(),this.cdr.detectChanges()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to save settings."),this.cdr.detectChanges()})}ngOnDestroy(){this.connectSub.unsubscribe()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(pt.L),o.rXU(w.f),o.rXU(M.E),o.rXU(o.gRc),o.rXU(cn.U),o.rXU(y0.B),o.rXU(B.V),o.rXU(ma),o.rXU(Lr.g))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-m365-calendar-settings"]],features:[o.Vt3],decls:16,vars:20,consts:[[3,"actioned","showCancelButton","disabled","action"],[1,"text-right","px-3","test-connection"],[1,"left-button-class-for-connect"],["placement","right","class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"ngbTooltip","click",4,"ngIf"],[1,"left-button-class"],["class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"disabled","ngbTooltip","click",4,"ngIf"],[3,"showBorder","showHeader"],[1,"",3,"formGroup","appSpinner"],[3,"fields","model","form","options"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],["placement","right","data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","ngbTooltip"],["data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","disabled","ngbTooltip"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],["class","btn btn-danger",3,"click",4,"ngIf"],[1,"btn","btn-danger",3,"click"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(2),o.k0s(),o.j41(3,"div",1)(4,"span",2),o.DNE(5,Ia,2,1,"button",3),o.k0s()(),o.j41(6,"div",1)(7,"span",4),o.DNE(8,Vs,2,1,"button",3)(9,Ar,2,1,"button",3)(10,gr,2,1,"button",3),o.k0s(),o.DNE(11,Zr,2,2,"button",5),o.k0s(),o.j41(12,"app-side-sheet-section",6)(13,"form",7),o.nrm(14,"formly-form",8),o.k0s(),o.DNE(15,Co,2,1,"div",9),o.k0s()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",o.bMT(1,18,mt.disabled$))("action","Save"),o.R7$(2),o.SpI(" ",mt.title,"\n"),o.R7$(3),o.Y8G("ngIf",mt.showConnect),o.R7$(3),o.Y8G("ngIf",mt.showResync),o.R7$(),o.Y8G("ngIf",mt.showReconnect),o.R7$(),o.Y8G("ngIf",mt.showDisconnect),o.R7$(),o.Y8G("ngIf",mt.showTestConnection),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options),o.R7$(),o.Y8G("ngIf",mt.showDeleteButton))},dependencies:[H.bT,C.qT,C.cb,C.j4,ie.b,ne.d,Q.R,le.D,pe.aF,ze.md,H.Jj],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}.left-button-class[_ngcontent-%COMP%]{float:left;left:5px}.left-button-class-for-connect[_ngcontent-%COMP%]{display:flex}"],changeDetection:0})}return je})();function tr(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Connect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.connectToolTip)}}function yr(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callResync())}),o.EFF(1," Synchronize "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.resyncToolTip)}}function kr(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Reconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.reconnectToolTip)}}function Uo(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callDisconnect())}),o.EFF(1," Disconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.disconnectToolTip)}}function sr(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",11),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onTestConnection())}),o.EFF(1," Test connection "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("disabled",De.form.invalid)("ngbTooltip",De.testConnectionTooltip)}}function J1(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",14),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(1,"Delete"),o.k0s()}}function uo(je,Kn){if(1&je&&(o.j41(0,"div",12),o.DNE(1,J1,2,0,"button",13),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngIf",!!De.tip)}}let Dl=(()=>{class je extends li{constructor(De,Pt,mt,pi,Ls,lo,Ro,to,Er,Xr,C0){super(mt,pi,Ls,lo,Ro,to),this.elementRef=De,this.renderer=Pt,this.fb=mt,this.integrationCenterConfigurationService=pi,this.toastService=Ls,this.sideSheetService=lo,this.cdr=Ro,this.encryptionService=to,this.authService=Er,this.browserWindowService=Xr,this.integrationCenterService=C0,this.title="Configure SMTP server",this.enoType="app/integration-smtp",this.tip="app/integration-smtp/instance",this.fields=(0,O.cloneDeep)(Tr),this.scheme=Ta,this.showDeleteButton=!1,this.testConnectionMessage="Unable to connect to SMTP server",this.model=Object.create({}),this.testConnectionEndpoint=((0,o.naY)()?"http://localhost:4200":Y.c.host)+`${Y.c.smtpServicePath}${Y.c.testConnectionPath}`,this.encryptedDataFieldName="password",this.encryptedDataKeyFieldName="passwordKey",this.servicePath=Y.c.smtpServicePath,this.smtpEndpoint=((0,o.naY)()?"http://localhost:4200":Y.c.host)+`${Y.c.smtpServicePath}`}ngDoCheck(){const De=this.elementRef.nativeElement?.querySelector(".text-content-href-link");De&&!this.listenerFn&&(this.listenerFn=this.renderer.listen(De,"click",()=>{this.openM365Tile()}))}openM365Tile(){this.sideSheetService.push(Ka)}prepareTestProps(){const Pt={...this.model.connectVia===Ai.value?{}:{vpceId:this.model.connectVia},host:this.model.serverAddress,port:this.model.smtpPort};if((0,O.isEmpty)(this.model.authenticationMethod)||this.model.authenticationMethod===oi.BASIC){const pi=this.form.get("password").dirty?{pass:this.model.password}:{};return{...Pt,...pi,username:this.model.userName,authenticationMethod:oi.BASIC}}const mt={fromAddress:this.model.fromAddress,authenticationMethod:this.model.authenticationMethod};return{...Pt,...mt}}ngOnDestroy(){this.listenerFn&&this.listenerFn(),this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(C.ok),o.rXU(pt.L),o.rXU(w.f),o.rXU(M.E),o.rXU(o.gRc),o.rXU(cn.U),o.rXU(B.V),o.rXU(Lr.g),o.rXU(y0.B))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-smtp-settings-side-sheet"]],features:[o.Vt3],decls:16,vars:20,consts:[[3,"actioned","showCancelButton","disabled","action"],[1,"text-right","px-3","test-connection"],[1,"left-button-class-for-connect"],["placement","right","class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"ngbTooltip","click",4,"ngIf"],[1,"left-button-class"],["class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"disabled","ngbTooltip","click",4,"ngIf"],[3,"showBorder","showHeader"],[1,"",3,"formGroup","appSpinner"],[3,"fields","model","form","options"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],["placement","right","data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","ngbTooltip"],["data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","disabled","ngbTooltip"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],["class","btn btn-danger",3,"click",4,"ngIf"],[1,"btn","btn-danger",3,"click"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(2),o.k0s(),o.j41(3,"div",1)(4,"span",2),o.DNE(5,tr,2,1,"button",3),o.k0s()(),o.j41(6,"div",1)(7,"span",4),o.DNE(8,yr,2,1,"button",3)(9,kr,2,1,"button",3)(10,Uo,2,1,"button",3),o.k0s(),o.DNE(11,sr,2,2,"button",5),o.k0s(),o.j41(12,"app-side-sheet-section",6)(13,"form",7),o.nrm(14,"formly-form",8),o.k0s(),o.DNE(15,uo,2,1,"div",9),o.k0s()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",o.bMT(1,18,mt.disabled$))("action","Save"),o.R7$(2),o.SpI(" ",mt.title,"\n"),o.R7$(3),o.Y8G("ngIf",mt.showConnect),o.R7$(3),o.Y8G("ngIf",mt.showResync),o.R7$(),o.Y8G("ngIf",mt.showReconnect),o.R7$(),o.Y8G("ngIf",mt.showDisconnect),o.R7$(),o.Y8G("ngIf",mt.showTestConnection),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options),o.R7$(),o.Y8G("ngIf",mt.showDeleteButton))},dependencies:[H.bT,C.qT,C.cb,C.j4,ie.b,ne.d,Q.R,le.D,pe.aF,ze.md,H.Jj],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}.left-button-class[_ngcontent-%COMP%]{float:left;left:5px}.left-button-class-for-connect[_ngcontent-%COMP%]{display:flex}"],changeDetection:0})}return je})();const vl=[{key:"enabled",type:"toggle",templateOptions:{label:"Enable"},defaultValue:!0},{key:"label",type:"input",templateOptions:{type:"text",label:"Name",required:!0}},{key:"baseUri",type:"input",templateOptions:{type:"email",label:"Domain",required:!0},validators:{validation:[function mo(je){return je.value?new RegExp(/^(https:\/\/)/).test(je.value)?void 0:{httpsPrefix:!0}:null}]}},{key:"connectVia",type:es.og.name,defaultValue:null,templateOptions:{label:"Connect via",required:!0},expressionProperties:{"templateOptions.options":"formState.connectViaOptions"}}];var ea=s(80043);function Nr(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",7),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(1,"Delete"),o.k0s()}}function Pl(je,Kn){if(1&je&&(o.j41(0,"div",5),o.DNE(1,Nr,2,0,"button",6),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngIf",!!De.tip)}}let ra=(()=>{class je extends li{constructor(De,Pt,mt,pi,Ls,lo,Ro){super(De,Pt,mt,pi,Ls,lo),this.fb=De,this.integrationCenterConfigurationService=Pt,this.toastService=mt,this.sideSheetService=pi,this.cdr=Ls,this.encryptionService=lo,this.modalService=Ro,this.title="Configure webhook server",this.enoType="app/webhook-endpoint",this.fields=(0,O.cloneDeep)(vl),this.scheme=ea.G,this.showDeleteButton=!0,this.model=Object.create({})}onSave(){this.integrationCenterConfigurationService.saveSettings(this.tip,this.transformToData(this.model),this.scheme,this.enoType).pipe((0,E.$)()).subscribe(()=>{this.toastService.showSuccessToast("Settings successfully saved"),this.sideSheetService.pop()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to save settings."),this.cdr.detectChanges()})}onDelete(){const De=this.modalService.open(be.F,be.G);De.componentInstance.objectType="webhook server",De.result.then(Pt=>Pt?super.onDelete():null).catch(()=>{})}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(pt.L),o.rXU(w.f),o.rXU(M.E),o.rXU(o.gRc),o.rXU(cn.U),o.rXU(ze.Bq))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-webhooks-settings-side-sheet"]],features:[o.Vt3],decls:7,vars:15,consts:[[3,"actioned","showCancelButton","disabled","action"],[3,"showBorder","showHeader"],[1,"",3,"formGroup","appSpinner"],[3,"fields","model","form","options"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],["class","btn btn-danger",3,"click",4,"ngIf"],[1,"btn","btn-danger",3,"click"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(2),o.k0s(),o.j41(3,"app-side-sheet-section",1)(4,"form",2),o.nrm(5,"formly-form",3),o.k0s(),o.DNE(6,Pl,2,1,"div",4),o.k0s()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",o.bMT(1,13,mt.disabled$))("action","Save"),o.R7$(2),o.SpI(" ",mt.title,"\n"),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options),o.R7$(),o.Y8G("ngIf",mt.showDeleteButton))},dependencies:[H.bT,C.qT,C.cb,C.j4,ie.b,ne.d,Q.R,le.D,pe.aF,H.Jj],changeDetection:0})}return je})();var ul=s(92919);const g1=(je,Kn)=>({enabledServers:je,disabledServers:Kn}),hc=()=>["name"];function Dr(je,Kn){1&je&&o.eu8(0)}function Jo(je,Kn){if(1&je&&(o.j41(0,"app-alert",19),o.EFF(1),o.k0s()),2&je){const De=o.XpG(2);o.R7$(),o.JRh(De.errorMessage)}}function W1(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-side-sheet-list-item",22),o.bIt("click",function(){const mt=o.eBV(De).$implicit,pi=o.XpG(4);return o.Njj(pi.createOrOpenItem(mt.$tip))}),o.j41(1,"div",23),o.EFF(2),o.k0s()()}if(2&je){const De=Kn.$implicit;o.Y8G("hasChevron",!0),o.R7$(2),o.JRh(De.name)}}function W0(je,Kn){if(1&je&&(o.j41(0,"app-side-sheet-list"),o.DNE(1,W1,3,2,"app-side-sheet-list-item",21),o.nI1(2,"filter"),o.k0s()),2&je){const De=o.XpG(2).enabledServers,Pt=o.XpG();o.R7$(),o.Y8G("ngForOf",o.brH(2,1,De,Pt.filterText,o.lJ4(5,hc)))}}function _a(je,Kn){if(1&je&&(o.qex(0),o.j41(1,"h6"),o.EFF(2,"Enabled"),o.k0s(),o.DNE(3,W0,3,6,"app-side-sheet-list",20),o.bVm()),2&je){const De=o.XpG(2);o.R7$(3),o.Y8G("ngIf",De.loadingState===De.loadingStates.loaded)}}function L1(je,Kn){1&je&&o.nrm(0,"div",24),2&je&&o.Y8G("appSpinner",!0)}function h0(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"div",25)(1,"app-empty-state",26),o.bIt("actionClick",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.createOrOpenItem())}),o.k0s()()}if(2&je){const De=o.XpG(2);o.R7$(),o.FS9("label",De.labelForEnabledEmptyState),o.FS9("actionText",De.actionTextForEnabledEmptyState),o.Y8G("showActionText",De.remainingServers>0)}}function z1(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-side-sheet-list-item",22),o.bIt("click",function(){const mt=o.eBV(De).$implicit,pi=o.XpG(4);return o.Njj(pi.createOrOpenItem(mt.$tip))}),o.j41(1,"div",23),o.EFF(2),o.k0s()()}if(2&je){const De=Kn.$implicit;o.Y8G("hasChevron",!0),o.R7$(2),o.JRh(De.name)}}function un(je,Kn){if(1&je&&(o.j41(0,"app-side-sheet-list"),o.DNE(1,z1,3,2,"app-side-sheet-list-item",21),o.nI1(2,"filter"),o.k0s()),2&je){const De=o.XpG(2).disabledServers,Pt=o.XpG();o.R7$(),o.Y8G("ngForOf",o.brH(2,1,De,Pt.filterText,o.lJ4(5,hc)))}}function tn(je,Kn){if(1&je&&(o.qex(0),o.j41(1,"h6"),o.EFF(2,"Disabled"),o.k0s(),o.DNE(3,un,3,6,"app-side-sheet-list",20),o.bVm()),2&je){const De=o.XpG(2);o.R7$(3),o.Y8G("ngIf",De.loadingState===De.loadingStates.loaded)}}function Dt(je,Kn){1&je&&o.nrm(0,"div",24),2&je&&o.Y8G("appSpinner",!0)}function qn(je,Kn){if(1&je&&o.nrm(0,"app-empty-state",27),2&je){const De=o.XpG(2);o.FS9("label",De.labelForDisabledEmptyState),o.Y8G("showActionText",!1)}}function zi(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-side-sheet-header",3),o.bIt("actioned",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onDone())}),o.EFF(1),o.k0s(),o.j41(2,"div")(3,"div",4)(4,"div",5)(5,"div",6),o.nrm(6,"span",7),o.j41(7,"input",8),o.mxI("ngModelChange",function(mt){o.eBV(De);const pi=o.XpG();return o.DH7(pi.filterText,mt)||(pi.filterText=mt),o.Njj(mt)}),o.k0s()(),o.j41(8,"div",9)(9,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.createOrOpenItem())}),o.nrm(10,"mat-icon",11),o.k0s()()()(),o.j41(11,"app-side-sheet-section",12),o.DNE(12,Jo,2,1,"app-alert",13)(13,_a,4,1,"ng-container",14)(14,L1,1,1,"ng-template",null,1,o.C5r)(16,h0,2,3,"div",15),o.j41(17,"div",16),o.EFF(18),o.k0s()(),o.j41(19,"app-side-sheet-section",17),o.DNE(20,tn,4,1,"ng-container",14)(21,Dt,1,1,"ng-template",null,1,o.C5r)(23,qn,1,2,"app-empty-state",18),o.k0s()()}if(2&je){const De=Kn.enabledServers,Pt=Kn.disabledServers,mt=o.sdS(15),pi=o.XpG();o.Y8G("showCancelButton",!0)("action","Done"),o.R7$(),o.JRh(pi.header),o.R7$(6),o.R50("ngModel",pi.filterText),o.R7$(2),o.Y8G("disabled",0===pi.remainingServers),o.R7$(2),o.FS9("title",pi.title),o.R7$(),o.Y8G("ngIf",pi.loadingState===pi.loadingStates.failed),o.R7$(),o.Y8G("ngIf",De)("ngIfElse",mt),o.R7$(3),o.Y8G("ngIf",pi.loadingState===pi.loadingStates.loaded&&!(null!=De&&De.length)),o.R7$(2),o.SpI("",pi.remainingServers," left"),o.R7$(),o.Y8G("showHeader",!1),o.R7$(),o.Y8G("ngIf",Pt)("ngIfElse",mt),o.R7$(3),o.Y8G("ngIf",pi.loadingState===pi.loadingStates.loaded&&!(null!=Pt&&Pt.length))}}let xr=(()=>{class je{constructor(De,Pt,mt){this.cdr=De,this.sideSheetService=Pt,this.webhooksIntegrationService=mt,this.header="Webhook Server",this.title="Webhook servers",this.filterText="",this.loadingStates=y.Gu,this.remainingServers=10,this.actionTextForEnabledEmptyState="Create webhook server",this.labelForEnabledEmptyState="No webhook servers configured or enabled",this.labelForDisabledEmptyState="No webhook servers disabled",this.destroy$=new gt.B}ngOnInit(){this.getItems()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getItems(){this.errorMessage=null,this.loadingState=y.Gu.inProgress,this.webhooksIntegrationService.getItems().pipe((0,ke.Q)(this.destroy$)).subscribe(De=>{this.loadingState=y.Gu.loaded,this.remainingServers=10-De.length,this.enabledWebhookServers=De.filter(Pt=>"true"===Pt.enabled.toString()),this.disabledWebhookServers=De.filter(Pt=>"false"===Pt.enabled.toString()),this.cdr.markForCheck()},De=>{this.loadingState=y.Gu.failed,this.errorMessage=`Failed to load ${this.title}`,this.enabledWebhookServers=[],this.disabledWebhookServers=[],this.cdr.markForCheck()})}createOrOpenItem(De=null){const mt=this.sideSheetService.push(ra).componentInstance;mt.model=Object.create({}),De&&mt.setTip(De)}onDone(){this.sideSheetService.pop()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(o.gRc),o.rXU(M.E),o.rXU(ul.W))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-webhooks-integration"]],decls:3,vars:5,consts:[["itemList",""],["loading",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"actioned","showCancelButton","action"],[1,"px-3","py-2"],[1,"d-flex","align-items-center"],[1,"search-input","flex-grow-1"],[1,"search-input-icon","mdi","mdi-search"],["type","text","placeholder","",1,"form-control",3,"ngModelChange","ngModel"],[1,"d-flex"],["data-test","sftp-server-add-button",1,"eim-button_minimized","btn","btn-secondary","btn-add","ml-3",3,"click","disabled"],["svgIcon","plus"],[3,"title"],["type","danger",4,"ngIf"],[4,"ngIf","ngIfElse"],["style","margin-bottom: 50px;",4,"ngIf"],["extra-text",""],[3,"showHeader"],["imgSrc","assets/img/empty-states/empty-state-generic.svg",3,"label","showActionText",4,"ngIf"],["type","danger"],[4,"ngIf"],[3,"hasChevron","click",4,"ngFor","ngForOf"],[3,"click","hasChevron"],[1,"eim-font-side-sheet-list-item_font-size"],[1,"mt-6",3,"appSpinner"],[2,"margin-bottom","50px"],["imgSrc","assets/img/empty-states/empty-state-generic.svg",3,"actionClick","label","actionText","showActionText"],["imgSrc","assets/img/empty-states/empty-state-generic.svg",3,"label","showActionText"]],template:function(Pt,mt){if(1&Pt&&o.DNE(0,Dr,1,0,"ng-container",2)(1,zi,24,15,"ng-template",null,0,o.C5r),2&Pt){const pi=o.sdS(2);o.Y8G("ngTemplateOutlet",pi)("ngTemplateOutletContext",o.l_i(2,g1,mt.enabledWebhookServers,mt.disabledWebhookServers))}},dependencies:[H.Sq,H.bT,H.T3,C.me,C.BC,C.vS,In.C,ie.b,ne.d,Di.N,Bt.A,Q.R,le.D,Li.o,Rt.An,Jt.L],changeDetection:0})}return je})();const Al={"app/integration-push-proxy:enabled":{type:ei.U.boolean},"app/integration-push-proxy:hostname":{type:ei.U.string},"app/integration-push-proxy:connect-via":{type:ei.U.string}},Eo=[{key:"enabled",type:"toggle",templateOptions:{label:"Enable"},defaultValue:!1},{key:"hostname",type:"input",templateOptions:{type:"text",label:"Hostname",required:!0},defaultValue:"",validators:{validation:[function P0(je){return je.value?new RegExp(/^(https:\/\/)/).test(je.value)?void 0:{hostName:!0}:null}]}},{key:"connectVia",type:es.og.name,defaultValue:null,templateOptions:{label:"Connect via",required:!0},expressionProperties:{"templateOptions.options":"formState.connectViaOptions"}},{key:"elasticNogginEndpoint",type:"input-copyable",templateOptions:{label:"Noggin proxy endpoint",type:"input",disabled:!0}},{key:"elasticNogginPublicKey",type:"input-copyable",templateOptions:{label:"Public key",type:"text",disabled:!0}}];let Ac=(()=>{class je{constructor(De,Pt){this.queryService=De,this.authService=Pt}getProxyItems(){return this.queryService.execute1dFirst(Xn.R.GET_ALL_PUSH_PROXY,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}]})}getCredentials(){const De=((0,o.naY)()?"http://localhost:4200":Y.c.host)+`${Y.c.pushProxyPath}/getCredentials`;return this.authService.get(De)}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.KVO(ut.c),o.KVO(B.V))};static#t=this.\u0275prov=o.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})();function ga(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(1,"Delete"),o.k0s()}}function dl(je,Kn){if(1&je&&(o.j41(0,"div",8),o.DNE(1,ga,2,0,"button",9),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngIf",!!De.tip)}}let ur=(()=>{class je extends li{constructor(De,Pt,mt,pi,Ls,lo,Ro,to,Er){super(De,Pt,Ls,lo,to,Ro),this.fb=De,this.integrationCenterConfigurationService=Pt,this.integrationCenterService=mt,this.pushProxyService=pi,this.toastService=Ls,this.sideSheetService=lo,this.encryptionService=Ro,this.cdr=to,this.modalService=Er,this.showDeleteButton=!0,this.title="Push messaging proxy",this.scheme=Al,this.enoType="app/integration-push-proxy",this.model=Object.create({}),this.subscriptionCollection=new L.yU,this.fields=(0,O.cloneDeep)(Eo),this.testConnectionMessage="A test message failed to send",this.testConnectionEndpoint=((0,o.naY)()?"http://localhost:4200":Y.c.host)+`${Y.c.pushProxyPath}${Y.c.testConnectionPath}`,this.options={formState:{connectViaOptions:[Ai]}}}ngOnInit(){this.loadSettingsOnFields()}onSave(){this.subscriptionCollection.add(this.integrationCenterConfigurationService.saveSettings(this.tip,this.transformToData(this.model),this.scheme,this.enoType).pipe((0,E.$)()).subscribe(()=>{this.toastService.showSuccessToast("Settings successfully saved"),this.integrationCenterService.tileRefresh.next(!0),this.sideSheetService.pop()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to save settings."),this.cdr.detectChanges()}))}loadSettingsOnFields(){this.loadingState=y.Gu.inProgress,this.subscriptionCollection.add(this.pushProxyService.getProxyItems().subscribe(De=>{this.tip=De.length>0?De[0].$tip:null,this.loadSettings(this.tip,this.scheme)}))}loadSettings(De,Pt){let mt=(0,z.of)({});De&&(mt=this.integrationCenterConfigurationService.loadSettings(De,Pt,this.defaultInstance).pipe((0,ke.Q)(this.unsubscribe$))),(0,Ii.z)([mt,this.getConnectViaOptions$().pipe((0,ke.Q)(this.unsubscribe$)),this.pushProxyService.getCredentials().pipe((0,ke.Q)(this.unsubscribe$))]).subscribe(([pi,Ls,lo])=>{(0,O.isEmpty)(Ls.connectVia)||(this.options.formState.connectViaOptions=this.options.formState.connectViaOptions.concat(Ls.connectVia.sort().map(Ro=>({label:Ro,value:Ro})))),pi.connectVia=pi.connectVia||Ai.value,this.form.get("enabled").setValue(pi.enabled),(null!=pi.hostname||null!=pi.hostName)&&this.form.get("hostname").setValue(pi.hostname),this.form.get("connectVia").setValue(pi.connectVia),this.form.get("elasticNogginEndpoint").setValue(lo.endpoint),this.form.get("elasticNogginPublicKey").setValue(lo.key),this.subscribeConnectVia(),this.loadingState=y.Gu.loaded,this.cdr.detectChanges()},pi=>{this.loadingState=y.Gu.failed,this.cdr.detectChanges()})}onTestConnection(){const De=this.prepareTestProps();this.integrationCenterConfigurationService.testConnection(this.testConnectionEndpoint,De).subscribe(Pt=>{this.loadingState=y.Gu.loaded,(0,O.isEmpty)(Pt)||200===Pt.statusCode?this.toastService.showSuccessToast((0,O.get)(Pt,"body.message","A test message was successfully sent")):this.toastService.showErrorToast((0,O.get)(Pt,"body.message",400==Pt.statusCode?"A test message was not successfully sent":this.testConnectionMessage)),this.cdr.markForCheck()},Pt=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast((0,O.get)(Pt,"error.message",this.testConnectionMessage)),this.cdr.markForCheck()})}onDelete(){const De=this.modalService.open(be.F,be.G);De.componentInstance.objectType="Push messaging proxy settings",De.result.then(Pt=>Pt?super.onDelete():null).catch(()=>{})}prepareTestProps(){return{metadata:{...this.model.connectVia===Ai.value?{}:{vpceId:this.model.connectVia},hostName:this.model.hostname}}}ngOnDestroy(){this.subscriptionCollection.unsubscribe()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(pt.L),o.rXU(y0.B),o.rXU(Ac),o.rXU(w.f),o.rXU(M.E),o.rXU(cn.U),o.rXU(o.gRc),o.rXU(ze.Bq))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-push-proxy"]],features:[o.Vt3],decls:13,vars:13,consts:[[3,"actioned","showCancelButton","action"],[1,"text-right","px-3","test-connection"],["data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","disabled"],[1,"push-msg-proxy",3,"showBorder","showHeader"],[1,"",3,"formGroup","appSpinner"],[3,"fields","model","form","options"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],["appTabIndex","","href","https://learn.noggin.io/default.htm#cshid=78","target","_blank","rel","noopener noreferrer"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],["class","btn btn-danger",3,"click",4,"ngIf"],[1,"btn","btn-danger",3,"click"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(1),o.k0s(),o.j41(2,"div",1)(3,"button",2),o.bIt("click",function(){return mt.onTestConnection()}),o.EFF(4,"Test connection"),o.k0s()(),o.j41(5,"app-side-sheet-section",3)(6,"form",4),o.nrm(7,"formly-form",5),o.k0s(),o.DNE(8,dl,2,1,"div",6),o.j41(9,"p"),o.EFF(10,"To learn more about how to use the push messaging proxy service provided by Noggin you can go our Learning center page "),o.j41(11,"a",7),o.EFF(12,"here."),o.k0s()()()),2&Pt&&(o.Y8G("showCancelButton",!0)("action","Save"),o.R7$(),o.SpI(" ",mt.title,"\n"),o.R7$(2),o.Y8G("disabled",mt.form.invalid),o.R7$(2),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options),o.R7$(),o.Y8G("ngIf",mt.showDeleteButton))},dependencies:[H.bT,C.qT,C.cb,C.j4,ie.b,ne.d,Q.R,le.D,pe.aF],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}.push-msg-proxy[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#416381}.push-msg-proxy[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-bottom:15px}"],changeDetection:0})}return je})();const w1={"app/integration-milestone:enabled":{type:ei.U.boolean}},So=[{key:"enabled",type:"toggle",templateOptions:{label:"Enable"},defaultValue:!1},{key:"nogginUrl",type:"input-copyable",templateOptions:{label:"Noggin URL",type:"text",disabled:!0},defaultValue:Y.c.host},{key:"imageEndpoint",type:"input-copyable",templateOptions:{label:"Image endpoint",type:"text",disabled:!0},defaultValue:"/mediaservice/file"},{key:"incidentEndpoint",type:"input-copyable",templateOptions:{label:"Milestone incident endpoint",type:"text",disabled:!0},defaultValue:"/rest/object/milestoneIncident"},{key:"lprEndpoint",type:"input-copyable",templateOptions:{label:"License plate recognition endpoint",type:"text",disabled:!0},defaultValue:"/rest/object/licensePlateRecognition"},{key:"namespace",type:"input-copyable",templateOptions:{label:"Namespace ID",type:"text",disabled:!0},defaultValue:Y.c.ns},{type:"text-content",templateOptions:{html:'<p style="font-weight: 400;font-size: 1rem;margin-bottom: 8px;color: #416381;">Next steps</p>\n      <p>Once you\'ve completed the installation and set up the integration in Milestone, come back and enable the integration here. This marks the integration as active so you have a visual reference that your Noggin system is integrated with Milestone. Note: This indicator is for information purposes only and turning the connection off does not stop data transfer as the integration is managed in Milestone.</p>'}}];var s0=s(40673),e1=s(44667);let jl=(()=>{class je{constructor(De,Pt){this.queryService=De,this.objectService=Pt}getItems(){return this.queryService.execute1dFirst(Xn.R.GET_MILESTONE_SETTINGS,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}]})}saveSettings(De,Pt,mt,pi){return this.objectService.setObject({$tip:De||null,$type:pi,$security:s0.Ay.SECURITY.INSTANCE_USER_ADMIN,enabled:Pt.enabled},mt).pipe((0,E.$)(),(0,F.T)(lo=>lo.length>0?(0,O.last)(lo).tip:null))}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.KVO(ut.c),o.KVO(e1.T))};static#t=this.\u0275prov=o.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})(),Zl=(()=>{class je{constructor(De,Pt,mt,pi,Ls,lo){this.fb=De,this.toastService=Pt,this.cdr=mt,this.sideSheetService=pi,this.integrationCenterService=Ls,this.milestoneService=lo,this.form=this.fb.group({}),this.title="Milestone",this.enoType="app/integration-milestone",this.fields=(0,O.cloneDeep)(So),this.scheme=w1,this.model=Object.create({})}ngOnInit(){this.loadData()}loadData(){this.milestoneService.getItems().subscribe(De=>{if(De.length>0){const Pt="true"===De[0].enabled?.toString();this.tip=De[0].$tip,this.model={enabled:Pt}}this.cdr.detectChanges()})}onSave(){this.milestoneService.saveSettings(this.tip,{enabled:this.form.value.enabled},this.scheme,this.enoType).pipe((0,E.$)()).subscribe(()=>{this.toastService.showSuccessToast("Settings successfully saved"),this.integrationCenterService.tileRefresh.next(!0),this.sideSheetService.pop()},()=>{this.toastService.showErrorToast("Failed to save settings."),this.cdr.detectChanges()})}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(w.f),o.rXU(o.gRc),o.rXU(M.E),o.rXU(y0.B),o.rXU(jl))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-settings-milestone"]],decls:18,vars:9,consts:[[3,"actioned","showCancelButton","action"],[3,"showBorder","showHeader"],[1,"sidedheet-sub-title"],["href","mailto:info@visualneworks.co.nz"],["href","https://learn.noggin.io/default.htm#cshid=75","target","blank"],[1,"",3,"formGroup"],[3,"fields","model","form"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(1),o.k0s(),o.j41(2,"app-side-sheet-section",1)(3,"p",2),o.EFF(4,"Integration settings"),o.k0s(),o.j41(5,"p"),o.EFF(6,"The Milestone integration is created with our partner Visual Networks. To get started, please contact "),o.j41(7,"a",3),o.EFF(8,"info@visualneworks.co.nz"),o.k0s(),o.EFF(9," to get the Milestone Alarms to Noggin install file and installation guide."),o.k0s(),o.j41(10,"p"),o.EFF(11," The information below is required as part of the configuration when you set up the integration. "),o.k0s(),o.j41(12,"p"),o.EFF(13,"You also need to provide a Noggin API key for the integration. To learn more about creating API keys, follow the instructions in our documentation "),o.j41(14,"a",4),o.EFF(15,"here."),o.k0s()(),o.j41(16,"form",5),o.nrm(17,"formly-form",6),o.k0s()()),2&Pt&&(o.Y8G("showCancelButton",!0)("action","Save"),o.R7$(),o.SpI(" ",mt.title,"\n"),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(14),o.Y8G("formGroup",mt.form),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form))},dependencies:[C.qT,C.cb,C.j4,Q.R,le.D,pe.aF],styles:[".sidedheet-sub-title[_ngcontent-%COMP%]{font-weight:400;font-size:1rem;margin-bottom:8px;color:#416381}"],changeDetection:0})}return je})();var ba=s(97367);const qa=[{key:"enabled",type:"toggle",templateOptions:{label:"Enable"}},{key:"nogginUrl",type:"input-copyable",defaultValue:Y.c.host+"/rest/object/signalAlert",templateOptions:{type:"input",label:"Noggin URL",disabled:!0},expressionProperties:{"templateOptions.required":"formState.nogginUrlFlag"}},{key:"namespace",type:"input-copyable",defaultValue:Y.c.ns,templateOptions:{type:"input",label:"Namespace ID",disabled:!0},expressionProperties:{"templateOptions.required":"formState.namespaceFlag"}},{type:"text-content",defaultValue:null,templateOptions:{html:'<p style="font-weight: 400;font-size: 1rem;margin-bottom: 8px;color: #416381;" >Next steps</p>  <p class="eim-font-color_form-element-label"> Once you\'ve set up the integration in Signal, come back and enable the integration here. This marks the integration as active so you have a visual reference that your Noggin system is integrated with Signal. Note: This indicator is for information purposes only and turning the connection off does not stop data transfer as the integration is managed in Signal. </p>'}}],Pr={"app/integration-signal:enabled":{type:ei.U.boolean}};let fc=(()=>{class je{constructor(De){this.queryService=De}getSignalItems(){return this.queryService.execute1dFirst(Xn.R.GET_ALL_SIGNAL,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}]})}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.KVO(ut.c))};static#t=this.\u0275prov=o.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})(),I0=(()=>{class je extends li{constructor(De,Pt,mt,pi,Ls,lo,Ro,to){super(De,Pt,mt,pi,Ls,lo),this.fb=De,this.integrationCenterConfigurationService=Pt,this.toastService=mt,this.sideSheetService=pi,this.cdr=Ls,this.encryptionService=lo,this.signalService=Ro,this.integrationCenterService=to,this.title="Signal",this.apiKeyMetaObjects=[],this.loading$=new Ge.t(y.Gu.inProgress),this.loadingStates=y.Gu,this.form=this.fb.group({}),this.fields=(0,O.cloneDeep)(qa),this.unsubscribe$=new gt.B,this.enoType="app/integration-signal",this.scheme=Pr,this.subscriptionCollection=new L.yU,this.showDeleteButton=!1,this.disabled$=(0,z.of)(!1),this.showTestConnection=!1}ngOnInit(){super.ngOnInit(),this.loadSettingsOnFields()}loadSettingsOnFields(){this.loadingState=y.Gu.inProgress,this.subscriptionCollection.add(this.signalService.getSignalItems().subscribe(De=>{this.tip=De.length>0?De[0].$tip:null,this.loadSettings(this.tip,this.scheme)}))}loadSettings(De,Pt){let mt=(0,z.of)({});De&&(mt=this.integrationCenterConfigurationService.loadSettings(De,Pt,this.defaultInstance).pipe((0,ke.Q)(this.unsubscribe$))),mt.subscribe(pi=>{this.loadingState=y.Gu.loaded,this.form.get("enabled")?.setValue(pi.enabled),this.cdr.detectChanges()},pi=>{this.loadingState=y.Gu.failed,this.cdr.detectChanges()})}onSave(){this.loadingState=y.Gu.inProgress,this.integrationCenterConfigurationService.saveSettings(this.tip,this.transformToData({enabled:this.model.enabled}),this.scheme,this.enoType).pipe((0,E.$)()).subscribe(()=>{this.loadingState=y.Gu.loaded,this.toastService.showSuccessToast("Settings successfully saved"),this.integrationCenterService.tileRefresh.next(!0),this.sideSheetService.pop()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to save settings."),this.cdr.detectChanges()})}ngOnDestroy(){super.ngOnDestroy(),this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(pt.L),o.rXU(w.f),o.rXU(M.E),o.rXU(o.gRc),o.rXU(cn.U),o.rXU(fc),o.rXU(y0.B))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-signal-settings"]],features:[o.Vt3],decls:19,vars:14,consts:[[3,"actioned","showCancelButton","disabled","action"],[3,"showBorder","showHeader"],[2,"font-weight","400","font-size","1rem","margin-bottom","8px","color","#416381"],["href","mailto:support@signalpublicsafety.com"],["href","https://learn.noggin.io/default.htm#cshid=75"],[1,"",3,"formGroup","appSpinner"],[3,"fields","model","form","options"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(2),o.k0s(),o.j41(3,"app-side-sheet-section",1)(4,"p",2),o.EFF(5,"Integration settings"),o.k0s(),o.j41(6,"p"),o.EFF(7," To get started, please contact "),o.j41(8,"a",3),o.EFF(9,"support@signalpublicsafety.com"),o.k0s(),o.EFF(10," to have the integration set up in Signal. "),o.k0s(),o.j41(11,"p"),o.EFF(12,"The information below is required as part of the configuration when you set up the integration."),o.k0s(),o.j41(13,"p"),o.EFF(14,"You also need to provide a Noggin API key for the integration. To learn more about creating API keys, follow the instructions in our documentation "),o.j41(15,"a",4),o.EFF(16,"here."),o.k0s()(),o.j41(17,"form",5),o.nrm(18,"formly-form",6),o.k0s()()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",o.bMT(1,12,mt.disabled$))("action","Save"),o.R7$(2),o.SpI(" ",mt.title,"\n"),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(14),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options))},dependencies:[C.qT,C.cb,C.j4,ie.b,Q.R,le.D,pe.aF,H.Jj],encapsulation:2,changeDetection:0})}return je})();var Il=s(34669);const Yr=[{key:"enabled",type:"toggle",templateOptions:{label:"Enable"}},{key:"name",type:"input",templateOptions:{type:"text",label:"Name",required:!0,placeholder:"Enter name"}},{key:"host",type:"input",templateOptions:{type:"text",label:"Server address",required:!0,placeholder:"Enter server address"}},{key:"port",type:"input",templateOptions:{type:"number",label:"IMAP port",required:!0,placeholder:"Enter IMAP port"}},{key:"authenticationMethod",type:es.og.name,defaultValue:oi.BASIC,templateOptions:{label:"Authentication method",required:!0,options:sn,title:"Select authentication method"}},{type:es.jG.name,templateOptions:{html:'<p>This authentication method uses the configuration provided as part of M365 integration. Please check this configuration <span class="text-content-href-link">here</span>.</p>'},hideExpression:je=>je.authenticationMethod!==oi.OAUTH2_M365},{key:"username",type:"input",templateOptions:{type:"text",label:"Username",required:!0,placeholder:"Enter username"},hideExpression:je=>je.authenticationMethod!==oi.BASIC},{key:"password",type:"string-encryption",templateOptions:{label:"Password"},hideExpression:je=>je.authenticationMethod!==oi.BASIC},{key:"userEmail",type:"input",templateOptions:{type:"text",label:"User email address",required:!0,placeholder:"Enter user email address"},hideExpression:je=>je.authenticationMethod===oi.BASIC,validators:{validation:[Il.O.email]}},{key:"vpceId",type:es.og.name,defaultValue:Ai.value,templateOptions:{label:"Connect via",required:!0},expressionProperties:{"templateOptions.options":"formState.connectViaOptions"}}];function Io(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Connect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.connectToolTip)}}function b1(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callResync())}),o.EFF(1," Synchronize "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.resyncToolTip)}}function Wn(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Reconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.reconnectToolTip)}}function yi(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callDisconnect())}),o.EFF(1," Disconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.disconnectToolTip)}}function Ut(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",11),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onTestConnection())}),o.EFF(1," Test connection "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("disabled",De.form.invalid)("ngbTooltip",De.testConnectionTooltip)}}function ss(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",14),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(1,"Delete"),o.k0s()}}function vs(je,Kn){if(1&je&&(o.j41(0,"div",12),o.DNE(1,ss,2,0,"button",13),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngIf",!!De.tip)}}let Us=(()=>{class je extends li{constructor(De,Pt,mt,pi,Ls,lo,Ro,to,Er,Xr,C0){super(mt,pi,Ls,lo,Ro,to),this.elementRef=De,this.renderer=Pt,this.fb=mt,this.integrationCenterConfigurationService=pi,this.toastService=Ls,this.sideSheetService=lo,this.cdr=Ro,this.encryptionService=to,this.integrationCenterService=Er,this.authService=Xr,this.browserWindowService=C0,this.title="Configure IMAP Server",this.enoType="app/integration-imap",this.showDeleteButton=!1,this.testConnectionMessage="Unable to connect to IMAP server",this.model=Object.create({}),this.testConnectionEndpoint=((0,o.naY)()?"http://localhost:4200":Y.c.host)+`${Y.c.imapServicePath}${Y.c.testConnectionPath}`,this.servicePath=Y.c.imapServicePath,this.imapConfigPath=((0,o.naY)()?"http://localhost:4200":Y.c.host)+`${Y.c.imapServicePath}`}ngOnInit(){this.fields=(0,O.cloneDeep)(Yr),this.model.authenticationMethod=oi.BASIC,this.model.vpceId=Ai.value,this.loadImapConfigs()}ngDoCheck(){const De=this.elementRef.nativeElement?.querySelector(".text-content-href-link");De&&!this.listenerFn&&(this.listenerFn=this.renderer.listen(De,"click",()=>{this.openM365Tile()}))}openM365Tile(){this.sideSheetService.push(Ka)}loadImapConfigs(){this.loadingState=y.Gu.inProgress,(0,Ii.z)([this.getRegistration(this.imapConfigPath+"/register").pipe((0,ke.Q)(this.unsubscribe$)),this.getConnectViaOptions$().pipe((0,ke.Q)(this.unsubscribe$))]).subscribe({next:([De,Pt])=>{(0,O.isEmpty)(Pt.connectVia)||(this.options.formState.connectViaOptions=this.options.formState.connectViaOptions.concat(Pt.connectVia.sort().map(mt=>({label:mt,value:mt})))),this.loadingState=y.Gu.loaded,this.model=De?.registration,this.model&&(this.model.vpceId=null===this.model?.vpceId?Ai.value:De?.registration?.vpceId),this.cdr.detectChanges()},error:De=>{this.loadingState=y.Gu.failed,this.cdr.detectChanges()}})}prepareTestProps(){const Pt={...this.model.vpceId===Ai.value?{}:{vpceId:this.model.vpceId},host:this.model.host,port:this.model.port};if((0,O.isEmpty)(this.model.authenticationMethod)||this.model.authenticationMethod===oi.BASIC){const pi=this.form.get("password").dirty?{password:this.model.password}:{};return{...Pt,...pi,username:this.model.username,authenticationMethod:oi.BASIC}}const mt={authenticationMethod:this.model.authenticationMethod,userEmail:this.model.userEmail};return{...Pt,...mt}}transformToData(){return{...this.model.vpceId===Ai.value?{}:{vpceId:this.model.vpceId},host:this.model.host,port:this.model.port,enabled:this.model.enabled,name:this.model.name,username:this.model.username,password:this.model?.password,authenticationMethod:(0,O.get)(this.model,"authenticationMethod",oi.BASIC),userEmail:(0,O.get)(this.model,"userEmail")}}onSave(){this.loadingState=y.Gu.inProgress,this.saveRegistration(this.imapConfigPath+"/register",this.transformToData()).pipe((0,ke.Q)(this.unsubscribe$)).subscribe({next:De=>{this.loadingState=y.Gu.loaded,this.toastService.showSuccessToast("Settings successfully saved"),this.integrationCenterService.tileRefresh.next(!0),this.sideSheetService.pop(),this.cdr.detectChanges()},error:()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to save settings."),this.cdr.detectChanges()}})}getRegistration(De){return this.authService.get(De)}saveRegistration(De,Pt){return this.authService.post(De,Pt)}ngOnDestroy(){this.listenerFn&&this.listenerFn(),this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(C.ok),o.rXU(pt.L),o.rXU(w.f),o.rXU(M.E),o.rXU(o.gRc),o.rXU(cn.U),o.rXU(y0.B),o.rXU(B.V),o.rXU(Lr.g))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-imap-integration-side-sheet"]],features:[o.Vt3],decls:16,vars:20,consts:[[3,"actioned","showCancelButton","disabled","action"],[1,"text-right","px-3","test-connection"],[1,"left-button-class-for-connect"],["placement","right","class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"ngbTooltip","click",4,"ngIf"],[1,"left-button-class"],["class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"disabled","ngbTooltip","click",4,"ngIf"],[3,"showBorder","showHeader"],[1,"",3,"formGroup","appSpinner"],[3,"fields","model","form","options"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],["placement","right","data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","ngbTooltip"],["data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","disabled","ngbTooltip"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],["class","btn btn-danger",3,"click",4,"ngIf"],[1,"btn","btn-danger",3,"click"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(2),o.k0s(),o.j41(3,"div",1)(4,"span",2),o.DNE(5,Io,2,1,"button",3),o.k0s()(),o.j41(6,"div",1)(7,"span",4),o.DNE(8,b1,2,1,"button",3)(9,Wn,2,1,"button",3)(10,yi,2,1,"button",3),o.k0s(),o.DNE(11,Ut,2,2,"button",5),o.k0s(),o.j41(12,"app-side-sheet-section",6)(13,"form",7),o.nrm(14,"formly-form",8),o.k0s(),o.DNE(15,vs,2,1,"div",9),o.k0s()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",o.bMT(1,18,mt.disabled$))("action","Save"),o.R7$(2),o.SpI(" ",mt.title,"\n"),o.R7$(3),o.Y8G("ngIf",mt.showConnect),o.R7$(3),o.Y8G("ngIf",mt.showResync),o.R7$(),o.Y8G("ngIf",mt.showReconnect),o.R7$(),o.Y8G("ngIf",mt.showDisconnect),o.R7$(),o.Y8G("ngIf",mt.showTestConnection),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options),o.R7$(),o.Y8G("ngIf",mt.showDeleteButton))},dependencies:[H.bT,C.qT,C.cb,C.j4,ie.b,ne.d,Q.R,le.D,pe.aF,ze.md,H.Jj],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}.left-button-class[_ngcontent-%COMP%]{float:left;left:5px}.left-button-class-for-connect[_ngcontent-%COMP%]{display:flex}"],changeDetection:0})}return je})();const or=[{type:"text-content",templateOptions:{html:'<p style="font-weight: 400;font-size: 1rem;margin-bottom: 8px;color: #416381;">Integration settings</p>\n      <p>To learn more about the Dataminr integration, follow the instructions in our documentation <a\n      href="https://learn.noggin.io/default.htm#cshid=81" target="blank">here.</p>'}},{key:"enabled",type:"toggle",templateOptions:{label:"Enable"}},{key:"clientId",type:"input",templateOptions:{type:"text",label:"Client ID",placeholder:"Enter client ID",required:!0}},{key:"clientSecret",type:"string-encryption",templateOptions:{label:"Client Secret"}},{key:"endpoint",type:"input",templateOptions:{type:"text",label:"Endpoint",placeholder:"Enter endpoint"}},{key:"connectVia",type:es.og.name,defaultValue:null,templateOptions:{label:"Connect via",required:!0},expressionProperties:{"templateOptions.options":"formState.connectViaOptions"}}];var wr=s(13771);function Y0(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Connect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.connectToolTip)}}function R0(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callResync())}),o.EFF(1," Synchronize "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.resyncToolTip)}}function $a(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Reconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.reconnectToolTip)}}function Ra(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callDisconnect())}),o.EFF(1," Disconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.disconnectToolTip)}}function o0(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",11),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onTestConnection())}),o.EFF(1," Test connection "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("disabled",De.form.invalid)("ngbTooltip",De.testConnectionTooltip)}}function pl(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",14),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(1,"Delete"),o.k0s()}}function B0(je,Kn){if(1&je&&(o.j41(0,"div",12),o.DNE(1,pl,2,0,"button",13),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngIf",!!De.tip)}}let M1=(()=>{class je extends li{constructor(De,Pt,mt,pi,Ls,lo,Ro,to){super(De,pi,Pt,mt,lo,Ro),this.fb=De,this.toastService=Pt,this.sideSheetService=mt,this.integrationCenterConfigurationService=pi,this.integrationCenterService=Ls,this.cdr=lo,this.encryptionService=Ro,this.dataminrConfigService=to,this.title="Dataminr",this.testConnectionMessage="Unable to connect to Dataminr",this.showTestConnection=!1,this.hasChange=!1,this.initialValue={},this.fields=(0,O.cloneDeep)(or),this.options={formState:{connectViaOptions:[Ai]}},this.unsubscribe$=new gt.B,this.testConnectionEndpoint=((0,o.naY)()?"http://localhost:4200":Y.c.host)+`${Y.c.dataminrServicePath}/testConnection`}ngOnInit(){this.loadingState=y.Gu.inProgress,this.loadConfigData()}loadConfigData(){(0,Ii.z)([this.dataminrConfigService.callAuthServiceViaGet("register").pipe((0,ke.Q)(this.unsubscribe$)),this.integrationCenterConfigurationService.getConnectViaNetworks().pipe((0,ke.Q)(this.unsubscribe$))]).subscribe(([De,Pt])=>{(0,O.isEmpty)(Pt.connectVia)||(this.options.formState.connectViaOptions=this.options.formState.connectViaOptions.concat(Pt.connectVia.sort().map(mt=>({label:mt,value:mt})))),this.patchFormValues(De)},()=>{this.patchFormValues({}),this.loadingState=y.Gu.failed,this.cdr.detectChanges()})}patchFormValues(De){De?.registration?.clientSecret||(this.showTestConnection=!1),this.form.patchValue({enabled:De?.registration?.enabled||!1,clientId:De?.registration?.clientId||"",clientSecret:De?.registration?.clientSecret||"",endpoint:De?.registration?.endpoint||"",connectVia:De?.registration?.vpceId||Ai.value}),this.loadingState=y.Gu.loaded,this.cdr.detectChanges(),this.onUpdateFormValueChange()}prepareTestProps(){const De=this.model.connectVia===Ai.value?{vpceId:""}:{vpceId:this.model.connectVia};return""!==this.model.clientSecret?{vpceId:De?.vpceId,endpoint:this.model.endpoint,clientSecret:this.model.clientSecret,clientId:this.model.clientId}:{vpceId:De?.vpceId,endpoint:this.model.endpoint,clientId:this.model.clientId}}onSave(){this.loadingState=y.Gu.inProgress;const De=this.prepareTestProps();De.enabled=this.model?.enabled,this.dataminrConfigService.callAuthServiceViaPost(De,"register").pipe((0,ke.Q)(this.unsubscribe$)).subscribe(()=>{this.loadingState=y.Gu.loaded,this.toastService.showSuccessToast("Settings successfully saved"),this.integrationCenterService.tileRefresh.next(!0),this.cdr.detectChanges(),this.sideSheetService.pop()},()=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to save settings."),this.cdr.detectChanges()})}onUpdateFormValueChange(){this.initialValue=this.form.value,this.form.valueChanges.pipe((0,ke.Q)(this.unsubscribe$)).subscribe(De=>{this.hasChange=Object.keys(this.initialValue).some(Pt=>this.form.value.clientSecret!==this.initialValue.clientSecret),this.hasChange&&(this.showTestConnection=!0)})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(w.f),o.rXU(M.E),o.rXU(pt.L),o.rXU(y0.B),o.rXU(o.gRc),o.rXU(cn.U),o.rXU(wr.l))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-dataminr-settings"]],features:[o.Vt3],decls:16,vars:20,consts:[[3,"actioned","showCancelButton","disabled","action"],[1,"text-right","px-3","test-connection"],[1,"left-button-class-for-connect"],["placement","right","class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"ngbTooltip","click",4,"ngIf"],[1,"left-button-class"],["class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"disabled","ngbTooltip","click",4,"ngIf"],[3,"showBorder","showHeader"],[1,"",3,"formGroup","appSpinner"],[3,"fields","model","form","options"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],["placement","right","data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","ngbTooltip"],["data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","disabled","ngbTooltip"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],["class","btn btn-danger",3,"click",4,"ngIf"],[1,"btn","btn-danger",3,"click"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(2),o.k0s(),o.j41(3,"div",1)(4,"span",2),o.DNE(5,Y0,2,1,"button",3),o.k0s()(),o.j41(6,"div",1)(7,"span",4),o.DNE(8,R0,2,1,"button",3)(9,$a,2,1,"button",3)(10,Ra,2,1,"button",3),o.k0s(),o.DNE(11,o0,2,2,"button",5),o.k0s(),o.j41(12,"app-side-sheet-section",6)(13,"form",7),o.nrm(14,"formly-form",8),o.k0s(),o.DNE(15,B0,2,1,"div",9),o.k0s()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",o.bMT(1,18,mt.disabled$))("action","Save"),o.R7$(2),o.SpI(" ",mt.title,"\n"),o.R7$(3),o.Y8G("ngIf",mt.showConnect),o.R7$(3),o.Y8G("ngIf",mt.showResync),o.R7$(),o.Y8G("ngIf",mt.showReconnect),o.R7$(),o.Y8G("ngIf",mt.showDisconnect),o.R7$(),o.Y8G("ngIf",mt.showTestConnection),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options),o.R7$(),o.Y8G("ngIf",mt.showDeleteButton))},dependencies:[H.bT,C.qT,C.cb,C.j4,ie.b,ne.d,Q.R,le.D,pe.aF,ze.md,H.Jj],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}.left-button-class[_ngcontent-%COMP%]{float:left;left:5px}.left-button-class-for-connect[_ngcontent-%COMP%]{display:flex}"],changeDetection:0})}return je})();var Gr=function(je){return je.OAUTH="oAuth",je.TOKEN_AUTH="tokenAuth",je}(Gr||{});const xo=[{key:"connectionName",type:"input",templateOptions:{type:"text",label:"Name",required:!0},hideExpression:(je,Kn,De)=>!Kn.connectionType},{key:"enabled",type:"toggle",templateOptions:{label:"Enable"}},{key:"default",type:es.Ho.name,templateOptions:{label:"Set as default"},expressionProperties:{"templateOptions.disabled":(je,Kn,De)=>(je.enabled||De.formControl.setValue(!1),!je.enabled)},hideExpression:(je,Kn,De)=>!Kn.connectionType},{key:"connectionType",type:es.og.name,templateOptions:{label:"Connection type",options:[os,Fs]},defaultValue:os.value,expressionProperties:{"templateOptions.options":(je,Kn,De)=>Kn.connectionType},hideExpression:(je,Kn,De)=>!Kn.connectionType},{key:"tokenHost",type:"input",templateOptions:{type:"text",label:"Token host",required:!0}},{key:"connectVia",type:es.og.name,defaultValue:null,templateOptions:{label:"Connect via",required:!0},expressionProperties:{"templateOptions.options":"formState.connectViaOptions"}},{key:"tokenPath",type:"input",templateOptions:{type:"text",label:"Token path",required:!0}},{key:"clientId",type:"input",templateOptions:{type:"text",label:"Client ID",required:!0},hideExpression:je=>je.connectionType!==Gr.OAUTH},{key:"username",type:"input",templateOptions:{type:"text",label:"Username",required:!0},hideExpression:je=>je.connectionType===Gr.OAUTH},{key:"clientSecret",type:"string-encryption",templateOptions:{label:"Client secret",required:!0},hideExpression:je=>je.connectionType!==Gr.OAUTH},{key:"password",type:"string-encryption",templateOptions:{label:"Password",required:!0},hideExpression:je=>je.connectionType===Gr.OAUTH},{template:"<p>\n                Check the following to use the geocoder for this account rather than the default Esri geocoder. If checked here, geocoders active on other ArcGIS connections will be deactivated.\n              </p>",hideExpression:(je,Kn,De)=>!Kn.connectionType},{key:"geocoding",type:es.Ho.name,templateOptions:{label:"Use for geocoding"}},{key:"geocodeServerUrl",type:"input",templateOptions:{type:"text",label:"Geocode server URL"},hideExpression:je=>!1===je.geocoding}];var rr=s(56832),aa=s(27468),B1=s(28999);let Q1=(()=>{class je extends li{constructor(De,Pt,mt,pi,Ls,lo,Ro,to,Er){super(De,Ls,mt,pi,lo,Ro),this.fb=De,this.arcgisService=Pt,this.toastService=mt,this.sideSheetService=pi,this.integrationCenterConfigurationService=Ls,this.cdr=lo,this.encryptionService=Ro,this.arcGISSettingService=to,this.objectService=Er,this.fields=(0,O.cloneDeep)(xo),this.model=Object.create({}),this.tip="",this.enoType="app/integration-arcgis",this.scheme=rr.x,this.encryptedDataFieldName="clientSecret",this.encryptedDataKeyFieldName="clientSecretKey",this.servicePath=Y.c.gisServicePath,this.options={formState:{connectionType:[os,Fs],connectViaOptions:[Ai],default:!1,enabled:!1}}}ngOnInit(){this.fields[this.fields.findIndex(De=>"connectionType"===De.key)].hideExpression=!1,this.options={formState:{connectionType:[os,Fs],connectViaOptions:[Ai],default:!1,enabled:!1}},this.model.geocoding=!!this.form.value.geocoding&&this.form.value.geocoding,this.model.default=!!this.form.value.default&&this.form.value.default,super.ngOnInit()}hideFormFields(){-1!==this.fields.findIndex(De=>"connectionType"===De.key)&&(this.fields[this.fields.findIndex(De=>"connectionType"===De.key)].hideExpression=!0,this.model.connectionType=""),-1!==this.fields.findIndex(De=>"connectionName"===De.key)&&(this.fields[this.fields.findIndex(De=>"connectionName"===De.key)].hideExpression=!0,this.model.connectionName=""),-1!==this.fields.findIndex(De=>"default"===De.key)&&(this.fields[this.fields.findIndex(De=>"default"===De.key)].hideExpression=!0,this.model.default=!1)}modelChange(De){De.connectionType===Fs.value&&(this.encryptedDataFieldName="password",this.encryptedDataKeyFieldName="passwordKey"),De.connectionType===os.value&&(this.encryptedDataFieldName="clientSecret",this.encryptedDataKeyFieldName="clientSecretKey");const Pt=this.fields[this.fields.findIndex(pi=>"default"===pi.key)];De.enabled&&-1!==Pt?Pt.templateOptions.disabled=!1:(Pt.templateOptions.disabled=!0,Pt.formControl.setValue(!1));const mt=this.fields[this.fields.findIndex(pi=>"geocodeServerUrl"===pi.key)];mt.hide=!De.geocoding||-1===mt}onSave(){this.model.geocoding=!!this.form.value.geocoding&&this.form.value.geocoding,this.model.connectionType===Fs.value&&(this.model.clientId="",this.model.clientSecret=""),this.model.connectionType===os.value&&(this.model.username="",this.model.password=""),this.encryptForm$().pipe((0,E.$)(),(0,k.n)(De=>{let Pt=this.transformToData(De);const mt={$tip:this.tip||null,$type:this.enoType,$security:s0.Ay.SECURITY.INSTANCE_USER_ADMIN,enabled:Pt.enabled||!1,...Pt},pi=[],Ls=[mt],lo=[rr.x];return!0===mt.default&&pi.push(this.arcGISSettingService.getDefaultConnection().pipe((0,D.s)(1))),!0===mt.geocoding&&pi.push(this.arcGISSettingService.getGeocodingConnection().pipe((0,D.s)(1))),pi?.length?(0,aa.p)(...pi).pipe((0,k.n)(([Ro,to])=>(this.processGeocodingAndDefaultObjects(Ls,lo,Ro,to,mt),this.setIntegrationObjects(Ls,lo)))):this.setIntegrationObjects(Ls,lo)})).subscribe(()=>{this.toastService.showSuccessToast("Settings successfully saved"),this.sideSheetService.pop(),this.done(!0)},()=>{this.toastService.showErrorToast("Failed to save settings."),this.cdr.detectChanges()})}processGeocodingAndDefaultObjects(De,Pt,mt,pi,Ls){return mt?.length&&this.booleanConverter(mt[0]),pi?.length&&this.booleanConverter(pi[0]),mt?.length&&!0===Ls?.default&&Ls.$tip!==mt[0].$tip&&(De.push({...mt[0],default:!1,$type:this.enoType}),Pt.push(rr.x)),mt?.length&&(0,O.isEmpty)(pi)&&!0===Ls?.geocoding&&Ls.$tip!==mt[0].$tip&&(De.push({...mt[0],geocoding:!1,$type:this.enoType}),Pt.push(rr.x)),pi?.length&&!0===Ls?.geocoding&&Ls.$tip!==pi[0].$tip&&(De.push({...pi[0],geocoding:!1,$type:this.enoType}),Pt.push(rr.x)),[De,Pt]}setIntegrationObjects(De,Pt){return this.objectService.setObjects(De,Pt).pipe((0,E.$)(),(0,F.T)(mt=>mt.length>0?mt[mt.length-1].tip:null))}booleanConverter(De){Object.keys(De).forEach(Pt=>{"true"===De[Pt]&&(De[Pt]=!0),"false"===De[Pt]&&(De[Pt]=!1)})}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ze),o.rXU(B1.c),o.rXU(w.f),o.rXU(M.E),o.rXU(pt.L),o.rXU(o.gRc),o.rXU(cn.U),o.rXU(B1.c),o.rXU(e1.T))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-arcgis-settings-side-sheet"]],features:[o.Vt3],decls:6,vars:12,consts:[[3,"actioned","showCancelButton","disabled","action"],[3,"showBorder"],[1,"pt-2",3,"formGroup","appSpinner"],[3,"modelChange","fields","model","form","options"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(2," Configure ArcGIS Geocoder\n"),o.k0s(),o.j41(3,"app-side-sheet-section",1)(4,"form",2)(5,"formly-form",3),o.bIt("modelChange",function(Ls){return mt.modelChange(Ls)}),o.k0s()()()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",o.bMT(1,10,mt.disabled$))("action","Save"),o.R7$(3),o.Y8G("showBorder",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options))},dependencies:[C.qT,C.cb,C.j4,ie.b,Q.R,le.D,pe.aF,H.Jj],styles:["app-side-sheet-header .card-header{height:0px}"],changeDetection:0})}return je})();const br=(je,Kn)=>({enabledConnections:je,disabledConnections:Kn}),Rl=()=>["title"];function hl(je,Kn){1&je&&o.eu8(0)}function hr(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-side-sheet-list-item",19),o.bIt("click",function(){const mt=o.eBV(De).$implicit,pi=o.XpG(4);return o.Njj(pi.createOrOpenItem(mt.$tip))}),o.j41(1,"div",20),o.EFF(2),o.k0s()()}if(2&je){const De=Kn.$implicit;o.Y8G("hasChevron",!0),o.R7$(2),o.JRh("true"==De.default?De.title+" (default)":De.title)}}function Ul(je,Kn){if(1&je&&(o.j41(0,"app-side-sheet-list"),o.DNE(1,hr,3,2,"app-side-sheet-list-item",18),o.nI1(2,"filter"),o.k0s()),2&je){const De=o.XpG(3);o.R7$(),o.Y8G("ngForOf",o.brH(2,1,De.enabledArcgisConnections,De.filterText,o.lJ4(5,Rl)))}}function t1(je,Kn){if(1&je&&(o.qex(0),o.j41(1,"h6"),o.EFF(2,"Enabled"),o.k0s(),o.DNE(3,Ul,3,6,"app-side-sheet-list",13),o.bVm()),2&je){o.XpG();const De=o.sdS(14),Pt=o.XpG();o.R7$(3),o.Y8G("ngIf","loaded"===Pt.loadingState)("ngIfElse",De)}}function L0(je,Kn){1&je&&o.nrm(0,"div",21),2&je&&o.Y8G("appSpinner",!0)}function Ll(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"div",22)(1,"app-empty-state",23),o.bIt("actionClick",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.createOrOpenItem())}),o.k0s()()}if(2&je){const De=o.XpG(2);o.R7$(),o.FS9("label",De.labelForEnabledEmptyState),o.FS9("actionText",De.actionTextForEnabledEmptyState)}}function k0(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-side-sheet-list-item",19),o.bIt("click",function(){const mt=o.eBV(De).$implicit,pi=o.XpG(3);return o.Njj(pi.createOrOpenItem(mt.$tip))}),o.j41(1,"div",20),o.EFF(2),o.k0s()()}if(2&je){const De=Kn.$implicit;o.Y8G("hasChevron",!0),o.R7$(2),o.JRh(De.title)}}function Gl(je,Kn){if(1&je&&(o.qex(0),o.j41(1,"h6"),o.EFF(2,"Disabled"),o.k0s(),o.j41(3,"app-side-sheet-list"),o.DNE(4,k0,3,2,"app-side-sheet-list-item",18),o.nI1(5,"filter"),o.k0s(),o.bVm()),2&je){const De=o.XpG(2);o.R7$(4),o.Y8G("ngForOf",o.brH(5,1,De.disabledArcgisConnections,De.filterText,o.lJ4(5,Rl)))}}function fl(je,Kn){1&je&&o.nrm(0,"div",21),2&je&&o.Y8G("appSpinner",!0)}function N1(je,Kn){if(1&je&&o.nrm(0,"app-empty-state",24),2&je){const De=o.XpG(2);o.FS9("label",De.labelForDisabledEmptyState),o.Y8G("showActionText",!1)}}function bt(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-side-sheet-header",3),o.bIt("actioned",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onDone())}),o.EFF(1),o.k0s(),o.j41(2,"div")(3,"div",4)(4,"div",5)(5,"div",6),o.nrm(6,"span",7),o.j41(7,"input",8),o.mxI("ngModelChange",function(mt){o.eBV(De);const pi=o.XpG();return o.DH7(pi.filterText,mt)||(pi.filterText=mt),o.Njj(mt)}),o.k0s()(),o.j41(8,"div",9)(9,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.createOrOpenItem())}),o.nrm(10,"mat-icon",11),o.k0s()()()(),o.j41(11,"app-side-sheet-section",12),o.DNE(12,t1,4,2,"ng-container",13)(13,L0,1,1,"ng-template",null,1,o.C5r)(15,Ll,2,2,"div",14),o.k0s(),o.j41(16,"app-side-sheet-section",15),o.DNE(17,Gl,6,6,"ng-container",16)(18,fl,1,1,"ng-template",null,1,o.C5r)(20,N1,1,2,"app-empty-state",17),o.k0s()()}if(2&je){const De=o.sdS(14),Pt=o.XpG();o.Y8G("showCancelButton",!0)("action","Done"),o.R7$(),o.JRh(Pt.header),o.R7$(6),o.R50("ngModel",Pt.filterText),o.R7$(4),o.FS9("title",Pt.title),o.R7$(),o.Y8G("ngIf",Pt.enabledArcgisConnections)("ngIfElse",De),o.R7$(3),o.Y8G("ngIf",!(null!=Pt.enabledArcgisConnections&&Pt.enabledArcgisConnections.length)),o.R7$(),o.Y8G("showHeader",!1),o.R7$(),o.Y8G("ngIf",Pt.disabledArcgisConnections),o.R7$(3),o.Y8G("ngIf",!(null!=Pt.disabledArcgisConnections&&Pt.disabledArcgisConnections.length))}}let Ln=(()=>{class je{constructor(De,Pt,mt){this.cdr=De,this.sideSheetService=Pt,this.arcgisService=mt,this.header="ArcGIS connections",this.title="ArcGIS connections",this.filterText="",this.loadingStates=y.Gu,this.actionTextForEnabledEmptyState="Create ArcGIS connection",this.labelForEnabledEmptyState="No ArcGIS connections enabled",this.labelForDisabledEmptyState="No ArcGIS connections disabled",this.destroy$=new gt.B}ngOnInit(){this.getItems()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getItems(){this.errorMessage=null,this.loadingState=y.Gu.inProgress,this.arcgisService?.getAllArcgisItems().pipe((0,ke.Q)(this.destroy$)).subscribe(De=>{this.enabledArcgisConnections=De.filter(Pt=>"true"===Pt.enabled?.toString()),this.disabledArcgisConnections=De.filter(Pt=>"false"===Pt.enabled?.toString()),this.cdr.markForCheck(),this.loadingState=y.Gu.loaded},De=>{this.loadingState=y.Gu.failed,this.errorMessage=`Failed to load ${this.title}`,this.enabledArcgisConnections=[],this.disabledArcgisConnections=[],this.cdr.markForCheck()})}createOrOpenItem(De=null){const mt=this.sideSheetService.push(Q1).componentInstance;mt.model=mt.model?mt.model:Object.create({}),De&&mt.setTip(De),mt.done=()=>{this.getItems()}}onDone(){this.sideSheetService.pop()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(o.gRc),o.rXU(M.E),o.rXU(B1.c))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-arcgis-integration"]],decls:3,vars:5,consts:[["itemList",""],["loading",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"actioned","showCancelButton","action"],[1,"px-3","py-2"],[1,"d-flex","align-items-center"],[1,"search-input","flex-grow-1"],[1,"search-input-icon","mdi","mdi-search"],["type","text","placeholder","",1,"form-control",3,"ngModelChange","ngModel"],[1,"d-flex"],["data-test","sftp-server-add-button",1,"eim-button_minimized","btn","btn-secondary","btn-add","ml-3",3,"click"],["svgIcon","plus"],[3,"title"],[4,"ngIf","ngIfElse"],["style","margin-bottom: 50px;",4,"ngIf"],[3,"showHeader"],[4,"ngIf"],["imgSrc","assets/img/empty-states/empty-state-generic.svg",3,"label","showActionText",4,"ngIf"],[3,"hasChevron","click",4,"ngFor","ngForOf"],[3,"click","hasChevron"],[1,"eim-font-side-sheet-list-item_font-size"],[1,"mt-6",3,"appSpinner"],[2,"margin-bottom","50px"],["imgSrc","assets/img/empty-states/empty-state-generic.svg",3,"actionClick","label","actionText"],["imgSrc","assets/img/empty-states/empty-state-generic.svg",3,"label","showActionText"]],template:function(Pt,mt){if(1&Pt&&o.DNE(0,hl,1,0,"ng-container",2)(1,bt,21,11,"ng-template",null,0,o.C5r),2&Pt){const pi=o.sdS(2);o.Y8G("ngTemplateOutlet",pi)("ngTemplateOutletContext",o.l_i(2,br,mt.enabledArcgisConnections,mt.disabledArcgisConnections))}},dependencies:[H.Sq,H.bT,H.T3,C.me,C.BC,C.vS,ie.b,ne.d,Di.N,Bt.A,Q.R,le.D,Li.o,Rt.An,Jt.L],changeDetection:0})}return je})();var kt=s(25986);function dn(je,Kn){if(1&je){const De=o.RV6();o.qex(0),o.j41(1,"div",7)(2,"button",8),o.nrm(3,"mat-icon",9),o.k0s(),o.j41(4,"div",10)(5,"div")(6,"button",11),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onRequestDelete())}),o.EFF(7,"Delete connection..."),o.k0s()()()(),o.bVm()}}let si=(()=>{class je{constructor(De,Pt,mt,pi){this.fb=De,this.nogginConnectSettingsService=Pt,this.toastService=mt,this.modalService=pi,this.header="Configure Noggin connection",this.form=this.fb.group({}),this.loading=new Ge.t(!1),this.isEditMode=!1,this.model={name:"",namespace:""},this.fields=[{fieldGroupClassName:"d-block p-3",fieldGroup:[{key:"enabled",type:"toggle",templateOptions:{label:"Enable"}},{key:"name",type:"input",templateOptions:{label:"Name",placeholder:"Enter name",required:!0}},{key:"namespace",type:"input",templateOptions:{label:"Namespace ID",placeholder:"Enter namespace id",required:!0}}]},{key:"types",type:"add-object-types",templateOptions:{title:"Connected object types",actionText:"Add an object type",emptyLabelText:"No object types here"}}]}onDone(){this.loading.next(!0),this.nogginConnectSettingsService.saveInteropSystem({...this.model}).subscribe(De=>{this.toastService.showSuccessToast("Settings successfully saved"),this.loading.next(!1),this.done&&this.done({...this.model,$tip:De?.[0]?.tip})},De=>{this.toastService.showErrorToast("Unable to save settings"),this.loading.next(!1)})}onRequestDelete(){const De=this.modalService.open(be.F,be.G);De.componentInstance.setProps({cancelText:"Cancel",confirmText:"Delete",title:"Delete Noggin connection",message:"Do you really want to delete this Noggin connection? Data sharing with this system will no longer work."}),De.result.then(mt=>{mt&&this.deleteConnection()})}deleteConnection(){this.loading.next(!0),this.nogginConnectSettingsService.deleteInteropSystem({...this.model}).subscribe(De=>{this.loading.next(!1),De?(this.toastService.showSuccessToast("Noggin connection deleted"),this.onDelete&&this.onDelete({...this.model})):this.toastService.showErrorToast("Unable to delete Noggin connection")},De=>{this.loading.next(!1),this.toastService.showErrorToast("Unable to delete Noggin connection")})}testConnection(){this.loading.next(!0),this.nogginConnectSettingsService.testConnection(this.model?.namespace).subscribe(()=>{this.toastService.showSuccessToast("Test connection successful"),this.loading.next(!1)},De=>{this.loading.next(!1),this.toastService.showErrorToast(De instanceof rt.yz&&400===De.status?De.error?.message??"Unable to find namespace":"Unable to find namespace")})}setData(De){this.model={...this.model,...De}}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(kt.Z),o.rXU(w.f),o.rXU(ze.Bq))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-configure-noggin-connection"]],decls:12,vars:17,consts:[[3,"actioned","showCancelButton","action","disabled"],[1,"text-right","px-3","test-connection"],[1,"left-button-class"],["data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1","ng-star-inserted",3,"click","disabled"],[4,"ngIf"],[3,"formGroup","appSpinner"],[3,"fields","model","form"],["ngbDropdown","","placement","bottom-right",1,"nav-item","dropdown","d-flex","justify-content-end","px-3","py-1"],["ngbDropdownToggle","","title","More actions",1,"eim-button_minimized","btn","btn-secondary","ml-1"],["svgIcon","more"],["ngbDropdownMenu","","role","menu",1,"dropdown-menu"],["appTabIndex","","role","menuitem",1,"dropdown-item",3,"click"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onDone()}),o.EFF(2),o.k0s(),o.j41(3,"div",1),o.nrm(4,"span",2),o.j41(5,"button",3),o.nI1(6,"async"),o.bIt("click",function(){return mt.testConnection()}),o.EFF(7," Test connection "),o.k0s()(),o.DNE(8,dn,8,0,"ng-container",4),o.j41(9,"form",5),o.nI1(10,"async"),o.nrm(11,"formly-form",6),o.k0s()),2&Pt&&(o.Y8G("showCancelButton",!0)("action","Save")("disabled",mt.form.invalid||!0===o.bMT(1,11,mt.loading)),o.R7$(2),o.JRh(mt.header),o.R7$(3),o.Y8G("disabled",mt.form.invalid||!0===o.bMT(6,13,mt.loading)),o.R7$(3),o.Y8G("ngIf",mt.isEditMode),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",o.bMT(10,15,mt.loading)),o.R7$(2),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form))},dependencies:[H.bT,C.qT,C.cb,C.j4,Q.R,Rt.An,ie.b,ze.tg,ze.do,ze.U0,pe.aF,H.Jj],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}"],changeDetection:0})}return je})();var is=s(16652);function bs(je,Kn){if(1&je&&(o.j41(0,"label",6),o.EFF(1),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.SpI("",De.label," ")}}let Xs=(()=>{class je{constructor(De){this.copyToClipBoard=De,this.text="",this.label=""}ngOnInit(){}copy(){this.copyToClipBoard(this.text)}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(is.x_))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-copy-text-placeholder"]],inputs:{text:"text",label:"label"},decls:6,vars:3,consts:[[1,"d-flex","p-3","justify-content-center","copyable-container"],[1,"w-100","eim-forms_form-control-text-field-and-button-container","eim-forms_form-control-text-field-input-container"],["class","eim-forms_form-control-label",4,"ngIf"],["type","input",1,"form-control","form-control-sm","form-control-disabled",3,"value","disabled"],["data-test","copy-text-button",1,"btn","btn-secondary","eim-button_minimized","ml-1","mb-3",3,"click"],["aria-hidden","false","aria-label","copy","svgIcon","duplicate"],[1,"eim-forms_form-control-label"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"div",0)(1,"div",1),o.DNE(2,bs,2,1,"label",2),o.nrm(3,"input",3),o.k0s(),o.j41(4,"button",4),o.bIt("click",function(){return mt.copy()}),o.nrm(5,"mat-icon",5),o.k0s()()),2&Pt&&(o.R7$(2),o.Y8G("ngIf",mt.label),o.R7$(),o.Y8G("value",mt.text)("disabled",!0))},dependencies:[H.bT,Rt.An],styles:["[_nghost-%COMP%]{display:block}.form-control-disabled[_ngcontent-%COMP%]{background-color:transparent;border:none;padding:0}.copyable-container[_ngcontent-%COMP%]{gap:5px;align-items:center}"],changeDetection:0})}return je})();function jr(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-side-sheet-list-item",13),o.bIt("click",function(){const mt=o.eBV(De).$implicit,pi=o.XpG(3);return o.Njj(pi.createOrOpenConnection(mt))}),o.j41(1,"div",14),o.EFF(2),o.k0s(),o.j41(3,"div",15),o.EFF(4),o.k0s()()}if(2&je){const De=Kn.$implicit;o.Y8G("hasChevron",!0),o.R7$(2),o.JRh(De.name),o.R7$(2),o.JRh(De.namespace)}}function Mr(je,Kn){if(1&je&&(o.qex(0),o.j41(1,"app-side-sheet-list"),o.DNE(2,jr,5,3,"app-side-sheet-list-item",12),o.k0s(),o.bVm()),2&je){const De=o.XpG().ngIf;o.R7$(2),o.Y8G("ngForOf",De)}}function Ma(je,Kn){if(1&je&&(o.qex(0),o.j41(1,"h6"),o.EFF(2,"Enabled"),o.k0s(),o.DNE(3,Mr,3,1,"ng-container",11),o.bVm()),2&je){const De=Kn.ngIf;o.XpG();const Pt=o.sdS(12);o.R7$(3),o.Y8G("ngIf",(null==De?null:De.length)>0)("ngIfElse",Pt)}}function Rs(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-empty-state",16),o.bIt("actionClick",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.createOrOpenConnection())}),o.k0s()}if(2&je){const De=o.XpG();o.FS9("label",De.labelForEnabledEmptyState),o.FS9("actionText",De.actionTextForEnabledEmptyState)}}function fr(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-side-sheet-list-item",13),o.bIt("click",function(){const mt=o.eBV(De).$implicit,pi=o.XpG(3);return o.Njj(pi.createOrOpenConnection(mt))}),o.j41(1,"div",14),o.EFF(2),o.k0s(),o.j41(3,"div",15),o.EFF(4),o.k0s()()}if(2&je){const De=Kn.$implicit;o.Y8G("hasChevron",!0),o.R7$(2),o.JRh(De.name),o.R7$(2),o.JRh(De.namespace)}}function Fo(je,Kn){if(1&je&&(o.qex(0),o.j41(1,"app-side-sheet-list"),o.DNE(2,fr,5,3,"app-side-sheet-list-item",12),o.k0s(),o.bVm()),2&je){const De=o.XpG().ngIf;o.R7$(2),o.Y8G("ngForOf",De)}}function Va(je,Kn){if(1&je&&(o.qex(0),o.j41(1,"h6"),o.EFF(2,"Disabled"),o.k0s(),o.DNE(3,Fo,3,1,"ng-container",11),o.bVm()),2&je){const De=Kn.ngIf;o.XpG();const Pt=o.sdS(17);o.R7$(3),o.Y8G("ngIf",De.length>0)("ngIfElse",Pt)}}function E0(je,Kn){if(1&je&&o.nrm(0,"app-empty-state",17),2&je){const De=o.XpG();o.FS9("label",De.labelForDisabledEmptyState),o.Y8G("showActionText",!1)}}let k1=(()=>{class je{constructor(De,Pt,mt,pi){this.sideSheetService=De,this.nogginConnectSettingsSerVice=Pt,this.toastService=mt,this.integrationCenterService=pi,this.header="Noggin Connect",this.title="Noggin connections",this.namespace=Y.c.ns,this.allConnections=[],this.allConnections$=new Ge.t(this.allConnections),this.enabledNogginSystemConnections$=this.allConnections$.pipe((0,F.T)(Ls=>Ls.filter(lo=>!0===lo.enabled))),this.disabledNogginSystemConnections$=this.allConnections$.pipe((0,F.T)(Ls=>Ls.filter(lo=>!1===lo.enabled))),this.loading=new Ge.t(!1),this.actionTextForEnabledEmptyState="Add a connection",this.labelForEnabledEmptyState="No Noggin connections here",this.labelForDisabledEmptyState="No Noggin connections here"}ngOnInit(){this.loading.next(!0),this.nogginConnectSettingsSerVice.getAllInteropSystems().pipe((0,D.s)(1)).subscribe(De=>{this.loading.next(!1),this.allConnections=[...De],this.allConnections$.next([...this.allConnections])},De=>{this.loading.next(!1),this.toastService.showErrorToast("Unable to retrieve connections")})}onDone(){this.sideSheetService.pop()}createOrOpenConnection(De){const mt=this.sideSheetService.push(si).componentInstance;(0,O.isEmpty)(De)||(mt.isEditMode=!0,mt.setData({...De})),mt.done=pi=>{const Ls=this.allConnections.findIndex(lo=>lo.$tip===pi.$tip);this.allConnections=Ls>-1?[...this.allConnections.slice(0,Ls),pi,...this.allConnections.slice(Ls+1)]:[...this.allConnections,pi],this.allConnections$.next([...this.allConnections]),this.sideSheetService.pop(),this.integrationCenterService.tileRefresh.next(!0)},mt.onDelete=pi=>{this.allConnections=this.allConnections.filter(Ls=>Ls.$tip!==pi.$tip),this.allConnections$.next([...this.allConnections]),this.sideSheetService.pop(),this.integrationCenterService.tileRefresh.next(!0)}}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(M.E),o.rXU(kt.Z),o.rXU(w.f),o.rXU(y0.B))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-noggin-connect-settings"]],decls:18,vars:16,consts:[["emptyState",""],["emptyStateDisabled",""],[3,"actioned","showCancelButton","action"],[3,"appSpinner"],[3,"label","text"],[3,"title"],["buttons",""],["data-test","plus-button","title","add connection",1,"ml-1","eim-button_minimized","btn","btn-secondary",3,"click"],["svgIcon","plus"],[4,"ngIf"],[3,"showHeader"],[4,"ngIf","ngIfElse"],[3,"hasChevron","click",4,"ngFor","ngForOf"],[3,"click","hasChevron"],[1,"eim-font-side-sheet-list-item_font-size"],[1,"eim-font-size_p-normal"],["imgSrc","assets/img/empty-states/empty-state-generic.svg","size","default",3,"actionClick","label","actionText"],["imgSrc","assets/img/empty-states/empty-state-generic.svg","size","default",3,"label","showActionText"]],template:function(Pt,mt){if(1&Pt){const pi=o.RV6();o.j41(0,"app-side-sheet-header",2),o.bIt("actioned",function(){return o.eBV(pi),o.Njj(mt.onDone())}),o.EFF(1),o.k0s(),o.j41(2,"div",3),o.nI1(3,"async"),o.nrm(4,"app-copy-text-placeholder",4),o.j41(5,"app-side-sheet-section",5)(6,"div",6)(7,"button",7),o.bIt("click",function(){return o.eBV(pi),o.Njj(mt.createOrOpenConnection())}),o.nrm(8,"mat-icon",8),o.k0s()(),o.DNE(9,Ma,4,2,"ng-container",9),o.nI1(10,"async"),o.DNE(11,Rs,1,2,"ng-template",null,0,o.C5r),o.k0s(),o.j41(13,"app-side-sheet-section",10),o.DNE(14,Va,4,2,"ng-container",9),o.nI1(15,"async"),o.DNE(16,E0,1,2,"ng-template",null,1,o.C5r),o.k0s()()}2&Pt&&(o.Y8G("showCancelButton",!0)("action","Done"),o.R7$(),o.JRh(mt.header),o.R7$(),o.Y8G("appSpinner",o.bMT(3,10,mt.loading)),o.R7$(2),o.Y8G("label","System namespace ID")("text",mt.namespace),o.R7$(),o.FS9("title",mt.title),o.R7$(4),o.Y8G("ngIf",o.bMT(10,12,mt.enabledNogginSystemConnections$)),o.R7$(4),o.Y8G("showHeader",!1),o.R7$(),o.Y8G("ngIf",o.bMT(15,14,mt.disabledNogginSystemConnections$)))},dependencies:[H.Sq,H.bT,Di.N,Bt.A,Q.R,le.D,Li.o,Rt.An,ie.b,Xs,H.Jj],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}return je})();var n1=s(67606);const Ja=[{key:"enabled",type:"toggle",templateOptions:{label:"Enable"},defaultValue:!1},{key:"host",type:"input",templateOptions:{type:"text",label:"Host",placeholder:"Enter host"},defaultValue:"https://api.what3words.com"},{key:"apiKey",type:"string-encryption",templateOptions:{type:"password",label:"API key",placeholder:"Enter API key",required:!0,reset:je=>{je.decryptKey=""}}},{key:"language",type:es.og.name,defaultValue:"en",templateOptions:{label:"Language",showBorder:!0,required:!0,options:[{label:"Afrikaans (Afrikaans)",value:"af"},{label:"Amharic (\u12a0\u121b\u122d\u129b)",value:"am"},{label:"Arabic (\u0627\u0644\u0639\u0631\u0628\u064a\u0629)",value:"ar"},{label:"Bahasa Indonesia (Bahasa Indonesia)",value:"id"},{label:"Bahasa Malayia (Bahasa Malaysia)",value:"ms"},{label:"Bengali (\u09ac\u09be\u0982\u09b2\u09be)",value:"bn"},{label:"Bulgarian (\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438)",value:"bg"},{label:"Catalan; Valencian (Catal\xe0)",value:"ca"},{label:"Chinese (\u4e2d\u6587)",value:"zh"},{label:"Czech (\u010ce\u0161tina)",value:"cs"},{label:"Danish (Dansk)",value:"da"},{label:"Dutch (Nederlands)",value:"nl"},{label:"English (English)",value:"en"},{label:"Estonian (eesti, eesti keel)",value:"et"},{label:"Finnish (Suomi)",value:"fi"},{label:"French (Fran\xe7ais)",value:"fr"},{label:"German (Deutsch)",value:"de"},{label:"Greek (\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac)",value:"el"},{label:"Gujarati (\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0)",value:"gu"},{label:"Hebrew (modern) (\u05e2\u05d1\u05e8\u05d9\u05ea)",value:"he"},{label:"Hindi (\u0939\u093f\u0928\u094d\u0926\u0940)",value:"hi"},{label:"Hungarian (Magyar)",value:"hu"},{label:"Italian (Italiano)",value:"it"},{label:"Japanese (\u65e5\u672c\u8a9e)",value:"ja"},{label:"Kannada (\u0c95\u0ca8\u0ccd\u0ca8\u0ca1)",value:"kn"},{label:"Khmer (\u1797\u17b6\u179f\u17b6\u1781\u17d2\u1798\u17c2\u179a)",value:"km"},{label:"Korean (\ud55c\uad6d\uc5b4)",value:"ko"},{label:"Lao (\u0e9e\u0eb2\u0eaa\u0eb2\u0ea5\u0eb2\u0ea7)",value:"lo"},{label:"Malayalam (\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02)",value:"ml"},{label:"Marathi (Mar\u0101\u1e6dh\u012b) (\u092e\u0930\u093e\u0920\u0940)",value:"mr"},{label:"Mongolian (M\u043e\u043d\u0433\u043e\u043b)",value:"mn"},{label:"Nepali (\u0928\u0947\u092a\u093e\u0932\u0940)",value:"ne"},{label:"Norwegian (Norsk)",value:"no"},{label:"Oriya (\u0b13\u0b21\u0b3c\u0b3f\u0b06)",value:"or"},{label:"Panjabi, Punjabi (\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40)",value:"pa"},{label:"Persian (Persian)",value:"fa"},{label:"Polish (Polski)",value:"pl"},{label:"Portuguese (Portugu\xeas)",value:"pt"},{label:"Romanian (Rom\xe2n\u0103)",value:"ro"},{label:"Russian (\u0420\u0443\u0441\u0441\u043a\u0438\u0439)",value:"ru"},{label:"Slovak (Sloven\u010dina)",value:"sk"},{label:"Spanish (Espa\xf1ol)",value:"es"},{label:"Swahili (Kiswahili)",value:"sw"},{label:"Swedish (Svenska)",value:"sv"},{label:"Tamil (\u0ba4\u0bae\u0bbf\u0bb4\u0bcd)",value:"ta"},{label:"Telugu (\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41)",value:"te"},{label:"Thai (\u0e44\u0e17\u0e22)",value:"th"},{label:"Turkish (T\xfcrk\xe7e)",value:"tr"},{label:"Ukrainian (\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430)",value:"uk"},{label:"Urdu (\u0627\u0631\u062f\u0648)",value:"ur"},{label:"Vietnamese (Ti\u1ebfng Vi\u1ec7t)",value:"vi"},{label:"Welsh (Cymraeg)",value:"cy"},{label:"Xhosa (isiXhosa)",value:"xh"},{label:"Zulu (isiZulu)",value:"zu"}],searchBox:!0}},{key:"connectVia",type:es.og.name,defaultValue:"Internet",templateOptions:{label:"Connect via",required:!0},expressionProperties:{"templateOptions.options":"formState.connectViaOptions"}}];var ir=s(16015);function la(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Connect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.connectToolTip)}}function c1(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callResync())}),o.EFF(1," Synchronize "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.resyncToolTip)}}function j1(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callConnect())}),o.EFF(1," Reconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.reconnectToolTip)}}function ii(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",10),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.callDisconnect())}),o.EFF(1," Disconnect "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("ngbTooltip",De.disconnectToolTip)}}function S0(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",11),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onTestConnection())}),o.EFF(1," Test connection "),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("disabled",De.form.invalid)("ngbTooltip",De.testConnectionTooltip)}}function ql(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",14),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.onDelete())}),o.EFF(1,"Delete"),o.k0s()}}function Z1(je,Kn){if(1&je&&(o.j41(0,"div",12),o.DNE(1,ql,2,0,"button",13),o.k0s()),2&je){const De=o.XpG();o.R7$(),o.Y8G("ngIf",!!De.tip)}}let el=(()=>{class je extends li{constructor(De,Pt,mt,pi,Ls,lo,Ro,to){super(De,Pt,mt,pi,Ls,lo),this.fb=De,this.integrationCenterConfigurationService=Pt,this.toastService=mt,this.sideSheetService=pi,this.cdr=Ls,this.encryptionService=lo,this.integrationCenterService=Ro,this.what3wordsSettingsService=to,this.title="what3words",this.enoType="app/integration-what3words",this.encryptedDataFieldName="apiKey",this.encryptedDataKeyFieldName="decryptKey",this.fields=(0,O.cloneDeep)(Ja),this.showDeleteButton=!1,this.showTestConnection=!0,this.servicePath=Y.c.gisServicePath,this.testConnectionTooltip="Click the button to test your connection"}ngOnInit(){this.loadingState=y.Gu.inProgress,this.what3wordsSettingsService.getWhat3WordsSettings$().pipe((0,D.s)(1)).subscribe(De=>{De.length>0&&(this.tip=De[0].$tip),this.loadSettings(this.tip,n1.y)})}onTestConnection(){const mt={...this.tip?{locationTip:this.tip}:{},...this.form.get("apiKey").dirty?{apiKey:this.model.apiKey}:{},host:this.model.host,...this.transformToData({connectVia:this.model.connectVia})};this.what3wordsSettingsService.testConnection$(mt).pipe((0,D.s)(1)).subscribe(()=>{this.toastService.showSuccessToast("Test connection successful")},pi=>{this.toastService.showErrorToast("Unable to connect to what3words")})}onSave(){this.loadingState=y.Gu.inProgress,this.encryptForm$().pipe((0,k.n)(De=>this.integrationCenterConfigurationService.saveSettings(this.tip,this.transformToData(De),n1.y,this.enoType)),(0,D.s)(1)).subscribe(()=>{this.loadingState=y.Gu.loaded,this.toastService.showSuccessToast("Settings successfully saved"),this.integrationCenterService.tileRefresh.next(!0),this.sideSheetService.pop(),this.cdr.detectChanges()},De=>{this.loadingState=y.Gu.failed,this.toastService.showErrorToast("Failed to save settings"),this.cdr.detectChanges()})}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(C.ok),o.rXU(pt.L),o.rXU(w.f),o.rXU(M.E),o.rXU(o.gRc),o.rXU(cn.U),o.rXU(y0.B),o.rXU(ir.z))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-what3words-settings"]],features:[o.Vt3],decls:16,vars:20,consts:[[3,"actioned","showCancelButton","disabled","action"],[1,"text-right","px-3","test-connection"],[1,"left-button-class-for-connect"],["placement","right","class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"ngbTooltip","click",4,"ngIf"],[1,"left-button-class"],["class","btn btn-secondary btn-social m-1","data-test","test-connection-button",3,"disabled","ngbTooltip","click",4,"ngIf"],[3,"showBorder","showHeader"],[1,"",3,"formGroup","appSpinner"],[3,"fields","model","form","options"],["class","view-email-tail d-flex align-items-center justify-content-center pl-2 pr-2",4,"ngIf"],["placement","right","data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","ngbTooltip"],["data-test","test-connection-button",1,"btn","btn-secondary","btn-social","m-1",3,"click","disabled","ngbTooltip"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],["class","btn btn-danger",3,"click",4,"ngIf"],[1,"btn","btn-danger",3,"click"]],template:function(Pt,mt){1&Pt&&(o.j41(0,"app-side-sheet-header",0),o.nI1(1,"async"),o.bIt("actioned",function(){return mt.onSave()}),o.EFF(2),o.k0s(),o.j41(3,"div",1)(4,"span",2),o.DNE(5,la,2,1,"button",3),o.k0s()(),o.j41(6,"div",1)(7,"span",4),o.DNE(8,c1,2,1,"button",3)(9,j1,2,1,"button",3)(10,ii,2,1,"button",3),o.k0s(),o.DNE(11,S0,2,2,"button",5),o.k0s(),o.j41(12,"app-side-sheet-section",6)(13,"form",7),o.nrm(14,"formly-form",8),o.k0s(),o.DNE(15,Z1,2,1,"div",9),o.k0s()),2&Pt&&(o.Y8G("showCancelButton",!0)("disabled",o.bMT(1,18,mt.disabled$))("action","Save"),o.R7$(2),o.SpI(" ",mt.title,"\n"),o.R7$(3),o.Y8G("ngIf",mt.showConnect),o.R7$(3),o.Y8G("ngIf",mt.showResync),o.R7$(),o.Y8G("ngIf",mt.showReconnect),o.R7$(),o.Y8G("ngIf",mt.showDisconnect),o.R7$(),o.Y8G("ngIf",mt.showTestConnection),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("formGroup",mt.form)("appSpinner",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("fields",mt.fields)("model",mt.model)("form",mt.form)("options",mt.options),o.R7$(),o.Y8G("ngIf",mt.showDeleteButton))},dependencies:[H.bT,C.qT,C.cb,C.j4,ie.b,ne.d,Q.R,le.D,pe.aF,ze.md,H.Jj],styles:[".test-connection[_ngcontent-%COMP%]{background-color:#1e88e5}.left-button-class[_ngcontent-%COMP%]{float:left;left:5px}.left-button-class-for-connect[_ngcontent-%COMP%]{display:flex}"],changeDetection:0})}return je})();const wl={"app/integration-scim:enabled":{type:ei.U.boolean},"app/integration-scim:token-version":{type:ei.U.number},"app/integration-scim:is-allow-to-create-group":{type:ei.U.boolean},"app/integration-scim:rules":{type:ei.U.json}},Oa=[{label:"Equals",value:"Equals"},{label:"NotEquals",value:"NotEquals"},{label:"StartsWith",value:"StartsWith"},{label:"DoesNotStartWith",value:"DoesNotStartWith"},{label:"EndsWith",value:"EndsWith"},{label:"DoesNotEndWith",value:"DoesNotEndWith"},{label:"Contains",value:"Contains"},{label:"DoesNotContain",value:"DoesNotContain"},{label:"IsEmpty",value:"IsEmpty"},{label:"IsNotEmpty",value:"IsNotEmpty"}];let j0=(()=>{class je{constructor(De,Pt,mt){this.authHttpClientService=De,this.queryService=Pt,this.objectService=mt}generateToken(De){return this.authHttpClientService.post(`${Y.c.host}/scim/generateToken`,{user:De})}getScimSettings(){return this.queryService.execute1dFirst(Xn.R.GET_ALL_SCIM_SETTINGS,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}]})}saveScimSetting(De,Pt){return this.objectService.setObject({$tip:De,$type:"app/integration-scim",$security:s0.Ay.SECURITY.INSTANCE_USER_ADMIN,enabled:Pt.enabled,isAllowToCreateGroup:Pt.createAndUpdateGroup,rules:Pt.rulesSet},wl).pipe((0,E.$)(),(0,F.T)(pi=>pi.length>0?(0,O.last)(pi).tip:null))}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.KVO(B.V),o.KVO(ut.c),o.KVO(e1.T))};static#t=this.\u0275prov=o.jDH({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})();var ec=s(14784);function Zn(je,Kn){1&je&&(o.j41(0,"div"),o.nrm(1,"div",1),o.k0s()),2&je&&(o.R7$(),o.Y8G("appSpinner",!0))}function s1(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"div"),o.qex(1),o.j41(2,"app-side-sheet-header",2),o.bIt("actioned",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onDone())}),o.EFF(3),o.k0s(),o.j41(4,"app-alert",3),o.EFF(5," For security reasons, this access token won't be shown again. If you don't save this access token or if you lose it, you can regenerate a new one. "),o.k0s(),o.nrm(6,"app-copy-text-placeholder",4),o.bVm(),o.k0s()}if(2&je){const De=o.XpG();o.R7$(2),o.Y8G("showBackIcon",!0)("action","Done"),o.R7$(),o.SpI(" ",De.title," "),o.R7$(3),o.Y8G("text",De.accessToken)}}let $l=(()=>{class je{constructor(De,Pt,mt){this.scimSettingsService=De,this.meService=Pt,this.cdr=mt,this.title="Secret access token",this.loadingStates=y.Gu,this.loadingState=y.Gu.empty,this.accessToken="",this.unsubscribed$=new gt.B,this.meService.getMe$().pipe((0,ke.Q)(this.unsubscribed$)).subscribe(pi=>this.currentUser=pi.$tip)}ngOnInit(){this.loadingState=y.Gu.inProgress,this.createToken()}createToken(){this.scimSettingsService.generateToken(this.currentUser).pipe((0,ke.Q)(this.unsubscribed$)).subscribe({next:De=>{this.accessToken=De?.token,this.createdEnoTip=De?.configTip,this.loadingState=y.Gu.loaded,this.cdr.detectChanges()},error:De=>{this.loadingState=y.Gu.loaded,this.done(null)}})}onDone(){this.accessToken.length>0&&this.done(this.createdEnoTip)}ngOnDestroy(){this.unsubscribed$.next(),this.unsubscribed$.complete()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(j0),o.rXU(ec.Q),o.rXU(o.gRc))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-scim-auth-token"]],decls:2,vars:2,consts:[[4,"ngIf"],[3,"appSpinner"],[3,"actioned","showBackIcon","action"],["type","warning"],["label","Secret access token",3,"text"]],template:function(Pt,mt){1&Pt&&o.DNE(0,Zn,2,1,"div",0)(1,s1,7,4,"div",0),2&Pt&&(o.Y8G("ngIf",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("ngIf",mt.loadingState===mt.loadingStates.loaded))},dependencies:[H.bT,In.C,ie.b,Q.R,Xs],styles:["[_nghost-%COMP%]     .alert .icon span{color:#ffb133}[_nghost-%COMP%]     .alert{margin-bottom:0}[_nghost-%COMP%]     .alert-warning{background-color:#fff}[_nghost-%COMP%]     .alert .message{color:#54717d;font-weight:700;font-size:13px}[_nghost-%COMP%]     .copyable-container .eim-forms_form-control-text-field-input-container .eim-forms_form-control-label{font-size:14px}[_nghost-%COMP%]     .copyable-container .eim-forms_form-control-text-field-input-container input{font-size:18px;text-overflow:ellipsis}[_nghost-%COMP%]     .copyable-container .btn{margin-top:auto}"],changeDetection:0})}return je})();var X0=s(57700),dr=s(11819),Nl=s(90390),u1=s(70559),Fr=s(71631),a0=s(41666),Ru=s(18354),Uc=s(25966),f0=s(84326),qr=s(76336);function tc(je,Kn){1&je&&(o.j41(0,"div"),o.nrm(1,"div",2),o.k0s()),2&je&&(o.R7$(),o.Y8G("appSpinner",!0))}function D1(je,Kn){if(1&je&&o.nrm(0,"app-text-field",21),2&je){const De=Kn.$implicit;o.Y8G("formControlName",De.$tip)("required",!0)("label",De.label)("placeholder",De.name)}}function Gc(je,Kn){if(1&je&&(o.qex(0),o.nrm(1,"app-single-option-list-field",22)(2,"app-single-option-list-field",23)(3,"app-user-profiles-selection-field",24),o.bVm()),2&je){const De=o.XpG(3);o.R7$(),o.Y8G("required",!0)("options",De.allIdentityProviders),o.R7$(),o.Y8G("required",!0)("options",De.locales),o.R7$(),o.Y8G("monitorConnection",De.monitorConnection)}}function P1(je,Kn){if(1&je&&(o.j41(0,"div"),o.nrm(1,"app-security-policy-chooser",13),o.j41(2,"p",14),o.EFF(3,"Field mapping"),o.k0s(),o.j41(4,"p",15),o.EFF(5,"Provide the mapping of the contact type fields with the SCIM attributes. This mapping will ensure the correct information is populated in the Noggin contacts."),o.k0s(),o.qex(6,16),o.DNE(7,D1,1,4,"app-text-field",17),o.bVm(),o.j41(8,"label",18),o.nrm(9,"input",19),o.j41(10,"span",20),o.EFF(11,"Create and update users"),o.k0s()(),o.j41(12,"p",15),o.EFF(13,"By default, the system will create and update only the contacts. Check this checkbox if you want to create and update both users and contacts. "),o.k0s(),o.DNE(14,Gc,4,5,"ng-container",0),o.k0s()),2&je){const De=o.XpG(2);o.R7$(),o.Y8G("required",!0),o.R7$(6),o.Y8G("ngForOf",De.list),o.R7$(7),o.Y8G("ngIf",De.showProfileSelection)}}function xl(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"div",3),o.qex(1),o.j41(2,"app-side-sheet-header",4),o.nI1(3,"async"),o.bIt("actioned",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onDone())})("goBack",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onBack())}),o.EFF(4),o.k0s(),o.j41(5,"app-side-sheet-section",5)(6,"app-alert",6),o.EFF(7," If a user belongs to multiple external directory groups and multiple rules apply, the new contact record will be created according to the configuration of the first applicable rule. "),o.k0s(),o.nrm(8,"app-text-field",7)(9,"app-text-field",8)(10,"app-single-option-list-field",9)(11,"app-text-field",10),o.k0s(),o.bVm(),o.qex(12),o.j41(13,"app-side-sheet-section",11),o.nrm(14,"app-object-type-chooser",12),o.DNE(15,P1,15,3,"div",0),o.k0s(),o.bVm(),o.k0s()}if(2&je){const De=o.XpG();o.Y8G("formGroup",De.rulesForm),o.R7$(2),o.Y8G("showBackIcon",!0)("action","Done")("disabled",o.bMT(3,17,De.disabled$)),o.R7$(2),o.JRh(De.title),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(3),o.Y8G("required",!0),o.R7$(),o.Y8G("required",!0),o.R7$(),o.Y8G("required",!0)("options",De.conditionOptions),o.R7$(),o.Y8G("required",!0),o.R7$(2),o.Y8G("showBorder",!0)("showHeader",!0)("title","Contact configuration"),o.R7$(),o.Y8G("formTypeSelected",De.formType),o.R7$(),o.Y8G("ngIf",De.isContactTypeSelected)}}let mc=(()=>{class je{constructor(De,Pt,mt,pi,Ls){this._identityProvider=De,this.i18nService=Pt,this.objectTypeService=mt,this.cdr=pi,this.sideSheetService=Ls,this.isFormDirty=!1,this.isAllowedToCreateUser=!1,this.isContactTypeSelected=!1,this.monitorConnection=!1,this.isFieldDisplayed=!1,this.showProfileSelection=!1,this.loadingStates=y.Gu,this.loadingState=y.Gu.empty,this.formType=dr.jo.CONTACT_SELF_SERVICE,this.allIdentityProviders=[],this.locales=[],this.rulesForm=new C.gE({title:new C.MJ("",C.k0.required),attribute:new C.MJ("",C.k0.required),condition:new C.MJ("",C.k0.required),matchingText:new C.MJ("",C.k0.required),contactObjectTypeTip:new C.MJ("",C.k0.required),securityPolicyTip:new C.MJ("",C.k0.required),isAllowToCreateUser:new C.MJ(!1),profiles:new C.MJ([],C.k0.required),defaultLanguage:new C.MJ("",C.k0.required),loginMethod:new C.MJ("",C.k0.required),fieldsMapping:new C.gE({},C.k0.required)}),this.title="Add Rules",this.conditionOptions=Oa,this.disabled$=(0,Ii.z)([this.rulesForm.statusChanges,this.rulesForm.valueChanges]).pipe((0,F.T)(()=>!(!this.rulesForm.pristine&&!this.rulesForm.invalid)),(0,En.Z)(!0),(0,ln.F)()),this.unsubscribed$=new gt.B}ngOnInit(){this.getIdentityAndLanguages(),this.trackFormChange(),this.loadingState=y.Gu.loaded}ngAfterViewInit(){this.rule&&this.rulesForm.patchValue({title:this.rule.title,attribute:this.rule.attribute,condition:this.rule.condition,matchingText:this.rule.matchingText,contactObjectTypeTip:this.rule.contactObjectTypeTip,securityPolicyTip:this.rule.securityPolicyTip,isAllowToCreateUser:this.rule.isAllowToCreateUser,profiles:this.rule.profiles,defaultLanguage:this.rule.defaultLanguage,loginMethod:this.rule.loginMethod}),this.loadingState=y.Gu.loaded}onDone(){this.done(this.rulesForm.value)}getIdentityAndLanguages(){(0,Ii.z)([this._identityProvider.getIdentityProvidersForOptionListFieldIncludePassword$(),this.i18nService.getSystemLanguages$()]).pipe((0,ln.F)(),(0,ke.Q)(this.unsubscribed$)).subscribe(De=>{this.allIdentityProviders=De[0],this.locales=De[1]})}trackFormChange(){this.rulesForm.valueChanges.pipe((0,ln.F)(),(0,ke.Q)(this.unsubscribed$)).subscribe(De=>{""!==De.contactObjectTypeTip&&!this.isFieldDisplayed&&this.objectTypeService.getObjectType(De.contactObjectTypeTip).pipe((0,ln.F)(),(0,ke.Q)(this.unsubscribed$),(0,F.T)(Pt=>Pt?.type?.field.map(({$tip:mt,name:pi,label:Ls})=>({$tip:mt,name:pi,label:Ls})))).subscribe(Pt=>{if(!(0,O.isEmpty)(Pt)){this.list=Pt;const mt=this.rulesForm.get("fieldsMapping");for(let pi of this.list)if(this.rule){const Ls=(0,O.get)(this.rule.fieldsMapping,pi.$tip);mt.addControl(pi.$tip,new C.MJ(Ls,C.k0.required),{emitEvent:!1})}else mt.addControl(pi.$tip,new C.MJ("",C.k0.required),{emitEvent:!1});this.isContactTypeSelected=!0,this.isFieldDisplayed=!0,this.cdr.detectChanges()}}),De.isAllowToCreateUser&&(this.showProfileSelection=!0)})}onBack(){this.back(),this.sideSheetService.pop()}ngOnDestroy(){this.unsubscribed$.next(),this.unsubscribed$.complete()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(Nl.Lv),o.rXU(u1.W4),o.rXU(Fr.h),o.rXU(o.gRc),o.rXU(M.E))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-add-edit-rules"]],inputs:{rule:"rule"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"formGroup",4,"ngIf"],[3,"appSpinner"],[3,"formGroup"],[3,"actioned","goBack","showBackIcon","action","disabled"],[3,"showBorder","showHeader"],["type","warning"],["formControlName","title","label","Rule title","placeholder","Enter rule name",3,"required"],["formControlName","attribute","label","Attribute","placeholder","Enter attribute",3,"required"],["formControlName","condition","label","Condition","placeholder","Select Condition",3,"required","options"],["formControlName","matchingText","label","Matching text","placeholder","Enter matching text",3,"required"],[3,"showBorder","showHeader","title"],["formControlName","contactObjectTypeTip","label","Contact type *","placeholder","Select contact type",3,"formTypeSelected"],["formControlName","securityPolicyTip","label","Security policy","placeholder","Select policy",3,"required"],[1,"title"],[1,"eim-font-size_p-normal"],["formGroupName","fieldsMapping"],[3,"formControlName","required","label","placeholder",4,"ngFor","ngForOf"],[1,"custom-control","custom-checkbox","custom-control-inline"],["type","checkbox","formControlName","isAllowToCreateUser",1,"custom-control-input"],[1,"custom-margin","custom-control-label","custom-control-color"],[3,"formControlName","required","label","placeholder"],["formControlName","loginMethod","label","Login method","placeholder","Choose a login method",3,"required","options"],["formControlName","defaultLanguage","label","Default language","placeholder","Select language",3,"required","options"],["formControlName","profiles",3,"monitorConnection"]],template:function(Pt,mt){1&Pt&&o.DNE(0,tc,2,1,"div",0)(1,xl,16,19,"div",1),2&Pt&&(o.Y8G("ngIf",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("ngIf",mt.loadingState===mt.loadingStates.loaded))},dependencies:[H.Sq,H.bT,C.Zm,C.BC,C.cb,C.YS,C.j4,C.JD,C.$R,In.C,ie.b,ne.d,Q.R,le.D,a0.b,Ru.L,Uc.e,f0.Z,qr.x,H.Jj],styles:["[_nghost-%COMP%]     .alert .icon span{color:#ffb133}[_nghost-%COMP%]     .alert-warning{background-color:#f0f0ed}[_nghost-%COMP%]     .alert .message{color:#54717d;font-size:13px;padding:5px}.title[_ngcontent-%COMP%]{margin-top:25px;font-size:1.5rem;font-weight:400;color:#273c4e}label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:-18px!important}"],changeDetection:0})}return je})();function nc(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"button",9),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.setFlagsForDelete())}),o.nrm(1,"mat-icon",10),o.k0s()}}function o1(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"div",5),o.DNE(1,nc,2,0,"button",6),o.j41(2,"button",7),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.createOrEditRules())}),o.nrm(3,"mat-icon",8),o.k0s()()}if(2&je){const De=o.XpG();o.R7$(),o.Y8G("ngIf",(null==De.rulesList?null:De.rulesList.length)>0)}}function yl(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"div",5)(1,"button",11),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.deleteRules())}),o.EFF(2,"Remove"),o.k0s(),o.j41(3,"button",12),o.bIt("click",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.resetFlags())}),o.EFF(4,"Cancel"),o.k0s()()}}function _c(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-side-sheet-list-item",15),o.bIt("toggle",function(){const mt=o.eBV(De).$implicit,pi=o.XpG(2);return o.Njj(pi.toggleRules(mt))}),o.j41(1,"div",16)(2,"div"),o.EFF(3),o.k0s()()()}if(2&je){const De=Kn.$implicit,Pt=o.XpG(2);o.Y8G("hasDarkChevron",!Pt.deleteMode)("toggleType",Pt.toggleType)("value",Pt.checkBoxToggle(De)),o.R7$(3),o.SpI(" ",De.title," ")}}function l0(je,Kn){if(1&je){const De=o.RV6();o.qex(0),o.j41(1,"app-side-sheet-list",13),o.bIt("draggableModelChange",function(mt){o.eBV(De);const pi=o.XpG();return o.Njj(pi.onDrag(mt))}),o.DNE(2,_c,4,4,"app-side-sheet-list-item",14),o.k0s(),o.bVm()}if(2&je){const De=o.XpG();o.R7$(),o.Y8G("mode",De.rulesList.length>1?"drag":"none")("loadingState",De.loadingState)("draggableModel",De.rulesList),o.R7$(),o.Y8G("ngForOf",De.rulesList)}}function qc(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"app-empty-state",17),o.bIt("actionClick",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.createOrEditRules())}),o.k0s()}if(2&je){const De=o.XpG();o.FS9("label",De.labelForEnabledEmptyState),o.FS9("actionText",De.actionTextForEnabledEmptyState)}}let cu=(()=>{class je{constructor(De,Pt,mt){this.sideSheetService=De,this.cdr=Pt,this.modalService=mt,this.rulesAdded=new o.bkB,this.actionTextForEnabledEmptyState="Add a rule",this.labelForEnabledEmptyState="No rules here",this.isDraggable=!1,this.selectedScimRules=[],this.selectedRule=null}ngOnInt(){this.loadingState=y.Gu.inProgress}createOrEditRules(){const Pt=this.sideSheetService.push(mc).componentInstance;Pt.rule=this.selectedRule,Pt.done=mt=>{this.rulesList.push(mt),this.rulesAdded.emit(this.rulesList),this.sideSheetService.pop()},Pt.back=()=>{this.selectedRule=null}}setFlagsForDelete(){this.deleteMode=!0,this.toggleType="multi-check",this.cdr.detectChanges()}resetFlags(){this.deleteMode=!1,this.toggleType=this.rulesList.length>1?"drag":"no-toggle",this.selectedScimRules=[]}deleteRules(){if(this.selectedScimRules.length>0){const De=this.modalService.open(be.F,be.G);De.componentInstance.title="Delete SCIM rule",De.componentInstance.message="Do you really want to delete the selected rule?",De.result.then(Pt=>{Pt?this.deleteMethod():(this.resetFlags(),this.cdr.detectChanges())}).catch(()=>{})}else this.resetFlags(),this.cdr.detectChanges()}deleteMethod(){this.selectedScimRules.length>0&&((0,O.pullAll)(this.rulesList,this.selectedScimRules),this.rulesAdded.emit(this.rulesList),this.resetFlags())}toggleRules(De){this.deleteMode?(this.selectedScimRules.push(De),this.cdr.detectChanges()):(this.selectedRule=De,this.createOrEditRules())}checkBoxToggle(De){return this.selectedScimRules.findIndex(Pt=>Pt.title===De.title)>-1}onDrag(De){this.rulesList=De,this.rulesAdded.emit(this.rulesList),this.cdr.detectChanges()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(M.E),o.rXU(o.gRc),o.rXU(ze.Bq))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-scim-rules"]],inputs:{rulesList:"rulesList"},outputs:{rulesAdded:"rulesAdded"},decls:7,vars:4,consts:[["ifRulesAreEmpty",""],["title","Rules"],["buttons",""],["class","eim-widget__head-tools",4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"eim-widget__head-tools"],["class","eim-button_minimized btn btn-secondary btn-add ml-2",3,"click",4,"ngIf"],["data-test","plus-button","title","add connection",1,"ml-1","eim-button_minimized","btn","btn-secondary",3,"click"],["svgIcon","plus"],[1,"eim-button_minimized","btn","btn-secondary","btn-add","ml-2",3,"click"],["svgIcon","delete"],[1,"btn","btn-danger","eim-button_size-h-xs",3,"click"],[1,"btn","btn-secondary","eim-button_size-h-xs",3,"click"],[3,"draggableModelChange","mode","loadingState","draggableModel"],[3,"hasDarkChevron","toggleType","value","toggle",4,"ngFor","ngForOf"],[3,"toggle","hasDarkChevron","toggleType","value"],[1,"d-flex","flex-column","justify-content-center","rule-list","col-10"],["imgSrc","assets/img/empty-states/no-rules-scim.svg","size","sm",3,"actionClick","label","actionText"]],template:function(Pt,mt){if(1&Pt&&(o.j41(0,"app-side-sheet-section",1)(1,"div",2),o.DNE(2,o1,4,1,"div",3)(3,yl,5,0,"div",3),o.k0s(),o.DNE(4,l0,3,4,"ng-container",4)(5,qc,1,2,"ng-template",null,0,o.C5r),o.k0s()),2&Pt){const pi=o.sdS(6);o.R7$(2),o.Y8G("ngIf",!mt.deleteMode),o.R7$(),o.Y8G("ngIf",mt.deleteMode),o.R7$(),o.Y8G("ngIf",0!==mt.rulesList.length)("ngIfElse",pi)}},dependencies:[H.Sq,H.bT,ne.d,Di.N,Bt.A,le.D,Li.o,Rt.An],changeDetection:0})}return je})();const T0=je=>({disableDiv:je}),Js=je=>({hideButton:je});function Vl(je,Kn){1&je&&(o.j41(0,"div"),o.nrm(1,"div",3),o.k0s()),2&je&&(o.R7$(),o.Y8G("appSpinner",!0))}function ot(je,Kn){if(1&je){const De=o.RV6();o.qex(0),o.j41(1,"p",16),o.EFF(2,"Secret access token"),o.k0s(),o.j41(3,"div",17)(4,"p",18),o.EFF(5,"Access token generated"),o.k0s(),o.j41(6,"button",19),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.openTokenCreationOrUpdate())}),o.nrm(7,"mat-icon",20),o.k0s()(),o.bVm()}if(2&je){const De=o.XpG(2);o.R7$(),o.Y8G("ngClass",o.eq3(3,T0,De.isTokenDisabled)),o.R7$(3),o.Y8G("ngClass",o.eq3(5,T0,De.isTokenDisabled)),o.R7$(2),o.Y8G("ngClass",o.eq3(7,T0,De.isTokenDisabled))}}function wt(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"p",16),o.EFF(1,"Secret access token"),o.k0s(),o.j41(2,"div",17)(3,"p",18),o.EFF(4,"Generate access token for identity provider after saving integration settings"),o.k0s(),o.j41(5,"div",18)(6,"button",21),o.bIt("click",function(){o.eBV(De);const mt=o.XpG(2);return o.Njj(mt.openTokenCreationOrUpdate())}),o.nrm(7,"mat-icon",22),o.k0s()()()}if(2&je){const De=o.XpG(2);o.Y8G("ngClass",o.eq3(4,T0,De.isTokenDisabled)),o.R7$(3),o.Y8G("ngClass",o.eq3(6,T0,De.isTokenDisabled)),o.R7$(2),o.Y8G("ngClass",o.eq3(8,Js,De.isTokenDisabled)),o.R7$(),o.Y8G("ngClass",o.eq3(10,T0,De.isTokenDisabled))}}function ct(je,Kn){if(1&je){const De=o.RV6();o.j41(0,"div",4),o.qex(1),o.j41(2,"app-side-sheet-header",5),o.bIt("actioned",function(){o.eBV(De);const mt=o.XpG();return o.Njj(mt.onSave())}),o.EFF(3),o.k0s(),o.j41(4,"app-side-sheet-section",6),o.nrm(5,"app-toggle-field",7),o.j41(6,"div",8),o.nrm(7,"app-copy-text-placeholder",9),o.k0s(),o.DNE(8,ot,8,9,"ng-container",10)(9,wt,8,12,"ng-template",null,0,o.C5r),o.j41(11,"label",11),o.nrm(12,"input",12),o.j41(13,"span",13),o.EFF(14,"Create and update groups"),o.k0s()(),o.j41(15,"div",14),o.EFF(16,"Automatically create and update groups from an external directory in Noggin. "),o.k0s()(),o.j41(17,"app-scim-rules",15),o.bIt("rulesAdded",function(mt){o.eBV(De);const pi=o.XpG();return o.Njj(pi.addedRules(mt))}),o.k0s(),o.bVm(),o.k0s()}if(2&je){const De=o.sdS(10),Pt=o.XpG();o.Y8G("formGroup",Pt.form),o.R7$(2),o.Y8G("showCancelButton",!0)("action","Save")("disabled",!Pt.form.dirty&&Pt.isDragged),o.R7$(),o.JRh(Pt.title),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("value",Pt.isEnabled),o.R7$(2),o.Y8G("text",Pt.nogginUrl),o.R7$(),o.Y8G("ngIf",Pt.rules.length>0||Pt.tokenVersionUI>0)("ngIfElse",De),o.R7$(9),o.Y8G("rulesList",Pt.rules)}}let Nt=(()=>{class je{constructor(De,Pt,mt,pi){this.sideSheetService=De,this.scimService=Pt,this.modalService=mt,this.cdr=pi,this.title="Manage SCIM",this.loadingStates=y.Gu,this.loadingState=y.Gu.empty,this.form=new C.gE({enabled:new C.MJ(!1),createAndUpdateGroup:new C.MJ(!1),tokenVersion:new C.MJ,rulesSet:new C.MJ([],C.k0.required)}),this.isEnabled=!1,this.tokenVersionUI=0,this.nogginUrl="",this.isTokenDisabled=!0,this.rules=[],this.isDragged=!0,this.unsubscribed$=new gt.B}ngOnInit(){this.loadingState=y.Gu.inProgress,this.nogginUrl=`${Y.c.host}/scim/api/v2`,this.form.valueChanges.pipe((0,ln.F)(),(0,ke.Q)(this.unsubscribed$)).subscribe(De=>{De?.createAndUpdateGroup&&(this.ifAllowedToCreateGroups=(0,O.get)(De,"createAndUpdateGroup")),this.isTokenDisabled=!(this.rules.length>0||this.ifAllowedToCreateGroups)}),this.getSettings()}getSettings(){this.scimService.getScimSettings().pipe((0,ke.Q)(this.unsubscribed$)).subscribe(De=>{if(De.length>0){let Pt=(0,O.first)(De),mt=Pt?.rules;this.rules=(0,O.isString)(mt)?JSON.parse(mt):[],this.ifAllowedToCreateGroups="true"===Pt["is-allow-to-create-group"],this.tokenVersionUI=Pt["token-version"],this.tip=Pt.$tip,this.form.patchValue({enabled:"true"===Pt.enabled,createAndUpdateGroup:this.ifAllowedToCreateGroups,tokenVersion:Pt["token-version"],rulesSet:this.rules}),this.loadingState=y.Gu.loaded,this.cdr.detectChanges()}})}openTokenCreationOrUpdate(){if(this.tokenVersionUI>0){const De=this.modalService.open(be.F,be.G);De.componentInstance.title="Regenerate secret access token",De.componentInstance.message="Are you sure you want to regenerate the access token? This will revoke the current token and issue a new one.",De.componentInstance.confirmText="Confirm",De.result.then(Pt=>{Pt&&(this.sideSheetService.push($l).componentInstance.done=Ls=>{this.tip=Ls,this.sideSheetService.pop()})})}else this.sideSheetService.push($l).componentInstance.done=mt=>{this.tip=mt,this.sideSheetService.pop()}}addedRules(De){this.rules=De,this.form.patchValue({rulesSet:De}),this.isTokenDisabled=!1,this.isDragged=!1,this.cdr.detectChanges()}onSave(){this.loadingState=y.Gu.inProgress,this.scimService.saveScimSetting(this.tip,this.form.value).pipe((0,ke.Q)(this.unsubscribed$)).subscribe(De=>{this.loadingState=y.Gu.loaded,this.sideSheetService.pop()})}ngOnDestroy(){this.unsubscribed$.next(),this.unsubscribed$.complete()}static#e=this.\u0275fac=function(Pt){return new(Pt||je)(o.rXU(M.E),o.rXU(j0),o.rXU(ze.Bq),o.rXU(o.gRc))};static#t=this.\u0275cmp=o.VBU({type:je,selectors:[["app-scim-settings"]],decls:2,vars:2,consts:[["ifRulesAreEmpty",""],[4,"ngIf"],[3,"formGroup",4,"ngIf"],[3,"appSpinner"],[3,"formGroup"],[3,"actioned","showCancelButton","action","disabled"],[3,"showBorder","showHeader"],["label","Enabled","formControlName","enabled",3,"value"],[1,"scim-url-field"],["label","SCIM endpoint URL",3,"text"],[4,"ngIf","ngIfElse"],[1,"custom-control","custom-checkbox","custom-control-inline"],["type","checkbox","formControlName","createAndUpdateGroup",1,"custom-control-input"],[1,"custom-control-label","custom-control-color"],[1,"eim-font-size_small"],[3,"rulesAdded","rulesList"],[1,"sideSheet-sub-title",3,"ngClass"],[1,"d-flex","copyable-container"],[3,"ngClass"],[1,"btn","btn-secondary","eim-button_minimized","ml-1","mb-3","post-generation-button",3,"click","ngClass"],["aria-hidden","true","aria-label","arrows-rotate","svgIcon","arrows-rotate"],[1,"btn","btn-secondary","eim-button_minimized","ml-1","mb-3",3,"click","ngClass"],["aria-hidden","true","aria-label","key","svgIcon","key"]],template:function(Pt,mt){1&Pt&&o.DNE(0,Vl,2,1,"div",1)(1,ct,18,12,"div",2),2&Pt&&(o.Y8G("ngIf",mt.loadingState===mt.loadingStates.inProgress),o.R7$(),o.Y8G("ngIf",mt.loadingState===mt.loadingStates.loaded))},dependencies:[H.YU,H.bT,C.Zm,C.BC,C.cb,C.j4,C.JD,ie.b,ne.d,Q.R,le.D,Rt.An,X0.u,Xs,cu],styles:[".scim-url-field[_ngcontent-%COMP%]{margin-left:-15px}.sideSheet-sub-title[_ngcontent-%COMP%]{font-weight:400;font-size:1rem;margin-bottom:8px;color:#416381}.copyable-container[_ngcontent-%COMP%]{gap:6rem;align-items:center}.post-generation-button[_ngcontent-%COMP%]{margin-left:23rem!important}.disableDiv[_ngcontent-%COMP%]{pointer-events:none;opacity:.4}.hideButton[_ngcontent-%COMP%]{visibility:hidden}"],changeDetection:0})}return je})();var pn=function(je){return je.AUDIT_LOG="auditLog",je.CSV="csv",je.ARCGIS="arcgis",je.INTEGRATION_BUCKET="integrationBucket",je.NOGGIN_CONNECT_API="nogginConnectAPI",je.SAML="saml",je.SFTP="sftp",je.SMTP="smtp",je.TWILIO_SMS="twilioSMS",je.AMAZON_S3="amazonS3",je.SENDER_ID="senderID",je.DATA_WAREHOUSING="dataWarehousing",je.WEBHOOKS="webhooks",je.SAAB_ONEVIEW="saabOneView",je.SIGNAL="signal",je.PUSH_PROXY="pushProxy",je.MILESTONE="milestone",je.IMAP_INTEGRATION="imap",je.DATAMINR="dataminr",je.MICROSOFT_365="microsoft_365",je.NOGGIN_CONNECT="nogginConnect",je.WHAT_3_WORDS="what3words",je.SCIM="scim",je}(pn||{});const Vn=[{name:"Audit log delivery",key:pn.AUDIT_LOG,description:"Continuously send your audit logs to your own AWS S3 bucket.",icon:"audit-log",iconWidth:"95px",manageSideSheetComponent:Me,disabledButtonText:"Know more"},{name:"CSV Import & Export",key:pn.CSV,description:"Import structured data into Noggin, or export your objects out of Noggin.",icon:"csv",manageSideSheetComponent:g._,navigationList:[{value:{component:a.n},label:"Import"},{value:{component:n.s},label:"Export"}]},{name:"Noggin Connect",key:pn.NOGGIN_CONNECT,description:"Connect to other Noggin systems to share and synchronize data.",icon:"noggin-connect",iconWidth:"95px",manageSideSheetComponent:k1},{name:"what3words",key:pn.WHAT_3_WORDS,description:"Connect your what3words account to enable working with locations using what3words addresses.",icon:"what3words",iconWidth:"95px",manageSideSheetComponent:el},{name:"Esri ArcGIS",key:pn.ARCGIS,description:"Integrate your ArcGIS solution with Noggin to use your own base maps, and display map features and services from ArcGIS.",icon:"esri",manageSideSheetComponent:Ln},{name:"Integration bucket",key:pn.INTEGRATION_BUCKET,description:"Connect to a Noggin-hosted SFTP server to send and retrieve your remote files",icon:"integration-bucket",manageSideSheetComponent:_n,disabledButtonText:"Know more",iconWidth:"110px"},{name:"Noggin Connect API",key:pn.NOGGIN_CONNECT_API,description:"Build your own custom integration using Noggin's standard integration interface.",icon:"api",manageSideSheetComponent:m.Z},{name:"SAML 2.0",key:pn.SAML,description:"Connect your SAML 2.0 identity provider with Noggin to activate single sign-on (SSO) for your users.",icon:"saml",manageSideSheetComponent:T.x},{name:"Secure File Transfer Protocol",key:pn.SFTP,description:"Connect your SFTP servers to Noggin to send and retrieve your remote files.",icon:"sftp",manageSideSheetComponent:bi},{name:"Simple Mail Transfer Protocol",key:pn.SMTP,description:"Config an SMTP mail server in Noggin to enable Noggin to send notifications about various events.",icon:"smtp",manageSideSheetComponent:Dl},{name:"SMS Settings",key:pn.TWILIO_SMS,description:"Integrate your Twilio communications platform with Noggin to send voice and SMS messages.",icon:"twilio",manageSideSheetComponent:p0},{name:"Amazon S3",key:pn.AMAZON_S3,description:"Connect your Amazon S3 buckets to Noggin to download and upload your S3 objects.",icon:"s3",manageSideSheetComponent:js,iconWidth:"40px"},{name:"SMS & voice origins",key:pn.SENDER_ID,description:"See the Sender IDs and origins used to send SMS and voice messages.",icon:"senderid",manageSideSheetComponent:vr,iconWidth:"50px",disabledButtonText:"Know more"},{name:"Data Warehousing",key:pn.DATA_WAREHOUSING,description:"Continuously send changes to your data to your own AWS S3 bucket.",icon:"data-warehouse",iconWidth:"40px",manageSideSheetComponent:ht,disabledButtonText:"Know more"},{name:"Webhooks",key:pn.WEBHOOKS,description:"Trigger webhooks callbacks for workflows.",icon:"webhooks",iconWidth:"120px",manageSideSheetComponent:xr},{name:"Signal",key:pn.SIGNAL,description:"Integrate your Signal system with Noggin to receive alerts about various threats and events.",icon:"signal-r",manageSideSheetComponent:I0,iconWidth:"90px"},{name:"Push messaging proxy",key:pn.PUSH_PROXY,description:"Integrate with a proxy server to provide additional data protection to push messages being sent to your mobile app users.",icon:"push-proxy",iconWidth:"20px",manageSideSheetComponent:ur,featureFlag:I.g.FEATURE_EIM_11493_PUSH_PROXY},{name:"Milestone",key:pn.MILESTONE,description:"Integrate your Milestone XProtect system with Noggin to manage your person, vehicle, loitering, and license plate recognition events in Noggin.",icon:"milestone",iconWidth:"120px",manageSideSheetComponent:Zl},{name:"Saab OneView",key:pn.SAAB_ONEVIEW,description:"Integrate your Saab OneView system with Noggin for two-way synchronization of incidents.",icon:"saab",iconWidth:"45px",manageSideSheetComponent:ba.Z},{name:"Internet Message Access Protocol",key:pn.IMAP_INTEGRATION,description:"Configure an IMAP mail server in Noggin to enable Noggin to send notifications about various events.",icon:"imap",manageSideSheetComponent:Us},{name:"Dataminr",key:pn.DATAMINR,description:"Integrate your Dataminr Pulse system with Noggin to receive alerts about various events.",icon:"dataminr",manageSideSheetComponent:M1,iconWidth:"120px"},{name:"Microsoft 365",key:pn.MICROSOFT_365,description:"Integrate your Microsoft 365 system with Noggin to create calendar events and online meetings.",icon:"microsoft_365",iconWidth:"125px",manageSideSheetComponent:Ka},{name:"System for Cross-Domain Identity Management",key:pn.SCIM,description:"Configure SCIM integration with Noggin to manage user provisioning and identity information.",icon:"scim",iconWidth:"85px",manageSideSheetComponent:Nt,featureFlag:I.g.FEATURE_EIM_23821_SCIM_INTEGRATION}]},28999:(at,N,s)=>{"use strict";s.d(N,{c:()=>C});var n=s(27468),a=s(61594),g=s(96354),m=s(25558),T=s(67376),D=s(56832),E=s(40673),y=s(55516),I=s(93953),b=s(44667),L=s(76087),o=s(51229);let C=(()=>{class w{constructor(q,z,F){this.objectService=q,this.formulaService=z,this.queryService=F}loadSettings(){return(0,n.p)([this.objectService.getObject("app/integration-arcgis/instance",D.x).pipe((0,a.$)()),this.formulaService.evaluate("PARENT_SID(SID())","app/integration-arcgis/instance").pipe((0,a.$)())]).pipe((0,g.T)(([q,z])=>(0,T.head)(z)?q:{...q,enabled:!1,clientId:null,clientSecret:null,clientSecretKey:null,geocoding:!1}))}saveSettings(q){return q.$type="app/integration-arcgis",q.$security=E.Ay.SECURITY.INSTANCE_USER_ADMIN,this.objectService.setObject(q,D.x).pipe((0,a.$)(),(0,m.n)(z=>z.length>0?z[z.length-1].tip:q.$tip))}getAllArcgisItems(){return this.queryService.execute1dFirst(y.R.GET_ALL_ARCGIS_CONNECTIONS,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:["TITLE()"],sortdir:["asc"]}]})}getDefaultConnection(){return this.queryService.execute1dFirst(y.R.GET_ALL_ARCGIS_CONNECTIONS,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:['COALESCE(FIELD("app/integration-arcgis:default"),"true")'],sortdir:["desc"]}],extraFilters:[{label:"Default Connection",formula:'EQUALS(FIELD("app/integration-arcgis:enabled"),"true")'}]})}getGeocodingConnection(){return this.queryService.execute1dFirst(y.R.GET_ALL_ARCGIS_CONNECTIONS,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:['COALESCE(FIELD("app/integration-arcgis:geocoding"),"true")'],sortdir:["desc"]}],extraFilters:[{label:"Geocoding Connection",formula:'EQUALS(FIELD("app/integration-arcgis:enabled"),"true")'}]})}static#e=this.\u0275fac=function(z){return new(z||w)(I.KVO(b.T),I.KVO(L.C),I.KVO(o.c))};static#t=this.\u0275prov=I.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},13771:(at,N,s)=>{"use strict";s.d(N,{l:()=>m});var n=s(93953),a=s(50835),g=s(8142);let m=(()=>{class T{constructor(D){this.http=D,this.dataminrConfigUrl=((0,n.naY)()?"http://localhost:4200":a.c.host)+`${a.c.dataminrServicePath}`}callAuthServiceViaGet(D){return this.http.get(this.dataminrConfigUrl+"/"+D)}callAuthServiceViaPost(D,E){return this.http.post(this.dataminrConfigUrl+"/"+E,D)}callAuthServiceViaDelete(D){return this.http.delete(this.dataminrConfigUrl+"/"+D)}static#e=this.\u0275fac=function(E){return new(E||T)(n.KVO(g.V))};static#t=this.\u0275prov=n.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},18452:(at,N,s)=>{"use strict";s.d(N,{L:()=>L});var n=s(27468),a=s(61594),g=s(96354),m=s(40673);const O={"app/system-info:egress-vpce":{type:s(48636).U.stringArray,name:"connectVia"}};var D=s(67376),E=s(93953),y=s(44667),I=s(8142),b=s(76087);let L=(()=>{class o{constructor(w,M,q){this.objectService=w,this.authService=M,this.formulaService=q}loadSettings(w,M,q){return(0,n.p)([this.objectService.getObject(w,M).pipe((0,a.$)()),this.formulaService.evaluate("PARENT_SID(SID())",w).pipe((0,a.$)())]).pipe((0,g.T)(([z,F])=>(0,D.head)(F)?z:{...z,...q}))}testConnection(w,M){return this.authService.post(w,M)}saveSettings(w,M,q,z){const F={$tip:w||null,$type:z,$security:m.Ay.SECURITY.INSTANCE_USER_ADMIN,enabled:M.enabled||!1,...M};return this.objectService.setObject(F,q).pipe((0,a.$)(),(0,g.T)(U=>U.length>0?U[U.length-1].tip:null))}getResync(w){return this.authService.get(w)}onDelete(w){return this.objectService.deleteObject({$tip:w})}getConnectViaNetworks(){return this.objectService.getObject("app/system-info",O)}static#e=this.\u0275fac=function(M){return new(M||o)(E.KVO(y.T),E.KVO(I.V),E.KVO(b.C))};static#t=this.\u0275prov=E.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},25986:(at,N,s)=>{"use strict";s.d(N,{Z:()=>z});var n=s(93953),a=s(67376),g=s(96354),m=s(44668),T=s(25558),O=s(50835);const D=["types.tip","types.fieldTips"];var E=s(55516),y=s(48636);const I={"app/interop/system:name":{type:y.U.i18n},"app/interop/system:namespace":{type:y.U.string},"app/interop/system:enabled":{type:y.U.boolean},"app/interop/system:types":{type:y.U.json},"app/interop/system:deps":{type:y.U.stringArray}};var b=s(8076),L=s(44667),o=s(25687),C=s(8142),w=s(50701),M=s(51229),q=s(87878);let z=(()=>{class F{constructor(k,Y,x,B,j,$,H){this.objectService=k,this.objectDataService=Y,this.formulaMultiService=x,this.authHttpClientService=B,this.securityService=j,this.queryService=$,this.depsService=H,this.$type="app/interop/system",this.url=((0,n.naY)()?"http://localhost:4200":O.c.host)+O.c.interopBasePath}getFields(k){return this.objectService.getPlainType(k).pipe((0,g.T)(Y=>(Y.field??[]).filter(B=>{const j=B.tag??[];return 0===j.length||"isSubObject--true"!==j[0]}).map(B=>({label:B.label,value:B.$tip,selected:!1}))),(0,m.t)({bufferSize:1,refCount:!0}))}testConnection(k){return this.authHttpClientService.post(this.url+"/testConnection",{destNamespace:k})}getLabels(k){const Y=k.map(x=>({formula:`FIELD("type/label", "${x}")`}));return this.formulaMultiService.evaluate(Y).pipe((0,g.T)(x=>(0,a.flatten)(x)))}saveInteropSystem(k){return this.securityService.getNewObjectSecurityPolicyTip$().pipe((0,T.n)(Y=>{const x=this.depsService.evaluateAndSanitize(k,D),B={$tip:(0,a.isEmpty)(k.$tip)?null:k.$tip,$type:this.$type,$security:Y,...k,deps:x};return this.objectDataService.setObject(B,I)}))}deleteInteropSystem(k){return this.securityService.getNewObjectSecurityPolicyTip$().pipe((0,T.n)(Y=>{const x={$tip:(0,a.isEmpty)(k.$tip)?null:k.$tip,$type:this.$type,$security:Y,...k};return this.objectDataService.deleteObject(x)}))}getAllInteropSystems(){return this.queryService.execute1dFirst(E.R.GET_ALL_INTEROP_SYSTEMS).pipe((0,g.T)(k=>k.map(Y=>({...Y,enabled:"true"===Y.enabled,types:Y.types?JSON.parse(Y.types):[]}))))}getSystemTypeDefs(k){return this.authHttpClientService.post(this.url+"/typeDefs",{destNamespace:k})}static#e=this.\u0275fac=function(Y){return new(Y||F)(n.KVO(b.T),n.KVO(L.T),n.KVO(o.$),n.KVO(C.V),n.KVO(w.i),n.KVO(M.c),n.KVO(q.f))};static#t=this.\u0275prov=n.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},97367:(at,N,s)=>{"use strict";s.d(N,{Z:()=>y});var n=s(69172),a=s(18359),g=s(93953),m=s(85511);function T(I,b){1&I&&(g.j41(0,"div"),g.nrm(1,"div",2),g.k0s()),2&I&&(g.R7$(),g.Y8G("appSpinner",!0))}function O(I,b){if(1&I){const L=g.RV6();g.qex(0),g.j41(1,"app-side-sheet-header",4),g.EFF(2),g.k0s(),g.j41(3,"app-side-sheet-section",5)(4,"p",6),g.EFF(5,"Saab OneView integration overview"),g.k0s(),g.j41(6,"p"),g.EFF(7,"Saab OneView is a physical security information management platform providing integrated CCTV, access control, alarm, perimeter security, duress alarms, biometrics, intruder detection, intercoms, key safes and other security sensors."),g.k0s(),g.j41(8,"p"),g.EFF(9,"Noggin\u2019s integration with Saab OneView enables you to:"),g.k0s(),g.j41(10,"ul")(11,"li"),g.EFF(12,"Quickly and easily create and manage incidents in Noggin from alarms in Saab OneView."),g.k0s(),g.j41(13,"li"),g.EFF(14,"Assign alarms in Saab OneView to existing incidents in Noggin."),g.k0s(),g.j41(15,"li"),g.EFF(16,"Effectively manage Saab OneView alarms in Noggin according to your business processes, through tasking, collaboration, investigation, risk and control review, and corrective actions."),g.k0s(),g.j41(17,"li"),g.EFF(18,"View incident dashboards from Noggin directly in Saab OneView."),g.k0s()(),g.j41(19,"div",7)(20,"button",8),g.bIt("click",function(){g.eBV(L);const C=g.XpG(2);return g.Njj(C.createNewConnection())}),g.EFF(21,"Connect"),g.k0s()()(),g.bVm()}if(2&I){const L=g.XpG(2);g.R7$(),g.Y8G("showCancelButton",!0),g.R7$(),g.JRh(L.title),g.R7$(),g.Y8G("showBorder",!1)("showHeader",!1)}}function D(I,b){1&I&&g.nrm(0,"app-saab-oneview-new-setup")}function E(I,b){if(1&I&&(g.j41(0,"div"),g.DNE(1,O,22,4,"ng-container",3)(2,D,1,0,"ng-template",null,0,g.C5r),g.k0s()),2&I){const L=g.sdS(3),o=g.XpG();g.R7$(),g.Y8G("ngIf",o.isNewCreateComp)("ngIfElse",L)}}let y=(()=>{class I{constructor(L,o){this.saabService=L,this.cdr=o,this.title="Saab OneView",this.getSub=new a.yU,this.loadingStates=n.Gu,this.loadingState=n.Gu.empty}ngOnInit(){this.loadingState=n.Gu.inProgress,this.getSub.add(this.saabService.getSaabSettings$().subscribe(L=>{L.length>0?L.forEach(o=>{this.saabService.changeSaabObject(o),this.createNewConnection()}):(this.isNewCreateComp=!0,this.loadingState=n.Gu.loaded,this.cdr.detectChanges())}))}createNewConnection(){this.loadingState=n.Gu.loaded,this.isNewCreateComp=!1,this.cdr.detectChanges()}ngDestroy(){this.getSub.unsubscribe()}static#e=this.\u0275fac=function(o){return new(o||I)(g.rXU(m.y),g.rXU(g.gRc))};static#t=this.\u0275cmp=g.VBU({type:I,selectors:[["app-saab-oneview-settings"]],decls:2,vars:2,consts:[["showEditSaabSettingsPage",""],[4,"ngIf"],[3,"appSpinner"],[4,"ngIf","ngIfElse"],[3,"showCancelButton"],[3,"showBorder","showHeader"],[1,"sidedheet-sub-title"],[1,"view-email-tail","d-flex","align-items-center","justify-content-center","pl-2","pr-2"],[1,"btn","btn-primary",3,"click"]],template:function(o,C){1&o&&g.DNE(0,T,2,1,"div",1)(1,E,4,2,"div",1),2&o&&(g.Y8G("ngIf",C.loadingState===C.loadingStates.inProgress),g.R7$(),g.Y8G("ngIf",C.loadingState===C.loadingStates.loaded))},styles:[".sidedheet-sub-title[_ngcontent-%COMP%]{font-weight:400;font-size:1rem;margin-bottom:8px;color:#416381}"],changeDetection:0})}return I})()},85511:(at,N,s)=>{"use strict";s.d(N,{y:()=>b});var n=s(40673),a=s(55516),g=s(67376),T=s(84412),O=s(61594),D=s(96354),E=s(93953),y=s(44667),I=s(51229);let b=(()=>{class L{constructor(C,w){this.objectService=C,this.queryService=w,this.existingSaabSettingsValue=new T.t({}),this.currentSaabSettingsValue=this.existingSaabSettingsValue.asObservable()}getSaabSettings$(){return this.queryService.execute1dFirst(a.R.GET_ALL_SAAB_ONEVIEW,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}]})}saveSaabSettings$(C,w,M,q){const z={$tip:C||null,$type:q,$security:n.Ay.SECURITY.INSTANCE_USER_ADMIN,enabled:w.enabled,...w};return this.objectService.setObject(z,M).pipe((0,O.$)(),(0,D.T)(F=>F.length>0?(0,g.last)(F).tip:null))}changeSaabObject(C){this.existingSaabSettingsValue.next(C)}static#e=this.\u0275fac=function(w){return new(w||L)(E.KVO(y.T),E.KVO(I.c))};static#t=this.\u0275prov=E.jDH({token:L,factory:L.\u0275fac,providedIn:"root"})}return L})()},92919:(at,N,s)=>{"use strict";s.d(N,{W:()=>m});var n=s(55516),a=s(93953),g=s(51229);let m=(()=>{class T{constructor(D){this.queryService=D}getItems(){return this.queryService.execute1dFirst(n.R.GET_ALL_WEBHOOK_ENDPOINT,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:['FIELD("app/webhook-endpoint:label")'],sortdir:["asc"]}]})}static#e=this.\u0275fac=function(E){return new(E||T)(a.KVO(g.c))};static#t=this.\u0275prov=a.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},16015:(at,N,s)=>{"use strict";s.d(N,{z:()=>O});var n=s(93953),a=s(50835),g=s(55516),m=s(51229),T=s(8142);let O=(()=>{class D{constructor(y,I){this.queryService=y,this.authService=I,this.what3wordsTestConnectionUrl=((0,n.naY)()?"http://localhost:4200":a.c.host)+a.c.gisServicePath+"/what3words/testConnection"}testConnection$(y){return this.authService.post(this.what3wordsTestConnectionUrl,y)}getWhat3WordsSettings$(){return this.queryService.execute1dFirst(g.R.GET_ALL_WHAT_3_WORDS,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}]})}static#e=this.\u0275fac=function(I){return new(I||D)(n.KVO(m.c),n.KVO(T.V))};static#t=this.\u0275prov=n.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},51483:(at,N,s)=>{"use strict";s.d(N,{L:()=>M,p:()=>q});var n=s(21413),a=s(61594),g=s(25558),m=s(73703),T=s(99437),O=s(96354),D=s(40673),E=s(52596),y=s(55516),I=s(31130),b=s(46791),L=s(93953),o=s(51229),C=s(44667),w=s(87879);const M=400;let q=(()=>{class z{constructor(U,k,Y,x){this.queryService=U,this.objectService=k,this.moduleService=Y,this.modulePackageService=x,this.getListCalled=new n.B}getLists(U=0,k){return this.queryService.execute1dFirst(y.R.GET_ALL_LISTS,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:U,limit:k}]})}getList(U){return this.objectService.getObject(U,E.c)}createList(U,k){return U.$type="app/list",this.moduleService.getModulePolicy(k,I.b.INSTANCE).pipe((0,a.$)(),(0,g.n)(Y=>this.objectService.setObject(U,E.c,D.Ay.BRANCH_MASTER,Y||"app/security-policy/instance-user-admin").pipe((0,a.$)())),(0,g.n)(Y=>{const x=Y[Y.length-1].tip;return this.moduleService.addTipToFlatModuleField({moduleTip:k,moduleField:"lists",tip:x}).pipe((0,m.u)(x))}),(0,T.W)(()=>this.modulePackageService.handleError("save list",k)))}updateList(U,k){return U.items&&U.items.length?(U.labels=b.J.populateListLabels(U),U.values=this.populateListValues(U)):(U.items=[],U.labels=[],U.values=[]),this.objectService.setObject(U,E.c).pipe((0,O.T)(Y=>{if(Y.length>0)return Y[0].tip}),(0,T.W)(()=>this.modulePackageService.handleError("update list",k)))}deleteList(U,k){return this.moduleService.deleteModuleConfig([U]).pipe((0,T.W)(()=>this.modulePackageService.handleError("delete list",k)))}populateListValues(U){const k=[];return U.items&&U.items.length&&U.items.forEach(Y=>{k.push(Y.value.toString()),Y.items&&Y.items.length&&k.push(...this.populateListValues(Y))}),k}static#e=this.\u0275fac=function(k){return new(k||z)(L.KVO(o.c),L.KVO(C.T),L.KVO(I.A),L.KVO(w.G))};static#t=this.\u0275prov=L.jDH({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})()},46791:(at,N,s)=>{"use strict";s.d(N,{J:()=>O});var n=s(67376),g=s(25793),m=s(40673),T=s(93953);let O=(()=>{class D{constructor(){this.TRAIL_BREADCRUMB_PATH="trail-breadcrumb-path"}static getListItemIndex(y,I){return(0,n.findIndex)(y,b=>b.value===I)}static populateListLabels(y,I){return I=I||(y.labels||[]).map(b=>({lang:b.lang,value:[]})),y.items&&y.items.length&&y.items.forEach(b=>{b.label=b.label||{[m.Ay.LANG_DEFAULT]:""},(0,n.isString)(b.label)&&(b.label={[m.Ay.LANG_DEFAULT]:b.label});const L=I.map(q=>q.lang),o=(0,n.keys)(b.label),C=(0,n.difference)(o,L),w=(0,n.union)(o,L),M=I[0]?I[0].value.length:0;C.forEach(q=>{I.push({lang:q,value:(0,n.fill)(Array(M),"")})}),w.forEach(q=>{(0,n.find)(I,["lang",q]).value.push(b.label[q]||"")}),this.populateListLabels(b,I)}),I}getListItemDepth(y,I=1){let b=I;return y.items&&y.items.length&&y.items.forEach(L=>{if(L.items&&L.items.length){const o=this.getListItemDepth(L,I+1);b=Math.max(o,b)}}),b}getListItemLabel(y,I){if(!(y.labels&&y.labels.length&&y.values&&y.values.length))return"";const b=y.values.indexOf(I);return-1!==b?(0,g.lD)(y.labels)[b]:""}getListItemAncestor(y,I){const b=[],L=y.items.slice(),o=[y.items.length];if(!I||""===I.trim())return b;for(;L.length;){const w=L.pop();if(b.unshift(w),w.value===I)break;if(o[o.length-1]--,w.items&&w.items.length>0)L.push(...w.items),o.push(w.items.length);else for(b.shift();o.length&&!o[o.length-1];)o.pop(),b.shift()}const C=b.map(w=>({icon:w.icon,color:w.color,value:w.value,label:w.label}));return C.forEach((w,M)=>{C[M].label=(0,g.YN)(w.label)}),C}populateTallyValues(y,I){y?.items&&y?.items.length&&y.items.forEach(b=>{b.tallyValue=this.populateListItemTallyValue(b,I)})}populateListItemTallyValue(y,I){let b=0;return y?.items&&y?.items.length&&y.items.forEach(L=>{I.includes(L.value)&&(b+=1),L.items&&L.items.length&&(b+=this.populateListItemTallyValue(L,I))}),b}generateItemsForBreadCrumbs(y,I=0,b=0,L=0,o=15,C="\u2026",w=" \u203a "){const M=[],q=[];let z="",F=!1;"object"==typeof y[0]&&(z=y.map(B=>B.label).join(" \u203a "));const k=y?.map(B=>{let j="";return j="object"==typeof B?B?.label:B,j})?.join(w)?.length,Y=Math.floor(I/(b/L));Y>0&&k>Y&&(F=!0),y?.map((B,j)=>{let $="trail-id",H="";"object"==typeof B?($=B?.itemId,H=B?.label):(H=B,z=H);let ie=H;F&&(ie=H?.length>o?H?.slice(0,o)+C:H);const ne=j;q.push(ie),M.push({label:ie,actualIndex:ne,shouldShowPopup:!1,itemId:$,breadcrumbPath:z})});const x=q?.join(w)?.length;if(Y>0){if(x>Y){let j,B=C.length+M[M?.length-1]?.label?.length;for(let $=0;$<M?.length;$++)if(B=B+M[$]?.label?.length+w?.length,B>Y){j=$;break}return this.applyTruncation(j,M,C)}return{breadCrumbs:M,breadCrumbPopUps:[]}}return{breadCrumbs:[],breadCrumbPopUps:[]}}applyTruncation(y,I,b){const L=[],o=[];return 0===y?(L.push(I[0],{label:b,actualIndex:1,shouldShowPopup:!0,breadcrumbPath:this.TRAIL_BREADCRUMB_PATH,itemId:"trail-id"}),o.push(...I.slice(1,I?.length))):(I.forEach((C,w)=>{w<y&&L.push(C),w>=y&&w<I?.length-1&&o.push(C),w===y&&L.push({label:b,actualIndex:w,shouldShowPopup:!0,breadcrumbPath:this.TRAIL_BREADCRUMB_PATH,itemId:"trail-id"})}),L.push(I[I?.length-1])),{breadCrumbs:L,breadCrumbPopUps:o}}static#e=this.\u0275fac=function(I){return new(I||D)};static#t=this.\u0275prov=T.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},16977:(at,N,s)=>{"use strict";s.d(N,{w:()=>U});var n=s(89417),a=s(67376),g=s(61594),m=s(96354),T=s(25558),O=s(36939),D=s(69172),E=s(68030),y=s(5002);const I={wrappers:["side-sheet-section-wrapper"],fieldGroup:[{key:"name",type:"input",templateOptions:{label:"Name",placeholder:"Enter a name",type:"text",required:!0}},{key:"description",type:"multi-line-text",templateOptions:{label:"Description",placeholder:"Enter a description"}}]},b=[{key:"isUserModifiable",type:"checkbox",templateOptions:{label:"Is user-modifiable"}}];var L=s(93953),o=s(50337),C=s(19937),w=s(51483),M=s(29968),q=s(43470);function z(k,Y){if(1&k&&(L.j41(0,"app-alert",4),L.EFF(1),L.k0s()),2&k){const x=L.XpG();L.R7$(),L.JRh(x.errorMessage)}}function F(k,Y){if(1&k){const x=L.RV6();L.qex(0),L.nrm(1,"formly-form",5),L.j41(2,"app-side-sheet-section")(3,"div",6)(4,"button",7),L.bIt("click",function(){L.eBV(x);const j=L.XpG();return L.Njj(j.showDeleteModal())}),L.EFF(5,"Delete"),L.k0s()()(),L.bVm()}if(2&k){const x=L.XpG();L.R7$(),L.Y8G("form",x.listForm)("fields",x.fields)("model",x.model)}}let U=(()=>{class k{constructor(x,B,j,$,H,ie){this.sideSheetService=x,this.toastService=B,this.listService=j,this.modalService=$,this.fb=H,this.featureFlagService=ie,this.fields=[],this.loadingStates=D.Gu,this.isGoldmaster$=this.featureFlagService.getFeatureFlag$(y.g.FEATURE_GOLDMASTER).pipe((0,g.$)())}setProps({list:x}){this.list=x}ngOnInit(){this.loadingState=D.Gu.inProgress,this.isGoldmaster$.subscribe(this.initForm.bind(this))}initForm(x){const B=(0,a.cloneDeep)(I);if(x){const $=(0,a.head)((0,a.cloneDeep)(b));$.templateOptions.readonly=this.list.isUserModifiable||!1,B.fieldGroup.push($)}this.model={name:this.list.name,description:this.list.description||null,isUserModifiable:this.list.isUserModifiable||!1},this.listForm=this.fb.group({name:[this.model.name,n.k0.required],description:[this.model.description],isUserModifiable:[this.model.isUserModifiable]}),this.fields=[B],this.loadingState=D.Gu.loaded}updateList(){this.loadingState=D.Gu.inProgress,this.isGoldmaster$.pipe((0,m.T)(x=>(this.list.name=this.model.name,this.list.description=this.model.description,x&&(this.list.isUserModifiable=this.model.isUserModifiable),this.list)),(0,T.n)(x=>this.listService.updateList(x,this.moduleTip)),(0,g.$)()).subscribe(()=>{this.toastService.showSuccessToast("Saved list successfully"),this.sideSheetService.pop()},x=>{x instanceof O.g?this.toastService.showErrorToast(x.message):this.errorMessage="Unable to save list at this time",this.loadingState=D.Gu.failed})}showDeleteModal(){const x=this.modalService.open(E.F,E.G);x.componentInstance.objectType="list",x.result.then(j=>j?this.deleteList():null).catch(()=>{})}deleteList(){this.loadingState=D.Gu.inProgress,this.listService.deleteList(this.list.$tip,this.moduleTip).pipe((0,g.$)()).subscribe(()=>{this.sideSheetService.clear(),this.toastService.showSuccessToast("Deleted list successfully")},x=>{x instanceof O.g?this.toastService.showErrorToast(x.message):this.errorMessage="Unable to delete list at this time",this.loadingState=D.Gu.failed})}static#e=this.\u0275fac=function(B){return new(B||k)(L.rXU(o.E),L.rXU(C.f),L.rXU(w.p),L.rXU(M.Bq),L.rXU(n.ok),L.rXU(q.y))};static#t=this.\u0275cmp=L.VBU({type:k,selectors:[["app-list-edit-side-sheet"]],decls:5,vars:5,consts:[["action","Save",3,"actioned","disabled","showCancelButton"],["type","danger",4,"ngIf"],[1,"mt-3",3,"appSpinner"],[4,"ngIf"],["type","danger"],[3,"form","fields","model"],[1,"form-options","d-flex","justify-content-center","m-3"],["type","button",1,"btn","btn-danger","px-8",3,"click"]],template:function(B,j){1&B&&(L.j41(0,"app-side-sheet-header",0),L.bIt("actioned",function(){return j.updateList()}),L.EFF(1," Edit list\n"),L.k0s(),L.DNE(2,z,2,1,"app-alert",1),L.j41(3,"div",2),L.DNE(4,F,6,3,"ng-container",3),L.k0s()),2&B&&(L.Y8G("disabled",j.loadingState===j.loadingStates.inProgress)("showCancelButton",!0),L.R7$(2),L.Y8G("ngIf",j.loadingState===j.loadingStates.failed),L.R7$(),L.Y8G("appSpinner",j.loadingState===j.loadingStates.inProgress),L.R7$(),L.Y8G("ngIf",j.loadingState!==j.loadingStates.inProgress))}})}return k})()},13952:(at,N,s)=>{"use strict";s.d(N,{T:()=>C});var n=s(89417),a=s(21413),g=s(56977),m=s(61594),T=s(20924),O=s(36939),D=s(34669),E=s(69172),y=s(93953),I=s(51483),b=s(19937),L=s(50337);function o(w,M){if(1&w&&(y.j41(0,"app-alert",8),y.EFF(1),y.k0s()),2&w){const q=y.XpG();y.R7$(),y.JRh(q.errorMessage)}}let C=(()=>{class w{constructor(q,z,F,U){this.listService=q,this.toastService=z,this.sideSheetService=F,this.changeDetectorRef=U,this.colors=E.H6,this.icons=E.V9,this.loadingState=E.Gu.loaded,this.loadingStates=E.Gu,this.listItemForm=new n.gE({label:new n.MJ("",n.k0.required),value:new n.MJ(null,[n.k0.required,D.O.alphanumericValidator]),icon:new n.MJ(null),color:new n.MJ(null)}),this.unsubscribe$=new a.B}ngOnInit(){this.listItemForm.controls.label.valueChanges.pipe((0,g.Q)(this.unsubscribe$)).subscribe(q=>{T.z.applyAlphanumericValueToControl(this.listItemForm.controls.label,this.listItemForm.controls.value)})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}createListItem(){const q={label:this.listItemForm.value.label,value:this.listItemForm.value.value,icon:this.listItemForm.value.icon,color:this.listItemForm.value.color};switch(!0){case!!this.parentListItem&&!!this.parentListItem.items&&!!this.parentListItem.items.length:this.parentListItem.items.push(q);break;case!!this.parentListItem:this.parentListItem.items=[q];break;default:this.list.items&&this.list.items.length?this.list.items.push(q):this.list.items=[q]}this.loadingState=E.Gu.inProgress,this.listService.updateList(this.list,this.moduleTip).pipe((0,m.$)()).subscribe(()=>{this.toastService.showSuccessToast("List item successfully created"),this.sideSheetService.pop()},z=>{this.list.items.pop(),z instanceof O.g?this.toastService.showErrorToast(z.message):this.errorMessage="Unable to create list item at this time",this.loadingState=E.Gu.failed,this.changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(z){return new(z||w)(y.rXU(I.p),y.rXU(b.f),y.rXU(L.E),y.rXU(y.gRc))};static#t=this.\u0275cmp=y.VBU({type:w,selectors:[["app-list-item-create-side-sheet"]],decls:9,vars:8,consts:[["action","Done",3,"actioned","disabled"],["type","danger",4,"ngIf"],[3,"appSpinner","showBorder"],[3,"formGroup"],["data-test","list-item-label-form-field","label","Label","placeholder","Enter a label","formControlName","label",3,"required"],["data-test","list-item-value-form-field","label","Value","placeholder","Enter a value","formControlName","value",3,"required"],["data-test","list-item-symbol-form-field","label","Symbol","placeholder","Select a symbol","formControlName","icon"],["label","Color","formControlName","color",3,"options"],["type","danger"]],template:function(z,F){1&z&&(y.j41(0,"app-side-sheet-header",0),y.bIt("actioned",function(){return F.createListItem()}),y.EFF(1,"Create list item"),y.k0s(),y.DNE(2,o,2,1,"app-alert",1),y.j41(3,"app-side-sheet-section",2)(4,"form",3),y.nrm(5,"app-text-field",4)(6,"app-text-field",5)(7,"app-symbol-chooser",6)(8,"app-color-picker-field",7),y.k0s()()),2&z&&(y.Y8G("disabled",F.listItemForm.invalid||F.loadingState===F.loadingStates.inProgress),y.R7$(2),y.Y8G("ngIf",F.loadingState===F.loadingStates.failed),y.R7$(),y.Y8G("appSpinner",F.loadingState===F.loadingStates.inProgress)("showBorder",!1),y.R7$(),y.Y8G("formGroup",F.listItemForm),y.R7$(),y.Y8G("required",!0),y.R7$(),y.Y8G("required",!0),y.R7$(2),y.Y8G("options",F.colors))},changeDetection:0})}return w})()},26640:(at,N,s)=>{"use strict";s.d(N,{p:()=>o});var n=s(93953),a=s(89417),g=s(21413),m=s(56977),T=s(61594),O=s(20924),D=s(36939),E=s(25793),y=s(69172),I=s(51483),b=s(19937);function L(C,w){if(1&C&&(n.j41(0,"app-alert",11),n.EFF(1),n.k0s()),2&C){const M=n.XpG();n.R7$(),n.JRh(M.errorMessage)}}let o=(()=>{class C{constructor(M,q,z){this.listService=M,this.toastService=q,this.changeDetectorRef=z,this.colors=y.H6,this.icons=y.V9,this.loadingStates=y.Gu,this.itemForm=new a.gE({label:new a.MJ("",a.k0.required),value:new a.MJ(null,[a.k0.required]),icon:new a.MJ(null),color:new a.MJ(null)}),this.unsubscribe$=new g.B,this.reset$=new n.bkB}ngOnInit(){this.i18nLabel=(0,E.YN)(this.listItem.label),this.itemForm.setValue({label:this.i18nLabel,value:this.listItem.value||null,icon:this.listItem.icon||null,color:this.listItem.color||null}),this.itemForm.controls.label.valueChanges.pipe((0,m.Q)(this.unsubscribe$)).subscribe(M=>{O.z.applyAlphanumericValueToControl(this.itemForm.controls.label,this.itemForm.controls.value)})}ngOnDestroy(){this.reset$.complete(),this.unsubscribe$.next(),this.unsubscribe$.complete()}updateListItem(){this.listItem.label=this.i18nLabel!==this.itemForm.value.label?(0,E.e2)(this.itemForm.value.label):this.listItem.label,this.listItem.value=this.itemForm.value.value,this.listItem.icon=this.itemForm.value.icon,this.listItem.color=this.itemForm.value.color,this.loadingState=y.Gu.inProgress,this.listService.updateList(this.list,this.moduleTip).pipe((0,T.$)()).subscribe(()=>{this.toastService.showSuccessToast("List item successfully updated"),this.done()},q=>{q instanceof D.g?this.toastService.showErrorToast(q.message):this.errorMessage="Unable to update list item at this time",this.loadingState=y.Gu.failed,this.reset$.emit(),this.changeDetectorRef.markForCheck()})}deleteListItem(){this.parentListItem?this.parentListItem.items.splice(this.listItemIndex,1):this.list.items.splice(this.listItemIndex,1),this.loadingState=y.Gu.inProgress,this.listService.updateList(this.list,this.moduleTip).pipe((0,T.$)()).subscribe(()=>{this.toastService.showSuccessToast("List item successfully deleted"),this.done()},M=>{M instanceof D.g?this.toastService.showErrorToast(M.message):this.errorMessage="Unable to delete list item at this time",this.loadingState=y.Gu.failed,this.changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(q){return new(q||C)(n.rXU(I.p),n.rXU(b.f),n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:C,selectors:[["app-list-item-edit-side-sheet"]],decls:14,vars:8,consts:[["action","Done",3,"actioned","disabled"],["type","danger",4,"ngIf"],[3,"appSpinner"],[3,"showBorder"],[3,"formGroup"],["label","Label","placeholder","Enter a label","formControlName","label",3,"required"],["label","Value","placeholder","Enter a value","formControlName","value",3,"required"],["formControlName","icon","label","Symbol","placeholder","Select a symbol"],["label","Color","formControlName","color",3,"options"],[1,"form-options","d-flex","justify-content-center","m-3"],["type","button",1,"btn","btn-danger","px-8",3,"click"],["type","danger"]],template:function(q,z){1&q&&(n.j41(0,"app-side-sheet-header",0),n.bIt("actioned",function(){return z.updateListItem()}),n.EFF(1,"Edit list item"),n.k0s(),n.DNE(2,L,2,1,"app-alert",1),n.j41(3,"div",2)(4,"app-side-sheet-section",3)(5,"form",4),n.nrm(6,"app-text-field",5)(7,"app-text-field",6)(8,"app-symbol-chooser",7)(9,"app-color-picker-field",8),n.k0s()(),n.j41(10,"app-side-sheet-section")(11,"div",9)(12,"button",10),n.bIt("click",function(){return z.deleteListItem()}),n.EFF(13,"Delete"),n.k0s()()()()),2&q&&(n.Y8G("disabled",z.itemForm.invalid||z.loadingState===z.loadingStates.inProgress),n.R7$(2),n.Y8G("ngIf",z.loadingState===z.loadingStates.failed),n.R7$(),n.Y8G("appSpinner",z.loadingState===z.loadingStates.inProgress),n.R7$(),n.Y8G("showBorder",!1),n.R7$(),n.Y8G("formGroup",z.itemForm),n.R7$(),n.Y8G("required",!0),n.R7$(),n.Y8G("required",!0),n.R7$(2),n.Y8G("options",z.colors))},changeDetection:0})}return C})()},49734:(at,N,s)=>{"use strict";s.d(N,{N:()=>$});var n=s(21413),a=s(56977),g=s(61594),m=s(88141),T=s(67376),D=s(69172),E=s(51483),y=s(13952),I=s(26640),b=s(46791),L=s(36939),o=s(93953),C=s(50337),w=s(19937),M=s(25391);const q=()=>["label"];function z(H,ie){if(1&H){const ne=o.RV6();o.j41(0,"button",14),o.bIt("click",function(){o.eBV(ne);const le=o.XpG(3);return o.Njj(le.onDragStart())}),o.nrm(1,"mat-icon",15),o.k0s()}}function F(H,ie){if(1&H){const ne=o.RV6();o.j41(0,"div",9),o.nrm(1,"app-operational-limit-text",10),o.j41(2,"button",11),o.bIt("click",function(){o.eBV(ne);const le=o.XpG(2);return o.Njj(le.editListItem())}),o.nrm(3,"mat-icon",12),o.k0s(),o.DNE(4,z,2,0,"button",13),o.k0s()}if(2&H){const ne=o.XpG(2);o.R7$(),o.Y8G("operationalLimit",ne.itemsLimited)("operationalTypeLength",null==ne.listItem||null==ne.listItem.items?null:ne.listItem.items.length),o.R7$(3),o.Y8G("ngIf",null==ne.listItem||null==ne.listItem.items?null:ne.listItem.items.length)}}function U(H,ie){if(1&H){const ne=o.RV6();o.j41(0,"div",16)(1,"button",17),o.bIt("click",function(){o.eBV(ne);const le=o.XpG(2);return o.Njj(le.onDragCancel())}),o.EFF(2,"Cancel"),o.k0s(),o.j41(3,"button",18),o.bIt("click",function(){o.eBV(ne);const le=o.XpG(2);return o.Njj(le.onDragFinish())}),o.EFF(4,"Finish"),o.k0s()()}}function k(H,ie){if(1&H){const ne=o.RV6();o.j41(0,"app-side-sheet-list-item",21),o.bIt("toggle",function(){const le=o.eBV(ne).$implicit,pe=o.XpG(3);return o.Njj(pe.openListItem(le.value))}),o.nrm(1,"app-list-list-item",22),o.k0s()}if(2&H){const ne=ie.$implicit,Q=o.XpG(3);o.Y8G("hasChevron",!0)("disabled",Q.isDraggable),o.R7$(),o.Y8G("item",ne)("isDraggable",Q.isDraggable)}}function Y(H,ie){if(1&H){const ne=o.RV6();o.j41(0,"app-side-sheet-list",19),o.mxI("draggableModelChange",function(le){o.eBV(ne);const pe=o.XpG(2);return o.DH7(pe.listItem.items,le)||(pe.listItem.items=le),o.Njj(le)}),o.DNE(1,k,2,4,"app-side-sheet-list-item",20),o.nI1(2,"filter"),o.k0s()}if(2&H){const ne=o.XpG(2);o.Y8G("mode",ne.isDraggable?"drag":"none"),o.R50("draggableModel",ne.listItem.items),o.R7$(),o.Y8G("ngForOf",o.brH(2,3,ne.listItem.items,ne.filterText,o.lJ4(7,q)))}}function x(H,ie){if(1&H){const ne=o.RV6();o.j41(0,"app-empty-state",23),o.bIt("actionClick",function(){o.eBV(ne);const le=o.XpG(2);return o.Njj(le.createListItem())}),o.k0s()}}function B(H,ie){if(1&H){const ne=o.RV6();o.qex(0),o.j41(1,"app-side-sheet-section",3)(2,"app-filter-and-add",4),o.mxI("filterTextChange",function(le){o.eBV(ne);const pe=o.XpG();return o.DH7(pe.filterText,le)||(pe.filterText=le),o.Njj(le)}),o.bIt("add",function(){o.eBV(ne);const le=o.XpG();return o.Njj(le.createListItem())}),o.k0s()(),o.j41(3,"app-side-sheet-section",5),o.nI1(4,"i18nValue"),o.DNE(5,F,5,3,"div",6)(6,U,5,0,"div",7)(7,Y,3,8,"app-side-sheet-list",8)(8,x,1,0,"ng-template",null,0,o.C5r),o.k0s(),o.bVm()}if(2&H){const ne=o.sdS(9),Q=o.XpG();o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.R50("filterText",Q.filterText),o.R7$(),o.Y8G("title",o.bMT(4,9,Q.listItem.label))("showBorder",!0),o.R7$(2),o.Y8G("ngIf",!Q.isDraggable),o.R7$(),o.Y8G("ngIf",Q.isDraggable),o.R7$(),o.Y8G("ngIf",null==Q.listItem||null==Q.listItem.items?null:Q.listItem.items.length)("ngIfElse",ne)}}function j(H,ie){1&H&&o.nrm(0,"div",24),2&H&&o.Y8G("appSpinner",!0)}let $=(()=>{class H{constructor(ne,Q,le,pe){this.sideSheetService=ne,this.listService=Q,this.toastService=le,this.operationalLimitService=pe,this.loadingStates=D.Gu,this.filterText="",this.isDraggable=!1,this.unsubscribe$=new n.B}ngOnInit(){this.initialiseList(),this.listService.getListCalled.pipe((0,a.Q)(this.unsubscribe$)).subscribe(()=>this.initialiseList()),this.operationalLimitService.getValue$("numberOfItemsPerListDesigner",E.L).pipe((0,g.$)()).subscribe(ne=>this.itemsLimited=ne)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}initialiseList(){this.listItem||(this.listItem=this.list.items[this.listItemIndex])}openListItem(ne,Q){let le;ne&&(0,T.isEmpty)(Q)&&(le=b.J.getListItemIndex(this.listItem.items,ne));const te=this.sideSheetService.push(H,null,!0).componentInstance;te.list=Q?Q.list:this.list,te.listItem=Q?Q.listItem:this.listItem.items[le],te.parentListItem=Q?Q.parentListItem:this.listItem,te.listItemIndex=Q?Q?.selectedItemIndex:le,te.moduleTip=Q?Q.moduleTip:this.moduleTip}createListItem(){if((0,T.size)(this.listItem.items)>=this.itemsLimited)return void this.toastService.showErrorToast(`You can only add ${this.itemsLimited} items per list.`);const Q=this.sideSheetService.push(y.T,null,!0).componentInstance;Q.list=this.list,Q.parentListItem=this.listItem,Q.moduleTip=this.moduleTip}editListItem(){const ne=(0,T.cloneDeep)(this.listItem),le=this.sideSheetService.push(I.p,null,!0).componentInstance;le.list=this.list,le.listItem=this.listItem,le.listItemIndex=this.listItemIndex,le.parentListItem=this.parentListItem,le.moduleTip=this.moduleTip,le.done=()=>{if(this.sideSheetService.pop(),this.sideSheetService.pop(),this.parentListItem&&this.sideSheetService.sideSheetInstancesArray?.length){let pe=this.sideSheetService.sideSheetInstancesArray[this.sideSheetService.sideSheetInstancesArray.length-1].componentInstance;this.sideSheetService.pop(),this.openListItem(null,pe)}},this.assignUnsavedChanges(le,ne)}assignUnsavedChanges(ne,Q){ne.reset$.pipe((0,a.Q)(this.unsubscribe$)).subscribe(()=>this.listItem=Q)}onDragStart(){this.isDraggable=!0,this.listItemsBeforeReorder=(0,T.cloneDeep)(this.listItem.items)}onDragCancel(){this.isDraggable=!1,this.listItem.items=(0,T.cloneDeep)(this.listItemsBeforeReorder)}onDragFinish(){this.loadingState=D.Gu.inProgress,this.listService.updateList(this.list,this.moduleTip).pipe((0,g.$)(),(0,m.M)(()=>{this.isDraggable=!1,this.loadingState=D.Gu.loaded})).subscribe(()=>{},ne=>{this.toastService.showErrorToast(ne instanceof L.g?ne.message:"Failed to update the list items order.")})}static#e=this.\u0275fac=function(Q){return new(Q||H)(o.rXU(C.E),o.rXU(E.p),o.rXU(w.f),o.rXU(M.H))};static#t=this.\u0275cmp=o.VBU({type:H,selectors:[["app-list-item-side-sheet"]],decls:4,vars:3,consts:[["emptyList",""],[4,"ngIf"],["class","p-3",3,"appSpinner",4,"ngIf"],[3,"showBorder","showHeader"],[3,"filterTextChange","add","filterText"],[3,"title","showBorder"],["buttons","","class","d-flex",4,"ngIf"],["buttons","",4,"ngIf"],[3,"mode","draggableModel","draggableModelChange",4,"ngIf","ngIfElse"],["buttons","",1,"d-flex"],["data-test","show-highlight-text","operationalType","items",1,"operational-limit",3,"operationalLimit","operationalTypeLength"],[1,"eim-button_minimized","btn","btn-secondary",3,"click"],["svgIcon","edit"],["class","eim-button_minimized btn btn-secondary ml-1",3,"click",4,"ngIf"],[1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"click"],["svgIcon","reorder"],["buttons",""],[1,"btn","btn-secondary","mr-1",3,"click"],[1,"btn","btn-secondary",3,"click"],[3,"draggableModelChange","mode","draggableModel"],[3,"hasChevron","disabled","toggle",4,"ngFor","ngForOf"],[3,"toggle","hasChevron","disabled"],[3,"item","isDraggable"],["imgSrc","assets/img/empty-states/no-lists.svg","label","No list items here","actionText","Add a new item",1,"empty",3,"actionClick"],[1,"p-3",3,"appSpinner"]],template:function(Q,le){1&Q&&(o.j41(0,"app-side-sheet-header"),o.EFF(1),o.k0s(),o.DNE(2,B,10,11,"ng-container",1)(3,j,1,1,"div",2)),2&Q&&(o.R7$(),o.JRh(le.list.name),o.R7$(),o.Y8G("ngIf",le.loadingState!==le.loadingStates.inProgress),o.R7$(),o.Y8G("ngIf",le.loadingState===le.loadingStates.inProgress))},styles:[".option[_ngcontent-%COMP%]{width:2.2rem;height:2.2rem;border-radius:3px;cursor:pointer}.operational-limit[_ngcontent-%COMP%]{margin-right:10px;margin-top:4px;font-weight:500;font-size:1rem;color:#273c4e}"]})}return H})()},65024:(at,N,s)=>{"use strict";s.d(N,{G:()=>le});var n=s(21413),a=s(88141),g=s(56977),m=s(61594),T=s(67376),D=s(69172),E=s(51483),y=s(16977),I=s(49734),b=s(13952),L=s(46791),o=s(36939),C=s(93953),w=s(50337),M=s(19937),q=s(25391),z=s(52168),F=s(60177);const U=()=>["label"];function k(pe,te){if(1&pe){const ae=C.RV6();C.j41(0,"button",15),C.bIt("click",function(){C.eBV(ae);const de=C.XpG(3);return C.Njj(de.editList())}),C.nrm(1,"mat-icon",16),C.k0s()}}function Y(pe,te){if(1&pe){const ae=C.RV6();C.j41(0,"button",17),C.bIt("click",function(){C.eBV(ae);const de=C.XpG(3);return C.Njj(de.onDragStart())}),C.nrm(1,"mat-icon",18),C.k0s()}}function x(pe,te){if(1&pe&&(C.j41(0,"div",11),C.nrm(1,"app-operational-limit-text",12),C.DNE(2,k,2,0,"button",13)(3,Y,2,0,"button",14),C.k0s()),2&pe){const ae=C.XpG(2);C.R7$(),C.Y8G("operationalLimit",ae.itemsLimited)("operationalTypeLength",null==ae.list||null==ae.list.items?null:ae.list.items.length),C.R7$(),C.Y8G("ngIf",ae.isModuleUnlocked),C.R7$(),C.Y8G("ngIf",null==ae.list||null==ae.list.items?null:ae.list.items.length)}}function B(pe,te){if(1&pe){const ae=C.RV6();C.j41(0,"div",19)(1,"button",20),C.bIt("click",function(){C.eBV(ae);const de=C.XpG(2);return C.Njj(de.onDragCancel())}),C.EFF(2,"Cancel "),C.k0s(),C.j41(3,"button",21),C.bIt("click",function(){C.eBV(ae);const de=C.XpG(2);return C.Njj(de.onDragFinish())}),C.EFF(4,"Finish "),C.k0s()()}}function j(pe,te){if(1&pe){const ae=C.RV6();C.j41(0,"app-side-sheet-list-item",24),C.bIt("toggle",function(){const de=C.eBV(ae).$implicit,Me=C.XpG(3);return C.Njj(Me.openListItem(de.value))}),C.nrm(1,"app-list-list-item",25),C.k0s()}if(2&pe){const ae=te.$implicit,K=C.XpG(3);C.Y8G("hasChevron",!0)("disabled",K.isDraggable),C.R7$(),C.Y8G("item",ae)("isDraggable",K.isDraggable)}}function $(pe,te){if(1&pe){const ae=C.RV6();C.j41(0,"app-side-sheet-list",22),C.mxI("draggableModelChange",function(de){C.eBV(ae);const Me=C.XpG(2);return C.DH7(Me.list.items,de)||(Me.list.items=de),C.Njj(de)}),C.DNE(1,j,2,4,"app-side-sheet-list-item",23),C.nI1(2,"filter"),C.k0s()}if(2&pe){const ae=C.XpG(2);C.Y8G("mode",ae.isDraggable?"drag":"none"),C.R50("draggableModel",ae.list.items),C.R7$(),C.Y8G("ngForOf",C.brH(2,3,ae.list.items,ae.filterText,C.lJ4(7,U)))}}function H(pe,te){if(1&pe){const ae=C.RV6();C.j41(0,"app-empty-state",26),C.bIt("actionClick",function(){C.eBV(ae);const de=C.XpG(2);return C.Njj(de.createListItem())}),C.k0s()}}function ie(pe,te){if(1&pe){const ae=C.RV6();C.qex(0),C.j41(1,"app-side-sheet-section",5)(2,"app-filter-and-add",6),C.mxI("filterTextChange",function(de){C.eBV(ae);const Me=C.XpG();return C.DH7(Me.filterText,de)||(Me.filterText=de),C.Njj(de)}),C.bIt("add",function(){C.eBV(ae);const de=C.XpG();return C.Njj(de.createListItem())}),C.k0s()(),C.j41(3,"app-side-sheet-section",7),C.DNE(4,x,4,4,"div",8)(5,B,5,0,"div",9)(6,$,3,8,"app-side-sheet-list",10)(7,H,1,0,"ng-template",null,0,C.C5r),C.k0s(),C.bVm()}if(2&pe){const ae=C.sdS(8),K=C.XpG();C.R7$(),C.Y8G("showBorder",!1)("showHeader",!1),C.R7$(),C.R50("filterText",K.filterText),C.R7$(),C.Y8G("title",null==K.list?null:K.list.name)("showBorder",!0),C.R7$(),C.Y8G("ngIf",!K.isDraggable),C.R7$(),C.Y8G("ngIf",K.isDraggable),C.R7$(),C.Y8G("ngIf",null==K.list||null==K.list.items?null:K.list.items.length)("ngIfElse",ae)}}function ne(pe,te){1&pe&&C.nrm(0,"div",27),2&pe&&C.Y8G("appSpinner",!0)}function Q(pe,te){1&pe&&(C.j41(0,"app-alert",28),C.EFF(1,"Failed to load the list"),C.k0s())}let le=(()=>{class pe{constructor(ae,K,de,Me,me,be){this.sideSheetService=ae,this.listService=K,this.toastService=de,this.operationalLimitService=Me,this.router=me,this.location=be,this.unsubscribe$=new n.B,this.loadingStates=D.Gu,this.filterText="",this.isDraggable=!1}ngOnInit(){this.getList()}getList(){this.loadingState=D.Gu.inProgress,this.listService.getList(this.listTip).pipe((0,a.M)(()=>this.listService.getListCalled.next()),(0,g.Q)(this.unsubscribe$)).subscribe(ae=>{this.list=ae,this.branchTip=ae.$branch,this.loadingState=D.Gu.loaded},()=>{this.loadingState=D.Gu.failed}),this.operationalLimitService.getValue$("numberOfItemsPerListDesigner",E.L).pipe((0,m.$)()).subscribe(ae=>this.itemsLimited=ae)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}editList(){const{componentInstance:ae}=this.sideSheetService.push(y.w);ae.moduleTip=this.moduleTip,ae.setProps({list:this.list})}openListItem(ae){const de=this.sideSheetService.push(I.N,{onPop:()=>this.getList()},!0).componentInstance;de.list=this.list,de.listItemIndex=L.J.getListItemIndex(this.list.items,ae),de.moduleTip=this.moduleTip}createListItem(){if((0,T.size)(this.list.items)>=this.itemsLimited)return void this.toastService.showErrorToast(`You can only add ${this.itemsLimited} items per list.`);const K=this.sideSheetService.push(b.T,null,!0).componentInstance;K.list=this.list,K.moduleTip=this.moduleTip}onDragStart(){this.isDraggable=!0,this.listItemsBeforeReorder=(0,T.cloneDeep)(this.list.items)}onDragCancel(){this.isDraggable=!1,this.list.items=(0,T.cloneDeep)(this.listItemsBeforeReorder)}onDragFinish(){this.loadingState=D.Gu.inProgress,this.listService.updateList(this.list,this.moduleTip).pipe((0,m.$)(),(0,a.M)(()=>{this.isDraggable=!1,this.loadingState=D.Gu.loaded})).subscribe(()=>{},ae=>{this.toastService.showErrorToast(ae instanceof o.g?ae.message:"Failed to update the list items order.")})}goBack(){if(this.isRouted())return this.sideSheetService.clear(),void this.location.back();this.sideSheetService.pop()}isRouted(){return/\/\/sidesheet:modules\/.*\/lists\//.test(this.router.url)}static#e=this.\u0275fac=function(K){return new(K||pe)(C.rXU(w.E),C.rXU(E.p),C.rXU(M.f),C.rXU(q.H),C.rXU(z.Ix),C.rXU(F.aZ))};static#t=this.\u0275cmp=C.VBU({type:pe,selectors:[["app-list-side-sheet"]],decls:5,vars:4,consts:[["emptyList",""],[3,"goBack"],[4,"ngIf"],["class","p-3",3,"appSpinner",4,"ngIf"],["type","danger",4,"ngIf"],[3,"showBorder","showHeader"],[3,"filterTextChange","add","filterText"],[3,"title","showBorder"],["buttons","","class","d-flex",4,"ngIf"],["buttons","",4,"ngIf"],[3,"mode","draggableModel","draggableModelChange",4,"ngIf","ngIfElse"],["buttons","",1,"d-flex"],["data-test","show-highlight-text","operationalType","items",1,"operational-limit",3,"operationalLimit","operationalTypeLength"],["class","eim-button_minimized btn btn-secondary",3,"click",4,"ngIf"],["class","eim-button_minimized btn btn-secondary ml-1",3,"click",4,"ngIf"],[1,"eim-button_minimized","btn","btn-secondary",3,"click"],["svgIcon","edit"],[1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"click"],["svgIcon","reorder"],["buttons",""],[1,"btn","btn-secondary","mr-1",3,"click"],[1,"btn","btn-secondary",3,"click"],[3,"draggableModelChange","mode","draggableModel"],[3,"hasChevron","disabled","toggle",4,"ngFor","ngForOf"],[3,"toggle","hasChevron","disabled"],[3,"item","isDraggable"],["imgSrc","assets/img/empty-states/no-lists.svg","label","No list here","actionText","Add a new list",1,"empty",3,"actionClick"],[1,"p-3",3,"appSpinner"],["type","danger"]],template:function(K,de){1&K&&(C.j41(0,"app-side-sheet-header",1),C.bIt("goBack",function(){return de.goBack()}),C.EFF(1),C.k0s(),C.DNE(2,ie,9,9,"ng-container",2)(3,ne,1,1,"div",3)(4,Q,2,0,"app-alert",4)),2&K&&(C.R7$(),C.JRh(null==de.list?null:de.list.name),C.R7$(),C.Y8G("ngIf",de.loadingState===de.loadingStates.loaded),C.R7$(),C.Y8G("ngIf",de.loadingState===de.loadingStates.inProgress),C.R7$(),C.Y8G("ngIf",de.loadingState===de.loadingStates.failed))},styles:[".option[_ngcontent-%COMP%]{width:2.2rem;height:2.2rem;border-radius:3px;cursor:pointer}.operational-limit[_ngcontent-%COMP%]{margin-right:10px;margin-top:4px;font-weight:500;font-size:1rem;color:#273c4e}"]})}return pe})()},55596:(at,N,s)=>{"use strict";s.d(N,{pw:()=>B,q9:()=>Y,qR:()=>x});var n=s(67376),g=s(7673),m=s(18810),T=s(92771),O=s(12498),D=s(96354),E=s(61594),y=s(99437),I=s(25558),b=s(23294),L=s(91986),o=s(50835),C=s(40673),w=s(10532),M=s(93953),q=s(21626),z=s(44667),F=s(15387),U=s(32099),k=s(68775);const Y=`${o.c.host}${o.c.gisServicePath}`,x="LOCATION_TRACKING";let B=(()=>{class j{constructor(H,ie,ne,Q,le){this.httpClient=H,this.objectService=ie,this.sessionManager=ne,this.loggerService=Q,this.mobileAppMessageBusService=le,this.browserSupportsGeolocation="geolocation"in navigator,this.sessionManager.getSessionInfo$().pipe((0,O.L)(3)).subscribe(pe=>this.sessionInfo=pe)}getAddress(H){return this.objectService.getObject(H,w.aK)}setAddress(H){const ie=(0,n.cloneDeep)(H);return delete ie.$tip,delete ie.$sid,this.objectService.setObject(ie,w.aK,C.Ay.BRANCH_MASTER,"app/security-policy/instance-user-runtime").pipe((0,D.T)(([{tip:ne}])=>ne))}newAddress(H,ie,ne){return{$type:"app/address",displayStreet:H||"",point:ie||null,meta:ne||null}}sendSuggestRequest(H){const ie=`${encodeURIComponent(H)}.json`,ne=`${Y}/suggest/${ie}`;return this.getUserLocation().pipe((0,E.$)(),(0,D.T)(Q=>({location:Q.coordinates.join(",")})),(0,y.W)(()=>(0,g.of)({})),(0,I.n)(Q=>this.httpClient.get(ne,{headers:this.getAuthHeaders(),params:{...Q}})),(0,b.F)(),(0,D.T)(({suggestions:Q})=>Q),(0,y.W)(Q=>(this.loggerService.error(`[sendSuggestRequest] Unable to reach gis service: ${Q.message}`),(0,m.$)(Q))))}sendGeocodeRequest(H,ie){const ne=`${encodeURIComponent(H)}.json`,Q=`${Y}/geocode/${ne}`,le=ie?{magicKey:ie}:{};return this.getUserLocation().pipe((0,E.$)(),(0,D.T)(pe=>({proximity:pe.coordinates.join(",")})),(0,y.W)(()=>(0,g.of)({})),(0,I.n)(pe=>this.httpClient.get(Q,{headers:this.getAuthHeaders(),params:{autocomplete:"true",...pe,...le}})),(0,b.F)(),(0,D.T)(({features:pe})=>pe),(0,y.W)(pe=>(this.loggerService.error(`[sendGeocodeRequest] Unable to reach gis service: ${pe.message}`),(0,m.$)(pe))))}getGeocodeResult(H,ie){return this.sendGeocodeRequest(H,ie).pipe((0,D.T)(([ne])=>{let Q,le;return ne?(Q=ne.place_name,le=ne.geometry):(Q=null,le=null),{point:le,displayStreet:Q,meta:ne}}))}getTilesCalculation(H,ie){return this.httpClient.post(`${Y}/offline/calculateTiles`,{coordinates:H,zoom:ie},{headers:this.getAuthHeaders()}).pipe((0,E.$)(),(0,y.W)(Q=>(this.loggerService.error(`[getTilesCalculation] Unable to calculate tiles: ${Q.message}`),(0,m.$)(Q))))}getMapsByDevice(H){return this.httpClient.get(`${Y}/offline/device/${H}`,{headers:this.getAuthHeaders()}).pipe((0,E.$)(),(0,y.W)(ne=>(this.loggerService.error(`[getMapsByDevice] Unable to get maps by device ID: ${ne.message}`),(0,m.$)(()=>new Error(ne)))))}postMapsByDevice(H,ie){return this.httpClient.post(`${Y}/offline/device/${H}`,ie,{headers:this.getAuthHeaders()}).pipe((0,E.$)(),(0,y.W)(Q=>(this.loggerService.error(`[getMapsByDevice] Unable to post maps by device ID: ${Q.message}`),(0,m.$)(Q))))}reverseGeocode(H){return this.getGeocodeResult(`${H.coordinates[0]},${H.coordinates[1]}`).pipe((0,D.T)(({displayStreet:ie,meta:ne})=>this.newAddress(ie,H,ne)))}getAutocompleteResult(H){return(0,n.isEmpty)(H)||H.length<3?(0,g.of)([]):this.sendSuggestRequest(H).pipe((0,y.W)(()=>(0,g.of)([])))}getUserLocation(){return this.geolocation$||(this.geolocation$=new T.m(1),this.browserSupportsGeolocation?navigator.geolocation.watchPosition(H=>{if(!H)throw new Error("Unable to locate");this.geolocation$.next({type:"Point",coordinates:[H.coords.longitude,H.coords.latitude]})},H=>{this.geolocation$.error(new Error("Unable to locate: "+H.message))},{enableHighAccuracy:!0,timeout:1e4,maximumAge:0}):this.geolocation$.error(new Error("Unable to locate as the browser does not support it or has declined"))),this.geolocation$}getAuthHeaders(){if(!this.sessionInfo)throw new Error("Attempting to authorize against the gis service without a session token");return{Authorization:`Bearer ${this.sessionInfo.token}`,"en-namespace":o.c.ns}}getQueryLayerUrl(H){return`${Y}/esri/layer/${o.c.ns}/${encodeURIComponent(H)}`}deleteAllTracking(){return this.httpClient.delete(`${Y}/track/all`,{headers:this.getAuthHeaders()}).pipe((0,D.T)(()=>{}),(0,y.W)(ie=>(this.loggerService.error(`[GisService/deleteAllTracking] Failed to delete all tracking: ${ie.message}`),ie)))}getDeviceTracking(H){return this.httpClient.get(`${Y}/track`,{headers:this.getAuthHeaders(),params:{deviceId:H}}).pipe((0,E.$)(),(0,y.W)(ne=>(this.loggerService.error(`[getDeviceTracking] Error getting device tracking: ${ne.status}-${ne.message}`),(0,g.of)(null))),(0,D.T)(ne=>ne))}startLocationTracking(H,ie,ne,Q,le){return this.httpClient.post(`${Y}/track`,{deviceId:H,contactTip:ie,contactType:ne,status:w.EM.Requested,frequencySeconds:Q,durationHours:le},{headers:this.getAuthHeaders()}).pipe((0,E.$)(),(0,y.W)(te=>(this.loggerService.error(`[createLocationTracking] Error creating device tracking: ${te.status}-${te.message}`),(0,g.of)(null))),(0,I.n)(te=>te?(this.mobileAppMessageBusService.pushDataToMobileApp({input:{action:"start",jwt:te.token,trackingOptions:{frequencySeconds:Q,durationHours:le}},identifier:x}),this.pollingLocationTrackingStatus(H,te.ttl,Date.now(),0)):(0,g.of)({activated:!1,ttl:null})))}stopLocationTracking(){this.mobileAppMessageBusService.pushDataToMobileApp({input:{action:"stop"},identifier:x})}sendCheckPermissionMessage(){this.mobileAppMessageBusService.pushDataToMobileApp({input:{action:"checkPermission"},identifier:x})}shareLocationOnce(H){return this.httpClient.post(`${Y}/realtime/location`,H,{headers:this.getAuthHeaders()}).pipe((0,D.T)(()=>{}),(0,y.W)(ne=>(this.loggerService.error(`'Error in sharing location': ${ne.status}-${ne.message}`),ne)))}pollingLocationTrackingStatus(H,ie,ne,Q){const le=Date.now()-ne;if(le<45e3&&Q<10){const pe=Math.max(0,100*Math.pow(2,Q+1)-le);return this.getDeviceTracking(H).pipe((0,L.c)(pe),(0,E.$)(),(0,I.n)(te=>te?te.status===w.EM.Active?(0,g.of)({activated:!0,ttl:ie}):te.status===w.EM.Declined?(0,g.of)({activated:!1,ttl:ie}):this.pollingLocationTrackingStatus(H,ie,ne,Q+1):(0,g.of)({activated:!1,ttl:ie})))}return this.stopLocationTracking(),(0,g.of)({activated:!1,ttl:ie})}static#e=this.\u0275fac=function(ie){return new(ie||j)(M.KVO(q.Qq),M.KVO(z.T),M.KVO(F.Pb),M.KVO(U.g),M.KVO(k.o))};static#t=this.\u0275prov=M.jDH({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},37347:(at,N,s)=>{"use strict";s.d(N,{u:()=>x});var n=s(67376),g=s(7673),m=s(84572),T=s(96354),O=s(99437),D=s(61594),E=s(25558),y=s(40673),I=s(34775),b=s(51229),L=s(10532),o=s(68302),C=s(87971),w=s(92597),M=s(55516),q=s(61237),z=s(31130),F=s(93953),U=s(44667),k=s(87879);const Y='EQUALS(SECURITY(), "app/security-policy/instance-user-runtime")';let x=(()=>{class B{constructor($,H,ie,ne){this.objectService=$,this.queryService=H,this.moduleService=ie,this.modulePackageService=ne}getDataSources($,H,ie,ne){let Q={extraAttributes:[{label:"name",formula:'FIELD("app/map/source:name")'},{label:"type",formula:'FIELD("app/map/source:type")'}],extraFilters:[{label:"Map source type filter",formula:'ISTYPE("app/map/source")'},{label:"Is user created",formula:`NOT(${Y})`}],dimensionOptions:[(0,n.merge)((0,n.cloneDeep)(b.b[0]),{offset:H,limit:$,sortby:['FIELD("app/map/source:name")'],sortdir:["asc"]})]};return ne?Q.extraFilters.push({label:"In module data source field",formula:`INARRAY(FIELD("app/module:map-data-sources", ${(0,w.AQ)(ne)}), TIP())`}):Q.extraAttributes.push({label:"moduleName",formula:(0,q.vM)("app/map/source")}),ie&&(Q=(0,I.CD)(Q,["app/map/source"],ie)),this.queryService.execute1dFirst(M.R.GENERIC_QUERY,Q)}getDataSource($,H){return void 0!==H?this.objectService.getObject($,L.f6,void 0,void 0,H):this.objectService.getObject($,L.f6)}setDataSource($,H){return this.objectService.setObject($,L.f6).pipe((0,T.T)(()=>!0),(0,O.W)(()=>this.modulePackageService.handleError("save data source",H)))}deleteDataSource($,H){return this.moduleService.deleteModuleConfig([$.$tip]).pipe((0,O.W)(()=>this.modulePackageService.handleError("delete data source",H)))}createDataSource($,H){return this.moduleService.getModulePolicy(H,z.b.INSTANCE).pipe((0,D.$)(),(0,E.n)(ie=>this.objectService.setObject($,L.f6,y.Ay.BRANCH_MASTER,ie||"app/security-policy/instance-user-admin").pipe((0,D.$)())),(0,E.n)(ie=>this.moduleService.addTipToFlatModuleField({moduleTip:H,moduleField:"mapDataSources",tip:ie[ie.length-1].tip})),(0,O.W)(()=>this.modulePackageService.handleError("save data source",H)))}newDataSource($){return{$type:"app/map/source",name:"",type:$,config:{}}}getCriteriaFromQueryTip($){return this.objectService.getObject($,o.c5).pipe((0,T.T)(H=>{const ie=H.filters?H.filters.map(ne=>ne.formula):[];switch(ie.length){case 0:return null;case 1:return ie[0];default:return`AND(${ie.join(",")})`}}))}getLayers($,H,ie,ne,Q){let le={extraAttributes:[{label:"name",formula:'FIELD("app/map/layer:name")'},{label:"dataSourceType",formula:'FIELD("app/map/source:type", FIELD("app/map/layer:data-source"))'},{label:"isBaseMap",formula:'FIELD("app/map/layer:is-base-map")'}],extraFilters:[{label:"Map layer type filter",formula:'ISTYPE("app/map/layer")'},{label:"Is user created",formula:`NOT(${Y})`}],dimensionOptions:[(0,n.merge)((0,n.cloneDeep)(b.b[0]),{sortby:['FIELD("app/map/layer:name")','META_FIELD("app/search-meta-fields/map-data-source-type")'],sortdir:["asc","asc"],...!ie&&0!==ie||!ne&&0!==ne?{}:{offset:ie,limit:ne}})]};return $?le.extraFilters.push({label:"In module layer field",formula:`INARRAY(FIELD("app/module:map-layers", ${(0,w.AQ)($)}), TIP())`}):le.extraAttributes.push({label:"moduleName",formula:(0,q.vM)("app/map/layer")}),H&&le.extraFilters.push({label:"Is not base map",formula:'NOT(EQUALS(COALESCE(FIELD("app/map/layer:is-base-map"), "false"), COALESCE("true", "false")))'}),Q&&(le=(0,I.CD)(le,["app/map/layer"],Q)),this.queryService.execute1dFirst(M.R.GENERIC_QUERY,le)}getLayer($){return this.objectService.getObject($,L.pI)}getFlatLayer($){return this.objectService.getObject($,L.KT).pipe((0,D.$)(),(0,E.n)(H=>H.dataSource?this.getDataSource(H.dataSource,!1).pipe((0,D.$)(),(0,T.T)(ie=>({...H,dataSource:ie})),(0,O.W)(()=>(0,g.of)({...H,dataSource:void 0}))):(0,g.of)(H)))}setLayer($,H){return this.objectService.setObject($,L.pI).pipe((0,T.T)(()=>!0),(0,O.W)(()=>this.modulePackageService.handleError("save layer",H)))}deleteLayer($,H){return this.moduleService.deleteModuleConfig([$.$tip]).pipe((0,O.W)(()=>this.modulePackageService.handleError("delete layer",H)))}createLayer($,H){return this.moduleService.getModulePolicy(H,z.b.INSTANCE).pipe((0,D.$)(),(0,E.n)(ie=>this.objectService.setObject($,L.pI,y.Ay.BRANCH_MASTER,ie||"app/security-policy/instance-user-admin").pipe((0,D.$)())),(0,E.n)(ie=>this.moduleService.addTipToFlatModuleField({moduleTip:H,moduleField:"mapLayers",tip:ie[ie.length-1].tip})),(0,O.W)(()=>this.modulePackageService.handleError("save layer",H)))}newLayer($){return this.getDataSource($).pipe((0,D.$)(),(0,T.T)(H=>({$type:"app/map/layer",name:"",dataSource:H,isBaseMap:!1,geometryType:null,styleType:null,style:null,heatmapRadius:0,hasMinZoom:!1,hasMaxZoom:!1,minZoomLevel:0,maxZoomLevel:23,opacity:80,visibleProperties:[]})))}getMaps($){const H={extraAttributes:[{label:"name",formula:'FIELD("app/map:name")'},{label:"layerCount",formula:'COUNT(FIELD("app/map:layers"))'}],extraFilters:[{label:"Map type filter",formula:'ISTYPE("app/map")'},{label:"Is user created",formula:`NOT(${Y})`}],dimensionOptions:[(0,n.merge)((0,n.cloneDeep)(b.b[0]),{sortby:['FIELD("app/map:name")'],sortdir:["asc"]})]};return $&&H.extraFilters.push({label:"In module map field",formula:`INARRAY(REFERENCES("app/module:maps", TIP()), ${(0,w.AQ)($)})`}),this.queryService.execute1dFirst(M.R.GENERIC_QUERY,H)}getMap($){return this.isMapTip($)?this.getMapFromTip($):this.isFlatMap($)?this.getMapFromFlatMap($):this.isMap($)?(0,g.of)($):void 0}isMapTip($){return void 0===$.name}isFlatMap($){return void 0===$.baseMap.name}isMap($){return void 0!==$.baseMap.name}getMapFromTip($){return this.objectService.getObject($,L.mr)}getMapFromFlatMap($){const H=[this.getLayer($.baseMap).pipe((0,D.$)()),...$.layers.map(ie=>this.getLayer(ie).pipe((0,D.$)()))];return $.extent.layer&&$.extent.layer.forEach(ie=>H.push(this.getLayer(ie).pipe((0,D.$)()))),(0,m.z)(H).pipe((0,E.n)(ie=>{const ne=ie.shift(),Q=$.extent.layer?ie.splice($.layers.length,$.extent.layer.length):void 0;return(0,g.of)({name:$.name,baseMap:ne,layers:ie,extent:{type:$.extent.type,layer:Q,polygon:$.extent.polygon,zoomLevel:$.extent.zoomLevel}})}))}getFlatMap($){return this.objectService.getObject($,L.R1)}setFlatMap($,H){return this.objectService.setObject($,L.R1).pipe((0,T.T)(()=>!0),(0,O.W)(()=>this.modulePackageService.handleError("save flat map",H)))}deleteMap($,H){return this.moduleService.deleteModuleConfig([$.$tip]).pipe((0,O.W)(()=>this.modulePackageService.handleError("delete flat map",H)))}createFlatMap($,H){return this.moduleService.getModulePolicy(H,z.b.INSTANCE).pipe((0,D.$)(),(0,E.n)(ie=>this.objectService.setObject($,L.R1,y.Ay.BRANCH_MASTER,ie||"app/security-policy/instance-user-admin").pipe((0,D.$)())),(0,E.n)(ie=>this.moduleService.addTipToFlatModuleField({moduleTip:H,moduleField:"maps",tip:ie[ie.length-1].tip})),(0,O.W)(()=>this.modulePackageService.handleError("save flat map",H)))}newFlatMap(){return{$type:"app/map",name:"",baseMap:null,layers:[],extent:{$type:"app/map/extent",type:null}}}getDefaultExtent(){return this.objectService.getObject(C.x_,L.o4)}getBaseMaps($){const H={extraAttributes:[{label:"name",formula:'FIELD("app/map/layer:name")'}],extraFilters:[{label:"Map layer type filter",formula:'ISTYPE("app/map/layer")'},{label:"Is base map",formula:'EQUALS(FIELD("app/map/layer:is-base-map"), "true")'}],dimensionOptions:[(0,n.merge)((0,n.cloneDeep)(b.b[0]),{sortby:['FIELD("app/map/layer:name")'],sortdir:["asc"]})]};return H.extraFilters.push($?{label:"Is noggin shipped",formula:Y}:{label:"Is user created",formula:`NOT(${Y})`}),this.queryService.execute1dFirst(M.R.GENERIC_QUERY,H)}getStyles($){const H={extraAttributes:[{label:"name",formula:'FIELD("app/map/style:name")'}],extraFilters:[{label:"Map style type filter",formula:'ISTYPE("app/map/style")'},{label:"Is geometry type",formula:`EQUALS(FIELD("app/map/style:type"), ${(0,w.AQ)($)})`}],dimensionOptions:[(0,n.merge)((0,n.cloneDeep)(b.b[0]),{sortby:['FIELD("app/map/style:name")'],sortdir:["asc"]})]};return this.queryService.execute1dFirst(M.R.GENERIC_QUERY,H)}getStyle($){return this.objectService.getObject($,L.ff)}setStyle($,H){return this.objectService.setObject($,L.ff,y.Ay.BRANCH_MASTER,"app/security-policy/instance-user-admin").pipe((0,T.T)(ie=>ie[ie.length-1].tip),(0,O.W)(()=>this.modulePackageService.handleError("save style",H)))}newStyle($){return{$type:"app/map/style",name:"",type:$,config:null}}deleteStyle($,H){return this.moduleService.deleteModuleConfig([$.$tip]).pipe((0,O.W)(()=>this.modulePackageService.handleError("delete style",H)))}static#e=this.\u0275fac=function(H){return new(H||B)(F.KVO(U.T),F.KVO(b.c),F.KVO(z.A),F.KVO(k.G))};static#t=this.\u0275prov=F.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},81551:(at,N,s)=>{"use strict";s.d(N,{s:()=>b});var n=s(89417),a=s(61594),g=s(69172),m=s(65024),T=s(93953),O=s(51483),D=s(87879),E=s(50337),y=s(19937),I=s(52168);let b=(()=>{class L{constructor(C,w,M,q,z){this.listService=C,this.modulePackageService=w,this.sideSheetService=M,this.toastService=q,this.router=z,this.listForm=new n.gE({name:new n.MJ("",n.k0.required),description:new n.MJ("")}),this.loadingState=g.Gu.inProgress,this.loadingStates=g.Gu,this.routeToListDetail=!1,this.done=()=>{}}ngOnInit(){this.modulePackageService.isModuleUnlocked(this.moduleTip).pipe((0,a.$)()).subscribe(C=>{this.isModuleUnlocked=C,this.loadingState=g.Gu.loaded})}create(){const C={name:this.listForm.value.name,description:this.listForm.value.description,items:[],values:[]};this.loadingState=g.Gu.inProgress,this.listService.createList(C,this.moduleTip).pipe((0,a.$)()).subscribe(w=>{this.onListCreateComplete(w)},w=>{this.toastService.showErrorToast(w.message),this.loadingState=g.Gu.failed})}onListCreateComplete(C){if(this.sideSheetService.pop(),this.done(),this.toastService.showSuccessToast("List successfully created"),this.routeToListDetail)return void this.router.navigate(["app","s","settings",{outlets:{sidesheet:["modules",this.moduleTip,"lists",C]}}],{queryParams:{isModuleUnlocked:this.isModuleUnlocked}});const M=this.sideSheetService.push(m.G).componentInstance;M.moduleTip=this.moduleTip,M.listTip=C,M.isModuleUnlocked=this.isModuleUnlocked}static#e=this.\u0275fac=function(w){return new(w||L)(T.rXU(O.p),T.rXU(D.G),T.rXU(E.E),T.rXU(y.f),T.rXU(I.Ix))};static#t=this.\u0275cmp=T.VBU({type:L,selectors:[["app-list-create-side-sheet"]],decls:6,vars:5,consts:[["action","Create",3,"actioned","disabled","showCancelButton"],[1,"modal-body",3,"appSpinner"],[3,"formGroup"],["data-test","list-label-form-field","formControlName","name","label","List name","placeholder","Enter a name",3,"required"],["data-test","list-description-label-form-field","formControlName","description","label","List description","placeholder","Enter a description"]],template:function(w,M){1&w&&(T.j41(0,"app-side-sheet-header",0),T.bIt("actioned",function(){return M.create()}),T.EFF(1,"Create list"),T.k0s(),T.j41(2,"div",1)(3,"form",2),T.nrm(4,"app-text-field",3)(5,"app-text-field",4),T.k0s()()),2&w&&(T.Y8G("disabled",M.listForm.invalid||M.loadingState===M.loadingStates.inProgress)("showCancelButton",!0),T.R7$(2),T.Y8G("appSpinner",M.loadingState===M.loadingStates.inProgress),T.R7$(),T.Y8G("formGroup",M.listForm),T.R7$(),T.Y8G("required",!0))}})}return L})()},41334:(at,N,s)=>{"use strict";s.d(N,{P:()=>g,g:()=>a});var n=s(48636);const a={"app/calendar-event/attendee:contact":{type:n.U.string},"app/calendar-event/attendee:name":{type:n.U.i18n},"app/calendar-event/attendee:email":{type:n.U.email},"app/calendar-event/attendee:status":{type:n.U.string},"app/calendar-event/attendee:status-datetime":{type:n.U.datetime},"app/calendar-event/attendee:type":{type:n.U.string}},g={"app/calendar-event:title":{type:n.U.i18n},"app/calendar-event:start-datetime":{type:n.U.datetime},"app/calendar-event:end-datetime":{type:n.U.datetime},"app/calendar-event:video-conferencing":{type:n.U.string},"app/calendar-event:online-meeting-url":{type:n.U.uri},"app/calendar-event:additional-information":{type:n.U.string},"app/calendar-event:meeting-room":{type:n.U.string},"app/calendar-event:location":{type:n.U.i18n},"app/calendar-event:description":{type:n.U.string},"app/calendar-event:attachments":{type:n.U.stringArray},"app/calendar-event:visibility":{type:n.U.string},"app/calendar-event:protective-marking":{type:n.U.string},"app/calendar-event:attendees":{type:n.U.objectArray,scheme:a,mutable:!0},"app/calendar-event:m365-id":{type:n.U.string},"app/calendar-event:m365-data":{type:n.U.json}}},14531:(at,N,s)=>{"use strict";s.d(N,{v:()=>B});var n=s(93953),a=s(89417),g=s(67376),T=s(18359),O=s(7673),D=s(96354),E=s(25558),y=s(96697),I=s(70980),b=s(98305),L=s(68030),o=s(41334),C=s(69873),w=s(50337),M=s(34185),q=s(29968);const z=(j,$,H)=>({protectiveMarketingOptions:j,allowOnlineMeetings:$,tip:H});function F(j,$){if(1&j&&n.nrm(0,"app-m365-details",15),2&j){const H=n.XpG(2).ngIf,ie=n.XpG();n.Y8G("protectiveMarkingOptions",H.protectiveMarketingOptions)("tip",H.tip)("allowOnlineMeetings",H.allowOnlineMeetings)("formControl",ie.details)}}function U(j,$){if(1&j&&n.DNE(0,F,1,4,"app-m365-details",14),2&j){const H=n.XpG(2);n.Y8G("ngIf",H.details)}}function k(j,$){if(1&j&&n.nrm(0,"app-m365-attendees",16),2&j){const H=n.XpG(2);n.Y8G("formControl",H.attendees)}}function Y(j,$){if(1&j){const H=n.RV6();n.j41(0,"div",8)(1,"ul",9,0),n.bIt("tabChange",function(ne){n.eBV(H);const Q=n.XpG();return n.Njj(Q.onTabChangedFromTabset(ne))}),n.j41(3,"li",10)(4,"a",11),n.pXf(5,1),n.k0s(),n.DNE(6,U,1,1,"ng-template",12),n.k0s(),n.j41(7,"li",10)(8,"a",11),n.pXf(9,2),n.k0s(),n.DNE(10,k,1,1,"ng-template",12),n.k0s()(),n.nrm(11,"div",13),n.k0s()}if(2&j){const H=n.sdS(2),ie=n.XpG();n.R7$(),n.Y8G("activeId",ie.currentTabIndex)("destroyOnHide",!0),n.R7$(2),n.Y8G("ngbNavItem","ngb-tab-1"),n.R7$(4),n.Y8G("ngbNavItem","ngb-tab-2"),n.R7$(4),n.Y8G("ngbNavOutlet",H)}}function x(j,$){if(1&j){const H=n.RV6();n.j41(0,"app-side-sheet-section")(1,"div",17)(2,"button",18),n.nI1(3,"async"),n.bIt("click",function(){n.eBV(H);const ne=n.XpG();return n.Njj(ne.onRequestDelete())}),n.pXf(4,3),n.k0s()()()}if(2&j){const H=n.XpG();n.R7$(2),n.Y8G("disabled",n.bMT(3,1,H.loading$))}}let B=(()=>{class j{get details(){return this.form?.get("details")}get attendees(){return this.form?.get("attendees")}get isFormValid(){return this.form?.valid}constructor(H,ie,ne,Q){this.sideSheetService=H,this.m365Service=ie,this.modalService=ne,this.fb=Q,this.isUpdateMode=!1,this.currentTabIndex="ngb-tab-1",this.actionText="Save",this.subscriptions=new T.yU,this.protectiveMarketingOptions$=this.m365Service.getState("protectiveMarketingOptions"),this.loading$=this.m365Service.getState("loading"),this.tip$=this.m365Service.getState("tip"),this.title$=this.tip$.pipe((0,D.T)(le=>(0,g.isEmpty)(le)?"New calendar event":"Edit calendar event")),this.allowOnlineMeetings$=this.m365Service.getState("allowOnlineMeetings"),this.deletedEvent=new n.bkB}setProps(H){this.objectType=(0,g.get)(H,"objectType","OBJECT"),this.init((0,g.get)(H,"objectTip"))}ngOnDestroy(){this.m365Service.resetState(),this.m365Service.refreshInviteDestroy$?.next(),this.m365Service.refreshInviteDestroy$?.complete(),this.m365Service.refreshInviteSubscription?.unsubscribe(),this.subscriptions?.unsubscribe()}init(H){H?(this.isUpdateMode=!0,this.m365Service.refreshInvite(H),this.m365Service.setState({tip:H}),this.m365Service.setState({loading:!0}),this.subscriptions.add(this.m365Service.init().pipe((0,E.n)(ie=>this.getCalendarEventWithEnoWatch(H))).subscribe(ie=>{this.m365Service.setState({currentCalendarEvent:ie});const ne=this.updateAttendeesStatus(ie.attendees);this.form?this.form.patchValue({details:ie,attendees:ne||[]}):this.form=this.fb.group({details:[ie,a.k0.required],attendees:[ne||[]]}),this.m365Service.setState({loading:!1})}))):(this.m365Service.setState({loading:!0}),this.m365Service.init().subscribe(()=>{this.m365Service.setState({tip:null,loading:!1}),this.form=this.fb.group({details:[null,[a.k0.required]],attendees:[[]]})}))}updateAttendeesStatus(H){let ie=this.form?.get("attendees")?.value;return ie&&0!==ie?.length?(ie=ie.map(ne=>{if((0,g.isEmpty)(ne.$tip))return ne;const Q=H?.find(le=>ne.$tip===le.$tip);return Q||ne}),ie):H}initWithData(H){const ie=this.m365Service.mapSchemaToObject(H);ie.$tip&&ie.attendees?.length>0&&(0,g.isString)(ie.attendees[0])?this.init(H.$tip):((0,g.isEmpty)(H.$tip)||(this.isUpdateMode=!0),this.m365Service.init().subscribe(()=>{this.m365Service.setState({currentCalendarEvent:ie}),this.m365Service.setState({tip:H.$tip}),this.form=this.fb.group({details:[ie,a.k0.required],attendees:[ie.attendees||[]]})}))}onCancel(){this.sideSheetService.pop()}onDone(){this.getAttendeeCount()>0?this.showConfirmationModal("CREATE_UPDATE"):this.setCalendarEvent()}getAttendeeCount(){return this.form.value.attendees&&this.form.value.attendees.length?this.form.value.attendees.length:0}constructModalTitle(H){return"CREATE_UPDATE"===H?this.isUpdateMode?"Send calendar event update":"Send calendar event invitations":"DELETE"===H?"Delete calendar event":void 0}constructModalBody(H){return"CREATE_UPDATE"===H?"OBJECT"===this.objectType?this.isUpdateMode?"Send meeting update to all attendees now?":"Send meeting invitations to "+this.getAttendeeCount()+" attendees now?":this.isUpdateMode?"Send meeting update to all attendees when you save?":"Send meeting invitations to "+this.getAttendeeCount()+" attendees when you save?":"DELETE"===H&&this.getAttendeeCount()>0?"OBJECT"===this.objectType?"Do you really want to delete this meeting and send a cancellation to "+this.getAttendeeCount()+" attendees?":" Do you really want to delete this meeting and send a cancellation to "+this.getAttendeeCount()+" attendees when you save?":"DELETE"===H&&0===this.getAttendeeCount()?"OBJECT"===this.objectType?"Do you really want to delete this meeting?":"Do you really want to delete this meeting when you save?":void 0}showConfirmationModal(H){const ie=this.modalService.open(L.F,L.G);ie.componentInstance.setProps({cancelText:"Cancel",confirmText:"DELETE"===H?"Delete":"Confirm",title:this.constructModalTitle(H),message:this.constructModalBody(H),isDelete:"CREATE_UPDATE"!==H}),ie.result.then(Q=>{Q&&("CREATE_UPDATE"===H?this.setCalendarEvent():this.onDeleteConfirmation())}).catch(()=>{this.sideSheetService.pop()})}setCalendarEvent(){const H=this.attendees.value?.map(ie=>({...ie,type:ie.type?ie.type:"required",status:ie.status?ie.status:"none",$type:C.UQ}))||[];"OBJECT"===this.objectType?(this.m365Service.setState({loading:!0}),this.m365Service.setCalendarEventObject({...this.form.value.details,attendees:H}).pipe((0,y.s)(1),(0,I.j)(()=>this.m365Service.setState({loading:!1}))).subscribe(ne=>{this.done?.(),this.sideSheetService.pop()})):this.m365Service.getSecurityPolices().pipe((0,y.s)(1)).subscribe(({variantPolicy:ie,primaryPolicy:ne})=>{const Q={...this.form.value.details,$tip:this.m365Service.state.tip,$type:b.qN,$security:ne,attendees:H.map(le=>({...le,$security:ie}))};this.done?.({objectData:this.m365Service.mapObjectToSchema(Q),objectScheme:o.P})})}onTabChangedFromTabset(H){this.currentTabIndex=H.nextId}onRequestDelete(){this.showConfirmationModal("DELETE")}onDeleteConfirmation(){if("OBJECT"===this.objectType)this.m365Service.setState({loading:!0}),this.m365Service.deleteCalendarEventObject().pipe((0,y.s)(1),(0,I.j)(()=>this.m365Service.setState({loading:!1}))).subscribe(H=>{this.sideSheetService.pop()});else{const H=this.m365Service.getCurrentCalendarEvent();this.deletedEvent.emit(H),this.sideSheetService.pop()}}getCalendarEventWithEnoWatch(H){return this.m365Service.getCalendarEvent(H).pipe((0,E.n)(ie=>{if(!ie?.attendees||0===ie.attendees?.length)return(0,O.of)(ie);const ne=ie.attendees.map(Q=>Q.$tip);return this.m365Service.getAttendees(ne).pipe((0,D.T)(Q=>({...ie,attendees:Q})))}))}static#e=this.\u0275fac=function(ie){return new(ie||j)(n.rXU(w.E),n.rXU(M.fM),n.rXU(q.Bq),n.rXU(a.ok))};static#t=this.\u0275cmp=n.VBU({type:j,selectors:[["app-m365-side-sheet"]],outputs:{deletedEvent:"deletedEvent"},decls:12,vars:24,consts:()=>{let H,ie,ne;return H="Details",ie="Attendees",ne="Delete",[["nav","ngbNav"],H,ie,ne,[3,"actioned","goBack","action","disabled"],[1,"form-designer-tabs",3,"appSpinner"],["class","ngb-nav-wrapper",4,"ngIf"],[4,"ngIf"],[1,"ngb-nav-wrapper"],["ngbNav","",1,"nav-tabs-classic",3,"tabChange","activeId","destroyOnHide"],[3,"ngbNavItem"],["ngbNavLink","",1,"form-designer-tabs","tab-name"],["ngbNavContent",""],[3,"ngbNavOutlet"],[3,"protectiveMarkingOptions","tip","allowOnlineMeetings","formControl",4,"ngIf"],[3,"protectiveMarkingOptions","tip","allowOnlineMeetings","formControl"],[3,"formControl"],[1,"form-options","d-flex","justify-content-center"],["data-test","filter-delete-button",1,"btn","btn-danger",3,"click","disabled"]]},template:function(ie,ne){1&ie&&(n.j41(0,"app-side-sheet-header",4),n.nI1(1,"async"),n.bIt("actioned",function(){return ne.onDone()})("goBack",function(){return ne.onCancel()}),n.EFF(2),n.nI1(3,"async"),n.k0s(),n.j41(4,"div",5),n.nI1(5,"async"),n.DNE(6,Y,12,5,"div",6),n.nI1(7,"async"),n.nI1(8,"async"),n.nI1(9,"async"),n.k0s(),n.DNE(10,x,5,3,"app-side-sheet-section",7),n.nI1(11,"async")),2&ie&&(n.Y8G("action",ne.actionText)("disabled",n.bMT(1,6,ne.loading$)||!ne.isFormValid),n.R7$(2),n.SpI("",n.bMT(3,8,ne.title$),"\n"),n.R7$(2),n.Y8G("appSpinner",n.bMT(5,10,ne.loading$)),n.R7$(2),n.Y8G("ngIf",n.sMw(20,z,n.bMT(7,12,ne.protectiveMarketingOptions$),n.bMT(8,14,ne.allowOnlineMeetings$),n.bMT(9,16,ne.tip$))),n.R7$(4),n.Y8G("ngIf",n.bMT(11,18,ne.tip$)))},styles:[".form-designer-tabs .nav-tabs-classic{background-color:#f2f2f2!important}  .form-designer-tabs .tab-name{color:#273c4e;font-size:1.1rem}"],changeDetection:0})}return j})()},34185:(at,N,s)=>{"use strict";s.d(N,{fM:()=>ae});var n=s(67376),g=s(84412),m=s(21413),T=s(84572),O=s(7673),D=s(40605),E=s(23294),y=s(96354),I=s(96697),b=s(88141),L=s(25558),o=s(99437),C=s(99172),w=s(56977),M=s(59405),q=s(55516),z=s(41334),F=s(50835),U=s(98305),k=s(69873),Y=s(39309),x=s(93953),B=s(88405),j=s(51229),$=s(44667),H=s(8142),ie=s(32099),ne=s(50701),Q=s(25687);const le=F.c.host+F.c.m365ServiceBasePath,pe=F.c.m365AttendeesRefreshInterval||6e4,te={tip:"",protectiveMarketingOptions:null,loading:!1,allowOnlineMeetings:!1,currentCalendarEvent:null,currentAttendees:null};let ae=(()=>{class K{constructor(Me,me,be,Le,Ae,Oe,Xe){this.protectiveMarkingService=Me,this.queryService=me,this.objectService=be,this.authHttpClientService=Le,this.loggerService=Ae,this.securityService=Oe,this.formulaMultiService=Xe,this.state=te,this.$type=U.qN,this.$attendeeType=k.UQ,this.state$=new g.t(this.state),this.refreshInviteDestroy$=new m.B}setState(Me){this.state={...this.state,...Me},this.state$.next(this.state)}getState(Me){return this.state$.pipe((0,E.F)(n.isEqual),(0,y.T)(me=>me[Me]))}resetState(){this.setState(te)}init(){this.setState({loading:!0});const Me=this.protectiveMarkingService.loadOptions(),me=this.queryService.execute1dFirst(q.R.GET_ALL_M365).pipe((0,y.T)(be=>be&&0!==be.length&&"true"===be[0]["allow-online-meetings"]?{allowOnlineMeetings:!0}:{allowOnlineMeetings:!1}));return(0,T.z)([Me,me]).pipe((0,I.s)(1),(0,b.M)(([be,Le])=>{this.setState({protectiveMarketingOptions:be,loading:!1,allowOnlineMeetings:Le.allowOnlineMeetings})}))}setCalendarEventObject(Me){return this.getSecurityPolices(this.state.tip).pipe((0,L.n)(({variantPolicy:me,primaryPolicy:be})=>(Me={...Me,$tip:(0,n.isEmpty)(this.state.tip)?null:this.state.tip,$type:this.$type,$security:be,attendees:Me?.attendees?.map(Le=>({...Le,$security:me}))||[]},this.objectService.setObject(Me,z.P))))}deleteCalendarEventObject(Me=this.state.currentCalendarEvent){return this.getSecurityPolices(this.state.tip).pipe((0,L.n)(({variantPolicy:me,primaryPolicy:be})=>(Me={$tip:(0,n.isEmpty)(this.state.tip)?null:this.state.tip,$type:this.$type,...Me,$security:be,attendees:Me?.attendees?.map(Le=>({...Le,$security:me}))||[]},this.objectService.deleteObject(Me).pipe((0,I.s)(1)))))}getCalendarEvent(Me){return this.objectService.getObject(Me,z.P)}getContactDetails(Me){if(!Me||(0,n.isEmpty)(Me))return(0,O.of)([]);const me=Me.reduce((be,Le)=>[...be,{formula:"TITLE()",context:Le,watch:!1},{formula:"SUMMARY()",context:Le,watch:!1},{formula:'FIELD("app/super-type/contact:email")',context:Le,watch:!1},{formula:"TIP()",context:Le,watch:!1}],[]);return this.formulaMultiService.evaluate(me).pipe((0,y.T)(be=>(0,Y.x)(4)(be).reduce(this.reduceTitleSummaryEmailType,[])),(0,o.W)(be=>{this.loggerService.error("Could retrieve title and summary for",be);const Le=Me.map(Ae=>({title:"Title unavailable",summary:Ae,tip:Ae,email:null}));return(0,O.of)(Le)}))}reduceTitleSummaryEmailType(Me,[me,be,Le,Ae]){return Me.push({title:me,summary:be,email:Le,tip:Ae}),Me}getAttendees(Me){return this.objectService.getObjects(Me,z.g)}callM365Service(Me){return this.authHttpClientService.post(le+"/calendar/event/refresh",{calendarEventTip:Me})}refreshInvite(Me){this.refreshInviteSubscription=(0,D.Y)(pe).pipe((0,C.Z)(0),(0,L.n)(me=>this.callM365Service(Me)),(0,w.Q)(this.refreshInviteDestroy$)).subscribe(me=>this.loggerService.debug("[M365Service/refreshInvite] Refresh result: ",me),me=>this.loggerService.error("[M365Service/refreshInvite] Refresh error: ",me))}mapSchemaToObject(Me){return{...Object.keys(z.P).reduce((be,Le)=>{const Ae=(0,M.e)(Le);return(0,n.has)(Me,Ae)||(0,n.set)(be,`${Ae}`,Me[Le]),be},{...Me})}}mapObjectToSchema(Me,me=z.P){return{...Object.keys(me).reduce((Le,Ae)=>{const Oe=(0,M.e)(Ae);return(0,n.has)(Me,Oe)&&(0,n.set)(Le,`${Ae}`,Me[Oe]),Le},{...Me})}}getSecurityPolices(Me){return this.securityService.getNewObjectSecurityPolicyTip$().pipe((0,L.n)(me=>Me?this.securityService.getSecurityPolicyVariantTip$("dependency",Me).pipe((0,y.T)(be=>({variantPolicy:be,primaryPolicy:me}))):this.securityService.getSecurityPolicyVariantTip$("dependency",null,me).pipe((0,y.T)(be=>({variantPolicy:be,primaryPolicy:me})))))}getCurrentCalendarEvent(){return this.state.currentCalendarEvent}static#e=this.\u0275fac=function(me){return new(me||K)(x.KVO(B.k),x.KVO(j.c),x.KVO($.T),x.KVO(H.V),x.KVO(ie.g),x.KVO(ne.i),x.KVO(Q.$))};static#t=this.\u0275prov=x.jDH({token:K,factory:K.\u0275fac})}return K})()},56500:(at,N,s)=>{"use strict";s.d(N,{C:()=>pe});var n=s(89417),a=s(18359),g=s(21413),m=s(84572),T=s(61594),O=s(96697),D=s(23294),E=s(7930),y=s(10298),I=s(31130),b=s(49232),L=s(72892),o=s(67376),w=s(36939),M=s(48653),q=s(95113),z=s(93953),F=s(29739),U=s(19937),k=s(50337),Y=s(88405),x=s(87878),B=s(52168),j=s(60177);const $=()=>["app/email/from-address"],H=()=>({list:!0,datetime:!0,date:!0});function ie(te,ae){if(1&te&&(z.j41(0,"app-alert",4),z.EFF(1),z.k0s()),2&te){const K=z.XpG();z.R7$(),z.JRh(K.errorMessage)}}function ne(te,ae){if(1&te&&z.nrm(0,"app-single-option-list-field",19),2&te){const K=z.XpG(2);z.Y8G("options",K.protectiveMarkingOptions)("required",!1)}}function Q(te,ae){if(1&te&&(z.j41(0,"form",5)(1,"div",6)(2,"div",7),z.nrm(3,"app-text-field",8)(4,"app-type-chooser",9),z.k0s(),z.j41(5,"div",10),z.nrm(6,"app-single-object-chooser-field",11)(7,"app-recipient-chooser",12),z.k0s(),z.nrm(8,"div",13)(9,"app-string-interpolate-text-field",14),z.DNE(10,ne,1,2,"app-single-option-list-field",15),z.nrm(11,"app-rich-jodit-text-field",16),z.k0s(),z.nrm(12,"div",13),z.j41(13,"div",17),z.nrm(14,"app-file-upload-field",18),z.k0s()()),2&te){const K=z.XpG();z.Y8G("appSpinner",K.loading)("formGroup",K.templateForm),z.R7$(6),z.Y8G("allowUserToAdd",!1)("emitStringNotArray",!0)("typeTips",z.lJ4(16,$)),z.R7$(3),z.Y8G("contextTypeTips",K.contextTypeTips)("displayFormulaRule",z.lJ4(17,H))("hideSystemCurrentUserOption",!0)("interpolationType",K.INTERPOLATION_TYPE.subject)("required",!0)("useContextFormula",!0),z.R7$(),z.Y8G("ngIf",K.protectiveMarkingsEnabled),z.R7$(),z.Y8G("contextTypeTips",K.contextTypeTips)("enableStringInterpolation",!0)("hideSystemCurrentUserOption",!0),z.R7$(3),z.Y8G("isMulti",!0)}}function le(te,ae){if(1&te){const K=z.RV6();z.j41(0,"app-message-template-delete",20),z.bIt("templateDeleted",function(){z.eBV(K);const Me=z.XpG();return z.Njj(Me.closeSheet(!0))})("templateDeleting",function(Me){z.eBV(K);const me=z.XpG();return z.Njj(me.loading=Me)}),z.k0s()}if(2&te){const K=z.XpG();z.Y8G("moduleTip",K.moduleTip)("tip",K.template.$tip)}}let pe=(()=>{class te{constructor(K,de,Me,me,be,Le,Ae,Oe,Xe,Pe){this.templateManagerService=K,this.toastService=de,this.sideSheetService=Me,this.cdRef=me,this.moduleService=be,this.protectiveMarkingsService=Le,this.fb=Ae,this.depsParserService=Oe,this.router=Xe,this.location=Pe,this.loading=!0,this.protectiveMarkingsEnabled=!1,this.protectiveMarkingOptions=[],this.INTERPOLATION_TYPE=E.YG,this.subs=new a.yU,this.done$=new g.B,this.templateForm=this.fb.group({name:["",n.k0.required],contextType:[null],from:[{value:"email/default-from-address"},n.k0.required],recipients:[{to:[],cc:[],bcc:[]}],subject:[{html:"",substitutions:[]}],body:[{html:"",substitutions:[]}],attachments:[null],protectiveMarking:[null],billingCode:[null]}),this.isDirty=!1}ngOnInit(){this.watchContextType(),this.loadPoliciesAndMarkings(),this.watchFormForChanges()}ngOnDestroy(){this.subs.unsubscribe()}onPrimary(){this.loading=!0,this.cdRef.markForCheck();const{name:K,contextType:de,from:Me,recipients:me,subject:be,body:Le,attachments:Ae,billingCode:Oe,protectiveMarking:Xe}=this.templateForm.getRawValue(),Pe=E.tk.extractEmailSMSSubstitutions(be.substitutions),$e=E.tk.extractEmailSMSSubstitutions(Le.substitutions),ze={$tip:this.template.$tip,name:K,to:me.to,cc:me.cc,bcc:me.bcc,fromAddress:Me,contextType:de,subject:be.html,subjectSubstitutions:Pe,body:Le.html,messageSubstitutions:$e,attachments:Ae,billingCode:Oe,protectiveMarking:Xe};ze.deps=this.depsParserService.evaluateAndSanitize(ze,M.p.EMAIL),this.templateManagerService.saveTemplate(ze,y.Eu,this.moduleTip).pipe((0,T.$)()).subscribe(Be=>{this.loading=!1,this.cdRef.markForCheck(),Be?(this.closeSheet(!0),this.toastService.showSuccessToast("Template saved")):this.toastService.showErrorToast("Template not changed since last save")},Be=>{this.loading=!1,this.cdRef.markForCheck(),this.toastService.showErrorToast(Be instanceof w.g?Be.message:"Template save failed")})}closeSheet(K=!1){this.done$.next(),this.done$.complete(),K&&(this.sideSheetService.makeClean(),this.isDirty=!1),this.template.$tip?this.sideSheetService.isDirty()?this.sideSheetService.openDiscardModalWithResult().pipe((0,O.s)(1)).subscribe(de=>{de||(this.sideSheetService.makeClean(),this.goBack())}):this.goBack():this.sideSheetService.pop()}goBack(){this.isRouted()?(this.sideSheetService.clear(),this.router.navigate(["app","s","settings",{outlets:{sidesheet:["modules",this.moduleTip,"messageTemplates",q.$z.EMAIL]}}],{queryParams:{isModuleUnlocked:!0}})):this.location.back()}isRouted(){return/\/\/sidesheet:modules\/.*\/email|sms|voice-message\//.test(this.router.url)}loadPoliciesAndMarkings(){const K=(0,o.get)(this,"template",{}),de=this.moduleService.getModulePolicy(this.moduleTip,I.b.INSTANCE),Me=(0,o.get)(K,"protectiveMarking",null),me=this.protectiveMarkingsService.loadOptions({currentMarking:Me}),be=(0,m.z)([de,me]).subscribe(([Le,Ae])=>{this.moduleInstancePolicy=Le;const Oe=(0,o.get)(Ae,"initialMarking",null);this.protectiveMarkingsEnabled=Ae.enabled,this.protectiveMarkingOptions=Ae.options,this.setTemplate({initialMarking:Oe,template:K}),this.loading=!1,this.cdRef.markForCheck()});this.subs.add(be)}watchContextType(){this.subs.add(this.templateForm.get("contextType").valueChanges.pipe((0,D.F)()).subscribe(K=>{this.contextTypeTips&&(this.stringInterpolateTextFieldComponent.removeContextSubstitution(),this.richJoditTextFieldComponent.removeContextSubstitution()),this.contextTypeTips=K?[K]:null}))}watchFormForChanges(){this.subs.add(this.templateForm.valueChanges.pipe((0,D.F)()).subscribe(()=>{this.templateForm.dirty&&!this.isDirty&&(this.isDirty=!0,this.sideSheetService.makeDirty())}))}setTemplate({initialMarking:K,template:de}){this.templateForm.patchValue({name:de.name,contextType:de.contextType||null,from:de.fromAddress,recipients:{to:de.to,cc:de.cc,bcc:de.bcc},subject:E.tk.getSubstitutionMetaFromEmailOutboundSource(de,E.WG.SUBJECT),body:E.tk.getSubstitutionMetaFromEmailOutboundSource(de),attachments:de.attachments||[],billingCode:de.billingCode||null,protectiveMarking:K}),de.contextType&&this.templateForm.get("contextType").disable()}static#e=this.\u0275fac=function(de){return new(de||te)(z.rXU(F.R),z.rXU(U.f),z.rXU(k.E),z.rXU(z.gRc),z.rXU(I.A),z.rXU(Y.k),z.rXU(n.ok),z.rXU(x.f),z.rXU(B.Ix),z.rXU(j.aZ))};static#t=this.\u0275cmp=z.VBU({type:te,selectors:[["app-edit-template-email"]],viewQuery:function(de,Me){if(1&de&&(z.GBs(b.BX,7),z.GBs(L.z,7)),2&de){let me;z.mGM(me=z.lsd())&&(Me.stringInterpolateTextFieldComponent=me.first),z.mGM(me=z.lsd())&&(Me.richJoditTextFieldComponent=me.first)}},decls:5,vars:6,consts:[["action","Save","size","lg",3,"actioned","goBack","disabled","showCancelButton"],["type","danger",4,"ngIf"],[3,"appSpinner","formGroup",4,"ngIf"],["type","Email",3,"moduleTip","tip","templateDeleted","templateDeleting",4,"ngIf"],["type","danger"],[3,"appSpinner","formGroup"],[1,"main","pl-2","pr-2","pt-1","pb-1"],[1,"from-meta-wrapper","d-flex","align-items-start","row"],["data-test","email-template-name-field","formControlName","name","label","Template name","placeholder","Give the template a name...",1,"col-6"],["formControlName","contextType","label","Context type","placeholder","Select an object type","type","context",1,"col-6"],[1,"from-meta-wrapper","row"],["formControlName","from","label","From",1,"col-6",3,"allowUserToAdd","emitStringNotArray","typeTips"],["formControlName","recipients",1,"col-6"],[1,"side-sheet-section-divider"],["data-test","email-template-subject-field","formControlName","subject","label","Subject","placeholder","Enter subject","recipientSuperTypeTip","app/super-type/email-capable",3,"contextTypeTips","displayFormulaRule","hideSystemCurrentUserOption","interpolationType","required","useContextFormula"],["formControlName","protectiveMarking","label","Protective marking","placeholder","Select protective marking",3,"options","required",4,"ngIf"],["formControlName","body","interpolationType","M","label","Body","recipientSuperTypeTip","app/super-type/email-capable",1,"body",3,"contextTypeTips","enableStringInterpolation","hideSystemCurrentUserOption"],[1,"pl-2","pr-2","pt-3","pb-1"],["formControlName","attachments","label","Upload your attachments below",3,"isMulti"],["formControlName","protectiveMarking","label","Protective marking","placeholder","Select protective marking",3,"options","required"],["type","Email",3,"templateDeleted","templateDeleting","moduleTip","tip"]],template:function(de,Me){1&de&&(z.j41(0,"app-side-sheet-header",0),z.bIt("actioned",function(){return Me.onPrimary()})("goBack",function(){return Me.closeSheet()}),z.EFF(1),z.k0s(),z.DNE(2,ie,2,1,"app-alert",1)(3,Q,15,18,"form",2)(4,le,1,2,"app-message-template-delete",3)),2&de&&(z.Y8G("disabled",Me.templateForm.pristine||Me.templateForm.invalid||Me.loading)("showCancelButton",!0),z.R7$(),z.JRh(Me.templateForm.value.name||"New email template"),z.R7$(),z.Y8G("ngIf",Me.errorMessage),z.R7$(),z.Y8G("ngIf",!Me.errorMessage),z.R7$(),z.Y8G("ngIf",!Me.errorMessage&&Me.template.$tip))},encapsulation:2,changeDetection:0})}return te})()},57524:(at,N,s)=>{"use strict";s.d(N,{l:()=>ie});var n=s(89417),a=s(21413),g=s(18359),m=s(7673),T=s(23294),O=s(99437),D=s(61594),E=s(96697),y=s(36939),I=s(49232),b=s(7930),L=s(83855),o=s(48653),C=s(95113),w=s(93953),M=s(29739),q=s(50337),z=s(19937),F=s(32099),U=s(76087),k=s(87878),Y=s(52168),x=s(60177);const B=()=>({list:!0,datetime:!0,date:!0});function j(ne,Q){if(1&ne&&(w.j41(0,"app-alert",3),w.EFF(1),w.k0s()),2&ne){const le=w.XpG();w.R7$(),w.JRh(le.errorMessage)}}function $(ne,Q){if(1&ne){const le=w.RV6();w.j41(0,"app-message-template-delete",13),w.bIt("templateDeleted",function(){w.eBV(le);const te=w.XpG(2);return w.Njj(te.closeSheet(!0))})("templateDeleting",function(te){w.eBV(le);const ae=w.XpG(2);return w.Njj(ae.loading=te)}),w.k0s()}if(2&ne){const le=w.XpG(2);w.Y8G("moduleTip",le.moduleTip)("tip",le.template.$tip)}}function H(ne,Q){if(1&ne&&(w.j41(0,"div",4)(1,"div",5)(2,"div",6),w.nrm(3,"app-text-field",7)(4,"app-type-chooser",8)(5,"app-single-option-list-field",9)(6,"app-sms-recipient-chooser-field",10)(7,"app-string-interpolate-text-field",11),w.k0s()(),w.DNE(8,$,1,2,"app-message-template-delete",12),w.k0s()),2&ne){const le=w.XpG();w.Y8G("appSpinner",le.loading),w.R7$(),w.Y8G("formGroup",le.smsTemplateForm),w.R7$(4),w.Y8G("options",le.fromOptions),w.R7$(),w.Y8G("outboundSource",le.template),w.R7$(),w.Y8G("contextTypeTips",le.contextTypeTips)("displayFormulaRule",w.lJ4(12,B))("hideSystemCurrentUserOption",!0)("mode",le.STRING_INTERPOLATE_TEXT_FIELD_MODE.MULTI_LINE)("preserveLineBreaks",!0)("required",!0)("useContextFormula",!0),w.R7$(),w.Y8G("ngIf",le.template.$tip)}}let ie=(()=>{class ne{constructor(le,pe,te,ae,K,de,Me,me){this.templateManagerService=le,this.sideSheetService=pe,this.toastService=te,this.loggerService=ae,this.formulaService=K,this.depsParserService=de,this.router=Me,this.location=me,this.loading=!1,this.STRING_INTERPOLATE_TEXT_FIELD_MODE=I.J6,this.fromOptions=[{label:"Default origins",value:"0"}],this.smsTemplateForm=new n.gE({name:new n.MJ(null,n.k0.required),contextType:new n.MJ(null),from:new n.MJ({value:"0",disabled:!0}),recipients:new n.MJ({to:[],toFormulas:[]}),body:new n.MJ({html:"",substitutions:[]},n.k0.required),billingCode:new n.MJ({value:null,disabled:!0})}),this.done$=new a.B,this.subs=new g.yU}ngOnInit(){this.subs.add(this.smsTemplateForm.get("contextType").valueChanges.pipe((0,T.F)()).subscribe(le=>{this.contextTypeTips&&this.stringInterpolateTextFieldComponent.removeContextSubstitution(),this.contextTypeTips=le?[le]:null})),this.smsTemplateForm.setValue({name:this.template.name,contextType:this.template.contextType||null,from:this.template.senderId||"",recipients:{to:this.template.to||[],toFormulas:[]},body:b.tk.getSubstitutionMetaFromSmsOutboundSource(this.template),billingCode:null}),this.template.contextType&&this.smsTemplateForm.get("contextType").disable(),this.setFromOptions(this.template.$tip&&!this.template.senderId?"0":this.template.senderId),this.watchFormForChanges()}setFromOptions(le){this.formulaService.evaluate('LOOKUP(FIELD("app/sender-id:sender-id"),ISTYPE("app/sender-id"))').pipe((0,O.W)(()=>(0,m.of)(null))).subscribe(pe=>{if(pe){const te=pe.map(ae=>({label:`${ae}<br /><span class="description">Sender ID</span>`,value:ae}));this.fromOptions=[...te,...this.fromOptions],this.smsTemplateForm.get("from").enable(),this.smsTemplateForm.get("from").setValue(le||this.fromOptions[0].value)}})}saveSMSTemplate(){this.loading=!0;const le={$tip:this.template.$tip,name:this.smsTemplateForm.controls.name.value,to:this.smsTemplateForm.controls.recipients.value.to,senderId:"0"===this.smsTemplateForm.controls.from.value?void 0:this.smsTemplateForm.controls.from.value,contextType:this.smsTemplateForm.controls.contextType.value,subject:this.template.subject,body:this.smsTemplateForm.controls.body.value.html,messageSubstitutions:b.tk.extractEmailSMSSubstitutions(this.smsTemplateForm.controls.body.value.substitutions,"app/sms/substitution"),billingCode:this.smsTemplateForm.controls.billingCode.value};le.deps=this.depsParserService.evaluateAndSanitize(le,o.p.SMS),this.templateManagerService.saveTemplate(le,L.Pg,this.moduleTip).pipe((0,D.$)()).subscribe(pe=>{this.loading=!1,pe?(this.closeSheet(!0),this.toastService.showSuccessToast("Template saved")):this.toastService.showErrorToast("Template not changed since last save")},pe=>{this.loading=!1,this.toastService.showErrorToast(pe instanceof y.g?pe.message:"Template save failed"),this.loggerService.error(pe)})}ngOnDestroy(){this.subs&&this.subs.unsubscribe()}closeSheet(le=!1){this.done$.next(),this.done$.complete(),le&&this.sideSheetService.makeClean(),this.template?.$tip?this.sideSheetService.isDirty()?this.sideSheetService.openDiscardModalWithResult().pipe((0,E.s)(1)).subscribe(pe=>{pe||(this.sideSheetService.makeClean(),this.goBack())}):this.goBack():this.sideSheetService.pop()}goBack(){this.isRouted()?(this.sideSheetService.clear(),this.router.navigate(["app","s","settings",{outlets:{sidesheet:["modules",this.moduleTip,"messageTemplates",C.$z.SMS]}}],{queryParams:{isModuleUnlocked:!0}})):this.location.back()}isRouted(){return/\/\/sidesheet:modules\/.*\/email|sms|voice-message\//.test(this.router.url)}watchFormForChanges(){this.subs.add(this.smsTemplateForm.valueChanges.pipe((0,T.F)()).subscribe(()=>{this.smsTemplateForm.dirty&&this.sideSheetService.makeDirty()}))}static#e=this.\u0275fac=function(pe){return new(pe||ne)(w.rXU(M.R),w.rXU(q.E),w.rXU(z.f),w.rXU(F.g),w.rXU(U.C),w.rXU(k.f),w.rXU(Y.Ix),w.rXU(x.aZ))};static#t=this.\u0275cmp=w.VBU({type:ne,selectors:[["app-edit-template-sms"]],viewQuery:function(pe,te){if(1&pe&&w.GBs(I.BX,7),2&pe){let ae;w.mGM(ae=w.lsd())&&(te.stringInterpolateTextFieldComponent=ae.first)}},decls:4,vars:4,consts:[["action","Save",3,"actioned","goBack","disabled","showCancelButton"],["type","danger",4,"ngIf"],[3,"appSpinner",4,"ngIf"],["type","danger"],[3,"appSpinner"],[3,"formGroup"],[1,"card-body","px-3","py-2"],["data-test","sms-template-name-field","formControlName","name","label","Template name","placeholder","Enter name"],["formControlName","contextType","label","Context type","placeholder","Not selected"],["formControlName","from","label","From",3,"options"],["formControlName","recipients","label","Recipients",3,"outboundSource"],["formControlName","body","label","Body","placeholder","Enter SMS body...","recipientSuperTypeTip","app/super-type/sms-capable",3,"contextTypeTips","displayFormulaRule","hideSystemCurrentUserOption","mode","preserveLineBreaks","required","useContextFormula"],["type","SMS",3,"moduleTip","tip","templateDeleted","templateDeleting",4,"ngIf"],["type","SMS",3,"templateDeleted","templateDeleting","moduleTip","tip"]],template:function(pe,te){1&pe&&(w.j41(0,"app-side-sheet-header",0),w.bIt("actioned",function(){return te.saveSMSTemplate()})("goBack",function(){return te.closeSheet()}),w.EFF(1," New SMS template\n"),w.k0s(),w.DNE(2,j,2,1,"app-alert",1)(3,H,9,13,"div",2)),2&pe&&(w.Y8G("disabled",te.smsTemplateForm.pristine||te.smsTemplateForm.invalid||te.loading)("showCancelButton",!0),w.R7$(2),w.Y8G("ngIf",te.errorMessage),w.R7$(),w.Y8G("ngIf",!te.errorMessage))},encapsulation:2})}return ne})()},53803:(at,N,s)=>{"use strict";s.d(N,{LT:()=>b,NN:()=>y,mK:()=>I,xL:()=>L});var n=s(67376),g=s(69703),m=s(49232),T=s(7930),O=s(29058),D=s(77184);const E=(0,n.range)(9).map(o=>({value:o+1,label:(o+1).toString()}));function y(o=[],C){const w=E.filter(M=>!o.includes(M.value));return[{key:"label",type:"input",defaultValue:"",templateOptions:{label:"Response label",type:"text",required:!0,placeholder:"Enter label"}},{key:"number",type:O.og.name,defaultValue:C?C.number:w[0].value,templateOptions:{label:"Dial number",options:w,required:!0}}]}function I(o,C){return[{key:"name",type:"input",defaultValue:"",templateOptions:{label:"Template name",type:"text",required:!0,placeholder:"Enter name"}},{key:"contextType",type:O.qz.name,templateOptions:{label:"Context type",placeholder:"Not selected",readonly:!0}},{key:"fromNumber",type:O.og.name,templateOptions:{label:"From",placeholder:"Select an object type",options:[{label:"Noggin",value:"voice-message/default-from-number"}],readonly:!0}},{key:"recipients",type:O.hm.name,templateOptions:{label:"Recipients",placeholder:"Not selected"},expressionProperties:{"templateOptions.outboundSource":"formState.outboundSource"}},{key:"voiceLanguage",type:O.og.name,templateOptions:{label:"Language"},expressionProperties:{"templateOptions.options":"formState.languageOptions"}},{key:"body",type:O.J6.name,templateOptions:{label:"Text",placeholder:"Enter text here...",required:!0,mode:m.J6.MULTI_LINE,preserveLineBreaks:!0,useContextFormula:!0,hideSystemCurrentUserOption:!0,recipientSuperTypeTip:g.Nd.VOICE,displayFormulaRule:{list:!0,datetime:!0,date:!0},interpolationType:T.YG.voice,triggerRemoveContextSubstitution$:C},expressionProperties:{"templateOptions.contextTypeTips":"formState.contextTypeTips"}},{key:"audibleResponses",type:O.Ne.name,templateOptions:{label:"Audible response",actionText:"No response here",labelText:"Add a response",emptyListIcon:"assets/img/empty-states/empty-state-plus.svg",values:[],maxCount:9,openSideSheet:()=>o.push(D.V).componentInstance,getPropsForSideSheet:(w,M)=>({header:w?"Edit response":"New response",formlyFieldConfigs:y((M||[]).filter(U=>!w||U!==w).map(U=>L(U).number),w?L(w):null)}),popSideSheet:()=>o.pop(),mapListItemToSideSheetItem:L,mapSideSheetItemToListItem:b}}]}function b(o){return{title:o.label,summary:"Dial "+o.number}}function L({title:o,summary:C}){return{label:o,number:parseInt(C.replace("Dial ",""),10)}}},12704:(at,N,s)=>{"use strict";s.d(N,{W:()=>B});var n=s(89417),a=s(21413),g=s(56977),m=s(61594),T=s(96697),O=s(69172),D=s(7930),E=s(93862),y=s(36939),I=s(53803),b=s(48653),L=s(95113),o=s(93953),C=s(29739),w=s(50337),M=s(19937),q=s(32099),z=s(87878),F=s(52168),U=s(60177);function k(j,$){if(1&j&&(o.j41(0,"app-alert",4),o.EFF(1),o.k0s()),2&j){const H=o.XpG();o.R7$(),o.JRh(H.errorMessage)}}function Y(j,$){if(1&j&&(o.j41(0,"div",5)(1,"app-side-sheet-section",6),o.nrm(2,"formly-form",7),o.k0s()()),2&j){const H=o.XpG();o.Y8G("appSpinner",H.loadingState===H.loadingStates.inProgress),o.R7$(),o.Y8G("showBorder",!1)("showHeader",!1),o.R7$(),o.Y8G("fields",H.fields)("form",H.voiceTemplateForm)("model",H.model)("options",H.options)}}function x(j,$){if(1&j){const H=o.RV6();o.j41(0,"app-message-template-delete",8),o.bIt("templateDeleted",function(){o.eBV(H);const ne=o.XpG();return o.Njj(ne.closeSheet(!0))})("templateDeleting",function(ne){o.eBV(H);const Q=o.XpG();return o.Njj(Q.loadingState=ne?Q.loadingStates.inProgress:Q.loadingStates.loaded)}),o.k0s()}if(2&j){const H=o.XpG();o.Y8G("moduleTip",H.moduleTip)("tip",H.template.$tip)}}let B=(()=>{class j{constructor(H,ie,ne,Q,le,pe,te,ae){this.templateManagerService=H,this.sideSheetService=ie,this.toastService=ne,this.loggerService=Q,this.cdr=le,this.depsParserService=pe,this.router=te,this.location=ae,this.loadingStates=O.Gu,this.loadingState=O.Gu.inProgress,this.voiceTemplateForm=new n.gE({contextType:new n.MJ}),this.options={formState:{contextTypeTips:null}},this.destroy$=new a.B,this.done$=new a.B,this.triggerRemoveContextSubstitution$=new a.B}ngOnInit(){this.loadingState=O.Gu.inProgress,this.voiceTemplateForm.get("contextType").valueChanges.pipe((0,g.Q)(this.destroy$)).subscribe(H=>{this.options.formState.contextTypeTips&&this.triggerRemoveContextSubstitution$.next(),this.options.formState.contextTypeTips=H?[H]:null}),this.model={name:this.template.name,fromNumber:this.template.fromNumber||"",recipients:{to:this.template.to||[]},body:D.tk.getSubstitutionMetaFromSmsOutboundSource(this.template),voiceLanguage:this.template.language,contextType:this.template.contextType,audibleResponses:(this.template.audibleResponses||[]).map(I.LT)},this.options.formState.languageOptions=O.Hx,this.options.formState.outboundSource=this.template,this.fields=(0,I.mK)(this.sideSheetService,this.triggerRemoveContextSubstitution$.asObservable()),this.template.contextType&&this.voiceTemplateForm.get("contextType").disable()}ngAfterViewInit(){this.loadingState=O.Gu.loaded,this.cdr.detectChanges()}saveVoiceMessageTemplate(){this.loadingState=O.Gu.inProgress;const H={$tip:this.template.$tip,name:this.model.name,fromNumber:this.model.fromNumber,to:this.model.recipients.to,body:this.model.body.html,messageSubstitutions:D.tk.extractEmailSMSSubstitutions(this.model.body.substitutions,"app/voice-message/substitution"),audibleResponses:this.model.audibleResponses.map(I.xL),language:this.model.voiceLanguage,contextType:this.model.contextType||null};H.deps=this.depsParserService.evaluateAndSanitize(H,b.p.EMAIL),this.templateManagerService.saveTemplate(H,E.hC,this.moduleTip).pipe((0,m.$)()).subscribe(ie=>{this.loadingState=O.Gu.loaded,ie?(this.closeSheet(!0),this.toastService.showSuccessToast("Template saved")):this.toastService.showErrorToast("Template not changed since last save")},ie=>{this.loadingState=O.Gu.failed,this.toastService.showErrorToast(ie instanceof y.g?ie.message:"Template save failed"),this.loggerService.error(ie)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}closeSheet(H=!1){this.done$.next(),this.done$.complete(),H&&this.sideSheetService.makeClean(),this.template?.$tip?this.sideSheetService.isDirty()?this.sideSheetService.openDiscardModalWithResult().pipe((0,T.s)(1)).subscribe(ie=>{ie||(this.sideSheetService.makeClean(),this.goBack())}):this.goBack():this.sideSheetService.pop()}goBack(){this.isRouted()?(this.sideSheetService.clear(),this.router.navigate(["app","s","settings",{outlets:{sidesheet:["modules",this.moduleTip,"messageTemplates",L.$z.VOICE]}}],{queryParams:{isModuleUnlocked:!0}})):this.location.back()}isRouted(){return/\/\/sidesheet:modules\/.*\/email|sms|voice-message\//.test(this.router.url)}static#e=this.\u0275fac=function(ie){return new(ie||j)(o.rXU(C.R),o.rXU(w.E),o.rXU(M.f),o.rXU(q.g),o.rXU(o.gRc),o.rXU(z.f),o.rXU(F.Ix),o.rXU(U.aZ))};static#t=this.\u0275cmp=o.VBU({type:j,selectors:[["app-edit-template-voice"]],decls:5,vars:5,consts:[["action","Save",3,"actioned","goBack","disabled","showCancelButton"],["type","danger",4,"ngIf"],[3,"appSpinner",4,"ngIf"],["type","Voice Message",3,"moduleTip","tip","templateDeleted","templateDeleting",4,"ngIf"],["type","danger"],[3,"appSpinner"],[3,"showBorder","showHeader"],[3,"fields","form","model","options"],["type","Voice Message",3,"templateDeleted","templateDeleting","moduleTip","tip"]],template:function(ie,ne){1&ie&&(o.j41(0,"app-side-sheet-header",0),o.bIt("actioned",function(){return ne.saveVoiceMessageTemplate()})("goBack",function(){return ne.closeSheet()}),o.EFF(1," New Voice message template\n"),o.k0s(),o.DNE(2,k,2,1,"app-alert",1)(3,Y,3,7,"div",2)(4,x,1,2,"app-message-template-delete",3)),2&ie&&(o.Y8G("disabled",!ne.voiceTemplateForm.valid||ne.loadingState===ne.loadingStates.inProgress)("showCancelButton",!0),o.R7$(2),o.Y8G("ngIf",ne.errorMessage),o.R7$(),o.Y8G("ngIf",!ne.errorMessage),o.R7$(),o.Y8G("ngIf",!ne.errorMessage&&ne.template.$tip))},encapsulation:2,changeDetection:0})}return j})()},29739:(at,N,s)=>{"use strict";s.d(N,{R:()=>x});var n=s(7673),a=s(96354),g=s(61594),m=s(25558),T=s(73703),O=s(99437),D=s(40673),E=s(10298),y=s(95113),I=s(83855),b=s(55516),L=s(31130);const o=Object.freeze({TIP:{EMAIL_TEMPLATE:"app/email/outbound-template",SMS_TEMPLATE:"app/sms/outbound-template",VOICE_MESSAGE_TEMPLATE:"app/voice-message/outbound-template"}});var q=s(93862),z=s(93953),F=s(44667),U=s(51229),k=s(50337),Y=s(87879);let x=(()=>{class B{constructor($,H,ie,ne,Q){this.objectService=$,this.queryService=H,this.sideSheetService=ie,this.moduleService=ne,this.modulePackageService=Q}getTemplateCountByType($){return this.queryService.execute1dFirst(b.R.GET_ALL_TEMPLATE_METAS,{vars:{"Module tip":[$]},dimensionOptions:[{label:"Tip dimension",formula:"TIP()"}]}).pipe((0,a.T)(H=>{const ie={email:0,sms:0,voice:0,fax:0};return H.forEach(ne=>{switch(ne.type){case o.TIP.EMAIL_TEMPLATE:ie.email++;break;case o.TIP.SMS_TEMPLATE:ie.sms++;break;case o.TIP.VOICE_MESSAGE_TEMPLATE:ie.voice++}}),ie}))}getAllEmailTemplateMeta($){return this.queryService.execute1dFirst(b.R.GET_ALL_TEMPLATE_METAS,{vars:{"Module tip":[$]},dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:["TITLE()"],sortdir:["asc"]}]}).pipe((0,a.T)(H=>{const ie={email:[],sms:[],voice:[]};return H.forEach(ne=>{switch(ne.type){case o.TIP.EMAIL_TEMPLATE:ie.email.push(ne);break;case o.TIP.SMS_TEMPLATE:ie.sms.push(ne);break;case o.TIP.VOICE_MESSAGE_TEMPLATE:ie.voice.push(ne)}}),ie}))}createNewOutBoundSource($,H){switch(H){case y.$z.EMAIL:return(B=>({$type:"app/email/outbound-template",name:"",to:[],cc:[],bcc:[],fromAddress:B,subject:"",body:"",attachments:[],attachmentSubstitutions:[],messageSubstitutions:[],subjectSubstitutions:[],recipientSubstitutionFormulas:[],protectiveMarking:""}))($);case y.$z.SMS:return(B=>({$type:"app/sms/outbound-template",name:"",to:[],senderId:B,subject:"",body:"",messageSubstitutions:[],recipientSubstitutionFormulas:[]}))($);case y.$z.VOICE:return(B=>({$type:"app/voice-message/outbound-template",name:"",to:[],fromNumber:B,body:"",language:"en-US",recipientSubstitutionFormulas:[],audibleResponses:[],contextType:""}))($);case y.$z.FAX:return null}}generateTemplateForm($,H,ie,ne,Q){Q||((Q=this.createNewOutBoundSource(ie,$)).$security=D.Ay.SECURITY.INSTANCE_USER_ADMIN);const pe=this.sideSheetService.push(H).componentInstance;return pe.moduleTip=ne,pe.template=Q,pe}getOutboundTemplate($,H){return this.objectService.getObject($,H).pipe((0,g.$)(),(0,a.T)(ie=>(H===E.Eu&&this.normalizeEmailTemplate(ie),ie)))}saveTemplate($,H,ie){const ne=this.configureTemplate(H,$);return this.moduleService.getModulePolicy(ie,L.b.INSTANCE).pipe((0,g.$)(),(0,m.n)(Q=>this.objectService.setObject($,H,D.Ay.BRANCH_MASTER,Q||"app/security-policy/instance-user-admin").pipe((0,g.$)())),(0,m.n)(Q=>{if(0===Q.length)return(0,n.of)(null);const le=Q[Q.length-1].tip;return this.moduleService.addTipToFlatModuleField({moduleTip:ie,moduleField:ne,tip:le}).pipe((0,T.u)(le))}),(0,O.W)(()=>this.modulePackageService.handleError("save template",ie)))}normalizeEmailTemplate($){$.cc=$.cc||[],$.bcc=$.bcc||[]}configureTemplate($,H){switch($){case E.Eu:return H.$type="app/email/outbound-template","messageEmailTemplates";case I.Pg:return H.$type="app/sms/outbound-template","messageSmsTemplates";case q.hC:return H.$type="app/voice-message/outbound-template","messageVoiceTemplates"}}static#e=this.\u0275fac=function(H){return new(H||B)(z.KVO(F.T),z.KVO(U.c),z.KVO(k.E),z.KVO(L.A),z.KVO(Y.G))};static#t=this.\u0275prov=z.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},87879:(at,N,s)=>{"use strict";s.d(N,{G:()=>o});var n=s(7673),a=s(96354),g=s(61594),m=s(25558),T=s(88141),O=s(36939),D=s(5002),E=s(67376),I=s(93953),b=s(76087),L=s(10506);let o=(()=>{class C{constructor(M,q){this.formulaService=M,this.featureFlagStateService=q,this.allModuleStates=new Map}isModuleUnlocked(M){if(this.allModuleStates.has(M))return(0,n.of)(this.allModuleStates.get(M));const z=this.formulaService.evaluate('FIELD("package/status:locked", REFERENCES("package/status:reference"))',M).pipe((0,a.T)(F=>"true"!==(0,E.head)(F)));return this.featureFlagStateService.isFeatureEnabled$(D.g.FEATURE_CHECK_MODULE_LOCKED_STATE).pipe((0,g.$)(),(0,m.n)(F=>F?z:(0,n.of)(!0)),(0,T.M)(F=>this.allModuleStates.set(M,F)))}handleError(M,q,z){return this.isModuleUnlocked(q).pipe((0,g.$)(),(0,a.T)(F=>{throw F?z||new Error(`Unable to ${M} at this time.`):new O.g("Unable to make changes to the configuration of a locked module.")}))}static#e=this.\u0275fac=function(q){return new(q||C)(I.KVO(b.C),I.KVO(L.F))};static#t=this.\u0275prov=I.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},61237:(at,N,s)=>{"use strict";s.d(N,{$B:()=>n,qp:()=>a,vM:()=>O});const n="app/core-module",a="app/solution/custom",T={"app/object-type":"app/module:object-types","app/workflow":"app/module:workflows","app/workflow-panel":"app/module:workflow-panels","app/form":"app/module:forms","app/list":"app/module:lists","app/dashboard":"app/module:dashboards","app/chart":"app/module:charts",query:"app/module:queries","app/map/source":"app/module:map-data-sources","app/map/layer":"app/module:map-layers","app/map":"app/module:maps","app/plan":"app/module:plan-templates","app/email/outbound-template":"app/module:message-email-templates","app/sms/outbound-template":"app/module:message-sms-templates","app/voice-message/outbound-template":"app/module:message-voice-templates","app/sequence":"app/module:sequences","app/risk-matrix":"app/module:risk-matrices","app/print-template":"app/module:print-templates","app/print-template-usage":"app/module:print-template-usages"},O=D=>`TITLE(REFERENCES("${T[D]}"))`},31130:(at,N,s)=>{"use strict";s.d(N,{A:()=>z,b:()=>q});var n=s(67376),g=s(18810),m=s(7673),T=s(96354),O=s(5964),D=s(25558),E=s(61594),y=s(560),I=s(55516),b=s(93953),L=s(51229),o=s(44667),C=s(99760),w=s(27916),M=s(76087),q=function(k){return k.INSTANCE="app/module:instance-policy",k.TYPE="app/module:type-policy",k.WORKFLOW_PROCESS="app/module:workflow-process-policy",k}(q||{});let z=(()=>{class k{constructor(x,B,j,$,H){this.queryService=x,this.objectService=B,this.enoService=j,this.processService=$,this.formulaService=H}getModules(x=0,B,j=!0){return this.queryService.execute1dArray(j?I.R.GET_ALL_MODULES:I.R.GET_ALL_CUSTOM_MODULES,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:['FIELD("app/module:name")'],sortdir:["asc"],offset:x,limit:B}]}).pipe((0,T.T)($=>$.map(F)))}getModulesAndConfigs(x,B=0,j){return this.queryService.execute1dArray(I.R.GET_MODULE_CONFIG,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:[],sortdir:["asc"],offset:B,limit:j}],vars:{"Module tips":x}}).pipe((0,T.T)(H=>(0,n.sortBy)((0,n.flatten)(H.map(ne=>ne.configTitles.map((Q,le)=>({$tip:(0,n.head)(ne.$tip),moduleName:(0,n.head)(ne.title),modifiedDate:ne.configModifiedDate[le],name:ne.configTitles[le],type:ne.configType[le]})))),["moduleName","type","name"])))}getBlacklistedModuleFieldValues({moduleTip:x,moduleField:B,offset:j=0,limit:$}){return this.queryService.execute1dFirst(`eim/query/get-module-${B}`,{vars:{"Module tip":[x]},dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:j,limit:$,sortby:["TITLE()"],sortdir:["asc"]}],extraFilters:[{label:"Is in blacklist of provided module",formula:'INARRAY(FIELD("app/module:blacklist", VAR("Module tip")), TIP())'}]})}getModuleFieldValues(x,B,j=0,$,H){return this.queryService.execute1dFirst(`eim/query/get-module-${B}`,{vars:{"Module tip":[x]},dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:j,limit:$,sortby:H?.sortby??["TITLE()"],sortdir:["asc"]}],watch:H?.watch})}getModule(x){return this.objectService.getObject(x,y.$).pipe((0,T.T)(B=>U(B)))}updateModule({tip:x,name:B,description:j,solutions:$,unlockModule:H=!1}){return this.processService.start("eim/process/module/update-module",{Tip:[x],Name:[B],Description:[j],Solutions:$,"Unlock module":[H]}).pipe((0,O.p)(({finished:ne})=>!!ne),(0,D.n)(ne=>ne.vars["Is core module"]?(0,g.$)("Unable to update core module"):(0,m.of)(void 0)))}isModuleUnlocked(x){return this.formulaService.evaluate('\nOR(\n   EQUALS(\n      REFERENCES(\n         "package/status:reference",\n         TIP()\n      ),\n      ARRAY()\n   ),\n   NOT(\n      EQUALS(\n         FIELD(\n            "package/status:locked",\n            REFERENCES(\n               "package/status:reference",\n               TIP()\n            )\n         ),\n         "true"\n      )\n   )\n)\n      ',x).pipe((0,T.T)(B=>"true"===(0,n.get)(B,"0")))}getFlatModule(x,B){return this.objectService.getObject(x,y.$,void 0,void 0,B).pipe((0,T.T)(j=>U(j)))}getModuleTallies(x){return this.queryService.execute1dArray(I.R.GET_MODULE_TALLIES,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:["TYPE(TIP())"],sortdir:["asc"],offset:0}],vars:{Module:[x]}}).pipe((0,T.T)(B=>{const j={objectTypes:0,lists:0,queries:0,dashboards:0,workflows:0,workflowPanels:0,forms:0,planTemplates:0,messageEmailTemplates:0,messageSmsTemplates:0,charts:0,mapDataSources:0,mapLayers:0,maps:0,sequences:0,riskMatrices:0,messageVoiceTemplates:0,printTemplates:0,printTemplateUsages:0};return B.forEach($=>{switch((0,n.head)($.$type)){case"app/object-type":j.objectTypes+=1;break;case"app/list":j.lists+=1;break;case"query":j.queries+=1;break;case"app/dashboard":j.dashboards+=1;break;case"app/workflow":j.workflows+=1;break;case"app/workflow-panel":j.workflowPanels+=1;break;case"app/form":j.forms+=1;break;case"app/plan":j.planTemplates+=1;break;case"app/email/outbound-template":j.messageEmailTemplates+=1;break;case"app/sms/outbound-template":j.messageSmsTemplates+=1;break;case"app/chart":j.charts+=1;break;case"app/map":j.maps+=1;break;case"app/map/layer":j.mapLayers+=1;break;case"app/map/source":j.mapDataSources+=1;break;case"app/sequence":j.sequences+=1;break;case"app/risk-matrix":j.riskMatrices+=1;break;case"app/voice-message/outbound-template":j.messageVoiceTemplates+=1;break;case"app/print-template":j.printTemplates+=1;break;case"app/print-template-usage":j.printTemplateUsages+=1}}),j}))}getModulePolicy(x,B){return this.formulaService.evaluate(`FIELD("${B}")`,x).pipe((0,T.T)(j=>j[0]))}updateFlatModule(x){return this.objectService.setObject(x,y.$).pipe((0,T.T)(()=>!0))}addTipToFlatModuleField({moduleTip:x,moduleField:B,tip:j}){return this.getFlatModule(x,!1).pipe((0,E.$)(),(0,D.n)($=>($[B]=(0,n.uniq)([...$[B],j]),this.updateFlatModule($))))}createModule(x,B){return this.processService.start("eim/process/module/create-module",{Name:[x],Description:[B]}).pipe((0,O.p)(({finished:$})=>!!$),(0,D.n)($=>{const H=$.vars.Module?$.vars.Module[0]:null;return H?(0,m.of)(H):(0,g.$)("Failed to create module")}))}publishModule(x){return this.enoService.mergeBranch(x.branch)}deleteModuleConfig(x){return this.processService.start("eim/process/module/delete-module-config",{"Config tips":x}).pipe((0,O.p)(({finished:$})=>!!$),(0,D.n)($=>(0,n.head)($.vars["Is module config patched"])?(0,m.of)(void 0):(0,g.$)("Failed to patch module config")))}deleteModule(x){return this.getFlatModule(x,!0).pipe((0,D.n)(B=>B.instancePolicy&&B.typePolicy&&B.workflowProcessPolicy&&B.labels?this.processService.start("eim/process/module/delete-module",{Module:[x]}).pipe((0,O.p)(({finished:$})=>!!$),(0,D.n)($=>$.vars["Is deleted"]&&$.vars["Is deleted"][0]?(0,m.of)(void 0):(0,g.$)("Failed to delete module"))):this.objectService.deleteObject({$tip:x})))}static#e=this.\u0275fac=function(B){return new(B||k)(b.KVO(L.c),b.KVO(o.T),b.KVO(C.g),b.KVO(w.V),b.KVO(M.C))};static#t=this.\u0275prov=b.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})();function F(k){return{$tip:(0,n.head)(k.$tip),name:(0,n.head)(k.name),description:(0,n.head)(k.description),solutions:k.solutionNames?.length?(0,n.sortBy)(k.solutionNames.map((Y,x)=>({name:Y,color:k.solutionColors[x]})),["name"]):[]}}function U(k){return k.objectTypes=k.objectTypes||[],k.lists=k.lists||[],k.workflows=k.workflows||[],k.queries=k.queries||[],k.dashboards=k.dashboards||[],k.workflowPanels=k.workflowPanels||[],k.forms=k.forms||[],k.planTemplates=k.planTemplates||[],k.messageEmailTemplates=k.messageEmailTemplates||[],k.messageSmsTemplates=k.messageSmsTemplates||[],k.charts=k.charts||[],k.mapDataSources=k.mapDataSources||[],k.mapLayers=k.mapLayers||[],k.maps=k.maps||[],k.sequences=k.sequences||[],k.riskMatrices=k.riskMatrices||[],k.messageVoiceTemplates=k.messageVoiceTemplates||[],k.printTemplates=k.printTemplates||[],k.printTemplateUsages=k.printTemplateUsages||[],k}},25775:(at,N,s)=>{"use strict";s.d(N,{c:()=>U});var n=s(67376),g=s(7673),m=s(61594),T=s(25558),O=s(73703),D=s(99437),E=s(96354),y=s(40673),I=s(59016),b=s(55516),L=s(31130),o=s(92597),C=s(93953),w=s(44667),M=s(87879),q=s(76087),z=s(71631),F=s(51229);let U=(()=>{class k{constructor(x,B,j,$,H,ie){this.objectService=x,this.moduleService=B,this.modulePackageService=j,this.formulaService=$,this.objectTypeService=H,this.queryService=ie,this.moduleFieldExportFormat="print-templates",this.moduleFieldPrintTemplateUsage="print-template-usages"}getAllPrintTemplateMetas(x){return this.moduleService.getModuleFieldValues(x,this.moduleFieldExportFormat)}getPrintTemplate(x){return this.objectService.getObject(x,I.NY,y.Ay.BRANCH_MASTER)}createPrintTemplate(x,B){const j={$type:"app/print-template",...x};return this.moduleService.getModulePolicy(B,L.b.INSTANCE).pipe((0,m.$)(),(0,T.n)($=>this.objectService.setObject(j,I.NY,y.Ay.BRANCH_MASTER,$||"app/security-policy/instance-user-admin").pipe((0,m.$)())),(0,T.n)($=>{const H=$[$.length-1].tip;return this.moduleService.addTipToFlatModuleField({moduleTip:B,moduleField:"printTemplates",tip:H}).pipe((0,O.u)(H))}),(0,D.W)($=>this.modulePackageService.handleError("save printable file format",B)))}updatePrintTemplate(x,B){return this.objectService.setObject(x,I.NY).pipe((0,E.T)(j=>{if(j.length>0)return(0,n.head)(j).tip}),(0,D.W)(()=>this.modulePackageService.handleError("update printable file format",B)))}deletePrintTemplate(x,B){return this.moduleService.deleteModuleConfig([x]).pipe((0,D.W)(()=>this.modulePackageService.handleError("delete printable file format",B)))}getAllPrintTemplateUsageMetas(x){return this.moduleService.getModuleFieldValues(x,this.moduleFieldPrintTemplateUsage,void 0,void 0,{sortby:['FIELD("type/label", FIELD("app/object-type:type", FIELD("app/print-template-usage:object-type")))','FIELD("app/form:name", FIELD("app/print-template-usage:form"))',"TITLE()"]})}getPrintTemplateUsage(x){return this.objectService.getObject(x,I.eF,y.Ay.BRANCH_MASTER)}createPrintTemplateUsage(x,B){const j={$type:"app/print-template-usage",...x};return this.moduleService.getModulePolicy(B,L.b.INSTANCE).pipe((0,m.$)(),(0,T.n)($=>this.objectService.setObject(j,I.eF,y.Ay.BRANCH_MASTER,$||"app/security-policy/instance-user-admin").pipe((0,m.$)())),(0,T.n)($=>{const H=$[$.length-1].tip;return this.moduleService.addTipToFlatModuleField({moduleTip:B,moduleField:"printTemplateUsages",tip:H}).pipe((0,O.u)(H))}),(0,D.W)(()=>this.modulePackageService.handleError("save print template usage",B)))}updatePrintTemplateUsage(x,B){return this.objectService.setObject(x,I.eF).pipe((0,E.T)(j=>{if(j.length>0)return(0,n.head)(j).tip}),(0,D.W)(()=>this.modulePackageService.handleError("update print template usage",B)))}deletePrintTemplateUsage(x,B){return this.moduleService.deleteModuleConfig([x]).pipe((0,D.W)(()=>this.modulePackageService.handleError("delete print template usage",B)))}checkDuplicatePrintTemplateUsage(x,B){return this.formulaService.evaluate(`COUNT(\n      LOOKUP(TIP(),\n        AND(ISTYPE("app/print-template-usage"),\n          AND(NOT(EQUALS(TIP(),${x?`"${x}"`:"ARRAY()"})),\n            AND(EQUALS(FIELD("app/print-template-usage:object-type"), "${B.objectType}"),\n              AND(EQUALS(FIELD("app/print-template-usage:form"), ${B.form?`"${B.form}"`:"ARRAY()"}),\n                EQUALS(FIELD("app/print-template-usage:export-format"), "${B.exportFormat}")\n              )\n            )\n          )\n        )\n      )\n    )`).pipe((0,E.T)(ie=>!(ie.length&&"0"===ie[0])))}getObjectPrintTemplateUsages(x){return this.objectTypeService.getObjectTypeTipByObjectTip(x).pipe((0,T.n)(B=>B.length?this.queryService.execute1dFirst(b.R.OBJECT_TYPE_PRINT_TEMPLATE_USAGES,{vars:{"Object type":[B[0]]},extraFilters:[]}):(0,g.of)([])))}getHtmlOnlyTemplateFormula(x){return(0,o.Ac)({name:"NOT",args:[{name:"EQUALS",args:[{name:"CONTEXT",args:[{name:"FIELD",args:["app/print-template-usage:export-format"]},{name:"FIELD",args:["app/print-template:file-type"]}]},{name:"ARRAY",args:[x]}]}]})}static#e=this.\u0275fac=function(B){return new(B||k)(C.KVO(w.T),C.KVO(L.A),C.KVO(M.G),C.KVO(q.C),C.KVO(z.h),C.KVO(F.c))};static#t=this.\u0275prov=C.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},22911:(at,N,s)=>{"use strict";s.d(N,{$:()=>ne});var n=s(89417),a=s(23294),g=s(88141),m=s(25558),T=s(56977),O=s(61594),D=s(68030),E=s(29058),y=s(7930),I=s(49232);const b=[{key:"name",type:"input",defaultValue:"",templateOptions:{label:"Name",type:"text",required:!0,placeholder:"Enter a name"},validators:{validation:["required"]}},{key:"objectType",type:E.lF.name,templateOptions:{label:"Object Type",required:!1,typeTips:["app/object-type"],placeholder:"Select an object type",showModuleInfo:!0}},{key:"numOfDigits",type:"input",defaultValue:0,templateOptions:{label:"Number of digits in the sequence",type:"number",required:!0},validators:{validation:["required"]}},{type:"text-content",templateOptions:{html:'\n        <p class="eim-font-color_form-element-label">\n          If the current sequence value is 3 and you specifiy number of digits as 4, then the sequence number will be displayed as 0003.\n        </p>\n      '}},{key:"label",type:E.J6.name,templateOptions:{label:"Sequence label",required:!0,description:"If the current sequence value is 3 and you specify number of digits as 4, then the sequence number will be displayed as 0003",mode:"multi-line",contextTypeTips:[],showSequence:!0,placeholder:"Enter a label",interpolationType:y.YG.general,valueFormat:I.SI.SUBSTITUTIONS},validators:{validation:["requiredFieldWithSubstitution"]}},{type:"text-content",templateOptions:{html:'\n        <p class="eim-font-color_form-element-label">\n          The sequence label is generated and shown in the app.\n        </p>\n      '}},{key:"key",type:E.J6.name,templateOptions:{label:"Sequence reset key",mode:"multi-line",contextTypeTips:[],placeholder:"Enter a key",interpolationType:y.YG.general,valueFormat:I.SI.SUBSTITUTIONS}},{type:"text-content",templateOptions:{html:'\n        <p class="eim-font-color_form-element-label">\n          The reset key resets the sequence number to 0. For example, if the reset key was the Current month - Current year, the sequence \n          number would be reset to 0 when a month starts.\n        </p>\n      '}}];var L=s(69172),o=s(67376),C=s(21413),w=s(36939),M=s(55493),q=s(30595),z=s(93953),F=s(19937),U=s(50337),k=s(28941),Y=s(29968),x=s(52168),B=s(60177);function j(le,pe){if(1&le&&(z.j41(0,"app-alert",3),z.EFF(1),z.k0s()),2&le){const te=z.XpG();z.R7$(),z.JRh(te.errorMessage)}}function $(le,pe){if(1&le){const te=z.RV6();z.j41(0,"app-side-sheet-list-item",9),z.bIt("click",function(){z.eBV(te);const K=z.XpG(2);return z.Njj(K.editSequenceValue())}),z.j41(1,"span"),z.EFF(2,"Sequence value"),z.k0s()()}2&le&&z.Y8G("hasChevron",!0)}function H(le,pe){if(1&le){const te=z.RV6();z.j41(0,"app-side-sheet-section")(1,"div",10)(2,"button",11),z.bIt("click",function(){z.eBV(te);const K=z.XpG(2);return z.Njj(K.onRequestDelete())}),z.EFF(3,"Delete"),z.k0s()()()}}function ie(le,pe){if(1&le&&(z.j41(0,"div",4)(1,"app-side-sheet-section",5),z.nrm(2,"formly-form",6),z.DNE(3,$,3,1,"app-side-sheet-list-item",7),z.k0s(),z.DNE(4,H,4,0,"app-side-sheet-section",8),z.k0s()),2&le){const te=z.XpG();z.Y8G("appSpinner",te.loadingState===te.loadingStates.inProgress),z.R7$(),z.Y8G("showHeader",!1)("showBorder",!1),z.R7$(),z.Y8G("form",te.sequenceForm)("fields",te.fields)("model",te.model),z.R7$(),z.Y8G("ngIf",te.sequenceTip),z.R7$(),z.Y8G("ngIf",te.sequenceTip)}}let ne=(()=>{class le{constructor(te,ae,K,de,Me,me,be,Le){this.toastService=te,this.sideSheetService=ae,this.sequenceService=K,this.cdr=de,this.modalService=Me,this.route=me,this.router=be,this.location=Le,this.sequenceForm=new n.gE({name:new n.MJ(null),objectType:new n.MJ(null),numOfDigits:new n.MJ(0),label:new n.MJ({html:"",substitutions:[]}),key:new n.MJ({html:"",substitutions:[]})}),this.loadingStates=L.Gu,this.loadingState=L.Gu.inProgress,this.fields=(0,o.cloneDeep)(b),this.unsubscribe$=new C.B,this.done=()=>{}}ngOnInit(){this.loadingState=L.Gu.inProgress,this.handleObjectTypeChanges(),this.sequenceTip?this.initEditing():this.initCreating()}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}handleObjectTypeChanges(){this.sequenceForm.get("objectType").valueChanges.pipe((0,a.F)(),(0,g.M)(()=>this.loadingState=L.Gu.inProgress),(0,m.n)(te=>this.sequenceService.getTypeFromSequenceObjectType(te)),(0,T.Q)(this.unsubscribe$)).subscribe(te=>{const ae=this.fields.find(de=>"label"===de.key),K=this.fields.find(de=>"key"===de.key);ae.templateOptions.contextTypeTips=te?[te]:[],K.templateOptions.contextTypeTips=te?[te]:[],this.sequenceForm.touched&&this.sequenceForm.patchValue({label:{html:"",substitutions:[]},key:{html:"",substitutions:[]}}),this.loadingState=L.Gu.loaded,this.cdr.markForCheck()})}onBack(){if(this.isRouted()&&this.sequenceTip){const te=this.sideSheetService.sideSheet?.sizes?.length;return this.sideSheetService.clear(),void((0,o.parseInt)(te)>1&&this.location.back())}this.sideSheetService.pop()}onDone(){this.loadingState=L.Gu.inProgress;const te={name:this.sequenceForm.value.name,label:(0,o.get)(this,"sequenceForm.value.label.html",null),labelSubstitutions:(0,o.get)(this,"sequenceForm.value.label.substitutions",null),key:(0,o.get)(this,"sequenceForm.value.key.html",null),keySubstitutions:(0,o.get)(this,"sequenceForm.value.key.substitutions",null),numberOfDigits:this.sequenceForm.value.numOfDigits,objectType:this.sequenceForm.value.objectType};this.sequenceTip?(Object.assign(te,{$tip:this.sequenceTip,$security:this.sequenceSecurityPolicy}),this.sequenceService.updateSequence(te,this.moduleTip).pipe((0,O.$)()).subscribe(()=>{this.toastService.showSuccessToast("Sequence successfully updated"),this.done(),this.onBack()},ae=>{this.loadingState=L.Gu.failed,this.toastService.showErrorToast(ae instanceof w.g?ae.message:`Failed to update sequence ${te.name}.`)})):this.sequenceService.createSequence(te,this.moduleTip).pipe((0,O.$)()).subscribe(()=>{this.toastService.showSuccessToast("Sequence successfully created"),this.done(),this.sideSheetService.pop()},ae=>{this.loadingState=L.Gu.failed,this.toastService.showErrorToast(ae instanceof w.g?ae.message:`Failed to create sequence ${te.name}.`)})}onRequestDelete(){const te=this.modalService.open(D.F,D.G);te.componentInstance.objectType="sequence",te.result.then(ae=>ae?this.delete():null).catch(()=>{})}editSequenceValue(){const te=(0,o.get)(this.sequenceForm.value,"key.html",null),ae=(0,o.get)(this.sequenceForm.value,"key.substitutions",null);te&&ae?this.sideSheetService.pushV2(q.h,{key:te,keySubstitutions:ae,sequenceTip:this.sequenceTip}):this.sideSheetService.pushV2(M.W,{sequenceTip:this.sequenceTip})}delete(){this.loadingState=L.Gu.inProgress,this.sequenceService.deleteSequence(this.sequenceTip,this.moduleTip).pipe((0,O.$)()).subscribe(()=>{this.toastService.showSuccessToast("Deleted sequence item successfully."),this.onBack()},te=>{this.toastService.showErrorToast(te instanceof w.g?te.message:"Failed to delete sequence.")})}initCreating(){const te=(0,o.get)(this.route,"snapshot.firstChild.firstChild.url",null);if(te&&"object-types"===(0,o.get)(te,"[2].path",null)&&(0,o.get)(te,"[3].path",null)){const ae=(0,o.get)(te,"[3].path",null);this.model={objectType:ae},this.cdr.markForCheck()}this.loadingState=L.Gu.loaded}initEditing(){this.sequenceService.getSequence(this.sequenceTip).pipe((0,O.$)(Boolean)).subscribe(te=>{this.sequenceSecurityPolicy=te.$security;const ae=function Q({name:le,label:pe,labelSubstitutions:te,key:ae,keySubstitutions:K,objectType:de,numberOfDigits:Me}){return{name:le||null,label:{html:pe||"",substitutions:te||[]},objectType:de||null,key:{html:ae||"",substitutions:K||[]},numOfDigits:Me||0}}(te);this.model=ae,this.sequenceForm.setValue(ae),this.loadingState=L.Gu.loaded,this.cdr.markForCheck()},()=>{this.errorMessage="Failed to load sequence",this.cdr.markForCheck()})}isRouted(){return/\/\/sidesheet:modules\/.*\/sequences\//.test(this.router.url)}static#e=this.\u0275fac=function(ae){return new(ae||le)(z.rXU(F.f),z.rXU(U.E),z.rXU(k.n),z.rXU(z.gRc),z.rXU(Y.Bq),z.rXU(x.nX),z.rXU(x.Ix),z.rXU(B.aZ))};static#t=this.\u0275cmp=z.VBU({type:le,selectors:[["app-sequence-edit-side-sheet"]],decls:4,vars:4,consts:[["action","Save",3,"actioned","goBack","disabled"],["type","danger",4,"ngIf"],[3,"appSpinner",4,"ngIf"],["type","danger"],[3,"appSpinner"],[3,"showHeader","showBorder"],[3,"form","fields","model"],[3,"hasChevron","click",4,"ngIf"],[4,"ngIf"],[3,"click","hasChevron"],[1,"form-options","d-flex","justify-content-center"],["data-test","sequence-delete-button",1,"btn","btn-danger",3,"click"]],template:function(ae,K){1&ae&&(z.j41(0,"app-side-sheet-header",0),z.bIt("actioned",function(){return K.onDone()})("goBack",function(){return K.onBack()}),z.EFF(1),z.k0s(),z.DNE(2,j,2,1,"app-alert",1)(3,ie,5,8,"div",2)),2&ae&&(z.Y8G("disabled",K.sequenceForm.invalid),z.R7$(),z.SpI(" ",K.sequenceTip?"Edit sequence":"Create sequence","\n"),z.R7$(),z.Y8G("ngIf",K.errorMessage),z.R7$(),z.Y8G("ngIf",!K.errorMessage))},changeDetection:0})}return le})()},30595:(at,N,s)=>{"use strict";s.d(N,{h:()=>D});var n=s(89417),a=s(67376),m=s(55493),T=s(93953),O=s(50337);let D=(()=>{class E{constructor(I){this.sideSheetService=I,this.sequenceKeyInputFormFields=[],this.done=()=>{},this.sequenceKeyInputForm=new n.gE({})}ngOnInit(){this.keySubstitutions?.forEach(I=>{this.sequenceKeyInputForm.addControl(I.key,new n.MJ),this.sequenceKeyInputFormFields.push({key:I.key,type:"input",templateOptions:{label:I.label,type:"string",required:!0,placeholder:"Enter a value"}})})}onBack(){this.sideSheetService.pop()}onNext(){let I=(0,a.cloneDeep)(this.key);this.keySubstitutions.forEach(L=>{I=I.replace(L.key,this.sequenceKeyInputForm.get(L.key).value)}),this.sideSheetService.pushV2(m.W,{sequenceTip:this.sequenceTip,sequenceKey:I,done:()=>{this.done(),this.sideSheetService.pop()}})}static#e=this.\u0275fac=function(b){return new(b||E)(T.rXU(O.E))};static#t=this.\u0275cmp=T.VBU({type:E,selectors:[["app-sequence-value-edit-side-sheet"]],decls:6,vars:4,consts:[["action","Next",3,"actioned","goBack","disabled"],["title","Enter reset key values",3,"showBorder"],[3,"form","fields"]],template:function(b,L){1&b&&(T.j41(0,"app-side-sheet-header",0),T.bIt("actioned",function(){return L.onNext()})("goBack",function(){return L.onBack()}),T.EFF(1," Find sequence value\n"),T.k0s(),T.j41(2,"app-side-sheet-section",1)(3,"p"),T.EFF(4,"Enter the value of the sequence reset key you want to find."),T.k0s(),T.nrm(5,"formly-form",2),T.k0s()),2&b&&(T.Y8G("disabled",L.sequenceKeyInputForm.invalid),T.R7$(2),T.Y8G("showBorder",!1),T.R7$(3),T.Y8G("form",L.sequenceKeyInputForm)("fields",L.sequenceKeyInputFormFields))},changeDetection:0})}return E})()},55493:(at,N,s)=>{"use strict";s.d(N,{W:()=>o});var n=s(89417),a=s(61594),g=s(70980),m=s(69172),T=s(68030),O=s(93953),D=s(50337),E=s(28941),y=s(19937),I=s(29968);function b(C,w){if(1&C&&(O.j41(0,"app-side-sheet-section",4)(1,"p"),O.EFF(2,"Enter the next value to use for the sequence. Only values of 1 or greater are accepted."),O.k0s(),O.j41(3,"p"),O.EFF(4,"Changing the sequence value sets the next number in the sequence and may create duplicate sequence values."),O.k0s(),O.j41(5,"p"),O.EFF(6),O.k0s(),O.nrm(7,"formly-form",5),O.k0s()),2&C){const M=O.XpG();O.Y8G("showHeader",!!M.sequenceKey)("title",M.sequenceKey)("showBorder",!1),O.R7$(6),O.SpI("Current sequence value is: ",M.currentValue,""),O.R7$(),O.Y8G("form",M.sequenceValueForm)("fields",M.sequenceValueFormFields)}}function L(C,w){if(1&C&&(O.j41(0,"app-side-sheet-section",6)(1,"p"),O.EFF(2,"There isn't a sequence key that matches your entered criteria, no sequence value could be retrieved. Click the back button to try again."),O.k0s(),O.nrm(3,"app-empty-state",7),O.k0s()),2&C){const M=O.XpG();O.Y8G("showBorder",!1)("title",M.sequenceKey)}}let o=(()=>{class C{constructor(M,q,z,F,U){this.sideSheetService=M,this.sequenceService=q,this.cdr=z,this.toastService=F,this.modalService=U,this.sequenceValueFormFields=[{key:"sequenceValue",type:"input",templateOptions:{label:"Sequence value",type:"number",pattern:/^\d+$/,required:!0,min:1},validators:{invalid:{expression:k=>/^\d+$/.test(k.value),message:"Invalid value"}}}],this.LOADING_STATES=m.Gu,this.sequenceKey="",this.canEditValue=!0,this.done=()=>{},this.sequenceValueForm=new n.gE({sequenceValue:new n.MJ})}ngOnInit(){this.loadingState=m.Gu.inProgress,this.sequenceService.getCurrentSequenceValue(`${this.sequenceTip}-${this.sequenceKey}`).pipe((0,a.$)(),(0,g.j)(()=>this.cdr.markForCheck())).subscribe(M=>{this.currentValue=M,this.sequenceValueForm.get("sequenceValue").setValue(M),this.loadingState=m.Gu.loaded,this.canEditValue=!this.sequenceKey||!!M},M=>{this.loadingState=m.Gu.failed,this.toastService.showErrorToast("Failed to retrieve sequence value"),this.sideSheetService.pop()})}onBack(){this.sideSheetService.pop()}onDone(){const M=this.modalService.open(T.F,T.G);M.componentInstance.title="Update sequence value",M.componentInstance.message="Do you really want to change this sequence value? Changing may cause duplicate sequence values.",M.componentInstance.confirmText="Continue",M.componentInstance.isDelete=!1,M.result.then(q=>q?this.updateSequenceValue():null).catch(()=>{})}updateSequenceValue(){this.loadingState=m.Gu.inProgress;const M=this.sequenceValueForm.get("sequenceValue").value;this.sequenceService.updateSequenceValue(`${this.sequenceTip}-${this.sequenceKey}`,M).pipe((0,a.$)(q=>q.finished),(0,g.j)(()=>this.cdr.detectChanges())).subscribe(q=>{"true"===q.vars.Success?.[0]?(this.toastService.showSuccessToast("Sequence value updated"),this.done(),this.sideSheetService.pop()):(this.loadingState=m.Gu.failed,this.toastService.showErrorToast("Sequence value update failed"))},q=>{this.loadingState=m.Gu.failed,this.toastService.showErrorToast("Sequence value update failed")})}static#e=this.\u0275fac=function(q){return new(q||C)(O.rXU(D.E),O.rXU(E.n),O.rXU(O.gRc),O.rXU(y.f),O.rXU(I.Bq))};static#t=this.\u0275cmp=O.VBU({type:C,selectors:[["app-sequence-value-edit-side-sheet"]],decls:6,vars:6,consts:[["sequenceNotFound",""],[3,"actioned","goBack","action","disabled"],[3,"appSpinner"],[3,"showHeader","title","showBorder",4,"ngIf","ngIfElse"],[3,"showHeader","title","showBorder"],[3,"form","fields"],[3,"showBorder","title"],["size","default","imgSrc","assets/img/empty-states/empty-state-number.svg","label","No sequence key"]],template:function(q,z){if(1&q){const F=O.RV6();O.j41(0,"app-side-sheet-header",1),O.bIt("actioned",function(){return O.eBV(F),O.Njj(z.onDone())})("goBack",function(){return O.eBV(F),O.Njj(z.onBack())}),O.EFF(1),O.k0s(),O.j41(2,"div",2),O.DNE(3,b,8,6,"app-side-sheet-section",3)(4,L,4,2,"ng-template",null,0,O.C5r),O.k0s()}if(2&q){const F=O.sdS(5);O.Y8G("action",z.canEditValue?"Save":"")("disabled",z.sequenceValueForm.invalid||!z.sequenceValueForm.dirty),O.R7$(),O.SpI(" ",z.canEditValue?"Edit sequence value":"Find sequence value","\n"),O.R7$(),O.Y8G("appSpinner",z.loadingState===z.LOADING_STATES.inProgress),O.R7$(),O.Y8G("ngIf",z.canEditValue)("ngIfElse",F)}},changeDetection:0})}return C})()},28941:(at,N,s)=>{"use strict";s.d(N,{I:()=>U,n:()=>F});var n=s(31130),a=s(18810),g=s(7673),m=s(38045),T=s(96354),O=s(61594),D=s(25558),E=s(73703),y=s(99437),I=s(40673),b=s(67376),o=s(69873),C=s(93953),w=s(44667),M=s(76087),q=s(87879),z=s(27916);let F=(()=>{class k{constructor(x,B,j,$,H){this.objectService=x,this.moduleService=B,this.formulaService=j,this.modulePackageService=$,this.processService=H,this.moduleField="sequences"}querySequences(x){return this.moduleService.getModuleFieldValues(x,this.moduleField).pipe((0,T.T)(B=>B.map(j=>(j.name=j.Name,j))))}getSequence(x){return this.objectService.getObject(x,m.J,I.Ay.BRANCH_MASTER)}createSequence(x,B){return this.moduleService.getModulePolicy(B,n.b.INSTANCE).pipe((0,O.$)(),(0,D.n)(j=>(this.initialiseSequenceSubs(x,j),this.objectService.setObject(x,m.J).pipe((0,O.$)()))),(0,D.n)(j=>{const $=j[j.length-1].tip;return this.moduleService.addTipToFlatModuleField({moduleTip:B,moduleField:"sequences",tip:$}).pipe((0,E.u)($))}),(0,y.W)(()=>this.modulePackageService.handleError("save sequence",B)))}updateSequence(x,B){return this.initialiseSequenceSubs(x,x.$security),this.objectService.setObject(x,m.J).pipe((0,T.T)(j=>{if(j.length>0)return(0,b.head)(j).tip}),(0,y.W)(()=>this.modulePackageService.handleError("update sequence",B)))}deleteSequence(x,B){const j=$=>(0,b.compact)($.map(H=>H.$tip));return this.getSequence(x).pipe((0,D.n)($=>{const H=j($.keySubstitutions||[]),ie=j($.labelSubstitutions||[]);return this.moduleService.deleteModuleConfig([x,...H,...ie])}),(0,y.W)(()=>this.modulePackageService.handleError("delete sequence",B)))}getTypeFromSequenceObjectType(x){return this.formulaService.evaluate('FIELD("app/object-type:type")',x).pipe((0,T.T)(b.head))}getCurrentSequenceValue(x){return this.formulaService.evaluate(`SEQUENCE("${x}")`).pipe((0,D.n)(B=>isNaN(+B[0])?(0,a.$)(new Error("Error retrieving sequence value")):(0,g.of)(+B[0])))}updateSequenceValue(x,B){return this.processService.start("eim/process/sequence/update-sequence-value",{evaluatedSequenceKey:[x],newSequenceValue:[B-1]})}initialiseSequenceSubs(x,B){x.$type||(x.$type="app/sequence"),x.$security||(x.$security=B),x.labelSubstitutions&&x.labelSubstitutions.length&&x.labelSubstitutions.forEach(j=>{j.$type="app/sequence/substitution",j.$security=B}),x.keySubstitutions&&x.keySubstitutions.length&&x.keySubstitutions.forEach(j=>{j.$type="app/sequence/substitution",j.$security=B})}static#e=this.\u0275fac=function(B){return new(B||k)(C.KVO(w.T),C.KVO(n.A),C.KVO(M.C),C.KVO(q.G),C.KVO(z.V))};static#t=this.\u0275prov=C.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})();function U(k,Y="TIP"){if(!(0,b.get)(k,"field",null))return null;const x=$=>$.startsWith(o.uB),B=k.field.find($=>{const{tag:H}=$;return!(!(0,b.isArray)(H)||0===H.length||!H.find(x))});return B?"FIELD"===Y?B.$tip:B.tag.find(x).substr(o.uB.length):null}},56311:(at,N,s)=>{"use strict";s.d(N,{n:()=>F});var n=s(61594),a=s(96354),g=s(84412),m=s(69172),T=s(38857),O=s(93953),D=s(31130),E=s(50337);const y=()=>["name"];function I(U,k){1&U&&(O.j41(0,"app-alert",9),O.EFF(1,"Unable to retrieve modules at this time."),O.k0s())}function b(U,k){if(1&U){const Y=O.RV6();O.j41(0,"app-side-sheet-list-item",11),O.bIt("click",function(){const B=O.eBV(Y).$implicit,j=O.XpG(2);return O.Njj(j.getInstancesOfProvidedTypeFromSelectedModule(B))}),O.EFF(1),O.k0s()}if(2&U){const Y=k.$implicit;O.Y8G("hasChevron",!0),O.R7$(),O.SpI(" ",Y.name," ")}}function L(U,k){if(1&U&&(O.qex(0),O.DNE(1,b,2,2,"app-side-sheet-list-item",10),O.nI1(2,"filter"),O.bVm()),2&U){const Y=O.XpG();O.R7$(),O.Y8G("ngForOf",O.brH(2,1,null==Y.modules?null:Y.modules.custom,Y.filterText,O.lJ4(5,y)))}}function o(U,k){1&U&&O.nrm(0,"app-empty-state",13)}function C(U,k){if(1&U&&(O.DNE(0,o,1,0,"app-empty-state",12),O.nI1(1,"async")),2&U){const Y=O.XpG();O.Y8G("ngIf",O.bMT(1,1,Y.loading$)===Y.loadingStates.loaded)}}function w(U,k){if(1&U){const Y=O.RV6();O.j41(0,"app-side-sheet-list-item",11),O.bIt("click",function(){const B=O.eBV(Y).$implicit,j=O.XpG(2);return O.Njj(j.getInstancesOfProvidedTypeFromSelectedModule(B))}),O.EFF(1),O.k0s()}if(2&U){const Y=k.$implicit;O.Y8G("hasChevron",!0),O.R7$(),O.SpI(" ",Y.name," ")}}function M(U,k){if(1&U&&(O.qex(0),O.DNE(1,w,2,2,"app-side-sheet-list-item",10),O.nI1(2,"filter"),O.bVm()),2&U){const Y=O.XpG();O.R7$(),O.Y8G("ngForOf",O.brH(2,1,null==Y.modules?null:Y.modules.noggin,Y.filterText,O.lJ4(5,y)))}}function q(U,k){1&U&&O.nrm(0,"app-empty-state",13)}function z(U,k){if(1&U&&(O.DNE(0,q,1,0,"app-empty-state",12),O.nI1(1,"async")),2&U){const Y=O.XpG();O.Y8G("ngIf",O.bMT(1,1,Y.loading$)===Y.loadingStates.loaded)}}let F=(()=>{class U{constructor(Y,x){this.moduleService=Y,this.sideSheetService=x,this.loading$=new g.t(m.Gu.inProgress),this.loadingStates=m.Gu,this.filterText=""}ngOnInit(){this.getModules()}setProps(Y){Object.assign(this,Y)}getInstancesOfProvidedTypeFromSelectedModule(Y){const{componentInstance:x}=this.sideSheetService.push(T.i);x.setProps({manager:this.manager,moduleTip:this.moduleTip,selectedModule:Y})}getModules(){this.moduleService.getModules().pipe((0,n.$)(),(0,a.T)(Y=>{const x={custom:[],noggin:[]};return Y.map(this.formatModule).forEach(B=>{B.solutions.length?x.noggin.push(B):x.custom.push(B)}),x})).subscribe(Y=>{this.modules=Y,this.loading$.next(m.Gu.loaded)},()=>{this.loading$.next(m.Gu.failed)})}formatModule(Y){return{$tip:Y.$tip,name:Y.name,solutions:Y.solutions.filter(x=>!x.name.includes("Custom"))}}static#e=this.\u0275fac=function(x){return new(x||U)(O.rXU(D.A),O.rXU(E.E))};static#t=this.\u0275cmp=O.VBU({type:U,selectors:[["app-module-config-module-chooser-side-sheet"]],decls:18,vars:16,consts:[["noCustomModules",""],["noNogginModules",""],["type","danger",4,"ngIf"],[3,"showBorder","showHeader"],[3,"filterTextChange","filterText"],["title","My Library"],[3,"loadingState"],[4,"ngIf","ngIfElse"],["title","Noggin Library"],["type","danger"],[3,"hasChevron","click",4,"ngFor","ngForOf"],[3,"click","hasChevron"],["label","No modules here","imgSrc","assets/img/empty-states/empty-state-generic.svg",4,"ngIf"],["label","No modules here","imgSrc","assets/img/empty-states/empty-state-generic.svg"]],template:function(x,B){if(1&x){const j=O.RV6();O.j41(0,"app-side-sheet-header"),O.EFF(1,"Modules"),O.k0s(),O.DNE(2,I,2,0,"app-alert",2),O.nI1(3,"async"),O.j41(4,"app-side-sheet-section",3)(5,"app-filter-and-add",4),O.mxI("filterTextChange",function(H){return O.eBV(j),O.DH7(B.filterText,H)||(B.filterText=H),O.Njj(H)}),O.k0s()(),O.j41(6,"app-side-sheet-section",5)(7,"app-side-sheet-list",6),O.nI1(8,"async"),O.DNE(9,L,3,6,"ng-container",7)(10,C,2,3,"ng-template",null,0,O.C5r),O.k0s()(),O.j41(12,"app-side-sheet-section",8)(13,"app-side-sheet-list",6),O.nI1(14,"async"),O.DNE(15,M,3,6,"ng-container",7)(16,z,2,3,"ng-template",null,1,O.C5r),O.k0s()()}if(2&x){const j=O.sdS(11),$=O.sdS(17);O.R7$(2),O.Y8G("ngIf",O.bMT(3,10,B.loading$)===B.loadingStates.failed),O.R7$(2),O.Y8G("showBorder",!1)("showHeader",!1),O.R7$(),O.R50("filterText",B.filterText),O.R7$(2),O.Y8G("loadingState",O.bMT(8,12,B.loading$)),O.R7$(2),O.Y8G("ngIf",null==B.modules||null==B.modules.custom?null:B.modules.custom.length)("ngIfElse",j),O.R7$(4),O.Y8G("loadingState",O.bMT(14,14,B.loading$)),O.R7$(2),O.Y8G("ngIf",null==B.modules||null==B.modules.noggin?null:B.modules.noggin.length)("ngIfElse",$)}},changeDetection:0})}return U})()},26515:(at,N,s)=>{"use strict";s.d(N,{U:()=>m});var n=s(56311),a=s(93953),g=s(50337);let m=(()=>{class T{constructor(D){this.sideSheetService=D}setProps(D){Object.assign(this,D),this.title=`New ${this.manager.name.toLowerCase().slice(0,-1)}`}createNewInstanceOfType(){const{componentInstance:D}=this.sideSheetService.push(this.manager.createComponent);D.moduleTip=this.moduleTip}cloneInstanceFromLibrary(){const{componentInstance:D}=this.sideSheetService.push(n.n);D.setProps({manager:this.manager,moduleTip:this.moduleTip})}static#e=this.\u0275fac=function(E){return new(E||T)(a.rXU(g.E))};static#t=this.\u0275cmp=a.VBU({type:T,selectors:[["app-module-config-source-chooser-side-sheet"]],decls:8,vars:6,consts:[[3,"showBorder","showHeader"],["data-test","new-instance-item",3,"click","hasChevron"],["data-test","from-library-item",3,"click","hasChevron"]],template:function(E,y){1&E&&(a.j41(0,"app-side-sheet-header"),a.EFF(1),a.k0s(),a.j41(2,"app-side-sheet-section",0)(3,"app-side-sheet-list")(4,"app-side-sheet-list-item",1),a.bIt("click",function(){return y.createNewInstanceOfType()}),a.EFF(5),a.k0s(),a.j41(6,"app-side-sheet-list-item",2),a.bIt("click",function(){return y.cloneInstanceFromLibrary()}),a.EFF(7,"From Library"),a.k0s()()()),2&E&&(a.R7$(),a.JRh(y.title),a.R7$(),a.Y8G("showBorder",!1)("showHeader",!1),a.R7$(2),a.Y8G("hasChevron",!0),a.R7$(),a.JRh(y.title),a.R7$(),a.Y8G("hasChevron",!0))},changeDetection:0})}return T})()},38857:(at,N,s)=>{"use strict";s.d(N,{i:()=>w});var n=s(84412),a=s(69172),g=s(67376),T=s(61594),O=s(93953),D=s(31130),E=s(50337);const y=()=>["name"];function I(M,q){1&M&&(O.j41(0,"app-alert",8),O.EFF(1,"Unable to retrieve module config at this time."),O.k0s())}function b(M,q){if(1&M&&(O.j41(0,"app-side-sheet-list-item",10)(1,"div"),O.EFF(2),O.k0s(),O.j41(3,"div",11),O.EFF(4),O.k0s()()),2&M){const z=q.$implicit,F=O.XpG(2);O.Y8G("key",z.$tip),O.R7$(2),O.JRh(z.name),O.R7$(2),O.JRh(F.manager.name)}}function L(M,q){if(1&M&&(O.qex(0),O.DNE(1,b,5,3,"app-side-sheet-list-item",9),O.nI1(2,"filter"),O.bVm()),2&M){const z=O.XpG();O.R7$(),O.Y8G("ngForOf",O.brH(2,1,z.items,z.filterText,O.lJ4(5,y)))}}function o(M,q){1&M&&O.nrm(0,"app-empty-state",13)}function C(M,q){if(1&M&&(O.DNE(0,o,1,0,"app-empty-state",12),O.nI1(1,"async")),2&M){const z=O.XpG();O.Y8G("ngIf",O.bMT(1,1,z.loading$)===z.loadingStates.loaded)}}let w=(()=>{class M{constructor(z,F){this.moduleService=z,this.sideSheetService=F,this.selectedItems=[],this.loading$=new n.t(a.Gu.inProgress),this.loadingStates=a.Gu,this.filterText=""}ngOnInit(){this.getInstanceOfType()}setProps(z){Object.assign(this,z),this.title=this.selectedModule.name}createNewInstanceFromSelectedInstance(){const{componentInstance:z}=this.sideSheetService.push(this.manager.createComponent);z.moduleTip=this.moduleTip,z.isClone=!0,z.enoToClone=(0,g.head)(this.selectedItems)}getInstanceOfType(){const z=Array.isArray(this.manager.field)?(0,g.head)(this.manager.field):this.manager.field;this.moduleService.getModuleFieldValues(this.selectedModule.$tip,(0,g.kebabCase)(z)).pipe((0,T.$)()).subscribe(F=>{this.items=F,this.loading$.next(a.Gu.loaded)},()=>{this.loading$.next(a.Gu.failed)})}static#e=this.\u0275fac=function(F){return new(F||M)(O.rXU(D.A),O.rXU(E.E))};static#t=this.\u0275cmp=O.VBU({type:M,selectors:[["app-module-config-type-instance-chooser-side-sheet"]],decls:12,vars:16,consts:[["noItems",""],["action","Next",3,"actioned","showBackIcon","disabled"],["type","danger",4,"ngIf"],[3,"showBorder","showHeader"],[3,"filterTextChange","filterText"],[3,"showHeader"],["mode","singleselect",3,"selectedChange","selected","loadingState"],[4,"ngIf","ngIfElse"],["type","danger"],[3,"key",4,"ngFor","ngForOf"],[3,"key"],[1,"eim-font-size_p-normal"],["label","No items here","imgSrc","assets/img/empty-states/empty-state-generic.svg",4,"ngIf"],["label","No items here","imgSrc","assets/img/empty-states/empty-state-generic.svg"]],template:function(F,U){if(1&F){const k=O.RV6();O.j41(0,"app-side-sheet-header",1),O.bIt("actioned",function(){return O.eBV(k),O.Njj(U.createNewInstanceFromSelectedInstance())}),O.EFF(1),O.k0s(),O.DNE(2,I,2,0,"app-alert",2),O.nI1(3,"async"),O.j41(4,"app-side-sheet-section",3)(5,"app-filter-and-add",4),O.mxI("filterTextChange",function(x){return O.eBV(k),O.DH7(U.filterText,x)||(U.filterText=x),O.Njj(x)}),O.k0s()(),O.j41(6,"app-side-sheet-section",5)(7,"app-side-sheet-list",6),O.nI1(8,"async"),O.mxI("selectedChange",function(x){return O.eBV(k),O.DH7(U.selectedItems,x)||(U.selectedItems=x),O.Njj(x)}),O.DNE(9,L,3,6,"ng-container",7)(10,C,2,3,"ng-template",null,0,O.C5r),O.k0s()()}if(2&F){const k=O.sdS(11);O.Y8G("showBackIcon",!0)("disabled",!U.selectedItems.length),O.R7$(),O.SpI(" ",U.selectedModule.name,"\n"),O.R7$(),O.Y8G("ngIf",O.bMT(3,12,U.loading$)===U.loadingStates.failed),O.R7$(2),O.Y8G("showBorder",!1)("showHeader",!1),O.R7$(),O.R50("filterText",U.filterText),O.R7$(),O.Y8G("showHeader",!1),O.R7$(),O.R50("selected",U.selectedItems),O.Y8G("loadingState",O.bMT(8,14,U.loading$)),O.R7$(2),O.Y8G("ngIf",null==U.items?null:U.items.length)("ngIfElse",k)}},changeDetection:0})}return M})()},1153:(at,N,s)=>{"use strict";s.d(N,{Px:()=>F,qH:()=>z});var n=s(71985),a=s(92771),g=s(7673),m=s(25558),T=s(5964),O=s(96354),D=s(56977),E=s(61594),y=s(67492),I=s(92597),b=s(93953),L=s(27916),o=s(14784),C=s(76087),w=s(44667);const q=["section-header","chart-content","text-content","table-content"];var z=function(U){return U.primary="Primary",U.secondary="Secondary",U.noop="Noop",U}(z||{});let F=(()=>{class U{constructor(Y,x,B,j){this.processService=Y,this.meService=x,this.formulaService=B,this.objectService=j,this.newUX$=new n.c,this.newUXForWfPanel$=new n.c,this.newOutcome$=new n.c,this.newWorkflowRuntime$=new n.c}watchWorkflowRuntime(Y,x){this.newWorkflowRuntimeSubject$=new a.m(1),this.newWorkflowRuntime$=this.newWorkflowRuntimeSubject$.asObservable(),this.newUX$=this.newWorkflowRuntimeSubject$.pipe((0,m.n)(({ux:B})=>this.getWorkflowUXItem(B)),(0,T.p)(Boolean)),this.newOutcome$=this.newWorkflowRuntimeSubject$.pipe((0,O.T)(({outcome:B})=>B),(0,T.p)(Boolean)),this.objectService.getObject(Y,y.J).pipe((0,D.Q)(x)).subscribe(B=>this.newWorkflowRuntimeSubject$.next(B))}watchWorkflowRuntimeForWorkflowPanel(Y){this.newUXForWfPanel$=this.objectService.getObject(Y,y.J).pipe((0,m.n)(({ux:x})=>this.getWorkflowUXItem(x)),(0,T.p)(Boolean))}runUXNodeOutcomeProcess(Y,x,B,j){return this.processService.start("eim/process/workflow-ux/set-outcome-reference",{"Workflow runtime tip":[Y],Outcome:[x],"Object tip":B?[B]:[],"Is governed":[j?"true":"false"]}).pipe((0,E.$)($=>$.finished))}getWorkflowUXItem(Y){return Y&&Y.length?this.checkForMatchingActors(Y).pipe((0,O.T)(x=>this.getFirstValidWorkflowUXItem({matchResult:x,workflowUXItems:Y}))):(0,g.of)(null)}getFirstValidWorkflowUXItem({matchResult:Y,workflowUXItems:x}){let B;return Y.some((j,$)=>(j&&(B=x[$],this.convertEmptyArraysToNull(B)),j)),B||null}convertEmptyArraysToNull(Y){for(const x in Y)if(Y[x]){const B=Y[x];switch(x){case"primaryButtonLabel":case"instructionsSubtitle":case"instructionsTitle":case"instructionsIntent":Y[x]=Array.isArray(B)&&!B.length?null:B}}}checkForMatchingActors(Y){return this.meService.me$.pipe((0,T.p)(Boolean),(0,m.n)(B=>this.formulaService.evaluate((B=>(0,I.Ac)({name:"ARRAY",args:Y.map(j=>j.actors&&j.actors.length?{name:"NOT",args:[{name:"EQUALS",args:[{name:"INTERSECT",args:[{name:"UNIQUE",args:[{name:"ARRAY",args:[B.$tip,...B.profiles,{name:"REFERENCES",args:["app/team-role:users",B.$tip]},{name:"FIELD",args:["app/user:person",B.$tip]},{name:"ARRAY",args:[{name:"REFERENCES",args:["app/group:contacts",{name:"FIELD",args:["app/user:person",B.$tip]}]},{name:"DESCENDANTS",args:["app/group:parent",{name:"ARRAY",args:[{name:"REFERENCES",args:["app/group:contacts",{name:"FIELD",args:["app/user:person",B.$tip]}]}]}]}]}]}]},{name:"ARRAY",args:j.actors}]},{name:"ARRAY",args:[]}]}]}:"true")}))(B))),(0,O.T)(B=>B.map(j=>"true"===j)))}checkForErrors(Y){if(!Y)return[];const x=[];return this.getFields(Y).forEach(B=>{const j=B.templateOptions;(!j||!j.contextTypeTip&&!q.includes(B.type))&&x.push({field:B,label:j?j.label:"(unknown)"})}),x}getFields(Y){const x=[];return Y.tabs.forEach(B=>{B.rows.forEach(j=>{j.fields.forEach($=>{x.push($)})})}),x}static#e=this.\u0275fac=function(x){return new(x||U)(b.KVO(L.V),b.KVO(o.Q),b.KVO(C.C),b.KVO(w.T))};static#t=this.\u0275prov=b.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})()},69873:(at,N,s)=>{"use strict";s.d(N,{D2:()=>E,Ie:()=>L,KG:()=>O,Kq:()=>C,LU:()=>o,N8:()=>T,Q4:()=>g,T4:()=>y,UQ:()=>m,_f:()=>w,a:()=>I,aU:()=>a,dQ:()=>q,eJ:()=>M,ew:()=>D,pR:()=>n,uB:()=>b});const n="---TO_BE_DEFINED_FORMULA---",a="---TO_BE_DEFINED_OBJECT_SEARCH_FORMULA---",g="app/address",m="app/calendar-event/attendee",T="listTip--",O="listAnyLevelSelection--",D="defaultValue--",E="valueType--app/list",y="autoPopulate--true",I="logToRelatedTimeline--true",b="sequenceTip--",L="valueType--app/sequence",o="calculationEditable--true",C="calculationAutoRecalculate--true",w="calculationNoValueAsZero--true",M="isSubObject",q=`${M}--true`},38582:(at,N,s)=>{"use strict";s.d(N,{VI:()=>n,_N:()=>a,vY:()=>g});const n=32766;var a=function(T){return T.DATE="date",T.DATETIME="datetime",T.LIST="list",T.DATETIMESECOND="datetimesecond",T}(a||{}),g=function(T){return T.entering="entering",T.context="context",T.relative="relative",T}(g||{})},71631:(at,N,s)=>{"use strict";s.d(N,{h:()=>k});var n=s(67376),g=s(7673),m=s(18810),T=s(25558),O=s(96354),D=s(61594),E=s(58164),y=s(92335),I=s(34669),b=s(76194),L=s(10195),o=s(55516),C=s(69873),w=s(93953),M=s(51229),q=s(44667),z=s(76087),F=s(31130),U=s(19937);let k=(()=>{class Y{constructor(B,j,$,H,ie){this.queryService=B,this.objectService=j,this.formulaService=$,this.moduleService=H,this.toastService=ie}getObjectType(B){return B?this.objectService.getObject(B,L.V):(0,g.of)(null)}getField(B){return B?this.objectService.getObject(B,b.cF):(0,g.of)(null)}getObjectTypeByTypeTip(B){return this.formulaService.evaluate(`REFERENCES("app/object-type:type", "${B}")`).pipe((0,T.n)(([j])=>this.getObjectType(j)))}getObjectTypeTipByObjectTip(B){return this.formulaService.evaluate('REFERENCES("app/object-type:type", TYPE(VAR("Tip")))',null,[],{Tip:[B]})}getObjectStages(B){return this.getObjectType(B).pipe((0,O.T)(j=>j.stages))}getObjectDashboards(B){return this.queryService.execute1dFirst(o.R.OBJECT_TYPE_DASHBOARDS,{vars:{"Object type":[B]}})}getObjectForms(B){return this.queryService.execute1dFirst(o.R.OBJECT_TYPE_FORMS,{vars:{"Object type":[B]}})}getContextTypeTips(B){return(0,n.get)(B,"type.field")?B.type.field.filter(j=>(0,n.isArray)(j.tag)&&j.tag.includes("autoPopulate--true")).reduce((j,$)=>(0,n.union)(j,$.typerestrict),[]):[]}isObjectTypeKeyUnique(B,j){return this.formulaService.evaluate(`\n          LOOKUP(\n            TIP(),\n            AND(\n              ISTYPE("type"),\n              EQUALS(\n                FIELD("type/name"),\n                "${B}"\n              )\n            )\n          )\n        `).pipe((0,D.$)(),(0,O.T)($=>0===$.length||!(1!==$.length||!j)&&(0,n.head)($)===j))}validateAndSaveObjectType(B){return B.type.title?B.type.name?this.areObjectFieldKeysAlphanumeric(B)?this.areObjectFieldKeysUnique(B)?this.isObjectTypeKeyUnique(B.type.name,B.type.$tip).pipe((0,T.n)(j=>j?this.saveObjectType(B):(0,m.$)(new y.i("Another object-type with similar key found - ensure object-type key is unique before saving.")))):(0,m.$)(new E.A("Duplicate field keys detected - ensure all field keys are unique before saving.")):(0,m.$)(new E.A("Non-alphanumeric field key detected - ensure all field keys are alphanumeric before saving.")):(0,m.$)(new y.i("Object-type key missing - ensure object-type has key before saving.")):(0,m.$)(new y.i("Object-type title formula not configured  - ensure title formula has been configured before saving."))}saveObjectType(B){const j=B.type.field;if(!j||!j.length)return this.standardSaveObjectType(B);const $=j.filter(H=>H.searchIndexValue===C.pR||H.searchIndexValue===C.aU);return $.length?($.forEach(H=>{H.$tip?H.searchIndexValue=H.searchIndexValue===C.aU?`CONTEXT(FIELD("${H.$tip}"), CONCAT_WS(" ", TITLE(), SUMMARY()))`:`TITLE(FIELD("${H.$tip}"))`:H.searchable=!1}),this.objectService.setObject(B,L.V).pipe((0,T.n)(H=>this.getObjectType(B.$tip)),(0,T.n)(H=>(H.type.field.filter(ie=>ie.searchIndexValue===C.pR||ie.searchIndexValue===C.aU).forEach(ie=>{ie.searchable=!0,ie.searchIndexValue=ie.searchIndexValue===C.aU?`CONTEXT(FIELD("${ie.$tip}"), CONCAT_WS(" ", TITLE(), SUMMARY()))`:`TITLE(FIELD("${ie.$tip}"))`}),this.objectService.setObject(H,L.V))),(0,O.T)(H=>!0))):this.standardSaveObjectType(B)}standardSaveObjectType(B){return this.objectService.setObject(B,L.V).pipe((0,O.T)(()=>!0))}getObjectTypeFromInstance$(B){return this.queryService.execute1dFirst(o.R.GET_OBJECT_TYPE_FROM_TYPE_INSTANCE_NEW,{vars:{"Instance tip":[B]}}).pipe((0,O.T)(j=>{const $={...j[0],stages:JSON.parse(j[0].stages.replace(/\\,/g,","))};return this.queryService.deleteEmptyProp([$],["defaultDashboard","defaultForm","lifecycleWorkflow","symbology"])[0]}))}areObjectFieldKeysAlphanumeric(B){const j=B.type.field;return!j||j.length<=1||!j.find(H=>!!I.O.alphanumericValidator({value:H.name}))}areObjectFieldKeysUnique(B){const j=B.type.field;if(!j||j.length<=1)return!0;const $=j.map(ie=>ie.name),H=new Set($);return $.length===H.size}getModuleNameFromObjectTypeTip(B){return this.getModuleTipFromObjectTypeTip(B).pipe((0,D.$)(),(0,T.n)(j=>j?this.moduleService.getModule(j).pipe((0,D.$)(),(0,O.T)($=>(0,n.get)($,"name",""))):(0,g.of)(null)))}getModuleTipFromObjectTypeTip(B){return B?this.formulaService.evaluate('REFERENCES("app/module:object-types")',B).pipe((0,O.T)(j=>j[0])):(0,g.of)(null)}openObjectTypeDesignPage(B,j){if(j)return B.stopImmediatePropagation(),this.getModuleTipFromObjectTypeTip(j).pipe((0,D.$)()).subscribe($=>{if($){const H=`${location.origin}/app/s/settings/modules/${encodeURIComponent($)}/object-types/${encodeURIComponent(j)}`;window.open(H,"_blank")}else this.toastService.showErrorToast("Unable to navigate to the object type designer for this object type.")})}static#e=this.\u0275fac=function(j){return new(j||Y)(w.KVO(M.c),w.KVO(q.T),w.KVO(z.C),w.KVO(F.A),w.KVO(U.f))};static#t=this.\u0275prov=w.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})()},87335:(at,N,s)=>{"use strict";s.d(N,{Q:()=>C});var n=s(84572),a=s(7673),g=s(25558),m=s(96354),T=s(61594),O=s(91986),D=s(88141),E=s(61339),y=s(55516),I=s(93953),b=s(51229),L=s(44667),o=s(27916);let C=(()=>{class w{constructor(q,z,F){this._queryService=q,this._objectService=z,this._processService=F}getProfiles(q=0,z){return this._queryService.execute1dFirst(y.R.GET_ALL_PROFILES,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:['FIELD("app/profile:name")'],offset:q,limit:z}]})}getProfilesWithItsObjects(q=0,z){return this.getProfiles(q,z).pipe((0,g.n)(F=>(0,n.z)(F.map(U=>this._objectService.getObject(U.$tip,E.F)))))}getProfile(q){return this._objectService.getObject(q,E.F)}updateProfile(q,z){return this._objectService.setObject(z,E.F).pipe((0,m.T)(()=>!0))}newProfile({name:q,description:z,key:F,userType:U}){return this._processService.start("eim/process/profile/create-new-profile",{"Profile name":[q],"Profile description":[z],"Profile key":[F],"User type":[U]}).pipe((0,T.$)(Y=>Y.finished),(0,g.n)(Y=>this.getProfile(Y.vars["New profile tip"][0])))}deleteUser(q){return(0,a.of)(null).pipe((0,O.c)(1e3),(0,D.M)(()=>{if(Math.random()>.5)throw new Error("Mocked a server error")}))}static#e=this.\u0275fac=function(z){return new(z||w)(I.KVO(b.c),I.KVO(L.T),I.KVO(o.V))};static#t=this.\u0275prov=I.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},13774:(at,N,s)=>{"use strict";s.d(N,{Z:()=>ze});var n=s(84412),a=s(21413),g=s(61594),m=s(96354),T=s(89417);const O=[{wrappers:["side-sheet-section-wrapper"],fieldGroup:[{key:"name",type:"input",templateOptions:{type:"text",label:"Name",readonly:!0}},{key:"apiKey",type:"input-copyable",templateOptions:{label:"API key",type:"text",disabled:!0}},{wrappers:["notification-message-wrapper"],fieldGroup:[{type:"text-content",templateOptions:{html:"\n                <span class=\"eim-font-color_nfc-on-white-buttons\">\n                  <b>\n                    For security reasons, this key won't be shown again. If you don't save this key or if you lose it, \n                    you can delete this key and create a new one.\n                  </b>\n                </span>\n              "}}]}]},{wrappers:["side-sheet-section-wrapper"],templateOptions:{showBorder:!0},fieldGroup:[{key:"profiles",type:"object-chooser",templateOptions:{label:"Profiles",placeholder:"Select profiles",typeTips:["app/profile"],multi:!0,readonly:!0,allowNavAway:!1,canCreateNew:!1}}]}];var D=s(7673),E=s(27468),y=s(69172),I=s(93953),b=s(67376),L=s(48636);const o={"app/api-key-meta:name":{type:L.U.i18n},"app/api-key-meta:profiles":{type:L.U.stringArray}};var C=s(55516),w=s(51229),M=s(44667),q=s(27916);let z=(()=>{class Be{constructor(Ct,Lt,Vt){this.queryService=Ct,this.objectService=Lt,this.processService=Vt}getAllAPIKeyMeta(){return this.queryService.execute1dArray(C.R.GET_ALL_API_KEY_META,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:['FIELD("app/api-key-meta:name")'],sortdir:["asc"]}]}).pipe((0,m.T)(F))}getAPIKeyMeta(Ct){return this.objectService.getObject(Ct,o)}deleteAPIKeyMeta(Ct){return this.objectService.deleteObject({$tip:Ct})}createAPIKey(Ct){return this.processService.start("eim/process/api-key/create",{"API key meta":[Ct]}).pipe((0,m.T)(Lt=>({apiKey:(0,b.get)(Lt,"vars.Token[0]",null),finished:Lt.finished})),(0,m.T)(({apiKey:Lt,finished:Vt})=>{if(!Lt||!Vt)throw new Error("Failed to generate API key");return Lt}))}static#e=this.\u0275fac=function(Lt){return new(Lt||Be)(I.KVO(w.c),I.KVO(M.T),I.KVO(q.V))};static#t=this.\u0275prov=I.jDH({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})();function F(Be){return Be.map(Ye=>({$tip:(0,b.head)(Ye.$tip),name:(0,b.head)(Ye.name),profileSummary:U(Ye.profiles)}))}function U(Be){if(!Be||!Be.length)return"";if(Be.sort(),Be.length>2){const Ye=Be.length-2;Be.splice(2,Ye,`+ ${Ye} more`)}return Be.join(", ")}var k=s(50337),Y=s(19937),x=s(60177),B=s(73427),j=s(44225),$=s(2455),H=s(8524);function ie(Be,Ye){1&Be&&(I.j41(0,"app-alert",4),I.EFF(1,"Failed to load API key review form."),I.k0s())}let ne=(()=>{class Be{constructor(Ct,Lt,Vt){this.settingsAPIService=Ct,this.sideSheetService=Lt,this.toastService=Vt,this.apiKeyMetaForm=new T.gE({name:new T.MJ(""),profiles:new T.MJ([])}),this.fields=O,this.model={name:"",apiKey:"",profiles:[]},this.loading$=new n.t(y.Gu.inProgress),this.loadingStates=y.Gu}setProps(Ct){Object.assign(this,Ct)}populateReviewForm(){const Ct=this.settingsAPIService.getAPIKeyMeta(this.apiKeyMetaTip).pipe((0,g.$)()),Lt=(0,D.of)(this.apiKey);return(0,E.p)({apiKey:Lt,apiKeyMeta:Ct}).pipe((0,m.T)(Q)).subscribe(Vt=>{this.model=Vt,this.loading$.next(y.Gu.loaded)},()=>{this.loading$.next(y.Gu.failed)})}closeSheet(){this.sideSheetService.pop()}deleteAPIKeyMeta(){this.loading$.next(y.Gu.inProgress),this.settingsAPIService.deleteAPIKeyMeta(this.apiKeyMetaTip).pipe((0,g.$)()).subscribe(()=>this.closeSheet(),()=>this.toastService.showErrorToast("Failed to discard API key"))}static#e=this.\u0275fac=function(Lt){return new(Lt||Be)(I.rXU(z),I.rXU(k.E),I.rXU(Y.f))};static#t=this.\u0275cmp=I.VBU({type:Be,selectors:[["app-review-api-key"]],decls:7,vars:10,consts:[["type","danger",4,"ngIf"],[3,"appSpinner"],["cancel","Discard","action","Done",3,"actioned","goBack","showCancelButton"],[3,"form","fields","model"],["type","danger"]],template:function(Lt,Vt){1&Lt&&(I.DNE(0,ie,2,0,"app-alert",0),I.nI1(1,"async"),I.j41(2,"div",1),I.nI1(3,"async"),I.j41(4,"app-side-sheet-header",2),I.bIt("actioned",function(){return Vt.closeSheet()})("goBack",function(){return Vt.deleteAPIKeyMeta()}),I.EFF(5," Review API keys "),I.k0s(),I.nrm(6,"formly-form",3),I.k0s()),2&Lt&&(I.Y8G("ngIf",I.bMT(1,6,Vt.loading$)===Vt.loadingStates.failed),I.R7$(2),I.Y8G("appSpinner",I.bMT(3,8,Vt.loading$)===Vt.loadingStates.inProgress),I.R7$(2),I.Y8G("showCancelButton",!0),I.R7$(2),I.Y8G("form",Vt.apiKeyMetaForm)("fields",Vt.fields)("model",Vt.model))},dependencies:[x.bT,B.R,j.b,$.C,H.aF,x.Jj],changeDetection:0})}return Be})();function Q({apiKey:Be,apiKeyMeta:Ye}){return{name:Ye.name,apiKey:Be,profiles:Ye.profiles}}var le=s(56977),pe=s(5002),te=s(57503),ae=s(43470),K=s(2937),de=s(69595),Me=s(83958),me=s(99213),be=s(70723),Le=s(36193);function Ae(Be,Ye){1&Be&&(I.j41(0,"app-alert",9),I.EFF(1," Failed to load API keys at this time.\n"),I.k0s())}function Oe(Be,Ye){if(1&Be){const Ct=I.RV6();I.j41(0,"app-side-sheet-list-item",12),I.bIt("click",function(){const Vt=I.eBV(Ct).$implicit,ht=I.XpG(3);return I.Njj(ht.editAPIKey(Vt.$tip))}),I.j41(1,"span"),I.EFF(2),I.k0s(),I.nrm(3,"br"),I.j41(4,"span",13),I.EFF(5),I.k0s()()}if(2&Be){const Ct=Ye.$implicit;I.Y8G("hasChevron",!0),I.R7$(2),I.JRh(Ct.name),I.R7$(3),I.JRh(Ct.profileSummary)}}function Xe(Be,Ye){if(1&Be&&(I.j41(0,"app-side-sheet-list"),I.DNE(1,Oe,6,3,"app-side-sheet-list-item",11),I.k0s()),2&Be){const Ct=I.XpG(2);I.R7$(),I.Y8G("ngForOf",Ct.apiKeyMetaObjects)}}function Pe(Be,Ye){if(1&Be){const Ct=I.RV6();I.j41(0,"app-empty-state",14),I.bIt("actionClick",function(){I.eBV(Ct);const Vt=I.XpG(2);return I.Njj(Vt.createAPIKey())}),I.k0s()}}function $e(Be,Ye){if(1&Be&&(I.qex(0),I.DNE(1,Xe,2,1,"app-side-sheet-list",10)(2,Pe,1,0,"ng-template",null,0,I.C5r),I.bVm()),2&Be){const Ct=I.sdS(3),Lt=I.XpG();I.R7$(),I.Y8G("ngIf",null==Lt.apiKeyMetaObjects?null:Lt.apiKeyMetaObjects.length)("ngIfElse",Ct)}}let ze=(()=>{class Be{constructor(Ct,Lt,Vt,ht,gt,Ge){this._document=Ct,this.settingsAPIService=Lt,this.objectLaunchService=Vt,this.sideSheetService=ht,this.toastService=gt,this.featureFlagService=Ge,this.apiKeyMetaObjects=[],this.loading$=new n.t(y.Gu.inProgress),this.loadingStates=y.Gu,this.unsubscribe$=new a.B;let Se=this.toggleApiDocsUrl();this.documentation=new URL(Se,this._document.location.origin),this.typeTip="app/api-key-meta"}toggleApiDocsUrl(){let Ct="api/docs";return this.featureFlagService.allFeatureFlags$.subscribe(Lt=>{const ht=Array.from(Lt.keys()).find(gt=>gt==pe.g.FEATURE_EIM_16451_REST_API_DOCS_V2);ht&&(Ct=Lt.get(ht)?"api/v2-docs":"api/docs")}),Ct}ngOnInit(){this.settingsAPIService.getAllAPIKeyMeta().pipe((0,le.Q)(this.unsubscribe$)).subscribe(Ct=>{this.apiKeyMetaObjects=Ct,this.loading$.next(y.Gu.loaded)},()=>{this.loading$.next(y.Gu.failed)})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}createAPIKey(){this.objectLaunchService.pushSheet({typeTip:this.typeTip},this.unsubscribe$).subscribe(this.createAPIKeyAndLaunchReviewAPIKeySheet.bind(this))}editAPIKey(Ct){this.objectLaunchService.pushSheet({objectTip:Ct},this.unsubscribe$).subscribe(this.acknowledgeEditAndCloseSideSheet.bind(this))}createAPIKeyAndLaunchReviewAPIKeySheet({objectTip:Ct}){this.sideSheetService.pop();const{componentInstance:Lt}=this.sideSheetService.push(ne);this.settingsAPIService.createAPIKey(Ct).pipe((0,g.$)()).subscribe(Vt=>{Lt.setProps({apiKey:Vt,apiKeyMetaTip:Ct}),Lt.populateReviewForm()},()=>{this.toastService.showErrorToast("Failed to create API key"),this.sideSheetService.pop()})}acknowledgeEditAndCloseSideSheet({deleted:Ct}){this.toastService.showSuccessToast(Ct?"API key deleted":"API key updated"),this.sideSheetService.pop()}static#e=this.\u0275fac=function(Lt){return new(Lt||Be)(I.rXU(x.qQ),I.rXU(z),I.rXU(te.a),I.rXU(k.E),I.rXU(Y.f),I.rXU(ae.y))};static#t=this.\u0275cmp=I.VBU({type:Be,selectors:[["app-settings-api"]],decls:16,vars:12,consts:[["showEmptyState",""],["type","danger",4,"ngIf"],[3,"appSpinner"],["title","API keys",3,"showBorder"],["buttons",""],["data-test","plus-button",1,"ml-1","eim-button_minimized","btn","btn-secondary",3,"click"],["svgIcon","plus"],["appTabIndex","","target","_blank","rel","noopener noreferrer",3,"href"],[4,"ngIf"],["type","danger"],[4,"ngIf","ngIfElse"],[3,"hasChevron","click",4,"ngFor","ngForOf"],[3,"click","hasChevron"],[2,"font-size","1.1rem"],["imgSrc","assets/img/empty-states/empty-state-generic.svg","label","No API keys generated","actionText","Generate an API key",3,"actionClick"]],template:function(Lt,Vt){1&Lt&&(I.j41(0,"app-side-sheet-header"),I.EFF(1,"Manage API keys"),I.k0s(),I.DNE(2,Ae,2,0,"app-alert",1),I.nI1(3,"async"),I.j41(4,"div",2),I.nI1(5,"async"),I.j41(6,"app-side-sheet-section",3)(7,"div",4)(8,"button",5),I.bIt("click",function(){return Vt.createAPIKey()}),I.nrm(9,"mat-icon",6),I.k0s()(),I.j41(10,"p"),I.EFF(11,"Create keys to access the Noggin Connect API. Link to documentation: "),I.j41(12,"a",7),I.EFF(13),I.k0s()(),I.DNE(14,$e,4,2,"ng-container",8),I.nI1(15,"async"),I.k0s()()),2&Lt&&(I.R7$(2),I.Y8G("ngIf",I.bMT(3,6,Vt.loading$)===Vt.loadingStates.failed),I.R7$(2),I.Y8G("appSpinner",I.bMT(5,8,Vt.loading$)===Vt.loadingStates.inProgress),I.R7$(2),I.Y8G("showBorder",!1),I.R7$(6),I.Y8G("href",Vt.documentation,I.B4B),I.R7$(),I.JRh(Vt.documentation),I.R7$(),I.Y8G("ngIf",I.bMT(15,10,Vt.loading$)===Vt.loadingStates.loaded))},dependencies:[x.Sq,x.bT,K.N,de.A,B.R,Me.D,me.An,be.o,j.b,$.C,Le.d,x.Jj],styles:["p[_ngcontent-%COMP%]{color:#273c4e}"],changeDetection:0})}return Be})()},9461:(at,N,s)=>{"use strict";s.d(N,{c:()=>q});var n=s(89417),a=s(36939),g=s(73070),m=s(69172),T=s(96697),O=s(23294),D=s(56977),E=s(389),y=s(68030),I=s(21413),b=s(93953),L=s(6153),o=s(50337),C=s(19937),w=s(29968);function M(z,F){if(1&z){const U=b.RV6();b.j41(0,"div",7)(1,"button",8),b.bIt("click",function(){b.eBV(U);const Y=b.XpG();return b.Njj(Y.deleteMessageLabel())}),b.EFF(2,"Delete"),b.k0s()()}}let q=(()=>{class z{constructor(U,k,Y,x){this.messageLabelService=U,this.sideSheetService=k,this.toastService=Y,this.modalService=x,this.colors=m.H6,this.loadingState=m.Gu.inProgress,this.loadingStates=m.Gu,this.newMessageLabelForm=new n.gE({name:new n.MJ("",n.k0.required),color:new n.MJ(null)}),this.destroyed$=new I.B}ngOnInit(){this.title=this.messageLabelToUpdate?.$tip?"Edit message label":"New message label",this.loadMessageLabel()}ngAfterViewInit(){this.messageLabelsFormChangeEvents()}loadMessageLabel(){this.messageLabelToUpdate?.$tip&&(this.newMessageLabelForm.get("name").setValue(this.messageLabelToUpdate.name),this.newMessageLabelForm.get("color").setValue(this.messageLabelToUpdate.color)),this.loadingState=m.Gu.loaded}onSave(){this.loadingState=this.loadingStates.inProgress;const U={name:this.newMessageLabelForm.value.name,color:this.newMessageLabelForm.value.color??g.EN.COLOR};this.messageLabelService.saveMessageLabel(this.messageLabelToUpdate?.$tip,U,g.Ln).pipe((0,T.s)(1)).subscribe(()=>{this.sideSheetService.makeClean(),this.sideSheetService.clear(),this.sideSheetService.pop(),this.loadingState=this.loadingStates.loaded,this.sideSheetService.push(E.K),this.toastService.showSuccessToast("Message label settings saved.")},k=>{this.loadingState=m.Gu.failed,this.toastService.showErrorToast(k instanceof a.g?k.message:"Failed to update message label settings")})}messageLabelsFormChangeEvents(){this.newMessageLabelForm.valueChanges.pipe((0,O.F)(),(0,D.Q)(this.destroyed$)).subscribe(U=>{this.isDirty||(this.isDirty=!0,this.sideSheetService.makeDirty())})}deleteMessageLabel(){if(this.messageLabelToUpdate.$tip){const U=this.modalService.open(y.F,y.G);U.componentInstance.title="Delete message label",U.componentInstance.message="Do you really want to delete this message label from the system and all messages it has been applied to? This will also impact any dashboards or workflows that have been configured using this message label.",U.result.then(k=>{k&&this.removeMessageLabel()}).catch(()=>{})}}removeMessageLabel(){this.sideSheetService.makeClean(),this.loadingState=this.loadingStates.inProgress,this.messageLabelService.deleteEnoByTip(this.messageLabelToUpdate.$tip).pipe((0,T.s)(1)).subscribe(U=>{this.loadingState=m.Gu.loaded,this.toastService.showSuccessToast("Message label settings deleted"),this.sideSheetService.clear(),this.sideSheetService.push(E.K)},U=>{this.loadingState=m.Gu.failed,this.toastService.showErrorToast(U instanceof a.g?U.message:"Failed to delete")})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}static#e=this.\u0275fac=function(k){return new(k||z)(b.rXU(L.A),b.rXU(o.E),b.rXU(C.f),b.rXU(w.Bq))};static#t=this.\u0275cmp=b.VBU({type:z,selectors:[["app-manage-message-label"]],decls:9,vars:9,consts:[["action","Save",3,"actioned","showCancelButton","disabled"],[1,"mt-6",3,"appSpinner"],[3,"showBorder"],[3,"formGroup"],["data-test","list-item-label-form-field","label","Name","placeholder","Enter name","maxlength","250","formControlName","name",3,"required"],["label","Color","formControlName","color",3,"options"],["class","form-options d-flex justify-content-center pl-2 pr-2 mt-4",4,"ngIf"],[1,"form-options","d-flex","justify-content-center","pl-2","pr-2","mt-4"],[1,"btn","btn-danger",3,"click"]],template:function(k,Y){1&k&&(b.j41(0,"app-side-sheet-header",0),b.bIt("actioned",function(){return Y.onSave()}),b.EFF(1),b.k0s(),b.j41(2,"div",1)(3,"app-side-sheet-section",2)(4,"form",3),b.nrm(5,"app-text-field",4)(6,"app-color-picker-field",5),b.k0s()(),b.j41(7,"app-side-sheet-section"),b.DNE(8,M,3,0,"div",6),b.k0s()()),2&k&&(b.Y8G("showCancelButton",!0)("disabled",!Y.newMessageLabelForm.valid),b.R7$(),b.JRh(Y.title),b.R7$(),b.Y8G("appSpinner",Y.loadingState===Y.loadingStates.inProgress),b.R7$(),b.Y8G("showBorder",!1),b.R7$(),b.Y8G("formGroup",Y.newMessageLabelForm),b.R7$(),b.Y8G("required",!0),b.R7$(),b.Y8G("options",Y.colors),b.R7$(2),b.Y8G("ngIf",null==Y.messageLabelToUpdate?null:Y.messageLabelToUpdate.$tip))},changeDetection:0})}return z})()},389:(at,N,s)=>{"use strict";s.d(N,{K:()=>Q});var n=s(69172),a=s(69595),g=s(73070),m=s(25558),T=s(56977),O=s(67376),E=s(9461),y=s(36939),I=s(2937),b=s(21413),L=s(7673),o=s(1807),C=s(93953),w=s(50337),M=s(6153),q=s(19937);const z=(le,pe)=>({"mt-6":le,"mt-1":pe}),F=le=>({"background-color":le});function U(le,pe){1&le&&(C.qex(0),C.pXf(1,0),C.bVm())}function k(le,pe){1&le&&(C.qex(0),C.EFF(1," Message labels "),C.bVm())}function Y(le,pe){1&le&&(C.j41(0,"div"),C.pXf(1,1),C.k0s())}function x(le,pe){if(1&le){const te=C.RV6();C.j41(0,"div",11)(1,"div",12)(2,"app-filter-and-add",13),C.mxI("filterTextChange",function(K){C.eBV(te);const de=C.XpG();return C.DH7(de.filterText,K)||(de.filterText=K),C.Njj(K)}),C.bIt("keyup.enter",function(){C.eBV(te);const K=C.XpG();return C.Njj(K.searchByText())})("keyup.shift.enter",function(){C.eBV(te);const K=C.XpG();return C.Njj(K.searchByText())})("add",function(){C.eBV(te);const K=C.XpG();return C.Njj(K.createMessageLabel())}),C.k0s()()()}if(2&le){const te=C.XpG();C.R7$(2),C.Y8G("delayTime",0),C.R50("filterText",te.filterText),C.Y8G("showAddButton","multiselect"!==te.mode&&"singleselect"!==te.mode)}}function B(le,pe){if(1&le&&C.nrm(0,"div",19),2&le){const te=C.XpG(2).$implicit;C.Y8G("ngStyle",C.eq3(1,F,null==te?null:te.color))}}function j(le,pe){if(1&le&&(C.j41(0,"div",11),C.DNE(1,B,1,3,"div",17),C.j41(2,"span",18),C.EFF(3),C.k0s()()),2&le){const te=C.XpG().$implicit;C.R7$(),C.Y8G("ngIf",null==te?null:te.color),C.R7$(),C.Y8G("title",null==te?null:te.name),C.R7$(),C.JRh(null==te?null:te.name)}}function $(le,pe){if(1&le){const te=C.RV6();C.j41(0,"app-side-sheet-list-item",16),C.bIt("click",function(){const K=C.eBV(te).$implicit,de=C.XpG(2);return C.Njj(de.editMessageLabel(K))})("toggle",function(K){C.eBV(te);const de=C.XpG(2);return C.Njj(de.toggleMessageLabel(K))}),C.DNE(1,j,4,3,"div",6),C.k0s()}if(2&le){const te=pe.$implicit,ae=C.XpG(2);C.Y8G("hasChevron","multiselect"!==ae.mode&&"singleselect"!==ae.mode)("toggleType",ae.toggleType)("isItemNavigable",!1)("key","multiselect"===ae.mode||"singleselect"===ae.mode?te.$tip:"")("value",ae.isSelected(null==te?null:te.$tip)),C.R7$(),C.Y8G("ngIf",te)}}function H(le,pe){if(1&le){const te=C.RV6();C.j41(0,"app-side-sheet-list",14),C.mxI("selectedChange",function(K){C.eBV(te);const de=C.XpG();return C.DH7(de.selectedMessageLabelTips,K)||(de.selectedMessageLabelTips=K),C.Njj(K)}),C.bIt("showMore",function(){C.eBV(te);const K=C.XpG();return C.Njj(K.onShowMore())}),C.DNE(1,$,2,6,"app-side-sheet-list-item",15),C.k0s()}if(2&le){const te=C.XpG();C.Y8G("mode",te.sideSheetListModes),C.R50("selected",te.selectedMessageLabelTips),C.Y8G("showMoreButton",te.showMoreButtonOnMessageLabels),C.R7$(),C.Y8G("ngForOf",te.messageLabels)}}function ie(le,pe){if(1&le){const te=C.RV6();C.j41(0,"app-empty-state",20),C.bIt("actionClick",function(){C.eBV(te);const K=C.XpG();return C.Njj(K.createMessageLabel())}),C.k0s()}}function ne(le,pe){1&le&&C.nrm(0,"app-empty-state",21)}let Q=(()=>{class le{constructor(te,ae,K,de){this.sideSheetService=te,this.cdr=ae,this.messageLabelService=K,this.toastService=de,this.loadingState=n.Gu.inProgress,this.loadingStates=n.Gu,this.mode=a.X.NONE,this.filterText="",this.messageLabels=[],this.sideSheetListModes=a.X.NONE,this.isMessageLabelEmpty=!1,this.prevMessageLabels=[],this.textLimit=25,this.showMoreButtonOnMessageLabels=!1,this.limit=200,this.offset=0,this.selectedMessageLabels=[],this.selectedMessageLabelTips=[],this.prefilterMessageLabelTips=[],this.maxLabelLimit=10,this.destroy$=new b.B,this.messageLabelType=""}ngOnInit(){this.selectedMessageLabelTips=this.selectedMessageLabels?this.selectedMessageLabels.map(te=>te?.$tip):[],this.loadMessageLabelSettings(),this.setDefaultOptions(),this.actionLabel=this.mode===a.X.MULTI_SELECT||a.X.SINGLE_SELECT?"Done":""}onShowMore(){this.prevMessageLabels=(0,O.cloneDeep)([...this.messageLabels]),this.offset+=this.limit,this.loadMessageLabelSettings()}loadMessageLabelSettings({offset:te=this.offset,limit:ae=this.limit,searchText:K=this.filterText}={offset:this.offset,limit:this.limit,searchText:this.filterText}){(this.prefilterMessageLabelTips.length>0&&0===K.length?this.messageLabelService.getMessageLabelsByTips(this.prefilterMessageLabelTips.slice(this.offset,this.limit+this.offset)):this.messageLabelService.getAllMessageLabels({offset:te,limit:ae,searchText:K})).pipe((0,m.n)(Me=>0===Me.length&&this.prefilterMessageLabelTips.length>0&&0===K.length?this.messageLabelService.getAllMessageLabels({offset:te,limit:ae,searchText:K}):(this.prefilterMessageLabelTips.length>0&&(Me=Me.filter(me=>this.prefilterMessageLabelTips.indexOf(me.$tip)>-1)),(0,L.of)(Me))),(0,T.Q)(this.destroy$)).subscribe(Me=>{this.messageLabels=[],this.messageLabels=(0,O.cloneDeep)([...this.prevMessageLabels,...Me]),this.showMoreButtonOnMessageLabels=!(Me.length<this.limit),this.isMessageLabelEmpty=0==this.messageLabels.length&&""==K,this.loadingState=n.Gu.loaded,this.cdr.detectChanges()},Me=>{this.loadingState=n.Gu.failed,this.toastService.showErrorToast(Me instanceof y.g?Me.message:"Failed to load message label settings"),this.cdr.detectChanges()})}isSelected(te){return this.selectedMessageLabels?.some(ae=>te===ae.$tip)}searchByText(){this.offset=0,this.messageLabels=[],this.prevMessageLabels=[],this.loadMessageLabelSettings()}createMessageLabel(){this.messageLabelService.getAllMessageLabels().pipe((0,T.Q)(this.destroy$)).subscribe(te=>{te?.length>=g.t2.LIMIT?this.toastService.showWarningToast("Limit exceeded: Cannot add more than 500 message labels"):this.sideSheetService.push(E.c)})}onCancel(){this.sideSheetService.pop()}editMessageLabel(te){this.mode===a.X.NONE&&(this.sideSheetService.push(E.c).componentInstance.messageLabelToUpdate=te)}toggleMessageLabel(te){if(te?.length>0)if(this.isSelected(te))this.selectedMessageLabels=this.selectedMessageLabels?.filter(ae=>ae?.$tip!==te);else{const ae=(0,O.find)(this.messageLabels,{$tip:te});if(ae){if(this.mode===a.X.SINGLE_SELECT)return void(this.selectedMessageLabels=[ae]);this.selectedMessageLabels=this.selectedMessageLabels?(0,O.cloneDeep)(this.selectedMessageLabels):[],this.selectedMessageLabels?.push(ae),(0,O.uniq)(this.selectedMessageLabels),(0,o.O)(0).pipe((0,T.Q)(this.destroy$)).subscribe(()=>{"preFilter"!==this.messageLabelType&&"postFilter"!==this.messageLabelType&&this.selectedMessageLabels.length>this.maxLabelLimit&&(this.selectedMessageLabels.pop(),this.cdr.detectChanges(),this.toastService.showWarningToast("The maximum number of messages labels has reached, no more then 10 labels can be applied."))})}}}onAction(){this.done&&this.done({selected:(0,O.cloneDeep)(this.selectedMessageLabels)}),this.sideSheetService.pop()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setDefaultOptions(){this.sideSheetListModes=this.mode,this.toggleType=this.mode===a.X.MULTI_SELECT?I.T.MULTI_CHECK:I.T.NO_TOGGLE}static#e=this.\u0275fac=function(ae){return new(ae||le)(C.rXU(w.E),C.rXU(C.gRc),C.rXU(M.A),C.rXU(q.f))};static#t=this.\u0275cmp=C.VBU({type:le,selectors:[["app-message-labels"]],viewQuery:function(ae,K){if(1&ae&&C.GBs(a.A,5),2&ae){let de;C.mGM(de=C.lsd())&&(K.list=de.first)}},decls:11,vars:19,consts:()=>{let te,ae,K;return te="No message labels here",ae=" Select message label ",K=" There are no message labels available. Ask your system administrator to create the labels you need. ",[ae,K,[3,"actioned","goBack","action","showBackIcon","showCancelButton"],[4,"ngIf"],[3,"appSpinner","ngClass"],[1,"px-3","py-2"],["class","d-flex align-items-center",4,"ngIf"],[3,"overridePadding","showHeader","showBorder","title"],[3,"mode","selected","showMoreButton","selectedChange","showMore",4,"ngIf"],["imgSrc","assets/img/empty-states/Group3.svg","label","No message labels here","actionText","Add a message label",3,"actionClick",4,"ngIf"],["imgSrc","assets/img/empty-states/Group3.svg","label",te,4,"ngIf"],[1,"d-flex","align-items-center"],[1,"search-input","flex-grow-1"],[3,"filterTextChange","keyup.enter","keyup.shift.enter","add","delayTime","filterText","showAddButton"],[3,"selectedChange","showMore","mode","selected","showMoreButton"],[3,"hasChevron","toggleType","isItemNavigable","key","value","click","toggle",4,"ngFor","ngForOf"],[3,"click","toggle","hasChevron","toggleType","isItemNavigable","key","value"],["class","d-flex justify-content-center align-items-center option float-left mr-3",3,"ngStyle",4,"ngIf"],[1,"line-clamp",3,"title"],[1,"d-flex","justify-content-center","align-items-center","option","float-left","mr-3",3,"ngStyle"],["imgSrc","assets/img/empty-states/Group3.svg","label","No message labels here","actionText","Add a message label",3,"actionClick"],["imgSrc","assets/img/empty-states/Group3.svg","label",te]]},template:function(ae,K){1&ae&&(C.j41(0,"app-side-sheet-header",2),C.bIt("actioned",function(){return K.onAction()})("goBack",function(){return K.onCancel()}),C.DNE(1,U,2,0,"ng-container",3)(2,k,2,0,"ng-container",3),C.k0s(),C.j41(3,"div",4)(4,"div",5),C.DNE(5,Y,2,0,"div",3)(6,x,3,3,"div",6),C.j41(7,"app-side-sheet-section",7),C.DNE(8,H,2,4,"app-side-sheet-list",8)(9,ie,1,0,"app-empty-state",9)(10,ne,1,0,"app-empty-state",10),C.k0s()()()),2&ae&&(C.Y8G("action",K.actionLabel)("showBackIcon","multiselect"!==K.mode&&"singleselect"!==K.mode)("showCancelButton","multiselect"===K.mode||"singleselect"===K.mode),C.R7$(),C.Y8G("ngIf","multiselect"===K.mode||"singleselect"===K.mode),C.R7$(),C.Y8G("ngIf","multiselect"!==K.mode&&"singleselect"!==K.mode),C.R7$(),C.Y8G("appSpinner",K.loadingState===K.loadingStates.inProgress)("ngClass",C.l_i(16,z,"multiselect"!==K.mode&&"singleselect"!==K.mode,"multiselect"===K.mode||"singleselect"===K.mode)),C.R7$(2),C.Y8G("ngIf",K.loadingState!==K.loadingStates.inProgress&&0===K.messageLabels.length&&K.isMessageLabelEmpty&&"multiselect"===K.mode&&"preFilter"!==K.messageLabelType),C.R7$(),C.Y8G("ngIf",!(K.loadingState!==K.loadingStates.inProgress&&0===K.messageLabels.length&&K.isMessageLabelEmpty&&"multiselect"===K.mode)),C.R7$(),C.Y8G("overridePadding","multiselect"===K.mode||"singleselect"===K.mode)("showHeader","multiselect"!==K.mode&&"singleselect"!==K.mode)("showBorder","multiselect"!==K.mode&&"singleselect"!==K.mode)("title","multiselect"!==K.mode&&"singleselect"!==K.mode?"Message labels":""),C.R7$(),C.Y8G("ngIf",0!==(null==K.messageLabels?null:K.messageLabels.length)),C.R7$(),C.Y8G("ngIf",K.loadingState!==K.loadingStates.inProgress&&0===(null==K.messageLabels?null:K.messageLabels.length)&&K.isMessageLabelEmpty&&"multiselect"!==K.mode&&"preFilter"!==K.messageLabelType),C.R7$(),C.Y8G("ngIf",K.loadingState!==K.loadingStates.inProgress&&0===K.messageLabels.length&&K.isMessageLabelEmpty&&"multiselect"===K.mode))},styles:[".option[_ngcontent-%COMP%]{width:2.2rem;height:2.2rem;border-radius:3px;flex:none;cursor:pointer}.line-clamp[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"],changeDetection:0})}return le})()},6153:(at,N,s)=>{"use strict";s.d(N,{A:()=>M});var n=s(67376),g=s(21413),m=s(96354),T=s(25558),O=s(40673),D=s(73070),E=s(92597),y=s(790),I=s(55516),b=s(93953),L=s(51229),o=s(44667),C=s(99760),w=s(25687);let M=(()=>{class q{constructor(F,U,k,Y){this.queryService=F,this.objectService=U,this.enoService=k,this.formulaMultiService=Y,this.messageLabels$=new g.B}getAllMessageLabels({offset:F,limit:U,searchText:k}={offset:void 0,limit:void 0,searchText:void 0}){return this.queryService.execute1dFirst(I.R.GET_ALL_MESSAGE_LABELS,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:F,limit:U,sortby:['FIELD("app/message-label:name")'],sortdir:["asc"]}],extraFilters:[{label:"Search message labels",formula:'NOT(EQUALS(FIND_TEXT(FIELD("app/message-label:name"), VAR("searchText")), -1))'}],vars:{searchText:[k]}})}saveMessageLabel(F,U,k){const Y={$tip:F||null,$type:"app/message-label",$security:O.Ay.SECURITY.INSTANCE_USER_ADMIN,...U};return this.objectService.setObject(Y,k).pipe((0,m.T)(x=>(0,n.get)((0,n.head)(x),"tip")))}getMessageLabelsByTips(F){return this.filterDeletedMessageLabels(F).pipe((0,T.n)(U=>{const k=U?.length>0?F.filter((Y,x)=>"true"===U[x][0]):F;return this.objectService.getObjects(k,D.Ln)}))}filterDeletedMessageLabels(F){let U=[];return F?.forEach(k=>{U=U.concat([{formula:(0,E.Ac)({name:"ENO_EXISTS",args:[k]}),watch:!1}])}),this.formulaMultiService.evaluate(U,y.q.USE_NETWORK_NO_CACHE)}deleteEnoByTip(F){return this.enoService.deleteEno(F)}static#e=this.\u0275fac=function(U){return new(U||q)(b.KVO(L.c),b.KVO(o.T),b.KVO(C.g),b.KVO(w.$))};static#t=this.\u0275prov=b.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})()},90308:(at,N,s)=>{"use strict";s.d(N,{k:()=>M});var n=s(93953),a=s(27808),g=s(89417),m=s(69172),T=s(29968),O=s(17971),D=s(21413),E=s(96697),y=s(70980),I=s(23294),b=s(56977),L=s(50337),o=s(19937),C=s(68030);function w(q,z){if(1&q){const F=n.RV6();n.j41(0,"div",7)(1,"div",8)(2,"button",9),n.nrm(3,"mat-icon",10),n.k0s(),n.j41(4,"div",11)(5,"div")(6,"button",12),n.bIt("click",function(){n.eBV(F);const k=n.XpG();return n.Njj(k.onDelete())}),n.EFF(7,"Delete plan category..."),n.k0s()()()()()}if(2&q){const F=n.XpG();n.R7$(6),n.Y8G("disabled",F.loadingState===F.loadingStates.inProgress)}}let M=(()=>{class q{constructor(){this.colors=m.H6,this.loadingState=m.Gu.inProgress,this.loadingStates=m.Gu,this.planCategoryForm=new g.gE({name:new g.MJ("",[g.k0.required,g.k0.maxLength(250)]),color:new g.MJ(null)}),this.destroyed$=new D.B,this.sideSheetService=(0,n.WQX)(L.E),this.modalService=(0,n.WQX)(T.Bq),this.settingsPlanService=(0,n.WQX)(O.m),this.toastService=(0,n.WQX)(o.f),this.cdr=(0,n.WQX)(n.gRc)}ngOnInit(){this.title=this.planCategoryToUpdate?.$tip?"Edit plan category":"New plan category",this.loadPlanCategory(),this.planCategoryFormChangeEvents()}loadPlanCategory(){this.planCategoryToUpdate?.$tip&&(this.planCategoryForm.get("name").setValue(this.planCategoryToUpdate.name),this.planCategoryForm.get("color").setValue(this.planCategoryToUpdate.color)),this.loadingState=m.Gu.loaded}onSave(){this.loadingState=this.loadingStates.inProgress;const F={name:this.planCategoryForm.value.name,color:this.planCategoryForm.value.color??a.OM.COLOR};this.settingsPlanService.savePlanCategory(this.planCategoryToUpdate?.$tip,F,a.H3).pipe((0,E.s)(1)).subscribe({next:U=>{this.sideSheetService.makeClean(),this.sideSheetService.pop(),this.loadingState=this.loadingStates.loaded,this.toastService.showSuccessToast("Plan category saved."),this.done?.({$tip:U,...F})},error:()=>{this.loadingState=m.Gu.failed,this.toastService.showErrorToast("Unable to save plan category")}})}onDelete(){if(this.planCategoryToUpdate?.$tip){const F=this.modalService.open(C.F,C.G);F.componentInstance.title="Delete plan category",F.componentInstance.message="Do you really want to delete this plan category and remove it from all plan templates it is applied to? This also removes the plan category from dashboards and workflows that use it.",F.result.then(U=>{U&&this.removePlanCategory()}).catch(()=>{})}}removePlanCategory(){this.loadingState=this.loadingStates.inProgress,this.cdr.detectChanges(),this.settingsPlanService.deleteEnoByTip(this.planCategoryToUpdate.$tip).pipe((0,E.s)(1),(0,y.j)(()=>this.cdr.detectChanges())).subscribe({next:F=>{this.loadingState=m.Gu.loaded,this.toastService.showSuccessToast("Plan category deleted"),this.sideSheetService.pop(),this.done?.(this.planCategoryToUpdate)},error:()=>{this.loadingState=m.Gu.failed,this.toastService.showErrorToast("Unable to delete plan category")}})}planCategoryFormChangeEvents(){this.planCategoryForm.valueChanges.pipe((0,I.F)(),(0,b.Q)(this.destroyed$)).subscribe(F=>{this.isDirty||(this.isDirty=!0,this.sideSheetService.makeDirty())})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}static#e=this.\u0275fac=function(U){return new(U||q)};static#t=this.\u0275cmp=n.VBU({type:q,selectors:[["app-manage-plan-category"]],decls:8,vars:10,consts:[["action","Save",3,"actioned","showCancelButton","disabled"],[3,"appSpinner"],["class","d-flex justify-content-end mt-3 px-3 remove-space",4,"ngIf"],[3,"showBorder","showHeader"],[3,"formGroup"],["data-test","list-item-label-form-field","label","Name","placeholder","Enter category name","maxlength","250","formControlName","name",3,"required"],["label","Color","formControlName","color",3,"options"],[1,"d-flex","justify-content-end","mt-3","px-3","remove-space"],["ngbDropdown","","placement","bottom-right",1,"nav-item","dropdown","mt-1","d-flex"],["ngbDropdownToggle","","title","More actions",1,"eim-button_minimized","btn","btn-secondary","ml-1"],["svgIcon","more"],["ngbDropdownMenu","","role","menu",1,"dropdown-menu"],["appTabIndex","","role","menuitem","data-test","edit-data-source-more-action-delete-button",1,"dropdown-item",3,"click","disabled"]],template:function(U,k){1&U&&(n.j41(0,"app-side-sheet-header",0),n.bIt("actioned",function(){return k.onSave()}),n.EFF(1),n.k0s(),n.j41(2,"div",1),n.DNE(3,w,8,1,"div",2),n.j41(4,"app-side-sheet-section",3)(5,"form",4),n.nrm(6,"app-text-field",5)(7,"app-color-picker-field",6),n.k0s()()()),2&U&&(n.Y8G("showCancelButton",!0)("disabled",!k.planCategoryForm.valid||k.planCategoryForm.pristine),n.R7$(),n.JRh(k.title),n.R7$(),n.Y8G("appSpinner",k.loadingState===k.loadingStates.inProgress),n.R7$(),n.Y8G("ngIf",null==k.planCategoryToUpdate?null:k.planCategoryToUpdate.$tip),n.R7$(),n.Y8G("showBorder",!1)("showHeader",!1),n.R7$(),n.Y8G("formGroup",k.planCategoryForm),n.R7$(),n.Y8G("required",!0),n.R7$(),n.Y8G("options",k.colors))},styles:["[_nghost-%COMP%]{display:block}.remove-space[_ngcontent-%COMP%]{margin-bottom:-30px!important}"],changeDetection:0})}return q})()},54234:(at,N,s)=>{"use strict";s.d(N,{p:()=>k});var n=s(93953),a=s(69172),g=s(27808),m=s(50337),T=s(17971),O=s(19937),D=s(96697),E=s(1807),y=s(67376),b=s(90308),L=s(69595);const o=(Y,x)=>({"py-2":Y,"pt-2":x}),C=Y=>({"py-2":Y}),w=Y=>({"background-color":Y});function M(Y,x){if(1&Y&&n.nrm(0,"div",16),2&Y){const B=n.XpG(2).$implicit;n.Y8G("ngStyle",n.eq3(1,w,null==B?null:B.color))}}function q(Y,x){if(1&Y&&(n.j41(0,"div",13),n.DNE(1,M,1,3,"div",14),n.j41(2,"span",15),n.EFF(3),n.k0s()()),2&Y){const B=n.XpG().$implicit;n.R7$(),n.Y8G("ngIf",null==B?null:B.color),n.R7$(),n.Y8G("title",null==B?null:B.name),n.R7$(),n.JRh(null==B?null:B.name)}}function z(Y,x){if(1&Y){const B=n.RV6();n.j41(0,"app-side-sheet-list-item",11),n.bIt("click",function(){const $=n.eBV(B).$implicit,H=n.XpG(2);return n.Njj(H.editPlanCategory($))})("toggle",function($){n.eBV(B);const H=n.XpG(2);return n.Njj(H.togglePlanCategory($))}),n.DNE(1,q,4,3,"div",12),n.k0s()}if(2&Y){const B=x.$implicit,j=n.XpG(2);n.Y8G("hasChevron","multiselect"!==j.mode&&"singleselect"!==j.mode)("key",B.$tip)("value",j.isSelected(B.$tip)),n.R7$(),n.Y8G("ngIf",B)}}function F(Y,x){if(1&Y){const B=n.RV6();n.j41(0,"app-side-sheet-list",9),n.bIt("showMore",function(){n.eBV(B);const $=n.XpG();return n.Njj($.onShowMore())}),n.DNE(1,z,2,4,"app-side-sheet-list-item",10),n.k0s()}if(2&Y){const B=n.XpG();n.Y8G("showMoreButton",B.showMoreButtonOnPlanCategories)("mode",B.mode),n.R7$(),n.Y8G("ngForOf",B.planCategories)}}function U(Y,x){if(1&Y){const B=n.RV6();n.j41(0,"app-empty-state",17),n.bIt("actionClick",function(){n.eBV(B);const $=n.XpG();return n.Njj($.createPlanCategory())}),n.k0s()}}let k=(()=>{class Y{constructor(){this.loadingState=a.Gu.inProgress,this.loadingStates=a.Gu,this.title="Plan categories",this.actionLabel="",this.planCategories=[],this.previousPlanCategories=[],this.isPlanCategoryEmpty=!0,this.showMoreButtonOnPlanCategories=!1,this.mode=L.X.NONE,this.canAdd=!0,this.showBorder=!0,this.selectedPlanCategories=[],this.isFilter=!1,this.showHeader=!0,this.offset=0,this.limit=100,this.filterText="",this.showCancelButton=!1,this.MAX_CATEGORY_LIMIT=10,this.sidesheetService=(0,n.WQX)(m.E),this.cdr=(0,n.WQX)(n.gRc),this.settingsPlanService=(0,n.WQX)(T.m),this.toastService=(0,n.WQX)(O.f)}ngOnInit(){this.loadPlanCategories()}loadPlanCategories({offset:B=this.offset,limit:j=this.limit,searchText:$=this.filterText}={offset:this.offset,limit:this.limit,searchText:this.filterText}){this.settingsPlanService.getAllPlanCategories({offset:B,limit:j,searchText:$}).pipe((0,D.s)(1)).subscribe({next:H=>{this.planCategories=[...this.previousPlanCategories,...H],this.showMoreButtonOnPlanCategories=!(H.length<this.limit),this.isPlanCategoryEmpty=0==this.planCategories.length&&""==$,this.loadingState=a.Gu.loaded,this.cdr.detectChanges()},error:()=>{this.loadingState=a.Gu.failed,this.toastService.showErrorToast("Failed to load plan categories"),this.cdr.detectChanges()}})}createPlanCategory(){this.settingsPlanService.getAllPlanCategories().pipe((0,D.s)(1)).subscribe(B=>{B?.length>=g.nZ.LIMIT?this.toastService.showWarningToast("You have added the maximum number of plan categories. You can add upto 500 categories."):this.sidesheetService.push(b.k).componentInstance.done=H=>{this.loadingState=a.Gu.inProgress,this.cdr.detectChanges(),this.loadPlanCategories()}})}editPlanCategory(B){if(this.mode===L.X.MULTI_SELECT||this.mode===L.X.SINGLE_SELECT)return;const $=this.sidesheetService.push(b.k).componentInstance;$.planCategoryToUpdate=B,$.done=H=>{this.loadingState=a.Gu.inProgress,this.cdr.detectChanges(),this.loadPlanCategories()}}addSelectedPlanCategories(B){const[j,$]=(0,y.partition)(B,y.isString);(0,y.isEmpty)(j)?this.selectedPlanCategories=[...this.selectedPlanCategories,...$]:this.settingsPlanService.getPlanCategories(j).pipe((0,D.s)(1)).subscribe({next:H=>{this.selectedPlanCategories=[...this.selectedPlanCategories,...$,...H]},error:H=>{this.toastService.showErrorToast("Unable to load selected plan categories")}})}onAction(){this.done?.(this.selectedPlanCategories),this.sidesheetService.pop()}onCancel(){this.sidesheetService.pop()}onShowMore(){this.loadingState=a.Gu.inProgress,this.cdr.detectChanges(),this.offset+=this.limit,this.previousPlanCategories=(0,y.cloneDeep)([...this.planCategories]),this.planCategories=[],this.loadPlanCategories()}searchByText(){this.offset=0,this.planCategories=[],this.previousPlanCategories=[],this.loadPlanCategories()}isSelected(B){return this.selectedPlanCategories.some(j=>B===j?.$tip)}togglePlanCategory(B){if(!(0,y.isEmpty)(B))if(this.isSelected(B))this.selectedPlanCategories=this.selectedPlanCategories?.filter(j=>j.$tip!==B);else if(B){if(this.mode===L.X.SINGLE_SELECT)return void(this.selectedPlanCategories=[this.planCategories.find($=>$.$tip===B)]);this.selectedPlanCategories=this.selectedPlanCategories?(0,y.cloneDeep)(this.selectedPlanCategories):[];const j=this.planCategories.find($=>$.$tip===B);this.selectedPlanCategories.push(j),(0,y.uniqBy)(this.selectedPlanCategories,$=>$.$tip),(0,E.O)(0).pipe((0,D.s)(1)).subscribe(()=>{!this.isFilter&&this.selectedPlanCategories.length>this.MAX_CATEGORY_LIMIT&&(this.selectedPlanCategories=this.selectedPlanCategories.slice(0,this.selectedPlanCategories.length-1),this.cdr.detectChanges(),this.toastService.showWarningToast("You have added the maximum number of plan categories. You can add up to 10 categories."))})}}static#e=this.\u0275fac=function(j){return new(j||Y)};static#t=this.\u0275cmp=n.VBU({type:Y,selectors:[["app-settings-plans-categories"]],decls:10,vars:21,consts:()=>{let B,j;return B="No plan categories here",j="Add a plan category",[[3,"actioned","goBack","action","showBackIcon","showCancelButton"],[3,"appSpinner"],[1,"d-flex","align-items-center","px-3",3,"ngClass"],[1,"search-input","flex-grow-1"],[3,"filterTextChange","keyup.enter","keyup.shift.enter","add","delayTime","filterText","showAddButton"],[3,"overridePadding","showHeader","showBorder","title"],[1,"px-3",3,"ngClass"],[3,"showMoreButton","mode","showMore",4,"ngIf"],["imgSrc","assets/img/empty-states/no-lists.svg","label",B,"size","'default'","actionText",j,3,"actionClick",4,"ngIf"],[3,"showMore","showMoreButton","mode"],[3,"hasChevron","key","value","click","toggle",4,"ngFor","ngForOf"],[3,"click","toggle","hasChevron","key","value"],["class","d-flex align-items-center",4,"ngIf"],[1,"d-flex","align-items-center"],["class","d-flex justify-content-center align-items-center option mr-3",3,"ngStyle",4,"ngIf"],[1,"line-clamp",3,"title"],[1,"d-flex","justify-content-center","align-items-center","option","mr-3",3,"ngStyle"],["imgSrc","assets/img/empty-states/no-lists.svg","label",B,"size","'default'","actionText",j,3,"actionClick"]]},template:function(j,$){1&j&&(n.j41(0,"app-side-sheet-header",0),n.bIt("actioned",function(){return $.onAction()})("goBack",function(){return $.onCancel()}),n.EFF(1),n.k0s(),n.j41(2,"div",1)(3,"div",2)(4,"div",3)(5,"app-filter-and-add",4),n.mxI("filterTextChange",function(ie){return n.DH7($.filterText,ie)||($.filterText=ie),ie}),n.bIt("keyup.enter",function(){return $.searchByText()})("keyup.shift.enter",function(){return $.searchByText()})("add",function(){return $.createPlanCategory()}),n.k0s()()(),n.j41(6,"app-side-sheet-section",5)(7,"div",6),n.DNE(8,F,2,3,"app-side-sheet-list",7)(9,U,1,0,"app-empty-state",8),n.k0s()()()),2&j&&(n.Y8G("action",$.actionLabel)("showBackIcon",!$.showCancelButton)("showCancelButton",$.showCancelButton),n.R7$(),n.SpI(" ",$.title,"\n"),n.R7$(),n.Y8G("appSpinner",$.loadingState===$.loadingStates.inProgress),n.R7$(),n.Y8G("ngClass",n.l_i(16,o,"multiselect"!==$.mode&&"singleselect"!==$.mode,"multiselect"===$.mode||"singleselect"===$.mode)),n.R7$(2),n.Y8G("delayTime",0),n.R50("filterText",$.filterText),n.Y8G("showAddButton",$.canAdd),n.R7$(),n.Y8G("overridePadding","multiselect"===$.mode||"singleselect"===$.mode)("showHeader",$.showHeader)("showBorder",$.showBorder)("title",$.title),n.R7$(),n.Y8G("ngClass",n.eq3(19,C,"multiselect"!==$.mode&&"singleselect"!==$.mode)),n.R7$(),n.Y8G("ngIf",0!==(null==$.planCategories?null:$.planCategories.length)),n.R7$(),n.Y8G("ngIf",$.loadingState!==$.loadingStates.inProgress&&0===(null==$.planCategories?null:$.planCategories.length)&&$.isPlanCategoryEmpty))},styles:["[_nghost-%COMP%]{display:block}.option[_ngcontent-%COMP%]{width:2.2rem;height:2.2rem;border-radius:3px;flex:none;cursor:pointer}.line-clamp[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"],changeDetection:0})}return Y})()},17971:(at,N,s)=>{"use strict";s.d(N,{g:()=>L,m:()=>o});var n=s(67376),g=s(96354),m=s(40673),T=s(48636),O=s(27808),D=s(55516),E=s(93953),y=s(51229),I=s(44667),b=s(99760);const L={"app/plan-template-visibility-system-settings:all-plan-templates":{name:"allPlanTemplates",type:T.U.boolean},"app/plan-template-visibility-system-settings:selected-templates":{name:"selectedTemplateTips",type:T.U.stringArray}};let o=(()=>{class C{constructor(M,q,z){this.queryService=M,this.objectService=q,this.enoService=z}getSettingsBasedOnTip(M,q={}){return this.queryService.execute1dFirst(M,q)}savePlanVisibilitySettings(M,q,z,F){const U={$tip:M||null,$type:F,$security:m.Ay.SECURITY.INSTANCE_USER_ADMIN,...q};return this.objectService.setObject(U,z).pipe((0,g.T)(k=>(0,n.get)((0,n.head)(k),"tip")))}getDataByTip(M){return this.objectService.getObject(M,L)}getAllPlanCategories({offset:M,limit:q,searchText:z}={offset:void 0,limit:void 0,searchText:void 0}){return this.queryService.execute1dFirst(D.R.GET_ALL_PLAN_CATEGORIES,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:M,limit:q,sortby:['FIELD("app/plan-category:name")'],sortdir:["asc"]}],extraFilters:[{label:"Search plan categories",formula:'NOT(EQUALS(FIND_TEXT(FIELD("app/plan-category:name"), VAR("searchText")), -1))'}],vars:{searchText:[z]}})}savePlanCategory(M,q,z){const F={$tip:M||null,$type:"app/plan-category",$security:m.Ay.SECURITY.INSTANCE_USER_ADMIN,...q};return this.objectService.setObject(F,z).pipe((0,g.T)(U=>(0,n.get)((0,n.head)(U),"tip")))}deleteEnoByTip(M){return this.enoService.deleteEno(M)}getPlanCategories(M){return this.objectService.getObjects(M,O.H3)}static#e=this.\u0275fac=function(q){return new(q||C)(E.KVO(y.c),E.KVO(I.T),E.KVO(b.g))};static#t=this.\u0275prov=E.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},12212:(at,N,s)=>{"use strict";s.d(N,{o:()=>O});var n=s(48636);const a={"app/print-template-settings:allow-change-print-file-type":{type:n.U.boolean},"app/print-template-settings:print-file-type":{type:n.U.string},"app/print-template-settings:logo":{name:"logoTip",type:n.U.string},"app/print-template-settings:logo-positioning":{type:n.U.string},"app/print-template-settings:timestamp":{type:n.U.string},"app/print-template-settings:header-text-content":{type:n.U.string},"app/print-template-settings:header-text-content-positioning":{type:n.U.string},"app/print-template-settings:footer-text-content":{type:n.U.string},"app/print-template-settings:footer-text-content-positioning":{type:n.U.string},"app/print-template-settings:page-number-positioning":{type:n.U.string},"app/print-template-settings:customise-print-template":{type:n.U.boolean}};var g=s(96354),m=s(93953),T=s(44667);let O=(()=>{class D{constructor(y){this.objectService=y}getPrintTemplateSettings(){return this.objectService.getObject("app/default-print-template-settings",a)}updatePrintTemplateSettings(y){return this.objectService.setObject(y,a).pipe((0,g.T)(I=>I[I.length-1]?I[I.length-1].tip:null))}static#e=this.\u0275fac=function(I){return new(I||D)(m.KVO(T.T))};static#t=this.\u0275prov=m.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},93880:(at,N,s)=>{"use strict";s.d(N,{S:()=>x});var n=s(89417),a=s(21413),g=s(7673),m=s(56977),T=s(61594),O=s(88141),D=s(99437),E=s(50701),y=s(11105),I=s(69172),b=s(93953),L=s(50337),o=s(19937),C=s(66386),w=s(60177),M=s(73427),q=s(44225),z=s(18354),F=s(87354);const U=B=>({loadingInProgress:B});function k(B,j){1&B&&b.eu8(0)}function Y(B,j){if(1&B){const $=b.RV6();b.j41(0,"app-side-sheet-header",3),b.bIt("actioned",function(){b.eBV($);const ie=b.XpG();return b.Njj(ie.create())}),b.pXf(1,1),b.k0s(),b.j41(2,"div",4)(3,"form",5),b.nrm(4,"app-text-field",6)(5,"app-multi-text-field",7),b.k0s()()}if(2&B){const $=j.loadingInProgress,H=b.XpG();b.Y8G("disabled",H.securityPolicyForm.invalid||$||H.disabled)("monitorConnection",H.monitorConnection),b.R7$(2),b.Y8G("appSpinner",$),b.R7$(),b.Y8G("formGroup",H.securityPolicyForm),b.R7$(),b.Y8G("required",!0)}}let x=(()=>{class B{constructor($,H,ie,ne){this.sideSheetService=$,this.securityService=H,this.toastService=ie,this.connectionService=ne,this.securityPolicyForm=new n.gE({name:new n.MJ("",n.k0.required),description:new n.MJ("")}),this.LoadingState=I.Gu,this.monitorConnection=!1,this.disabled=!1,this.destroyed$=new a.B}ngOnInit(){this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,m.Q)(this.destroyed$)).subscribe($=>{this.disabled=!$,this.disabled?this.securityPolicyForm.disable():this.securityPolicyForm.enable()})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}create(){const $={name:this.securityPolicyForm.value.name,description:this.securityPolicyForm.value.description,type:E.h.CENTRAL};this.loadingState=I.Gu.inProgress,this.securityService.createSecurityPolicy$($).pipe((0,T.$)(),(0,O.M)(H=>{this.toastService.showSuccessToast("Successfully created new security policy"),this.sideSheetService.pop(),this.sideSheetService.pushV2(y.u,{securityPolicyTip:H,readonly:!1})}),(0,D.W)(H=>(this.loadingState=I.Gu.failed,this.toastService.showErrorToast("Failed to create security policy"),(0,g.of)(null)))).subscribe()}static#e=this.\u0275fac=function(H){return new(H||B)(b.rXU(L.E),b.rXU(E.i),b.rXU(o.f),b.rXU(C.K))};static#t=this.\u0275cmp=b.VBU({type:B,selectors:[["app-security-policy-create-side-sheet"]],decls:3,vars:4,consts:()=>{let $,H,ie,ne,Q,le;return $="Create",H="Name",ie="Enter a name",ne="Description",Q="Enter a description",le="Create security policy",[["securityPolicyCreate",""],le,[4,"ngTemplateOutlet","ngTemplateOutletContext"],["action",$,3,"actioned","disabled","monitorConnection"],[1,"modal-body",3,"appSpinner"],[3,"formGroup"],["formControlName","name","label",H,"placeholder",ie,"data-test","create-security-policy-name-field",3,"required"],["formControlName","description","label",ne,"placeholder",Q]]},template:function(H,ie){if(1&H&&b.DNE(0,k,1,0,"ng-container",2)(1,Y,6,5,"ng-template",null,0,b.C5r),2&H){const ne=b.sdS(2);b.Y8G("ngTemplateOutlet",ne)("ngTemplateOutletContext",b.eq3(2,U,ie.loadingState===ie.LoadingState.inProgress))}},dependencies:[w.T3,n.qT,n.BC,n.cb,n.YS,n.j4,n.JD,M.R,q.b,z.L,F._]})}return B})()},41722:(at,N,s)=>{"use strict";s.d(N,{m:()=>Xe});var n=s(89417),a=s(84412),g=s(7673),m=s(983),T=s(44668),O=s(20140),D=s(61594),E=s(88141),y=s(99437),I=s(25558),b=s(50793),L=s(69172),o=s(68030),C=s(1095),w=s(67376);class M{static transformShiftPatternSourceToCronExpression($e){switch($e.daysOfTheMonth){case b.gR.EVERYDAY:return M.getCronExpressionWhenEveryday($e);case b.gR.FIRST_DAY_OF_THE_MONTH:return M.getCronExpressionWhenFirstDayOfTheMonth($e);default:return null}}static getCronExpressionWhenFirstDayOfTheMonth($e){const ze=M.calculateFrequency($e);return`${$e.shiftStartMinute} ${ze} 1 * *`}static getCronExpressionWhenEveryday($e){const ze=$e.daysOfTheWeek||[],Be=(0,w.isEmpty)(ze)||7===ze.length?"0-6":ze.map(Ct=>Ct).join(","),Ye=M.calculateFrequency($e);return`${$e.shiftStartMinute} ${Ye} * * ${Be}`}static calculateFrequency($e){let ze=$e.shiftStartHour||0;if(!$e.frequency)return ze.toString();const Be=[];for(;ze<24;)Be.push(ze),ze+=$e.frequency;return Be.join(",")}}var q=s(32803),z=s(62601),F=s(5002),U=s(93953),k=s(50337),Y=s(61687),x=s(19937),B=s(29968),j=s(14784),$=s(50701),H=s(44667),ie=s(10506);const ne=Pe=>({"tab-error":Pe});function Q(Pe,$e){if(1&Pe){const ze=U.RV6();U.j41(0,"app-side-sheet-header",20),U.nI1(1,"async"),U.bIt("actioned",function(){U.eBV(ze);const Ye=U.XpG();return U.Njj(Ye.onDone())}),U.pXf(2,4),U.k0s()}if(2&Pe){const ze=U.XpG();U.Y8G("disabled",(null==ze.itemForm?null:ze.itemForm.invalid)||U.bMT(1,1,ze.state$)===ze.LOADING_STATUS.IN_PROGRESS)}}function le(Pe,$e){if(1&Pe){const ze=U.RV6();U.j41(0,"app-side-sheet-header",21),U.nI1(1,"async"),U.bIt("actioned",function(){U.eBV(ze);const Ye=U.XpG();return U.Njj(Ye.onDone())}),U.pXf(2,5),U.k0s()}if(2&Pe){const ze=U.XpG();U.Y8G("disabled",(null==ze.itemForm?null:ze.itemForm.invalid)||U.bMT(1,1,ze.state$)===ze.LOADING_STATUS.IN_PROGRESS)}}function pe(Pe,$e){1&Pe&&(U.j41(0,"app-alert",22),U.pXf(1,6),U.k0s())}function te(Pe,$e){1&Pe&&(U.j41(0,"app-alert",22),U.pXf(1,7),U.k0s())}function ae(Pe,$e){if(1&Pe){const ze=U.RV6();U.j41(0,"button",32),U.bIt("click",function(){U.eBV(ze);const Ye=U.XpG(3);return U.Njj(Ye.setSecurity())}),U.EFF(1," Edit security policy... "),U.k0s()}}function K(Pe,$e){if(1&Pe){const ze=U.RV6();U.j41(0,"button",33),U.bIt("click",function(){U.eBV(ze);const Ye=U.XpG(3);return U.Njj(Ye.showActivatedWorkflowsSideSheet())}),U.EFF(1," View activated workflows... "),U.k0s()}}function de(Pe,$e){if(1&Pe){const ze=U.RV6();U.qex(0),U.nrm(1,"div",34),U.j41(2,"button",35),U.nI1(3,"async"),U.bIt("click",function(){U.eBV(ze);const Ye=U.XpG(3);return U.Njj(Ye.showDeleteModal())}),U.EFF(4," Delete... "),U.k0s(),U.bVm()}if(2&Pe){const ze=U.XpG(3);U.R7$(2),U.Y8G("disabled",U.bMT(3,1,ze.state$)===ze.LOADING_STATUS.IN_PROGRESS)}}function Me(Pe,$e){if(1&Pe&&(U.j41(0,"div",24)(1,"div",25)(2,"button",26),U.nrm(3,"mat-icon",27),U.k0s(),U.j41(4,"div",28),U.DNE(5,ae,2,0,"button",29),U.nI1(6,"async"),U.DNE(7,K,2,0,"button",30),U.nI1(8,"async"),U.DNE(9,de,5,3,"ng-container",31),U.nI1(10,"async"),U.k0s()()()),2&Pe){const ze=U.XpG(2);U.R7$(2),U.Y8G("disabled",!1)("isNavigable",!0),U.R7$(3),U.Y8G("ngIf",ze.isCreateShiftPattern||U.bMT(6,5,ze.canSecurityUpdate$)),U.R7$(2),U.Y8G("ngIf",!ze.isCreateShiftPattern&&U.bMT(8,7,ze.canViewWFD$)),U.R7$(2),U.Y8G("ngIf",!ze.isCreateShiftPattern&&U.bMT(10,9,ze.canDelete$))}}function me(Pe,$e){if(1&Pe&&(U.qex(0),U.DNE(1,Me,11,11,"div",23),U.nI1(2,"async"),U.nI1(3,"async"),U.bVm()),2&Pe){const ze=U.XpG();U.R7$(),U.Y8G("ngIf",U.bMT(2,1,ze.canSecurityUpdate$)||U.bMT(3,3,ze.canDelete$)||ze.isCreateShiftPattern)}}function be(Pe,$e){if(1&Pe&&U.nrm(0,"formly-form",36),2&Pe){const ze=U.XpG();U.Y8G("form",ze.itemForm)("model",ze.model)("fields",ze.durationTabFields)}}function Le(Pe,$e){if(1&Pe&&U.nrm(0,"formly-form",36),2&Pe){const ze=U.XpG();U.Y8G("form",ze.itemForm)("model",ze.model)("fields",ze.recurrenceTabFields)}}function Ae(Pe,$e){if(1&Pe){const ze=U.RV6();U.j41(0,"div",38)(1,"button",39),U.nI1(2,"async"),U.bIt("click",function(){U.eBV(ze);const Ye=U.XpG(2);return U.Njj(Ye.showDeleteModal())}),U.EFF(3,"Delete"),U.k0s()()}if(2&Pe){const ze=U.XpG(2);U.R7$(),U.Y8G("disabled",U.bMT(2,1,ze.state$)===ze.LOADING_STATUS.IN_PROGRESS)}}function Oe(Pe,$e){if(1&Pe&&(U.qex(0),U.DNE(1,Ae,4,3,"div",37),U.bVm()),2&Pe){const ze=U.XpG();U.R7$(),U.Y8G("ngIf",null==ze.shiftPatternProps?null:ze.shiftPatternProps.shiftPatternTip)}}let Xe=(()=>{class Pe extends C.l{constructor(ze,Be,Ye,Ct,Lt,Vt,ht,gt,Ge){super(ze),this.settingsShiftPatternService=Be,this.toastService=Ye,this.modalService=Ct,this.meService=Lt,this.cdr=Vt,this.securityService=ht,this.object$=gt,this.featureFlagStateService=Ge,this.shiftPatternProps={},this.itemForm=new n.gE({label:new n.MJ(null,n.k0.required),shiftDurationMonths:new n.MJ(null),shiftDurationDays:new n.MJ(null),shiftDurationHours:new n.MJ(null),shiftDurationMinutes:new n.MJ(null),shiftStartHour:new n.MJ(null,n.k0.required),shiftStartMinute:new n.MJ(null,n.k0.required),daysOfTheMonth:new n.MJ(null,n.k0.required),daysOfTheWeek:new n.MJ(null),frequency:new n.MJ(0)}),this.durationTabFields=this.getDurationTabFields(),this.recurrenceTabFields=this.getRecurrenceTabFields(),this.LOADING_STATUS=L.Hf,this.model={label:null,shiftDurationMonths:null,shiftDurationDays:null,shiftDurationHours:null,shiftDurationMinutes:null,shiftStartHour:null,shiftStartMinute:0,daysOfTheMonth:b.gR.EVERYDAY,daysOfTheWeek:[],frequency:0},this.stateSubject$=new a.t(L.Hf.LOADED),this.durationTabFieldsError$=new a.t(!1),this.recurrenceTabFieldsError$=new a.t(!1)}ngOnInit(){this.itemForm.patchValue(this.model),this.state$=this.stateSubject$.asObservable().pipe((0,T.t)()),this.isEnabled=this.featureFlagStateService.isFeatureEnabled(F.g.FEATURE_EIM_28355_SHIFT_WIDGET_FF_MERGE),this.isEnabled?(this.shiftPatternProps.shiftPatternTip?this.getShiftPattern$().subscribe():this.isCreateShiftPattern=!0,this.canViewWFD$=this.meService.isAdmin$()):this.shiftPatternProps.shiftPatternTip&&this.getShiftPattern$().subscribe()}setProps(ze){this.shiftPatternProps=ze}onDone(){this.shiftPatternProps.shiftPatternTip?this.updateShiftPattern$().subscribe():this.createShiftPattern$().subscribe()}setSecurity(){this.getSecurity$().pipe((0,O.v)(this.meService.isAdmin$()),(0,D.$)(),(0,E.M)(([ze,Be])=>{this.sideSheetService.pushV2(q.$,{bespokeSecurityPolicy:this.bespokeSecurityPolicy,securityPolicyTip:this.bespokeSecurityPolicy?null:ze,canAdd:Be,onDone:(Ye,Ct)=>{Ye?(this.securityPolicyTip=Ye,this.bespokeSecurityPolicy=null):(this.securityPolicyTip=null,this.bespokeSecurityPolicy=Ct),this.cdr.detectChanges()}})})).subscribe()}getSecurity$(){return this.securityPolicyTip?(0,g.of)(this.securityPolicyTip):this.object$.defaultSecurityPolicy$()}showActivatedWorkflowsSideSheet(){this.sideSheetService.pushV2(z.D).setProps({subjectTip:this.shiftPatternProps.shiftPatternTip,title:"Activated workflows for the current object",submenu:{workflow:!0},columns:{workflow:!0,eventType:!1}})}showDeleteModal(){const ze=this.modalService.open(o.F,o.G);ze.componentInstance.objectType="shift pattern",ze.result.then(Ye=>Ye?this.onDelete():null).catch(()=>{})}onDelete(){this.deleteShiftPattern$().subscribe()}deleteShiftPattern$(){return this.stateSubject$.next(L.Hf.IN_PROGRESS),this.settingsShiftPatternService.deleteShiftPattern$(this.shiftPatternProps.shiftPatternTip).pipe((0,D.$)(),(0,E.M)(()=>{this.stateSubject$.next(L.Hf.LOADED),this.toastService.showSuccessToast("Shift pattern successfully deleted"),this.sideSheetService.pop()}),(0,y.W)(()=>(this.stateSubject$.next(L.Hf.FAILED_DELETE),this.toastService.showErrorToast("Deleting shift pattern failed"),m.w)))}getShiftPattern$(){return this.stateSubject$.next(L.Hf.IN_PROGRESS),this.settingsShiftPatternService.getShiftPattern$(this.shiftPatternProps.shiftPatternTip).pipe((0,D.$)(),(0,E.M)(ze=>{this.stateSubject$.next(L.Hf.LOADED),this.model=this.transformToFormModel(ze),this.itemForm.patchValue(this.model),this.isEnabled&&(this.securityPolicyTip=ze.$security,this.canSecurityUpdate$=this.securityService.canUpdateSecurity(ze.$tip),this.canDelete$=this.securityService.canDelete(ze.$tip))}),(0,y.W)(()=>(this.stateSubject$.next(L.Hf.FAILED_LOAD),this.toastService.showErrorToast("Loading shift pattern failed."),m.w)))}setSecurityTip(ze,Be){return Be&&!ze?this.securityService.createBespokeSecurityPolicy$(Be):(0,g.of)(ze)}createShiftPattern$(){return this.stateSubject$.next(L.Hf.IN_PROGRESS),this.isEnabled?this.setSecurityTip(this.securityPolicyTip,this.bespokeSecurityPolicy).pipe((0,I.n)(ze=>this.settingsShiftPatternService.createShiftPattern$({$security:ze,...this.transformFormValues()}).pipe((0,D.$)(),(0,E.M)(Be=>{this.stateSubject$.next(L.Hf.LOADED),this.toastService.showSuccessToast("Shift pattern successfully created."),this.sideSheetService.pop()}),(0,y.W)(()=>(this.stateSubject$.next(L.Hf.FAILED_SAVE),this.toastService.showErrorToast("Creating shift pattern failed."),m.w))))):(this.securityPolicyTip="app/security-policy/instance-user-user",this.settingsShiftPatternService.createShiftPattern$({$security:this.securityPolicyTip,...this.transformFormValues()}).pipe((0,D.$)(),(0,E.M)(ze=>{this.stateSubject$.next(L.Hf.LOADED),this.toastService.showSuccessToast("Shift pattern successfully created."),this.sideSheetService.pop()}),(0,y.W)(()=>(this.stateSubject$.next(L.Hf.FAILED_SAVE),this.toastService.showErrorToast("Creating shift pattern failed."),m.w))))}updateShiftPattern$(){let ze;return this.stateSubject$.next(L.Hf.IN_PROGRESS),this.isEnabled?this.setSecurityTip(this.securityPolicyTip,this.bespokeSecurityPolicy).pipe((0,I.n)(Be=>(ze={$tip:this.shiftPatternProps.shiftPatternTip,$security:Be,...this.transformFormValues()},this.settingsShiftPatternService.updateShiftPattern$(ze).pipe((0,D.$)(),(0,E.M)(Ye=>{this.stateSubject$.next(L.Hf.LOADED),this.toastService.showSuccessToast("Shift pattern successfully saved."),this.sideSheetService.pop()}),(0,y.W)(()=>(this.stateSubject$.next(L.Hf.FAILED_SAVE),this.toastService.showErrorToast("Saving shift pattern failed."),m.w)))))):(ze={$tip:this.shiftPatternProps.shiftPatternTip,...this.transformFormValues()},this.settingsShiftPatternService.updateShiftPattern$(ze).pipe((0,D.$)(),(0,E.M)(Be=>{this.stateSubject$.next(L.Hf.LOADED),this.toastService.showSuccessToast("Shift pattern successfully saved."),this.sideSheetService.pop()}),(0,y.W)(()=>(this.stateSubject$.next(L.Hf.FAILED_SAVE),this.toastService.showErrorToast("Saving shift pattern failed."),m.w))))}transformToFormModel(ze){const Be=ze.source||{};return{label:ze.label,shiftDurationMonths:ze.shiftDurationMonths,shiftDurationDays:ze.shiftDurationDays,shiftDurationHours:ze.shiftDurationHours,shiftDurationMinutes:ze.shiftDurationMinutes,shiftStartHour:Be.shiftStartHour,shiftStartMinute:Be.shiftStartMinute,daysOfTheMonth:Be.daysOfTheMonth,daysOfTheWeek:Be.daysOfTheWeek,frequency:Be.frequency||0}}transformFormValues(){const ze=this.itemForm.value,Be={shiftStartHour:ze.shiftStartHour,shiftStartMinute:ze.shiftStartMinute,daysOfTheMonth:ze.daysOfTheMonth,daysOfTheWeek:ze.daysOfTheWeek,frequency:ze.frequency||0},Ye=M.transformShiftPatternSourceToCronExpression(Be);return{label:ze.label,cron:Ye,source:Be,shiftDurationMonths:ze.shiftDurationMonths,shiftDurationDays:ze.shiftDurationDays,shiftDurationHours:ze.shiftDurationHours,shiftDurationMinutes:ze.shiftDurationMinutes}}getShiftStartHourList(){const ze=[];for(let Be=0;Be<24;Be++){const Ye=Be<10?`0${Be}`:String(Be);ze.push({label:Ye,value:Be})}return ze}getShiftStartMinuteList(){const ze=[];for(let Be=0;Be<60;Be++){const Ye=Be<10?`0${Be}`:String(Be);ze.push({label:Ye,value:Be})}return ze}getFrequencyOptions(){const ze=[{label:"Only one shift per day",value:0}];for(let Be=0;Be<=19;Be++)ze.push({label:`Every ${Be+4} hours until midnight`,value:Be+4});return ze}getRecurrenceTabFields(){return[{fieldGroupClassName:"row",wrappers:["side-sheet-section-wrapper"],templateOptions:{title:"Time",showBorder:!0,showHeader:!0,collapsible:!0},fieldGroup:[{key:"shiftStartHour",type:"option-list",className:"col-12 col-lg-6",templateOptions:{label:"Hour the shift should start",placeholder:"Select hour",options:this.getShiftStartHourList(),required:!0,back:(ze,Be)=>{this.recurrenceTabFieldsError$.next(ze.formControl.touched&&(0,w.isNil)(ze.formControl.value))}}},{key:"shiftStartMinute",type:"option-list",className:"col-12 col-lg-6",defaultValue:0,templateOptions:{label:"Minute the shift should start",placeholder:"Select minute",options:this.getShiftStartMinuteList(),required:!0,back:(ze,Be)=>{this.recurrenceTabFieldsError$.next(ze.formControl.touched&&(0,w.isNil)(ze.formControl.value))}}},{key:"frequency",type:"option-list",className:"col-12 col-lg-12",defaultValue:0,templateOptions:{label:"Recurrence frequency within each day",placeholder:"Select number of hours between shifts",options:this.getFrequencyOptions(),required:!0,back:(ze,Be)=>{this.recurrenceTabFieldsError$.next(ze.formControl.touched&&(0,w.isNil)(ze.formControl.value))}}}]},{fieldGroupClassName:"row",wrappers:["side-sheet-section-wrapper"],templateOptions:{title:"Days",showBorder:!0,showHeader:!0,collapsible:!0},fieldGroup:[{key:"daysOfTheMonth",type:"option-list",defaultValue:"everyDay",className:"col-12 col-lg-12",templateOptions:{label:"Days of the month",options:this.getDaysOfTheMonthList(),required:!0,back:(ze,Be)=>{this.recurrenceTabFieldsError$.next(ze.formControl.touched&&(0,w.isNil)(ze.formControl.value))}}},{key:"daysOfTheWeek",type:"option-list",className:"col-12 col-lg-12",templateOptions:{label:"Days of the week",options:this.getDaysOfTheWeekList(),isMultiSelect:!0},hideExpression:`model.daysOfTheMonth === '${b.gR.FIRST_DAY_OF_THE_MONTH}'`}]}]}getDaysOfTheWeekList(){return[{label:"Monday",value:b.W5.MONDAY},{label:"Tuesday",value:b.W5.TUESDAY},{label:"Wednesday",value:b.W5.WEDNESDAY},{label:"Thursday",value:b.W5.THURSDAY},{label:"Friday",value:b.W5.FRIDAY},{label:"Saturday",value:b.W5.SATURDAY},{label:"Sunday",value:b.W5.SUNDAY}]}getDaysOfTheMonthList(){return[{label:"Every day",value:b.gR.EVERYDAY},{label:"First day of the month",value:b.gR.FIRST_DAY_OF_THE_MONTH}]}getDurationTabFields(){return[{key:"label",type:"input",templateOptions:{label:"Name",type:"text",required:!0,placeholder:"Enter a name for the shift pattern",focusout:(ze,Be)=>{this.durationTabFieldsError$.next(ze.formControl.touched&&ze.formControl.invalid)}}},{template:'<label class="eim-forms_form-control-label special">\n                  Choose how long each shift should last. The hours, minutes, days, and months all combine.\n                </label>'},{fieldGroupClassName:"row",fieldGroup:[{key:"shiftDurationHours",type:"number",defaultValue:"",className:"col-12 col-lg-6",templateOptions:{label:"Shift duration hours",type:"number",min:0}},{key:"shiftDurationMinutes",type:"number",defaultValue:"",className:"col-12 col-lg-6",templateOptions:{label:"Shift duration minutes",type:"number",min:0}},{key:"shiftDurationDays",type:"number",defaultValue:"",className:"col-12 col-lg-6",templateOptions:{label:"Shift duration days",type:"number",min:0}},{key:"shiftDurationMonths",type:"number",defaultValue:"",className:"col-12 col-lg-6",templateOptions:{label:"Shift duration months",type:"number",min:0}}]}]}static#e=this.\u0275fac=function(Be){return new(Be||Pe)(U.rXU(k.E),U.rXU(Y.L),U.rXU(x.f),U.rXU(B.Bq),U.rXU(j.Q),U.rXU(U.gRc),U.rXU($.i),U.rXU(H.T),U.rXU(ie.F))};static#t=this.\u0275cmp=U.VBU({type:Pe,selectors:[["app-shift-pattern-edit-side-sheet"]],features:[U.Vt3],decls:31,vars:25,consts:()=>{let ze,Be,Ye,Ct,Lt,Vt,ht,gt;return ze="Create",Be="Duration",Ye="Recurrence",Ct="New Shift pattern",Lt="Save",Vt="Edit Shift pattern",ht="Unable to save shift pattern at this time. Check your connection and try again.",gt="Unable to delete shift pattern at this time. Check your connection and try again.",[["saveHeader",""],["nav","ngbNav"],Be,Ye,Ct,Vt,ht,gt,["action",ze,3,"disabled","actioned",4,"ngIf","ngIfElse"],[3,"formGroup","appSpinner"],["type","danger",4,"ngIf"],[4,"appIfFeatureFlag"],[1,"ngb-nav-wrapper","keyboard-navigation"],["ngbNav","",1,"nav-tabs"],["ngbNavItem","duration"],["ngbNavLink",""],[3,"ngClass"],["ngbNavContent",""],["ngbNavItem","recurrence"],[3,"ngbNavOutlet"],["action",ze,3,"actioned","disabled"],["action",Lt,3,"actioned","disabled"],["type","danger"],["class","d-flex justify-content-end p-2",4,"ngIf"],[1,"d-flex","justify-content-end","p-2"],["ngbDropdown","","placement","bottom-right",1,"nav-item","dropdown","d-flex"],["data-test","edit-sidesheet-more-actions-ellipsis-button","ngbDropdownToggle","","title","More actions",1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"disabled","isNavigable"],["svgIcon","more"],["ngbDropdownMenu","","role","menu",1,"dropdown-menu"],["appTabIndex","","class","dropdown-item","data-test","more-action-edit-security-policy-button","ngbDropdownItem","","role","menuitem",3,"click",4,"ngIf"],["appTabIndex","","class","dropdown-item","data-test","more-action-workflow-button","ngbDropdownItem","","role","menuitem",3,"click",4,"ngIf"],[4,"ngIf"],["appTabIndex","","data-test","more-action-edit-security-policy-button","ngbDropdownItem","","role","menuitem",1,"dropdown-item",3,"click"],["appTabIndex","","data-test","more-action-workflow-button","ngbDropdownItem","","role","menuitem",1,"dropdown-item",3,"click"],[1,"dropdown-divider"],["appTabIndex","","data-test","more-action-delete-button","ngbDropdownItem","","role","menuitem",1,"dropdown-item",3,"click","disabled"],[3,"form","model","fields"],["class","form-options d-flex justify-content-center",4,"ngIf"],[1,"form-options","d-flex","justify-content-center"],[1,"btn","btn-danger",3,"click","disabled"]]},template:function(Be,Ye){if(1&Be&&(U.DNE(0,Q,3,3,"app-side-sheet-header",8)(1,le,3,3,"ng-template",null,0,U.C5r),U.j41(3,"form",9),U.nI1(4,"async"),U.DNE(5,pe,2,0,"app-alert",10),U.nI1(6,"async"),U.DNE(7,te,2,0,"app-alert",10),U.nI1(8,"async"),U.DNE(9,me,4,5,"ng-container",11),U.j41(10,"div",12)(11,"ul",13,1)(13,"li",14)(14,"a",15)(15,"span",16),U.nI1(16,"async"),U.pXf(17,2),U.k0s(),U.j41(18,"span"),U.EFF(19,"*"),U.k0s()(),U.DNE(20,be,1,3,"ng-template",17),U.k0s(),U.j41(21,"li",18)(22,"a",15)(23,"span",16),U.nI1(24,"async"),U.pXf(25,3),U.k0s(),U.j41(26,"span"),U.EFF(27,"*"),U.k0s()(),U.DNE(28,Le,1,3,"ng-template",17),U.k0s()(),U.nrm(29,"div",19),U.k0s()(),U.DNE(30,Oe,2,1,"ng-container",11)),2&Be){const Ct=U.sdS(2),Lt=U.sdS(12);U.Y8G("ngIf",!(null!=Ye.shiftPatternProps&&Ye.shiftPatternProps.shiftPatternTip))("ngIfElse",Ct),U.R7$(3),U.Y8G("formGroup",Ye.itemForm)("appSpinner",U.bMT(4,11,Ye.state$)===Ye.LOADING_STATUS.IN_PROGRESS),U.R7$(2),U.Y8G("ngIf",U.bMT(6,13,Ye.state$)===Ye.LOADING_STATUS.FAILED_SAVE),U.R7$(2),U.Y8G("ngIf",U.bMT(8,15,Ye.state$)===Ye.LOADING_STATUS.FAILED_DELETE),U.R7$(2),U.Y8G("appIfFeatureFlag","feature-EIM-28355-shift-widget-ff-merge"),U.R7$(6),U.Y8G("ngClass",U.eq3(21,ne,U.bMT(16,17,Ye.durationTabFieldsError$))),U.R7$(8),U.Y8G("ngClass",U.eq3(23,ne,U.bMT(24,19,Ye.recurrenceTabFieldsError$))),U.R7$(6),U.Y8G("ngbNavOutlet",Lt),U.R7$(),U.Y8G("appIfFeatureFlag","!feature-EIM-28355-shift-widget-ff-merge")}},styles:[".tab-error[_ngcontent-%COMP%]{color:#d60012}"],changeDetection:0})}return Pe})()},61687:(at,N,s)=>{"use strict";s.d(N,{L:()=>o});var n=s(67376),a=s(84412),g=s(983),m=s(96354),T=s(99437),O=s(50793),D=s(69172),E=s(55516);const y=[{label:"$tip",formula:"TIP()"},{label:"label",formula:'FIELD("app/shift-pattern:label")'}];var I=s(93953),b=s(51229),L=s(44667);let o=(()=>{class C{constructor(M,q){this.queryService=M,this.objectService=q,this.shiftPatterns$=new a.t([]),this.shiftPatternsLoadingState$=new a.t(D.Gu.loaded)}fetchShiftPatterns$(){return this.shiftPatternsLoadingState$.next(D.Gu.inProgress),this.queryService.execute1dArray(E.R.GET_ALL_SHIFT_PATTERNS,{vars:{},extraAttributes:y,dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:["TITLE()"],sortdir:["asc"]}]}).pipe((0,m.T)(q=>(q||[]).map(this.transformToShiftPattern)),(0,m.T)(q=>(this.shiftPatternsLoadingState$.next(D.Gu.loaded),this.shiftPatterns$.next(q),q)),(0,T.W)(()=>(this.shiftPatternsLoadingState$.next(D.Gu.failed),this.shiftPatterns$.next([]),g.w)))}getShiftPatterns$(){return this.shiftPatterns$.asObservable()}getShiftPatternsLoadingState$(){return this.shiftPatternsLoadingState$.asObservable()}getShiftPattern$(M){return this.objectService.getObject(M,O.TW)}createShiftPattern$(M){const q={$type:"app/shift-pattern",...M};return this.objectService.setObject(q,O.TW).pipe((0,m.T)(z=>(0,n.merge)(q,{$tip:z[0].tip,$sid:z[0].sid})))}updateShiftPattern$(M){return this.objectService.setObject(M,O.TW)}deleteShiftPattern$(M){return this.objectService.deleteObjects([{$tip:M}])}transformToShiftPattern(M){return{$tip:(0,n.head)(M.$tip),label:(0,n.head)(M.label)}}static#e=this.\u0275fac=function(q){return new(q||C)(I.KVO(b.c),I.KVO(L.T))};static#t=this.\u0275prov=I.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},36726:(at,N,s)=>{"use strict";s.d(N,{Z:()=>z});var n=s(93953),a=s(50835),g=s(25558),m=s(61594),T=s(96354),O=s(67376);const D=["Tip","Sid"],E="Input-",y="Actor-",I="Variable-";class L{constructor(U){this.varStates=U}partition(){const U={inputs:[],actors:[],variables:[],technicalVariables:[],uniqueObjectTips:[],tipToTitleMap:{}},k=new Set;return Object.entries(this.varStates).forEach(([Y,x])=>{const B={title:Y,isTruncated:Y.includes("Vars truncated"),objectTips:x};x.forEach(j=>k.add(j)),Y.startsWith(E)?(B.title=B.title.replace(E,""),U.inputs.push(B)):Y.startsWith(y)?(B.title=B.title.replace(y,""),U.actors.push(B)):Y.startsWith(I)||B.isTruncated?(B.title=B.title.replace(I,""),U.variables.push(B)):D.some(j=>j===Y)?U.technicalVariables.push(B):U.variables.push(B)}),U.uniqueObjectTips=Array.from(k),U}}var o=s(790),C=s(8142),w=s(87612),M=s(25687),q=s(87878);let z=(()=>{class F{constructor(k,Y,x,B){this.authService=k,this.deviceService=Y,this.formulaMultiService=x,this.depsParserService=B,this.diagnosticsEndPoint=((0,n.naY)()?"http://localhost:4200":a.c.host)+a.c.processPath,this.getOpProcessDetailOnce$=j=>this.getOnce$("/log/execution",j),this.getOpWorkflowsOnce$=j=>this.getOnce$("/log/executions",j),this.getVarStatesOnce$=j=>this.getOnce$("/log/vars",j)}getOnce$(k,Y){return this.authService.get(this.diagnosticsEndPoint+k,{params:Y,responseType:"json"}).pipe((0,m.$)())}openWorkflow(k){const Y=`${location.origin}/app/s/settings/modules/${encodeURIComponent(k.moduleTip)}/workflows/${encodeURIComponent(k.workflow)}`;window.open(Y,this.deviceService.onNativeApp?"_self":"_blank")}openActivatedWorkflows(k){const Y=`${location.origin}/app/s/settings/workflow-diagnostics/activated-workflows/${k}`;window.open(Y,this.deviceService.onNativeApp?"_self":"_blank")}getWorkflowExecutionSummary(k){const Y=B=>k?.requests?.[B],x=this.getLastExecutionNodeRequestIndex(k);return{workflowLabel:k.workflowLabel,startTime:Y(0)?.startTime,finishTime:Y(x)?.finishTime}}workflowExecutionVariables$(k){const Y=this.getLastExecutionNodeRequestIndex(k),x=(0,O.get)(k,["requests",0,"opWorkflowNodes",0,"namespaceOpProcessNodeTipOpNode"]),B=(0,O.last)(k.requests[Y].opWorkflowNodes).namespaceOpProcessNodeTipOpNode;return x===B?this.getNodeExecutionVariables$(x).pipe((0,T.T)(j=>(j.nodes.push(j.nodes[0]),j))):this.nodeExecutionVariables$([x,B])}getNodeExecutionVariables$(k){return this.nodeExecutionVariables$([k])}nodeExecutionVariables$(k){return this.getVarStatesOnce$({nsopnton:k}).pipe((0,T.T)(({varStates:Y,moreThanLimit:x})=>({nodes:k.map(j=>{if(!Y[j])return{inputs:[],actors:[],variables:[],technicalVariables:[],uniqueObjectTips:[],tipToTitleMap:{}};const $=Object.values(Y[j])[0];return new L($).partition()}),hasMoreThanLimit:x})),(0,g.n)(Y=>this.nodeExecutionVariablesTitleMap$(Y.nodes).pipe((0,T.T)(x=>(Y.nodes.forEach(B=>{B.tipToTitleMap=x}),Y)))))}nodeExecutionVariablesTitleMap$(k){const Y=k.reduce((j,$)=>($.uniqueObjectTips.forEach(H=>j.add(H)),j),new Set),x=Array.from(Y).filter(j=>!!j&&this.depsParserService.isTipLike(j)),B=x.map(j=>({formula:"TITLE(TIP())",context:j,watch:!1}));return this.formulaMultiService.evaluate(B,o.q.USE_CACHE_THEN_NETWORK,!0).pipe((0,T.T)(j=>{const $=j.flat();return Object.fromEntries(x.map((H,ie)=>[H,$[ie]]))}))}getLastExecutionNodeRequestIndex(k){return k.requests.reduce((Y,x,B)=>(0,O.get)(k,["requests",Y,"finishTime"],null)<(0,O.get)(x,"finishTime",null)?B:Y,0)}static#e=this.\u0275fac=function(Y){return new(Y||F)(n.KVO(C.V),n.KVO(w.g),n.KVO(M.$),n.KVO(q.f))};static#t=this.\u0275prov=n.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},90390:(at,N,s)=>{"use strict";s.d(N,{pN:()=>I,Lv:()=>b,Z7:()=>w});var n=s(67376),a=s(96354),g=s(55516),m=s(48636);const O={"app/sso/saml/idp:name":{type:m.U.i18n},"app/sso/saml/idp:login-url":{type:m.U.uri},"app/sso/saml/idp:logout-url":{type:m.U.uri},"app/sso/saml/idp:jit-provisioning":{type:m.U.boolean},"app/sso/saml/idp:jit-contact-type":{type:m.U.string},"app/sso/saml/idp:jit-contact-security-policy":{type:m.U.string},"app/sso/saml/idp:dedicated-entity-id":{type:m.U.boolean},"app/sso/saml/idp:entity-id-type":{type:m.U.string},"app/sso/saml/idp:public-certificates":{type:m.U.objectArray,scheme:{"app/x509:certificate":{type:m.U.string},"app/x509:details":{type:m.U.json},"app/x509:not-before":{type:m.U.datetime},"app/x509:not-after":{type:m.U.datetime}},mutable:!0}};var D=s(93953),E=s(51229),y=s(44667);const I="password-field-not-a-real-tip";let b=(()=>{class M{constructor(z,F){this.queryService=z,this.objectService=F}getIdentityProviders$(){return this.queryService.execute1dFirst(g.R.GET_IDENTITY_PROVIDERS,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:["TITLE()"],sortdir:["asc"]}]})}getIdentityProvidersForOptionListFieldIncludePassword$(){return this.getIdentityProviders$().pipe((0,a.T)(o),(0,a.T)(C))}setSAMLProvider(z){const F={...z};return 0===(0,n.get)(F,"logoutUrl.length",null)&&delete F.logoutUrl,this.objectService.setObject(F,O)}getSAMLProvider(z){return this.objectService.getObject(z,O)}deleteSAMLProvider(z){return this.objectService.deleteObject(z)}static#e=this.\u0275fac=function(F){return new(F||M)(D.KVO(E.c),D.KVO(y.T))};static#t=this.\u0275prov=D.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})();const L={$tip:I,title:"Password"};function o(M){return[L,...M]}function C(M){return M.map(q=>({label:(0,n.get)(q,"title",""),value:(0,n.get)(q,"$tip"),...q}))}function w(M){return M===I||!M}},79873:(at,N,s)=>{"use strict";s.d(N,{x:()=>Ae});var n=s(67376),a=s(21413),g=s(56977),m=s(89417),T=s(97586),O=s.n(T),D=s(84572),E=s(18359),y=s(96354),I=s(99172),b=s(23294),L=s(61594),o=s(50835),C=s(68030),w=s(84412),M=s(5964),q=s(88141),z=s(70152),F=s(25558),U=s(93953),k=s(7673),Y=s(99437),x=s(21626);let B=(()=>{class Oe{constructor(Pe){this.http=Pe,this.url=`${o.c.host}/saml-sp/pem-decode`}decodePem(Pe){return this.http.post(this.url,Pe,{headers:{Authorization:"Bearer "}}).pipe((0,y.T)(ze=>({result:ze,error:null})),(0,Y.W)(ze=>(0,k.of)({result:null,error:"Failed to decode the Pem. Check the Pem and try again."})))}static#e=this.\u0275fac=function($e){return new($e||Oe)(U.KVO(x.Qq))};static#t=this.\u0275prov=U.jDH({token:Oe,factory:Oe.\u0275fac,providedIn:"root"})}return Oe})();var j=s(29968),$=s(60177),H=s(8524),ie=s(2455),ne=s(44225),Q=s(73427),le=s(36193);function pe(Oe,Xe){if(1&Oe&&(U.j41(0,"app-alert",5),U.EFF(1),U.k0s()),2&Oe){const Pe=U.XpG();U.R7$(),U.JRh(Pe.appAlert)}}function te(Oe,Xe){if(1&Oe){const Pe=U.RV6();U.j41(0,"div",6)(1,"button",7),U.bIt("click",function(){U.eBV(Pe);const ze=U.XpG();return U.Njj(ze.delete())}),U.EFF(2,"Delete"),U.k0s()()}}let ae=(()=>{class Oe{constructor(Pe,$e,ze,Be){this.cdr=Pe,this.pemDecodeService=$e,this.fb=ze,this.modalService=Be,this.form=this.fb.group({certificate:[null,[m.k0.required]],details:[null,[m.k0.required]],notBefore:[null,[m.k0.required]],notAfter:[null,[m.k0.required]]}),this.fields=[{wrappers:["side-sheet-section-wrapper"],fieldGroup:[{key:"certificate",type:"multi-line-text",templateOptions:{label:"X.509 Certificate",required:!0,rows:4}},{key:"details",type:"json-content",templateOptions:{label:"Certificate details"}},{key:"notBefore",type:"date-time",templateOptions:{label:"Valid from",readonly:!0}},{key:"notAfter",type:"date-time",templateOptions:{label:"Expires",readonly:!0}}]}],this.model={$security:"app/security-policy/instance-anonymous-admin",$type:"app/x509",certificate:"",details:{},notBefore:null,notAfter:null},this.loading=!1,this.appAlert=null,this.disableDone$=new w.t(!1),this.unsubscribe$=new a.B,this.done$=new a.B,this.showDelete=!1}setProps(Pe){this.showDelete=!1,this.props=(0,n.cloneDeep)(Pe),this.props.selectedItem&&(this.showDelete=!0,this.model=(0,n.cloneDeep)(this.props.selectedItem)),this.unsubscribe$.next(),this.setupDoneStatus(),this.watchCertificateForChanges(),this.cdr.detectChanges()}ngOnInit(){}setupDoneStatus(){const Pe=this.disableDone$,$e=this.form.statusChanges.pipe((0,I.Z)({}));this.doneIsDisable$=(0,D.z)([Pe,$e]).pipe((0,y.T)(([ze])=>ze||this.form.invalid||!this.form.dirty),(0,b.F)(),(0,g.Q)(this.unsubscribe$))}watchCertificateForChanges(){this.form.get("certificate").valueChanges.pipe((0,g.Q)(this.unsubscribe$),(0,b.F)(),(0,M.p)(Boolean),(0,M.p)(()=>this.form.dirty),(0,q.M)(()=>{this.disableDone$.next(!0)}),(0,z.B)(150),(0,F.n)(Pe=>(this.loading=!0,this.appAlert="",this.form.patchValue({details:null,notBefore:null,notAfter:null}),this.cdr.detectChanges(),this.pemDecodeService.decodePem({certificate:Pe})))).subscribe(({result:Pe,error:$e})=>{this.loading=!1,this.disableDone$.next(!1),Pe&&this.form.patchValue({details:Pe,notBefore:O()(Pe.validFrom),notAfter:O()(Pe.validTo)}),$e&&(this.form.get("certificate").setErrors({other:"Invalid"}),this.appAlert=$e),this.cdr.detectChanges()})}done(){if(this.props.selectedItem){const $e=this.props.items;$e[this.props.selectedItemIndex]=this.model,this.done$.next({items:$e})}else{const ze=[...this.props.items||[],this.model];this.done$.next({items:ze})}}delete(){const Pe=this.modalService.open(C.F,C.G);Pe.componentInstance.setProps({message:"Do you really want to delete this certificate?",objectType:"x509 certificate"}),Pe.result.then(ze=>{ze&&(this.props.items.splice(this.props.selectedItemIndex,1),this.done$.next({items:this.props.items}))})}ngOnDestroy(){this.done$.complete(),this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function($e){return new($e||Oe)(U.rXU(U.gRc),U.rXU(B),U.rXU(m.ok),U.rXU(j.Bq))};static#t=this.\u0275cmp=U.VBU({type:Oe,selectors:[["app-x509"]],decls:7,vars:10,consts:[["action","Done",3,"actioned","disabled"],["type","danger",4,"ngIf"],[1,"pt-2",3,"formGroup","appSpinner"],[3,"fields","model","form"],["class","text-center",4,"ngIf"],["type","danger"],[1,"text-center"],["data-test","certificate-delete-button",1,"btn","btn-danger",3,"click"]],template:function($e,ze){1&$e&&(U.j41(0,"app-side-sheet-header",0),U.nI1(1,"async"),U.bIt("actioned",function(){return ze.done()}),U.EFF(2,"Configure certificate"),U.k0s(),U.DNE(3,pe,2,1,"app-alert",1),U.j41(4,"form",2),U.nrm(5,"formly-form",3),U.k0s(),U.DNE(6,te,3,0,"div",4)),2&$e&&(U.Y8G("disabled",U.bMT(1,8,ze.doneIsDisable$)),U.R7$(3),U.Y8G("ngIf",ze.appAlert),U.R7$(),U.Y8G("formGroup",ze.form)("appSpinner",ze.loading),U.R7$(),U.Y8G("fields",ze.fields)("model",ze.model)("form",ze.form),U.R7$(),U.Y8G("ngIf",ze.showDelete))},dependencies:[$.bT,H.aF,m.qT,m.cb,m.j4,ie.C,ne.b,Q.R,le.d,$.Jj],changeDetection:0})}return Oe})();var K=s(90390),de=s(28276);function Me(Oe,Xe){if(1&Oe&&(U.j41(0,"app-alert",5),U.EFF(1),U.k0s()),2&Oe){const Pe=U.XpG();U.R7$(),U.JRh(Pe.appAlert)}}function me(Oe,Xe){if(1&Oe){const Pe=U.RV6();U.j41(0,"div",6)(1,"button",7),U.bIt("click",function(){U.eBV(Pe);const ze=U.XpG();return U.Njj(ze.delete())}),U.EFF(2,"Delete"),U.k0s()()}}let be=(()=>{class Oe{get loading(){return this.loadingIdp||this.loadingDateFormatter}constructor(Pe,$e,ze,Be,Ye){this.identityProviderService=Pe,this.dateFormatService=$e,this.fb=ze,this.cdr=Be,this.modalService=Ye,this.appAlert=null,this.form=this.fb.group({name:[null,[m.k0.required]],loginUrl:[null,[m.k0.required]],logoutUrl:[null,[]],jitProvisioning:[!1,[]],dedicatedEntityId:[null,[]],entityIdType:[null,[]],publicCertificates:[null,[m.k0.required]]}),this.disabled$=(0,D.z)([this.form.statusChanges,this.form.valueChanges]).pipe((0,y.T)(()=>!(!this.form.pristine&&!this.form.invalid)),(0,I.Z)(!0),(0,b.F)()),this.fields=[],this.model={$security:"app/security-policy/instance-anonymous-admin",$type:"app/sso/saml/idp",name:"",loginUrl:"",logoutUrl:"",jitProvisioning:!1,jitContactType:null,jitContactSecurityPolicy:null,dedicatedEntityId:!0,entityIdType:"legacy_dedicated",publicCertificates:[]},this.defaultSelectedItem=new m.MJ(this.model.entityIdType),this.subs=new E.yU,this.loadingIdp=!1,this.loadingDateFormatter=!1,this.done$=new a.B,this.showDelete=!1}setProps(Pe){if(this.showDelete=!1,Pe.selectedItem){this.showDelete=!0,this.loadingIdp=!0,this.cdr.detectChanges();const $e=(0,n.get)(Pe,"selectedItem.$tip");if(!$e)throw new Error("No tip on selectedItem");this.identityProviderService.getSAMLProvider($e).pipe((0,L.$)()).subscribe(ze=>{this.loadingIdp=!1,this.model=this.constructModelValues(ze),this.loadingDateFormatter||this.setupFields(this.itemDisplayFn),this.cdr.detectChanges()},ze=>{this.loadingIdp=!1,this.appAlert="Could not load SAML provider.",this.cdr.detectChanges()})}}constructModelValues(Pe){let $e=Pe.entityIdType||"legacy_dedicated";return(0,n.isEmpty)(Pe.entityIdType)&&"false"===(0,n.toString)(Pe.dedicatedEntityId)&&($e="universal"),this.defaultSelectedItem.setValue($e),{...Pe,entityIdType:$e}}setUpEntityUrl(){let Pe=o.c.host+"/saml-sp";return"legacy_dedicated"===this.model.entityIdType&&(Pe+="?ns="+encodeURIComponent(o.c.ns)),"instance_specific"===this.model.entityIdType&&(Pe+="/entity/"+encodeURIComponent(o.c.ns)),Pe}setUpMetaDataUrl(){return o.c.host+"/saml-sp/metadata.xml?ns="+encodeURIComponent(o.c.ns)+"&idp="+encodeURIComponent(this.model.$tip)}setUpIDPUrl(){return o.c.host+"/saml-sp/login?ns="+encodeURIComponent(o.c.ns)+"&idp="+encodeURIComponent(this.model.$tip)}setupFields(Pe){this.fields=[{wrappers:["side-sheet-section-wrapper"],fieldGroup:(0,n.compact)([{key:"name",type:"input",templateOptions:{label:"Provider name",type:"text",required:!0}},{key:"loginUrl",type:"input",templateOptions:{label:"SSO login URL",type:"url",required:!0}},{key:"logoutUrl",type:"input",templateOptions:{label:"SSO logout URL",type:"url"}},{key:"entityIdType",type:"single-item-selection-list",templateOptions:{label:"Select a dedicated Service Provider entity",options:[{label:"Universal",value:"universal"},{label:"Instance specific",value:"instance_specific"},{label:"Legacy dedicated",value:"legacy_dedicated"}],defaultItem:this.defaultSelectedItem},expressionProperties:{"model.metadataUrl":()=>this.setUpMetaDataUrl(),"model.entityId":()=>this.setUpEntityUrl(),"model.idpInitiatingUrl":()=>this.setUpIDPUrl()}},{key:"jitProvisioning",type:"just-in-time-provisioning",templateOptions:{label:"Just-in-time provisioning",model:this.model,doneFn:$e=>{this.model=$e,this.form.markAsDirty(),this.cdr.detectChanges()}}}])},{wrappers:["side-sheet-section-wrapper"],templateOptions:{showBorder:!0},hideExpression:"!model.$tip",fieldGroup:[{key:"metadataUrl",type:"input-copyable",templateOptions:{label:"Metadata XML URL",type:"text",readonly:!0}},{key:"entityId",type:"input-copyable",templateOptions:{label:"Service Provider entity",type:"text",readonly:!0}},{key:"idpInitiatingUrl",type:"input-copyable",templateOptions:{label:"idP initiating URL",type:"text",readonly:!0}}]},{wrappers:["side-sheet-section-wrapper"],templateOptions:{showBorder:!0},fieldGroup:[{key:"publicCertificates",type:"component-launch-object-chooser",templateOptions:{label:"Public certificates",component:ae,itemDisplayFn:Pe,itemIconDisplayFn:$e=>"file",emptyStateLabel:"No certificates here",emptyStateActionText:"Add a certificate",emptyStateImage:"assets/img/empty-states/no-file.svg",maxLength:3,required:!0}}]}]}ngOnInit(){this.loadingDateFormatter=!0,this.dateFormatService.getFormatFn().pipe((0,L.$)()).subscribe(Pe=>{this.itemDisplayFn=$e=>`Expiry: ${Pe(O()($e.notAfter))}`,this.loadingIdp||this.setupFields(this.itemDisplayFn),this.loadingDateFormatter=!1,this.cdr.detectChanges()},Pe=>{this.itemDisplayFn=$e=>$e.notAfter,this.loadingIdp||this.setupFields(this.itemDisplayFn),this.appAlert="Failed to load certificate label formatter",this.loadingDateFormatter=!1,this.cdr.detectChanges()}),this.subs.add(this.defaultSelectedItem.valueChanges.subscribe(Pe=>{Pe?(this.model.entityIdType=Pe,this.form.markAsDirty()):this.defaultSelectedItem.setValue(this.model.entityIdType?this.model.entityIdType:"legacy_dedicated")}))}ngOnDestroy(){this.subs.unsubscribe()}save(){if(this.loadingIdp)return!0;this.loadingIdp=!0,this.identityProviderService.setSAMLProvider(this.model).pipe((0,L.$)()).subscribe(Pe=>{this.loadingIdp=!1,this.cdr.detectChanges(),this.done$.next({})},Pe=>{this.loadingIdp=!1,this.appAlert="Could not save Identity provider.",this.cdr.detectChanges()})}delete(){const Pe=this.modalService.open(C.F,C.G);Pe.componentInstance.setProps({message:"Do you really want to delete this identity provider",objectType:"Identity provider"}),Pe.result.then(ze=>{ze&&this.deleteProvider()})}deleteProvider(){this.loadingIdp=!0,this.identityProviderService.deleteSAMLProvider(this.model).pipe((0,L.$)()).subscribe(Pe=>{this.loadingIdp=!1,this.cdr.detectChanges(),this.done$.next({})},Pe=>{this.loadingIdp=!1,this.appAlert="Could not delete this identity provider",this.cdr.detectChanges()})}static#e=this.\u0275fac=function($e){return new($e||Oe)(U.rXU(K.Lv),U.rXU(de.h),U.rXU(m.ok),U.rXU(U.gRc),U.rXU(j.Bq))};static#t=this.\u0275cmp=U.VBU({type:Oe,selectors:[["app-identity-provider"]],decls:6,vars:8,consts:[["action","Save",3,"actioned","disabled"],["type","danger",4,"ngIf"],[1,"pt-2",3,"formGroup","appSpinner"],[3,"fields","model","form"],["class","text-center",4,"ngIf"],["type","danger"],[1,"text-center"],["data-test","idp-delete-button",1,"btn","btn-danger",3,"click"]],template:function($e,ze){1&$e&&(U.j41(0,"app-side-sheet-header",0),U.bIt("actioned",function(){return ze.save()}),U.EFF(1,"Configure SAML IDP"),U.k0s(),U.DNE(2,Me,2,1,"app-alert",1),U.j41(3,"form",2),U.nrm(4,"formly-form",3),U.k0s(),U.DNE(5,me,3,0,"div",4)),2&$e&&(U.Y8G("disabled",ze.form.pristine||ze.form.invalid),U.R7$(2),U.Y8G("ngIf",ze.appAlert),U.R7$(),U.Y8G("formGroup",ze.form)("appSpinner",ze.loading),U.R7$(),U.Y8G("fields",ze.fields)("model",ze.model)("form",ze.form),U.R7$(),U.Y8G("ngIf",ze.showDelete))},dependencies:[$.bT,H.aF,m.qT,m.cb,m.j4,ie.C,ne.b,Q.R,le.d],changeDetection:0})}return Oe})();function Le(Oe,Xe){if(1&Oe&&(U.j41(0,"app-alert",3),U.EFF(1),U.k0s()),2&Oe){const Pe=U.XpG();U.R7$(),U.JRh(Pe.appAlert)}}let Ae=(()=>{class Oe{constructor(Pe,$e,ze){this.identityProviderService=Pe,this.cdr=$e,this.fb=ze,this.form=this.fb.group({serviceProviderMetadata:[null],providers:[null]}),this.fields=[{wrappers:["side-sheet-section-wrapper"],templateOptions:{title:"SAML single sign-on",showHeader:!0}},{wrappers:["side-sheet-section-wrapper"],templateOptions:{showBorder:!1},fieldGroup:[{key:"providers",type:"component-launch-object-chooser",templateOptions:{label:"SAML identity providers",component:be,itemDisplayFn:Be=>(0,n.get)(Be,"title","--no label present--"),emptyStateLabel:"No identity providers",emptyStateActionText:"Add an identity provider",emptyStateImage:"assets/img/empty-states/no-checklists.svg"}}]}],this.model={providers:[]},this.loading=!1,this.appAlert=null,this.destroy$=new a.B}ngOnInit(){this.loading=!0,this.cdr.markForCheck(),this.identityProviderService.getIdentityProviders$().pipe((0,g.Q)(this.destroy$)).subscribe(Pe=>{this.model.providers=Pe,this.form.patchValue({providers:Pe}),this.loading=!1,this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function($e){return new($e||Oe)(U.rXU(K.Lv),U.rXU(U.gRc),U.rXU(m.ok))};static#t=this.\u0275cmp=U.VBU({type:Oe,selectors:[["app-settings-single-sign-on"]],decls:5,vars:6,consts:[["type","danger",4,"ngIf"],[1,"pt-2",3,"formGroup","appSpinner"],[3,"fields","model","form"],["type","danger"]],template:function($e,ze){1&$e&&(U.j41(0,"app-side-sheet-header"),U.EFF(1,"Configure single sign-on"),U.k0s(),U.DNE(2,Le,2,1,"app-alert",0),U.j41(3,"form",1),U.nrm(4,"formly-form",2),U.k0s()),2&$e&&(U.R7$(2),U.Y8G("ngIf",ze.appAlert),U.R7$(),U.Y8G("formGroup",ze.form)("appSpinner",ze.loading),U.R7$(),U.Y8G("fields",ze.fields)("model",ze.model)("form",ze.form))},dependencies:[$.bT,H.aF,m.qT,m.cb,m.j4,ie.C,ne.b,Q.R],changeDetection:0})}return Oe})()},65886:(at,N,s)=>{"use strict";s.d(N,{CO:()=>k,DL:()=>Y,TN:()=>U});var n=s(67376),g=s(7673),m=s(61594),T=s(88141),O=s(96354),D=s(34775),E=s(16976),y=s(55516),I=s(90390),b=s(69172),L=s(50835),o=s(93953),C=s(44667),w=s(51229),M=s(27916),q=s(14784),z=s(8142),F=s(15387),U=function(x){return x.verificationEmailSent="Verification email sent",x.statusUpdated="Status updated",x.profileUpdated="Profile updated",x.existingEmail="Already existing email",x.invitationEmailSent="Invitation email sent",x}(U||{}),k=function(x){return x.invitationEmailResent="Invitation email resent",x.verificationEmailResent="Verification email resent",x.noAction="No action",x}(k||{});let Y=(()=>{class x{constructor(j,$,H,ie,ne,Q){this._objectService=j,this._queryService=$,this._processService=H,this._meService=ie,this.authHttpClientService=ne,this.sessionManagerService=Q}get _me$(){return this._me?(0,g.of)(this._me):this._meService.me$.pipe((0,m.$)(Boolean),(0,T.M)(j=>this._me=j))}getUsers(j=0,$,H,ie,ne){const Q=y.R.GET_ALL_USERS_WITH_USER_TYPE;let le={dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:["TITLE()"],offset:j,limit:$}]};return ne&&(le.extraFilters=ne),H&&(le=(0,D.CD)(le,["app/user"],H)),ie&&(le=(0,D.HF)(le,ie)),this._queryService.execute1dFirst(Q,le).pipe((0,O.T)(pe=>pe.map(te=>(this.normalizeUserSummary(te),this.setUserType(te),te))))}getAllUsers({limit:j,offset:$,searchText:H}){return this._queryService.execute1dFirst(y.R.GET_ALL_USERS,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",limit:j,offset:$,sortby:["TITLE()"],sortdir:["asc"]}],extraFilters:[{label:"Search users",formula:'NOT(EQUALS(FIND_TEXT(TITLE(), VAR("searchText")), -1))'}],vars:{searchText:[H]}}).pipe((0,O.T)(ie=>ie.map(ne=>(this.normalizeUserSummary(ne),ne))))}setUserType(j){j.userType=j.isFullUserType?b.ve.fullUser:b.ve.liteUser}normalizeUserSummary(j){("awaiting verification"!==j.status||""===j.newEmail)&&delete j.newEmail,j.$type="app/user"}getUserWithContact(j){return this._objectService.getObject(j,E.TA)}getUser(j){return this._objectService.getObject(j,E.tG)}deprovisionUser(j){return this._processService.start("eim/process/auth/deprovision-user",{User:[j.$tip]}).pipe((0,m.$)(({finished:$})=>$),(0,T.M)(({vars:$})=>{if("De-provisioned user"!==(0,n.get)($,["Outcome",0],null))throw new Error("Failed to de-provision user")}))}updateUser(j){const $={User:[j.$tip],Email:[j.email],Status:[j.status],Profiles:j.profiles,Person:Array.isArray(j.person)?j.person:j.person?[j.person]:[],...(0,I.Z7)(j.identityProvider)?{}:{"Identity provider name identifier":[j.idpNameId],"Identity provider":[j.identityProvider]}};return this._processService.start("eim/process/users/update",$).pipe((0,m.$)(H=>H.finished),(0,O.T)(H=>(0,n.get)(H,["vars","User update statuses"])))}updateUserLocale(j){return this._processService.start("eim/process/users/update-user-locale",{User:[j.$tip],Locale:[j.localeId]}).pipe((0,m.$)(H=>H.finished),(0,O.T)(H=>(0,n.get)(H,["vars","User update statuses"])),(0,T.M)(H=>console.log({statuses:H})))}inviteUsers({emails:j,profileTips:$,identityProvider:H}){const ie={Emails:j,Profiles:$};return H!==I.pN&&(ie["Identity provider"]=[H]),this._processService.start("eim/process/users/invite",ie).pipe((0,m.$)(ne=>ne.finished),(0,O.T)(ne=>(0,n.get)(ne,["vars","Valid emails"])))}resendEmail(j){return this._processService.start("eim/process/users/resend-email",{User:[j.$tip]}).pipe((0,m.$)($=>$.finished),(0,O.T)($=>(0,n.get)($,["vars","Resend email status",0])))}resetTotp$(j){return this.authHttpClientService.post(L.c.host+"/mfa/totp/admin/reset",{userTip:j})}static#e=this.\u0275fac=function($){return new($||x)(o.KVO(C.T),o.KVO(w.c),o.KVO(M.V),o.KVO(q.Q),o.KVO(z.V),o.KVO(F.Pb))};static#t=this.\u0275prov=o.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},83086:(at,N,s)=>{"use strict";s.d(N,{KH:()=>y,lN:()=>L,yN:()=>I});var n=s(84281),a=s.n(n);const g=(Math.sqrt(2)-1)/3*4;var m=[];function O(){var o=m.pop();return void 0===o?new(a().Point):o}function D(o){m.push(o)}function E(o,C,w,M,q,z,F,U,k,Y,x,B,j,$){var H=1-k,ne=o*H+w*k,Q=C*H+M*k,le=w*H+q*k,pe=M*H+z*k,te=q*H+F*k,ae=z*H+U*k,K=ne*H+le*k,de=Q*H+pe*k,Me=le*H+te*k,me=pe*H+ae*k,be=K*H+Me*k,Le=de*H+me*k;Y.x=ne,Y.y=Q,x.x=K,x.y=de,B.x=be,B.y=Le,j.x=Me,j.y=me,$.x=te,$.y=ae}const y=(o,C,w)=>{var M=new(a().Geometry),q=new(a().PathFigure)(.35*C,0,!0);M.add(q),q.add(new(a().PathSegment)(a().PathSegment.Line,.65*C,0)),q.add(new(a().PathSegment)(a().PathSegment.Line,.65*C,.4*w)),q.add(new(a().PathSegment)(a().PathSegment.Line,.35*C,.4*w)),q.add(new(a().PathSegment)(a().PathSegment.Line,.35*C,0).close());var z=new(a().PathFigure)(.1*C,w,!0,!0);M.add(z),z.add(new(a().PathSegment)(a().PathSegment.Line,.4*C,w)),z.add(new(a().PathSegment)(a().PathSegment.Line,.4*C,.6*w)),z.add(new(a().PathSegment)(a().PathSegment.Line,.1*C,.6*w)),z.add(new(a().PathSegment)(a().PathSegment.Line,.1*C,w).close());var F=new(a().PathFigure)(.6*C,w,!0,!0);M.add(F),F.add(new(a().PathSegment)(a().PathSegment.Line,.9*C,w)),F.add(new(a().PathSegment)(a().PathSegment.Line,.9*C,.6*w)),F.add(new(a().PathSegment)(a().PathSegment.Line,.6*C,.6*w)),F.add(new(a().PathSegment)(a().PathSegment.Line,.6*C,w).close());var U=new(a().PathFigure)(0,.5*w,!1);return M.add(U),U.add(new(a().PathSegment)(a().PathSegment.Line,C,.5*w)),U.add(new(a().PathSegment)(a().PathSegment.Move,.5*C,.5*w)),U.add(new(a().PathSegment)(a().PathSegment.Line,.5*C,.4*w)),U.add(new(a().PathSegment)(a().PathSegment.Move,.75*C,.5*w)),U.add(new(a().PathSegment)(a().PathSegment.Line,.75*C,.6*w)),U.add(new(a().PathSegment)(a().PathSegment.Move,.25*C,.5*w)),U.add(new(a().PathSegment)(a().PathSegment.Line,.25*C,.6*w)),M},I=(o,C,w)=>{var M=new(a().Geometry),q=.5*g,z=.5,F=.5,U=.5,k=new(a().PathFigure)(F*C,(U-z)*w);M.add(k),k.add(new(a().PathSegment)(a().PathSegment.Bezier,(F-z)*C,U*w,(F-q)*C,(U-z)*w,(F-z)*C,(U-q)*w)),k.add(new(a().PathSegment)(a().PathSegment.Bezier,F*C,(U+z)*w,(F-z)*C,(U+q)*w,(F-q)*C,(U+z)*w)),k.add(new(a().PathSegment)(a().PathSegment.Bezier,(F+z)*C,U*w,(F+q)*C,(U+z)*w,(F+z)*C,(U+q)*w)),k.add(new(a().PathSegment)(a().PathSegment.Bezier,F*C,(U-z)*w,(F+z)*C,(U-q)*w,(F+q)*C,(U-z)*w)),z=.4,q=.4*g;var Y=O(),x=O(),B=O(),j=O();E(F,U-z,F+q,U-z,F+z,U-q,F+z,U,.42,Y,x,B,j,j);var $=O(),H=O(),ie=O();E(F,U-z,F+q,U-z,F+z,U-q,F+z,U,.58,j,j,ie,$,H);var ne=O(),Q=O(),le=O();E(F,U+z,F-q,U+z,F-z,U+q,F-z,U,.42,ne,Q,le,j,j);var pe=O(),te=O(),ae=O();return E(F,U+z,F-q,U+z,F-z,U+q,F-z,U,.58,j,j,ae,pe,te),k.add(new(a().PathSegment)(a().PathSegment.Move,ae.x*C,ae.y*w)),k.add(new(a().PathSegment)(a().PathSegment.Bezier,(F-z)*C,U*w,pe.x*C,pe.y*w,te.x*C,te.y*w)),k.add(new(a().PathSegment)(a().PathSegment.Bezier,F*C,(U-z)*w,(F-z)*C,(U-q)*w,(F-q)*C,(U-z)*w)),k.add(new(a().PathSegment)(a().PathSegment.Bezier,B.x*C,B.y*w,Y.x*C,Y.y*w,x.x*C,x.y*w)),k.add(new(a().PathSegment)(a().PathSegment.Line,ae.x*C,ae.y*w).close()),k.add(new(a().PathSegment)(a().PathSegment.Move,le.x*C,le.y*w)),k.add(new(a().PathSegment)(a().PathSegment.Line,ie.x*C,ie.y*w)),k.add(new(a().PathSegment)(a().PathSegment.Bezier,(F+z)*C,U*w,$.x*C,$.y*w,H.x*C,H.y*w)),k.add(new(a().PathSegment)(a().PathSegment.Bezier,F*C,(U+z)*w,(F+z)*C,(U+q)*w,(F+q)*C,(U+z)*w)),k.add(new(a().PathSegment)(a().PathSegment.Bezier,le.x*C,le.y*w,ne.x*C,ne.y*w,Q.x*C,Q.y*w).close()),D(Y),D(x),D(B),D(j),D($),D(H),D(ie),D(ne),D(Q),D(le),D(pe),D(te),D(ae),M.defaultStretch=a().GraphObject.Uniform,M},L=(o,C,w)=>{var M=new(a().Geometry),q=new(a().PathFigure)(0,.1*w,!0);return M.add(q),q.add(new(a().PathSegment)(a().PathSegment.Line,0,w)),q.add(new(a().PathSegment)(a().PathSegment.Move,0,.1*w)),q.add(new(a().PathSegment)(a().PathSegment.Bezier,.5*C,.1*w,.15*C,0,.35*C,0)),q.add(new(a().PathSegment)(a().PathSegment.Bezier,C,.1*w,.65*C,.2*w,.85*C,.2*w)),q.add(new(a().PathSegment)(a().PathSegment.Line,C,.5*w)),q.add(new(a().PathSegment)(a().PathSegment.Bezier,.5*C,.5*w,.85*C,.6*w,.65*C,.6*w)),q.add(new(a().PathSegment)(a().PathSegment.Bezier,0,.5*w,.35*C,.4*w,.15*C,.4*w).close()),M}},99298:(at,N,s)=>{"use strict";s.d(N,{T:()=>E});var n=s(84281),g=s(47322),m=s(83086);const O=n.GraphObject.make;n.Shape.defineFigureGenerator("Ethernet",m.KH);class E{static getTemporaryLinkStyles(){return{temporaryFromPort:{figure:g.HY.CIRCLE,stroke:g.lm.PORT_SELECT,strokeWidth:2,fill:null},temporaryToPort:{figure:g.HY.R_RECT,stroke:g.lm.PORT_SELECT,strokeWidth:2,fill:null},temporaryLinkLine:{stroke:g.lm.PORT_SELECT,strokeWidth:1,fill:g.lm.PORT_SELECT}}}constructor(){}getTempLinkingNode(){return O(n.Node,"Spot",{layerName:"Tool"},O(n.Shape,g.HY.CIRCLE,{stroke:null,fill:g.lm.PORT_SELECT,width:10,height:10}))}getPortLinkingShape(){return O(n.Shape,g.HY.CIRCLE,{segmentIndex:-1,cursor:"pointer",desiredSize:new n.Size(10,10),fill:g.lm.PORT_SELECT,stroke:g.lm.WHITE,strokeWidth:1})}getArrowHeadShape(){return O(n.Shape,{toArrow:"Standard",stroke:null,fill:g.lm.DARK_GREY,scale:1.5,margin:new n.Margin(0,0,0,20)},new n.Binding("fill","value",(I,b)=>{if(b.part?.isSelected)return g.lm.LINK_LABEL_SELECT;let L=b.part.fromNode.isSelected;return b.part.fromNode.findLinksOutOf().each(o=>{o.isSelected&&o.data.value===I&&(L=!0)}),L?g.lm.LINK_LABEL_SELECT_SIMILAR:g.lm.DARK_GREY}))}getLinkPathShape(){return O(n.Shape,{margin:new n.Margin(0,0,0,-10),isPanelMain:!0,stroke:g.lm.DARK_GREY,strokeWidth:2},new n.Binding("strokeDashArray","value",I=>"failed"===I.toLowerCase()?[2,2]:[]),new n.Binding("stroke","value",(I,b)=>{if(b.part?.isSelected)return g.lm.LINK_LABEL_SELECT;let L=b.part.fromNode.isSelected;return b.part.fromNode.findLinksOutOf().each(o=>{o.isSelected&&o.data.value===I&&(L=!0)}),L?g.lm.LINK_LABEL_SELECT_SIMILAR:g.lm.DARK_GREY}))}getLinkLabelPanel(){return O(n.Panel,"Auto",{segmentOrientation:n.Link.OrientUpright,toolTip:O("ToolTip",O(n.TextBlock,{text:"Click to edit connection properties"}))},O(n.Shape,"RoundedRectangle",{fill:g.lm.LINK_LABEL_BG,stroke:null},new n.Binding("fill","value",(I,b)=>{if(b.part?.isSelected)return g.lm.LINK_LABEL_SELECT;let L=b.part.fromNode.isSelected;if(b.part.fromNode.findLinksOutOf().each(o=>{o.isSelected&&o.data.value===I&&(L=!0)}),L)return g.lm.LINK_LABEL_SELECT_SIMILAR;switch(I.toLowerCase()){case"failed":return g.lm.CAUTION_FILL;case"done":return g.lm.OK_FILL;default:return g.lm.LINK_LABEL_BG}})),O(n.Panel,n.Panel.Horizontal,O(n.TextBlock,{textAlign:"center",font:"11px "+g.fU,stroke:g.lm.WHITE,margin:new n.Margin(2,4),minSize:new n.Size(15,NaN),editable:!1},new n.Binding("text","text",(I,b)=>I+[{s:86400,t:"d"},{s:3600,t:"h"},{s:60,t:"m"},{s:1,t:"s"}].reduce((L,o)=>(""===L&&b.part?.data?.delaySec>=o.s&&(L=" (+"+(Math.round(b.part?.data?.delaySec/o.s*10)/10).toString().replace(/\.0+$/,"")+o.t+")"),L),""))),O(n.Shape,{figure:"Ethernet",width:10,height:8,fill:g.lm.WHITE,stroke:g.lm.WHITE,strokeWidth:1,margin:new n.Margin(0,3,0,2),toolTip:O("ToolTip",O(n.TextBlock,{text:"Will run in parallel with similar connections"}))},new n.Binding("visible","value",(I,b)=>{let L=0;return b.part.fromNode.findLinksOutOf().each(o=>{o.data.value===I&&L++}),L>1}))))}getLinkShapingHandleShape(){return O(n.Shape,g.HY.DIAMOND,{desiredSize:new n.Size(7,7),fill:g.lm.WHITE,stroke:g.lm.PORT_SELECT})}}},27389:(at,N,s)=>{"use strict";s.d(N,{l:()=>m});var n=s(89417),a=s(42641),g=s(93953);let m=(()=>{class T{constructor(){this.propsForm=new n.gE({outcome:new n.MJ("",n.k0.required),delaySec:new n.MJ(0)}),this.outcomeOptions=[],this.done=()=>{}}ngOnInit(){this.propsForm.setValue({outcome:this.outcome,delaySec:this.delaySec}),this.outcomeOptions=this.outcomeCandidates.map(D=>({label:a.Pg[D]||D,value:D}))}onDone(){this.done({outcome:this.propsForm.controls.outcome.value,delaySec:this.propsForm.controls.delaySec.value})}static#e=this.\u0275fac=function(E){return new(E||T)};static#t=this.\u0275cmp=g.VBU({type:T,selectors:[["app-link-editor"]],decls:6,vars:4,consts:[["action","Done",3,"actioned","disabled"],[3,"formGroup"],[1,"modal-body"],["label","Link type","placeholder","Select a link type","formControlName","outcome",3,"options","required"],["label","Delay in seconds","placeholder","Delay in seconds","formControlName","delaySec","type","number","min","0","step","0.01"]],template:function(E,y){1&E&&(g.j41(0,"app-side-sheet-header",0),g.bIt("actioned",function(){return y.onDone()}),g.EFF(1," Edit Link\n"),g.k0s(),g.j41(2,"form",1)(3,"div",2),g.nrm(4,"app-single-option-list-field",3)(5,"app-text-field",4),g.k0s()()),2&E&&(g.Y8G("disabled",y.propsForm.invalid||y.propsForm.pristine),g.R7$(2),g.Y8G("formGroup",y.propsForm),g.R7$(2),g.Y8G("options",y.outcomeOptions)("required",!0))}})}return T})()},47544:(at,N,s)=>{"use strict";s.d(N,{z:()=>n});class n extends Error{constructor(g,m){super(g),Object.setPrototypeOf(this,n.prototype),this.data=m,this.name="InvalidWorkflowNodeDataError"}}},58531:(at,N,s)=>{"use strict";s.d(N,{cV:()=>g,gF:()=>T,wQ:()=>a,x7:()=>O});var n=s(76194);function a(D){return D.dataType===n.TV.file}function g(D){return D?D.filter(a).map(E=>({label:E.label,value:E.key})):[]}function T(){return{key:"title",type:"input",className:"eim-noggin-form-row",templateOptions:{label:"Description",placeholder:"Description",type:"text",required:!0}}}function O(){return{key:"errorThreshold",type:"input",className:"eim-noggin-form-row",templateOptions:{label:"Error threshold",placeholder:"Error threshold",type:"text",required:!1,description:"Please enter a non-negative whole number with no decimal points."}}}},18531:(at,N,s)=>{"use strict";s.d(N,{A:()=>k,_:()=>F});var n=s(89417),a=s(42641),g=s(76194),m=s(84412),T=s(18359),O=s(43236),D=s(96697),E=s(23294),y=s(40941),I=s(5964),b=s(67376),o=s(93953),C=s(19937),w=s(25986);function M(Y,x){if(1&Y&&(o.j41(0,"div"),o.nrm(1,"app-workflow-value-chooser",11),o.k0s()),2&Y){const B=x.$implicit,j=o.XpG(2);o.R7$(),o.FS9("label",B.label),o.FS9("formControlName",B.tip),o.Y8G("dataAndObjectTypeConstraints",j.getRestrictedDataType(B.dataType))("required",B.required)("actors",j.actors)("inputs",j.inputs)("variables",j.variables)("isDisabled",B.isDisabled)}}function q(Y,x){if(1&Y&&(o.qex(0),o.DNE(1,M,2,8,"div",10),o.bVm()),2&Y){const B=o.XpG();o.R7$(),o.Y8G("ngForOf",B.fieldsList)}}function z(Y,x){if(1&Y){const B=o.RV6();o.j41(0,"div")(1,"app-empty-state",12),o.bIt("actionClick",function(){o.eBV(B),o.XpG();const $=o.sdS(11);return o.Njj($.openOptionListSideSheet())}),o.k0s()()}if(2&Y){const B=o.XpG();o.R7$(),o.FS9("label",B.labelForEmptyFieldsState),o.FS9("actionText",B.actionTextForEmptyFieldState)}}const F=["title","destinationNamespace","destinationType","fieldsData"];let k=(()=>{class Y{static#e=this.NS="SendObjectEditorComponent";constructor(B,j,$){this.fb=B,this.toastService=j,this.nogginConnectSettingsService=$,this.FIELD_DATA_TYPE=g.HT,this.EXTENDED_FIELD_DATA_TYPE=g.TV,this.sendObjectForm=this.fb.group({title:["",n.k0.required],destinationNamespace:["",n.k0.required],destinationType:["",n.k0.required]}),this.heading="Send object",this.destinationSystemList=[],this.destinationTypeList=[],this.fieldsList=[],this.deletedFields=[],this.existingData={},this.fieldDataTypeMapping={},this.isAutopopulate=!0,this.emptyDestinationSystemConfig={labelText:"No destination systems here",size:"default",imageSrc:"assets/img/empty-states/empty-state-generic.svg"},this.emptyDestinationObjectTypeConfig={labelText:"No destination object types here",size:"default",imageSrc:"assets/img/empty-states/empty-state-generic.svg"},this.destinationSystemPlaceholder="Select destination system",this.destinationTypePlaceholder="Select destination object type",this.labelForEmptyFieldsState="No fields here",this.actionTextForEmptyFieldState="Select destination object type fields",this.message="Configuring this node enables the workflow to send an object to the selected system. Any user with access to trigger this workflow is able to send an object to the selected system.",this.loading=new m.t(!1),this.subscription=new T.yU,this.done=()=>{},this.init=()=>{}}ngOnInit(){this.loading.next(!0),this.subscription.add(this.nogginConnectSettingsService.getAllInteropSystems().pipe((0,D.s)(1)).subscribe((B=[])=>{this.loading.next(!1),this.destinationSystemList=B.filter(j=>j.enabled).map(j=>({...j,label:j.name,value:j.$tip})),this.changeDestinationSystem(),this.init()},B=>{this.loading.next(!1),this.toastService.showErrorToast("Unable to retrieve destination systems.")}))}static deleteWorkflowProp(B,j){if(0===j.length)return;const $=JSON.stringify((0,b.cloneDeep)(B.fields));j.forEach(H=>{(0,b.includes)($,H)&&(B.fields.destinationNamespace=null)})}getRestrictedDataType(B){const j={...this.FIELD_DATA_TYPE,...this.EXTENDED_FIELD_DATA_TYPE};return B===j.string?[g.mm[j.string],g.mm[j["string-i18n"]]]:B===j.list?[g.mm[j.string],g.mm[j.list]]:[g.mm[j[B]]]}ngOnDestroy(){this.subscription.unsubscribe()}addData(B,j){this.tip=B.tip,this.processNodeType=B.processNodeType,this.actors=j.actors,this.inputs=j.inputs,this.variables=j.variables,this.existingData=(0,b.cloneDeep)((0,b.get)(B,"fields",{})),this.sendObjectForm.patchValue({...B.fields})}onDone(){const B={...this.sendObjectForm.value};this.deletedFields.forEach($=>{(0,b.unset)(B,$.tip)});const j={processNodeType:this.processNodeType,tip:this.tip,heading:this.heading,fields:{...this.constructFieldsValue(B)}};this.done(j,[{type:a.OZ.LABEL,text:"Send object"},{type:a.OZ.PLAIN_TEXT,text:this.sendObjectForm.get("title").value}])}constructFieldsValue(B){const j={};return Object.keys(B).forEach($=>{j[$]=F.indexOf($)<0?{fieldData:this.fieldDataTypeMapping[$],value:B[$]}:B[$]}),j}getDestinationType(B){this.loading.next(!0),this.subscription.add(this.nogginConnectSettingsService.getSystemTypeDefs(B).pipe((0,D.s)(1)).subscribe(j=>{this.loading.next(!1),this.destinationTypeList=j.types.map($=>({...$,label:$.name,value:$.tip})),this.changeDestinationType(),this.existingData.destinationType&&this.isAutopopulate&&(this.destinationTypeList.findIndex($=>$.tip===this.existingData.destinationType)>-1?(this.sendObjectForm.get("destinationType").setValue(this.existingData.destinationType),this.setFields(this.existingData.destinationType)):(this.existingData={},this.destinationTypePlaceholder="(deleted type)",this.resetForm({title:this.sendObjectForm.get("title").value,destinationNamespace:this.sendObjectForm.get("destinationNamespace").value})))},j=>{this.loading.next(!1),this.toastService.showErrorToast("Unable to retrieve destination types."),this.destinationTypeList=[],this.clearFormOlderValue(),this.destinationTypePlaceholder="Select destination object type",this.resetForm({title:this.sendObjectForm.get("title").value,destinationNamespace:this.sendObjectForm.get("destinationNamespace").value})}))}resetForm({title:B,destinationNamespace:j}){this.sendObjectForm.reset({title:B,destinationNamespace:j})}changeDestinationSystem(){this.subscription.add(this.sendObjectForm.get("destinationNamespace").valueChanges.pipe((0,E.F)()).pipe((0,y.Q)(O.E),(0,I.p)(B=>!!B)).subscribe(B=>{const j=this.destinationSystemList.findIndex($=>$.$tip===B);j>-1?(this.isAutopopulate=!0,this.existingData.destinationNamespace&&this.existingData.destinationNamespace!==B&&(this.isAutopopulate=!1,this.fieldsList=[],this.destinationTypeList=[],this.resetForm({title:this.sendObjectForm.get("title").value,destinationNamespace:B})),this.getDestinationType(this.destinationSystemList[j].namespace)):(this.existingData={},this.destinationSystemPlaceholder="(deleted system)",this.resetForm({title:this.sendObjectForm.get("title").value,destinationNamespace:""}))}))}clearFormOlderValue(){this.deletedFields=[],this.fieldsList=[],Object.keys(this.sendObjectForm.value??{}).forEach(B=>{["title","destinationNamespace","destinationType"].indexOf(B)<0&&this.sendObjectForm.removeControl(B)})}setFields(B){this.clearFormOlderValue();const j=[],$=this.destinationTypeList.find(H=>H.tip===B)?.fields??[];$?.forEach(H=>{this.sendObjectForm.addControl(H.tip,new n.MJ(this.existingData?this.existingData[H.tip]?.value:"",H.required?n.k0.required:void 0)),this.fieldDataTypeMapping[H.tip]=H}),this.existingData.destinationType===B&&(this.getRemovedFields([...$]),this.deletedFields.forEach(H=>{this.sendObjectForm.addControl(H.tip,new n.MJ(H.value)),j.push({tip:H.tip,label:(0,b.get)(H,"fieldData.label")+" (deleted field)",dataType:(0,b.get)(H,"fieldData.dataType"),isDisabled:!0})})),this.fieldsList=[...$,...j]}getRemovedFields(B){Object.keys(this.existingData??{}).forEach(j=>{F.indexOf(j)<0&&-1===B.findIndex($=>$.tip===j)&&this.deletedFields.push({...this.existingData[j],tip:j})})}changeDestinationType(){this.subscription.add(this.sendObjectForm.get("destinationType").valueChanges.pipe((0,E.F)()).pipe((0,I.p)(B=>!!B)).subscribe(B=>{this.setFields(B)}))}static#t=this.\u0275fac=function(j){return new(j||Y)(o.rXU(n.ok),o.rXU(C.f),o.rXU(w.Z))};static#n=this.\u0275cmp=o.VBU({type:Y,selectors:[["app-send-object-node-editor"]],decls:16,vars:22,consts:[["destinationObjectType",""],["action","Done",3,"actioned","disabled"],[3,"appSpinner"],[3,"formGroup"],[1,"modal-body"],["type","warning"],["label","Description","placeholder","Description","data-test","description-field","formControlName","title",3,"required"],["label","Destination system","title","Select destination system","formControlName","destinationNamespace",3,"placeholder","options","required","searchBox","emptyStateConfiguration","showBorderBeforeListItem"],["label","Destination object type","title","Select destination object type","formControlName","destinationType",3,"placeholder","options","required","searchBox","emptyStateConfiguration","showBorderBeforeListItem"],[4,"ngIf"],[4,"ngFor","ngForOf"],["placeholderText","Choose value",3,"label","dataAndObjectTypeConstraints","formControlName","required","actors","inputs","variables","isDisabled"],["imgSrc","assets/img/empty-states/empty-state-generic.svg","size","default",3,"actionClick","label","actionText"]],template:function(j,$){if(1&j){const H=o.RV6();o.j41(0,"app-side-sheet-header",1),o.bIt("actioned",function(){return o.eBV(H),o.Njj($.onDone())}),o.EFF(1),o.k0s(),o.j41(2,"div",2),o.nI1(3,"async"),o.j41(4,"form",3)(5,"div",4)(6,"app-alert",5),o.EFF(7),o.k0s(),o.nrm(8,"app-text-field",6)(9,"app-single-option-list-field",7)(10,"app-single-option-list-field",8,0),o.j41(12,"h3"),o.EFF(13,"Fields"),o.k0s(),o.DNE(14,q,2,1,"ng-container",9),o.k0s()()(),o.DNE(15,z,2,2,"div",9)}2&j&&(o.Y8G("disabled",null==$.sendObjectForm?null:$.sendObjectForm.invalid),o.R7$(),o.SpI(" ",$.heading,"\n"),o.R7$(),o.Y8G("appSpinner",o.bMT(3,20,$.loading)),o.R7$(2),o.Y8G("formGroup",$.sendObjectForm),o.R7$(3),o.SpI(" ",$.message," "),o.R7$(),o.Y8G("required",!0),o.R7$(),o.FS9("placeholder",$.destinationSystemPlaceholder),o.Y8G("options",$.destinationSystemList)("required",!0)("searchBox",!0)("emptyStateConfiguration",$.emptyDestinationSystemConfig)("showBorderBeforeListItem",!0),o.R7$(),o.FS9("placeholder",$.destinationTypePlaceholder),o.Y8G("options",$.destinationTypeList)("required",!0)("searchBox",!0)("emptyStateConfiguration",$.emptyDestinationObjectTypeConfig)("showBorderBeforeListItem",!0),o.R7$(4),o.Y8G("ngIf",null==$.fieldsList?null:$.fieldsList.length),o.R7$(),o.Y8G("ngIf",!(null!=$.fieldsList&&$.fieldsList.length)))},styles:["[_nghost-%COMP%]     .alert .icon span{color:#ffb133}[_nghost-%COMP%]     .alert-warning{background-color:#f5f5f5}[_nghost-%COMP%]     .alert .message{color:#3d3c3c}"]})}return Y})()},32665:(at,N,s)=>{"use strict";s.d(N,{Cj:()=>T,Go:()=>g,Jv:()=>D,mc:()=>O,rq:()=>a,sp:()=>m});var n=s(5002),a=function(E){return E.FILE_UPLOAD_FIELD="fieldUploadField",E.OBJECT_ATTACHMENTS="objectAttachments",E.DOCUMENT_FOLDER="documentFolder",E.INTEGRATION_BUCKET="integrationBucket",E.S3_BUCKET="s3Bucket",E.SFTP="sftp",E}(a||{}),g=function(E){return E.SAVE_FILE="saveFile",E.RETRIEVE_FILE="retrieveFile",E}(g||{});const m={[g.SAVE_FILE]:[{locationType:a.DOCUMENT_FOLDER,title:"Select a document folder",hasChevron:!0},{locationType:a.OBJECT_ATTACHMENTS,title:"Attach to an object",hasChevron:!0},{locationType:a.FILE_UPLOAD_FIELD,title:"Add to file upload field",hasChevron:!0}],[g.RETRIEVE_FILE]:[]},T={[g.SAVE_FILE]:[{locationType:a.INTEGRATION_BUCKET,title:"Integration bucket",featureFlag:n.g.FEATURE_INTEGRATION_BUCKET,hasChevron:!1},{locationType:a.S3_BUCKET,title:"Select an S3 Bucket",hasChevron:!0},{locationType:a.SFTP,title:"Select an SFTP site",hasChevron:!0}],[g.RETRIEVE_FILE]:[{locationType:a.INTEGRATION_BUCKET,title:"Integration bucket",featureFlag:n.g.FEATURE_INTEGRATION_BUCKET,hasChevron:!1},{locationType:a.S3_BUCKET,title:"Select an S3 Bucket",hasChevron:!0},{locationType:a.SFTP,title:"Select an SFTP site",hasChevron:!0}]},O={[a.DOCUMENT_FOLDER]:"eim/process/workflow/save-file-document-folder",[a.OBJECT_ATTACHMENTS]:"eim/process/workflow/save-file-attachments",[a.FILE_UPLOAD_FIELD]:"eim/process/workflow/save-file-file-upload-field",[a.INTEGRATION_BUCKET]:"eim/process/workflow/save-file-external",[a.S3_BUCKET]:"eim/process/workflow/save-file-external",[a.SFTP]:"eim/process/workflow/save-file-external"},D={[a.DOCUMENT_FOLDER]:"dummy",[a.OBJECT_ATTACHMENTS]:"dummy",[a.FILE_UPLOAD_FIELD]:"dummy",[a.INTEGRATION_BUCKET]:"eim/process/workflow/retrieve-file-external",[a.S3_BUCKET]:"eim/process/workflow/retrieve-file-external",[a.SFTP]:"eim/process/workflow/retrieve-file-external"}},2344:(at,N,s)=>{"use strict";s.d(N,{t:()=>H});var n=s(89417),a=s(29771),g=s(97586),m=s.n(g),T=s(61594),O=s(96354),D=s(99437),E=s(25558),y=s(7673),I=s(29058),b=s(76194);class L{static getFieldData(){return[{type:I.MS.name,label:"True or false",isObject:!1,dataOrObjectType:[b.HT.bool]},{type:I.Nr.name,label:"Number",placeholder:"Enter a number",inputType:"number",isObject:!1,dataOrObjectType:[b.HT.number]},{type:I.Ce.name,label:"Pick a date and time",placeholder:"",inputType:"datetime",isObject:!1,dataOrObjectType:[b.HT.datetime]},{type:I.Ce.name,label:"Pick a date",placeholder:"",inputType:"date",isObject:!1,dataOrObjectType:[b.HT.date]},{type:I.En.name,label:"Text value",placeholder:"Enter a text value",inputType:"text",isObject:!1,dataOrObjectType:[b.HT.string,b.HT.string_i18n],stringInterpolatedType:I.J6.name},{type:I.Ct.name,label:"Phone number",placeholder:"Enter a phone number",inputType:"tel",dataOrObjectType:[b.HT.phone],isObject:!1},{type:I.f1.name,label:"URL",inputType:"url",placeholder:"Enter a URL",dataOrObjectType:[b.HT.uri],isObject:!1},{type:I.$.name,label:"Email",placeholder:"Enter an email address",inputType:"email",dataOrObjectType:[b.HT.email],isObject:!1},{type:I.HQ.name,label:"",placeholder:"",dataOrObjectType:[b.HT.geography],isObject:!1},{type:I._r.name,label:"Choose address",inputType:null,dataOrObjectType:["app/address"],isObject:!0},{type:I.gZ.name,label:"Enter a text value",inputType:null,dataOrObjectType:["html"],isObject:!1,stringInterpolatedType:I.kz.name},{type:I.k7.name,label:"Choose from list",inputType:null,dataOrObjectType:[b.TV.list],isObject:!1},{type:I.og.name,label:"Choose from the list",placeholder:"Choose from the list",required:!1,inputType:"list",dataOrObjectType:[b.TV.options],isObject:!1},{type:I.lF.name,label:"Select object",placeholder:"Select object",required:!1,inputType:null,dataOrObjectType:[b.HT.object],isObject:!1}]}}var o=s(69172),C=s(70834),w=s(67376),M=s(93953),q=s(44667),z=s(32099),F=s(69703),U=s(51483),k=s(46791),Y=s(76087);function x(ie,ne){if(1&ie&&(M.qex(0),M.nrm(1,"formly-form",4),M.bVm()),2&ie){const Q=M.XpG();M.R7$(),M.Y8G("form",Q.form)("fields",Q.fields)("model",Q.model)}}function B(ie,ne){if(1&ie&&(M.j41(0,"app-alert",5),M.EFF(1),M.k0s()),2&ie){const Q=M.XpG();M.R7$(),M.JRh(Q.errorMessage)}}const j="WorkflowLineValueFormDrillDownComponent";let H=(()=>{class ie{static jsonSafeString(Q){const le=JSON.stringify(JSON.stringify(Q));return le.substr(1,le.length-2)}static jsonSafeParse(Q){return JSON.parse(JSON.parse('"'+Q+'"'))}constructor(Q,le,pe,te,ae,K,de){this.fb=Q,this.objectService=le,this.loggerService=pe,this.substitutionMetaService=te,this.listService=ae,this.listUtilsService=K,this.formulaService=de,this.allowStringInterpolation=!1,this.additionalTemplateOptions={},this.formReady=!1,this.progressState=o.Gu.inProgress,this.loadingState=o.Gu.empty,this.done=()=>{}}setProps(Q){this.fieldDataType=Q.fieldDataType,this.objectType=Q.objectType,this.typeGeoRestrict=Q.typeGeoRestrict,this.value=Q.value,this.allowStringInterpolation=Q.allowStringInterpolation||!1,this.additionalTemplateOptions=Q.additionalTemplateOptions||{},this.listTip=Q.listTip,this.isMulti=Q.isMulti}ngOnInit(){this.form=this.fb.group({item:[null,n.k0.required]});const Q=L.getFieldData().find(le=>le.isObject?-1!==le.dataOrObjectType.indexOf(this.objectType):-1!==le.dataOrObjectType.indexOf(this.fieldDataType));if(Q){if(this.value)switch(this.allowStringInterpolation&&Q.stringInterpolatedType||Q.type){case I.Ce.name:this.value=m()(this.value);break;case I.HQ.name:this.value=ie.jsonSafeParse(this.value);break;case I.J6.name:case I.kz.name:try{this.value=JSON.parse(this.value)}catch{this.value={html:this.value,substitutions:[]}}}switch(this.allowStringInterpolation&&Q.stringInterpolatedType||Q.type){case I.HQ.name:Q.label=(0,a.o3)(this.getSketchToolType())||"";break;case I.J6.name:case I.kz.name:this.value=this.value||{html:"",substitutions:[]};break;case I.k7.name:this.isMulti&&(this.value=(0,w.isNil)(this.value)||""===this.value?null:this.value.replace(/"/g,"").split(",")),this.value=this.value||null}const le=(0,a.xQ)(this.allowStringInterpolation&&Q.stringInterpolatedType||Q.type);this.fields=[{key:le,type:this.allowStringInterpolation&&Q.stringInterpolatedType||Q.type,templateOptions:{label:Q.label,placeholder:Q.placeholder||null,type:this.getSketchToolType()||Q.inputType||null,required:!!(0,w.isNil)(Q.required)||Q.required,listTip:this.listTip,isMulti:this.isMulti,...this.additionalTemplateOptions}}],this.model={[le]:this.value},this.formReady=!0}else this.errorMessage="Sorry, this field type does not support manual entry."}onPrimary(){let Q;const le=this.fields[0],pe=this.model[le.key];switch(this.loadingState=o.Gu.inProgress,le.type){case I.Ce.name:Q=this.getDateData(pe,le);break;case I.MS.name:Q=this.getBooleanData(pe);break;case I.HQ.name:Q=this.getGeoData(pe);break;case I._r.name:Q=this.getAddressData(pe);break;case I.J6.name:case I.kz.name:Q=(0,y.of)({label:this.substitutionMetaService.replaceSubstitutions(pe.html,pe.substitutions),value:JSON.stringify(pe)});break;case I.k7.name:Q=this.getListData(this.isMulti?pe:[pe]);break;case I.lF.name:Q=this.getObjectData(pe);break;default:const te=null==pe?"":pe.toString();Q=(0,y.of)({value:te,label:"object"==typeof pe?"(Object)":te})}Q.pipe((0,T.$)()).subscribe(te=>{this.loadingState=o.Gu.loaded,this.done(te)})}getObjectData(Q){return this.formulaService.evaluate("TITLE()",Q).pipe((0,T.$)(),(0,O.T)(pe=>({value:Q,label:pe[0]})),(0,D.W)(pe=>(this.loggerService.warn(j,`Couldn't retrieve address via tip of "${Q}".`,pe),(0,y.of)({value:Q,label:Q}))))}getListData(Q){return this.listService.getList(this.listTip).pipe((0,T.$)(),(0,E.n)(le=>{const pe=(Q||[]).map(te=>this.listUtilsService.getListItemLabel(le,te))||[];return(0,y.of)({value:this.isMulti?Q:Q[0],label:(pe||[]).join(", ")})}),(0,D.W)(le=>(this.loggerService.warn(j,`Couldn't retrieve list via tip of "${Q}".`,le),(0,y.of)({value:this.isMulti?Q:Q[0],label:(Q||[]).join(", ")}))))}getAddressData(Q){return this.objectService.getObject(Q,b.cF).pipe((0,T.$)(),(0,E.n)(le=>(0,y.of)({value:Q,label:le.displayStreet})),(0,D.W)(le=>(this.loggerService.warn(j,`Couldn't retrieve address via tip of "${Q}".`,le),(0,y.of)({value:Q,label:Q}))))}getDateData(Q,le){let pe,te;return pe=Q.format(),te=Q.format("datetime"===le.templateOptions.type?"LLL":"LL"),(0,y.of)({value:pe,label:te})}getBooleanData(Q){let le,pe;return Q&&"object"==typeof Q?(le=Q.value?Q.value.toString():"false",pe=Q.label):"string"==typeof Q?(le=Q,pe="true"===Q?"True":"False"):(le=Q?"true":"false",pe=Q?"True":"False"),(0,y.of)({value:le,label:pe})}getGeoData(Q){let le,pe;return le=Q?ie.jsonSafeString(Q):"",pe=Q&&Q.coordinates&&Array.isArray(Q.coordinates)?this.typeGeoRestrict===b.iS.POINT?Q.coordinates.reverse().join(","):Q.coordinates.join(","):"(not set)",(0,y.of)({value:le,label:pe})}getSketchToolType(){if(!this.typeGeoRestrict)return null;switch(this.typeGeoRestrict){case b.iS.POINT:return C.cR.POINT;case b.iS.POLYGON:return C.cR.POLYGON;case b.iS.LINE:return C.cR.POLYLINE}}static#e=this.\u0275fac=function(le){return new(le||ie)(M.rXU(n.ok),M.rXU(q.T),M.rXU(z.g),M.rXU(F.yE),M.rXU(U.p),M.rXU(k.J),M.rXU(Y.C))};static#t=this.\u0275cmp=M.VBU({type:ie,selectors:[["app-workflow-line-value-form-drill-down"]],decls:5,vars:4,consts:[["size","sm","action","Done",3,"actioned","disabled"],[1,"card-body",3,"appSpinner"],[4,"ngIf"],["data-test","error-alert","type","danger",4,"ngIf"],["data-test","form-field",3,"form","fields","model"],["data-test","error-alert","type","danger"]],template:function(le,pe){1&le&&(M.j41(0,"app-side-sheet-header",0),M.bIt("actioned",function(){return pe.onPrimary()}),M.EFF(1,"Enter a value"),M.k0s(),M.j41(2,"div",1),M.DNE(3,x,2,3,"ng-container",2)(4,B,2,1,"app-alert",3),M.k0s()),2&le&&(M.Y8G("disabled",!!pe.errorMessage),M.R7$(2),M.Y8G("appSpinner",pe.loadingState===pe.progressState),M.R7$(),M.Y8G("ngIf",pe.formReady),M.R7$(),M.Y8G("ngIf",pe.errorMessage))}})}return ie})()},51737:(at,N,s)=>{"use strict";s.d(N,{W:()=>D});var n=s(42641),a=s(27389),g=s(71985),m=s(1153),T=s(66713);class D{static getBaseConnectionTypes(y,I=!0){const b=[{name:n.Pg.failed,value:"failed",hasDivider:!1},{name:n.Pg.finally,value:"finally",hasDivider:!1}];return I&&b.unshift({name:n.Pg.done,value:"done",hasDivider:!1}),y?y.concat(b):b}static getWorkflowUXBaseConnectionTypes(y){let I=[{name:m.qH.secondary,value:m.qH.secondary,hasDivider:!0}];return y&&(I[0].hasDivider=!1,I=I.concat(y),I[I.length-1].hasDivider=!0),D.getBaseConnectionTypes(I,!1)}static getCaseIdentifier(y){return"case:"+JSON.stringify(y.formula)}constructor(y,I){this.diagram=y,this.sideSheetService=I}selectLink(y,I,b=n.Wf.link,L=!1){if(!y||null===I)return this.diagram.clearSelection(),null;const o=this.diagram.findNodeForKey(y);let w,C=0;return o.findLinksConnected().each(M=>{I===C&&(L&&M.click(null,M),this.diagram.select(M),w=M),C++}),b===n.Wf.node?o:b===n.Wf.link?w:w.part.data}getNodeEditorDataListFromStartNode(){const y=this.diagram.model.modelData.nodeEditorDataList,I=y.filter(L=>L.processNodeType===n.kD.START);if(!I.length)return null;const b=I;return I.forEach(L=>{const o=this.diagram.findNodeForKey(L.tip);o&&this.addNodesConnectedToThisOne(o,y,b)}),b}addNodesConnectedToThisOne(y,I,b=[]){y.findLinksOutOf().iterator.each(L=>{L.toNode&&-1===b.map(C=>C.tip).indexOf(L.toNode.data.key)&&(b.push(I.find(C=>C.tip===L.toNode.data.key)),this.addNodesConnectedToThisOne(L.toNode,I,b))})}showSideSheetForLink(y,I){return new g.c(b=>{const L=new T.t,C=this.sideSheetService.push(a.l).componentInstance,w=y.part.data,q=this.diagram.findNodeForKey(w.from).part.data.linkTypes,F=L.checkLinkTypes(q,w,I.diagramData.linkDataArray);C.outcomeCandidates=F.map(U=>U.name),C.outcome=w.text,C.delaySec=w.delaySec,C.done=U=>{this.updateLinkData(w,U,q),this.sideSheetService.pop(),b.next(w),b.complete()}})}updateLinkData(y,I,b){const L="Link data update";this.diagram.startTransaction(L);const o=b.find(C=>C.name===I.outcome);y.delaySec=I.delaySec,y.value=o.value,y.text=o.name,this.diagram.model.updateTargetBindings(y,"text"),this.diagram.commitTransaction(L)}}},29980:(at,N,s)=>{"use strict";s.d(N,{nY:()=>b});var n=s(84281),g=s(47322),m=s(67376);const D=n.GraphObject.make;class b{static getNewModelData(){return{uiStates:{nodes:{}},nodeEditorDataList:[]}}static getDiagram(o){return D(n.Diagram,{grid:b.getGrid(),"draggingTool.isGridSnapEnabled":!0,"linkingTool.portGravity":50,"relinkingTool.temporaryToNode":o.getTempLinkingNode(),"relinkingTool.temporaryFromNode":o.getTempLinkingNode(),"linkingTool.temporaryToNode":o.getTempLinkingNode(),"linkingTool.temporaryFromNode":o.getTempLinkingNode(),"linkingTool.linkValidation":b.allowedToLink,"relinkingTool.linkValidation":b.allowedToLink,"relinkingTool.fromHandleArchetype":o.getPortLinkingShape(),"relinkingTool.toHandleArchetype":o.getPortLinkingShape(),"linkReshapingTool.handleArchetype":o.getLinkShapingHandleShape(),"undoManager.isEnabled":!0})}static allowedToLink(o,C,w,M,q){return b.isSafeCircular(o,w)}static isSafeCircular(o,C){if(["WorkflowUXEditorComponent"].indexOf((0,m.get)(o,"data.editorComponentName"))>-1)return!0;const w=o.findNodesInto();for(;w.next();)if(w.value===C||!b.isSafeCircular(w.value,C))return!1;return!0}static getGrid(){return D(n.Panel,"Grid",D(n.Shape,"LineH",{stroke:g.lm.GRID,strokeWidth:.5}),D(n.Shape,"LineH",{stroke:g.lm.GRID,strokeWidth:.5,interval:10}),D(n.Shape,"LineV",{stroke:g.lm.GRID,strokeWidth:.5}),D(n.Shape,"LineV",{stroke:g.lm.GRID,strokeWidth:.5,interval:10}))}constructor(o){this.diagram=o}setDiagramBounds(o=!1){const C=this.diagram.documentBounds.width>5e3||this.diagram.documentBounds.height>5e3,w=new n.Rect(0,0,1e4,1e4),M=new n.Rect(NaN,NaN,NaN,NaN);o&&(this.diagram.fixedBounds=M),C&&isNaN(this.diagram.fixedBounds.width)&&(this.diagram.fixedBounds=w)}}},66713:(at,N,s)=>{"use strict";s.d(N,{t:()=>T});var n=s(21413),a=s(42641),g=s(67376);class T{constructor(){this.invalidLinkMessage$=new n.B,this.uniqueLinkType=a.Pg.finally}sendInvalidLinkMessage(D,E){this.invalidLinkMessage$.next({invalidType:D,linkType:E})}checkInvalidLink(D,E){return this.isDuplicatedLink(D,E)||this.isConflictedLink(D,E)}isDuplicatedLink(D,E){return!(!D||!E||E.filter(I=>I.from===D.from&&I.to===D.to&&I.text===D.text).length<=1||(this.sendInvalidLinkMessage(a.g.DUPLICATED_LINK),0))}isConflictedLink(D,E){return!(!D||!E||D.text===this.uniqueLinkType&&E.length<=1||!(0,g.find)(E,I=>I.from===D.from&&I.to===D.to&&(D.text===this.uniqueLinkType?I.text!==this.uniqueLinkType:I.text===this.uniqueLinkType))||(this.sendInvalidLinkMessage(a.g.CONFLICTED_LINK,this.uniqueLinkType),0))}isNoneLabelLink(D){return D&&!(0,g.has)(D[0],"points")}checkLinkTypes(D,E,y){const I=y.filter(L=>L.text!==E.text&&L.from===E.from&&L.to===E.to);return D.filter(L=>-1===I.findIndex(o=>o.text===L.name&&o.from===E.from&&o.to===E.to)).filter(E.text===this.uniqueLinkType?L=>L.name===this.uniqueLinkType:L=>L.name!==this.uniqueLinkType)}}},83494:(at,N,s)=>{"use strict";s.d(N,{n:()=>D});var n=s(47322),a=s(29771),g=s(1153),m=s(67376);class D{static getSelectedProperty(y,I,b,L){switch(y.type){case n.Oh.INPUT:return I[y.selectedIndex]||null;case n.Oh.ACTOR:return L[y.selectedIndex]||null;case n.Oh.VARIABLE:return b[y.selectedIndex]||null;default:return null}}static getSelectedPropertyInfo(y,I,b,L){switch(y){case n.Oh.INPUT:return{type:y,selectedIndex:I.map(o=>o.isSelected).indexOf(!0)};case n.Oh.ACTOR:return{type:y,selectedIndex:L.map(o=>o.isSelected).indexOf(!0)};case n.Oh.VARIABLE:return{type:y,selectedIndex:b.map(o=>o.isSelected).indexOf(!0)};default:return null}}static getSelectedPropertyKey(y,I,b,L){const o=D.getSelectedPropertyInfo(y,I,b,L);return D.getWorkflowPropKey(o,I,b,L)}static getWorkflowPropKey(y,I,b,L){if(!(y&&I&&b&&L))return null;switch(y.type){case n.Oh.ACTOR:return(0,m.get)(L,[y.selectedIndex,"key"],null);case n.Oh.VARIABLE:return(0,m.get)(b,[y.selectedIndex,"key"],null);case n.Oh.INPUT:return(0,m.get)(I,[y.selectedIndex,"key"],null)}return null}static getSelectedWorkflowValueByKey(y,I,b,L){return y&&I&&b&&L&&(I.find(o=>o.key===y)||L.find(o=>o.key===y)||b.find(o=>o.key===y))||null}static getWorkflowPropByKey(y,I,b,L){return y&&I&&b&&L?I.concat(b).concat(L).find(C=>C.key===y):null}static shallowCopyArr(y){return y?y.slice():[]}static setSelectedPropertyType(y,I,b,L){this.resetSelectedProperties(I,b,L);const o=this.getSelectedWorkflowValueByKey(y,I,b,L);o&&(o.isSelected=!0)}static resetSelectedProperties(y,I,b){[b,I,y].forEach(L=>L.forEach(o=>o.isSelected=!1))}static getCombinedWorkflowProps(y){return y.inputs.concat(y.actors).concat(y.variables)}static setNodeEditorData(y,I,b){const L=y.model.modelData.nodeEditorDataList.map((o,C)=>o.tip===I?C:-1).find(o=>-1!==o);void 0!==L&&-1!==L?y.model.modelData.nodeEditorDataList.splice(L,1,b):y.model.modelData.nodeEditorDataList.push(b)}static getWorkflowUXConnectionTypes(y){const I=[];return y.forEach(b=>{I.push(...D.getWorkflowUXConnectionTypesForScreen(b))}),I}static getWorkflowUXConnectionTypesForScreen(y,I=!0){const L=(y.actionButtonLabels||[]).map(o=>({name:o,value:(0,a.xQ)(o),hasDivider:!1}));return I&&y.primaryButtonLabel&&L.unshift({name:g.qH.primary,value:g.qH.primary,hasDivider:!1}),L}constructor(){}}},47322:(at,N,s)=>{"use strict";s.d(N,{$q:()=>M,Eu:()=>F,HY:()=>T,LA:()=>D,LV:()=>L,Oh:()=>H,Qb:()=>k,RX:()=>m,Rz:()=>E,WN:()=>ie,X2:()=>O,YB:()=>U,ZQ:()=>w,bH:()=>y,eu:()=>Y,fU:()=>z,gk:()=>o,kM:()=>g,lm:()=>a,mb:()=>q,op:()=>b,up:()=>$,vX:()=>x,wR:()=>I,wd:()=>C,wg:()=>j,yq:()=>B});const n="rgb(32, 201, 238)",a={WHITE:"rgb(255, 255, 255)",BLACK:"rgb(0, 0, 0)",LIGHT_GREY:"#999",DARK_GREY:"rgb(61, 60, 60)",POPUP_BDR:"rgb(138, 150, 172, 0.5)",POPUP_TEXT:"#525252",START:"#12C598",END:"#FFB234",GRID:"#cbe4e9",NODE_SELECT:"#00D9FF",PORT_SELECT:n,NODE_HEADING:"rgb(44, 38, 228)",LINK_LABEL_BG:"rgb(61, 60, 60)",LINK_LABEL_SELECT:n,LINK_LABEL_SELECT_SIMILAR:"#037c96",BTN_SECONDARY_BORDER:"rgb(216, 226, 235)",BTN_SECONDARY_BG_HOVER:"rgb(226, 233, 240)",BTN_SECONDARY_BDR_HOVER:"rgb(199, 213, 226)",BTN_SECONDARY_TEXT_ACTIVE:"rgb(22, 34, 44)",BTN_SECONDARY_SHADOW:"rgb(182, 201, 218)",ICON:"rgb(90, 113, 134)",LARGE_LINK_BTN_BG:"#EDF1F8",LARGE_LINK_BTN_BDR:"#E3E7ED",LARGE_LINK_BTN_ICON:"#525252",CAUTION_FILL:"#cf7107",OK_FILL:"#027012"},g={MINUS:"-PORT_OFFSET",PLUS:"+PORT_OFFSET"},m={TOP_LEFT:"TopLeft",TOP_MIDDLE:"TopMiddle",TOP_RIGHT:"TopRight",LEFT_MIDDLE:"LeftMiddle",RIGHT_MIDDLE:"RightMiddle",BOTTOM_LEFT:"BottomLeft",BOTTOM_MIDDLE:"BottomMiddle",BOTTOM_RIGHT:"BottomRight"},T={R_RECT:"RoundedRectangle",RECT:"Rectangle",CIRCLE:"Circle",DIAMOND:"Diamond"},O=5,D=30,E=33,y=11,I=4,b=I/2,L=210,o="Material Icons",C="workflow-icons",w="workflow-icon",M="icon-",q="'Lato', Arial, sans-serif",z="Helvetica, Arial, sans-serif",F="Foreground",U="PopupList",k="popupListNodeCategory",Y="popupList",x="edgePanel",B="stepPanel",j="nodeMainPanel",$="Unknown outcome",H={VARIABLE:"variable",ACTOR:"actor",INPUT:"input",MANUAL_ENTRY:"manualEntry",QUERY_FILTER:"queryFilter"},ie={NORMAL:{label:"Normal",value:"normal"},SUCCESS:{label:"Success",value:"success"},DANGER:{label:"Error",value:"danger"},WARNING:{label:"Action Required",value:"warning"}}},42641:(at,N,s)=>{"use strict";s.d(N,{OZ:()=>a,Pg:()=>D,Rh:()=>n,To:()=>b,Wf:()=>y,ed:()=>O,fV:()=>m,g:()=>L,gH:()=>E,kD:()=>I,nl:()=>g,oe:()=>T});var n=function(o){return o.START="StartNode",o.STEP="StepNode",o.END="EndNode",o}(n||{}),a=function(o){return o[o.PLAIN_TEXT=1]="PLAIN_TEXT",o[o.DROPDOWN=2]="DROPDOWN",o[o.LABEL=3]="LABEL",o}(a||{}),g=function(o){return o[o.IN_PROGRESS=1]="IN_PROGRESS",o[o.SUCCESS=2]="SUCCESS",o[o.FAILED=3]="FAILED",o}(g||{}),m=function(o){return o[o.FROM=1]="FROM",o[o.TO=2]="TO",o[o.BIDIRECTIONAL=3]="BIDIRECTIONAL",o}(m||{}),T=function(o){return o.objectDefaultForm="objectDefaultForm",o.differentFormReadonly="differentFormReadonly",o.differentForm="differentForm",o.objectDetails="objectDetails",o.successScreen="successScreen",o.progressScreen="progressScreen",o}(T||{}),O=function(o){return o.DONE="done",o.SENT="Sent",o.RESPONDED="Responded",o.FAILED_GENERIC="failed",o.FAILED_COMM="Failed",o.ALWAYS="finally",o.TRUE="true",o.FALSE="false",o.HIBERNATED="hibernated",o.HIBERNATED_DONE="done|hibernated",o.TIMEOUT="Timeout",o.DEFAULT="default",o.DUPLICATED_USER_ERROR="duplicatedUserError",o.REFERENCED_CONTACT_ERROR="referencedContactError",o.FILE_ERROR="fileError",o.USER_NOT_FOUND="userNotFound",o.REFERENCED_CONTACT_NOT_FOUND="referencedContactNotFound",o.IDENTITY_PROVIDER_NOT_FOUND="identityProviderNotFound",o.PROFILE_NOT_FOUND="profileNotFound",o.USER_STATUS_FAILURE="userStatusFailure",o.DUPLICATED_USER_FAILURE="duplicatedUserFailure",o.FOREACH="foreach",o.FINISHED_WITH_ERRORS="finishedWithErrors",o}(O||{}),D=function(o){return o.done="Finished",o.Sent="Sent",o.Responded="Responded",o.failed="Failed",o.Failed="Failed",o.finally="Always",o.true="True",o.false="False",o.hibernated="Async execution",o.Timeout="Timeout",o.default="Default",o.fileError="File error",o.duplicatedUserError="Duplicate user error",o.referencedContactError="Contact error",o.userNotFound="User not found",o.referencedContactNotFound="Contact not found",o.identityProviderNotFound="Login method error",o.profileNotFound="Profile not found",o.userStatusFailure="Status error",o.duplicatedUserFailure="Duplicate user failure",o.forEach="Foreach",o.hibernatedDone="Hibernated | Done",o.finishedWithErrors="Finished with errors",o}(D||{});const E={[O.DONE]:{label:D.done,colorScheme:"success"},[O.SENT]:{label:D.Sent,colorScheme:"success"},[O.RESPONDED]:{label:D.Responded,colorScheme:"success"},[O.FAILED_GENERIC]:{label:D.failed,colorScheme:"danger"},[O.FAILED_COMM]:{label:D.Failed,colorScheme:"danger"},[O.ALWAYS]:{label:D.finally,colorScheme:"warning"},[O.TRUE]:{label:D.true,colorScheme:"success"},[O.FALSE]:{label:D.false,colorScheme:"danger"},[O.HIBERNATED]:{label:D.hibernated,colorScheme:"success"},[O.TIMEOUT]:{label:D.Timeout,colorScheme:"danger"},[O.DEFAULT]:{label:D.default,colorScheme:"warning"},[O.DUPLICATED_USER_ERROR]:{label:D.duplicatedUserError,colorScheme:"danger"},[O.REFERENCED_CONTACT_ERROR]:{label:D.referencedContactError,colorScheme:"danger"},[O.FILE_ERROR]:{label:D.fileError,colorScheme:"danger"},[O.USER_NOT_FOUND]:{label:D.userNotFound,colorScheme:"danger"},[O.REFERENCED_CONTACT_NOT_FOUND]:{label:D.referencedContactNotFound,colorScheme:"danger"},[O.IDENTITY_PROVIDER_NOT_FOUND]:{label:D.identityProviderNotFound,colorScheme:"danger"},[O.PROFILE_NOT_FOUND]:{label:D.profileNotFound,colorScheme:"danger"},[O.USER_STATUS_FAILURE]:{label:D.userStatusFailure,colorScheme:"danger"},[O.DUPLICATED_USER_FAILURE]:{label:D.duplicatedUserFailure,colorScheme:"danger"},[O.FOREACH]:{label:D.forEach,colorScheme:"warning"},[O.HIBERNATED_DONE]:{label:D.done,colorScheme:"success"},[O.FINISHED_WITH_ERRORS]:{label:D.finishedWithErrors,colorScheme:"danger"}};var y=function(o){return o[o.link=1]="link",o[o.node=2]="node",o[o.linkData=3]="linkData",o}(y||{}),I=function(o){return o.START="Start",o.END="End",o.DECISION="Decision",o.SUBWORKFLOW="Subworkflow",o.UPDATE_OBJECT="UpdateObject",o.WORKFLOW_UX="WorkflowUX",o.DELETE_OBJECT="DeleteObject",o.DUPLICATE_OBJECT="DuplicateObject",o.SWITCH="Switch",o.CREATE_OBJECT="CreateObject",o.DEPROVISION_USER="DeprovisionUser",o.CREATE_USER="CreateUser",o.UPDATE_USER="UpdateUser",o.SET_VARIABLE="SetVariable",o.SEND_EMAIL="SendEmail",o.SEND_SMS="SendSMS",o.UPDATE_SECURITY="UpdateSecurity",o.UPDATE_STAGE="UpdateStage",o.SAVE_FILE="SaveFile",o.GENERATE_PDF="GeneratePDF",o.EXPORT_ENOS="ExportEnos",o.IMPORT_ENOS="Import Enos",o.SEND_NOTIFICATION="SendNotification",o.RETRIEVE_FILE="RetrieveFile",o.SEND_VOICE_MESSAGE="SendVoiceMessage",o.QUERY_EXTERNAL_MAP="QueryExternalMap",o.FOR_EACH="ForEach",o.PAUSE_UNTIL="PauseUntil",o.UPDATE_EXTERNAL_MAP="UpdateExternalMap",o.WEBHOOK="Webhook",o.CREATE_CALENDAR_EVENT="CreateCalendarEvent",o.UPDATE_CALENDAR_EVENT="UpdateCalendarEvent",o.DELETE_CALENDAR_EVENT="DeleteCalendarEvent",o.SEND_OBJECT="SendObject",o.MESSAGE_LABEL="MessageLabel",o.FORWARD_GEOCODE="ForwardGeocode",o.REVERSE_GEOCODE="ReverseGeocode",o.UPDATE_ADDRESS="UpdateAddress",o.MANAGE_PLAN="ManagePlan",o}(I||{});const b={[I.START]:"Start",[I.END]:"End",[I.DECISION]:"Decision",[I.SUBWORKFLOW]:"Sub-workflow",[I.UPDATE_OBJECT]:"Update object",[I.WORKFLOW_UX]:"Workflow UX",[I.DELETE_OBJECT]:"Delete object",[I.DUPLICATE_OBJECT]:"Duplicate object",[I.SWITCH]:"Switch",[I.CREATE_OBJECT]:"Create object",[I.DEPROVISION_USER]:"Deprovision user",[I.CREATE_USER]:"Create user",[I.UPDATE_USER]:"Update user",[I.SET_VARIABLE]:"Set variable",[I.SEND_EMAIL]:"Send email",[I.SEND_SMS]:"Send SMS",[I.UPDATE_SECURITY]:"Update security",[I.UPDATE_STAGE]:"Update object stage",[I.SAVE_FILE]:"Save file",[I.GENERATE_PDF]:"Generate printable file",[I.EXPORT_ENOS]:"Export",[I.IMPORT_ENOS]:"Import",[I.SEND_NOTIFICATION]:"Send notification",[I.RETRIEVE_FILE]:"Retrieve file",[I.SEND_VOICE_MESSAGE]:"Send voice message",[I.QUERY_EXTERNAL_MAP]:"Query external map",[I.FOR_EACH]:"For each",[I.PAUSE_UNTIL]:"Pause until",[I.UPDATE_EXTERNAL_MAP]:"Update external map",[I.WEBHOOK]:"Webhook",[I.CREATE_CALENDAR_EVENT]:"Create calendar event",[I.UPDATE_CALENDAR_EVENT]:"Update calendar event",[I.DELETE_CALENDAR_EVENT]:"Delete calendar event",[I.SEND_OBJECT]:"Send object",[I.MESSAGE_LABEL]:"Manage message labels",[I.FORWARD_GEOCODE]:"Forward geocode",[I.REVERSE_GEOCODE]:"Reverse geocode",[I.UPDATE_ADDRESS]:"Update address",[I.MANAGE_PLAN]:"Manage plan"};var L=function(o){return o.DUPLICATED_LINK="duplicatedLink",o.CONFLICTED_LINK="conflictedLink",o}(L||{})},21695:(at,N,s)=>{"use strict";s.d(N,{k:()=>Mt,e:()=>Bt});var n=s(84572),a=s(7673),g=s(18810),m=s(96354),T=s(25558),O=s(99437),D=s(61594),E=s(73703),y=s(31130),I=s(40673),b=s(46005),L=s(91959),o=s(67376),C=s(93953),w=s(42641);class M{populateOutgoingLinks(Jt){const He=[];return Object.keys(Jt.toLink).forEach(fe=>{const{outcome:nt,delaySec:Ot}=JSON.parse(fe);He.push({$type:"processconnection",$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,outcome:nt,toNodes:[],point:[0,0],delaySec:Ot,toNodeKeys:Jt.toLink[fe]})}),He}constructor(){}}var q=s(47544),z=s(92597),F=s(78329);function U(Rt=null){return{$type:"processnode/no-op",$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:"processnodetype/no-op",connections:[],key:Rt,point:[0,0]}}function k(Rt,Jt=null){const He=Object.keys(Rt),fe=He.map(nt=>Rt[nt]);return{$type:"processnode/reference/setvar",$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:"processnodetype/reference/setvar",connections:[],point:[0,0],key:Jt,setVarKey:He,setVarValue:fe,setVarScope:"Global"}}function Y(Rt,Jt,He,fe=[],nt=[],Ot=[],rn=null,Jn=!0,Oi="Global"){return{$type:"processnode/logic/subprocess",$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:"processnodetype/logic/subprocess",connections:[],point:[0,0],key:rn,process:Rt,varKeys:Jt instanceof Array?Jt:Object.keys(Jt),subVarKeys:fe instanceof Array?fe:Object.keys(fe),outputSubVarKeys:nt instanceof Array?nt:Object.keys(nt),outputVarKeys:Ot instanceof Array?Ot:Object.keys(Ot),outputVarScope:Oi,...He||0===He?{timeoutMs:He}:[],waitForProcessComplete:Jn}}function x(Rt,Jt=[],He="default",fe=["done","failed"]){return{$type:"processnode/logic/switch",$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:"processnodetype/logic/switch",connections:[],point:[0,0],key:null,switchExpr:(0,z.Ac)(Rt),switchDefault:He,switchCases:[...fe,...Jt]}}function j(Rt,Jt,He=null){return{$type:"processnode/logic/foreach",$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:"processnodetype/logic/foreach",connections:[],point:[0,0],key:He,source:(0,F.g)(Rt)?(0,z.Ac)(Rt):Rt,currentElement:Jt}}function ne(Rt,Jt){return{$type:"processconnection",$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,outcome:Rt,toNodes:[Jt],point:[0,0],delaySec:0}}function Q(Rt){return(0,z.Ac)({name:"REPLACE",args:[Rt.html,{name:"ARRAY",args:Rt.substitutions.map(Jt=>Jt.key)},{name:"ARRAY",args:Rt.substitutions.map(Jt=>(0,z.iX)(Jt.value))}]})}let pe=(()=>{class Rt extends M{constructor(){super(),this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on update-stage node [${He.fields.title}]`,He);const{formula:fe,stage:nt}=He.fields,Ot={"Object tip":fe,Stage:nt},rn=k(Ot,He.tip),Jn=Y("eim/process/workflow/update-stage",Ot),Oi=ne("done",Jn);rn.connections.push(Oi);const Ci=x({name:"VAR",args:["Status"]}),Ui=ne("done",Ci);Jn.connections.push(Ui);const ps={nodes:[rn,Jn,Ci],links:[Oi,Ui]};return this.populateOutgoingLinks(He).forEach(Ji=>{Ci.connections.push(Ji),ps.links.push(Ji)}),ps}isValid(He){return!(0,o.isEmpty)(He.fields.title)&&!(0,o.isEmpty)(He.fields.formula)&&!(0,o.isEmpty)(He.fields.stage)}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();var te=s(17338);let ae=(()=>{class Rt{static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac})}return Rt})(),K=(()=>{class Rt extends ae{constructor(){super(),this.type="processnode/reference/setvar",this.processNodeType="processnodetype/reference/setvar"}convert(He,fe){const nt=fe.actors.length>0?(0,o.fromPairs)(fe.actors.map(rn=>[rn.key,(0,z.Ac)({name:"ARRAY",args:[rn.actorTip]})])):{"prop-empty":null};return nt[te.t]=(0,z.Ac)({name:"FORMAT_DATETIME",args:[{name:"NOW",args:[]},"Y-m-d\\TH:i:sO",{name:"FIELD",args:["app/type/locale:timezone","app/locale"]}]}),k(nt,He.tip)}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),de=(()=>{class Rt extends M{convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on duplicate object node [${He.fields.title}]`,He);const fe={"Object to copy":He.fields.objectToDuplicate.formula,"Variable to set":He.fields.variableToSetKey},nt=k(fe,He.tip),Ot=Y("eim/process/duplicate/object-instances",fe),rn=ne("done",Ot);nt.connections.push(rn);const Jn={nodes:[nt,Ot],links:[rn]};return this.populateOutgoingLinks(He).forEach(Oi=>{Ot.connections.push(Oi),Jn.links.push(Oi)}),Jn}isValid(He){return!(0,o.isEmpty)(He.fields.objectToDuplicate?He.fields.objectToDuplicate.formula:null)}constructor(){super(),this.type="processnode/data/duplicate",this.processNodeType="processnodetype/data/duplicate"}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),Me=(()=>{class Rt extends ae{constructor(){super(...arguments),this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on sub-workflow node [${He.fields.title}]`,He);const fe=(0,z.Ac)({name:"FIELD",args:["app/workflow:process",(0,o.get)(He,"fields.subworkflow",null)]}),nt=[],Ot=[],rn=[],Jn=[];return He.fields.inputOutputMaps.inputMaps.forEach(({parentProperty:Oi,subInputKey:Ci},Ui)=>{!Oi||!Oi.selectedPropertyKey||!Ci||(nt.push(Oi.selectedPropertyKey),Ot.push(Ci))}),He.fields.inputOutputMaps.outputMaps.forEach(({parentVariableKey:Oi,subVariableKey:Ci})=>{!Oi||!Ci||(rn.push(Ci),Jn.push(Oi))}),0===rn.length&&rn.push("!Prevent variable polluting!"),0===Jn.length&&Jn.push("!Prevent variable polluting!"),Y(fe,nt,He.fields.timeoutAfter,Ot,rn,Jn,He.tip,He.fields.waitForCompletion)}isValid(He){return!(0,o.isEmpty)(He.fields.title)&&!(0,o.isEmpty)(He.fields.subworkflow)}static#e=this.\u0275fac=(()=>{let He;return function(nt){return(He||(He=C.xGo(Rt)))(nt||Rt)}})();static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();var me=s(15765);function be(Rt){return Object.keys(Rt.toLink).some(Jt=>{const{outcome:He}=JSON.parse(Jt);return"Responded"===He||"Timeout"===He})}let Le=(()=>{class Rt extends M{constructor(){super()}convert(He,fe){if(!this.isValid(He))throw new q.z("Please correct invalid data on send Voice message node",He);const nt=[...fe.inputs.map(Ji=>Ji.key),...fe.actors.map(Ji=>Ji.key),...fe.variables.map(Ji=>Ji.key)],Ot={[me.oT]:(0,o.get)(He.fields.outboundSource,"contextFormula","ARRAY()"),"Outbound source tip":(0,z.Ac)({name:"ARRAY",args:[He.fields.outboundSource.$tip]}),"First responder variable key":He.fields.outboundSource.firstResponderVariableKey||"no-key-present","Answer variable key":He.fields.outboundSource.answerVariableKey||"no-key-present","Has responded link":be(He)?"true":"false","All var keys":(0,z.Ac)({name:"ARRAY",args:["Outbound source tip",me.oT,...nt]})},rn=k(Ot,He.tip),Jn=Y("eim/process/workflow/send-voice-message-workflow",[...Object.keys(Ot),...nt],6e4),Oi=x({name:"VAR",args:["Status"]},void 0,void 0,["Sent","Failed","Responded","Timeout"]),Ci=ne("done",Jn);rn.connections.push(Ci);const Ui=ne("done",Oi);Jn.connections.push(Ui);const ps={nodes:[rn,Jn,Oi],links:[Ci,Ui]};return this.populateOutgoingLinks(He).forEach(Ji=>{Oi.connections.push(Ji),ps.links.push(Ji)}),ps}isValid(He){return!!He.fields.outboundSource.$tip&&"app/voice-message/outbound-source"===He.fields.outboundSource.$type}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();var Ae=s(29771),Oe=s(1153),Xe=s(83494),Pe=s(76194);function $e(Rt){if(Rt.isManualEntry&&Rt.isStringInterpolation)try{return Ye(JSON.parse(Rt.formula.substring(7,Rt.formula.length-2)))}catch{return Rt.formula}return function ze(Rt,Jt=!1,He=null){if(!He||He!==Pe.HT.string)return Rt;try{return function Be(Rt,Jt){const He=(0,z.iX)(Rt);return(0,z.Ac)(Jt?{name:"IF",args:[{name:"EQUALS",args:[{name:"COUNT",args:[He]},0]},{name:"ARRAY",args:[]},He]}:{name:"IF",args:[{name:"EQUALS",args:[{name:"COUNT",args:[He]},0]},{name:"ARRAY",args:[]},{name:"CONCAT_WS",args:[", ",He]}]})}(Rt,Jt)}catch{return Rt}}(Rt.formula,Rt.isMultiSelectList,Rt.fieldDataType)}function Ye(Rt){return(0,o.isEmpty)(Rt.html)?null:((0,o.isEmpty)(Rt.substitutions)&&(Rt.substitutions=[]),(0,z.Ac)({name:"REPLACE",args:[Rt.html,{name:"ARRAY",args:Rt.substitutions.map(Jt=>Jt.key)},{name:"ARRAY",args:Rt.substitutions.map(Jt=>({name:"CONCAT_WS",args:[", ",(0,z.iX)(Jt.value)]}))}]}))}var Ct=s(76087);let Vt=(()=>{class Rt extends M{constructor(He){super(),this.formulaService=He,this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on workflow-ux node [${He.fields.title}]`,He);this.modifyScreensBasedOnOutcome(He);const{screens:fe,contextObjectType:nt,contextObjectSelectedPropertyKey:Ot,isGoverned:rn,forceCreation:Jn}=He.fields,Ci=k({"Object var name":Ot,UX:this.getUXObject(fe,nt,Ot,rn,Jn)},He.tip),Ui=Y("eim/process/workflow-ux",["Workflow runtime tip","UX","Object var name"],6e4),Ji=x({name:"VAR",args:["Outcome"]},Xe.n.getWorkflowUXConnectionTypes(He.fields.screens).map(Gi=>Gi.value),Oe.qH.noop,[Oe.qH.secondary]),_s=ne("done",Ui);Ci.connections.push(_s);const js=ne("done",Ji);Ui.connections.push(js);const es=ne("Noop",Ui);Ji.connections.push(es);const zs={nodes:[Ci,Ui,Ji],links:[_s,js,es]};return this.populateOutgoingLinks(He).forEach(Gi=>{Ji.connections.push(Gi),zs.links.push(Gi)}),zs}modifyScreensBasedOnOutcome(He){const fe=!!Object.keys(He.toLink).find(Ot=>-1!==Ot.indexOf(`"outcome":"${Oe.qH.primary}"`)),nt=!!Object.keys(He.toLink).find(Ot=>-1!==Ot.indexOf(`"outcome":"${Oe.qH.secondary}"`));He.fields.screens.forEach(Ot=>{!fe&&!(Ot.screenItemType===w.oe.differentForm||Ot.screenItemType===w.oe.objectDefaultForm)&&(Ot.primaryButtonLabel=null),Ot.hasSecondaryConnection=nt,Ot.actionButtonLabels&&Xe.n.getWorkflowUXConnectionTypesForScreen(Ot,!1).forEach(Oi=>{if(!Object.keys(He.toLink).find(Ui=>-1!==Ui.indexOf(`"outcome":"${Oi.value}"`))){const Ui=Ot.actionButtonLabels.indexOf(Oi.name);-1!==Ui&&Ot.actionButtonLabels.splice(Ui,1)}})})}isValid(He){return He.fields.contextObjectType&&He.fields.screens&&!!He.fields.screens.length&&!!He.fields.contextObjectSelectedPropertyKey}getUXObject(He,fe,nt,Ot=!0,rn=!1){return(0,z.Ac)({name:"ARRAY",args:He.map(Oi=>{const Ci=(Oi.selectedActorKeys||[]).filter(Ji=>Ji.indexOf("Actor-")>-1).map(Ji=>({name:"VAR",args:[Ji]})),Ui=(Oi.variables||[]).map(Ji=>this.formulaService.parse(Ji.formula)),ps=(Oi.inputs||[]).map(Ji=>this.formulaService.parse(Ji.formula));return{name:"JSON_BUILD",args:[JSON.stringify({type:"object",property:{actors:{type:"stringArray",formula:(0,z.Ac)({name:"ARRAY",args:[...Ci,...Ui,...ps]})},screen:{type:"string",value:Oi.screenItemType},objectTip:{type:"string",formula:(0,z.Ac)({name:"VAR",args:[nt]}),noPropertyWhenEmpty:!0},isGoverned:{type:"boolean",value:Ot},forceCreation:{type:"boolean",value:rn},typeTip:{type:"string",value:fe},form:{type:"string",value:Oi.formItemTip},sideSheetTitle:{type:"string",formula:Ye({html:Oi.sideSheetTitle,substitutions:Oi.sideSheetTitleSubstitutions})},primaryButtonLabel:{type:"string",value:Oi.primaryButtonLabel},hasSecondaryConnection:{type:"boolean",value:Oi.hasSecondaryConnection},actionButtonLabels:{type:"stringArray",value:Oi.actionButtonLabels?Oi.actionButtonLabels:null},actionButtonOutcomes:{type:"stringArray",value:Oi.actionButtonLabels?Oi.actionButtonLabels.map(Ji=>(0,Ae.xQ)(Ji)):null},instructionsSubtitle:{type:"string",formula:Ye({html:Oi.instructionsSubtitle,substitutions:Oi.instructionsSubtitleSubstitutions})},instructionsTitle:{type:"string",formula:Ye({html:Oi.instructionsTitle,substitutions:Oi.instructionsTitleSubstitutions})},instructionsIntent:{type:"string",value:Oi.instructionsIntent}}}),"root"]}})})}static#e=this.\u0275fac=function(fe){return new(fe||Rt)(C.KVO(Ct.C))};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();function gt(Rt,Jt="root"){return(0,z.Ac)({name:"JSON_BUILD",args:[JSON.stringify(Rt),Jt]})}function Ge(Rt,Jt="root"){return"JSON_BUILD("+JSON.stringify(JSON.stringify(Rt))+","+JSON.stringify(Jt)+")"}const Se=(0,z.Ac)({name:"FIRST",args:[{name:"LOOKUP",args:[{name:"TIP",args:[]},{name:"AND",args:[{name:"ISTYPE",args:["app/integration-arcgis"]},{name:"EQUALS",args:[{name:"FIELD",args:["app/integration-arcgis:enabled"]},"true"]},{name:"NOT",args:[{name:"EQUALS",args:[{name:"FIELD",args:["app/integration-arcgis:default"]},"false"]}]}]},"branch/master",{name:"COALESCE",args:[{name:"FIELD",args:["app/integration-arcgis:default"]},"true"]},"desc"]}]});let ke=(()=>{class Rt extends M{constructor(){super(),this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on update-external-map node [${He.fields.title}]`,He);const{attributeMappingItems:fe,errorVariable:nt,externalMap:Ot,geometryField:rn,readObjectID:Jn,storeObjectID:Oi,workflowAttachments:Ci,deleteAttachments:Ui}=He.fields,ps=function ht(Rt,Jt,He="root"){return gt({type:"objectArray",property:Rt.map(Jt)},He)}(fe,Ne),Ji=`ARRAY(${Ci.map(ao=>ao.formula).join(",")})`,_s={"Attribute mapping items":ps,"Error var key":nt,"External map data source tip":Ot,"Geometry field":rn.formula,"Read object id":Jn.formula,"Store object id var key":Oi,Attachments:Ji,"Delete Attachments":Ui?"true":"false","Namespace Default Connection":Se},js=k(_s,He.tip),es=Y("eim/process/workflow/update-external-map",_s),zs=ne("done",es);js.connections.push(zs);const Gi=x({name:"VAR",args:["Status"]}),ds=ne("done",Gi);es.connections.push(ds);const rs={nodes:[js,es,Gi],links:[zs,ds]};return this.populateOutgoingLinks(He).forEach(ao=>{Gi.connections.push(ao),rs.links.push(ao)}),rs}isValid(He){return!((0,o.isEmpty)(He.fields.title)||(0,o.isEmpty)(He.fields.externalMap)||(0,o.isEmpty)(He.fields.geometryField)||(0,o.isEmpty)(He.fields.readObjectID)||(0,o.isEmpty)(He.fields.storeObjectID))}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();function Ne({arcgisDataType:Rt,attribute:Jt,value:{formula:He,dataType:fe}}){return{type:"dynamicArray",formula:'ARRAY("arcgisDataType","attribute","fieldJSON","dataType")',key:'VAR("Value")',value:{type:"string",formula:(0,z.Ac)({name:"SWITCH",args:[{name:"VAR",args:["Index"]},{name:"ARRAY",args:["0",Rt,"1",Jt,"2",(0,z.iX)(`JSON_ENCODE(${He})`),"3",fe]}]})}}}let Je=(()=>{class Rt extends M{constructor(){super()}convert(He){const{primaryKeyFieldTip:fe,typeTip:nt,fileToImportTip:Ot,matchingBehaviour:rn,enoSecurityPolicy:Jn,importReportVariableToSetKey:Oi,modifiedObjectsVariableToSetKey:Ci,errorThreshold:Ui}=He.fields,Ji={"Type tip":nt,"Matching behaviour":rn,"Eno security policy":Jn,"File to import tip":Ot.formula,"Primary key field tip":fe,"Import report variable to set key":Oi,"Modified objects variable to set key":Ci,"Error threshold count":(0,o.toString)(Ui)},_s=k(Ji,He.tip),js=Y("eim/process/workflow/import-enos",Ji),es=x({name:"VAR",args:["Status"]},[w.ed.FINISHED_WITH_ERRORS]),zs=ne("done",es);js.connections.push(zs);const Gi=ne("done",js);_s.connections.push(Gi);const ds={nodes:[_s,js,es],links:[Gi,zs]};return this.populateOutgoingLinks(He).forEach(rs=>{es.connections.push(rs),ds.links.push(rs)}),ds}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();var Qe=s(76151);let rt=(()=>{class Rt extends ae{constructor(He){super(),this.filterInputService=He,this.type="processnode/reference/setvar",this.processNodeType="processnodetype/reference/setvar"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on set variable node [${He.fields.title}]`,He);const fe={};if(He.fields.valueFormula.queryAndFilterOption){const nt=[He.fields.valueFormula.queryAndFilterOption.queryTip,"branch/master",0,{name:"COALESCE",args:[{name:"FIELD",args:["app/operational-limit:value","app/operational-limit/limit-on-results-in-set-var-node"]},1e3]}],Ot=He.fields.valueFormula.queryAndFilterOption.sortingOptions||[];if(!(0,o.isEmpty)(Ot)){const Oi={name:"ARRAY",args:Ot.map(Ui=>(0,z.iX)(Ui.formula))},Ci={name:"ARRAY",args:Ot.map(Ui=>Ui.sortDirection)};nt.push(Oi,Ci)}const Jn=(0,z.Ac)({name:"QUERY",args:nt});if(He.fields.valueFormula.queryAndFilterOption.filterInputs&&He.fields.valueFormula.queryAndFilterOption.filterInputs.length>0){const Oi=this.filterInputService.convertWorkflowFilterInputsToVars(He.fields.valueFormula.queryAndFilterOption.filterInputs);if(null!=Oi)for(const Ci of Object.keys(Oi)){const Ui=(0,o.get)(Oi,[Ci,"0"],null);Ui&&(fe[Ci]=Ui)}return fe[He.fields.variableToSetKey]=Jn,k(fe,He.tip)}return fe[He.fields.variableToSetKey]=Jn,k(fe,He.tip)}return fe[He.fields.variableToSetKey]=$e(He.fields.valueFormula),k(fe,He.tip)}isValid(He){const fe=He.fields.valueFormula?He.fields.valueFormula.formula:null,nt=He.fields.variableToSetKey;return!!((null!=fe&&""!==fe||He.fields.valueFormula&&He.fields.valueFormula.queryAndFilterOption&&null!=He.fields.valueFormula.queryAndFilterOption.queryTip)&&null!=nt&&""!==nt)}static#e=this.\u0275fac=function(fe){return new(fe||Rt)(C.KVO(Qe.O))};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),ft=(()=>{class Rt extends ae{convert(He){return{$type:this.type,$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:this.processNodeType,connections:[],point:[0,0],key:He.tip}}constructor(){super(),this.type="processnode/no-op",this.processNodeType="processnodetype/no-op"}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),It=(()=>{class Rt extends M{constructor(){super(),this.type="processnode/data/update-eno",this.processNodeType="processnodetype/data/update-eno"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on update-security node [${He.fields.title}]`,He);const fe="Status-"+Math.random(),nt=(0,z.iX)(He.fields.formula),Ot=k({[fe]:(0,z.Ac)({name:"IF",args:[{name:"EQUALS",args:[nt,{name:"ARRAY",args:[]}]},"failed","done"]})},He.tip),rn=j(nt,"Tip to update"),Jn=ne("done",rn);Ot.connections.push(Jn);const Oi=function $(Rt,Jt){return{$type:"processnode/data/update-eno",$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:"processnodetype/data/update-eno",connections:[],point:[0,0],key:null,updateEnoObject:(0,F.g)(Rt)?(0,z.Ac)(Rt):Rt,updateEnoSecurity:Jt}}({name:"VAR",args:["Tip to update"]},He.fields.securityPolicy),Ci=ne("foreach",Oi);rn.connections.push(Ci);const Ui=ne("finally",rn);Oi.connections.push(Ui);const ps=k({[fe]:(0,z.Ac)({name:"ARRAY",args:["failed"]})}),Ji=ne("failed",ps);Oi.connections.push(Ji);const _s=x({name:"VAR",args:[fe]}),js=ne("done",_s);rn.connections.push(js);const es={nodes:[Ot,rn,Oi,ps,_s],links:[Jn,Ci,Ui,Ji,js]};return this.populateOutgoingLinks(He).forEach(zs=>{_s.connections.push(zs),es.links.push(zs)}),es}isValid(He){return!(0,o.isEmpty)(He.fields.title)&&!(0,o.isEmpty)(He.fields.formula)&&!(0,o.isEmpty)(He.fields.securityPolicy)}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),In=(()=>{class Rt extends M{constructor(){super()}convert(He){const{filename:fe,queryAndFilter:nt,securityPolicy:Ot,typeTip:rn,showReferenceTitles:Jn,convertHtmlToPlain:Oi,showMatchingKeys:Ci,includeLegacyHeader:Ui,useSystemLocale:ps,variableToSetKey:Ji,queryVars:_s,useListLabelsInsteadOfKeys:js,excludeNogginId:es}=He.fields,zs={"Type tip":rn,"Var key":Ji,Filename:Kt(fe,rn),"Query tip":nt.queryTip,"Query and filter options JSON":JSON.stringify(nt),"Query vars JSON":JSON.stringify(_s),showReferenceTitles:Jn?"true":"false",convertHtmlToPlain:Oi?"true":"false",showMatchingKeys:Ci?"true":"false",includeLegacyHeader:Ui?"true":"false",excludeNogginId:es?"true":"false",useSystemLocale:ps?"true":"false",useListLabelsInsteadOfKeys:js?"true":"false","Security policy":Ot},Gi=k(zs,He.tip),ds=Y("eim/process/workflow/export-enos",zs),rs=x({name:"VAR",args:["Status"]}),ao=ne("done",ds);Gi.connections.push(ao);const wo=ne("done",rs);ds.connections.push(wo);const zr={nodes:[Gi,ds,rs],links:[ao,wo]};return this.populateOutgoingLinks(He).forEach(Ea=>{rs.connections.push(Ea),zr.links.push(Ea)}),zr}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();function Kt(Rt,Jt){return(0,o.isEmpty)(Rt)||(0,o.isEmpty)(Rt.html)?function Ze(Rt){return(0,z.Ac)({name:"CONCAT",args:["export-",{name:"TITLE",args:[{name:"REFERENCES",args:["app/object-type:type",Rt]}]},"-UTC-",{name:"FORMAT_DATETIME",args:[{name:"NOW",args:[]},"Ymd-His"]}]})}(Jt):Q(Rt)}let zn=(()=>{class Rt extends M{constructor(){super(),this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on query-external-map node [${He.fields.title}]`,He);const{formula:fe,variableToSetKey:nt,dataSourceTip:Ot,queryAttribute:rn}=He.fields,Jn={Geography:fe,"Var key":nt,"Data source tip":Ot,"Query attribute":rn,"Namespace Default Connection":Se},Oi=k(Jn,He.tip),Ci=Y("eim/process/workflow/query-external-map",Jn),Ui=ne("done",Ci);Oi.connections.push(Ui);const ps=x({name:"VAR",args:["Status"]}),Ji=ne("done",ps);Ci.connections.push(Ji);const _s={nodes:[Oi,Ci,ps],links:[Ui,Ji]};return this.populateOutgoingLinks(He).forEach(js=>{ps.connections.push(js),_s.links.push(js)}),_s}isValid(He){return!((0,o.isEmpty)(He.fields.title)||(0,o.isEmpty)(He.fields.formula)||(0,o.isEmpty)(He.fields.variableToSetKey)||(0,o.isEmpty)(He.fields.dataSourceTip)||(0,o.isEmpty)(He.fields.queryAttribute))}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),di=(()=>{class Rt extends ae{convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on decision node [${He.fields.title}]`,He);return{$type:this.type,$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:this.processNodeType,connections:[],point:[0,0],key:He.tip,expression:He.fields.expression}}isValid(He){const fe=He.fields.expression;return!(""===fe||null===fe)}constructor(){super(),this.type="processnode/logic/if",this.processNodeType="processnodetype/logic/if"}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();var jn=s(95354),Di=s(5002),Li=s(3310),ms=s(10506);const Qt=["app/assignment:due","app/assignment:assignee"];let Wt=(()=>{class Rt extends M{constructor(He){super(),this.featureFlagStateService=He,this.type="processnode/data/update-eno",this.processNodeType="processnodetype/data/update-eno"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on update object node [${He.fields.title}]`,He);let fe;const nt=He.fields.fieldItems.map(Ot=>$e({formula:Ot.fieldValue,isManualEntry:Ot.isManualEntry,isStringInterpolation:Ot.isStringInterpolation,fieldDataType:Ot.dataType,isMultiSelectList:(0,o.get)(Ot,"extendedDataType","")===Pe.TV.list&&!0===(0,o.get)(Ot,"isMulti",!1)}));if(this.featureFlagStateService.isFeatureEnabled(Di.g.FEATURE_EIM_13059_UPDATE_OBJECT)){const Ot=He.fields.formula,rn=He.fields.fieldItems.map(Gi=>Gi.tip),Jn=[],Oi=[];Qt.map(Gi=>{const ds=rn.indexOf(Gi);ds>=0&&(Jn.push(rn[ds]),Oi.push(nt[ds]))});const Ci=(0,Li.O)((0,jn.us)(Ot).formula),Ui=(0,jn.GM)(Ot),ps={"Object to update":Ot,"Object to update after create":Ui,"Fields to update after create":this.validateObject(Ci)?(0,z.Ac)({name:"ARRAY",args:Ci.map(Gi=>Gi)}):"ARRAY()","Fields to update":this.validateObject(rn)?(0,z.Ac)({name:"ARRAY",args:rn.map(Gi=>Gi)}):void 0,"Field values":this.validateObject(nt)?(0,z.Ac)({name:"ARRAY",args:nt.map(Gi=>(0,z.iX)(Gi))}):"ARRAY()","Create node fields":this.validateObject(Jn)?(0,z.Ac)({name:"ARRAY",args:Jn.map(Gi=>Gi)}):"ARRAY()","Create node values":this.validateObject(Oi)?(0,z.Ac)({name:"ARRAY",args:Oi.map(Gi=>(0,z.iX)(Gi))}):"ARRAY()","Field values count":this.validateObject(Oi)?(0,z.Ac)({name:"ARRAY",args:Oi.map(Gi=>(0,z.iX)(`COUNT(${Gi})`))}):"ARRAY()","Assignable field exists":`${Ci.map(Gi=>`AND(EQUALS(FIELD("${Gi}",${Ui}),ARRAY()), EQUALS(FIELD("field/typerestrict","${Gi}"),"app/assignment"))`)}`},Ji=k(ps,He.tip),_s=Y("eim/process/workflow/update-object-workflow",ps),js=x({name:"VAR",args:["Status"]}),es=ne("done",_s);Ji.connections.push(es);const zs=ne("done",js);_s.connections.push(zs),fe={nodes:[Ji,_s,js],links:[es,zs]},this.populateOutgoingLinks(He).forEach(Gi=>{js.connections.push(Gi),fe.links.push(Gi)})}else{const Ot={$type:this.type,$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:this.processNodeType,connections:[],point:[0,0],key:He.tip,updateEnoObject:He.fields.formula,updateEnoFields:He.fields.fieldItems.map(rn=>rn.tip),updateEnoValues:nt,updateEnoBranchSrc:`ARRAY("${I.Ay.BRANCH_MASTER}")`,updateEnoBranchDest:`ARRAY("${I.Ay.BRANCH_MASTER}")`,updateEnoLang:navigator.language.toLowerCase()};fe={nodes:[Ot],links:[]},this.populateOutgoingLinks(He).forEach(rn=>{Ot.connections.push(rn),fe.links.push(rn)})}return fe}isValid(He){return!(""===He.fields.formula||!He.fields.fieldItems||!He.fields.fieldItems.length)}validateObject(He){return He.some(fe=>void 0!==fe)}static#e=this.\u0275fac=function(fe){return new(fe||Rt)(C.KVO(ms.F))};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),Yt=(()=>{class Rt extends M{convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on update user node [${He.fields.title}]`,He);const{email:fe,newEmail:nt,status:Ot,identityProvider:rn,referencedContact:Jn,locale:Oi,idpNameIdentifier:Ci,profiles:Ui}=He.fields,ps=(Ui??[]).filter(ao=>ao.$tip).map(ao=>ao.$tip),Ji=(Ui??[]).filter(ao=>ao.formula).map(ao=>ao.formula),_s={"User email":fe,"User new email":nt||"ARRAY()","User status":Ot?(0,z.Ac)({name:"ARRAY",args:[Ot]}):"ARRAY()","Identity provider tip":rn?(0,z.Ac)({name:"ARRAY",args:[rn]}):"ARRAY()","Referenced contact":Jn||"ARRAY()","User locale":Oi?(0,z.Ac)({name:"ARRAY",args:[Oi]}):"ARRAY()","Identity provider name identifier":Ci||"ARRAY()","User profiles":(0,o.isEmpty)(ps)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:ps}),"User profile formulas":(0,o.isEmpty)(Ji)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:Ji.map(ao=>(0,z.iX)(ao))})},js=k(_s,He.tip),es=Y("eim/process/workflow/update-user-workflow",_s),zs=x({name:"VAR",args:["Status"]},["userNotFound","referencedContactNotFound","identityProviderNotFound","profileNotFound","userStatusFailure","duplicatedUserFailure"]),Gi=ne("done",es);js.connections.push(Gi);const ds=ne("done",zs);es.connections.push(ds);const rs={nodes:[js,es,zs],links:[Gi,ds]};return this.populateOutgoingLinks(He).forEach(ao=>{zs.connections.push(ao),rs.links.push(ao)}),rs}isValid(He){return!(0,o.isEmpty)(He.fields.email)}constructor(){super(),this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),Mn=(()=>{class Rt extends M{convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on deprovision user node [${He.fields.title}]`,He);const{formula:fe}=He.fields,nt={"User email":fe},Ot=k(nt,He.tip),rn=Y("eim/process/workflow/deprovision-user-workflow",nt),Jn=x({name:"VAR",args:["Status"]}),Oi=ne("done",rn);Ot.connections.push(Oi);const Ci=ne("done",Jn);rn.connections.push(Ci);const Ui={nodes:[Ot,rn,Jn],links:[Oi,Ci]};return this.populateOutgoingLinks(He).forEach(ps=>{Jn.connections.push(ps),Ui.links.push(ps)}),Ui}isValid(He){return!(0,o.isEmpty)(He.fields.formula)}constructor(){super(),this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),ci=(()=>{class Rt extends M{constructor(){super()}convert(He,fe){if(!this.isValid(He))throw new q.z("Please correct invalid data on send SMS node",He);const nt=[...fe.inputs.map(Ji=>Ji.key),...fe.actors.map(Ji=>Ji.key),...fe.variables.map(Ji=>Ji.key)],Ot={"Outbound source tip":(0,z.Ac)({name:"ARRAY",args:[He.fields.outboundSource.$tip]}),[me.oT]:(0,o.get)(He.fields.outboundSource,"contextFormula","ARRAY()"),"First responder variable key":He.fields.outboundSource.firstResponderVariableKey||"no-key-present","Answer variable key":He.fields.outboundSource.answerVariableKey||"no-key-present","Has responded link":be(He)?"true":"false","All var keys":(0,z.Ac)({name:"ARRAY",args:["Outbound source tip",me.oT,...nt]})},rn=k(Ot,He.tip),Jn=Y("eim/process/workflow/send-sms-workflow",[...Object.keys(Ot),...nt],6e4),Oi=ne("done",Jn);rn.connections.push(Oi);const Ci=x({name:"VAR",args:["Status"]},void 0,void 0,["Sent","Failed","Responded","Timeout"]),Ui=ne("done",Ci);Jn.connections.push(Ui);const ps={nodes:[rn,Jn,Ci],links:[Oi,Ui]};return this.populateOutgoingLinks(He).forEach(Ji=>{Ci.connections.push(Ji),ps.links.push(Ji)}),ps}isValid(He){return!!He.fields.outboundSource.$tip&&"app/sms/outbound-source"===He.fields.outboundSource.$type}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();var Ue=s(51737);let Un=(()=>{class Rt extends ae{convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on switch node [${He.fields.title}]`,He);const fe=(0,z.iX)(He.fields.formula),nt=(0,z.Ac)({name:"COALESCE",args:He.fields.cases.map((Ot,rn)=>{const Jn=(0,z.iX)(Ot.formula);return{name:"IF",args:[{name:"AND",args:[{name:"EQUALS",args:[{name:"COUNT",args:[fe]},{name:"COUNT",args:[Jn]}]},{name:"EQUALS",args:[{name:"COUNT",args:[{name:"INTERSECT",args:[fe,Jn]}]},{name:"COUNT",args:[fe]}]}]},Ue.W.getCaseIdentifier(Ot),{name:"ARRAY",args:[]}]}})});return{$type:this.type,$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:this.processNodeType,connections:[],point:[0,0],key:He.tip,switchExpr:nt,switchDefault:"default",switchCases:He.fields.cases.map((Ot,rn)=>Ue.W.getCaseIdentifier(Ot))}}isValid(He){return!(""===He.fields.formula||0===He.fields.cases.length)}constructor(){super(),this.type="processnode/logic/switch",this.processNodeType="processnodetype/logic/switch"}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),_n=(()=>{class Rt extends M{constructor(){super(),this.type="processnode/logic/foreach",this.processNodeType="processnodetype/logic/foreach"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on for-each node [${He.fields.title}]`,He);const fe="Current-"+Math.random(),nt=j(He.fields.loopSource.formula,fe,He.tip),Ot=[],rn=[],Jn=[],Oi=[];(0,o.isEmpty)(He.fields.inputOutputMaps)&&He.fields.subWorkflowInputKey?(Ot.push(fe),rn.push(He.fields.subWorkflowInputKey)):(He.fields.inputOutputMaps.inputMaps.forEach(({parentProperty:es,subInputKey:zs},Gi)=>{if(es&&es.selectedPropertyKey&&zs){if(0===Gi)return Ot.push(fe),void rn.push(zs);Ot.push(es.selectedPropertyKey),rn.push(zs)}}),He.fields.inputOutputMaps.outputMaps.forEach(({parentVariableKey:es,subVariableKey:zs})=>{!es||!zs||(Jn.push(zs),Oi.push(es))}));const Ui=Y((0,z.Ac)({name:"FIELD",args:["app/workflow:process",(0,o.get)(He,"fields.subWorkflowTip[0]",null)]}),Ot,6e5,rn,Jn,Oi),ps=ne("foreach",Ui);nt.connections.push(ps);const Ji=ne("done",nt);Ui.connections.push(Ji);const _s=ne("timeout",nt);Ui.connections.push(_s);const js={nodes:[nt,Ui],links:[ps,Ji,_s]};return this.populateOutgoingLinks(He).forEach(es=>{nt.connections.push(es),js.links.push(es)}),js}isValid(He){return!((0,o.isEmpty)(He.fields.title)||(0,o.isEmpty)(He.fields.loopSource)||(0,o.isEmpty)(He.fields.loopSource.formula)||(0,o.isEmpty)(He.fields.subWorkflowTip))}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();var Xn=s(32665);let En=(()=>{class Rt extends M{constructor(){super(),this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on retrieve-file node [${He.fields.title}]`,He);const{locationTip:fe,variableToSetKey:nt,filePath:Ot,securityPolicy:rn,locationType:Jn}=He.fields,Oi={"Location tip":fe||"ARRAY()","Location type":Jn,"Var key":nt,"File path":Q(Ot),"Security policy":rn||"app/security-policy/system-all-users-read-write-delete"},Ci=k(Oi,He.tip),Ui=Y(Xn.Jv[Jn],Oi),ps=ne("done",Ui);Ci.connections.push(ps);const Ji=x({name:"VAR",args:["Status"]},["fileError"]),_s=ne("done",Ji);Ui.connections.push(_s);const js={nodes:[Ci,Ui,Ji],links:[ps,_s]};return this.populateOutgoingLinks(He).forEach(es=>{Ji.connections.push(es),js.links.push(es)}),js}isValid(He){return!((0,o.isEmpty)(He.fields.title)||(0,o.isEmpty)(He.fields.filePath)||(0,o.isEmpty)(He.fields.locationType)||(0,o.isEmpty)(He.fields.variableToSetKey))}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),ln=(()=>{class Rt extends M{constructor(){super(),this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on send notification node [${He.fields.title}]`,He);const fe={"Recipients to":He.fields.recipients.to&&He.fields.recipients.to.length>0?(0,z.Ac)({name:"ARRAY",args:He.fields.recipients.to}):"ARRAY()","Recipients to formulas":He.fields.recipients.toFormulas&&He.fields.recipients.toFormulas.length>0?(0,z.Ac)({name:"ARRAY",args:He.fields.recipients.toFormulas.map(Ui=>(0,z.iX)(Ui))}):"ARRAY()","Notification title":"Workflow Notification","Notification body":Q(He.fields.notificationBody),"Notification category":He.fields.notificationCategory,"Notification context":He.fields.notificationContext.formula},nt=k(fe,He.tip),Ot=Y("eim/process/notification/preprocess-notifications",fe),rn=x({name:"VAR",args:["Status"]}),Jn=ne("done",Ot);nt.connections.push(Jn);const Oi=ne("done",rn);Ot.connections.push(Oi);const Ci={nodes:[nt,Ot,rn],links:[Jn,Oi]};return this.populateOutgoingLinks(He).forEach(Ui=>{rn.connections.push(Ui),Ci.links.push(Ui)}),Ci}isValid(He){return!(0,o.isEmpty)(He.fields.title)&&!(0,o.isEmpty)(He.fields.recipients)&&!(0,o.isEmpty)(He.fields.notificationCategory)}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();var Dn=s(53536);let os=(()=>{class Rt extends M{constructor(){super(),this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on generate-pdf node [${He.fields.title}]`,He);const{formula:fe,variableToSetKey:nt,filename:Ot,securityPolicy:rn,form:Jn,printTemplate:Oi,printFileType:Ci}=He.fields,Ui="."+(Ci===Dn.cH.DOCX?Dn.cH.DOCX:Dn.cH.PDF);let ps;ps=(0,o.isEmpty)(Ot)||(0,o.isEmpty)(Ot.html)?(0,z.Ac)({name:"CONCAT",args:[{name:"TITLE",args:[(0,z.iX)(fe)]},"-UTC",{name:"FORMAT_DATETIME",args:[{name:"NOW",args:[]},"Ymd-His"]},Ui]}):(0,z.Ac)({name:"CONCAT",args:[(0,z.iX)(Q(Ot)),Ui]});const Ji={"Object tip":fe,"Var key":nt,Filename:ps,"Security policy":rn||"app/security-policy/system-all-users-read-write-delete","Form tip":Oi?"ARRAY()":Jn||"ARRAY()","Print template tip":Oi||"ARRAY()","Print file type":Ci||"pdf"},_s=k(Ji,He.tip),js=Y("eim/process/workflow/generate-pdf",Ji),es=ne("done",js);_s.connections.push(es);const zs=x({name:"VAR",args:["Status"]}),Gi=ne("done",zs);js.connections.push(Gi);const ds={nodes:[_s,js,zs],links:[es,Gi]};return this.populateOutgoingLinks(He).forEach(rs=>{zs.connections.push(rs),ds.links.push(rs)}),ds}isValid(He){return!(0,o.isEmpty)(He.fields.title)&&!(0,o.isEmpty)(He.fields.formula)&&!(0,o.isEmpty)(He.fields.variableToSetKey)}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),Fs=(()=>{class Rt extends ae{constructor(){super(),this.type="processnode/data/delete",this.processNodeType="processnodetype/data/delete"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on delete node [${He.fields.title}]`,He);return{$type:this.type,$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:this.processNodeType,connections:[],point:[0,0],key:He.tip,deleteTip:He.fields.objects.map(fe=>fe.formula),deleteSrcBranch:I.Ay.BRANCH_MASTER,deleteDestBranch:I.Ay.BRANCH_MASTER,deleteSecurity:"app/security-policy/instance-user-user"}}isValid(He){return 0!==He.fields.objects.length}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();const sn=["app/assignment:due","app/assignment:assignee"];let oi=(()=>{class Rt extends M{constructor(He){super(),this.featureFlagStateService=He,this.type="processnode/data/create",this.processNodeType="processnodetype/data/create"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on create object node [${He.fields.title}]`,He);const fe=He.fields.fieldItems.map(Ot=>$e({formula:Ot.fieldValue,isManualEntry:Ot.isManualEntry,isStringInterpolation:Ot.isStringInterpolation,fieldDataType:Ot.dataType,isMultiSelectList:(0,o.get)(Ot,"extendedDataType","")===Pe.TV.list&&!0===(0,o.get)(Ot,"isMulti",!1)}));let nt;if(this.featureFlagStateService.isFeatureEnabled(Di.g.FEATURE_EIM_13060_CREATE_OBJECT)){const Ot=He.fields.fieldItems.map(zs=>zs.tip),rn=[],Jn=[];sn.map(zs=>{const Gi=Ot.indexOf(zs);Gi>=0&&(rn.push(Ot[Gi]),Jn.push(fe[Gi]))});const{tips:Oi,formulas:Ci}=this.getFieldsAndFormulas(He,fe),Ui={"Create type":He.fields.objectTypeTip,"Assignment fields":this.validateObject(rn)?(0,z.Ac)({name:"ARRAY",args:rn}):"ARRAY()","Assignment values":this.validateObject(Jn)?(0,z.Ac)({name:"ARRAY",args:Jn.map(zs=>(0,z.iX)(zs))}):"ARRAY()","Assignment values count":this.validateObject(Jn)?(0,z.Ac)({name:"ARRAY",args:Jn.map(zs=>(0,z.iX)(`COUNT(${zs})`))}):"ARRAY()","Fields to create":this.validateObject(Oi)?(0,z.Ac)({name:"ARRAY",args:Oi}):"ARRAY()","Field values":this.validateObject(Ci)?(0,z.Ac)({name:"ARRAY",args:Ci.map(zs=>(0,z.iX)(zs))}):"ARRAY()","Field values count":this.validateObject(Ci)?(0,z.Ac)({name:"ARRAY",args:Ci.map(zs=>(0,z.iX)(`COUNT(${zs})`))}):"ARRAY()","Created user var key":He.fields.variableToSetKey},ps=k(Ui,He.tip),Ji=Y("eim/process/workflow/create-object-workflow",Ui),_s=x({name:"VAR",args:["Status"]}),js=ne("done",Ji);ps.connections.push(js);const es=ne("done",_s);Ji.connections.push(es),nt={nodes:[ps,Ji,_s],links:[js,es]},this.populateOutgoingLinks(He).forEach(zs=>{_s.connections.push(zs),nt.links.push(zs)})}else{const Ot={$type:this.type,$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:this.processNodeType,connections:[],point:[0,0],key:He.tip,createType:He.fields.objectTypeTip,createSecurity:"app/security-policy/system-all-users-read-write-delete",createBranch:I.Ay.BRANCH_MASTER,createFields:He.fields.fieldItems.map(rn=>rn.tip),createData:fe,createDataCount:fe.map(rn=>`COUNT(${rn})`),createLang:"en-us",createTipVarKey:He.fields.variableToSetKey,createTipVarScope:"Global"};nt={nodes:[Ot],links:[]},this.populateOutgoingLinks(He).forEach(rn=>{Ot.connections.push(rn),nt.links.push(rn)})}return nt}getFieldsAndFormulas(He,fe){const nt=[];He.fields.fieldItems.map(Jn=>{sn.includes(Jn.tip)?nt.push((0,Li.O)((0,jn.zC)(Jn.fieldFormula))[0]):nt.push(Jn.tip)});const Ot=[],rn=[];return nt.forEach((Jn,Oi)=>{Ot.includes(Jn)||(rn.push(fe[Oi]),Ot.push(Jn))}),{tips:Ot,formulas:rn}}isValid(He){return!(0,o.isEmpty)(He.fields.objectTypeTip)}validateObject(He){return He.some(fe=>void 0!==fe)}static#e=this.\u0275fac=function(fe){return new(fe||Rt)(C.KVO(ms.F))};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),pt=(()=>{class Rt extends M{convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on webhook node [${He.fields.title}]`,He);const{webhookServer:fe,path:nt,postParameters:Ot}=He.fields,rn={type:"object",noPropertyWhenEmpty:!0,property:{}};Ot.forEach(es=>{const zs=(0,o.get)(es,"parameter.name"),Gi=(0,o.get)(es,"parameter.value.formula","ARRAY()");let ds=(0,o.get)(es,"parameter.dataType");ds=(0,o.get)(es,"parameter.isMulti")?ds+"Array":ds,rn.property[zs]={type:ds,formula:Gi}});const Oi={"webhook-endpoint-tip":fe,"webhook-uri":nt,bodyJson:gt(rn)},Ci=k(Oi,He.tip),Ui=Y("eim/process/webhook/call-webhook-service",Oi,5e3,[],["outcome"],["outcome"],null,!0,"Local"),ps=x({name:"VAR",args:["outcome"]}),Ji=ne("done",Ui);Ci.connections.push(Ji);const _s=ne("done",ps);Ui.connections.push(_s);const js={nodes:[Ci,Ui,ps],links:[Ji,_s]};return this.populateOutgoingLinks(He).forEach(es=>{ps.connections.push(es),js.links.push(es)}),js}isValid(He){const fe=!(0,o.isEmpty)(He.fields.title),nt=!(0,o.isEmpty)(He.fields.webhookServer),Ot=!(0,o.isEmpty)(He.fields.path),rn=!(0,o.isEmpty)(He.fields.postParameters);return fe&&nt&&Ot&&rn}constructor(){super(),this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),cn=(()=>{class Rt extends M{constructor(){super()}convert(He,fe){if(!this.isValid(He))throw new q.z("Please correct invalid data on send email node",He);const nt=[...fe.inputs.map(Ji=>Ji.key),...fe.actors.map(Ji=>Ji.key),...fe.variables.map(Ji=>Ji.key)],Ot={"Outbound source tip":(0,z.Ac)({name:"ARRAY",args:[He.fields.outboundSource.$tip]}),[me.oT]:(0,o.get)(He.fields.outboundSource,"contextFormula","ARRAY()"),"First responder variable key":He.fields.outboundSource.firstResponderVariableKey||"no-key-present","Answer variable key":He.fields.outboundSource.answerVariableKey||"no-key-present","Has responded link":be(He)?"true":"false","All var keys":(0,z.Ac)({name:"ARRAY",args:["Outbound source tip",me.oT,...nt]})},rn=k(Ot,He.tip),Jn=Y("eim/process/workflow/send-email-workflow",[...Object.keys(Ot),...nt],6e4),Oi=ne("done",Jn);rn.connections.push(Oi);const Ci=x({name:"VAR",args:["Status"]},void 0,void 0,["Sent","Failed","Responded","Timeout"]),Ui=ne("done",Ci);Jn.connections.push(Ui);const ps={nodes:[rn,Jn,Ci],links:[Oi,Ui]};return this.populateOutgoingLinks(He).forEach(Ji=>{Ci.connections.push(Ji),ps.links.push(Ji)}),ps}isValid(He){return!!He.fields.outboundSource.$tip&&"app/email/outbound-source"===He.fields.outboundSource.$type}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),Tn=(()=>{class Rt extends M{convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on create user node [${He.fields.title}]`,He);const{email:fe,identityProvider:nt,referencedContact:Ot,locale:rn,profiles:Jn,variableToSetKey:Oi,idpNameIdentifier:Ci}=He.fields,Ui=Jn.filter(rs=>rs.$tip).map(rs=>rs.$tip),ps=Jn.filter(rs=>rs.formula).map(rs=>rs.formula),Ji={"User email":fe,"Identity provider tip":nt?(0,z.Ac)({name:"ARRAY",args:[nt]}):"ARRAY()","Referenced contact":Ot,"User locale":rn?(0,z.Ac)({name:"ARRAY",args:[rn]}):"ARRAY()","User profiles":(0,o.isEmpty)(Ui)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:Ui}),"User profile formulas":(0,o.isEmpty)(ps)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:ps.map(rs=>(0,z.iX)(rs))}),"Created user var key":Oi,"Identity provider name identifier":Ci||"ARRAY()"},_s=k(Ji,He.tip),js=Y("eim/process/workflow/create-user-workflow",Ji),es=x({name:"VAR",args:["Status"]},["duplicatedUserError","referencedContactError"]),zs=ne("done",js);_s.connections.push(zs);const Gi=ne("done",es);js.connections.push(Gi);const ds={nodes:[_s,js,es],links:[zs,Gi]};return this.populateOutgoingLinks(He).forEach(rs=>{es.connections.push(rs),ds.links.push(rs)}),ds}isValid(He){return!(0,o.isEmpty)(He.fields.email)}constructor(){super(),this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),ui=(()=>{class Rt extends M{constructor(){super(),this.type="processnode/logic/subprocess",this.processNodeType="processnodetype/logic/subprocess"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on save-file node [${He.fields.title}]`,He);const{locationType:fe,variableFormula:nt,locationFormula:Ot,overwrite:rn,locationTip:Jn,pathPrefix:Oi}=He.fields,Ci={"File tips":nt,Overwrite:rn?"true":"false","Location tip":Jn||"ARRAY()","Location type":fe};switch(fe){case Xn.rq.DOCUMENT_FOLDER:case Xn.rq.OBJECT_ATTACHMENTS:Ci.Location=Ot;break;case Xn.rq.FILE_UPLOAD_FIELD:const{fieldTipFormula:zs,objectFormula:Gi}=this.getFieldTipAndObjectFormula(Ot);Ci["Field tip"]=zs,Ci.Location=Gi;break;case Xn.rq.INTEGRATION_BUCKET:case Xn.rq.SFTP:case Xn.rq.S3_BUCKET:Ci["Path prefix"]=Q(Oi)}const Ui=k(Ci,He.tip),ps=Y(Xn.mc[fe],Ci),Ji=ne("done",ps);Ui.connections.push(Ji);const _s=x({name:"VAR",args:["Status"]},["fileError"]),js=ne("done",_s);ps.connections.push(js);const es={nodes:[Ui,ps,_s],links:[Ji,js]};return this.populateOutgoingLinks(He).forEach(zs=>{_s.connections.push(zs),es.links.push(zs)}),es}isValid(He){return!((0,o.isEmpty)(He.fields.title)||(0,o.isEmpty)(He.fields.variableFormula)||(0,o.isEmpty)(He.fields.locationType)||(He.fields.locationType===Xn.rq.DOCUMENT_FOLDER||He.fields.locationType===Xn.rq.FILE_UPLOAD_FIELD||He.fields.locationType===Xn.rq.OBJECT_ATTACHMENTS)&&!He.fields.locationFormula)}getFieldTipAndObjectFormula(He){const fe=(0,jn.Sk)(He),nt=fe.mostInnerContextFormula,Ot=(0,jn.Sk)((0,o.head)(fe.outerFormulas)),rn=[...Ot.outerFormulas,Ot.mostInnerContextFormula],Jn=(0,o.head)((0,o.pullAt)(rn,[1]));if((0,o.isEmpty)(Jn))throw new Error("[save-file-node-converter] Needs to select a related object field!");const Oi=(0,z.iX)(Jn);if("FIELD"!==Oi.name)throw new Error("[save-file-node-converter] Not a field formula!");Oi.name="ARRAY";const Ci=(0,z.Ac)(Oi),Ui=(0,jn.Mc)(rn);return{fieldTipFormula:Ci,objectFormula:(0,jn.mT)(Ui,nt)}}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),$i=(()=>{class Rt extends M{constructor(He){super(),this.formulaService=He,this.type="processnode/no-op",this.processNodeType="processnodetype/no-op"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on pause node [${He.fields.title}]`,He);const fe=U(He.tip),nt=U(),Ot=ne("done",nt);Ot.delaySec=this.createDelayFormula(He),fe.connections.push(Ot);const rn={nodes:[fe,nt],links:[Ot]};return this.populateOutgoingLinks(He).forEach(Jn=>{nt.connections.push(Jn),rn.links.push(Jn)}),rn}createDelayFormula(He){return He.fields.value.manualInput?this.createDelayFormulaForManualInput(He.fields.value.manualInput):He.fields.value.relative&&""!==He.fields.value.relative?this.createDelayFormulaForRelativeField(He.fields.value.relative):He.fields.value.fromObject&&He.fields.value.fromObject.formula?this.createDelayFormulaForObjectField(He.fields.value.fromObject):0}createDelayFormulaForManualInput(He){return(0,z.Ac)({name:"IF",args:[{name:"OP",args:[{name:"DATE_DIFF",args:[{name:"SET_SECOND",args:[{name:"SET_MINUTE",args:[{name:"SET_HOUR",args:[{name:"FORMAT_DATETIME",args:[{name:"NOW",args:[]},"Y-m-d\\TH:i:sO",He.timezone]},He.hours]},He.minutes]},"00"]},{name:"NOW",args:[]},"seconds"]},">=",0]},{name:"DATE_DIFF",args:[{name:"SET_SECOND",args:[{name:"SET_MINUTE",args:[{name:"SET_HOUR",args:[{name:"FORMAT_DATETIME",args:[{name:"NOW",args:[]},"Y-m-d\\TH:i:sO",He.timezone]},He.hours]},He.minutes]},"0"]},{name:"NOW",args:[]},"seconds"]},{name:"DATE_DIFF",args:[{name:"SET_SECOND",args:[{name:"SET_MINUTE",args:[{name:"SET_HOUR",args:[{name:"FORMAT_DATETIME",args:[{name:"DATE_ADD",args:[{name:"NOW",args:[]},1,"day"]},"Y-m-d\\TH:i:sO",He.timezone]},He.hours]},He.minutes]},"00"]},{name:"NOW",args:[]},"seconds"]}]})}createDelayFormulaForRelativeField(He){return(0,z.Ac)({name:"DATE_DIFF",args:[{name:"DATE_ADD",args:[{name:"NOW",args:[]},He,"days"]},{name:"NOW",args:[]},"seconds"]})}createDelayFormulaForObjectField(He){return(0,z.Ac)({name:"MAX",args:[{name:"DATE_DIFF",args:[{name:"FORMAT_DATETIME",args:[this.formulaService.parse(He.formula),"Y-m-d\\TH:i:sO"]},{name:"NOW",args:[]},"seconds"]},0]})}isValid(He){const fe=He.fields.value.manualInput,rn=He.fields.value.fromObject;return fe&&null!=fe.hours&&null!=fe.minutes&&null!=fe.timezone||He.fields.value.relative&&""!==He.fields.value.relative||rn&&null!=rn.formula&&null!=rn.selectedPropertyKey}static#e=this.\u0275fac=function(fe){return new(fe||Rt)(C.KVO(Ct.C))};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),Nn=(()=>{class Rt extends ae{convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on calendar event delete node [${He.fields.title}]`,He);return{$type:this.type,$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,type:this.processNodeType,connections:[],point:[0,0],key:He.tip,deleteTip:[He.fields.calendarEventToDelete.formula],deleteSrcBranch:I.Ay.BRANCH_MASTER,deleteDestBranch:I.Ay.BRANCH_MASTER,deleteSecurity:"app/security-policy/instance-user-user"}}isValid(He){return!(0,o.isEmpty)(He.fields.calendarEventToDelete)}constructor(){super(),this.type="processnode/data/delete",this.processNodeType="processnodetype/data/delete"}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),Hn=(()=>{class Rt extends M{convert(He,fe){if(!this.isValid(He))throw new q.z(`Please correct invalid data on create calendar event node [${He.fields.title}]`,He);const{variableToSetKey:nt,calendarTitle:Ot,startDatetime:rn,endDatetime:Jn,videoConferencing:Oi,meetingRoom:Ci,location:Ui,calendarDescription:ps,visibility:Ji,protectiveMarking:_s,attendees:js,attachments:es,securityPolicy:zs,variantSecurityPolicy:Gi}=He.fields,ds=js?.filter(bi=>bi.$tip).map(bi=>bi.$tip)||[],rs=js?.filter(bi=>bi.formula).map(bi=>bi.formula)||[],ao={"Calendar title":this.getFormulaFromStringInterpolationField(Ot),"Calendar start datetime":(0,o.get)(rn,"formula","ARRAY()"),"Calendar end datetime":(0,o.get)(Jn,"formula","ARRAY()"),"Calendar video conferencing":(0,o.get)(Oi,"formula","ARRAY()")||"ARRAY()","Calendar location":this.getFormulaFromStringInterpolationField(Ui),"Calendar description":this.getFormulaFromStringInterpolationField(ps),"Calendar meeting room":(0,o.get)(Ci,"formula","ARRAY()")||"ARRAY()","Calendar attachments":(0,o.get)(es,"formula","ARRAY()")||"ARRAY()","Calendar protective marking":(0,o.get)(_s,"formula","ARRAY()")||"ARRAY()","Calendar visibility":(0,o.get)(Ji,"formula","ARRAY()")||"ARRAY()","Calendar attendees":(0,o.isEmpty)(ds)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:ds}),"Calendar attendee formulas":(0,o.isEmpty)(rs)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:rs.map(bi=>(0,z.iX)(bi))}),"Created calendar var key":(0,o.isEmpty)(nt)?"ARRAY()":nt,"Security policy":(0,o.isEmpty)(zs)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:[zs]}),"Variant security policy":(0,o.isEmpty)(Gi)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:[Gi]})},wo=k(ao,He.tip),zr=Y("eim/process/workflow/create-calendar-workflow",ao),Ea=x({name:"VAR",args:["Status"]}),Rr=ne("done",zr);wo.connections.push(Rr);const A0=ne("done",Ea);zr.connections.push(A0);const oa={nodes:[wo,zr,Ea],links:[Rr,A0]};return this.populateOutgoingLinks(He).forEach(bi=>{Ea.connections.push(bi),oa.links.push(bi)}),oa}constructor(){super(),this.type="processnode/data/create",this.processNodeType="processnodetype/data/create"}getFormulaFromStringInterpolationField(He){return He?.isManualEntry&&He?.isStringInterpolation?Q(JSON.parse(He?.formula.substring(7,He?.formula.length-2))):(0,o.get)(He,"formula","ARRAY()")}isValid(He){return!((0,o.isEmpty)(He.fields.title)||(0,o.isEmpty)(He.fields.startDatetime)||(0,o.isEmpty)(He.fields.endDatetime)||(0,o.isEmpty)(He.fields.visibility))}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),Qn=(()=>{class Rt extends M{convert(He,fe){if(!this.isValid(He))throw new q.z(`Please correct invalid data on update calendar event node [${He.fields.title}]`,He);const{calendarEventToUpdate:nt,calendarTitle:Ot,startDatetime:rn,endDatetime:Jn,videoConferencing:Oi,meetingRoom:Ci,location:Ui,calendarDescription:ps,visibility:Ji,protectiveMarking:_s,addAttendees:js,removeAttendees:es,attachments:zs,securityPolicy:Gi}=He.fields,ds=js?.filter(Ei=>Ei.$tip).map(Ei=>Ei.$tip)||[],rs=js?.filter(Ei=>Ei.formula).map(Ei=>Ei.formula)||[],ao=es?.filter(Ei=>Ei.$tip).map(Ei=>Ei.$tip)||[],wo=es?.filter(Ei=>Ei.formula).map(Ei=>Ei.formula)||[],zr=this.getModifiedFields(He),Ea={"Calendar title":this.getFormulaFromStringInterpolationField(Ot),"Calendar start datetime":(0,o.get)(rn,"formula","ARRAY()")||"ARRAY()","Calendar end datetime":(0,o.get)(Jn,"formula","ARRAY()")||"ARRAY()","Calendar video conferencing":(0,o.get)(Oi,"formula","ARRAY()")||"ARRAY()","Calendar location":this.getFormulaFromStringInterpolationField(Ui),"Calendar description":this.getFormulaFromStringInterpolationField(ps),"Calendar meeting room":(0,o.get)(Ci,"formula","ARRAY()")||"ARRAY()","Calendar attachments":(0,o.get)(zs,"formula","ARRAY()")||"ARRAY()","Calendar protective marking":(0,o.get)(_s,"formula","ARRAY()")||"ARRAY()","Calendar visibility":(0,o.get)(Ji,"formula","ARRAY()")||"ARRAY()","Calendar add attendees":(0,o.isEmpty)(ds)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:ds}),"Calendar add attendee formulas":(0,o.isEmpty)(rs)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:rs.map(Ei=>(0,z.iX)(Ei))}),"Calendar remove attendees":(0,o.isEmpty)(ao)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:ao}),"Calendar remove attendee formulas":(0,o.isEmpty)(wo)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:wo.map(Ei=>(0,z.iX)(Ei))}),"Calendar event to update":(0,o.get)(nt,"formula","ARRAY()")||"ARRAY()","Security policy":(0,o.isEmpty)(Gi)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:[Gi]}),"Modified fields":(0,o.isEmpty)(zr)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:zr})},Rr=k(Ea,He.tip),A0=Y("eim/process/workflow/update-calendar-workflow",Ea),oa=x({name:"VAR",args:["Status"]}),bi=ne("done",A0);Rr.connections.push(bi);const Po=ne("done",oa);A0.connections.push(Po);const Pn={nodes:[Rr,A0,oa],links:[bi,Po]};return this.populateOutgoingLinks(He).forEach(Ei=>{oa.connections.push(Ei),Pn.links.push(Ei)}),Pn}constructor(){super(),this.type="processnode/data/update-eno",this.processNodeType="processnodetype/data/update-eno"}getFormulaFromStringInterpolationField(He){return He?.isManualEntry&&He?.isStringInterpolation?Q(JSON.parse(He?.formula.substring(7,He?.formula.length-2))):(0,o.get)(He,"formula","ARRAY()")}isValid(He){return!(0,o.isEmpty)(He.fields.calendarEventToUpdate?.formula)}getModifiedFields(He){const{fields:fe}=He,nt={calendarTitle:"Calendar title",startDatetime:"Calendar start datetime",endDatetime:"Calendar end datetime",videoConferencing:"Calendar video conferencing",meetingRoom:"Calendar meeting room",location:"Calendar location",calendarDescription:"Calendar description",visibility:"Calendar visibility",protectiveMarking:"Calendar protective marking",attachments:"Calendar attachments"};return Object.keys(nt).filter(rn=>!!(0,o.get)(fe[rn],"formula",null)).map(rn=>nt[rn])}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();var ri=s(18531);let li=(()=>{class Rt extends M{constructor(){super(),this.type="processnode/data/send",this.processNodeType="processnodetype/data/send"}convert(He){if(!this.isValid(He))throw new q.z(`Please correct invalid data on send-object node [${He.fields.title}]`,He);const{destinationNamespace:fe,destinationType:nt}=He.fields,{fieldsFormula:Ot,varsJsonBuild:rn}=this.constructFieldFormula(He.fields),Jn={"Destination namespace":fe,"Field formula":JSON.stringify(Ot),"Object fields data":this.constructFinalJsonBuildPayload({destinationNamespace:fe,destinationType:nt,varsJsonBuild:rn})},Oi=k(Jn,He.tip),Ci=Y("eim/process/workflow/send-object",Jn),Ui=x({name:"VAR",args:["Status"]}),ps=ne("done",Ci);Oi.connections.push(ps);const Ji=ne("done",Ui);Ci.connections.push(Ji);const _s={nodes:[Oi,Ci,Ui],links:[ps,Ji]};return this.populateOutgoingLinks(He).forEach(js=>{Ui.connections.push(js),_s.links.push(js)}),_s}isValid(He){return!(0,o.isEmpty)(He.fields.title)&&!(0,o.isEmpty)(He.fields.destinationNamespace)&&!(0,o.isEmpty)(He.fields.destinationType)}constructFinalJsonBuildPayload({destinationNamespace:He,destinationType:fe,varsJsonBuild:nt}){return Ge({type:"object",property:{destSystemTip:{type:"string",value:He},destTypeTip:{type:"string",value:fe},fieldFormulas:{type:"json",formula:'VAR("Field formula")'},vars:{type:"json",formula:nt}}})}constructFieldFormula(He){const fe={},nt={type:"object",property:{}};return Object.keys(He).forEach(Ot=>{if(ri._.indexOf(Ot)<0){const rn=(0,o.get)(He,`${Ot}.value.formula`),Jn=(0,o.get)(He,`${Ot}.value.selectedPropertyKey`);(0,o.isEmpty)(rn)||(fe[Ot]=rn,(0,o.isEmpty)(Jn)||(nt.property[Jn]={type:"stringArray",formula:(0,z.Ac)({name:"VAR",args:[Jn]})}))}}),{fieldsFormula:fe,varsJsonBuild:Ge(nt)}}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),Fi=(()=>{class Rt extends M{constructor(){super()}convert(He){let fe;if(!this.isValid(He))throw new q.z(`Please correct invalid data on message label node [${He.fields.title}]`,He);{const Ot=He.fields.messageLabelToAdd,rn=He.fields.messageLabelToRemove,Jn={"Object to update":He.fields.formula,"Message labels to add":this.validateObject(Ot)?(0,z.Ac)({name:"ARRAY",args:Ot.map(_s=>_s)}):void 0,"Message labels to remove":this.validateObject(rn)?(0,z.Ac)({name:"ARRAY",args:rn.map(_s=>_s)}):void 0},Oi=k(Jn,He.tip),Ci=Y("eim/process/messagelabels/update-message-labels",Jn),Ui=x({name:"VAR",args:["Status"]}),ps=ne("done",Ci);Oi.connections.push(ps);const Ji=ne("done",Ui);Ci.connections.push(Ji),fe={nodes:[Oi,Ci,Ui],links:[ps,Ji]},this.populateOutgoingLinks(He).forEach(_s=>{Ui.connections.push(_s),fe.links.push(_s)})}return fe}isValid(He){return!(""===(0,o.get)(He,"fields.formula")||""===(0,o.get)(He,"fields.title"))}validateObject(He){return He?.some(fe=>void 0!==fe)}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),ei=(()=>{class Rt extends M{convert(He){if(!this.isValid(He))throw new q.z(`Please provide required data on forward geocode node [${He.fields.title}]`,He);const{address:fe,variableToStoreResult:nt}=He.fields,Ot={"Street address":(0,o.get)(fe,"formula","ARRAY()")||"ARRAY()","Forward geocode var key":nt},rn=k(Ot,He.tip),Jn=Y("eim/process/workflow/forward-geocode",Ot),Oi=x({name:"VAR",args:["Status"]}),Ci=ne("done",Jn);rn.connections.push(Ci);const Ui=ne("done",Oi);Jn.connections.push(Ui);const ps={nodes:[rn,Jn,Oi],links:[Ci,Ui]};return this.populateOutgoingLinks(He).forEach(Ji=>{Oi.connections.push(Ji),ps.links.push(Ji)}),ps}constructor(){super(),this.type="processnode/data/forwardgeocode",this.processNodeType="processnodetype/data/forwardgeocode"}isValid(He){return!(0,o.isEmpty)(He.fields.title)&&!(0,o.isEmpty)(He.fields.address)&&!(0,o.isEmpty)(He.fields.variableToStoreResult)}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),Hi=(()=>{class Rt extends M{constructor(){super()}convert(He,fe){if(!this.isValid(He))throw new q.z(`Please correct invalid data on reverse geocode node [${He.fields.title}]`,He);const{fieldToConvert:nt,variableToSetKey:Ot,geocoder:rn}=He.fields,Jn={"Field to Convert":(0,o.get)(nt,"formula","ARRAY()"),"Variable to store result":(0,o.isEmpty)(Ot)?"ARRAY()":Ot,Geocoder:(0,o.isEmpty)(rn)?"ARRAY()":rn},Oi=k(Jn,He.tip),Ci=Y("eim/process/workflow/reverse-geocode",Jn),Ui=x({name:"VAR",args:["Status"]}),ps=ne("done",Ci);Oi.connections.push(ps);const Ji=ne("done",Ui);Ci.connections.push(Ji);const _s={nodes:[Oi,Ci,Ui],links:[ps,Ji]};return this.populateOutgoingLinks(He).forEach(js=>{Ui.connections.push(js),_s.links.push(js)}),_s}isValid(He){return!((0,o.isEmpty)(He.fields.title)||(0,o.isEmpty)(He.fields.fieldToConvert)||(0,o.isEmpty)(He.fields.geocoder)||(0,o.isEmpty)(He.fields.variableToSetKey))}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),gn=(()=>{class Rt extends M{constructor(){super(),this.type="processnode/data/updateaddress",this.processNodeType="processnodetype/data/updateaddress"}convert(He){if(!this.isValid(He))throw new q.z(`Please provide required data on update address node [${He.fields.title}]`,He);const{objectToUpdate:fe,fieldToUpdate:nt,streetAddress:Ot,point:rn}=He.fields,Jn=(0,Li.O)((0,jn.us)(nt.formula).formula),Oi={"Object to update":(0,o.get)(fe,"formula"),"Field to update":(0,o.isEmpty)(Jn)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:Jn.map(es=>es)}),"Address field display street":(0,o.isEmpty)((0,o.get)(Ot,"formula"))?"ARRAY()":(0,o.get)(Ot,"formula"),"Address field point":(0,o.isEmpty)((0,o.get)(rn,"formula"))?"ARRAY()":(0,o.get)(rn,"formula")},Ci=k(Oi,He.tip),Ui=Y("eim/process/workflow/update-address",Oi),ps=x({name:"VAR",args:["Status"]}),Ji=ne("done",Ui);Ci.connections.push(Ji);const _s=ne("done",ps);Ui.connections.push(_s);const js={nodes:[Ci,Ui,ps],links:[Ji,_s]};return this.populateOutgoingLinks(He).forEach(es=>{ps.connections.push(es),js.links.push(es)}),js}isValid(He){return!(0,o.isEmpty)((0,o.get)(He,"fields.title"))&&!(0,o.isEmpty)((0,o.get)(He,"fields.objectToUpdate.formula"))&&!(0,o.isEmpty)((0,o.get)(He,"fields.fieldToUpdate.formula"))}static#e=this.\u0275fac=function(fe){return new(fe||Rt)};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),yn=(()=>{class Rt extends M{constructor(){super(...arguments),this.type="processnode/data/update",this.processNodeType="processnodetype/data/update"}convert(He,fe){if(!this.isValid(He))throw new q.z(`Please correct invalid data on manage plan node [${He.fields.title}]`,He);const{variableToSetKey:nt,planStatus:Ot,objectToRelatePlanTo:rn,selectedPlans:Jn}=He.fields,Oi=Jn?.filter(Gi=>Gi.$tip).map(Gi=>Gi.$tip)||[],Ci=Jn?.filter(Gi=>Gi.formula).map(Gi=>Gi.formula)||[],Ui={"Plan status":(0,z.Ac)({name:"ARRAY",args:[Ot]}),"Object to relate to":(0,o.get)(rn,"formula","ARRAY()")||"ARRAY()","Selected plans":(0,o.isEmpty)(Oi)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:Oi}),"Selected plans formulas":(0,o.isEmpty)(Ci)?"ARRAY()":(0,z.Ac)({name:"ARRAY",args:Ci.map(Gi=>(0,z.iX)(Gi))}),"Variable to set":(0,o.isEmpty)(nt)?"ARRAY()":nt},ps=k(Ui,He.tip),Ji=Y("eim/process/workflow/manage-plan-workflow",Ui),_s=x({name:"VAR",args:["Status"]}),js=ne("done",Ji);ps.connections.push(js);const es=ne("done",_s);Ji.connections.push(es);const zs={nodes:[ps,Ji,_s],links:[js,es]};return this.populateOutgoingLinks(He).forEach(Gi=>{_s.connections.push(Gi),zs.links.push(Gi)}),zs}isValid(He){return!(0,o.isEmpty)(He.fields.title)&&!(0,o.isEmpty)(He.fields.planStatus)&&!(0,o.isEmpty)(He.fields.objectToRelatePlanTo)}static#e=this.\u0275fac=(()=>{let He;return function(nt){return(He||(He=C.xGo(Rt)))(nt||Rt)}})();static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();var hn=s(32099),Bn=function(Rt){return Rt[Rt.BASE=0]="BASE",Rt[Rt.COMPOSITE=1]="COMPOSITE",Rt}(Bn||{});let wi=(()=>{class Rt{constructor(He,fe,nt,Ot,rn,Jn,Oi,Ci,Ui,ps,Ji,_s,js,es,zs,Gi,ds,rs,ao,wo,zr,Ea,Rr,A0,oa,bi,Po,Pn,Ei,fi,Ks,fa,za,l1,Yn,so,Hr,vr,Sa,X1){this.decisionNodeConverterService=He,this.subworkflowNodeConverterService=fe,this.updateObjectConverterService=nt,this.createObjectConverterService=Ot,this.deprovisionUserNodeConverterService=rn,this.createUserNodeConverterService=Jn,this.startNodeConverterService=Oi,this.endNodeConverterService=Ci,this.setVariableNodeConverterService=Ui,this.deleteNodeConverterService=ps,this.duplicateNodeConverterService=Ji,this.switchNodeConverterService=_s,this.updateUserNodeConverterService=js,this.sendEmailConverterService=es,this.sendSmsConverterService=zs,this.workflowUXConverterService=Gi,this.updateSecurityNodeConverterService=ds,this.saveFileNodeConverterService=rs,this.generatePdfConverterService=ao,this.exportEnoConverterService=wo,this.importEnosConverterService=zr,this.sendNotificationConverterService=Ea,this.retrieveFileConverterService=Rr,this.sendVoiceMessageConverterService=A0,this.queryExternalConverterService=oa,this.updateExternalMapConverterService=bi,this.updateStageConverterService=Po,this.forEachNodeConverterService=Pn,this.pauseUntilNodeConverterService=Ei,this.webhookNodeConverterService=fi,this.loggerService=Ks,this.deleteCalendarEventNodeConverterService=fa,this.createCalendarEventNodeConverterService=za,this.updateCalendarEventNodeConverterService=l1,this.sendObjectConverterService=Yn,this.messageLabelEditorConverterService=so,this.forwardGeocodeNodeConverterService=Hr,this.reverseGeocodeConverterService=vr,this.updateAddressConverterService=Sa,this.managePlanNodeConverterService=X1,this.processNodeConverterMap={},this.processNodeCompositeConverterMap={},this.processNodeConverterMap[w.kD.DECISION]=He,this.processNodeConverterMap[w.kD.SUBWORKFLOW]=fe,this.processNodeConverterMap[w.kD.SET_VARIABLE]=Ui,this.processNodeConverterMap[w.kD.DELETE_OBJECT]=ps,this.processNodeConverterMap[w.kD.SWITCH]=_s,this.processNodeConverterMap[w.kD.END]=Ci,this.processNodeConverterMap[w.kD.START]=Oi,this.processNodeConverterMap[w.kD.DELETE_CALENDAR_EVENT]=fa,this.processNodeCompositeConverterMap[w.kD.DEPROVISION_USER]=rn,this.processNodeCompositeConverterMap[w.kD.UPDATE_USER]=js,this.processNodeCompositeConverterMap[w.kD.SEND_EMAIL]=es,this.processNodeCompositeConverterMap[w.kD.SEND_SMS]=zs,this.processNodeCompositeConverterMap[w.kD.CREATE_USER]=Jn,this.processNodeCompositeConverterMap[w.kD.CREATE_OBJECT]=Ot,this.processNodeCompositeConverterMap[w.kD.UPDATE_OBJECT]=nt,this.processNodeCompositeConverterMap[w.kD.WORKFLOW_UX]=Gi,this.processNodeCompositeConverterMap[w.kD.UPDATE_SECURITY]=ds,this.processNodeCompositeConverterMap[w.kD.SAVE_FILE]=rs,this.processNodeCompositeConverterMap[w.kD.GENERATE_PDF]=ao,this.processNodeCompositeConverterMap[w.kD.EXPORT_ENOS]=wo,this.processNodeCompositeConverterMap[w.kD.IMPORT_ENOS]=zr,this.processNodeCompositeConverterMap[w.kD.SEND_NOTIFICATION]=Ea,this.processNodeCompositeConverterMap[w.kD.RETRIEVE_FILE]=Rr,this.processNodeCompositeConverterMap[w.kD.SEND_VOICE_MESSAGE]=A0,this.processNodeCompositeConverterMap[w.kD.QUERY_EXTERNAL_MAP]=oa,this.processNodeCompositeConverterMap[w.kD.UPDATE_EXTERNAL_MAP]=bi,this.processNodeCompositeConverterMap[w.kD.UPDATE_STAGE]=Po,this.processNodeCompositeConverterMap[w.kD.FOR_EACH]=Pn,this.processNodeCompositeConverterMap[w.kD.PAUSE_UNTIL]=Ei,this.processNodeCompositeConverterMap[w.kD.DUPLICATE_OBJECT]=Ji,this.processNodeCompositeConverterMap[w.kD.WEBHOOK]=fi,this.processNodeCompositeConverterMap[w.kD.CREATE_CALENDAR_EVENT]=za,this.processNodeCompositeConverterMap[w.kD.UPDATE_CALENDAR_EVENT]=l1,this.processNodeCompositeConverterMap[w.kD.SEND_OBJECT]=Yn,this.processNodeCompositeConverterMap[w.kD.MESSAGE_LABEL]=so,this.processNodeCompositeConverterMap[w.kD.FORWARD_GEOCODE]=Hr,this.processNodeCompositeConverterMap[w.kD.REVERSE_GEOCODE]=vr,this.processNodeCompositeConverterMap[w.kD.UPDATE_ADDRESS]=Sa,this.processNodeCompositeConverterMap[w.kD.MANAGE_PLAN]=X1}convertWorkFlowToProcess(He,fe,nt,Ot){const rn=(0,o.cloneDeep)(fe),Jn=this.convertLinkDataToNodeLink(He.diagramData.linkDataArray,rn),Oi=this.createDraftProcess(He,nt,Ot);Oi.grants=He.isAdminMode?"app/security-grant/admin":null;const{nodes:Ci,links:Ui}=this.createDraftNodesAndConnections(Jn,He);return this.linkAll(Oi,Ci,Ui),Oi}createProcessNodeReference(He,fe,nt,Ot){const rn=fe.processNodeType===w.kD.FOR_EACH&&"processnode/logic/subprocess"===He.$type?w.kD.SUBWORKFLOW:fe.processNodeType;return{workflowNodeLabel:fe.fields?.title??fe.heading,workflowNodeType:rn,isFirstProcessNode:nt===Bn.BASE||fe.processNodeType===w.kD.FOR_EACH||!Ot}}convertLinkDataToNodeLink(He,fe){const nt=(0,o.cloneDeep)(fe),Ot={};return He.forEach(rn=>{Ot[rn.from]||(Ot[rn.from]={}),rn.delaySec=rn.delaySec||0;const Jn=JSON.stringify({outcome:rn.value,delaySec:rn.delaySec});Ot[rn.from][Jn]||(Ot[rn.from][Jn]=[]),Ot[rn.from][Jn].push(rn.to)}),nt.forEach(rn=>{rn.toLink=Ot[rn.tip]||{}}),nt}createDraftNodesAndConnections(He,fe){let nt=[],Ot=[];return He.forEach(rn=>{if(!this.processNodeConverterMap[rn.processNodeType]&&!this.processNodeCompositeConverterMap[rn.processNodeType])throw this.loggerService.error(`[${rn.processNodeType}]'s converter is not implemented.           Please implement converter for [${rn.processNodeType}],           which extends either NodeConverter or CompositeNodeConverter class.           And do not forget to add converter map in ProcessConverterService`,rn),Error(`${rn.processNodeType}'s converter is not implemented.`);const Jn=this.processNodeConverterMap[rn.processNodeType]?Bn.BASE:Bn.COMPOSITE;if(Object.keys(rn.toLink).forEach(Ci=>{const{outcome:Ui,delaySec:ps}=JSON.parse(Ci);Jn!==Bn.COMPOSITE&&nt.push({$type:"processconnection",$security:I.Ay.SECURITY.INSTANCE_USER_ADMIN,outcome:Ui,toNodes:[],point:[0,0],delaySec:ps,toNodeKeys:rn.toLink[Ci],fromNodeKey:rn.tip})}),Jn===Bn.BASE){const Ci=this.processNodeConverterMap[rn.processNodeType].convert(rn,fe);return void Ot.push({...Ci,reference:this.createProcessNodeReference(Ci,rn,Jn)})}const Oi=this.processNodeCompositeConverterMap[rn.processNodeType].convert(rn,fe);nt=nt.concat(Oi.links),Oi.nodes.forEach((Ci,Ui)=>{Ci.reference=this.createProcessNodeReference(Ci,rn,Jn,Ui)}),Ot=Ot.concat(Oi.nodes)}),{nodes:Ot,links:nt}}linkAll(He,fe,nt){He.nodes=fe;const Ot={};fe.forEach(rn=>{null!==rn.key&&(Ot[rn.key]=rn)}),nt.forEach(rn=>{rn.fromNodeKey&&Ot[rn.fromNodeKey].connections.push(rn),rn.toNodeKeys&&(rn.toNodes=rn.toNodeKeys.map(Jn=>Ot[Jn]))})}createDraftProcess(He,fe,nt){return{$type:"process",title:He.name,description:He.description,nodes:[],env:"Server",reference:{workflowTip:He.$tip,workflowLabel:He.name,moduleTip:fe,moduleLabel:nt}}}static#e=this.\u0275fac=function(fe){return new(fe||Rt)(C.KVO(di),C.KVO(Me),C.KVO(Wt),C.KVO(oi),C.KVO(Mn),C.KVO(Tn),C.KVO(K),C.KVO(ft),C.KVO(rt),C.KVO(Fs),C.KVO(de),C.KVO(Un),C.KVO(Yt),C.KVO(cn),C.KVO(ci),C.KVO(Vt),C.KVO(It),C.KVO(ui),C.KVO(os),C.KVO(In),C.KVO(Je),C.KVO(ln),C.KVO(En),C.KVO(Le),C.KVO(zn),C.KVO(ke),C.KVO(pe),C.KVO(_n),C.KVO($i),C.KVO(pt),C.KVO(hn.g),C.KVO(Nn),C.KVO(Hn),C.KVO(Qn),C.KVO(li),C.KVO(Fi),C.KVO(ei),C.KVO(Hi),C.KVO(gn),C.KVO(yn))};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();var Si=s(27916),Cn=s(44667),ut=s(87879);const Mt={nodeDataArray:[],linkDataArray:[]};let Bt=(()=>{class Rt{constructor(He,fe,nt,Ot,rn,Jn){this.processConverterService=He,this.processService=fe,this.objectService=nt,this.moduleService=Ot,this.formulaService=rn,this.modulePackageService=Jn}deleteWorkflow(He,fe){return(0,n.z)([this.deleteWorkflowTriggers(He),this.softDeleteWorkflow(He,fe)]).pipe((0,m.T)(([nt,Ot])=>nt.finished&&Ot))}deleteWorkflowTriggers(He){return this.processService.start("eim/process/disable-workflow-trigger",{"Workflow tip":[He]})}softDeleteWorkflow(He,fe){return this.formulaService.evaluate('FIELD("app/workflow:process")',He).pipe((0,m.T)(o.head),(0,T.n)(nt=>this.moduleService.deleteModuleConfig(nt?[nt,He]:[He])),(0,m.T)(nt=>!0),(0,O.W)(()=>this.modulePackageService.handleError("delete workflow",fe)))}getWorkflow(He){return this.objectService.getObject(He,b.ju).pipe((0,D.$)(fe=>(this.currentWorkflow=fe,!0)))}getWorkflowRead(He){return this.objectService.getObject(He,b.ju).pipe((0,D.$)())}saveWorkflow(He,fe,nt,Ot=!1,rn){try{return fe?He.process=this.processConverterService.convertWorkFlowToProcess(He,fe,nt,rn):(He.process&&(He.process.nodes=[]),He.process=He.process||this.getEmptyProcess()),(0,n.z)([this.moduleService.getModulePolicy(nt,y.b.WORKFLOW_PROCESS),this.moduleService.getModulePolicy(nt,y.b.INSTANCE)]).pipe((0,T.n)(([Jn,Oi])=>(He&&He.process&&(He.process.$security=Jn||"app/security-policy/process-workflow-user"),Ot?(0,a.of)(He):this.objectService.setObject(He,b.T,I.Ay.BRANCH_MASTER,Oi||"app/security-policy/instance-admin-admin").pipe((0,m.T)(Ci=>(Ci&&Ci.length>1&&(He.process.$tip=Ci[Ci.length-2].tip),He))))),(0,O.W)(()=>this.modulePackageService.handleError("save workflow",nt)))}catch(Jn){return(0,g.$)(Jn)}}saveWithoutProcess(He,fe){try{return(0,n.z)([this.moduleService.getModulePolicy(fe,y.b.WORKFLOW_PROCESS),this.moduleService.getModulePolicy(fe,y.b.INSTANCE)]).pipe((0,T.n)(([nt,Ot])=>((0,o.isEmpty)(He.process)&&(He.process=this.getEmptyProcess(He.name,He.description,nt)),this.objectService.setObject(He,b.T,I.Ay.BRANCH_MASTER,Ot||"app/security-policy/instance-admin-admin"))),(0,m.T)(()=>!0),(0,O.W)(()=>this.modulePackageService.handleError("save workflow",fe)))}catch(nt){return(0,g.$)(nt)}}createNewWorkflow(He,fe,nt){return this.moduleService.getModulePolicy(nt,y.b.WORKFLOW_PROCESS).pipe((0,D.$)(),(0,T.n)(Ot=>(0,n.z)([this.createEmptyProcess(He,fe,Ot).pipe((0,D.$)()),this.moduleService.getModulePolicy(nt,y.b.INSTANCE).pipe((0,D.$)())])),(0,T.n)(([Ot,rn])=>(this.currentWorkflow={$type:"app/workflow",process:Ot,isAdminMode:!1,diagramData:Mt,name:He,description:fe,nodes:null,inputs:[],actors:[],variables:[]},this.objectService.setObject(this.currentWorkflow,b.T,I.Ay.BRANCH_MASTER,rn||"app/security-policy/instance-admin-admin").pipe((0,D.$)()))),(0,T.n)(Ot=>{const rn=Ot[Ot.length-1].tip;return this.currentWorkflow.$tip=rn,this.moduleService.addTipToFlatModuleField({moduleTip:nt,moduleField:"workflows",tip:rn}).pipe((0,E.u)(rn))}),(0,O.W)(()=>this.modulePackageService.handleError("save workflow",nt)))}getModuleNameFromWorkflowTip(He){return He?this.formulaService.evaluate('TITLE(FIRST(REFERENCES("app/module:workflows")))',He).pipe((0,m.T)(fe=>fe[0])):(0,a.of)(null)}getModuleTipFromWorkflowTip(He){return He?this.formulaService.evaluate('REFERENCES("app/module:workflows")',He).pipe((0,m.T)(fe=>fe[0])):(0,a.of)(null)}openWorkflowDesignerPage(He,fe){if(fe)return He.stopImmediatePropagation(),this.getModuleTipFromWorkflowTip(fe).pipe((0,D.$)()).subscribe(nt=>{if(nt){const Ot=`${location.origin}/app/s/settings/modules/${encodeURIComponent(nt)}/workflows/${encodeURIComponent(fe)}`;window.open(Ot,"_blank")}})}getEmptyProcess(He="",fe="",nt="app/security-policy/process-workflow-user"){return{$type:"process",$security:nt,title:He,description:fe,nodes:[],env:"Server"}}createEmptyProcess(He,fe,nt){const Ot=this.getEmptyProcess(He,fe,nt);return this.objectService.setObject(Ot,L.Lj).pipe((0,D.$)(),(0,m.T)(rn=>(Ot.$tip=rn[0].tip,Ot)))}static#e=this.\u0275fac=function(fe){return new(fe||Rt)(C.KVO(wi),C.KVO(Si.V),C.KVO(Cn.T),C.KVO(y.A),C.KVO(Ct.C),C.KVO(ut.G))};static#t=this.\u0275prov=C.jDH({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})()},62601:(at,N,s)=>{"use strict";s.d(N,{D:()=>j});var n=s(8772),a=s(21413),g=s(92216),m=s(97586),T=s.n(m),O=s(56977),D=s(69172),E=s(67376),I=s(38582),b=s(27628),L=s(93953),o=s(52168),C=s(50337),w=s(19937),M=s(36726);function q($,H){if(1&$){const ie=L.RV6();L.j41(0,"div",15),L.bIt("click",function(){L.eBV(ie),L.XpG();const Q=L.sdS(1),le=L.XpG();return L.Njj(le.openWorkflow(Q.currentRowKey))}),L.EFF(1,"Open workflow"),L.k0s()}}function z($,H){1&$&&(L.j41(0,"th"),L.EFF(1,"Workflow"),L.k0s())}function F($,H){1&$&&(L.j41(0,"th"),L.EFF(1,"Event type"),L.k0s())}function U($,H){if(1&$&&(L.j41(0,"td"),L.EFF(1),L.k0s()),2&$){const ie=L.XpG().$implicit;L.R7$(),L.JRh(ie.workflowLabel)}}function k($,H){if(1&$&&(L.j41(0,"td"),L.EFF(1),L.k0s()),2&$){const ie=L.XpG().$implicit;L.R7$(),L.JRh(ie.eventType)}}function Y($,H){if(1&$){const ie=L.RV6();L.j41(0,"tr",20),L.bIt("click",function(){const Q=L.eBV(ie).$implicit,le=L.XpG(2);return L.Njj(le.openIndividual(Q.opProcess))}),L.j41(1,"td"),L.EFF(2),L.k0s(),L.DNE(3,U,2,1,"td",18)(4,k,2,1,"td",18),L.j41(5,"td"),L.EFF(6),L.nI1(7,"dateformat"),L.nI1(8,"async"),L.k0s(),L.j41(9,"td"),L.EFF(10),L.nI1(11,"dateformat"),L.nI1(12,"async"),L.k0s()()}if(2&$){const ie=H.$implicit;L.XpG();const ne=L.sdS(3),Q=L.XpG();L.Y8G("actionsDropdown",ne)("appTableRow",ie.opProcess),L.R7$(2),L.JRh(ie.status),L.R7$(),L.Y8G("ngIf",null==Q.props||null==Q.props.columns?null:Q.props.columns.workflow),L.R7$(),L.Y8G("ngIf",null==Q.props||null==Q.props.columns?null:Q.props.columns.eventType),L.R7$(2),L.JRh(L.bMT(8,10,L.i5U(7,7,1e3*ie.startTime,Q.DEFAULT_VALUE_MODE.DATETIMESECOND))),L.R7$(4),L.JRh(L.bMT(12,15,L.i5U(11,12,1e3*ie.finishTime,Q.DEFAULT_VALUE_MODE.DATETIMESECOND)))}}function x($,H){if(1&$){const ie=L.RV6();L.j41(0,"app-table-list",10,0),L.bIt("paginate",function(Q){L.eBV(ie);const le=L.XpG();return L.Njj(le.onPaginate(Q))}),L.j41(2,"span",11,1)(4,"button",12),L.nrm(5,"mat-icon",13),L.k0s(),L.j41(6,"div",14)(7,"div",15),L.bIt("click",function(){L.eBV(ie);const Q=L.sdS(1),le=L.XpG();return L.Njj(le.openIndividual(Q.currentRowKey))}),L.EFF(8,"Open diagnostics"),L.k0s(),L.DNE(9,q,2,0,"div",16),L.k0s()(),L.j41(10,"thead")(11,"tr",17)(12,"th"),L.EFF(13,"Status"),L.k0s(),L.DNE(14,z,2,0,"th",18)(15,F,2,0,"th",18),L.j41(16,"th"),L.EFF(17,"Start on"),L.k0s(),L.j41(18,"th"),L.EFF(19,"Finish on"),L.k0s()()(),L.j41(20,"tbody"),L.DNE(21,Y,13,17,"tr",19),L.k0s()()}if(2&$){const ie=L.XpG();L.Y8G("limitOptions",ie.limitOptions)("limit",ie.limit)("offset",ie.offset.table)("state",ie.state)("total",ie.total),L.R7$(4),L.Y8G("isNavigable",!1),L.R7$(5),L.Y8G("ngIf",null==ie.props||null==ie.props.submenu?null:ie.props.submenu.workflow),L.R7$(5),L.Y8G("ngIf",null==ie.props||null==ie.props.columns?null:ie.props.columns.workflow),L.R7$(),L.Y8G("ngIf",null==ie.props||null==ie.props.columns?null:ie.props.columns.eventType),L.R7$(6),L.Y8G("ngForOf",ie.workflowLogs)}}function B($,H){1&$&&L.nrm(0,"app-empty-state",21)}let j=(()=>{class $ extends n.i{constructor(ie,ne,Q,le,pe){super(),this.router=ie,this.sideSheetService=ne,this.toastService=Q,this.workflowDiagnosticsService=le,this.cdr=pe,this.unsubscribe$=new a.B,this.state=D.Gu.inProgress,this.loadingStates=D.Gu,this.offset={table:0,nextOffset:""},this.limit=50,this.total=0,this.limitOptions=[50],this.currentPage=1,this.workflowLogPages=[],this.workflowLogs=[],this.DEFAULT_VALUE_MODE=I._N}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}setProps(ie){this.props=ie,this.query={...(0,g.v)(30),to:T()().toISOString(),limit:this.limit},this.title=this.props.title,this.subjectTip=this.props?.subjectTip,this.cdr.markForCheck(),this.filterableTableColumnHeaders=[g.u.TIMESTAMP],this.filteringSelected={timestamp:(0,g.v)(30)},this.onLoadingActivatedWorkflows()}onLoadingActivatedWorkflows(){this.state=D.Gu.inProgress,this.subjectTip?this.query.subjectTip=this.subjectTip:this.props?.workflowTip&&(this.query.workflowTip=this.props.workflowTip),this.workflowDiagnosticsService.getOpWorkflowsOnce$(this.query).pipe((0,O.Q)(this.unsubscribe$)).subscribe(ie=>{if((0,E.isEmpty)(ie)||0===ie.executions.length)return this.workflowLogs=[],this.state=D.Gu.empty,void this.cdr.markForCheck();const{executions:ne}=ie;ne.length>0&&ne.forEach(Q=>{Q.status=Q.finishTime?"Finished":"In progress"}),this.total=this.offset.table+ne.length+1,this.workflowLogs=ne.slice(0,this.limit),this.currentPage+1>this.workflowLogPages.length?this.workflowLogPages.push({page:this.currentPage+1,offset:ie.nextOffset}):this.workflowLogPages.splice(-1,1),this.offset.nextOffset=ie.nextOffset,this.loaded()},()=>{this.toastService.showErrorToast("Unable to get activated workflow. Please try again later."),this.sideSheetService.pop(),this.state=D.Gu.failed})}onPaginate(ie){this.currentPage=this.offset.table>ie.offset?this.currentPage-1:this.currentPage+1,this.offset.table=ie.offset,this.limit=ie.limit,this.query={...this.query,offset:this.workflowLogPages.find(ne=>ne.page===this.currentPage)?.offset,limit:this.limit},this.onLoadingActivatedWorkflows()}openWorkflow(ie){const ne=(0,E.find)(this.workflowLogs,Q=>Q.opProcess===ie);this.workflowDiagnosticsService.openWorkflow(ne)}openIndividual(ie){this.workflowDiagnosticsService.openActivatedWorkflows(ie)}openFilterSideSheet(){const ne=this.sideSheetService.push(b.H).componentInstance;ne.setProps({filterableTableColumnHeaders:this.filterableTableColumnHeaders,selected:this.filteringSelected}),ne.done=Q=>{this.filteringSelected=Q,this.offset={table:0,nextOffset:""},this.query={...Q.timestamp,to:Q.timestamp.to?Q.timestamp.to:T()().toISOString(),limit:this.limit},this.currentPage=1,this.workflowLogPages=[],this.workflowLogPages.push({page:1,offset:""}),this.onLoadingActivatedWorkflows(),this.sideSheetService.pop(),this.cdr.markForCheck()}}loaded(){this.state=D.Gu.loaded,this.cdr.markForCheck()}static#e=this.\u0275fac=function(ne){return new(ne||$)(L.rXU(o.Ix),L.rXU(C.E),L.rXU(w.f),L.rXU(M.Z),L.rXU(L.gRc))};static#t=this.\u0275cmp=L.VBU({type:$,selectors:[["app-activated-workflows-side-sheet"]],features:[L.Vt3],decls:10,vars:5,consts:()=>{let ie;return ie="Activated workflows\n",[["tablelist",""],["actionsDropdown","ngbDropdown"],ie,["size","lg",3,"showBackIcon"],[3,"showBorder","title"],["actions",""],["data-test","table-widget-filter-button",1,"btn","btn-secondary","eim-button_minimized",3,"click"],["svgIcon","filter-alt"],[3,"limitOptions","limit","offset","state","total","paginate",4,"ngIf"],["class","empty","imgSrc","assets/img/empty-states/no-workflows.svg","label","No workflows here","size","default",4,"ngIf"],[3,"paginate","limitOptions","limit","offset","state","total"],["appTableActions","","ngbDropdown","","placement","bottom-right",1,"nav-item","dropdown","mt-1","d-flex","align-items-center"],["ngbDropdownToggle","",1,"eim-button_minimized","btn","btn-secondary","ml-1",3,"isNavigable"],["svgIcon","more"],["ngbDropdownMenu","","role","menu",1,"dropdown-menu"],[1,"dropdown-item",3,"click"],["class","dropdown-item",3,"click",4,"ngIf"],["appTableHead",""],[4,"ngIf"],[3,"actionsDropdown","appTableRow","click",4,"ngFor","ngForOf"],[3,"click","actionsDropdown","appTableRow"],["imgSrc","assets/img/empty-states/no-workflows.svg","label","No workflows here","size","default",1,"empty"]]},template:function(ne,Q){1&ne&&(L.j41(0,"app-side-sheet-header",3),L.pXf(1,2),L.k0s(),L.j41(2,"app-side-sheet-section",4)(3,"app-actions-toolbar")(4,"div",5)(5,"button",6),L.bIt("click",function(){return Q.openFilterSideSheet()}),L.nrm(6,"mat-icon",7),L.k0s()(),L.j41(7,"div"),L.DNE(8,x,22,10,"app-table-list",8)(9,B,1,0,"app-empty-state",9),L.k0s()()()),2&ne&&(L.Y8G("showBackIcon",!0),L.R7$(2),L.Y8G("showBorder",!1)("title",Q.title),L.R7$(6),L.Y8G("ngIf",Q.workflowLogs.length>0||Q.state===Q.loadingStates.inProgress),L.R7$(),L.Y8G("ngIf",Q.state===Q.loadingStates.empty))},styles:["app-table-list[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]:first-child, app-table-list[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]:first-child{display:none}"],changeDetection:0})}return $})()},2455:(at,N,s)=>{"use strict";s.d(N,{C:()=>O});var n=s(7673),a=s(96354),g=s(93953),m=s(60177);const T=["*"];let O=(()=>{class D{constructor(){this.type="info"}ngOnInit(){this.updatedInfoClass$=(0,n.of)(!0).pipe((0,a.T)(y=>"info"===this.type?"info-updated":"danger"===this.type?"danger-updated":"success"===this.type?"success-updated":this.type))}static#e=this.\u0275fac=function(I){return new(I||D)};static#t=this.\u0275cmp=g.VBU({type:D,selectors:[["app-alert"]],inputs:{class:"class",type:"type"},ngContentSelectors:T,decls:6,vars:13,consts:[["role","alert",3,"ngClass"],[1,"icon","flex-grow-0","flex-shrink-0"],[1,"mdi"],[1,"message","flex-grow-1","flex-shrink-1"]],template:function(I,b){1&I&&(g.NAR(),g.j41(0,"div",0),g.nI1(1,"async"),g.j41(2,"div",1),g.nrm(3,"span",2),g.k0s(),g.j41(4,"div",3),g.SdG(5),g.k0s()()),2&I&&(g.HbH("d-flex align-items-center alert alert-"+b.type),g.Y8G("ngClass",g.bMT(1,11,b.updatedInfoClass$)),g.R7$(3),g.AVh("mdi-alert-circle","danger"===b.type)("mdi-check","success"===b.type)("mdi-info-outline","info"===b.type)("mdi-alert-circle","warning"===b.type))},dependencies:[m.YU,m.Jj],styles:[".alert.addPaddingSentMessage[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{display:none}.alert.addPaddingSentMessage[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{padding:5px 20px}.alert.mfaAlert[_ngcontent-%COMP%]{justify-content:center}.alert.mfaAlert[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{flex-grow:0!important}.alert.alert-warning[_ngcontent-%COMP%]{border-radius:2px}.info-updated[_ngcontent-%COMP%]{background-color:#017c98;color:#fff}.danger-updated[_ngcontent-%COMP%]{background-color:#c01;color:#fff}.success-updated[_ngcontent-%COMP%]{background-color:#0f8062;color:#fff}"]})}return D})()},95750:(at,N,s)=>{"use strict";s.d(N,{Z:()=>g});var n=s(60177),a=s(93953);let g=(()=>{class m{static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275mod=a.$C({type:m});static#n=this.\u0275inj=a.G2t({imports:[n.MD]})}return m})()},85382:(at,N,s)=>{"use strict";s.d(N,{T:()=>a});var n=s(93953);let a=(()=>{class g{static#e=this.\u0275fac=function(O){return new(O||g)};static#t=this.\u0275mod=n.$C({type:g});static#n=this.\u0275inj=n.G2t({})}return g})()},73723:(at,N,s)=>{"use strict";s.d(N,{V:()=>a});var n=s(93953);let a=(()=>{class g{transform(T,O){return`${T}`}static#e=this.\u0275fac=function(O){return new(O||g)};static#t=this.\u0275pipe=n.EJ8({name:"asset",type:g,pure:!0})}return g})()},37206:(at,N,s)=>{"use strict";s.d(N,{$:()=>m});var n=s(60177),a=s(35046),g=s(93953);let m=(()=>{class T{static#e=this.\u0275fac=function(E){return new(E||T)};static#t=this.\u0275mod=g.$C({type:T});static#n=this.\u0275inj=g.G2t({imports:[n.MD,a.c]})}return T})()},48306:(at,N,s)=>{"use strict";s.d(N,{N:()=>g});var n=s(60177),a=s(93953);let g=(()=>{class m{static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275mod=a.$C({type:m});static#n=this.\u0275inj=a.G2t({imports:[n.MD]})}return m})()},69172:(at,N,s)=>{"use strict";s.d(N,{Bp:()=>F,Eg:()=>B,GP:()=>U,Gu:()=>b,H6:()=>m,Hf:()=>Y,Hx:()=>C,Je:()=>x,QC:()=>L,Ti:()=>T,V9:()=>y,VC:()=>D,WB:()=>$,Y6:()=>I,dh:()=>ie,e8:()=>z,f5:()=>ae,ff:()=>H,j5:()=>w,l2:()=>K,ls:()=>k,mc:()=>M,qM:()=>le,rO:()=>E,rU:()=>O,se:()=>q,ve:()=>ne,wN:()=>j,xb:()=>Me,yd:()=>Q,zM:()=>de,zz:()=>te});var n=s(10298),a=s(11819),g=s(17338);const m=[{label:"blue",value:"#029CBE"},{label:"aqua Green",value:"#02BE9C"},{label:"green",value:"#00b777"},{label:"red",value:"#e65a5a"},{label:"yellow",value:"#f2c329"},{label:"orange",value:"#f27e29"},{label:"black",value:"#111111"},{label:"grey",value:"#c2c2c2"}],T=[{label:"blue",value:"#EEF1F8"},{label:"dark blue",value:"#A7BFDB"},{label:"mint green",value:"#87CFC9"},{label:"pink",value:"#CF87B8"},{label:"lime green",value:"#D7F07C"}],O=[{label:"black",value:"#6b6b6b"},{label:"white",value:"#FFFFFF"}],D=[{label:"blue",value:"#57C4D7"},{label:"mint green",value:"#76DFAB"},{label:"yellow",value:"#FAD84E"},{label:"orange",value:"#F08F35"},{label:"salmon red",value:"#EC575C"},{label:"violet",value:"#D93CF4"},{label:"black",value:"#000000"},{label:"grey",value:"#C8C8C8"}],E=[...D],y=[{label:"Home",value:"home",icon:"mdi-home"},{label:"Star",value:"star",icon:"mdi-star"},{label:"Case",value:"case",icon:"mdi-case"},{label:"Folder",value:"folder",icon:"mdi-folder"},{label:"Account",value:"account",icon:"mdi-account"},{label:"Face",value:"face",icon:"mdi-face"},{label:"Comment",value:"comment",icon:"mdi-comment"},{label:"Settings",value:"settings",icon:"mdi-settings"},{label:"Calendar",value:"calendar",icon:"mdi-calendar"},{label:"Time",value:"time",icon:"mdi-time"}],I="https://signin.noggin.io?autoRedirect=false";var b=function(me){return me.inProgress="in-progress",me.failed="failed",me.loaded="loaded",me.empty="empty",me}(b||{});const L="**********",C=[{value:"zh-CN",label:"Chinese (Mandarin)"},{value:"en-US",label:"English, United States"},{value:"fr-FR",label:"French, France"},{value:"es-US",label:"Spanish, American"}],w=["app/email/outbound","app/sms/outbound"],M=["app/email/inbound","app/sms/inbound"];var q=function(me){return me[me.none=3]="none",me[me.notAllowFuture=1]="notAllowFuture",me[me.notAllowPast=2]="notAllowPast",me}(q||{});const z=[{value:q.notAllowFuture,label:"Do not allow dates in the future"},{value:q.notAllowPast,label:"Do not allow dates in the past"}],F="YYYY-MM-DDTHH:mm:ssZZ",U="AUTOGENERATED",k=[{value:a.jo.REGULAR,label:"Regular"},{value:a.jo.PUBLIC,label:"Public"},{value:a.jo.OFFLINE,label:"Offline"},{value:a.jo.CONTACT_SELF_SERVICE,label:"Contact self-service"}];var Y=function(me){return me.LOADED="loaded",me.IN_PROGRESS="in-progress",me.FAILED_SAVE="failed-save",me.FAILED_LOAD="failed-load",me.FAILED_DELETE="failed-delete",me}(Y||{});const x=["app/sms/outbound-source:draft-saved-datetime","app/email/outbound-source:draft-saved-datetime","app/voice-message/outbound-source:draft-saved-datetime","app/sms/outbound-source:message-labels","app/email/outbound-source:message-labels","app/voice-message/outbound-source:message-labels"],B=[{value:n.QE.INBOX,label:"Inbox"},{value:n.QE.SENT,label:"Sent"},{value:n.QE.DRAFT,label:"Draft"}],j="---SPECIALVAR---",$="hard-coded-role-tip-from-shift-widget",H=[j,$,g.t],ie="__ALL__";var ne=function(me){return me.fullUser="full-user",me.liteUser="lite-user",me}(ne||{});const Q=[{label:"Full user",value:ne.fullUser},{label:"Lite user",value:ne.liteUser}],le=["app/s/settings/modules","app/s/settings/profiles","app/s/settings/users"],te=new RegExp(/^\/{0,}(?:[^0-9`~!@#$%^&*()+\-_=[{\]}\\|'<,.>?/";:\xa3\xa7\xba\xa9\xae\s]+[.\uff61\u3002\uff65\u30fb\ufe12\u17d4\u0589\u104b\u06d4\u1362\u0964][^0-9`~!@#$%^&*()+\-_=[{\]}\\|'<,.>?/";:\xa3\xa7\xba\xa9\xae\s]+[.\uff61\u3002\uff65\u30fb\ufe12\u17d4\u0589\u104b\u06d4\u1362\u0964][^0-9`~!@#$%^&*()+\-_=[{\]}\\|'<,.>?/";:\xa3\xa7\xba\xa9\xae\s]+|[^0-9`~!@#$%^&*()+\-_=[{\]}\\|'<,.>?/";:\xa3\xa7\xba\xa9\xae\s]+([\u0020\u00A0][^0-9`~!@#$%^&*()+\-_=[{\]}\\|'<,.>?/";:\xa3\xa7\xba\xa9\xae\s]+){1,3}[.\uff61\u3002\uff65\u30fb\ufe12\u17d4\u0589\u104b\u06d4\u1362\u0964][^0-9`~!@#$%^&*()+\-_=[{\]}\\|'<,.>?/";:\xa3\xa7\xba\xa9\xae\s]+([\u0020\u00A0][^0-9`~!@#$%^&*()+\-_=[{\]}\\|'<,.>?/";:\xa3\xa7\xba\xa9\xae\s]+){1,3}[.\uff61\u3002\uff65\u30fb\ufe12\u17d4\u0589\u104b\u06d4\u1362\u0964][^0-9`~!@#$%^&*()+\-_=[{\]}\\|'<,.>?/";:\xa3\xa7\xba\xa9\xae\s]+([\u0020\u00A0][^0-9`~!@#$%^&*()+\-_=[{\]}\\|'<,.>?/";:\xa3\xa7\xba\xa9\xae\s]+){1,3})$/),ae=1001;var K=function(me){return me.mainForm="mainForm",me.mainFormGoOffline="mainFormGoOffline",me.fieldForm="fieldForm",me}(K||{});const de=[{value:"collapse",label:"Collapse"},{value:"expand",label:"Expand"}],Me="plan-template"},42455:(at,N,s)=>{"use strict";s.d(N,{j:()=>U});var n=s(93953),a=s(97586),g=s.n(a),m=s(69172),T=s(43236),O=s(7673),D=s(91986),E=s(61594),y=s(67376),b=s(5002),L=s(10506);const o=["picker"],C=["timePicker"];function w(k,Y){if(1&k){const x=n.RV6();n.j41(0,"app-datetime-header",7),n.bIt("resetToDefault",function(){n.eBV(x);const j=n.XpG(2);return n.Njj(j.onReset())}),n.k0s()}if(2&k){const x=n.XpG(2);n.Y8G("title",x.selectedDatetimeHeader)("minView",x.minView)("selected",x.selectedDatetime)("resetButtonText",x.resetText)}}function M(k,Y){if(1&k&&(n.j41(0,"div"),n.DNE(1,w,1,4,"app-datetime-header",6),n.k0s()),2&k){const x=n.XpG();n.R7$(),n.Y8G("ngIf",x.showHeader)}}function q(k,Y){if(1&k){const x=n.RV6();n.j41(0,"app-datetime-header",9),n.bIt("resetToDefault",function(){n.eBV(x);const j=n.XpG(2);return n.Njj(j.onReset())}),n.k0s()}if(2&k){const x=n.XpG(2);n.Y8G("title",x.selectedDatetimeHeader)("minView",x.minView)("isShiftCalendar",x.isShiftCalendar)("isShiftCalendarSelected",x.isShiftCalendarSelected)("resetButtonText",x.resetText)}}function z(k,Y){if(1&k&&(n.j41(0,"div"),n.DNE(1,q,1,5,"app-datetime-header",8),n.k0s()),2&k){const x=n.XpG();n.R7$(),n.Y8G("ngIf",x.showHeader)}}function F(k,Y){if(1&k){const x=n.RV6();n.j41(0,"div",10)(1,"span"),n.EFF(2,"Time"),n.k0s(),n.j41(3,"owl-date-time-inline",11),n.mxI("ngModelChange",function(j){n.eBV(x);const $=n.XpG();return n.DH7($.timeModel,j)||($.timeModel=j),n.Njj(j)}),n.bIt("ngModelChange",function(){n.eBV(x);const j=n.XpG();return n.Njj(j.onSelect())}),n.k0s()()}if(2&k){const x=n.XpG();n.R7$(3),n.R50("ngModel",x.timeModel),n.Y8G("stepMinute",x.minuteStep)}}let U=(()=>{class k{set initialDatetime(x){this._initialDatetime=x?.isValid()?x:null,this.setDateModel(this._initialDatetime)}set dateRangeMax(x){this.maxDate=x.toDate()}set dateRangeMin(x){this.minDate=x.toDate(),this.minDate.setDate(this.minDate.getDate()-1)}get selectedDatetime(){return this.dateModel?g()(this.dateModel):null}constructor(x,B){this.renderer=x,this.featureFlagStateService=B,this.dateValidation=m.se.none,this.maxView="year",this.minuteStep=1,this.minView="minute",this.showHeader=!1,this.startView="month",this.isShiftCalendar=!1,this.shiftScheduleStartDate=null,this.datetimeSelected=new n.bkB,this.showTimer=!1}ngOnInit(){this.timeModel=this.dateModel?(0,y.cloneDeep)(this.dateModel):new Date,this.resetText=this.isShiftCalendar?"Reset":"Clear",(!this.dateValidation||this.dateValidation!==m.se.none)&&(this.dateValidation===m.se.notAllowFuture?this.maxDate=new Date:(this.minDate=new Date,this.minDate.setDate(this.minDate.getDate()-1))),this.isFeatureEnabledSubscription$=this.featureFlagStateService.isFeatureEnabled$(b.g.FEATURE_EIM_28355_SHIFT_WIDGET_FF_MERGE).subscribe(x=>{this.isFeatureEnabled=x}),this.showTimer=["hour","minute"].includes(this.minView)}ngOnDestroy(){this.isFeatureEnabledSubscription$&&this.isFeatureEnabledSubscription$.unsubscribe()}ngAfterViewInit(){this.hideDisabledMonths(),this.addHandlerToNavigateButton(),this.updateAccessability()}dateFilter(x){return!this.minDate&&!this.maxDate||(this.minDate?x>this.minDate:x<=this.maxDate)}onMonthSelected(){this.hideDisabledMonths()}onReset(){this.isFeatureEnabled?(this.isShiftCalendarSelected=!1,this.isShiftCalendar?(this.dateModel=g().isMoment(this._initialDatetime)?this._initialDatetime.toDate():this._initialDatetime,T.E.schedule(()=>{this.dateModel=null})):this.dateModel=null):this.isShiftCalendar?this.setDateModel(this.shiftScheduleStartDate?this.shiftScheduleStartDate:this._initialDatetime):this.dateModel=null,this.datetimeSelected.emit(null)}onSelect(){const x=(0,y.cloneDeep)(this.dateModel);this.dateModel&&(x.setHours(this.timeModel.getHours(),this.timeModel.getMinutes(),0),this.datetimeSelected.emit(x)),this.isFeatureEnabled&&(this.isShiftCalendarSelected=!0)}getDisabledMonths(){const x=[];return this.picker.nativeElement.querySelectorAll("td.owl-dt-calendar-cell-disabled").forEach(B=>{B.querySelector("span.owl-dt-calendar-cell-out")&&x.push(B)}),x}getNavigateButtons(){return this.picker.nativeElement.querySelectorAll(".owl-dt-control.owl-dt-control-button.owl-dt-control-arrow-button")}getTimeNavigateButtons(){return this.timePicker?.nativeElement.querySelectorAll(".owl-dt-control-button.owl-dt-control-arrow-button")}addHandlerToNavigateButton(){(0,O.of)(!0).pipe((0,D.c)(0),(0,E.$)()).subscribe(x=>{this.getNavigateButtons().forEach(B=>{B.addEventListener("click",()=>{this.hideDisabledMonths()})})})}hideDisabledMonths(){(0,O.of)(!0).pipe((0,D.c)(0),(0,E.$)()).subscribe(x=>{this.getDisabledMonths().map(B=>{B.style.visibility="hidden"})})}updateAccessability(){(0,O.of)(!0).pipe((0,D.c)(0),(0,E.$)()).subscribe(x=>{this.getNavigateButtons().forEach(B=>{let $="";$=B.getAttribute("aria-label").startsWith("Previous")?"Previous":"Next",this.renderer.setAttribute(B,"aria-label",$),this.renderer.setAttribute(B,"title",$)}),this.getTimeNavigateButtons().forEach(B=>{let $="";$=B.getAttribute("aria-label").startsWith("Add")?"Increase":"Decrease",this.renderer.setAttribute(B,"aria-label",$),this.renderer.setAttribute(B,"title",$)})})}setDateModel(x){this.dateModel=this.featureFlagStateService.isFeatureEnabled(b.g.FEATURE_EIM_28355_SHIFT_WIDGET_FF_MERGE)&&this.isShiftCalendar?null:g().isMoment(x)?x.toDate():x}static#e=this.\u0275fac=function(B){return new(B||k)(n.rXU(n.sFG),n.rXU(L.F))};static#t=this.\u0275cmp=n.VBU({type:k,selectors:[["app-datetime-picker"]],viewQuery:function(B,j){if(1&B&&(n.GBs(o,7),n.GBs(C,7)),2&B){let $;n.mGM($=n.lsd())&&(j.picker=$.first),n.mGM($=n.lsd())&&(j.timePicker=$.first)}},inputs:{dateValidation:"dateValidation",maxView:"maxView",minuteStep:"minuteStep",minView:"minView",showHeader:"showHeader",startView:"startView",initialDatetime:"initialDatetime",selectedDatetimeHeader:"selectedDatetimeHeader",isShiftCalendar:"isShiftCalendar",dateRangeMax:"dateRangeMax",dateRangeMin:"dateRangeMin",shiftScheduleStartDate:"shiftScheduleStartDate"},outputs:{datetimeSelected:"datetimeSelected"},decls:8,vars:9,consts:[["picker",""],["timePicker",""],[4,"appIfFeatureFlag"],[1,"datetime-picker-container"],["pickerType","calendar",3,"ngModelChange","monthSelected","ngModel","stepMinute","min","max","owlDateTimeFilter","hideOtherMonths"],["class","time-section",4,"ngIf"],[3,"title","minView","selected","resetButtonText","resetToDefault",4,"ngIf"],[3,"resetToDefault","title","minView","selected","resetButtonText"],[3,"title","minView","isShiftCalendar","isShiftCalendarSelected","resetButtonText","resetToDefault",4,"ngIf"],[3,"resetToDefault","title","minView","isShiftCalendar","isShiftCalendarSelected","resetButtonText"],[1,"time-section"],["pickerType","timer",3,"ngModelChange","ngModel","stepMinute"]],template:function(B,j){if(1&B){const $=n.RV6();n.DNE(0,M,2,1,"div",2)(1,z,2,1,"div",2),n.j41(2,"div",3,0)(4,"owl-date-time-inline",4),n.mxI("ngModelChange",function(ie){return n.eBV($),n.DH7(j.dateModel,ie)||(j.dateModel=ie),n.Njj(ie)}),n.bIt("ngModelChange",function(){return n.eBV($),n.Njj(j.onSelect())})("monthSelected",function(){return n.eBV($),n.Njj(j.onMonthSelected())}),n.k0s(),n.j41(5,"div",null,1),n.DNE(7,F,4,2,"div",5),n.k0s()()}2&B&&(n.Y8G("appIfFeatureFlag","!feature-EIM-28355-shift-widget-ff-merge"),n.R7$(),n.Y8G("appIfFeatureFlag","feature-EIM-28355-shift-widget-ff-merge"),n.R7$(3),n.R50("ngModel",j.dateModel),n.Y8G("stepMinute",j.minuteStep)("min",j.minDate)("max",j.maxDate)("owlDateTimeFilter",j.dateFilter)("hideOtherMonths",!0),n.R7$(3),n.Y8G("ngIf",j.showTimer))},styles:["owl-date-time-inline[_ngcontent-%COMP%]    {width:100%}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container{width:100%;font-size:1.2em;box-shadow:none}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-control-button{color:#99c2c9}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-control-arrow-button{font-size:1.5em}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar{height:auto}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-control-period-button .owl-dt-control-button-arrow{display:none}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-control-period-button .owl-dt-control-button-content{font-weight:700;color:#54717d}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-control{border-bottom:.5px solid;border-color:#273c4e33;padding:.8em}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-control .owl-dt-control-arrow-button[disabled]{visibility:hidden!important}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main{padding:1em 0;margin:0 9px}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main .owl-dt-calendar-multi-year-view{padding:0!important}@media (min-width: 576px){owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main .owl-dt-calendar-view{padding:0 3em}}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main .owl-dt-calendar-view .owl-dt-calendar-month-table .owl-dt-calendar-table-divider:after{left:-3em;right:-3em}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main .owl-dt-calendar-view .owl-dt-calendar-year-table .owl-dt-calendar-table-divider:after{height:0px}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main .owl-dt-calendar-view .owl-dt-calendar-table .owl-dt-calendar-header{font-size:1.2em;color:#66717f}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main .owl-dt-calendar-view .owl-dt-calendar-table .owl-dt-calendar-cell{color:#273c4e;font-size:1.1em;padding-top:0!important;padding-bottom:0!important;text-align:center;height:2.5em}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main .owl-dt-calendar-view .owl-dt-calendar-table .owl-dt-calendar-cell-disabled{background-color:#d8d8d866;cursor:not-allowed}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main .owl-dt-calendar-view .owl-dt-calendar-table .owl-dt-calendar-cell-disabled span{cursor:not-allowed;color:#273c4e}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main .owl-dt-calendar-view .owl-dt-calendar-table .owl-dt-calendar-cell-content{border-radius:2px;width:32px;height:32px;position:relative;display:inline-flex;top:0;left:0}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main .owl-dt-calendar-view .owl-dt-calendar-table .owl-dt-calendar-cell-content.owl-dt-calendar-cell-today{background-color:#f3f3f3}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main .owl-dt-calendar-view .owl-dt-calendar-table .owl-dt-calendar-cell-selected{box-shadow:none;color:#fff;background-color:#01748e!important}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-calendar-main owl-date-time-year-view owl-date-time-multi-year-view .owl-dt-calendar-view{padding:0}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-timer{padding:0}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-timer-divider{width:.2em;height:50%;top:2em;left:0}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-timer-divider:before{top:40%;width:.2em;height:.2em}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-timer-divider:after{bottom:30%;width:.2em;height:.2em}owl-date-time-inline[_ngcontent-%COMP%]     .owl-dt-inline-container .owl-dt-timer-content .owl-dt-timer-input{background-color:#f3f3f3;border:none;border-radius:4;width:2.5em;color:#273c4e;font-size:2em}.time-section[_ngcontent-%COMP%]{font-weight:700;color:#416381;font-size:1.2em;padding:.5em 1.7em 0;border-top:8px solid #F9F9F9}"]})}return k})()},17109:(at,N,s)=>{"use strict";s.d(N,{W:()=>Rt});var n=s(60177),a=s(42455),g=s(89417),m=s(93953),T=s(5640),O=s(47987),D=s(21413),E=s(18359),y=s(5964),I=s(96697),b=s(59030),L=s(76939),o=s(67336),C=s(14085),w=s(70152),M=s(99172),q=s(49969),z=s(36860);const F=["owl-date-time-calendar-body",""],U=(Jt,He,fe)=>({"owl-dt-calendar-cell-out":Jt,"owl-dt-calendar-cell-today":He,"owl-dt-calendar-cell-selected":fe});function k(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"td",3),m.bIt("click",function(){const Ot=m.eBV(fe).$implicit,rn=m.XpG(2);return m.Njj(rn.selectCell(Ot))}),m.j41(1,"span",4),m.EFF(2),m.k0s()()}if(2&Jt){const fe=He.$implicit,nt=He.index,Ot=m.XpG().index,rn=m.XpG();m.ZvI("owl-dt-calendar-cell ",fe.cellClass,""),m.xc7("width",100/rn.numCols,"%")("padding-top",50*rn.cellRatio/rn.numCols,"%")("padding-bottom",50*rn.cellRatio/rn.numCols,"%"),m.AVh("owl-dt-calendar-cell-active",rn.isActiveCell(Ot,nt))("owl-dt-calendar-cell-disabled",!fe.enabled)("owl-dt-calendar-cell-in-range",rn.isInRange(fe.value))("owl-dt-calendar-cell-range-from",rn.isRangeFrom(fe.value))("owl-dt-calendar-cell-range-to",rn.isRangeTo(fe.value)),m.Y8G("tabindex",rn.isActiveCell(Ot,nt)?0:-1),m.BMQ("aria-label",fe.ariaLabel)("aria-disabled",!fe.enabled||null)("aria-current",fe.value===rn.todayValue?"date":null)("aria-selected",rn.isSelected(fe.value)),m.R7$(),m.Y8G("ngClass",m.sMw(26,U,fe.out,fe.value===rn.todayValue,rn.isSelected(fe.value))),m.R7$(),m.SpI(" ",fe.displayValue," ")}}function Y(Jt,He){if(1&Jt&&(m.j41(0,"tr",1),m.DNE(1,k,3,30,"td",2),m.k0s()),2&Jt){const fe=He.$implicit;m.R7$(),m.Y8G("ngForOf",fe)}}function x(Jt,He){if(1&Jt&&(m.j41(0,"th",6)(1,"span"),m.EFF(2),m.k0s()()),2&Jt){const fe=He.$implicit;m.BMQ("aria-label",fe.long),m.R7$(2),m.JRh(fe.short)}}function B(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"owl-date-time-month-view",16),m.bIt("pickerMomentChange",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.handlePickerMomentChange(Ot))})("selectedChange",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.dateSelected(Ot))})("userSelection",function(){m.eBV(fe);const Ot=m.XpG();return m.Njj(Ot.userSelected())}),m.k0s()}if(2&Jt){const fe=m.XpG();m.Y8G("pickerMoment",fe.pickerMoment)("firstDayOfWeek",fe.firstDayOfWeek)("selected",fe.selected)("selecteds",fe.selecteds)("selectMode",fe.selectMode)("minDate",fe.minDate)("maxDate",fe.maxDate)("dateFilter",fe.dateFilter)("hideOtherMonths",fe.hideOtherMonths)}}function j(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"owl-date-time-year-view",17),m.bIt("keyboardEnter",function(){m.eBV(fe);const Ot=m.XpG();return m.Njj(Ot.focusActiveCell())})("pickerMomentChange",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.handlePickerMomentChange(Ot))})("monthSelected",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.selectMonthInYearView(Ot))})("change",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.goToDateInView(Ot,rn.DateView.MONTH))}),m.k0s()}if(2&Jt){const fe=m.XpG();m.Y8G("pickerMoment",fe.pickerMoment)("selected",fe.selected)("selecteds",fe.selecteds)("selectMode",fe.selectMode)("minDate",fe.minDate)("maxDate",fe.maxDate)("dateFilter",fe.dateFilter)}}function $(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"owl-date-time-multi-year-view",18),m.bIt("keyboardEnter",function(){m.eBV(fe);const Ot=m.XpG();return m.Njj(Ot.focusActiveCell())})("pickerMomentChange",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.handlePickerMomentChange(Ot))})("yearSelected",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.selectYearInMultiYearView(Ot))})("change",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.goToDateInView(Ot,rn.DateView.YEAR))}),m.k0s()}if(2&Jt){const fe=m.XpG();m.Y8G("pickerMoment",fe.pickerMoment)("selected",fe.selected)("selecteds",fe.selecteds)("selectMode",fe.selectMode)("minDate",fe.minDate)("maxDate",fe.maxDate)("dateFilter",fe.dateFilter)}}const H=["valueInput"];function ie(Jt,He){1&Jt&&m.nrm(0,"div",10)}function ne(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"owl-date-time-timer-box",1),m.bIt("inputChange",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.setSecondValue(Ot))})("valueChange",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.setSecondValue(Ot))}),m.k0s()}if(2&Jt){const fe=m.XpG();m.Y8G("showDivider",!0)("upBtnAriaLabel",fe.upSecondButtonLabel)("downBtnAriaLabel",fe.downSecondButtonLabel)("upBtnDisabled",!fe.upSecondEnabled())("downBtnDisabled",!fe.downSecondEnabled())("value",fe.secondValue)("min",0)("max",59)("step",fe.stepSecond)("inputLabel","Second")}}function Q(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"div",4)(1,"button",5),m.bIt("click",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.setMeridiem(Ot))}),m.j41(2,"span",6),m.EFF(3),m.k0s()()()}if(2&Jt){const fe=m.XpG();m.R7$(3),m.SpI(" ",fe.hour12ButtonLabel," ")}}const le=Jt=>({"owl-dt-container-info-active":Jt});function pe(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"owl-date-time-calendar",7),m.mxI("pickerMomentChange",function(Ot){m.eBV(fe);const rn=m.XpG();return m.DH7(rn.pickerMoment,Ot)||(rn.pickerMoment=Ot),m.Njj(Ot)}),m.bIt("yearSelected",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.picker.selectYear(Ot))})("monthSelected",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.picker.selectMonth(Ot))})("dateClicked",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.picker.selectDate(Ot))})("selectedChange",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.dateSelected(Ot))}),m.k0s()}if(2&Jt){const fe=m.XpG();m.Y8G("firstDayOfWeek",fe.picker.firstDayOfWeek),m.R50("pickerMoment",fe.pickerMoment),m.Y8G("selected",fe.picker.selected)("selecteds",fe.picker.selecteds)("selectMode",fe.picker.selectMode)("minDate",fe.picker.minDateTime)("maxDate",fe.picker.maxDateTime)("dateFilter",fe.picker.dateTimeFilter)("startView",fe.picker.startView)("yearOnly",fe.picker.yearOnly)("multiyearOnly",fe.picker.multiyearOnly)("hideOtherMonths",fe.picker.hideOtherMonths)}}function te(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"owl-date-time-timer",8),m.bIt("selectedChange",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.timeSelected(Ot))}),m.k0s()}if(2&Jt){const fe=m.XpG();m.Y8G("pickerMoment",fe.pickerMoment)("minDateTime",fe.picker.minDateTime)("maxDateTime",fe.picker.maxDateTime)("showSecondsTimer",fe.picker.showSecondsTimer)("hour12Timer",fe.picker.hour12Timer)("stepHour",fe.picker.stepHour)("stepMinute",fe.picker.stepMinute)("stepSecond",fe.picker.stepSecond)}}function ae(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"div",9)(1,"div",10,0),m.bIt("click",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.handleClickOnInfoGroup(Ot,0))})("keydown",function(Ot){m.eBV(fe);const rn=m.sdS(9),Jn=m.XpG();return m.Njj(Jn.handleKeydownOnInfoGroup(Ot,rn,0))}),m.j41(3,"span",11)(4,"span",12),m.EFF(5),m.k0s(),m.j41(6,"span",13),m.EFF(7),m.k0s()()(),m.j41(8,"div",14,1),m.bIt("click",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.handleClickOnInfoGroup(Ot,1))})("keydown",function(Ot){m.eBV(fe);const rn=m.sdS(2),Jn=m.XpG();return m.Njj(Jn.handleKeydownOnInfoGroup(Ot,rn,1))}),m.j41(10,"span",11)(11,"span",12),m.EFF(12),m.k0s(),m.j41(13,"span",13),m.EFF(14),m.k0s()()()()}if(2&Jt){const fe=m.XpG();m.R7$(),m.Y8G("tabindex",0===fe.activeSelectedIndex?0:-1)("ngClass",m.eq3(10,le,0===fe.activeSelectedIndex)),m.BMQ("aria-checked",0===fe.activeSelectedIndex),m.R7$(4),m.SpI("",fe.fromLabel,":"),m.R7$(2),m.JRh(fe.fromFormattedValue),m.R7$(),m.Y8G("tabindex",1===fe.activeSelectedIndex?0:-1)("ngClass",m.eq3(12,le,1===fe.activeSelectedIndex)),m.BMQ("aria-checked",1===fe.activeSelectedIndex),m.R7$(4),m.SpI("",fe.toLabel,":"),m.R7$(2),m.JRh(fe.toFormattedValue)}}function K(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"div",15)(1,"button",16),m.bIt("click",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.onCancelClicked(Ot))}),m.j41(2,"span",17),m.EFF(3),m.k0s()(),m.j41(4,"button",16),m.bIt("click",function(Ot){m.eBV(fe);const rn=m.XpG();return m.Njj(rn.onSetClicked(Ot))}),m.j41(5,"span",17),m.EFF(6),m.k0s()()()}if(2&Jt){const fe=m.XpG();m.R7$(3),m.SpI(" ",fe.cancelLabel," "),m.R7$(3),m.SpI(" ",fe.setLabel," ")}}function de(Jt,He){}const me=new m.nKC("OWL_DATE_TIME_FORMATS"),be=new m.nKC("OWL_DATE_TIME_LOCALE",{providedIn:"root",factory:function Le(){return(0,m.WQX)(m.xe9)}});class Oe{constructor(){this._localeChanges=new D.B,this.millisecondsInDay=864e5,this.milliseondsInMinute=6e4}get localeChanges(){return this._localeChanges}compare(He,fe){if(!this.isValid(He)||!this.isValid(fe))throw Error("JSNativeDate: Cannot compare invalid dates.");const nt=this.clone(He),Ot=this.clone(fe),rn=this.getTime(nt)-this.getTime(Ot);return rn<0?-1:rn>0?1:rn}compareYear(He,fe){if(!this.isValid(He)||!this.isValid(fe))throw Error("JSNativeDate: Cannot compare invalid dates.");const rn=this.getYear(He)-this.getYear(fe);return rn<0?-1:rn>0?1:0}deserialize(He){return null==He||this.isDateInstance(He)&&this.isValid(He)?He:this.invalid()}setLocale(He){this.locale=He,this._localeChanges.next(He)}getLocale(){return this.locale}clampDate(He,fe,nt){return fe&&this.compare(He,fe)<0?fe:nt&&this.compare(He,nt)>0?nt:He}}let Xe=0;var Pe=function(Jt){return Jt.MONTH="month",Jt.YEAR="year",Jt.MULTI_YEARS="multi-years",Jt}(Pe||{});let $e=(()=>{class Jt{get showSecondsTimer(){return this._showSecondsTimer}set showSecondsTimer(fe){this._showSecondsTimer=(0,C.he)(fe)}get hour12Timer(){return this._hour12Timer}set hour12Timer(fe){this._hour12Timer=(0,C.he)(fe)}get stepHour(){return this._stepHour}set stepHour(fe){this._stepHour=(0,C.OE)(fe,1)}get stepMinute(){return this._stepMinute}set stepMinute(fe){this._stepMinute=(0,C.OE)(fe,1)}get stepSecond(){return this._stepSecond}set stepSecond(fe){this._stepSecond=(0,C.OE)(fe,1)}get firstDayOfWeek(){return this._firstDayOfWeek}set firstDayOfWeek(fe){fe=(0,C.OE)(fe),this._firstDayOfWeek=fe>6||fe<0?void 0:fe}get hideOtherMonths(){return this._hideOtherMonths}set hideOtherMonths(fe){this._hideOtherMonths=(0,C.he)(fe)}get id(){return this._id}get formatString(){return"both"===this.pickerType?this.dateTimeFormats.fullPickerInput:"calendar"===this.pickerType?this.dateTimeFormats.datePickerInput:this.dateTimeFormats.timePickerInput}get disabled(){return!1}constructor(fe,nt){if(this.dateTimeAdapter=fe,this.dateTimeFormats=nt,this._showSecondsTimer=!1,this._hour12Timer=!1,this.startView=Pe.MONTH,this.yearOnly=!1,this.multiyearOnly=!1,this._stepHour=1,this._stepMinute=1,this._stepSecond=1,this._hideOtherMonths=!1,this.dateTimeChecker=Ot=>!!Ot&&(!this.dateTimeFilter||this.dateTimeFilter(Ot))&&(!this.minDateTime||this.dateTimeAdapter.compare(Ot,this.minDateTime)>=0)&&(!this.maxDateTime||this.dateTimeAdapter.compare(Ot,this.maxDateTime)<=0),!this.dateTimeAdapter)throw Error("OwlDateTimePicker: No provider found for DateTimeAdapter. You must import one of the following modules at your application root: OwlNativeDateTimeModule, OwlMomentDateTimeModule, or provide a custom implementation.");if(!this.dateTimeFormats)throw Error("OwlDateTimePicker: No provider found for OWL_DATE_TIME_FORMATS. You must import one of the following modules at your application root: OwlNativeDateTimeModule, OwlMomentDateTimeModule, or provide a custom implementation.");this._id="owl-dt-picker-"+Xe++}getValidDate(fe){return this.dateTimeAdapter.isDateInstance(fe)&&this.dateTimeAdapter.isValid(fe)?fe:null}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.rXU(Oe,8),m.rXU(me,8))};static#t=this.\u0275dir=m.FsC({type:Jt,inputs:{showSecondsTimer:"showSecondsTimer",hour12Timer:"hour12Timer",startView:"startView",yearOnly:"yearOnly",multiyearOnly:"multiyearOnly",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",firstDayOfWeek:"firstDayOfWeek",hideOtherMonths:"hideOtherMonths"}})}return Jt})(),ze=(()=>{class Jt{constructor(){this.changes=new D.B,this.upSecondLabel="Add a second",this.downSecondLabel="Minus a second",this.upMinuteLabel="Add a minute",this.downMinuteLabel="Minus a minute",this.upHourLabel="Add a hour",this.downHourLabel="Minus a hour",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 21 years",this.nextMultiYearLabel="Next 21 years",this.switchToMonthViewLabel="Change to month view",this.switchToMultiYearViewLabel="Choose month and year",this.cancelBtnLabel="Cancel",this.setBtnLabel="Set",this.rangeFromLabel="From",this.rangeToLabel="To",this.hour12AMLabel="AM",this.hour12PMLabel="PM"}static#e=this.\u0275fac=function(nt){return new(nt||Jt)};static#t=this.\u0275prov=m.jDH({token:Jt,factory:Jt.\u0275fac,providedIn:"root"})}return Jt})();class Be{constructor(He,fe,nt,Ot,rn=!1,Jn=""){this.value=He,this.displayValue=fe,this.ariaLabel=nt,this.enabled=Ot,this.out=rn,this.cellClass=Jn}}let Ye=(()=>{class Jt{get owlDTCalendarBodyClass(){return!0}get isInSingleMode(){return"single"===this.selectMode}get isInRangeMode(){return"range"===this.selectMode||"rangeFrom"===this.selectMode||"rangeTo"===this.selectMode}constructor(fe,nt){this.elmRef=fe,this.ngZone=nt,this.activeCell=0,this.numCols=7,this.cellRatio=1,this.select=new m.bkB}ngOnInit(){}selectCell(fe){this.select.emit(fe)}isActiveCell(fe,nt){return fe*this.numCols+nt===this.activeCell}isSelected(fe){return!(!this.selectedValues||0===this.selectedValues.length)&&(this.isInSingleMode?fe===this.selectedValues[0]:this.isInRangeMode?fe===this.selectedValues[0]||fe===this.selectedValues[1]:void 0)}isInRange(fe){if(this.isInRangeMode){const nt=this.selectedValues[0],Ot=this.selectedValues[1];return null!==nt&&null!==Ot?fe>=nt&&fe<=Ot:fe===nt||fe===Ot}}isRangeFrom(fe){if(this.isInRangeMode){const nt=this.selectedValues[0];return null!==nt&&fe===nt}}isRangeTo(fe){if(this.isInRangeMode){const nt=this.selectedValues[1];return null!==nt&&fe===nt}}focusActiveCell(){this.ngZone.runOutsideAngular(()=>{this.ngZone.onStable.asObservable().pipe((0,I.s)(1)).subscribe(()=>{this.elmRef.nativeElement.querySelector(".owl-dt-calendar-cell-active").focus()})})}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.rXU(m.aKT),m.rXU(m.SKi))};static#t=this.\u0275cmp=m.VBU({type:Jt,selectors:[["","owl-date-time-calendar-body",""]],hostVars:2,hostBindings:function(nt,Ot){2&nt&&m.AVh("owl-dt-calendar-body",Ot.owlDTCalendarBodyClass)},inputs:{activeCell:"activeCell",rows:"rows",numCols:"numCols",cellRatio:"cellRatio",todayValue:"todayValue",selectedValues:"selectedValues",selectMode:"selectMode"},outputs:{select:"select"},exportAs:["owlDateTimeCalendarBody"],attrs:F,decls:1,vars:1,consts:[["role","row",4,"ngFor","ngForOf"],["role","row"],[3,"class","tabindex","owl-dt-calendar-cell-active","owl-dt-calendar-cell-disabled","owl-dt-calendar-cell-in-range","owl-dt-calendar-cell-range-from","owl-dt-calendar-cell-range-to","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],[3,"click","tabindex"],[1,"owl-dt-calendar-cell-content",3,"ngClass"]],template:function(nt,Ot){1&nt&&m.DNE(0,Y,2,1,"tr",0),2&nt&&m.Y8G("ngForOf",Ot.rows)},dependencies:[n.YU,n.Sq],changeDetection:0})}return Jt})();class Vt{static create(){return{multiYear:{yearRows:7,yearsPerRow:3}}}}class ht{static#e=this.all=new m.nKC("All options token");static#t=this.multiYear=new m.nKC("Grid view options token")}const gt=[{provide:ht.all,useFactory:function Ct(){return Vt.create()}},{provide:ht.multiYear,useFactory:function Lt(Jt){return Jt.multiYear},deps:[ht.all]}];let Ge=(()=>{class Jt{get selectMode(){return this._selectMode}set selectMode(fe){this._selectMode=fe,this.initiated&&(this.setSelectedYears(),this.cdRef.markForCheck())}get selected(){return this._selected}set selected(fe){const nt=this._selected;fe=this.dateTimeAdapter.deserialize(fe),this._selected=this.getValidDate(fe),this.dateTimeAdapter.isSameDay(nt,this._selected)||this.setSelectedYears()}get selecteds(){return this._selecteds}set selecteds(fe){this._selecteds=fe.map(nt=>(nt=this.dateTimeAdapter.deserialize(nt),this.getValidDate(nt))),this.setSelectedYears()}get pickerMoment(){return this._pickerMoment}set pickerMoment(fe){const nt=this._pickerMoment;fe=this.dateTimeAdapter.deserialize(fe),this._pickerMoment=this.getValidDate(fe)||this.dateTimeAdapter.now(),nt&&this._pickerMoment&&!this.isSameYearList(nt,this._pickerMoment)&&this.generateYearList()}get dateFilter(){return this._dateFilter}set dateFilter(fe){this._dateFilter=fe,this.initiated&&this.generateYearList()}get minDate(){return this._minDate}set minDate(fe){fe=this.dateTimeAdapter.deserialize(fe),this._minDate=this.getValidDate(fe),this.initiated&&this.generateYearList()}get maxDate(){return this._maxDate}set maxDate(fe){fe=this.dateTimeAdapter.deserialize(fe),this._maxDate=this.getValidDate(fe),this.initiated&&this.generateYearList()}get todayYear(){return this._todayYear}get years(){return this._years}get selectedYears(){return this._selectedYears}get isInSingleMode(){return"single"===this.selectMode}get isInRangeMode(){return"range"===this.selectMode||"rangeFrom"===this.selectMode||"rangeTo"===this.selectMode}get activeCell(){if(this._pickerMoment)return this.dateTimeAdapter.getYear(this._pickerMoment)%(this.options.yearsPerRow*this.options.yearRows)}get tableHeader(){if(this._years&&this._years.length>0)return`${this._years[0][0].displayValue} - ${this._years[this.options.yearRows-1][this.options.yearsPerRow-1].displayValue}`}get prevButtonLabel(){return this.pickerIntl.prevMultiYearLabel}get nextButtonLabel(){return this.pickerIntl.nextMultiYearLabel}get owlDTCalendarView(){return!0}get owlDTCalendarMultiYearView(){return!0}constructor(fe,nt,Ot,rn){this.cdRef=fe,this.pickerIntl=nt,this.dateTimeAdapter=Ot,this.options=rn,this._selectMode="single",this._selecteds=[],this.initiated=!1,this.change=new m.bkB,this.yearSelected=new m.bkB,this.pickerMomentChange=new m.bkB,this.keyboardEnter=new m.bkB}ngOnInit(){}ngAfterContentInit(){this._todayYear=this.dateTimeAdapter.getYear(this.dateTimeAdapter.now()),this.generateYearList(),this.initiated=!0}selectCalendarCell(fe){this.selectYear(fe.value)}selectYear(fe){this.yearSelected.emit(this.dateTimeAdapter.createDate(fe,0,1));const nt=this.dateTimeAdapter.createDate(fe,this.dateTimeAdapter.getMonth(this.pickerMoment),1),Ot=this.dateTimeAdapter.getNumDaysInMonth(nt),rn=this.dateTimeAdapter.createDate(fe,this.dateTimeAdapter.getMonth(this.pickerMoment),Math.min(Ot,this.dateTimeAdapter.getDate(this.pickerMoment)),this.dateTimeAdapter.getHours(this.pickerMoment),this.dateTimeAdapter.getMinutes(this.pickerMoment),this.dateTimeAdapter.getSeconds(this.pickerMoment));this.change.emit(rn)}prevYearList(fe){this._pickerMoment=this.dateTimeAdapter.addCalendarYears(this.pickerMoment,-1*this.options.yearsPerRow*this.options.yearRows),this.generateYearList(),fe.preventDefault()}nextYearList(fe){this._pickerMoment=this.dateTimeAdapter.addCalendarYears(this.pickerMoment,this.options.yearsPerRow*this.options.yearRows),this.generateYearList(),fe.preventDefault()}generateYearList(){this._years=[];const fe=this.dateTimeAdapter.getYear(this._pickerMoment),nt=fe%(this.options.yearsPerRow*this.options.yearRows);for(let Ot=0;Ot<this.options.yearRows;Ot++){const rn=[];for(let Jn=0;Jn<this.options.yearsPerRow;Jn++){const Ci=this.createYearCell(fe-nt+(Jn+Ot*this.options.yearsPerRow));rn.push(Ci)}this._years.push(rn)}}previousEnabled(){return!this.minDate||!this.minDate||!this.isSameYearList(this._pickerMoment,this.minDate)}nextEnabled(){return!this.maxDate||!this.isSameYearList(this._pickerMoment,this.maxDate)}handleCalendarKeydown(fe){let nt;switch(fe.keyCode){case o.UQ:nt=this.dateTimeAdapter.addCalendarYears(this._pickerMoment,-1),this.pickerMomentChange.emit(nt);break;case o.LE:nt=this.dateTimeAdapter.addCalendarYears(this._pickerMoment,1),this.pickerMomentChange.emit(nt);break;case o.i7:nt=this.dateTimeAdapter.addCalendarYears(this._pickerMoment,-1*this.options.yearsPerRow),this.pickerMomentChange.emit(nt);break;case o.n6:nt=this.dateTimeAdapter.addCalendarYears(this._pickerMoment,this.options.yearsPerRow),this.pickerMomentChange.emit(nt);break;case o.yZ:nt=this.dateTimeAdapter.addCalendarYears(this._pickerMoment,-this.dateTimeAdapter.getYear(this._pickerMoment)%(this.options.yearsPerRow*this.options.yearRows)),this.pickerMomentChange.emit(nt);break;case o.Kp:nt=this.dateTimeAdapter.addCalendarYears(this._pickerMoment,this.options.yearsPerRow*this.options.yearRows-this.dateTimeAdapter.getYear(this._pickerMoment)%(this.options.yearsPerRow*this.options.yearRows)-1),this.pickerMomentChange.emit(nt);break;case o.w_:nt=this.dateTimeAdapter.addCalendarYears(this.pickerMoment,fe.altKey?this.options.yearsPerRow*this.options.yearRows*-10:this.options.yearsPerRow*this.options.yearRows*-1),this.pickerMomentChange.emit(nt);break;case o.dB:nt=this.dateTimeAdapter.addCalendarYears(this.pickerMoment,fe.altKey?this.options.yearsPerRow*this.options.yearRows*10:this.options.yearsPerRow*this.options.yearRows),this.pickerMomentChange.emit(nt);break;case o.Fm:this.selectYear(this.dateTimeAdapter.getYear(this._pickerMoment)),this.keyboardEnter.emit();break;default:return}this.focusActiveCell(),fe.preventDefault()}createYearCell(fe){const nt=this.dateTimeAdapter.createDate(fe,0,1),Ot=this.dateTimeAdapter.getYearName(nt),rn="owl-dt-year-"+fe;return new Be(fe,fe.toString(),Ot,this.isYearEnabled(fe),!1,rn)}setSelectedYears(){this._selectedYears=[],this.isInSingleMode&&this.selected&&(this._selectedYears[0]=this.dateTimeAdapter.getYear(this.selected)),this.isInRangeMode&&this.selecteds&&(this._selectedYears=this.selecteds.map(fe=>this.dateTimeAdapter.isValid(fe)?this.dateTimeAdapter.getYear(fe):null))}isYearEnabled(fe){if(null==fe||this.maxDate&&fe>this.dateTimeAdapter.getYear(this.maxDate)||this.minDate&&fe<this.dateTimeAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let Ot=this.dateTimeAdapter.createDate(fe,0,1);this.dateTimeAdapter.getYear(Ot)===fe;Ot=this.dateTimeAdapter.addCalendarDays(Ot,1))if(this.dateFilter(Ot))return!0;return!1}isSameYearList(fe,nt){return Math.floor(this.dateTimeAdapter.getYear(fe)/(this.options.yearsPerRow*this.options.yearRows))===Math.floor(this.dateTimeAdapter.getYear(nt)/(this.options.yearsPerRow*this.options.yearRows))}getValidDate(fe){return this.dateTimeAdapter.isDateInstance(fe)&&this.dateTimeAdapter.isValid(fe)?fe:null}focusActiveCell(){this.calendarBodyElm.focusActiveCell()}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.rXU(m.gRc),m.rXU(ze),m.rXU(Oe,8),m.rXU(ht.multiYear))};static#t=this.\u0275cmp=m.VBU({type:Jt,selectors:[["owl-date-time-multi-year-view"]],viewQuery:function(nt,Ot){if(1&nt&&m.GBs(Ye,7),2&nt){let rn;m.mGM(rn=m.lsd())&&(Ot.calendarBodyElm=rn.first)}},hostVars:4,hostBindings:function(nt,Ot){2&nt&&m.AVh("owl-dt-calendar-view",Ot.owlDTCalendarView)("owl-dt-calendar-multi-year-view",Ot.owlDTCalendarMultiYearView)},inputs:{selectMode:"selectMode",selected:"selected",selecteds:"selecteds",pickerMoment:"pickerMoment",dateFilter:"dateFilter",minDate:"minDate",maxDate:"maxDate"},outputs:{change:"change",yearSelected:"yearSelected",pickerMomentChange:"pickerMomentChange",keyboardEnter:"keyboardEnter"},decls:14,vars:12,consts:[["type","button","tabindex","0",1,"owl-dt-control-button","owl-dt-control-arrow-button",3,"click","disabled"],["tabindex","-1",1,"owl-dt-control-button-content"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","version","1.1","x","0px","y","0px","viewBox","0 0 250.738 250.738",0,"xml","space","preserve","width","100%","height","100%",2,"enable-background","new 0 0 250.738 250.738"],["d","M96.633,125.369l95.053-94.533c7.101-7.055,7.101-18.492,0-25.546   c-7.1-7.054-18.613-7.054-25.714,0L58.989,111.689c-3.784,3.759-5.487,8.759-5.238,13.68c-0.249,4.922,1.454,9.921,5.238,13.681   l106.983,106.398c7.101,7.055,18.613,7.055,25.714,0c7.101-7.054,7.101-18.491,0-25.544L96.633,125.369z",2,"fill-rule","evenodd","clip-rule","evenodd"],[1,"owl-dt-calendar-table","owl-dt-calendar-multi-year-table"],[1,"owl-dt-calendar-header"],["colspan","3"],["owl-date-time-calendar-body","","role","grid",3,"keydown","select","rows","numCols","cellRatio","activeCell","todayValue","selectedValues","selectMode"],["version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 250.738 250.738",0,"xml","space","preserve",2,"enable-background","new 0 0 250.738 250.738"],["d","M191.75,111.689L84.766,5.291c-7.1-7.055-18.613-7.055-25.713,0\n                c-7.101,7.054-7.101,18.49,0,25.544l95.053,94.534l-95.053,94.533c-7.101,7.054-7.101,18.491,0,25.545\n                c7.1,7.054,18.613,7.054,25.713,0L191.75,139.05c3.784-3.759,5.487-8.759,5.238-13.681\n                C197.237,120.447,195.534,115.448,191.75,111.689z",2,"fill-rule","evenodd","clip-rule","evenodd"]],template:function(nt,Ot){1&nt&&(m.j41(0,"button",0),m.bIt("click",function(Jn){return Ot.prevYearList(Jn)}),m.j41(1,"span",1),m.qSk(),m.j41(2,"svg",2),m.nrm(3,"path",3),m.k0s()()(),m.joV(),m.j41(4,"table",4)(5,"thead",5)(6,"tr")(7,"th",6),m.EFF(8),m.k0s()()(),m.j41(9,"tbody",7),m.bIt("keydown",function(Jn){return Ot.handleCalendarKeydown(Jn)})("select",function(Jn){return Ot.selectCalendarCell(Jn)}),m.k0s()(),m.j41(10,"button",0),m.bIt("click",function(Jn){return Ot.nextYearList(Jn)}),m.j41(11,"span",1),m.qSk(),m.j41(12,"svg",8),m.nrm(13,"path",9),m.k0s()()()),2&nt&&(m.Y8G("disabled",!Ot.previousEnabled()),m.BMQ("aria-label",Ot.prevButtonLabel),m.R7$(8),m.JRh(Ot.tableHeader),m.R7$(),m.Y8G("rows",Ot.years)("numCols",3)("cellRatio",3/7)("activeCell",Ot.activeCell)("todayValue",Ot.todayYear)("selectedValues",Ot.selectedYears)("selectMode",Ot.selectMode),m.R7$(),m.Y8G("disabled",!Ot.nextEnabled()),m.BMQ("aria-label",Ot.nextButtonLabel))},dependencies:[Ye],changeDetection:0})}return Jt})(),Ne=(()=>{class Jt{get selectMode(){return this._selectMode}set selectMode(fe){this._selectMode=fe,this.initiated&&(this.generateMonthList(),this.cdRef.markForCheck())}get selected(){return this._selected}set selected(fe){fe=this.dateTimeAdapter.deserialize(fe),this._selected=this.getValidDate(fe),this.setSelectedMonths()}get selecteds(){return this._selecteds}set selecteds(fe){this._selecteds=[];for(let nt=0;nt<fe.length;nt++){const Ot=this.dateTimeAdapter.deserialize(fe[nt]);this._selecteds.push(this.getValidDate(Ot))}this.setSelectedMonths()}get pickerMoment(){return this._pickerMoment}set pickerMoment(fe){const nt=this._pickerMoment;fe=this.dateTimeAdapter.deserialize(fe),this._pickerMoment=this.getValidDate(fe)||this.dateTimeAdapter.now(),!this.hasSameYear(nt,this._pickerMoment)&&this.initiated&&this.generateMonthList()}get dateFilter(){return this._dateFilter}set dateFilter(fe){this._dateFilter=fe,this.initiated&&this.generateMonthList()}get minDate(){return this._minDate}set minDate(fe){fe=this.dateTimeAdapter.deserialize(fe),this._minDate=this.getValidDate(fe),this.initiated&&this.generateMonthList()}get maxDate(){return this._maxDate}set maxDate(fe){fe=this.dateTimeAdapter.deserialize(fe),this._maxDate=this.getValidDate(fe),this.initiated&&this.generateMonthList()}get months(){return this._months}get activeCell(){if(this._pickerMoment)return this.dateTimeAdapter.getMonth(this._pickerMoment)}get isInSingleMode(){return"single"===this.selectMode}get isInRangeMode(){return"range"===this.selectMode||"rangeFrom"===this.selectMode||"rangeTo"===this.selectMode}get owlDTCalendarView(){return!0}constructor(fe,nt,Ot){this.cdRef=fe,this.dateTimeAdapter=nt,this.dateTimeFormats=Ot,this._selectMode="single",this._selecteds=[],this.localeSub=E.yU.EMPTY,this.initiated=!1,this.selectedMonths=[],this.change=new m.bkB,this.monthSelected=new m.bkB,this.pickerMomentChange=new m.bkB,this.keyboardEnter=new m.bkB,this.monthNames=this.dateTimeAdapter.getMonthNames("short")}ngOnInit(){this.localeSub=this.dateTimeAdapter.localeChanges.subscribe(()=>{this.generateMonthList(),this.cdRef.markForCheck()})}ngAfterContentInit(){this.generateMonthList(),this.initiated=!0}ngOnDestroy(){this.localeSub.unsubscribe()}selectCalendarCell(fe){this.selectMonth(fe.value)}selectMonth(fe){const nt=this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(this.pickerMoment),fe,1);this.monthSelected.emit(nt);const Ot=this.dateTimeAdapter.getNumDaysInMonth(nt),rn=this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(this.pickerMoment),fe,Math.min(Ot,this.dateTimeAdapter.getDate(this.pickerMoment)),this.dateTimeAdapter.getHours(this.pickerMoment),this.dateTimeAdapter.getMinutes(this.pickerMoment),this.dateTimeAdapter.getSeconds(this.pickerMoment));this.change.emit(rn)}handleCalendarKeydown(fe){let nt;switch(fe.keyCode){case o.UQ:nt=this.dateTimeAdapter.addCalendarMonths(this.pickerMoment,-1),this.pickerMomentChange.emit(nt);break;case o.LE:nt=this.dateTimeAdapter.addCalendarMonths(this.pickerMoment,1),this.pickerMomentChange.emit(nt);break;case o.i7:nt=this.dateTimeAdapter.addCalendarMonths(this.pickerMoment,-3),this.pickerMomentChange.emit(nt);break;case o.n6:nt=this.dateTimeAdapter.addCalendarMonths(this.pickerMoment,3),this.pickerMomentChange.emit(nt);break;case o.yZ:nt=this.dateTimeAdapter.addCalendarMonths(this.pickerMoment,-this.dateTimeAdapter.getMonth(this.pickerMoment)),this.pickerMomentChange.emit(nt);break;case o.Kp:nt=this.dateTimeAdapter.addCalendarMonths(this.pickerMoment,11-this.dateTimeAdapter.getMonth(this.pickerMoment)),this.pickerMomentChange.emit(nt);break;case o.w_:nt=this.dateTimeAdapter.addCalendarYears(this.pickerMoment,fe.altKey?-10:-1),this.pickerMomentChange.emit(nt);break;case o.dB:nt=this.dateTimeAdapter.addCalendarYears(this.pickerMoment,fe.altKey?10:1),this.pickerMomentChange.emit(nt);break;case o.Fm:this.selectMonth(this.dateTimeAdapter.getMonth(this.pickerMoment)),this.keyboardEnter.emit();break;default:return}this.focusActiveCell(),fe.preventDefault()}generateMonthList(){if(this.pickerMoment){this.setSelectedMonths(),this.todayMonth=this.getMonthInCurrentYear(this.dateTimeAdapter.now()),this._months=[];for(let fe=0;fe<4;fe++){const nt=[];for(let Ot=0;Ot<3;Ot++){const Jn=this.createMonthCell(Ot+3*fe);nt.push(Jn)}this._months.push(nt)}}}createMonthCell(fe){const nt=this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(this.pickerMoment),fe,1),Ot=this.dateTimeAdapter.format(nt,this.dateTimeFormats.monthYearA11yLabel),rn="owl-dt-month-"+fe;return new Be(fe,this.monthNames[fe],Ot,this.isMonthEnabled(fe),!1,rn)}isMonthEnabled(fe){for(let Ot=this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(this.pickerMoment),fe,1);this.dateTimeAdapter.getMonth(Ot)===fe;Ot=this.dateTimeAdapter.addCalendarDays(Ot,1))if(Ot&&(!this.dateFilter||this.dateFilter(Ot))&&(!this.minDate||this.dateTimeAdapter.compare(Ot,this.minDate)>=0)&&(!this.maxDate||this.dateTimeAdapter.compare(Ot,this.maxDate)<=0))return!0;return!1}getMonthInCurrentYear(fe){if(this.getValidDate(fe)&&this.getValidDate(this._pickerMoment)){const nt=this.dateTimeAdapter.compareYear(fe,this._pickerMoment);return nt<0?-1:nt>0?12:this.dateTimeAdapter.getMonth(fe)}return null}setSelectedMonths(){this.selectedMonths=[],this.isInSingleMode&&this.selected&&(this.selectedMonths[0]=this.getMonthInCurrentYear(this.selected)),this.isInRangeMode&&this.selecteds&&(this.selectedMonths[0]=this.getMonthInCurrentYear(this.selecteds[0]),this.selectedMonths[1]=this.getMonthInCurrentYear(this.selecteds[1]))}hasSameYear(fe,nt){return!(!fe||!nt||this.dateTimeAdapter.getYear(fe)!==this.dateTimeAdapter.getYear(nt))}getValidDate(fe){return this.dateTimeAdapter.isDateInstance(fe)&&this.dateTimeAdapter.isValid(fe)?fe:null}focusActiveCell(){this.calendarBodyElm.focusActiveCell()}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.rXU(m.gRc),m.rXU(Oe,8),m.rXU(me,8))};static#t=this.\u0275cmp=m.VBU({type:Jt,selectors:[["owl-date-time-year-view"]],viewQuery:function(nt,Ot){if(1&nt&&m.GBs(Ye,7),2&nt){let rn;m.mGM(rn=m.lsd())&&(Ot.calendarBodyElm=rn.first)}},hostVars:2,hostBindings:function(nt,Ot){2&nt&&m.AVh("owl-dt-calendar-view",Ot.owlDTCalendarView)},inputs:{selectMode:"selectMode",selected:"selected",selecteds:"selecteds",pickerMoment:"pickerMoment",dateFilter:"dateFilter",minDate:"minDate",maxDate:"maxDate"},outputs:{change:"change",monthSelected:"monthSelected",pickerMomentChange:"pickerMomentChange",keyboardEnter:"keyboardEnter"},exportAs:["owlMonthView"],decls:5,vars:7,consts:[[1,"owl-dt-calendar-table","owl-dt-calendar-year-table"],[1,"owl-dt-calendar-header"],["aria-hidden","true","colspan","3",1,"owl-dt-calendar-table-divider"],["owl-date-time-calendar-body","","role","grid",3,"keydown","select","rows","numCols","cellRatio","activeCell","todayValue","selectedValues","selectMode"]],template:function(nt,Ot){1&nt&&(m.j41(0,"table",0)(1,"thead",1)(2,"tr"),m.nrm(3,"th",2),m.k0s()(),m.j41(4,"tbody",3),m.bIt("keydown",function(Jn){return Ot.handleCalendarKeydown(Jn)})("select",function(Jn){return Ot.selectCalendarCell(Jn)}),m.k0s()()),2&nt&&(m.R7$(4),m.Y8G("rows",Ot.months)("numCols",3)("cellRatio",3/7)("activeCell",Ot.activeCell)("todayValue",Ot.todayMonth)("selectedValues",Ot.selectedMonths)("selectMode",Ot.selectMode))},dependencies:[Ye],changeDetection:0})}return Jt})(),rt=(()=>{class Jt{get firstDayOfWeek(){return this._firstDayOfWeek}set firstDayOfWeek(fe){fe>=0&&fe<=6&&fe!==this._firstDayOfWeek&&(this._firstDayOfWeek=fe,this.isDefaultFirstDayOfWeek=!1,this.initiated&&(this.generateWeekDays(),this.generateCalendar(),this.cdRef.markForCheck()))}get selectMode(){return this._selectMode}set selectMode(fe){this._selectMode=fe,this.initiated&&(this.generateCalendar(),this.cdRef.markForCheck())}get selected(){return this._selected}set selected(fe){const nt=this._selected;fe=this.dateTimeAdapter.deserialize(fe),this._selected=this.getValidDate(fe),this.dateTimeAdapter.isSameDay(nt,this._selected)||this.setSelectedDates()}get selecteds(){return this._selecteds}set selecteds(fe){this._selecteds=fe.map(nt=>(nt=this.dateTimeAdapter.deserialize(nt),this.getValidDate(nt))),this.setSelectedDates()}get pickerMoment(){return this._pickerMoment}set pickerMoment(fe){const nt=this._pickerMoment;fe=this.dateTimeAdapter.deserialize(fe),this._pickerMoment=this.getValidDate(fe)||this.dateTimeAdapter.now(),this.firstDateOfMonth=this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(this._pickerMoment),this.dateTimeAdapter.getMonth(this._pickerMoment),1),!this.isSameMonth(nt,this._pickerMoment)&&this.initiated&&this.generateCalendar()}get dateFilter(){return this._dateFilter}set dateFilter(fe){this._dateFilter=fe,this.initiated&&(this.generateCalendar(),this.cdRef.markForCheck())}get minDate(){return this._minDate}set minDate(fe){fe=this.dateTimeAdapter.deserialize(fe),this._minDate=this.getValidDate(fe),this.initiated&&(this.generateCalendar(),this.cdRef.markForCheck())}get maxDate(){return this._maxDate}set maxDate(fe){fe=this.dateTimeAdapter.deserialize(fe),this._maxDate=this.getValidDate(fe),this.initiated&&(this.generateCalendar(),this.cdRef.markForCheck())}get weekdays(){return this._weekdays}get days(){return this._days}get activeCell(){if(this.pickerMoment)return this.dateTimeAdapter.getDate(this.pickerMoment)+this.firstRowOffset-1}get isInSingleMode(){return"single"===this.selectMode}get isInRangeMode(){return"range"===this.selectMode||"rangeFrom"===this.selectMode||"rangeTo"===this.selectMode}get owlDTCalendarView(){return!0}constructor(fe,nt,Ot){this.cdRef=fe,this.dateTimeAdapter=nt,this.dateTimeFormats=Ot,this.hideOtherMonths=!1,this.isDefaultFirstDayOfWeek=!0,this._selectMode="single",this._selecteds=[],this.localeSub=E.yU.EMPTY,this.initiated=!1,this.selectedDates=[],this.selectedChange=new m.bkB,this.userSelection=new m.bkB,this.pickerMomentChange=new m.bkB}ngOnInit(){this.updateFirstDayOfWeek(this.dateTimeAdapter.getLocale()),this.generateWeekDays(),this.localeSub=this.dateTimeAdapter.localeChanges.subscribe(fe=>{this.updateFirstDayOfWeek(fe),this.generateWeekDays(),this.generateCalendar(),this.cdRef.markForCheck()})}ngAfterContentInit(){this.generateCalendar(),this.initiated=!0}ngOnDestroy(){this.localeSub.unsubscribe()}selectCalendarCell(fe){!fe.enabled||this.hideOtherMonths&&fe.out||this.selectDate(fe.value)}selectDate(fe){const Ot=this.dateTimeAdapter.addCalendarDays(this.firstDateOfMonth,fe-1);this.selectedChange.emit(Ot),this.userSelection.emit()}handleCalendarKeydown(fe){let nt;switch(fe.keyCode){case o.UQ:nt=this.dateTimeAdapter.addCalendarDays(this.pickerMoment,-1),this.pickerMomentChange.emit(nt);break;case o.LE:nt=this.dateTimeAdapter.addCalendarDays(this.pickerMoment,1),this.pickerMomentChange.emit(nt);break;case o.i7:nt=this.dateTimeAdapter.addCalendarDays(this.pickerMoment,-7),this.pickerMomentChange.emit(nt);break;case o.n6:nt=this.dateTimeAdapter.addCalendarDays(this.pickerMoment,7),this.pickerMomentChange.emit(nt);break;case o.yZ:nt=this.dateTimeAdapter.addCalendarDays(this.pickerMoment,1-this.dateTimeAdapter.getDate(this.pickerMoment)),this.pickerMomentChange.emit(nt);break;case o.Kp:nt=this.dateTimeAdapter.addCalendarDays(this.pickerMoment,this.dateTimeAdapter.getNumDaysInMonth(this.pickerMoment)-this.dateTimeAdapter.getDate(this.pickerMoment)),this.pickerMomentChange.emit(nt);break;case o.w_:nt=fe.altKey?this.dateTimeAdapter.addCalendarYears(this.pickerMoment,-1):this.dateTimeAdapter.addCalendarMonths(this.pickerMoment,-1),this.pickerMomentChange.emit(nt);break;case o.dB:nt=fe.altKey?this.dateTimeAdapter.addCalendarYears(this.pickerMoment,1):this.dateTimeAdapter.addCalendarMonths(this.pickerMoment,1),this.pickerMomentChange.emit(nt);break;case o.Fm:(!this.dateFilter||this.dateFilter(this.pickerMoment))&&this.selectDate(this.dateTimeAdapter.getDate(this.pickerMoment));break;default:return}this.focusActiveCell(),fe.preventDefault()}generateWeekDays(){const fe=this.dateTimeAdapter.getDayOfWeekNames("long"),nt=this.dateTimeAdapter.getDayOfWeekNames("short"),Ot=this.dateTimeAdapter.getDayOfWeekNames("narrow"),rn=this.firstDayOfWeek,Jn=fe.map((Oi,Ci)=>({long:Oi,short:nt[Ci],narrow:Ot[Ci]}));this._weekdays=Jn.slice(rn).concat(Jn.slice(0,rn)),this.dateNames=this.dateTimeAdapter.getDateNames()}generateCalendar(){if(!this.pickerMoment)return;this.todayDate=null;let Ot=0-(this.dateTimeAdapter.getDay(this.firstDateOfMonth)+(7-this.firstDayOfWeek))%7;this.firstRowOffset=Math.abs(Ot),this._days=[];for(let rn=0;rn<6;rn++){const Jn=[];for(let Oi=0;Oi<7;Oi++){const Ci=this.dateTimeAdapter.addCalendarDays(this.firstDateOfMonth,Ot),Ui=this.createDateCell(Ci,Ot);this.dateTimeAdapter.isSameDay(this.dateTimeAdapter.now(),Ci)&&(this.todayDate=Ot+1),Jn.push(Ui),Ot+=1}this._days.push(Jn)}this.setSelectedDates()}updateFirstDayOfWeek(fe){if(this.isDefaultFirstDayOfWeek)try{this._firstDayOfWeek=(0,n.yo)(fe)}catch{this._firstDayOfWeek=0}}createDateCell(fe,nt){const Ot=this.dateTimeAdapter.getNumDaysInMonth(this.pickerMoment),Jn=this.dateTimeAdapter.getDate(fe).toString(),Oi=this.dateTimeAdapter.format(fe,this.dateTimeFormats.dateA11yLabel),Ci=this.isDateEnabled(fe),Ui=nt+1,ps=Ui<1||Ui>Ot,Ji="owl-dt-day-"+this.dateTimeAdapter.getDay(fe);return new Be(Ui,Jn,Oi,Ci,ps,Ji)}isDateEnabled(fe){return!!fe&&(!this.dateFilter||this.dateFilter(fe))&&(!this.minDate||this.dateTimeAdapter.compare(fe,this.minDate)>=0)&&(!this.maxDate||this.dateTimeAdapter.compare(fe,this.maxDate)<=0)}getValidDate(fe){return this.dateTimeAdapter.isDateInstance(fe)&&this.dateTimeAdapter.isValid(fe)?fe:null}isSameMonth(fe,nt){return!!(fe&&nt&&this.dateTimeAdapter.isValid(fe)&&this.dateTimeAdapter.isValid(nt)&&this.dateTimeAdapter.getYear(fe)===this.dateTimeAdapter.getYear(nt)&&this.dateTimeAdapter.getMonth(fe)===this.dateTimeAdapter.getMonth(nt))}setSelectedDates(){if(this.selectedDates=[],this.firstDateOfMonth){if(this.isInSingleMode&&this.selected){const fe=this.dateTimeAdapter.differenceInCalendarDays(this.selected,this.firstDateOfMonth);return void(this.selectedDates[0]=fe+1)}this.isInRangeMode&&this.selecteds&&(this.selectedDates=this.selecteds.map(fe=>this.dateTimeAdapter.isValid(fe)?this.dateTimeAdapter.differenceInCalendarDays(fe,this.firstDateOfMonth)+1:null))}}focusActiveCell(){this.calendarBodyElm.focusActiveCell()}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.rXU(m.gRc),m.rXU(Oe,8),m.rXU(me,8))};static#t=this.\u0275cmp=m.VBU({type:Jt,selectors:[["owl-date-time-month-view"]],viewQuery:function(nt,Ot){if(1&nt&&m.GBs(Ye,7),2&nt){let rn;m.mGM(rn=m.lsd())&&(Ot.calendarBodyElm=rn.first)}},hostVars:2,hostBindings:function(nt,Ot){2&nt&&m.AVh("owl-dt-calendar-view",Ot.owlDTCalendarView)},inputs:{hideOtherMonths:"hideOtherMonths",firstDayOfWeek:"firstDayOfWeek",selectMode:"selectMode",selected:"selected",selecteds:"selecteds",pickerMoment:"pickerMoment",dateFilter:"dateFilter",minDate:"minDate",maxDate:"maxDate"},outputs:{selectedChange:"selectedChange",userSelection:"userSelection",pickerMomentChange:"pickerMomentChange"},exportAs:["owlYearView"],decls:7,vars:8,consts:[[1,"owl-dt-calendar-table","owl-dt-calendar-month-table"],[1,"owl-dt-calendar-header"],[1,"owl-dt-weekdays"],["class","owl-dt-weekday","scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"owl-dt-calendar-table-divider"],["owl-date-time-calendar-body","","role","grid",3,"keydown","select","rows","todayValue","selectedValues","selectMode","activeCell"],["scope","col",1,"owl-dt-weekday"]],template:function(nt,Ot){1&nt&&(m.j41(0,"table",0)(1,"thead",1)(2,"tr",2),m.DNE(3,x,3,2,"th",3),m.k0s(),m.j41(4,"tr"),m.nrm(5,"th",4),m.k0s()(),m.j41(6,"tbody",5),m.bIt("keydown",function(Jn){return Ot.handleCalendarKeydown(Jn)})("select",function(Jn){return Ot.selectCalendarCell(Jn)}),m.k0s()()),2&nt&&(m.AVh("owl-dt-calendar-only-current-month",Ot.hideOtherMonths),m.R7$(3),m.Y8G("ngForOf",Ot.weekdays),m.R7$(3),m.Y8G("rows",Ot.days)("todayValue",Ot.todayDate)("selectedValues",Ot.selectedDates)("selectMode",Ot.selectMode)("activeCell",Ot.activeCell))},dependencies:[n.Sq,Ye],changeDetection:0})}return Jt})(),ft=(()=>{class Jt{get minDate(){return this._minDate}set minDate(fe){fe=this.dateTimeAdapter.deserialize(fe),fe=this.getValidDate(fe),this._minDate=fe?this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(fe),this.dateTimeAdapter.getMonth(fe),this.dateTimeAdapter.getDate(fe)):null}get maxDate(){return this._maxDate}set maxDate(fe){fe=this.dateTimeAdapter.deserialize(fe),fe=this.getValidDate(fe),this._maxDate=fe?this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(fe),this.dateTimeAdapter.getMonth(fe),this.dateTimeAdapter.getDate(fe)):null}get pickerMoment(){return this._pickerMoment}set pickerMoment(fe){fe=this.dateTimeAdapter.deserialize(fe),this._pickerMoment=this.getValidDate(fe)||this.dateTimeAdapter.now()}get selected(){return this._selected}set selected(fe){fe=this.dateTimeAdapter.deserialize(fe),this._selected=this.getValidDate(fe)}get selecteds(){return this._selecteds}set selecteds(fe){this._selecteds=fe.map(nt=>(nt=this.dateTimeAdapter.deserialize(nt),this.getValidDate(nt)))}get periodButtonText(){return this.isMonthView?this.dateTimeAdapter.format(this.pickerMoment,this.dateTimeFormats.monthYearLabel):this.dateTimeAdapter.getYearName(this.pickerMoment)}get periodButtonLabel(){return this.isMonthView?this.pickerIntl.switchToMultiYearViewLabel:this.pickerIntl.switchToMonthViewLabel}get prevButtonLabel(){return this._currentView===Pe.MONTH?this.pickerIntl.prevMonthLabel:this._currentView===Pe.YEAR?this.pickerIntl.prevYearLabel:null}get nextButtonLabel(){return this._currentView===Pe.MONTH?this.pickerIntl.nextMonthLabel:this._currentView===Pe.YEAR?this.pickerIntl.nextYearLabel:null}get currentView(){return this._currentView}set currentView(fe){this._currentView=fe,this.moveFocusOnNextTick=!0}get isInSingleMode(){return"single"===this.selectMode}get isInRangeMode(){return"range"===this.selectMode||"rangeFrom"===this.selectMode||"rangeTo"===this.selectMode}get showControlArrows(){return this._currentView!==Pe.MULTI_YEARS}get isMonthView(){return this._currentView===Pe.MONTH}get owlDTCalendarClass(){return!0}constructor(fe,nt,Ot,rn,Jn,Oi){this.elmRef=fe,this.pickerIntl=nt,this.ngZone=Ot,this.cdRef=rn,this.dateTimeAdapter=Jn,this.dateTimeFormats=Oi,this.DateView=Pe,this._selecteds=[],this.startView=Pe.MONTH,this.yearOnly=!1,this.multiyearOnly=!1,this.pickerMomentChange=new m.bkB,this.dateClicked=new m.bkB,this.selectedChange=new m.bkB,this.userSelection=new m.bkB,this.yearSelected=new m.bkB,this.monthSelected=new m.bkB,this.intlChangesSub=E.yU.EMPTY,this.moveFocusOnNextTick=!1,this.dateFilterForViews=Ci=>!!Ci&&(!this.dateFilter||this.dateFilter(Ci))&&(!this.minDate||this.dateTimeAdapter.compare(Ci,this.minDate)>=0)&&(!this.maxDate||this.dateTimeAdapter.compare(Ci,this.maxDate)<=0),this.intlChangesSub=this.pickerIntl.changes.subscribe(()=>{this.cdRef.markForCheck()})}ngOnInit(){}ngAfterContentInit(){this._currentView=this.startView}ngAfterViewChecked(){this.moveFocusOnNextTick&&(this.moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this.intlChangesSub.unsubscribe()}toggleViews(){let fe=null;fe=this._currentView===Pe.MONTH||this.multiyearOnly?Pe.MULTI_YEARS:this.yearOnly?this._currentView===Pe.YEAR?Pe.MULTI_YEARS:Pe.YEAR:Pe.MONTH,this.currentView=fe}previousClicked(){this.pickerMoment=this.isMonthView?this.dateTimeAdapter.addCalendarMonths(this.pickerMoment,-1):this.dateTimeAdapter.addCalendarYears(this.pickerMoment,-1),this.pickerMomentChange.emit(this.pickerMoment)}nextClicked(){this.pickerMoment=this.isMonthView?this.dateTimeAdapter.addCalendarMonths(this.pickerMoment,1):this.dateTimeAdapter.addCalendarYears(this.pickerMoment,1),this.pickerMomentChange.emit(this.pickerMoment)}dateSelected(fe){this.dateFilterForViews(fe)&&(this.dateClicked.emit(fe),this.selectedChange.emit(fe))}goToDateInView(fe,nt){this.handlePickerMomentChange(fe),(!this.yearOnly&&!this.multiyearOnly||this.multiyearOnly&&nt!==Pe.MONTH&&nt!==Pe.YEAR||this.yearOnly&&nt!==Pe.MONTH)&&(this.currentView=nt)}handlePickerMomentChange(fe){this.pickerMoment=this.dateTimeAdapter.clampDate(fe,this.minDate,this.maxDate),this.pickerMomentChange.emit(this.pickerMoment)}userSelected(){this.userSelection.emit()}prevButtonEnabled(){return!this.minDate||!this.isSameView(this.pickerMoment,this.minDate)}nextButtonEnabled(){return!this.maxDate||!this.isSameView(this.pickerMoment,this.maxDate)}focusActiveCell(){this.ngZone.runOutsideAngular(()=>{this.ngZone.onStable.asObservable().pipe((0,I.s)(1)).subscribe(()=>{this.elmRef.nativeElement.querySelector(".owl-dt-calendar-cell-active").focus()})})}selectYearInMultiYearView(fe){this.yearSelected.emit(fe)}selectMonthInYearView(fe){this.monthSelected.emit(fe)}isSameView(fe,nt){return this._currentView===Pe.MONTH?!(!fe||!nt||this.dateTimeAdapter.getYear(fe)!==this.dateTimeAdapter.getYear(nt)||this.dateTimeAdapter.getMonth(fe)!==this.dateTimeAdapter.getMonth(nt)):this._currentView===Pe.YEAR&&!(!fe||!nt||this.dateTimeAdapter.getYear(fe)!==this.dateTimeAdapter.getYear(nt))}getValidDate(fe){return this.dateTimeAdapter.isDateInstance(fe)&&this.dateTimeAdapter.isValid(fe)?fe:null}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.rXU(m.aKT),m.rXU(ze),m.rXU(m.SKi),m.rXU(m.gRc),m.rXU(Oe,8),m.rXU(me,8))};static#t=this.\u0275cmp=m.VBU({type:Jt,selectors:[["owl-date-time-calendar"]],hostVars:2,hostBindings:function(nt,Ot){2&nt&&m.AVh("owl-dt-calendar",Ot.owlDTCalendarClass)},inputs:{minDate:"minDate",maxDate:"maxDate",pickerMoment:"pickerMoment",selected:"selected",selecteds:"selecteds",dateFilter:"dateFilter",firstDayOfWeek:"firstDayOfWeek",selectMode:"selectMode",startView:"startView",yearOnly:"yearOnly",multiyearOnly:"multiyearOnly",hideOtherMonths:"hideOtherMonths"},outputs:{pickerMomentChange:"pickerMomentChange",dateClicked:"dateClicked",selectedChange:"selectedChange",userSelection:"userSelection",yearSelected:"yearSelected",monthSelected:"monthSelected"},exportAs:["owlDateTimeCalendar"],decls:21,vars:16,consts:[[1,"owl-dt-calendar-control"],["type","button","tabindex","0",1,"owl-dt-control","owl-dt-control-button","owl-dt-control-arrow-button",3,"click","disabled"],["tabindex","-1",1,"owl-dt-control-content","owl-dt-control-button-content"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","version","1.1","x","0px","y","0px","viewBox","0 0 250.738 250.738",0,"xml","space","preserve","width","100%","height","100%",2,"enable-background","new 0 0 250.738 250.738"],["d","M96.633,125.369l95.053-94.533c7.101-7.055,7.101-18.492,0-25.546   c-7.1-7.054-18.613-7.054-25.714,0L58.989,111.689c-3.784,3.759-5.487,8.759-5.238,13.68c-0.249,4.922,1.454,9.921,5.238,13.681   l106.983,106.398c7.101,7.055,18.613,7.055,25.714,0c7.101-7.054,7.101-18.491,0-25.544L96.633,125.369z",2,"fill-rule","evenodd","clip-rule","evenodd"],[1,"owl-dt-calendar-control-content"],["type","button","tabindex","0",1,"owl-dt-control","owl-dt-control-button","owl-dt-control-period-button",3,"click"],[1,"owl-dt-control-button-arrow"],["version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","width","50%","height","50%","viewBox","0 0 292.362 292.362",0,"xml","space","preserve",2,"enable-background","new 0 0 292.362 292.362"],["d","M286.935,69.377c-3.614-3.617-7.898-5.424-12.848-5.424H18.274c-4.952,0-9.233,1.807-12.85,5.424\n                                C1.807,72.998,0,77.279,0,82.228c0,4.948,1.807,9.229,5.424,12.847l127.907,127.907c3.621,3.617,7.902,5.428,12.85,5.428\n                                s9.233-1.811,12.847-5.428L286.935,95.074c3.613-3.617,5.427-7.898,5.427-12.847C292.362,77.279,290.548,72.998,286.935,69.377z"],["version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","x","0px","y","0px","viewBox","0 0 250.738 250.738",0,"xml","space","preserve",2,"enable-background","new 0 0 250.738 250.738"],["d","M191.75,111.689L84.766,5.291c-7.1-7.055-18.613-7.055-25.713,0\n                    c-7.101,7.054-7.101,18.49,0,25.544l95.053,94.534l-95.053,94.533c-7.101,7.054-7.101,18.491,0,25.545\n                    c7.1,7.054,18.613,7.054,25.713,0L191.75,139.05c3.784-3.759,5.487-8.759,5.238-13.681\n                    C197.237,120.447,195.534,115.448,191.75,111.689z",2,"fill-rule","evenodd","clip-rule","evenodd"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"owl-dt-calendar-main",3,"ngSwitch"],[3,"pickerMoment","firstDayOfWeek","selected","selecteds","selectMode","minDate","maxDate","dateFilter","hideOtherMonths","pickerMomentChange","selectedChange","userSelection",4,"ngSwitchCase"],[3,"pickerMoment","selected","selecteds","selectMode","minDate","maxDate","dateFilter","keyboardEnter","pickerMomentChange","monthSelected","change",4,"ngSwitchCase"],[3,"pickerMoment","selected","selecteds","selectMode","minDate","maxDate","dateFilter","keyboardEnter","pickerMomentChange","yearSelected","change",4,"ngSwitchCase"],[3,"pickerMomentChange","selectedChange","userSelection","pickerMoment","firstDayOfWeek","selected","selecteds","selectMode","minDate","maxDate","dateFilter","hideOtherMonths"],[3,"keyboardEnter","pickerMomentChange","monthSelected","change","pickerMoment","selected","selecteds","selectMode","minDate","maxDate","dateFilter"],[3,"keyboardEnter","pickerMomentChange","yearSelected","change","pickerMoment","selected","selecteds","selectMode","minDate","maxDate","dateFilter"]],template:function(nt,Ot){1&nt&&(m.j41(0,"div",0)(1,"button",1),m.bIt("click",function(){return Ot.previousClicked()}),m.j41(2,"span",2),m.qSk(),m.j41(3,"svg",3),m.nrm(4,"path",4),m.k0s()()(),m.joV(),m.j41(5,"div",5)(6,"button",6),m.bIt("click",function(){return Ot.toggleViews()}),m.j41(7,"span",2),m.EFF(8),m.j41(9,"span",7),m.qSk(),m.j41(10,"svg",8)(11,"g"),m.nrm(12,"path",9),m.k0s()()()()()(),m.joV(),m.j41(13,"button",1),m.bIt("click",function(){return Ot.nextClicked()}),m.j41(14,"span",2),m.qSk(),m.j41(15,"svg",10),m.nrm(16,"path",11),m.k0s()()()(),m.joV(),m.j41(17,"div",12),m.DNE(18,B,1,9,"owl-date-time-month-view",13)(19,j,1,7,"owl-date-time-year-view",14)(20,$,1,7,"owl-date-time-multi-year-view",15),m.k0s()),2&nt&&(m.R7$(),m.xc7("visibility",Ot.showControlArrows?"visible":"hidden"),m.Y8G("disabled",!Ot.prevButtonEnabled()),m.BMQ("aria-label",Ot.prevButtonLabel),m.R7$(5),m.BMQ("aria-label",Ot.periodButtonLabel),m.R7$(2),m.SpI(" ",Ot.periodButtonText," "),m.R7$(),m.xc7("transform","rotate("+(Ot.isMonthView?0:180)+"deg)"),m.R7$(4),m.xc7("visibility",Ot.showControlArrows?"visible":"hidden"),m.Y8G("disabled",!Ot.nextButtonEnabled()),m.BMQ("aria-label",Ot.nextButtonLabel),m.R7$(4),m.Y8G("ngSwitch",Ot.currentView),m.R7$(),m.Y8G("ngSwitchCase",Ot.DateView.MONTH),m.R7$(),m.Y8G("ngSwitchCase",Ot.DateView.YEAR),m.R7$(),m.Y8G("ngSwitchCase",Ot.DateView.MULTI_YEARS))},dependencies:[n.ux,n.e1,T.vR,Ge,Ne,rt],changeDetection:0})}return Jt})(),Xt=(()=>{class Jt{get displayValue(){if(this.hasFocus)return this.valueInput.nativeElement.value;const fe=this.boxValue||this.value;return null===fe||isNaN(fe)?"":fe<10?"0"+fe.toString():fe.toString()}get owlDTTimerBoxClass(){return!0}constructor(){this.showDivider=!1,this.step=1,this.valueChange=new m.bkB,this.inputChange=new m.bkB,this.inputStream=new D.B,this.inputStreamSub=E.yU.EMPTY,this.hasFocus=!1,this.onValueInputMouseWheelBind=this.onValueInputMouseWheel.bind(this)}ngOnInit(){this.inputStreamSub=this.inputStream.pipe((0,w.B)(750)).subscribe(fe=>{if(fe){const nt=(0,C.OE)(fe,0);this.updateValueViaInput(nt)}}),this.bindValueInputMouseWheel()}ngOnDestroy(){this.unbindValueInputMouseWheel(),this.inputStreamSub.unsubscribe()}upBtnClicked(){this.updateValue(this.value+this.step)}downBtnClicked(){this.updateValue(this.value-this.step)}handleInputChange(fe){this.inputStream.next(fe)}focusIn(){this.hasFocus=!0}focusOut(fe){if(this.hasFocus=!1,fe){const nt=(0,C.OE)(fe,0);this.updateValueViaInput(nt)}}updateValue(fe){this.valueChange.emit(fe)}updateValueViaInput(fe){fe>this.max||fe<this.min||this.inputChange.emit(fe)}onValueInputMouseWheel(fe){const nt=(fe=fe||window.event).wheelDelta||-fe.deltaY||-fe.detail;nt>0?this.upBtnDisabled||this.upBtnClicked():nt<0&&(this.downBtnDisabled||this.downBtnClicked()),fe.preventDefault?fe.preventDefault():fe.returnValue=!1}bindValueInputMouseWheel(){this.valueInput.nativeElement.addEventListener("onwheel"in document?"wheel":"mousewheel",this.onValueInputMouseWheelBind)}unbindValueInputMouseWheel(){this.valueInput.nativeElement.removeEventListener("onwheel"in document?"wheel":"mousewheel",this.onValueInputMouseWheelBind)}static#e=this.\u0275fac=function(nt){return new(nt||Jt)};static#t=this.\u0275cmp=m.VBU({type:Jt,selectors:[["owl-date-time-timer-box"]],viewQuery:function(nt,Ot){if(1&nt&&m.GBs(H,7),2&nt){let rn;m.mGM(rn=m.lsd())&&(Ot.valueInput=rn.first)}},hostVars:2,hostBindings:function(nt,Ot){2&nt&&m.AVh("owl-dt-timer-box",Ot.owlDTTimerBoxClass)},inputs:{showDivider:"showDivider",upBtnAriaLabel:"upBtnAriaLabel",upBtnDisabled:"upBtnDisabled",downBtnAriaLabel:"downBtnAriaLabel",downBtnDisabled:"downBtnDisabled",boxValue:"boxValue",value:"value",min:"min",max:"max",step:"step",inputLabel:"inputLabel"},outputs:{valueChange:"valueChange",inputChange:"inputChange"},exportAs:["owlDateTimeTimerBox"],decls:14,vars:7,consts:[["valueInput",""],["class","owl-dt-timer-divider","aria-hidden","true",4,"ngIf"],["type","button","tabindex","-1",1,"owl-dt-control-button","owl-dt-control-arrow-button",3,"click","disabled"],["tabindex","-1",1,"owl-dt-control-button-content"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","version","1.1","x","0px","y","0px","viewBox","0 0 451.847 451.846",0,"xml","space","preserve","width","100%","height","100%",2,"enable-background","new 0 0 451.847 451.846"],["d","M248.292,106.406l194.281,194.29c12.365,12.359,12.365,32.391,0,44.744c-12.354,12.354-32.391,12.354-44.744,0\n                        L225.923,173.529L54.018,345.44c-12.36,12.354-32.395,12.354-44.748,0c-12.359-12.354-12.359-32.391,0-44.75L203.554,106.4\n                        c6.18-6.174,14.271-9.259,22.369-9.259C234.018,97.141,242.115,100.232,248.292,106.406z"],[1,"owl-dt-timer-content"],["maxlength","2",1,"owl-dt-timer-input",3,"keydown.arrowup","keydown.arrowdown","input","focusin","focusout","value"],[1,"owl-hidden-accessible"],["d","M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751\n                        c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0\n                        c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z"],["aria-hidden","true",1,"owl-dt-timer-divider"]],template:function(nt,Ot){if(1&nt){const rn=m.RV6();m.DNE(0,ie,1,0,"div",1),m.j41(1,"button",2),m.bIt("click",function(){return m.eBV(rn),m.Njj(Ot.upBtnClicked())}),m.j41(2,"span",3),m.qSk(),m.j41(3,"svg",4),m.nrm(4,"path",5),m.k0s()()(),m.joV(),m.j41(5,"label",6)(6,"input",7,0),m.bIt("keydown.arrowup",function(){return m.eBV(rn),m.Njj(!Ot.upBtnDisabled&&Ot.upBtnClicked())})("keydown.arrowdown",function(){return m.eBV(rn),m.Njj(!Ot.downBtnDisabled&&Ot.downBtnClicked())})("input",function(){m.eBV(rn);const Oi=m.sdS(7);return m.Njj(Ot.handleInputChange(Oi.value))})("focusin",function(){return m.eBV(rn),m.Njj(Ot.focusIn())})("focusout",function(){m.eBV(rn);const Oi=m.sdS(7);return m.Njj(Ot.focusOut(Oi.value))}),m.k0s(),m.j41(8,"span",8),m.EFF(9),m.k0s()(),m.j41(10,"button",2),m.bIt("click",function(){return m.eBV(rn),m.Njj(Ot.downBtnClicked())}),m.j41(11,"span",3),m.qSk(),m.j41(12,"svg",4),m.nrm(13,"path",9),m.k0s()()()}2&nt&&(m.Y8G("ngIf",Ot.showDivider),m.R7$(),m.Y8G("disabled",Ot.upBtnDisabled),m.BMQ("aria-label",Ot.upBtnAriaLabel),m.R7$(5),m.Y8G("value",Ot.displayValue),m.R7$(3),m.JRh(Ot.inputLabel),m.R7$(),m.Y8G("disabled",Ot.downBtnDisabled),m.BMQ("aria-label",Ot.downBtnAriaLabel))},dependencies:[n.bT],changeDetection:0})}return Jt})(),It=(()=>{class Jt{get pickerMoment(){return this._pickerMoment}set pickerMoment(fe){fe=this.dateTimeAdapter.deserialize(fe),this._pickerMoment=this.getValidDate(fe)||this.dateTimeAdapter.now()}get minDateTime(){return this._minDateTime}set minDateTime(fe){fe=this.dateTimeAdapter.deserialize(fe),this._minDateTime=this.getValidDate(fe)}get maxDateTime(){return this._maxDateTime}set maxDateTime(fe){fe=this.dateTimeAdapter.deserialize(fe),this._maxDateTime=this.getValidDate(fe)}get hourValue(){return this.dateTimeAdapter.getHours(this.pickerMoment)}get hourBoxValue(){let fe=this.hourValue;return this.hour12Timer&&(0===fe?(fe=12,this.isPM=!1):fe>0&&fe<12?this.isPM=!1:12===fe?this.isPM=!0:fe>12&&fe<24&&(fe-=12,this.isPM=!0)),fe}get minuteValue(){return this.dateTimeAdapter.getMinutes(this.pickerMoment)}get secondValue(){return this.dateTimeAdapter.getSeconds(this.pickerMoment)}get upHourButtonLabel(){return this.pickerIntl.upHourLabel}get downHourButtonLabel(){return this.pickerIntl.downHourLabel}get upMinuteButtonLabel(){return this.pickerIntl.upMinuteLabel}get downMinuteButtonLabel(){return this.pickerIntl.downMinuteLabel}get upSecondButtonLabel(){return this.pickerIntl.upSecondLabel}get downSecondButtonLabel(){return this.pickerIntl.downSecondLabel}get hour12ButtonLabel(){return this.isPM?this.pickerIntl.hour12PMLabel:this.pickerIntl.hour12AMLabel}get owlDTTimerClass(){return!0}get owlDTTimeTabIndex(){return-1}constructor(fe,nt,Ot,rn,Jn){this.ngZone=fe,this.elmRef=nt,this.pickerIntl=Ot,this.cdRef=rn,this.dateTimeAdapter=Jn,this.isPM=!1,this.stepHour=1,this.stepMinute=1,this.stepSecond=1,this.selectedChange=new m.bkB}ngOnInit(){}focus(){this.ngZone.runOutsideAngular(()=>{this.ngZone.onStable.asObservable().pipe((0,I.s)(1)).subscribe(()=>{this.elmRef.nativeElement.focus()})})}setHourValueViaInput(fe){this.hour12Timer&&this.isPM&&fe>=1&&fe<=11?fe+=12:this.hour12Timer&&!this.isPM&&12===fe&&(fe=0),this.setHourValue(fe)}setHourValue(fe){const nt=this.dateTimeAdapter.setHours(this.pickerMoment,fe);this.selectedChange.emit(nt),this.cdRef.markForCheck()}setMinuteValue(fe){const nt=this.dateTimeAdapter.setMinutes(this.pickerMoment,fe);this.selectedChange.emit(nt),this.cdRef.markForCheck()}setSecondValue(fe){const nt=this.dateTimeAdapter.setSeconds(this.pickerMoment,fe);this.selectedChange.emit(nt),this.cdRef.markForCheck()}setMeridiem(fe){this.isPM=!this.isPM;let nt=this.hourValue;this.isPM?nt+=12:nt-=12,nt>=0&&nt<=23&&this.setHourValue(nt),this.cdRef.markForCheck(),fe.preventDefault()}upHourEnabled(){return!this.maxDateTime||this.compareHours(this.stepHour,this.maxDateTime)<1}downHourEnabled(){return!this.minDateTime||this.compareHours(-this.stepHour,this.minDateTime)>-1}upMinuteEnabled(){return!this.maxDateTime||this.compareMinutes(this.stepMinute,this.maxDateTime)<1}downMinuteEnabled(){return!this.minDateTime||this.compareMinutes(-this.stepMinute,this.minDateTime)>-1}upSecondEnabled(){return!this.maxDateTime||this.compareSeconds(this.stepSecond,this.maxDateTime)<1}downSecondEnabled(){return!this.minDateTime||this.compareSeconds(-this.stepSecond,this.minDateTime)>-1}compareHours(fe,nt){const Ot=this.dateTimeAdapter.getHours(this.pickerMoment)+fe,rn=this.dateTimeAdapter.setHours(this.pickerMoment,Ot);return this.dateTimeAdapter.compare(rn,nt)}compareMinutes(fe,nt){const Ot=this.dateTimeAdapter.getMinutes(this.pickerMoment)+fe,rn=this.dateTimeAdapter.setMinutes(this.pickerMoment,Ot);return this.dateTimeAdapter.compare(rn,nt)}compareSeconds(fe,nt){const Ot=this.dateTimeAdapter.getSeconds(this.pickerMoment)+fe,rn=this.dateTimeAdapter.setSeconds(this.pickerMoment,Ot);return this.dateTimeAdapter.compare(rn,nt)}getValidDate(fe){return this.dateTimeAdapter.isDateInstance(fe)&&this.dateTimeAdapter.isValid(fe)?fe:null}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.rXU(m.SKi),m.rXU(m.aKT),m.rXU(ze),m.rXU(m.gRc),m.rXU(Oe,8))};static#t=this.\u0275cmp=m.VBU({type:Jt,selectors:[["owl-date-time-timer"]],hostVars:3,hostBindings:function(nt,Ot){2&nt&&(m.BMQ("tabindex",Ot.owlDTTimeTabIndex),m.AVh("owl-dt-timer",Ot.owlDTTimerClass))},inputs:{pickerMoment:"pickerMoment",minDateTime:"minDateTime",maxDateTime:"maxDateTime",showSecondsTimer:"showSecondsTimer",hour12Timer:"hour12Timer",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond"},outputs:{selectedChange:"selectedChange"},exportAs:["owlDateTimeTimer"],decls:4,vars:22,consts:[[3,"inputChange","valueChange","upBtnAriaLabel","downBtnAriaLabel","upBtnDisabled","downBtnDisabled","boxValue","value","min","max","step","inputLabel"],[3,"inputChange","valueChange","showDivider","upBtnAriaLabel","downBtnAriaLabel","upBtnDisabled","downBtnDisabled","value","min","max","step","inputLabel"],[3,"showDivider","upBtnAriaLabel","downBtnAriaLabel","upBtnDisabled","downBtnDisabled","value","min","max","step","inputLabel","inputChange","valueChange",4,"ngIf"],["class","owl-dt-timer-hour12",4,"ngIf"],[1,"owl-dt-timer-hour12"],["type","button","tabindex","0",1,"owl-dt-control-button","owl-dt-timer-hour12-box",3,"click"],["tabindex","-1",1,"owl-dt-control-button-content"]],template:function(nt,Ot){1&nt&&(m.j41(0,"owl-date-time-timer-box",0),m.bIt("inputChange",function(Jn){return Ot.setHourValueViaInput(Jn)})("valueChange",function(Jn){return Ot.setHourValue(Jn)}),m.k0s(),m.j41(1,"owl-date-time-timer-box",1),m.bIt("inputChange",function(Jn){return Ot.setMinuteValue(Jn)})("valueChange",function(Jn){return Ot.setMinuteValue(Jn)}),m.k0s(),m.DNE(2,ne,1,10,"owl-date-time-timer-box",2)(3,Q,4,1,"div",3)),2&nt&&(m.Y8G("upBtnAriaLabel",Ot.upHourButtonLabel)("downBtnAriaLabel",Ot.downHourButtonLabel)("upBtnDisabled",!Ot.upHourEnabled())("downBtnDisabled",!Ot.downHourEnabled())("boxValue",Ot.hourBoxValue)("value",Ot.hourValue)("min",0)("max",23)("step",Ot.stepHour)("inputLabel","Hour"),m.R7$(),m.Y8G("showDivider",!0)("upBtnAriaLabel",Ot.upMinuteButtonLabel)("downBtnAriaLabel",Ot.downMinuteButtonLabel)("upBtnDisabled",!Ot.upMinuteEnabled())("downBtnDisabled",!Ot.downMinuteEnabled())("value",Ot.minuteValue)("min",0)("max",59)("step",Ot.stepMinute)("inputLabel","Minute"),m.R7$(),m.Y8G("ngIf",Ot.showSecondsTimer),m.R7$(),m.Y8G("ngIf",Ot.hour12Timer))},dependencies:[n.bT,Xt],changeDetection:0})}return Jt})();const In={transformPicker:(0,q.hZ)("transformPicker",[(0,q.wk)("void",(0,q.iF)({opacity:0,transform:"scale(1, 0)"})),(0,q.wk)("enter",(0,q.iF)({opacity:1,transform:"scale(1, 1)"})),(0,q.kY)("void => enter",(0,q.Os)([(0,q.P)("@fadeInPicker",(0,q.MA)(),{optional:!0}),(0,q.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)")])),(0,q.kY)("enter => void",(0,q.i0)("100ms linear",(0,q.iF)({opacity:0})))]),fadeInPicker:(0,q.hZ)("fadeInPicker",[(0,q.wk)("enter",(0,q.iF)({opacity:1})),(0,q.wk)("void",(0,q.iF)({opacity:0})),(0,q.kY)("void => enter",(0,q.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Kt=(()=>{class Jt{get hidePickerStream(){return this.hidePicker$.asObservable()}get confirmSelectedStream(){return this.confirmSelected$.asObservable()}get beforePickerOpenedStream(){return this.beforePickerOpened$.asObservable()}get pickerOpenedStream(){return this.pickerOpened$.asObservable()}get pickerMoment(){return this._clamPickerMoment}set pickerMoment(fe){fe&&(this._clamPickerMoment=this.dateTimeAdapter.clampDate(fe,this.picker.minDateTime,this.picker.maxDateTime)),this.cdRef.markForCheck()}get pickerType(){return this.picker.pickerType}get cancelLabel(){return this.pickerIntl.cancelBtnLabel}get setLabel(){return this.pickerIntl.setBtnLabel}get fromLabel(){return this.pickerIntl.rangeFromLabel}get toLabel(){return this.pickerIntl.rangeToLabel}get fromFormattedValue(){const fe=this.picker.selecteds[0];return fe?this.dateTimeAdapter.format(fe,this.picker.formatString):""}get toFormattedValue(){const fe=this.picker.selecteds[1];return fe?this.dateTimeAdapter.format(fe,this.picker.formatString):""}get showControlButtons(){return"dialog"===this.picker.pickerMode||"calendar"!==this.picker.pickerType&&"inline"!==this.picker.pickerMode}get containerElm(){return this.elmRef.nativeElement}get owlDTContainerClass(){return!0}get owlDTPopupContainerClass(){return"popup"===this.picker.pickerMode}get owlDTDialogContainerClass(){return"dialog"===this.picker.pickerMode}get owlDTInlineContainerClass(){return"inline"===this.picker.pickerMode}get owlDTContainerDisabledClass(){return this.picker.disabled}get owlDTContainerId(){return this.picker.id}get owlDTContainerAnimation(){return"inline"===this.picker.pickerMode?"":"enter"}constructor(fe,nt,Ot,rn){this.cdRef=fe,this.elmRef=nt,this.pickerIntl=Ot,this.dateTimeAdapter=rn,this.activeSelectedIndex=0,this.hidePicker$=new D.B,this.confirmSelected$=new D.B,this.beforePickerOpened$=new D.B,this.pickerOpened$=new D.B}ngOnInit(){"range"===this.picker.selectMode&&(this.picker.selecteds[0]&&(this.retainStartTime=this.dateTimeAdapter.clone(this.picker.selecteds[0])),this.picker.selecteds[1]&&(this.retainEndTime=this.dateTimeAdapter.clone(this.picker.selecteds[1])))}ngAfterContentInit(){this.initPicker()}ngAfterViewInit(){this.focusPicker()}handleContainerAnimationStart(fe){"enter"===fe.toState&&this.beforePickerOpened$.next(null)}handleContainerAnimationDone(fe){"enter"===fe.toState&&this.pickerOpened$.next(null)}dateSelected(fe){let nt;if(this.picker.isInSingleMode)return nt=this.dateSelectedInSingleMode(fe),void(nt?(this.pickerMoment=nt,this.picker.select(nt)):"calendar"===this.pickerType&&this.hidePicker$.next(null));this.picker.isInRangeMode&&(nt=this.dateSelectedInRangeMode(fe),nt&&(this.pickerMoment=nt[this.activeSelectedIndex],this.picker.select(nt)))}timeSelected(fe){if(this.pickerMoment=this.dateTimeAdapter.clone(fe),this.picker.dateTimeChecker(this.pickerMoment)){if(this.picker.isInSingleMode)return void this.picker.select(this.pickerMoment);if(this.picker.isInRangeMode){const nt=[...this.picker.selecteds];0===this.activeSelectedIndex&&nt[1]&&1===this.dateTimeAdapter.compare(this.pickerMoment,nt[1])||1===this.activeSelectedIndex&&nt[0]&&-1===this.dateTimeAdapter.compare(this.pickerMoment,nt[0])?(nt[0]=this.pickerMoment,nt[1]=this.pickerMoment):nt[this.activeSelectedIndex]=this.pickerMoment,nt[0]&&(this.retainStartTime=this.dateTimeAdapter.clone(nt[0])),nt[1]&&(this.retainEndTime=this.dateTimeAdapter.clone(nt[1])),this.picker.select(nt)}}}onCancelClicked(fe){this.hidePicker$.next(null),fe.preventDefault()}onSetClicked(fe){if(!this.picker.dateTimeChecker(this.pickerMoment))return this.hidePicker$.next(null),void fe.preventDefault();this.confirmSelected$.next(fe),fe.preventDefault()}handleClickOnInfoGroup(fe,nt){this.setActiveSelectedIndex(nt),fe.preventDefault(),fe.stopPropagation()}handleKeydownOnInfoGroup(fe,nt,Ot){switch(fe.keyCode){case o.n6:case o.LE:case o.i7:case o.UQ:nt.focus(),this.setActiveSelectedIndex(0===Ot?1:0),fe.preventDefault(),fe.stopPropagation();break;case o.t6:this.setActiveSelectedIndex(Ot),fe.preventDefault(),fe.stopPropagation();break;default:return}}setActiveSelectedIndex(fe){if("range"===this.picker.selectMode&&this.activeSelectedIndex!==fe){this.activeSelectedIndex=fe;const nt=this.picker.selecteds[this.activeSelectedIndex];this.picker.selecteds&&nt&&(this.pickerMoment=this.dateTimeAdapter.clone(nt))}}initPicker(){this.pickerMoment=this.picker.startAt||this.dateTimeAdapter.now(),this.activeSelectedIndex="rangeTo"===this.picker.selectMode?1:0}dateSelectedInSingleMode(fe){return this.dateTimeAdapter.isSameDay(fe,this.picker.selected)?null:this.updateAndCheckCalendarDate(fe)}dateSelectedInRangeMode(fe){let nt=this.picker.selecteds[0],Ot=this.picker.selecteds[1];const rn=this.updateAndCheckCalendarDate(fe);return rn?("range"===this.picker.selectMode?this.picker.selecteds&&this.picker.selecteds.length&&!Ot&&nt&&this.dateTimeAdapter.differenceInCalendarDays(rn,nt)>=0?(Ot=this.picker.endAt&&!this.retainEndTime?this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(rn),this.dateTimeAdapter.getMonth(rn),this.dateTimeAdapter.getDate(rn),this.dateTimeAdapter.getHours(this.picker.endAt),this.dateTimeAdapter.getMinutes(this.picker.endAt),this.dateTimeAdapter.getSeconds(this.picker.endAt)):this.retainEndTime?this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(rn),this.dateTimeAdapter.getMonth(rn),this.dateTimeAdapter.getDate(rn),this.dateTimeAdapter.getHours(this.retainEndTime),this.dateTimeAdapter.getMinutes(this.retainEndTime),this.dateTimeAdapter.getSeconds(this.retainEndTime)):rn,this.activeSelectedIndex=1):(nt=this.picker.startAt&&!this.retainStartTime?this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(rn),this.dateTimeAdapter.getMonth(rn),this.dateTimeAdapter.getDate(rn),this.dateTimeAdapter.getHours(this.picker.startAt),this.dateTimeAdapter.getMinutes(this.picker.startAt),this.dateTimeAdapter.getSeconds(this.picker.startAt)):this.retainStartTime?this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(rn),this.dateTimeAdapter.getMonth(rn),this.dateTimeAdapter.getDate(rn),this.dateTimeAdapter.getHours(this.retainStartTime),this.dateTimeAdapter.getMinutes(this.retainStartTime),this.dateTimeAdapter.getSeconds(this.retainStartTime)):rn,Ot=null,this.activeSelectedIndex=0):"rangeFrom"===this.picker.selectMode?(nt=rn,Ot&&this.dateTimeAdapter.compare(nt,Ot)>0&&(Ot=null)):"rangeTo"===this.picker.selectMode&&(Ot=rn,nt&&this.dateTimeAdapter.compare(nt,Ot)>0&&(nt=null)),[nt,Ot]):null}updateAndCheckCalendarDate(fe){let nt;return"both"===this.picker.pickerType?(nt=this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(fe),this.dateTimeAdapter.getMonth(fe),this.dateTimeAdapter.getDate(fe),this.dateTimeAdapter.getHours(this.pickerMoment),this.dateTimeAdapter.getMinutes(this.pickerMoment),this.dateTimeAdapter.getSeconds(this.pickerMoment)),nt=this.dateTimeAdapter.clampDate(nt,this.picker.minDateTime,this.picker.maxDateTime)):nt=this.dateTimeAdapter.clone(fe),this.picker.dateTimeChecker(nt)?nt:null}focusPicker(){"inline"!==this.picker.pickerMode&&(this.calendar?this.calendar.focusActiveCell():this.timer&&this.timer.focus())}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.rXU(m.gRc),m.rXU(m.aKT),m.rXU(ze),m.rXU(Oe,8))};static#t=this.\u0275cmp=m.VBU({type:Jt,selectors:[["owl-date-time-container"]],viewQuery:function(nt,Ot){if(1&nt&&(m.GBs(ft,5),m.GBs(It,5)),2&nt){let rn;m.mGM(rn=m.lsd())&&(Ot.calendar=rn.first),m.mGM(rn=m.lsd())&&(Ot.timer=rn.first)}},hostVars:12,hostBindings:function(nt,Ot){1&nt&&m.Kam("@transformPicker.start",function(Jn){return Ot.handleContainerAnimationStart(Jn)})("@transformPicker.done",function(Jn){return Ot.handleContainerAnimationDone(Jn)}),2&nt&&(m.zvX("@transformPicker",Ot.owlDTContainerAnimation),m.BMQ("id",Ot.owlDTContainerId),m.AVh("owl-dt-container",Ot.owlDTContainerClass)("owl-dt-popup-container",Ot.owlDTPopupContainerClass)("owl-dt-dialog-container",Ot.owlDTDialogContainerClass)("owl-dt-inline-container",Ot.owlDTInlineContainerClass)("owl-dt-container-disabled",Ot.owlDTContainerDisabledClass))},exportAs:["owlDateTimeContainer"],decls:5,vars:6,consts:[["from",""],["to",""],[1,"owl-dt-container-inner",3,"cdkTrapFocus"],["class","owl-dt-container-row",3,"firstDayOfWeek","pickerMoment","selected","selecteds","selectMode","minDate","maxDate","dateFilter","startView","yearOnly","multiyearOnly","hideOtherMonths","pickerMomentChange","yearSelected","monthSelected","dateClicked","selectedChange",4,"ngIf"],["class","owl-dt-container-row",3,"pickerMoment","minDateTime","maxDateTime","showSecondsTimer","hour12Timer","stepHour","stepMinute","stepSecond","selectedChange",4,"ngIf"],["role","radiogroup","class","owl-dt-container-info owl-dt-container-row",4,"ngIf"],["class","owl-dt-container-buttons owl-dt-container-row",4,"ngIf"],[1,"owl-dt-container-row",3,"pickerMomentChange","yearSelected","monthSelected","dateClicked","selectedChange","firstDayOfWeek","pickerMoment","selected","selecteds","selectMode","minDate","maxDate","dateFilter","startView","yearOnly","multiyearOnly","hideOtherMonths"],[1,"owl-dt-container-row",3,"selectedChange","pickerMoment","minDateTime","maxDateTime","showSecondsTimer","hour12Timer","stepHour","stepMinute","stepSecond"],["role","radiogroup",1,"owl-dt-container-info","owl-dt-container-row"],["role","radio",1,"owl-dt-control","owl-dt-container-range","owl-dt-container-from",3,"click","keydown","tabindex","ngClass"],["tabindex","-1",1,"owl-dt-control-content","owl-dt-container-range-content"],[1,"owl-dt-container-info-label"],[1,"owl-dt-container-info-value"],["role","radio",1,"owl-dt-control","owl-dt-container-range","owl-dt-container-to",3,"click","keydown","tabindex","ngClass"],[1,"owl-dt-container-buttons","owl-dt-container-row"],["type","button","tabindex","0",1,"owl-dt-control","owl-dt-control-button","owl-dt-container-control-button",3,"click"],["tabindex","-1",1,"owl-dt-control-content","owl-dt-control-button-content"]],template:function(nt,Ot){1&nt&&(m.j41(0,"div",2),m.DNE(1,pe,1,12,"owl-date-time-calendar",3)(2,te,1,8,"owl-date-time-timer",4)(3,ae,15,14,"div",5)(4,K,7,2,"div",6),m.k0s()),2&nt&&(m.Y8G("cdkTrapFocus","inline"!==Ot.picker.pickerMode)("@fadeInPicker","inline"===Ot.picker.pickerMode?"":"enter"),m.R7$(),m.Y8G("ngIf","both"===Ot.pickerType||"calendar"===Ot.pickerType),m.R7$(),m.Y8G("ngIf","both"===Ot.pickerType||"timer"===Ot.pickerType),m.R7$(),m.Y8G("ngIf",Ot.picker.isInRangeMode),m.R7$(),m.Y8G("ngIf",Ot.showControlButtons))},dependencies:[n.YU,n.bT,T.kB,It,ft],data:{animation:[In.transformPicker,In.fadeInPicker]},changeDetection:0})}return Jt})(),Ze=0;class wn{constructor(){this.ariaDescribedBy=null,this.autoFocus=!0,this.hasBackdrop=!0,this.data=null,this.disableClose=!1,this.role="dialog",this.paneClass="",this.event=null,this.backdropClass="",this.closeOnNavigation=!0,this.width="",this.height="",this.maxWidth="85vw",this.scrollStrategy=new O.t0,this.id="owl-dialog-"+Ze++}}class zn{constructor(He,fe,nt,Ot){this.overlayRef=He,this.container=fe,this.id=nt,this._beforeClose$=new D.B,this._beforeOpen$=new D.B,this._afterOpen$=new D.B,this._afterClosed$=new D.B,this.locationChanged=E.yU.EMPTY,this.disableClose=!0,this.disableClose=this.container.config.disableClose,this.container.animationStateChanged.pipe((0,y.p)(rn=>"start"===rn.phaseName&&"enter"===rn.toState),(0,I.s)(1)).subscribe(()=>{this._beforeOpen$.next(null),this._beforeOpen$.complete()}),this.container.animationStateChanged.pipe((0,y.p)(rn=>"done"===rn.phaseName&&"enter"===rn.toState),(0,I.s)(1)).subscribe(()=>{this._afterOpen$.next(null),this._afterOpen$.complete()}),this.container.animationStateChanged.pipe((0,y.p)(rn=>"done"===rn.phaseName&&"exit"===rn.toState),(0,I.s)(1)).subscribe(()=>{this.overlayRef.dispose(),this.locationChanged.unsubscribe(),this._afterClosed$.next(this.result),this._afterClosed$.complete(),this.componentInstance=null}),this.overlayRef.keydownEvents().pipe((0,y.p)(rn=>rn.keyCode===o._f&&!this.disableClose)).subscribe(()=>this.close()),Ot&&(this.locationChanged=Ot.subscribe(()=>{this.container.config.closeOnNavigation&&this.close()}))}close(He){this.result=He,this.container.animationStateChanged.pipe((0,y.p)(fe=>"start"===fe.phaseName),(0,I.s)(1)).subscribe(()=>{this._beforeClose$.next(He),this._beforeClose$.complete(),this.overlayRef.detachBackdrop()}),this.container.startExitAnimation()}backdropClick(){return this.overlayRef.backdropClick()}keydownEvents(){return this.overlayRef.keydownEvents()}updatePosition(He){const fe=this.getPositionStrategy();return He&&(He.left||He.right)?He.left?fe.left(He.left):fe.right(He.right):fe.centerHorizontally(),He&&(He.top||He.bottom)?He.top?fe.top(He.top):fe.bottom(He.bottom):fe.centerVertically(),this.overlayRef.updatePosition(),this}updateSize(He="auto",fe="auto"){return this.getPositionStrategy().width(He).height(fe),this.overlayRef.updatePosition(),this}isAnimating(){return this.container.isAnimating}beforeOpen(){return this._beforeOpen$.asObservable()}afterOpen(){return this._afterOpen$.asObservable()}beforeClose(){return this._beforeClose$.asObservable()}afterClosed(){return this._afterClosed$.asObservable()}getPositionStrategy(){return this.overlayRef.getConfig().positionStrategy}}const di={opacity:0,transform:"translateX({{ x }}) translateY({{ y }}) scale({{scale}})"},jn={opacity:0,transform:"translateX({{ x }}) translateY({{ y }}) scale({{scale}})",transformOrigin:"{{ ox }} {{ oy }}"};let Di=(()=>{class Jt extends L.lb{get config(){return this._config}get owlDialogContainerClass(){return!0}get owlDialogContainerTabIndex(){return-1}get owlDialogContainerId(){return this._config.id}get owlDialogContainerRole(){return this._config.role||null}get owlDialogContainerAriaLabelledby(){return this.ariaLabelledBy}get owlDialogContainerAriaDescribedby(){return this._config.ariaDescribedBy||null}get owlDialogContainerAnimation(){return{value:this.state,params:this.params}}constructor(fe,nt,Ot,rn){super(),this.changeDetector=fe,this.elementRef=nt,this.focusTrapFactory=Ot,this.document=rn,this.portalOutlet=null,this.ariaLabelledBy=null,this.animationStateChanged=new m.bkB,this.isAnimating=!1,this.state="enter",this.params={x:"0px",y:"0px",ox:"50%",oy:"50%",scale:0},this.elementFocusedBeforeDialogWasOpened=null}ngOnInit(){}attachComponentPortal(fe){if(this.portalOutlet.hasAttached())throw Error("Attempting to attach dialog content after content is already attached");return this.savePreviouslyFocusedElement(),this.portalOutlet.attachComponentPortal(fe)}attachTemplatePortal(fe){throw new Error("Method not implemented.")}setConfig(fe){this._config=fe,fe.event&&this.calculateZoomOrigin(event)}onAnimationStart(fe){this.isAnimating=!0,this.animationStateChanged.emit(fe)}onAnimationDone(fe){"enter"===fe.toState?this.trapFocus():"exit"===fe.toState&&this.restoreFocus(),this.animationStateChanged.emit(fe),this.isAnimating=!1}startExitAnimation(){this.state="exit",this.changeDetector.markForCheck()}calculateZoomOrigin(fe){if(!fe)return;const nt=fe.clientX,Ot=fe.clientY,rn=window.innerWidth/2,Ci=Ot-window.innerHeight/2,Ui=nt/window.innerWidth,ps=Ot/window.innerHeight;this.params.x=nt-rn+"px",this.params.y=`${Ci}px`,this.params.ox=100*Ui+"%",this.params.oy=100*ps+"%",this.params.scale=0}savePreviouslyFocusedElement(){this.document&&(this.elementFocusedBeforeDialogWasOpened=this.document.activeElement,Promise.resolve().then(()=>this.elementRef.nativeElement.focus()))}trapFocus(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement)),this._config.autoFocus&&this.focusTrap.focusInitialElementWhenReady()}restoreFocus(){const fe=this.elementFocusedBeforeDialogWasOpened;fe&&"function"==typeof fe.focus&&fe.focus(),this.focusTrap&&this.focusTrap.destroy()}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.rXU(m.gRc),m.rXU(m.aKT),m.rXU(T.GX),m.rXU(n.qQ,8))};static#t=this.\u0275cmp=m.VBU({type:Jt,selectors:[["owl-dialog-container"]],viewQuery:function(nt,Ot){if(1&nt&&m.GBs(L.I3,7),2&nt){let rn;m.mGM(rn=m.lsd())&&(Ot.portalOutlet=rn.first)}},hostVars:8,hostBindings:function(nt,Ot){1&nt&&m.Kam("@slideModal.start",function(Jn){return Ot.onAnimationStart(Jn)})("@slideModal.done",function(Jn){return Ot.onAnimationDone(Jn)}),2&nt&&(m.zvX("@slideModal",Ot.owlDialogContainerAnimation),m.BMQ("tabindex",Ot.owlDialogContainerTabIndex)("id",Ot.owlDialogContainerId)("role",Ot.owlDialogContainerRole)("aria-labelledby",Ot.owlDialogContainerAriaLabelledby)("aria-describedby",Ot.owlDialogContainerAriaDescribedby),m.AVh("owl-dialog-container",Ot.owlDialogContainerClass))},features:[m.Vt3],decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(nt,Ot){1&nt&&m.DNE(0,de,0,0,"ng-template",0)},dependencies:[L.I3],encapsulation:2,data:{animation:[(0,q.hZ)("slideModal",[(0,q.kY)("void => enter",[(0,q.iF)(jn),(0,q.i0)("300ms cubic-bezier(0.35, 0, 0.25, 1)",(0,q.iF)("*")),(0,q.i0)("150ms",(0,q.i7)([(0,q.iF)({transform:"scale(1)",offset:0}),(0,q.iF)({transform:"scale(1.05)",offset:.3}),(0,q.iF)({transform:"scale(.95)",offset:.8}),(0,q.iF)({transform:"scale(1)",offset:1})])),(0,q.MA)()],{params:{x:"0px",y:"0px",ox:"50%",oy:"50%",scale:1}}),(0,q.kY)("enter => exit",[(0,q.MA)(),(0,q.i0)(200,(0,q.iF)(di))],{params:{x:"0px",y:"0px",ox:"50%",oy:"50%"}})])]}})}return Jt})();const ms=new m.nKC("OwlDialogData"),Rn=new m.nKC("owl-dialog-scroll-strategy"),Wt={provide:Rn,deps:[O.hJ],useFactory:function Qt(Jt){return()=>Jt.scrollStrategies.block()}},Yt=new m.nKC("owl-dialog-default-options");let Mn=(()=>{class Jt{get openDialogs(){return this.parentDialog?this.parentDialog.openDialogs:this._openDialogsAtThisLevel}get beforeOpen(){return this.parentDialog?this.parentDialog.beforeOpen:this._beforeOpenAtThisLevel}get afterOpen(){return this.parentDialog?this.parentDialog.afterOpen:this._afterOpenAtThisLevel}get _afterAllClosed(){const fe=this.parentDialog;return fe?fe._afterAllClosed:this._afterAllClosedAtThisLevel}constructor(fe,nt,Ot,rn,Jn,Oi,Ci){this.overlay=fe,this.injector=nt,this.location=Ot,this.defaultOptions=Jn,this.parentDialog=Oi,this.overlayContainer=Ci,this.ariaHiddenElements=new Map,this._openDialogsAtThisLevel=[],this._beforeOpenAtThisLevel=new D.B,this._afterOpenAtThisLevel=new D.B,this._afterAllClosedAtThisLevel=new D.B,this.afterAllClosed=(0,b.v)(()=>this._openDialogsAtThisLevel.length?this._afterAllClosed:this._afterAllClosed.pipe((0,M.Z)(void 0))),this.scrollStrategy=rn,!Oi&&Ot&&Ot.subscribe(()=>this.closeAll())}open(fe,nt){if(nt=function ci(Jt,He){return function Li(Jt,...He){if(null==Jt)throw TypeError("Cannot convert undefined or null to object");for(const fe of He)if(null!=fe)for(const nt in fe)fe.hasOwnProperty(nt)&&(Jt[nt]=fe[nt]);return Jt}(new wn,Jt,He)}(nt,this.defaultOptions),nt.id&&this.getDialogById(nt.id))throw Error(`Dialog with id "${nt.id}" exists already. The dialog id must be unique.`);const Ot=this.createOverlay(nt),rn=this.attachDialogContainer(Ot,nt),Jn=this.attachDialogContent(fe,rn,Ot,nt);return this.openDialogs.length||this.hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Jn),Jn.afterClosed().subscribe(()=>this.removeOpenDialog(Jn)),this.beforeOpen.next(Jn),this.afterOpen.next(Jn),Jn}closeAll(){let fe=this.openDialogs.length;for(;fe--;)this.openDialogs[fe].close()}getDialogById(fe){return this.openDialogs.find(nt=>nt.id===fe)}attachDialogContent(fe,nt,Ot,rn){const Jn=new zn(Ot,nt,rn.id,this.location);if(rn.hasBackdrop&&Ot.backdropClick().subscribe(()=>{Jn.disableClose||Jn.close()}),!(fe instanceof m.C4Q)){const Oi=this.createInjector(rn,Jn,nt),Ci=nt.attachComponentPortal(new L.A8(fe,void 0,Oi));Jn.componentInstance=Ci.instance}return Jn.updateSize(rn.width,rn.height).updatePosition(rn.position),Jn}createInjector(fe,nt,Ot){const rn=fe&&fe.viewContainerRef&&fe.viewContainerRef.injector,Jn=new WeakMap;return Jn.set(zn,nt),Jn.set(Di,Ot),Jn.set(ms,fe.data),new L.JP(rn||this.injector,Jn)}createOverlay(fe){const nt=this.getOverlayConfig(fe);return this.overlay.create(nt)}attachDialogContainer(fe,nt){const Ot=new L.A8(Di,nt.viewContainerRef),rn=fe.attach(Ot);return rn.instance.setConfig(nt),rn.instance}getOverlayConfig(fe){const nt=new O.rR({positionStrategy:this.overlay.position().global(),scrollStrategy:fe.scrollStrategy||this.scrollStrategy(),panelClass:fe.paneClass,hasBackdrop:fe.hasBackdrop,minWidth:fe.minWidth,minHeight:fe.minHeight,maxWidth:fe.maxWidth,maxHeight:fe.maxHeight});return fe.backdropClass&&(nt.backdropClass=fe.backdropClass),nt}removeOpenDialog(fe){const nt=this._openDialogsAtThisLevel.indexOf(fe);nt>-1&&(this.openDialogs.splice(nt,1),this.openDialogs.length||(this.ariaHiddenElements.forEach((Ot,rn)=>{Ot?rn.setAttribute("aria-hidden",Ot):rn.removeAttribute("aria-hidden")}),this.ariaHiddenElements.clear(),this._afterAllClosed.next()))}hideNonDialogContentFromAssistiveTechnology(){const fe=this.overlayContainer.getContainerElement();if(fe.parentElement){const nt=fe.parentElement.children;for(let Ot=nt.length-1;Ot>-1;Ot--){const rn=nt[Ot];rn!==fe&&"SCRIPT"!==rn.nodeName&&"STYLE"!==rn.nodeName&&!rn.hasAttribute("aria-live")&&(this.ariaHiddenElements.set(rn,rn.getAttribute("aria-hidden")),rn.setAttribute("aria-hidden","true"))}}}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.KVO(O.hJ),m.KVO(m.zZn),m.KVO(n.aZ,8),m.KVO(Rn),m.KVO(Yt,8),m.KVO(Jt,12),m.KVO(O.Sf))};static#t=this.\u0275prov=m.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();const _n={provide:new m.nKC("owl-dtpicker-scroll-strategy"),deps:[O.hJ],useFactory:function Un(Jt){return()=>Jt.scrollStrategies.block()}},Ii={provide:g.kq,useExisting:(0,m.Rfq)(()=>ln),multi:!0},En={provide:g.cz,useExisting:(0,m.Rfq)(()=>ln),multi:!0};let ln=(()=>{class Jt{get required(){return this._required}set required(fe){this._required=""===fe||fe,this.validatorOnChange()}set owlDateTime(fe){this.registerDateTimePicker(fe)}set owlDateTimeFilter(fe){this._dateTimeFilter=fe,this.validatorOnChange()}get dateTimeFilter(){return this._dateTimeFilter}get disabled(){return!!this._disabled}set disabled(fe){const nt=(0,C.he)(fe),Ot=this.elmRef.nativeElement;this._disabled!==nt&&(this._disabled=nt,this.disabledChange.emit(nt)),nt&&Ot.blur&&Ot.blur()}get min(){return this._min}set min(fe){this._min=this.getValidDate(this.dateTimeAdapter.deserialize(fe)),this.validatorOnChange()}get max(){return this._max}set max(fe){this._max=this.getValidDate(this.dateTimeAdapter.deserialize(fe)),this.validatorOnChange()}get selectMode(){return this._selectMode}set selectMode(fe){if("single"!==fe&&"range"!==fe&&"rangeFrom"!==fe&&"rangeTo"!==fe)throw Error("OwlDateTime Error: invalid selectMode value!");this._selectMode=fe}get value(){return this._value}set value(fe){fe=this.dateTimeAdapter.deserialize(fe),this.lastValueValid=!fe||this.dateTimeAdapter.isValid(fe),fe=this.getValidDate(fe);const nt=this._value;this._value=fe,this.formatNativeInputValue(),this.dateTimeAdapter.isEqual(nt,fe)||this.valueChange.emit(fe)}get values(){return this._values}set values(fe){fe&&fe.length>0?(this._values=fe.map(nt=>(nt=this.dateTimeAdapter.deserialize(nt),this.getValidDate(nt))),this.lastValueValid=(!this._values[0]||this.dateTimeAdapter.isValid(this._values[0]))&&(!this._values[1]||this.dateTimeAdapter.isValid(this._values[1]))):(this._values=[],this.lastValueValid=!0),this.formatNativeInputValue(),this.valueChange.emit(this._values)}get elementRef(){return this.elmRef}get isInSingleMode(){return"single"===this._selectMode}get isInRangeMode(){return"range"===this._selectMode||"rangeFrom"===this._selectMode||"rangeTo"===this._selectMode}get owlDateTimeInputAriaHaspopup(){return!0}get owlDateTimeInputAriaOwns(){return this.dtPicker.opened&&this.dtPicker.id||null}get minIso8601(){return this.min?this.dateTimeAdapter.toIso8601(this.min):null}get maxIso8601(){return this.max?this.dateTimeAdapter.toIso8601(this.max):null}get owlDateTimeInputDisabled(){return this.disabled}constructor(fe,nt,Ot,rn){if(this.elmRef=fe,this.renderer=nt,this.dateTimeAdapter=Ot,this.dateTimeFormats=rn,this._selectMode="single",this.rangeSeparator="-",this._values=[],this.dateTimeChange=new m.bkB,this.dateTimeInput=new m.bkB,this.dtPickerSub=E.yU.EMPTY,this.localeSub=E.yU.EMPTY,this.lastValueValid=!0,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.validatorOnChange=()=>{},this.parseValidator=()=>this.lastValueValid?null:{owlDateTimeParse:{text:this.elmRef.nativeElement.value}},this.minValidator=Jn=>{if(this.isInSingleMode){const Oi=this.getValidDate(this.dateTimeAdapter.deserialize(Jn.value));return!this.min||!Oi||this.dateTimeAdapter.compare(this.min,Oi)<=0?null:{owlDateTimeMin:{min:this.min,actual:Oi}}}if(this.isInRangeMode&&Jn.value){const Oi=this.getValidDate(this.dateTimeAdapter.deserialize(Jn.value[0])),Ci=this.getValidDate(this.dateTimeAdapter.deserialize(Jn.value[1]));return!this.min||!Oi||!Ci||this.dateTimeAdapter.compare(this.min,Oi)<=0?null:{owlDateTimeMin:{min:this.min,actual:[Oi,Ci]}}}},this.maxValidator=Jn=>{if(this.isInSingleMode){const Oi=this.getValidDate(this.dateTimeAdapter.deserialize(Jn.value));return!this.max||!Oi||this.dateTimeAdapter.compare(this.max,Oi)>=0?null:{owlDateTimeMax:{max:this.max,actual:Oi}}}if(this.isInRangeMode&&Jn.value){const Oi=this.getValidDate(this.dateTimeAdapter.deserialize(Jn.value[0])),Ci=this.getValidDate(this.dateTimeAdapter.deserialize(Jn.value[1]));return!this.max||!Oi||!Ci||this.dateTimeAdapter.compare(this.max,Ci)>=0?null:{owlDateTimeMax:{max:this.max,actual:[Oi,Ci]}}}},this.filterValidator=Jn=>{const Oi=this.getValidDate(this.dateTimeAdapter.deserialize(Jn.value));return this._dateTimeFilter&&Oi&&!this._dateTimeFilter(Oi)?{owlDateTimeFilter:!0}:null},this.rangeValidator=Jn=>{if(this.isInSingleMode||!Jn.value)return null;const Oi=this.getValidDate(this.dateTimeAdapter.deserialize(Jn.value[0])),Ci=this.getValidDate(this.dateTimeAdapter.deserialize(Jn.value[1]));return!Oi||!Ci||this.dateTimeAdapter.compare(Oi,Ci)<=0?null:{owlDateTimeRange:!0}},this.requiredRangeValidator=Jn=>{if(this.isInSingleMode||!Jn.value||!this.required)return null;const Oi=this.getValidDate(this.dateTimeAdapter.deserialize(Jn.value[0])),Ci=this.getValidDate(this.dateTimeAdapter.deserialize(Jn.value[1]));return Oi&&Ci?null:{owlRequiredDateTimeRange:[Oi,Ci]}},this.validator=g.k0.compose([this.parseValidator,this.minValidator,this.maxValidator,this.filterValidator,this.rangeValidator,this.requiredRangeValidator]),this.valueChange=new m.bkB,this.disabledChange=new m.bkB,!this.dateTimeAdapter)throw Error("OwlDateTimePicker: No provider found for DateTimePicker. You must import one of the following modules at your application root: OwlNativeDateTimeModule, OwlMomentDateTimeModule, or provide a custom implementation.");if(!this.dateTimeFormats)throw Error("OwlDateTimePicker: No provider found for OWL_DATE_TIME_FORMATS. You must import one of the following modules at your application root: OwlNativeDateTimeModule, OwlMomentDateTimeModule, or provide a custom implementation.");this.localeSub=this.dateTimeAdapter.localeChanges.subscribe(()=>{this.value=this.value})}ngOnInit(){if(!this.dtPicker)throw Error("OwlDateTimePicker: the picker input doesn't have any associated owl-date-time component")}ngAfterContentInit(){this.dtPickerSub=this.dtPicker.confirmSelectedChange.subscribe(fe=>{Array.isArray(fe)?this.values=fe:this.value=fe,this.onModelChange(fe),this.onModelTouched(),this.dateTimeChange.emit({source:this,value:fe,input:this.elmRef.nativeElement}),this.dateTimeInput.emit({source:this,value:fe,input:this.elmRef.nativeElement})})}ngOnDestroy(){this.dtPickerSub.unsubscribe(),this.localeSub.unsubscribe(),this.valueChange.complete(),this.disabledChange.complete()}writeValue(fe){this.isInSingleMode?this.value=fe:this.values=fe}registerOnChange(fe){this.onModelChange=fe}registerOnTouched(fe){this.onModelTouched=fe}setDisabledState(fe){this.disabled=fe}validate(fe){return this.validator?this.validator(fe):null}registerOnValidatorChange(fe){this.validatorOnChange=fe}handleKeydownOnHost(fe){fe.altKey&&fe.keyCode===o.n6&&(this.dtPicker.open(),fe.preventDefault())}handleBlurOnHost(fe){this.onModelTouched()}handleInputOnHost(fe){const nt=fe.target.value;"single"===this._selectMode?this.changeInputInSingleMode(nt):"range"===this._selectMode?this.changeInputInRangeMode(nt):this.changeInputInRangeFromToMode(nt)}handleChangeOnHost(fe){let nt;this.isInSingleMode?nt=this.value:this.isInRangeMode&&(nt=this.values),this.dateTimeChange.emit({source:this,value:nt,input:this.elmRef.nativeElement})}formatNativeInputValue(){if(this.isInSingleMode)this.renderer.setProperty(this.elmRef.nativeElement,"value",this._value?this.dateTimeAdapter.format(this._value,this.dtPicker.formatString):"");else if(this.isInRangeMode)if(this._values&&this.values.length>0){const fe=this._values[0],nt=this._values[1],Ot=fe?this.dateTimeAdapter.format(fe,this.dtPicker.formatString):"",rn=nt?this.dateTimeAdapter.format(nt,this.dtPicker.formatString):"";Ot||rn?"range"===this._selectMode?this.renderer.setProperty(this.elmRef.nativeElement,"value",Ot+" "+this.rangeSeparator+" "+rn):"rangeFrom"===this._selectMode?this.renderer.setProperty(this.elmRef.nativeElement,"value",Ot):"rangeTo"===this._selectMode&&this.renderer.setProperty(this.elmRef.nativeElement,"value",rn):this.renderer.setProperty(this.elmRef.nativeElement,"value",null)}else this.renderer.setProperty(this.elmRef.nativeElement,"value","")}registerDateTimePicker(fe){fe&&(this.dtPicker=fe,this.dtPicker.registerInput(this))}getValidDate(fe){return this.dateTimeAdapter.isDateInstance(fe)&&this.dateTimeAdapter.isValid(fe)?fe:null}convertTimeStringToDateTimeString(fe,nt){if(fe){const Ot=nt||this.dateTimeAdapter.now();return this.dateTimeAdapter.format(Ot,this.dateTimeFormats.datePickerInput)+" "+fe}return null}changeInputInSingleMode(fe){let nt=fe;"timer"===this.dtPicker.pickerType&&(nt=this.convertTimeStringToDateTimeString(nt,this.value));let Ot=this.dateTimeAdapter.parse(nt,this.dateTimeFormats.parseInput);this.lastValueValid=!Ot||this.dateTimeAdapter.isValid(Ot),Ot=this.getValidDate(Ot),(!this.isSameValue(Ot,this._value)||null===Ot)&&(this._value=Ot,this.valueChange.emit(Ot),this.onModelChange(Ot),this.dateTimeInput.emit({source:this,value:Ot,input:this.elmRef.nativeElement}))}changeInputInRangeFromToMode(fe){"timer"===this.dtPicker.pickerType&&(fe=this.convertTimeStringToDateTimeString(fe,"rangeFrom"===this._selectMode?this._values[0]:this._values[1]));let Ot=this.dateTimeAdapter.parse(fe,this.dateTimeFormats.parseInput);this.lastValueValid=!Ot||this.dateTimeAdapter.isValid(Ot),Ot=this.getValidDate(Ot),!("rangeFrom"===this._selectMode&&this.isSameValue(Ot,this._values[0])&&Ot||"rangeTo"===this._selectMode&&this.isSameValue(Ot,this._values[1])&&Ot)&&(this._values="rangeFrom"===this._selectMode?[Ot,this._values[1]]:[this._values[0],Ot],this.valueChange.emit(this._values),this.onModelChange(this._values),this.dateTimeInput.emit({source:this,value:this._values,input:this.elmRef.nativeElement}))}changeInputInRangeMode(fe){const nt=fe.split(this.rangeSeparator);let Ot=nt[0],rn=nt[1];"timer"===this.dtPicker.pickerType&&(Ot=this.convertTimeStringToDateTimeString(Ot,this.values[0]),rn=this.convertTimeStringToDateTimeString(rn,this.values[1]));let Jn=this.dateTimeAdapter.parse(Ot,this.dateTimeFormats.parseInput),Oi=this.dateTimeAdapter.parse(rn,this.dateTimeFormats.parseInput);this.lastValueValid=(!Jn||this.dateTimeAdapter.isValid(Jn))&&(!Oi||this.dateTimeAdapter.isValid(Oi)),Jn=this.getValidDate(Jn),Oi=this.getValidDate(Oi),(!this.isSameValue(Jn,this._values[0])||!this.isSameValue(Oi,this._values[1])||null===Jn&&null===Oi)&&(this._values=[Jn,Oi],this.valueChange.emit(this._values),this.onModelChange(this._values),this.dateTimeInput.emit({source:this,value:this._values,input:this.elmRef.nativeElement}))}isSameValue(fe,nt){return fe&&nt?0===this.dateTimeAdapter.compare(fe,nt):fe===nt}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.rXU(m.aKT),m.rXU(m.sFG),m.rXU(Oe,8),m.rXU(me,8))};static#t=this.\u0275dir=m.FsC({type:Jt,selectors:[["input","owlDateTime",""]],hostVars:5,hostBindings:function(nt,Ot){1&nt&&m.bIt("keydown",function(Jn){return Ot.handleKeydownOnHost(Jn)})("blur",function(Jn){return Ot.handleBlurOnHost(Jn)})("input",function(Jn){return Ot.handleInputOnHost(Jn)})("change",function(Jn){return Ot.handleChangeOnHost(Jn)}),2&nt&&(m.Mr5("disabled",Ot.owlDateTimeInputDisabled),m.BMQ("aria-haspopup",Ot.owlDateTimeInputAriaHaspopup)("aria-owns",Ot.owlDateTimeInputAriaOwns)("min",Ot.minIso8601)("max",Ot.maxIso8601))},inputs:{required:"required",owlDateTime:"owlDateTime",owlDateTimeFilter:"owlDateTimeFilter",_disabled:"_disabled",min:"min",max:"max",selectMode:"selectMode",rangeSeparator:"rangeSeparator",value:"value",values:"values"},outputs:{dateTimeChange:"dateTimeChange",dateTimeInput:"dateTimeInput"},exportAs:["owlDateTimeInput"],features:[m.Jv_([Ii,En])]})}return Jt})();const Ai={provide:g.kq,useExisting:(0,m.Rfq)(()=>os),multi:!0};let os=(()=>{class Jt extends $e{get pickerType(){return this._pickerType}set pickerType(fe){fe!==this._pickerType&&(this._pickerType=fe)}get disabled(){return!!this._disabled}set disabled(fe){this._disabled=(0,C.he)(fe)}get selectMode(){return this._selectMode}set selectMode(fe){if("single"!==fe&&"range"!==fe&&"rangeFrom"!==fe&&"rangeTo"!==fe)throw Error("OwlDateTime Error: invalid selectMode value!");this._selectMode=fe}get startAt(){return this._startAt?this._startAt:"single"===this.selectMode?this.value||null:"range"===this.selectMode||"rangeFrom"===this.selectMode?this.values[0]||null:"rangeTo"===this.selectMode&&this.values[1]||null}set startAt(fe){this._startAt=this.getValidDate(this.dateTimeAdapter.deserialize(fe))}get endAt(){return this._endAt?this._endAt:"single"===this.selectMode?this.value||null:("range"===this.selectMode||"rangeFrom"===this.selectMode)&&this.values[1]||null}set endAt(fe){this._endAt=this.getValidDate(this.dateTimeAdapter.deserialize(fe))}get dateTimeFilter(){return this._dateTimeFilter}set dateTimeFilter(fe){this._dateTimeFilter=fe}get minDateTime(){return this._min||null}set minDateTime(fe){this._min=this.getValidDate(this.dateTimeAdapter.deserialize(fe)),this.changeDetector.markForCheck()}get maxDateTime(){return this._max||null}set maxDateTime(fe){this._max=this.getValidDate(this.dateTimeAdapter.deserialize(fe)),this.changeDetector.markForCheck()}get value(){return this._value}set value(fe){fe=this.dateTimeAdapter.deserialize(fe),fe=this.getValidDate(fe),this._value=fe,this.selected=fe}get values(){return this._values}set values(fe){fe&&fe.length>0?(fe=fe.map(nt=>(nt=this.dateTimeAdapter.deserialize(nt),(nt=this.getValidDate(nt))?this.dateTimeAdapter.clone(nt):null)),this._values=[...fe],this.selecteds=[...fe]):(this._values=[],this.selecteds=[])}get selected(){return this._selected}set selected(fe){this._selected=fe,this.changeDetector.markForCheck()}get selecteds(){return this._selecteds}set selecteds(fe){this._selecteds=fe,this.changeDetector.markForCheck()}get opened(){return!0}get pickerMode(){return"inline"}get isInSingleMode(){return"single"===this._selectMode}get isInRangeMode(){return"range"===this._selectMode||"rangeFrom"===this._selectMode||"rangeTo"===this._selectMode}get owlDTInlineClass(){return!0}constructor(fe,nt,Ot){super(nt,Ot),this.changeDetector=fe,this.dateTimeAdapter=nt,this.dateTimeFormats=Ot,this._pickerType="both",this._disabled=!1,this._selectMode="single",this._values=[],this.yearSelected=new m.bkB,this.monthSelected=new m.bkB,this.dateSelected=new m.bkB,this._selecteds=[],this.onModelChange=()=>{},this.onModelTouched=()=>{}}ngOnInit(){this.container.picker=this}writeValue(fe){this.isInSingleMode?(this.value=fe,this.container.pickerMoment=fe):(this.values=fe,this.container.pickerMoment=this._values[this.container.activeSelectedIndex])}registerOnChange(fe){this.onModelChange=fe}registerOnTouched(fe){this.onModelTouched=fe}setDisabledState(fe){this.disabled=fe}select(fe){this.disabled||(Array.isArray(fe)?this.values=[...fe]:this.value=fe,this.onModelChange(fe),this.onModelTouched())}selectYear(fe){this.yearSelected.emit(fe)}selectMonth(fe){this.monthSelected.emit(fe)}selectDate(fe){this.dateSelected.emit(fe)}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.rXU(m.gRc),m.rXU(Oe,8),m.rXU(me,8))};static#t=this.\u0275cmp=m.VBU({type:Jt,selectors:[["owl-date-time-inline"]],viewQuery:function(nt,Ot){if(1&nt&&m.GBs(Kt,7),2&nt){let rn;m.mGM(rn=m.lsd())&&(Ot.container=rn.first)}},hostVars:2,hostBindings:function(nt,Ot){2&nt&&m.AVh("owl-dt-inline",Ot.owlDTInlineClass)},inputs:{pickerType:"pickerType",disabled:"disabled",selectMode:"selectMode",startAt:"startAt",endAt:"endAt",dateTimeFilter:[0,"owlDateTimeFilter","dateTimeFilter"],minDateTime:[0,"min","minDateTime"],maxDateTime:[0,"max","maxDateTime"],value:"value",values:"values"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",dateSelected:"dateSelected"},features:[m.Jv_([Ai]),m.Vt3],decls:1,vars:0,template:function(nt,Ot){1&nt&&m.nrm(0,"owl-date-time-container")},dependencies:[Kt],changeDetection:0})}return Jt})(),Fs=(()=>{class Jt{static#e=this.\u0275fac=function(nt){return new(nt||Jt)};static#t=this.\u0275mod=m.$C({type:Jt});static#n=this.\u0275inj=m.G2t({providers:[Wt,Mn],imports:[n.MD,T.Pd,O.z_,L.jc]})}return Jt})(),sn=(()=>{class Jt{static#e=this.\u0275fac=function(nt){return new(nt||Jt)};static#t=this.\u0275mod=m.$C({type:Jt});static#n=this.\u0275inj=m.G2t({providers:[ze,_n,...gt],imports:[n.MD,O.z_,Fs,T.Pd]})}return Jt})();function oi(Jt,He){const fe=Array(Jt);for(let nt=0;nt<Jt;nt++)fe[nt]=He(nt);return fe}function Tn(Jt,He,fe,nt=0,Ot=0,rn=0){const Jn=new Date(Jt,He,fe,nt,Ot,rn);return Jt>=0&&Jt<100&&Jn.setFullYear(Jn.getFullYear()-1900),Jn}const vi=typeof Intl<"u",ui={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},$i={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},Nn=oi(31,Jt=>String(Jt+1)),Hn=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:[+\-]\d{2}:\d{2}))?)?$/;let Qn=(()=>{class Jt extends Oe{constructor(fe,nt){super(),this.owlDateTimeLocale=fe,super.setLocale(fe),this.useUtcForDisplay=!nt.TRIDENT,this._clampDate=nt.TRIDENT||nt.EDGE}getYear(fe){return fe.getFullYear()}getMonth(fe){return fe.getMonth()}getDay(fe){return fe.getDay()}getDate(fe){return fe.getDate()}getHours(fe){return fe.getHours()}getMinutes(fe){return fe.getMinutes()}getSeconds(fe){return fe.getSeconds()}getTime(fe){return fe.getTime()}getNumDaysInMonth(fe){return function cn(Jt){return Tn(Jt.getFullYear(),Jt.getMonth()+1,0).getDate()}(fe)}differenceInCalendarDays(fe,nt){if(this.isValid(fe)&&this.isValid(nt)){const Ot=this.createDate(this.getYear(fe),this.getMonth(fe),this.getDate(fe)),rn=this.createDate(this.getYear(nt),this.getMonth(nt),this.getDate(nt)),Jn=this.getTime(Ot)-Ot.getTimezoneOffset()*this.milliseondsInMinute,Oi=this.getTime(rn)-rn.getTimezoneOffset()*this.milliseondsInMinute;return Math.round((Jn-Oi)/this.millisecondsInDay)}return null}getYearName(fe){if(vi){const nt=new Intl.DateTimeFormat(this.getLocale(),{year:"numeric",timeZone:"utc"});return this.stripDirectionalityCharacters(this._format(nt,fe))}return String(this.getYear(fe))}getMonthNames(fe){if(vi){const nt=new Intl.DateTimeFormat(this.getLocale(),{month:fe,timeZone:"utc"});return oi(12,Ot=>this.stripDirectionalityCharacters(this._format(nt,new Date(2017,Ot,1))))}return ui[fe]}getDayOfWeekNames(fe){if(vi){const nt=new Intl.DateTimeFormat(this.getLocale(),{weekday:fe,timeZone:"utc"});return oi(7,Ot=>this.stripDirectionalityCharacters(this._format(nt,new Date(2017,0,Ot+1))))}return $i[fe]}getDateNames(){if(vi){const fe=new Intl.DateTimeFormat(this.getLocale(),{day:"numeric",timeZone:"utc"});return oi(31,nt=>this.stripDirectionalityCharacters(this._format(fe,new Date(2017,0,nt+1))))}return Nn}toIso8601(fe){return fe.toISOString()}isEqual(fe,nt){return!(!this.isValid(fe)||!this.isValid(nt))&&fe.getTime()===nt.getTime()}isSameDay(fe,nt){if(this.isValid(fe)&&this.isValid(nt)){const Ot=this.clone(fe),rn=this.clone(nt);return Ot.setHours(0,0,0,0),rn.setHours(0,0,0,0),Ot.getTime()===rn.getTime()}return!1}isValid(fe){return fe&&!isNaN(fe.getTime())}invalid(){return new Date(NaN)}isDateInstance(fe){return fe instanceof Date}addCalendarYears(fe,nt){return this.addCalendarMonths(fe,12*nt)}addCalendarMonths(fe,nt){const Ot=this.clone(fe);nt=Number(nt);const rn=Ot.getMonth()+nt,Jn=new Date(0);Jn.setFullYear(Ot.getFullYear(),rn,1),Jn.setHours(0,0,0,0);const Oi=this.getNumDaysInMonth(Jn);return Ot.setMonth(rn,Math.min(Oi,Ot.getDate())),Ot}addCalendarDays(fe,nt){const Ot=this.clone(fe);return nt=Number(nt),Ot.setDate(Ot.getDate()+nt),Ot}setHours(fe,nt){const Ot=this.clone(fe);return Ot.setHours(nt),Ot}setMinutes(fe,nt){const Ot=this.clone(fe);return Ot.setMinutes(nt),Ot}setSeconds(fe,nt){const Ot=this.clone(fe);return Ot.setSeconds(nt),Ot}createDate(fe,nt,Ot,rn=0,Jn=0,Oi=0){return function pt(Jt,He,fe,nt=0,Ot=0,rn=0){if(He<0||He>11)throw Error(`Invalid month index "${He}". Month index has to be between 0 and 11.`);if(fe<1)throw Error(`Invalid date "${fe}". Date has to be greater than 0.`);if(nt<0||nt>23)throw Error(`Invalid hours "${nt}". Hours has to be between 0 and 23.`);if(Ot<0||Ot>59)throw Error(`Invalid minutes "${Ot}". Minutes has to between 0 and 59.`);if(rn<0||rn>59)throw Error(`Invalid seconds "${rn}". Seconds has to be between 0 and 59.`);const Jn=Tn(Jt,He,fe,nt,Ot,rn);if(Jn.getMonth()!==He)throw Error(`Invalid date "${fe}" for month with index "${He}".`);return Jn}(fe,nt,Ot,rn,Jn,Oi)}clone(fe){return this.createDate(this.getYear(fe),this.getMonth(fe),this.getDate(fe),this.getHours(fe),this.getMinutes(fe),this.getSeconds(fe))}now(){return new Date}format(fe,nt){if(!this.isValid(fe))throw Error("JSNativeDate: Cannot format invalid date.");if(vi){this._clampDate&&(fe.getFullYear()<1||fe.getFullYear()>9999)&&(fe=this.clone(fe)).setFullYear(Math.max(1,Math.min(9999,fe.getFullYear()))),nt={...nt,timeZone:"utc"};const Ot=new Intl.DateTimeFormat(this.getLocale(),nt);return this.stripDirectionalityCharacters(this._format(Ot,fe))}return this.stripDirectionalityCharacters(fe.toDateString())}parse(fe,nt){return"number"==typeof fe?new Date(fe):fe?new Date(Date.parse(fe)):null}deserialize(fe){if("string"==typeof fe){if(!fe)return null;if(Hn.test(fe)){const nt=new Date(fe);if(this.isValid(nt))return nt}}return super.deserialize(fe)}stripDirectionalityCharacters(fe){return fe.replace(/[\u200e\u200f]/g,"")}_format(fe,nt){const Ot=new Date(Date.UTC(nt.getFullYear(),nt.getMonth(),nt.getDate(),nt.getHours(),nt.getMinutes(),nt.getSeconds(),nt.getMilliseconds()));return fe.format(Ot)}static#e=this.\u0275fac=function(nt){return new(nt||Jt)(m.KVO(be,8),m.KVO(z.OD))};static#t=this.\u0275prov=m.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();const ri={parseInput:null,fullPickerInput:{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"},datePickerInput:{year:"numeric",month:"numeric",day:"numeric"},timePickerInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}};let li=(()=>{class Jt{static#e=this.\u0275fac=function(nt){return new(nt||Jt)};static#t=this.\u0275mod=m.$C({type:Jt});static#n=this.\u0275inj=m.G2t({providers:[{provide:Oe,useClass:Qn}],imports:[z.IK]})}return Jt})(),Fi=(()=>{class Jt{static#e=this.\u0275fac=function(nt){return new(nt||Jt)};static#t=this.\u0275mod=m.$C({type:Jt});static#n=this.\u0275inj=m.G2t({providers:[{provide:me,useValue:ri}],imports:[li]})}return Jt})();const gn=()=>["hour","minute"];function yn(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"div",2)(1,"div",3)(2,"div",4),m.EFF(3),m.k0s(),m.j41(4,"div",5),m.EFF(5),m.nI1(6,"date"),m.k0s()(),m.j41(7,"div",6),m.bIt("click",function(){m.eBV(fe);const Ot=m.XpG();return m.Njj(Ot.reset())}),m.EFF(8),m.k0s()()}if(2&Jt){const fe=m.XpG();m.R7$(3),m.JRh(fe.title||"Untitled"),m.R7$(2),m.SpI(" ",m.i5U(6,3,fe.selected,m.lJ4(6,gn).includes(fe.minView)?"d MMM yyyy, HH:mm":"d MMM yyyy")," "),m.R7$(3),m.SpI(" ",fe.resetButtonText," ")}}function hn(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"div",2)(1,"div",3)(2,"div",4),m.EFF(3),m.k0s(),m.j41(4,"div",5),m.EFF(5),m.nI1(6,"date"),m.k0s()(),m.j41(7,"div",6),m.bIt("click",function(){m.eBV(fe);const Ot=m.XpG(2);return m.Njj(Ot.reset())}),m.EFF(8),m.k0s()()}if(2&Jt){const fe=m.XpG(2);m.R7$(3),m.JRh(fe.title||"Untitled"),m.R7$(2),m.SpI(" ",m.i5U(6,3,fe.selected,m.lJ4(6,gn).includes(fe.minView)?"d MMM yyyy, HH:mm":"d MMM yyyy")," "),m.R7$(3),m.SpI(" ",fe.resetButtonText," ")}}function Bn(Jt,He){if(1&Jt){const fe=m.RV6();m.j41(0,"div",9),m.bIt("click",function(){m.eBV(fe);const Ot=m.XpG(2);return m.Njj(Ot.reset())}),m.EFF(1),m.k0s()}if(2&Jt){const fe=m.XpG(2);m.R7$(),m.SpI(" ",fe.resetButtonText," ")}}function mi(Jt,He){if(1&Jt&&(m.j41(0,"div"),m.DNE(1,hn,9,7,"div",7)(2,Bn,2,1,"div",8),m.k0s()),2&Jt){const fe=m.XpG();m.R7$(),m.Y8G("ngIf",!fe.isShiftCalendar),m.R7$(),m.Y8G("ngIf",fe.isShiftCalendar&&fe.isShiftCalendarSelected)}}let wi=(()=>{class Jt{constructor(){this.minView="minute",this.isShiftCalendar=!1,this.resetToDefault=new m.bkB}reset(){this.resetToDefault.emit()}static#e=this.\u0275fac=function(nt){return new(nt||Jt)};static#t=this.\u0275cmp=m.VBU({type:Jt,selectors:[["app-datetime-header"]],inputs:{minView:"minView",selected:"selected",title:"title",resetButtonText:"resetButtonText",isShiftCalendarSelected:"isShiftCalendarSelected",isShiftCalendar:"isShiftCalendar"},outputs:{resetToDefault:"resetToDefault"},decls:2,vars:2,consts:[["class","d-flex flex-row align-items-center justify-content-between border-bottom",4,"appIfFeatureFlag"],[4,"appIfFeatureFlag"],[1,"d-flex","flex-row","align-items-center","justify-content-between","border-bottom"],[1,"mx-3","p-2","text-left","d-flex","flex-column","date-info"],[1,"pb-1","title"],["data-test","clearDateButton",1,"pt-1","date"],["appTabIndex","","data-test","reset-button",1,"p-2","mx-3","text-right","reset-button","reset-button-updated-color",3,"click"],["class","d-flex flex-row align-items-center justify-content-between border-bottom",4,"ngIf"],["class","p-2 mx-3 reset-button reset-button-updated-color text-right","data-test","reset-button",3,"click",4,"ngIf"],["data-test","reset-button",1,"p-2","mx-3","reset-button","reset-button-updated-color","text-right",3,"click"]],template:function(nt,Ot){1&nt&&m.DNE(0,yn,9,7,"div",0)(1,mi,3,2,"div",1),2&nt&&(m.Y8G("appIfFeatureFlag","!feature-EIM-28355-shift-widget-ff-merge"),m.R7$(),m.Y8G("appIfFeatureFlag","feature-EIM-28355-shift-widget-ff-merge"))},styles:[".reset-button[_ngcontent-%COMP%]{color:#035fef;font-size:1.1em;font-weight:700;cursor:pointer}.reset-button[_ngcontent-%COMP%]:hover{filter:brightness(.85)}.date-info[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#273c4e;font-size:1.2em}.date-info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#416381}.reset-button-updated-color[_ngcontent-%COMP%]{color:#01748e}"],changeDetection:0})}return Jt})();var Si=s(35046),Cn=s(31741),ut=s(36193),Mt=s(60076);let Bt=(()=>{class Jt{static#e=this.\u0275fac=function(nt){return new(nt||Jt)};static#t=this.\u0275mod=m.$C({type:Jt});static#n=this.\u0275inj=m.G2t({imports:[n.MD,Si.c,Cn.J]})}return Jt})();m.wjB(wi,[n.bT,ut.d,Mt.r],[n.vh]);let Rt=(()=>{class Jt{static#e=this.\u0275fac=function(nt){return new(nt||Jt)};static#t=this.\u0275mod=m.$C({type:Jt});static#n=this.\u0275inj=m.G2t({imports:[n.MD,g.YN,sn,Fi,Bt,Cn.J]})}return Jt})();m.wjB(a.j,[n.bT,g.BC,g.vS,os,wi,Mt.r],[])},7453:(at,N,s)=>{"use strict";s.d(N,{i:()=>U});var n=s(7673),a=s(61594),g=s(96354),m=s(25558),T=s(67376),O=s(7930);const D=k=>`Module options - ${k}`,E=(k,Y="key")=>"key"===Y?y(k):I(k),y=k=>`\n    FIELD(\n      FIRST(\n        FILTER(\n          FIELD(\n            "type/field",\n            FIELD(\n              "app/object-type:type",\n              FIELD(\n                "app/module:options-object-type",\n                REFERENCES(\n                  "app/module:object-types",\n                  REFERENCES(\n                    "app/object-type:type",\n                    VAR("Type")\n                  )\n                )\n              )\n            )\n          ),\n          EQUALS(\n            FIELD(\n              "field/name",\n              VAR("Value")\n            ),\n            "${k}"\n          )\n        )\n      ),\n      FIRST(\n        LOOKUP(\n          TIP(),\n          ISTYPE(\n            FIELD(\n              "app/object-type:type",\n              FIELD(\n                "app/module:options-object-type",\n                REFERENCES(\n                  "app/module:object-types",\n                  REFERENCES(\n                    "app/object-type:type",\n                    VAR("Type")\n                  )\n                )\n              )\n            )\n          )\n        )\n      )\n    )\n  `,I=k=>`\n    FIELD(\n      "${k}",\n      FIRST(\n        LOOKUP(\n          TIP(),\n          ISTYPE(\n            FIELD(\n              "app/object-type:type",\n              FIELD(\n                "app/module:options-object-type",\n                REFERENCES(\n                  "app/module:object-types",\n                  REFERENCES(\n                    "app/object-type:type",\n                    VAR("Type")\n                  )\n                )\n              )\n            )\n          )\n        )\n      )\n    )\n  `;var b=s(93760),L=s(93953),o=s(44667),C=s(76087);const w=["sideSheetList"];function M(k,Y){if(1&k){const x=L.RV6();L.j41(0,"app-side-sheet-list-item",8),L.bIt("click",function(){L.eBV(x);const j=L.XpG().$implicit,$=L.XpG(2);return L.Njj($.setSelectedLabel(j.label))}),L.EFF(1),L.k0s()}if(2&k){const x=L.XpG().$implicit;L.Y8G("key",x.name),L.R7$(),L.SpI(" ",x.label," ")}}function q(k,Y){if(1&k&&(L.j41(0,"div"),L.DNE(1,M,2,2,"app-side-sheet-list-item",7),L.k0s()),2&k){const x=Y.$implicit;L.R7$(),L.Y8G("ngIf",x.label)}}function z(k,Y){if(1&k&&(L.qex(0),L.j41(1,"app-side-sheet-list",5,1),L.DNE(3,q,2,1,"div",6),L.k0s(),L.bVm()),2&k){const x=Y.ngIf;L.R7$(3),L.Y8G("ngForOf",x)}}function F(k,Y){1&k&&L.nrm(0,"div",9),2&k&&L.Y8G("appSpinner",!0)}let U=(()=>{class k{constructor(x,B){this.objectService=x,this.formulaService=B,this.done=j=>{}}setProps({moduleTip:x}){this.moduleTip=x}ngOnInit(){this.moduleTip&&(this.moduleOptionsFields$=this.formulaService.evaluate('FIELD("app/object-type:type", FIELD("app/module:options-object-type"))',this.moduleTip).pipe((0,a.$)(),(0,g.T)(T.head),(0,m.n)(x=>x?this.getTypeFields$(x):(0,n.of)([]))))}onDone(){if((0,T.isEmpty)(this.sideSheetList.selected))return void this.done(null);const x=(0,T.head)(this.sideSheetList.selected);this.done({type:O.YG.general,label:D(this.selectedLabel),value:E(x,"key")})}setSelectedLabel(x){this.selectedLabel=x}getTypeFields$(x){return this.objectService.getObject(x,b.m).pipe((0,a.$)(),(0,g.T)(B=>B.field||[]))}static#e=this.\u0275fac=function(B){return new(B||k)(L.rXU(o.T),L.rXU(C.C))};static#t=this.\u0275cmp=L.VBU({type:k,selectors:[["app-assign-to-module-options-side-sheet"]],viewQuery:function(B,j){if(1&B&&L.GBs(w,5),2&B){let $;L.mGM($=L.lsd())&&(j.sideSheetList=$.first)}},decls:7,vars:6,consts:[["loading",""],["sideSheetList",""],["action","Done",3,"actioned","disabled"],[3,"showBorder"],[4,"ngIf","ngIfElse"],["mode","singleselect"],[4,"ngFor","ngForOf"],[3,"key","click",4,"ngIf"],[3,"click","key"],[3,"appSpinner"]],template:function(B,j){if(1&B){const $=L.RV6();L.j41(0,"app-side-sheet-header",2),L.bIt("actioned",function(){return L.eBV($),L.Njj(j.onDone())}),L.EFF(1," Module options\n"),L.k0s(),L.j41(2,"app-side-sheet-section",3),L.DNE(3,z,4,1,"ng-container",4),L.nI1(4,"async"),L.DNE(5,F,1,1,"ng-template",null,0,L.C5r),L.k0s()}if(2&B){const $=L.sdS(6);L.Y8G("disabled",0===(null==j.sideSheetList||null==j.sideSheetList.selected?null:j.sideSheetList.selected.length)),L.R7$(2),L.Y8G("showBorder",!1),L.R7$(),L.Y8G("ngIf",L.bMT(4,4,j.moduleOptionsFields$))("ngIfElse",$)}},changeDetection:0})}return k})()},74140:(at,N,s)=>{"use strict";s.d(N,{_:()=>T,j:()=>O});var n=s(17814),a=s(93953);const g=["systemOptions"];function m(D,E){if(1&D&&(a.j41(0,"app-side-sheet-list-item",9),a.pXf(1,6),a.k0s()),2&D){const y=a.XpG();a.Y8G("key",y.ASSIGN_TO_SYSTEM_VALUE.CURRENT_USER)}}const T={CURRENT_DATE:(0,n.SV)("NOW()"),CURRENT_DATETIME:(0,n.Nk)("NOW()"),CURRENT_MONTH:(0,n.KA)("NOW()"),CURRENT_YEAR:(0,n.Td)("NOW()"),CURRENT_USER:'TITLE(FIELD("app/user:person", FIELD("session:owner", SESSION())))'};let O=(()=>{class D{constructor(){this.ASSIGN_TO_SYSTEM_VALUE=T,this.hideCurrentUserOption=!1,this.isFromContactSelfService=!1}static#e=this.\u0275fac=function(I){return new(I||D)};static#t=this.\u0275cmp=a.VBU({type:D,selectors:[["app-assign-to-system-side-sheet"]],viewQuery:function(I,b){if(1&I&&a.GBs(g,5),2&I){let L;a.mGM(L=a.lsd())&&(b.systemOptions=L.first)}},decls:15,vars:8,consts:()=>{let y,I,b,L,o,C;return y="System",I="Current date",b="Current date & time",L="Current month",o="Current year",C="Current user",[["systemOptions",""],y,I,b,L,o,C,[3,"showBorder","showHeader"],["mode","singleselect",3,"selectedChange","emitChangeEventOnLoad"],[3,"key"],[3,"key",4,"ngIf"]]},template:function(I,b){if(1&I){const L=a.RV6();a.j41(0,"app-side-sheet-header")(1,"span"),a.pXf(2,1),a.k0s()(),a.j41(3,"app-side-sheet-section",7)(4,"app-side-sheet-list",8,0),a.bIt("selectedChange",function(){a.eBV(L);const C=a.sdS(5);return a.Njj(b.done(C.selected[0]))}),a.j41(6,"app-side-sheet-list-item",9),a.pXf(7,2),a.k0s(),a.j41(8,"app-side-sheet-list-item",9),a.pXf(9,3),a.k0s(),a.j41(10,"app-side-sheet-list-item",9),a.pXf(11,4),a.k0s(),a.j41(12,"app-side-sheet-list-item",9),a.pXf(13,5),a.k0s(),a.DNE(14,m,2,1,"app-side-sheet-list-item",10),a.k0s()()}2&I&&(a.R7$(3),a.Y8G("showBorder",!1)("showHeader",!b.isFromContactSelfService),a.R7$(),a.Y8G("emitChangeEventOnLoad",!1),a.R7$(2),a.Y8G("key",b.ASSIGN_TO_SYSTEM_VALUE.CURRENT_DATE),a.R7$(2),a.Y8G("key",b.ASSIGN_TO_SYSTEM_VALUE.CURRENT_DATETIME),a.R7$(2),a.Y8G("key",b.ASSIGN_TO_SYSTEM_VALUE.CURRENT_MONTH),a.R7$(2),a.Y8G("key",b.ASSIGN_TO_SYSTEM_VALUE.CURRENT_YEAR),a.R7$(2),a.Y8G("ngIf",!b.hideCurrentUserOption))}})}return D})()},57943:(at,N,s)=>{"use strict";s.d(N,{S:()=>te});var n=s(67376),g=s(84412),m=s(61594),T=s(69703),O=s(7930),D=s(15765),E=s(14554),y=s(9975),I=s(95354),b=s(5002),L=s(47735),o=s(7453),C=s(74140),w=s(2466),M=s(67824),q=s(81422),z=s(93953),F=s(50337),U=s(19937),k=s(97206);const Y=ae=>({date:!0,datetime:!0,list:!0,stripHTML:ae});function x(ae,K){if(1&ae){const de=z.RV6();z.j41(0,"app-side-sheet-list-item",8),z.bIt("click",function(){z.eBV(de);const me=z.XpG(2);return z.Njj(me.openFieldFormulaSideSheet())}),z.pXf(1,2),z.k0s()}2&ae&&z.Y8G("hasChevron",!0)}function B(ae,K){if(1&ae){const de=z.RV6();z.j41(0,"app-side-sheet-list-item",8),z.bIt("click",function(){z.eBV(de);const me=z.XpG(2);return z.Njj(me.openResponseLinksSideSheet())}),z.pXf(1,3),z.k0s()}2&ae&&z.Y8G("hasChevron",!0)}function j(ae,K){if(1&ae){const de=z.RV6();z.j41(0,"app-side-sheet-list-item",8),z.bIt("click",function(){z.eBV(de);const me=z.XpG(3);return z.Njj(me.openMessageSideSheet())}),z.EFF(1,"Message"),z.k0s()}2&ae&&z.Y8G("hasChevron",!0)}function $(ae,K){if(1&ae&&(z.qex(0),z.DNE(1,j,2,1,"app-side-sheet-list-item",12),z.bVm()),2&ae){const de=z.XpG(2);z.R7$(),z.Y8G("ngIf",de.interpolationType===de.INTERPOLATION_TYPE.message&&!de.hideMessageOptions)}}function H(ae,K){if(1&ae&&(z.qex(0),z.DNE(1,x,2,1,"app-side-sheet-list-item",12)(2,B,2,1,"app-side-sheet-list-item",12)(3,$,2,1,"ng-container",11),z.bVm()),2&ae){const de=z.XpG();z.R7$(),z.Y8G("ngIf",!de.hideRecipient),z.R7$(),z.Y8G("ngIf",de.interpolationType===de.INTERPOLATION_TYPE.message&&!de.hideResponseLinks),z.R7$(),z.Y8G("appIfFeatureFlag","feature-EIM-17603-messaging-display-other-recipients-in-the-message")}}function ie(ae,K){if(1&ae){const de=z.RV6();z.j41(0,"app-side-sheet-list-item",8),z.bIt("click",function(){const me=z.eBV(de).$implicit,be=z.XpG();return z.Njj(be.openContextTypeFieldFormulaSideSheet(me))}),z.EFF(1),z.nI1(2,"typeLabel"),z.nI1(3,"async"),z.k0s()}if(2&ae){const de=K.$implicit;z.Y8G("hasChevron",!0),z.R7$(),z.SpI(" ",z.bMT(3,4,z.bMT(2,2,de))," ")}}function ne(ae,K){if(1&ae){const de=z.RV6();z.qex(0),z.j41(1,"app-workflow-property-chooser",13),z.bIt("done",function(me){z.eBV(de);const be=z.XpG();return z.Njj(be.onWorkflowVariablesChosen("inputs",me))}),z.k0s(),z.j41(2,"app-workflow-property-chooser",14),z.bIt("done",function(me){z.eBV(de);const be=z.XpG();return z.Njj(be.onWorkflowVariablesChosen("actors",me))}),z.k0s(),z.j41(3,"app-workflow-property-chooser",15),z.bIt("done",function(me){z.eBV(de);const be=z.XpG();return z.Njj(be.onWorkflowVariablesChosen("variables",me))}),z.k0s(),z.bVm()}if(2&ae){const de=z.XpG();z.R7$(),z.Y8G("showTally",!1)("items",de.workflowVariables.inputs)("displayFormulaRule",z.eq3(9,Y,de.displayFormulaRule.stripHTML)),z.R7$(),z.Y8G("showTally",!1)("items",de.workflowVariables.actors)("displayFormulaRule",z.eq3(11,Y,de.displayFormulaRule.stripHTML)),z.R7$(),z.Y8G("showTally",!1)("items",de.workflowVariables.variables)("displayFormulaRule",z.eq3(13,Y,de.displayFormulaRule.stripHTML))}}function Q(ae,K){if(1&ae){const de=z.RV6();z.qex(0),z.j41(1,"app-side-sheet-list-item",16),z.bIt("click",function(){z.eBV(de);const me=z.XpG();return z.Njj(me.insertSequenceInteger())}),z.pXf(2,4),z.k0s(),z.bVm()}2&ae&&(z.R7$(),z.Y8G("hasChevron",!1))}function le(ae,K){if(1&ae){const de=z.RV6();z.qex(0),z.j41(1,"app-side-sheet-list-item",17),z.bIt("click",function(){z.eBV(de);const me=z.XpG(2);return z.Njj(me.openModuleDefaultValuesSideSheet())}),z.pXf(2,5),z.k0s(),z.bVm()}2&ae&&(z.R7$(),z.Y8G("hasChevron",!0))}function pe(ae,K){if(1&ae&&(z.qex(0),z.DNE(1,le,3,1,"ng-container",9),z.bVm()),2&ae){const de=z.XpG();z.R7$(),z.Y8G("ngIf",de.showModuleOptions&&de.moduleTip)}}let te=(()=>{class ae{constructor(de,Me,me,be){this.sideSheetService=de,this.substitutionMetaService=Me,this.toastService=me,this.displayFormulaWrapperService=be,this.FeatureFlags=b.g,this.hideResponseLinks=!1,this.hideRecipient=!1,this.hideMessageOptions=!0,this.contextTypeTips=[],this.metaDataKeysToExclude=[y.Po.urlLink],this.displayFormulaRule={date:!0,datetime:!0,list:!0,wrapStringFieldsInTopLevelConcatWS:!0},this.loading$=new g.t(!1),this.INTERPOLATION_TYPE=O.YG,this.useContextFormula=!1,this.hideSystemCurrentUserOption=!1,this.isFromContactSelfService=!1,this.done=Le=>{}}openAssignToSystemSideSheet(){const Me=this.sideSheetService.push(C.j).componentInstance;Me.hideCurrentUserOption=this.hideSystemCurrentUserOption,Me.isFromContactSelfService=this.isFromContactSelfService,Me.done=me=>{const be=this.substitutionMetaService.getSubstitutionCandidateFromSystem(me,this.interpolationType);if(!be)return this.sideSheetService.pop(),void this.sideSheetService.pop();this.done(be),this.sideSheetService.pop()}}openFieldFormulaSideSheet(){const Me=this.sideSheetService.push(E.w).componentInstance;Me.objectTypeTip=this.recipientSuperTypeTip,Me.minSelect=1,Me.maxSelect=1,Me.metaDataKeysToExcluded=this.metaDataKeysToExclude,Me.displayFormulaRule=this.displayFormulaRule,Me.onDone=me=>{(!me||!me.length)&&this.sideSheetService.pop();const be=me[0];this.loading$.next(!0),this.substitutionMetaService.getRecipientSubstitutionCandidateFromFormula(be,this.interpolationType,this.recipientSuperTypeTip).pipe((0,m.$)()).subscribe(Le=>{this.loading$.next(!1),this.done(Le)},()=>{this.toastService.showErrorToast("Unable to retrieve value at this time"),this.sideSheetService.pop()})}}openResponseLinksSideSheet(){this.sideSheetService.push(M.S).componentInstance.done=me=>this.done(me)}openMessageSideSheet(){this.sideSheetService.push(w.R5).componentInstance.done=me=>{const be=this.substitutionMetaService.getSubstitutionCandidateFromMessage(me,this.interpolationType);if(!be)return this.sideSheetService.pop(),void this.sideSheetService.pop();this.done(be),this.sideSheetService.pop()}}openContextTypeFieldFormulaSideSheet(de){const me=this.sideSheetService.push(E.w).componentInstance;me.objectTypeTip=de,me.minSelect=1,me.maxSelect=1,me.metaDataKeysToExcluded=this.metaDataKeysToExclude,me.displayFormulaRule=this.displayFormulaRule,me.formatsFields=!0,me.onDone=be=>{(!be||!be.length)&&this.sideSheetService.pop();const Le=be[0];this.loading$.next(!0),this.substitutionMetaService.getSubstitutionCandidateFromFormula(Le,this.interpolationType,de).pipe((0,m.$)()).subscribe(Ae=>{(0,n.get)((0,L.em)(Ae.value),"metaData.key")===y.Po.urlLink&&(Ae.label="URL link",this.recipientSuperTypeTip===T.Nd.EMAIL&&(Ae.value=`REPLACE("<a href='%Link%'>Link</a>", "%Link%", ${Ae.value})`)),this.useContextFormula&&(Ae.value=(0,I.mT)(Ae.value,{name:"VAR",args:[D.oT]})),this.loading$.next(!1),this.done(Ae)},()=>{this.toastService.showErrorToast("Unable to retrieve value at this time"),this.sideSheetService.pop()})}}onWorkflowVariablesChosen(de,Me){this.loading$.next(!0);const me=this.displayFormulaWrapperService.removeDisplayFormulaWrapper((0,I.Ju)(Me.formula));this.substitutionMetaService.getSubstitutionCandidateFromFormula(me,this.interpolationType).pipe((0,m.$)()).subscribe(be=>{be.value=Me.formula,be.label=be.label?`${this.workflowVariables[de][Me.selectedIndex].label} > ${be.label}`:this.workflowVariables[de][Me.selectedIndex].label,this.loading$.next(!1),this.done(be)},()=>{this.toastService.showErrorToast("Unable to retrieve value at this time"),this.sideSheetService.pop()})}insertSequenceInteger(){this.done({label:q.r,type:O.YG.general,value:q.K})}openModuleDefaultValuesSideSheet(){const Me=this.sideSheetService.push(o.i).componentInstance;Me.setProps({moduleTip:this.moduleTip}),Me.done=me=>{if(!me)return this.sideSheetService.pop(),void this.sideSheetService.pop();this.done(me),this.sideSheetService.pop()}}static#e=this.\u0275fac=function(Me){return new(Me||ae)(z.rXU(F.E),z.rXU(T.yE),z.rXU(U.f),z.rXU(k.T))};static#t=this.\u0275cmp=z.VBU({type:ae,selectors:[["app-dynamic-field-chooser-side-sheet"]],decls:12,vars:9,consts:()=>{let de,Me,me,be,Le,Ae,Oe,Xe,Pe,$e,ze,Be;return de="Insert dynamic field",Me="System",me="Recipients",be="Response links",Le="Workflow inputs",Ae="Workflow Input",Oe="Workflow actors",Xe="Workflow Actor",Pe="Workflow variables",$e="Workflow Variable",ze="Sequence number",Be="Module default values",[de,Me,me,be,ze,Be,["appSpinner","",3,"showSpinner$"],[3,"showHeader","showBorder"],[3,"click","hasChevron"],[4,"ngIf"],[3,"hasChevron","click",4,"ngFor","ngForOf"],[4,"appIfFeatureFlag"],[3,"hasChevron","click",4,"ngIf"],["label",Le,"title",Ae,3,"done","showTally","items","displayFormulaRule"],["label",Oe,"title",Xe,3,"done","showTally","items","displayFormulaRule"],["label",Pe,"title",$e,3,"done","showTally","items","displayFormulaRule"],["data-test","sequence-integer-option",3,"click","hasChevron"],["data-test","module-default-values",3,"click","hasChevron"]]},template:function(Me,me){1&Me&&(z.j41(0,"app-side-sheet-header"),z.pXf(1,0),z.k0s(),z.j41(2,"div",6)(3,"app-side-sheet-section",7)(4,"app-side-sheet-list")(5,"app-side-sheet-list-item",8),z.bIt("click",function(){return me.openAssignToSystemSideSheet()}),z.pXf(6,1),z.k0s(),z.DNE(7,H,4,3,"ng-container",9)(8,ie,4,6,"app-side-sheet-list-item",10)(9,ne,4,15,"ng-container",9)(10,Q,3,1,"ng-container",9)(11,pe,2,1,"ng-container",11),z.k0s()()()),2&Me&&(z.R7$(2),z.Y8G("showSpinner$",me.loading$),z.R7$(),z.Y8G("showHeader",!1)("showBorder",!1),z.R7$(2),z.Y8G("hasChevron",!0),z.R7$(2),z.Y8G("ngIf",me.recipientSuperTypeTip),z.R7$(),z.Y8G("ngForOf",me.contextTypeTips),z.R7$(),z.Y8G("ngIf",me.workflowVariables),z.R7$(),z.Y8G("ngIf",me.showSequence),z.R7$(),z.Y8G("appIfFeatureFlag",me.FeatureFlags.FEATURE_MODULE_DEFAULT_VALUES))},changeDetection:0})}return ae})()},2466:(at,N,s)=>{"use strict";s.d(N,{Qi:()=>o,R5:()=>C});var n=s(60177),a=s(92597),g=s(92811),m=s(1612),T=s(69595),O=s(49626),D=s(51022),E=s(93953),y=s(73427),I=s(83958),b=s(2937);function L(M,q){if(1&M&&(E.qex(0),E.j41(1,"app-side-sheet-list-item",3),E.EFF(2),E.k0s(),E.bVm()),2&M){const z=q.$implicit;E.R7$(),E.Y8G("key",z.value),E.R7$(),E.JRh(z.name)}}const o={RECIPIENTS_LIST:function w(){const M=k=>({name:"VAR",args:[k]});return(0,a.Ac)((k=>({name:"IF",args:[{name:"OP",args:[{name:"COUNT",args:[k]},"<=","100"]},{name:"ARRAY",args:[{name:"REPLACE",args:[{name:"SLICE",args:[k,0,1]},"<span>&nbsp;</span>",""]},{name:"SLICE",args:[k,1,99]}]},{name:"ARRAY",args:[{name:"REPLACE",args:[{name:"SLICE",args:[k,0,1]},"<span>&nbsp;</span>",""]},{name:"SLICE",args:[k,1,98]},{name:"CONCAT",args:[{name:"SLICE",args:[k,99,1]},"... +more"]}]}]}))((k=>({name:"MAP",args:[k,{name:"SLICE",args:[{name:"SPLIT",args:["||",M("Value")]},1]},"Value"]}))({name:"SORT",args:[{name:"UNIQUE",args:[{name:"MAP",args:[{name:"ARRAY",args:[M("capableObjects"),M("toAddresses")]},(k="Recipient",{name:"CONCAT",args:[{name:"LOWERCASE",args:[{name:"COALESCE",args:[{name:"TITLE",args:[M(k)]},M(k)]}]},"||",'<span>&nbsp;</span><a href="mailto:',(k=>({name:"COALESCE",args:[{name:"FIELD",args:["app/super-type/email-capable:address",M(k)]},{name:"FIELD",args:["app/super-type/contact:email",M(k)]},{name:"FIELD",args:["app/user:email",M(k)]},{name:"FIELD",args:["app/person:email",M(k)]},M(k)]}))(k),'">',{name:"COALESCE",args:[{name:"TITLE",args:[M(k)]},M(k)]},"</a>"]}),"Recipient"]}]}]})));var k}()};let C=(()=>{class M{constructor(){this.SideSheetListModes=T.X,this.messageOptions=[{name:"Recipients list",value:"RECIPIENTS_LIST"}],this.MESSAGE_VALUE=o}optionSelected([z]){z&&this.done(this.MESSAGE_VALUE[z])}static#e=this.\u0275fac=function(F){return new(F||M)};static#t=this.\u0275cmp=E.VBU({type:M,selectors:[["app-message-options-side-sheet"]],standalone:!0,features:[E.aNF],decls:6,vars:5,consts:[[3,"showBorder","showHeader"],[3,"selectedChange","mode","emitChangeEventOnLoad"],[4,"ngFor","ngForOf"],[3,"key"]],template:function(F,U){1&F&&(E.j41(0,"app-side-sheet-header")(1,"span"),E.EFF(2,"Message"),E.k0s()(),E.j41(3,"app-side-sheet-section",0)(4,"app-side-sheet-list",1),E.bIt("selectedChange",function(Y){return U.optionSelected(Y)}),E.DNE(5,L,3,2,"ng-container",2),E.k0s()()),2&F&&(E.R7$(3),E.Y8G("showBorder",!1)("showHeader",!1),E.R7$(),E.Y8G("mode",U.SideSheetListModes.SINGLE_SELECT)("emitChangeEventOnLoad",!1),E.R7$(),E.Y8G("ngForOf",U.messageOptions))},dependencies:[n.pM,g.s,y.R,D.k,I.D,O.x,T.A,m.w,b.N],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}return M})()},67824:(at,N,s)=>{"use strict";s.d(N,{S:()=>I});var n=s(7930),a=s(69595),g=s(67376),T=s(2344),O=s(76194),D=s(93953),E=s(50337);function y(b,L){if(1&b&&(D.j41(0,"app-side-sheet-list-item",7)(1,"span"),D.EFF(2),D.k0s()()),2&b){const o=L.$implicit;D.Y8G("key",o),D.R7$(2),D.JRh(o)}}let I=(()=>{class b{constructor(o){this.sideSheetService=o,this.links=["Yes","No","Maybe"],this.done=C=>{}}onDone(o){o||(o=(0,g.head)(this.list.selected)),this.done({type:n.YG.responseLink,label:o,value:`ARRAY("${o}")`}),this.sideSheetService.pop()}onNewLink(){const C=this.sideSheetService.push(T.t).componentInstance;C.setProps({fieldDataType:O.HT.string,objectType:null,typeGeoRestrict:null,value:null}),C.done=({value:w})=>{this.onDone(w),this.sideSheetService.pop()}}static#e=this.\u0275fac=function(C){return new(C||b)(D.rXU(E.E))};static#t=this.\u0275cmp=D.VBU({type:b,selectors:[["app-response-links-side-sheet"]],viewQuery:function(C,w){if(1&C&&D.GBs(a.A,5),2&C){let M;D.mGM(M=D.lsd())&&(w.list=M.first)}},decls:8,vars:3,consts:[["action","Done",3,"actioned","disabled"],["title","Response links",3,"showBorder"],["buttons","",1,"d-flex"],["data-test","add-new-response-button",1,"eim-button_minimized","btn","btn-secondary",3,"click"],["svgIcon","plus"],["mode","singleselect"],[3,"key",4,"ngFor","ngForOf"],[3,"key"]],template:function(C,w){1&C&&(D.j41(0,"app-side-sheet-header",0),D.bIt("actioned",function(){return w.onDone()}),D.EFF(1,"Response links"),D.k0s(),D.j41(2,"app-side-sheet-section",1)(3,"div",2)(4,"button",3),D.bIt("click",function(){return w.onNewLink()}),D.nrm(5,"mat-icon",4),D.k0s()(),D.j41(6,"app-side-sheet-list",5),D.DNE(7,y,3,2,"app-side-sheet-list-item",6),D.k0s()()),2&C&&(D.Y8G("disabled",0===(null==w.list||null==w.list.selected?null:w.list.selected.length)),D.R7$(2),D.Y8G("showBorder",!1),D.R7$(5),D.Y8G("ngForOf",w.links))},changeDetection:0})}return b})()},81422:(at,N,s)=>{"use strict";s.d(N,{K:()=>n,r:()=>a});const n='STR_PAD_LEFT(VAR("---Sequence-Integer---"), FIELD("app/sequence:number-of-digits", VAR("Sequence tip")), "0")',a="Sequence"},70723:(at,N,s)=>{"use strict";s.d(N,{o:()=>F});var n=s(93953),a=s(5002),g=s(10506),m=s(60177),T=s(36193),O=s(73723);const D=["*"],E=(U,k)=>({"p-6":U,"p-1":k}),y=(U,k)=>({"img-sm":U,"img-md":k}),I=U=>({"p-1":U}),b=U=>({"action-not-clickable":U});function L(U,k){if(1&U){const Y=n.RV6();n.j41(0,"img",7),n.nI1(1,"asset"),n.bIt("error",function(){n.eBV(Y);const B=n.XpG();return n.Njj(B.showFallbackImage())}),n.k0s()}if(2&U){const Y=n.XpG();n.Y8G("src",n.bMT(1,3,Y.imgSrc),n.B4B)("ngClass",n.l_i(5,y,"sm"===Y.size,"sm"!==Y.size))("alt",Y.label?Y.label:"Empty state image")}}function o(U,k){1&U&&n.eu8(0)}function C(U,k){if(1&U&&(n.qex(0),n.DNE(1,o,1,0,"ng-container",8),n.bVm()),2&U){n.XpG();const Y=n.sdS(8);n.R7$(),n.Y8G("ngTemplateOutlet",Y)}}function w(U,k){if(1&U&&(n.j41(0,"span",9)(1,"strong"),n.EFF(2),n.k0s()()),2&U){const Y=n.XpG();n.Y8G("ngClass",n.eq3(2,I,"default"===Y.size)),n.R7$(2),n.JRh(Y.label)}}function M(U,k){if(1&U){const Y=n.RV6();n.j41(0,"span",10),n.bIt("click",function(){n.eBV(Y);const B=n.XpG();return n.Njj(!B.disabled&&B.onActionClick())})("blur",function(){n.eBV(Y);const B=n.XpG();return n.Njj(B.onActionBlur())}),n.EFF(1),n.k0s()}if(2&U){const Y=n.XpG();n.Y8G("ngClass",n.eq3(2,b,Y.disabled||!Y.actionClick.observers.length)),n.R7$(),n.SpI(" ",Y.actionText," ")}}function q(U,k){1&U&&n.SdG(0)}function z(U,k){if(1&U&&(n.qSk(),n.j41(0,"svg",11)(1,"g",12),n.nrm(2,"path",13)(3,"path",14)(4,"path",15)(5,"path",16)(6,"path",17)(7,"path",18)(8,"path",19)(9,"circle",20),n.j41(10,"text",21)(11,"tspan",22),n.EFF(12,"Nothing here"),n.k0s()(),n.j41(13,"text",23)(14,"tspan",24),n.EFF(15,"Add <placeholder>"),n.k0s()(),n.nrm(16,"path",25),n.k0s()()),2&U){const Y=n.XpG();n.Y8G("ngClass",n.l_i(1,y,"sm"===Y.size,"sm"!==Y.size))}}let F=(()=>{class U{constructor(Y){this.featureFlagStateService=Y,this.size="sm",this.showActionText=!0,this.actionClick=new n.bkB,this.actionBlur=new n.bkB,this.disabled=!1,this.imageError=!1}onActionClick(){this.actionClick.emit()}onActionBlur(){this.actionBlur.emit()}showFallbackImage(){this.featureFlagStateService.isFeatureEnabled(a.g.FEATURE_EIM_23059_FORM_RESILIENCE)&&(this.imageError=!0)}static#e=this.\u0275fac=function(x){return new(x||U)(n.rXU(g.F))};static#t=this.\u0275cmp=n.VBU({type:U,selectors:[["app-empty-state"]],inputs:{size:"size",imgSrc:"imgSrc",label:"label",actionText:"actionText",showActionText:"showActionText",disabled:"disabled"},outputs:{actionClick:"actionClick",actionBlur:"actionBlur"},ngContentSelectors:D,decls:9,vars:9,consts:[["customAction",""],["fallbackImg",""],[1,"d-flex","flex-column","align-items-center","justify-content-center","eim-forms_form-control",3,"ngClass"],["class","p-1",3,"src","ngClass","alt","error",4,"ngIf"],[4,"ngIf"],["class","label",3,"ngClass",4,"ngIf"],["appTabIndex","","data-test","action-text","class","action border-0",3,"ngClass","click","blur",4,"ngIf","ngIfElse"],[1,"p-1",3,"error","src","ngClass","alt"],[4,"ngTemplateOutlet"],[1,"label",3,"ngClass"],["appTabIndex","","data-test","action-text",1,"action","border-0",3,"click","blur","ngClass"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 145 143",1,"p-1",3,"ngClass"],["fill","none","fill-rule","evenodd"],["fill","#93B0C9","fill-rule","nonzero","d","m97.211 27.291 2.26-4.907 4.952-2.239-4.952-2.238L97.211 13l-2.259 4.907L90 20.145l4.952 2.239z"],["fill","#9CDFE9","fill-rule","nonzero","d","m119.147 33.2-1.94-4.2-1.939 4.2L111 35.11l4.268 1.909 1.939 4.201 1.94-4.201 4.268-1.909z"],["fill","#93B0C9","fill-rule","nonzero","d","m28.008 29.483-1.906-4.142-1.907 4.142L20 31.366l4.195 1.882 1.907 4.142 1.906-4.142 4.195-1.882zm-21.56 5.036L5.289 32l-1.16 2.519-2.552 1.145 2.552 1.146 1.16 2.519 1.159-2.519L9 35.664z"],["fill","#9CDFE9","fill-rule","nonzero","d","M124.527 46.859 123.211 44l-1.316 2.859L119 48.158l2.895 1.299 1.316 2.859 1.316-2.859 2.896-1.299zM42.138 6.336 39.248 0l-2.89 6.336L30 9.216l6.358 2.88 2.89 6.336 2.89-6.336 6.358-2.88zM11.232 48.223 9.748 45l-1.484 3.223L5 49.688l3.264 1.465 1.484 3.223 1.484-3.223 3.264-1.465z"],["fill","#F4CCDA","d","M137.62 9.55C136.671 5.237 132.505 2 127.5 2c-3.974 0-7.425 2.05-9.144 5.05-4.138.4-7.356 3.587-7.356 7.45 0 4.137 3.699 7.5 8.25 7.5h17.875c3.795 0 6.875-2.8 6.875-6.25 0-3.3-2.819-5.975-6.38-6.2Z"],["d","M56 7h19v18H56z"],["fill","#DEE6ED","d","M69.327 20.152C68.78 17.782 66.382 16 63.5 16c-2.288 0-4.275 1.127-5.265 2.777-2.383.22-4.235 1.974-4.235 4.098C54 25.151 56.13 27 58.75 27h10.292C71.227 27 73 25.46 73 23.562c0-1.814-1.623-3.286-3.673-3.41Z"],["cx","53","cy","53","r","53","fill","#DAEDEF","fill-rule","nonzero","transform","translate(17 34)"],["fill","#5A7186","font-family","Lato-Bold, Lato","font-size","15","font-weight","bold","transform","translate(-18)"],["x","43.93","y","165"],["fill","#5A7186","font-family","Lato-Regular, Lato","font-size","13","text-decoration","underline","transform","translate(-18)"],["x","33.978","y","185"],["fill","#5A7186","fill-rule","nonzero","d","M48.027 84.057C45.799 84.057 44 85.818 44 88c0 2.182 1.799 3.943 4.027 3.943s4.027-1.761 4.027-3.943c0-2.182-1.799-3.943-4.027-3.943Zm0-14.057C45.799 70 44 71.761 44 73.943c0 2.182 1.799 3.943 4.027 3.943s4.027-1.761 4.027-3.943c0-2.182-1.799-3.943-4.027-3.943Zm0 28.114c-2.228 0-4.027 1.788-4.027 3.943 0 2.156 1.826 3.943 4.027 3.943s4.027-1.787 4.027-3.943c0-2.155-1.799-3.943-4.027-3.943Zm8.39-24.628a3.486 3.486 0 0 0 3.485 3.485h30.612a3.486 3.486 0 0 0 0-6.971H59.902a3.486 3.486 0 0 0-3.486 3.486Zm0 14.571a3.486 3.486 0 0 0 3.485 3.486h30.612a3.486 3.486 0 0 0 0-6.971H59.902a3.486 3.486 0 0 0-3.486 3.485Zm0 13.714a3.486 3.486 0 0 0 3.485 3.486h30.612a3.486 3.486 0 0 0 0-6.971H59.902a3.486 3.486 0 0 0-3.486 3.485Z"]],template:function(x,B){if(1&x&&(n.NAR(),n.j41(0,"div",2),n.DNE(1,L,2,8,"img",3)(2,C,2,1,"ng-container",4)(3,w,3,4,"span",5)(4,M,2,4,"span",6)(5,q,1,0,"ng-template",null,0,n.C5r),n.k0s(),n.DNE(7,z,17,4,"ng-template",null,1,n.C5r)),2&x){const j=n.sdS(6);n.Y8G("ngClass",n.l_i(6,E,"default"===B.size,"sm"===B.size)),n.R7$(),n.Y8G("ngIf",B.imgSrc&&!B.imageError),n.R7$(),n.Y8G("ngIf",B.imageError),n.R7$(),n.Y8G("ngIf",B.label),n.R7$(),n.Y8G("ngIf",B.showActionText&&B.actionText)("ngIfElse",j)}},dependencies:[m.YU,m.bT,m.T3,T.d,O.V],styles:[".img-sm[_ngcontent-%COMP%]{width:50px;height:50px}.img-md[_ngcontent-%COMP%]{width:70px;height:70px}.label[_ngcontent-%COMP%]{max-width:220px;color:#5a7186;text-align:center}.action[_ngcontent-%COMP%]{font-size:.9rem;color:#5a7186;text-decoration:underline;cursor:pointer}.action-not-clickable[_ngcontent-%COMP%]{cursor:default;text-decoration:none}.eim-forms_form-control[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{height:50px;justify-content:center}.eim-forms_form-control[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding:0!important;text-align:left!important;margin-top:10px}"],changeDetection:0})}return U})()},69138:(at,N,s)=>{"use strict";s.d(N,{b:()=>T});var n=s(60177),a=s(85382),g=s(35046),m=s(93953);let T=(()=>{class O{static#e=this.\u0275fac=function(y){return new(y||O)};static#t=this.\u0275mod=m.$C({type:O});static#n=this.\u0275inj=m.G2t({imports:[n.MD,a.T,g.c]})}return O})()},17509:(at,N,s)=>{"use strict";s.d(N,{E:()=>C});var n=s(93953),a=s(67376),m=s(21413),T=s(70152),O=s(23294),D=s(25793),E=s(60177),y=s(36193),I=s(89417),b=s(99213);function L(w,M){if(1&w){const q=n.RV6();n.j41(0,"button",6),n.bIt("click",function(){n.eBV(q);const F=n.XpG();return n.Njj(F.filter.emit())}),n.nrm(1,"mat-icon",7),n.k0s()}if(2&w){const q=n.XpG();n.Y8G("disabled",q.disabled)}}function o(w,M){if(1&w){const q=n.RV6();n.j41(0,"button",8),n.bIt("click",function(){n.eBV(q);const F=n.XpG();return n.Njj(F.add.emit())}),n.nrm(1,"mat-icon",9),n.k0s()}if(2&w){const q=n.XpG();n.Y8G("disabled",q.disabled)}}let C=(()=>{class w{constructor(){this._show=!0,this._showFilterButton=!1,this.showFilter=!1,this.disabled=!1,this.hierarchicalSearchList=[],this.listItemsEvent=new n.bkB,this.filterTextChange=new n.bkB,this.delayTime=1e3,this.queryChanged=new m.B,this.add=new n.bkB,this.filter=new n.bkB}set showAddButton(q){this._show=q,this.setShowAdd()}set showFilterButton(q){this._showFilterButton=q,this.setShowFilter()}ngOnInit(){this.setShowAdd(),this.setShowFilter(),this.subscription=this.queryChanged.pipe((0,T.B)(this.delayTime),(0,O.F)()).subscribe(q=>{this.filterText=q,this.hierarchicalSearchList?.length?this.findSearchList(q):this.filterTextChange.emit(this.filterText)})}findSearchList(q){let z=[];z=q?.length>0?this.hierarchicalSearchList.filter(F=>(0,a.toLower)((0,D.YN)((0,a.get)(F,"label","")))?.indexOf((0,a.toLower)(q))>-1):null,this.triggerListItemsEvent(z)}triggerListItemsEvent(q){this.listItemsEvent.emit(q)}setShowAdd(){this.showAdd=this._show&&this.addButtonConnected()}setShowFilter(){this.showFilter=this._showFilterButton&&this.filterButtonConnected()}addButtonConnected(){return(0,a.get)(this,"add.observers.length",0)>0}filterButtonConnected(){return(0,a.get)(this,"filter.observers.length",0)>0}onFieldChange(q){this.queryChanged.next(q)}ngOnDestroy(){this.subscription?.unsubscribe()}static#e=this.\u0275fac=function(z){return new(z||w)};static#t=this.\u0275cmp=n.VBU({type:w,selectors:[["app-filter-and-add"]],inputs:{filterText:"filterText",placeholder:"placeholder",disabled:"disabled",hierarchicalSearchList:"hierarchicalSearchList",showAddButton:"showAddButton",showFilterButton:"showFilterButton",delayTime:"delayTime"},outputs:{listItemsEvent:"listItemsEvent",filterTextChange:"filterTextChange",add:"add",filter:"filter"},decls:6,vars:5,consts:[[1,"d-flex","align-items-center"],[1,"search-input","flex-grow-1"],[1,"search-input-icon","mdi","mdi-search"],["type","text","enterkeyhint","search","title","search","role","search",1,"form-control",3,"ngModelChange","placeholder","ngModel","disabled"],["type","button","data-test","filter-and-filter-button","class","ml-3 btn btn-secondary eim-button_minimized","data-test","filterButton","title","Filter",3,"disabled","click",4,"ngIf"],["class","eim-button_minimized btn btn-secondary btn-add ml-3","data-test","filter-and-add-button","title","Add",3,"disabled","click",4,"ngIf"],["type","button","data-test","filter-and-filter-button","data-test","filterButton","title","Filter",1,"ml-3","btn","btn-secondary","eim-button_minimized",3,"click","disabled"],["svgIcon","filter",1,"eim-icon_sm","eim-color_icon"],["data-test","filter-and-add-button","title","Add",1,"eim-button_minimized","btn","btn-secondary","btn-add","ml-3",3,"click","disabled"],["svgIcon","plus"]],template:function(z,F){1&z&&(n.j41(0,"div",0)(1,"div",1),n.nrm(2,"span",2),n.j41(3,"input",3),n.bIt("ngModelChange",function(k){return F.onFieldChange(k)}),n.k0s()(),n.DNE(4,L,2,1,"button",4)(5,o,2,1,"button",5),n.k0s()),2&z&&(n.R7$(3),n.Y8G("placeholder",F.placeholder||"")("ngModel",F.filterText)("disabled",F.disabled),n.R7$(),n.Y8G("ngIf",F.showFilter),n.R7$(),n.Y8G("ngIf",F.showAdd))},dependencies:[E.bT,y.d,I.me,I.BC,I.vS,b.An],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}return w})()},48952:(at,N,s)=>{"use strict";s.d(N,{J:()=>D});var n=s(60177),a=s(89417),g=s(99213),m=s(35046),T=s(31741),O=s(93953);let D=(()=>{class E{static#e=this.\u0275fac=function(b){return new(b||E)};static#t=this.\u0275mod=O.$C({type:E});static#n=this.\u0275inj=O.G2t({imports:[n.MD,m.c,a.YN,g.m_,m.c,T.J]})}return E})()},42017:(at,N,s)=>{"use strict";s.d(N,{L:()=>O});var n=s(67376),g=s(25793),m=s(40673),T=s(93953);let O=(()=>{class D{transform(y,I,b,L=!1){if(!y||!y.length||!I)return y;L||(I=I.toLowerCase());const o=[];for(const C of y)if(b&&b.length)for(const w of b){const M=(0,n.get)(C,w,"");if(M){const q=(0,g.YN)(M);if(-1!==(L?q:q.toLowerCase()).indexOf(I)){o.push(C);break}}}else if(this.isII18nValuesType(C)){const w=(0,g.YN)(C);if(-1!==(L?w:w.toLowerCase()).indexOf(I)){o.push(C);break}}return o}isII18nValuesType(y){if((0,n.isString)(y))return!0;for(const I of m.Ay.ACCEPTABLE_LOCALE_IDS)if((0,n.has)(y,I))return!0;return!1}static#e=this.\u0275fac=function(I){return new(I||D)};static#t=this.\u0275pipe=T.EJ8({name:"filter",type:D,pure:!0})}return D})()},98390:(at,N,s)=>{"use strict";s.d(N,{H:()=>L});var n=s(67376),a=s(93953),g=s(60177),m=s(42068);let T=(()=>{class o{transform(w){if(0===w.indexOf("#")&&(w=w.slice(1)),3===w.length&&(w=w[0]+w[0]+w[1]+w[1]+w[2]+w[2]),6!==w.length)throw new Error("Invalid HEX color.");return.299*parseInt(w.slice(0,2),16)+.587*parseInt(w.slice(2,4),16)+.114*parseInt(w.slice(4,6),16)>186?"#000000":"#FFFFFF"}static#e=this.\u0275fac=function(M){return new(M||o)};static#t=this.\u0275pipe=a.EJ8({name:"contrastColor",type:o,pure:!0})}return o})(),O=(()=>{class o{transform(w){return w.map(M=>M.name).join(",")}static#e=this.\u0275fac=function(M){return new(M||o)};static#t=this.\u0275pipe=a.EJ8({name:"moreTooltipConverter",type:o,pure:!0})}return o})();const D=o=>({"mb-4":o});function E(o,C){if(1&o&&(a.qex(0),a.j41(1,"div",5)(2,"span",6),a.nI1(3,"contrastColor"),a.EFF(4),a.nI1(5,"shorten"),a.k0s()(),a.bVm()),2&o){const w=a.XpG().$implicit,M=a.XpG(2);a.R7$(),a.xc7("background-color",null==w?null:w.color),a.Y8G("title",null==w?null:w.name),a.R7$(),a.xc7("color",a.bMT(3,6,null==w?null:w.color)),a.R7$(2),a.JRh(a.i5U(5,8,null==w?null:w.name,M.textLimit))}}function y(o,C){if(1&o&&(a.qex(0),a.DNE(1,E,6,11,"ng-container",1),a.bVm()),2&o){const w=C.$implicit;a.R7$(),a.Y8G("ngIf",null==w?null:w.name)}}function I(o,C){if(1&o&&(a.j41(0,"div",7),a.nI1(1,"moreTooltipConverter"),a.j41(2,"span",8),a.nI1(3,"moreTooltipConverter"),a.pXf(4,0),a.k0s()()),2&o){const w=a.XpG(2);a.xc7("background-color","#0f8062"),a.Y8G("title",a.bMT(1,4,w.labels)),a.R7$(2),a.Y8G("title",a.bMT(3,6,w.labels))}}function b(o,C){if(1&o&&(a.qex(0),a.j41(1,"div",2),a.DNE(2,y,2,1,"ng-container",3)(3,I,5,8,"div",4),a.k0s(),a.bVm()),2&o){const w=a.XpG();a.R7$(),a.Y8G("ngClass",a.eq3(3,D,w.addMargin)),a.R7$(),a.Y8G("ngForOf",w.messageLabelsByScreenSize),a.R7$(),a.Y8G("ngIf",w.showMessageLabelMoreButton)}}let L=(()=>{class o{constructor(w,M){this.cdRef=w,this.host=M,this.addMargin=!0,this.messageLabelsByScreenSize=[],this.textLimit=25,this.totalLabelWidth=0,this.marginWidth=10,this.moreButtonWidth=72}ngOnChanges(w){w?.labels&&this.showMessageLabelMoreOnScreenResize&&this.labels.length>1?(this.totalLabelWidth=this.calculateTotalLabelsWidth(this.labels),this.updateLabelsByScreenSize()):this.messageLabelsByScreenSize=this.labels}ngOnInit(){this.showMessageLabelMoreOnScreenResize?this.screenResizeObserver():this.messageLabelsByScreenSize=this.labels}screenResizeObserver(){new ResizeObserver(M=>{this.hostWidth=M[0]?.contentRect?.width,this.updateLabelsByScreenSize()}).observe(this.host.nativeElement)}calculateTotalLabelsWidth(w){let M=0;return(0,n.isEmpty)(w)||w.forEach(q=>{q.elementOffsetWidth=q?.name?.length>this.textLimit?this.getElementWidthByText(q.name.slice(0,this.textLimit+3),"Lato","0.9rem")+this.marginWidth:this.getElementWidthByText(q.name,"Lato","0.9rem")+this.marginWidth,M+=q?.elementOffsetWidth}),M}updateLabelsByScreenSize(){this.labels?.length&&this.totalLabelWidth&&this.totalLabelWidth>this.hostWidth?(this.showMessageLabelMoreButton=!0,this.arrangingLabels()):(this.showMessageLabelMoreButton=!1,this.messageLabelsByScreenSize=(0,n.cloneDeep)(this.labels)),this.cdRef.detectChanges()}arrangingLabels(){let w=0;this.messageLabelsByScreenSize=[],this.labels.forEach(M=>{w+=M?.elementOffsetWidth,w+this.moreButtonWidth<this.hostWidth&&this.messageLabelsByScreenSize.push(M)})}getElementWidthByText(w,M,q){const z=document.createElement("span");z.style.visibility="hidden",z.style.fontFamily=M,z.style.fontSize=q,z.style.whiteSpace="nowrap",z.style.paddingLeft="14px",z.style.paddingRight="14px",z.style.fontWeight="700",z.textContent=w,document.body.appendChild(z);const F=z.getBoundingClientRect().width;return document.body.removeChild(z),F}static#e=this.\u0275fac=function(M){return new(M||o)(a.rXU(a.gRc),a.rXU(a.aKT))};static#t=this.\u0275cmp=a.VBU({type:o,selectors:[["app-labels"]],inputs:{labels:"labels",showMessageLabelMoreOnScreenResize:"showMessageLabelMoreOnScreenResize",addMargin:"addMargin"},features:[a.OA$],decls:1,vars:1,consts:()=>{let w;return w="+more",[w,[4,"ngIf"],["attr.id","labels",1,"d-flex","flex-row","justify-content-start","flex-wrap",3,"ngClass"],[4,"ngFor","ngForOf"],["class","tally-pill m-1 chip label-container",3,"title","backgroundColor",4,"ngIf"],["attr.id","label.$tip",1,"tally-pill","m-1","chip","label-container",3,"title"],[1,"font-weight-bold","labe-name"],[1,"tally-pill","m-1","chip","label-container",3,"title"],[1,"font-weight-bold","labe-name",3,"title"]]},template:function(M,q){1&M&&a.DNE(0,b,4,5,"ng-container",1),2&M&&a.Y8G("ngIf",q.messageLabelsByScreenSize)},dependencies:[g.YU,g.Sq,g.bT,m.i,T,O],styles:["[_nghost-%COMP%]{display:block;flex:1}.label-name[_ngcontent-%COMP%]{font-size:1rem!important}.label-container[_ngcontent-%COMP%]{line-height:1.4rem!important}"],changeDetection:0})}return o})()},33471:(at,N,s)=>{"use strict";s.d(N,{Y:()=>T});var n=s(60177),a=s(43776),g=s(93953);let m=(()=>{class O{static#e=this.\u0275fac=function(y){return new(y||O)};static#t=this.\u0275mod=g.$C({type:O});static#n=this.\u0275inj=g.G2t({imports:[n.MD]})}return O})(),T=(()=>{class O{static#e=this.\u0275fac=function(y){return new(y||O)};static#t=this.\u0275mod=g.$C({type:O});static#n=this.\u0275inj=g.G2t({imports:[n.MD,a.E,m]})}return O})()},61386:(at,N,s)=>{"use strict";s.d(N,{b:()=>T});var n=s(2937),a=s(93953),g=s(59482);function m(O,D){if(1&O){const E=a.RV6();a.j41(0,"app-side-sheet-list-item",8),a.bIt("toggle",function(){const I=a.eBV(E).$implicit,b=a.XpG();return a.Njj(b.toggleLayerVisibility(I))}),a.j41(1,"div",4)(2,"div",5)(3,"div",6),a.EFF(4),a.k0s()()()()}if(2&O){const E=D.$implicit,y=a.XpG();a.Y8G("value",y.value[E].visible)("toggleType",y.toggleTypes.MULTI_CHECK),a.R7$(4),a.JRh(y.value[E].layer.name)}}let T=(()=>{class O{constructor(E){this.layerControlLegendService=E,this.objectKeys=Object.keys,this.toggleTypes=n.T,this.allChecked=!0}ngOnInit(){Object.keys(this.value).some(E=>{if(!this.value[E].visible)return this.allChecked=!1,!0})}toggleAllVisibility(){this.allChecked=!this.allChecked,Object.keys(this.value).forEach(E=>this.value[E].visible=this.allChecked),this.layerControlLegendService.visibility$.next([this.value,this.serviceId])}toggleLayerVisibility(E){this.value[E].visible=!this.value[E].visible;let y=!0;Object.keys(this.value).some(I=>{if(!this.value[I].visible)return y=!1,!0}),this.allChecked=y,this.layerControlLegendService.visibility$.next([this.value,this.serviceId])}static#e=this.\u0275fac=function(y){return new(y||O)(a.rXU(g.X))};static#t=this.\u0275cmp=a.VBU({type:O,selectors:[["app-layer-control-legend-side-sheet"]],decls:10,vars:4,consts:()=>{let E,y;return E="Layers and legend",y="View all layers",[E,y,[3,"showBorder"],[3,"toggle","toggleType","value"],[1,"d-flex","justify-content-between","align-items-center"],[1,"d-flex","align-items-center","flex-grow-1"],[1,"py-3"],[3,"value","toggleType","toggle",4,"ngFor","ngForOf"],[3,"toggle","value","toggleType"]]},template:function(y,I){1&y&&(a.j41(0,"app-side-sheet-header"),a.pXf(1,0),a.k0s(),a.j41(2,"app-side-sheet-section",2)(3,"app-side-sheet-list-item",3),a.bIt("toggle",function(){return I.toggleAllVisibility()}),a.j41(4,"div",4)(5,"div",5)(6,"div",6)(7,"strong"),a.pXf(8,1),a.k0s()()()()(),a.DNE(9,m,5,3,"app-side-sheet-list-item",7),a.k0s()),2&y&&(a.R7$(2),a.Y8G("showBorder",!1),a.R7$(),a.Y8G("toggleType",I.toggleTypes.MULTI_CHECK)("value",I.allChecked),a.R7$(6),a.Y8G("ngForOf",I.objectKeys(I.value)))}})}return O})()},59482:(at,N,s)=>{"use strict";s.d(N,{X:()=>g});var n=s(21413),a=s(93953);let g=(()=>{class m{constructor(){this.visibility$=new n.B}static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275prov=a.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})()},70834:(at,N,s)=>{"use strict";s.d(N,{JZ:()=>Pe,yV:()=>Le,QF:()=>Be,rz:()=>Ae,cR:()=>le,J3:()=>de,Wu:()=>pe,vx:()=>K});var n=s(60177),a=s(93953),g=s(33513),m=s(85358),T=s(67376),O=s(22806),D=s(28793),E=s(7673),y=s(84572),I=s(64058),b=s(96354),L=s(61594),o=s(25558),C=s(99437),w=s(50835),M=s(10532),q=s(55596),z=s(17338),F=s(61386),U=s(71450),k=s(97586),Y=s.n(k),B=s(32099),j=s(50337),$=s(37347),H=s(76087),ie=s(78798),ne=s(63137);const Q=/{=(\w+)}/gm;var le=function(Ye){return Ye.POINT="point",Ye.POLYLINE="polyline",Ye.POLYGON="polygon",Ye.RECTANGLE="rectangle",Ye.ADDRESS="address",Ye.OFFLINE_AREA="offline_area",Ye}(le||{});const pe={[le.POINT]:le.POINT,[le.POLYLINE]:le.POLYLINE,[le.POLYGON]:le.POLYGON,[le.RECTANGLE]:le.RECTANGLE,[le.OFFLINE_AREA]:le.RECTANGLE,[le.ADDRESS]:le.POINT},te={[M.lI.NOGGIN_QUERY]:"esri/layers/FeatureLayer",[M.lI.EXTERNAL_GEOJSON]:"esri/layers/GeoJSONLayer",[M.lI.EXTERNAL_GEORSS]:"esri/layers/GeoRSSLayer",[M.lI.EXTERNAL_KML]:"esri/layers/KMLLayer",[M.lI.EXTERNAL_WMS]:"esri/layers/WMSLayer",[M.lI.ESRI_FEATURE_LAYER]:"esri/layers/FeatureLayer",[M.lI.ESRI_DYNAMIC_MAP_SERVICE]:"esri/layers/MapImageLayer",[M.lI.ESRI_TILED_MAP_SERVICE]:"esri/layers/TileLayer",[M.lI.ESRI_VECTOR_TILE_SERVICE]:"esri/layers/VectorTileLayer",[M.lI.ESRI_IMAGE_SERVICE]:"esri/layers/ImageryLayer"},ae=Ye=>"development"===w.c.release?`/${Ye}`:`/assets/${w.c.release}/${Ye}`,K={type:"picture-marker",height:38,width:38,yoffset:19,url:ae("assets/img/maps/generic-marker.png"),color:null},de={type:"picture-marker",height:38,width:38,yoffset:19,url:ae("assets/img/maps/generic-active-marker.png"),color:null},me={type:"simple-fill",color:[150,150,150,.2],outline:{color:[50,50,50],width:2}},be={type:"simple-marker",style:"circle",color:"white",size:"15px",outline:{color:[0,0,0],width:3}},Le=15,Ae="open-object",Oe={[le.POINT]:K,[le.POLYLINE]:{type:"simple-line",color:[130,130,130,1],width:2},[le.POLYGON]:me,[le.RECTANGLE]:me,[le.OFFLINE_AREA]:me,[le.ADDRESS]:K},Pe=20;let Be=(()=>{class Ye{constructor(Lt,Vt,ht,gt,Ge,Se,ke,Ne,Je){this.loggerService=Lt,this.gisService=Vt,this.sideSheetService=ht,this.currentDatetimeService=gt,this.mapService=Ge,this.formulaService=Se,this.domainDiscoveryService=ke,this.enSrvService=Ne,this.locale=Je,this.layerCache=[],this.maxLayerCacheSize=500,this.moment=Y(),(0,m.loadScript)({version:"4.23",url:w.c.arcgisSdkPath}),Ye.loadModules(["esri/config","esri/geometry/support/jsonUtils","esri/geometry/Extent"]).subscribe(([Qe,rt,ft])=>{this.esri={jsonUtils:rt,Extent:ft};const Xt={headers:this.gisService.getAuthHeaders(),urls:q.q9,before:It=>{const In=new URL(this.getAlternativeDomain(It.url)),Kt=/^(\/gis\/esri\/layer\/[^\/]{10,100}\/([^\/]{10,100}))\/([^\/]+)\/(true|false)(.*)$/.exec(In.pathname);if(Kt&&(It.requestOptions.query.lastPersist=this.enSrvService.getLastPersist(decodeURIComponent(Kt[2]))||"",It.requestOptions.query.vars=decodeURIComponent(Kt[3]),It.requestOptions.query.withExtent=decodeURIComponent(Kt[4]),In.pathname=Kt[1]+Kt[5],It.url=(Ye=>{const{protocol:Ct,hostname:Lt,port:Vt,pathname:ht,hash:gt,host:Ge,search:Se}=Ye;let ke="";Ct&&(ke+=`${Ct}//`),Lt?ke+=Lt:Ge&&(ke+=Ge),Vt&&(ke+=`:${Vt}`);try{const Ne=new URL(ke);return ht&&(Ne.pathname=ht),gt&&(Ne.hash=gt.startsWith("#")?gt:`#${gt}`),Se&&(Ne.search="string"==typeof Se?Se.startsWith("?")?Se:`?${Se}`:new URLSearchParams(Se).toString()),Ne.href}catch(Ne){throw Ne}})(In)),It.url.endsWith("/query"))return this.getFromLayerQueryCache(It.url,It.requestOptions)},after:It=>{if(It.url.endsWith("/query"))return this.setLayerQueryCache(It.url,It.requestOptions,It.data),this.clipFeatures(It.data,It.requestOptions)},error:It=>{429===(0,T.get)(It,"details.httpStatus")&&(0,T.get)(It,"details.url","").endsWith("/query")&&(this.tooManyRequestsHandler&&clearTimeout(this.tooManyRequestsHandler),this.tooManyRequestsHandler=setTimeout(()=>this.tooManyRequestsHandler=null,6e4)),"AbortError"!==It.name&&Lt.error("[MapUtilService/error] Failed response from GIS Service"+JSON.stringify((0,T.get)(It,"details",It)))}};Qe.request.interceptors=[Xt]})}clipFeatures(Lt,Vt){try{const ht=this.getRequestExtent(Vt),gt=Vt.query.outSR||102100;return{...Lt,features:Lt.features.reduce((Ge,Se)=>{const ke=this.esri.jsonUtils.fromJSON({...Se.geometry,spatialReference:{wkid:gt}});return ht.intersects(ke)&&Ge.push({...Se,geometry:ke.toJSON()}),Ge},[])}}catch(ht){return this.loggerService.warn("[MapUtilService/clipFeatures] Failed to filter features",{error:ht&&ht.message?ht.message:ht}),Lt}}getRequestExtent(Lt){if("esriGeometryEnvelope"!==(0,T.get)(Lt,"query.geometryType"))throw new Error("Cannot get extent unless geometry type is esriGeometryEnvelope");const Vt=JSON.parse((0,T.get)(Lt,"query.geometry",{}));return this.esri.Extent.fromJSON({...Vt,spatialReference:{wkid:Lt.query.inSR||102100}})}getFromLayerQueryCache(Lt,Vt){try{const ht=this.layerQueryCacheKey(Lt,Vt),gt=this.getRequestExtent(Vt),Ge=(0,T.get)(Vt,"query.lastPersist",null),Se=Math.max(this.moment().subtract(6e4,"ms").valueOf(),Ge?this.moment(Ge).valueOf():0);for(let ke=this.layerCache.length-1;ke>=0;ke--){const Ne=this.layerCache[ke];if(ht===Ne.cacheKey&&(this.tooManyRequestsHandler||Ne.cachedAt>=Se)&&Ne.extent.contains(gt))return this.layerCache.push(...this.layerCache.splice(ke,1)),this.clipFeatures(Ne.data,Vt)}}catch(ht){this.loggerService.warn("[MapUtilService/getFromLayerQueryCache] Failed to fetch from layer query cache",{error:ht&&ht.message?ht.message:ht})}}setLayerQueryCache(Lt,Vt,ht){try{const Se={cacheKey:this.layerQueryCacheKey(Lt,Vt),extent:this.getRequestExtent(Vt),cachedAt:this.moment().valueOf(),data:ht};this.layerCache.push(Se),this.layerCache.length>this.maxLayerCacheSize&&this.layerCache.shift()}catch(gt){this.loggerService.warn("[MapUtilService/setLayerQueryCache] Failed to write to layer query cache",{error:gt&&gt.message?gt.message:gt})}}layerQueryCacheKey(Lt,Vt){const ht=(0,T.cloneDeep)({url:Lt,requestOptions:(0,T.omit)(Vt,["getHeaders","signal"])});return(0,T.set)(ht,"requestOptions.query",(0,T.omit)((0,T.get)(ht,"requestOptions.query",{}),["geometry","lastPersist","maxAllowableOffset"])),(0,T.set)(ht,"requestOptions.query.vars",JSON.stringify((0,T.omit)(JSON.parse((0,T.get)(ht,"requestOptions.query.vars","{}")),"---NOW---"))),JSON.stringify(ht)}static loadModules(Lt){return(0,O.H)((0,m.loadModules)(Lt))}static getExistingLayerIndex(Lt,Vt){return Vt.findIndex(ht=>ht.id.split("-")[0]===Lt.$sid)}static getExistingLayer(Lt,Vt){const ht=Ye.getExistingLayerIndex(Lt,Vt);return ht<0?null:Vt.getItemAt(ht)}static getLayerById(Lt,Vt){return Vt.find(ht=>ht.id===Lt)}static generateLayerId(Lt){return`${Lt.$sid}-${Lt.dataSource.$sid}`}loadGeoJSONtoGraphicsLayer(Lt,Vt,ht,gt,Ge=!1,Se){Ye.loadModules(["esri/Graphic","esri/geometry/support/jsonUtils","esri/geometry/support/webMercatorUtils"]).subscribe(([ke,Ne,Je])=>{let Qe=Ne.fromJSON((0,g.iI)(Lt));!ht.spatialReference.isWGS84&&ht.spatialReference.isWebMercator&&(Qe=Je.geographicToWebMercator(Qe));const ft=new ke({geometry:Qe,symbol:Ge&&Se?be:Oe[gt]});Vt.add(ft),ht.goTo(Ge||gt===le.POINT||gt===le.ADDRESS?{target:ft,zoom:Le}:ft),Ge&&Se&&ht.popup.open({...Se,location:Qe})},ke=>{this.loggerService.error(`Error loading GeoJSON to layer: ${ke}`)})}refreshLayers(Lt,Vt,ht=[{},{}],gt){const Ge=Lt.map(Se=>Ye.generateLayerId(Se));return Vt.filter(Se=>-1===Ge.indexOf(Se.id)&&"sketchLayer"!==Se.id).forEach(Se=>Vt.remove(Se)),(0,D.x)(...Lt.map(Se=>this.addLayer(Se,Vt,ht,this.layerExtentOption(gt,Se)))).pipe((0,I.$)(),(0,b.T)(()=>(Ge.forEach((Se,ke)=>{Vt.reorder(Ye.getLayerById(Se,Vt),ke)}),Vt.toArray())))}layerExtentOption(Lt,Vt){if((0,T.isEmpty)(Lt))return(0,E.of)(!1);switch(Lt.type){case M.xR.ALL_LAYERS:return(0,E.of)(!0);case M.xR.LOCATION:case M.xR.POLYGON:return(0,E.of)(!1);case M.xR.LAYER:return(0,E.of)(!!(0,T.get)(Lt,"layer[0].$tip")&&(0,T.get)(Lt,"layer").some(ht=>(0,T.get)(Vt,"$tip")===ht.$tip));case M.xR.DEFAULT:return this.mapService.getDefaultExtent().pipe((0,L.$)(),(0,o.n)(ht=>this.layerExtentOption(ht)))}}addLayer(Lt,Vt,ht,gt){const Ge=Ye.generateLayerId(Lt),Se=Ye.getLayerById(Ge,Vt);return Se?(0,E.of)(Se):gt.pipe((0,o.n)(ke=>this.buildLayer(Ge,Lt,ht,ke)),(0,b.T)(ke=>{const Ne=Ye.getExistingLayerIndex(Lt,Vt);return-1===Ne?Vt.add(ke):Vt.splice(Ne,1,ke),ke}))}buildLayer(Lt,Vt,ht,gt){if(Vt.dataSource.type===M.lI.MAPBOX_VECTOR_TILES)return(0,E.of)();let Ge;const Se={};return Vt.dataSource.type!==M.lI.NOGGIN_QUERY?(Ge=Vt.dataSource.config.url,Vt.dataSource.config.sublayerName&&(Se.sublayers=[{name:Vt.dataSource.config.sublayerName}]),(0,T.isEmpty)(Vt.dataSource.config.featureQuery)||(Se.definitionExpression=Vt.dataSource.config.featureQuery.replace(Q,(Ne,Je)=>(0,T.head)(ht[1][Je]))),this.buildEsriLayer(Lt,Vt,Ge,Se)):(Ge=`${this.gisService.getQueryLayerUrl(Vt.$tip)}/${encodeURIComponent(JSON.stringify(this.addNowVarToVars(ht[0])))}/${gt}`,U.l.isPlaceholderFormula(Vt.dataSource.config.query?.geographyField,U.x.REALTIME_LOCATION)&&(Se.refreshInterval=Pe/60),this.buildPopupTemplate((0,T.get)(Vt,"dataSource.config.query.fields")).pipe((0,o.n)(Ne=>(Se.popupTemplate=Ne,this.buildEsriLayer(Lt,Vt,Ge,Se)))))}calculateRefreshIntervalMinutes(Lt,Vt){return Vt<10&&(Vt=10),Number((Vt*(22/(0===Lt?1:Lt))/60).toFixed(1))}buildEsriLayer(Lt,Vt,ht,gt){return Ye.loadModules([te[Vt.dataSource.type]]).pipe((0,b.T)(([Ge])=>new Ge({id:Lt,title:Vt.name,url:ht,opacity:Vt.opacity?Vt.opacity/100:1,...gt,...Vt.isCluster?{featureReduction:this.getClusterConfig()}:{}})),(0,C.W)(Ge=>(this.loggerService.error(`Error building a layer: ${Ge}`),(0,E.of)(Ge))))}getTypeTip(Lt){let Vt;switch(Lt.name){case"CONTEXT":Vt=(0,T.get)(Lt,"args[1].args[0]");break;case"CONCAT":Vt=(0,T.get)(Lt,"args[0].args[0].args[0]");break;default:Vt=(0,T.get)(Lt,"args[0]")}return Vt}buildPopupTemplate(Lt){return Ye.loadModules(["esri/popup/content/FieldsContent","esri/popup/FieldInfo"]).pipe((0,o.n)(([Vt,ht])=>{const gt=this.generateNogginQueryPopupTemplate(Vt,ht);if((0,T.isEmpty)(Lt))return(0,E.of)(gt);const Ge=Lt.map(Se=>{const ke=this.formulaService.parse(Se),Je=`FIELD("field/label", "${this.getTypeTip(ke)}")`;return this.formulaService.evaluate(Je)});return(0,y.z)(Ge).pipe((0,L.$)(),(0,b.T)(Se=>({...gt,content:ke=>{const Je=(0,T.get)(ke,"graphic.layer.fields",(0,T.get)(ke,"graphic.sourceLayer.fields")).filter(({name:Qe})=>"OBJECTID"!==Qe&&"OBJECTTITLE"!==Qe).map((Qe,rt)=>{const ft=(0,T.get)(Se,`[${rt}][0]`,Qe.alias);return new ht({fieldName:Qe.name,label:ft})});return[new Vt({fieldInfos:Je})]}})))}))}addNowVarToVars(Lt){return{...Lt,[z.t]:[this.currentDatetimeService.getCurrentDatetime()]}}openLayerControlLegendSideSheet(Lt,Vt){const gt=this.sideSheetService.push(F.b).componentInstance;gt.value=Lt,gt.serviceId=Vt}formatPointCoordinates(Lt){return(0,T.get)(Lt,"coordinates",[]).slice().reverse().map(ht=>(0,n.ZV)(ht,this.locale,"1.0-5")).join(", ")}extractReplacementFromFeatureQueries(Lt){let Vt=[];return Lt.join().replace(Q,(ht,gt)=>(Vt=(0,T.union)(Vt,[gt]),"")),Vt}mockFilterInputsFromFeatureQueries(Lt){return this.extractReplacementFromFeatureQueries(Lt).map(Vt=>({variable:{name:Vt,type:null},value:"",by:null}))}getAlternativeDomain(Lt){let Vt=Lt;if("http/1.1"===(0,T.get)(performance.getEntriesByType("navigation"),"[0].nextHopProtocol","h2")){const gt=this.domainDiscoveryService.getDomainToUse();Vt=Lt.replace(w.c.host,`https://${gt}`)}return Vt}generateNogginQueryPopupTemplate(Lt,Vt){return{title:"{OBJECTTITLE}",outFields:["*"],actions:[{title:"Open object",id:Ae,className:"esri-icon-launch-link-external"}],content:gt=>[new Lt({type:"fields",fieldInfos:(0,T.get)(gt,"graphic.layer.fields",(0,T.get)(gt,"graphic.sourceLayer.fields")).filter(({name:Ge})=>"OBJECTID"!==Ge&&"OBJECTTITLE"!==Ge).map(Ge=>new Vt({fieldName:Ge.name,label:Ge.alias}))})]}}getClusterConfig(){return{type:"cluster",clusterRadius:"100px",popupTemplate:{title:"Cluster summary",content:"This cluster represents {cluster_count} items",fieldInfos:[{fieldName:"cluster_count",format:{places:0,digitSeparator:!0}}]},clusterMinSize:"24px",clusterMaxSize:"60px",labelingInfo:[{deconflictionStrategy:"none",labelExpressionInfo:{expression:'Text($feature.cluster_count, "#,###")'},symbol:{type:"text",color:"white",font:{weight:"bold",family:"Noto Sans",size:"15px"},haloSize:1,haloColor:"black"},labelPlacement:"center-center"}]}}static#e=this.\u0275fac=function(Vt){return new(Vt||Ye)(a.KVO(B.g),a.KVO(q.pw),a.KVO(j.E),a.KVO(z.Y),a.KVO($.u),a.KVO(H.C),a.KVO(ie.A),a.KVO(ne.w),a.KVO(a.xe9))};static#t=this.\u0275prov=a.jDH({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})()},68030:(at,N,s)=>{"use strict";s.d(N,{F:()=>D,G:()=>O});var n=s(93953),a=s(29968),g=s(10506),m=s(60177),T=s(36193);const O={ariaLabelledBy:"modal-basic-title",size:"sm",centered:!0};let D=(()=>{class E{constructor(I,b){this.modal=I,this.featureFlagService=b,this.objectType="item",this.cancelText="Cancel",this.confirmText="Delete",this.cancelButtonClass="btn-danger",this.resize=!1,this.isDelete=!0}setProps(I){Object.assign(this,I)}getBtnCancelClass(){let I="";return this.resize?(I="cancel-btn-padding ",I+=this.isDelete?"btn-cancel":"btn-delete"):I="btn-danger"===this.cancelButtonClass?this.isDelete?"btn-cancel":"btn-delete":this.cancelButtonClass,I}getBtnConfirmClass(){return this.isDelete?"btn-delete":"btn-primary-updated"}static#e=this.\u0275fac=function(b){return new(b||E)(n.rXU(a.Lw),n.rXU(g.F))};static#t=this.\u0275cmp=n.VBU({type:E,selectors:[["app-modal-confirm-deletion"]],decls:14,vars:10,consts:[[1,"modal-header","d-flex","flex-row","justify-content-center","align-items-center","p-3"],["id","modal-title",1,"modal-title"],["type","button","aria-label","Close","aria-describedby","modal-title","title","Close",1,"close","m-0","p-0",3,"click"],["aria-hidden","true"],[1,"modal-body","px-4","pt-5","pb-1"],[1,"modal-text","m-0"],[1,"d-flex","flex-row",3,"ngClass"],["data-test","cancel-delete-button","type","button",1,"btn","flex-fill",3,"click"],["data-test","confirm-delete-button","type","button","ngbAutofocus","",1,"btn","flex-fill",3,"click","ngClass"]],template:function(b,L){1&b&&(n.j41(0,"div",0)(1,"h4",1),n.EFF(2),n.k0s(),n.j41(3,"button",2),n.bIt("click",function(){return L.modal.dismiss()}),n.j41(4,"span",3),n.EFF(5,"\xd7"),n.k0s()()(),n.j41(6,"div",4)(7,"p",5),n.EFF(8),n.k0s()(),n.j41(9,"div",6)(10,"button",7),n.bIt("click",function(){return L.modal.close(!1)}),n.EFF(11),n.k0s(),n.j41(12,"button",8),n.bIt("click",function(){return L.modal.close(!0)}),n.EFF(13),n.k0s()()),2&b&&(n.R7$(2),n.SpI(" ",L.title||"Delete "+L.objectType," "),n.R7$(6),n.SpI(" ",L.message||"Do you really want to delete this "+L.objectType+"?"," "),n.R7$(),n.Y8G("ngClass",L.resize?"modal-footer modal-wrap":"modal-footer"),n.R7$(),n.HbH(L.getBtnCancelClass()),n.R7$(),n.SpI(" ",L.cancelText," "),n.R7$(),n.HbH(L.getBtnConfirmClass()),n.Y8G("ngClass",L.resize?"btn-padding":""),n.R7$(),n.SpI(" ",L.confirmText," "))},dependencies:[m.YU,T.d],styles:[".modal-header[_ngcontent-%COMP%]{background-color:#f9f9f9;height:53px;border-bottom:1px solid #D8D8D8}.modal-title[_ngcontent-%COMP%]{font-weight:400;font-size:1.2rem;padding-right:15px}.modal-text[_ngcontent-%COMP%]{font-size:1.2rem;text-align:center}.close[_ngcontent-%COMP%]{position:absolute;right:1rem;font-size:2rem}.modal-wrap[_ngcontent-%COMP%]{flex-wrap:unset!important}.btn-padding[_ngcontent-%COMP%]{padding:3px 2px!important}.cancel-btn-padding[_ngcontent-%COMP%]{padding:3px 6px!important}.btn-cancel[_ngcontent-%COMP%]{color:#54717d;background-color:#fff}.btn-delete[_ngcontent-%COMP%]{color:#fff;background-color:#c01}.btn-primary-updated[_ngcontent-%COMP%]{color:#fff;background-color:#01748e}"],changeDetection:0})}return E})()},54071:(at,N,s)=>{"use strict";s.d(N,{w:()=>b});var n=s(92771),a=s(21413),g=s(7673),m=s(99437),T=s(56977),O=s(55516),D=s(93953),E=s(51229),y=s(19937),I=s(32099);let b=(()=>{class o{constructor(w,M,q){this.queryService=w,this.toastService=M,this.logger=q,this.numberFormatMap$=new n.m(1),this.unsubscribe$=new a.B,this.queryService.execute1dFirst(O.R.GET_ALL_NUMBER_FORMATS).pipe((0,m.W)(z=>(this.logger.error("[number-format-service] error:",z),this.toastService.showWarningToast("Number formatting failed to load. Numbers may not be formatted."),(0,g.of)([]))),(0,T.Q)(this.unsubscribe$)).subscribe(z=>{this.numberFormatMap$.next(function L(o){const C=new Map;return o.forEach(w=>{C.set(w.$tip,w)}),C}(z))})}getNumberFormatMap(){return this.numberFormatMap$.asObservable()}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(M){return new(M||o)(D.KVO(E.c),D.KVO(y.f),D.KVO(I.g))};static#t=this.\u0275prov=D.jDH({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},39263:(at,N,s)=>{"use strict";s.d(N,{ZV:()=>ke});var n=s(61027),a=s(67376);function o(rt){return"string"==typeof rt&&(0,a.isEmpty)(rt)}function C(rt){return"number"==typeof rt?rt:parseFloat(rt)}a.memoize.Cache=WeakMap,(0,a.memoize)(function y(rt){const ft=["\xb6","\xbb","\xc0","\xc2","\xc4","\xc5","\xc6","\xdf","\xfd","\xfe","^"];let Xt=null;for(let It=0;It<ft.length;It++){const In=ft[It];let Kt=!0;rt.decimalSeparator&&(Kt=!rt.decimalSeparator.includes(In));let Ze=!0;if(rt.thousandsSeparator&&(Ze=!rt.thousandsSeparator.includes(In)),Kt&&Ze){Xt=In;break}}return Xt});var q=1e6,z=1e6,Y="[big.js] ",x=Y+"Invalid ",B=x+"decimal places",j=x+"rounding mode",$=Y+"Division by zero",H={},ie=void 0,ne=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function pe(rt,ft,Xt,It){var In=rt.c;if(Xt===ie&&(Xt=rt.constructor.RM),0!==Xt&&1!==Xt&&2!==Xt&&3!==Xt)throw Error(j);if(ft<1)It=3===Xt&&(It||!!In[0])||0===ft&&(1===Xt&&In[0]>=5||2===Xt&&(In[0]>5||5===In[0]&&(It||In[1]!==ie))),In.length=1,It?(rt.e=rt.e-ft+1,In[0]=1):In[0]=rt.e=0;else if(ft<In.length){if(It=1===Xt&&In[ft]>=5||2===Xt&&(In[ft]>5||5===In[ft]&&(It||In[ft+1]!==ie||1&In[ft-1]))||3===Xt&&(It||!!In[0]),In.length=ft,It)for(;++In[--ft]>9;)if(In[ft]=0,0===ft){++rt.e,In.unshift(1);break}for(ft=In.length;!In[--ft];)In.pop()}return rt}function te(rt,ft,Xt){var It=rt.e,In=rt.c.join(""),Kt=In.length;if(ft)In=In.charAt(0)+(Kt>1?"."+In.slice(1):"")+(It<0?"e":"e+")+It;else if(It<0){for(;++It;)In="0"+In;In="0."+In}else if(It>0)if(++It>Kt)for(It-=Kt;It--;)In+="0";else It<Kt&&(In=In.slice(0,It)+"."+In.slice(It));else Kt>1&&(In=In.charAt(0)+"."+In.slice(1));return rt.s<0&&Xt?"-"+In:In}H.abs=function(){var rt=new this.constructor(this);return rt.s=1,rt},H.cmp=function(rt){var ft,It=this.c,In=(rt=new this.constructor(rt)).c,Kt=this.s,Ze=rt.s,wn=this.e,zn=rt.e;if(!It[0]||!In[0])return It[0]?Kt:In[0]?-Ze:0;if(Kt!=Ze)return Kt;if(ft=Kt<0,wn!=zn)return wn>zn^ft?1:-1;for(Ze=(wn=It.length)<(zn=In.length)?wn:zn,Kt=-1;++Kt<Ze;)if(It[Kt]!=In[Kt])return It[Kt]>In[Kt]^ft?1:-1;return wn==zn?0:wn>zn^ft?1:-1},H.div=function(rt){var Xt=this.constructor,It=this.c,In=(rt=new Xt(rt)).c,Kt=this.s==rt.s?1:-1,Ze=Xt.DP;if(Ze!==~~Ze||Ze<0||Ze>q)throw Error(B);if(!In[0])throw Error($);if(!It[0])return rt.s=Kt,rt.c=[rt.e=0],rt;var wn,zn,di,jn,Di,Li=In.slice(),ms=wn=In.length,Rn=It.length,Qt=It.slice(0,wn),Wt=Qt.length,Yt=rt,Mn=Yt.c=[],ci=0,Ue=Ze+(Yt.e=this.e-rt.e)+1;for(Yt.s=Kt,Kt=Ue<0?0:Ue,Li.unshift(0);Wt++<wn;)Qt.push(0);do{for(di=0;di<10;di++){if(wn!=(Wt=Qt.length))jn=wn>Wt?1:-1;else for(Di=-1,jn=0;++Di<wn;)if(In[Di]!=Qt[Di]){jn=In[Di]>Qt[Di]?1:-1;break}if(!(jn<0))break;for(zn=Wt==wn?In:Li;Wt;){if(Qt[--Wt]<zn[Wt]){for(Di=Wt;Di&&!Qt[--Di];)Qt[Di]=9;--Qt[Di],Qt[Wt]+=10}Qt[Wt]-=zn[Wt]}for(;!Qt[0];)Qt.shift()}Mn[ci++]=jn?di:++di,Qt[0]&&jn?Qt[Wt]=It[ms]||0:Qt=[It[ms]]}while((ms++<Rn||Qt[0]!==ie)&&Kt--);return!Mn[0]&&1!=ci&&(Mn.shift(),Yt.e--,Ue--),ci>Ue&&pe(Yt,Ue,Xt.RM,Qt[0]!==ie),Yt},H.eq=function(rt){return 0===this.cmp(rt)},H.gt=function(rt){return this.cmp(rt)>0},H.gte=function(rt){return this.cmp(rt)>-1},H.lt=function(rt){return this.cmp(rt)<0},H.lte=function(rt){return this.cmp(rt)<1},H.minus=H.sub=function(rt){var ft,Xt,It,In,Kt=this,Ze=Kt.constructor,wn=Kt.s,zn=(rt=new Ze(rt)).s;if(wn!=zn)return rt.s=-zn,Kt.plus(rt);var di=Kt.c.slice(),jn=Kt.e,Di=rt.c,Li=rt.e;if(!di[0]||!Di[0])return Di[0]?rt.s=-zn:di[0]?rt=new Ze(Kt):rt.s=1,rt;if(wn=jn-Li){for((In=wn<0)?(wn=-wn,It=di):(Li=jn,It=Di),It.reverse(),zn=wn;zn--;)It.push(0);It.reverse()}else for(Xt=((In=di.length<Di.length)?di:Di).length,wn=zn=0;zn<Xt;zn++)if(di[zn]!=Di[zn]){In=di[zn]<Di[zn];break}if(In&&(It=di,di=Di,Di=It,rt.s=-rt.s),(zn=(Xt=Di.length)-(ft=di.length))>0)for(;zn--;)di[ft++]=0;for(zn=ft;Xt>wn;){if(di[--Xt]<Di[Xt]){for(ft=Xt;ft&&!di[--ft];)di[ft]=9;--di[ft],di[Xt]+=10}di[Xt]-=Di[Xt]}for(;0===di[--zn];)di.pop();for(;0===di[0];)di.shift(),--Li;return di[0]||(rt.s=1,di=[Li=0]),rt.c=di,rt.e=Li,rt},H.mod=function(rt){var ft,Xt=this,It=Xt.constructor,In=Xt.s,Kt=(rt=new It(rt)).s;if(!rt.c[0])throw Error($);return Xt.s=rt.s=1,ft=1==rt.cmp(Xt),Xt.s=In,rt.s=Kt,ft?new It(Xt):(In=It.DP,Kt=It.RM,It.DP=It.RM=0,Xt=Xt.div(rt),It.DP=In,It.RM=Kt,this.minus(Xt.times(rt)))},H.neg=function(){var rt=new this.constructor(this);return rt.s=-rt.s,rt},H.plus=H.add=function(rt){var ft,Xt,It,In=this,Kt=In.constructor;if(rt=new Kt(rt),In.s!=rt.s)return rt.s=-rt.s,In.minus(rt);var Ze=In.e,wn=In.c,zn=rt.e,di=rt.c;if(!wn[0]||!di[0])return di[0]||(wn[0]?rt=new Kt(In):rt.s=In.s),rt;if(wn=wn.slice(),ft=Ze-zn){for(ft>0?(zn=Ze,It=di):(ft=-ft,It=wn),It.reverse();ft--;)It.push(0);It.reverse()}for(wn.length-di.length<0&&(It=di,di=wn,wn=It),ft=di.length,Xt=0;ft;wn[ft]%=10)Xt=(wn[--ft]=wn[ft]+di[ft]+Xt)/10|0;for(Xt&&(wn.unshift(Xt),++zn),ft=wn.length;0===wn[--ft];)wn.pop();return rt.c=wn,rt.e=zn,rt},H.pow=function(rt){var ft=this,Xt=new ft.constructor("1"),It=Xt,In=rt<0;if(rt!==~~rt||rt<-z||rt>z)throw Error(x+"exponent");for(In&&(rt=-rt);1&rt&&(It=It.times(ft)),rt>>=1;)ft=ft.times(ft);return In?Xt.div(It):It},H.prec=function(rt,ft){if(rt!==~~rt||rt<1||rt>q)throw Error(x+"precision");return pe(new this.constructor(this),rt,ft)},H.round=function(rt,ft){if(rt===ie)rt=0;else if(rt!==~~rt||rt<-q||rt>q)throw Error(B);return pe(new this.constructor(this),rt+this.e+1,ft)},H.sqrt=function(){var rt,ft,Xt,It=this,In=It.constructor,Kt=It.s,Ze=It.e,wn=new In("0.5");if(!It.c[0])return new In(It);if(Kt<0)throw Error(Y+"No square root");0===(Kt=Math.sqrt(It+""))||Kt===1/0?((ft=It.c.join("")).length+Ze&1||(ft+="0"),Ze=((Ze+1)/2|0)-(Ze<0||1&Ze),rt=new In(((Kt=Math.sqrt(ft))==1/0?"5e":(Kt=Kt.toExponential()).slice(0,Kt.indexOf("e")+1))+Ze)):rt=new In(Kt+""),Ze=rt.e+(In.DP+=4);do{rt=wn.times((Xt=rt).plus(It.div(Xt)))}while(Xt.c.slice(0,Ze).join("")!==rt.c.slice(0,Ze).join(""));return pe(rt,(In.DP-=4)+rt.e+1,In.RM)},H.times=H.mul=function(rt){var ft,In=this.c,Kt=(rt=new(0,this.constructor)(rt)).c,Ze=In.length,wn=Kt.length,zn=this.e,di=rt.e;if(rt.s=this.s==rt.s?1:-1,!In[0]||!Kt[0])return rt.c=[rt.e=0],rt;for(rt.e=zn+di,Ze<wn&&(ft=In,In=Kt,Kt=ft,di=Ze,Ze=wn,wn=di),ft=new Array(di=Ze+wn);di--;)ft[di]=0;for(zn=wn;zn--;){for(wn=0,di=Ze+zn;di>zn;)wn=ft[di]+Kt[zn]*In[di-zn-1]+wn,ft[di--]=wn%10,wn=wn/10|0;ft[di]=wn}for(wn?++rt.e:ft.shift(),zn=ft.length;!ft[--zn];)ft.pop();return rt.c=ft,rt},H.toExponential=function(rt,ft){var Xt=this,It=Xt.c[0];if(rt!==ie){if(rt!==~~rt||rt<0||rt>q)throw Error(B);for(Xt=pe(new Xt.constructor(Xt),++rt,ft);Xt.c.length<rt;)Xt.c.push(0)}return te(Xt,!0,!!It)},H.toFixed=function(rt,ft){var Xt=this,It=Xt.c[0];if(rt!==ie){if(rt!==~~rt||rt<0||rt>q)throw Error(B);for(rt=rt+(Xt=pe(new Xt.constructor(Xt),rt+Xt.e+1,ft)).e+1;Xt.c.length<rt;)Xt.c.push(0)}return te(Xt,!1,!!It)},H[Symbol.for("nodejs.util.inspect.custom")]=H.toJSON=H.toString=function(){var rt=this,ft=rt.constructor;return te(rt,rt.e<=ft.NE||rt.e>=ft.PE,!!rt.c[0])},H.toNumber=function(){var rt=Number(te(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(rt.toString()))throw Error(Y+"Imprecise conversion");return rt},H.toPrecision=function(rt,ft){var Xt=this,It=Xt.constructor,In=Xt.c[0];if(rt!==ie){if(rt!==~~rt||rt<1||rt>q)throw Error(x+"precision");for(Xt=pe(new It(Xt),rt,ft);Xt.c.length<rt;)Xt.c.push(0)}return te(Xt,rt<=Xt.e||Xt.e<=It.NE||Xt.e>=It.PE,!!In)},H.valueOf=function(){var ft=this.constructor;if(!0===ft.strict)throw Error(Y+"valueOf disallowed");return te(this,this.e<=ft.NE||this.e>=ft.PE,!0)};const K=function Q(){function rt(ft){var Xt=this;if(!(Xt instanceof rt))return ft===ie?Q():new rt(ft);if(ft instanceof rt)Xt.s=ft.s,Xt.e=ft.e,Xt.c=ft.c.slice();else{if("string"!=typeof ft){if(!0===rt.strict&&"bigint"!=typeof ft)throw TypeError(x+"value");ft=0===ft&&1/ft<0?"-0":String(ft)}!function le(rt,ft){var Xt,It,In;if(!ne.test(ft))throw Error(x+"number");for(rt.s="-"==ft.charAt(0)?(ft=ft.slice(1),-1):1,(Xt=ft.indexOf("."))>-1&&(ft=ft.replace(".","")),(It=ft.search(/e/i))>0?(Xt<0&&(Xt=It),Xt+=+ft.slice(It+1),ft=ft.substring(0,It)):Xt<0&&(Xt=ft.length),In=ft.length,It=0;It<In&&"0"==ft.charAt(It);)++It;if(It==In)rt.c=[rt.e=0];else{for(;In>0&&"0"==ft.charAt(--In););for(rt.e=Xt-It-1,rt.c=[],Xt=0;It<=In;)rt.c[Xt++]=+ft.charAt(It++)}}(Xt,ft)}Xt.constructor=rt}return rt.prototype=H,rt.DP=20,rt.RM=1,rt.NE=-7,rt.PE=21,rt.strict=!1,rt.roundDown=0,rt.roundHalfUp=1,rt.roundHalfEven=2,rt.roundUp=3,rt}();var de=function(rt){return rt.percent="percentage",rt.number="number",rt}(de||{});function Me({numberString:rt,format:ft}){return"string"!=typeof ft.suffix?{numberString:rt,format:ft}:{numberString:`${rt}${ft.suffix}`,format:ft}}function me({numberString:rt,format:ft}){return"string"!=typeof ft.prefix?{numberString:rt,format:ft}:{numberString:`${ft.prefix}${rt}`,format:ft}}function be({numberString:rt,format:ft}){if("string"!=typeof ft.thousandsSeparator)return{numberString:rt,format:ft};const Xt=ft.decimalSeparator||".",[It,In]=rt.split(Xt),Kt=new RegExp("(\\d)(?=((\\d){3})+(?!\\d))","g"),Ze=It.replace(Kt,`$1${ft.thousandsSeparator}`);return{numberString:In?`${Ze}${Xt}${In}`:Ze,format:ft}}const Le=new RegExp((0,a.escapeRegExp)("."),"g");function Ae({numberString:rt,format:ft}){return"string"!=typeof ft.decimalSeparator||o(ft.decimalSeparator)?{numberString:rt,format:ft}:{numberString:rt.replace(Le,ft.decimalSeparator),format:ft}}function Oe({number:rt,format:ft}){const Xt=C(ft.decimalPlaces);return isNaN(Xt)?{numberString:rt.toString(10),format:ft}:{numberString:new K(rt).toFixed(Xt).toString(),format:ft}}function Xe({number:rt,format:ft}){if(ft.calculations===de.percent){const Xt=new K(rt);return{number:parseFloat(Xt.times(100).toString()),format:ft}}return{number:rt,format:ft}}function ke(rt,ft,Xt){return function Ne({number:rt,format:ft}){if("string"==typeof rt&&(0,a.isEmpty)(rt))return{numberString:rt,format:ft};const It=C(rt);return isNaN(It)?{numberString:"Invalid input - not a number",format:ft}:function Qe(rt,ft=console){return!(!o(rt.decimalSeparator)&&!o(rt.thousandsSeparator)&&(rt.decimalSeparator&&rt.decimalSeparator.indexOf(rt.thousandsSeparator)>-1?(ft.warn("Decimal separator must not contain thousands separator"),1):rt.thousandsSeparator&&rt.thousandsSeparator.indexOf(rt.decimalSeparator)>-1&&(ft.warn("Thousands separator must not contain decimal separator"),1)))}(ft)?(0,n.compose)(Me,me,be,Ae,Oe,Xe)({number:It,format:ft}):{numberString:"Invalid format",format:ft}}({number:rt,format:ft}).numberString}new RegExp((0,a.escapeRegExp)("."))},10703:(at,N,s)=>{"use strict";s.d(N,{y:()=>M});var n=s(93953),a=s(345),g=s(52168),m=s(60177),T=s(29968),O=s(36193),D=s(42068);const E=["*"];function y(q,z){if(1&q&&(n.j41(0,"a",13),n.EFF(1),n.nI1(2,"shorten"),n.k0s()),2&q){const F=n.XpG(2).$implicit,U=n.XpG(2);n.xc7("color",U.color),n.Y8G("href",F.href,n.B4B)("routerLink",F.routerLink),n.R7$(),n.SpI("",n.i5U(2,5,F.label,U.breadCrumbTextLimit)," ")}}function I(q,z){if(1&q&&(n.qex(0),n.DNE(1,y,3,8,"a",12),n.bVm()),2&q){const F=n.XpG().last,U=n.XpG(2);n.R7$(),n.Y8G("ngIf",!F||U.showLastBreadcrumbAsLink)}}function b(q,z){if(1&q&&(n.j41(0,"a",18),n.EFF(1),n.nI1(2,"shorten"),n.k0s()),2&q){const F=z.$implicit,U=n.XpG(4);n.Y8G("href",F.href,n.B4B)("routerLink",F.routerLink),n.R7$(),n.SpI("",n.i5U(2,3,F.label,U.breadCrumbTextLimit)," ")}}function L(q,z){if(1&q&&(n.j41(0,"span",14)(1,"a",15),n.EFF(2),n.k0s(),n.j41(3,"div",16)(4,"div"),n.DNE(5,b,3,6,"a",17),n.k0s()()()),2&q){const F=n.XpG().$implicit,U=n.XpG(2);n.Y8G("container","body"),n.R7$(),n.xc7("color",U.color),n.R7$(),n.JRh(F.label),n.R7$(3),n.Y8G("ngForOf",U.breadcrumbsInPopup)}}function o(q,z){if(1&q&&(n.j41(0,"span"),n.EFF(1),n.nI1(2,"shorten"),n.k0s()),2&q){const F=n.XpG().$implicit,U=n.XpG(2);n.xc7("color",U.color),n.R7$(),n.SpI(" ",n.i5U(2,3,F.label,U.breadCrumbTextLimit)," ")}}function C(q,z){if(1&q&&(n.j41(0,"li",8),n.DNE(1,I,2,1,"ng-container",9)(2,L,6,5,"span",10)(3,o,3,6,"span",11),n.k0s()),2&q){const F=z.$implicit,U=z.last,k=n.XpG(2);n.xc7("color",k.color),n.AVh("active",U),n.R7$(),n.Y8G("ngIf",F.href||F.routerLink),n.R7$(),n.Y8G("ngIf",!0===F.specialText),n.R7$(),n.Y8G("ngIf",!F.specialText&&!F.href&&!F.routerLink||U&&!k.showLastBreadcrumbAsLink)}}function w(q,z){if(1&q&&(n.j41(0,"nav",5)(1,"ol",6),n.DNE(2,C,4,7,"li",7),n.k0s()()),2&q){const F=n.XpG();n.R7$(2),n.Y8G("ngForOf",F.processedBreadcrumbs)}}let M=(()=>{class q{get breadcrumbs(){return this._breadcrumbs}set breadcrumbs(F){null!=F&&(this._breadcrumbs=F,this.truncateList=F.length>this.breadCrumbsLimitBeforeWrap,this.processedBreadcrumbs=1===F.length?[]:this.processBreadCrumbs())}constructor(F){this.titleService=F,this.truncateList=!1,this.breadCrumbsLimitBeforeWrap=3,this._breadcrumbs=[],this.showLastBreadcrumbAsLink=!1,this.breadCrumbTextLimit=40,this.overrideTitle=!0,this.color="#223A4D",this.processedBreadcrumbs=[],this.breadcrumbsInPopup=[]}ngOnChanges(F){F.title&&F.title.previousValue!==F.title.currentValue&&this.overrideTitle&&this.titleService.setTitle(this.title)}processBreadCrumbs(){let F=[];return this.breadcrumbsInPopup=[],!1===this.truncateList?F=this.breadcrumbs:this.breadcrumbs.forEach((k,Y)=>{0===Y?(F.push(k),F.push({label:"...",specialText:!0})):this.breadcrumbs.length-Y<=2?F.push(k):this.breadcrumbsInPopup.push(k)}),F}static#e=this.\u0275fac=function(U){return new(U||q)(n.rXU(a.hE))};static#t=this.\u0275cmp=n.VBU({type:q,selectors:[["app-page-header"]],inputs:{breadcrumbs:"breadcrumbs",showLastBreadcrumbAsLink:"showLastBreadcrumbAsLink",title:"title",overrideTitle:"overrideTitle",color:"color"},features:[n.OA$],ngContentSelectors:E,decls:7,vars:4,consts:[[1,"page-head","flex-row","d-none","d-md-flex"],[1,"flex-grow-1"],["data-test","dashboard-title",1,"page-head-title"],["aria-label","breadcrumb","role","navigation","class","hidden-in-tablet","data-test","breadcrumb",4,"ngIf"],[1,"page-head-tools"],["aria-label","breadcrumb","role","navigation","data-test","breadcrumb",1,"hidden-in-tablet"],[1,"breadcrumb","page-head-nav","align-items-baseline"],["class","breadcrumb-item",3,"color","active",4,"ngFor","ngForOf"],[1,"breadcrumb-item"],[4,"ngIf"],["class","nav-item dropdown","ngbDropdown","","placement","bottom-left",3,"container",4,"ngIf"],[3,"color",4,"ngIf"],["appTabIndex","",3,"color","href","routerLink",4,"ngIf"],["appTabIndex","",3,"href","routerLink"],["ngbDropdown","","placement","bottom-left",1,"nav-item","dropdown",3,"container"],["appTabIndex","","ngbDropdownToggle",""],["ngbDropdownMenu","","role","menu",1,"dropdown-menu"],["appTabIndex","","class","dropdown-item","role","menuitem",3,"href","routerLink",4,"ngFor","ngForOf"],["appTabIndex","","role","menuitem",1,"dropdown-item",3,"href","routerLink"]],template:function(U,k){1&U&&(n.NAR(),n.j41(0,"div",0)(1,"div",1)(2,"h2",2),n.EFF(3),n.k0s(),n.DNE(4,w,3,1,"nav",3),n.k0s(),n.j41(5,"div",4),n.SdG(6),n.k0s()()),2&U&&(n.R7$(2),n.xc7("color",k.color),n.R7$(),n.SpI(" ",k.title," "),n.R7$(),n.Y8G("ngIf",k.processedBreadcrumbs.length))},dependencies:[g.Wk,m.Sq,m.bT,T.tg,T.do,T.U0,O.d,D.i],styles:[".max-height-70vh[_ngcontent-%COMP%]{max-height:70vh}.border-collapse-separate[_ngcontent-%COMP%]{border-collapse:separate}.border-spacing-0[_ngcontent-%COMP%]{border-spacing:0}.color-dark-pastel-green[_ngcontent-%COMP%]{color:#00ac3a}.text-decoration-underline[_ngcontent-%COMP%]{text-decoration:underline}.z-index-1[_ngcontent-%COMP%]{z-index:1}.bg-crayon-blue[_ngcontent-%COMP%]{background-color:#035fef}.gap-5[_ngcontent-%COMP%]{gap:5px}.gap-10[_ngcontent-%COMP%]{gap:10px}.overflow-wrap-anywhere[_ngcontent-%COMP%]{overflow-wrap:anywhere}.page-head[_ngcontent-%COMP%]{padding:20px 18px 10px}.page-head[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden}.page-head[_ngcontent-%COMP%]   .page-head-nav[_ngcontent-%COMP%]{line-height:17px}.page-head-title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:2.1rem;font-weight:400;color:#223a4d;margin-bottom:4px;max-width:1250px}.remove-link[_ngcontent-%COMP%]{cursor:default}"]})}return q})()},20238:(at,N,s)=>{"use strict";s.d(N,{L:()=>D});var n=s(60177),a=s(52168),g=s(43776),m=s(29968),T=s(35046),O=s(93953);let D=(()=>{class E{static#e=this.\u0275fac=function(b){return new(b||E)};static#t=this.\u0275mod=O.$C({type:E});static#n=this.\u0275inj=O.G2t({imports:[a.iI,n.MD,g.E,m.UN,T.c]})}return E})()},40348:(at,N,s)=>{"use strict";s.d(N,{x:()=>m});var n=s(60177),a=s(35046),g=s(93953);let m=(()=>{class T{static#e=this.\u0275fac=function(E){return new(E||T)};static#t=this.\u0275mod=g.$C({type:T});static#n=this.\u0275inj=g.G2t({imports:[n.MD,a.c]})}return T})()},20323:(at,N,s)=>{"use strict";s.d(N,{x:()=>g});var n=s(42017),a=s(93953);let g=(()=>{class m{static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275mod=a.$C({type:m});static#n=this.\u0275inj=a.G2t({providers:[n.L]})}return m})()},14888:(at,N,s)=>{"use strict";s.d(N,{S:()=>a});var n=s(93953);let a=(()=>{class g{static#e=this.\u0275fac=function(O){return new(O||g)};static#t=this.\u0275mod=n.$C({type:g});static#n=this.\u0275inj=n.G2t({})}return g})()},22400:(at,N,s)=>{"use strict";s.d(N,{H:()=>a});var n=s(93953);let a=(()=>{class g{static#e=this.\u0275fac=function(O){return new(O||g)};static#t=this.\u0275mod=n.$C({type:g});static#n=this.\u0275inj=n.G2t({})}return g})()},12524:(at,N,s)=>{"use strict";s.d(N,{b:()=>m});var n=s(57089),a=s(93953),g=s(345);let m=(()=>{class T{constructor(D){this.sanitizer=D}transform(D){return null!=D?this.sanitizer.bypassSecurityTrustHtml(n.h.sanitizeHtml(D)):""}static#e=this.\u0275fac=function(E){return new(E||T)(a.rXU(g.up,16))};static#t=this.\u0275pipe=a.EJ8({name:"sanitizeHtml",type:T,pure:!0})}return T})()},43776:(at,N,s)=>{"use strict";s.d(N,{E:()=>a});var n=s(93953);let a=(()=>{class g{static#e=this.\u0275fac=function(O){return new(O||g)};static#t=this.\u0275mod=n.$C({type:g});static#n=this.\u0275inj=n.G2t({})}return g})()},42068:(at,N,s)=>{"use strict";s.d(N,{i:()=>a});var n=s(93953);let a=(()=>{class g{transform(T,O=0,D="..."){return T.length>O?T.slice(0,O).trimRight()+D:T}static#e=this.\u0275fac=function(O){return new(O||g)};static#t=this.\u0275pipe=n.EJ8({name:"shorten",type:g,pure:!0})}return g})()},93210:(at,N,s)=>{"use strict";s.d(N,{E:()=>g});var n=s(60177),a=s(93953);let g=(()=>{class m{static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275mod=a.$C({type:m});static#n=this.\u0275inj=a.G2t({imports:[n.MD]})}return m})()},35026:(at,N,s)=>{"use strict";s.d(N,{c:()=>m});var n=s(67376),g=s(93953);let m=(()=>{class T{transform(D){return(0,n.isEmpty)(D)?D:D.replace(/target="_blank"/gi,'target="_blank" rel="noopener noreferrer"')}static#e=this.\u0275fac=function(E){return new(E||T)};static#t=this.\u0275pipe=g.EJ8({name:"fixTabNabbing",type:T,pure:!0})}return T})()},50256:(at,N,s)=>{"use strict";s.d(N,{m:()=>T});var n=s(67376),g=s(69172),m=s(93953);let T=(()=>{class O{transform(E){return E&&E.length?(0,n.get)(g.yd.reduce((y,I)=>(I.value===E&&y.push(I.label),y),[]),[0],E):""}static#e=this.\u0275fac=function(y){return new(y||O)};static#t=this.\u0275pipe=m.EJ8({name:"userTypeLabel",type:O,pure:!0})}return O})()},37919:(at,N,s)=>{"use strict";s.d(N,{Z:()=>E});var n=s(93953),a=s(60177),g=s(99213);const m=["rightArrow",""],T=["*"];function O(y,I){1&y&&n.nrm(0,"mat-icon",1)}let E=(()=>{class y{get hostClasses(){let b="btn btn-secondary eim-forms_form-control-chooser";return this.rightArrowSingleLine&&(b=`${b} right-arrow-single-line`),this.readOnly&&(b=`${b} read-only`),[b,this.class].join(" ")}constructor(b){this.elementRef=b,this.class="",this.rightArrowSingleLine=this.hasHostAttributes("rightArrowSingleLine")}hasHostAttributes(...b){return b.some(L=>this.getHostElement().hasAttribute(L))}getHostElement(){return this.elementRef.nativeElement}static#e=this.\u0275fac=function(L){return new(L||y)(n.rXU(n.aKT))};static#t=this.\u0275cmp=n.VBU({type:y,selectors:[["button","rightArrow",""],["button","rightArrowSingleLine",""]],hostVars:2,hostBindings:function(L,o){2&L&&n.HbH(o.hostClasses)},inputs:{class:"class",readOnly:"readOnly"},attrs:m,ngContentSelectors:T,decls:2,vars:1,consts:[["class","flex-shrink-0 eim-icon_chevron-right","svgIcon","chevron",4,"ngIf"],["svgIcon","chevron",1,"flex-shrink-0","eim-icon_chevron-right"]],template:function(L,o){1&L&&(n.NAR(),n.SdG(0),n.DNE(1,O,1,0,"mat-icon",0)),2&L&&(n.R7$(),n.Y8G("ngIf",!o.readOnly))},dependencies:[a.bT,g.An],styles:[".right-arrow-single-line[_nghost-%COMP%]{height:37px}"],changeDetection:0})}return y})()},39488:(at,N,s)=>{"use strict";s.d(N,{a:()=>D});var n=s(60177),a=s(99213),g=s(35046),m=s(89417),T=s(29968),O=s(93953);let D=(()=>{class E{static#e=this.\u0275fac=function(b){return new(b||E)};static#t=this.\u0275mod=O.$C({type:E});static#n=this.\u0275inj=O.G2t({imports:[n.MD,m.X1,a.m_,g.c,T.n8]})}return E})()},41536:(at,N,s)=>{"use strict";s.d(N,{G:()=>Y});var n=s(60177),a=s(52168),g=s(93953);let m=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=g.$C({type:x});static#n=this.\u0275inj=g.G2t({imports:[n.MD]})}return x})();var T=s(89417),O=s(72998),D=s(69138),E=s(17109),y=s(20238),I=s(55158),b=s(95750),L=s(1574),o=s(40348),C=s(80458),w=s(20323),M=s(39488),q=s(35046),z=s(99213);let F=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=g.$C({type:x});static#n=this.\u0275inj=g.G2t({imports:[n.MD,z.m_]})}return x})();var U=s(14888),k=s(22400);let Y=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=g.$C({type:x});static#n=this.\u0275inj=g.G2t({imports:[n.MD,T.YN,a.iI,b.Z,E.W,q.c,D.b,w.x,y.L,o.x,M.a,m,O.O,L.F,I.N,C.m,F,U.S,k.H,z.m_,q.c,L.F,U.S,k.H]})}return x})()},44225:(at,N,s)=>{"use strict";s.d(N,{b:()=>g});var n=s(93953);let g=(()=>{class m{constructor(O,D){this.renderer=O,this.el=D,this.mask=!0}set showSpinner(O){this.setSpinner(O)}ngOnInit(){const O=this.renderer.createElement("div");this.renderer.addClass(O,"be-spinner"),this.renderer.setProperty(O,"innerHTML",'\n<svg width="40px" height="40px" viewBox="0 0 66 66" xmlns="http://www.w3.org/2000/svg">\n  <circle fill="none" stroke-width="4" stroke-linecap="round" cx="33" cy="33" r="30" class="circle"></circle>\n</svg>'),this.renderer.insertBefore(this.el.nativeElement,O,this.el.nativeElement.firstChild),this.renderer.addClass(this.el.nativeElement,"be-loading"),this.mask||this.renderer.addClass(this.el.nativeElement,"be-loading-nomask"),this.showSpinner$&&(this.subscription=this.showSpinner$.subscribe(D=>this.setSpinner(D)))}setSpinner(O){O?this.renderer.addClass(this.el.nativeElement,"be-loading-active"):this.renderer.removeClass(this.el.nativeElement,"be-loading-active")}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static#e=this.\u0275fac=function(D){return new(D||m)(n.rXU(n.sFG),n.rXU(n.aKT))};static#t=this.\u0275dir=n.FsC({type:m,selectors:[["","appSpinner",""]],inputs:{showSpinner:[0,"appSpinner","showSpinner"],mask:[0,"appSpinnerMask","mask"],showSpinner$:"showSpinner$"}})}return m})()},72998:(at,N,s)=>{"use strict";s.d(N,{O:()=>g});var n=s(60177),a=s(93953);let g=(()=>{class m{static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275mod=a.$C({type:m});static#n=this.\u0275inj=a.G2t({imports:[n.MD]})}return m})()},36193:(at,N,s)=>{"use strict";s.d(N,{d:()=>m});var n=s(93953),a=s(52783),g=function(T){return T.ENTER="Enter",T.SPACE=" ",T}(g||{});let m=(()=>{class T{constructor(D,E,y){this.el=D,this.renderer=E,this.tabIndexService=y,this.isNavigable=!0,this.shouldTriggerMouseEventOnFocus=!0,this.defaultOutlineColor="#008fdb"}get tabIndex(){return this.isNavigable?0:-1}onFocus(){if(this.isNavigable){if(this.el.nativeElement.classList.add("focus-style"),this.renderer.setStyle(this.el.nativeElement,"outline-color",this.outlineColor||this.defaultOutlineColor,1),!this.shouldTriggerMouseEventOnFocus)return;const E=new MouseEvent("mouseenter",{bubbles:!0});this.el.nativeElement.dispatchEvent(E)}}onFocusout(){if(this.isNavigable){if(this.el.nativeElement.classList.remove("focus-style"),this.renderer.removeStyle(this.el.nativeElement,"outline-color"),!this.shouldTriggerMouseEventOnFocus)return;const D=new MouseEvent("mouseleave",{bubbles:!0});this.el.nativeElement.dispatchEvent(D)}}onKeydown(D){switch(D.key){case g.ENTER:case g.SPACE:this.tabIndexService.enterKeyPressed(D,this.el.nativeElement)}}static#e=this.\u0275fac=function(E){return new(E||T)(n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(a.D))};static#t=this.\u0275dir=n.FsC({type:T,selectors:[["","appTabIndex",""],["button"],["input"],["textarea"],[""]],hostVars:1,hostBindings:function(E,y){1&E&&n.bIt("focusin",function(){return y.onFocus()})("focusout",function(){return y.onFocusout()})("keydown",function(b){return y.onKeydown(b)}),2&E&&n.BMQ("tabindex",y.tabIndex)},inputs:{isNavigable:"isNavigable",outlineColor:"outlineColor",shouldTriggerMouseEventOnFocus:"shouldTriggerMouseEventOnFocus"}})}return T})()},35046:(at,N,s)=>{"use strict";s.d(N,{c:()=>g});var n=s(60177),a=s(93953);let g=(()=>{class m{static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275mod=a.$C({type:m});static#n=this.\u0275inj=a.G2t({imports:[n.MD]})}return m})()},52783:(at,N,s)=>{"use strict";s.d(N,{D:()=>a});var n=s(93953);let a=(()=>{class g{enterKeyPressed(T,O){const D=O instanceof HTMLTextAreaElement||T.target instanceof HTMLTextAreaElement,E=O instanceof HTMLInputElement||T.target instanceof HTMLInputElement;if(!D&&!E){if(T.preventDefault(),T.stopPropagation(),this.checkIfItIsaJoditToolbarButton(O))return void this.simulateToMouseClickEventForJoditToolbarButtons(O);this.simulateToMouseClickEvent(O)}}simulateToMouseClickEvent(T){const O=new MouseEvent("click",{bubbles:!0});T.dispatchEvent(O)}simulateToMouseClickEventForJoditToolbarButtons(T){const O=new MouseEvent("mousedown",{bubbles:!0});T.dispatchEvent(O)}checkIfItIsaJoditToolbarButton(T){return T.classList.contains("jodit_toolbar_btn")||T.parentElement?.classList.contains("jodit_tabs_buttons")||null!==T.getAttribute("data-color")}static#e=this.\u0275fac=function(O){return new(O||g)};static#t=this.\u0275prov=n.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()},1574:(at,N,s)=>{"use strict";s.d(N,{F:()=>y});var n=s(60177),a=s(95750),g=s(40348),m=s(72998),T=s(89417),O=s(69138),D=s(35046),E=s(93953);let y=(()=>{class I{static#e=this.\u0275fac=function(o){return new(o||I)};static#t=this.\u0275mod=E.$C({type:I});static#n=this.\u0275inj=E.G2t({imports:[n.MD,T.YN,a.Z,g.x,m.O,O.b,D.c]})}return I})()},72187:(at,N,s)=>{"use strict";s.d(N,{Q:()=>O});var n=s(96354),a=s(67376),m=s(93953),T=s(64627);let O=(()=>{class D{constructor(y){this.formulaLabelService=y}getTableColumnHeadings$(y,I){const b=y.map(L=>({formulaString:L}));return this.formulaLabelService.transformBatch(b).pipe((0,n.T)(L=>(0,a.isEmpty)(I)?L:L.map((o,C)=>(0,a.get)(I,`[${C}].overrideLabel`,o))))}static#e=this.\u0275fac=function(I){return new(I||D)(m.KVO(T.i))};static#t=this.\u0275prov=m.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},4041:(at,N,s)=>{"use strict";s.d(N,{S:()=>b});var n=s(89417),a=s(97586),g=s.n(a),m=s(69172),T=s(56977);var E=s(21413),y=s(93953),I=s(50337);let b=(()=>{class L{constructor(C){this.sideSheetService=C,this.timestampFilterForm=new n.gE({from:new n.MJ(""),to:new n.MJ("")}),this.unsubscribe$=new E.B}ngOnInit(){this.fields=function D(L=function O(){return{from:g()().subtract(7,"day").toISOString(),to:void 0}}(),o){return[{wrappers:["side-sheet-section-wrapper"],templateOptions:{title:"Select date range",showHeader:!0},fieldGroup:[{key:"from",type:"date-time",templateOptions:{label:"From",type:"datetime",defaultValue:g()(L.from),dateValidation:m.se.notAllowFuture}},{key:"to",type:"date-time",templateOptions:{label:"To",type:"datetime",defaultValue:L.to?g()(L.to):null,dateValidation:m.se.notAllowFuture},validators:{validation:["endDateConstraint"]},hooks:{onInit:C=>{C.form.get("from").valueChanges.pipe((0,T.Q)(o)).subscribe(()=>{C.formControl.updateValueAndValidity()})}}}]}]}(this.resetTimestamp,this.unsubscribe$.asObservable())}setProps(C){this.model={from:C.from?g()(C.from):null,to:C.to?g()(C.to):null}}onCancel(){this.goBack?this.goBack():this.sideSheetService.pop()}onDone(){this.done({from:this.model.from?this.model.from.toISOString():null,to:this.model.to?this.model.to.toISOString():null})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(w){return new(w||L)(y.rXU(I.E))};static#t=this.\u0275cmp=y.VBU({type:L,selectors:[["app-timestamp-filter"]],decls:4,vars:4,consts:[["action","Done",3,"actioned","goBack","disabled"],[3,"form","fields","model"]],template:function(w,M){1&w&&(y.j41(0,"div")(1,"app-side-sheet-header",0),y.bIt("actioned",function(){return M.onDone()})("goBack",function(){return M.onCancel()}),y.EFF(2," Timestamp "),y.k0s(),y.nrm(3,"formly-form",1),y.k0s()),2&w&&(y.R7$(),y.Y8G("disabled",M.timestampFilterForm.invalid),y.R7$(2),y.Y8G("form",M.timestampFilterForm)("fields",M.fields)("model",M.model))},changeDetection:0})}return L})()},27628:(at,N,s)=>{"use strict";s.d(N,{H:()=>y});var n=s(67376),g=s(92216),m=s(4041),T=s(93953),O=s(50337);const D=I=>({"badge-success":I});function E(I,b){if(1&I){const L=T.RV6();T.j41(0,"app-side-sheet-list-item")(1,"div",6),T.bIt("click",function(){const C=T.eBV(L).$implicit,w=T.XpG();return T.Njj(w.openColumnFilterSideSheet(C))}),T.j41(2,"div")(3,"span",7),T.EFF(4),T.k0s(),T.j41(5,"span",8),T.EFF(6),T.nI1(7,"titlecase"),T.k0s()(),T.j41(8,"div",9),T.nrm(9,"span",10),T.k0s()()()}if(2&I){const L=b.$implicit,o=T.XpG();T.R7$(3),T.Y8G("ngClass",T.eq3(5,D,o.isSelected(L))),T.R7$(),T.JRh(o.isSelected(L)?1:0),T.R7$(2),T.JRh(T.bMT(7,3,L))}}let y=(()=>{class I{constructor(L){this.sideSheetService=L,this.filterableTableColumnHeaders=[],this.selected={}}ngOnInit(){}onPrimary(){this.done(this.selected)}reset(){this.selected={timestamp:(0,g.v)()}}setProps({filterableTableColumnHeaders:L,selected:o}){this.filterableTableColumnHeaders=L||[],this.selected=o||{}}isSelected(L){return!(0,n.isEmpty)(this.selected[L])}openColumnFilterSideSheet(L){L===g.u.TIMESTAMP&&this.openTimestampSideSheet()}openTimestampSideSheet(){const o=this.sideSheetService.push(m.S).componentInstance;o.resetTimestamp=(0,g.v)(),o.setProps(this.selected.timestamp),o.done=C=>{this.selected.timestamp=C,this.sideSheetService.pop()}}static#e=this.\u0275fac=function(o){return new(o||I)(T.rXU(O.E))};static#t=this.\u0275cmp=T.VBU({type:I,selectors:[["app-workflow-diagnostics-filter-side-sheet"]],decls:8,vars:4,consts:[["action","Done",3,"actioned","showCancelButton"],["title","Select a column to filter",3,"collapsed","showBorder"],["buttons",""],["appTabIndex","",1,"btn-link","text-right","text-primary",3,"click"],[1,"px-3"],[4,"ngFor","ngForOf"],[1,"d-flex","justify-content-between","align-items-center",3,"click"],[1,"badge","badge-pill",3,"ngClass"],[1,"ml-2"],[1,"h1","m-0","ml-2"],[1,"mdi","mdi-chevron-right"]],template:function(o,C){1&o&&(T.j41(0,"app-side-sheet-header",0),T.bIt("actioned",function(){return C.onPrimary()}),T.EFF(1,"Filter table"),T.k0s(),T.j41(2,"app-side-sheet-section",1)(3,"div",2)(4,"a",3),T.bIt("click",function(){return C.reset()}),T.EFF(5,"Reset"),T.k0s()()(),T.j41(6,"div",4),T.DNE(7,E,10,7,"app-side-sheet-list-item",5),T.k0s()),2&o&&(T.Y8G("showCancelButton",!0),T.R7$(2),T.Y8G("collapsed",!0)("showBorder",!1),T.R7$(5),T.Y8G("ngForOf",C.filterableTableColumnHeaders))},changeDetection:0})}return I})()},79530:(at,N,s)=>{"use strict";s.d(N,{n:()=>g});var n=s(93953),a=s(81514);let g=(()=>{class m{constructor(O){this.objectRenderService=O}loadObjectFieldMetaMap(O,D=[]){this.objectRenderMetaMap$=this.objectRenderService.getObjectMeta(O,D)}static#e=this.\u0275fac=function(D){return new(D||m)(n.KVO(a._))};static#t=this.\u0275prov=n.jDH({token:m,factory:m.\u0275fac})}return m})()},36811:(at,N,s)=>{"use strict";s.d(N,{O:()=>Vt});var n=s(93953),a=s(18359),g=s(67376),m=s(9975),T=s(84412),O=s(92771),D=s(69172),E=s(84572),y=s(96354),I=s(76194),b=s(9615),o=(s(48299),s(92597)),C=s(25558),w=s(23294),M=s(34775),q=s(51229),z=s(55516),F=s(790),U=s(76151),k=s(12225);let Y=(()=>{class ht{constructor(Ge,Se,ke){this.queryService=Ge,this.filterInputService=Se,this.allObjectTypesService=ke}getRows(Ge){const{filterInputs:Se,contextTip:ke,queryParams:Ne,objectTypeTip:Je}=Ge,Qe=this.filterInputService.convertFilterInputsToVars(Se,ke,Ne,!1,F.q.USE_NETWORK_NO_CACHE),rt=this.allObjectTypesService.getSymbologyForType$(Je).pipe((0,y.T)(x));return(0,E.z)([Qe,rt]).pipe((0,C.n)(([ft,Xt])=>this.getRowsWithVars(Ge,ft,Xt)),(0,w.F)())}getRowsWithVars(Ge,Se,ke){const{queryTip:Ne,offset:Je,limit:Qe}=Ge,rt=(0,g.get)(Ge,"sortingOptions",[]),ft=(0,g.cloneDeep)(q.b[0]),Xt=rt.map(zn=>zn.formula),It=rt.map(zn=>zn.sortDirection),In=[(0,g.merge)(ft,{sortby:Xt,sortdir:It,offset:Je,limit:Qe})],Ze={vars:Se,extraAttributes:(0,g.get)(Ge,"columns",[]).map(zn=>({label:zn,formula:zn})),dimensionOptions:In,extraFilters:Ge.filterFormula?[{label:"Live filter",formula:Ge.filterFormula}]:[]};if(Ze.extraAttributes.push({label:"__type__",formula:"TYPE(TIP())"}),Ze.extraAttributes.push({label:"__title__",formula:"TITLE()"}),function B(ht){const gt=[];return j(gt,ht,"color"),j(gt,ht,"icon"),gt}(ke).forEach(zn=>{Ze.extraAttributes.push(zn)}),function $(ht){const{searchValue:gt}=ht;return!!gt}(Ge)){const zn=(0,M.CD)(Ze,[Ge.objectTypeTip],Ge.searchValue,Ge.dateFilter);Object.assign(Ze.vars,zn.vars),Ze.extraFilters=[...Ze.extraFilters,...zn.extraFilters.slice()]}const wn=(0,g.isEmpty)(Ne)?z.R.GET_ALL_OBJECT_TYPE_INSTANCES:Ne;return wn===z.R.GET_ALL_OBJECT_TYPE_INSTANCES&&(Ze.vars={...Ze.vars,"Object type tip":[Ge.objectTypeTip]}),this.queryService.execute1dArray(wn,Ze)}static#e=this.\u0275fac=function(Se){return new(Se||ht)(n.KVO(q.c),n.KVO(U.O),n.KVO(k.b))};static#t=this.\u0275prov=n.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})();function x(ht){return ht.map(gt=>gt.symbology)}function j(ht,gt,Ge){const Se=gt.reduce((ke,Ne)=>{const Je=(0,g.get)(Ne,`${Ge}.listField`,null);return Je&&ke.push(`FIELD("${Je}")`),ke},[]);if(!(0,g.isEmpty)(Se)){const ke=`COALESCE(${Se.join(",")})`;ht.push({label:`__${Ge}__`,formula:ke})}}var H=s(64627),ie=s(85790),ne=s(72187),Q=s(8076);let le=(()=>{class ht{constructor(Ge,Se,ke,Ne,Je){this.tableRowService=Ge,this.formulaLabelService=Se,this.dataTypeFormatter=ke,this.tableColumnHeadingService=Ne,this.objectService=Je}getQueryResult(Ge,Se){return(0,E.z)([this.tableRowService.getRows(Ge),this.getTableColumnHeadings$(Ge),Se]).pipe((0,y.T)(([ke,Ne,Je])=>({tableHeaders:Ne,tableHeaderMeta:Ge.columns.map(Qe=>{const rt=(0,g.cloneDeep)(Je.getFieldMetaFromFormula(Qe));return rt?.field?.searchable&&(rt.field.datatype===I.HT.object||rt.contextTip)&&(rt.field.searchable=this.disableSortingIfColumnIsNotShowingTitle(Qe,rt.field.$tip)),rt}),rows:ke,objectFieldMetaMap:Je,columns:Ge.columns,columnItems:Ge.columnItems,objectTypeTip:Ge.objectTypeTip,hideSymbologyColumn:Ge.hideSymbologyColumn})),(0,y.T)(ke=>this.createTableRows(ke)))}disableSortingIfColumnIsNotShowingTitle(Ge,Se){const ke={name:"CONTEXT",args:[{name:"FIELD",args:[Se]},{name:"TITLE",args:[]}]};try{return(0,o.Ms)((0,o.iX)(Ge),ke),!0}catch{return!1}}getTableColumnHeadings$(Ge){return this.tableColumnHeadingService.getTableColumnHeadings$(Ge.columns,Ge.columnItems)}createTableRows(Ge){const{tableHeaders:Se,tableHeaderMeta:ke,columns:Ne,objectFieldMetaMap:Je,objectTypeTip:Qe,hideSymbologyColumn:rt}=Ge,ft=Je.typeHasSymbology(Qe);let In,Xt=!1,It=!1;rt||(In=Ge.rows.map(zn=>Je.getSymbology({typeTip:(0,g.get)(zn,["__type__",0]),iconValue:(0,g.get)(zn,["__icon__",0]),colorValue:(0,g.get)(zn,["__color__",0])})),Xt=In.some(zn=>!!zn),It=ft||Xt);const Kt=Ge.rows.map((zn,di)=>{const jn=rt?null:In[di];return{objectInstanceTip:(0,g.get)(zn,["Tip",0])||(0,g.get)(zn,["$tip",0]),objectTypeTip:(0,g.get)(zn,["__type__",0]),cellsFieldInfo:this.createCellsFieldInfoFromRow({row:zn,columns:Ne,objectFieldMetaMap:Je},It,jn)}}),Ze=It?["",...Se]:Se,wn=It?[null,...ke]:ke;return{...Ge,tableHeaders:Ze,tableHeaderMeta:wn,hasSymbology:It,tableRows:Kt}}createCellsFieldInfoFromRow({row:Ge,columns:Se,objectFieldMetaMap:ke},Ne,Je){const Qe=Se.map(rt=>{const ft=ke.getFieldMetaFromFormula(rt),Xt=Ge[rt],It=(0,g.get)(ft,"datatype"),In=(0,g.get)(ft,"isMulti"),{formattedValue:Kt,color:Ze,icon:wn}=this.dataTypeFormatter.formatType({value:Xt,fieldMetaMap:ft,fieldFormula:rt});return{$tip:(0,g.get)(ft,"field.$tip"),displayValue:Kt,datatype:It,displayType:pe(It),isMulti:In,color:Ze?[Ze]:[],icon:wn?[wn]:[],numberFormat:(0,g.get)(ft,"numberFormat")}});return Je?Qe.unshift({displayType:b.z.SYMBOLOGY,datatype:I.TV.symbology,displayValue:[""],isMulti:!1,color:[Je.color],icon:[Je.icon]}):Ne&&Qe.unshift({displayType:b.z.SYMBOLOGY,datatype:I.TV.symbology,displayValue:[""],isMulti:!1}),Qe}static#e=this.\u0275fac=function(Se){return new(Se||ht)(n.KVO(Y),n.KVO(H.i),n.KVO(ie.b),n.KVO(ne.Q),n.KVO(Q.T))};static#t=this.\u0275prov=n.jDH({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})();function pe(ht){return ht===I.TV.list?b.z.LIST_ITEM:[I.HT.object,I.HT.blob,I.TV.file,I.TV.point,I.TV.line,I.TV.polygon,I.TV.assignable].includes(ht)?b.z.FIELD:ht===I.TV.symbology?b.z.SYMBOLOGY:b.z.FIELD}var te=s(95354),ae=s(3310),K=s(32099),de=s(81514),Me=s(79530);let me=(()=>{class ht{constructor(Ge,Se,ke,Ne){this.tableWidgetService=Ge,this.loggerService=Se,this.objectRenderMetaService=ke,this.tableWidgetInstanceService=Ne,this.loading$=new T.t(D.Gu.inProgress),this.queryResults$=new O.m}initialise(Ge){this.loading$.next(D.Gu.inProgress),this.getResults(Ge),this.table$=this.queryResults$.asObservable()}getResults(Ge){this.resultsSubscription&&this.resultsSubscription.unsubscribe(),this.loading$.next(D.Gu.inProgress);const Se=+Ge.limit+1,ke={...Ge,limit:Se};this.hasSearchableFields()&&(ke.searchableFields=Array.from(this.searchableFields));const Ne=this.tableWidgetInstanceService?this.tableWidgetInstanceService.objectRenderMetaMap$:this.objectRenderMetaService.getObjectMeta(ke.objectTypeTip,Ge.columns);this.resultsSubscription=this.tableWidgetService.getQueryResult(ke,Ne).subscribe(Je=>{const Qe=+Ge.offset+Je.tableRows.length;this.searchableFields=Je.objectFieldMetaMap.searchableFields,Je.tableRows.length>+Ge.limit&&Je.tableRows.pop(),this.loading$.next(D.Gu.loaded),this.queryResults$.next({limit:+Ge.limit,offset:+Ge.offset,columns:Ge.columns,total:Qe,...Je,hasSearchableFields:this.hasSearchableFields(),sortSearchableFieldsOnly:!!ke.sortSearchableFieldsOnly})},Je=>{this.loading$.next(D.Gu.failed),this.loggerService.error("[TableInstanceService] failed to get table from query.",Je)})}sort(Ge,Se){const ke=(Se.sortingOptions||[])[0];let Ne;try{const{formula:Qe,context:rt}=(0,te.us)(Se.columns[Ge]);Ne=null==rt?Qe:null!=(0,g.get)((0,ae.O)(rt),[0],null)?`META_FIELD("${(0,g.get)((0,ae.O)(rt),[0])}")`:Se.columns[Ge]}catch{Ne=Se.columns[Ge]}let Je="asc";return ke&&ke.formula===Ne?(ke&&ke.sortDirection&&("asc"===ke.sortDirection?Je="desc":"desc"===ke.sortDirection&&(Je=null)),Je?[{formula:Ne,sortDirection:Je}]:[]):[{formula:Ne,sortDirection:Je}]}getSortingIcons(Ge,Se=!1){const ke=Ge.sortingOptions||[],Ne=Se?[null,...Ge.columns]:Ge.columns,Je=Ne.map(()=>"sorting-none");for(const Qe of ke){const rt=this.getColumnIndexOftheSortedColumn(Ne,Qe.formula);-1!==rt&&("asc"===Qe.sortDirection?Je[rt]="sorting-ascending":"desc"===Qe.sortDirection&&(Je[rt]="sorting-descending"))}return Je}getColumnIndexOftheSortedColumn(Ge,Se){const ke=(0,o.iX)(Se);if("META_FIELD"===ke.name){for(let Ne=0;Ne<Ge.length&&Ge[Ne];Ne++){const Je=(0,o.iX)(Ge[Ne]);if("CONTEXT"===Je.name&&2===Je.args.length&&(0,g.get)(Je,"args[0].args[0]","")===(0,g.get)(ke,"args[0]",null)&&"TITLE"===(0,g.get)(Je,"args[1].name",""))return Ne}return-1}return Ge.indexOf(Se)}getColumnsFiltered(Ge,Se=!1){const Ne=(0,g.keys)(Ge.filteringSelected||{});return(Se?[null,...Ge.columns]:Ge.columns).map(Qe=>Ne.includes(Qe))}ngOnDestroy(){this.resultsSubscription&&this.resultsSubscription.unsubscribe(),this.loading$.complete(),this.queryResults$.complete()}hasSearchableFields(){return this.searchableFields&&this.searchableFields.size>0}static#e=this.\u0275fac=function(Se){return new(Se||ht)(n.KVO(le),n.KVO(K.g),n.KVO(de._),n.KVO(Me.n,8))};static#t=this.\u0275prov=n.jDH({token:ht,factory:ht.\u0275fac})}return ht})();var be=s(61594),Le=s(52168),Ae=s(87138);const Oe=ht=>({"max-height-70vh":ht}),Xe=ht=>({"border-collapse-separate border-spacing-0":ht}),Pe=ht=>({"sticky-top bg-white z-index-1":ht}),$e=(ht,gt)=>[ht,gt];function ze(ht,gt){if(1&ht){const Ge=n.RV6();n.j41(0,"div",11)(1,"mat-icon",12),n.bIt("click",function(){n.eBV(Ge);const ke=n.XpG().index,Ne=n.XpG();return n.Njj(Ne.sort(ke))}),n.k0s()()}if(2&ht){const Ge=n.XpG().index,Se=n.XpG();n.R7$(),n.Y8G("svgIcon",Se.sortingIcons[Ge])}}function Be(ht,gt){1&ht&&n.nrm(0,"mat-icon",13)}function Ye(ht,gt){if(1&ht&&(n.j41(0,"th",6)(1,"div",7)(2,"span",8),n.EFF(3),n.nI1(4,"truncateLabel"),n.nI1(5,"capitalise"),n.k0s(),n.DNE(6,ze,2,1,"div",9)(7,Be,1,0,"mat-icon",10),n.k0s()()),2&ht){const Ge=gt.$implicit,Se=gt.index,ke=n.XpG();n.HbH("datatype-"+(null==ke.table||null==ke.table.tableHeaderMeta[Se]?null:ke.table.tableHeaderMeta[Se].datatype)),n.Y8G("ngClass",n.eq3(11,Pe,null==ke._tableParams?null:ke._tableParams.stickyHeader)),n.BMQ("data-test","title:"+Ge),n.R7$(3),n.JRh(n.bMT(5,9,n.bMT(4,7,Ge))),n.R7$(3),n.Y8G("ngIf",""!==Ge&&(!(null!=ke.table&&ke.table.sortSearchableFieldsOnly)||(null==ke.table||null==ke.table.tableHeaderMeta[Se]||null==ke.table.tableHeaderMeta[Se].field?null:ke.table.tableHeaderMeta[Se].field.searchable))),n.R7$(),n.Y8G("ngIf",ke.columnsFiltered[Se])}}function Ct(ht,gt){if(1&ht){const Ge=n.RV6();n.j41(0,"td",16)(1,"a",17),n.bIt("click",function(ke){return n.eBV(Ge),n.Njj(ke.preventDefault())})("touchstart",function(ke){return n.eBV(Ge),n.Njj(ke.stopPropagation())})("touchmove",function(ke){return n.eBV(Ge),n.Njj(ke.stopPropagation())}),n.nrm(2,"app-render-field-view",18),n.k0s()()}if(2&ht){const Ge=gt.$implicit,Se=n.XpG().$implicit,ke=n.XpG();n.Y8G("ngClass",n.l_i(5,$e,"datatype-"+Ge.datatype,"symbology"===Ge.displayType?"action-column":"")),n.BMQ("data-test","table-cell:"+(null==Ge.displayValue?null:Ge.displayValue.join("--"))),n.R7$(),n.Y8G("href",ke.getRowURL(Se),n.B4B)("isNavigable",!1),n.R7$(),n.Y8G("displayFieldInfo",Ge)}}function Lt(ht,gt){if(1&ht){const Ge=n.RV6();n.j41(0,"tr",14),n.bIt("click",function(){const ke=n.eBV(Ge).$implicit,Ne=n.XpG();return n.Njj(Ne.onRowClick(ke))}),n.DNE(1,Ct,3,8,"td",15),n.k0s()}if(2&ht){const Ge=gt.$implicit;n.R7$(),n.Y8G("ngForOf",Ge.cellsFieldInfo)}}let Vt=(()=>{class ht{set tableParams(Ge){this._tableParams={...Ge,columns:this.replaceMetaDataFormulas(Ge),offset:Ge.offset||0},this.table&&this.tableInstanceService.getResults(this._tableParams)}constructor(Ge,Se,ke){this.tableInstanceService=Ge,this.router=Se,this.statusDashboardService=ke,this.emptyStateIconSize="sm",this.rowClick=new n.bkB,this.sortClick=new n.bkB,this.columnsFiltered=[],this.isDetailsWidgetFromStatusDashboard=!1,this.sortingIcons=[],this.subscription=new a.yU,this._subscriptions=new a.yU}ngOnInit(){this.loading$=this.tableInstanceService.loading$,this.tableInstanceService.initialise(this._tableParams),this.subscription=this.tableInstanceService.table$.subscribe(Ge=>{if(this.table=Ge,this.columnsFiltered=this.tableInstanceService.getColumnsFiltered(this._tableParams,Ge.hasSymbology),this.isDetailsWidgetFromStatusDashboard&&("app/sms/recipient"==this.table.objectTypeTip||"app/email/recipient"==this.table.objectTypeTip||"app/voice-message/recipient"==this.table.objectTypeTip)){const Se=this.table?.objectTypeTip.concat(":source"),ke=(0,g.map)(this.table?.rows,"$tip").flat(1);this.statusDashboardService.getRecipientSource(ke,Se)}this.sortingIcons=this.tableInstanceService.getSortingIcons(this._tableParams,Ge.hasSymbology)})}ngOnDestroy(){this.subscription.unsubscribe(),this._subscriptions.unsubscribe()}getRowURL(Ge){const Se=Ge?.objectInstanceTip||Ge?.$tip||Ge?.Tip;if(!Se||!Se?.length)return this.router.url;const ke=Array.isArray(Se)?Se[0]:Se;return this.router.serializeUrl(this.router.createUrlTree(["app","s",{outlets:{sidesheet:["object","open",ke]}}]))}paginate({offset:Ge,limit:Se}){const ke={...this._tableParams,offset:Ge||+this._tableParams.offset,limit:Se||+this._tableParams.limit};this.tableInstanceService.getResults(ke)}sort(Ge){const Se=this.table.hasSymbology?Ge-1:Ge;Se<0||(this._tableParams.sortingOptions=this.tableInstanceService.sort(Se,this._tableParams),this.sortClick.emit(this._tableParams.sortingOptions),this.tableInstanceService.getResults(this._tableParams))}onRowClick(Ge){this.rowClick.emit(Ge)}updateTableByFilterInput(Ge){this._tableParams={...Ge,columns:this.replaceMetaDataFormulas(Ge),offset:Ge.offset||0},this.tableInstanceService.loading$.pipe((0,be.$)(Se=>Se===D.Gu.loaded)).subscribe(()=>this.tableInstanceService.getResults(this._tableParams))}replaceMetaDataFormulas(Ge){return(0,g.get)(Ge,"columns",[]).map(Se=>{const ke=(0,m.a_)(Se);return ke&&ke.displayFormula?ke.displayFormula:Se})}static#e=this.\u0275fac=function(Se){return new(Se||ht)(n.rXU(me),n.rXU(Le.Ix),n.rXU(Ae.o))};static#t=this.\u0275cmp=n.VBU({type:ht,selectors:[["app-table"]],inputs:{tableParams:"tableParams",emptyStateIconSize:"emptyStateIconSize"},outputs:{rowClick:"rowClick",sortClick:"sortClick"},features:[n.Jv_([me])],decls:11,vars:15,consts:()=>{let Ge;return Ge="No table content here",[[1,"flex-grow-1","d-flex","flex-column",3,"paginate","total","limit","offset","state","tableWrapperClass","tableClass"],[3,"class","ngClass",4,"ngFor","ngForOf"],["appTableAnchorHeightCalculator","","appTabIndex","","class","table-row",3,"click",4,"ngFor","ngForOf"],[1,"empty"],[1,"d-flex","flex-grow-1","justify-content-center","align-items-center"],["imgSrc","assets/img/empty-states/no-table.svg","label",Ge,3,"size"],[3,"ngClass"],[1,"d-flex","justify-content-start","align-items-end"],["data-test","header-title",1,"header-title"],["appTabIndex","","role","button","aria-label","Sort","title","Sort","class","sorting",4,"ngIf"],["data-test","filter-icon","class","flex-shrink-0 d-flex justify-content-center align-items-center filtering","svgIcon","filter-alt",4,"ngIf"],["appTabIndex","","role","button","aria-label","Sort","title","Sort",1,"sorting"],["appTabIndex","","data-test","sort-icon",1,"flex-shrink-0","d-flex","justify-content-center","align-items-center","sorting-icon",3,"click","svgIcon"],["data-test","filter-icon","svgIcon","filter-alt",1,"flex-shrink-0","d-flex","justify-content-center","align-items-center","filtering"],["appTableAnchorHeightCalculator","","appTabIndex","",1,"table-row",3,"click"],["class","with-anchor",3,"ngClass",4,"ngFor","ngForOf"],[1,"with-anchor",3,"ngClass"],["appTabIndex","",3,"click","touchstart","touchmove","href","isNavigable"],["data-test","table-component-row",3,"displayFieldInfo"]]},template:function(Se,ke){1&Se&&(n.j41(0,"app-table-list",0),n.nI1(1,"async"),n.bIt("paginate",function(Je){return ke.paginate(Je)}),n.j41(2,"thead")(3,"tr"),n.DNE(4,Ye,8,13,"th",1),n.k0s()(),n.qex(5),n.j41(6,"tbody"),n.DNE(7,Lt,2,1,"tr",2),n.k0s(),n.bVm(),n.qex(8,3),n.j41(9,"div",4),n.nrm(10,"app-empty-state",5),n.k0s(),n.bVm(),n.k0s()),2&Se&&(n.Y8G("total",null==ke.table?null:ke.table.total)("limit",null==ke.table?null:ke.table.limit)("offset",null==ke.table?null:ke.table.offset)("state",n.bMT(1,9,ke.loading$))("tableWrapperClass",n.eq3(11,Oe,null==ke._tableParams?null:ke._tableParams.stickyHeader))("tableClass",n.eq3(13,Xe,null==ke._tableParams?null:ke._tableParams.stickyHeader)),n.R7$(4),n.Y8G("ngForOf",null==ke.table?null:ke.table.tableHeaders),n.R7$(3),n.Y8G("ngForOf",null==ke.table?null:ke.table.tableRows),n.R7$(3),n.Y8G("size",ke.emptyStateIconSize))},styles:[".max-height-70vh[_ngcontent-%COMP%]{max-height:70vh}.border-collapse-separate[_ngcontent-%COMP%]{border-collapse:separate}.border-spacing-0[_ngcontent-%COMP%]{border-spacing:0}.color-dark-pastel-green[_ngcontent-%COMP%]{color:#00ac3a}.text-decoration-underline[_ngcontent-%COMP%]{text-decoration:underline}.z-index-1[_ngcontent-%COMP%]{z-index:1}.bg-crayon-blue[_ngcontent-%COMP%]{background-color:#035fef}.gap-5[_ngcontent-%COMP%]{gap:5px}.gap-10[_ngcontent-%COMP%]{gap:10px}.overflow-wrap-anywhere[_ngcontent-%COMP%]{overflow-wrap:anywhere}app-table-list[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{cursor:pointer}app-table-list[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:12px 9px;cursor:default}app-table-list[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:first-child{padding:12px 9px 12px 18px}app-table-list[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:12px 9px;line-height:24px;vertical-align:top}app-table-list[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:first-child{padding:12px 9px 12px 18px}app-table-list[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]     app-list-items-field-view{display:flex}app-table-list[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]     app-list-items-field-view>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;margin-right:0!important}.datatype-symbology[_ngcontent-%COMP%]{padding:9px 9px 9px 18px!important}.datatype-list[_ngcontent-%COMP%]{min-width:10px;max-width:200px}.datatype-string[_ngcontent-%COMP%], .datatype-uri[_ngcontent-%COMP%], .datatype-object[_ngcontent-%COMP%], .datatype-assignable[_ngcontent-%COMP%], .datatype-file[_ngcontent-%COMP%]{min-width:150px;max-width:200px}.datatype-uri[_ngcontent-%COMP%]{word-wrap:break-word}.datatype-html[_ngcontent-%COMP%]{min-width:250px;max-width:500px}.datatype-list[_ngcontent-%COMP%], .datatype-assignable[_ngcontent-%COMP%], .datatype-file[_ngcontent-%COMP%], .datatype-date[_ngcontent-%COMP%], .datatype-datetime[_ngcontent-%COMP%], .datatype-email[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-title[_ngcontent-%COMP%]{margin:0 0 4px}.sorting[_ngcontent-%COMP%]{margin:0 0 0 8px;width:9px;cursor:pointer}.sorting-icon[_ngcontent-%COMP%]{width:9px}.filtering[_ngcontent-%COMP%]{margin:0 0 0 8px;width:12px}td.with-anchor[_ngcontent-%COMP%]{padding:0!important;border:0!important}td.with-anchor[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;text-decoration:none!important;color:inherit!important;width:100%;padding:12px 9px}td.with-anchor[_ngcontent-%COMP%]:first-child   a[_ngcontent-%COMP%]{padding:12px 9px 12px 18px!important}td.with-anchor.datatype-symbology[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:9px 9px 9px 18px!important}.table-row[_ngcontent-%COMP%]{outline-offset:-2px}"],changeDetection:0})}return ht})()},55158:(at,N,s)=>{"use strict";s.d(N,{N:()=>g});var n=s(60177),a=s(93953);let g=(()=>{class m{static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275mod=a.$C({type:m});static#n=this.\u0275inj=a.G2t({imports:[n.MD]})}return m})()},80458:(at,N,s)=>{"use strict";s.d(N,{m:()=>m});var n=s(60177),a=s(35046),g=s(93953);let m=(()=>{class T{static#e=this.\u0275fac=function(E){return new(E||T)};static#t=this.\u0275mod=g.$C({type:T});static#n=this.\u0275inj=g.G2t({imports:[n.MD,a.c]})}return T})()},39973:(at,N,s)=>{"use strict";s.d(N,{G:()=>D});var n=s(67376),g=s(69172),m=s(93953),T=s(60177);function O(E,y){if(1&E&&(m.j41(0,"div",1)(1,"span"),m.EFF(2),m.k0s()()),2&E){const I=m.XpG();m.R7$(),m.ZvI("badge badge-pill ",I.value,""),m.R7$(),m.JRh(null==I.selectedType?null:I.selectedType.label)}}let D=(()=>{class E{constructor(){}ngOnChanges(){this.value&&(this.selectedType=(0,n.get)(g.yd.filter(I=>I.value===this.value),[0]))}static#e=this.\u0275fac=function(b){return new(b||E)};static#t=this.\u0275cmp=m.VBU({type:E,selectors:[["app-user-type-pill"]],inputs:{value:"value"},features:[m.OA$],decls:1,vars:1,consts:[["class","d-flex",4,"ngIf"],[1,"d-flex"]],template:function(b,L){1&b&&m.DNE(0,O,3,4,"div",0),2&b&&m.Y8G("ngIf",null==L.selectedType?null:L.selectedType.label)},dependencies:[T.bT],styles:[".full-user[_ngcontent-%COMP%]{font-size:1rem;background:#fff;color:#273c4e}.lite-user[_ngcontent-%COMP%]{font-size:1rem;background:#5cdcfe;color:#fff;border:0}"],changeDetection:0})}return E})()},46775:(at,N,s)=>{"use strict";s.d(N,{W:()=>a,Y:()=>n});const n={XS:0,SM:576,MD:768,LG:992,XL:1200},a={LOGIN:"Login | Noggin",ACTIVATE_ACCOUNT:"Activate Account | Noggin",FORGOT_PASSWORD:"Forgot Password | Noggin",SIGNED_OUT:"Signed Out | Noggin",ACCEPT_INVITE:"Invite | Noggin",ACCEPT_VERIFICATION:"Verification | Noggin",RESET_PASSWORD:"Reset Password | Noggin",NOT_AUTHORIZED:"Unauthorized | Noggin",BROWSER_NOT_SUPPORTED:"Unsupported Browser | Noggin",PAGE_NOT_FOUND:"Lost | Noggin",DEFAULT:"NOGGIN"}},25349:(at,N,s)=>{"use strict";s.d(N,{L:()=>m});var n=s(52168),a=s(35046),g=s(93953);let m=(()=>{class T{static#e=this.\u0275fac=function(E){return new(E||T)};static#t=this.\u0275mod=g.$C({type:T});static#n=this.\u0275inj=g.G2t({imports:[n.iI,a.c]})}return T})()},5485:(at,N,s)=>{"use strict";s.d(N,{g:()=>O});var n=s(19006),a=s(93953),g=s(87612),m=s(68775),T=s(32099);let O=(()=>{class D{constructor(y,I,b,L){this.window=y,this.deviceService=I,this.mobileAppMessageBusService=b,this.loggerService=L}openInNewWindow(y){const I=this.deviceService.cordovaMethodsAvailable()||this.deviceService.onNativeApp;this.loggerService.info("[BrowserWindowService/openInNewWindow], checking for mobile app and override",{inMobileApp:I,openLinkOverride:this.deviceService.openLinkMode,url:y}),"self"===this.deviceService.openLinkMode?this.openUrl(y,"_self"):"messageBus"===this.deviceService.openLinkMode?this.mobileAppMessageBusService.pushDataToMobileApp({input:y,identifier:"OPEN_LINK"}):this.openUrl(y,I?"_self":"_blank")}openUrl(y,I="_blank"){const b=this.window.open(y,I);b.opener&&(b.opener=null)}static#e=this.\u0275fac=function(I){return new(I||D)(a.KVO(n.jf),a.KVO(g.g),a.KVO(m.o),a.KVO(T.g))};static#t=this.\u0275prov=a.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},66386:(at,N,s)=>{"use strict";s.d(N,{K:()=>z});var n=s(93953),a=s(84412),g=s(21413),m=s(57786),T=s(33726),O=s(25558),D=s(7673),E=s(84572),y=s(60177),I=s(23294),b=s(96354),L=s(99172),o=s(56977),C=s(19006),w=s(5002),M=s(10506),q=s(72564);let z=(()=>{class F{get connectionMonitor$(){return this.isOnline$.pipe((0,I.F)())}constructor(k,Y,x,B){if(this.window=Y,this.isOnline$=new a.t(!0),this.destroyed$=new g.B,!(0,y.UE)(k))return;const j=x.isFeatureEnabled$(w.g.FEATURE_EIM_23059_FORM_RESILIENCE),$=(0,m.h)((0,T.R)(this.window,"offline"),(0,T.R)(this.window,"online")).pipe((0,b.T)(()=>this.window.navigator.onLine),(0,L.Z)(this.window.navigator.onLine)),H=j.pipe((0,O.n)(ne=>ne?B.isConnectedToServer$.pipe((0,L.Z)(!0)):(0,D.of)(!0))),ie=j.pipe((0,O.n)(ne=>ne?this.getConnectionSpeed$():(0,D.of)("4g")));(0,E.z)([$,ie,H]).pipe((0,o.Q)(this.destroyed$)).subscribe(([ne,Q,le])=>{this.isOnline$.next(ne&&"slow-2g"!==Q&&le)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}getConnectionSpeed$(){const k=this.window.navigator.connection;return k?(0,T.R)(k,"change").pipe((0,b.T)(()=>k.effectiveType),(0,L.Z)(k.effectiveType)):(0,D.of)("4g")}static#e=this.\u0275fac=function(Y){return new(Y||F)(n.KVO(n.Agw),n.KVO(C.jf),n.KVO(M.F),n.KVO(q.R))};static#t=this.\u0275prov=n.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},87612:(at,N,s)=>{"use strict";s.d(N,{g:()=>m});var n=s(19006),a=s(93953),g=s(32099);let m=(()=>{class T{constructor(D,E){this.loggerService=D,this.window=E,this.onNativeApp=!1,this.appPrintingSupport=!1,this.isAnAppleDevice=!1,this.openLinkMode="default"}checkForMobileApp(){return this.getDeviceInfo()&&(this.onNativeApp=!0),this.onNativeApp}cordovaMethodsAvailable(){return!(!this.window.webkit||!this.window.webkit.messageHandlers)}registerDevice(){this.deviceInfo=this.createDeviceInfo(this.getDeviceInfo()),this.deviceInfo&&this.isAnAppleDevice&&document.querySelector("[name=viewport]").setAttribute("content","width=device-width, initial-scale=1, maximum-scale=1")}createDeviceInfo(D){if(!D)return this.loggerService.warn("Unable to create device info, as none was present."),null;try{const E=JSON.parse(D);return this.appPrintingSupport=E.isMobilePrintEnabled||!1,this.isAnAppleDevice=(E.platform||"").toLowerCase().includes("ios"),this.loggerService.info("Retrieved device information",E),E}catch{return this.loggerService.error("Unable to parse device information"),null}}getDeviceInfo(){return this.window.deviceInfo}static#e=this.\u0275fac=function(E){return new(E||T)(a.KVO(g.g),a.KVO(n.jf))};static#t=this.\u0275prov=a.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},14784:(at,N,s)=>{"use strict";s.d(N,{Q:()=>ie});var n=s(67376),g=s(97586),m=s.n(g),T=s(84412),O=s(84572),D=s(7673),E=s(40605),y=s(21413),I=s(61594),b=s(25558),L=s(96354),o=s(5964),C=s(88141),w=s(99437),M=s(96697),q=s(50835),z=s(69172),F=s(92597),U=s(43662),k=s(93953),Y=s(15387),x=s(27916),B=s(70559),j=s(8142),$=s(76087),H=s(58439);let ie=(()=>{class ne{constructor(le,pe,te,ae,K,de,Me){this._sessionManagerService=le,this.processService=pe,this.i18nService=te,this.http=ae,this.ngZone=K,this.formulaService=de,this.consoleService=Me,this._isNogginUserOrAgent$=new T.t(!1),this._meSubject=new T.t(null),this._sessionManagerService.getSessionInfo$().pipe((0,I.$)(),(0,b.n)(me=>this._resolveMe(me).pipe((0,L.T)(be=>({user:be,sessionInfo:me}))))).subscribe(({user:me,sessionInfo:be})=>(this.i18nService.checkLocale$(me),this.toggleConsole(me,be),this._meSubject.next(me))),this._sessionManagerService.tokenChanged$.pipe((0,b.n)(me=>this._resolveMe(me))).subscribe(me=>this._meSubject.next(me)),"development"!==q.c.enCloudEnv&&this.ngZone.runOutsideAngular(()=>{const me=this.logActivity();this._meSubject.subscribe(be=>me.next((0,n.get)(be,"$tip")))}),(0,O.z)([this.getMe$(),this._sessionManagerService.getSessionInfo$()]).pipe((0,L.T)(([me,be])=>this.isAdminNogginUserOrAgent(be,me))).subscribe(me=>{this._isNogginUserOrAgent$.next(me)})}get me$(){return this.getMe$()}get isNogginUserOrAgent$(){return this._isNogginUserOrAgent$.asObservable()}getMe$(){return this._meSubject.asObservable()}_resolveMe(le){return le&&le.user?this.getCurrentUser():(0,D.of)(null)}getCurrentUser(){return this.processService.start("eim/process/shell/me").pipe((0,o.p)(le=>le.finished),(0,I.$)(),(0,L.T)(le=>({$tip:(0,n.head)((0,n.get)(le,"vars.tip",[])),email:(0,n.head)((0,n.get)(le,"vars.email",[])),status:(0,n.head)((0,n.get)(le,"vars.status",[])),profiles:(0,n.get)(le,"vars.profiles",[]),identityProvider:(0,n.head)((0,n.get)(le,"vars.identityProvider",[])),preference:(0,n.head)((0,n.get)(le,"vars.preference",[])),privateSecurityGrant:(0,n.head)((0,n.get)(le,"vars.privateSecurityGrant",[])),fullName:(0,n.head)((0,n.get)(le,"vars.fullName",[])),contactTip:(0,n.head)((0,n.get)(le,"vars.contactTip",[])),avatarTip:(0,n.head)((0,n.get)(le,"vars.avatarTip",[])),localeId:(0,n.head)((0,n.get)(le,"vars.locale-id",[]))})))}isNogginUser(le){return!!le.email&&/\@(noggin\.io|noggin\.com\.au|nsaf\.noggin\.com\.au)$/.test(le.email)}isAgent(le){return!(!le||!le.token||!(0,U.C)(le.token).agentEmail)}isAdmin(le){return(0,n.get)(le,"profiles",[]).includes("app/profile/administrator")}isAdmin$(){return this.getMe$().pipe((0,o.p)(Boolean),(0,L.T)(le=>this.isAdmin(le)))}toggleConsole(le,pe){return this.isAdminNogginUserOrAgent(pe,le)?(window.EN=this.consoleService,!0):(delete window.EN,!1)}todayUtc(){return m()().utc().format("YYYY-MM-DD")}logActivity(le=(0,E.Y)(15e3)){const pe=new y.B,te=q.c.host+q.c.billingServicePath+"/activity";let ae,K;return pe.asObservable().pipe((0,C.M)(de=>ae=de||ae),(0,o.p)(()=>!!ae),(0,L.T)(()=>this.todayUtc()),(0,o.p)(de=>K!==de),(0,b.n)(de=>this.http.post(te,null).pipe((0,C.M)(()=>K=de),(0,w.W)(Me=>(console.error("Failed to log activity",Me),(0,D.of)()))))).subscribe(),le.subscribe(()=>pe.next(ae)),pe}isFullUserType$(){return this.getMe$().pipe((0,o.p)(Boolean),(0,M.s)(1),(0,b.n)(le=>this.formulaService.evaluate((0,F.Ac)({name:"INARRAY",args:[{name:"MAP",args:[{name:"FIELD",args:["app/user:profiles",le.$tip]},{name:"COALESCE",args:[{name:"FIELD",args:["app/profile:user-type",{name:"VAR",args:["Current profile"]}]},z.ve.fullUser]},"Current profile"]},z.ve.fullUser]}))),(0,L.T)(le=>"true"===le[0]),(0,w.W)(()=>(0,D.of)(!1)))}isAdminNogginUserOrAgent(le,pe){return this.isAgent(le)||this.isAdmin(pe)&&this.isNogginUser(pe)}static#e=this.\u0275fac=function(pe){return new(pe||ne)(k.KVO(Y.Pb),k.KVO(x.V),k.KVO(B.W4),k.KVO(j.V),k.KVO(k.SKi),k.KVO($.C),k.KVO(H.H))};static#t=this.\u0275prov=k.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})()},68775:(at,N,s)=>{"use strict";s.d(N,{o:()=>T});var n=s(19006),a=s(93953),g=s(87612),m=s(32099);let T=(()=>{class O{constructor(E,y,I){this.deviceService=E,this.loggerService=y,this.window=I}pushDataToMobileApp(E){if(this.deviceService.onNativeApp){this.loggerService.info("Sending data to the mobile app.");try{this.window.webkit&&this.window.webkit.messageHandlers?this.window.webkit.messageHandlers.cordova_iab.postMessage(JSON.stringify(E)):this.loggerService.error("Unable to send data to the mobile app. Functionality not available.",E.identifier)}catch(y){this.loggerService.error("Failed in sending data to the mobile app.",[y,E.identifier])}}else this.loggerService.warn("Not on mobile app. Will not be able to push any data.",E.identifier)}static#e=this.\u0275fac=function(y){return new(y||O)(a.KVO(g.g),a.KVO(m.g),a.KVO(n.jf))};static#t=this.\u0275prov=a.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})()},634:(at,N,s)=>{"use strict";s.d(N,{z:()=>k});var n=s(61594),a=s(88141),g=s(25558),m=s(7673),T=s(27468),O=s(3149),D=s(50835),E=s(67376),I=s(40673),b=s(19006),L=s(90947),o=s(93953),C=s(44667),w=s(14784),M=s(51525),q=s(87612),z=s(32099),F=s(41989),U=s(68775);let k=(()=>{class Y{constructor(B,j,$,H,ie,ne,Q,le){this.objectService=B,this.meService=j,this.mediaService=$,this.deviceService=H,this.loggerService=ie,this.localeService=ne,this.mobileAppMessageBusService=Q,this.localStorage=le,this.getBase64FromBlob$=L.j,this.localePref=[I.Ay.LANG_DEFAULT],this.localeService.localeSubject.pipe((0,n.$)()).subscribe(pe=>{this.localePref.unshift(pe.localeId)})}switchAppToOfflineMode(B){this.mobileAppMessageBusService.pushDataToMobileApp({input:B,identifier:"OFFLINE_MODE"})}injectSessionAndUserInfoToMobileApp(){this.deviceService.onNativeApp&&(this.subs=this.meService.getMe$().pipe((0,a.M)(B=>{this.loggedInUser=B,this.loggedInUser?.localeId&&this.localePref.unshift(this.loggedInUser?.localeId)}),(0,g.n)(B=>{const j=this.objectService.getObject("app/branding-settings/default",O.I).pipe((0,n.$)()),$=B&&B.avatarTip?this.mediaService.getImageBlobByTip(B.avatarTip,!1,240).pipe((0,n.$)()):(0,m.of)(null);return(0,T.p)([j,$])})).subscribe(([B,j])=>{j?this.getBase64FromBlob$(j,!1).toPromise().then($=>{this.createPayloadAndPush(B,$)},$=>{this.loggerService.error("Unable to parse the avatar blob"),this.createPayloadAndPush(B)}):this.createPayloadAndPush(B)},B=>{this.loggerService.error("error in creating session payload for the mobile app.")}))}createPayloadAndPush(B,j=null){const $={namespace:D.c.ns,username:this.loggedInUser?this.loggedInUser.fullName||this.loggedInUser.email:null,usertip:this.loggedInUser?this.loggedInUser.$tip:null,avatar:j||null,organisationName:(0,E.get)(B,"organisationName",null),url:window.location.hostname,pushServiceUrl:`${D.c.host}${D.c.pushServicePath}`,externalServiceUrl:`${D.c.host}${D.c.externalPath}`,session:this.localStorage.getItem(I.Ay.LOCAL_STORAGE.SESSION_TOKEN),localeIds:this.localePref};this.mobileAppMessageBusService.pushDataToMobileApp({input:$,identifier:`SESSION_AND_USER_INFO_${D.c.ns}`})}static#e=this.\u0275fac=function(j){return new(j||Y)(o.KVO(C.T),o.KVO(w.Q),o.KVO(M.u),o.KVO(q.g),o.KVO(z.g),o.KVO(F.i),o.KVO(U.o),o.KVO(b.Wd))};static#t=this.\u0275prov=o.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})()},65348:(at,N,s)=>{"use strict";s.d(N,{p:()=>k});var n=s(67376),g=s(7673),m=s(18810),T=s(25558),O=s(61594),D=s(96354),E=s(61339),y=s(69172),I=s(55516),b=s(93953),L=s(51229),o=s(76087),C=s(44667),w=s(27916),M=s(15387),q=s(18228),z=s(14784),F=function(Y){return Y[Y.SUCCESS=0]="SUCCESS",Y[Y.FAILED=1]="FAILED",Y[Y.ALREADY_SAME_PROFILE=2]="ALREADY_SAME_PROFILE",Y}(F||{});const U={success:F.SUCCESS,failed:F.FAILED,"already same profile":F.ALREADY_SAME_PROFILE};let k=(()=>{class Y{constructor(B,j,$,H,ie,ne,Q){this.queryService=B,this.formulaService=j,this.objectService=$,this.processService=H,this.sessionManagerService=ie,this.locationService=ne,this.meService=Q}get myProfile$(){return this.getMyProfileOnce$()}getMyProfileOnce$(){return this.sessionManagerService.getSessionInfo$().pipe((0,T.n)(B=>this.objectService.getObject(B.profile,E.F)),(0,O.$)())}getProfileNumber$(){return this.sessionManagerService.getSessionInfo$().pipe((0,T.n)(B=>this.formulaService.evaluate('COUNT(FIELD("app/user:profiles"))',B.user)),(0,D.T)(B=>parseInt(B[0],10)))}getMyProfiles$(){return this.sessionManagerService.getSessionInfo$().pipe((0,T.n)(B=>this.queryService.execute1dArray(I.R.GENERIC_QUERY,{extraAttributes:[{label:"name",formula:'FIELD("app/profile:name")'},{label:"userType",formula:'FIELD("app/profile:user-type")'}],extraFilters:[{label:"Query type filter",formula:'ISTYPE("app/profile")'},{label:"Belongs to the user",formula:'INARRAY(FIELD("app/user:profiles", VAR("User tip")), TIP())'}],vars:{"User tip":[B.user]},dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:['FIELD("app/profile:name")']}]})),(0,D.T)(B=>B.map(j=>({$tip:(0,n.get)(j,"$tip[0]"),name:(0,n.get)(j,"name[0]"),userType:(0,n.get)(j,"userType[0]",y.ve.fullUser)}))))}switchProfile(B){return this.processService.start("eim/process/auth/switch-profile",{"Profile tip":[B]}).pipe((0,O.$)(j=>j.finished),(0,T.n)(({vars:j})=>{const $=(0,n.get)(j,"Status[0]"),H=(0,n.get)(j,"JWT token[0]");if("success"===$&&H){const ie=U[$];return this.sessionManagerService.updateSessionInfo(H),this.meService.getMe$().pipe((0,O.$)()).subscribe(ne=>this.sessionManagerService.setLastProfile(ne.email,B)),this.locationService.refreshToRoot(),(0,g.of)(ie)}return(0,m.$)("Failed to switch profile.")}))}isLiteUser(){return this.getMyProfileOnce$().pipe((0,D.T)(B=>B.userType===y.ve.liteUser))}static#e=this.\u0275fac=function(j){return new(j||Y)(b.KVO(L.c),b.KVO(o.C),b.KVO(C.T),b.KVO(w.V),b.KVO(M.Pb),b.KVO(q.N),b.KVO(z.Q))};static#t=this.\u0275prov=b.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})()},795:(at,N,s)=>{"use strict";s.d(N,{i:()=>a,j:()=>n});const n={"app/notification-category/security":'\n            <svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n                <title>Icons/Securitybreach - Notification</title>\n                <desc>Created with Sketch.</desc>\n                <g id="Icons/Securitybreach---Notification" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n                    <g id="baseline-security-24px" transform="translate(9.000000, -0.500000)" fill="#FFFFFF" fill-rule="nonzero">\n                        <path d="M41,0.5 L0,18.6818182 L0,45.9545455 C0,71.1818182 17.4933333,94.7727273 41,100.5 C64.5066667,94.7727273 82,71.1818182 82,45.9545455 L82,18.6818182 L41,0.5 Z M41,50.4545455 L72.8888889,50.4545455 C70.4744444,69.1818182 57.9466667,85.8636364 41,91.0909091 L41,50.5 L9.11111111,50.5 L9.11111111,24.5909091 L41,10.4545455 L41,50.4545455 Z" id="Shape"></path>\n                    </g>\n                </g>\n            </svg>\n    ',"app/notification-category/reminder":'\n            <svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n                <title>Icons/Alert</title>\n                <desc>Created with Sketch.</desc>\n                <g id="Icons/Alert" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n                    <g id="baseline-alarm-24px-copy" transform="translate(2.000000, 1.000000)" fill="#FFFFFF" fill-rule="nonzero">\n                        <path d="M97,18.590864 L74.69,0 L68.4335,7.36891758 L90.7435,25.9597815 L97,18.590864 Z M28.518,7.36891758 L22.31,0 L0,18.5427011 L6.2565,25.9116187 L28.518,7.36891758 Z M50.925,29.571996 L43.65,29.571996 L43.65,58.469712 L66.6875,72.1961271 L70.325,66.2720953 L50.925,54.8574975 L50.925,29.571996 Z M48.5,10.306852 C24.3955,10.306852 4.85,29.7164846 4.85,53.653426 C4.85,77.5903674 24.347,97 48.5,97 C72.6045,97 92.15,77.5903674 92.15,53.653426 C92.15,29.7164846 72.6045,10.306852 48.5,10.306852 Z M48.5,87.367428 C29.7305,87.367428 14.55,72.2924528 14.55,53.653426 C14.55,35.0143992 29.7305,19.939424 48.5,19.939424 C67.2695,19.939424 82.45,35.0143992 82.45,53.653426 C82.45,72.2924528 67.2695,87.367428 48.5,87.367428 Z" id="Shape"></path>\n                    </g>\n                </g>\n            </svg>\n    ',"app/notification-category/mentions":'\n            <svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n                <title>Icons/Mentions - Notification</title>\n                <desc>Created with Sketch.</desc>\n                <g id="Icons/Mentions---Notification" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n                     <path d="M90,0 C95.5,0 100,4.5 100,10 L100,70 C100,75.5 95.5,80 90,80 L20,80 L0,100 L0.05,10 C0.05,4.5 4.5,0 10,0 L90,0 Z M59.5790514,50.4306839 C61.3577164,50.4306839 63.0029569,50.0412855 64.5148221,49.2624769 C66.0266874,48.4836683 67.3409035,47.4140549 68.4575099,46.0536044 C69.5741163,44.693154 70.4436728,43.0911984 71.0662055,41.2476895 C71.6887383,39.4041806 72,37.4276138 72,35.3179298 C72,32.1632621 71.4071206,29.3290329 70.2213439,26.8151571 C69.0355672,24.3012813 67.4496147,22.1719126 65.4634387,20.4269871 C63.4772628,18.6820615 61.1946769,17.3413479 58.6156126,16.4048059 C56.0365484,15.468264 53.3438875,15 50.5375494,15 C48.3240996,15 46.2045556,15.2908166 44.1788538,15.8724584 C42.1531519,16.4541003 40.2707597,17.2674008 38.5316206,18.3123845 C36.7924814,19.3573681 35.2114696,20.6093581 33.7885375,22.0683919 C32.3656055,23.5274257 31.1502027,25.1293813 30.1422925,26.8743068 C29.1343823,28.6192324 28.3586984,30.4873591 27.8152174,32.4787431 C27.2717364,34.470127 27,36.5206302 27,38.6303142 C27,42.3961987 27.6274641,45.7874156 28.8824111,48.8040665 C30.1373581,51.8207175 31.8764711,54.3789174 34.0998024,56.4787431 C36.3231336,58.5785687 38.9565065,60.1903826 42,61.3142329 C45.0434935,62.4380833 48.3537371,63 51.93083,63 C55.4486342,63 58.5810139,62.5760979 61.3280632,61.728281 C64.0751125,60.880464 66.4762743,59.7862051 68.5316206,58.4454713 L67.5237154,55.8133087 C67.2865601,55.1823752 66.8814258,54.8669131 66.3083004,54.8669131 C66.0316192,54.8669131 65.6956542,54.9753532 65.3003953,55.1922366 C64.5889292,55.6062867 63.7786607,55.9956852 62.8695652,56.3604436 C61.9604698,56.7252021 60.9525747,57.0505223 59.8458498,57.336414 C58.7391249,57.6223058 57.523722,57.8490441 56.1996047,58.0166359 C54.8754875,58.1842276 53.4525768,58.2680222 51.93083,58.2680222 C49.1640178,58.2680222 46.5899329,57.8539783 44.208498,57.025878 C41.8270632,56.1977777 39.7569258,54.9605751 37.9980237,53.3142329 C36.2391216,51.6678907 34.8557363,49.6173875 33.8478261,47.1626617 C32.8399159,44.707936 32.3359684,41.8638486 32.3359684,38.6303142 C32.3359684,35.9685634 32.79545,33.4842999 33.7144269,31.1774492 C34.6334038,28.8705984 35.9080946,26.8693862 37.5385375,25.1737523 C39.1689805,23.4781184 41.0958387,22.1423339 43.31917,21.1663586 C45.5425012,20.1903833 47.9486037,19.702403 50.5375494,19.702403 C52.9091028,19.702403 55.0928754,20.0326523 57.0889328,20.6931608 C59.0849902,21.3536694 60.7994,22.3394882 62.2322134,23.650647 C63.6650269,24.9618057 64.7816166,26.5933359 65.5820158,28.5452865 C66.3824151,30.4972371 66.7826087,32.7547623 66.7826087,35.3179298 C66.7826087,36.8558302 66.6195668,38.2754094 66.2934783,39.5767098 C65.9673897,40.8780102 65.5276708,42.0018437 64.9743083,42.948244 C64.4209458,43.8946443 63.7737191,44.6290793 63.0326087,45.1515712 C62.2914983,45.674063 61.505933,45.935305 60.6758893,45.935305 C60.2608675,45.935305 59.8754958,45.8909431 59.5197628,45.8022181 C59.1640298,45.7134931 58.8626495,45.550833 58.6156126,45.3142329 C58.3685758,45.0776328 58.1709494,44.7621708 58.0227273,44.3678373 C57.8745052,43.9735039 57.8003953,43.4805945 57.8003953,42.8890943 C57.8003953,42.0412773 57.9584964,40.9864512 58.2747036,39.7245841 L61.1205534,28.7523105 C60.1126432,28.3185437 59.0652228,27.9833653 57.9782609,27.7467652 C56.8912989,27.5101652 55.5869641,27.3918669 54.0652174,27.3918669 C52.3063153,27.3918669 50.7055408,27.5939598 49.2628458,27.9981516 C47.8201509,28.4023434 46.5158161,28.9544019 45.3498024,29.6543438 C44.1837886,30.3542857 43.1709529,31.1725153 42.3112648,32.1090573 C41.4515767,33.0455993 40.7351807,34.0511345 40.1620553,35.1256932 C39.5889299,36.2002518 39.1590923,37.3142271 38.8725296,38.4676525 C38.5859669,39.6210779 38.4426877,40.7596986 38.4426877,41.883549 C38.4426877,43.1059827 38.5958483,44.2347453 38.9021739,45.2698706 C39.2084996,46.3049959 39.6729218,47.2020911 40.2954545,47.961183 C40.9179873,48.7202749 41.6887306,49.3166953 42.6077075,49.7504621 C43.5266844,50.1842289 44.6086894,50.4011091 45.8537549,50.4011091 C47.3557387,50.4011091 48.7588868,50.0955052 50.0632411,49.4842884 C51.3675955,48.8730715 52.602761,47.8576781 53.7687747,46.4380776 C54.1837965,47.8379614 54.9199552,48.8533548 55.9772727,49.4842884 C57.0345903,50.1152219 58.2351711,50.4306839 59.5790514,50.4306839 Z M47.2908587,46 C46.2142144,46 45.3965864,45.6429633 44.8379501,44.9288793 C44.2793139,44.2147953 44,43.2140869 44,41.9267241 C44,40.6393614 44.233608,39.3972761 44.700831,38.200431 C45.168054,37.003586 45.8028584,35.9425334 46.6052632,35.0172414 C47.4076679,34.0919494 48.3573352,33.3577613 49.4542936,32.8146552 C50.551252,32.271549 51.7294489,32 52.9889197,32 C53.6795972,32 54.3499506,32.0603442 55,32.1810345 L52.7756233,40.6896552 C52.5115407,41.7155224 52.176364,42.5703989 51.7700831,43.2543103 C51.3638022,43.9382218 50.9168999,44.4863485 50.4293629,44.8987069 C49.9418258,45.3110653 49.4289039,45.5977003 48.8905817,45.7586207 C48.3522595,45.919541 47.8190239,46 47.2908587,46 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>\n                </g>\n            </svg>\n    ',"app/notification-category/message-received":'\n            <svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n                <title>Icons/new_message-notification</title>\n                <desc>Created with Sketch.</desc>\n                <g id="Icons/new_message-notification" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n                    <g id="baseline-speaker_notes-24px-copy" fill="#FFFFFF" fill-rule="nonzero">\n                        <path d="M90,0 L10,0 C4.5,0 0.05,4.5 0.05,10 L0,100 L20,80 L90,80 C95.5,80 100,75.5 100,70 L100,10 C100,4.5 95.5,0 90,0 Z M28,60 L22,60 C20.8954305,60 20,59.1045695 20,58 L20,52 C20,50.8954305 20.8954305,50 22,50 L28,50 C29.1045695,50 30,50.8954305 30,52 L30,58 C30,59.1045695 29.1045695,60 28,60 Z M28,45 L22,45 C20.8954305,45 20,44.1045695 20,43 L20,37 C20,35.8954305 20.8954305,35 22,35 L28,35 C29.1045695,35 30,35.8954305 30,37 L30,43 C30,44.1045695 29.1045695,45 28,45 Z M28,30 L22,30 C20.8954305,30 20,29.1045695 20,28 L20,22 C20,20.8954305 20.8954305,20 22,20 L28,20 C29.1045695,20 30,20.8954305 30,22 L30,28 C30,29.1045695 29.1045695,30 28,30 Z M63,60 L42,60 C40.8954305,60 40,59.1045695 40,58 L40,52 C40,50.8954305 40.8954305,50 42,50 L63,50 C64.1045695,50 65,50.8954305 65,52 L65,58 C65,59.1045695 64.1045695,60 63,60 Z M78,45 L42,45 C40.8954305,45 40,44.1045695 40,43 L40,37 C40,35.8954305 40.8954305,35 42,35 L78,35 C79.1045695,35 80,35.8954305 80,37 L80,43 C80,44.1045695 79.1045695,45 78,45 Z M78,30 L42,30 C40.8954305,30 40,29.1045695 40,28 L40,22 C40,20.8954305 40.8954305,20 42,20 L78,20 C79.1045695,20 80,20.8954305 80,22 L80,28 C80,29.1045695 79.1045695,30 78,30 Z" id="Shape"></path>\n                    </g>\n                </g>\n            </svg>\n    ',"app/notification-category/for-your-action":'\n            <svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n                <title>Icons/Assigned_to_me</title>\n                <desc>Created with Sketch.</desc>\n                <g id="Icons/Assigned_to_me" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n                    <g id="baseline-assignment_ind-24px" transform="translate(5.000000, 0.000000)" fill="#FFFFFF" fill-rule="nonzero">\n                        <path d="M80,10 L59.1,10 C57,4.2 51.5,0 45,0 C38.5,0 33,4.2 30.9,10 L10,10 C4.5,10 0,14.5 0,20 L0,90 C0,95.5 4.5,100 10,100 L80,100 C85.5,100 90,95.5 90,90 L90,20 C90,14.5 85.5,10 80,10 Z M45,10 C47.75,10 50,12.25 50,15 C50,17.75 47.75,20 45,20 C42.25,20 40,17.75 40,15 C40,12.25 42.25,10 45,10 Z M45,30 C53.3,30 60,36.7 60,45 C60,53.3 53.3,60 45,60 C36.7,60 30,53.3 30,45 C30,36.7 36.7,30 45,30 Z M75,90 L15,90 L15,82.8444444 C15,72.6222222 35,67 45,67 C55,67 75,72.6222222 75,82.8444444 L75,90 Z" id="Shape"></path>\n                    </g>\n                </g>\n            </svg>\n    ',"app/notification-category/for-your-information":'\n            <svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n                <title>Icons/Information</title>\n                <desc>Created with Sketch.</desc>\n                <g id="Icons/Information" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n                    <g id="Icons/Info-Copy-3" transform="translate(1.000000, -1.500000)" fill="#FFFFFF" fill-rule="nonzero">\n                        <path d="M49.5,0.5 C22.176,0.5 0,22.9 0,50.5 C0,78.1 22.176,100.5 49.5,100.5 C76.824,100.5 99,78.1 99,50.5 C99,22.9 76.824,0.5 49.5,0.5 Z M53,80.3789063 L46,80.3789063 C44.8954305,80.3789063 44,79.4834757 44,78.3789063 L44,46.9444444 C44,45.8398749 44.8954305,44.9444444 46,44.9444444 L53,44.9444444 C54.1045695,44.9444444 55,45.8398749 55,46.9444444 L55,78.3789063 C55,79.4834757 54.1045695,80.3789063 53,80.3789063 Z M53,33.8333333 L46,33.8333333 C44.8954305,33.8333333 44,32.9379028 44,31.8333333 L44,24.7222222 C44,23.6176527 44.8954305,22.7222222 46,22.7222222 L53,22.7222222 C54.1045695,22.7222222 55,23.6176527 55,24.7222222 L55,31.8333333 C55,32.9379028 54.1045695,33.8333333 53,33.8333333 Z" id="Shape-Copy-2"></path>\n                    </g>\n                </g>\n            </svg>\n    ',"app/notification-category/reminder-danger":'\n            <svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n                <title>Icons/Alert</title>\n                <desc>Created with Sketch.</desc>\n                <g id="Icons/Alert" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n                    <g id="baseline-alarm-24px-copy" transform="translate(2.000000, 1.000000)" fill="#FFFFFF" fill-rule="nonzero">\n                        <path d="M97,18.590864 L74.69,0 L68.4335,7.36891758 L90.7435,25.9597815 L97,18.590864 Z M28.518,7.36891758 L22.31,0 L0,18.5427011 L6.2565,25.9116187 L28.518,7.36891758 Z M50.925,29.571996 L43.65,29.571996 L43.65,58.469712 L66.6875,72.1961271 L70.325,66.2720953 L50.925,54.8574975 L50.925,29.571996 Z M48.5,10.306852 C24.3955,10.306852 4.85,29.7164846 4.85,53.653426 C4.85,77.5903674 24.347,97 48.5,97 C72.6045,97 92.15,77.5903674 92.15,53.653426 C92.15,29.7164846 72.6045,10.306852 48.5,10.306852 Z M48.5,87.367428 C29.7305,87.367428 14.55,72.2924528 14.55,53.653426 C14.55,35.0143992 29.7305,19.939424 48.5,19.939424 C67.2695,19.939424 82.45,35.0143992 82.45,53.653426 C82.45,72.2924528 67.2695,87.367428 48.5,87.367428 Z" id="Shape"></path>\n                    </g>\n                </g>\n            </svg>\n'},a={"app/notification-category/security":"assets/img/notifications/security-alert.svg","app/notification-category/reminder":"assets/img/notifications/reminder.svg","app/notification-category/mentions":"assets/img/notifications/mentions.svg","app/notification-category/message-received":"assets/img/notifications/message-received.svg","app/notification-category/for-your-action":"assets/img/notifications/for-your-action.svg","app/notification-category/for-your-information":"assets/img/notifications/information.svg","app/notification-category/reminder-danger":"assets/img/notifications/reminder.svg"}},19937:(at,N,s)=>{"use strict";s.d(N,{f:()=>D});var n=s(6806),a=s(67376),m=s(57089),T=s(795),O=s(93953);let D=(()=>{class E{constructor(I){this._notificationsService=I}set(I,b){return this._notificationsService.set(I,b)}remove(I){return this._notificationsService.remove(I)}showToast(I,b,L,o={}){return this._notificationsService.create(I,b,L,o)}showToastWithTemplate(I,b,L={}){return this._notificationsService.html(I,b,L)}showSuccessToast(I,b={}){return this.showToast("",(0,a.escape)(I),n._n.Success,this.optionsWithDefaults(b))}showSuccessToastWithTemplate(I,b={}){const L=m.h.sanitizeHtml(I);return this.showToastWithTemplate(L,n._n.Success,this.optionsWithDefaults(b))}showErrorToast(I,b={}){return this.showToast("",(0,a.escape)(I),n._n.Error,this.optionsWithDefaults(b))}showErrorToastWithTemplate(I,b={}){const L=m.h.sanitizeHtml(I);return this.showToastWithTemplate(L,n._n.Error,this.optionsWithDefaults(b))}showWarningToast(I,b={}){return this.showToast("",(0,a.escape)(I),n._n.Warn,this.optionsWithDefaults(b))}showInfoToast(I,b={}){return this.showToast("",(0,a.escape)(I),n._n.Info,this.optionsWithDefaults(b))}showToastMessage(I,b,L=!1){const o=L?I:`\n      <div role="region" id="notification" aria-live="polite">\n        <span>${I}</span>\n      </div>\n    `;"SUCCESS"===b&&this.showSuccessToastWithTemplate(o),"FAILURE"===b&&this.showErrorToastWithTemplate(o)}optionsWithDefaults(I){return{icons:{success:T.j["app/notification-category/for-your-information"],alert:"",error:T.j["app/notification-category/for-your-information"],info:T.j["app/notification-category/message-received"],warn:T.j["app/notification-category/for-your-information"]},...I}}static#e=this.\u0275fac=function(b){return new(b||E)(O.KVO(n.I2))};static#t=this.\u0275prov=O.jDH({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})()},7333:(at,N,s)=>{"use strict";s.d(N,{r:()=>ie});var n=s(60177),a=s(52168),g=s(89417),m=s(99213),T=s(29968),O=s(6806),D=s(49689),E=s(62542),y=s(12077),I=s(41536),b=s(25349),L=s(72998),o=s(69138),C=s(37206),w=s(48952),M=s(85382),q=s(35046),z=s(93953);let F=(()=>{class ne{static#e=this.\u0275fac=function(pe){return new(pe||ne)};static#t=this.\u0275mod=z.$C({type:ne});static#n=this.\u0275inj=z.G2t({imports:[n.MD,a.iI,q.c]})}return ne})();var U=s(93210);let k=(()=>{class ne{static#e=this.\u0275fac=function(pe){return new(pe||ne)};static#t=this.\u0275mod=z.$C({type:ne});static#n=this.\u0275inj=z.G2t({imports:[n.MD,q.c]})}return ne})(),Y=(()=>{class ne{static#e=this.\u0275fac=function(pe){return new(pe||ne)};static#t=this.\u0275mod=z.$C({type:ne});static#n=this.\u0275inj=z.G2t({imports:[n.MD]})}return ne})(),x=(()=>{class ne{static#e=this.\u0275fac=function(pe){return new(pe||ne)};static#t=this.\u0275mod=z.$C({type:ne});static#n=this.\u0275inj=z.G2t({})}return ne})();var B=s(49046),j=s(31741),$=s(39488),H=s(5640);let ie=(()=>{class ne{static#e=this.\u0275fac=function(pe){return new(pe||ne)};static#t=this.\u0275mod=z.$C({type:ne});static#n=this.\u0275inj=z.G2t({imports:[E.Ud,b.L,n.MD,a.iI,T.UN,y.L,O.V2,I.G,L.O,D.Lk,g.YN,o.b,C.$,w.J,M.T,m.m_,F,U.E,k,Y,x,B.L,j.J,$.a,H.Pd]})}return ne})()},77184:(at,N,s)=>{"use strict";s.d(N,{V:()=>E});var n=s(89417),a=s(84572),g=s(96354),m=s(99172),T=s(23294),O=s(69172),D=s(93953);let E=(()=>{class y{constructor(){this.model=Object.create({}),this.loadingStates=O.Gu,this.loadingState=O.Gu.inProgress,this.form=new n.gE({}),this.options={formState:{}},this.disabled$=(0,a.z)([this.form.statusChanges,this.form.valueChanges]).pipe((0,g.T)(()=>!(!this.form.pristine&&!this.form.invalid)),(0,m.Z)(!0),(0,T.F)())}setProps(b,L,o,C){this.header=b,this.fields=L,this.options=C||this.options,this.model=o||this.model}save(){this.onDone(this.model)}static#e=this.\u0275fac=function(L){return new(L||y)};static#t=this.\u0275cmp=D.VBU({type:y,selectors:[["app-formly-form-side-sheet"]],decls:5,vars:9,consts:[["action","Save",3,"actioned","showCancelButton","disabled$"],[3,"showHeader","showBorder"],[3,"form","fields","model","options"]],template:function(L,o){1&L&&(D.j41(0,"app-side-sheet-header",0),D.bIt("actioned",function(){return o.save()}),D.EFF(1),D.k0s(),D.j41(2,"div")(3,"app-side-sheet-section",1),D.nrm(4,"formly-form",2),D.k0s()()),2&L&&(D.Y8G("showCancelButton",!0)("disabled$",o.disabled$),D.R7$(),D.SpI(" ",o.header,"\n"),D.R7$(2),D.Y8G("showHeader",!1)("showBorder",!1),D.R7$(),D.Y8G("form",o.form)("fields",o.fields)("model",o.model)("options",o.options))}})}return y})()},23702:(at,N,s)=>{"use strict";s.d(N,{_:()=>L});var n=s(67376),g=s(21413),m=s(56977),T=s(93953),O=s(66386);const D=o=>({"badge-success":o});function E(o,C){if(1&o){const w=T.RV6();T.j41(0,"app-side-sheet-list-item",5),T.bIt("click",function(){const q=T.eBV(w).$implicit,z=T.XpG(2);return T.Njj(!z.disabled&&z.selectItem.next(q))}),T.j41(1,"div"),T.EFF(2),T.k0s()()}if(2&o){const w=C.$implicit,M=T.XpG(2);T.Y8G("hasChevron",!0)("disabled",M.disabled),T.R7$(2),T.JRh(w.label)}}function y(o,C){if(1&o&&(T.j41(0,"app-side-sheet-section",3)(1,"app-side-sheet-list"),T.DNE(2,E,3,3,"app-side-sheet-list-item",4),T.k0s()()),2&o){const w=T.XpG();T.Y8G("showBorder",!1)("showHeader",!1),T.R7$(2),T.Y8G("ngForOf",w.list)}}function I(o,C){if(1&o){const w=T.RV6();T.j41(0,"app-side-sheet-list-item",7)(1,"div",8),T.bIt("click",function(){const q=T.eBV(w).$implicit,z=T.XpG(2);return T.Njj(!z.disabled&&z.selectItem.next(q))}),T.j41(2,"div")(3,"span",9),T.EFF(4),T.k0s(),T.j41(5,"span",10),T.EFF(6),T.k0s()(),T.j41(7,"div",11),T.nrm(8,"span",12),T.k0s()()()}if(2&o){const w=C.$implicit,M=T.XpG(2);T.Y8G("disabled",M.disabled),T.R7$(3),T.Y8G("ngClass",T.eq3(4,D,"Relative"===M.by&&M.formula)),T.R7$(),T.JRh("Relative"===M.by&&M.formula?1:0),T.R7$(2),T.JRh(w.label)}}function b(o,C){if(1&o&&(T.j41(0,"app-side-sheet-list"),T.DNE(1,I,9,6,"app-side-sheet-list-item",6),T.k0s()),2&o){const w=T.XpG();T.R7$(),T.Y8G("ngForOf",w.list)}}let L=(()=>{class o{constructor(w){this.connectionService=w,this.list=[],this.title="Please select from the list",this.selectItem=new g.B,this.monitorConnection=!1,this.destroyed$=new g.B}ngOnInit(){this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,m.Q)(this.destroyed$)).subscribe(w=>{this.disabled=!w})}setProps({list:w,title:M}){this.list=w,this.title=M,this.formula=(0,n.get)(w,"[0].formula",null),this.by=(0,n.get)(w,"[0].by",null),this.showBadge=(0,n.get)(w,"[0].showBadge",!1)}ngOnDestroy(){this.selectItem.complete(),this.destroyed$.next(),this.destroyed$.complete()}static#e=this.\u0275fac=function(M){return new(M||o)(T.rXU(O.K))};static#t=this.\u0275cmp=T.VBU({type:o,selectors:[["app-navigation-side-sheet"]],decls:6,vars:4,consts:[["showBadgeNumber",""],[3,"monitorConnection"],[3,"showBorder","showHeader",4,"ngIf","ngIfElse"],[3,"showBorder","showHeader"],[3,"hasChevron","disabled","click",4,"ngFor","ngForOf"],[3,"click","hasChevron","disabled"],[3,"disabled",4,"ngFor","ngForOf"],[3,"disabled"],[1,"d-flex","justify-content-between","align-items-center",3,"click"],[1,"badge","badge-pill",3,"ngClass"],[1,"ml-2"],[1,"h1","m-0","ml-2"],[1,"mdi","mdi-chevron-right"]],template:function(M,q){if(1&M&&(T.j41(0,"app-side-sheet-header",1)(1,"span"),T.EFF(2),T.k0s()(),T.DNE(3,y,3,3,"app-side-sheet-section",2)(4,b,2,1,"ng-template",null,0,T.C5r)),2&M){const z=T.sdS(5);T.Y8G("monitorConnection",q.monitorConnection),T.R7$(2),T.JRh(q.title),T.R7$(),T.Y8G("ngIf",!q.showBadge)("ngIfElse",z)}}})}return o})()},25145:(at,N,s)=>{"use strict";s.d(N,{v:()=>o});var n=s(60177),a=s(23702),g=s(92811),m=s(49626),T=s(1612),O=s(51022),D=s(41536),E=s(93953),y=s(73427),I=s(69595),b=s(2937),L=s(83958);let o=(()=>{class C{static#e=this.\u0275fac=function(q){return new(q||C)};static#t=this.\u0275mod=E.$C({type:C});static#n=this.\u0275inj=E.G2t({imports:[n.MD,g.s,m.x,T.w,O.k,D.G]})}return C})();E.wjB(a._,[n.YU,n.Sq,n.bT,y.R,I.A,b.N,L.D],[])},70398:(at,N,s)=>{"use strict";s.d(N,{Fx:()=>Wt,PQ:()=>Qt});var n=s(69595),a=s(17338),g=s(69172),m=s(18359),T=s(61594),O=s(67376),E=s(93953),y=s(50337),I=s(41989);const b=["optionList"];function L(Yt,Mn){if(1&Yt&&(E.j41(0,"app-side-sheet-list-item",4)(1,"span"),E.EFF(2),E.k0s()()),2&Yt){const ci=Mn.$implicit;E.Y8G("key",ci.value),E.R7$(2),E.JRh(ci.label)}}const o='CONCAT("1900","-",FIELD("app/type/locale:fiscalYearEndDate","app/locale"))',C="1900-12-31",w=`VAR("${a.t}")`,M=`DATE_ADD(${w},-1,"days")`,q=`DATE_ADD(${w},1,"days")`,z=`DATE_ADD(${w},-1,"months")`,F=`DATE_ADD(${w},1,"months")`,U=`DATE_ADD(${w},-1,"years")`,k=`DATE_ADD(${w},1,"years")`,Y=`DATE_ADD(${w},-90,"days")`,x=`DATE_ADD(${w},90,"days")`,B=`FIN_QUARTER_DATE_RANGE(FIN_YEAR(${w},"${C}"),ADD(FIN_QUARTER(${w},"${C}")),"${C}")`,j=`FIN_QUARTER_DATE_RANGE(FIN_YEAR(${w},"${C}"),ADD(FIN_QUARTER(${w},"${C}"),-1),"${C}")`,$=`FIN_QUARTER_DATE_RANGE(FIN_YEAR(${w},"${C}"),ADD(FIN_QUARTER(${w},"${C}"),1),"${C}")`,H=`FIN_QUARTER_DATE_RANGE(FIN_YEAR(${w},${o}),ADD(FIN_QUARTER(${w},${o}),-1),${o})`,ie=`FIN_QUARTER_DATE_RANGE(FIN_YEAR(${w},${o}),ADD(FIN_QUARTER(${w},${o})),${o})`,ne=`FIN_QUARTER_DATE_RANGE(FIN_YEAR(${w},${o}),ADD(FIN_QUARTER(${w},${o}),1),${o})`,Q=`FIN_YEAR_DATE_RANGE(ADD(FIN_YEAR(${w},${o}),-1),${o})`,le=`FIN_YEAR_DATE_RANGE(ADD(FIN_YEAR(${w},${o})),${o})`,pe=`FIN_YEAR_DATE_RANGE(ADD(FIN_YEAR(${w},${o}),1),${o})`,te=Kt(M),ae=Ze(M),K=Kt(w),de=Ze(w),Me=Kt(q),me=Ze(q),be=Kt(rt("-6")),Le=Ze(rt("0")),Ae=Kt(rt("1")),Oe=Ze(rt("7")),Xe=Kt(rt("8")),Pe=Ze(rt("14")),$e=It(z),ze=In(z),Be=It(w),Ye=In(w),Ct=It(F),Lt=In(F),Vt=ft(U),ht=Xt(U),gt=ft(w),Ge=Xt(w),Se=ft(k),ke=Xt(k),Ne=Kt(Y),Je=Kt(w),Qe=Ze(x);function rt(Yt){return`DATE_ADD(${w},SUB(${Yt},DAY_OF_WEEK(${w})),"days")`}function ft(Yt){return Kt(`SET_DAY(SET_MONTH(${Yt},1),1)`)}function Xt(Yt){return Ze(`SET_DAY(SET_MONTH(${Yt},12),31)`)}function It(Yt){return Kt(`SET_DAY(${Yt},1)`)}function In(Yt){return Ze(`DATE_ADD(${Yt},SUB(DAYS_IN_MONTH(${Yt}),DAY(${Yt})),"days")`)}function Kt(Yt){return`SET_SECOND(SET_MINUTE(SET_HOUR(${Yt},0),0),0)`}function Ze(Yt){return`SET_SECOND(SET_MINUTE(SET_HOUR(${Yt},23),59),59)`}function wn(Yt){return Kt(`FIRST(${Yt})`)}function zn(Yt){return Ze(`LAST(${Yt})`)}function di(Yt){return`CONCAT(SUBSTR(${Yt},0,19),SUBSTR(${w},19,5))`}const jn=[{label:"Last fiscal quarter",value:`ARRAY(${di(wn(H))},${di(zn(H))})`},{label:"This fiscal quarter",value:`ARRAY(${di(wn(ie))},${di(zn(ie))})`},{label:"Next fiscal quarter",value:`ARRAY(${di(wn(ne))},${di(zn(ne))})`},{label:"Last fiscal year",value:`ARRAY(${di(wn(Q))},${di(zn(Q))})`},{label:"This fiscal year",value:`ARRAY(${di(wn(le))},${di(zn(le))})`},{label:"Next fiscal year",value:`ARRAY(${di(wn(pe))},${di(zn(pe))})`}],Di=[{label:"Last quarter",value:`ARRAY(${di(wn(j))},${di(zn(j))})`},{label:"This quarter",value:`ARRAY(${di(wn(B))},${di(zn(B))})`},{label:"Next quarter",value:`ARRAY(${di(wn($))},${di(zn($))})`}],Li=[{label:"Yesterday",value:`ARRAY(${te},${ae})`},{label:"Today",value:`ARRAY(${K},${de})`},{label:"Tomorrow",value:`ARRAY(${Me},${me})`},{label:"Last week",value:`ARRAY(${be},${Le})`},{label:"This week",value:`ARRAY(${Ae},${Oe})`},{label:"Next week",value:`ARRAY(${Xe},${Pe})`},{label:"Last month",value:`ARRAY(${$e},${ze})`},{label:"This month",value:`ARRAY(${Be},${Ye})`},{label:"Next month",value:`ARRAY(${Ct},${Lt})`},{label:"Last year",value:`ARRAY(${Vt},${ht})`},{label:"This year",value:`ARRAY(${gt},${Ge})`},{label:"Next year",value:`ARRAY(${Se},${ke})`},{label:"Last 90 days",value:`ARRAY(${Ne},${w})`},{label:"Next 90 days",value:`ARRAY(${Je},${Qe})`},...Di,...jn],ms=[{label:"Last 24 hours",value:`ARRAY(${M},${w})`},{label:"Next 24 hours",value:`ARRAY(${w},${q})`},...Li],Rn=[{label:"Today",value:w},{label:"Yesterday",value:M},{label:"Tomorrow",value:q},{label:"7 days ago",value:`DATE_ADD(${w},-7,"days")`},{label:"7 days from now",value:`DATE_ADD(${w},7,"days")`},{label:"30 days ago",value:`DATE_ADD(${w},-30,"days")`},{label:"30 days from now",value:`DATE_ADD(${w},30,"days")`},{label:"365 days ago",value:`DATE_ADD(${w},-365,"days")`},{label:"365 days from now",value:`DATE_ADD(${w},365,"days")`}];let Qt=(()=>{class Yt{constructor(ci,Ue){this.sideSheetService=ci,this.localeService=Ue,this.title="Select value field",this.SideSheetListModes=n.X,this.isDate=!1,this.isSinglePoint=!1,this.LoadingState=g.Gu,this.loadingState=g.Gu.loaded,this.subscriptions=new m.yU}ngOnInit(){if(this.options=this.isSinglePoint?Rn:this.isDate?Li:ms,this.selectedFormula){const ci=Wt(this.selectedFormula);ci&&(this.optionList.selected=[ci.value])}this.getFiscalYearEndDate()}removeFiscalOptionsFromFormula(){(0,O.remove)(this.isDate?Li:ms,ci=>jn.find(Ue=>Ue.label===ci.label))}getFiscalYearEndDate(){this.loadingState=g.Gu.inProgress,this.subscriptions.add(this.localeService.localeSubject.pipe((0,T.$)()).subscribe(ci=>{(0,O.isEmpty)(ci.fiscalYearEndDate)&&this.removeFiscalOptionsFromFormula(),this.loadingState=g.Gu.loaded}))}onDone(){let ci=this.optionList.selected&&this.optionList.selected[0];this.isSinglePoint&&this.isDate&&ci&&(ci=`TO_DATE(${ci})`),this.done(ci),this.sideSheetService.pop()}ngOnDestroy(){this.subscriptions?.unsubscribe()}static#e=this.\u0275fac=function(Ue){return new(Ue||Yt)(E.rXU(y.E),E.rXU(I.i))};static#t=this.\u0275cmp=E.VBU({type:Yt,selectors:[["app-relative-dates-side-sheet"]],viewQuery:function(Ue,Un){if(1&Ue&&E.GBs(b,7),2&Ue){let _n;E.mGM(_n=E.lsd())&&(Un.optionList=_n.first)}},decls:7,vars:8,consts:[["optionList",""],[3,"appSpinner","showBorder","showHeader"],[3,"selectedChange","mode","showMoreButton","emitChangeEventOnLoad"],[3,"key",4,"ngFor","ngForOf"],[3,"key"]],template:function(Ue,Un){if(1&Ue){const _n=E.RV6();E.j41(0,"app-side-sheet-header")(1,"span"),E.EFF(2),E.k0s()(),E.j41(3,"app-side-sheet-section",1)(4,"app-side-sheet-list",2,0),E.bIt("selectedChange",function(){return E.eBV(_n),E.Njj(Un.onDone())}),E.DNE(6,L,3,2,"app-side-sheet-list-item",3),E.k0s()()}2&Ue&&(E.R7$(2),E.JRh(Un.title||"Select value field"),E.R7$(),E.Y8G("appSpinner",Un.loadingState===Un.LoadingState.inProgress)("showBorder",!1)("showHeader",!1),E.R7$(),E.Y8G("mode",Un.SideSheetListModes.SINGLE_SELECT)("showMoreButton",!1)("emitChangeEventOnLoad",!1),E.R7$(2),E.Y8G("ngForOf",Un.options))},changeDetection:0})}return Yt})();function Wt(Yt){const Mn=Yt&&Yt.startsWith("TO_DATE")?Yt.replace(/^TO_DATE\(|\)$/g,""):Yt;return(Mn.startsWith("ARRAY")?ms:Rn).find(ci=>ci.value===Mn)}},8772:(at,N,s)=>{"use strict";s.d(N,{i:()=>g});var n=s(21413),a=s(93953);let g=(()=>{class m{constructor(){this.done$=new n.B}setPropsChainable(O){return this.setProps(O),this}ngOnDestroy(){this.done$.complete()}static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275cmp=a.VBU({type:m,selectors:[["ng-component"]],decls:0,vars:0,template:function(D,E){},encapsulation:2})}return m})()},1095:(at,N,s)=>{"use strict";s.d(N,{l:()=>a});var n=s(69172);class a{constructor(m){this.sideSheetService=m,this.loadingState=n.Gu.loaded}onRemove(){this.remove(),this.sideSheetService.pop()}onCancel(){this.sideSheetService.pop()}}},73427:(at,N,s)=>{"use strict";s.d(N,{R:()=>B});var n=s(93953),a=s(7673),g=s(99172),m=s(91986),T=s(69172),O=s(66386),D=s(72260),E=s(634),y=s(50337),I=s(87612);const b=["*"],L=j=>({"w-15":j}),o=(j,$)=>({"w-70":j,"mx-0":$}),C=(j,$)=>({"btn-primary-updated":j,"btn-danger-updated":$});function w(j,$){if(1&j){const H=n.RV6();n.j41(0,"mat-icon",16),n.bIt("click",function(ne){n.eBV(H);const Q=n.XpG();return n.Njj(Q.back(ne))}),n.k0s()}}function M(j,$){if(1&j){const H=n.RV6();n.j41(0,"button",17),n.bIt("click",function(ne){n.eBV(H);const Q=n.XpG();return n.Njj(Q.back(ne))}),n.pXf(1,1),n.k0s()}if(2&j){const H=n.XpG();n.R7$(),n.uP7(H.cancel)(H.cancel),n.nnv(1)}}function q(j,$){if(1&j){const H=n.RV6();n.j41(0,"button",18),n.bIt("click",function(ne){n.eBV(H);const Q=n.XpG();return n.Njj(Q.back(ne))}),n.pXf(1,2),n.k0s()}if(2&j){const H=n.XpG();n.R7$(),n.uP7(H.cancel)(H.cancel),n.nnv(1)}}function z(j,$){if(1&j){const H=n.RV6();n.j41(0,"mat-icon",19),n.bIt("click",function(ne){n.eBV(H);const Q=n.XpG();return n.Njj(Q.close(ne))}),n.k0s()}}function F(j,$){if(1&j){const H=n.RV6();n.j41(0,"button",20),n.bIt("click",function(ne){n.eBV(H);const Q=n.XpG();return n.Njj(Q.onAction(ne))}),n.pXf(1,3),n.k0s()}if(2&j){const H=n.XpG();n.Y8G("ngClass",n.l_i(4,C,!H.dangerButton,H.dangerButton))("disabled",H.actionButtonDisabled),n.R7$(),n.uP7(H.action)(H.action),n.nnv(1)}}function U(j,$){if(1&j){const H=n.RV6();n.j41(0,"app-side-sheet-section",23)(1,"div",24),n.nrm(2,"span",25),n.EFF(3,"\xa0"),n.j41(4,"span"),n.pXf(5,4),n.k0s(),n.j41(6,"a",26),n.bIt("click",function(){n.eBV(H);const ne=n.XpG(3);return n.Njj(ne.switchToOfflineMode())}),n.pXf(7,5),n.k0s()()()}2&j&&n.Y8G("showBorder",!1)("showHeader",!1)("overridePadding",!0)}function k(j,$){if(1&j&&(n.qex(0),n.DNE(1,U,8,3,"app-side-sheet-section",22),n.nI1(2,"async"),n.bVm()),2&j){const H=n.XpG(2);n.R7$(),n.Y8G("ngIf",n.bMT(2,1,H.offlineBundleAvailable$))}}function Y(j,$){if(1&j&&(n.j41(0,"div",27)(1,"app-side-sheet-section",23),n.nrm(2,"app-unstable-connection-banner",28),n.k0s()()),2&j){const H=n.XpG(2);n.R7$(),n.Y8G("showBorder",!1)("showHeader",!1)("overridePadding",!0),n.R7$(),n.Y8G("offlineHeaderType",H.offlineHeaderType)}}function x(j,$){if(1&j&&(n.j41(0,"div"),n.DNE(1,k,3,3,"ng-container",21)(2,Y,3,4,"ng-template",null,0,n.C5r),n.k0s()),2&j){const H=n.sdS(3),ie=n.XpG();n.R7$(),n.Y8G("ngIf",!ie.monitorConnection||!ie.isFormResilienceAvailable)("ngIfElse",H)}}let B=(()=>{class j{get disabled(){return this._disabled}set disabled(H){this._disabled=H,null!=H&&this.useFallBackDisable()}get displayClose(){return!this.action&&this.showClose}constructor(H,ie,ne,Q,le){this.connectionService=H,this.externalService=ie,this.mobileAppService=ne,this.sideSheetService=Q,this.deviceService=le,this.cancel="Cancel",this.size="sm",this.showCancelButton=!1,this.showBackIcon=!1,this.showClose=!0,this.longerText=!1,this.hideBack=!1,this.dangerButton=!1,this.monitorConnection=!1,this.offlineHeaderType=T.l2.fieldForm,this.actioned=new n.bkB,this.goBack=new n.bkB,this.closed=new n.bkB,this.depth$=this.sideSheetService.depth$,this.isFormResilienceAvailable=!1}ngOnInit(){this.disabled$?this.actionButtonDisabledSubscription=this.disabled$.subscribe(H=>{this.actionButtonDisabled=H}):this.useFallBackDisable(),this.connectionAvailable$=this.connectionService.connectionMonitor$.pipe((0,g.Z)(!0)),this.offlineBundleAvailable$=this.externalService.offlineBundleAvailable$,this.isFormResilienceAvailable=this.deviceService.checkForMobileApp()?this.deviceService.deviceInfo?.formResilienceAvailable:this.monitorConnection}ngAfterViewInit(){(0,a.of)(!0).pipe((0,m.c)(0)).subscribe(()=>this.sideSheetService.resizeTo(this.size))}ngOnDestroy(){this.actionButtonDisabledSubscription&&this.actionButtonDisabledSubscription.unsubscribe()}useFallBackDisable(){this.disabled$||(this.actionButtonDisabled=this.disabled)}back(H){this.goBack.observers.length?this.goBack.emit(H):this.sideSheetService.pop()}close(H){this.closed.observers.length&&this.closed.emit(H),this.sideSheetService.clear()}onAction(H){this.actioned.emit(H)}switchToOfflineMode(){this.mobileAppService.switchAppToOfflineMode()}static#e=this.\u0275fac=function(ie){return new(ie||j)(n.rXU(O.K),n.rXU(D.d),n.rXU(E.z),n.rXU(y.E),n.rXU(I.g))};static#t=this.\u0275cmp=n.VBU({type:j,selectors:[["app-side-sheet-header"]],inputs:{disabled:"disabled",action:"action",cancel:"cancel",disabled$:"disabled$",size:"size",showCancelButton:"showCancelButton",showBackIcon:"showBackIcon",showClose:"showClose",longerText:"longerText",hideBack:"hideBack",dangerButton:"dangerButton",monitorConnection:"monitorConnection",offlineHeaderType:"offlineHeaderType"},outputs:{actioned:"actioned",goBack:"goBack",closed:"closed"},ngContentSelectors:b,decls:15,vars:24,consts:()=>{let H,ie,ne,Q,le,pe,te,ae;return H="{VAR_SELECT, select, Cancel {Cancel} other {{INTERPOLATION}}}",H=n.k04(H,{INTERPOLATION:"\ufffd1\ufffd",VAR_SELECT:"\ufffd0\ufffd"}),ie=" " + H + " ",ne="{VAR_SELECT, select, Cancel {Cancel} other {{INTERPOLATION}}}",ne=n.k04(ne,{INTERPOLATION:"\ufffd1\ufffd",VAR_SELECT:"\ufffd0\ufffd"}),Q=" " + ne + " ",le="{VAR_SELECT, select, Done {Done} Save {Save} Next {Next} other {{INTERPOLATION}}}",le=n.k04(le,{INTERPOLATION:"\ufffd1\ufffd",VAR_SELECT:"\ufffd0\ufffd"}),pe=" " + le + " ",te="No Connection.",ae="Switch to offline mode",[["formResilienceBanner",""],ie,Q,pe,te,ae,[1,"sidesheet-header-container","d-flex","flex-row","align-items-center","justify-content-between"],[1,"w-20","mx-3","text-left",3,"ngClass"],["appTabIndex","","class","eim-color_icon overflow-override","data-test","left-back","svgIcon","back","role","button","aria-label","Back","title","Back","aria-hidden","false",3,"click",4,"ngIf"],["class","btn btn-secondary eim-button_size-h-sm eim-button_size-w-sm","data-test","left-cancel",3,"click",4,"ngIf"],["class","btn btn-secondary eim-button_size-h-sm eim-button_size-w-sm","data-test","left-cancel-depth-0",3,"click",4,"ngIf"],["data-test","header-title",1,"sidesheet-header-title","text-truncate","w-60",3,"ngClass"],[1,"w-20","mx-3","text-right",3,"ngClass"],["appTabIndex","","class","eim-color_icon overflow-override","data-test","right-close","svgIcon","close","role","button","aria-label","Close","aria-hidden","false","title","Close",3,"click",4,"ngIf"],["class","btn eim-button_size-h-sm eim-button_size-w-sm","data-test","right-action",3,"ngClass","disabled","click",4,"ngIf"],[4,"ngIf"],["appTabIndex","","data-test","left-back","svgIcon","back","role","button","aria-label","Back","title","Back","aria-hidden","false",1,"eim-color_icon","overflow-override",3,"click"],["data-test","left-cancel",1,"btn","btn-secondary","eim-button_size-h-sm","eim-button_size-w-sm",3,"click"],["data-test","left-cancel-depth-0",1,"btn","btn-secondary","eim-button_size-h-sm","eim-button_size-w-sm",3,"click"],["appTabIndex","","data-test","right-close","svgIcon","close","role","button","aria-label","Close","aria-hidden","false","title","Close",1,"eim-color_icon","overflow-override",3,"click"],["data-test","right-action",1,"btn","eim-button_size-h-sm","eim-button_size-w-sm",3,"click","ngClass","disabled"],[4,"ngIf","ngIfElse"],[3,"showBorder","showHeader","overridePadding",4,"ngIf"],[3,"showBorder","showHeader","overridePadding"],[1,"header-no-connection-banner-container","d-flex","justify-content-center","align-items-center"],[1,"icon","mdi","mdi-wifi-off"],["appTabIndex","",3,"click"],[1,"unstable-connection-banner"],[3,"offlineHeaderType"]]},template:function(ie,ne){1&ie&&(n.NAR(),n.j41(0,"div",6)(1,"div",7),n.DNE(2,w,1,0,"mat-icon",8),n.nI1(3,"async"),n.DNE(4,M,2,2,"button",9),n.nI1(5,"async"),n.DNE(6,q,2,2,"button",10),n.nI1(7,"async"),n.k0s(),n.j41(8,"div",11),n.SdG(9),n.k0s(),n.j41(10,"div",12),n.DNE(11,z,1,0,"mat-icon",13)(12,F,2,7,"button",14),n.k0s()(),n.DNE(13,x,4,2,"div",15),n.nI1(14,"async")),2&ie&&(n.R7$(),n.Y8G("ngClass",n.eq3(17,L,ne.longerText)),n.R7$(),n.Y8G("ngIf",n.bMT(3,9,ne.depth$)>0&&!ne.hideBack&&!ne.showCancelButton||ne.showBackIcon),n.R7$(2),n.Y8G("ngIf",n.bMT(5,11,ne.depth$)>0&&ne.showCancelButton&&ne.cancel&&!ne.showBackIcon),n.R7$(2),n.Y8G("ngIf",0===n.bMT(7,13,ne.depth$)&&ne.action&&!ne.showBackIcon),n.R7$(2),n.Y8G("ngClass",n.l_i(19,o,ne.longerText,ne.longerText)),n.R7$(2),n.Y8G("ngClass",n.eq3(22,L,ne.longerText)),n.R7$(),n.Y8G("ngIf",ne.displayClose),n.R7$(),n.Y8G("ngIf",ne.action),n.R7$(),n.Y8G("ngIf",!n.bMT(14,15,ne.connectionAvailable$)))},styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;min-height:53px;position:sticky!important;position:-webkit-sticky!important;top:0;z-index:1000}.sidesheet-header-container[_ngcontent-%COMP%]{background-color:#f9f9f9;height:53px;border-bottom:.5px solid rgba(39,60,78,.2);top:0;left:0;right:0;z-index:10}@media (max-width: 575.98px){.sidesheet-header-container[_ngcontent-%COMP%]{position:fixed}}.sidesheet-header-title[_ngcontent-%COMP%]{color:#273c4e;font-size:1.3rem;text-align:center;margin:0 .76923077rem}mat-icon[_ngcontent-%COMP%]{width:16px;height:16px}.w-15[_ngcontent-%COMP%]{width:15%!important}.w-70[_ngcontent-%COMP%]{width:70%!important}.header-no-connection-banner-container[_ngcontent-%COMP%]{background-color:#b3e8e9;margin-left:auto;margin-right:auto;padding:10px;border-radius:6px}@media (max-width: 575.98px){.header-no-connection-banner-container[_ngcontent-%COMP%]{margin-top:55px}}.header-no-connection-banner-container[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{text-decoration:underline;font-weight:700}@media (max-width: 575.98px){.unstable-connection-banner[_ngcontent-%COMP%]{margin-top:55px}}.btn-primary-updated[_ngcontent-%COMP%]{color:#fff;background-color:#01748e;border-bottom-color:#01748e;box-shadow:inset 0 -1px #01728b}.btn-primary-updated[_ngcontent-%COMP%]:hover{background-color:#01748e}.btn-primary-updated[_ngcontent-%COMP%]:focus{background-color:#01748e}.btn-primary-updated[_ngcontent-%COMP%]:active{background-color:#015365}.btn-danger-updated[_ngcontent-%COMP%]{color:#fff;background-color:#c01}.btn-danger-updated[_ngcontent-%COMP%]:hover{background-color:#c01}.btn-danger-updated[_ngcontent-%COMP%]:focus{background-color:#c01}.btn-danger-updated[_ngcontent-%COMP%]:active{background-color:#c01}"]})}return j})()},92811:(at,N,s)=>{"use strict";s.d(N,{s:()=>M});var n=s(60177),a=s(99213),g=s(35046),m=s(31741),T=s(73427),O=s(41536),D=s(51022),E=s(93953),y=s(36193),I=s(69172);function b(q,z){1&q&&(E.j41(0,"span"),E.pXf(1,0),E.k0s())}function L(q,z){1&q&&(E.j41(0,"span"),E.pXf(1,1),E.k0s())}function o(q,z){1&q&&(E.j41(0,"span"),E.pXf(1,2),E.k0s())}let C=(()=>{class q{constructor(){this.offlineHeaderType=I.l2.fieldForm,this.OfflineHeaderType=I.l2}static#e=this.\u0275fac=function(U){return new(U||q)};static#t=this.\u0275cmp=E.VBU({type:q,selectors:[["app-unstable-connection-banner"]],inputs:{offlineHeaderType:"offlineHeaderType"},decls:7,vars:4,consts:()=>{let F,U,k;return F="Unstable connection. Unable to load the requested data.",U="Unstable connection. Unable to save data until the connection is restored.",k="Unstable connection. To continue working go offline.",[F,U,k,[1,"d-flex","justify-content-center","p-2","unstable-connection-banner"],[1,"d-flex","align-items-center"],[1,"icon","mdi","mdi-wifi-off"],[1,"ml-2",3,"ngSwitch"],[4,"ngSwitchCase"]]},template:function(U,k){1&U&&(E.j41(0,"div",3)(1,"div",4),E.nrm(2,"span",5),E.k0s(),E.j41(3,"div",6),E.DNE(4,b,2,0,"span",7)(5,L,2,0,"span",7)(6,o,2,0,"span",7),E.k0s()()),2&U&&(E.R7$(3),E.Y8G("ngSwitch",k.offlineHeaderType),E.R7$(),E.Y8G("ngSwitchCase",k.OfflineHeaderType.fieldForm),E.R7$(),E.Y8G("ngSwitchCase",k.OfflineHeaderType.mainForm),E.R7$(),E.Y8G("ngSwitchCase",k.OfflineHeaderType.mainFormGoOffline))},dependencies:[n.ux,n.e1],styles:[".unstable-connection-banner[_ngcontent-%COMP%]{background-color:#b3e8e9;border-radius:6px}"],changeDetection:0})}return q})();var w=s(83958);let M=(()=>{class q{static#e=this.\u0275fac=function(U){return new(U||q)};static#t=this.\u0275mod=E.$C({type:q});static#n=this.\u0275inj=E.G2t({imports:[n.MD,m.J,a.m_,g.c,O.G,D.k]})}return q})();E.wjB(T.R,[n.YU,n.bT,a.An,y.d,C,w.D],[n.Jj])},64687:(at,N,s)=>{"use strict";s.d(N,{b:()=>pe});var n=s(67376),g=s(21413),m=s(7673),T=s(84572),O=s(44668),D=s(99437),E=s(96354),y=s(5964),I=s(5002),b=s(93953),L=s(51207),o=s(50337),C=s(57503),w=s(10506);const M=(te,ae,K,de,Me)=>({title:te,hierarchicalObjects:ae,selectedObjects:K,hasSelected:de,showError:Me}),q=()=>["title"];function z(te,ae){1&te&&b.eu8(0)}function F(te,ae){if(1&te&&(b.j41(0,"app-side-sheet-header"),b.EFF(1),b.k0s()),2&te){const K=b.XpG().title;b.R7$(),b.JRh(K)}}function U(te,ae){if(1&te){const K=b.RV6();b.j41(0,"app-side-sheet-header",9),b.bIt("actioned",function(){b.eBV(K);const Me=b.XpG(2);return b.Njj(Me.returnSelected())})("goBack",function(){b.eBV(K);const Me=b.XpG(2);return b.Njj(Me.clearAll())}),b.EFF(1),b.k0s()}if(2&te){const K=b.XpG().title;b.Y8G("showBackIcon",!0)("showClose",!0),b.R7$(),b.JRh(K)}}function k(te,ae){1&te&&b.nrm(0,"div",16)}function Y(te,ae){if(1&te){const K=b.RV6();b.j41(0,"app-side-sheet-list-item",20)(1,"app-hierarchical-object-chooser-list-item-contents",21),b.bIt("callDrilldown",function(Me){const me=b.eBV(K).$implicit,be=b.XpG(4);return b.Njj(be.drilldown(me,Me))}),b.k0s()()}if(2&te){const K=ae.$implicit,de=b.XpG(3).hasSelected,Me=b.XpG();b.Y8G("key",K.$tip),b.R7$(),b.Y8G("tooltip",Me.tooltip)("object",K)("hasSelected",de)}}function x(te,ae){if(1&te){const K=b.RV6();b.j41(0,"div",17)(1,"app-side-sheet-list",18),b.mxI("selectedChange",function(Me){b.eBV(K);const me=b.XpG(3);return b.DH7(me.selected,Me)||(me.selected=Me),b.Njj(Me)}),b.bIt("selectedChange",function(Me){b.eBV(K);const me=b.XpG(3);return b.Njj(me.selectedChangeHandler(Me))}),b.DNE(2,Y,2,4,"app-side-sheet-list-item",19),b.nI1(3,"filter"),b.k0s()()}if(2&te){const K=b.XpG(2).selectedObjects,de=b.XpG();b.R7$(),b.Y8G("mode",de.sideSheetListMode)("emitChangeEventOnLoad",!1),b.R50("selected",de.selected),b.R7$(),b.Y8G("ngForOf",b.brH(3,4,K,de.filterText,b.lJ4(8,q)))}}function B(te,ae){if(1&te){const K=b.RV6();b.j41(0,"app-side-sheet-list-item",20)(1,"app-hierarchical-object-chooser-list-item-contents",22),b.bIt("callDrilldown",function(Me){const me=b.eBV(K).$implicit,be=b.XpG(4);return b.Njj(be.drilldown(me,Me))}),b.k0s()()}if(2&te){const K=ae.$implicit,de=b.XpG(3).hasSelected;b.Y8G("key",K.$tip),b.R7$(),b.Y8G("object",K)("hasSelected",de)}}function j(te,ae){if(1&te){const K=b.RV6();b.j41(0,"app-side-sheet-list",18),b.mxI("selectedChange",function(Me){b.eBV(K);const me=b.XpG(3);return b.DH7(me.selected,Me)||(me.selected=Me),b.Njj(Me)}),b.bIt("selectedChange",function(Me){b.eBV(K);const me=b.XpG(3);return b.Njj(me.selectedChangeHandler(Me))}),b.DNE(1,B,2,3,"app-side-sheet-list-item",19),b.nI1(2,"filter"),b.k0s()}if(2&te){const K=b.XpG(2).hierarchicalObjects,de=b.XpG();b.Y8G("mode",de.sideSheetListMode)("emitChangeEventOnLoad",!1),b.R50("selected",de.selected),b.R7$(),b.Y8G("ngForOf",b.brH(2,4,K,de.filterText,b.lJ4(8,q)))}}function $(te,ae){1&te&&b.nrm(0,"app-empty-state",23)}function H(te,ae){if(1&te){const K=b.RV6();b.qex(0),b.j41(1,"app-side-sheet-section",10)(2,"app-filter-and-add",11),b.mxI("filterTextChange",function(Me){b.eBV(K);const me=b.XpG(2);return b.DH7(me.filterText,Me)||(me.filterText=Me),b.Njj(Me)}),b.k0s()(),b.DNE(3,k,1,0,"div",12),b.nI1(4,"filter"),b.DNE(5,x,4,9,"div",13),b.nI1(6,"filter"),b.j41(7,"app-side-sheet-section",14),b.DNE(8,j,3,9,"app-side-sheet-list",15)(9,$,1,0,"ng-template",null,2,b.C5r),b.k0s(),b.bVm()}if(2&te){const K=b.sdS(10),de=b.XpG(),Me=de.hierarchicalObjects,me=de.selectedObjects,be=b.XpG();b.R7$(),b.Y8G("showBorder",!1),b.R7$(),b.R50("filterText",be.filterText),b.R7$(),b.Y8G("ngIf",(null==me?null:me.length)>0&&b.brH(4,8,me,be.filterText,b.lJ4(16,q)).length>0&&be.isFeatureFlagEIM23195IsEnabled),b.R7$(2),b.Y8G("ngIf",(null==me?null:me.length)>0&&b.brH(6,12,me,be.filterText,b.lJ4(17,q)).length>0&&be.isFeatureFlagEIM23195IsEnabled),b.R7$(2),b.Y8G("showHeader",!1)("overridePadding",!0),b.R7$(),b.Y8G("ngIf",Me.length)("ngIfElse",K)}}function ie(te,ae){1&te&&(b.j41(0,"app-alert",25),b.pXf(1,4),b.k0s())}function ne(te,ae){1&te&&b.nrm(0,"div",26),2&te&&b.Y8G("appSpinner",!0)}function Q(te,ae){if(1&te&&b.DNE(0,ie,2,0,"app-alert",24)(1,ne,1,1,"ng-template",null,3,b.C5r),2&te){const K=b.sdS(2),de=b.XpG().showError;b.Y8G("ngIf",de)("ngIfElse",K)}}function le(te,ae){if(1&te&&b.DNE(0,F,2,1,"app-side-sheet-header",6)(1,U,2,3,"app-side-sheet-header",7)(2,H,11,18,"ng-container",8)(3,Q,3,2,"ng-template",null,1,b.C5r),2&te){const K=ae.hierarchicalObjects,de=ae.hasSelected,Me=b.sdS(4),me=b.XpG();b.Y8G("ngIf",!de&&!me.showPreselected),b.R7$(),b.Y8G("ngIf",de||me.showPreselected),b.R7$(),b.Y8G("ngIf",K&&me.dataLoaded)("ngIfElse",Me)}}let pe=(()=>{class te{constructor(K,de,Me,me){this.sshocService=K,this.sideSheetService=de,this.objectLaunchService=Me,this.featureFlagStateService=me,this.isRootLevel=!0,this.depth=1,this.selected=[],this.showPreselected=!1,this.filterText="",this.showError=!1,this.unsubscribe$=new g.B,this.done=()=>{},this.showBadge=1,this.selectedAncestorTips=[],this.selectedObjects$=(0,m.of)([]),this.tooltip="",this.dataLoaded=!1}ngOnInit(){const{title$:K,hierarchicalObjects$:de}=this.isRootLevel?this.getTitleAndRootLevelObjects$():this.getTitleAndSublevelObjects$();let Me=(0,T.z)([K,de]).pipe((0,O.t)({refCount:!0,bufferSize:1}),(0,D.W)(me=>(this.showError=!0,(0,m.of)(null))));this.title$=Me.pipe((0,E.T)(n.head)),this.hierarchicalObjects$=Me.pipe((0,E.T)(n.last)),this.isFeatureFlagEIM23195IsEnabled?(this.hierarchicalObjects$=this.hierarchicalObjects$.pipe((0,E.T)(me=>me.filter(be=>!this.selected.includes(be.$tip)))),this.hierarchicalObjects$=this.hierarchicalObjects$.pipe((0,y.p)(me=>!this.selected.includes(me.$tip)),(0,E.T)(me=>me.map(be=>({...be,showBadge:this.selectedAncestorTips.includes(be.$tip)?1:0})))),1===this.depth||this.parentTip===(0,n.first)(this.selectedAncestorTips)?1===this.selected.length?(this.selectedObjects$=this.sshocService.getDetailsOfSelectedObjectUsingObjectTip(this.selected[0]),this.sshocService.getParentsOfProvidedTip(this.selected[0],this.parentFieldTip).subscribe({next:me=>{this.selectedAncestorTips=(0,n.uniq)([...this.selectedAncestorTips,...me]),this.selectedAncestorTips.length>0&&this.sshocService.getParentsTitleOfProvidedTip(this.selectedAncestorTips).subscribe({next:be=>{Array.isArray(be)&&(this.tooltip=be.reverse().join(" \u203a "))}}),this.hierarchicalObjects$=this.hierarchicalObjects$.pipe((0,E.T)(be=>be.map(Le=>({...Le,showBadge:this.selectedAncestorTips.includes(Le.$tip)?1:0})))),this.selectedObjects$=this.selectedObjects$.pipe((0,E.T)(be=>be.map(Le=>({...Le,showBadge:0})))),this.dataLoaded=!0},error:me=>this.dataLoaded=!0})):this.dataLoaded=!0:(this.selectedObjects$=(0,m.of)([]),this.dataLoaded=!0)):this.dataLoaded=!0}setInitialProps(K,de,Me,me,be,Le=!1){this.selected=Le&&K||[],this.showPreselected=Le,this.parentFieldTip=de,this.typeTip=Me,this.sideSheetListMode=me,this.done=be}setSublevelProps(K,de,Me,me,be,Le,Ae,Oe,Xe){this.setInitialProps(K,de,Me,me,be,!0),this.parentTitle=Le,this.parentTip=Ae,this.isRootLevel=!1,this.depth=Oe,this.selectedAncestorTips=Xe}drilldown(K,de){de.stopPropagation();const{componentInstance:Me}=this.sideSheetService.push(te);Me.setSublevelProps(this.selected,this.parentFieldTip,this.typeTip,this.sideSheetListMode,this.done.bind(this),K.title,K.$tip,Me.depth+this.depth,this.selectedAncestorTips)}returnSelected(){this.clearHierarchicalObjectChooser(!0)}clearAll(){this.clearHierarchicalObjectChooser()}getTitleAndRootLevelObjects$(){return{title$:this.sshocService.getTypeTitle(this.typeTip),hierarchicalObjects$:this.sshocService.getRootHierarchicalObjects(this.parentFieldTip,this.typeTip)}}getTitleAndSublevelObjects$(){return{title$:(0,m.of)(this.parentTitle),hierarchicalObjects$:this.sshocService.getSublevelHierarchicalObjects(this.parentTip,this.parentFieldTip,this.typeTip)}}clearHierarchicalObjectChooser(K){let de=0;for(;this.depth>de;)this.sideSheetService.pop(),de++;K&&this.done(this.selected)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}get isFeatureFlagEIM23195IsEnabled(){return this.featureFlagStateService.isFeatureEnabled(I.g.FEATURE_EIM_23195_EASILY_DESELECT_ITEM)}selectedChangeHandler(K){(0,n.isEmpty)(K)||this.clearHierarchicalObjectChooser(!0)}static#e=this.\u0275fac=function(de){return new(de||te)(b.rXU(L.Z),b.rXU(o.E),b.rXU(C.a),b.rXU(w.F))};static#t=this.\u0275cmp=b.VBU({type:te,selectors:[["app-side-sheet-hierarchical-object-chooser"]],decls:6,vars:14,consts:()=>{let K,de;return K="No items here",de="Unable to load objects at this time.",[["sideSheet",""],["loadingOrError",""],["showEmptyState",""],["loading",""],de,[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],[3,"showBackIcon","showClose","actioned","goBack",4,"ngIf"],[4,"ngIf","ngIfElse"],[3,"actioned","goBack","showBackIcon","showClose"],[3,"showBorder"],[3,"filterTextChange","filterText"],["class","side-sheet-section-divider",4,"ngIf"],["class","px-3",4,"ngIf"],[3,"showHeader","overridePadding"],[3,"mode","emitChangeEventOnLoad","selected","selectedChange",4,"ngIf","ngIfElse"],[1,"side-sheet-section-divider"],[1,"px-3"],[3,"selectedChange","mode","emitChangeEventOnLoad","selected"],[3,"key",4,"ngFor","ngForOf"],[3,"key"],[3,"callDrilldown","tooltip","object","hasSelected"],[3,"callDrilldown","object","hasSelected"],["imgSrc","assets/img/empty-states/empty-state-generic.svg","label",K],["type","danger",4,"ngIf","ngIfElse"],["type","danger"],[1,"p-3",3,"appSpinner"]]},template:function(de,Me){if(1&de&&(b.DNE(0,z,1,0,"ng-container",5),b.nI1(1,"async"),b.nI1(2,"async"),b.nI1(3,"async"),b.DNE(4,le,5,4,"ng-template",null,0,b.C5r)),2&de){const me=b.sdS(5);b.Y8G("ngTemplateOutlet",me)("ngTemplateOutletContext",b.s1E(8,M,b.bMT(1,2,Me.title$),b.bMT(2,4,Me.hierarchicalObjects$),b.bMT(3,6,Me.selectedObjects$),!(null==Me.selected||!Me.selected.length),Me.showError))}},changeDetection:0})}return te})()},51207:(at,N,s)=>{"use strict";s.d(N,{Z:()=>o});var n=s(67376),g=s(96354),m=s(25558),T=s(61594),O=s(55516),D=s(92597),E=s(93953),y=s(76087),I=s(51229),b=s(44667),L=s(8076);let o=(()=>{class C{constructor(M,q,z,F){this.formulaService=M,this.queryService=q,this.objectService=z,this.objectServiceForTitles=F}getTypeTitle(M){return this.formulaService.evaluate('COALESCE(FIELD("type/label"), FIELD("super-type:label"))',M).pipe((0,g.T)(n.head),(0,g.T)(q=>`All ${q}s`))}getRootHierarchicalObjects(M,q,z,F){return this.queryService.execute1dFirst(O.R.GET_ROOT_HIERARCHICAL_OBJECTS,{vars:{"Parent field tip":[M],"Type tip":[q]},dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:z,limit:F,sortby:["TITLE()"],sortdir:["asc"]}]})}getSublevelHierarchicalObjects(M,q,z,F,U){return this.queryService.execute1dFirst(O.R.GET_SUBLEVEL_HIERARCHICAL_OBJECTS,{vars:{"Parent tip":[M],"Parent field tip":[q],"Type tip":[z]},dimensionOptions:[{label:"Tip dimension",formula:"TIP()",offset:F,limit:U,sortby:["TITLE()"],sortdir:["asc"]}]})}flattenTreeAndFindBranch(M,q){let F=[];const U=(0,n.flattenDeep)(this.recurseParseTree(M,[])).map(k=>k.pathname).filter(k=>-1!==k.indexOf(q)).map(k=>k.split("|"));return F=U.length>1?(0,n.minBy)(U,k=>k.length):U[0],F}recurseParseTree(M,q){return(0,n.map)(M,z=>{const F=(0,n.union)(q,[z.value]);return[(0,n.assign)({pathname:F.join("|"),level:q.length},(0,n.omit)(z,"items")),this.recurseParseTree(z.items,F)]})}checkIfListIsMultilevel(M){if(M){const q=(0,n.get)(M,"[0].items",null);if(q&&q.length>0)return!0}return!1}getDetailsOfSelectedObjectUsingObjectTip(M){const q=(0,D.Ac)({name:"TITLE",args:[M]});return this.objectService.getObject(M,{}).pipe((0,m.n)(()=>this.formulaService.evaluate(q)),(0,g.T)(z=>[{title:z[0],$tip:M}]))}getParentsOfProvidedTip(M,q){const z=(0,D.Ac)({name:"DESCENDANTS",args:[`${q}`,{name:"ARRAY",args:[`${M}`]}]});return this.formulaService.evaluate(z).pipe((0,T.$)())}getParentsTitleOfProvidedTip(M){return this.objectServiceForTitles.getTitles(M).pipe((0,g.T)(q=>q.map(z=>z.title)))}static#e=this.\u0275fac=function(q){return new(q||C)(E.KVO(y.C),E.KVO(I.c),E.KVO(b.T),E.KVO(L.T))};static#t=this.\u0275prov=E.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},2937:(at,N,s)=>{"use strict";s.d(N,{N:()=>H,T:()=>$});var n=s(93953),a=s(60177),g=s(99213),m=s(36193);const T=["*"],O=(ie,ne)=>({"list-item-disabled":ie,"border-bottom-0":ne}),D=ie=>({"text-disabled":ie}),E=ie=>({"checkbox-disabled":ie}),y=ie=>({"list-item-number-more-than-0":ie});function I(ie,ne){1&ie&&n.nrm(0,"mat-icon",19)}function b(ie,ne){1&ie&&n.nrm(0,"mat-icon",20)}function L(ie,ne){if(1&ie&&(n.j41(0,"div",16),n.DNE(1,I,1,0,"mat-icon",17)(2,b,1,0,"mat-icon",18),n.k0s()),2&ie){const Q=n.XpG(2);n.R7$(),n.Y8G("ngIf",Q.value),n.R7$(),n.Y8G("ngIf",!Q.value)}}function o(ie,ne){if(1&ie&&(n.j41(0,"div",16),n.nrm(1,"mat-icon",21),n.k0s()),2&ie){const Q=n.XpG(2);n.R7$(),n.Y8G("svgIcon",Q.value?"radio-button-checked":"radio-button-unchecked")}}function C(ie,ne){1&ie&&n.nrm(0,"mat-icon",25)}function w(ie,ne){1&ie&&n.nrm(0,"mat-icon",26)}function M(ie,ne){if(1&ie&&(n.j41(0,"div",22),n.DNE(1,C,1,0,"mat-icon",23)(2,w,1,0,"mat-icon",24),n.k0s()),2&ie){const Q=n.XpG(2);n.R7$(),n.Y8G("ngIf",Q.value),n.R7$(),n.Y8G("ngIf",!Q.value)}}function q(ie,ne){1&ie&&(n.j41(0,"div",27),n.nrm(1,"mat-icon",28),n.k0s())}function z(ie,ne){if(1&ie&&(n.j41(0,"div",29)(1,"div",30),n.EFF(2),n.k0s()()),2&ie){const Q=n.XpG(2);n.R7$(),n.Y8G("ngClass",n.eq3(2,y,void 0!==Q.value&&+Q.value>0)),n.R7$(),n.JRh(Q.value)}}function F(ie,ne){if(1&ie){const Q=n.RV6();n.j41(0,"div",10),n.bIt("click",function(pe){n.eBV(Q);const te=n.XpG();return n.Njj(te.onClick(pe))}),n.j41(1,"div",11),n.DNE(2,L,3,2,"div",12)(3,o,2,1,"div",12)(4,M,3,2,"div",13)(5,q,2,0,"div",14)(6,z,3,4,"div",15),n.k0s()()}if(2&ie){const Q=n.XpG();n.Y8G("isNavigable",Q.isTabNavigable)("ngClass",Q.customCheckboxClass)("ngClass",n.eq3(8,E,Q.disableCheckboxOnly)),n.R7$(2),n.Y8G("ngIf","single-check"===Q.toggleType),n.R7$(),n.Y8G("ngIf","radio"===Q.toggleType),n.R7$(),n.Y8G("ngIf","multi-check"===Q.toggleType),n.R7$(),n.Y8G("ngIf","drag"===Q.toggleType),n.R7$(),n.Y8G("ngIf","number"===Q.toggleType)}}function U(ie,ne){if(1&ie){const Q=n.RV6();n.j41(0,"mat-icon",31),n.bIt("click",function(){n.eBV(Q);const pe=n.XpG();return n.Njj(pe.onMoreInfo())}),n.k0s()}}function k(ie,ne){if(1&ie){const Q=n.RV6();n.j41(0,"mat-icon",32),n.bIt("click",function(pe){n.eBV(Q);const te=n.XpG();return n.Njj(te.onClick(pe))}),n.k0s()}}function Y(ie,ne){if(1&ie){const Q=n.RV6();n.j41(0,"mat-icon",33),n.bIt("click",function(pe){n.eBV(Q);const te=n.XpG();return n.Njj(te.onDrillDownClick(pe))}),n.k0s()}}function x(ie,ne){if(1&ie){const Q=n.RV6();n.j41(0,"mat-icon",34),n.bIt("click",function(pe){n.eBV(Q);const te=n.XpG();return n.Njj(te.onNavAway(pe))}),n.k0s()}}function B(ie,ne){if(1&ie){const Q=n.RV6();n.j41(0,"span",35)(1,"mat-icon",36),n.bIt("click",function(pe){n.eBV(Q);const te=n.XpG();return n.Njj(te.onClickToolSection(pe))}),n.k0s()()}}function j(ie,ne){if(1&ie){const Q=n.RV6();n.j41(0,"span",37)(1,"mat-icon",32),n.bIt("click",function(pe){n.eBV(Q);const te=n.XpG();return n.Njj(te.onDrillDownClick(pe))}),n.k0s()()}}var $=function(ie){return ie.NO_TOGGLE="no-toggle",ie.SINGLE_CHECK="single-check",ie.MULTI_CHECK="multi-check",ie.DRAG="drag",ie.NUMBER="number",ie.RADIO="radio",ie}($||{});let H=(()=>{class ie{ngOnInit(){null==this.hasChevron&&(this.hasChevron=this.toggleType===$.NUMBER)}constructor(Q){this.changeDetectorRef=Q,this.toggleType=$.NO_TOGGLE,this.disabled=!1,this.hasSeperatedChevron=!1,this.hasDarkChevron=!1,this.hideUnderline=!1,this.customCheckboxClass=null,this.showHoverState=!1,this.isTabNavigable=!0,this.isItemNavigable=!0,this.disableCheckboxOnly=!1,this.toggle=new n.bkB,this.moreInfo=new n.bkB,this.navAway=new n.bkB,this.actionClickToolSection=new n.bkB,this.drillDownOnClickEvent=new n.bkB,this.onToggle=()=>{}}onClick(Q){this.disabled?Q.stopPropagation():(this.toggle.observers.length&&this.toggle.emit(this.key),this.onToggle())}onMoreInfo(){this.disabled||this.moreInfo.observers.length&&this.moreInfo.emit(this.key)}detectChanges(){this.changeDetectorRef.detectChanges()}onNavAway(Q){Q.stopImmediatePropagation(),!this.disabled&&this.navAway.emit(this.key)}onDrillDownClick(Q){Q.stopImmediatePropagation(),!this.disabled&&this.drillDownOnClickEvent.emit()}onClickToolSection(Q){Q.stopImmediatePropagation(),!this.disabled&&this.actionClickToolSection.emit(Q)}static#e=this.\u0275fac=function(le){return new(le||ie)(n.rXU(n.gRc))};static#t=this.\u0275cmp=n.VBU({type:ie,selectors:[["app-side-sheet-list-item"]],inputs:{toggleType:"toggleType",value:"value",disabled:"disabled",hasChevron:"hasChevron",hasSeperatedChevron:"hasSeperatedChevron",hasDarkChevron:"hasDarkChevron",hideUnderline:"hideUnderline",key:"key",customCheckboxClass:"customCheckboxClass",showMoreInfo:"showMoreInfo",allowNavAway:"allowNavAway",hasToolSection:"hasToolSection",showHoverState:"showHoverState",isTabNavigable:"isTabNavigable",isItemNavigable:"isItemNavigable",disableCheckboxOnly:"disableCheckboxOnly"},outputs:{toggle:"toggle",moreInfo:"moreInfo",navAway:"navAway",actionClickToolSection:"actionClickToolSection",drillDownOnClickEvent:"drillDownOnClickEvent"},ngContentSelectors:T,decls:13,vars:21,consts:[["data-test","side-sheet-list-item-container",3,"ngClass"],["appTabIndex","","class","d-flex flex-row align-items-center outline-offset-neg-1","data-test","side-sheet-list-item-clickable",3,"isNavigable","ngClass","click",4,"ngIf"],[1,"d-flex","flex-row","align-items-center","flex-grow-1","list-item-content","right-content"],["appTabIndex","","data-test","side-sheet-list-item-text",1,"list-item-main-content","flex-grow-1","outline-offset-neg-1",3,"click","isNavigable","ngClass"],["role","button","title","Show details","aria-hidden","false","appTabIndex","","class","eim-icon_info-list-item no-shrink","svgIcon","info",3,"click",4,"ngIf"],["role","button","title","Expand","aria-hidden","false","appTabIndex","","class","eim-icon_chevron-right-list-item no-shrink","svgIcon","chevron",3,"click",4,"ngIf"],["role","button","title","Expand","aria-hidden","false","appTabIndex","","class","eim-icon_chevron-right-hierarchical-list-item-dark no-shrink","svgIcon","chevron",3,"click",4,"ngIf"],["role","button","title","Launch","aria-hidden","false","appTabIndex","","svgIcon","launch","class","eim-color_icon eim-icon_sm ml-3 no-shrink","data-test","launch-icon",3,"click",4,"ngIf"],["class","tool-icon",4,"ngIf"],["class","tool-icon ml-2",4,"ngIf"],["appTabIndex","","data-test","side-sheet-list-item-clickable",1,"d-flex","flex-row","align-items-center","outline-offset-neg-1",3,"click","isNavigable","ngClass"],[1,"list-item-control"],["class","list-item-single-check icon",4,"ngIf"],["class","list-item-multi-check icon",4,"ngIf"],["class","list-item-drag handle",4,"ngIf"],["class","list-item-number",4,"ngIf"],[1,"list-item-single-check","icon"],["role","button","aria-label","Checked","aria-hidden","false","class","eim-icon_sm","svgIcon","radio-button-checked","data-test","radio-button-checked",4,"ngIf"],["role","button","aria-label","Unchecked","aria-hidden","false","class","eim-icon_sm","svgIcon","radio-button-unchecked",4,"ngIf"],["role","button","aria-label","Checked","aria-hidden","false","svgIcon","radio-button-checked","data-test","radio-button-checked",1,"eim-icon_sm"],["role","button","aria-label","Unchecked","aria-hidden","false","svgIcon","radio-button-unchecked",1,"eim-icon_sm"],["role","button","aria-label","Checked","aria-hidden","false","data-test","radio-button-checked",1,"eim-icon_sm",3,"svgIcon"],[1,"list-item-multi-check","icon"],["role","button","aria-label","Checked","aria-hidden","false","svgIcon","checkbox","class","eim-color_icon eim-icon_sm","data-test","side-sheet-list-item-checked",4,"ngIf"],["role","button","aria-label","Unchecked","aria-hidden","false","svgIcon","checkbox-outline","class","eim-color_icon eim-icon_sm",4,"ngIf"],["role","button","aria-label","Checked","aria-hidden","false","svgIcon","checkbox","data-test","side-sheet-list-item-checked",1,"eim-color_icon","eim-icon_sm"],["role","button","aria-label","Unchecked","aria-hidden","false","svgIcon","checkbox-outline",1,"eim-color_icon","eim-icon_sm"],[1,"list-item-drag","handle"],["role","button","aria-label","Drag","aria-hidden","false","svgIcon","move-item",1,"eim-icon_handle","drag-icon"],[1,"list-item-number"],["data-test","list-item-number",1,"list-item-number-inner",3,"ngClass"],["role","button","title","Show details","aria-hidden","false","appTabIndex","","svgIcon","info",1,"eim-icon_info-list-item","no-shrink",3,"click"],["role","button","title","Expand","aria-hidden","false","appTabIndex","","svgIcon","chevron",1,"eim-icon_chevron-right-list-item","no-shrink",3,"click"],["role","button","title","Expand","aria-hidden","false","appTabIndex","","svgIcon","chevron",1,"eim-icon_chevron-right-hierarchical-list-item-dark","no-shrink",3,"click"],["role","button","title","Launch","aria-hidden","false","appTabIndex","","svgIcon","launch","data-test","launch-icon",1,"eim-color_icon","eim-icon_sm","ml-3","no-shrink",3,"click"],[1,"tool-icon"],["role","button","title","Admin tool","aria-hidden","false","appTabIndex","","svgIcon","admin-tool",1,"flex-shrink-0","eim-font-color_nfc-on-white-buttons",3,"click"],[1,"tool-icon","ml-2"]],template:function(le,pe){1&le&&(n.NAR(),n.j41(0,"div")(1,"div",0),n.DNE(2,F,7,10,"div",1),n.j41(3,"div",2)(4,"div",3),n.bIt("click",function(ae){return pe.onClick(ae)}),n.SdG(5),n.k0s(),n.j41(6,"div"),n.DNE(7,U,1,0,"mat-icon",4)(8,k,1,0,"mat-icon",5)(9,Y,1,0,"mat-icon",6)(10,x,1,0,"mat-icon",7),n.k0s(),n.DNE(11,B,2,0,"span",8)(12,j,2,0,"span",9),n.k0s()()()),2&le&&(n.AVh("side-sheet-list-item-outer-container",pe.showHoverState),n.R7$(),n.ZvI("side-sheet-list-item-container d-flex flex-row align-items-stretch justify-content-start mode-",pe.toggleType,""),n.Y8G("ngClass",n.l_i(16,O,pe.disabled,pe.hideUnderline)),n.BMQ("data-test",pe.value?"selected":null),n.R7$(),n.Y8G("ngIf","no-toggle"!==pe.toggleType),n.R7$(2),n.Y8G("isNavigable",!!pe.isItemNavigable&&pe.isTabNavigable)("ngClass",n.eq3(19,D,pe.disableCheckboxOnly)),n.R7$(3),n.Y8G("ngIf",pe.moreInfo.observers.length>0&&!1!==pe.showMoreInfo),n.R7$(),n.Y8G("ngIf",pe.hasChevron),n.R7$(),n.Y8G("ngIf",pe.hasDarkChevron),n.R7$(),n.Y8G("ngIf",pe.allowNavAway),n.R7$(),n.Y8G("ngIf",pe.hasToolSection),n.R7$(),n.Y8G("ngIf",pe.hasSeperatedChevron))},dependencies:[a.YU,a.bT,g.An,m.d],styles:[".side-sheet-list-item-outer-container[_ngcontent-%COMP%]:hover{background:#e5f5ff}.side-sheet-list-item-container[_ngcontent-%COMP%]{border-bottom:1px solid #dbdfe2;padding:9.5px 10px;color:#273c4e;min-width:0}.list-item-control[_ngcontent-%COMP%]{font-size:1.5em;min-width:18px}.list-item-control[_ngcontent-%COMP%]{margin-right:9px}.list-item-chevron[_ngcontent-%COMP%]{margin-left:9px;color:#dbdfe2;font-size:34px}.list-item-single-check[_ngcontent-%COMP%], .list-item-multi-check[_ngcontent-%COMP%], .list-item-chevron[_ngcontent-%COMP%], .eim-icon_info-list-item[_ngcontent-%COMP%]{cursor:pointer}.list-item-drag[_ngcontent-%COMP%]{cursor:ns-resize}.list-item-drag[_ngcontent-%COMP%]   .drag-icon[_ngcontent-%COMP%]{opacity:.3;transition:.1s opacity}.list-item-drag[_ngcontent-%COMP%]   .drag-icon[_ngcontent-%COMP%]:hover{opacity:1}.list-item-number[_ngcontent-%COMP%]{cursor:default}.list-item-number-inner[_ngcontent-%COMP%]{font-size:.9rem;text-align:center;border-radius:8px;min-width:24px;height:19px;padding:0 4px 0 5px;border:1px solid #dbdfe2}.list-item-number-more-than-0[_ngcontent-%COMP%]{background-color:#00c49b;color:#fff;border-color:#00c49b}.list-item-content[_ngcontent-%COMP%]{min-width:0;min-height:25px}.list-item-content[_ngcontent-%COMP%]   .tool-icon[_ngcontent-%COMP%]{border-left:1px solid #dbdfe2;padding-left:20px;height:30px;display:flex;align-items:center}.list-item-content[_ngcontent-%COMP%]   .tool-icon[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{display:flex;width:20px;height:20px;color:#5a7186}.list-item-main-content[_ngcontent-%COMP%]{cursor:default;font-size:1.1rem;min-width:0;overflow:hidden;text-overflow:ellipsis}  .list-item-main-content .option-title{font-size:1.1rem}  .list-item-main-content .description{color:#717c8b;font-size:1rem}.list-item-disabled[_ngcontent-%COMP%]{cursor:not-allowed;opacity:.5}.list-item-disabled[_ngcontent-%COMP%]   [role=button][_ngcontent-%COMP%], .list-item-disabled[_ngcontent-%COMP%]   .list-item-main-content[_ngcontent-%COMP%], .list-item-disabled[_ngcontent-%COMP%]   .list-item-chevron[_ngcontent-%COMP%]{cursor:not-allowed}.list-item-single-check.icon[_ngcontent-%COMP%]{position:relative;top:-1px}.list-item-multi-check.icon[_ngcontent-%COMP%]{position:relative;top:1px;font-size:1.8rem}.list-item-single-check[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], .list-item-single-check[_ngcontent-%COMP%]{width:22px;height:22px}.no-shrink[_ngcontent-%COMP%]{flex-shrink:0}.right-content[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:18px;height:18px}.checkbox-disabled[_ngcontent-%COMP%]{cursor:not-allowed;opacity:.5;pointer-events:none}.text-disabled[_ngcontent-%COMP%]{cursor:not-allowed;pointer-events:none}"]})}return ie})()},1612:(at,N,s)=>{"use strict";s.d(N,{w:()=>O});var n=s(60177),a=s(99213),g=s(26708),m=s(35046),T=s(93953);let O=(()=>{class D{static#e=this.\u0275fac=function(I){return new(I||D)};static#t=this.\u0275mod=T.$C({type:D});static#n=this.\u0275inj=T.G2t({imports:[n.MD,a.m_,g.d0,m.c]})}return D})()},69595:(at,N,s)=>{"use strict";s.d(N,{A:()=>C,X:()=>o});var n=s(93953),a=s(18359),g=s(67376),T=s(69172),O=s(2937),D=s(26708),E=s(60177),y=s(44225),I=s(36193);const b=["*"];function L(w,M){if(1&w){const q=n.RV6();n.j41(0,"div",3)(1,"button",4),n.bIt("click",function(){n.eBV(q);const F=n.XpG();return n.Njj(F.onShowMore())}),n.EFF(2,"Show more"),n.k0s()()}if(2&w){const q=n.XpG();n.R7$(),n.Y8G("disabled",q.disabled)}}var o=function(w){return w.DRAG="drag",w.MULTI_SELECT="multiselect",w.SINGLE_SELECT="singleselect",w.TALLY="tally",w.NONE="none",w.RADIO="radio",w}(o||{});let C=(()=>{class w{set initItems(q){this.listItems=q,q.length&&this.updateListItems(q,this.recentMode)}ngOnChanges(q){if(q.mode){if(this.recentMode=q.mode.currentValue,!this.listItems)return;this.updateListItems(this.listItems,q.mode.currentValue),this.prepareDragulaGroups()}q.selected&&this.fromRelationshipMapWidget&&(q.selected.currentValue?.includes("__ALL__")?this.toggleAll(!0):0===q.selected.currentValue?.length&&this.toggleAll(!1))}clearSelected(){this.listItems&&(this.listItems.forEach(q=>q.value=!1),this.selected=[])}updateListItems(q,z=o.NONE){q.forEach(F=>{z!==o.DRAG?z===o.NONE?(F.toggleType=O.T.NO_TOGGLE,F.onToggle=()=>{}):z===o.SINGLE_SELECT?(F.toggleType=O.T.SINGLE_CHECK,F.onToggle=()=>this.toggleItem(F,z)):z===o.MULTI_SELECT?(F.onToggle=()=>this.toggleItem(F,z),F.toggleType=O.T.MULTI_CHECK):z===o.TALLY?F.toggleType=O.T.NUMBER:z===o.RADIO&&(F.toggleType=O.T.RADIO):F.toggleType=O.T.DRAG}),[o.SINGLE_SELECT,o.MULTI_SELECT].indexOf(z)>-1&&(this.selected.length?(z===o.SINGLE_SELECT&&this.selected.length>1&&this.selected.splice(1),this.listItems.forEach(F=>{F.value=this.selected.filter(U=>(0,g.isEqual)(U,F.key)).length>0})):this.selected=this.listItems.filter(F=>!!F.value).map(F=>F.key),this.emitChangeEventOnLoad&&this.selectedChange.emit(this.selected)),q.forEach(F=>{F.detectChanges()})}constructor(q){this.dragulaService=q,this.recentMode=o.NONE,this.mode=o.NONE,this.selectedChange=new n.bkB,this.showMore=new n.bkB,this.showMoreButton=!1,this.disabled=!1,this.emitChangeEventOnLoad=!0,this.selected=[],this.requiredSingleSelect=!1,this.loadingState=T.Gu.loaded,this.draggableModel=[],this.draggableModelChange=new n.bkB,this.fromRelationshipMapWidget=!1,this.listItems=[],this.dragGroupName=(0,g.uniqueId)("list-dragula-group-"),this.SideSheetListModes=o,this.subscriptions=new a.yU}prepareDragulaGroups(){this.mode===o.DRAG&&(this.dragulaService.destroy(this.dragGroupName),this.dragulaService.createGroup(this.dragGroupName,{moves:(q,z,F)=>F.classList.contains("handle")||F.parentElement&&F.parentElement.classList.contains("handle")||F.parentElement&&F.parentElement.parentElement&&F.parentElement.parentElement.classList.contains("handle"),direction:"vertical"}),this.subscriptions.add(this.dragulaService.drop(this.dragGroupName).subscribe(()=>{this.draggableModelChange.emit(this.draggableModel)})))}ngOnDestroy(){this.dragulaService.destroy(this.dragGroupName),this.subscriptions.unsubscribe()}toggleItem(q,z){q.disabled||(z===o.SINGLE_SELECT?(!this.requiredSingleSelect||!q.value)&&this.toggleSingleSelect(q):z===o.MULTI_SELECT&&this.toggleMultiSelect(q),this.selectedChange.emit(this.selected))}toggleSingleSelect(q){this.listItems.filter(z=>z!==q).forEach(z=>z.value=!1),q.value=!q.value,this.selected=q.value?[q.key]:[]}toggleMultiSelect(q){q.value=!q.value;const z=this.selected.indexOf(q.key);!q.value&&z>-1?this.selected.splice(z,1):-1===z&&this.selected.push(q.key)}toggleAll(q){q?this.listItems.forEach(z=>{z.value=!0,this.selected.includes(z.key)||this.selected.push(z.key)}):(this.selected=[],this.listItems.forEach(z=>z.value=!1)),this.selectedChange.emit(this.selected)}onShowMore(){this.showMore.emit()}static#e=this.\u0275fac=function(z){return new(z||w)(n.rXU(D.g$))};static#t=this.\u0275cmp=n.VBU({type:w,selectors:[["app-side-sheet-list"]],contentQueries:function(z,F,U){if(1&z&&n.wni(U,O.N,5),2&z){let k;n.mGM(k=n.lsd())&&(F.initItems=k)}},inputs:{mode:"mode",showMoreButton:"showMoreButton",disabled:"disabled",minHeight:"minHeight",innerElementMinHeight:"innerElementMinHeight",emitChangeEventOnLoad:"emitChangeEventOnLoad",selected:"selected",requiredSingleSelect:"requiredSingleSelect",loadingState:"loadingState",draggableModel:"draggableModel",fromRelationshipMapWidget:"fromRelationshipMapWidget"},outputs:{selectedChange:"selectedChange",showMore:"showMore",draggableModelChange:"draggableModelChange"},features:[n.OA$],ngContentSelectors:b,decls:4,vars:8,consts:[[1,"d-flex","flex-column",3,"appSpinner"],[1,"flex-grow-1",3,"dragulaModelChange","dragula","dragulaModel"],["class","text-center",4,"ngIf"],[1,"text-center"],["type","button",1,"btn","btn-secondary","m-3",3,"click","disabled"]],template:function(z,F){1&z&&(n.NAR(),n.j41(0,"div",0)(1,"div",1),n.bIt("dragulaModelChange",function(k){return F.draggableModel=F.mode===F.SideSheetListModes.DRAG?k:null}),n.SdG(2),n.k0s(),n.DNE(3,L,3,1,"div",2),n.k0s()),2&z&&(n.xc7("min-height",F.minHeight||"60px"),n.Y8G("appSpinner","in-progress"===F.loadingState),n.R7$(),n.xc7("min-height",F.innerElementMinHeight||"50px"),n.FS9("dragula",F.mode!==F.SideSheetListModes.DRAG||F.disabled?null:F.dragGroupName),n.Y8G("dragulaModel",F.mode!==F.SideSheetListModes.DRAG||F.disabled?null:F.draggableModel),n.R7$(2),n.Y8G("ngIf",F.showMoreButton))},dependencies:[E.bT,y.b,D.Am,I.d],styles:["[_nghost-%COMP%]     app-side-sheet-list-item:last-child .side-sheet-list-item-container{border:none}"]})}return w})()},49626:(at,N,s)=>{"use strict";s.d(N,{x:()=>O});var n=s(60177),a=s(72998),g=s(26708),m=s(35046),T=s(93953);let O=(()=>{class D{static#e=this.\u0275fac=function(I){return new(I||D)};static#t=this.\u0275mod=T.$C({type:D});static#n=this.\u0275inj=T.G2t({imports:[n.MD,a.O,g.d0,m.c]})}return D})()},55379:(at,N,s)=>{"use strict";s.d(N,{a:()=>In});var n=s(67376),a=s(21413),g=s(7673),m=s(84572),T=s(56977),O=s(61594),D=s(96697),E=s(96354),y=s(25558),I=s(88141),b=s(44668),L=s(99437),o=s(20509),C=s(92597),w=s(81551),M=s(22911),q=s(69172),z=s(98305),F=s(14531),U=s(56500),k=s(95113),Y=s(10298),x=s(83855),B=s(93862),j=s(57524),$=s(12704);const H=[{tip:z.qN,open:(Ze,wn)=>{const{componentInstance:zn}=Ze.sideSheetService.push(F.v);Ze.sideSheetService.resizeTo("sm"),zn.objectType="OBJECT",zn.init((0,n.get)(wn,"objectTip")),zn.done=()=>Ze.loadData({initialLoad:!1})}},{tip:"app/email/outbound-template",open:(Ze,wn)=>{Ze.templateManagerService.getOutboundTemplate(wn.objectTip,Y.Eu).pipe((0,D.s)(1)).subscribe(zn=>{Ze.canCreateNew=!1,Ze.templateManagerService.generateTemplateForm(k.$z.EMAIL,U.C,"email/default-from-address",Ze.moduleTip,zn)})}},{tip:"app/sms/outbound-template",open:(Ze,wn)=>{Ze.templateManagerService.getOutboundTemplate(wn.objectTip,x.Pg).subscribe(zn=>{Ze.canCreateNew=!1,Ze.templateManagerService.generateTemplateForm(k.$z.SMS,j.l,"",Ze.moduleTip,zn)})}},{tip:"app/voice-message/outbound-template",open:(Ze,wn)=>{Ze.templateManagerService.getOutboundTemplate(wn.objectTip,B.hC).subscribe(zn=>{Ze.canCreateNew=!1,Ze.templateManagerService.generateTemplateForm(k.$z.VOICE,$.W,"voice-message/default-from-number",Ze.moduleTip,zn)})}}];var ie=s(69595),ne=s(5002),Q=s(93953),le=s(87612),pe=s(14784),te=s(97036),ae=s(57503),K=s(71631),de=s(12225),Me=s(89319),me=s(50337),be=s(29739),Le=s(31130),Ae=s(82804),Oe=s(10506),Xe=s(66386);function Pe(Ze,wn){if(1&Ze&&(Q.j41(0,"app-alert",15),Q.pXf(1,4),Q.k0s()),2&Ze){const zn=Q.XpG();Q.R7$(),Q.uP7(zn.infoText),Q.nnv(1)}}function $e(Ze,wn){if(1&Ze){const zn=Q.RV6();Q.j41(0,"app-filter-and-add",16),Q.bIt("keyup.enter",function(jn){Q.eBV(zn);const Di=Q.XpG();return Q.Njj(Di.loadSearchData(jn.target.value))})("keyup.shift.enter",function(jn){Q.eBV(zn);const Di=Q.XpG();return Q.Njj(Di.loadSearchData(jn.target.value))}),Q.mxI("filterTextChange",function(jn){Q.eBV(zn);const Di=Q.XpG();return Q.DH7(Di.filterText,jn)||(Di.filterText=jn),Q.Njj(jn)}),Q.k0s()}if(2&Ze){const zn=Q.XpG();Q.Y8G("disabled",zn.offline)("placeholder",zn.filterTextPlaceHolder),Q.R50("filterText",zn.filterText)}}function ze(Ze,wn){if(1&Ze){const zn=Q.RV6();Q.j41(0,"app-filter-and-add",17),Q.nI1(1,"can"),Q.nI1(2,"async"),Q.bIt("keyup.enter",function(jn){Q.eBV(zn);const Di=Q.XpG();return Q.Njj(Di.loadSearchData(jn.target.value))})("keyup.shift.enter",function(jn){Q.eBV(zn);const Di=Q.XpG();return Q.Njj(Di.loadSearchData(jn.target.value))})("add",function(){Q.eBV(zn);const jn=Q.XpG();return Q.Njj(jn.addObject())}),Q.k0s()}if(2&Ze){const zn=Q.XpG();Q.Y8G("disabled",zn.offline)("placeholder",zn.filterTextPlaceHolder)("showAddButton",Q.bMT(2,6,Q.i5U(1,3,zn.typeTips,"create")))}}function Be(Ze,wn){1&Ze&&(Q.j41(0,"app-alert",18),Q.pXf(1,5),Q.k0s())}function Ye(Ze,wn){1&Ze&&Q.nrm(0,"div",19)}function Ct(Ze,wn){if(1&Ze&&(Q.j41(0,"div")(1,"div",27)(2,"div",28),Q.EFF(3),Q.k0s(),Q.nrm(4,"app-labels",29),Q.k0s(),Q.j41(5,"div",30),Q.EFF(6),Q.k0s()()),2&Ze){const zn=Q.XpG().$implicit;Q.R7$(3),Q.JRh(zn.Title),Q.R7$(),Q.Y8G("labels",zn.labels)("showMessageLabelMoreOnScreenResize",!0)("addMargin",!1),Q.R7$(2),Q.JRh(zn["Module Name"])}}function Lt(Ze,wn){if(1&Ze&&(Q.j41(0,"div",31)(1,"div",27)(2,"div",28),Q.EFF(3),Q.k0s(),Q.nrm(4,"app-labels",29),Q.k0s(),Q.j41(5,"div",32),Q.EFF(6),Q.nI1(7,"stripHtml"),Q.k0s()()),2&Ze){let zn;const di=Q.XpG().$implicit;Q.R7$(3),Q.JRh(di.Title),Q.R7$(),Q.Y8G("labels",di.labels)("showMessageLabelMoreOnScreenResize",!0)("addMargin",!1),Q.R7$(2),Q.SpI(" ",Q.bMT(7,5,null!==(zn=di.Summary)&&void 0!==zn?zn:di.Title)," ")}}function Vt(Ze,wn){if(1&Ze){const zn=Q.RV6();Q.j41(0,"app-side-sheet-list-item",25),Q.nI1(1,"async"),Q.bIt("navAway",function(){const jn=Q.eBV(zn).$implicit,Di=Q.XpG(4);return Q.Njj(Di.onOpenObject(jn))})("actionClickToolSection",function(jn){const Di=Q.eBV(zn).$implicit,Li=Q.XpG(4);return Q.Njj(Li.clickToolIcon(jn,Di.$tip))}),Q.DNE(2,Ct,7,5,"div",26)(3,Lt,8,7,"ng-template",null,1,Q.C5r),Q.k0s()}if(2&Ze){const zn=wn.$implicit,di=Q.sdS(4),jn=Q.XpG(4);Q.Y8G("key",zn.$tip||zn.Tip)("allowNavAway",jn.allowNavAway)("hasToolSection",jn.isObjectType&&Q.bMT(1,6,jn.isAdmin$))("disabled",jn.offline),Q.R7$(2),Q.Y8G("ngIf",jn.showModuleInfo)("ngIfElse",di)}}function ht(Ze,wn){if(1&Ze&&(Q.qex(0),Q.DNE(1,Vt,5,8,"app-side-sheet-list-item",24),Q.nI1(2,"slice"),Q.bVm()),2&Ze){const zn=wn.ngIf,di=Q.XpG(3);Q.R7$(),Q.Y8G("ngForOf",Q.brH(2,1,zn,0,di.limit))}}function gt(Ze,wn){if(1&Ze&&(Q.qex(0),Q.DNE(1,ht,3,5,"ng-container",23),Q.nI1(2,"async"),Q.bVm()),2&Ze){const zn=wn.$implicit;Q.R7$(),Q.Y8G("ngIf",Q.bMT(2,1,zn))}}function Ge(Ze,wn){if(1&Ze){const zn=Q.RV6();Q.j41(0,"div",20)(1,"app-side-sheet-list",21),Q.mxI("selectedChange",function(jn){Q.eBV(zn);const Di=Q.XpG();return Q.DH7(Di.selected,jn)||(Di.selected=jn),Q.Njj(jn)}),Q.bIt("selectedChange",function(jn){Q.eBV(zn);const Di=Q.XpG();return Q.Njj(Di.itemSelectedChange(jn))}),Q.DNE(2,gt,3,3,"ng-container",22),Q.k0s()()}if(2&Ze){const zn=Q.XpG();Q.R7$(),Q.Y8G("emitChangeEventOnLoad",!1)("mode",zn.listType)("showMoreButton",!1),Q.R50("selected",zn.selected),Q.R7$(),Q.Y8G("ngForOf",zn.selectedItemsQueryContainer)}}function Se(Ze,wn){if(1&Ze&&(Q.j41(0,"div")(1,"div",27)(2,"div",28),Q.EFF(3),Q.k0s(),Q.nrm(4,"app-labels",29),Q.k0s(),Q.j41(5,"div",30),Q.EFF(6),Q.k0s()()),2&Ze){const zn=Q.XpG().$implicit;Q.R7$(3),Q.JRh(zn.Title),Q.R7$(),Q.Y8G("labels",zn.labels)("showMessageLabelMoreOnScreenResize",!0)("addMargin",!1),Q.R7$(2),Q.JRh(zn["Module Name"])}}function ke(Ze,wn){if(1&Ze&&(Q.j41(0,"div",31)(1,"div",27)(2,"div",28),Q.EFF(3),Q.k0s(),Q.nrm(4,"app-labels",29),Q.k0s(),Q.j41(5,"div",32),Q.EFF(6),Q.nI1(7,"stripHtml"),Q.k0s()()),2&Ze){let zn;const di=Q.XpG().$implicit;Q.R7$(3),Q.JRh(di.Title),Q.R7$(),Q.Y8G("labels",di.labels)("showMessageLabelMoreOnScreenResize",!0)("addMargin",!1),Q.R7$(2),Q.JRh(Q.bMT(7,5,null!==(zn=di.Summary)&&void 0!==zn?zn:di.Title))}}function Ne(Ze,wn){if(1&Ze){const zn=Q.RV6();Q.j41(0,"app-side-sheet-list-item",25),Q.nI1(1,"async"),Q.bIt("navAway",function(){const jn=Q.eBV(zn).$implicit,Di=Q.XpG(5);return Q.Njj(Di.onOpenObject(jn))})("actionClickToolSection",function(jn){const Di=Q.eBV(zn).$implicit,Li=Q.XpG(5);return Q.Njj(Li.clickToolIcon(jn,Di.$tip))}),Q.DNE(2,Se,7,5,"div",26)(3,ke,8,7,"ng-template",null,1,Q.C5r),Q.k0s()}if(2&Ze){const zn=wn.$implicit,di=Q.sdS(4),jn=Q.XpG(5);Q.Y8G("key",zn.$tip||zn.Tip)("allowNavAway",jn.allowNavAway)("hasToolSection",jn.isObjectType&&Q.bMT(1,6,jn.isAdmin$))("disabled",jn.offline),Q.R7$(2),Q.Y8G("ngIf",jn.showModuleInfo)("ngIfElse",di)}}function Je(Ze,wn){if(1&Ze&&(Q.qex(0),Q.DNE(1,Ne,5,8,"app-side-sheet-list-item",24),Q.nI1(2,"slice"),Q.bVm()),2&Ze){const zn=wn.ngIf,di=Q.XpG(4);Q.R7$(),Q.Y8G("ngForOf",Q.brH(2,1,zn,0,di.limit))}}function Qe(Ze,wn){if(1&Ze&&(Q.qex(0),Q.DNE(1,Je,3,5,"ng-container",23),Q.nI1(2,"async"),Q.bVm()),2&Ze){const zn=wn.$implicit;Q.R7$(),Q.Y8G("ngIf",Q.bMT(2,1,zn))}}function rt(Ze,wn){if(1&Ze){const zn=Q.RV6();Q.j41(0,"app-side-sheet-list",35),Q.bIt("showMore",function(){Q.eBV(zn);const jn=Q.XpG(2);return Q.Njj(jn.onShowMore())}),Q.mxI("selectedChange",function(jn){Q.eBV(zn);const Di=Q.XpG(2);return Q.DH7(Di.selected,jn)||(Di.selected=jn),Q.Njj(jn)}),Q.bIt("selectedChange",function(jn){Q.eBV(zn);const Di=Q.XpG(2);return Q.Njj(Di.itemSelectedChange(jn))}),Q.DNE(1,Qe,3,3,"ng-container",22),Q.k0s()}if(2&Ze){const zn=Q.XpG(2);Q.Y8G("emitChangeEventOnLoad",!1)("mode",zn.listType)("showMoreButton",zn.showMoreButton)("loadingState",zn.loadingState),Q.R50("selected",zn.selected),Q.Y8G("disabled",zn.offline),Q.R7$(),Q.Y8G("ngForOf",zn.queryContainer)}}function ft(Ze,wn){1&Ze&&Q.nrm(0,"app-empty-state",36)}function Xt(Ze,wn){if(1&Ze&&(Q.j41(0,"app-side-sheet-section",33),Q.DNE(1,rt,2,7,"app-side-sheet-list",34),Q.nI1(2,"async"),Q.DNE(3,ft,1,0,"ng-template",null,2,Q.C5r),Q.k0s()),2&Ze){const zn=Q.sdS(4),di=Q.XpG();Q.Y8G("showHeader",!1)("overridePadding",!0),Q.R7$(),Q.Y8G("ngIf",Q.bMT(2,4,di.loadingState!==di.LoadingState.failed&&di.hasQueryResults$))("ngIfElse",zn)}}function It(Ze,wn){1&Ze&&Q.nrm(0,"div",37),2&Ze&&Q.Y8G("appSpinner",!0)}let In=(()=>{class Ze{constructor(zn,di,jn,Di,Li,ms,Rn,Qt,Wt,Yt,Mn,ci,Ue,Un){this.cdr=zn,this.deviceService=di,this.meService=jn,this.objectBehaviourService=Di,this.objectLaunch=Li,this.objectService=ms,this.objectTypeService=Rn,this.sideSheetObjectChooserService=Qt,this.sideSheetService=Wt,this.templateManagerService=Yt,this.moduleService=Mn,this.planService=ci,this.featureFlagStateService=Ue,this.connectionService=Un,this.allowNavAway=!0,this.canCreateNew=!0,this.excludeList=[],this.extraFilters=[],this.extraVars=[],this.ignoreQueryAndFilterOnFilterText=!1,this.isObjectType=!1,this.limit=200,this.offset=0,this.queryAndFilter={},this.queryContainer=[],this.selectedItemsQueryContainer=[],this.showError=!1,this.showInfoText=!0,this.showModuleInfo=!1,this.showMoreButton=!1,this.staticOptions=[],this.monitorConnection=!1,this.unsubscribe$=new a.B,this.showSelectedItemsAtTop=!1,this.LoadingState=q.Gu,this.backedUpSelectedElements=[],this._selected=[]}get selected(){return this._selected}set selected(zn){this._selected=[...zn]}get isSingleSelect(){return this.listType===ie.X.SINGLE_SELECT}ngOnInit(){(0,n.isEmpty)(this.selected)||(this.backedUpSelectedElements=(0,n.cloneDeep)(this._selected)),this.loadData({initialLoad:!0}),this.showLinksToObjects(),this.isAdmin$=this.meService.isAdmin$(),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,T.Q)(this.unsubscribe$)).subscribe(zn=>{this.offline=!zn})}showLinksToObjects(){this.allowNavAway&&((0,n.isEmpty)(this.typeTips)||this.objectTypeService.getObjectType$(this.typeTips[0]).subscribe(zn=>this.allowNavAway=!!zn))}onCancel(){this.goBack?this.goBack():this.sideSheetService.pop()}selectedChange(){this.isSingleSelect&&this.onDone()}onDone(){this.done({selected:this._selected}),this.sideSheetService.pop()}addObject(){const zn={typeTip:this.typeTips[0]};if("app/list"===zn.typeTip){const{componentInstance:di}=this.sideSheetService.push(w.s);return di.moduleTip=this.moduleTip,void(di.done=()=>this.loadData({initialLoad:!1}))}if("app/sequence"===zn.typeTip){const{componentInstance:di}=this.sideSheetService.push(M.$);return di.moduleTip=this.moduleTip,void(di.done=()=>this.loadData({initialLoad:!1}))}if(H.some(di=>di.tip===zn.typeTip)){const{open:di}=H.find(jn=>jn.tip===zn.typeTip);di(this,{objectTip:null})}else this.objectLaunch.pushSheet(zn,this.unsubscribe$).subscribe(({objectTip:di})=>{this._selected=this.isSingleSelect?[di]:[...this._selected,di],this.objectLaunch.pop(),this.selectedChange()})}onShowMore(){this.loadData({initialLoad:!1})}loadSearchData(zn){this.offset=0,this.queryContainer=[],this.selectedItemsQueryContainer=[],this.searchValue=zn,(0,n.isEmpty)(zn)&&this.isEIM23195isEnabled?this.loadData({initialLoad:!0}):this.loadData({initialLoad:!1,actionedFromFilterTextInput:!0})}itemSelectedChange(zn){(!this._selected||this.listType===ie.X.SINGLE_SELECT)&&this.selectedChange()}onOpenObject(zn){const di=this.typeTips?this.typeTips[0]:null,jn=this.getObjectTipValue(zn);this.moduleTip=this.moduleService.moduleTip,di&&jn&&this.objectBehaviourService.resolveObjectBehaviour(jn,di).pipe((0,O.$)()).subscribe(Di=>{Di&&Di.url?function Kt(Ze,wn){window.open(Ze,wn?"_self":"_blank").opener=null}(Di.url,this.deviceService.onNativeApp):H.some(Li=>Li.tip===di)?H.find(Li=>Li.tip===di).open(this,{objectTip:jn}):this.launchObject(jn)})}clickToolIcon(zn,di){this.objectService.openObjectTypeDesignPage(zn,di)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}loadData({initialLoad:zn,actionedFromFilterTextInput:di=!1}){this.loadingState=q.Gu.inProgress,"app/object-type"===(0,n.get)(this.typeTips,"[0]",null)&&(this.isObjectType=!0);const jn=(0,n.cloneDeep)({contextTip:this.contextTip,extraFilters:this.extraFilters,extraVars:this.extraVars,limit:this.limit+1,offset:this.offset,queryAndFilter:this.ignoreQueryAndFilterOnFilterText&&di&&this.searchValue?{}:this.queryAndFilter,showModuleInfo:this.showModuleInfo,typeTips:this.typeTips}),Di=(this.typeTips?.includes("app/plan")?this.planService.getPlanTemplatesBasedOnVisibilitySettings():(0,g.of)(null)).pipe((0,D.s)(1),(0,E.T)(Li=>{if(Li){const ms=Li?.getFieldBooleanValue("app/plan-template-visibility-system-settings:all-plan-templates")??!1,Rn=Li?.getFieldValues("app/plan-template-visibility-system-settings:selected-templates")??[];return ms||0===Rn?.length?[]:[{label:"Filter based on admin settings",formula:(0,C.Ac)({name:"INARRAY",args:[{name:"ARRAY",args:Rn},{name:"TIP",args:[]}]})}]}return[]}),(0,y.n)(Li=>this.sideSheetObjectChooserService.loadObjects(jn,this.searchValue,Li.slice())),(0,y.n)(Li=>{if(this.isEIM23195isEnabled&&zn){const ms=(0,n.compact)((0,n.difference)(this.backedUpSelectedElements,Li.map(Rn=>this.getObjectTipValue(Rn))));if(ms.length>0&&(0,n.isEmpty)(this.searchValue)){const Rn={label:"Query objects based of provided tips while checking the type tip",formula:'INARRAY(VAR("recordTips"), TIP())'};return(0,n.get)(jn,"extraFilters",void 0)&&jn.extraFilters.push(Rn),(0,n.get)(jn,"extraVars",void 0)?jn.extraVars.push({recordTips:ms}):jn.extraVars=[{recordTips:ms}],this.sideSheetObjectChooserService.loadObjects(jn,"",[]).pipe((0,E.T)(Qt=>[...Li,...Qt]))}return(0,g.of)(Li)}return(0,g.of)(Li)}),(0,E.T)(Li=>{this.staticOptions&&this.staticOptions.length>0&&(Li=[...this.staticOptions.map(Rn=>({title:Rn.title,Title:Rn.title,$tip:Rn.$tip})),...Li]);const ms=this.typeTips?.includes("app/plan");return(Li=Li.map(Rn=>({...Rn,$tip:Rn.$tip,title:Rn.Title,Title:Rn.Title,labels:ms?this.planService.transFormToPlanCategories(Rn?.labels):[]}))).filter(Rn=>!this.excludeList||-1===this.excludeList.indexOf(Rn.$tip))}),(0,I.M)(Li=>{this.showInfoText=!1,zn&&(0,n.isEmpty)(Li)&&this.canCreateNew?(this.loadingState=q.Gu.loaded,this.addObject()):(this.offset+=this.limit,this.showMoreButton=!(Li.length<=this.limit),this.loadingState=q.Gu.loaded)}),(0,b.t)({refCount:!0,bufferSize:1}),(0,L.W)(Li=>(this.showError=!0,this.loadingState=q.Gu.failed,(0,g.of)([]))));if(this.isEIM23195isEnabled){const Li=Di.pipe((0,E.T)(Rn=>Rn.filter(Qt=>!this.backedUpSelectedElements.includes(this.getObjectTipValue(Qt)))));let ms=Di.pipe((0,E.T)(Rn=>Rn.filter(Qt=>this.backedUpSelectedElements.includes(this.getObjectTipValue(Qt)))));this.queryContainer.push(Li),this.selectedItemsQueryContainer.push(ms),this.hasSelectedItemsQueryResults$=(0,m.z)(this.selectedItemsQueryContainer).pipe((0,E.T)(Rn=>0!==Rn.reduce((Qt,Wt)=>Qt+Wt?.length,0)))}else this.queryContainer.push(Di);this.hasQueryResults$=(0,m.z)(this.queryContainer).pipe((0,E.T)(Li=>0!==Li.reduce((ms,Rn)=>ms+Rn.length,0))),this.cdr.detectChanges()}launchObject(zn){this.objectLaunch.pushSheet({objectTip:zn,operation:o.c.VIEW,monitorConnection:this.monitorConnection},this.unsubscribe$).subscribe(({deleted:di})=>{di&&(this._selected=this._selected.filter(jn=>jn!==zn),this.loadData({initialLoad:!1}))})}getObjectTipValue(zn){return zn.$tip||zn.Tip||null}get isEIM23195isEnabled(){return this.featureFlagStateService.isFeatureEnabled(ne.g.FEATURE_EIM_23195_EASILY_DESELECT_ITEM)}static#e=this.\u0275fac=function(di){return new(di||Ze)(Q.rXU(Q.gRc),Q.rXU(le.g),Q.rXU(pe.Q),Q.rXU(te.m),Q.rXU(ae.a),Q.rXU(K.h),Q.rXU(de.b),Q.rXU(Me.u),Q.rXU(me.E),Q.rXU(be.R),Q.rXU(Le.A),Q.rXU(Ae.J),Q.rXU(Oe.F),Q.rXU(Xe.K))};static#t=this.\u0275cmp=Q.VBU({type:Ze,selectors:[["app-side-sheet-object-chooser"]],decls:16,vars:20,consts:()=>{let zn,di,jn,Di;return zn="" + "\ufffd0\ufffd" + "",di=" " + "\ufffd0\ufffd" + "\n",jn="Failed to load data.",Di="No options here",[["loading",""],["defaultView",""],["empty",""],zn,di,jn,[3,"actioned","goBack","action","monitorConnection","disabled"],["data-test","infoText",4,"ngIf"],[3,"showHeader","showBorder"],[3,"disabled","placeholder","filterText","keyup.enter","keyup.shift.enter","filterTextChange",4,"ngIf"],[3,"disabled","placeholder","showAddButton","keyup.enter","keyup.shift.enter","add",4,"ngIf"],["type","danger",4,"ngIf"],["class","side-sheet-section-divider",4,"ngIf"],["class","px-3",4,"ngIf"],[3,"showHeader","overridePadding",4,"ngIf","ngIfElse"],["data-test","infoText"],[3,"keyup.enter","keyup.shift.enter","filterTextChange","disabled","placeholder","filterText"],[3,"keyup.enter","keyup.shift.enter","add","disabled","placeholder","showAddButton"],["type","danger"],[1,"side-sheet-section-divider"],[1,"px-3"],[3,"selectedChange","emitChangeEventOnLoad","mode","showMoreButton","selected"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"key","allowNavAway","hasToolSection","disabled","navAway","actionClickToolSection",4,"ngFor","ngForOf"],[3,"navAway","actionClickToolSection","key","allowNavAway","hasToolSection","disabled"],[4,"ngIf","ngIfElse"],[1,"d-flex","flex-row","align-items-baseline"],[1,"option-title"],["data-test","labels",3,"labels","showMessageLabelMoreOnScreenResize","addMargin"],[1,"eim-font-size_small"],[1,"d-flex","flex-column","justify-content-center"],["data-test","option-summary",1,"eim-font-size_small","crop-long-text"],[3,"showHeader","overridePadding"],[3,"emitChangeEventOnLoad","mode","showMoreButton","loadingState","selected","disabled","showMore","selectedChange",4,"ngIf","ngIfElse"],[3,"showMore","selectedChange","emitChangeEventOnLoad","mode","showMoreButton","loadingState","selected","disabled"],["imgSrc","assets/img/empty-states/no-groups.svg","label",Di],[1,"mt-6",3,"appSpinner"]]},template:function(di,jn){if(1&di){const Di=Q.RV6();Q.j41(0,"app-side-sheet-header",6),Q.bIt("actioned",function(){return Q.eBV(Di),Q.Njj(jn.onDone())})("goBack",function(){return Q.eBV(Di),Q.Njj(jn.onCancel())}),Q.pXf(1,3),Q.k0s(),Q.DNE(2,Pe,2,1,"app-alert",7),Q.qex(3),Q.j41(4,"app-side-sheet-section",8),Q.DNE(5,$e,1,3,"app-filter-and-add",9)(6,ze,3,8,"app-filter-and-add",10),Q.k0s(),Q.DNE(7,Be,2,0,"app-alert",11)(8,Ye,1,0,"div",12),Q.nI1(9,"async"),Q.DNE(10,Ge,3,5,"div",13),Q.nI1(11,"async"),Q.DNE(12,Xt,5,6,"app-side-sheet-section",14),Q.nI1(13,"async"),Q.bVm(),Q.DNE(14,It,1,1,"ng-template",null,0,Q.C5r)}if(2&di){const Di=Q.sdS(15);Q.FS9("action",jn.isSingleSelect?"":"Done"),Q.Y8G("monitorConnection",jn.monitorConnection)("disabled",jn.offline),Q.R7$(),Q.uP7(jn.title),Q.nnv(1),Q.R7$(),Q.Y8G("ngIf",jn.infoText&&jn.showInfoText),Q.R7$(2),Q.Y8G("showHeader",!1)("showBorder",!1),Q.R7$(),Q.Y8G("ngIf",!jn.canCreateNew),Q.R7$(),Q.Y8G("ngIf",jn.canCreateNew),Q.R7$(),Q.Y8G("ngIf",jn.loadingState===jn.LoadingState.failed&&!jn.offline),Q.R7$(),Q.Y8G("ngIf",jn.isEIM23195isEnabled&&jn.selectedItemsQueryContainer&&!1!==Q.bMT(9,14,jn.hasSelectedItemsQueryResults$)),Q.R7$(2),Q.Y8G("ngIf",jn.isEIM23195isEnabled&&jn.selectedItemsQueryContainer&&!1!==Q.bMT(11,16,jn.hasSelectedItemsQueryResults$)),Q.R7$(2),Q.Y8G("ngIf",jn.queryContainer&&null!==Q.bMT(13,18,jn.hasQueryResults$))("ngIfElse",Di)}},styles:[".crop-long-text[_ngcontent-%COMP%]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"]})}return Ze})()},5486:(at,N,s)=>{"use strict";s.d(N,{B:()=>me});var n=s(60177),a=s(93953);let g=(()=>{class be{static#e=this.\u0275fac=function(Oe){return new(Oe||be)};static#t=this.\u0275mod=a.$C({type:be});static#n=this.\u0275inj=a.G2t({imports:[n.MD]})}return be})();var m=s(55379),T=s(92811),O=s(51022),D=s(49626),E=s(1612),y=s(69138),I=s(72998),b=s(48952),L=s(48306),o=s(20323),C=s(89319),w=s(95750),M=s(33471),q=s(31741),z=s(41536),F=s(73427),U=s(83958),k=s(69595),Y=s(2937),x=s(70723),B=s(44225),j=s(17509),$=s(2455),H=s(98390),ie=s(74402),ne=s(18810),Q=s(25558),le=s(96354),pe=s(82639),te=s(61027),ae=s(50701);let K=(()=>{class be{constructor(Ae){this.securityService=Ae}transform(Ae,Oe){return(0,ie.A)(Ae)?Ae.pipe((0,Q.n)(Xe=>this.checkSecurity(Oe,Xe))):this.checkSecurity(Oe,Ae)}checkSecurity(Ae,Oe){switch(Ae){case"create":return this.securityService.canCreate(Oe).pipe((0,le.T)(Xe=>Xe&&0===(0,te.intersection)(pe.D5,Array.isArray(Oe)?Oe:[Oe]).length));case"delete":return this.securityService.canDelete(Oe);default:return(0,ne.$)("Invalid action passed to CanPipe")}}static#e=this.\u0275fac=function(Oe){return new(Oe||be)(a.rXU(ae.i,16))};static#t=this.\u0275pipe=a.EJ8({name:"can",type:be,pure:!0})}return be})();var de=s(35011);let Me=(()=>{class be{transform(Ae){return(0,de.QZ)(Ae)}static#e=this.\u0275fac=function(Oe){return new(Oe||be)};static#t=this.\u0275pipe=a.EJ8({name:"stripHtml",type:be,pure:!0})}return be})(),me=(()=>{class be{static#e=this.\u0275fac=function(Oe){return new(Oe||be)};static#t=this.\u0275mod=a.$C({type:be});static#n=this.\u0275inj=a.G2t({providers:[C.u],imports:[n.MD,T.s,O.k,D.x,E.w,y.b,I.O,b.J,L.N,o.x,w.Z,g,M.Y,q.J,z.G]})}return be})();a.wjB(m.a,[n.Sq,n.bT,F.R,U.D,k.A,Y.N,x.o,B.b,j.E,$.C,H.H],[n.Jj,n.P9,K,Me])},89319:(at,N,s)=>{"use strict";s.d(N,{u:()=>o});var n=s(67376),g=s(21413),m=s(96354),T=s(25558),O=s(34775),D=s(61237),E=s(55516),y=s(93953),I=s(76151),b=s(51229),L=s(76087);let o=(()=>{class w{constructor(q,z,F){this.filterInputService=q,this.queryService=z,this.formulaService=F,this.unsubscribe$=new g.B}loadObjects({contextTip:q,queryAndFilter:z,showModuleInfo:F,typeTips:U,extraFilters:k,limit:Y,offset:x,extraVars:B},j,$=[]){const H=(0,n.get)(z,"queryTip",null)||E.R.GET_OBJECT_TITLES,ie=(0,n.get)(z,"filterInputs",null),Q=function C(w,M,q){if((0,n.isEmpty)(w))return{label:"Tip dimension",formula:"TIP()",sortby:["TITLE()"],limit:M,offset:q};const z={label:"Tip dimension",formula:"TIP()",sortby:[],sortdir:[],limit:M,offset:q};for(const F of w)z.sortby.push(F.formula),z.sortdir.push(F.sortDirection);return z}((0,n.get)(z,"sortingOptions",null),Y,x),le=[{label:"Title",formula:"TITLE()"},{label:"Summary",formula:"SUMMARY()"}];if(k=k||[],F&&le.push({label:"Module Name",formula:(0,D.vM)(U[0])}),U.includes("app/object-type")&&k.push({label:"Is not module options object-type",formula:'EQUALS(REFERENCES("app/module:options-object-type", TIP()), ARRAY())'}),U.includes("app/user")&&k.push({label:"Is not user status deprovisioned",formula:'INARRAY(ARRAY("active", "suspended", "invited", "requested", "awaiting verification"), FIELD("app/user:status"))'}),$?.length>0&&!(0,n.isNil)($[0])&&k.push($[0]),(0,n.isEmpty)(ie)){const pe={typeTips:U};B&&B.length>0&&B.map(ae=>{for(const K of Object.keys(ae))(0,n.set)(pe,K,ae[K])});const te=this.setOptions(pe,le,k,Q);return this.getData(te,H,U,j)}return this.filterInputService.convertFilterInputsToVars(ie,q).pipe((0,m.T)(pe=>this.setOptions(pe,le,k,Q)),(0,T.n)(pe=>this.getData(pe,H,U,j)))}setOptions(q,z,F,U){return{watch:!0,vars:q,extraAttributes:z,extraFilters:F||[],dimensionOptions:[U]}}getData(q,z,F,U){const k=U?(0,O.CD)(q,F,U):q;return this.queryService.execute1dFirst(z,k)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static#e=this.\u0275fac=function(z){return new(z||w)(y.KVO(I.O),y.KVO(b.c),y.KVO(L.C))};static#t=this.\u0275prov=y.jDH({token:w,factory:w.\u0275fac})}return w})()},69822:(at,N,s)=>{"use strict";s.d(N,{T:()=>B});var n=s(69595),a=s(67376),m=s(21413),T=s(56977),O=s(93953),D=s(50337),E=s(66386);const y=["optionList"],I=()=>["label"];function b(j,$){if(1&j){const H=O.RV6();O.j41(0,"app-side-sheet-section",8)(1,"app-filter-and-add",9),O.mxI("filterTextChange",function(ne){O.eBV(H);const Q=O.XpG();return O.DH7(Q.filterText,ne)||(Q.filterText=ne),O.Njj(ne)}),O.k0s()()}if(2&j){const H=O.XpG();O.Y8G("showBorder",!1),O.R7$(),O.R50("filterText",H.filterText),O.Y8G("disabled",H.isOffline)}}function L(j,$){1&j&&O.eu8(0)}function o(j,$){if(1&j&&(O.j41(0,"app-side-sheet-section",10),O.DNE(1,L,1,0,"ng-container",11),O.k0s()),2&j){const H=O.XpG(),ie=O.sdS(6);O.Y8G("showBorder",H.showBorderBeforeListItem)("showHeader",!1),O.R7$(),O.Y8G("ngTemplateOutlet",ie)}}function C(j,$){if(1&j&&O.nrm(0,"i"),2&j){const H=O.XpG().$implicit;O.ZvI("pr-1 icon icon-left mdi ",H.icon,"")}}function w(j,$){if(1&j&&O.nrm(0,"span",21),2&j){const H=O.XpG(2).$implicit;O.Y8G("innerHTML",H.moduleName,O.npT)}}function M(j,$){if(1&j&&(O.qex(0),O.nrm(1,"div",19),O.DNE(2,w,1,1,"span",20),O.bVm()),2&j){const H=O.XpG().$implicit;O.R7$(2),O.Y8G("ngIf",H.moduleName)}}function q(j,$){if(1&j&&(O.j41(0,"app-side-sheet-list-item",15)(1,"span"),O.DNE(2,C,1,3,"i",16),O.nrm(3,"span",17),O.DNE(4,M,3,1,"ng-container",18),O.k0s()()),2&j){const H=$.$implicit,ie=O.XpG(3);O.Y8G("key",H.value)("disabled",(null==H?null:H.disabled)||ie.isOffline),O.R7$(2),O.Y8G("ngIf",H.icon),O.R7$(),O.Y8G("innerHTML",H.label,O.npT),O.R7$(),O.Y8G("ngIf",H.moduleName)}}function z(j,$){if(1&j){const H=O.RV6();O.j41(0,"app-side-sheet-list",13,2),O.mxI("selectedChange",function(ne){O.eBV(H);const Q=O.XpG(2);return O.DH7(Q.selected,ne)||(Q.selected=ne),O.Njj(ne)}),O.bIt("selectedChange",function(){O.eBV(H);const ne=O.XpG(2);return O.Njj(ne.onSelectedChange())}),O.DNE(2,q,5,5,"app-side-sheet-list-item",14),O.nI1(3,"filter"),O.k0s()}if(2&j){const H=O.XpG(2);O.R50("selected",H.selected),O.Y8G("emitChangeEventOnLoad",!1)("mode",H.listType)("showMoreButton",!1)("requiredSingleSelect",H.required),O.R7$(2),O.Y8G("ngForOf",O.brH(3,6,H.options,H.filterText,O.lJ4(10,I)))}}function F(j,$){if(1&j&&O.DNE(0,z,4,11,"app-side-sheet-list",12),2&j){const H=O.XpG(),ie=O.sdS(8);O.Y8G("ngIf",null==H.options?null:H.options.length)("ngIfElse",ie)}}function U(j,$){1&j&&O.nrm(0,"app-empty-state",25)}function k(j,$){1&j&&O.nrm(0,"app-empty-state",26)}function Y(j,$){if(1&j&&(O.j41(0,"app-empty-state",27),O.ehv(1,4),O.k0s()),2&j){const H=O.XpG(2);O.FS9("imgSrc",H.emptyStateDynamicConfiguration.imageSrc),O.FS9("size",H.emptyStateDynamicConfiguration.size),O.uP7(H.emptyStateDynamicConfiguration.labelText),O.nnv(1)}}function x(j,$){if(1&j&&O.DNE(0,U,1,0,"app-empty-state",22)(1,k,1,0,"app-empty-state",23)(2,Y,2,3,"app-empty-state",24),2&j){const H=O.XpG();O.Y8G("ngIf",H.isFromContactSelfService&&!H.emptyStateDynamicConfiguration),O.R7$(),O.Y8G("ngIf",!H.isFromContactSelfService&&!H.emptyStateDynamicConfiguration),O.R7$(),O.Y8G("ngIf",H.emptyStateDynamicConfiguration)}}let B=(()=>{class j{constructor(H,ie){this.sideSheetService=H,this.connectionService=ie,this.searchBox=!1,this.filterText="",this.required=!0,this.isFromContactSelfService=!1,this.showBorderBeforeListItem=!1,this.hideBack=!1,this.monitorConnection=!1,this.isOffline=!1,this.unsubscribed$=new m.B}ngOnInit(){(0,a.isNil)(this.selected)&&(this.selected=[null]),!(0,a.isNil)(this.selected)&&!Array.isArray(this.selected)&&(this.selected=[this.selected]),this.isFromContactSelfService&&(this.label="Select form"),this.monitorConnection&&this.connectionService.connectionMonitor$.pipe((0,T.Q)(this.unsubscribed$)).subscribe(H=>{this.isOffline=!H})}ngOnDestroy(){this.unsubscribed$.next(),this.unsubscribed$.complete()}get isSingleSelect(){return this.listType===n.X.SINGLE_SELECT}onSelectedChange(){this.isSingleSelect&&this.onDone()}onGoBack(){this.back&&this.back(),this.sideSheetService.pop()}onDone(){this.done({selected:this.listType===n.X.MULTI_SELECT?this.selected:(0,a.get)(this.selected,"[0]")}),this.sideSheetService.pop()}static#e=this.\u0275fac=function(ie){return new(ie||j)(O.rXU(D.E),O.rXU(E.K))};static#t=this.\u0275cmp=O.VBU({type:j,selectors:[["app-side-sheet-option-list"]],viewQuery:function(ie,ne){if(1&ie&&O.GBs(y,5),2&ie){let Q;O.mGM(Q=O.lsd())&&(ne.optionList=Q.first)}},decls:9,vars:8,consts:()=>{let H,ie,ne,Q;return H="{VAR_SELECT, select, Untitled {Untitled} Select print template {Select print template} other {{INTERPOLATION}}}",H=O.k04(H,{INTERPOLATION:"\ufffd1\ufffd",VAR_SELECT:"\ufffd0\ufffd"}),ie="No forms here",ne="No options here",Q="" + "\ufffd0\ufffd" + "",[["listItemWithoutBorderContent",""],["empty",""],["optionList",""],H,["label",Q],[3,"goBack","actioned","action","hideBack","monitorConnection"],[3,"showBorder",4,"ngIf"],[3,"showBorder","showHeader",4,"ngIf","ngIfElse"],[3,"showBorder"],[3,"filterTextChange","filterText","disabled"],[3,"showBorder","showHeader"],[4,"ngTemplateOutlet"],[3,"selected","emitChangeEventOnLoad","mode","showMoreButton","requiredSingleSelect","selectedChange",4,"ngIf","ngIfElse"],[3,"selectedChange","selected","emitChangeEventOnLoad","mode","showMoreButton","requiredSingleSelect"],[3,"key","disabled",4,"ngFor","ngForOf"],[3,"key","disabled"],[3,"class",4,"ngIf"],[3,"innerHTML"],[4,"ngIf"],[1,"spacer",2,"clear","both"],["class","eim-font-size_small",3,"innerHTML",4,"ngIf"],[1,"eim-font-size_small",3,"innerHTML"],["imgSrc","assets/img/empty-states/no-forms.svg","label",ie,"size","md",4,"ngIf"],["imgSrc","assets/img/empty-states/no-groups.svg","label",ne,4,"ngIf"],[3,"imgSrc","size","label",4,"ngIf"],["imgSrc","assets/img/empty-states/no-forms.svg","label",ie,"size","md"],["imgSrc","assets/img/empty-states/no-groups.svg","label",ne],[3,"imgSrc","size",6,"label"]]},template:function(ie,ne){if(1&ie){const Q=O.RV6();O.j41(0,"app-side-sheet-header",5),O.bIt("goBack",function(){return O.eBV(Q),O.Njj(ne.onGoBack())})("actioned",function(){return O.eBV(Q),O.Njj(ne.onDone())}),O.j41(1,"span"),O.pXf(2,3),O.k0s()(),O.DNE(3,b,2,3,"app-side-sheet-section",6)(4,o,2,3,"app-side-sheet-section",7)(5,F,1,2,"ng-template",null,0,O.C5r)(7,x,3,3,"ng-template",null,1,O.C5r)}if(2&ie){const Q=O.sdS(6);O.Y8G("action",ne.isSingleSelect?ne.isFromContactSelfService?"Done":"":ne.actionText||"Done")("hideBack",ne.hideBack)("monitorConnection",ne.monitorConnection),O.R7$(2),O.uP7(ne.label)(ne.label),O.nnv(2),O.R7$(),O.Y8G("ngIf",ne.searchBox),O.R7$(),O.Y8G("ngIf",ne.showBorderBeforeListItem)("ngIfElse",Q)}}})}return j})()},83958:(at,N,s)=>{"use strict";s.d(N,{D:()=>w});var n=s(93953),a=s(60177),g=s(36193);function m(M,q){if(1&M&&(n.j41(0,"div",2)(1,"span",3),n.pXf(2,0),n.k0s()()),2&M){const z=n.XpG();n.R7$(),n.AVh("has-value",z.tallyPillValue>=1)("is-empty",z.tallyPillValue<1),n.R7$(),n.uP7(z.tallyPillValue),n.nnv(2)}}let T=(()=>{class M{constructor(){this.tallyPillValue=0}static#e=this.\u0275fac=function(F){return new(F||M)};static#t=this.\u0275cmp=n.VBU({type:M,selectors:[["app-tally-pill"]],inputs:{tallyPill:"tallyPill",tallyPillValue:"tallyPillValue"},decls:1,vars:1,consts:()=>{let z;return z="" + "\ufffd0\ufffd" + " selected",[z,["class","d-flex mx-2",4,"ngIf"],[1,"d-flex","mx-2"],[1,"badge","badge-pill"]]},template:function(F,U){1&F&&n.DNE(0,m,3,5,"div",1),2&F&&n.Y8G("ngIf",U.tallyPill)},dependencies:[a.bT],styles:[".badge.badge-pill[_ngcontent-%COMP%]{font-size:1rem}.has-value[_ngcontent-%COMP%]{background:#019cbe;color:#fff;border:0}.is-empty[_ngcontent-%COMP%]{color:#273e50;border-color:#dadada}"],changeDetection:0})}return M})();const O=["*",[["","customTitle",""]],[["","extra-pill",""]],[["","extra-text",""]],[["","eim-i18n-property","title"]],[["","buttons",""]]],D=["*","[customTitle]","[extra-pill]","[extra-text]","[eim-i18n-property=title]","[buttons]"],E=M=>({"override-padding":M});function y(M,q){1&M&&n.nrm(0,"div",4)}function I(M,q){if(1&M){const z=n.RV6();n.j41(0,"span",11),n.bIt("click",function(){n.eBV(z);const U=n.XpG(2);return n.Njj(U.invertCollapsedState())}),n.k0s()}if(2&M){const z=n.XpG(2);n.Y8G("ngClass",z.collapsed?"mdi-chevron-right":"mdi-chevron-down")}}function b(M,q){if(1&M&&(n.j41(0,"strong",12),n.EFF(1),n.k0s()),2&M){const z=n.XpG(2);n.R7$(),n.JRh(z.title)}}function L(M,q){1&M&&(n.j41(0,"strong",12),n.SdG(1,4),n.k0s())}function o(M,q){1&M&&n.SdG(0,5,["*ngIf","!buttonCollapseWithTitle || !collapsed"])}function C(M,q){if(1&M){const z=n.RV6();n.j41(0,"div",5),n.DNE(1,I,1,1,"span",6),n.j41(2,"div",7),n.bIt("click",function(){n.eBV(z);const U=n.XpG();return n.Njj(U.collapsible&&U.invertCollapsedState())}),n.DNE(3,b,2,1,"strong",8),n.SdG(4,1),n.DNE(5,L,2,0,"ng-template",null,0,n.C5r),n.nrm(7,"app-tally-pill",9),n.SdG(8,2),n.k0s(),n.SdG(9,3),n.DNE(10,o,1,0,"ng-content",10),n.k0s()}if(2&M){const z=n.sdS(6),F=n.XpG();n.R7$(),n.Y8G("ngIf",F.collapsible),n.R7$(),n.xc7("cursor",F.collapsible?"pointer":"auto"),n.Y8G("isNavigable",F.collapsible),n.R7$(),n.Y8G("ngIf",F.title)("ngIfElse",z),n.R7$(4),n.Y8G("tallyPill",F.tallyPill)("tallyPillValue",F.tallyPillValue),n.R7$(3),n.Y8G("ngIf",!F.buttonCollapseWithTitle||!F.collapsed)}}let w=(()=>{class M{constructor(){this.showBorder=!0,this.collapsible=!1,this.collapsed=!1,this.buttonCollapseWithTitle=!1,this.tallyPillValue=0,this.showHeader=!0,this.overridePadding=!1}invertCollapsedState(){this.collapsed=!this.collapsed}static#e=this.\u0275fac=function(F){return new(F||M)};static#t=this.\u0275cmp=n.VBU({type:M,selectors:[["app-side-sheet-section"]],inputs:{title:"title",showBorder:"showBorder",collapsible:"collapsible",collapsed:"collapsed",buttonCollapseWithTitle:"buttonCollapseWithTitle",tallyPill:"tallyPill",tallyPillValue:"tallyPillValue",showHeader:"showHeader",overridePadding:"overridePadding"},ngContentSelectors:D,decls:4,vars:7,consts:[["titleText",""],["class","side-sheet-section-divider",4,"ngIf"],["class","card-header d-flex flex-row align-items-center h-auto",4,"ngIf"],[1,"collapsible-spacer","px-3",3,"ngClass"],[1,"side-sheet-section-divider"],[1,"card-header","d-flex","flex-row","align-items-center","h-auto"],["appTabIndex","","class","collapse-control icon mdi d-flex flex-column align-items-center",3,"ngClass","click",4,"ngIf"],["appTabIndex","",1,"title","d-flex","flex-row","align-items-center","flex-grow-1","data-test",3,"click","isNavigable"],["data-test","section-title",4,"ngIf","ngIfElse"],[3,"tallyPill","tallyPillValue"],[4,"ngIf"],["appTabIndex","",1,"collapse-control","icon","mdi","d-flex","flex-column","align-items-center",3,"click","ngClass"],["data-test","section-title"]],template:function(F,U){1&F&&(n.NAR(O),n.DNE(0,y,1,0,"div",1)(1,C,11,9,"div",2),n.j41(2,"div",3),n.SdG(3),n.k0s()),2&F&&(n.Y8G("ngIf",U.showBorder),n.R7$(),n.Y8G("ngIf",U.showHeader),n.R7$(),n.xc7("display",U.collapsed?"none":"block"),n.Y8G("ngClass",n.eq3(5,E,U.overridePadding)))},dependencies:[a.YU,a.bT,g.d,T],styles:["[_nghost-%COMP%]{padding-top:4px;display:block}[_nghost-%COMP%]   .title[_ngcontent-%COMP%]{color:#273c4e}[_nghost-%COMP%]   .title[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{vertical-align:text-top}[_nghost-%COMP%]   .card-header[_ngcontent-%COMP%]{margin:0;font-size:1.5rem;padding:15px 18px 1px;height:47px}[_nghost-%COMP%]   .collapse-control[_ngcontent-%COMP%]{cursor:pointer;padding-right:10px;width:20px;color:#273c4e}[_nghost-%COMP%]   .collapse-control[_ngcontent-%COMP%]:before{text-align:center;width:15px}[_nghost-%COMP%]   .collapsible-spacer[_ngcontent-%COMP%]{padding:1.154rem}[_nghost-%COMP%]   .collapsible-spacer[_ngcontent-%COMP%]    >app-side-sheet-list>div{padding:0!important}[_nghost-%COMP%]   .collapsible-spacer[_ngcontent-%COMP%]:empty{padding:5px!important}[_nghost-%COMP%]   .override-padding[_ngcontent-%COMP%]{padding:3px 10px 3px 1.154rem!important}"]})}return M})()},51022:(at,N,s)=>{"use strict";s.d(N,{k:()=>T});var n=s(60177),a=s(35046),g=s(41536),m=s(93953);let T=(()=>{class O{static#e=this.\u0275fac=function(y){return new(y||O)};static#t=this.\u0275mod=m.$C({type:O});static#n=this.\u0275inj=m.G2t({imports:[n.MD,a.c,g.G]})}return O})()},12077:(at,N,s)=>{"use strict";s.d(N,{L:()=>me});var n=s(60177),a=s(99213),g=s(90882),m=s(41536),T=s(26708),O=s(69822),D=s(69138),E=s(37206),y=s(92811),I=s(48952),b=s(48306),L=s(51022),o=s(1612),C=s(49626),w=s(5486),M=s(70398),q=s(72998),z=s(93953),F=s(73427),U=s(83958),k=s(69595),Y=s(2937),x=s(44225);let B=(()=>{class be{static#e=this.\u0275fac=function(Oe){return new(Oe||be)};static#t=this.\u0275mod=z.$C({type:be});static#n=this.\u0275inj=z.G2t({imports:[n.MD,y.s,L.k,C.x,o.w,D.b,q.O,I.J]})}return be})();z.wjB(M.PQ,[n.Sq,F.R,U.D,k.A,Y.N,x.b],[]);let j=(()=>{class be{static#e=this.\u0275fac=function(Oe){return new(Oe||be)};static#t=this.\u0275mod=z.$C({type:be});static#n=this.\u0275inj=z.G2t({imports:[n.MD,y.s,L.k,C.x,o.w,D.b,q.O,I.J]})}return be})();var $=s(25145),H=s(29968),ie=s(89417),ne=s(72510),Q=s(8524);let le=(()=>{class be{static#e=this.\u0275fac=function(Oe){return new(Oe||be)};static#t=this.\u0275mod=z.$C({type:be});static#n=this.\u0275inj=z.G2t({imports:[n.MD,y.s,L.k,C.x,o.w,D.b,q.O,H.UN,H.zH,ie.YN,ie.X1,ne.MQ,m.G,Q.qy.forChild({extras:{checkExpressionOn:"changeDetectionCheck",lazyRender:!1,resetFieldOnHide:!1}})]})}return be})();var pe=s(77184);let te=(()=>{class be{static#e=this.\u0275fac=function(Oe){return new(Oe||be)};static#t=this.\u0275mod=z.$C({type:be});static#n=this.\u0275inj=z.G2t({imports:[n.MD,y.s,C.x,o.w,L.k,Q.qy]})}return be})();z.wjB(pe.V,[F.R,U.D,Q.aF],[]);var ae=s(5640),K=s(70723),de=s(17509),Me=s(42017);let me=(()=>{class be{static#e=this.\u0275fac=function(Oe){return new(Oe||be)};static#t=this.\u0275mod=z.$C({type:be});static#n=this.\u0275inj=z.G2t({imports:[n.MD,g.vg,m.G,T.d0,D.b,y.s,L.k,D.b,E.$,I.J,b.N,a.m_,o.w,C.x,w.B,B,j,le,$.v,te,ae.Pd]})}return be})();z.wjB(O.T,[n.Sq,n.bT,n.T3,K.o,F.R,U.D,de.E,Y.N,k.A],[Me.L])},50337:(at,N,s)=>{"use strict";s.d(N,{E:()=>m});var n=s(21413),a=s(84412),g=s(93953);let m=(()=>{class T{constructor(){this.clearing$=new n.B,this.depth$=new a.t(0),this.cachedReadonlyFields={},this.sideSheetInstancesArray=[]}init(D){this.sideSheet=D}push(D,E,y=!1){const I=this.sideSheet.push(D,E);return y&&this.sideSheetInstancesArray.push(I),I}pushV2(D,E,y){const I=this.sideSheet.push(D,y).componentInstance;return Object.assign(I,E)}replace(D,E){return this.sideSheet.replace(D,E)}pop(D=!1){return this.sideSheetInstancesArray?.length&&this.sideSheetInstancesArray.pop(),this.sideSheet.pop(D)}clear(D=!1,E){return this.sideSheetInstancesArray=[],this.sideSheet.clear(D,E)}resizeTo(D){return this.sideSheet.resizeTo(D)}getSize(){return this.sideSheet.size}generateBreadcrumbString(){return this.sideSheet.generateBreadcrumbString()}pushBreadcrumbSuffix(D){this.sideSheet.breadcrumbSuffix.push(D)}makeDirty(D=-1){setTimeout(()=>this.sideSheet.makeDirty(D))}makeClean(D=-1){this.sideSheet.makeClean(D)}clearing(){this.clearing$.next()}isDirty(){const D=this.sideSheet.dirtyStatus;return D.length>0&&D[D.length-1]}openDiscardModalWithResult(D){return this.sideSheet.openDiscardModalWithResult(D)}static#e=this.\u0275fac=function(E){return new(E||T)};static#t=this.\u0275prov=g.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},65825:(at,N,s)=>{"use strict";s.d(N,{n:()=>w});var n=s(67376),g=s(27468),m=s(7673),T=s(25558),O=s(61594),D=s(99437),E=s(96354),y=s(64385),I=s(55516),b=s(93953),L=s(44667),o=s(51229),C=s(27916);let w=(()=>{class M{constructor(z,F,U){this.objectService=z,this.queryService=F,this.processService=U}getTeams(z=0,F){return this.queryService.execute1dFirst(I.R.GET_ALL_TEAMS,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:['FIELD("app/team:name")'],sortdir:["asc"]}]}).pipe((0,T.n)(U=>(0,g.p)(U.map(k=>this.getTeam(k.$tip,y.Bf).pipe((0,O.$)(),(0,D.W)(Y=>(0,m.of)(null)))))),(0,E.T)(U=>(0,n.filter)(U)))}getAnalyzedTeams(z=0,F){return this.queryService.execute1dArray(I.R.GET_ALL_TEAMS,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:['FIELD("app/team:name")'],sortdir:["asc"]}],vars:{}}).pipe((0,E.T)(U=>({teams:U.map(this.stringResultConverter),activeTeams:U.filter(k=>"active"===(0,n.head)(k.status)).map(this.stringResultConverter),inactiveTeams:U.filter(k=>"inactive"===(0,n.head)(k.status)).map(this.stringResultConverter)})))}getRoleInfo(z){return this.queryService.execute1dFirst(I.R.GET_TEAM_ROLE_SUMMARY,{dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:['FIELD("app/team:name")','FIELD("app/team-role:name")'],sortdir:["asc","asc"]}],vars:{"Team tip":[z]}})}stringResultConverter(z){return{$tip:(0,n.head)(z.$tip),name:(0,n.head)(z.name),description:(0,n.head)(z.description),status:(0,n.head)(z.status),roles:z.roles,numRoles:parseInt((0,n.head)(z.numRoles),10),numMembers:parseInt((0,n.head)(z.numMembers),10)}}getTeam(z,F=y.rW){return this.objectService.getObject(z,F)}getTeamSummary(z){return this.objectService.getObject(z,y.Lw)}updateTeam(z,F){return this.processService.start("eim/process/team/edit-team-meta",{"Team tip":[z],"Team name":[F.name],"Team description":[F.description]}).pipe((0,O.$)(U=>U.finished),(0,E.T)(()=>!0))}deleteTeam(z){const F=(z.roles||[]).map(U=>({$tip:U}));return F.push({$tip:z.$tip}),this.objectService.deleteObjects(F)}removeRoles(z,F){return this.processService.start("eim/process/team/remove-roles-from-team",{"Team tip":[z],"Role tips":F}).pipe((0,O.$)(U=>U.finished),(0,E.T)(()=>!0))}addRoles(z,F){return this.processService.start("eim/process/team/add-roles-to-team",{"Team tip":[z],"Role tips":F}).pipe((0,O.$)(U=>U.finished),(0,E.T)(()=>!0))}createTeam(z,F){return this.processService.start("eim/process/team/create-new-team",{"Team name":[z],"Team description":[F]}).pipe((0,O.$)(U=>U.finished),(0,E.T)(U=>U.vars["New team tip"][0]))}activateTeam(z,F){return this.processService.start("eim/process/team/activate-team",{"Team tip":[z],"Activation note":[F]}).pipe((0,O.$)(),(0,E.T)(()=>!0))}deactivateTeam(z){return this.processService.start("eim/process/team/deactivate-team",{"Team tip":[z]}).pipe((0,O.$)(),(0,E.T)(()=>!0))}static#e=this.\u0275fac=function(F){return new(F||M)(b.KVO(L.T),b.KVO(o.c),b.KVO(C.V))};static#t=this.\u0275prov=b.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})()},90947:(at,N,s)=>{"use strict";s.d(N,{j:()=>a});var n=s(21413);function a(g,m=!0){const T=new FileReader,O=new n.B;return T.onload=D=>{const E=D.target.result.toString(),y=m?E:E.replace(/^data:(.*,)?/,"");O.next(y),O.complete()},T.onerror=D=>{O.error(new Error("Unable to parse file blob"))},T.readAsDataURL(g),O.asObservable()}},790:(at,N,s)=>{"use strict";s.d(N,{q:()=>n,t:()=>a});var n=function(g){return g.USE_CACHE="USE_CACHE",g.USE_CACHE_THEN_NETWORK="USE_CACHE_THEN_NETWORK",g.USE_NETWORK_NO_CACHE="USE_NETWORK_NO_CACHE",g}(n||{});function a(g){return!0===g||g===n.USE_CACHE?n.USE_CACHE:!1===g||g===n.USE_NETWORK_NO_CACHE?n.USE_NETWORK_NO_CACHE:n.USE_CACHE_THEN_NETWORK}},44128:(at,N,s)=>{"use strict";s.d(N,{I:()=>T,u:()=>D});var n=s(67376),a=s(92597),g=function(L){return L[L.invalidCalculationFormula=0]="invalidCalculationFormula",L[L.unavailableCalculationInternalDependencies=1]="unavailableCalculationInternalDependencies",L[L.selfDependency=2]="selfDependency",L[L.circularDependency=3]="circularDependency",L}(g||{});class m extends Error{constructor(o,C,w=null){let M;switch(o){case g.invalidCalculationFormula:M="Invalid field calculation formula.";break;case g.unavailableCalculationInternalDependencies:M="The calculation depends on fields that do not exist.";break;case g.selfDependency:M="The calculation depends on the field itself.";break;case g.circularDependency:M="The calculation causes a circular dependency in this object type."}super(M),Object.setPrototypeOf(this,m.prototype),this.name="InvalidCalculationFormulaError",this.errorType=o,this.calculationFormula=C,this.unavailableCalculationInternalDependencies=w}}function T(L,o,C,w){if(!L)return[];let M;try{M=(0,a.iX)(L)}catch{throw new m(g.invalidCalculationFormula,L)}const q={fieldTips:[],fieldNames:[]};if(O(M,q),q.fieldTips.includes(C.$tip)||q.fieldNames.includes(w))throw new m(g.selfDependency,L,q);const z=function I(L,o){let C=o.filter(q=>L.fieldTips.includes(q.$tip));C=(0,n.union)(C,o.filter(q=>L.fieldNames.includes(q.name)));const w=(0,n.compact)(o.map(q=>q.$tip)),M=o.map(q=>q.name);return(0,n.pullAll)(L.fieldTips,w),(0,n.pullAll)(L.fieldNames,M),C}(q,o);if(q.fieldTips.length>0||q.fieldNames.length>0)throw new m(g.unavailableCalculationInternalDependencies,L,q);if(b(z,[C]))throw new m(g.circularDependency,L,q);return z}function O(L,o){if((0,n.isString)(L)||(0,n.isNumber)(L))return;const C=L.name,w=L.args;if("CONTEXT"!==C&&"LOOKUP"!==C&&w&&w.length){if(["FIELD","FMT_FIELD","FIELD_VALUES"].includes(C)&&y(w))return void(o.fieldTips=(0,n.union)(o.fieldTips,[w[0]]));if(["FIELD_BY_KEY","FIELD_VALUES_BY_KEY"].includes(C)&&y(w,!0))return void(o.fieldNames=(0,n.union)(o.fieldNames,[w[1]]));if("FIELD_BY_NAME"===C&&y(w))return void(o.fieldNames=(0,n.union)(o.fieldNames,[w[0]]));for(const M of w)O(M,o)}}function D(L,o){if((0,n.isEmpty)(o))return L;const C=(0,a.iX)(L);return E(C,o),(0,a.Ac)(C)}function E(L,o){if((0,n.isString)(L)||(0,n.isNumber)(L))return;const C=L.name,w=L.args;if("CONTEXT"!==C&&"LOOKUP"!==C&&w&&w.length){if(["FIELD","FMT_FIELD","FIELD_VALUES"].includes(C)&&y(w))return L.name="VAR",void(L.args=[w[0]]);if(["FIELD_BY_KEY","FIELD_VALUES_BY_KEY"].includes(C)&&y(w,!0))return L.name="VAR",void(L.args=[o[w[1]]]);if("FIELD_BY_NAME"===C&&y(w))return L.name="VAR",void(L.args=[o[w[0]]]);for(const M of w)E(M,o)}}function y(L,o=!1){if(!L.length||!(0,n.isString)(L[0]))return!1;if(o)return!(L.length<2)&&y((0,n.cloneDeep)(L).slice(1));if(1===L.length)return!0;if(2===L.length){const C=L[1];if(!(0,n.isString)(C)&&!(0,n.isNumber)(C)&&"TIP"===C.name&&0===C.args.length)return!0}return!1}function b(L,o){return(0,n.intersection)(L,o).length>0||L.reduce((C,w)=>!(!w.calculationFieldDependencies||0===w.calculationFieldDependencies.length)&&b(w.calculationFieldDependencies,(0,n.union)(o,[w])),!1)}},13411:(at,N,s)=>{"use strict";function n(a){return Array.isArray(a)?a:[a]}s.d(N,{U:()=>n})},37526:(at,N,s)=>{"use strict";s.d(N,{_U:()=>g,lr:()=>m});var n=s(93953),a=function(T){return T.DARK="#000000",T.LIGHT="#FFFFFF",T}(a||{}),g=function(T){return T.DARK="eim-color_icon-contrast-dark",T.LIGHT="eim-color_icon-contrast-light",T}(g||{});let m=(()=>{class T{constructor(){}getContrastingColor(D){if(!D)return"initial";const E=this.formatHexCode(D);return.299*parseInt(E.substring(0,2),16)+.587*parseInt(E.substring(2,4),16)+.114*parseInt(E.substring(4,6),16)>186?a.DARK:a.LIGHT}getContrastingIconColorClass(D){if(!D)return"";const E=this.formatHexCode(D);return.299*parseInt(E.substring(0,2),16)+.587*parseInt(E.substring(2,4),16)+.114*parseInt(E.substring(4,6),16)>186?g.DARK:g.LIGHT}getDarkenedColor(D){if(!D)return"initial";const E=this.formatHexCode(D);let b,I="#";for(let L=0;L<3;L++)b=parseInt(E.substr(2*L,2),16),b=Math.round(Math.min(Math.max(0,b+-.25*b),255)).toString(16),I+=("00"+b).substr(b.length);return I.toUpperCase()}formatHexCode(D){const E="#"===D.charAt(0)?D.substring(1):D;return 3===E.length?E[0]+E[0]+E[1]+E[1]+E[2]+E[2]:E}static#e=this.\u0275fac=function(E){return new(E||T)};static#t=this.\u0275prov=n.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},58439:(at,N,s)=>{"use strict";s.d(N,{H:()=>gt});var n=s(60177),a=s(84281),g=s(67376),m=s(97586),T=s.n(m),O=s(7673),D=s(983),E=s(84572),y=s(28793),I=s(61594),b=s(88141),L=s(96354),o=s(25558),C=s(64058),w=s(40673),M=s(19439),q=s(34775),z=s(68302),F=s(92597),U=s(80665),k=s(99298),Y=s(51737),x=s(29980),B=s(42641),$=s(78329),H=s(55516),ie=s(50835);function pe(Ge,Se){return function te(Ge){return`\n  Copy this:\n  ----\n     \n    ssh centos@54.66.173.51 -t "cd project/elastic-noggin-server; docker-compose logs -f --tail 100 ensrv ${Ge}"\n    \n  ----\n  `}(Ge.reduce((Ne,Je)=>`${Ne} | grep -A ${Se} ${Je} --line-buffered`,""))}class ae{get truncatedSessionId(){return this.sessionId.substring(0,6)}get trucatedNamespace(){return ie.c.ns.substr(0,6)}constructor(){this.linesToReturn=20,this.sessionId="no-session-id!!"}setSessionId(Se){this.sessionId=Se}get help(){return"\n      Tail logs provides utility snippets you can use to tail the docker compose logs on the showcase server.\n      \n      Try\n      - session\n      - process\n      \n      Don't see what you like? Add it!\n    "}get namespace(){return pe([this.trucatedNamespace],this.linesToReturn)}get session(){return pe([this.truncatedSessionId],this.linesToReturn)}get process(){return pe([`'\\"tag\\":\\"process\\".*${this.truncatedSessionId}'`],this.linesToReturn)}}var de=s(90810),Me=s(93953),me=s(95746),be=s(87612),Le=s(63137),Ae=s(99760),Oe=s(25687),Xe=s(76087),Pe=s(57032),$e=s(27916),ze=s(51229),Be=s(15387),Ye=s(21695),Ct=s(10506),Lt=s(64552),Vt=function(Ge){return Ge.INDEX_MULTI_PATH_KEY="index-multi-path",Ge.QUERY_MULTI_PATH="query-multi-path",Ge}(Vt||{}),ht=function(Ge){return Ge.ADD="add",Ge.REMOVE="remove",Ge}(ht||{});let gt=(()=>{class Ge{constructor(ke,Ne,Je,Qe,rt,ft,Xt,It,In,Kt,Ze,wn,zn,di){this.document=ke,this.criteriaWatchService=Ne,this.deviceService=Je,this.enSrvService=Qe,this.enoService=rt,this.formulaMultiService=ft,this.formulaService=Xt,this.opPullService=It,this.processService=In,this.queryService=Kt,this.sessionManagerService=Ze,this.workflowDesignerService=wn,this.featureFlagStateService=zn,this.opCacheService=di,this._tailLogs=new ae}formula(ke,Ne){Ne||(Ne={}),this.formulaService.evaluate(ke,Ne.contextTip,Ne.contextBranches,Ne.vars).pipe((0,I.$)()).subscribe(Je=>{Ne&&Ne.callback?Ne.callback(Je):console.log(Je)},Je=>{Ne&&Ne.callback?Ne.callback(null,Je):console.error("[en-console] Failed to evaluate formula:",ke,Je)})}formulaPromise(ke,Ne){return Ne||(Ne={}),this.formulaService.evaluate(ke,Ne.contextTip,Ne.contextBranches,Ne.vars).pipe((0,I.$)()).toPromise()}tip(ke,Ne){const Je={branch:(0,g.get)(Ne,"branch",void 0),recursiveDepth:(0,g.get)(Ne,"recursiveDepth",void 0),recursiveFields:(0,g.get)(Ne,"recursiveFields",void 0)};this.enoService.readEno(ke,Je).pipe((0,I.$)()).subscribe(Qe=>{Ne&&Ne.callback?Ne.callback(Qe):Ne&&!1===Ne.condensed?console.log(Qe):console.log(this.condenseEno(Qe))},Qe=>{Ne&&Ne.callback?Ne.callback(null,Qe):console.error("[en-console] Failed to get eno:",ke,Qe)})}tipv(ke){this.tip(ke,{condensed:!1})}sid(ke,Ne){const Je={...Ne,sid:[ke]},Qe=this.opPullService.createOpPull(Je);this.enSrvService.send([Qe]).subscribe(rt=>{rt.forEach(ft=>{ft.sid===ke&&console.log(ft)})},rt=>{console.error("[en-console] Failed to get eno:",ke,rt)})}pullEnoHistory$(ke,Ne=50){let Je=1;const Qe=rt=>{const ft=(0,g.head)((0,g.head)(rt).source.parent);return!ft||Je>=Ne?(0,O.of)(rt):this.enSrvService.send([this.opPullService.createOpPull({sid:[ft]})]).pipe((0,I.$)(),(0,b.M)(()=>Je++),(0,L.T)(Xt=>[(0,g.head)(Xt),...rt]),(0,o.n)(Xt=>Qe(Xt)))};return this.enoService.readEno(ke).pipe((0,I.$)(),(0,o.n)(rt=>Qe([rt])))}showEnoVersions(ke,Ne=!0,Je=50){this.pullEnoHistory$(ke,Je).subscribe(Qe=>{console.log(Ne?Qe.map(rt=>this.condenseEno(rt)):Qe)})}showEnoChanges(ke,Ne=50){const Je={};this.formulaService.evaluate(`CONTEXT(FIELD("type/field", TYPE("${ke}")), JSON_ENCODE(ARRAY(TIP(), FIELD("field/label"))))`).pipe((0,b.M)(Qe=>Qe.forEach(rt=>{const ft=JSON.parse(rt);Je[ft[0]]=ft[1]})),(0,o.n)(()=>this.pullEnoHistory$(ke,Ne)),(0,L.T)(Qe=>Qe.reduce((rt,ft,Xt)=>{const It=ft.serverT.modifiedBy;rt[2].push(It);const In=new Date(1e3*ft.serverT.modifiedDate).toISOString(),Kt=this.condenseEno(ft),Ze=0===Xt?void 0:Qe[Xt-1];if(!Ze)return"error"===ft.source.type?(rt[0].push("%cError on reading the full history, here are the partial results:%c"),rt[1].push("color: red","color: unset"),rt):(rt[0].push(`On %c${In}%c, %c${It||"---Unknown user---"}%c created the eno.`),rt[1].push("color: green","color: unset","color: purple","color: unset"),rt[0].push(`                             security was %c${Kt.$security}%c.`),rt[1].push("color: red","color: unset"),Object.keys(Je).forEach(zn=>{let di=zn;zn.length>ft.source.type.length&&zn.substr(0,ft.source.type.length)===ft.source.type&&(di=zn.substr(ft.source.type.length+1,zn.length-ft.source.type.length-1)),Kt[di]&&(rt[0].push(`                             field %c${Je[zn]}%c was %c${Kt[di]}%c.`),rt[1].push("color: green","color: unset","color: red","color: unset"))}),rt);const wn=this.condenseEno(Ze);return rt[0].push(`On %c${In}%c, %c${It||"---Unknown user---"}%c modified the eno.`),rt[1].push("color: green","color: unset","color: purple","color: unset"),Kt.$security!==wn.$security&&(rt[0].push(`                             security was updated from %c${wn.$security}%c to %c${Kt.$security}%c.`),rt[1].push("color: blue","color: unset","color: red","color: unset")),Object.keys(Je).forEach(zn=>{let di=zn;zn.length>ft.source.type.length&&zn.substr(0,ft.source.type.length)===ft.source.type&&(di=zn.substr(ft.source.type.length+1,zn.length-ft.source.type.length-1)),(0,g.isEqual)(Kt[di],wn[di])||(rt[0].push(`                             field %c${Je[zn]}%c was updated from %c${wn[di]||"---Empty---"}%c to %c${Kt[di]||"---Empty---"}%c.`),rt[1].push("color: green","color: unset","color: blue","color: unset","color: red","color: unset"))}),rt},[[],[],[]])),(0,o.n)(Qe=>this.formulaService.evaluate('CONTEXT(VAR("Tips"), JSON_ENCODE(ARRAY(TIP(), TITLE())))',void 0,void 0,{Tips:(0,g.uniq)(Qe[2])}).pipe((0,L.T)(rt=>(0!==rt.length&&Qe[0].push("----------------------------------------------------------------","Tip                                                              Title"),rt.forEach(ft=>{const Xt=JSON.parse(ft);!Xt[0]||!Xt[1]||(Qe[0].forEach((It,In)=>Qe[0][In]=It.replace(Xt[0],Xt[1])),Qe[0].push(`%c${Xt[0]}%c %c${Xt[1]}%c`),Qe[1].push("color: green","color: unset","color: red","color: unset"))}),Qe))))).subscribe(Qe=>console.log(Qe[0].join("\n"),...Qe[1]))}showWorkflowRuntimeChanges(ke,Ne=50){this.pullEnoHistory$(ke,Ne).pipe((0,L.T)(Je=>Je.reduce((Qe,rt,ft)=>{const Xt=rt.serverT.modifiedBy;Qe[2].push(Xt);const It=new Date(1e3*rt.serverT.modifiedDate).toISOString(),In=(0,g.uniq)(rt.getFieldValues("app/workflow-runtime:ux").map(zn=>JSON.parse(zn).sideSheetTitle)).join(" / "),Kt=rt.getFieldStringValue("app/workflow-runtime:outcome"),Ze=rt.getFieldStringValue("app/workflow-runtime:current-object-tip"),wn=rt.getFieldStringValue("app/workflow-runtime:workflow");return In||Kt?In?(Qe[0].push(`On %c${It}%c, sidesheet %c${In}%c was shown.`),Qe[1].push("color: green","color: unset","color: red","color: unset"),Qe):(Qe[0].push(`On %c${It}%c, %c${Xt}%c clicked %c${Kt}%c button to save object %c${Ze}%c.`),Qe[1].push("color: green","color: unset","color: purple","color: unset","color: red","color: unset","color: blue","color: unset"),Qe[2].push(Ze),Qe):(Qe[0].push(`On %c${It}%c, %c${Xt}%c started workflow %c${wn}%c.`),Qe[1].push("color: green","color: unset","color: purple","color: unset","color: red","color: unset"),Qe[2].push(wn),Qe)},[[],[],[]])),(0,o.n)(Je=>this.formulaService.evaluate('CONTEXT(VAR("Tips"), JSON_ENCODE(ARRAY(TIP(), TITLE())))',void 0,void 0,{Tips:(0,g.uniq)(Je[2])}).pipe((0,L.T)(Qe=>(0!==Qe.length&&Je[0].push("----------------------------------------------------------------","Tip                                                              Title"),Qe.forEach(rt=>{const ft=JSON.parse(rt);!ft[0]||!ft[1]||(Je[0].forEach((Xt,It)=>Je[0][It]=Xt.replace(ft[0],ft[1])),Je[0].push(`%c${ft[0]}%c %c${ft[1]}%c`),Je[1].push("color: green","color: unset","color: red","color: unset"))}),Je))))).subscribe(Je=>console.log(Je[0].join("\n"),...Je[1]))}showWatchedQueries(ke=!1){const Ne=this.queryService.getWatchedQueries(),Je=Object.values(Ne).map(({queryTip:Qe})=>Qe);console.log(`Currently watching ${Je.length} queries.`,Je),ke&&Object.values(Ne).forEach(({queryTip:Qe,broadcaster:rt})=>{rt.pipe((0,I.$)()).subscribe(ft=>{console.log(`Last query response for ${Qe}.`,ft)})})}toggleQueryWatchLogging(){this.queryService.toggleWatchLogging()}showWatchedFormulas(){const ke=this.formulaMultiService.getWatchedFormulas(),Ne=Object.keys(ke);console.log(`Currently watching ${Ne.length} formulas.`,ke)}toggleFormulaWatchLogging(){this.formulaMultiService.toggleWatchLogging()}toggleOpCacheLogging(){this.opCacheService.toggleLogging()}showWatchedCriteria(){const ke=this.criteriaWatchService.getWatchedCriteria(),Ne=Object.keys(ke);console.log(`Currently watching ${Ne.length} criteria.`,ke)}toggleCriteriaWatchLogging(){this.criteriaWatchService.toggleWatchLogging()}tipPromise(ke,Ne){return this.enoService.readEno(ke,{branch:Ne?Ne.branch:void 0}).pipe((0,I.$)()).toPromise()}patch(ke,Ne,Je){this.enoService.readEno(ke,{branch:Je?Je.branch:void 0}).pipe((0,I.$)()).pipe((0,o.n)(rt=>{const ft=new M.f;return ft.setProtoToPatch(rt),Je?.security&&ft.setSecurity(Je.security),Object.keys(Ne).filter(Xt=>null!=Ne[Xt]).forEach(Xt=>{Ne[Xt].constructor===Array?ft.setField(Xt,Ne[Xt].map(It=>""+It)):"string"==typeof Ne[Xt]||"number"==typeof Ne[Xt]?ft.setField(Xt,[""+Ne[Xt]]):Ne[Xt].formula?ft.setFieldFormula(Xt,Ne[Xt].formula.constructor===Array?Ne[Xt].formula:[Ne[Xt].formula]):Ne[Xt].i18n&&Ne[Xt].i18n.forEach(It=>{ft.setI18nValue(Xt,It.value,It.lang)})}),this.enoService.writeEno(ft.makeEno())})).subscribe(rt=>{Je&&Je.callback?Je.callback(rt):console.log(rt)},rt=>{Je&&Je.callback?Je.callback(null,rt):console.error("[en-console] Failed to patch eno:",ke,rt)})}processMultipathPatch(ke,Ne){this.enoService.readEno(ke).pipe((0,I.$)(),(0,o.n)(Je=>{const rt="query/tag",ft=Je.getFieldValues(rt),Xt=Je.getType();if(ft.length<1)throw Error("No field values");if("query"!==Xt)throw Error("The type is not query");const It=new M.f;It.setProtoToPatch(Je);const In=Ne(ft);return JSON.stringify(In)===JSON.stringify(ft)?D.w:(It.setField(rt,In),this.enoService.writeEno(It.makeEno()))})).subscribe(Je=>{console.log(Je)},Je=>{console.error("[en-console] Failed to patch eno:",ke,Je)})}enableIndexMultipath(ke){this.processMultipathPatch(ke,Ne=>this.modifyArrayBasedOnKey(Ne,Vt.INDEX_MULTI_PATH_KEY,ht.ADD))}enableQueryMultipath(ke){this.processMultipathPatch(ke,Ne=>this.modifyArrayBasedOnKey(Ne,Vt.QUERY_MULTI_PATH,ht.ADD))}disableQueryMultipath(ke){this.processMultipathPatch(ke,Ne=>this.modifyArrayBasedOnKey(Ne,Vt.QUERY_MULTI_PATH,ht.REMOVE))}modifyArrayBasedOnKey(ke,Ne,Je){const Qe=ke.includes(Ne);if(Je===ht.ADD&&!Qe)return[...ke,Ne];if(Je===ht.REMOVE&&Qe)return ke.filter(ft=>ft!==Ne);throw Error(`Key "${Ne}" was already ${Je===ht.ADD?"enabled":"disabled"}`)}startWorkflow(ke,Ne={},Je){this.formulaService.evaluate('FIELD("app/workflow:process")',ke).pipe((0,I.$)()).subscribe(([Qe])=>{if(Qe)return this.startProcess(Qe,Ne,Je);console.warn("No process tip exists in workflow: "+ke)})}startProcess(ke,Ne={},Je){const Qe={};Object.keys(Ne).forEach(rt=>{Qe[rt]=(Ne[rt].constructor===Array?Ne[rt]:[Ne[rt]]).map(Xt=>""+Xt)}),this.processService.start(ke,Qe).pipe((0,I.$)()).subscribe(rt=>{Je?Je(rt):console.log(rt)},rt=>{Je?Je(null,rt):console.error("[en-console] Failed to start process:",ke,Ne,rt)})}addUpdateStageNode(ke){if(ke.nodes.some(Xt=>Xt.processNodeType===B.kD.UPDATE_STAGE))return console.warn(`Workflow ${ke.$tip} ( ${ke.name}) already has Update Object Stage node, possibly already migrated, ignoring...`),(0,O.of)({workflowObj:ke,unchanged:!0});const Ne=ke.nodes.filter(Xt=>Xt.processNodeType===B.kD.WORKFLOW_UX&&!!(0,g.get)(Xt,"fields.stage",!1));if(0===Ne.length)return console.warn(`Workflow ${ke.$tip} ( ${ke.name}) doesn't have Workflow UX node with stage, ignoring...`),(0,O.of)({workflowObj:ke,unchanged:!0});console.warn(`Adding Update Object Stage node(s) to workflow ${ke.$tip} ( ${ke.name})`);const Je=ke.diagramData;let Qe=Math.max(...ke.nodes.map(Xt=>parseInt(Xt.tip,10)));const rt=(0,g.uniq)(Ne.map(Xt=>Xt.fields.stage));return this.formulaService.evaluate('CONTEXT(VAR("Stage tips"), TITLE())',void 0,void 0,{"Stage tips":rt}).pipe((0,L.T)(Xt=>{const It=(0,g.zipObject)(rt,Xt);return Ne.forEach(In=>{const Kt=In.fields.stage;if(!Kt)return;const di={processNodeType:"UpdateStage",heading:"Update object stage",fields:{title:`Change stage to ${It[Kt]}`,formula:In.fields.contextObjectFormula,objectType:In.fields.contextObjectType,objectTypeSelectedKey:In.fields.contextObjectSelectedPropertyKey,stage:Kt}},jn={portConfigs:[{name:"TopMiddle",direction:3},{name:"LeftMiddle",direction:3},{name:"RightMiddle",direction:3},{name:"BottomMiddle",direction:3},{name:"TopLeft",direction:3},{name:"TopRight",direction:3},{name:"BottomLeft",direction:3},{name:"BottomRight",direction:3}],text:`Change stage to ${It[Kt]}`,heading:"Update object stage",type:"StepNode",loc:"0 0",fill:"#12C598",iconCode:"\uf10c",iconSize:12,linkTypes:[{name:"Finished",value:"done",hasDivider:!1},{name:"Failed",value:"failed",hasDivider:!1},{name:"Always",value:"finally",hasDivider:!1}],info:{mainHeading:"Update object stage",heading:`Change stage to ${It[Kt]}`,items:[]},editorComponentName:"UpdateStageEditorComponent"},Di={points:[0,0,0,0],text:"Finished",value:"done",delaySec:0},Li=Je.linkDataArray.filter(ms=>ms.from===In.tip);if(0===Li.length){Qe++;const ms=Qe.toString();Je.linkDataArray.push({...Di,from:In.tip,to:ms}),Je.nodeDataArray.push({...jn,key:ms}),ke.nodes.push({...di,tip:ms})}Li.forEach(ms=>{Qe++;const Rn=Qe.toString(),Qt=ms.to;ms.to=Rn,ms.points=[0,0,0,0],Je.linkDataArray.push({...Di,from:Rn,to:Qt}),Je.nodeDataArray.push({...jn,key:Rn}),ke.nodes.push({...di,tip:Rn})}),In.fields.isGoverned=!0}),{workflowObj:{...ke,diagramData:Je,nodes:ke.nodes},unchanged:!1}}))}convertWorkflows({tips:ke,formula:Ne,updateWorkflowFunc:Je,dryRun:Qe,ignoreUnchangedWorkflow:rt}){if(!ke&&!Ne)throw new Error("Need either tips or formula!");let Xt=1,It=0;const Kt=wn=>{const zn={$tip:wn.tip,name:wn.getFieldStringValue("app/workflow:name"),description:wn.getFieldStringValue("app/workflow:description"),diagramData:wn.getFieldJsonValue("app/workflow:diagramdata"),isAdminMode:wn.getFieldBooleanValue("app/workflow:isAdminMode"),nodes:wn.getFieldValues("app/workflow:nodes").map(di=>JSON.parse(di)),inputs:wn.getFieldValues("app/workflow:inputs").map(di=>JSON.parse(di)),actors:wn.getFieldValues("app/workflow:actors").map(di=>JSON.parse(di)),variables:wn.getFieldValues("app/workflow:variables").map(di=>JSON.parse(di)),profileRestrictionTips:wn.getFieldStringValue("app/workflow:profile-restriction-tips")};return Je?Je.call(this,zn):(0,O.of)({workflowObj:zn,unchanged:!0})},Ze=({workflowObj:wn,unchanged:zn})=>this.formulaService.evaluate('REFERENCES("app/module:workflows", VAR("Workflow tip"))',void 0,void 0,{"Workflow tip":[wn.$tip]}).pipe((0,b.M)(()=>console.warn(`${Qe?"[ DRY-RUN ] ":""}[ ${Xt++} of ${It} ] Converting ${wn.$tip} ( ${wn.name})`)),(0,o.n)(([di])=>{if(zn&&rt)return console.warn(`Not converting workflow ${wn.$tip} ( ${wn.name}) since it is not changed.`),(0,O.of)({});const jn=x.nY.getDiagram(new k.T);jn.model=new a.GraphLinksModel(wn.diagramData.nodeDataArray,wn.diagramData.linkDataArray),jn.model.modelData={nodeEditorDataList:wn.nodes};const Li=new Y.W(jn,null).getNodeEditorDataListFromStartNode();return this.workflowDesignerService.saveWorkflow(wn,Li,di,Qe)}),(0,b.M)(di=>!Qe||console.info(di)),(0,I.$)());(()=>ke?(0,O.of)(ke):this.formulaService.evaluate(Ne))().pipe((0,o.n)(wn=>this.enoService.readEnos(wn)),(0,I.$)(),(0,o.n)(wn=>(0,E.z)(wn.map(zn=>Kt(zn)))),(0,b.M)(wn=>It=wn.length),(0,o.n)(wn=>(0,y.x)(...wn.map(zn=>Ze(zn))).pipe((0,C.$)()))).subscribe(()=>console.warn("Done!"))}updateFilters({tips:ke,formula:Ne,dryRun:Je}){if(Ne=Ne||'LOOKUP(TIP(), AND(ISTYPE("query/filter"), NOT(EQUALS(FIND_TEXT(FIELD("query/filter/formula"), "OP(EQUALS(COUNT(TIP()"), -1))))',!ke&&!Ne)throw new Error("Need either tips or formula!");const ft=Xt=>{const It=(Xt=Xt.filter(In=>!In.unchanged)).map(In=>In.filterObj);return Je?(console.log(It),(0,O.of)({})):this.enoService.writeEnos(It)};(()=>ke?(0,O.of)(ke):this.formulaService.evaluate(Ne))().pipe((0,o.n)(Xt=>this.enoService.readEnos(Xt)),(0,I.$)(),(0,L.T)(Xt=>Xt.map(It=>(Xt=>{const It=Xt.getFieldStringValue("query/filter/formula"),In=(0,F.iX)(It),Kt=[];for(Kt.push(...In.args);0!==Kt.length;){const zn=Kt.pop();if((0,$.g)(zn)){if("ISTYPE"===zn.name)continue;if("AND"===zn.name||"OR"===zn.name){Kt.push(...zn.args);continue}try{const di=U.T.getParts(zn);let jn;switch(di.operator){case z.Wt.CONTAINS_ALL:jn=U.T.operators[z.Wt.CONTAINS_ALL].toFormula(di.leftArg,di.rightArg);break;case z.Wt.IN:jn=U.T.operators[z.Wt.IN].toFormula(di.leftArg,di.rightArg);break;case z.Wt.NOT_CONTAINS_ALL:jn=U.T.operators[z.Wt.NOT_CONTAINS_ALL].toFormula(di.leftArg,di.rightArg);break;case z.Wt.NOT_IN:jn=U.T.operators[z.Wt.NOT_IN].toFormula(di.leftArg,di.rightArg)}jn&&(zn.name=jn.name,zn.args=jn.args)}catch{}}}const Ze=(0,F.Ac)(In);if(Ze===It)return{filterObj:Xt,unchanged:!0};const wn=new M.f;return wn.setProtoToPatch(Xt),wn.setField("query/filter/formula",[Ze]),{filterObj:wn.makeEno(),unchanged:!1}})(It))),(0,o.n)(Xt=>ft(Xt)),(0,I.$)()).subscribe(()=>console.warn("Done!"))}get tailLogs(){return this._tailLogs.setSessionId(this.sessionManagerService.getSessionId()),this._tailLogs}condenseEno(ke){const Ne={$tip:ke.tip};return ke.source&&(Ne.$type=ke.source.type,Ne.$security=ke.source.security,ke.source.field.forEach(Je=>{let Qe=Je.tip;Qe.length>ke.source.type.length&&Qe.substr(0,ke.source.type.length)===ke.source.type&&(Qe=Qe.substr(ke.source.type.length+1,Qe.length-ke.source.type.length-1)),Je.value?Ne[Qe]=Je.value.length>1?Je.value:Je.value[0]:Je.i18n&&Je.i18n.length>0?Ne[Qe]=Je.i18n[0].value.length>1?Je.i18n[0].value:Je.i18n[0].value[0]:Je.formula&&Je.formula.length>0&&(Ne[Qe]=Je.formula[0])})),Ne}getAllModuleConfig(ke=1e4,Ne=0,Je,Qe=`module-config-${T()().format("LL")}`){const rt={dimensionOptions:[{label:"Tip dimension",formula:"TIP()",sortby:[],sortdir:["asc"],offset:Ne,limit:ke}],vars:{}},ft=Je?(0,q.CD)(rt,["app/module"],Je):rt;this.formulaService.evaluate('LOOKUP(TIP(), ISTYPE("app/module"))').pipe((0,I.$)(),(0,L.T)(Xt=>(0,g.chunk)(Xt,20)),(0,L.T)(Xt=>Xt.map(It=>this.queryService.execute1dArray(H.R.GET_MODULE_CONFIG,{...ft,vars:{...ft.vars,"Module tips":It}}).pipe((0,I.$)()))),(0,o.n)(Xt=>(0,y.x)(...Xt).pipe((0,C.$)(),(0,L.T)(It=>(0,g.flatten)(It)))),(0,L.T)(Xt=>(0,g.sortBy)((0,g.flatten)(Xt.map(It=>It.configTitles.map((In,Kt)=>({type:It.configType[Kt]||"-",name:It.configTitles[Kt]?It.configTitles[Kt].replace(/,/g,""):"-",module:(0,g.head)(It.title)?(0,g.head)(It.title).replace(/,/g,""):"-",modifiedDate:It.configModifiedDate[Kt]?T()((0,de.O)(It.configModifiedDate[Kt])).format("LL").replace(/,/g,""):"-"})))),["type","module","name"]))).subscribe(Xt=>{this.exportModuleConfigToCsvFile(Xt,Qe)})}unBuildJSON(ke){const Ne=function K(Ge){return(0,F.iX)(Ge).args[0]}(ke),Je=JSON.parse(Ne.replace(/\\\\/gi,"\\"));console.log(JSON.stringify(Je,null,4)),console.log("use: https://json-to-js.com if you need to load in your editor")}exportModuleConfigToCsvFile(ke,Ne=`module-config-${T()().format("LL")}`){this.exportCSVFile(Ne,ke,{type:"Type",name:"Item",module:"Module",modifiedDate:"Last modified date & time"})}isMobileApp(){console.log("Mobile app flag:",this.deviceService.onNativeApp),console.log("Cordova IAB methods available:",!(!window.webkit||!window.webkit.messageHandlers))}setOpenLinkMode(ke){this.deviceService.openLinkMode=ke}setQueryServiceMode(ke){if(!["query-service-ensrv-only","query-service-ensrv-and-es","query-service-es-first","query-service-ensrv-and-es-build","query-service-es-first-and-ensrv"].includes(ke))return window.localStorage.removeItem(w.Ay.LOCAL_STORAGE.QUERY_SERVICE_MODE),void console.log(`Invalid query service mode ${ke}. Resetting query service mode.`);window.localStorage.setItem(w.Ay.LOCAL_STORAGE.QUERY_SERVICE_MODE,ke),console.log(`Successfully set query service mode to ${ke}.`)}setQueryServiceAggregationOverride(ke){this.setBooleanOverride(ke,w.Ay.LOCAL_STORAGE.QUERY_SERVICE_AGGREGATION)}setQueryServiceCommonFieldsOverride(ke){this.setBooleanOverride(ke,w.Ay.LOCAL_STORAGE.QUERY_SERVICE_COMMON_FIELDS)}showAllEnabledFeatures(){this.formula('\n      LOOKUP(\n        FIELD("app/feature-flag:name"),\n        AND(\n          ISTYPE("app/feature-flag"),\n          EQUALS(\n            FIELD("app/feature-flag:enabled"),\n            "true"\n          )\n        )\n      )\n    ')}ffOn(ke){this.updateFeatureFlag(ke,!0)}ffOff(ke){this.updateFeatureFlag(ke,!1)}ffStatus(ke){const Ne=this.featureFlagStateService.isFeatureEnabled(ke);console.log(`Feature flag: "${ke}" is ${Ne?"ON":"OFF"}`)}updateFeatureFlag(ke,Ne){this.startProcess("eim/process/provisioning/update-feature-flag",{Name:ke,Enabled:`${Ne}`})}exportCSVFile(ke,Ne,Je){Je&&Ne.unshift(Je);const Qe=function j(Ge){return Ge.reduce((Se,ke)=>{let Ne="";return Object.keys(ke).forEach(Je=>{""!==Ne&&(Ne+=","),Ne+=ke[Je]}),Se+(Ne+"\r\n")},"")}(Ne),rt=this.document.createElement("a"),ft=URL.createObjectURL(new Blob([Qe],{type:"text/csv;charset=utf-8;"}));rt.setAttribute("href",ft),rt.setAttribute("download",ke+".csv"),rt.style.visibility="hidden",document.body.appendChild(rt),rt.click(),document.body.removeChild(rt)}setBooleanOverride(ke,Ne){!0===ke||!1===ke?(window.localStorage.setItem(Ne,ke.toString()),console.log(`Successfully set ${Ne} override to ${ke}.`)):(window.localStorage.removeItem(Ne),console.log(`Invalid ${Ne} override ${ke}. Resetting ${Ne} override.`))}static#e=this.\u0275fac=function(Ne){return new(Ne||Ge)(Me.KVO(n.qQ),Me.KVO(me.K),Me.KVO(be.g),Me.KVO(Le.w),Me.KVO(Ae.g),Me.KVO(Oe.$),Me.KVO(Xe.C),Me.KVO(Pe.q),Me.KVO($e.V),Me.KVO(ze.c),Me.KVO(Be.Pb),Me.KVO(Ye.e),Me.KVO(Ct.F),Me.KVO(Lt.D))};static#t=this.\u0275prov=Me.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"})}return Ge})()},95354:(at,N,s)=>{"use strict";s.d(N,{GM:()=>L,Hb:()=>b,Ju:()=>y,Mc:()=>M,Q8:()=>o,Sk:()=>w,f5:()=>D,mT:()=>O,us:()=>z,wG:()=>C,zC:()=>F});var n=s(92597),a=s(67376),m=s(78329);function O(U,k){return(0,n.Ac)(D(U,k))}function D(U,k){return{name:"CONTEXT",args:[(0,m.g)(k)?k:(0,n.iX)(k),(0,m.g)(U)?U:(0,n.iX)(U)]}}function y(U){return z(U).formula}function b(U){return z(U).context}function L(U){return w(U).mostInnerContextFormula}function o(U){return M(w(U).outerFormulas)}function C(U,k){const{outerFormulas:Y,mostInnerContextFormula:x}=w(U);return M([...Y,x,k])}function w(U){const k=[];let Y=null,{formula:x,context:B}=z(U);for(;B;){k.push(x),Y=B;const j=z(Y);x=j.formula,B=j.context}return{outerFormulas:k,mostInnerContextFormula:x}}function M(U){const k=U.slice();let Y,x;for(;k.length>1;)Y=k.pop(),x=k.pop(),k.push(O(x,Y));return k.pop()}function z(U){const k=(0,n.iX)(U);return"CONTEXT"===k.name?{formula:(0,n.Ac)((0,a.get)(k,"args[1]")),context:(0,n.Ac)((0,a.get)(k,"args[0]"))}:{formula:U,context:null}}function F(U){try{if(U&&U.startsWith("ANNOTATE")){const k=(0,n.iX)(U);return(0,n.Ac)((0,a.get)(k,"args[2]"))}return U}catch(k){return console.log("There an error happen when parsing the formula. ",k),U}}},17338:(at,N,s)=>{"use strict";s.d(N,{Y:()=>T,t:()=>m});var n=s(97586),a=s.n(n),g=s(93953);const m="---NOW---";let T=(()=>{class O{constructor(){}getCurrentDatetime(){return a()().format("YYYY-MM-DDTHH:mm:ssZZ")}static#e=this.\u0275fac=function(y){return new(y||O)};static#t=this.\u0275prov=g.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})()},28342:(at,N,s)=>{"use strict";s.d(N,{R0:()=>D,jj:()=>y});var n=s(92597),a=s(74140),g=s(78329);const m='FIELD("session:owner",SESSION())',D=m,E=['FIELD("app/user-session:user",REFERENCES("app/user-session:session",SESSION()))','FIELD("app/user-session:user",LOOKUP(TIP(),AND(ISTYPE("app/user-session"),NOT(EQUALS(0,COUNT(SESSION()))),INARRAY(FIELD("app/user-session:session"),SESSION())),"branch/master",ARRAY(),ARRAY(),0,1))',m,a._.CURRENT_USER].map(I).reduce((b,L)=>[...b,L,(0,n.AQ)(L)],[]);function y(b){const L=(0,g.g)(b)?(0,n.Ac)(b):b;if(!L)return!1;const o=I(L);return E.includes(o)}function I(b){return b.replace(/,\s/g,",")}},81878:(at,N,s)=>{"use strict";function n(a){return a.startsWith("COALESCE")||a.startsWith("CONTEXT(COALESCE")}s.d(N,{_:()=>n})},90810:(at,N,s)=>{"use strict";s.d(N,{O:()=>g});var n=s(97586),a=s.n(n);const g=m=>{if(!m)return a()("1970-01-01").valueOf();if(m.toString().includes(".")){const[O,D]=m.toString().split(".");return a().unix(Number(O)).milliseconds(Number(D)).valueOf()}return m.toString().length>10?isNaN(Number(m))?a()(m).valueOf():Number(m):isNaN(Number(m))?a()(m).valueOf():1e3*Number(m)}},17814:(at,N,s)=>{"use strict";function n(D){return T(D,"d M Y H:i T")}function a(D){return T(D,"d M Y T")}function g(D){return O(D,"F")}function m(D){return O(D,"Y")}function T(D,E){return`CONCAT(FORMAT_DATETIME(${D}, "${E}", FIELD("app/type/locale:timezone", "app/locale")))`}function O(D,E){return`FORMAT_DATETIME(${D}, "${E}", FIELD("app/type/locale:timezone", "app/locale"))`}s.d(N,{KA:()=>g,Nk:()=>n,SV:()=>a,Td:()=>m})},95296:(at,N,s)=>{"use strict";s.d(N,{l:()=>n});var n=function(a){return a[a.OFF=1]="OFF",a[a.FATAL=2]="FATAL",a[a.ERROR=3]="ERROR",a[a.WARN=4]="WARN",a[a.INFO=5]="INFO",a[a.DEBUG=6]="DEBUG",a[a.TRACE=7]="TRACE",a[a.ALL=8]="ALL",a}(n||{})},87878:(at,N,s)=>{"use strict";s.d(N,{f:()=>E});var n=s(14646),a=s.n(n),g=s(67376),T=s(92597),O=s(78329),D=s(93953);let E=(()=>{class y{constructor(){this.sha256Regex=/^[a-f0-9]{64}$/i,this.wellKnownTipRegex=/^([a-z0-9]+)(\-([a-z0-9]+))*(\/([a-z:0-9]+)(\-([a-z0-9]+))*)*$/i}evaluateAndSanitize(b,L){const o=this.evaluate(b,L).map(C=>{try{return this.extractTipsFromFormula((0,T.iX)(C))}catch{return this.isTipLike(C)?[C]:[]}});return(0,g.uniq)((0,g.compact)((0,g.flattenDeep)(o)))}isTipLike(b){return b.length<200&&(this.sha256Regex.test(b)||this.wellKnownTipRegex.test(b))}evaluate(b,L){const o=(0,g.isArray)(L)?`[${L.join(",")}]`:`[${L}]`;return a()(o).evaluate(b).filter(w=>!(0,g.isObject)(w)&&!(0,g.isEmpty)(w))}extractTipsRecursively(b,L=[],o,C=null){(!o||"ARRAY"!==b.name)&&(o=b.name,C=null),b.args.forEach((w,M)=>{const q=null===C?M:C;(0,O.g)(w)?this.extractTipsRecursively(w,L,o,q):(["FIELD_BY_NAME","FIELD_BY_KEY"].includes(o)&&q>0||["CONTEXT"].includes(o)&&0===q||["FIELD","FIELD_VALUES","ISTYPE","FMT_FIELD"].includes(o)||["ARRAY"].includes(o))&&this.isTipLike(""+w)&&L.push(""+w)})}tryParsingEmbeddedFormula(b){try{const o=(0,T.ky)(b).filter(O.g).map(C=>this.extractTipsFromFormula(C));return(0,g.flattenDeep)(o)}catch{return console.warn("[DepsParserService/tryParsingEmbeddedFormula] Failed to parse and extract tips",{embeddedString:b}),[]}}extractTipsFromFormula(b){const L=[];return this.extractTipsRecursively(b,L),[...L]}static#e=this.\u0275fac=function(L){return new(L||y)};static#t=this.\u0275prov=D.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},53110:(at,N,s)=>{"use strict";s.d(N,{BI:()=>T,OH:()=>q,Qx:()=>g});var n=s(67376);const g=["filterInputs.formFieldTip","filterInputs.variable.typeRestrict","filterInputs.variable.fieldTip","filterInputs.variable.tip","filterInputs.variable.implements"],m=["action.navConfig.value","action.navConfig.value.typeTip","action.navConfig.value.formTip","action.navConfig.value.objectTip","action.navConfig.value.queryAndFilter.queryTip","action.navConfig.value.queryAndFilter.sortingOptions.formula","action.navConfig.value.SMSConfig.templateTip","action.navConfig.value.emailConfig.templateTip","action.navConfig.value.voiceMessageConfig.templateTip",...g.map(z=>`action.navConfig.value.queryAndFilter.${z}`)],T=["columns","objectTypeTip","queryTip","sortingOptions.formula",...g],O=["columns","contextTypeTip","defaultFormTip","objectTypeTip","queryTip","formula",...g],E=["mapTip","overrideExtent","overrideBaseMap","featureQueryFilterInputs.formFieldTip","featureQueryFilterInputs.variable.typeRestrict","featureQueryFilterInputs.variable.fieldTip","featureQueryFilterInputs.variable.tip","featureQueryFilterInputs.variable.implements",...g],y=["chartTip",...g],I=["fields.formula","objectTypeTip","queryTip","sortingOptions.formula",...g],b=["logTypeTips","sourceObjectTypeTip","postFilterAndFilterOptions.queryTip","postFilterAndFilterOptions.sortingOptions.formula","sourceObjectFilterAndFilterOptions.queryTip","sourceObjectFilterAndFilterOptions.sortingOptions.formula"].concat(...g.map(z=>[`postFilterAndFilterOptions.${z}`,`sourceObjectFilterAndFilterOptions.${z}`])),o=["columns","objectTypeTip","riskMatrixTip",...g],C=["queryTip","extraFilters","columns.formula","columns.listTip","columns.typeRestrict","sortingOptions.formula",...g],w=(0,n.flattenDeep)(["shiftFilter"].map(z=>C.map(F=>`${z}.${F}`))),M=(0,n.flattenDeep)(["shiftFilter","roleFilter","contactFilter"].map(z=>C.map(F=>`${z}.${F}`))),q={button:m,table:T,details:O,fieldHighlight:["formula"],chart:y,list:I,timeline:b,map:E,message:["systemEmailTips","buttonConfig.value.emailConfig.templateTip","buttonConfig.value.SMSConfig.templateTip","buttonConfig.value.voiceMessageConfig.templateTip"],riskMatrix:o,actualShift:w,shift:M}},48653:(at,N,s)=>{"use strict";s.d(N,{p:()=>n});const n={EMAIL:["messageSubstitutions.value","subjectSubstitutions.value",'messageSubstitutions."$type"','subjectSubstitutions."$type"'],SMS:["messageSubstitutions.value",'messageSubstitutions."$type"'],VOICE:["messageSubstitutions.value",'messageSubstitutions."$type"']}},97206:(at,N,s)=>{"use strict";s.d(N,{T:()=>M});var n=s(7673),a=s(27468),g=s(96354),m=s(61594),T=s(67376),D=s(76194),E=s(17814),y=s(3310),I=s(93953),b=s(24881),L=s(76087);const o={date:!1,datetime:!1,list:!1,stripHTML:!1,wrapStringFieldsInTopLevelConcatWS:!1},w=[D.HT.string,D.HT.number,D.HT.email,D.HT.phone];let M=(()=>{class F{constructor(k,Y){this.getFormulaDataTypeService=k,this.formulaService=Y}addDisplayFormulaWrapper(k,Y,x){return x={...o,...x},(0,T.isEqual)(x,o)?(0,n.of)(k):(0,T.isEmpty)(k)?(0,n.of)([]):(0,a.p)(k.map(B=>this.getFormulaDataTypeService.getFormulaDataType(B,Y).pipe((0,g.T)(j=>j.datatype===D.HT.date&&x.date?(0,E.SV)(B):j.datatype===D.HT.datetime&&x.datetime?(0,E.Nk)(B):j.datatype===D.HT.html&&x.stripHTML?function q(F){return`STRIP_TAGS(REPLACE(${F}, "</p>", "\n"))`}(B):j.listTip&&x.list?function z(F,U){const k=(0,T.last)((0,y.O)(F));if(!k)return`CONCAT_WS(", ", MAP(${F}, IF(EQUALS(INDEXOF(FIELD("app/list:values", "${U}"), VAR("Value")), -1), ${F}, NTH(FIELD("app/list:labels", "${U}"), INDEXOF(FIELD("app/list:values", "${U}"), VAR("Value"))))))`;const Y=`SUBSTR(FIRST(FILTER(FIELD("field/tag", "${k}"), EQUALS(SUBSTR(VAR("Value"), 0, 9), "listTip--"))), 9)`;return`CONCAT_WS(", ", MAP(${F}, IF(EQUALS(INDEXOF(FIELD("app/list:values", ${Y}), VAR("Value")), -1), ${F}, NTH(FIELD("app/list:labels", ${Y}), INDEXOF(FIELD("app/list:values", ${Y}), VAR("Value"))))))`}(B,j.listTip):w.includes(j.datatype)&&x.wrapStringFieldsInTopLevelConcatWS?(F=>`CONCAT_WS(", ", ${F})`)(B):B),(0,m.$)())))}removeDisplayFormulaWrapper(k){const Y=this.formulaService.parse(k);if("CONCAT"===Y.name&&"FORMAT_DATETIME"===(0,T.get)(Y,"args[0].name"))return this.formulaService.stringify((0,T.get)(Y,"args[0].args[0]"));if("STRIP_TAGS"===Y.name&&"REPLACE"===(0,T.get)(Y,"args[0].name"))return this.formulaService.stringify((0,T.get)(Y,"args[0].args[0]"));if("CONCAT_WS"===Y.name){if("MAP"===(0,T.get)(Y,"args[1].name"))return this.formulaService.stringify((0,T.get)(Y,"args[1].args[0]"));if((0,T.get)(Y,["args",1]))return this.formulaService.stringify((0,T.get)(Y,["args",1]))}return k}removeDisplayFormulaWrappers(k){return k.map(Y=>this.removeDisplayFormulaWrapper(Y))}static#e=this.\u0275fac=function(Y){return new(Y||F)(I.KVO(b.Kh),I.KVO(L.C))};static#t=this.\u0275prov=I.jDH({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},69828:(at,N,s)=>{"use strict";s.d(N,{C:()=>m});var n=s(23294),a=s(67376);function m(){return(0,n.F)((O,D)=>{const E=O.map(T),y=D.map(T);return(0,a.isEqual)(E,y)})}function T(O){return O.sid}},10506:(at,N,s)=>{"use strict";s.d(N,{F:()=>O});var n=s(84412),a=s(84572),g=s(96354),m=s(5964),T=s(93953);let O=(()=>{class D{constructor(){this.initialSet=new Map,this._featureFlagsMap=new Map,this._featureFlagsMap$=new n.t(this.initialSet)}get featureFlagsMap$(){return this._featureFlagsMap$.asObservable()}get featureFlagsMap(){return this._featureFlagsMap}areFeaturesEnabled$(y){const I=y.map(b=>this.isFeatureEnabled$(b.featureFlagName,b.defaultIfFeatureMissing));return(0,a.z)(I)}isFeatureEnabled(y,I=!1){return this._featureFlagsMap.has(y)?this._featureFlagsMap.get(y):I}isFeatureEnabled$(y,I=!1){return this._featureFlagsMap$.pipe((0,g.T)(b=>b.has(y)?b.get(y):I))}isFeatureEnabledSkipInitialSet$(y,I=!1){return this._featureFlagsMap$.pipe((0,m.p)(b=>b!==this.initialSet),(0,g.T)(b=>b.has(y)?b.get(y):I))}setFeatureFlags(y){this._featureFlagsMap=y,this._featureFlagsMap$.next(y)}static#e=this.\u0275fac=function(I){return new(I||D)};static#t=this.\u0275prov=T.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})()},31741:(at,N,s)=>{"use strict";s.d(N,{J:()=>g});var n=s(60177),a=s(93953);let g=(()=>{class m{static#e=this.\u0275fac=function(D){return new(D||m)};static#t=this.\u0275mod=a.$C({type:m});static#n=this.\u0275inj=a.G2t({imports:[n.MD]})}return m})()},43470:(at,N,s)=>{"use strict";s.d(N,{y:()=>y});var n=s(21413),a=s(96354),g=s(56977),m=s(20857),T=s(55516),O=s(93953),D=s(10506),E=s(51229);let y=(()=>{class I{constructor(L,o){this.featureFlagStateService=L,this.queryService=o,this._destroyed$=new n.B}get allFeatureFlags$(){return this.featureFlagStateService.featureFlagsMap$}getFeatureFlag(L,o=!1){return this.featureFlagStateService.isFeatureEnabled(L,o)}getFeatureFlag$(L,o=!1){return this.featureFlagStateService.isFeatureEnabled$(L,o)}getFeatureFlags$(L){const o=L.map(({name:C,defaultEnabled:w})=>({featureFlagName:C,defaultIfFeatureMissing:w}));return this.featureFlagStateService.areFeaturesEnabled$(o)}loadAllFeatureFlags(){0===this.featureFlagStateService.featureFlagsMap.size&&this.queryService.execute1dFirst(T.R.GET_ALL_FEATURE_FLAGS_QUERY).pipe((0,a.T)(L=>L.reduce((o,C)=>(m.it.some(w=>"app/super-type/team"===w.$tip)||m.it.push({$tip:"app/super-type/team",label:"All dynamic teams"},{$tip:"app/super-type/role",label:"All dynamic roles"}),o.set(C.name,"true"===C.enabled)),new Map)),(0,g.Q)(this._destroyed$)).subscribe(L=>{this.featureFlagStateService.setFeatureFlags(L)})}ngOnDestroy(){this._destroyed$.next(),this._destroyed$.complete()}static#e=this.\u0275fac=function(o){return new(o||I)(O.KVO(D.F),O.KVO(E.c))};static#t=this.\u0275prov=O.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})()},5002:(at,N,s)=>{"use strict";s.d(N,{g:()=>n});var n=function(a){return a.FEATURE_AUDIT_LOG_INTEGRATIONS_CENTER="feature-audit-log-integrations-center",a.FEATURE_CHECK_MODULE_LOCKED_STATE="feature-check-module-locked-state",a.FEATURE_CUSTOM_FORMULA="feature-custom-formula",a.FEATURE_USE_SHAREDWORKER_OPCACHE="feature-use-sharedworker-opcache",a.FEATURE_USE_SESSIONSTORAGE_OPCACHE="feature-use-sessionstorage-opcache",a.FEATURE_USE_LOCALSTORAGE_OPCACHE="feature-use-localstorage-opcache",a.FEATURE_EIM_6215="feature-EIM-6215",a.FEATURE_EIM_7981="feature-EIM-7981",a.FEATURE_EIM_8000="feature-EIM-8000",a.FEATURE_EIM_8926="feature-EIM-8926",a.FEATURE_EIM_9299="feature-EIM-9299",a.FEATURE_GLOBAL_SEARCH="feature-global-search",a.FEATURE_GLOBAL_SEARCH_BLACKLIST="feature-global-search-blacklist",a.FEATURE_GLOBAL_SEARCH_BLACKLIST_SYSTEM_TYPES="feature-global-search-blacklist-system-types",a.FEATURE_GLOBAL_SEARCH_WITH_FILTERS="feature-global-search-with-filters",a.FEATURE_GOLDMASTER="feature-goldmaster",a.FEATURE_I18N="feature-i18n",a.FEATURE_INTEGRATION_BUCKET="feature-integration-bucket",a.FEATURE_LIBRARY="feature-library",a.FEATURE_MODULE_DEFAULT_VALUES="feature-module-default-values",a.FEATURE_SOLUTIONS="feature-solutions",a.FEATURE_SORT_BY_SERVER_T_PROPERTY="feature-sort-by-server-t-property",a.FEATURE_USE_LOCALE_FOR_WORKFLOW_START_TIME="feature-use-locale-for-workflow-start-time",a.FEATURE_USE_SEARCH_FOR_STRING_CONTAINS_OPERATOR="feature-use-search-for-string-contains-operator",a.FEATURE_WHITELIST_STATUS="feature-whitelist-status",a.FEATURE_EIM_12854_NEW_CONTACT_SUPERTYPE_FIELD="feature-EIM-12854-new-contact-supertype-field",a.FEATURE_SEARCHABLE_FIELDS_BY_DEFAULT="feature-searchable-fields-by-default",a.FEATURE_SHIFT_TABLE_SORT_USING_METAFIELD="feature-shift-table-sort-using-metafield",a.FEATURE_EIM_13058_ADDED_RELATED_BLOCK="feature-EIM-13058-added-related-block",a.FEATURE_EIM_13059_UPDATE_OBJECT="feature-EIM-13059-update-object",a.FEATURE_EIM_13060_CREATE_OBJECT="feature-EIM-13060-create-object",a.FEATURE_EIM_13978_DOWNLOADS_IN_MOBILE_APP="feature-EIM-13978-downloads-in-mobile-app",a.FEATURE_EIM_12682_AUDIT_LOG_EXPORT_OPTIONS="feature-EIM-12682-audit-log-export-options",a.FEATURE_EIM_20144_LITE_USER_RESTRICTED_VIEW="feature-EIM-20144-lite-user-restricted-view",a.FEATURE_EIM_14269_USE_SEARCH_FOR_TABLE_RUNTIME_FILTER="feature-EIM-14269-use-search-for-table-runtime-filter",a.FEATURE_EIM_14996_EXPORT_IN_UTC_TIMEZONE="feature-EIM-14996-export-in-utc-timezone",a.FEATURE_EIM_11493_PUSH_PROXY="feature-EIM-11493-push-proxy",a.FEATURE_EIM_14495_PRINT_BUTTON_ON_MOBILE_DEVICES="feature-EIM-14495-print-button-on-mobile-devices",a.FEATURE_EIM_6818_BULK_DELETE="feature-EIM-6816-bulk-delete",a.FEATURE_EIM_16451_REST_API_DOCS_V2="feature-EIM-16451-rest-api-docs-v2",a.FEATURE_EIM_10549_INCORPORATE_SHIFT_LENGTH_BAR_INTO_SHIFT_SCHEDULE="feature-eim-10549-incorporate-shift-length-bar-into-shift-schedule",a.FEATURE_EIM_17897_TRACK_SOFT_DEPENDENCIES="feature-EIM-17897-track-soft-dependencies",a.FEATURE_EIM_15054_QUERY_SERVICE_IN_REST_API="feature-EIM-15054-query-service-in-rest-api",a.FEATURE_EIM_17729_FIX_SHIFT_WIDGET_PAGINATION="feature-EIM-17729-fix-shift-widget-pagination",a.FEATURE_EIM_17531_MAKE_OBJECT_DESIGNER_URL_ADDRESSABLE="feature-EIM-17531-make-object-designer-url-addressable",a.FEATURE_EIM_18790_DASHBOARD_EDITOR_TABS_ADDRESSABLE="feature-EIM-18790-dashboard-editor-tabs-addressable",a.FEATURE_EIM_17628_DASHBOARD_DESIGNER_WIDGET_URL_ADDRESSABLE="feature-EIM-17628-dashboard-designer-widget-url-addressable",a.FEATURE_EIM_12054_AUTHORIZED_CONTACTS_SCREEN="feature-EIM-12054-authorized-contacts-screen",a.FEATURE_EIM_17218_SEARCH_AFTER_IN_REST_API="feature-EIM-17218-search-after-in-rest-api",a.FEATURE_EIM_20048_COMMS_ORG_STRUCTURES="feature-EIM-20048-comms-org-structures",a.FEATURE_EIM_17166_OPEN_CUSTOM_SHIFT_FORM="feature-EIM-17166-open-custom-shift-form",a.FEATURE_NEW_QUERY_SERVICE="feature-new-query-service",a.FEATURE_EIM_9754_GROUP_SECURITIES="feature-EIM-9754-group-securities",a.FEATURE_EIM_21087_DELIVERY_STATUS_IMPLEMENTATION="feature-EIM-21087-delivery-status-implementation",a.FEATURE_EIM_22272_EXPAND_SYMBOLOGY_OPTIONS="feature-EIM-22272-expand-symbology-options",a.FEATURE_EIM_24284_OBJECT_DESIGNER_EMAIL_MATCHING_FIELD="feature-EIM-24284-object-designer-email-matching-field",a.FEATURE_EIM_7264_CHART_COLORS_MATCH_LIST_ITEMS="feature-EIM-7264-chart-colors-match-list-items",a.FEATURE_EIM_24561_TOGGLE_TABLE_OBJECT_SYMBOLOGY="feature-EIM-24561-toggle-table-object-symbology",a.FEATURE_EIM_23852_ADD_NEW_OUTCOME_FOR_IMPORT_NODE_AS_FINISHED_WITH_ERRORS="feature-EIM-23852-add-new-outcome-for-import-node-as-finished-with-errors",a.FEATURE_EIM_22471_OFFLINE_MAP="feature-EIM-22471-offline-map",a.FEATURE_EIM_24583_LANGUAGES_GERMAN_AND_PORTUGUESE="feature-EIM-24583-languages-german-and-portuguese",a.FEATURE_EIM_17963_ALLOW_MULTIPLE_SMS_MESSAGES_TO_BE_SENT_WHEN_REQUIRED="feature-EIM-17963-allow-multiple-sms-messages-to-be-sent-when-required",a.FEATURE_EIM_23059_FORM_RESILIENCE="feature-EIM-23059-form-resilience",a.FEATURE_EIM_23195_EASILY_DESELECT_ITEM="feature-EIM-23195-easily-deselect-item",a.FEATURE_EIM_27885_NEW_BUNDLE_API_OFFLINE_FORM="feature-EIM-27885-new-bundle-api-offline-form",a.FEATURE_EIM_24175_OBJECT_EDIT_SECURITY_POLICY="feature-EIM-24175-object-edit-security-policy",a.FEATURE_EIM_9155_RESTRICT_ABILITY_TO_GOVERN_SECURITY_POLICIES_USING_FAC="feature-EIM-9155-restrict-ability-to-govern-security-policies-using-fac",a.FEATURE_EIM_23834_ADD_COLLAPSIBILITY_VISIBILITY_OPTIONS_TO_SECTION_HEADER="feature-EIM-23834-add-collapsibility-visibility-options-to-section-header",a.FEATURE_EIM_23828_READONLY_CUSTOM_FORMS="feature-EIM-23828-readonly-custom-forms",a.FEATURE_EIM_23836_MODULE_PORTABILITY="feature-EIM-23836-module-portability",a.FEATURE_EIM_23821_SCIM_INTEGRATION="feature-EIM-23821-scim-integration",a.FEATURE_EIM_17603_MESSAGING_DISPLAY_OTHER_RECIPIENTS_IN_THE_MESSAGE="feature-EIM-17603-messaging-display-other-recipients-in-the-message",a.FEATURE_EIM_28355_SHIFT_WIDGET_FF_MERGE="feature-EIM-28355-shift-widget-ff-merge",a.FEATURE_EIM_27766_PRINT_PLAN_TEMPLATES="feature-EIM-27766-print-plan-templates",a.FEATURE_EIM_31517_LIMIT_ON_COLUMNS_ON_SHIFT_SCHEDULE="feature-EIM-31517-limit-on-columns-on-shift-schedule",a}(n||{})},60076:(at,N,s)=>{"use strict";s.d(N,{r:()=>g});var n=s(93953),a=s(43470);let g=(()=>{class m{constructor(O,D,E){this.featureFlagService=O,this.templateRef=D,this.viewContainer=E,this.renderedTemplate=null}set appIfFeatureFlag(O){this.subscription&&this.subscription.unsubscribe();let D=!1;O&&"!"===O[0]&&(D=!0,O=O.substr(1,O.length-1)),this.subscription=this.featureFlagService.getFeatureFlag$(O).subscribe(E=>{D&&(E=!E),E&&this.renderedTemplate!==this.templateRef?(this.renderedTemplate=this.templateRef,this.viewContainer.clear(),this.viewContainer.createEmbeddedView(this.templateRef)):E||(this.renderedTemplate=null,this.viewContainer.clear())})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static#e=this.\u0275fac=function(D){return new(D||m)(n.rXU(a.y),n.rXU(n.C4Q),n.rXU(n.c1b))};static#t=this.\u0275dir=n.FsC({type:m,selectors:[["","appIfFeatureFlag",""]],inputs:{appIfFeatureFlag:"appIfFeatureFlag"}})}return m})()},85790:(at,N,s)=>{"use strict";s.d(N,{b:()=>q});var n=s(93953),a=s(60177),g=s(96508),m=s.n(g),T=s(67376),D=s(76194),E=s(41989),y=s(79551),I=s(35011),b=s(25793),L=s(47735),o=s(92597),C=s(24881);function w(U){return Array.isArray(U)?U:[U]}function M(U){return{formattedValue:U}}let q=(()=>{class U{constructor(Y,x){this.locale=Y,this.getFormulaDateTypeService=x}formatType({value:Y,fieldMetaMap:x,fieldFormula:B}){((0,T.isNull)(Y)||(0,T.isUndefined)(Y))&&(console.warn("[DateTypeFormatter/formatType] nullish value received, setting value to blank array"),Y=[]);const j=(0,T.get)(x,"datatype");if(/\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2})?/.test(Y[0])&&m()(Y[0],m().ISO_8601,!0).isValid())return this.formatDatetime(Y,j);const $=this.inferDataTypeFromFormulaString(B);switch(j||$){case D.TV.list:return this.listItemFormatter(Y,x);case D.HT.html:return M(this.htmlFormatter(Y));case D.TV.polygon:return M(this.geoPolygonFormatter());case D.TV.line:return M(this.geoLineFormatter());case D.TV.point:return M(this.geoPointFormatter(Y));case D.HT.bool:return M(this.booleanFormatter(Y));default:return M(this.textFormatter(Y))}}formatDatetime(Y,x){return M(x===D.HT.datetime||x===D.HT.object?this.dateTimeFormatter(Y):this.dateFormatter(Y))}inferDataTypeFromFormulaString(Y=""){if(!Y)return null;const x=(0,L.em)(Y);if(x)switch(x.type){case L.Cp.META_DATA_FORMULA:return x.metaData.datatype;case L.Cp.COMMON_FIELD_FORMULA:const B=this.getFormulaDateTypeService.getFormulaDataTypeForCommonField((0,o.iX)(x.outerFormula)),j=B.extendedDataType||B.datatype;if(j===D.HT.html)return j}return Y.includes("TO_DATETIME")?D.HT.datetime:null}listItemFormatter(Y,x){const B=x.listItems;if(!B)return console.error("The list for this field is missing, field:",x),{formattedValue:["-- The list is missing --"]};const $=(0,y.yu)(Y).map(H=>{const ie={label:`-- "${H}" is missing from list --`,color:"",icon:""};return B.get(H)||ie});return x.isMulti?{formattedValue:$.map(H=>(0,b.YN)(H.label))}:{formattedValue:$.map(H=>(0,b.YN)(H.label)),color:(0,T.get)($,[0,"color"],""),icon:(0,T.get)($,[0,"icon"],"")}}dateTimeFormatter(Y){return w(Y).map(z)}dateFormatter(Y){return w(Y).map(F)}htmlFormatter(Y){return w(Y).map(I.QZ)}textFormatter(Y){return w(Y).map(x=>x||0===x?x+"":"")}booleanFormatter(Y){return Array.isArray(Y)&&0===Y.length?["false"]:this.textFormatter(Y)}geoPointFormatter(Y){const x=Array.isArray(Y)&&Y.length?JSON.parse(Y[0]):Y;return[this.formatPointCoordinates(x)]}geoPolygonFormatter(){return["A polygon is set"]}geoLineFormatter(){return["A line is set"]}formatPointCoordinates(Y){return(0,T.get)(Y,"coordinates",[]).slice().reverse().map(B=>(0,a.ZV)(B,this.locale,"1.0-5")).join(", ")}static#e=this.\u0275fac=function(x){return new(x||U)(n.KVO(n.xe9),n.KVO(C.Kh))};static#t=this.\u0275prov=n.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})();function z(U){return U?U instanceof m()?U.format(E.v.datetimeformat):m()(U).format(E.v.datetimeformat):""}function F(U){return U?U instanceof m()?U.format(E.v.dateformat):m()(U).format(E.v.dateformat):""}},11310:(at,N,s)=>{"use strict";s.d(N,{T:()=>g});var n=s(67376);const g=m=>{if(!m||0===m.length)return"";let T=[...m].sort();if(T=(0,n.sortedUniq)(T),T.length>2){const O=T.length-2;T.splice(2,O,"+"+O+" more")}return T.join(", ")}},33342:(at,N,s)=>{"use strict";s.d(N,{B:()=>m});var n=s(67376),g=s(76194);function m(T){if(T){const O=T.implementsSuperTypes;if(O)return(0,n.intersection)(O,g.EW[g.TV.hierarchical].typeRestrict).length>0}return!1}},41538:(at,N,s)=>{"use strict";s.d(N,{F:()=>O});var n=s(76194),a=s(19472),g=s(67376),T=s(69873);function O({field:w}){const{tag:M}=w,q=(0,a.u)(M);if(function I(w){const{typerestrict:M,datatype:q}=w;return q===n.HT.object&&(M&&"file"===M[0])}(w))return{_datatype:n.TV.file};if(function b(w){const{typerestrict:M,datatype:q}=w;return q===n.HT.object&&(M&&"signature"===M[0])}(w))return{_datatype:n.TV.signature};if(function o(w){const{typerestrict:M,datatype:q}=w;return q===n.HT.object&&(M&&"app/address"===M[0])}(w))return{_datatype:n.TV.address};if(function C(w){const{typerestrict:M,datatype:q}=w;return q===n.HT.object&&(M&&"app/assignment"===M[0])}(w))return{_datatype:n.TV.assignable};if(function E(w,M){const{datatype:q}=w,z=q===n.HT.object,F=function L(w){return"true"===w.get(T.eJ)}(M);return z&&F}(w,q))return{_datatype:n.TV.sub_object,typerestrict:(0,g.get)(w,"typerestrict",null)};if(function D(w){const M=(0,g.get)(w,"typerestrict",[]),q=w.datatype===n.HT.object,z=function y(w){return"file"!==w[0]&&"signature"!==w[0]&&"app/address"!==w[0]&&"app/assignment"!==w[0]}(M);return q&&z}(w))return{_datatype:n.HT.object,typerestrict:(0,g.get)(w,"typerestrict",null)};if(w.datatype===n.HT.geography)return{_datatype:{point:n.TV.point,linestring:n.TV.line,polygon:n.TV.polygon}[w.typeGeoRestrict]};const z=q.get("valueType"),F=q.get("listTip"),U=q.get("sequenceTip");return"app/list"===z&&F?{_datatype:n.TV.list,listTip:q.get("listTip"),listAnyLevelSelection:"true"===q.get("listAnyLevelSelection")}:"app/sequence"===z&&U?{_datatype:n.HT.string,sequenceTip:q.get("sequenceTip"),isSequence:!0}:{_datatype:w.datatype}}},3310:(at,N,s)=>{"use strict";s.d(N,{O:()=>T,k:()=>O});var n=s(67376),g=s(92597),m=s(95354);function T(E){return E?O((0,g.iX)(E)):[]}function O(E){if("CONTEXT"===E.name){const{outerFormulas:y,mostInnerContextFormula:I}=(0,m.Sk)((0,g.Ac)(E));return[I,...(0,n.reverse)(y)].reduce((b,L)=>{const o=(0,g.iX)(L);return"FIELD"===o.name||"FMT_FIELD"===o.name?[...b,o.args[0]]:b},[])}return function D(E){return"FIELD"!==E.name&&"FMT_FIELD"!==E.name?[]:E.args.reduce((y,I,b)=>"string"==typeof I&&0===b?[...y,I]:"object"==typeof I?[...O(I),...y]:y,[])}(E)}},24881:(at,N,s)=>{"use strict";s.d(N,{HL:()=>U,Kh:()=>z});var n=s(67376),g=s(7673),m=s(96354),T=s(25558),O=s(76194),D=s(92597),E=s(9975),y=s(20857),I=s(95354),b=s(41538),L=s(3310),o=s(47735),C=s(93953),w=s(44667),M=s(8076),q=s(76087);let z=(()=>{class k{constructor(x,B,j){this.objectDataService=x,this.objectService=B,this.formulaService=j}getFormulaDataType(x,B,j={}){const $=(0,o.em)(x);return $?this.getSpecialContextFormulaDatatype($,x,B,j):this.getFieldFormulaDatatype(x,j)}getFieldFormulaDatatype(x,B={}){const j=(0,n.last)((0,L.O)(x));return j?this.objectDataService.getObject(j,O.cF).pipe((0,m.T)($=>{const H=(0,b.F)({field:$});return{...B,fieldLabel:$.label,datatype:$.datatype,typerestrict:$.typerestrict||[],typeGeoRestrict:$.typeGeoRestrict||void 0,listTip:H.listTip||null,extendedDataType:$.datatype===H._datatype?void 0:H._datatype,isMulti:$.maxcount&&$.maxcount>1||!1,numberFormatTip:$.numberFormat||null,listAnyLevelSelection:H.listAnyLevelSelection||!1}}),(0,T.n)($=>this.updateHierarchicalData($))):(0,g.of)(B)}getSpecialContextFormulaDatatype(x,B,j,$={}){const H=(0,o.jp)(B);switch(x.type){case o.Cp.CUSTOM_FORMULA:return(0,g.of)({datatype:O.HT.string,fieldLabel:H,isMulti:!1});case o.Cp.META_DATA_FORMULA:const ie={...$,metaDataKey:x.metaData.key,datatype:x.metaData.datatype,fieldLabel:H,isMulti:!1};if(x.metaData.key===E.Po.thisObject){j&&j.length&&(ie.typerestrict=(0,n.flatten)([j]));const ne=(0,I.Hb)(B);if(ne)return this.getFormulaDataType(ne,j,ie)}return x.metaData.typerestrict&&(ie.typerestrict=x.metaData.typerestrict),this.updateHierarchicalData(ie);case o.Cp.COMMON_FIELD_FORMULA:return this.updateHierarchicalData({...this.getFormulaDataTypeForCommonField(this.formulaService.parse(x.outerFormula)),fieldLabel:H,isMulti:!1});case o.Cp.COMMON_OBJECT_FIELD_FORMULA:return this.updateHierarchicalData({...F((0,D.iX)(x.outerFormula)),fieldLabel:H,isMulti:!1});case o.Cp.CURRENT_USER_FORMULA:return this.updateHierarchicalData({datatype:O.HT.object,typerestrict:["app/user"],fieldLabel:H,isMulti:!1});case o.Cp.RELATIVE_DATE_FORMULA:return(0,g.of)({datatype:O.HT.datetime,fieldLabel:H,isMulti:!1})}}updateHierarchicalData(x){if(!x.typerestrict||!x.typerestrict.length)return(0,g.of)(x);const B=y.it.filter(j=>j.isHierarchical).map(j=>j.$tip);return[...B,"app/group"].includes(x.typerestrict[0])?(x.extendedDataType=O.TV.hierarchical,(0,g.of)(x)):this.objectService.getType(x.typerestrict[0]).pipe((0,m.T)(j=>(j&&j.objectType&&j.objectType.supertypes&&(x.implements=j.objectType.supertypes.map($=>$.$tip),x.implements.some($=>B.includes($))&&(x.extendedDataType=O.TV.hierarchical)),x)))}getFormulaDataTypeForCommonField(x){return U(x)}static#e=this.\u0275fac=function(B){return new(B||k)(C.KVO(w.T),C.KVO(M.T),C.KVO(q.C))};static#t=this.\u0275prov=C.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})();function F(k){return U(k.args[1])}function U(k){const x=JSON.parse(k.args[0].args[1]),B=(0,b.F)({field:x});return{name:x.name||void 0,tag:x.tag||void 0,datatype:x.datatype,typerestrict:x.typerestrict||[],typeGeoRestrict:x.typeGeoRestrict||void 0,listTip:B.listTip||null,extendedDataType:x.datatype===B._datatype?void 0:B._datatype}}},39309:(at,N,s)=>{"use strict";function a(g){return function(T){const O=[];for(let D=0;D<T.length;D+=g){const y=T.slice(D,D+g).map(I=>I?.join());O.push(y)}return O}}s.d(N,{x:()=>a})},52583:(at,N,s)=>{"use strict";s.d(N,{U:()=>E});var n=s(50835),a=s(84572),g=s(5964),m=s(96697),T=s(93953),O=s(14784),D=s(15387);let E=(()=>{class y{constructor(b,L){this.meService=b,this.sessionManagerService=L}init(b){this.dataLayerWindow=b||this.dataLayerWindow||window;const L={release:n.c.release,environment:n.c.enCloudEnv,namespace:n.c.ns,serviceUri:n.c.host,customerUri:window.location.origin};console.log(L),this.push(L),(0,a.z)([this.sessionManagerService.getSessionInfo$(),this.meService.getMe$()]).pipe((0,g.p)(([o,C])=>!!o&&!!C),(0,m.s)(1)).subscribe(([o,C])=>{this.pushEvent("userSet",{userTip:C.$tip,isAdministrator:C.profiles.indexOf("app/profile/administrator")>-1?"Yes":"No",isNogginUser:this.meService.isNogginUser(C)?"Yes":"No",isAgent:this.meService.isAgent(o)?"Yes":"No"})})}pushEvent(b,L){this.dataLayer().push({...L,event:b})}push(b){this.dataLayer().push(b)}dataLayer(){return this.dataLayerWindow=this.dataLayerWindow||window,this.dataLayerWindow.dataLayer||(this.dataLayerWindow.dataLayer=[]),this.dataLayerWindow.dataLayer}static#e=this.\u0275fac=function(L){return new(L||y)(T.KVO(O.Q),T.KVO(D.Pb))};static#t=this.\u0275prov=T.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},35011:(at,N,s)=>{"use strict";s.d(N,{QZ:()=>g,jT:()=>m,nm:()=>T});var n=s(86391);function g(E){let y;if("string"==typeof E)try{y=E.replace(/<\//g," </").replace(/(<([^>]+)>([^><]+>)?)/gm,"").trim()}catch{y=(new DOMParser).parseFromString(E,"text/html").body.textContent||""}else y=E;return y}function m(E){for(const y in O){const b=new RegExp(O[y],"g");E=E.replace(b,y)}return n.decode(E)}function T(E){for(const y in D){const I=D[y],b=new RegExp(y,"g");E=E.replace(b,I)}return E}const O={" ":"&nbsp;"},D={"<br>":"","</p>":"","<p>":"\n","</div>":"","<div>":"\n"}},78329:(at,N,s)=>{"use strict";s.d(N,{g:()=>g});var n=s(67376);function g(m){return(0,n.isPlainObject)(m)&&"name"in m&&"args"in m}},18228:(at,N,s)=>{"use strict";s.d(N,{N:()=>m});var n=s(69172),a=s(50835),g=s(93953);let m=(()=>{class T{constructor(){}getSiteSelectorUrl(D,E){switch(E){case"test":return D.replace(/signin/,"signin-test");case"dev":case"development":return D.replace(/signin/,"signin-dev")}return D}redirect(D){window.location.href=D}refresh(){window.location.reload()}refreshToRoot(){window.location.href=window.location.href.replace(window.location.pathname,"")}getLearnUrl(D,E){switch(E){case"aupr":return D.replace(/learn\.noggin\.io/,"learn.aupr.elasticnoggin.com");case"test":return D.replace(/learn/,"learn-test");case"dev":case"development":return D.replace(/learn/,"learn-dev")}return D}goToSiteSelector(){this.redirect(this.getSiteSelectorUrl(n.Y6,a.c.enCloudEnv))}static#e=this.\u0275fac=function(E){return new(E||T)};static#t=this.\u0275prov=g.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},32099:(at,N,s)=>{"use strict";s.d(N,{g:()=>m});var n=s(93953),a=s(40838),g=s(95296);let m=(()=>{class T{constructor(){this._debugLevel=(0,n.naY)()?a.m.debugLevel:g.l.DEBUG}setDebugLevel(D){this._debugLevel=D}offAll(){this._debugLevel=g.l.OFF}onAll(){this._debugLevel=g.l.ALL}error(D,...E){this._debugLevel>=g.l.ERROR&&console.error(D,...E)}warn(D,...E){this._debugLevel>=g.l.WARN&&console.warn(D,...E)}info(D,...E){this._debugLevel>=g.l.INFO&&console.info(D,...E)}debug(D,...E){this._debugLevel>=g.l.DEBUG&&console.debug(D,...E)}static#e=this.\u0275fac=function(E){return new(E||T)};static#t=this.\u0275prov=n.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},66675:(at,N,s)=>{"use strict";function n(a,g){const m=Object.keys(a).map(T=>({[g[T]||T]:a[T]}));return Object.assign({},...m)}s.d(N,{Z:()=>n})},95541:(at,N,s)=>{"use strict";s.d(N,{Y:()=>b});var n=s(93953),a=s(7673),g=s(5964),m=s(96354),T=s(25558),O=s(99437),D=s(50835),E=s(52168),y=s(21626),I=s(32099);let b=(()=>{class L{constructor(C,w,M){this.http=C,this.router=w,this.loggerService=M,this.availableFrontends={"billing/subscription-usage":{files:[{name:"polyfills.js",type:"script",dependentFiles:[{name:"main.js",type:"script"}]}]},"rest/docs":{files:[{name:"polyfills.js",type:"script",dependentFiles:[{name:"main.js",type:"script"}]},{name:"styles.css",type:"link"}],routePath:"api/v2-docs"}}}init(){this.router.events.pipe((0,g.p)(C=>C instanceof E.ld),(0,m.T)(C=>Object.keys(this.availableFrontends).find(M=>{const q=this.availableFrontends[M].routePath??"";return!!q&&C.url.includes(q)})),(0,T.n)(C=>C?this.load$(C):(0,a.of)(!1))).subscribe(C=>{this.loggerService.info(`[MicrofrontendService/init] Status of microfrontend load is - ${C}`)})}load$(C){return this.addMicrofrontendFiles$(C)}addMicrofrontendFiles$(C){const w=this.availableFrontends[C];return w.loaded?(0,a.of)(!0):this.getVersionPath$(C).pipe((0,m.T)(M=>!!M&&(this.loadFiles(w.files,M),w.loaded=!0,!0)))}loadFiles(C,w){C.forEach(M=>{const q=document.createElement(M.type);switch(M.type){case"script":q.src=w+"/"+M.name;break;case"link":q.rel="stylesheet",q.href=w+"/"+M.name}M.dependentFiles&&M.dependentFiles.length>0&&(q.onload=()=>{this.loadFiles(M.dependentFiles,w)}),document.body.appendChild(q),M.element=q})}getVersionPath$(C){const w=(0,n.naY)()?"http://localhost:4200/micro-rest-api":D.c.host+"/assets/"+encodeURI(C);return this.http.get(w+"/current.json").pipe((0,m.T)(q=>w+"/"+q.version),(0,O.W)(q=>(console.error("Error getting microfrontend version",q,{name:C,path:w}),"")))}static#e=this.\u0275fac=function(w){return new(w||L)(n.KVO(y.Qq),n.KVO(E.Ix),n.KVO(I.g))};static#t=this.\u0275prov=n.jDH({token:L,factory:L.\u0275fac,providedIn:"root"})}return L})()},71450:(at,N,s)=>{"use strict";s.d(N,{l:()=>g,x:()=>a});var n=s(92597),a=function(m){return m.REALTIME_LOCATION="realtime-location-placeholder-key",m}(a||{});class g{static createPlaceholderFormula(T){return`PLACEHOLDER_FORMULA("${T.key}", "${T.label}")`}static getPlaceholderFormulaPartsOrNull(T){let O=null;try{if(T.startsWith("PLACEHOLDER_FORMULA(")){const D=(0,n.iX)(T);if(D.args&&2===D.args.length){const E=D.args[0];Object.values(a).includes(E)&&(O={key:E,label:D.args[1]})}}}catch{}return O}static isPlaceholderFormula(T,O){const D=g.getPlaceholderFormulaPartsOrNull(T);return!!D&&D.key===O}}},55516:(at,N,s)=>{"use strict";s.d(N,{R:()=>n});var n=function(a){return a.GENERIC_QUERY="eim/query/generic-query",a.GET_ALL_AMAZON_S3="eim/query/get-all-amazon-s3",a.GET_ALL_API_KEY_META="eim/query/get-all-api-key-meta",a.GET_ALL_SAAB_ONEVIEW="eim/query/get-all-saab-oneview",a.GET_ALL_M365="eim/query/get-all-m365",a.GET_ALL_ASSIGNABLES="eim/query/get-all-assignables",a.GET_ALL_CHARTS="eim/query/get-all-charts",a.GET_ALL_CONTACTS="eim/query/get-all-contacts",a.GET_ALL_CONTACTS_OF_TYPE_AND_NOT_IN_GROUP="eim/query/get-all-contacts-of-type-and-not-in-group",a.GET_ALL_CONTACTS_OF_TYPE_AND_NOT_IN_ORG_UNIT="eim/query/get-all-contacts-of-type-and-not-in-org-unit",a.GET_ALL_CONTACT_TYPES="eim/query/get-all-contact-types",a.GET_ALL_CONTACT_TYPES_WITH_ORG_STRUCTURE="eim/query/get-all-contact-types-with-org-structure",a.GET_ALL_EMAILABLE_META="eim/query/get-all-emailable-meta",a.GET_ALL_FEATURE_FLAGS_QUERY="eim/query/get-all-feature-flags-query",a.GET_ALL_INTEGRATION_MANAGER_METADATA="eim/query/get-all-integration-manager-metadata",a.GET_ALL_LISTS="eim/query/get-all-lists",a.GET_ALL_MODULES="eim/query/get-all-modules",a.GET_ALL_SOLUTIONS="eim/query/get-all-solutions",a.GET_ALL_CUSTOM_MODULES="eim/query/get-all-custom-modules",a.GET_ALL_NOTIFIABLE_META="eim/query/get-all-notifiable-meta",a.GET_ALL_NOTIFICATION_CATEGORY="eim/query/get-all-notification-category",a.GET_ALL_NUMBER_FORMATS="eim/query/get-all-number-formats",a.GET_ALL_OBJECTS_TYPES_WITH_SUPER_TYPES="eim/query/get-all-objects-types-with-super-types",a.GET_ALL_OBJECTS_TYPE_FIELDS_FOR_SUPER_TYPE="eim/query/get-all-objects-type-fields-for-super-type",a.GET_ALL_OBJECT_TYPES_V2="eim/query/get-all-object-types-v2",a.GET_ALL_OBJECT_TYPES_MASTER_QUERY="eim/query/get-all-object-types-master-query",a.GET_ALL_OBJECT_TYPE_INSTANCES="eim/query/get-all-object-type-instances",a.GET_ALL_OPERATIONAL_LIMITS_QUERY="eim/query/get-all-operational-limits-query",a.GET_ALL_PLAN_TEMPLATES="eim/query/get-all-plan-templates",a.GET_ALL_PLAN_TEMPLATES_TITLES="eim/query/get-all-plan-templates-titles",a.GET_ALL_PROFILES="eim/query/get-all-profiles",a.GET_ALL_RISK_MATRICES="eim/query/get-all-risk-matrices",a.GET_ALL_SFTP="eim/query/get-all-sftp",a.GET_ALL_SHIFTS="eim/query/get-all-shifts",a.GET_ALL_SHIFT_PATTERNS="eim/query/get-all-shift-patterns",a.GET_ALL_SMS_CAPABLE_META="eim/query/get-all-sms-capable-meta",a.GET_ALL_SUPERTYPE_ROLE="eim/query/get-all-supertype-role",a.GET_ALL_TEAMS="eim/query/get-all-teams",a.GET_ALL_TEMPLATE_METAS="eim/query/get-all-template-metas",a.GET_ALL_TYPES_IMPLEMENTS_FOR_OBJECT_TYPE_MASTER="eim/query/get-all-types-implements-for-object-type-master",a.GET_ALL_TYPE_TIPS_EXTENDING_SUPER_TYPE="eim/query/get-all-type-tips-extending-super-type",a.GET_ALL_USERS="eim/query/get-all-users",a.GET_ALL_USERS_WITHOUT_STATUS_IN_TITLE="eim/query/get-all-users-without-status-in-title",a.GET_ALL_USERS_WITH_USER_TYPE="eim/query/get-all-users-with-user-type",a.GET_ALL_VOICE_MESSAGE_CAPABLE_META="eim/query/get-all-voice-message-capable-meta",a.GET_ALL_WEBHOOK_ENDPOINT="eim/query/get-all-webhook-endpoint",a.GET_MILESTONE_SETTINGS="eim/query/get-milestone-settings",a.GET_ALL_WORKFLOWS="eim/query/get-all-workflows",a.GET_ALL_WORKFLOW_PANELS_FOR_ALL_MODULES="eim/query/get-all-workflow-panels-for-all-modules",a.GET_ALL_PUSH_PROXY="eim/query/get-all-push-proxy",a.GET_ALL_SCIM_SETTINGS="eim/query/get-scim-config",a.GET_MANUALLY_TRIGGERABLE_WORKFLOWS="eim/query/get-manually-triggerable-workflows",a.GET_ASSIGNABLE_DETAILS="eim/query/get-assignable-details",a.GET_CHAT_POSTS="eim/query/get-chat-posts",a.GET_CHECKLIST_ITEMS_BY_PLANS="eim/query/get-checklist-items-by-plans",a.GET_CHECKLIST_ITEMS_FOR_ASSIGNEE="eim/query/get-checklist-items-for-assignee",a.GET_CONTACTS_FROM_GROUP="eim/query/get-contacts-from-group",a.GET_CONTACTS_FROM_ORG_UNIT="eim/query/get-contacts-from-org-unit",a.GET_DRAFT_MESSAGES_META="eim/query/get-draft-messages-meta",a.GET_EMAIL_FROM_ADDRESSES="eim/query/get-email-from-addresses",a.GET_FOLDER_CONTENTS_V2="eim/query/get-folder-contents-v2",a.GET_GLOBAL_AND_CONTEXT_TYPE_DASHBOARDS="eim/query/get-global-and-context-type-dashboards",a.GET_GLOBAL_DASHBOARDS="eim/query/get-global-dashboards",a.GET_GROUPS_CONTAINING_CONTACT="eim/query/get-groups-containing-contact",a.GET_IDENTITY_PROVIDERS="eim/query/get-identity-providers",a.GET_INBOX_MESSAGES="eim/query/get-inbox-messages",a.GET_MEMBERS_FOR_ROLE="eim/query/get-members-for-role",a.GET_MESSAGES_COUNT_FOR_INBOX_DRAFT="eim/query/get-messages-count-for-inbox-draft",a.GET_MODULE_CONFIG="eim/query/get-module-config",a.GET_MODULE_PLAN_TEMPLATES="eim/query/get-module-plan-templates",a.GET_MODULE_TALLIES="eim/query/get-module-tallies",a.GET_OBJECT_ATTACHMENTS="eim/query/get-object-attachments",a.GET_OBJECT_TITLES="eim/query/get-object-titles",a.GET_OBJECT_TYPE_FROM_TYPE_INSTANCE_NEW="eim/query/get-object-type-from-type-instance-new",a.GET_OFFLINE_FORMS="eim/query/get-offline-forms",a.GET_ORG_STRUCTURES_CONTAINING_CONTACT="eim/query/get-org-structures-containing-contact",a.GET_ORG_STRUCTURE_TYPES="eim/query/get-org-structure-types",a.GET_PERSONNEL_SUMMARY="eim/query/get-personnel-summary",a.GET_PLAN_TEMPLATES_FOR_CONTEXT="eim/query/get-plan-templates-for-context",a.GET_PUBLIC_FORMS="eim/query/get-public-forms",a.GET_ROOT_DOCUMENT_FOLDERS="eim/query/get-root-document-folders",a.GET_ROOT_GROUPS="eim/query/get-root-groups",a.GET_ROOT_HIERARCHICAL_OBJECTS="eim/query/get-root-hierarchical-objects",a.GET_ROOT_ORG_STRUCTURES="eim/query/get-root-org-structures",a.GET_SECURITY_POLICIES="eim/query/get-security-policies",a.GET_SENT_MESSAGES_META="eim/query/get-sent-messages-meta",a.GET_SUBLEVEL_HIERARCHICAL_OBJECTS="eim/query/get-sublevel-hierarchical-objects",a.GET_SUB_GROUPS="eim/query/get-sub-groups",a.GET_SUB_ORG_STRUCTURES="eim/query/get-sub-org-structures",a.GET_TEAMS_FOR_USER="eim/query/get-teams-for-user",a.GET_TEAM_ROLE_SUMMARY="eim/query/get-team-role-summary",a.INGEST_JOBS="eim/query/ingest-jobs",a.OBJECT_STEP_STATES="eim/query/object-step-states",a.OBJECT_STEP_STATES_GLOBAL="eim/query/object-step-states-global",a.OBJECT_TYPE_DASHBOARDS="eim/query/object-type-dashboards",a.OBJECT_TYPE_FORMS="eim/query/object-type-forms",a.OBJECT_TYPE_PRINT_TEMPLATE_USAGES="eim/query/object-type-print-template-usages",a.RECENT_NOTIFICATIONS="eim/query/recent-notifications",a.SUPERTYPES="eim/query/supertypes",a.GET_ALL_SIGNAL="eim/query/get-signal-settings",a.GET_ALL_ROOMS="eim/query/get-rooms",a.GET_ALL_ARCGIS_CONNECTIONS="eim/query/get-all-arcgis-connections",a.GET_ALL_AUTHORIZED_SUPPORT_CONTACTS="eim/query/get-all-authorized-support-contacts",a.GET_ALL_CONTACT_SELF_SERVICE_SCREEN_SETTINGS="eim/query/get-contact-self-service-screen-settings",a.GET_CONTACT_SELF_SERVICE_FORMS="eim/query/get-contact-self-service-forms",a.GET_CONTACT_SELF_SERVICE_TYPES="eim/query/get-contact-self-service-types",a.GET_ALL_CONTACT_SELF_SERVICE_EMAIL_SETTINGS="eim/query/get-contact-self-service-email-settings",a.GET_ALL_MESSAGE_LABELS="eim/query/get-message-labels",a.GET_ALL_PLAN_CATEGORIES="eim/query/get-plan-categories",a.GET_ALL_INTEROP_SYSTEMS="eim/query/get-all-interop-systems",a.GET_ALL_WHAT_3_WORDS="eim/query/get-what3words-config",a.GET_PLAN_TEMPLATE_VISIBILITY_SYSTEM_SETTINGS="eim/query/get-plan-template-visibility-system-settings",a.GET_ALL_OFFLINE_MAPS="eim/query/get-all-offline-maps",a}(n||{})},79551:(at,N,s)=>{"use strict";function n(m){return m.replace(/\\/g,"")}function a(m){return Array.isArray(m)?m:g(m)}function g(m){return m.replace(/\\,/g,"&escapedquot;").split(",").map(T=>T.replace(/\&escapedquot;/g,","))}s.d(N,{Lr:()=>n,rO:()=>g,yu:()=>a})},47735:(at,N,s)=>{"use strict";s.d(N,{Cp:()=>o,jp:()=>C,em:()=>w});var n=s(70398),a=s(9975),g=s(95354),m=s(81878),T=s(28342),O=s(67376),D=s(92597);function E(M){const q=(0,D.iX)(M),z="LAST"===q.name,F="ARRAY"===q.name&&"ANNOTATE"===(0,O.get)(q,"args[0].name");return"COMMON_FIELD_FORMULA"===(0,O.get)(q,"args[0].args[0]")&&(z||F)}function I(M){const q=(0,D.iX)(M),z="LAST"===(0,O.get)(q,"args[1].name"),F="ARRAY"===(0,O.get)(q,"args[1].name")&&"ANNOTATE"===(0,O.get)(q,"args[1].args[0].name");return"IF"===q.name&&"EQUALS"===(0,O.get)(q,"args[0].name")&&"object"===(0,O.get)(q,"args[0].args[1]")&&"COMMON_FIELD_FORMULA"===(0,O.get)(q,"args[1].args[0].args[0]")&&(z||F)}var L=s(71450),o=function(M){return M.CUSTOM_FORMULA="Custom formula",M.META_DATA_FORMULA="Meta data",M.RELATIVE_DATE_FORMULA="Relative date",M.CURRENT_USER_FORMULA="Current user",M.COMMON_FIELD_FORMULA="Common field",M.COMMON_OBJECT_FIELD_FORMULA="Common object field",M.PLACEHOLDER_FORMULA="Placeholder formula",M}(o||{});function C(M){const q=w(M);if(q)switch(q.type){case o.CUSTOM_FORMULA:case o.CURRENT_USER_FORMULA:return q.type;case o.META_DATA_FORMULA:return q.metaData.label;case o.RELATIVE_DATE_FORMULA:return q.relativeDateFormula.label;case o.COMMON_FIELD_FORMULA:return function y(M){if(E(M)){const q=(0,D.iX)(M),z=(0,O.get)(q,"args[0].args[1]"),F=(0,O.get)(q,"args[0].args[2].args[0].args[0]");try{return JSON.parse(z).label||F}catch{return F}}return""}(q.outerFormula);case o.COMMON_OBJECT_FIELD_FORMULA:return function b(M){if(I(M)){const q=(0,D.iX)(M),z=(0,O.get)(q,"args[1].args[0].args[1]"),F=(0,O.get)(q,"args[1].args[0].args[2].args[0].args[0]");try{return JSON.parse(z).label||F}catch{return F}}return""}(q.outerFormula);case o.PLACEHOLDER_FORMULA:return q.placeholderFormula.label}return null}function w(M){const q=(0,g.us)(M),z=L.l.getPlaceholderFormulaPartsOrNull(q.formula);if(z)return{type:o.PLACEHOLDER_FORMULA,outerFormula:q.formula,placeholderFormula:z};if((0,m._)(q.formula))return{type:o.CUSTOM_FORMULA,outerFormula:q.formula};const F=(0,a.a_)(q.formula);if(F)return{type:o.META_DATA_FORMULA,outerFormula:q.formula,metaData:F};const U=(0,n.Fx)(q.formula);return U?{type:o.RELATIVE_DATE_FORMULA,outerFormula:q.formula,relativeDateFormula:U}:(0,T.jj)(q.formula)?{type:o.CURRENT_USER_FORMULA,outerFormula:q.formula}:E(q.formula)?{type:o.COMMON_FIELD_FORMULA,outerFormula:q.formula}:I(q.formula)?{type:o.COMMON_OBJECT_FIELD_FORMULA,outerFormula:q.formula}:null}},18099:(at,N,s)=>{"use strict";function n(a){return"Dependent sub-object security policy variation"===a}s.d(N,{C:()=>n})},19472:(at,N,s)=>{"use strict";s.d(N,{u:()=>m});var n=s(67376);function m(T=[]){const O=function g(T){return T.map(O=>{const D=/^([^(--)]+)--(.*(\n.*)*)/m.exec(O);if(!D)throw new Error(`\n        Tag cannot be split into key and value\n        Original tag: ${O}\n      `);return[D[1],D[2]]})}(T),D=new Map;return O.forEach(([E,y])=>{if("solution"===E&&D.has(E)){let I=D.get(E);I=(0,n.isArray)(I)?I:[I],D.set(E,[...I,y])}else D.set(E,y)}),D}},77088:(at,N,s)=>{"use strict";s.d(N,{X:()=>g});var n=s(92597),a=s(78329);class g{static toFormulaSpec(T){return(0,a.g)(T)?T:(0,n.iX)(T)}static toFormulaString(T){return(0,a.g)(T)?(0,n.Ac)(T):T}}},8970:(at,N,s)=>{"use strict";s.d(N,{M:()=>g});var n=s(93953),a=s(89417);const g=m=>({provide:a.kq,useExisting:(0,n.Rfq)(()=>m),multi:!0})},76151:(at,N,s)=>{"use strict";s.d(N,{O:()=>M});var n=s(25767),a=s(92597),g=s(68302),m=s(61594),T=s(96354),O=s(25558),D=s(7673),E=s(84572),y=s(42190),I=s(67376),L=s(6425),o=s(93953),C=s(44667),w=s(25687);let M=(()=>{class q{static parseVarNames(F){return F.map(U=>JSON.parse(atob(U)))}static compareFilterInputVars(F,U){return F.name===U.name?0:F.name>U.name?1:-1}static getVarsFromFormula(F){return q.parseVarNames(n.V.getVarNames(F)).sort(q.compareFilterInputVars)}static getEmptyFilterInputsFromFormulaStr(F){const U=(0,a.iX)(F);return q.getVarsFromFormula(U).map(Y=>({variable:Y,value:"",by:null}))}static getEmptyFilterInputsFromFormulaStrs(F){const U=`AND(${F.join(",")})`;return q.getEmptyFilterInputsFromFormulaStr(U)}static mergeExistingValues(F,U){U&&0!==U.length&&U.map(k=>F.forEach(Y=>{JSON.stringify(k.variable)===JSON.stringify(Y.variable)&&(Y.value=k.value,Y.by=k.by)}))}static filterInputFulfilled(F){return(0,I.isEmpty)(F)||0===F.filter(U=>(0,I.isEmpty)(U.value)).length}constructor(F,U){this.objectService=F,this.formulaMultiService=U}convertFilterInputsToVars(F,U,k,Y=!1,x){F||(F=[],x=void 0);const B={},j=[],$=[],H=[],ie=[];return F.forEach(ne=>{const Q=Y?ne.variable.name:btoa(JSON.stringify(ne.variable));"Entering"===ne.by?B[Q]=[ne.value]:"Context"===ne.by?(j.push(Q),$.push(ne.value)):"Relative"===ne.by?(H.push(Q),ie.push(ne.value)):"URL"===ne.by&&k?B[Q]=k.getAll(ne.value):"Field"===ne.by&&ne.formFieldTip&&ne.formFieldTip!==ne.value?B[Q]=(0,I.flattenDeep)([ne.value]):"Field"===ne.by&&(B[Q]=[""])}),0===j.length&&0===H.length?(0,D.of)(B):this.formulaMultiService.evaluate([...$.map(ne=>({formula:ne,context:U,watch:!1})),...ie.map(ne=>({formula:ne,context:U,watch:!1}))],x).pipe((0,m.$)(),(0,T.T)(ne=>(ne.slice(0,$.length).forEach((pe,te)=>{B[j[te]]=pe}),ne.slice($.length).forEach((pe,te)=>{B[H[te]]=pe}),B)))}convertWorkflowFilterInputsToVars(F=[]){const U={};return F.forEach(k=>{const Y=btoa(JSON.stringify(k.variable));U[Y]=[k.value]}),U}getEmptyFilterInputsFromQueryTips(F){return(0,I.isEmpty)(F)?(0,D.of)([]):(0,E.z)(F.map(U=>this.objectService.getObject(U,g.c5).pipe((0,m.$)()))).pipe((0,T.T)(U=>{const k=U.map(Y=>Y.filters[0].formula);return q.getEmptyFilterInputsFromFormulaStrs(k)}))}getEmptyFilterInputsFromChartTip(F){return this.objectService.getObject(F,y.qy).pipe((0,m.$)(),(0,O.n)(U=>this.getEmptyFilterInputsFromQueryTips(U.dataSource.map(k=>k.queryTip))))}getEmptyFilterInputsFromRiskMatrixTip(F){return this.objectService.getObject(F,L.M).pipe((0,m.$)(),(0,O.n)(U=>this.getEmptyFilterInputsFromQueryTips([U.filter])))}static#e=this.\u0275fac=function(U){return new(U||q)(o.KVO(C.T),o.KVO(w.$))};static#t=this.\u0275prov=o.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})()},40838:(at,N,s)=>{"use strict";s.d(N,{m:()=>a});var n=s(95296);const a=Object.freeze({debugLevel:n.l.DEBUG,api:{inboundBatchMonitor:!0,outboundBatchMonitor:!0},security:{sessionChanged:!0,tokenChanged:!0},query:{watch:{watchProgress:!1}}})},50835:(at,N,s)=>{"use strict";s.d(N,{c:()=>m});const g=/^https:\/\/services\.([^\.]+)\.elasticnoggin.com$/.exec(window.EIM.host),m={production:!0,ns:window.EIM.ns,host:window.EIM.host,enSrvFatPath:"/ensrv/",enSrvThinPath:"/ensrv",pubSubHost:null,pubSubPath:"/_api/"+(g&&g[1]?encodeURIComponent(g[1]):"dev")+"/pubsub",mediaServicePath:"/mediaservice",configServicePath:"/config",assetPath:"",gisServicePath:"/gis",arcgisSdkPath:window.EIM.host+"/assets/gis-service/arcgis/4.23/init.js",m365ServiceBasePath:"/m365",interopBasePath:"/interop",m365AttendeesRefreshInterval:6e4,twilioPath:"/twilio",sftpServicePath:"/sftp",m365ServicePath:"/m365",signalServicePath:"/signal",dataminrServicePath:"/dataminr",s3ServicePath:"/s3",pushProxyPath:"/pushwoosh",pushServicePath:"/push",smtpServicePath:"/smtp",imapServicePath:"/imap",importServicePath:"/import",importV2ServicePath:"/import-v2",exportServicePath:"/export",printServicePath:"/print",printV2ServicePath:"/print-v2",billingServicePath:"/billing",restPath:"/rest",integrationBucketPath:"/integration-bucket",i18nPath:"/i18n",testConnectionPath:"/testConnection",dataWarehousePath:"/warehouse",externalPath:"/external",processPath:"/process",analyticsServicePath:"/analytics",queryServicePath:"/query",enCloudEnv:g&&g[1]?g[1]:"development",release:"v1.535.4",enableAnimations:!0,learn:{homeUrl:"https://learn.noggin.io",tokenUrl:"https://learn.noggin.io/token"},forum:{homeUrl:"https://integrations.noggin.io/forums",tokenUrl:"https://integrations.noggin.io/forums/init"},goJSLicenceKey:"73f04ee1b01c28c702d90776423d6bf919a57863c8841ea3080445f6e408381c279dea2a55d78cc680ea5efa1e2ec9d8d896397dc34e0739b43883d911ebd4fdbb3123b2440b418ca15022d189fc7ff1fa7823a2c3a767a1db7884edeba9dc9c59"}},81844:(at,N,s)=>{"use strict";var n=s(345),a=s(93953),g=s(50835),m=s(60177),T=s(52583),O=s(35772),D=s(56977),E=s(21413),y=s(15387),I=s(19937),b=s(39007),L=s(32099);s(92880);let C=(()=>{class yt{constructor(we,dt,qt,An,he,xe){this.inactivityCountdownTimer=we,this.sessionInfo=dt,this.toastService=qt,this.authService=An,this.loggerService=he,this.ngZone=xe,this.destroy$=new E.B}init(){const we={startCountDownTimerAt:6e4,timeoutCallback:this.timeOut.bind(this),countDownCallback:this.countDown.bind(this),countDownCancelledCallback:this.cancelCountDown.bind(this),throttleDuration:3e4};this.sessionInfo.getSessionInfo$().pipe((0,D.Q)(this.destroy$)).subscribe(({token:dt,inactivityTimeout:qt})=>{if(!dt&&this.inactivityCountdownTimer.started)return this.loggerService.info("[inactivity-logout-service] stopping inactivity logout timer, no session to logout from."),void this.ngZone.runOutsideAngular(()=>{this.inactivityCountdownTimer.stop()});if(!qt&&this.inactivityCountdownTimer.started)return this.loggerService.info("[inactivity-logout-service] stopping inactivity logout timer, 'Session inactivity timeout' set to zero."),void this.ngZone.runOutsideAngular(()=>{this.inactivityCountdownTimer.stop()});if(dt&&qt){const An=1e3*qt;this.loggerService.info(`[inactivity-logout-service] starting the inactivity logout timer, with a value from the session token of: ${qt/60} minutes.`),this.ngZone.runOutsideAngular(()=>{this.inactivityCountdownTimer.setup({...we,idleTimeoutTime:An}),this.inactivityCountdownTimer.start()})}})}timeOut(){this.authService.signOut()}countDown(we){this.notification||(this.notification=this.toastService.showWarningToast(`Your session will expire in ${we} seconds. Please click anywhere to keep working.`,{timeOut:0}))}cancelCountDown(){this.toastService.remove(this.notification.id),this.notification=null,this.toastService.showSuccessToast("We have extended your session.")}ngOnDestroy(){this.inactivityCountdownTimer.cleanup(),this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(O.b3),a.KVO(y.Pb),a.KVO(I.f),a.KVO(b.uR),a.KVO(L.g),a.KVO(a.SKi))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();var w=s(19006);let M=(()=>{class yt{constructor(we,dt,qt,An,he,xe){this.sessionInfo=we,this.toastService=dt,this.authService=qt,this.loggerService=An,this.window=he,this.ngZone=xe,this.notification=null,this.notificationSubscription=null,this.destroy$=new E.B,this.timerId=null}init(){this.sessionInfo.getSessionInfo$().pipe((0,D.Q)(this.destroy$)).subscribe(({token:we,sessionExpiry:dt})=>{this.clearTimerAndMessage(),we&&dt&&this.startTimer(dt)})}alert(){this.notification||(this.notification=this.toastService.showWarningToast("\n      For security reasons, you will be forced to re-authenticate in 15 minutes.\n      Please save your work now, and click here to re-authenticate.\n    ",{timeOut:0}),this.notificationSubscription=this.notification.click.subscribe(()=>{this.authService.signOut()}))}startTimer(we){const qt=we.valueOf()-9e5,he=qt-Date.now();this.loggerService.info(`[session-expiry-alert-service] expiry alert scheduled for ${new Date(qt)}.`),this.ngZone.runOutsideAngular(()=>{this.timerId=this.window.setTimeout(()=>this.alert(),he)})}clearTimerAndMessage(){this.timerId&&(this.window.clearTimeout(this.timerId),this.loggerService.info("[session-expiry-alert-service] expiry alert cleared"),this.timerId=null),this.notification&&(this.toastService.remove(this.notification.id),this.notification=null),this.notificationSubscription&&(this.notificationSubscription.unsubscribe(),this.notificationSubscription=null)}ngOnDestroy(){this.clearTimerAndMessage(),this.destroy$.next(),this.destroy$.complete()}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(y.Pb),a.KVO(I.f),a.KVO(b.uR),a.KVO(L.g),a.KVO(w.jf),a.KVO(a.SKi))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();var q=s(95541),z=s(29968),F=s(52168);let U=(()=>{class yt{constructor(we,dt,qt,An,he,xe){this.document=we,this.gtmService=dt,this.inactivityLogoutService=qt,this.sessionExpiryAlertService=An,this.microFrontendService=he,this.ngbConfig=xe,this.animationsDisabled=!g.c.enableAnimations,this.inactivityLogoutService.init(),this.sessionExpiryAlertService.init(),this.gtmService.init(),this.microFrontendService.init(),this.ngbConfig.animation=!1;const Et=this.document.createElement("link");Et.type="text/css",Et.rel="stylesheet",Et.href=`${g.c.host}/assets/gis-service/arcgis/4.23/esri/themes/light/main.css`,we.head.appendChild(Et)}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(m.qQ),a.rXU(T.U),a.rXU(C),a.rXU(M),a.rXU(q.Y),a.rXU(z.qV))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-root"]],hostVars:1,hostBindings:function(dt,qt){2&dt&&a.zvX("@.disabled",qt.animationsDisabled)},decls:1,vars:0,template:function(dt,qt){1&dt&&a.nrm(0,"router-outlet")},dependencies:[F.n3]})}return yt})();var k=s(89417),Y=s(70152),x=s(23294),B=s(61594),j=s(46775),$=s(96354),H=s(25558),ie=s(88141),ne=s(7673),Q=s(67376),le=s(40673),pe=s(27916),te=s(87612),ae=s(21626);let K=(()=>{class yt{constructor(we,dt,qt,An,he,xe,Et){this.processService=we,this.sessionManagerService=dt,this.deviceService=qt,this.loggerService=An,this.http=he,this.localStorage=xe,this._window=Et,this.LOCAL_STORAGE_CONST=le.Ay.LOCAL_STORAGE}checkUsernameAndRedirect$(we){return this.processService.start("eim/process/sso/get-user-provider",{email:[we]}).pipe((0,B.$)(),(0,$.T)(qt=>({email:(0,Q.get)(qt,"vars.email[0]",null),tip:(0,Q.get)(qt,"vars.tip[0]",null),type:(0,Q.get)(qt,"vars.type[0]",null)})),(0,H.n)(qt=>{let An=qt.tip;const xe=qt.type;return"noggin"===xe&&"development"!==g.c.enCloudEnv&&(An="app/sso/saml/idp/noggin"),An&&xe?this.getAndStoreAuthSecretBeforeRedirecting(An,qt.email):(0,ne.of)(!0)}))}getAndStoreAuthSecretBeforeRedirecting(we,dt){const qt=g.c.ns,An=g.c.host;return this.http.get(`${g.c.host}/saml-sp/auth-trans`,{headers:{"en-namespace":g.c.ns},responseType:"json"}).pipe((0,ie.M)(({authTransactionSecret:he})=>{this.localStorage.setItem(this.LOCAL_STORAGE_CONST.AUTH_TRANSACTION_SECRET,he)}),(0,H.n)(({authTransactionId:he})=>{const xe=this.sessionManagerService.originalRequestedDestination;let Et=An+"/saml-sp/login?ns="+encodeURIComponent(qt)+"&idp="+encodeURIComponent(we)+"&email="+encodeURIComponent(dt)+"&authTransactionId="+encodeURIComponent(he);const Ft=this.deviceService.checkForMobileApp();return xe&&(Et+="&redirectUri="+encodeURIComponent(`${Ft?"noggin2:":this._window.location.protocol}//${this._window.location.host}${xe}`)),this.loggerService.info(`[SSO provider service] will navigate to: ${Et} `),this._window.location.href=Et,(0,ne.of)(!1)}))}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(pe.V),a.KVO(y.Pb),a.KVO(te.g),a.KVO(L.g),a.KVO(ae.Qq),a.KVO(w.Wd),a.KVO(w.jf))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();var de=s(32266),Me=s(18228),me=s(44225),be=s(36193),Le=s(46680);const Ae=["password"];function Oe(yt,it){if(1&yt){const we=a.RV6();a.j41(0,"div",22)(1,"div")(2,"label",23)(3,"input",24),a.bIt("keydown.enter",function(){a.eBV(we);const qt=a.XpG();return a.Njj(qt.onToggleRememberMe())}),a.k0s(),a.j41(4,"span",25),a.pXf(5,4),a.k0s()()()()}}function Xe(yt,it){if(1&yt){const we=a.RV6();a.j41(0,"div",26)(1,"div",15)(2,"label",27),a.pXf(3,5),a.k0s(),a.nrm(4,"input",28,0),a.k0s(),a.j41(6,"div",22)(7,"div")(8,"label",23),a.nrm(9,"input",29),a.j41(10,"span",25),a.pXf(11,6),a.k0s()()(),a.j41(12,"div",30)(13,"a",31),a.pXf(14,7),a.k0s()()(),a.j41(15,"button",32),a.bIt("click",function(){a.eBV(we);const qt=a.XpG();return a.Njj(qt.onSignIn())}),a.pXf(16,8),a.k0s()()}2&yt&&(a.R7$(4),a.Y8G("isNavigable",!0),a.R7$(5),a.Y8G("isNavigable",!0))}function Pe(yt,it){if(1&yt){const we=a.RV6();a.j41(0,"button",33),a.bIt("click",function(){a.eBV(we);const qt=a.XpG();return a.Njj(qt.checkUsername())}),a.pXf(1,9),a.k0s()}if(2&yt){const we=a.XpG();a.Y8G("disabled",!we.usernameValid)}}function $e(yt,it){if(1&yt){const we=a.RV6();a.j41(0,"div",34)(1,"span",35),a.bIt("click",function(){a.eBV(we);const qt=a.XpG();return a.Njj(qt.changeSite())}),a.pXf(2,10),a.k0s()()}}const ze="remember-email";let Be=(()=>{class yt{get usernameValid(){return this.signInForm.get("username").valid}constructor(we,dt,qt,An,he,xe,Et,Ft,Sn){this.activatedRoute=we,this.authService=dt,this.checkSSOProvidersService=qt,this.deviceDetectorService=An,this.locationService=he,this.cdr=xe,this.titleService=Et,this.router=Ft,this.localStorage=Sn,this.signInForm=new k.gE({username:new k.MJ("",[k.k0.required]),password:new k.MJ("",k.k0.required),rememberUsername:new k.MJ(!0)}),this.loading=!1,this.passwordSignIn=!1,this.isNativeApp=!1,this.status=null}ngOnInit(){this.titleService.setTitle(j.W.LOGIN);const we=this.localStorage.getItem(ze);we&&this.signInForm.patchValue({username:we,rememberUsername:!0});const dt=this.activatedRoute.snapshot.queryParams.message;dt&&(this.message=dt),this.signInForm.get("username").valueChanges.pipe((0,Y.B)(150),(0,x.F)()).subscribe(()=>{this.passwordSignIn=!1}),this.isNativeApp=!this.deviceDetectorService.isDesktop()}checkUsername(){this.loading=!0;const we=this.signInForm.value.username;this.toggleRememberUsername(),this.checkSSOProvidersService.checkUsernameAndRedirect$(we).pipe((0,B.$)()).subscribe(dt=>{this.loading=!1,this.passwordSignIn=dt,this.cdr.detectChanges(),dt&&this.focusPassword()},dt=>{this.loading=!1,this.status=b.J2.FAILURE})}focusPassword(){this.password.nativeElement.focus()}onSignIn(){this.loading=!0,this.message="",this.status=null,this.toggleRememberUsername(),this.authService.signIn(this.signInForm.value.username,this.signInForm.value.password).subscribe(we=>{this.loading=!1,this.authService.redirectToMFAScreens(we,this.signInForm.value.username,this.signInForm.value.password),we!==b.J2.SUCCESS&&(this.status=we)},()=>{this.loading=!1,this.status=b.J2.FAILURE})}changeSite(){this.locationService.goToSiteSelector()}toggleRememberUsername(){this.signInForm.value.rememberUsername?this.localStorage.setItem(ze,this.signInForm.value.username):this.localStorage.removeItem(ze)}onToggleRememberMe(){const we=!this.signInForm.value.rememberUsername;this.signInForm.get("rememberUsername").setValue(we)}onBackToLogin(){window.location.reload()}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(F.nX),a.rXU(b.uR),a.rXU(K),a.rXU(de.Kg),a.rXU(Me.N),a.rXU(a.gRc),a.rXU(n.hE),a.rXU(F.Ix),a.rXU(w.Wd))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-sign-in"]],viewQuery:function(dt,qt){if(1&dt&&a.GBs(Ae,5),2&dt){let An;a.mGM(An=a.lsd())&&(qt.password=An.first)}},decls:14,vars:11,consts:()=>{let we,dt,qt,An,he,xe,Et,Ft,Sn,_i,Yi,Bs;return we="Username",dt="Please enter your Noggin user information",qt="{VAR_SELECT, select, bad {Sorry, we don\u2019t recognize that username or password. Please try again.} failure {Something is wrong and we cannot log you in right now. Please try again later.} awaiting {We see your user account is not yet verified by your administrator. Please ask them to verify your account and then try log in again.} invited {We can see you have a user account, but it is not activated. Please go to the invitation email sent to you and click the account activation link.} requested {We have sent your administrator a request to verify your account. Please check with them and then try log in again.} suspended {Sorry, we cannot log you in as your account is suspended. Please contact your administrator.} accountLock {Sorry, your account has been locked out due to too many incorrect login attempts. Please try again in 5 minutes.}}",qt=a.k04(qt,{VAR_SELECT:"\ufffd0\ufffd"}),An="Username",he="Remember me",xe="Password",Et="Password",Ft="Remember me",Sn="Forgot password?",_i="Log in",Yi="Continue",Bs="Log in to another site",[["password",""],dt,qt,An,he,Et,Ft,Sn,_i,Yi,Bs,[3,"message","showMessage","authClass"],["eim-i18n-property","secondaryTitle"],["eim-i18n-property","message"],[3,"formGroup","appSpinner"],[1,"form-group"],["for","username",1,"sr-only"],["id","username","placeholder",we,"autocomplete","off","formControlName","username",1,"form-control",3,"isNavigable"],["class","d-flex justify-content-between form-group",4,"ngIf"],["data-test","sign-in-section",4,"ngIf"],["data-test","continue-button","class","btn btn-block eim-button_noggin continue-btn","type","submit",3,"disabled","click",4,"ngIf"],["class","d-flex justify-content-center site-selector-link",4,"ngIf"],[1,"d-flex","justify-content-between","form-group"],[1,"custom-control","custom-checkbox","m-0","pl-6"],["formControlName","rememberUsername","type","checkbox","id","rememberUsername",1,"custom-control-input",3,"keydown.enter"],[1,"custom-control-label"],["data-test","sign-in-section"],["for","password",1,"sr-only"],["id","password","type","password","appTabIndex","","placeholder",xe,"formControlName","password",1,"form-control",3,"isNavigable"],["formControlName","rememberUsername","type","checkbox","id","rememberUsername","appTabIndex","",1,"custom-control-input",3,"isNavigable"],[1,"forgot-password"],["appTabIndex","","routerLink","/forgot-password","data-test","forgot-password",1,"forgot-password-link"],["data-test","login-button","type","submit",1,"btn","btn-block","eim-button_noggin",3,"click"],["data-test","continue-button","type","submit",1,"btn","btn-block","eim-button_noggin","continue-btn",3,"click","disabled"],[1,"d-flex","justify-content-center","site-selector-link"],[3,"click"]]},template:function(dt,qt){1&dt&&(a.j41(0,"app-auth-chrome",11),a.qex(1,12),a.pXf(2,1),a.bVm(),a.qex(3,13),a.pXf(4,2),a.bVm(),a.j41(5,"form",14)(6,"div",15)(7,"label",16),a.pXf(8,3),a.k0s(),a.nrm(9,"input",17),a.k0s(),a.DNE(10,Oe,6,0,"div",18)(11,Xe,17,2,"div",19)(12,Pe,2,1,"button",20),a.k0s(),a.DNE(13,$e,3,0,"div",21),a.k0s()),2&dt&&(a.Y8G("message",qt.message)("showMessage",!!qt.message||!!qt.status)("authClass","mfaAlert"),a.R7$(4),a.uP7(qt.status),a.nnv(4),a.R7$(),a.Y8G("formGroup",qt.signInForm)("appSpinner",qt.loading),a.R7$(4),a.Y8G("isNavigable",!0),a.R7$(),a.Y8G("ngIf",!qt.passwordSignIn),a.R7$(),a.Y8G("ngIf",qt.passwordSignIn),a.R7$(),a.Y8G("ngIf",!qt.passwordSignIn),a.R7$(),a.Y8G("ngIf",qt.isNativeApp))},dependencies:[m.bT,k.qT,k.me,k.Zm,k.BC,k.cb,k.j4,k.JD,F.Wk,me.b,be.d,Le.y],styles:[".forgot-password[_ngcontent-%COMP%]{line-height:1.8}.site-selector-link[_ngcontent-%COMP%]{margin-top:2rem}.site-selector-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{cursor:pointer;color:#878787}.tooManyFailed[_ngcontent-%COMP%], .noSmsNumber[_ngcontent-%COMP%]{font-size:15.6px;text-align:center;margin-bottom:15px}.forgot-password-link[_ngcontent-%COMP%]{color:#01748e}.continue-btn[_ngcontent-%COMP%]:hover{color:#fff}"]})}return yt})(),Ye=(()=>{class yt{constructor(we){this.titleService=we}ngOnInit(){this.titleService.setTitle(j.W.ACTIVATE_ACCOUNT),this.currentYear=(new Date).getFullYear()}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(n.hE))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-activate-account"]],decls:19,vars:2,consts:()=>{let we,dt;return we="Privacy Policy",dt="Privacy Policy",[we,dt,[1,"auth-container","d-flex","flex-column","text-center"],[1,"auth-layout","d-flex","flex-column"],["src","assets/img/activate-account/check-email.gif","role","presentation"],[1,"pt-2"],[1,"d-block","d-sm-none","my-4","text-center","copyright-text"],["href","https://www.noggin.io/privacy","target","_blank","rel","noopener noreferrer"],["src","assets/img/auth-footer.svg","alt","footer",1,"w-100"],[1,"d-none","d-sm-block","copyright","copyright-text"]]},template:function(dt,qt){1&dt&&(a.j41(0,"div",2)(1,"div",3),a.nrm(2,"div"),a.j41(3,"div"),a.nrm(4,"img",4),a.j41(5,"p",5),a.EFF(6,"Check your email to activate your account!"),a.k0s()(),a.nrm(7,"div"),a.k0s(),a.j41(8,"footer")(9,"div",6)(10,"span"),a.EFF(11),a.j41(12,"a",7),a.pXf(13,0),a.k0s()()(),a.nrm(14,"img",8),a.j41(15,"div",9),a.EFF(16),a.j41(17,"a",7),a.pXf(18,1),a.k0s()()()()),2&dt&&(a.R7$(11),a.SpI("Copyright \xa9 ",qt.currentYear," Noggin - "),a.R7$(5),a.SpI(" Copyright \xa9 ",qt.currentYear," Noggin - "))},styles:[".auth-container[_ngcontent-%COMP%]{min-height:100vh;background-color:#fff}.auth-layout[_ngcontent-%COMP%]{flex:1 0 auto;margin:0 auto;width:250px}.auth-layout[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{flex:1 auto}.auth-layout[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.7rem;color:#019cbe;font-weight:600;line-height:1.3}footer[_ngcontent-%COMP%]{flex:none;position:relative}footer[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]{position:absolute;bottom:10px;left:12px;color:#fff}footer[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#fff;text-decoration:underline}footer[_ngcontent-%COMP%]   .copyright-text[_ngcontent-%COMP%]{font-size:.8rem}"]})}return yt})();var Ct=s(34669);function Lt(yt,it){if(1&yt){const we=a.RV6();a.j41(0,"div",18)(1,"span",19),a.bIt("click",function(){a.eBV(we);const qt=a.XpG(2);return a.Njj(qt.goBackToLogin())}),a.pXf(2,4),a.k0s()()}}function Vt(yt,it){if(1&yt){const we=a.RV6();a.j41(0,"app-auth-chrome",10),a.qex(1,11),a.pXf(2,1),a.bVm(),a.j41(3,"form",12),a.bIt("ngSubmit",function(){a.eBV(we);const qt=a.XpG();return a.Njj(qt.forgotPasswordForm.valid&&qt.onResetPassword())}),a.j41(4,"div",13)(5,"label",14),a.pXf(6,2),a.k0s(),a.nrm(7,"input",15),a.k0s(),a.j41(8,"button",16),a.pXf(9,3),a.k0s()(),a.DNE(10,Lt,3,0,"div",17),a.k0s()}if(2&yt){const we=a.XpG();a.Y8G("showMessage",!!we.messageState),a.R7$(2),a.uP7(we.messageState),a.nnv(2),a.R7$(),a.Y8G("formGroup",we.forgotPasswordForm)("appSpinner",we.state===we.SignInStatus.IN_PROGRESS),a.R7$(5),a.Y8G("disabled",!we.emailValid),a.R7$(2),a.Y8G("ngIf",we.isNativeApp)}}function ht(yt,it){1&yt&&(a.j41(0,"div")(1,"h5"),a.pXf(2,7),a.k0s()())}function gt(yt,it){if(1&yt){const we=a.RV6();a.j41(0,"div",24)(1,"span",19),a.bIt("click",function(){a.eBV(we);const qt=a.XpG(2);return a.Njj(qt.goBackToLogin())}),a.pXf(2,8),a.k0s()()}}function Ge(yt,it){if(1&yt&&(a.j41(0,"app-auth-chrome",20)(1,"div",21)(2,"h6"),a.pXf(3,5),a.k0s(),a.j41(4,"h6")(5,"strong"),a.EFF(6),a.k0s()(),a.j41(7,"h6"),a.pXf(8,6),a.k0s()(),a.DNE(9,ht,3,0,"div",22)(10,gt,3,0,"div",23),a.k0s()),2&yt){const we=a.XpG();a.R7$(6),a.JRh(we.forgotPasswordForm.value.email),a.R7$(3),a.Y8G("ngIf",we.isNativeApp),a.R7$(),a.Y8G("ngIf",we.isNativeApp)}}let Se=(()=>{class yt{get emailValid(){return this.forgotPasswordForm.get("email").valid}constructor(we,dt,qt,An){this.authService=we,this.deviceDetectorService=dt,this.router=qt,this.titleService=An,this.forgotPasswordForm=new k.gE({email:new k.MJ("",[k.k0.required,Ct.O.email])}),this.messageState=null,this.SignInStatus=b.J2,this.isNativeApp=!1}ngOnInit(){this.isNativeApp=!this.deviceDetectorService.isDesktop(),this.titleService.setTitle(j.W.FORGOT_PASSWORD)}onResetPassword(){this.state=b.J2.IN_PROGRESS,this.messageState=null,this.authService.forgotPassword(this.forgotPasswordForm.value.email).subscribe(()=>{this.state=b.J2.SUCCESS},()=>{this.state=b.J2.FAILURE,this.messageState=b.J2.FAILURE})}goBackToLogin(){this.router.navigate(["/signin"])}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(b.uR),a.rXU(de.Kg),a.rXU(F.Ix),a.rXU(n.hE))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-forgot-password"]],decls:3,vars:2,consts:()=>{let we,dt,qt,An,he,xe,Et,Ft,Sn,_i,Yi,Bs;return we="Reset",dt="Forgot your password? Don't worry, we'll send you an email to reset your password.",qt="Your Email",An="{VAR_SELECT, select, failure {Something is wrong and we cannot reset your password right now. Please try again later.}}",An=a.k04(An,{VAR_SELECT:"\ufffd0\ufffd"}),he="Your Email",xe="Reset password",Et="Go back to login",Ft="Reset",Sn="We have sent a link to reset your password to:",_i="Please go to the reset password email sent to you and click the link.",Yi="OR",Bs="Log in again",[["successState",""],An,he,xe,Et,Sn,_i,Yi,Bs,["formType",we,"primaryTitle",dt,3,"showMessage",4,"ngIf","ngIfElse"],["formType",we,"primaryTitle",dt,3,"showMessage"],["eim-i18n-property","message"],[3,"ngSubmit","formGroup","appSpinner"],[1,"form-group"],["for","email",1,"sr-only"],["type","email","id","email","name","email","placeholder",qt,"autocomplete","off","formControlName","email",1,"form-control"],["type","submit","data-test","reset-password",1,"btn","btn-block","eim-button_noggin",3,"disabled"],["class","d-flex justify-content-center back-to-login",4,"ngIf"],[1,"d-flex","justify-content-center","back-to-login"],[1,"back-to-login-text",3,"click"],["formType",Ft],["data-test","reset-success",1,"text-center"],[4,"ngIf"],["class","d-flex justify-content-center back-to-login-success-state",4,"ngIf"],[1,"d-flex","justify-content-center","back-to-login-success-state"]]},template:function(dt,qt){if(1&dt&&a.DNE(0,Vt,11,6,"app-auth-chrome",9)(1,Ge,11,3,"ng-template",null,0,a.C5r),2&dt){const An=a.sdS(2);a.Y8G("ngIf",qt.state!==qt.SignInStatus.SUCCESS)("ngIfElse",An)}},dependencies:[m.bT,k.qT,k.me,k.BC,k.cb,k.j4,k.JD,me.b,be.d,Le.y],styles:['.back-to-login[_ngcontent-%COMP%]{margin-top:2rem}.back-to-login-success-state[_ngcontent-%COMP%]{margin-top:1rem}.back-to-login-text[_ngcontent-%COMP%]{cursor:pointer;color:#878787}.site-selector-link-success-state[_ngcontent-%COMP%]{margin-top:2rem}.site-selector-link-success-state[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{cursor:pointer;color:#878787}h5[_ngcontent-%COMP%]{overflow:hidden;text-align:center;line-height:1rem}h5[_ngcontent-%COMP%]:before, h5[_ngcontent-%COMP%]:after{background-color:#dedede;content:"";display:inline-block;height:1px;position:relative;vertical-align:middle;width:25%}h5[_ngcontent-%COMP%]:before{right:1rem;margin-left:-50%}h5[_ngcontent-%COMP%]:after{left:1rem;margin-right:-50%}']})}return yt})(),ke=(()=>{class yt{constructor(we){this.titleService=we}ngOnInit(){this.titleService.setTitle(j.W.SIGNED_OUT)}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(n.hE))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-signed-out"]],decls:3,vars:0,consts:[["secondaryTitle","You are logged out"],["routerLink","/signin","data-test","logBackInButton",1,"btn","btn-block","eim-button_noggin"]],template:function(dt,qt){1&dt&&(a.j41(0,"app-auth-chrome",0)(1,"button",1),a.EFF(2," Log back in "),a.k0s()())},dependencies:[F.Wk,be.d,Le.y]})}return yt})();var Ne=s(69172),Je=s(5964),Qe=s(70980),rt=function(yt){return yt.userExists="error/message/auth/user-exists",yt.decodeFailed="error/message/auth/decode-failed",yt.expiredToken="error/message/auth/expired-token",yt.expiredCredentials="error/message/auth/expired-credential",yt.invalidCredentials="error/message/auth/invalid-credential",yt.invalidPayload="error/message/auth/invalid-payload",yt.invalidToken="error/message/auth/invalid-token",yt.weakSecret="error/message/auth/weak-secret",yt}(rt||{}),ft=s(18810),Xt=s(19439),It=s(63137);let In=(()=>{class yt{constructor(we,dt,qt,An){this.processService=we,this.ensrvService=dt,this.checkSSOProvider=qt,this.authService=An}acceptInvitePassword(we){return this.setPassword(we).pipe((0,H.n)(()=>this.updateInviteInfo(we)),(0,H.n)(()=>this.authService.signIn(we.email,we.password)))}acceptInviteSSO(we){return this.updateInviteInfo(we).pipe((0,H.n)(()=>this.checkSSOProvider.checkUsernameAndRedirect$(we.email)))}setPassword({email:we,token:dt,password:qt}){const he=new Xt.f("op/auth/register",le.Ay.SECURITY.OP).setFields([{tip:"op/auth/register:key",value:[we]},{tip:"op/auth/register:token",value:[dt]},{tip:"op/auth/register:secret",value:[qt]},{tip:"op/auth/register:payload",value:[we]}]).makeEno();return this.ensrvService.send([he]).pipe((0,B.$)(),(0,$.T)(Ze),(0,H.n)(({errors:xe,registerEno:Et})=>function Kt(yt){return!(0,Q.isEmpty)(yt)&&!yt.includes(rt.userExists)}(xe)?(0,ft.$)(xe):(0,ne.of)(Et)))}updateInviteInfo({email:we,token:dt}){return this.processService.start("eim/process/users/update-invite-info",{Email:[we],Token:[dt]}).pipe((0,B.$)(),(0,H.n)(qt=>(0,Q.get)(qt,"vars.Token invalid[0]",!1)?(0,ft.$)("Invalid token passed"):(0,Q.get)(qt,"vars.User status not invited[0]",!1)?(0,ft.$)("User status not invited"):(0,ne.of)(qt)))}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(pe.V),a.KVO(It.w),a.KVO(K),a.KVO(b.uR))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();function Ze(yt){return yt.reduce((it,we)=>{if("response/auth/register"===we.getType()&&(it.registerEno=we),"error"===we.getType()){const dt=we.getFieldValues("error/message/tip");it.errors=[...it.errors,...dt]}return it},{registerEno:null,errors:[]})}let wn=(()=>{class yt{constructor(we){this.processService=we}checkEmailAddress$(we){return this.processService.start("eim/process/sso/is-password-login",{email:[we]}).pipe((0,B.$)(),(0,$.T)(qt=>(0,Q.get)(qt,"vars.isPasswordLogin[0]",null)))}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(pe.V))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();function zn(yt,it){1&yt&&a.EFF(0,"Can't identify password strength.")}function di(yt,it){1&yt&&a.EFF(0,"Password not strong enough.")}function jn(yt,it){1&yt&&a.EFF(0,"Password meets the strength requirements.")}function Di(yt,it){if(1&yt&&(a.j41(0,"div",1),a.qex(1,2),a.DNE(2,zn,1,0,"ng-template",3)(3,di,1,0,"ng-template",3)(4,jn,1,0,"ng-template",3),a.bVm(),a.k0s()),2&yt){const we=a.XpG();a.Y8G("ngClass",we.isPostSubmission?"text-danger font-weight-bold":"text-muted"),a.R7$(),a.Y8G("ngSwitch",!0),a.R7$(),a.Y8G("ngSwitchCase",-1===we.passwordStrength),a.R7$(),a.Y8G("ngSwitchCase",we.passwordStrength>=0&&we.passwordStrength<=2),a.R7$(),a.Y8G("ngSwitchCase",we.passwordStrength>2)}}let Li=(()=>{class yt{constructor(){this.passwordStrength=null,this.isPostSubmission=!1}ngOnInit(){}static#e=this.\u0275fac=function(dt){return new(dt||yt)};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-password-check"]],inputs:{passwordStrength:"passwordStrength",isPostSubmission:"isPostSubmission"},decls:1,vars:1,consts:[["class","form-text",3,"ngClass",4,"ngIf"],[1,"form-text",3,"ngClass"],[3,"ngSwitch"],[3,"ngSwitchCase"]],template:function(dt,qt){1&dt&&a.DNE(0,Di,5,5,"div",0),2&dt&&a.Y8G("ngIf",null!==qt.passwordStrength)},dependencies:[m.YU,m.bT,m.ux,m.e1],changeDetection:0})}return yt})(),ms=(()=>{class yt{constructor(){}ngOnInit(){}static#e=this.\u0275fac=function(dt){return new(dt||yt)};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-password-guidelines"]],decls:16,vars:0,consts:()=>{let we,dt,qt,An,he,xe,Et;return we="Password guidelines",dt=" Be a password superhero! Here's some tips on choosing a strong password: ",qt=" Don't use a password from another site or something too obvious, like your birthday or pet's name. ",An=" The longer the password, the better. ",he=" Use a mix of random words as it is far more unpredictable. ",xe=" Aim for four random words, with at least 14 characters. ",Et=" Don't worry if you are not sure, we will let you know when the password is strong enough! ",[we,dt,qt,An,he,xe,Et,[1,"pl-3"]]},template:function(dt,qt){1&dt&&(a.j41(0,"div")(1,"h6"),a.pXf(2,0),a.k0s(),a.j41(3,"p"),a.pXf(4,1),a.k0s(),a.j41(5,"ul",7)(6,"li"),a.pXf(7,2),a.k0s(),a.j41(8,"li"),a.pXf(9,3),a.k0s(),a.j41(10,"li"),a.pXf(11,4),a.k0s(),a.j41(12,"li"),a.pXf(13,5),a.k0s()(),a.j41(14,"p"),a.pXf(15,6),a.k0s()())},changeDetection:0})}return yt})();function Rn(yt,it){if(1&yt&&a.nrm(0,"div",15),2&yt){const we=a.XpG(2);a.Y8G("appSpinner",we.checkingEmail)}}function Qt(yt,it){if(1&yt){const we=a.RV6();a.j41(0,"form",16),a.bIt("ngSubmit",function(){a.eBV(we);const qt=a.XpG(2);return a.Njj(qt.acceptInviteForm.valid&&qt.onAcceptInvite())}),a.j41(1,"div",17)(2,"label",18),a.pXf(3,3),a.k0s(),a.nrm(4,"input",19)(5,"app-password-check",20),a.k0s(),a.j41(6,"div",21)(7,"label",22),a.pXf(8,4),a.k0s(),a.nrm(9,"input",23),a.k0s(),a.j41(10,"button",24),a.pXf(11,5),a.k0s(),a.nrm(12,"app-password-guidelines"),a.k0s()}if(2&yt){const we=a.XpG(2);a.Y8G("formGroup",we.acceptInviteForm)("appSpinner","in-progress"===we.state),a.R7$(),a.Y8G("ngClass",null===we.passwordStrength?"password-check-hide":"password-check-show"),a.R7$(4),a.Y8G("passwordStrength",we.passwordStrength)("isPostSubmission",we.errorStatus===we.signInStatus.WEAK_PASSWORD),a.R7$(5),a.Y8G("disabled",we.acceptInviteForm.invalid||we.isCheckingPassword),a.R7$(),a.uP7(we.buttonText),a.nnv(11)}}function Wt(yt,it){if(1&yt&&(a.j41(0,"app-auth-chrome",10),a.ehv(1,8),a.qex(2,11),a.pXf(3,1),a.bVm(),a.qex(4,12),a.pXf(5,2),a.bVm(),a.DNE(6,Rn,1,1,"div",13)(7,Qt,13,7,"form",14),a.k0s()),2&yt){const we=a.XpG();a.uP7(we.email),a.nnv(1),a.Y8G("showMessage",!!we.errorStatus&&we.errorStatus!==we.signInStatus.WEAK_PASSWORD),a.R7$(3),a.uP7(we.authSecondaryTitle),a.nnv(3),a.R7$(2),a.uP7(we.errorStatus),a.nnv(5),a.R7$(),a.Y8G("ngIf",we.checkingEmail),a.R7$(),a.Y8G("ngIf",!we.checkingEmail&&we.passwordSignIn)}}function Yt(yt,it){1&yt&&(a.j41(0,"app-auth-chrome")(1,"div",25)(2,"h6"),a.pXf(3,6),a.k0s(),a.j41(4,"h6"),a.pXf(5,7),a.k0s()()())}const Mn=yt=>{const it=yt.get("password"),we=yt.get("again");return it&&we&&it.value&&we.value&&it.value!==we.value?{passwordsMatch:!0}:null};let ci=(()=>{class yt{constructor(we,dt,qt,An,he,xe,Et){this._route=we,this.acceptInviteService=dt,this.isPasswordLoginService=qt,this.loggerService=An,this.fb=he,this.titleService=xe,this._authService=Et,this.signInStatus=b.J2,this.passwordSignIn=!1,this.checkingEmail=!0,this.buttonText="",this.authSecondaryTitle="",this.errorStatus=null,this.passwordStrength=null,this.isCheckingPassword=!1,this.unsubscribed$=new E.B}ngOnInit(){this.isTokenValid=this._route.snapshot.data.isTokenValid,this.token=this._route.snapshot.queryParamMap.get("token"),this.email=this._route.snapshot.queryParamMap.get("email"),this.titleService.setTitle(j.W.ACCEPT_INVITE),this.buildForm(),this.isPasswordLoginService.checkEmailAddress$(this.email).subscribe(we=>{this.checkingEmail=!1,this.passwordSignIn=we,we?(this.authSecondaryTitle="enter",this.buttonText=we?"logIn":"activateAccount"):(this.authSecondaryTitle="wait",this.onAcceptInvite())})}ngOnDestroy(){this.unsubscribed$.next(),this.unsubscribed$.complete()}buildForm(){this.acceptInviteForm=this.fb.group({password:["",[k.k0.required]],again:["",[k.k0.required]]},{validators:Mn}),this.acceptInviteForm.get("password").valueChanges.pipe((0,ie.M)(we=>{this.errorStatus=null,we?this.isCheckingPassword=!0:(this.passwordStrength=null,this.isCheckingPassword=!1)}),(0,Y.B)(300),(0,x.F)(),(0,Je.p)(Boolean),(0,H.n)(we=>this._authService.checkPasswordStrength(we)),(0,Qe.j)(()=>this.isCheckingPassword=!1),(0,D.Q)(this.unsubscribed$)).subscribe(we=>{this.isCheckingPassword=!1,this.passwordStrength=we,null===this.passwordStrength?this.acceptInviteForm.get("password").setErrors(null):this.passwordStrength>-1&&this.passwordStrength<3&&this.acceptInviteForm.get("password").setErrors({invalid:!0})})}onAcceptInvite(){let we;if(this.state=Ne.Gu.inProgress,this.errorStatus=null,this.passwordSignIn){const{password:dt}=this.acceptInviteForm.getRawValue();we=this.acceptInviteService.acceptInvitePassword({token:this.token,email:this.email,password:dt})}else we=this.acceptInviteService.acceptInviteSSO({email:this.email,token:this.token});we.pipe((0,B.$)()).subscribe(dt=>{const{password:qt}=this.acceptInviteForm.getRawValue();this._authService.redirectToMFAScreens(dt,this.email,qt)},dt=>{this.loggerService.error(dt),this.state=Ne.Gu.failed,dt&&Array.isArray(dt)&&dt.includes(rt.weakSecret)?(this.errorStatus=this.signInStatus.WEAK_PASSWORD,this.passwordStrength=0):this.errorStatus="otherError"})}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(F.nX),a.rXU(In),a.rXU(wn),a.rXU(L.g),a.rXU(k.ok),a.rXU(n.hE),a.rXU(b.uR))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-accept-invite"]],decls:3,vars:2,consts:()=>{let we,dt,qt,An,he,xe,Et,Ft;return we="Welcome! You accepted an invite for " + "\ufffd0\ufffd" + ".",dt="{VAR_SELECT, select, enter {Please enter your details to activate your account} wait {Please wait while we activate your account}}",dt=a.k04(dt,{VAR_SELECT:"\ufffd0\ufffd"}),qt="{VAR_SELECT, select, otherError {This invitation is no longer valid. Please contact your administrator to resend.}}",qt=a.k04(qt,{VAR_SELECT:"\ufffd0\ufffd"}),An="New password",he="Confirm password",xe="{VAR_SELECT, select, logIn {Log in} activateAccount {Activate account}}",xe=a.k04(xe,{VAR_SELECT:"\ufffd0\ufffd"}),Et="Sorry, we cannot activate your account as your invitation is expired.",Ft="Please contact your system administrator.",[["invalidToken",""],dt,qt,An,he,xe,Et,Ft,["primaryTitle",we],[3,"showMessage","primaryTitle",4,"ngIf","ngIfElse"],[3,"showMessage",6,"primaryTitle"],["eim-i18n-property","secondaryTitle"],["eim-i18n-property","message"],["data-test","checking-email-spinner",3,"appSpinner",4,"ngIf"],[3,"formGroup","appSpinner","ngSubmit",4,"ngIf"],["data-test","checking-email-spinner",3,"appSpinner"],[3,"ngSubmit","formGroup","appSpinner"],[1,"form-group",3,"ngClass"],["for","password"],["id","password","type","password","formControlName","password",1,"form-control"],[3,"passwordStrength","isPostSubmission"],[1,"form-group"],["for","confirmPassword"],["id","confirmPassword","type","password","formControlName","again",1,"form-control"],["type","submit",1,"btn","btn-block","eim-button_noggin",3,"disabled"],[1,"text-center"]]},template:function(dt,qt){if(1&dt&&a.DNE(0,Wt,8,6,"app-auth-chrome",9)(1,Yt,6,0,"ng-template",null,0,a.C5r),2&dt){const An=a.sdS(2);a.Y8G("ngIf",qt.isTokenValid)("ngIfElse",An)}},dependencies:[m.YU,m.bT,k.qT,k.me,k.BC,k.cb,k.j4,k.JD,me.b,be.d,Le.y,Li,ms]})}return yt})(),Un=(()=>{class yt{constructor(we,dt,qt,An){this._authService=we,this._route=dt,this._loggerService=qt,this.titleService=An,this.siginStatus=b.J2,this.resetPasswordForm=new k.gE({password:new k.MJ("",k.k0.required)}),this.messageState=null,this.passwordStrength=null,this.isCheckingPassword=!1,this.unsubscribed$=new E.B}ngOnInit(){this.state=null,this.email=this._route.snapshot.queryParamMap.get("email"),this.token=this._route.snapshot.queryParamMap.get("token"),this.titleService.setTitle(j.W.RESET_PASSWORD),this.resetPasswordForm.get("password").valueChanges.pipe((0,ie.M)(we=>{this.messageState=null,we?this.isCheckingPassword=!0:(this.passwordStrength=null,this.isCheckingPassword=!1)}),(0,Y.B)(300),(0,x.F)(),(0,Je.p)(Boolean),(0,H.n)(we=>this._authService.checkPasswordStrength(we)),(0,Qe.j)(()=>this.isCheckingPassword=!1),(0,D.Q)(this.unsubscribed$)).subscribe(we=>{this.isCheckingPassword=!1,this.passwordStrength=we,null===this.passwordStrength?this.resetPasswordForm.get("password").setErrors(null):this.passwordStrength>-1&&this.passwordStrength<3&&this.resetPasswordForm.get("password").setErrors({invalid:!0})})}ngOnDestroy(){this.unsubscribed$.next(),this.unsubscribed$.complete()}onReset(){this.state="in-progress",this.messageState=null,this._authService.resetPassword(this.email,this.resetPasswordForm.value.password,this.token).pipe((0,H.n)(we=>{if(we){const dt=we.getFieldValues("error/message/tip");return dt.includes(rt.weakSecret)?(this.messageState=b.J2.WEAK_PASSWORD,this.passwordStrength=0):this.messageState=dt.includes(rt.invalidToken)?b.J2.FAILURE:dt.includes("error/message/auth/too-many-auth-attempts")?b.J2.ACCOUNT_LOCK:b.J2.FAILURE,(0,ne.of)(b.J2.FAILURE)}return this._authService.signIn(this.email,this.resetPasswordForm.value.password)})).subscribe(we=>{this.state=null,this._authService.redirectToMFAScreens(we,this.email,this.resetPasswordForm.value.password)},we=>{this._loggerService.warn("Reset password - failure:",we),this.state="failure",this.messageState=b.J2.FAILURE})}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(b.uR),a.rXU(F.nX),a.rXU(L.g),a.rXU(n.hE))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-reset-password"]],decls:12,vars:8,consts:()=>{let we,dt,qt,An,he;return we="Reset",dt="Please enter your new password below",qt="{VAR_SELECT, select, failure {Something is wrong and we cannot reset your password right now. Please try again later.} accountLock {Sorry, your account has been locked out due to too many incorrect login attempts. Please try again in 5 minutes.}}",qt=a.k04(qt,{VAR_SELECT:"\ufffd0\ufffd"}),An="New password",he="Reset password",[qt,An,he,["formType",we,"secondaryTitle",dt,3,"showMessage"],["eim-i18n-property","message"],[3,"ngSubmit","formGroup","appSpinner"],[1,"form-group",3,"ngClass"],["for","password"],["id","password","type","password","formControlName","password","data-test","field:password",1,"form-control"],[3,"passwordStrength","isPostSubmission"],["type","submit","data-test","reset-password",1,"btn","btn-block","eim-button_noggin",3,"disabled"]]},template:function(dt,qt){1&dt&&(a.j41(0,"app-auth-chrome",3),a.qex(1,4),a.pXf(2,0),a.bVm(),a.j41(3,"form",5),a.bIt("ngSubmit",function(){return qt.resetPasswordForm.valid&&qt.onReset()}),a.j41(4,"div",6)(5,"label",7),a.pXf(6,1),a.k0s(),a.nrm(7,"input",8)(8,"app-password-check",9),a.k0s(),a.j41(9,"button",10),a.pXf(10,2),a.k0s()(),a.nrm(11,"app-password-guidelines"),a.k0s()),2&dt&&(a.Y8G("showMessage",!!qt.messageState&&qt.messageState!==qt.siginStatus.WEAK_PASSWORD),a.R7$(2),a.uP7(qt.messageState),a.nnv(2),a.R7$(),a.Y8G("formGroup",qt.resetPasswordForm)("appSpinner","in-progress"===qt.state),a.R7$(),a.Y8G("ngClass",null===qt.passwordStrength?"password-check-hide":"password-check-show"),a.R7$(4),a.Y8G("passwordStrength",qt.passwordStrength)("isPostSubmission",qt.messageState===qt.siginStatus.WEAK_PASSWORD),a.R7$(),a.Y8G("disabled",qt.resetPasswordForm.invalid||qt.isCheckingPassword))},dependencies:[m.YU,k.qT,k.me,k.BC,k.cb,k.j4,k.JD,me.b,be.d,Le.y,Li,ms]})}return yt})(),_n=(()=>{class yt{constructor(we){this._processService=we}resolve(we){return this._processService.start("eim/process/auth/validate-token",{Token:[we.queryParams.token],Email:[we.queryParams.email]}).pipe((0,B.$)(dt=>dt.finished),(0,$.T)(dt=>(0,Q.isEqual)(dt.vars["Token valid"],["true"])))}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(pe.V))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();function Xn(yt,it){1&yt&&(a.qex(0),a.j41(1,"h6",6),a.pXf(2,1),a.k0s(),a.j41(3,"button",7),a.pXf(4,2),a.k0s(),a.bVm())}function Ii(yt,it){1&yt&&(a.j41(0,"div",6)(1,"h6"),a.pXf(2,3),a.k0s(),a.j41(3,"h6"),a.pXf(4,4),a.k0s()())}let En=(()=>{class yt{constructor(we,dt){this._route=we,this.titleService=dt}ngOnInit(){this.isTokenValid=this._route.snapshot.data.isTokenValid,this.titleService.setTitle(j.W.ACCEPT_VERIFICATION)}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(F.nX),a.rXU(n.hE))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-accept-verification"]],decls:4,vars:2,consts:()=>{let we,dt,qt,An;return we="Your email address is verified.",dt="Log back in",qt="Sorry, we cannot verify your email address.",An="Please contact your system administrator.",[["invalidToken",""],we,dt,qt,An,[4,"ngIf","ngIfElse"],[1,"text-center"],["routerLink","/signin",1,"btn","btn-block","eim-button_noggin"]]},template:function(dt,qt){if(1&dt&&(a.j41(0,"app-auth-chrome"),a.DNE(1,Xn,5,0,"ng-container",5)(2,Ii,5,0,"ng-template",null,0,a.C5r),a.k0s()),2&dt){const An=a.sdS(3);a.R7$(),a.Y8G("ngIf",qt.isTokenValid)("ngIfElse",An)}},dependencies:[m.bT,F.Wk,be.d,Le.y],styles:[".error[_ngcontent-%COMP%]{color:#d60012}"]})}return yt})(),Dn=(()=>{class yt{constructor(we){this.processService=we}resolve(we){return this.changeCredentialAndUserRecord(we.queryParams.oldEmail,we.queryParams.newEmail,we.queryParams.token,we.queryParams.user)}changeCredentialAndUserRecord(we,dt,qt,An){return this.processService.start("eim/process/auth/update-user-email-credential",{User:[An],Token:[qt],"Old email":[we],"New email":[dt]}).pipe((0,B.$)(({finished:he})=>he),(0,$.T)(({vars:he})=>(0,Q.isEqual)(he.Status,["success"])))}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(pe.V))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})(),Ai=(()=>{class yt{constructor(we){this.titleService=we}ngOnInit(){this.titleService.setTitle(j.W.PAGE_NOT_FOUND)}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(n.hE))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-page-not-found"]],decls:14,vars:0,consts:[[1,"screen"],[1,"main"],[1,"image"],["src","assets/img/404/404-background.png","role","presentation",1,"background"],["src","assets/img/404/404-cloud.gif","role","presentation",1,"cloud"],["appTabIndex","","routerLink","/",1,"btn","btn-primary","home-button"]],template:function(dt,qt){1&dt&&(a.j41(0,"div",0)(1,"div",1)(2,"div",2),a.nrm(3,"img",3)(4,"img",4),a.k0s(),a.j41(5,"h1"),a.EFF(6,"Whoops\u2026"),a.k0s(),a.j41(7,"h6"),a.EFF(8,"It looks like you\u2019re lost."),a.nrm(9,"br"),a.EFF(10,"You may have an old link or maybe the page was moved."),a.k0s(),a.j41(11,"div")(12,"a",5),a.EFF(13,"Let's go home!"),a.k0s()()()())},dependencies:[F.Wk,be.d],styles:[".screen[_ngcontent-%COMP%]{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;background:#f3eef8}.main[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;align-items:center;margin:0 0 36px;padding:36px 12px 12px;max-width:100%}.image[_ngcontent-%COMP%]{position:relative;max-width:100%}.background[_ngcontent-%COMP%]{max-width:100%}.cloud[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;margin-top:-20%;margin-left:-25%;max-width:50%}.home-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin:18px 0 0;padding:3px 12px;height:36px}h1[_ngcontent-%COMP%]{color:#029cbe}h6[_ngcontent-%COMP%]{color:#273c4e;text-align:center}"]})}return yt})();function os(yt,it){1&yt&&(a.j41(0,"h1"),a.pXf(1,1),a.k0s(),a.j41(2,"h6")(3,"div"),a.pXf(4,2),a.k0s(),a.j41(5,"div"),a.pXf(6,3),a.k0s()())}function Fs(yt,it){1&yt&&(a.j41(0,"h1"),a.pXf(1,4),a.k0s(),a.j41(2,"h6")(3,"div"),a.pXf(4,5),a.k0s(),a.j41(5,"div"),a.pXf(6,6),a.k0s()())}let sn=(()=>{class yt{constructor(we){this.titleService=we,this.titleService.setTitle(j.W.NOT_AUTHORIZED),this.isLiteUser=history.state?.isLiteUser}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(n.hE))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-page-not-authorized"]],decls:10,vars:2,consts:()=>{let we,dt,qt,An,he,xe;return we="Hold up!",dt="You do not have access to this page.",qt="You need to be an administrator to access it.",An="Whoops...",he="You currently have Lite user access.",xe="Full user access is required to view this.",[["liteUserBlock",""],we,dt,qt,An,he,xe,[1,"screen"],[1,"main"],[1,"image"],["src","assets/img/403/nogg_noaccess.svg","width","300px",1,"background"],[3,"ngIf","ngIfElse"],["appTabIndex","","data-test","home-button","routerLink","/",1,"btn","btn-primary","home-button"]]},template:function(dt,qt){if(1&dt&&(a.j41(0,"div",7)(1,"div",8)(2,"div",9),a.nrm(3,"img",10),a.k0s(),a.DNE(4,os,7,0,"ng-template",11)(5,Fs,7,0,"ng-template",null,0,a.C5r),a.j41(7,"div")(8,"a",12),a.EFF(9,"Let's go home!"),a.k0s()()()()),2&dt){const An=a.sdS(6);a.R7$(4),a.Y8G("ngIf",!qt.isLiteUser)("ngIfElse",An)}},dependencies:[m.bT,F.Wk,be.d],styles:[".screen[_ngcontent-%COMP%]{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;background:#f3eef8}.main[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;align-items:center;margin:0 0 36px;padding:36px 12px 12px;max-width:100%}.image[_ngcontent-%COMP%]{position:relative;max-width:100%}.background[_ngcontent-%COMP%]{max-width:100%}.home-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin:18px 0 0;padding:3px 12px;height:36px}h1[_ngcontent-%COMP%]{color:#029cbe}h6[_ngcontent-%COMP%]{color:#273c4e;text-align:center}"]})}return yt})();var oi=s(43470),pt=s(44508),cn=s(58846);let Tn=(()=>{class yt{constructor(we,dt,qt,An,he,xe){this._authService=we,this._sessionManagerService=dt,this._router=qt,this.featureFlagService=An,this.integrationCenterService=he,this.chartService=xe}canActivate(we,dt){return this._sessionManagerService.getSessionInfo$().pipe((0,B.$)(),(0,H.n)(qt=>qt.token&&qt.user&&qt.profile?this._authService.isAuthenticated():(0,ne.of)(!1)),(0,H.n)(qt=>qt?(this._sessionManagerService.clearOriginalRequestedDestination(),this.featureFlagService.loadAllFeatureFlags(),this.integrationCenterService.loadAllIntegrationManagers(),this.chartService.fetchChartSettings(),(0,ne.of)(!0)):(this._sessionManagerService.setOriginalRequestedDestination(dt.url),this._router.navigate(["/signin"]),(0,ne.of)(!1))))}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(b.uR),a.KVO(y.Pb),a.KVO(F.Ix),a.KVO(oi.y),a.KVO(pt.B),a.KVO(cn.u))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})(),vi=(()=>{class yt{constructor(we){this.router=we}canLoad(we,dt){if("app"===dt[0].path&&"s"!==dt[1].path){const qt=dt.reduce((An,he)=>"app"===he.path?`${An}/${he.toString()}/s`:`${An}/${he.toString()}`,"");return this.router.navigateByUrl(qt),!1}return!0}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(F.Ix))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})(),$i=(()=>{class yt{constructor(we,dt){this.processService=we,this.locationService=dt,this.enCloudEnv=g.c.enCloudEnv}ngOnInit(){"aupr"==this.enCloudEnv?this.locationService.redirect(this.environmentLearnUri(g.c.learn.homeUrl)):this.getLearnUri().subscribe(we=>this.locationService.redirect(we),we=>{this.locationService.redirect(this.environmentLearnUri(g.c.learn.homeUrl))})}getLearnUri(){return this.processService.start("eim/process/learn/generate-learn-token").pipe((0,B.$)(),(0,$.T)(we=>we.finished&&we.vars.responseToken&&we.vars.responseToken[0]?this.environmentLearnUri(g.c.learn.tokenUrl)+"?serviceUrl="+escape(g.c.host)+"&namespace="+escape(g.c.ns)+"&token="+escape(we.vars.responseToken[0]):this.environmentLearnUri(g.c.learn.homeUrl)))}environmentLearnUri(we){return this.locationService.getLearnUrl(we,this.enCloudEnv)}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(pe.V),a.rXU(Me.N))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-learn"]],decls:2,vars:0,consts:[[1,"p-3"]],template:function(dt,qt){1&dt&&(a.j41(0,"p",0),a.EFF(1," Redirecting to the learning center\n"),a.k0s())}})}return yt})(),Nn=(()=>{class yt{constructor(we,dt,qt){this.router=we,this.processService=dt,this.sessionManagerService=qt}canActivate(we,dt){return this.processService.start("eim/process/auth/check-user-status",{Email:[we.queryParams.email]}).pipe((0,B.$)(An=>An.finished),(0,H.n)(An=>{const he=(0,Q.get)(An,["vars","User","0"]);return"active"!==(0,Q.get)(An,["vars","User status","0"])?(0,ne.of)(!0):this.sessionManagerService.getSessionInfo$().pipe((0,B.$)(Boolean),(0,$.T)(Et=>(Et.user===he?this.router.navigate(["/app","s"]):this.router.navigate(["/signin"],{queryParams:{message:"Your account has already been activated"},skipLocationChange:!0}),!1)))}))}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(F.Ix),a.KVO(pe.V),a.KVO(y.Pb))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();var Hn=s(58523),Qn=s(17552);let ri=(()=>{class yt{constructor(we,dt,qt){this.processService=we,this.sessionManager=dt,this.localStorage=qt,this.LOCAL_STORAGE_CONST=le.Ay.LOCAL_STORAGE,this.processTips={saml:"eim/process/sso/saml/saml-token-auth",support:"eim/process/sso/support/support-token-auth"}}loginWithToken(we,dt="saml",qt=null){const An={token:[we]},he=this.getLastProfile(we);return he&&(An["Profile tip"]=he),"saml"===dt&&(An.authTransactionSecret=this.localStorage.getItem(this.LOCAL_STORAGE_CONST.AUTH_TRANSACTION_SECRET)),this.processService.start(this.processTips[dt],An).pipe((0,B.$)(),(0,Hn.q)(li),(0,ie.M)(({sessionToken:xe})=>{this.localStorage.removeItem(this.LOCAL_STORAGE_CONST.AUTH_TRANSACTION_SECRET),this.sessionManager.updateSessionInfoAndRedirectToOriginalRequestedDestination(xe,qt)}))}getLastProfile(we){try{const qt=(new Qn.X7).decodeToken(we),An=(0,Q.get)(qt,"email","");return this.sessionManager.getLastProfileWithEmail(An)}catch{return""}}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(pe.V),a.KVO(y.Pb),a.KVO(w.Wd))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();function li(yt){const it=(0,Q.get)(yt,"vars.Status[0]",null);return"failed"===it?(0,ft.$)(new Error("Failed to authenticate with token")):"denied"===it?(0,ft.$)(new Error("Not permitted")):(0,ne.of)({sessionToken:(0,Q.get)(yt,"vars.JWT token[0]",null),status:it})}function Fi(yt,it){1&yt&&a.eu8(0)}function ei(yt,it){1&yt&&(a.j41(0,"h4",7),a.EFF(1,"Validating token"),a.k0s())}function Hi(yt,it){if(1&yt){const we=a.RV6();a.j41(0,"button",8),a.bIt("click",function(){a.eBV(we);const qt=a.XpG(2);return a.Njj(qt.goToApp())}),a.EFF(1,"Go to app"),a.k0s()}}function gn(yt,it){if(1&yt&&(a.j41(0,"div",3),a.nrm(1,"img",4),a.DNE(2,ei,2,0,"h4",5)(3,Hi,2,0,"button",6),a.k0s()),2&yt){const we=a.XpG();a.R7$(2),a.Y8G("ngIf",!we.showGoToAppButton),a.R7$(),a.Y8G("ngIf",we.showGoToAppButton)}}function yn(yt,it){1&yt&&(a.j41(0,"h4"),a.EFF(1,"Sorry, we were unable to single-sign you in. Please try again or contact your administrator."),a.k0s())}function hn(yt,it){1&yt&&(a.j41(0,"h4"),a.EFF(1,"You are not permitted to access this system due to compliance access requirements."),a.k0s())}function Bn(yt,it){if(1&yt&&(a.j41(0,"div",9),a.DNE(1,yn,2,0,"h4",10)(2,hn,2,0,"h4",10),a.j41(3,"div",11)(4,"a",12),a.EFF(5,"Try again"),a.k0s()()()),2&yt){const we=a.XpG();a.R7$(),a.Y8G("ngIf","failed"==we.errorReason),a.R7$(),a.Y8G("ngIf","denied"==we.errorReason)}}let mi=(()=>{class yt{constructor(we,dt,qt,An,he,xe){this.activatedRoute=we,this.ssoAuthService=dt,this.loggerService=qt,this.sessionManager=An,this.locationService=he,this.cdr=xe,this.showErrorMessage=!1,this.errorReason="failed",this.showGoToAppButton=!1}ngOnInit(){const we=this.activatedRoute.snapshot.queryParamMap.get("token"),dt=this.activatedRoute.snapshot.queryParamMap.get("redirectUri"),qt=(0,Q.get)(this,"activatedRoute.snapshot.data.issuingService");this.ssoAuthService.loginWithToken(we,qt,dt).pipe((0,B.$)()).subscribe(({status:An})=>{An===b.J2.INVITED?this.locationService.redirect("/activate-account"):(this.loggerService.info("successfully loaded token"),this.showGoToAppButton=!0,this.cdr.detectChanges())},An=>{this.errorReason="Not permitted"===(0,Q.get)(An,"message")?"denied":"failed",this.showErrorMessage=!0,this.showGoToAppButton=!1,this.cdr.detectChanges()})}goToApp(){this.locationService.redirect(this.sessionManager.originalRequestedDestination)}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(F.nX),a.rXU(ri),a.rXU(L.g),a.rXU(y.Pb),a.rXU(Me.N),a.rXU(a.gRc))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-sso-auth"]],decls:5,vars:3,consts:[["validatingToken",""],["error",""],[4,"ngIf","ngIfThen","ngIfElse"],["data-test","sso-validating-token",1,"d-flex","flex-column"],["src","assets/img/loading-animations/noggin-waiting.gif","role","presentation"],["class","text-center",4,"ngIf"],["class","btn btn-block eim-button_noggin","type","button",3,"click",4,"ngIf"],[1,"text-center"],["type","button",1,"btn","btn-block","eim-button_noggin",3,"click"],["data-test","sso-error-message",1,"d-flex","flex-column"],[4,"ngIf"],[1,"d-flex","justify-content-center"],["appTabIndex","","routerLink","/signin",1,"btn","btn-primary","home-button"]],template:function(dt,qt){if(1&dt&&a.DNE(0,Fi,1,0,"ng-container",2)(1,gn,4,2,"ng-template",null,0,a.C5r)(3,Bn,6,2,"ng-template",null,1,a.C5r),2&dt){const An=a.sdS(2),he=a.sdS(4);a.Y8G("ngIf",qt.showErrorMessage)("ngIfThen",he)("ngIfElse",An)}},dependencies:[m.bT,F.Wk,be.d],styles:["[_nghost-%COMP%]{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;background:#f3eef8;padding:20px}"],changeDetection:0})}return yt})();const Si={theme:{colors:{primary:{main:"#273C4E"},http:{get:"#00AC3A",post:"#237ACF",put:"#ED1AFC",patch:"#FFD718",delete:"#FF181E"}},typography:{fontFamily:"Lato, Arial, sans-serif",headings:{fontFamily:"Lato, Arial, sans-serif"}}}};function Cn(yt){return(0,Q.get)(yt,"info.x-logo.url",null)&&(yt.info["x-logo"].url="assets/img/logo-api-docs.svg"),yt}var Bt=s(8142),Rt=s(92771);let Jt=(()=>{class yt{constructor(we){this.document=we,this._loadedLibraries={}}load(we){if(this._loadedLibraries[we])return this._loadedLibraries[we].asObservable();this._loadedLibraries[we]=new Rt.m;const dt=this.document.createElement("script");return dt.type="text/javascript",dt.async=!0,dt.src=we,dt.onload=()=>{this._loadedLibraries[we].next(),this._loadedLibraries[we].complete()},this.document.body.appendChild(dt),this._loadedLibraries[we].asObservable()}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(m.qQ))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})(),fe=(()=>{class yt{constructor(we,dt,qt){this.authHttpClient=we,this.loadScript=dt,this.window=qt,this.restAPIServicePath=`${g.c.host}${g.c.restPath}`}getOpenAPISpec(){const we=`${this.restAPIServicePath}/docs/openapi.yaml`;return this.loadScript.load("assets/js/redoc/redoc.standalone.js").pipe((0,H.n)(()=>this.authHttpClient.get(we)),(0,$.T)(Cn),(0,$.T)(dt=>({openAPISpec:dt,redoc:this.window.Redoc})))}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(Bt.V),a.KVO(Jt),a.KVO(w.jf))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})(),nt=(()=>{class yt{constructor(we,dt){this.elementRef=we,this.apiService=dt}ngAfterViewInit(){this.getOpenAPISpecAndRender()}ngOnDestroy(){this.elementRef.nativeElement.querySelector("#redoc").remove()}getOpenAPISpecAndRender(){this.apiService.getOpenAPISpec().pipe((0,B.$)()).subscribe(({openAPISpec:we,redoc:dt})=>{!function ut(yt,it,we){yt.init(it,Si,we)}(dt,we,function Mt(yt){return yt.querySelector("#redoc")}(this.elementRef.nativeElement))})}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(a.aKT),a.rXU(fe))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-api"]],decls:1,vars:0,consts:[["id","redoc"]],template:function(dt,qt){1&dt&&a.nrm(0,"div",0)},styles:['h1{font-size:1.5rem!important}h2{font-size:1.3rem!important}p>a{background:#fff!important;font-family:Lato,Arial,"sans-serif"!important;box-shadow:inset 0 -2px #b6c9da!important;color:#5a7186!important;border:1px solid transparent!important;border-radius:6px!important;border-color:#d8e2eb #d8e2eb #b6c9da!important;padding:3px 18px!important;font-size:1.1rem!important;line-height:28px!important;font-weight:700!important}p>a:hover{background-color:#e2e9f0!important;border-color:#c7d5e2!important}\n'],encapsulation:2,changeDetection:0})}return yt})();var Ot=s(90224);let rn=(()=>{class yt{constructor(we,dt){this.authGuard=we,this.adminGuard=dt}canActivate(we,dt){return this.authGuard.canActivate(we,dt).pipe((0,H.n)(qt=>qt?this.adminGuard.canActivate(we,dt):(0,ne.of)(!1)))}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(Tn),a.KVO(Ot.C))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})(),Oi=(()=>{class yt{constructor(we,dt){this.processService=we,this.locationService=dt,this.enCloudEnv=g.c.enCloudEnv}ngOnInit(){this.getForumUri().subscribe(we=>this.locationService.redirect(we),we=>{this.locationService.redirect(this.environmentForumUri(g.c.forum.homeUrl))})}getForumUri(){return this.processService.start("eim/process/forum/generate-forum-token").pipe((0,B.$)(),(0,$.T)(we=>we.finished&&we.vars.responseToken&&we.vars.responseToken[0]?this.environmentForumUri(g.c.forum.tokenUrl)+"?serviceUrl="+escape(g.c.host)+"&namespace="+escape(g.c.ns)+"&token="+escape(we.vars.responseToken[0]):this.environmentForumUri(g.c.forum.homeUrl)))}environmentForumUri(we){switch(this.enCloudEnv){case"test":return we.replace(/integrations/,"integrations-test");case"dev":case"development":return we.replace(/integrations/,"integrations-dev")}return we}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(pe.V),a.rXU(Me.N))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-forum"]],decls:2,vars:0,consts:[[1,"p-3"]],template:function(dt,qt){1&dt&&(a.j41(0,"p",0),a.EFF(1," Redirecting to the forum\n"),a.k0s())}})}return yt})();var Ci=function(yt){return yt.CHROME="Chrome",yt.FIREFOX="Firefox",yt.SAFARI="Safari",yt.OPERA="Opera",yt.IE="IE",yt.MS_EDGE="MS-Edge",yt.MS_EDGE_CHROMIUM="MS-Edge-Chromium",yt.UCBROWSER="UC-Browser",yt.UNKNOWN="Unknown",yt}(Ci||{}),Ui=function(yt){return yt[yt.CHROME=56]="CHROME",yt[yt.FIREFOX=51]="FIREFOX",yt[yt.SAFARI=11]="SAFARI",yt[yt.MS_EDGE=12]="MS_EDGE",yt[yt.MS_EDGE_CHROMIUM=79]="MS_EDGE_CHROMIUM",yt}(Ui||{}),ps=function(yt){return yt[yt.CHROME=65]="CHROME",yt[yt.SAFARI=11]="SAFARI",yt}(ps||{}),js=function(yt){return yt.DAYS="days",yt.HOURS="hours",yt}(js||{}),es=function(yt){return yt[yt.DAYS=14]="DAYS",yt}(es||{}),zs=s(97586),Gi=s.n(zs);const ds="unsupported-browser-expired-time",rs="redirect-after-browser-guard";let ao=(()=>{class yt{constructor(we,dt,qt){this.deviceDetectorService=we,this.localStorage=dt,this.window=qt,this.isDesktop=this.deviceDetectorService.isDesktop(),this.browser=this.deviceDetectorService.browser||"unknown",this.browserVersion=this.parseIntVersionNum(this.deviceDetectorService.browser_version)||null,this.onMobileApp=!(!this.window.webkit||!this.window.webkit.messageHandlers)}setUnsupportedBrowserExpiredTime(){const we=Gi()().add(es.DAYS,js.DAYS).valueOf().toString();this.localStorage.setItem(ds,we)}getUnsupportedBrowserExpiredTime(){return this.localStorage.getItem(ds)}hasUnsupportedBrowserWarningMessageExpired(){return null===this.getUnsupportedBrowserExpiredTime()||Gi()().diff(Gi()(Number(this.getUnsupportedBrowserExpiredTime())))>0}setAfterBrowserGuardUrl(we){this.localStorage.setItem(rs,we)}getAfterBrowserGuardUrl(){return this.localStorage.getItem(rs)}clearAfterBrowserGuardUrl(){this.localStorage.removeItem(rs)}isSupportedBrowser(){return this.isDesktop?this.checkDesktopBrowser():!!this.onMobileApp||this.checkMobileBrowser()}checkDesktopBrowser(){switch(this.browser){case Ci.CHROME:return this.browserVersion>=Ui.CHROME;case Ci.FIREFOX:return this.browserVersion>=Ui.FIREFOX;case Ci.SAFARI:return this.browserVersion>=Ui.SAFARI;case Ci.MS_EDGE:return this.browserVersion>=Ui.MS_EDGE;case Ci.MS_EDGE_CHROMIUM:return this.browserVersion>=Ui.MS_EDGE_CHROMIUM;default:return!1}}checkMobileBrowser(){switch(this.browser){case Ci.CHROME:return this.browserVersion>=ps.CHROME;case Ci.SAFARI:return this.browserVersion>=ps.SAFARI;default:return!1}}parseIntVersionNum(we=""){return we.includes(".")?Number(we.split(".")[0]):Number(we)}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(de.Kg),a.KVO(w.Wd),a.KVO(w.jf))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})(),wo=(()=>{class yt{constructor(we,dt,qt,An){this.router=we,this.checkBrowserService=dt,this.titleService=qt,this.locationService=An}ngOnInit(){this.proceedUrl=this.checkBrowserService.getAfterBrowserGuardUrl()||"/",this.titleService.setTitle(j.W.BROWSER_NOT_SUPPORTED),this.supportUrl=`${this.locationService.getLearnUrl(g.c.learn.homeUrl,g.c.enCloudEnv)}/#cshid=69`}proceed(){this.checkBrowserService.setUnsupportedBrowserExpiredTime(),this.router.navigateByUrl(this.proceedUrl)}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(F.Ix),a.rXU(ao),a.rXU(n.hE),a.rXU(Me.N))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-browser-not-supported"]],decls:13,vars:1,consts:[[1,"screen"],[1,"main"],[1,"image"],["src","assets/img/browser-not-supported/browser-not-supported.svg","width","300px",1,"background"],[1,"btn","btn-secondary",3,"click"],["target","blank",1,"btn","btn-primary",3,"href"]],template:function(dt,qt){1&dt&&(a.j41(0,"div",0)(1,"div",1)(2,"div",2),a.nrm(3,"img",3),a.k0s(),a.j41(4,"h1"),a.EFF(5,"Your browser is not supported!"),a.k0s(),a.j41(6,"h6"),a.EFF(7,"Please use another browser. If you choose to proceed, some things may not work."),a.k0s(),a.j41(8,"div")(9,"a",4),a.bIt("click",function(){return qt.proceed()}),a.EFF(10,"Proceed anyway"),a.k0s(),a.j41(11,"a",5),a.EFF(12,"Supported browsers"),a.k0s()()()()),2&dt&&(a.R7$(11),a.Y8G("href",qt.supportUrl,a.B4B))},styles:['.screen[_ngcontent-%COMP%]{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;background:#fff;background:linear-gradient(180deg,#fff,#edf7fa);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#edf7fa",GradientType=1)}.main[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;align-items:center;margin:0 0 36px;padding:36px 12px 12px;max-width:100%}.image[_ngcontent-%COMP%]{position:relative;max-width:100%}.background[_ngcontent-%COMP%]{max-width:100%}.btn[_ngcontent-%COMP%]{margin:18px 10px 0;height:36px}h1[_ngcontent-%COMP%]{color:#029cbe;text-align:center}h6[_ngcontent-%COMP%]{color:#273c4e;text-align:center}'],changeDetection:0})}return yt})(),zr=(()=>{class yt{constructor(we,dt,qt){this.router=we,this.checkBrowser=dt,this.window=qt}canActivate(we,dt){return this.isBrowserCompatible(dt)}canActivateChild(we,dt){return this.canActivate(we,dt)}isBrowserCompatible(we){return!!this.checkBrowser.isSupportedBrowser()||(this.checkBrowser.hasUnsupportedBrowserWarningMessageExpired()?(this.checkBrowser.setAfterBrowserGuardUrl(we.url),this.router.navigate(["/browser-not-supported"]),!1):(this.cleanUp(),!0))}cleanUp(){this.checkBrowser.getAfterBrowserGuardUrl()&&this.checkBrowser.clearAfterBrowserGuardUrl()}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(F.Ix),a.KVO(ao),a.KVO(w.jf))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();var Ea=s(10703);const oa=F.iI.forRoot([{path:"",canActivate:[zr],children:[{path:"",redirectTo:"/app/s",pathMatch:"full"},{path:"signin",component:Be},{path:"activate-account",component:Ye},{path:"forgot-password",component:Se},{path:"signed-out",component:ke},{path:"mfa",loadChildren:()=>s.e(892).then(s.bind(s,28892)).then(yt=>yt.MfaAuthModule)},{path:"accept-invite",component:ci,canActivate:[Nn],resolve:{isTokenValid:_n}},{path:"accept-verification",component:En,resolve:{isTokenValid:Dn}},{path:"sso-auth",component:mi,data:{issuingService:"saml"}},{path:"support-auth",component:mi,data:{issuingService:"support"}},{path:"reset-password",component:Un},{path:"learn",component:$i,canActivate:[Tn]},{path:"forum",component:Oi,canActivate:[Tn]},{path:"api/docs",component:nt,canActivate:[rn]},{path:"api/v2-docs",component:(()=>{class yt{constructor(we){this.microfrontendService=we}ngOnInit(){this.microfrontendService.load$("rest/docs").subscribe()}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.rXU(q.Y))};static#t=this.\u0275cmp=a.VBU({type:yt,selectors:[["app-rest-api-v2-docs"]],decls:2,vars:0,consts:[["title","Rest Api Docs V2"]],template:function(dt,qt){1&dt&&a.nrm(0,"app-page-header",0)(1,"microfrontend-rest-api-v2-docs")},dependencies:[Ea.y]})}return yt})(),canActivate:[rn]},{path:"app",canLoad:[vi],canActivate:[Tn],loadChildren:()=>Promise.all([s.e(892),s.e(963)]).then(s.bind(s,99963)).then(yt=>yt.SlashAppModule)},{path:"not-authorized",component:sn}]},{path:"browser-not-supported",component:wo},{path:"page-not-found",component:Ai},{path:"**",component:Ai}]);var bi=s(96022),Po=s(26708),Pn=s(49969);function fi(yt){return new a.wOt(3e3,!1)}function Uo(yt){switch(yt.length){case 0:return new Pn.sf;case 1:return yt[0];default:return new Pn.ui(yt)}}function sr(yt,it,we=new Map,dt=new Map){const qt=[],An=[];let he=-1,xe=null;if(it.forEach(Et=>{const Ft=Et.get("offset"),Sn=Ft==he,_i=Sn&&xe||new Map;Et.forEach((Yi,Bs)=>{let Ds=Bs,ho=Yi;if("offset"!==Bs)switch(Ds=yt.normalizePropertyName(Ds,qt),ho){case Pn.FX:ho=we.get(Bs);break;case Pn.kp:ho=dt.get(Bs);break;default:ho=yt.normalizeStyleValue(Bs,Ds,ho,qt)}_i.set(Ds,ho)}),Sn||An.push(_i),xe=_i,he=Ft}),qt.length)throw function ma(){return new a.wOt(3502,!1)}();return An}function J1(yt,it,we,dt){switch(it){case"start":yt.onStart(()=>dt(we&&uo(we,"start",yt)));break;case"done":yt.onDone(()=>dt(we&&uo(we,"done",yt)));break;case"destroy":yt.onDestroy(()=>dt(we&&uo(we,"destroy",yt)))}}function uo(yt,it,we){const An=Dl(yt.element,yt.triggerName,yt.fromState,yt.toState,it||yt.phaseName,we.totalTime??yt.totalTime,!!we.disabled),he=yt._data;return null!=he&&(An._data=he),An}function Dl(yt,it,we,dt,qt="",An=0,he){return{element:yt,triggerName:it,fromState:we,toState:dt,phaseName:qt,totalTime:An,disabled:!!he}}function mo(yt,it,we){let dt=yt.get(it);return dt||yt.set(it,dt=we),dt}function vl(yt){const it=yt.indexOf(":");return[yt.substring(1,it),yt.slice(it+1)]}const ea=typeof document>"u"?null:document.documentElement;function Nr(yt){const it=yt.parentNode||yt.host||null;return it===ea?null:it}let ra=null,ul=!1;function Jo(yt,it){for(;it;){if(it===yt)return!0;it=Nr(it)}return!1}function W1(yt,it,we){if(we)return Array.from(yt.querySelectorAll(it));const dt=yt.querySelector(it);return dt?[dt]:[]}let _a=(()=>{class yt{validateStyleProperty(we){return function g1(yt){ra||(ra=function Dr(){return typeof document<"u"?document.body:null}()||{},ul=!!ra.style&&"WebkitAppearance"in ra.style);let it=!0;return ra.style&&!function Pl(yt){return"ebkit"==yt.substring(1,6)}(yt)&&(it=yt in ra.style,!it&&ul&&(it="Webkit"+yt.charAt(0).toUpperCase()+yt.slice(1)in ra.style)),it}(we)}containsElement(we,dt){return Jo(we,dt)}getParentElement(we){return Nr(we)}query(we,dt,qt){return W1(we,dt,qt)}computeStyle(we,dt,qt){return qt||""}animate(we,dt,qt,An,he,xe=[],Et){return new Pn.sf(qt,An)}static#e=this.\u0275fac=function(dt){return new(dt||yt)};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac})}return yt})();class L1{static#e=this.NOOP=new _a}class h0{}const un=1e3,qn="ng-enter",zi="ng-leave",yo="ng-trigger",xr=".ng-trigger",Al="ng-animating",P0=".ng-animating";function Eo(yt){if("number"==typeof yt)return yt;const it=yt.match(/^(-?[\.\d]+)(m?s)/);return!it||it.length<2?0:Ac(parseFloat(it[1]),it[2])}function Ac(yt,it){return"s"===it?yt*un:yt}function ga(yt,it,we){return yt.hasOwnProperty("duration")?yt:function dl(yt,it,we){let qt,An=0,he="";if("string"==typeof yt){const xe=yt.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===xe)return it.push(fi()),{duration:0,delay:0,easing:""};qt=Ac(parseFloat(xe[1]),xe[2]);const Et=xe[3];null!=Et&&(An=Ac(parseFloat(Et),xe[4]));const Ft=xe[5];Ft&&(he=Ft)}else qt=yt;if(!we){let xe=!1,Et=it.length;qt<0&&(it.push(function Ks(){return new a.wOt(3100,!1)}()),xe=!0),An<0&&(it.push(function fa(){return new a.wOt(3101,!1)}()),xe=!0),xe&&it.splice(Et,0,fi())}return{duration:qt,delay:An,easing:he}}(yt,it,we)}function So(yt,it,we){it.forEach((dt,qt)=>{const An=fc(qt);we&&!we.has(qt)&&we.set(qt,yt.style[An]),yt.style[An]=dt})}function s0(yt,it){it.forEach((we,dt)=>{const qt=fc(dt);yt.style[qt]=""})}function e1(yt){return Array.isArray(yt)?1==yt.length?yt[0]:(0,Pn.K2)(yt):yt}const Zl=new RegExp("{{\\s*(.+?)\\s*}}","g");function ba(yt){let it=[];if("string"==typeof yt){let we;for(;we=Zl.exec(yt);)it.push(we[1]);Zl.lastIndex=0}return it}function qa(yt,it,we){const dt=`${yt}`,qt=dt.replace(Zl,(An,he)=>{let xe=it[he];return null==xe&&(we.push(function l1(){return new a.wOt(3003,!1)}()),xe=""),xe.toString()});return qt==dt?yt:qt}const Pr=/-+([a-z0-9])/g;function fc(yt){return yt.replace(Pr,(...it)=>it[1].toUpperCase())}function Io(yt,it,we){switch(it.type){case Pn.If.Trigger:return yt.visitTrigger(it,we);case Pn.If.State:return yt.visitState(it,we);case Pn.If.Transition:return yt.visitTransition(it,we);case Pn.If.Sequence:return yt.visitSequence(it,we);case Pn.If.Group:return yt.visitGroup(it,we);case Pn.If.Animate:return yt.visitAnimate(it,we);case Pn.If.Keyframes:return yt.visitKeyframes(it,we);case Pn.If.Style:return yt.visitStyle(it,we);case Pn.If.Reference:return yt.visitReference(it,we);case Pn.If.AnimateChild:return yt.visitAnimateChild(it,we);case Pn.If.AnimateRef:return yt.visitAnimateRef(it,we);case Pn.If.Query:return yt.visitQuery(it,we);case Pn.If.Stagger:return yt.visitStagger(it,we);default:throw function Yn(){return new a.wOt(3004,!1)}()}}function b1(yt,it){return window.getComputedStyle(yt)[it]}const Wn=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 yi extends h0{normalizePropertyName(it,we){return fc(it)}normalizeStyleValue(it,we,dt,qt){let An="";const he=dt.toString().trim();if(Wn.has(we)&&0!==dt&&"0"!==dt)if("number"==typeof dt)An="px";else{const xe=dt.match(/^[+-]?[\d\.]+([a-z]*)$/);xe&&0==xe[1].length&&qt.push(function so(){return new a.wOt(3005,!1)}())}return he+An}}const Y0="*";const o0=new Set(["true","1"]),pl=new Set(["false","0"]);function B0(yt,it){const we=o0.has(yt)||pl.has(yt),dt=o0.has(it)||pl.has(it);return(qt,An)=>{let he=yt==Y0||yt==qt,xe=it==Y0||it==An;return!he&&we&&"boolean"==typeof qt&&(he=qt?o0.has(yt):pl.has(yt)),!xe&&dt&&"boolean"==typeof An&&(xe=An?o0.has(it):pl.has(it)),he&&xe}}const Gr=new RegExp("s*:selfs*,?","g");function xo(yt,it,we,dt){return new aa(yt).build(it,we,dt)}class aa{constructor(it){this._driver=it}build(it,we,dt){const qt=new br(we);return this._resetContextStyleTimingState(qt),Io(this,e1(it),qt)}_resetContextStyleTimingState(it){it.currentQuerySelector="",it.collectedStyles=new Map,it.collectedStyles.set("",new Map),it.currentTime=0}visitTrigger(it,we){let dt=we.queryCount=0,qt=we.depCount=0;const An=[],he=[];return"@"==it.name.charAt(0)&&we.errors.push(function Hr(){return new a.wOt(3006,!1)}()),it.definitions.forEach(xe=>{if(this._resetContextStyleTimingState(we),xe.type==Pn.If.State){const Et=xe,Ft=Et.name;Ft.toString().split(/\s*,\s*/).forEach(Sn=>{Et.name=Sn,An.push(this.visitState(Et,we))}),Et.name=Ft}else if(xe.type==Pn.If.Transition){const Et=this.visitTransition(xe,we);dt+=Et.queryCount,qt+=Et.depCount,he.push(Et)}else we.errors.push(function vr(){return new a.wOt(3007,!1)}())}),{type:Pn.If.Trigger,name:it.name,states:An,transitions:he,queryCount:dt,depCount:qt,options:null}}visitState(it,we){const dt=this.visitStyle(it.styles,we),qt=it.options&&it.options.params||null;if(dt.containsDynamicStyles){const An=new Set,he=qt||{};dt.styles.forEach(xe=>{xe instanceof Map&&xe.forEach(Et=>{ba(Et).forEach(Ft=>{he.hasOwnProperty(Ft)||An.add(Ft)})})}),An.size&&we.errors.push(function Sa(){return new a.wOt(3008,!1)}(0,An.values()))}return{type:Pn.If.State,name:it.name,style:dt,options:qt?{params:qt}:null}}visitTransition(it,we){we.queryCount=0,we.depCount=0;const dt=Io(this,e1(it.animation),we),qt=function R0(yt,it){const we=[];return"string"==typeof yt?yt.split(/\s*,\s*/).forEach(dt=>function $a(yt,it,we){if(":"==yt[0]){const Et=function Ra(yt,it){switch(yt){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(we,dt)=>parseFloat(dt)>parseFloat(we);case":decrement":return(we,dt)=>parseFloat(dt)<parseFloat(we);default:return it.push(function Ta(){return new a.wOt(3016,!1)}()),"* => *"}}(yt,we);if("function"==typeof Et)return void it.push(Et);yt=Et}const dt=yt.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==dt||dt.length<4)return we.push(function Tr(){return new a.wOt(3015,!1)}()),it;const qt=dt[1],An=dt[2],he=dt[3];it.push(B0(qt,he)),"<"==An[0]&&(qt!=Y0||he!=Y0)&&it.push(B0(he,qt))}(dt,we,it)):we.push(yt),we}(it.expr,we.errors);return{type:Pn.If.Transition,matchers:qt,animation:dt,queryCount:we.queryCount,depCount:we.depCount,options:hr(it.options)}}visitSequence(it,we){return{type:Pn.If.Sequence,steps:it.steps.map(dt=>Io(this,dt,we)),options:hr(it.options)}}visitGroup(it,we){const dt=we.currentTime;let qt=0;const An=it.steps.map(he=>{we.currentTime=dt;const xe=Io(this,he,we);return qt=Math.max(qt,we.currentTime),xe});return we.currentTime=qt,{type:Pn.If.Group,steps:An,options:hr(it.options)}}visitAnimate(it,we){const dt=function hl(yt,it){if(yt.hasOwnProperty("duration"))return yt;if("number"==typeof yt)return Ul(ga(yt,it).duration,0,"");const we=yt;if(we.split(/\s+/).some(An=>"{"==An.charAt(0)&&"{"==An.charAt(1))){const An=Ul(0,0,"");return An.dynamic=!0,An.strValue=we,An}const qt=ga(we,it);return Ul(qt.duration,qt.delay,qt.easing)}(it.timings,we.errors);we.currentAnimateTimings=dt;let qt,An=it.styles?it.styles:(0,Pn.iF)({});if(An.type==Pn.If.Keyframes)qt=this.visitKeyframes(An,we);else{let he=it.styles,xe=!1;if(!he){xe=!0;const Ft={};dt.easing&&(Ft.easing=dt.easing),he=(0,Pn.iF)(Ft)}we.currentTime+=dt.duration+dt.delay;const Et=this.visitStyle(he,we);Et.isEmptyStep=xe,qt=Et}return we.currentAnimateTimings=null,{type:Pn.If.Animate,timings:dt,style:qt,options:null}}visitStyle(it,we){const dt=this._makeStyleAst(it,we);return this._validateStyleAst(dt,we),dt}_makeStyleAst(it,we){const dt=[],qt=Array.isArray(it.styles)?it.styles:[it.styles];for(let xe of qt)"string"==typeof xe?xe===Pn.kp?dt.push(xe):we.errors.push(new a.wOt(3002,!1)):dt.push(new Map(Object.entries(xe)));let An=!1,he=null;return dt.forEach(xe=>{if(xe instanceof Map&&(xe.has("easing")&&(he=xe.get("easing"),xe.delete("easing")),!An))for(let Et of xe.values())if(Et.toString().indexOf("{{")>=0){An=!0;break}}),{type:Pn.If.Style,styles:dt,easing:he,offset:it.offset,containsDynamicStyles:An,options:null}}_validateStyleAst(it,we){const dt=we.currentAnimateTimings;let qt=we.currentTime,An=we.currentTime;dt&&An>0&&(An-=dt.duration+dt.delay),it.styles.forEach(he=>{"string"!=typeof he&&he.forEach((xe,Et)=>{const Ft=we.collectedStyles.get(we.currentQuerySelector),Sn=Ft.get(Et);let _i=!0;Sn&&(An!=qt&&An>=Sn.startTime&&qt<=Sn.endTime&&(we.errors.push(function K1(){return new a.wOt(3010,!1)}()),_i=!1),An=Sn.startTime),_i&&Ft.set(Et,{startTime:An,endTime:qt}),we.options&&function jl(yt,it,we){const dt=it.params||{},qt=ba(yt);qt.length&&qt.forEach(An=>{dt.hasOwnProperty(An)||we.push(function za(){return new a.wOt(3001,!1)}())})}(xe,we.options,we.errors)})})}visitKeyframes(it,we){const dt={type:Pn.If.Keyframes,styles:[],options:null};if(!we.currentAnimateTimings)return we.errors.push(function Ga(){return new a.wOt(3011,!1)}()),dt;let An=0;const he=[];let xe=!1,Et=!1,Ft=0;const Sn=it.steps.map(Ba=>{const J0=this._makeStyleAst(Ba,we);let U1=null!=J0.offset?J0.offset:function Rl(yt){if("string"==typeof yt)return null;let it=null;if(Array.isArray(yt))yt.forEach(we=>{if(we instanceof Map&&we.has("offset")){const dt=we;it=parseFloat(dt.get("offset")),dt.delete("offset")}});else if(yt instanceof Map&&yt.has("offset")){const we=yt;it=parseFloat(we.get("offset")),we.delete("offset")}return it}(J0.styles),gc=0;return null!=U1&&(An++,gc=J0.offset=U1),Et=Et||gc<0||gc>1,xe=xe||gc<Ft,Ft=gc,he.push(gc),J0});Et&&we.errors.push(function cl(){return new a.wOt(3012,!1)}()),xe&&we.errors.push(function Ol(){return new a.wOt(3200,!1)}());const _i=it.steps.length;let Yi=0;An>0&&An<_i?we.errors.push(function Wa(){return new a.wOt(3202,!1)}()):0==An&&(Yi=1/(_i-1));const Bs=_i-1,Ds=we.currentTime,ho=we.currentAnimateTimings,Aa=ho.duration;return Sn.forEach((Ba,J0)=>{const U1=Yi>0?J0==Bs?1:Yi*J0:he[J0],gc=U1*Aa;we.currentTime=Ds+ho.delay+gc,ho.duration=gc,this._validateStyleAst(Ba,we),Ba.offset=U1,dt.styles.push(Ba)}),dt}visitReference(it,we){return{type:Pn.If.Reference,animation:Io(this,e1(it.animation),we),options:hr(it.options)}}visitAnimateChild(it,we){return we.depCount++,{type:Pn.If.AnimateChild,options:hr(it.options)}}visitAnimateRef(it,we){return{type:Pn.If.AnimateRef,animation:this.visitReference(it.animation,we),options:hr(it.options)}}visitQuery(it,we){const dt=we.currentQuerySelector,qt=it.options||{};we.queryCount++,we.currentQuery=it;const[An,he]=function B1(yt){const it=!!yt.split(/\s*,\s*/).find(we=>":self"==we);return it&&(yt=yt.replace(Gr,"")),yt=yt.replace(/@\*/g,xr).replace(/@\w+/g,we=>xr+"-"+we.slice(1)).replace(/:animating/g,P0),[yt,it]}(it.selector);we.currentQuerySelector=dt.length?dt+" "+An:An,mo(we.collectedStyles,we.currentQuerySelector,new Map);const xe=Io(this,e1(it.animation),we);return we.currentQuery=null,we.currentQuerySelector=dt,{type:Pn.If.Query,selector:An,limit:qt.limit||0,optional:!!qt.optional,includeSelf:he,animation:xe,originalSelector:it.selector,options:hr(it.options)}}visitStagger(it,we){we.currentQuery||we.errors.push(function Jr(){return new a.wOt(3013,!1)}());const dt="full"===it.timings?{duration:0,delay:0,easing:"full"}:ga(it.timings,we.errors,!0);return{type:Pn.If.Stagger,animation:Io(this,e1(it.animation),we),timings:dt,options:null}}}class br{constructor(it){this.errors=it,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 hr(yt){return yt?(yt={...yt}).params&&(yt.params=function Q1(yt){return yt?{...yt}:null}(yt.params)):yt={},yt}function Ul(yt,it,we){return{duration:yt,delay:it,easing:we}}function t1(yt,it,we,dt,qt,An,he=null,xe=!1){return{type:1,element:yt,keyframes:it,preStyleProps:we,postStyleProps:dt,duration:qt,delay:An,totalTime:qt+An,easing:he,subTimeline:xe}}class L0{constructor(){this._map=new Map}get(it){return this._map.get(it)||[]}append(it,we){let dt=this._map.get(it);dt||this._map.set(it,dt=[]),dt.push(...we)}has(it){return this._map.has(it)}clear(){this._map.clear()}}const Gl=new RegExp(":enter","g"),N1=new RegExp(":leave","g");function bt(yt,it,we,dt,qt,An=new Map,he=new Map,xe,Et,Ft=[]){return(new Ln).buildKeyframes(yt,it,we,dt,qt,An,he,xe,Et,Ft)}class Ln{buildKeyframes(it,we,dt,qt,An,he,xe,Et,Ft,Sn=[]){Ft=Ft||new L0;const _i=new dn(it,we,Ft,qt,An,Sn,[]);_i.options=Et;const Yi=Et.delay?Eo(Et.delay):0;_i.currentTimeline.delayNextStep(Yi),_i.currentTimeline.setStyles([he],null,_i.errors,Et),Io(this,dt,_i);const Bs=_i.timelines.filter(Ds=>Ds.containsAnimation());if(Bs.length&&xe.size){let Ds;for(let ho=Bs.length-1;ho>=0;ho--){const Aa=Bs[ho];if(Aa.element===we){Ds=Aa;break}}Ds&&!Ds.allowOnlyTimelineStyles()&&Ds.setStyles([xe],null,_i.errors,Et)}return Bs.length?Bs.map(Ds=>Ds.buildKeyframes()):[t1(we,[],[],[],0,Yi,"",!1)]}visitTrigger(it,we){}visitState(it,we){}visitTransition(it,we){}visitAnimateChild(it,we){const dt=we.subInstructions.get(we.element);if(dt){const qt=we.createSubContext(it.options),An=we.currentTimeline.currentTime,he=this._visitSubInstructions(dt,qt,qt.options);An!=he&&we.transformIntoNewTimeline(he)}we.previousNode=it}visitAnimateRef(it,we){const dt=we.createSubContext(it.options);dt.transformIntoNewTimeline(),this._applyAnimationRefDelays([it.options,it.animation.options],we,dt),this.visitReference(it.animation,dt),we.transformIntoNewTimeline(dt.currentTimeline.currentTime),we.previousNode=it}_applyAnimationRefDelays(it,we,dt){for(const qt of it){const An=qt?.delay;if(An){const he="number"==typeof An?An:Eo(qa(An,qt?.params??{},we.errors));dt.delayNextStep(he)}}}_visitSubInstructions(it,we,dt){let An=we.currentTimeline.currentTime;const he=null!=dt.duration?Eo(dt.duration):null,xe=null!=dt.delay?Eo(dt.delay):null;return 0!==he&&it.forEach(Et=>{const Ft=we.appendInstructionToTimeline(Et,he,xe);An=Math.max(An,Ft.duration+Ft.delay)}),An}visitReference(it,we){we.updateOptions(it.options,!0),Io(this,it.animation,we),we.previousNode=it}visitSequence(it,we){const dt=we.subContextCount;let qt=we;const An=it.options;if(An&&(An.params||An.delay)&&(qt=we.createSubContext(An),qt.transformIntoNewTimeline(),null!=An.delay)){qt.previousNode.type==Pn.If.Style&&(qt.currentTimeline.snapshotCurrentStyles(),qt.previousNode=kt);const he=Eo(An.delay);qt.delayNextStep(he)}it.steps.length&&(it.steps.forEach(he=>Io(this,he,qt)),qt.currentTimeline.applyStylesToKeyframe(),qt.subContextCount>dt&&qt.transformIntoNewTimeline()),we.previousNode=it}visitGroup(it,we){const dt=[];let qt=we.currentTimeline.currentTime;const An=it.options&&it.options.delay?Eo(it.options.delay):0;it.steps.forEach(he=>{const xe=we.createSubContext(it.options);An&&xe.delayNextStep(An),Io(this,he,xe),qt=Math.max(qt,xe.currentTimeline.currentTime),dt.push(xe.currentTimeline)}),dt.forEach(he=>we.currentTimeline.mergeTimelineCollectedStyles(he)),we.transformIntoNewTimeline(qt),we.previousNode=it}_visitTiming(it,we){if(it.dynamic){const dt=it.strValue;return ga(we.params?qa(dt,we.params,we.errors):dt,we.errors)}return{duration:it.duration,delay:it.delay,easing:it.easing}}visitAnimate(it,we){const dt=we.currentAnimateTimings=this._visitTiming(it.timings,we),qt=we.currentTimeline;dt.delay&&(we.incrementTime(dt.delay),qt.snapshotCurrentStyles());const An=it.style;An.type==Pn.If.Keyframes?this.visitKeyframes(An,we):(we.incrementTime(dt.duration),this.visitStyle(An,we),qt.applyStylesToKeyframe()),we.currentAnimateTimings=null,we.previousNode=it}visitStyle(it,we){const dt=we.currentTimeline,qt=we.currentAnimateTimings;!qt&&dt.hasCurrentStyleProperties()&&dt.forwardFrame();const An=qt&&qt.easing||it.easing;it.isEmptyStep?dt.applyEmptyStep(An):dt.setStyles(it.styles,An,we.errors,we.options),we.previousNode=it}visitKeyframes(it,we){const dt=we.currentAnimateTimings,qt=we.currentTimeline.duration,An=dt.duration,xe=we.createSubContext().currentTimeline;xe.easing=dt.easing,it.styles.forEach(Et=>{xe.forwardTime((Et.offset||0)*An),xe.setStyles(Et.styles,Et.easing,we.errors,we.options),xe.applyStylesToKeyframe()}),we.currentTimeline.mergeTimelineCollectedStyles(xe),we.transformIntoNewTimeline(qt+An),we.previousNode=it}visitQuery(it,we){const dt=we.currentTimeline.currentTime,qt=it.options||{},An=qt.delay?Eo(qt.delay):0;An&&(we.previousNode.type===Pn.If.Style||0==dt&&we.currentTimeline.hasCurrentStyleProperties())&&(we.currentTimeline.snapshotCurrentStyles(),we.previousNode=kt);let he=dt;const xe=we.invokeQuery(it.selector,it.originalSelector,it.limit,it.includeSelf,!!qt.optional,we.errors);we.currentQueryTotal=xe.length;let Et=null;xe.forEach((Ft,Sn)=>{we.currentQueryIndex=Sn;const _i=we.createSubContext(it.options,Ft);An&&_i.delayNextStep(An),Ft===we.element&&(Et=_i.currentTimeline),Io(this,it.animation,_i),_i.currentTimeline.applyStylesToKeyframe(),he=Math.max(he,_i.currentTimeline.currentTime)}),we.currentQueryIndex=0,we.currentQueryTotal=0,we.transformIntoNewTimeline(he),Et&&(we.currentTimeline.mergeTimelineCollectedStyles(Et),we.currentTimeline.snapshotCurrentStyles()),we.previousNode=it}visitStagger(it,we){const dt=we.parentContext,qt=we.currentTimeline,An=it.timings,he=Math.abs(An.duration),xe=he*(we.currentQueryTotal-1);let Et=he*we.currentQueryIndex;switch(An.duration<0?"reverse":An.easing){case"reverse":Et=xe-Et;break;case"full":Et=dt.currentStaggerTime}const Sn=we.currentTimeline;Et&&Sn.delayNextStep(Et);const _i=Sn.currentTime;Io(this,it.animation,we),we.previousNode=it,dt.currentStaggerTime=qt.currentTime-_i+(qt.startTime-dt.currentTimeline.startTime)}}const kt={};class dn{constructor(it,we,dt,qt,An,he,xe,Et){this._driver=it,this.element=we,this.subInstructions=dt,this._enterClassName=qt,this._leaveClassName=An,this.errors=he,this.timelines=xe,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=kt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Et||new si(this._driver,we,0),xe.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(it,we){if(!it)return;const dt=it;let qt=this.options;null!=dt.duration&&(qt.duration=Eo(dt.duration)),null!=dt.delay&&(qt.delay=Eo(dt.delay));const An=dt.params;if(An){let he=qt.params;he||(he=this.options.params={}),Object.keys(An).forEach(xe=>{(!we||!he.hasOwnProperty(xe))&&(he[xe]=qa(An[xe],he,this.errors))})}}_copyOptions(){const it={};if(this.options){const we=this.options.params;if(we){const dt=it.params={};Object.keys(we).forEach(qt=>{dt[qt]=we[qt]})}}return it}createSubContext(it=null,we,dt){const qt=we||this.element,An=new dn(this._driver,qt,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(qt,dt||0));return An.previousNode=this.previousNode,An.currentAnimateTimings=this.currentAnimateTimings,An.options=this._copyOptions(),An.updateOptions(it),An.currentQueryIndex=this.currentQueryIndex,An.currentQueryTotal=this.currentQueryTotal,An.parentContext=this,this.subContextCount++,An}transformIntoNewTimeline(it){return this.previousNode=kt,this.currentTimeline=this.currentTimeline.fork(this.element,it),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(it,we,dt){const qt={duration:we??it.duration,delay:this.currentTimeline.currentTime+(dt??0)+it.delay,easing:""},An=new is(this._driver,it.element,it.keyframes,it.preStyleProps,it.postStyleProps,qt,it.stretchStartingKeyframe);return this.timelines.push(An),qt}incrementTime(it){this.currentTimeline.forwardTime(this.currentTimeline.duration+it)}delayNextStep(it){it>0&&this.currentTimeline.delayNextStep(it)}invokeQuery(it,we,dt,qt,An,he){let xe=[];if(qt&&xe.push(this.element),it.length>0){it=(it=it.replace(Gl,"."+this._enterClassName)).replace(N1,"."+this._leaveClassName);let Ft=this._driver.query(this.element,it,1!=dt);0!==dt&&(Ft=dt<0?Ft.slice(Ft.length+dt,Ft.length):Ft.slice(0,dt)),xe.push(...Ft)}return!An&&0==xe.length&&he.push(function p0(){return new a.wOt(3014,!1)}()),xe}}class si{constructor(it,we,dt,qt){this._driver=it,this.element=we,this.startTime=dt,this._elementTimelineStylesLookup=qt,this.duration=0,this.easing=null,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(we),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(we,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(it){const we=1===this._keyframes.size&&this._pendingStyles.size;this.duration||we?(this.forwardTime(this.currentTime+it),we&&this.snapshotCurrentStyles()):this.startTime+=it}fork(it,we){return this.applyStylesToKeyframe(),new si(this._driver,it,we||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(it){this.applyStylesToKeyframe(),this.duration=it,this._loadKeyframe()}_updateStyle(it,we){this._localTimelineStyles.set(it,we),this._globalTimelineStyles.set(it,we),this._styleSummary.set(it,{time:this.currentTime,value:we})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(it){it&&this._previousKeyframe.set("easing",it);for(let[we,dt]of this._globalTimelineStyles)this._backFill.set(we,dt||Pn.kp),this._currentKeyframe.set(we,Pn.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(it,we,dt,qt){we&&this._previousKeyframe.set("easing",we);const An=qt&&qt.params||{},he=function Xs(yt,it){const we=new Map;let dt;return yt.forEach(qt=>{if("*"===qt){dt??=it.keys();for(let An of dt)we.set(An,Pn.kp)}else for(let[An,he]of qt)we.set(An,he)}),we}(it,this._globalTimelineStyles);for(let[xe,Et]of he){const Ft=qa(Et,An,dt);this._pendingStyles.set(xe,Ft),this._localTimelineStyles.has(xe)||this._backFill.set(xe,this._globalTimelineStyles.get(xe)??Pn.kp),this._updateStyle(xe,Ft)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((it,we)=>{this._currentKeyframe.set(we,it)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((it,we)=>{this._currentKeyframe.has(we)||this._currentKeyframe.set(we,it)}))}snapshotCurrentStyles(){for(let[it,we]of this._localTimelineStyles)this._pendingStyles.set(it,we),this._updateStyle(it,we)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const it=[];for(let we in this._currentKeyframe)it.push(we);return it}mergeTimelineCollectedStyles(it){it._styleSummary.forEach((we,dt)=>{const qt=this._styleSummary.get(dt);(!qt||we.time>qt.time)&&this._updateStyle(dt,we.value)})}buildKeyframes(){this.applyStylesToKeyframe();const it=new Set,we=new Set,dt=1===this._keyframes.size&&0===this.duration;let qt=[];this._keyframes.forEach((xe,Et)=>{const Ft=new Map([...this._backFill,...xe]);Ft.forEach((Sn,_i)=>{Sn===Pn.FX?it.add(_i):Sn===Pn.kp&&we.add(_i)}),dt||Ft.set("offset",Et/this.duration),qt.push(Ft)});const An=[...it.values()],he=[...we.values()];if(dt){const xe=qt[0],Et=new Map(xe);xe.set("offset",0),Et.set("offset",1),qt=[xe,Et]}return t1(this.element,qt,An,he,this.duration,this.startTime,this.easing,!1)}}class is extends si{constructor(it,we,dt,qt,An,he,xe=!1){super(it,we,he.delay),this.keyframes=dt,this.preStyleProps=qt,this.postStyleProps=An,this._stretchStartingKeyframe=xe,this.timings={duration:he.duration,delay:he.delay,easing:he.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let it=this.keyframes,{delay:we,duration:dt,easing:qt}=this.timings;if(this._stretchStartingKeyframe&&we){const An=[],he=dt+we,xe=we/he,Et=new Map(it[0]);Et.set("offset",0),An.push(Et);const Ft=new Map(it[0]);Ft.set("offset",bs(xe)),An.push(Ft);const Sn=it.length-1;for(let _i=1;_i<=Sn;_i++){let Yi=new Map(it[_i]);const Bs=Yi.get("offset");Yi.set("offset",bs((we+Bs*dt)/he)),An.push(Yi)}dt=he,we=0,qt="",it=An}return t1(this.element,it,this.preStyleProps,this.postStyleProps,dt,we,qt,!0)}}function bs(yt,it=3){const we=Math.pow(10,it-1);return Math.round(yt*we)/we}function jr(yt,it,we,dt,qt,An,he,xe,Et,Ft,Sn,_i,Yi){return{type:0,element:yt,triggerName:it,isRemovalTransition:qt,fromState:we,fromStyles:An,toState:dt,toStyles:he,timelines:xe,queriedElements:Et,preStyleProps:Ft,postStyleProps:Sn,totalTime:_i,errors:Yi}}const Mr={};class Ma{constructor(it,we,dt){this._triggerName=it,this.ast=we,this._stateStyles=dt}match(it,we,dt,qt){return function fr(yt,it,we,dt,qt){return yt.some(An=>An(it,we,dt,qt))}(this.ast.matchers,it,we,dt,qt)}buildStyles(it,we,dt){let qt=this._stateStyles.get("*");return void 0!==it&&(qt=this._stateStyles.get(it?.toString())||qt),qt?qt.buildStyles(we,dt):new Map}build(it,we,dt,qt,An,he,xe,Et,Ft,Sn){const _i=[],Yi=this.ast.options&&this.ast.options.params||Mr,Ds=this.buildStyles(dt,xe&&xe.params||Mr,_i),ho=Et&&Et.params||Mr,Aa=this.buildStyles(qt,ho,_i),Ba=new Set,J0=new Map,U1=new Map,gc="void"===qt,Vu={params:Fo(ho,Yi),delay:this.ast.options?.delay},Zc=Sn?[]:bt(it,we,this.ast.animation,An,he,Ds,Aa,Vu,Ft,_i);let U0=0;return Zc.forEach(ca=>{U0=Math.max(ca.duration+ca.delay,U0)}),_i.length?jr(we,this._triggerName,dt,qt,gc,Ds,Aa,[],[],J0,U1,U0,_i):(Zc.forEach(ca=>{const Zs=ca.element,Go=mo(J0,Zs,new Set);ca.preStyleProps.forEach(lr=>Go.add(lr));const zo=mo(U1,Zs,new Set);ca.postStyleProps.forEach(lr=>zo.add(lr)),Zs!==we&&Ba.add(Zs)}),jr(we,this._triggerName,dt,qt,gc,Ds,Aa,Zc,[...Ba.values()],J0,U1,U0))}}function Fo(yt,it){const we={...it};return Object.entries(yt).forEach(([dt,qt])=>{null!=qt&&(we[dt]=qt)}),we}class Va{constructor(it,we,dt){this.styles=it,this.defaultParams=we,this.normalizer=dt}buildStyles(it,we){const dt=new Map,qt=Fo(it,this.defaultParams);return this.styles.styles.forEach(An=>{"string"!=typeof An&&An.forEach((he,xe)=>{he&&(he=qa(he,qt,we));const Et=this.normalizer.normalizePropertyName(xe,we);he=this.normalizer.normalizeStyleValue(xe,Et,he,we),dt.set(xe,he)})}),dt}}class k1{constructor(it,we,dt){this.name=it,this.ast=we,this._normalizer=dt,this.transitionFactories=[],this.states=new Map,we.states.forEach(qt=>{this.states.set(qt.name,new Va(qt.style,qt.options&&qt.options.params||{},dt))}),ta(this.states,"true","1"),ta(this.states,"false","0"),we.transitions.forEach(qt=>{this.transitionFactories.push(new Ma(it,qt,this.states))}),this.fallbackTransition=function n1(yt,it){return new Ma(yt,{type:Pn.If.Transition,animation:{type:Pn.If.Sequence,steps:[],options:null},matchers:[(he,xe)=>!0],options:null,queryCount:0,depCount:0},it)}(it,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(it,we,dt,qt){return this.transitionFactories.find(he=>he.match(it,we,dt,qt))||null}matchStyles(it,we,dt){return this.fallbackTransition.buildStyles(it,we,dt)}}function ta(yt,it,we){yt.has(it)?yt.has(we)||yt.set(we,yt.get(it)):yt.has(we)&&yt.set(it,yt.get(we))}const Ja=new L0;class ir{constructor(it,we,dt){this.bodyNode=it,this._driver=we,this._normalizer=dt,this._animations=new Map,this._playersById=new Map,this.players=[]}register(it,we){const dt=[],An=xo(this._driver,we,dt,[]);if(dt.length)throw function Lr(){return new a.wOt(3503,!1)}();this._animations.set(it,An)}_buildPlayer(it,we,dt){const qt=it.element,An=sr(this._normalizer,it.keyframes,we,dt);return this._driver.animate(qt,An,it.duration,it.delay,it.easing,[],!0)}create(it,we,dt={}){const qt=[],An=this._animations.get(it);let he;const xe=new Map;if(An?(he=bt(this._driver,we,An,qn,zi,new Map,new Map,dt,Ja,qt),he.forEach(Sn=>{const _i=mo(xe,Sn.element,new Map);Sn.postStyleProps.forEach(Yi=>_i.set(Yi,null))})):(qt.push(function Ia(){return new a.wOt(3300,!1)}()),he=[]),qt.length)throw function Vs(){return new a.wOt(3504,!1)}();xe.forEach((Sn,_i)=>{Sn.forEach((Yi,Bs)=>{Sn.set(Bs,this._driver.computeStyle(_i,Bs,Pn.kp))})});const Ft=Uo(he.map(Sn=>{const _i=xe.get(Sn.element);return this._buildPlayer(Sn,new Map,_i)}));return this._playersById.set(it,Ft),Ft.onDestroy(()=>this.destroy(it)),this.players.push(Ft),Ft}destroy(it){const we=this._getPlayer(it);we.destroy(),this._playersById.delete(it);const dt=this.players.indexOf(we);dt>=0&&this.players.splice(dt,1)}_getPlayer(it){const we=this._playersById.get(it);if(!we)throw function Ar(){return new a.wOt(3301,!1)}();return we}listen(it,we,dt,qt){const An=Dl(we,"","","");return J1(this._getPlayer(it),dt,An,qt),()=>{}}command(it,we,dt,qt){if("register"==dt)return void this.register(it,qt[0]);if("create"==dt)return void this.create(it,we,qt[0]||{});const An=this._getPlayer(it);switch(dt){case"play":An.play();break;case"pause":An.pause();break;case"reset":An.reset();break;case"restart":An.restart();break;case"finish":An.finish();break;case"init":An.init();break;case"setPosition":An.setPosition(parseFloat(qt[0]));break;case"destroy":this.destroy(it)}}}const la="ng-animate-queued",j1="ng-animate-disabled",Z1=[],el={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},wl={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Oa="__ng_removed";class j0{get params(){return this.options.params}constructor(it,we=""){this.namespaceId=we;const dt=it&&it.hasOwnProperty("value");if(this.value=function Nl(yt){return yt??null}(dt?it.value:it),dt){const{value:An,...he}=it;this.options=he}else this.options={};this.options.params||(this.options.params={})}absorbOptions(it){const we=it.params;if(we){const dt=this.options.params;Object.keys(we).forEach(qt=>{null==dt[qt]&&(dt[qt]=we[qt])})}}}const ec="void",Zn=new j0(ec);class s1{constructor(it,we,dt){this.id=it,this.hostElement=we,this._engine=dt,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+it,f0(we,this._hostClassName)}listen(it,we,dt,qt){if(!this._triggers.has(we))throw function gr(){return new a.wOt(3302,!1)}();if(null==dt||0==dt.length)throw function Zr(){return new a.wOt(3303,!1)}();if(!function Fr(yt){return"start"==yt||"done"==yt}(dt))throw function Ur(){return new a.wOt(3400,!1)}();const An=mo(this._elementListeners,it,[]),he={name:we,phase:dt,callback:qt};An.push(he);const xe=mo(this._engine.statesByElement,it,new Map);return xe.has(we)||(f0(it,yo),f0(it,yo+"-"+we),xe.set(we,Zn)),()=>{this._engine.afterFlush(()=>{const Et=An.indexOf(he);Et>=0&&An.splice(Et,1),this._triggers.has(we)||xe.delete(we)})}}register(it,we){return!this._triggers.has(it)&&(this._triggers.set(it,we),!0)}_getTrigger(it){const we=this._triggers.get(it);if(!we)throw function Co(){return new a.wOt(3401,!1)}();return we}trigger(it,we,dt,qt=!0){const An=this._getTrigger(we),he=new X0(this.id,we,it);let xe=this._engine.statesByElement.get(it);xe||(f0(it,yo),f0(it,yo+"-"+we),this._engine.statesByElement.set(it,xe=new Map));let Et=xe.get(we);const Ft=new j0(dt,this.id);if(!(dt&&dt.hasOwnProperty("value"))&&Et&&Ft.absorbOptions(Et.options),xe.set(we,Ft),Et||(Et=Zn),Ft.value!==ec&&Et.value===Ft.value){if(!function P1(yt,it){const we=Object.keys(yt),dt=Object.keys(it);if(we.length!=dt.length)return!1;for(let qt=0;qt<we.length;qt++){const An=we[qt];if(!it.hasOwnProperty(An)||yt[An]!==it[An])return!1}return!0}(Et.params,Ft.params)){const ho=[],Aa=An.matchStyles(Et.value,Et.params,ho),Ba=An.matchStyles(Ft.value,Ft.params,ho);ho.length?this._engine.reportError(ho):this._engine.afterFlush(()=>{s0(it,Aa),So(it,Ba)})}return}const Yi=mo(this._engine.playersByElement,it,[]);Yi.forEach(ho=>{ho.namespaceId==this.id&&ho.triggerName==we&&ho.queued&&ho.destroy()});let Bs=An.matchTransition(Et.value,Ft.value,it,Ft.params),Ds=!1;if(!Bs){if(!qt)return;Bs=An.fallbackTransition,Ds=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:it,triggerName:we,transition:Bs,fromState:Et,toState:Ft,player:he,isFallbackTransition:Ds}),Ds||(f0(it,la),he.onStart(()=>{qr(it,la)})),he.onDone(()=>{let ho=this.players.indexOf(he);ho>=0&&this.players.splice(ho,1);const Aa=this._engine.playersByElement.get(it);if(Aa){let Ba=Aa.indexOf(he);Ba>=0&&Aa.splice(Ba,1)}}),this.players.push(he),Yi.push(he),he}deregister(it){this._triggers.delete(it),this._engine.statesByElement.forEach(we=>we.delete(it)),this._elementListeners.forEach((we,dt)=>{this._elementListeners.set(dt,we.filter(qt=>qt.name!=it))})}clearElementCache(it){this._engine.statesByElement.delete(it),this._elementListeners.delete(it);const we=this._engine.playersByElement.get(it);we&&(we.forEach(dt=>dt.destroy()),this._engine.playersByElement.delete(it))}_signalRemovalForInnerTriggers(it,we){const dt=this._engine.driver.query(it,xr,!0);dt.forEach(qt=>{if(qt[Oa])return;const An=this._engine.fetchNamespacesByElement(qt);An.size?An.forEach(he=>he.triggerLeaveAnimation(qt,we,!1,!0)):this.clearElementCache(qt)}),this._engine.afterFlushAnimationsDone(()=>dt.forEach(qt=>this.clearElementCache(qt)))}triggerLeaveAnimation(it,we,dt,qt){const An=this._engine.statesByElement.get(it),he=new Map;if(An){const xe=[];if(An.forEach((Et,Ft)=>{if(he.set(Ft,Et.value),this._triggers.has(Ft)){const Sn=this.trigger(it,Ft,ec,qt);Sn&&xe.push(Sn)}}),xe.length)return this._engine.markElementAsRemoved(this.id,it,!0,we,he),dt&&Uo(xe).onDone(()=>this._engine.processLeaveNode(it)),!0}return!1}prepareLeaveAnimationListeners(it){const we=this._elementListeners.get(it),dt=this._engine.statesByElement.get(it);if(we&&dt){const qt=new Set;we.forEach(An=>{const he=An.name;if(qt.has(he))return;qt.add(he);const Et=this._triggers.get(he).fallbackTransition,Ft=dt.get(he)||Zn,Sn=new j0(ec),_i=new X0(this.id,he,it);this._engine.totalQueuedPlayers++,this._queue.push({element:it,triggerName:he,transition:Et,fromState:Ft,toState:Sn,player:_i,isFallbackTransition:!0})})}}removeNode(it,we){const dt=this._engine;if(it.childElementCount&&this._signalRemovalForInnerTriggers(it,we),this.triggerLeaveAnimation(it,we,!0))return;let qt=!1;if(dt.totalAnimations){const An=dt.players.length?dt.playersByQueriedElement.get(it):[];if(An&&An.length)qt=!0;else{let he=it;for(;he=he.parentNode;)if(dt.statesByElement.get(he)){qt=!0;break}}}if(this.prepareLeaveAnimationListeners(it),qt)dt.markElementAsRemoved(this.id,it,!1,we);else{const An=it[Oa];(!An||An===el)&&(dt.afterFlush(()=>this.clearElementCache(it)),dt.destroyInnerAnimations(it),dt._onRemovalComplete(it,we))}}insertNode(it,we){f0(it,this._hostClassName)}drainQueuedTransitions(it){const we=[];return this._queue.forEach(dt=>{const qt=dt.player;if(qt.destroyed)return;const An=dt.element,he=this._elementListeners.get(An);he&&he.forEach(xe=>{if(xe.name==dt.triggerName){const Et=Dl(An,dt.triggerName,dt.fromState.value,dt.toState.value);Et._data=it,J1(dt.player,xe.phase,Et,xe.callback)}}),qt.markedForDestroy?this._engine.afterFlush(()=>{qt.destroy()}):we.push(dt)}),this._queue=[],we.sort((dt,qt)=>{const An=dt.transition.ast.depCount,he=qt.transition.ast.depCount;return 0==An||0==he?An-he:this._engine.driver.containsElement(dt.element,qt.element)?1:-1})}destroy(it){this.players.forEach(we=>we.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,it)}}class $l{_onRemovalComplete(it,we){this.onRemovalComplete(it,we)}constructor(it,we,dt){this.bodyNode=it,this.driver=we,this._normalizer=dt,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=(qt,An)=>{}}get queuedPlayers(){const it=[];return this._namespaceList.forEach(we=>{we.players.forEach(dt=>{dt.queued&&it.push(dt)})}),it}createNamespace(it,we){const dt=new s1(it,we,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,we)?this._balanceNamespaceList(dt,we):(this.newHostElements.set(we,dt),this.collectEnterElement(we)),this._namespaceLookup[it]=dt}_balanceNamespaceList(it,we){const dt=this._namespaceList,qt=this.namespacesByHostElement;if(dt.length-1>=0){let he=!1,xe=this.driver.getParentElement(we);for(;xe;){const Et=qt.get(xe);if(Et){const Ft=dt.indexOf(Et);dt.splice(Ft+1,0,it),he=!0;break}xe=this.driver.getParentElement(xe)}he||dt.unshift(it)}else dt.push(it);return qt.set(we,it),it}register(it,we){let dt=this._namespaceLookup[it];return dt||(dt=this.createNamespace(it,we)),dt}registerTrigger(it,we,dt){let qt=this._namespaceLookup[it];qt&&qt.register(we,dt)&&this.totalAnimations++}destroy(it,we){it&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const dt=this._fetchNamespace(it);this.namespacesByHostElement.delete(dt.hostElement);const qt=this._namespaceList.indexOf(dt);qt>=0&&this._namespaceList.splice(qt,1),dt.destroy(we),delete this._namespaceLookup[it]}))}_fetchNamespace(it){return this._namespaceLookup[it]}fetchNamespacesByElement(it){const we=new Set,dt=this.statesByElement.get(it);if(dt)for(let qt of dt.values())if(qt.namespaceId){const An=this._fetchNamespace(qt.namespaceId);An&&we.add(An)}return we}trigger(it,we,dt,qt){if(u1(we)){const An=this._fetchNamespace(it);if(An)return An.trigger(we,dt,qt),!0}return!1}insertNode(it,we,dt,qt){if(!u1(we))return;const An=we[Oa];if(An&&An.setForRemoval){An.setForRemoval=!1,An.setForMove=!0;const he=this.collectedLeaveElements.indexOf(we);he>=0&&this.collectedLeaveElements.splice(he,1)}if(it){const he=this._fetchNamespace(it);he&&he.insertNode(we,dt)}qt&&this.collectEnterElement(we)}collectEnterElement(it){this.collectedEnterElements.push(it)}markElementAsDisabled(it,we){we?this.disabledNodes.has(it)||(this.disabledNodes.add(it),f0(it,j1)):this.disabledNodes.has(it)&&(this.disabledNodes.delete(it),qr(it,j1))}removeNode(it,we,dt){if(u1(we)){const qt=it?this._fetchNamespace(it):null;qt?qt.removeNode(we,dt):this.markElementAsRemoved(it,we,!1,dt);const An=this.namespacesByHostElement.get(we);An&&An.id!==it&&An.removeNode(we,dt)}else this._onRemovalComplete(we,dt)}markElementAsRemoved(it,we,dt,qt,An){this.collectedLeaveElements.push(we),we[Oa]={namespaceId:it,setForRemoval:qt,hasAnimation:dt,removedBeforeQueried:!1,previousTriggersValues:An}}listen(it,we,dt,qt,An){return u1(we)?this._fetchNamespace(it).listen(we,dt,qt,An):()=>{}}_buildInstruction(it,we,dt,qt,An){return it.transition.build(this.driver,it.element,it.fromState.value,it.toState.value,dt,qt,it.fromState.options,it.toState.options,we,An)}destroyInnerAnimations(it){let we=this.driver.query(it,xr,!0);we.forEach(dt=>this.destroyActiveAnimationsForElement(dt)),0!=this.playersByQueriedElement.size&&(we=this.driver.query(it,P0,!0),we.forEach(dt=>this.finishActiveQueriedAnimationOnElement(dt)))}destroyActiveAnimationsForElement(it){const we=this.playersByElement.get(it);we&&we.forEach(dt=>{dt.queued?dt.markedForDestroy=!0:dt.destroy()})}finishActiveQueriedAnimationOnElement(it){const we=this.playersByQueriedElement.get(it);we&&we.forEach(dt=>dt.finish())}whenRenderingDone(){return new Promise(it=>{if(this.players.length)return Uo(this.players).onDone(()=>it());it()})}processLeaveNode(it){const we=it[Oa];if(we&&we.setForRemoval){if(it[Oa]=el,we.namespaceId){this.destroyInnerAnimations(it);const dt=this._fetchNamespace(we.namespaceId);dt&&dt.clearElementCache(it)}this._onRemovalComplete(it,we.setForRemoval)}it.classList?.contains(j1)&&this.markElementAsDisabled(it,!1),this.driver.query(it,".ng-animate-disabled",!0).forEach(dt=>{this.markElementAsDisabled(dt,!1)})}flush(it=-1){let we=[];if(this.newHostElements.size&&(this.newHostElements.forEach((dt,qt)=>this._balanceNamespaceList(dt,qt)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let dt=0;dt<this.collectedEnterElements.length;dt++)f0(this.collectedEnterElements[dt],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const dt=[];try{we=this._flushAnimations(dt,it)}finally{for(let qt=0;qt<dt.length;qt++)dt[qt]()}}else for(let dt=0;dt<this.collectedLeaveElements.length;dt++)this.processLeaveNode(this.collectedLeaveElements[dt]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(dt=>dt()),this._flushFns=[],this._whenQuietFns.length){const dt=this._whenQuietFns;this._whenQuietFns=[],we.length?Uo(we).onDone(()=>{dt.forEach(qt=>qt())}):dt.forEach(qt=>qt())}}reportError(it){throw function Ka(){return new a.wOt(3402,!1)}()}_flushAnimations(it,we){const dt=new L0,qt=[],An=new Map,he=[],xe=new Map,Et=new Map,Ft=new Map,Sn=new Set;this.disabledNodes.forEach(Ns=>{Sn.add(Ns);const Mo=this.driver.query(Ns,".ng-animate-queued",!0);for(let Qo=0;Qo<Mo.length;Qo++)Sn.add(Mo[Qo])});const _i=this.bodyNode,Yi=Array.from(this.statesByElement.keys()),Bs=Uc(Yi,this.collectedEnterElements),Ds=new Map;let ho=0;Bs.forEach((Ns,Mo)=>{const Qo=qn+ho++;Ds.set(Mo,Qo),Ns.forEach(Hs=>f0(Hs,Qo))});const Aa=[],Ba=new Set,J0=new Set;for(let Ns=0;Ns<this.collectedLeaveElements.length;Ns++){const Mo=this.collectedLeaveElements[Ns],Qo=Mo[Oa];Qo&&Qo.setForRemoval&&(Aa.push(Mo),Ba.add(Mo),Qo.hasAnimation?this.driver.query(Mo,".ng-star-inserted",!0).forEach(Hs=>Ba.add(Hs)):J0.add(Mo))}const U1=new Map,gc=Uc(Yi,Array.from(Ba));gc.forEach((Ns,Mo)=>{const Qo=zi+ho++;U1.set(Mo,Qo),Ns.forEach(Hs=>f0(Hs,Qo))}),it.push(()=>{Bs.forEach((Ns,Mo)=>{const Qo=Ds.get(Mo);Ns.forEach(Hs=>qr(Hs,Qo))}),gc.forEach((Ns,Mo)=>{const Qo=U1.get(Mo);Ns.forEach(Hs=>qr(Hs,Qo))}),Aa.forEach(Ns=>{this.processLeaveNode(Ns)})});const Vu=[],Zc=[];for(let Ns=this._namespaceList.length-1;Ns>=0;Ns--)this._namespaceList[Ns].drainQueuedTransitions(we).forEach(Qo=>{const Hs=Qo.player,ua=Qo.element;if(Vu.push(Hs),this.collectedEnterElements.length){const Za=ua[Oa];if(Za&&Za.setForMove){if(Za.previousTriggersValues&&Za.previousTriggersValues.has(Qo.triggerName)){const Fl=Za.previousTriggersValues.get(Qo.triggerName),ml=this.statesByElement.get(Qo.element);if(ml&&ml.has(Qo.triggerName)){const Ou=ml.get(Qo.triggerName);Ou.value=Fl,ml.set(Qo.triggerName,Ou)}}return void Hs.destroy()}}const bc=!_i||!this.driver.containsElement(_i,ua),O1=U1.get(ua),r0=Ds.get(ua),c0=this._buildInstruction(Qo,dt,r0,O1,bc);if(c0.errors&&c0.errors.length)return void Zc.push(c0);if(bc)return Hs.onStart(()=>s0(ua,c0.fromStyles)),Hs.onDestroy(()=>So(ua,c0.toStyles)),void qt.push(Hs);if(Qo.isFallbackTransition)return Hs.onStart(()=>s0(ua,c0.fromStyles)),Hs.onDestroy(()=>So(ua,c0.toStyles)),void qt.push(Hs);const Qa=[];c0.timelines.forEach(Za=>{Za.stretchStartingKeyframe=!0,this.disabledNodes.has(Za.element)||Qa.push(Za)}),c0.timelines=Qa,dt.append(ua,c0.timelines),he.push({instruction:c0,player:Hs,element:ua}),c0.queriedElements.forEach(Za=>mo(xe,Za,[]).push(Hs)),c0.preStyleProps.forEach((Za,Fl)=>{if(Za.size){let ml=Et.get(Fl);ml||Et.set(Fl,ml=new Set),Za.forEach((Ou,_l)=>ml.add(_l))}}),c0.postStyleProps.forEach((Za,Fl)=>{let ml=Ft.get(Fl);ml||Ft.set(Fl,ml=new Set),Za.forEach((Ou,_l)=>ml.add(_l))})});if(Zc.length){const Ns=[];Zc.forEach(Mo=>{Ns.push(function yr(){return new a.wOt(3505,!1)}())}),Vu.forEach(Mo=>Mo.destroy()),this.reportError(Ns)}const U0=new Map,ca=new Map;he.forEach(Ns=>{const Mo=Ns.element;dt.has(Mo)&&(ca.set(Mo,Mo),this._beforeAnimationBuild(Ns.player.namespaceId,Ns.instruction,U0))}),qt.forEach(Ns=>{const Mo=Ns.element;this._getPreviousPlayers(Mo,!1,Ns.namespaceId,Ns.triggerName,null).forEach(Hs=>{mo(U0,Mo,[]).push(Hs),Hs.destroy()})});const Zs=Aa.filter(Ns=>xl(Ns,Et,Ft)),Go=new Map;Ru(Go,this.driver,J0,Ft,Pn.kp).forEach(Ns=>{xl(Ns,Et,Ft)&&Zs.push(Ns)});const lr=new Map;Bs.forEach((Ns,Mo)=>{Ru(lr,this.driver,new Set(Ns),Et,Pn.FX)}),Zs.forEach(Ns=>{const Mo=Go.get(Ns),Qo=lr.get(Ns);Go.set(Ns,new Map([...Mo?.entries()??[],...Qo?.entries()??[]]))});const Vo=[],As=[],Kr={};he.forEach(Ns=>{const{element:Mo,player:Qo,instruction:Hs}=Ns;if(dt.has(Mo)){if(Sn.has(Mo))return Qo.onDestroy(()=>So(Mo,Hs.toStyles)),Qo.disabled=!0,Qo.overrideTotalTime(Hs.totalTime),void qt.push(Qo);let ua=Kr;if(ca.size>1){let O1=Mo;const r0=[];for(;O1=O1.parentNode;){const c0=ca.get(O1);if(c0){ua=c0;break}r0.push(O1)}r0.forEach(c0=>ca.set(c0,ua))}const bc=this._buildAnimation(Qo.namespaceId,Hs,U0,An,lr,Go);if(Qo.setRealPlayer(bc),ua===Kr)Vo.push(Qo);else{const O1=this.playersByElement.get(ua);O1&&O1.length&&(Qo.parentPlayer=Uo(O1)),qt.push(Qo)}}else s0(Mo,Hs.fromStyles),Qo.onDestroy(()=>So(Mo,Hs.toStyles)),As.push(Qo),Sn.has(Mo)&&qt.push(Qo)}),As.forEach(Ns=>{const Mo=An.get(Ns.element);if(Mo&&Mo.length){const Qo=Uo(Mo);Ns.setRealPlayer(Qo)}}),qt.forEach(Ns=>{Ns.parentPlayer?Ns.syncPlayerEvents(Ns.parentPlayer):Ns.destroy()});for(let Ns=0;Ns<Aa.length;Ns++){const Mo=Aa[Ns],Qo=Mo[Oa];if(qr(Mo,zi),Qo&&Qo.hasAnimation)continue;let Hs=[];if(xe.size){let bc=xe.get(Mo);bc&&bc.length&&Hs.push(...bc);let O1=this.driver.query(Mo,P0,!0);for(let r0=0;r0<O1.length;r0++){let c0=xe.get(O1[r0]);c0&&c0.length&&Hs.push(...c0)}}const ua=Hs.filter(bc=>!bc.destroyed);ua.length?tc(this,Mo,ua):this.processLeaveNode(Mo)}return Aa.length=0,Vo.forEach(Ns=>{this.players.push(Ns),Ns.onDone(()=>{Ns.destroy();const Mo=this.players.indexOf(Ns);this.players.splice(Mo,1)}),Ns.play()}),Vo}afterFlush(it){this._flushFns.push(it)}afterFlushAnimationsDone(it){this._whenQuietFns.push(it)}_getPreviousPlayers(it,we,dt,qt,An){let he=[];if(we){const xe=this.playersByQueriedElement.get(it);xe&&(he=xe)}else{const xe=this.playersByElement.get(it);if(xe){const Et=!An||An==ec;xe.forEach(Ft=>{Ft.queued||!Et&&Ft.triggerName!=qt||he.push(Ft)})}}return(dt||qt)&&(he=he.filter(xe=>!(dt&&dt!=xe.namespaceId||qt&&qt!=xe.triggerName))),he}_beforeAnimationBuild(it,we,dt){const An=we.element,he=we.isRemovalTransition?void 0:it,xe=we.isRemovalTransition?void 0:we.triggerName;for(const Et of we.timelines){const Ft=Et.element,Sn=Ft!==An,_i=mo(dt,Ft,[]);this._getPreviousPlayers(Ft,Sn,he,xe,we.toState).forEach(Bs=>{const Ds=Bs.getRealPlayer();Ds.beforeDestroy&&Ds.beforeDestroy(),Bs.destroy(),_i.push(Bs)})}s0(An,we.fromStyles)}_buildAnimation(it,we,dt,qt,An,he){const xe=we.triggerName,Et=we.element,Ft=[],Sn=new Set,_i=new Set,Yi=we.timelines.map(Ds=>{const ho=Ds.element;Sn.add(ho);const Aa=ho[Oa];if(Aa&&Aa.removedBeforeQueried)return new Pn.sf(Ds.duration,Ds.delay);const Ba=ho!==Et,J0=function D1(yt){const it=[];return Gc(yt,it),it}((dt.get(ho)||Z1).map(U0=>U0.getRealPlayer())).filter(U0=>!!U0.element&&U0.element===ho),U1=An.get(ho),gc=he.get(ho),Vu=sr(this._normalizer,Ds.keyframes,U1,gc),Zc=this._buildPlayer(Ds,Vu,J0);if(Ds.subTimeline&&qt&&_i.add(ho),Ba){const U0=new X0(it,xe,ho);U0.setRealPlayer(Zc),Ft.push(U0)}return Zc});Ft.forEach(Ds=>{mo(this.playersByQueriedElement,Ds.element,[]).push(Ds),Ds.onDone(()=>function dr(yt,it,we){let dt=yt.get(it);if(dt){if(dt.length){const qt=dt.indexOf(we);dt.splice(qt,1)}0==dt.length&&yt.delete(it)}return dt}(this.playersByQueriedElement,Ds.element,Ds))}),Sn.forEach(Ds=>f0(Ds,Al));const Bs=Uo(Yi);return Bs.onDestroy(()=>{Sn.forEach(Ds=>qr(Ds,Al)),So(Et,we.toStyles)}),_i.forEach(Ds=>{mo(qt,Ds,[]).push(Bs)}),Bs}_buildPlayer(it,we,dt){return we.length>0?this.driver.animate(it.element,we,it.duration,it.delay,it.easing,dt):new Pn.sf(it.duration,it.delay)}}class X0{constructor(it,we,dt){this.namespaceId=it,this.triggerName=we,this.element=dt,this._player=new Pn.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(it){this._containsRealPlayer||(this._player=it,this._queuedCallbacks.forEach((we,dt)=>{we.forEach(qt=>J1(it,dt,void 0,qt))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(it.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(it){this.totalTime=it}syncPlayerEvents(it){const we=this._player;we.triggerCallback&&it.onStart(()=>we.triggerCallback("start")),it.onDone(()=>this.finish()),it.onDestroy(()=>this.destroy())}_queueEvent(it,we){mo(this._queuedCallbacks,it,[]).push(we)}onDone(it){this.queued&&this._queueEvent("done",it),this._player.onDone(it)}onStart(it){this.queued&&this._queueEvent("start",it),this._player.onStart(it)}onDestroy(it){this.queued&&this._queueEvent("destroy",it),this._player.onDestroy(it)}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(it){this.queued||this._player.setPosition(it)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(it){const we=this._player;we.triggerCallback&&we.triggerCallback(it)}}function u1(yt){return yt&&1===yt.nodeType}function a0(yt,it){const we=yt.style.display;return yt.style.display=it??"none",we}function Ru(yt,it,we,dt,qt){const An=[];we.forEach(Et=>An.push(a0(Et)));const he=[];dt.forEach((Et,Ft)=>{const Sn=new Map;Et.forEach(_i=>{const Yi=it.computeStyle(Ft,_i,qt);Sn.set(_i,Yi),(!Yi||0==Yi.length)&&(Ft[Oa]=wl,he.push(Ft))}),yt.set(Ft,Sn)});let xe=0;return we.forEach(Et=>a0(Et,An[xe++])),he}function Uc(yt,it){const we=new Map;if(yt.forEach(xe=>we.set(xe,[])),0==it.length)return we;const qt=new Set(it),An=new Map;function he(xe){if(!xe)return 1;let Et=An.get(xe);if(Et)return Et;const Ft=xe.parentNode;return Et=we.has(Ft)?Ft:qt.has(Ft)?1:he(Ft),An.set(xe,Et),Et}return it.forEach(xe=>{const Et=he(xe);1!==Et&&we.get(Et).push(xe)}),we}function f0(yt,it){yt.classList?.add(it)}function qr(yt,it){yt.classList?.remove(it)}function tc(yt,it,we){Uo(we).onDone(()=>yt.processLeaveNode(it))}function Gc(yt,it){for(let we=0;we<yt.length;we++){const dt=yt[we];dt instanceof Pn.ui?Gc(dt.players,it):it.push(dt)}}function xl(yt,it,we){const dt=we.get(yt);if(!dt)return!1;let qt=it.get(yt);return qt?dt.forEach(An=>qt.add(An)):it.set(yt,dt),we.delete(yt),!0}class mc{constructor(it,we,dt){this._driver=we,this._normalizer=dt,this._triggerCache={},this.onRemovalComplete=(qt,An)=>{},this._transitionEngine=new $l(it.body,we,dt),this._timelineEngine=new ir(it.body,we,dt),this._transitionEngine.onRemovalComplete=(qt,An)=>this.onRemovalComplete(qt,An)}registerTrigger(it,we,dt,qt,An){const he=it+"-"+qt;let xe=this._triggerCache[he];if(!xe){const Et=[],Sn=xo(this._driver,An,Et,[]);if(Et.length)throw function y0(){return new a.wOt(3404,!1)}();xe=function E0(yt,it,we){return new k1(yt,it,we)}(qt,Sn,this._normalizer),this._triggerCache[he]=xe}this._transitionEngine.registerTrigger(we,qt,xe)}register(it,we){this._transitionEngine.register(it,we)}destroy(it,we){this._transitionEngine.destroy(it,we)}onInsert(it,we,dt,qt){this._transitionEngine.insertNode(it,we,dt,qt)}onRemove(it,we,dt){this._transitionEngine.removeNode(it,we,dt)}disableAnimations(it,we){this._transitionEngine.markElementAsDisabled(it,we)}process(it,we,dt,qt){if("@"==dt.charAt(0)){const[An,he]=vl(dt);this._timelineEngine.command(An,we,he,qt)}else this._transitionEngine.trigger(it,we,dt,qt)}listen(it,we,dt,qt,An){if("@"==dt.charAt(0)){const[he,xe]=vl(dt);return this._timelineEngine.listen(he,we,xe,An)}return this._transitionEngine.listen(it,we,dt,qt,An)}flush(it=-1){this._transitionEngine.flush(it)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(it){this._transitionEngine.afterFlushAnimationsDone(it)}}class o1{static#e=this.initialStylesByElement=new WeakMap;constructor(it,we,dt){this._element=it,this._startStyles=we,this._endStyles=dt,this._state=0;let qt=o1.initialStylesByElement.get(it);qt||o1.initialStylesByElement.set(it,qt=new Map),this._initialStyles=qt}start(){this._state<1&&(this._startStyles&&So(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(So(this._element,this._initialStyles),this._endStyles&&(So(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(o1.initialStylesByElement.delete(this._element),this._startStyles&&(s0(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(s0(this._element,this._endStyles),this._endStyles=null),So(this._element,this._initialStyles),this._state=3)}}function yl(yt){let it=null;return yt.forEach((we,dt)=>{(function _c(yt){return"display"===yt||"position"===yt})(dt)&&(it=it||new Map,it.set(dt,we))}),it}class l0{constructor(it,we,dt,qt){this.element=it,this.keyframes=we,this.options=dt,this._specialStyles=qt,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=dt.duration,this._delay=dt.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(it=>it()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const it=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,it,this.options),this._finalKeyframe=it.length?it[it.length-1]:new Map;const we=()=>this._onFinish();this.domPlayer.addEventListener("finish",we),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",we)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(it){const we=[];return it.forEach(dt=>{we.push(Object.fromEntries(dt))}),we}_triggerWebAnimation(it,we,dt){return it.animate(this._convertKeyframesToObject(we),dt)}onStart(it){this._originalOnStartFns.push(it),this._onStartFns.push(it)}onDone(it){this._originalOnDoneFns.push(it),this._onDoneFns.push(it)}onDestroy(it){this._onDestroyFns.push(it)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(it=>it()),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(it=>it()),this._onDestroyFns=[])}setPosition(it){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=it*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const it=new Map;this.hasStarted()&&this._finalKeyframe.forEach((dt,qt)=>{"offset"!==qt&&it.set(qt,this._finished?dt:b1(this.element,qt))}),this.currentSnapshot=it}triggerCallback(it){const we="start"===it?this._onStartFns:this._onDoneFns;we.forEach(dt=>dt()),we.length=0}}class qc{validateStyleProperty(it){return!0}validateAnimatableStyleProperty(it){return!0}containsElement(it,we){return Jo(it,we)}getParentElement(it){return Nr(it)}query(it,we,dt){return W1(it,we,dt)}computeStyle(it,we,dt){return b1(it,we)}animate(it,we,dt,qt,An,he=[]){const Et={duration:dt,delay:qt,fill:0==qt?"both":"forwards"};An&&(Et.easing=An);const Ft=new Map,Sn=he.filter(Bs=>Bs instanceof l0);(function Il(yt,it){return 0===yt||0===it})(dt,qt)&&Sn.forEach(Bs=>{Bs.currentSnapshot.forEach((Ds,ho)=>Ft.set(ho,Ds))});let _i=function ur(yt){return yt.length?yt[0]instanceof Map?yt:yt.map(it=>new Map(Object.entries(it))):[]}(we).map(Bs=>new Map(Bs));_i=function Yr(yt,it,we){if(we.size&&it.length){let dt=it[0],qt=[];if(we.forEach((An,he)=>{dt.has(he)||qt.push(he),dt.set(he,An)}),qt.length)for(let An=1;An<it.length;An++){let he=it[An];qt.forEach(xe=>he.set(xe,b1(yt,xe)))}}return it}(it,_i,Ft);const Yi=function nc(yt,it){let we=null,dt=null;return Array.isArray(it)&&it.length?(we=yl(it[0]),it.length>1&&(dt=yl(it[it.length-1]))):it instanceof Map&&(we=yl(it)),we||dt?new o1(yt,we,dt):null}(it,_i);return new l0(it,_i,Et,Yi)}}const Vl="@.disabled";class ot{constructor(it,we,dt,qt){this.namespaceId=it,this.delegate=we,this.engine=dt,this._onDestroy=qt,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(it){this.delegate.destroyNode?.(it)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(it,we){return this.delegate.createElement(it,we)}createComment(it){return this.delegate.createComment(it)}createText(it){return this.delegate.createText(it)}appendChild(it,we){this.delegate.appendChild(it,we),this.engine.onInsert(this.namespaceId,we,it,!1)}insertBefore(it,we,dt,qt=!0){this.delegate.insertBefore(it,we,dt),this.engine.onInsert(this.namespaceId,we,it,qt)}removeChild(it,we,dt){this.parentNode(we)&&this.engine.onRemove(this.namespaceId,we,this.delegate)}selectRootElement(it,we){return this.delegate.selectRootElement(it,we)}parentNode(it){return this.delegate.parentNode(it)}nextSibling(it){return this.delegate.nextSibling(it)}setAttribute(it,we,dt,qt){this.delegate.setAttribute(it,we,dt,qt)}removeAttribute(it,we,dt){this.delegate.removeAttribute(it,we,dt)}addClass(it,we){this.delegate.addClass(it,we)}removeClass(it,we){this.delegate.removeClass(it,we)}setStyle(it,we,dt,qt){this.delegate.setStyle(it,we,dt,qt)}removeStyle(it,we,dt){this.delegate.removeStyle(it,we,dt)}setProperty(it,we,dt){"@"==we.charAt(0)&&we==Vl?this.disableAnimations(it,!!dt):this.delegate.setProperty(it,we,dt)}setValue(it,we){this.delegate.setValue(it,we)}listen(it,we,dt){return this.delegate.listen(it,we,dt)}disableAnimations(it,we){this.engine.disableAnimations(it,we)}}class wt extends ot{constructor(it,we,dt,qt,An){super(we,dt,qt,An),this.factory=it,this.namespaceId=we}setProperty(it,we,dt){"@"==we.charAt(0)?"."==we.charAt(1)&&we==Vl?this.disableAnimations(it,dt=void 0===dt||!!dt):this.engine.process(this.namespaceId,it,we.slice(1),dt):this.delegate.setProperty(it,we,dt)}listen(it,we,dt){if("@"==we.charAt(0)){const qt=function ct(yt){switch(yt){case"body":return document.body;case"document":return document;case"window":return window;default:return yt}}(it);let An=we.slice(1),he="";return"@"!=An.charAt(0)&&([An,he]=function Nt(yt){const it=yt.indexOf(".");return[yt.substring(0,it),yt.slice(it+1)]}(An)),this.engine.listen(this.namespaceId,qt,An,he,xe=>{this.factory.scheduleListenerCallback(xe._data||-1,dt,xe)})}return this.delegate.listen(it,we,dt)}}class pn{constructor(it,we,dt){this.delegate=it,this.engine=we,this._zone=dt,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,we.onRemovalComplete=(qt,An)=>{An?.removeChild(null,qt)}}createRenderer(it,we){const qt=this.delegate.createRenderer(it,we);if(!it||!we?.data?.animation){const Ft=this._rendererCache;let Sn=Ft.get(qt);return Sn||(Sn=new ot("",qt,this.engine,()=>Ft.delete(qt)),Ft.set(qt,Sn)),Sn}const An=we.id,he=we.id+"-"+this._currentId;this._currentId++,this.engine.register(he,it);const xe=Ft=>{Array.isArray(Ft)?Ft.forEach(xe):this.engine.registerTrigger(An,he,it,Ft.name,Ft)};return we.data.animation.forEach(xe),new wt(this,he,qt,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(it,we,dt){if(it>=0&&it<this._microtaskId)return void this._zone.run(()=>we(dt));const qt=this._animationCallbacksBuffer;0==qt.length&&queueMicrotask(()=>{this._zone.run(()=>{qt.forEach(An=>{const[he,xe]=An;he(xe)}),this._animationCallbacksBuffer=[]})}),qt.push([we,dt])}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()}}const De=[{provide:h0,useFactory:function je(){return new yi}},{provide:mc,useClass:(()=>{class yt extends mc{constructor(we,dt,qt){super(we,dt,qt)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(m.qQ),a.KVO(L1),a.KVO(h0))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac})}return yt})()},{provide:a._9s,useFactory:function Kn(yt,it,we){return new pn(yt,it,we)},deps:[n.B7,mc,a.SKi]}],Pt=[{provide:L1,useFactory:()=>new qc},{provide:a.bc$,useValue:"BrowserAnimations"},...De],mt=[{provide:L1,useClass:_a},{provide:a.bc$,useValue:"NoopAnimations"},...De];let pi=(()=>{class yt{static withConfig(we){return{ngModule:yt,providers:we.disableAnimations?mt:Pt}}static#e=this.\u0275fac=function(dt){return new(dt||yt)};static#t=this.\u0275mod=a.$C({type:yt});static#n=this.\u0275inj=a.G2t({providers:Pt,imports:[n.Bb]})}return yt})();var to=s(6806),Er=s(43881);const Xr=[g.c.host];let C0=(()=>{class yt{constructor(we){this.sessionManager=we}intercept(we,dt){if(Xr.some(An=>we.url.includes(An))){const An=function S({sessionId:yt,namespace:it,resetCountTo:we},dt=G){const An=Math.floor(Date.now()/1e3).toString(16),he=function Ke(yt=Te){return yt<65535?yt++:yt=0,Te=yt,yt.toString(16).padStart(4,"0")}(we),xe=yt||`nos${dt()}`;return`Root=1-${An}-${ue(it)}${ue(xe)}${he}`}({sessionId:this.sessionManager.getSessionId(),namespace:g.c.ns}),he=we.clone({setHeaders:{"X-Amzn-Trace-Id":An}});return dt.handle(he)}return dt.handle(we)}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(y.Pb))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac})}return yt})();function G(){return Math.floor(1e6*Math.random()+1).toString().padStart(7,"0")}const se=new Map;function ue(yt,it=se){const we=it.get(yt);if(we)return we;const An=yt.substr(0,yt.length>10?10:yt.length).padStart(10,"0");return it.set(yt,An),An}let Te=0,lt=(()=>{class yt{static#e=this.\u0275fac=function(dt){return new(dt||yt)};static#t=this.\u0275mod=a.$C({type:yt});static#n=this.\u0275inj=a.G2t({imports:[m.MD]})}return yt})();var xt=function(yt){return yt[yt.VISIBLE=0]="VISIBLE",yt[yt.HIDDEN=1]="HIDDEN",yt[yt.PRERENDER=2]="PRERENDER",yt[yt.UNLOADED=3]="UNLOADED",yt}(xt||{});let vt=(()=>{class yt{static#e=this.DEFAULT="hidden";static#t=this.MS="msHidden";static#n=this.WEB_KIT="webkitHidden"}return yt})(),$t=(()=>{class yt{static#e=this.VISIBLE="visible";static#t=this.HIDDEN="hidden";static#n=this.PRERENDER="prerender";static#i=this.UNLOADED="unloaded"}return yt})(),an=(()=>{class yt{constructor(we){this.platformId=we,this.onPageVisibleSource=new E.B,this.onPageHiddenSource=new E.B,this.onPagePrerenderSource=new E.B,this.onPageUnloadedSource=new E.B,this.onPageVisibilityChangeSource=new E.B,this.$onPageVisible=this.onPageVisibleSource.asObservable(),this.$onPageHidden=this.onPageHiddenSource.asObservable(),this.$onPagePrerender=this.onPagePrerenderSource.asObservable(),this.$onPageUnloaded=this.onPageUnloadedSource.asObservable(),this.$onPageVisibilityChange=this.onPageVisibilityChangeSource.asObservable(),this.addEventListenerVibilityChange()}isPageVisible(){return $t.VISIBLE===this.getVisibilityState()||!this.isHidden()}isPageHidden(){return $t.HIDDEN===this.getVisibilityState()||this.isHidden()}isPagePrerender(){return $t.PRERENDER===this.getVisibilityState()}isPageUnloaded(){return $t.UNLOADED===this.getVisibilityState()}isHidden(){return document[this.hidden]}getVisibilityState(){return document[this.visibilityState]}defineBrowserSupport(){typeof document[vt.DEFAULT]<"u"?(this.hidden=vt.DEFAULT,this.visibilityChange="visibilitychange",this.visibilityState="visibilityState"):typeof document[vt.MS]<"u"?(this.hidden=vt.MS,this.visibilityChange="msvisibilitychange",this.visibilityState="msVisibilityState"):typeof document[vt.WEB_KIT]<"u"&&(this.hidden=vt.WEB_KIT,this.visibilityChange="webkitvisibilitychange",this.visibilityState="webkitVisibilityState")}addEventListenerVibilityChange(){(0,m.Vy)(this.platformId)||(this.defineBrowserSupport(),document.addEventListener(this.visibilityChange,()=>{switch(this.getVisibilityState()){case $t.VISIBLE:this.onPageVisibilityChangeSource.next(xt.VISIBLE),this.onPageVisibleSource.next();break;case $t.HIDDEN:this.onPageVisibilityChangeSource.next(xt.HIDDEN),this.onPageHiddenSource.next();break;case $t.PRERENDER:this.onPageVisibilityChangeSource.next(xt.PRERENDER),this.onPagePrerenderSource.next();break;case $t.UNLOADED:this.onPageVisibilityChangeSource.next(xt.UNLOADED),this.onPageUnloadedSource.next();break;default:this.isHidden()?(this.onPageVisibilityChangeSource.next(xt.HIDDEN),this.onPageHiddenSource.next()):(this.onPageVisibilityChangeSource.next(xt.VISIBLE),this.onPageVisibleSource.next())}},!1))}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(a.Agw))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();a.zZn.create({providers:[{provide:an,deps:[]}]}).get(an);let ar=(()=>{class yt{static#e=this.\u0275fac=function(dt){return new(dt||yt)};static#t=this.\u0275mod=a.$C({type:yt});static#n=this.\u0275inj=a.G2t({providers:[an]})}return yt})();var Wr=s(2490),mr=s(78798);let $r=(()=>{class yt{constructor(we){this.domainDiscoveryService=we}intercept(we,dt){let An=we;if("http/1.1"===(0,Q.get)(performance.getEntriesByType("navigation"),"[0].nextHopProtocol","h2")&&we.url.includes(g.c.host)&&!we.url.includes("/.encloud/config")){const he=this.domainDiscoveryService.getDomainToUse();An=we.clone({url:we.url.replace(g.c.host,`https://${he}`)})}return dt.handle(An)}static#e=this.\u0275fac=function(dt){return new(dt||yt)(a.KVO(mr.A))};static#t=this.\u0275prov=a.jDH({token:yt,factory:yt.\u0275fac})}return yt})();var va=s(41536);let r1=(()=>{class yt{static#e=this.\u0275fac=function(dt){return new(dt||yt)};static#t=this.\u0275mod=a.$C({type:yt});static#n=this.\u0275inj=a.G2t({imports:[m.MD,va.G]})}return yt})(),K0=(()=>{class yt{static#e=this.\u0275fac=function(dt){return new(dt||yt)};static#t=this.\u0275mod=a.$C({type:yt,bootstrap:[U]});static#n=this.\u0275inj=a.G2t({providers:[Po.g$,Wr.O,{provide:ae.a7,useClass:C0,multi:!0},{provide:ae.a7,useClass:$r,multi:!0},w.rK,w.Ui,w.r6,w.l9,{provide:m.kB,useValue:"/"},(0,ae.$R)((0,ae.Sx)())],imports:[n.Bb,pi,to.V2.forRoot({position:["top","center"],timeOut:5e3,showProgressBar:!1,pauseOnHover:!0,lastOnBottom:!0,clickToClose:!0,clickIconToClose:!1,maxStack:6,theClass:"eim-toast",animate:to.IR.FromTop}),Er.Ez,lt,oa,bi.r,ar,r1,k.YN.withConfig({callSetDisabledState:"whenDisabledForLegacyCode"})]})}return yt})();g.c.production&&(0,a.SmG)(),n.sG().bootstrapModule(K0).catch(yt=>console.log(yt))},62468:at=>{at.exports=function(s,n){return Array.prototype.slice.call(s,n)}},43606:function(at,N,s){at.exports=function(n){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n;var m={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},T=function a(S,G){return S(G={exports:{}},G.exports),G.exports}(function(S){var G={};for(var se in m)m.hasOwnProperty(se)&&(G[m[se]]=se);var ue=S.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var Te in ue)if(ue.hasOwnProperty(Te)){if(!("channels"in ue[Te]))throw new Error("missing channels property: "+Te);if(!("labels"in ue[Te]))throw new Error("missing channel labels property: "+Te);if(ue[Te].labels.length!==ue[Te].channels)throw new Error("channel and label counts mismatch: "+Te);var Ke=ue[Te].channels,lt=ue[Te].labels;delete ue[Te].channels,delete ue[Te].labels,Object.defineProperty(ue[Te],"channels",{value:Ke}),Object.defineProperty(ue[Te],"labels",{value:lt})}function xt(vt,$t){return Math.pow(vt[0]-$t[0],2)+Math.pow(vt[1]-$t[1],2)+Math.pow(vt[2]-$t[2],2)}ue.rgb.hsl=function(vt){var Bi,Ws,$t=vt[0]/255,an=vt[1]/255,fn=vt[2]/255,ti=Math.min($t,an,fn),Ti=Math.max($t,an,fn),Ri=Ti-ti;return Ti===ti?Bi=0:$t===Ti?Bi=(an-fn)/Ri:an===Ti?Bi=2+(fn-$t)/Ri:fn===Ti&&(Bi=4+($t-an)/Ri),(Bi=Math.min(60*Bi,360))<0&&(Bi+=360),Ws=(ti+Ti)/2,[Bi,100*(Ti===ti?0:Ws<=.5?Ri/(Ti+ti):Ri/(2-Ti-ti)),100*Ws]},ue.rgb.hsv=function(vt){var $t,an,fn,ti,Ti,Ri=vt[0]/255,Bi=vt[1]/255,ts=vt[2]/255,Ws=Math.max(Ri,Bi,ts),Wo=Ws-Math.min(Ri,Bi,ts),ro=function(Bo){return(Ws-Bo)/6/Wo+.5};return 0===Wo?ti=Ti=0:(Ti=Wo/Ws,$t=ro(Ri),an=ro(Bi),fn=ro(ts),Ri===Ws?ti=fn-an:Bi===Ws?ti=1/3+$t-fn:ts===Ws&&(ti=2/3+an-$t),ti<0?ti+=1:ti>1&&(ti-=1)),[360*ti,100*Ti,100*Ws]},ue.rgb.hwb=function(vt){var $t=vt[0],an=vt[1],fn=vt[2];return[ue.rgb.hsl(vt)[0],1/255*Math.min($t,Math.min(an,fn))*100,100*(fn=1-1/255*Math.max($t,Math.max(an,fn)))]},ue.rgb.cmyk=function(vt){var Bi,$t=vt[0]/255,an=vt[1]/255,fn=vt[2]/255;return[100*((1-$t-(Bi=Math.min(1-$t,1-an,1-fn)))/(1-Bi)||0),100*((1-an-Bi)/(1-Bi)||0),100*((1-fn-Bi)/(1-Bi)||0),100*Bi]},ue.rgb.keyword=function(vt){var $t=G[vt];if($t)return $t;var fn,an=1/0;for(var ti in m)if(m.hasOwnProperty(ti)){var Ri=xt(vt,m[ti]);Ri<an&&(an=Ri,fn=ti)}return fn},ue.keyword.rgb=function(vt){return m[vt]},ue.rgb.xyz=function(vt){var $t=vt[0]/255,an=vt[1]/255,fn=vt[2]/255;return[100*(.4124*($t=$t>.04045?Math.pow(($t+.055)/1.055,2.4):$t/12.92)+.3576*(an=an>.04045?Math.pow((an+.055)/1.055,2.4):an/12.92)+.1805*(fn=fn>.04045?Math.pow((fn+.055)/1.055,2.4):fn/12.92)),100*(.2126*$t+.7152*an+.0722*fn),100*(.0193*$t+.1192*an+.9505*fn)]},ue.rgb.lab=function(vt){var $t=ue.rgb.xyz(vt),an=$t[0],fn=$t[1],ti=$t[2];return fn/=100,ti/=108.883,an=(an/=95.047)>.008856?Math.pow(an,1/3):7.787*an+16/116,[116*(fn=fn>.008856?Math.pow(fn,1/3):7.787*fn+16/116)-16,500*(an-fn),200*(fn-(ti=ti>.008856?Math.pow(ti,1/3):7.787*ti+16/116))]},ue.hsl.rgb=function(vt){var ti,Ti,Ri,Bi,ts,$t=vt[0]/360,an=vt[1]/100,fn=vt[2]/100;if(0===an)return[ts=255*fn,ts,ts];ti=2*fn-(Ti=fn<.5?fn*(1+an):fn+an-fn*an),Bi=[0,0,0];for(var Ws=0;Ws<3;Ws++)(Ri=$t+1/3*-(Ws-1))<0&&Ri++,Ri>1&&Ri--,Bi[Ws]=255*(ts=6*Ri<1?ti+6*(Ti-ti)*Ri:2*Ri<1?Ti:3*Ri<2?ti+(Ti-ti)*(2/3-Ri)*6:ti);return Bi},ue.hsl.hsv=function(vt){var $t=vt[0],an=vt[1]/100,fn=vt[2]/100,ti=an,Ti=Math.max(fn,.01);return an*=(fn*=2)<=1?fn:2-fn,ti*=Ti<=1?Ti:2-Ti,[$t,100*(0===fn?2*ti/(Ti+ti):2*an/(fn+an)),(fn+an)/2*100]},ue.hsv.rgb=function(vt){var $t=vt[0]/60,an=vt[1]/100,fn=vt[2]/100,ti=Math.floor($t)%6,Ti=$t-Math.floor($t),Ri=255*fn*(1-an),Bi=255*fn*(1-an*Ti),ts=255*fn*(1-an*(1-Ti));switch(fn*=255,ti){case 0:return[fn,ts,Ri];case 1:return[Bi,fn,Ri];case 2:return[Ri,fn,ts];case 3:return[Ri,Bi,fn];case 4:return[ts,Ri,fn];case 5:return[fn,Ri,Bi]}},ue.hsv.hsl=function(vt){var Ti,Ri,Bi,$t=vt[0],an=vt[1]/100,fn=vt[2]/100,ti=Math.max(fn,.01);return Bi=(2-an)*fn,Ri=an*ti,[$t,100*(Ri=(Ri/=(Ti=(2-an)*ti)<=1?Ti:2-Ti)||0),100*(Bi/=2)]},ue.hwb.rgb=function(vt){var Ti,Ri,Bi,ts,Ws,Wo,ro,$t=vt[0]/360,an=vt[1]/100,fn=vt[2]/100,ti=an+fn;switch(ti>1&&(an/=ti,fn/=ti),Bi=6*$t-(Ti=Math.floor(6*$t)),1&Ti&&(Bi=1-Bi),ts=an+Bi*((Ri=1-fn)-an),Ti){default:case 6:case 0:Ws=Ri,Wo=ts,ro=an;break;case 1:Ws=ts,Wo=Ri,ro=an;break;case 2:Ws=an,Wo=Ri,ro=ts;break;case 3:Ws=an,Wo=ts,ro=Ri;break;case 4:Ws=ts,Wo=an,ro=Ri;break;case 5:Ws=Ri,Wo=an,ro=ts}return[255*Ws,255*Wo,255*ro]},ue.cmyk.rgb=function(vt){var an=vt[1]/100,fn=vt[2]/100,ti=vt[3]/100;return[255*(1-Math.min(1,vt[0]/100*(1-ti)+ti)),255*(1-Math.min(1,an*(1-ti)+ti)),255*(1-Math.min(1,fn*(1-ti)+ti))]},ue.xyz.rgb=function(vt){var ti,Ti,Ri,$t=vt[0]/100,an=vt[1]/100,fn=vt[2]/100;return Ti=-.9689*$t+1.8758*an+.0415*fn,Ri=.0557*$t+-.204*an+1.057*fn,ti=(ti=3.2406*$t+-1.5372*an+-.4986*fn)>.0031308?1.055*Math.pow(ti,1/2.4)-.055:12.92*ti,Ti=Ti>.0031308?1.055*Math.pow(Ti,1/2.4)-.055:12.92*Ti,Ri=Ri>.0031308?1.055*Math.pow(Ri,1/2.4)-.055:12.92*Ri,[255*(ti=Math.min(Math.max(0,ti),1)),255*(Ti=Math.min(Math.max(0,Ti),1)),255*(Ri=Math.min(Math.max(0,Ri),1))]},ue.xyz.lab=function(vt){var $t=vt[0],an=vt[1],fn=vt[2];return an/=100,fn/=108.883,$t=($t/=95.047)>.008856?Math.pow($t,1/3):7.787*$t+16/116,[116*(an=an>.008856?Math.pow(an,1/3):7.787*an+16/116)-16,500*($t-an),200*(an-(fn=fn>.008856?Math.pow(fn,1/3):7.787*fn+16/116))]},ue.lab.xyz=function(vt){var ti,Ti,Ri;ti=vt[1]/500+(Ti=(vt[0]+16)/116),Ri=Ti-vt[2]/200;var Bi=Math.pow(Ti,3),ts=Math.pow(ti,3),Ws=Math.pow(Ri,3);return Ti=Bi>.008856?Bi:(Ti-16/116)/7.787,ti=ts>.008856?ts:(ti-16/116)/7.787,Ri=Ws>.008856?Ws:(Ri-16/116)/7.787,[ti*=95.047,Ti*=100,Ri*=108.883]},ue.lab.lch=function(vt){var Ti,$t=vt[0],an=vt[1],fn=vt[2];return(Ti=360*Math.atan2(fn,an)/2/Math.PI)<0&&(Ti+=360),[$t,Math.sqrt(an*an+fn*fn),Ti]},ue.lch.lab=function(vt){var Ri,an=vt[1];return Ri=vt[2]/360*2*Math.PI,[vt[0],an*Math.cos(Ri),an*Math.sin(Ri)]},ue.rgb.ansi16=function(vt){var $t=vt[0],an=vt[1],fn=vt[2],ti=1 in arguments?arguments[1]:ue.rgb.hsv(vt)[2];if(0===(ti=Math.round(ti/50)))return 30;var Ti=30+(Math.round(fn/255)<<2|Math.round(an/255)<<1|Math.round($t/255));return 2===ti&&(Ti+=60),Ti},ue.hsv.ansi16=function(vt){return ue.rgb.ansi16(ue.hsv.rgb(vt),vt[2])},ue.rgb.ansi256=function(vt){var $t=vt[0],an=vt[1],fn=vt[2];return $t===an&&an===fn?$t<8?16:$t>248?231:Math.round(($t-8)/247*24)+232:16+36*Math.round($t/255*5)+6*Math.round(an/255*5)+Math.round(fn/255*5)},ue.ansi16.rgb=function(vt){var $t=vt%10;if(0===$t||7===$t)return vt>50&&($t+=3.5),[$t=$t/10.5*255,$t,$t];var an=.5*(1+~~(vt>50));return[(1&$t)*an*255,($t>>1&1)*an*255,($t>>2&1)*an*255]},ue.ansi256.rgb=function(vt){if(vt>=232){var $t=10*(vt-232)+8;return[$t,$t,$t]}var an;return vt-=16,[Math.floor(vt/36)/5*255,Math.floor((an=vt%36)/6)/5*255,an%6/5*255]},ue.rgb.hex=function(vt){var an=(((255&Math.round(vt[0]))<<16)+((255&Math.round(vt[1]))<<8)+(255&Math.round(vt[2]))).toString(16).toUpperCase();return"000000".substring(an.length)+an},ue.hex.rgb=function(vt){var $t=vt.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!$t)return[0,0,0];var an=$t[0];3===$t[0].length&&(an=an.split("").map(function(Bi){return Bi+Bi}).join(""));var fn=parseInt(an,16);return[fn>>16&255,fn>>8&255,255&fn]},ue.rgb.hcg=function(vt){var ts,$t=vt[0]/255,an=vt[1]/255,fn=vt[2]/255,ti=Math.max(Math.max($t,an),fn),Ti=Math.min(Math.min($t,an),fn),Ri=ti-Ti;return ts=Ri<=0?0:ti===$t?(an-fn)/Ri%6:ti===an?2+(fn-$t)/Ri:4+($t-an)/Ri+4,ts/=6,[360*(ts%=1),100*Ri,100*(Ri<1?Ti/(1-Ri):0)]},ue.hsl.hcg=function(vt){var fn,$t=vt[1]/100,an=vt[2]/100,ti=0;return(fn=an<.5?2*$t*an:2*$t*(1-an))<1&&(ti=(an-.5*fn)/(1-fn)),[vt[0],100*fn,100*ti]},ue.hsv.hcg=function(vt){var an=vt[2]/100,fn=vt[1]/100*an,ti=0;return fn<1&&(ti=(an-fn)/(1-fn)),[vt[0],100*fn,100*ti]},ue.hcg.rgb=function(vt){var an=vt[1]/100,fn=vt[2]/100;if(0===an)return[255*fn,255*fn,255*fn];var ts,ti=[0,0,0],Ti=vt[0]/360%1*6,Ri=Ti%1,Bi=1-Ri;switch(Math.floor(Ti)){case 0:ti[0]=1,ti[1]=Ri,ti[2]=0;break;case 1:ti[0]=Bi,ti[1]=1,ti[2]=0;break;case 2:ti[0]=0,ti[1]=1,ti[2]=Ri;break;case 3:ti[0]=0,ti[1]=Bi,ti[2]=1;break;case 4:ti[0]=Ri,ti[1]=0,ti[2]=1;break;default:ti[0]=1,ti[1]=0,ti[2]=Bi}return[255*(an*ti[0]+(ts=(1-an)*fn)),255*(an*ti[1]+ts),255*(an*ti[2]+ts)]},ue.hcg.hsv=function(vt){var $t=vt[1]/100,fn=$t+vt[2]/100*(1-$t),ti=0;return fn>0&&(ti=$t/fn),[vt[0],100*ti,100*fn]},ue.hcg.hsl=function(vt){var $t=vt[1]/100,fn=vt[2]/100*(1-$t)+.5*$t,ti=0;return fn>0&&fn<.5?ti=$t/(2*fn):fn>=.5&&fn<1&&(ti=$t/(2*(1-fn))),[vt[0],100*ti,100*fn]},ue.hcg.hwb=function(vt){var $t=vt[1]/100,fn=$t+vt[2]/100*(1-$t);return[vt[0],100*(fn-$t),100*(1-fn)]},ue.hwb.hcg=function(vt){var fn=1-vt[2]/100,ti=fn-vt[1]/100,Ti=0;return ti<1&&(Ti=(fn-ti)/(1-ti)),[vt[0],100*ti,100*Ti]},ue.apple.rgb=function(vt){return[vt[0]/65535*255,vt[1]/65535*255,vt[2]/65535*255]},ue.rgb.apple=function(vt){return[vt[0]/255*65535,vt[1]/255*65535,vt[2]/255*65535]},ue.gray.rgb=function(vt){return[vt[0]/100*255,vt[0]/100*255,vt[0]/100*255]},ue.gray.hsl=ue.gray.hsv=function(vt){return[0,0,vt[0]]},ue.gray.hwb=function(vt){return[0,100,vt[0]]},ue.gray.cmyk=function(vt){return[0,0,0,vt[0]]},ue.gray.lab=function(vt){return[vt[0],0,0]},ue.gray.hex=function(vt){var $t=255&Math.round(vt[0]/100*255),fn=(($t<<16)+($t<<8)+$t).toString(16).toUpperCase();return"000000".substring(fn.length)+fn},ue.rgb.gray=function(vt){return[(vt[0]+vt[1]+vt[2])/3/255*100]}});function Y(S){var G=function k(){for(var S={},G=Object.keys(T),se=G.length,ue=0;ue<se;ue++)S[G[ue]]={distance:-1,parent:null};return S}(),se=[S];for(G[S].distance=0;se.length;)for(var ue=se.pop(),Te=Object.keys(T[ue]),Ke=Te.length,lt=0;lt<Ke;lt++){var xt=Te[lt],vt=G[xt];-1===vt.distance&&(vt.distance=G[ue].distance+1,vt.parent=ue,se.unshift(xt))}return G}function x(S,G){return function(se){return G(S(se))}}function B(S,G){for(var se=[G[S].parent,S],ue=T[G[S].parent][S],Te=G[S].parent;G[Te].parent;)se.unshift(G[Te].parent),ue=x(T[G[Te].parent][Te],ue),Te=G[Te].parent;return ue.conversion=se,ue}var $={};Object.keys(T).forEach(function(S){$[S]={},Object.defineProperty($[S],"channels",{value:T[S].channels}),Object.defineProperty($[S],"labels",{value:T[S].labels});var G=function(S){for(var G=Y(S),se={},ue=Object.keys(G),Te=ue.length,Ke=0;Ke<Te;Ke++){var lt=ue[Ke];null!==G[lt].parent&&(se[lt]=B(lt,G))}return se}(S);Object.keys(G).forEach(function(ue){var Te=G[ue];$[S][ue]=function ne(S){var G=function(se){if(null==se)return se;arguments.length>1&&(se=Array.prototype.slice.call(arguments));var ue=S(se);if("object"==typeof ue)for(var Te=ue.length,Ke=0;Ke<Te;Ke++)ue[Ke]=Math.round(ue[Ke]);return ue};return"conversion"in S&&(G.conversion=S.conversion),G}(Te),$[S][ue].raw=function ie(S){var G=function(se){return null==se?se:(arguments.length>1&&(se=Array.prototype.slice.call(arguments)),S(se))};return"conversion"in S&&(G.conversion=S.conversion),G}(Te)})});var Q=$,le={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},pe={getRgba:te,getHsla:ae,getRgb:function de(S){var G=te(S);return G&&G.slice(0,3)},getHsl:function Me(S){var G=ae(S);return G&&G.slice(0,3)},getHwb:K,getAlpha:function me(S){var G=te(S);return G||(G=ae(S))||(G=K(S))?G[3]:void 0},hexString:function be(S,se){return se=void 0!==se&&3===S.length?se:S[3],"#"+Ct(S[0])+Ct(S[1])+Ct(S[2])+(se>=0&&se<1?Ct(Math.round(255*se)):"")},rgbString:function Le(S,G){return G<1||S[3]&&S[3]<1?Ae(S,G):"rgb("+S[0]+", "+S[1]+", "+S[2]+")"},rgbaString:Ae,percentString:function Oe(S,G){return G<1||S[3]&&S[3]<1?Xe(S,G):"rgb("+Math.round(S[0]/255*100)+"%, "+Math.round(S[1]/255*100)+"%, "+Math.round(S[2]/255*100)+"%)"},percentaString:Xe,hslString:function Pe(S,G){return G<1||S[3]&&S[3]<1?$e(S,G):"hsl("+S[0]+", "+S[1]+"%, "+S[2]+"%)"},hslaString:$e,hwbString:function ze(S,G){return void 0===G&&(G=void 0!==S[3]?S[3]:1),"hwb("+S[0]+", "+S[1]+"%, "+S[2]+"%"+(void 0!==G&&1!==G?", "+G:"")+")"},keyword:function Be(S){return Lt[S.slice(0,3)]}};function te(S){if(S){var lt=[0,0,0],xt=1,vt=S.match(/^#([a-fA-F0-9]{3,4})$/i),$t="";if(vt){$t=(vt=vt[1])[3];for(var an=0;an<lt.length;an++)lt[an]=parseInt(vt[an]+vt[an],16);$t&&(xt=Math.round(parseInt($t+$t,16)/255*100)/100)}else if(vt=S.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for($t=vt[2],vt=vt[1],an=0;an<lt.length;an++)lt[an]=parseInt(vt.slice(2*an,2*an+2),16);$t&&(xt=Math.round(parseInt($t,16)/255*100)/100)}else if(vt=S.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(an=0;an<lt.length;an++)lt[an]=parseInt(vt[an+1]);xt=parseFloat(vt[4])}else if(vt=S.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(an=0;an<lt.length;an++)lt[an]=Math.round(2.55*parseFloat(vt[an+1]));xt=parseFloat(vt[4])}else if(vt=S.match(/(\w+)/)){if("transparent"==vt[1])return[0,0,0,0];if(!(lt=le[vt[1]]))return}for(an=0;an<lt.length;an++)lt[an]=Ye(lt[an],0,255);return xt=xt||0==xt?Ye(xt,0,1):1,lt[3]=xt,lt}}function ae(S){if(S){var se=S.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(se){var ue=parseFloat(se[4]);return[Ye(parseInt(se[1]),0,360),Ye(parseFloat(se[2]),0,100),Ye(parseFloat(se[3]),0,100),Ye(isNaN(ue)?1:ue,0,1)]}}}function K(S){if(S){var se=S.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(se){var ue=parseFloat(se[4]);return[Ye(parseInt(se[1]),0,360),Ye(parseFloat(se[2]),0,100),Ye(parseFloat(se[3]),0,100),Ye(isNaN(ue)?1:ue,0,1)]}}}function Ae(S,G){return void 0===G&&(G=void 0!==S[3]?S[3]:1),"rgba("+S[0]+", "+S[1]+", "+S[2]+", "+G+")"}function Xe(S,G){return"rgba("+Math.round(S[0]/255*100)+"%, "+Math.round(S[1]/255*100)+"%, "+Math.round(S[2]/255*100)+"%, "+(G||S[3]||1)+")"}function $e(S,G){return void 0===G&&(G=void 0!==S[3]?S[3]:1),"hsla("+S[0]+", "+S[1]+"%, "+S[2]+"%, "+G+")"}function Ye(S,G,se){return Math.min(Math.max(G,S),se)}function Ct(S){var G=S.toString(16).toUpperCase();return G.length<2?"0"+G:G}var Lt={};for(var Vt in le)Lt[le[Vt]]=Vt;var ht=function(S){return S instanceof ht?S:this instanceof ht?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof S?(G=pe.getRgba(S))?this.setValues("rgb",G):(G=pe.getHsla(S))?this.setValues("hsl",G):(G=pe.getHwb(S))&&this.setValues("hwb",G):"object"==typeof S&&(void 0!==(G=S).r||void 0!==G.red?this.setValues("rgb",G):void 0!==G.l||void 0!==G.lightness?this.setValues("hsl",G):void 0!==G.v||void 0!==G.value?this.setValues("hsv",G):void 0!==G.w||void 0!==G.whiteness?this.setValues("hwb",G):(void 0!==G.c||void 0!==G.cyan)&&this.setValues("cmyk",G)))):new ht(S);var G};ht.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var S=this.values;return 1!==S.alpha?S.hwb.concat([S.alpha]):S.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var S=this.values;return S.rgb.concat([S.alpha])},hslaArray:function(){var S=this.values;return S.hsl.concat([S.alpha])},alpha:function(S){return void 0===S?this.values.alpha:(this.setValues("alpha",S),this)},red:function(S){return this.setChannel("rgb",0,S)},green:function(S){return this.setChannel("rgb",1,S)},blue:function(S){return this.setChannel("rgb",2,S)},hue:function(S){return S&&(S=(S%=360)<0?360+S:S),this.setChannel("hsl",0,S)},saturation:function(S){return this.setChannel("hsl",1,S)},lightness:function(S){return this.setChannel("hsl",2,S)},saturationv:function(S){return this.setChannel("hsv",1,S)},whiteness:function(S){return this.setChannel("hwb",1,S)},blackness:function(S){return this.setChannel("hwb",2,S)},value:function(S){return this.setChannel("hsv",2,S)},cyan:function(S){return this.setChannel("cmyk",0,S)},magenta:function(S){return this.setChannel("cmyk",1,S)},yellow:function(S){return this.setChannel("cmyk",2,S)},black:function(S){return this.setChannel("cmyk",3,S)},hexString:function(){return pe.hexString(this.values.rgb)},rgbString:function(){return pe.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return pe.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return pe.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return pe.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return pe.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return pe.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return pe.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var S=this.values.rgb;return S[0]<<16|S[1]<<8|S[2]},luminosity:function(){for(var S=this.values.rgb,G=[],se=0;se<S.length;se++){var ue=S[se]/255;G[se]=ue<=.03928?ue/12.92:Math.pow((ue+.055)/1.055,2.4)}return.2126*G[0]+.7152*G[1]+.0722*G[2]},contrast:function(S){var G=this.luminosity(),se=S.luminosity();return G>se?(G+.05)/(se+.05):(se+.05)/(G+.05)},level:function(S){var G=this.contrast(S);return G>=7.1?"AAA":G>=4.5?"AA":""},dark:function(){var S=this.values.rgb;return(299*S[0]+587*S[1]+114*S[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var S=[],G=0;G<3;G++)S[G]=255-this.values.rgb[G];return this.setValues("rgb",S),this},lighten:function(S){var G=this.values.hsl;return G[2]+=G[2]*S,this.setValues("hsl",G),this},darken:function(S){var G=this.values.hsl;return G[2]-=G[2]*S,this.setValues("hsl",G),this},saturate:function(S){var G=this.values.hsl;return G[1]+=G[1]*S,this.setValues("hsl",G),this},desaturate:function(S){var G=this.values.hsl;return G[1]-=G[1]*S,this.setValues("hsl",G),this},whiten:function(S){var G=this.values.hwb;return G[1]+=G[1]*S,this.setValues("hwb",G),this},blacken:function(S){var G=this.values.hwb;return G[2]+=G[2]*S,this.setValues("hwb",G),this},greyscale:function(){var S=this.values.rgb,G=.3*S[0]+.59*S[1]+.11*S[2];return this.setValues("rgb",[G,G,G]),this},clearer:function(S){var G=this.values.alpha;return this.setValues("alpha",G-G*S),this},opaquer:function(S){var G=this.values.alpha;return this.setValues("alpha",G+G*S),this},rotate:function(S){var G=this.values.hsl,se=(G[0]+S)%360;return G[0]=se<0?360+se:se,this.setValues("hsl",G),this},mix:function(S,G){var se=this,ue=S,Te=void 0===G?.5:G,Ke=2*Te-1,lt=se.alpha()-ue.alpha(),xt=((Ke*lt==-1?Ke:(Ke+lt)/(1+Ke*lt))+1)/2,vt=1-xt;return this.rgb(xt*se.red()+vt*ue.red(),xt*se.green()+vt*ue.green(),xt*se.blue()+vt*ue.blue()).alpha(se.alpha()*Te+ue.alpha()*(1-Te))},toJSON:function(){return this.rgb()},clone:function(){var ue,Te,S=new ht,G=this.values,se=S.values;for(var Ke in G)G.hasOwnProperty(Ke)&&("[object Array]"===(Te={}.toString.call(ue=G[Ke]))?se[Ke]=ue.slice(0):"[object Number]"===Te?se[Ke]=ue:console.error("unexpected color value:",ue));return S}},ht.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},ht.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},ht.prototype.getValues=function(S){for(var G=this.values,se={},ue=0;ue<S.length;ue++)se[S.charAt(ue)]=G[S][ue];return 1!==G.alpha&&(se.a=G.alpha),se},ht.prototype.setValues=function(S,G){var lt,vt,se=this.values,ue=this.spaces,Te=this.maxes,Ke=1;if(this.valid=!0,"alpha"===S)Ke=G;else if(G.length)se[S]=G.slice(0,S.length),Ke=G[S.length];else if(void 0!==G[S.charAt(0)]){for(lt=0;lt<S.length;lt++)se[S][lt]=G[S.charAt(lt)];Ke=G.a}else if(void 0!==G[ue[S][0]]){var xt=ue[S];for(lt=0;lt<S.length;lt++)se[S][lt]=G[xt[lt]];Ke=G.alpha}if(se.alpha=Math.max(0,Math.min(1,void 0===Ke?se.alpha:Ke)),"alpha"===S)return!1;for(lt=0;lt<S.length;lt++)vt=Math.max(0,Math.min(Te[S][lt],se[S][lt])),se[S][lt]=Math.round(vt);for(var $t in ue)$t!==S&&(se[$t]=Q[S][$t](se[S]));return!0},ht.prototype.setSpace=function(S,G){var se=G[0];return void 0===se?this.getValues(S):("number"==typeof se&&(se=Array.prototype.slice.call(G)),this.setValues(S,se),this)},ht.prototype.setChannel=function(S,G,se){var ue=this.values[S];return void 0===se?ue[G]:(se===ue[G]||(ue[G]=se,this.setValues(S,ue)),this)},typeof window<"u"&&(window.Color=ht);var gt=ht;function Ge(S){return-1===["__proto__","prototype","constructor"].indexOf(S)}var Se={noop:function(){},uid:function(){var S=0;return function(){return S++}}(),isNullOrUndef:function(S){return null===S||typeof S>"u"},isArray:function(S){if(Array.isArray&&Array.isArray(S))return!0;var G=Object.prototype.toString.call(S);return"[object"===G.substr(0,7)&&"Array]"===G.substr(-6)},isObject:function(S){return null!==S&&"[object Object]"===Object.prototype.toString.call(S)},isFinite:function(S){return("number"==typeof S||S instanceof Number)&&isFinite(S)},valueOrDefault:function(S,G){return typeof S>"u"?G:S},valueAtIndexOrDefault:function(S,G,se){return Se.valueOrDefault(Se.isArray(S)?S[G]:S,se)},callback:function(S,G,se){if(S&&"function"==typeof S.call)return S.apply(se,G)},each:function(S,G,se,ue){var Te,Ke,lt;if(Se.isArray(S))if(Ke=S.length,ue)for(Te=Ke-1;Te>=0;Te--)G.call(se,S[Te],Te);else for(Te=0;Te<Ke;Te++)G.call(se,S[Te],Te);else if(Se.isObject(S))for(Ke=(lt=Object.keys(S)).length,Te=0;Te<Ke;Te++)G.call(se,S[lt[Te]],lt[Te])},arrayEquals:function(S,G){var se,ue,Te,Ke;if(!S||!G||S.length!==G.length)return!1;for(se=0,ue=S.length;se<ue;++se)if(Ke=G[se],(Te=S[se])instanceof Array&&Ke instanceof Array){if(!Se.arrayEquals(Te,Ke))return!1}else if(Te!==Ke)return!1;return!0},clone:function(S){if(Se.isArray(S))return S.map(Se.clone);if(Se.isObject(S)){for(var G=Object.create(S),se=Object.keys(S),ue=se.length,Te=0;Te<ue;++Te)G[se[Te]]=Se.clone(S[se[Te]]);return G}return S},_merger:function(S,G,se,ue){if(Ge(S)){var Te=G[S],Ke=se[S];Se.isObject(Te)&&Se.isObject(Ke)?Se.merge(Te,Ke,ue):G[S]=Se.clone(Ke)}},_mergerIf:function(S,G,se){if(Ge(S)){var ue=G[S],Te=se[S];Se.isObject(ue)&&Se.isObject(Te)?Se.mergeIf(ue,Te):G.hasOwnProperty(S)||(G[S]=Se.clone(Te))}},merge:function(S,G,se){var Ke,lt,xt,vt,$t,ue=Se.isArray(G)?G:[G],Te=ue.length;if(!Se.isObject(S))return S;for(Ke=(se=se||{}).merger||Se._merger,lt=0;lt<Te;++lt)if(Se.isObject(G=ue[lt]))for($t=0,vt=(xt=Object.keys(G)).length;$t<vt;++$t)Ke(xt[$t],S,G,se);return S},mergeIf:function(S,G){return Se.merge(S,G,{merger:Se._mergerIf})},extend:Object.assign||function(S){return Se.merge(S,[].slice.call(arguments,1),{merger:function(G,se,ue){se[G]=ue[G]}})},inherits:function(S){var G=this,se=S&&S.hasOwnProperty("constructor")?S.constructor:function(){return G.apply(this,arguments)},ue=function(){this.constructor=se};return ue.prototype=G.prototype,se.prototype=new ue,se.extend=Se.inherits,S&&Se.extend(se.prototype,S),se.__super__=G.prototype,se},_deprecated:function(S,G,se,ue){void 0!==G&&console.warn(S+': "'+se+'" is deprecated. Please use "'+ue+'" instead')}},ke=Se;Se.callCallback=Se.callback,Se.indexOf=function(S,G,se){return Array.prototype.indexOf.call(S,G,se)},Se.getValueOrDefault=Se.valueOrDefault,Se.getValueAtIndexOrDefault=Se.valueAtIndexOrDefault;var Ne={linear:function(S){return S},easeInQuad:function(S){return S*S},easeOutQuad:function(S){return-S*(S-2)},easeInOutQuad:function(S){return(S/=.5)<1?.5*S*S:-.5*(--S*(S-2)-1)},easeInCubic:function(S){return S*S*S},easeOutCubic:function(S){return(S-=1)*S*S+1},easeInOutCubic:function(S){return(S/=.5)<1?.5*S*S*S:.5*((S-=2)*S*S+2)},easeInQuart:function(S){return S*S*S*S},easeOutQuart:function(S){return-((S-=1)*S*S*S-1)},easeInOutQuart:function(S){return(S/=.5)<1?.5*S*S*S*S:-.5*((S-=2)*S*S*S-2)},easeInQuint:function(S){return S*S*S*S*S},easeOutQuint:function(S){return(S-=1)*S*S*S*S+1},easeInOutQuint:function(S){return(S/=.5)<1?.5*S*S*S*S*S:.5*((S-=2)*S*S*S*S+2)},easeInSine:function(S){return 1-Math.cos(S*(Math.PI/2))},easeOutSine:function(S){return Math.sin(S*(Math.PI/2))},easeInOutSine:function(S){return-.5*(Math.cos(Math.PI*S)-1)},easeInExpo:function(S){return 0===S?0:Math.pow(2,10*(S-1))},easeOutExpo:function(S){return 1===S?1:1-Math.pow(2,-10*S)},easeInOutExpo:function(S){return 0===S?0:1===S?1:(S/=.5)<1?.5*Math.pow(2,10*(S-1)):.5*(2-Math.pow(2,-10*--S))},easeInCirc:function(S){return S>=1?S:-(Math.sqrt(1-S*S)-1)},easeOutCirc:function(S){return Math.sqrt(1-(S-=1)*S)},easeInOutCirc:function(S){return(S/=.5)<1?-.5*(Math.sqrt(1-S*S)-1):.5*(Math.sqrt(1-(S-=2)*S)+1)},easeInElastic:function(S){var G=1.70158,se=0,ue=1;return 0===S?0:1===S?1:(se||(se=.3),ue<1?(ue=1,G=se/4):G=se/(2*Math.PI)*Math.asin(1/ue),-ue*Math.pow(2,10*(S-=1))*Math.sin((S-G)*(2*Math.PI)/se))},easeOutElastic:function(S){var G=1.70158,se=0,ue=1;return 0===S?0:1===S?1:(se||(se=.3),ue<1?(ue=1,G=se/4):G=se/(2*Math.PI)*Math.asin(1/ue),ue*Math.pow(2,-10*S)*Math.sin((S-G)*(2*Math.PI)/se)+1)},easeInOutElastic:function(S){var G=1.70158,se=0,ue=1;return 0===S?0:2==(S/=.5)?1:(se||(se=.45),ue<1?(ue=1,G=se/4):G=se/(2*Math.PI)*Math.asin(1/ue),S<1?ue*Math.pow(2,10*(S-=1))*Math.sin((S-G)*(2*Math.PI)/se)*-.5:ue*Math.pow(2,-10*(S-=1))*Math.sin((S-G)*(2*Math.PI)/se)*.5+1)},easeInBack:function(S){var G=1.70158;return S*S*((G+1)*S-G)},easeOutBack:function(S){var G=1.70158;return(S-=1)*S*((G+1)*S+G)+1},easeInOutBack:function(S){var G=1.70158;return(S/=.5)<1?S*S*((1+(G*=1.525))*S-G)*.5:.5*((S-=2)*S*((1+(G*=1.525))*S+G)+2)},easeInBounce:function(S){return 1-Ne.easeOutBounce(1-S)},easeOutBounce:function(S){return S<1/2.75?7.5625*S*S:S<2/2.75?7.5625*(S-=1.5/2.75)*S+.75:S<2.5/2.75?7.5625*(S-=2.25/2.75)*S+.9375:7.5625*(S-=2.625/2.75)*S+.984375},easeInOutBounce:function(S){return S<.5?.5*Ne.easeInBounce(2*S):.5*Ne.easeOutBounce(2*S-1)+.5}},Je={effects:Ne};ke.easingEffects=Ne;var Qe=Math.PI,rt=Qe/180,ft=2*Qe,Xt=Qe/2,It=Qe/4,In=2*Qe/3,Kt={clear:function(S){S.ctx.clearRect(0,0,S.width,S.height)},roundedRect:function(S,G,se,ue,Te,Ke){if(Ke){var lt=Math.min(Ke,Te/2,ue/2),xt=G+lt,vt=se+lt,$t=G+ue-lt,an=se+Te-lt;S.moveTo(G,vt),xt<$t&&vt<an?(S.arc(xt,vt,lt,-Qe,-Xt),S.arc($t,vt,lt,-Xt,0),S.arc($t,an,lt,0,Xt),S.arc(xt,an,lt,Xt,Qe)):xt<$t?(S.moveTo(xt,se),S.arc($t,vt,lt,-Xt,Xt),S.arc(xt,vt,lt,Xt,Qe+Xt)):vt<an?(S.arc(xt,vt,lt,-Qe,0),S.arc(xt,an,lt,0,Qe)):S.arc(xt,vt,lt,-Qe,Qe),S.closePath(),S.moveTo(G,se)}else S.rect(G,se,ue,Te)},drawPoint:function(S,G,se,ue,Te,Ke){var lt,xt,vt,$t,an,fn=(Ke||0)*rt;if(G&&"object"==typeof G&&("[object HTMLImageElement]"===(lt=G.toString())||"[object HTMLCanvasElement]"===lt))return S.save(),S.translate(ue,Te),S.rotate(fn),S.drawImage(G,-G.width/2,-G.height/2,G.width,G.height),void S.restore();if(!(isNaN(se)||se<=0)){switch(S.beginPath(),G){default:S.arc(ue,Te,se,0,ft),S.closePath();break;case"triangle":S.moveTo(ue+Math.sin(fn)*se,Te-Math.cos(fn)*se),fn+=In,S.lineTo(ue+Math.sin(fn)*se,Te-Math.cos(fn)*se),fn+=In,S.lineTo(ue+Math.sin(fn)*se,Te-Math.cos(fn)*se),S.closePath();break;case"rectRounded":$t=se-(an=.516*se),xt=Math.cos(fn+It)*$t,vt=Math.sin(fn+It)*$t,S.arc(ue-xt,Te-vt,an,fn-Qe,fn-Xt),S.arc(ue+vt,Te-xt,an,fn-Xt,fn),S.arc(ue+xt,Te+vt,an,fn,fn+Xt),S.arc(ue-vt,Te+xt,an,fn+Xt,fn+Qe),S.closePath();break;case"rect":if(!Ke){$t=Math.SQRT1_2*se,S.rect(ue-$t,Te-$t,2*$t,2*$t);break}fn+=It;case"rectRot":xt=Math.cos(fn)*se,vt=Math.sin(fn)*se,S.moveTo(ue-xt,Te-vt),S.lineTo(ue+vt,Te-xt),S.lineTo(ue+xt,Te+vt),S.lineTo(ue-vt,Te+xt),S.closePath();break;case"crossRot":fn+=It;case"cross":xt=Math.cos(fn)*se,vt=Math.sin(fn)*se,S.moveTo(ue-xt,Te-vt),S.lineTo(ue+xt,Te+vt),S.moveTo(ue+vt,Te-xt),S.lineTo(ue-vt,Te+xt);break;case"star":xt=Math.cos(fn)*se,vt=Math.sin(fn)*se,S.moveTo(ue-xt,Te-vt),S.lineTo(ue+xt,Te+vt),S.moveTo(ue+vt,Te-xt),S.lineTo(ue-vt,Te+xt),fn+=It,xt=Math.cos(fn)*se,vt=Math.sin(fn)*se,S.moveTo(ue-xt,Te-vt),S.lineTo(ue+xt,Te+vt),S.moveTo(ue+vt,Te-xt),S.lineTo(ue-vt,Te+xt);break;case"line":xt=Math.cos(fn)*se,vt=Math.sin(fn)*se,S.moveTo(ue-xt,Te-vt),S.lineTo(ue+xt,Te+vt);break;case"dash":S.moveTo(ue,Te),S.lineTo(ue+Math.cos(fn)*se,Te+Math.sin(fn)*se)}S.fill(),S.stroke()}},_isPointInArea:function(S,G){var se=1e-6;return S.x>G.left-se&&S.x<G.right+se&&S.y>G.top-se&&S.y<G.bottom+se},clipArea:function(S,G){S.save(),S.beginPath(),S.rect(G.left,G.top,G.right-G.left,G.bottom-G.top),S.clip()},unclipArea:function(S){S.restore()},lineTo:function(S,G,se,ue){var Te=se.steppedLine;if(Te){if("middle"===Te){var Ke=(G.x+se.x)/2;S.lineTo(Ke,ue?se.y:G.y),S.lineTo(Ke,ue?G.y:se.y)}else"after"===Te&&!ue||"after"!==Te&&ue?S.lineTo(G.x,se.y):S.lineTo(se.x,G.y);S.lineTo(se.x,se.y)}else se.tension?S.bezierCurveTo(ue?G.controlPointPreviousX:G.controlPointNextX,ue?G.controlPointPreviousY:G.controlPointNextY,ue?se.controlPointNextX:se.controlPointPreviousX,ue?se.controlPointNextY:se.controlPointPreviousY,se.x,se.y):S.lineTo(se.x,se.y)}},Ze=Kt;ke.clear=Kt.clear,ke.drawRoundedRectangle=function(S){S.beginPath(),Kt.roundedRect.apply(Kt,arguments)};var wn={_set:function(S,G){return ke.merge(this[S]||(this[S]={}),G)}};wn._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var zn=wn,di=ke.valueOrDefault;var Di={toLineHeight:function(S,G){var se=(""+S).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!se||"normal"===se[1])return 1.2*G;switch(S=+se[2],se[3]){case"px":return S;case"%":S/=100}return G*S},toPadding:function(S){var G,se,ue,Te;return ke.isObject(S)?(G=+S.top||0,se=+S.right||0,ue=+S.bottom||0,Te=+S.left||0):G=se=ue=Te=+S||0,{top:G,right:se,bottom:ue,left:Te,height:G+ue,width:Te+se}},_parseFont:function(S){var G=zn.global,se=di(S.fontSize,G.defaultFontSize),ue={family:di(S.fontFamily,G.defaultFontFamily),lineHeight:ke.options.toLineHeight(di(S.lineHeight,G.defaultLineHeight),se),size:se,style:di(S.fontStyle,G.defaultFontStyle),weight:null,string:""};return ue.string=function jn(S){return!S||ke.isNullOrUndef(S.size)||ke.isNullOrUndef(S.family)?null:(S.style?S.style+" ":"")+(S.weight?S.weight+" ":"")+S.size+"px "+S.family}(ue),ue},resolve:function(S,G,se,ue){var Ke,lt,xt,Te=!0;for(Ke=0,lt=S.length;Ke<lt;++Ke)if(void 0!==(xt=S[Ke])&&(void 0!==G&&"function"==typeof xt&&(xt=xt(G),Te=!1),void 0!==se&&ke.isArray(xt)&&(xt=xt[se],Te=!1),void 0!==xt))return ue&&!Te&&(ue.cacheable=!1),xt}},Li={_factorize:function(S){var ue,G=[],se=Math.sqrt(S);for(ue=1;ue<se;ue++)S%ue==0&&(G.push(ue),G.push(S/ue));return se===(0|se)&&G.push(se),G.sort(function(Te,Ke){return Te-Ke}).pop(),G},log10:Math.log10||function(S){var G=Math.log(S)*Math.LOG10E,se=Math.round(G);return S===Math.pow(10,se)?se:G}},ms=Li;ke.log10=Li.log10;var Ue=ke,_n=Ze,Xn=Di,Ii=ms,En={getRtlAdapter:function(S,G,se){return S?function(S,G){return{x:function(se){return S+S+G-se},setWidth:function(se){G=se},textAlign:function(se){return"center"===se?se:"right"===se?"left":"right"},xPlus:function(se,ue){return se-ue},leftForLtr:function(se,ue){return se-ue}}}(G,se):{x:function(S){return S},setWidth:function(S){},textAlign:function(S){return S},xPlus:function(S,G){return S+G},leftForLtr:function(S,G){return S}}},overrideTextDirection:function(S,G){var se,ue;("ltr"===G||"rtl"===G)&&(ue=[(se=S.canvas.style).getPropertyValue("direction"),se.getPropertyPriority("direction")],se.setProperty("direction",G,"important"),S.prevTextDirection=ue)},restoreTextDirection:function(S){var G=S.prevTextDirection;void 0!==G&&(delete S.prevTextDirection,S.canvas.style.setProperty("direction",G[0],G[1]))}};Ue.easing=Je,Ue.canvas=_n,Ue.options=Xn,Ue.math=Ii,Ue.rtl=En;var Dn=function(S){Ue.extend(this,S),this.initialize.apply(this,arguments)};Ue.extend(Dn.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var S=this;return S._view||(S._view=Ue.extend({},S._model)),S._start={},S},transition:function(S){var G=this,se=G._model,ue=G._start,Te=G._view;return se&&1!==S?(Te||(Te=G._view={}),ue||(ue=G._start={}),function ln(S,G,se,ue){var Ke,lt,xt,vt,$t,an,fn,ti,Ti,Te=Object.keys(se);for(Ke=0,lt=Te.length;Ke<lt;++Ke)if(an=se[xt=Te[Ke]],G.hasOwnProperty(xt)||(G[xt]=an),(vt=G[xt])!==an&&"_"!==xt[0]){if(S.hasOwnProperty(xt)||(S[xt]=vt),(fn=typeof an)==typeof($t=S[xt]))if("string"===fn){if((ti=gt($t)).valid&&(Ti=gt(an)).valid){G[xt]=Ti.mix(ti,ue).rgbString();continue}}else if(Ue.isFinite($t)&&Ue.isFinite(an)){G[xt]=$t+(an-$t)*ue;continue}G[xt]=an}}(ue,Te,se,S),G):(G._view=Ue.extend({},se),G._start=null,G)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return Ue.isNumber(this._model.x)&&Ue.isNumber(this._model.y)}}),Dn.extend=Ue.inherits;var Ai=Dn,os=Ai.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Fs=os;Object.defineProperty(os.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(os.prototype,"chartInstance",{get:function(){return this.chart},set:function(S){this.chart=S}}),zn._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:Ue.noop,onComplete:Ue.noop}});var sn={animations:[],request:null,addAnimation:function(S,G,se,ue){var Ke,lt,Te=this.animations;for(G.chart=S,G.startTime=Date.now(),G.duration=se,ue||(S.animating=!0),Ke=0,lt=Te.length;Ke<lt;++Ke)if(Te[Ke].chart===S)return void(Te[Ke]=G);Te.push(G),1===Te.length&&this.requestAnimationFrame()},cancelAnimation:function(S){var G=Ue.findIndex(this.animations,function(se){return se.chart===S});-1!==G&&(this.animations.splice(G,1),S.animating=!1)},requestAnimationFrame:function(){var S=this;null===S.request&&(S.request=Ue.requestAnimFrame.call(window,function(){S.request=null,S.startDigest()}))},startDigest:function(){var S=this;S.advance(),S.animations.length>0&&S.requestAnimationFrame()},advance:function(){for(var G,se,ue,Te,S=this.animations,Ke=0;Ke<S.length;)se=(G=S[Ke]).chart,ue=G.numSteps,Te=Math.floor((Date.now()-G.startTime)/G.duration*ue)+1,G.currentStep=Math.min(Te,ue),Ue.callback(G.render,[se,G],se),Ue.callback(G.onAnimationProgress,[G],se),G.currentStep>=ue?(Ue.callback(G.onAnimationComplete,[G],se),se.animating=!1,S.splice(Ke,1)):++Ke}},oi=Ue.options.resolve,pt=["push","pop","shift","splice","unshift"];function Tn(S,G){var se=S._chartjs;if(se){var ue=se.listeners,Te=ue.indexOf(G);-1!==Te&&ue.splice(Te,1),!(ue.length>0)&&(pt.forEach(function(Ke){delete S[Ke]}),delete S._chartjs)}}var vi=function(S,G){this.initialize(S,G)};Ue.extend(vi.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(S,G){var se=this;se.chart=S,se.index=G,se.linkScales(),se.addElements(),se._type=se.getMeta().type},updateIndex:function(S){this.index=S},linkScales:function(){var S=this,G=S.getMeta(),se=S.chart,ue=se.scales,Te=S.getDataset(),Ke=se.options.scales;(null===G.xAxisID||!(G.xAxisID in ue)||Te.xAxisID)&&(G.xAxisID=Te.xAxisID||Ke.xAxes[0].id),(null===G.yAxisID||!(G.yAxisID in ue)||Te.yAxisID)&&(G.yAxisID=Te.yAxisID||Ke.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(S){return this.chart.scales[S]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&Tn(this._data,this)},createMetaDataset:function(){var S=this,G=S.datasetElementType;return G&&new G({_chart:S.chart,_datasetIndex:S.index})},createMetaData:function(S){var G=this,se=G.dataElementType;return se&&new se({_chart:G.chart,_datasetIndex:G.index,_index:S})},addElements:function(){var Te,Ke,S=this,G=S.getMeta(),se=S.getDataset().data||[],ue=G.data;for(Te=0,Ke=se.length;Te<Ke;++Te)ue[Te]=ue[Te]||S.createMetaData(Te);G.dataset=G.dataset||S.createMetaDataset()},addElementAndReset:function(S){var G=this.createMetaData(S);this.getMeta().data.splice(S,0,G),this.updateElement(G,S,!0)},buildOrUpdateElements:function(){var S=this,G=S.getDataset(),se=G.data||(G.data=[]);S._data!==se&&(S._data&&Tn(S._data,S),se&&Object.isExtensible(se)&&function cn(S,G){S._chartjs?S._chartjs.listeners.push(G):(Object.defineProperty(S,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[G]}}),pt.forEach(function(se){var ue="onData"+se.charAt(0).toUpperCase()+se.slice(1),Te=S[se];Object.defineProperty(S,se,{configurable:!0,enumerable:!1,value:function(){var Ke=Array.prototype.slice.call(arguments),lt=Te.apply(this,Ke);return Ue.each(S._chartjs.listeners,function(xt){"function"==typeof xt[ue]&&xt[ue].apply(xt,Ke)}),lt}})}))}(se,S),S._data=se),S.resyncElements()},_configure:function(){var S=this;S._config=Ue.merge(Object.create(null),[S.chart.options.datasets[S._type],S.getDataset()],{merger:function(G,se,ue){"_meta"!==G&&"data"!==G&&Ue._merger(G,se,ue)}})},_update:function(S){var G=this;G._configure(),G._cachedDataOpts=null,G.update(S)},update:Ue.noop,transition:function(S){for(var G=this.getMeta(),se=G.data||[],ue=se.length,Te=0;Te<ue;++Te)se[Te].transition(S);G.dataset&&G.dataset.transition(S)},draw:function(){var S=this.getMeta(),G=S.data||[],se=G.length,ue=0;for(S.dataset&&S.dataset.draw();ue<se;++ue)G[ue].draw()},getStyle:function(S){var Te,G=this,se=G.getMeta(),ue=se.dataset;return G._configure(),(!1===(Te=ue&&void 0===S?G._resolveDatasetElementOptions(ue||{}):G._resolveDataElementOptions(se.data[S=S||0]||{},S)).fill||null===Te.fill)&&(Te.backgroundColor=Te.borderColor),Te},_resolveDatasetElementOptions:function(S,G){var $t,an,fn,ti,se=this,ue=se.chart,Te=se._config,Ke=S.custom||{},lt=ue.options.elements[se.datasetElementType.prototype._type]||{},xt=se._datasetElementOptions,vt={},Ti={chart:ue,dataset:se.getDataset(),datasetIndex:se.index,hover:G};for($t=0,an=xt.length;$t<an;++$t)fn=xt[$t],ti=G?"hover"+fn.charAt(0).toUpperCase()+fn.slice(1):fn,vt[fn]=oi([Ke[ti],Te[ti],lt[ti]],Ti);return vt},_resolveDataElementOptions:function(S,G){var se=this,ue=S&&S.custom,Te=se._cachedDataOpts;if(Te&&!ue)return Te;var ti,Ti,Ri,Bi,Ke=se.chart,lt=se._config,xt=Ke.options.elements[se.dataElementType.prototype._type]||{},vt=se._dataElementOptions,$t={},an={chart:Ke,dataIndex:G,dataset:se.getDataset(),datasetIndex:se.index},fn={cacheable:!ue};if(ue=ue||{},Ue.isArray(vt))for(Ti=0,Ri=vt.length;Ti<Ri;++Ti)$t[Bi=vt[Ti]]=oi([ue[Bi],lt[Bi],xt[Bi]],an,G,fn);else for(Ti=0,Ri=(ti=Object.keys(vt)).length;Ti<Ri;++Ti)$t[Bi=ti[Ti]]=oi([ue[Bi],lt[vt[Bi]],lt[Bi],xt[Bi]],an,G,fn);return fn.cacheable&&(se._cachedDataOpts=Object.freeze($t)),$t},removeHoverStyle:function(S){Ue.merge(S._model,S.$previousStyle||{}),delete S.$previousStyle},setHoverStyle:function(S){var G=this.chart.data.datasets[S._datasetIndex],se=S._index,ue=S.custom||{},Te=S._model,Ke=Ue.getHoverColor;S.$previousStyle={backgroundColor:Te.backgroundColor,borderColor:Te.borderColor,borderWidth:Te.borderWidth},Te.backgroundColor=oi([ue.hoverBackgroundColor,G.hoverBackgroundColor,Ke(Te.backgroundColor)],void 0,se),Te.borderColor=oi([ue.hoverBorderColor,G.hoverBorderColor,Ke(Te.borderColor)],void 0,se),Te.borderWidth=oi([ue.hoverBorderWidth,G.hoverBorderWidth,Te.borderWidth],void 0,se)},_removeDatasetHoverStyle:function(){var S=this.getMeta().dataset;S&&this.removeHoverStyle(S)},_setDatasetHoverStyle:function(){var se,ue,Te,Ke,lt,xt,S=this.getMeta().dataset,G={};if(S){for(xt=S._model,lt=this._resolveDatasetElementOptions(S,!0),se=0,ue=(Ke=Object.keys(lt)).length;se<ue;++se)G[Te=Ke[se]]=xt[Te],xt[Te]=lt[Te];S.$previousStyle=G}},resyncElements:function(){var S=this,G=S.getMeta(),se=S.getDataset().data,ue=G.data.length,Te=se.length;Te<ue?G.data.splice(Te,ue-Te):Te>ue&&S.insertElements(ue,Te-ue)},insertElements:function(S,G){for(var se=0;se<G;++se)this.addElementAndReset(S+se)},onDataPush:function(){var S=arguments.length;this.insertElements(this.getDataset().data.length-S,S)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(S,G){this.getMeta().data.splice(S,G),this.insertElements(S,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),vi.extend=Ue.inherits;var ui=vi,$i=2*Math.PI;function Nn(S,G){var se=G.startAngle,ue=G.endAngle,Te=G.pixelMargin,Ke=Te/G.outerRadius,lt=G.x,xt=G.y;S.beginPath(),S.arc(lt,xt,G.outerRadius,se-Ke,ue+Ke),G.innerRadius>Te?S.arc(lt,xt,G.innerRadius-Te,ue+(Ke=Te/G.innerRadius),se-Ke,!0):S.arc(lt,xt,Te,ue+Math.PI/2,se-Math.PI/2),S.closePath(),S.clip()}function Qn(S,G,se){var ue="inner"===G.borderAlign;ue?(S.lineWidth=2*G.borderWidth,S.lineJoin="round"):(S.lineWidth=G.borderWidth,S.lineJoin="bevel"),se.fullCircles&&function Hn(S,G,se,ue){var Ke,Te=se.endAngle;for(ue&&(se.endAngle=se.startAngle+$i,Nn(S,se),se.endAngle=Te,se.endAngle===se.startAngle&&se.fullCircles&&(se.endAngle+=$i,se.fullCircles--)),S.beginPath(),S.arc(se.x,se.y,se.innerRadius,se.startAngle+$i,se.startAngle,!0),Ke=0;Ke<se.fullCircles;++Ke)S.stroke();for(S.beginPath(),S.arc(se.x,se.y,G.outerRadius,se.startAngle,se.startAngle+$i),Ke=0;Ke<se.fullCircles;++Ke)S.stroke()}(S,G,se,ue),ue&&Nn(S,se),S.beginPath(),S.arc(se.x,se.y,G.outerRadius,se.startAngle,se.endAngle),S.arc(se.x,se.y,se.innerRadius,se.endAngle,se.startAngle,!0),S.closePath(),S.stroke()}zn._set("global",{elements:{arc:{backgroundColor:zn.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ri=Ai.extend({_type:"arc",inLabelRange:function(S){var G=this._view;return!!G&&Math.pow(S-G.x,2)<Math.pow(G.radius+G.hoverRadius,2)},inRange:function(S,G){var se=this._view;if(se){for(var ue=Ue.getAngleFromPoint(se,{x:S,y:G}),Te=ue.angle,Ke=ue.distance,lt=se.startAngle,xt=se.endAngle;xt<lt;)xt+=$i;for(;Te>xt;)Te-=$i;for(;Te<lt;)Te+=$i;return Te>=lt&&Te<=xt&&Ke>=se.innerRadius&&Ke<=se.outerRadius}return!1},getCenterPoint:function(){var S=this._view,G=(S.startAngle+S.endAngle)/2,se=(S.innerRadius+S.outerRadius)/2;return{x:S.x+Math.cos(G)*se,y:S.y+Math.sin(G)*se}},getArea:function(){var S=this._view;return Math.PI*((S.endAngle-S.startAngle)/(2*Math.PI))*(Math.pow(S.outerRadius,2)-Math.pow(S.innerRadius,2))},tooltipPosition:function(){var S=this._view,G=S.startAngle+(S.endAngle-S.startAngle)/2,se=(S.outerRadius-S.innerRadius)/2+S.innerRadius;return{x:S.x+Math.cos(G)*se,y:S.y+Math.sin(G)*se}},draw:function(){var Te,S=this._chart.ctx,G=this._view,se="inner"===G.borderAlign?.33:0,ue={x:G.x,y:G.y,innerRadius:G.innerRadius,outerRadius:Math.max(G.outerRadius-se,0),pixelMargin:se,startAngle:G.startAngle,endAngle:G.endAngle,fullCircles:Math.floor(G.circumference/$i)};if(S.save(),S.fillStyle=G.backgroundColor,S.strokeStyle=G.borderColor,ue.fullCircles){for(ue.endAngle=ue.startAngle+$i,S.beginPath(),S.arc(ue.x,ue.y,ue.outerRadius,ue.startAngle,ue.endAngle),S.arc(ue.x,ue.y,ue.innerRadius,ue.endAngle,ue.startAngle,!0),S.closePath(),Te=0;Te<ue.fullCircles;++Te)S.fill();ue.endAngle=ue.startAngle+G.circumference%$i}S.beginPath(),S.arc(ue.x,ue.y,ue.outerRadius,ue.startAngle,ue.endAngle),S.arc(ue.x,ue.y,ue.innerRadius,ue.endAngle,ue.startAngle,!0),S.closePath(),S.fill(),G.borderWidth&&Qn(S,G,ue),S.restore()}}),li=Ue.valueOrDefault,Fi=zn.global.defaultColor;zn._set("global",{elements:{line:{tension:.4,backgroundColor:Fi,borderWidth:3,borderColor:Fi,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var ei=Ai.extend({_type:"line",draw:function(){var $t,an,fn,S=this,G=S._view,se=S._chart.ctx,ue=G.spanGaps,Te=S._children.slice(),Ke=zn.global,lt=Ke.elements.line,xt=-1,vt=S._loop;if(Te.length){if(S._loop){for($t=0;$t<Te.length;++$t)if(an=Ue.previousItem(Te,$t),!Te[$t]._view.skip&&an._view.skip){Te=Te.slice($t).concat(Te.slice(0,$t)),vt=ue;break}vt&&Te.push(Te[0])}for(se.save(),se.lineCap=G.borderCapStyle||lt.borderCapStyle,se.setLineDash&&se.setLineDash(G.borderDash||lt.borderDash),se.lineDashOffset=li(G.borderDashOffset,lt.borderDashOffset),se.lineJoin=G.borderJoinStyle||lt.borderJoinStyle,se.lineWidth=li(G.borderWidth,lt.borderWidth),se.strokeStyle=G.borderColor||Ke.defaultColor,se.beginPath(),(fn=Te[0]._view).skip||(se.moveTo(fn.x,fn.y),xt=0),$t=1;$t<Te.length;++$t)fn=Te[$t]._view,an=-1===xt?Ue.previousItem(Te,$t):Te[xt],fn.skip||(xt!==$t-1&&!ue||-1===xt?se.moveTo(fn.x,fn.y):Ue.canvas.lineTo(se,an._view,fn),xt=$t);vt&&se.closePath(),se.stroke(),se.restore()}}}),Hi=Ue.valueOrDefault,gn=zn.global.defaultColor;function yn(S){var G=this._view;return!!G&&Math.abs(S-G.x)<G.radius+G.hitRadius}zn._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:gn,borderColor:gn,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var Bn=Ai.extend({_type:"point",inRange:function(S,G){var se=this._view;return!!se&&Math.pow(S-se.x,2)+Math.pow(G-se.y,2)<Math.pow(se.hitRadius+se.radius,2)},inLabelRange:yn,inXRange:yn,inYRange:function hn(S){var G=this._view;return!!G&&Math.abs(S-G.y)<G.radius+G.hitRadius},getCenterPoint:function(){var S=this._view;return{x:S.x,y:S.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var S=this._view;return{x:S.x,y:S.y,padding:S.radius+S.borderWidth}},draw:function(S){var G=this._view,se=this._chart.ctx,ue=G.pointStyle,Te=G.rotation,Ke=G.radius,lt=G.x,xt=G.y,vt=zn.global,$t=vt.defaultColor;G.skip||(void 0===S||Ue.canvas._isPointInArea(G,S))&&(se.strokeStyle=G.borderColor||$t,se.lineWidth=Hi(G.borderWidth,vt.elements.point.borderWidth),se.fillStyle=G.backgroundColor||$t,Ue.canvas.drawPoint(se,ue,Ke,lt,xt,Te))}}),mi=zn.global.defaultColor;function wi(S){return S&&void 0!==S.width}function Si(S){var G,se,ue,Te,Ke;return wi(S)?(G=S.x-(Ke=S.width/2),se=S.x+Ke,ue=Math.min(S.y,S.base),Te=Math.max(S.y,S.base)):(Ke=S.height/2,G=Math.min(S.x,S.base),se=Math.max(S.x,S.base),ue=S.y-Ke,Te=S.y+Ke),{left:G,top:ue,right:se,bottom:Te}}function Cn(S,G,se){return S===G?se:S===se?G:S}function Mt(S,G,se){var Ke,lt,xt,vt,ue=S.borderWidth,Te=function ut(S){var G=S.borderSkipped,se={};return G&&(S.horizontal?S.base>S.x&&(G=Cn(G,"left","right")):S.base<S.y&&(G=Cn(G,"bottom","top")),se[G]=!0),se}(S);return Ue.isObject(ue)?(Ke=+ue.top||0,lt=+ue.right||0,xt=+ue.bottom||0,vt=+ue.left||0):Ke=lt=xt=vt=+ue||0,{t:Te.top||Ke<0?0:Ke>se?se:Ke,r:Te.right||lt<0?0:lt>G?G:lt,b:Te.bottom||xt<0?0:xt>se?se:xt,l:Te.left||vt<0?0:vt>G?G:vt}}function Rt(S,G,se){var ue=null===G,Te=null===se,Ke=!(!S||ue&&Te)&&Si(S);return Ke&&(ue||G>=Ke.left&&G<=Ke.right)&&(Te||se>=Ke.top&&se<=Ke.bottom)}zn._set("global",{elements:{rectangle:{backgroundColor:mi,borderColor:mi,borderSkipped:"bottom",borderWidth:0}}});var Jt=Ai.extend({_type:"rectangle",draw:function(){var S=this._chart.ctx,G=this._view,se=function Bt(S){var G=Si(S),se=G.right-G.left,ue=G.bottom-G.top,Te=Mt(S,se/2,ue/2);return{outer:{x:G.left,y:G.top,w:se,h:ue},inner:{x:G.left+Te.l,y:G.top+Te.t,w:se-Te.l-Te.r,h:ue-Te.t-Te.b}}}(G),ue=se.outer,Te=se.inner;S.fillStyle=G.backgroundColor,S.fillRect(ue.x,ue.y,ue.w,ue.h),(ue.w!==Te.w||ue.h!==Te.h)&&(S.save(),S.beginPath(),S.rect(ue.x,ue.y,ue.w,ue.h),S.clip(),S.fillStyle=G.borderColor,S.rect(Te.x,Te.y,Te.w,Te.h),S.fill("evenodd"),S.restore())},height:function(){var S=this._view;return S.base-S.y},inRange:function(S,G){return Rt(this._view,S,G)},inLabelRange:function(S,G){var se=this._view;return wi(se)?Rt(se,S,null):Rt(se,null,G)},inXRange:function(S){return Rt(this._view,S,null)},inYRange:function(S){return Rt(this._view,null,S)},getCenterPoint:function(){var G,se,S=this._view;return wi(S)?(G=S.x,se=(S.y+S.base)/2):(G=(S.x+S.base)/2,se=S.y),{x:G,y:se}},getArea:function(){var S=this._view;return wi(S)?S.width*Math.abs(S.y-S.base):S.height*Math.abs(S.x-S.base)},tooltipPosition:function(){var S=this._view;return{x:S.x,y:S.y}}}),He={},nt=ei,Ot=Bn,rn=Jt;He.Arc=ri,He.Line=nt,He.Point=Ot,He.Rectangle=rn;var Jn=Ue._deprecated,Oi=Ue.valueOrDefault;function Ui(S,G,se){var xt,vt,ue=se.barThickness,Te=G.stackCount,Ke=G.pixels[S],lt=Ue.isNullOrUndef(ue)?function Ci(S,G){var ue,Te,Ke,lt,se=S._length;for(Ke=1,lt=G.length;Ke<lt;++Ke)se=Math.min(se,Math.abs(G[Ke]-G[Ke-1]));for(Ke=0,lt=S.getTicks().length;Ke<lt;++Ke)Te=S.getPixelForTick(Ke),se=Ke>0?Math.min(se,Math.abs(Te-ue)):se,ue=Te;return se}(G.scale,G.pixels):-1;return Ue.isNullOrUndef(ue)?(xt=lt*se.categoryPercentage,vt=se.barPercentage):(xt=ue*Te,vt=1),{chunk:xt/Te,ratio:vt,start:Ke-xt/2}}zn._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),zn._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Ji=ui.extend({dataElementType:He.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var G,se,S=this;ui.prototype.initialize.apply(S,arguments),(G=S.getMeta()).stack=S.getDataset().stack,G.bar=!0,se=S._getIndexScale().options,Jn("bar chart",se.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Jn("bar chart",se.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Jn("bar chart",se.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Jn("bar chart",S._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Jn("bar chart",se.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(S){var ue,Te,G=this,se=G.getMeta().data;for(G._ruler=G.getRuler(),ue=0,Te=se.length;ue<Te;++ue)G.updateElement(se[ue],ue,S)},updateElement:function(S,G,se){var ue=this,Te=ue.getMeta(),Ke=ue.getDataset(),lt=ue._resolveDataElementOptions(S,G);S._xScale=ue.getScaleForId(Te.xAxisID),S._yScale=ue.getScaleForId(Te.yAxisID),S._datasetIndex=ue.index,S._index=G,S._model={backgroundColor:lt.backgroundColor,borderColor:lt.borderColor,borderSkipped:lt.borderSkipped,borderWidth:lt.borderWidth,datasetLabel:Ke.label,label:ue.chart.data.labels[G]},Ue.isArray(Ke.data[G])&&(S._model.borderSkipped=null),ue._updateElementGeometry(S,G,se,lt),S.pivot()},_updateElementGeometry:function(S,G,se,ue){var Te=this,Ke=S._model,lt=Te._getValueScale(),xt=lt.getBasePixel(),vt=lt.isHorizontal(),$t=Te._ruler||Te.getRuler(),an=Te.calculateBarValuePixels(Te.index,G,ue),fn=Te.calculateBarIndexPixels(Te.index,G,$t,ue);Ke.horizontal=vt,Ke.base=se?xt:an.base,Ke.x=vt?se?xt:an.head:fn.center,Ke.y=vt?fn.center:se?xt:an.head,Ke.height=vt?fn.size:void 0,Ke.width=vt?void 0:fn.size},_getStacks:function(S){var xt,vt,se=this._getIndexScale(),ue=se._getMatchingVisibleMetas(this._type),Te=se.options.stacked,Ke=ue.length,lt=[];for(xt=0;xt<Ke&&(vt=ue[xt],(!1===Te||-1===lt.indexOf(vt.stack)||void 0===Te&&void 0===vt.stack)&&lt.push(vt.stack),vt.index!==S);++xt);return lt},getStackCount:function(){return this._getStacks().length},getStackIndex:function(S,G){var se=this._getStacks(S),ue=void 0!==G?se.indexOf(G):-1;return-1===ue?se.length-1:ue},getRuler:function(){var ue,Te,S=this,G=S._getIndexScale(),se=[];for(ue=0,Te=S.getMeta().data.length;ue<Te;++ue)se.push(G.getPixelForValue(null,ue,S.index));return{pixels:se,start:G._startPixel,end:G._endPixel,stackCount:S.getStackCount(),scale:G}},calculateBarValuePixels:function(S,G,se){var ts,Ws,Wo,ro,Bo,Xo,ar,Te=this.chart,Ke=this._getValueScale(),lt=Ke.isHorizontal(),xt=Te.data.datasets,vt=Ke._getMatchingVisibleMetas(this._type),$t=Ke._parseValue(xt[S].data[G]),an=se.minBarLength,fn=Ke.options.stacked,ti=this.getMeta().stack,Ti=void 0===$t.start?0:$t.max>=0&&$t.min>=0?$t.min:$t.max,Ri=void 0===$t.start?$t.end:$t.max>=0&&$t.min>=0?$t.max-$t.min:$t.min-$t.max,Bi=vt.length;if(fn||void 0===fn&&void 0!==ti)for(ts=0;ts<Bi&&(Ws=vt[ts]).index!==S;++ts)Ws.stack===ti&&(Wo=void 0===(ar=Ke._parseValue(xt[Ws.index].data[G])).start?ar.end:ar.min>=0&&ar.max>=0?ar.max:ar.min,($t.min<0&&Wo<0||$t.max>=0&&Wo>0)&&(Ti+=Wo));return ro=Ke.getPixelForValue(Ti),Xo=(Bo=Ke.getPixelForValue(Ti+Ri))-ro,void 0!==an&&Math.abs(Xo)<an&&(Xo=an,Bo=Ri>=0&&!lt||Ri<0&&lt?ro-an:ro+an),{size:Xo,base:ro,head:Bo,center:Bo+Xo/2}},calculateBarIndexPixels:function(S,G,se,ue){var Ke="flex"===ue.barThickness?function ps(S,G,se){var vt,ue=G.pixels,Te=ue[S],Ke=S>0?ue[S-1]:null,lt=S<ue.length-1?ue[S+1]:null,xt=se.categoryPercentage;return null===Ke&&(Ke=Te-(null===lt?G.end-G.start:lt-Te)),null===lt&&(lt=Te+Te-Ke),vt=Te-(Te-Math.min(Ke,lt))/2*xt,{chunk:Math.abs(lt-Ke)/2*xt/G.stackCount,ratio:se.barPercentage,start:vt}}(G,se,ue):Ui(G,se,ue),lt=this.getStackIndex(S,this.getMeta().stack),xt=Ke.start+Ke.chunk*lt+Ke.chunk/2,vt=Math.min(Oi(ue.maxBarThickness,1/0),Ke.chunk*Ke.ratio);return{base:xt-vt/2,head:xt+vt/2,center:xt,size:vt}},draw:function(){var S=this,G=S.chart,se=S._getValueScale(),ue=S.getMeta().data,Te=S.getDataset(),Ke=ue.length,lt=0;for(Ue.canvas.clipArea(G.ctx,G.chartArea);lt<Ke;++lt){var xt=se._parseValue(Te.data[lt]);!isNaN(xt.min)&&!isNaN(xt.max)&&ue[lt].draw()}Ue.canvas.unclipArea(G.ctx)},_resolveDataElementOptions:function(){var S=this,G=Ue.extend({},ui.prototype._resolveDataElementOptions.apply(S,arguments)),se=S._getIndexScale().options,ue=S._getValueScale().options;return G.barPercentage=Oi(se.barPercentage,G.barPercentage),G.barThickness=Oi(se.barThickness,G.barThickness),G.categoryPercentage=Oi(se.categoryPercentage,G.categoryPercentage),G.maxBarThickness=Oi(se.maxBarThickness,G.maxBarThickness),G.minBarLength=Oi(ue.minBarLength,G.minBarLength),G}}),_s=Ue.valueOrDefault,js=Ue.options.resolve;zn._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(S,G){return(G.datasets[S.datasetIndex].label||"")+": ("+S.xLabel+", "+S.yLabel+", "+G.datasets[S.datasetIndex].data[S.index].r+")"}}}});var es=ui.extend({dataElementType:He.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(S){var G=this,se=G.getMeta();Ue.each(se.data,function(Te,Ke){G.updateElement(Te,Ke,S)})},updateElement:function(S,G,se){var ue=this,Te=ue.getMeta(),Ke=S.custom||{},lt=ue.getScaleForId(Te.xAxisID),xt=ue.getScaleForId(Te.yAxisID),vt=ue._resolveDataElementOptions(S,G),$t=ue.getDataset().data[G],an=ue.index,fn=se?lt.getPixelForDecimal(.5):lt.getPixelForValue("object"==typeof $t?$t:NaN,G,an),ti=se?xt.getBasePixel():xt.getPixelForValue($t,G,an);S._xScale=lt,S._yScale=xt,S._options=vt,S._datasetIndex=an,S._index=G,S._model={backgroundColor:vt.backgroundColor,borderColor:vt.borderColor,borderWidth:vt.borderWidth,hitRadius:vt.hitRadius,pointStyle:vt.pointStyle,rotation:vt.rotation,radius:se?0:vt.radius,skip:Ke.skip||isNaN(fn)||isNaN(ti),x:fn,y:ti},S.pivot()},setHoverStyle:function(S){var G=S._model,se=S._options,ue=Ue.getHoverColor;S.$previousStyle={backgroundColor:G.backgroundColor,borderColor:G.borderColor,borderWidth:G.borderWidth,radius:G.radius},G.backgroundColor=_s(se.hoverBackgroundColor,ue(se.backgroundColor)),G.borderColor=_s(se.hoverBorderColor,ue(se.borderColor)),G.borderWidth=_s(se.hoverBorderWidth,se.borderWidth),G.radius=se.radius+se.hoverRadius},_resolveDataElementOptions:function(S,G){var se=this,ue=se.chart,Te=se.getDataset(),Ke=S.custom||{},lt=Te.data[G]||{},xt=ui.prototype._resolveDataElementOptions.apply(se,arguments),vt={chart:ue,dataIndex:G,dataset:Te,datasetIndex:se.index};return se._cachedDataOpts===xt&&(xt=Ue.extend({},xt)),xt.radius=js([Ke.radius,lt.r,se._config.radius,ue.options.elements.point.radius],vt,G),xt}}),zs=Ue.valueOrDefault,Gi=Math.PI,ds=2*Gi,rs=Gi/2;zn._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(S){var Ke,lt,xt,G=document.createElement("ul"),se=S.data,ue=se.datasets,Te=se.labels;if(G.setAttribute("class",S.id+"-legend"),ue.length)for(Ke=0,lt=ue[0].data.length;Ke<lt;++Ke)(xt=G.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=ue[0].backgroundColor[Ke],Te[Ke]&&xt.appendChild(document.createTextNode(Te[Ke]));return G.outerHTML},legend:{labels:{generateLabels:function(S){var G=S.data;return G.labels.length&&G.datasets.length?G.labels.map(function(se,ue){var Te=S.getDatasetMeta(0),Ke=Te.controller.getStyle(ue);return{text:se,fillStyle:Ke.backgroundColor,strokeStyle:Ke.borderColor,lineWidth:Ke.borderWidth,hidden:isNaN(G.datasets[0].data[ue])||Te.data[ue].hidden,index:ue}}):[]}},onClick:function(S,G){var Te,Ke,lt,se=G.index,ue=this.chart;for(Te=0,Ke=(ue.data.datasets||[]).length;Te<Ke;++Te)(lt=ue.getDatasetMeta(Te)).data[se]&&(lt.data[se].hidden=!lt.data[se].hidden);ue.update()}},cutoutPercentage:50,rotation:-rs,circumference:ds,tooltips:{callbacks:{title:function(){return""},label:function(S,G){var se=G.labels[S.index],ue=": "+G.datasets[S.datasetIndex].data[S.index];return Ue.isArray(se)?(se=se.slice())[0]+=ue:se+=ue,se}}}});var ao=ui.extend({dataElementType:He.Arc,linkScales:Ue.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(S){for(var G=0,se=0;se<S;++se)this.chart.isDatasetVisible(se)&&++G;return G},update:function(S){var ts,Ws,G=this,se=G.chart,ue=se.chartArea,Te=se.options,Ke=1,lt=1,xt=0,vt=0,$t=G.getMeta(),an=$t.data,fn=Te.cutoutPercentage/100||0,ti=Te.circumference,Ti=G._getRingWeight(G.index);if(ti<ds){var Wo=Te.rotation%ds,ro=(Wo+=Wo>=Gi?-ds:Wo<-Gi?ds:0)+ti,Bo=Math.cos(Wo),Xo=Math.sin(Wo),ar=Math.cos(ro),Wr=Math.sin(ro),mr=Wo<=0&&ro>=0||ro>=ds,$r=Wo<=rs&&ro>=rs||ro>=ds+rs,r1=Wo<=-rs&&ro>=-rs||ro>=Gi+rs,K0=Wo===-Gi||ro>=Gi?-1:Math.min(Bo,Bo*fn,ar,ar*fn),yt=r1?-1:Math.min(Xo,Xo*fn,Wr,Wr*fn),it=mr?1:Math.max(Bo,Bo*fn,ar,ar*fn),we=$r?1:Math.max(Xo,Xo*fn,Wr,Wr*fn);Ke=(it-K0)/2,lt=(we-yt)/2,xt=-(it+K0)/2,vt=-(we+yt)/2}for(ts=0,Ws=an.length;ts<Ws;++ts)an[ts]._options=G._resolveDataElementOptions(an[ts],ts);for(se.borderWidth=G.getMaxBorderWidth(),se.outerRadius=Math.max(Math.min((ue.right-ue.left-se.borderWidth)/Ke,(ue.bottom-ue.top-se.borderWidth)/lt)/2,0),se.innerRadius=Math.max(se.outerRadius*fn,0),se.radiusLength=(se.outerRadius-se.innerRadius)/(G._getVisibleDatasetWeightTotal()||1),se.offsetX=xt*se.outerRadius,se.offsetY=vt*se.outerRadius,$t.total=G.calculateTotal(),G.outerRadius=se.outerRadius-se.radiusLength*G._getRingWeightOffset(G.index),G.innerRadius=Math.max(G.outerRadius-se.radiusLength*Ti,0),ts=0,Ws=an.length;ts<Ws;++ts)G.updateElement(an[ts],ts,S)},updateElement:function(S,G,se){var ue=this,Te=ue.chart,Ke=Te.chartArea,lt=Te.options,xt=lt.animation,vt=(Ke.left+Ke.right)/2,$t=(Ke.top+Ke.bottom)/2,an=lt.rotation,fn=lt.rotation,ti=ue.getDataset(),Ti=se&&xt.animateRotate||S.hidden?0:ue.calculateCircumference(ti.data[G])*(lt.circumference/ds),ts=S._options||{};Ue.extend(S,{_datasetIndex:ue.index,_index:G,_model:{backgroundColor:ts.backgroundColor,borderColor:ts.borderColor,borderWidth:ts.borderWidth,borderAlign:ts.borderAlign,x:vt+Te.offsetX,y:$t+Te.offsetY,startAngle:an,endAngle:fn,circumference:Ti,outerRadius:se&&xt.animateScale?0:ue.outerRadius,innerRadius:se&&xt.animateScale?0:ue.innerRadius,label:Ue.valueAtIndexOrDefault(ti.label,G,Te.data.labels[G])}});var Ws=S._model;(!se||!xt.animateRotate)&&(Ws.startAngle=0===G?lt.rotation:ue.getMeta().data[G-1]._model.endAngle,Ws.endAngle=Ws.startAngle+Ws.circumference),S.pivot()},calculateTotal:function(){var ue,S=this.getDataset(),G=this.getMeta(),se=0;return Ue.each(G.data,function(Te,Ke){ue=S.data[Ke],!isNaN(ue)&&!Te.hidden&&(se+=Math.abs(ue))}),se},calculateCircumference:function(S){var G=this.getMeta().total;return G>0&&!isNaN(S)?ds*(Math.abs(S)/G):0},getMaxBorderWidth:function(S){var Te,Ke,lt,xt,vt,$t,an,fn,se=0,ue=this.chart;if(!S)for(Te=0,Ke=ue.data.datasets.length;Te<Ke;++Te)if(ue.isDatasetVisible(Te)){S=(lt=ue.getDatasetMeta(Te)).data,Te!==this.index&&(vt=lt.controller);break}if(!S)return 0;for(Te=0,Ke=S.length;Te<Ke;++Te)xt=S[Te],vt?(vt._configure(),$t=vt._resolveDataElementOptions(xt,Te)):$t=xt._options,"inner"!==$t.borderAlign&&(se=(fn=$t.hoverBorderWidth)>(se=(an=$t.borderWidth)>se?an:se)?fn:se);return se},setHoverStyle:function(S){var G=S._model,se=S._options,ue=Ue.getHoverColor;S.$previousStyle={backgroundColor:G.backgroundColor,borderColor:G.borderColor,borderWidth:G.borderWidth},G.backgroundColor=zs(se.hoverBackgroundColor,ue(se.backgroundColor)),G.borderColor=zs(se.hoverBorderColor,ue(se.borderColor)),G.borderWidth=zs(se.hoverBorderWidth,se.borderWidth)},_getRingWeightOffset:function(S){for(var G=0,se=0;se<S;++se)this.chart.isDatasetVisible(se)&&(G+=this._getRingWeight(se));return G},_getRingWeight:function(S){return Math.max(zs(this.chart.data.datasets[S].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});zn._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),zn._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var wo=Ji.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),zr=Ue.valueOrDefault,Ea=Ue.options.resolve,Rr=Ue.canvas._isPointInArea;function A0(S,G){var se=S&&S.options.ticks||{},ue=se.reverse,Te=void 0===se.min?G:0,Ke=void 0===se.max?G:0;return{start:ue?Ke:Te,end:ue?Te:Ke}}zn._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Po=ui.extend({datasetElementType:He.Line,dataElementType:He.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(S){var vt,$t,G=this,se=G.getMeta(),ue=se.dataset,Te=se.data||[],lt=G._config,xt=G._showLine=zr(lt.showLine,G.chart.options.showLines);for(G._xScale=G.getScaleForId(se.xAxisID),G._yScale=G.getScaleForId(se.yAxisID),xt&&(void 0!==lt.tension&&void 0===lt.lineTension&&(lt.lineTension=lt.tension),ue._scale=G._yScale,ue._datasetIndex=G.index,ue._children=Te,ue._model=G._resolveDatasetElementOptions(ue),ue.pivot()),vt=0,$t=Te.length;vt<$t;++vt)G.updateElement(Te[vt],vt,S);for(xt&&0!==ue._model.tension&&G.updateBezierControlPoints(),vt=0,$t=Te.length;vt<$t;++vt)Te[vt].pivot()},updateElement:function(S,G,se){var ti,Ti,ue=this,Te=ue.getMeta(),Ke=S.custom||{},lt=ue.getDataset(),xt=ue.index,vt=lt.data[G],$t=ue._xScale,an=ue._yScale,fn=Te.dataset._model,Ri=ue._resolveDataElementOptions(S,G);ti=$t.getPixelForValue("object"==typeof vt?vt:NaN,G,xt),Ti=se?an.getBasePixel():ue.calculatePointY(vt,G,xt),S._xScale=$t,S._yScale=an,S._options=Ri,S._datasetIndex=xt,S._index=G,S._model={x:ti,y:Ti,skip:Ke.skip||isNaN(ti)||isNaN(Ti),radius:Ri.radius,pointStyle:Ri.pointStyle,rotation:Ri.rotation,backgroundColor:Ri.backgroundColor,borderColor:Ri.borderColor,borderWidth:Ri.borderWidth,tension:zr(Ke.tension,fn?fn.tension:0),steppedLine:!!fn&&fn.steppedLine,hitRadius:Ri.hitRadius}},_resolveDatasetElementOptions:function(S){var G=this,se=G._config,ue=S.custom||{},Te=G.chart.options,Ke=Te.elements.line,lt=ui.prototype._resolveDatasetElementOptions.apply(G,arguments);return lt.spanGaps=zr(se.spanGaps,Te.spanGaps),lt.tension=zr(se.lineTension,Ke.tension),lt.steppedLine=Ea([ue.steppedLine,se.steppedLine,Ke.stepped]),lt.clip=function bi(S){var G,se,ue,Te;return Ue.isObject(S)?(G=S.top,se=S.right,ue=S.bottom,Te=S.left):G=se=ue=Te=S,{top:G,right:se,bottom:ue,left:Te}}(zr(se.clip,function oa(S,G,se){var ue=se/2,Te=A0(S,ue),Ke=A0(G,ue);return{top:Ke.end,right:Te.end,bottom:Ke.start,left:Te.start}}(G._xScale,G._yScale,lt.borderWidth))),lt},calculatePointY:function(S,G,se){var vt,an,fn,ti,Ti,Ri,Te=this.chart,Ke=this._yScale,lt=0,xt=0;if(Ke.options.stacked){for(ti=+Ke.getRightValue(S),Ri=(Ti=Te._getSortedVisibleDatasetMetas()).length,vt=0;vt<Ri&&(an=Ti[vt]).index!==se;++vt)"line"===an.type&&an.yAxisID===Ke.id&&((fn=+Ke.getRightValue(Te.data.datasets[an.index].data[G]))<0?xt+=fn||0:lt+=fn||0);return Ke.getPixelForValue(ti<0?xt+ti:lt+ti)}return Ke.getPixelForValue(S)},updateBezierControlPoints:function(){var lt,xt,vt,$t,G=this.chart,se=this.getMeta(),ue=se.dataset._model,Te=G.chartArea,Ke=se.data||[];function an(fn,ti,Ti){return Math.max(Math.min(fn,Ti),ti)}if(ue.spanGaps&&(Ke=Ke.filter(function(fn){return!fn._model.skip})),"monotone"===ue.cubicInterpolationMode)Ue.splineCurveMonotone(Ke);else for(lt=0,xt=Ke.length;lt<xt;++lt)vt=Ke[lt]._model,$t=Ue.splineCurve(Ue.previousItem(Ke,lt)._model,vt,Ue.nextItem(Ke,lt)._model,ue.tension),vt.controlPointPreviousX=$t.previous.x,vt.controlPointPreviousY=$t.previous.y,vt.controlPointNextX=$t.next.x,vt.controlPointNextY=$t.next.y;if(G.options.elements.line.capBezierPoints)for(lt=0,xt=Ke.length;lt<xt;++lt)Rr(vt=Ke[lt]._model,Te)&&(lt>0&&Rr(Ke[lt-1]._model,Te)&&(vt.controlPointPreviousX=an(vt.controlPointPreviousX,Te.left,Te.right),vt.controlPointPreviousY=an(vt.controlPointPreviousY,Te.top,Te.bottom)),lt<Ke.length-1&&Rr(Ke[lt+1]._model,Te)&&(vt.controlPointNextX=an(vt.controlPointNextX,Te.left,Te.right),vt.controlPointNextY=an(vt.controlPointNextY,Te.top,Te.bottom)))},draw:function(){var vt,S=this,G=S.chart,se=S.getMeta(),ue=se.data||[],Te=G.chartArea,Ke=G.canvas,lt=0,xt=ue.length;for(S._showLine&&(Ue.canvas.clipArea(G.ctx,{left:!1===(vt=se.dataset._model.clip).left?0:Te.left-vt.left,right:!1===vt.right?Ke.width:Te.right+vt.right,top:!1===vt.top?0:Te.top-vt.top,bottom:!1===vt.bottom?Ke.height:Te.bottom+vt.bottom}),se.dataset.draw(),Ue.canvas.unclipArea(G.ctx));lt<xt;++lt)ue[lt].draw(Te)},setHoverStyle:function(S){var G=S._model,se=S._options,ue=Ue.getHoverColor;S.$previousStyle={backgroundColor:G.backgroundColor,borderColor:G.borderColor,borderWidth:G.borderWidth,radius:G.radius},G.backgroundColor=zr(se.hoverBackgroundColor,ue(se.backgroundColor)),G.borderColor=zr(se.hoverBorderColor,ue(se.borderColor)),G.borderWidth=zr(se.hoverBorderWidth,se.borderWidth),G.radius=zr(se.hoverRadius,se.radius)}}),Pn=Ue.options.resolve;zn._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(S){var Ke,lt,xt,G=document.createElement("ul"),se=S.data,ue=se.datasets,Te=se.labels;if(G.setAttribute("class",S.id+"-legend"),ue.length)for(Ke=0,lt=ue[0].data.length;Ke<lt;++Ke)(xt=G.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=ue[0].backgroundColor[Ke],Te[Ke]&&xt.appendChild(document.createTextNode(Te[Ke]));return G.outerHTML},legend:{labels:{generateLabels:function(S){var G=S.data;return G.labels.length&&G.datasets.length?G.labels.map(function(se,ue){var Te=S.getDatasetMeta(0),Ke=Te.controller.getStyle(ue);return{text:se,fillStyle:Ke.backgroundColor,strokeStyle:Ke.borderColor,lineWidth:Ke.borderWidth,hidden:isNaN(G.datasets[0].data[ue])||Te.data[ue].hidden,index:ue}}):[]}},onClick:function(S,G){var Te,Ke,lt,se=G.index,ue=this.chart;for(Te=0,Ke=(ue.data.datasets||[]).length;Te<Ke;++Te)(lt=ue.getDatasetMeta(Te)).data[se].hidden=!lt.data[se].hidden;ue.update()}},tooltips:{callbacks:{title:function(){return""},label:function(S,G){return G.labels[S.index]+": "+S.yLabel}}}});var Ei=ui.extend({dataElementType:He.Arc,linkScales:Ue.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(S){var vt,$t,an,G=this,se=G.getDataset(),ue=G.getMeta(),Te=G.chart.options.startAngle||0,Ke=G._starts=[],lt=G._angles=[],xt=ue.data;for(G._updateRadius(),ue.count=G.countVisibleElements(),vt=0,$t=se.data.length;vt<$t;vt++)Ke[vt]=Te,an=G._computeAngle(vt),lt[vt]=an,Te+=an;for(vt=0,$t=xt.length;vt<$t;++vt)xt[vt]._options=G._resolveDataElementOptions(xt[vt],vt),G.updateElement(xt[vt],vt,S)},_updateRadius:function(){var S=this,G=S.chart,se=G.chartArea,ue=G.options,Te=Math.min(se.right-se.left,se.bottom-se.top);G.outerRadius=Math.max(Te/2,0),G.innerRadius=Math.max(ue.cutoutPercentage?G.outerRadius/100*ue.cutoutPercentage:1,0),G.radiusLength=(G.outerRadius-G.innerRadius)/G.getVisibleDatasetCount(),S.outerRadius=G.outerRadius-G.radiusLength*S.index,S.innerRadius=S.outerRadius-G.radiusLength},updateElement:function(S,G,se){var ue=this,Te=ue.chart,Ke=ue.getDataset(),lt=Te.options,xt=lt.animation,vt=Te.scale,$t=Te.data.labels,an=vt.xCenter,fn=vt.yCenter,ti=lt.startAngle,Ti=S.hidden?0:vt.getDistanceFromCenterForValue(Ke.data[G]),Ri=ue._starts[G],Bi=Ri+(S.hidden?0:ue._angles[G]),ts=xt.animateScale?0:vt.getDistanceFromCenterForValue(Ke.data[G]),Ws=S._options||{};Ue.extend(S,{_datasetIndex:ue.index,_index:G,_scale:vt,_model:{backgroundColor:Ws.backgroundColor,borderColor:Ws.borderColor,borderWidth:Ws.borderWidth,borderAlign:Ws.borderAlign,x:an,y:fn,innerRadius:0,outerRadius:se?ts:Ti,startAngle:se&&xt.animateRotate?ti:Ri,endAngle:se&&xt.animateRotate?ti:Bi,label:Ue.valueAtIndexOrDefault($t,G,$t[G])}}),S.pivot()},countVisibleElements:function(){var S=this.getDataset(),G=this.getMeta(),se=0;return Ue.each(G.data,function(ue,Te){!isNaN(S.data[Te])&&!ue.hidden&&se++}),se},setHoverStyle:function(S){var G=S._model,se=S._options,ue=Ue.getHoverColor,Te=Ue.valueOrDefault;S.$previousStyle={backgroundColor:G.backgroundColor,borderColor:G.borderColor,borderWidth:G.borderWidth},G.backgroundColor=Te(se.hoverBackgroundColor,ue(se.backgroundColor)),G.borderColor=Te(se.hoverBorderColor,ue(se.borderColor)),G.borderWidth=Te(se.hoverBorderWidth,se.borderWidth)},_computeAngle:function(S){var G=this,se=this.getMeta().count,ue=G.getDataset(),Te=G.getMeta();return isNaN(ue.data[S])||Te.data[S].hidden?0:Pn([G.chart.options.elements.arc.angle,2*Math.PI/se],{chart:G.chart,dataIndex:S,dataset:ue,datasetIndex:G.index},S)}});zn._set("pie",Ue.clone(zn.doughnut)),zn._set("pie",{cutoutPercentage:0});var fi=ao,Ks=Ue.valueOrDefault;zn._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var fa=ui.extend({datasetElementType:He.Line,dataElementType:He.Point,linkScales:Ue.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(S){var xt,vt,G=this,se=G.getMeta(),ue=se.dataset,Te=se.data||[],Ke=G.chart.scale,lt=G._config;for(void 0!==lt.tension&&void 0===lt.lineTension&&(lt.lineTension=lt.tension),ue._scale=Ke,ue._datasetIndex=G.index,ue._children=Te,ue._loop=!0,ue._model=G._resolveDatasetElementOptions(ue),ue.pivot(),xt=0,vt=Te.length;xt<vt;++xt)G.updateElement(Te[xt],xt,S);for(G.updateBezierControlPoints(),xt=0,vt=Te.length;xt<vt;++xt)Te[xt].pivot()},updateElement:function(S,G,se){var ue=this,Te=S.custom||{},Ke=ue.getDataset(),lt=ue.chart.scale,xt=lt.getPointPositionForValue(G,Ke.data[G]),vt=ue._resolveDataElementOptions(S,G),$t=ue.getMeta().dataset._model,an=se?lt.xCenter:xt.x,fn=se?lt.yCenter:xt.y;S._scale=lt,S._options=vt,S._datasetIndex=ue.index,S._index=G,S._model={x:an,y:fn,skip:Te.skip||isNaN(an)||isNaN(fn),radius:vt.radius,pointStyle:vt.pointStyle,rotation:vt.rotation,backgroundColor:vt.backgroundColor,borderColor:vt.borderColor,borderWidth:vt.borderWidth,tension:Ks(Te.tension,$t?$t.tension:0),hitRadius:vt.hitRadius}},_resolveDatasetElementOptions:function(){var S=this,G=S._config,se=S.chart.options,ue=ui.prototype._resolveDatasetElementOptions.apply(S,arguments);return ue.spanGaps=Ks(G.spanGaps,se.spanGaps),ue.tension=Ks(G.lineTension,se.elements.line.tension),ue},updateBezierControlPoints:function(){var Te,Ke,lt,xt,G=this.getMeta(),se=this.chart.chartArea,ue=G.data||[];function vt($t,an,fn){return Math.max(Math.min($t,fn),an)}for(G.dataset._model.spanGaps&&(ue=ue.filter(function($t){return!$t._model.skip})),Te=0,Ke=ue.length;Te<Ke;++Te)lt=ue[Te]._model,xt=Ue.splineCurve(Ue.previousItem(ue,Te,!0)._model,lt,Ue.nextItem(ue,Te,!0)._model,lt.tension),lt.controlPointPreviousX=vt(xt.previous.x,se.left,se.right),lt.controlPointPreviousY=vt(xt.previous.y,se.top,se.bottom),lt.controlPointNextX=vt(xt.next.x,se.left,se.right),lt.controlPointNextY=vt(xt.next.y,se.top,se.bottom)},setHoverStyle:function(S){var G=S._model,se=S._options,ue=Ue.getHoverColor;S.$previousStyle={backgroundColor:G.backgroundColor,borderColor:G.borderColor,borderWidth:G.borderWidth,radius:G.radius},G.backgroundColor=Ks(se.hoverBackgroundColor,ue(se.backgroundColor)),G.borderColor=Ks(se.hoverBorderColor,ue(se.borderColor)),G.borderWidth=Ks(se.hoverBorderWidth,se.borderWidth),G.radius=Ks(se.hoverRadius,se.radius)}});zn._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(S){return"("+S.xLabel+", "+S.yLabel+")"}}}}),zn._set("global",{datasets:{scatter:{showLine:!1}}});var l1={bar:Ji,bubble:es,doughnut:ao,horizontalBar:wo,line:Po,polarArea:Ei,pie:fi,radar:fa,scatter:Po};function Yn(S,G){return S.native?{x:S.x,y:S.y}:Ue.getRelativePosition(S,G)}function so(S,G){var ue,Te,Ke,lt,xt,vt,se=S._getSortedVisibleDatasetMetas();for(Te=0,lt=se.length;Te<lt;++Te)for(Ke=0,xt=(ue=se[Te].data).length;Ke<xt;++Ke)(vt=ue[Ke])._view.skip||G(vt)}function Hr(S,G){var se=[];return so(S,function(ue){ue.inRange(G.x,G.y)&&se.push(ue)}),se}function vr(S,G,se,ue){var Te=Number.POSITIVE_INFINITY,Ke=[];return so(S,function(lt){if(!se||lt.inRange(G.x,G.y)){var xt=lt.getCenterPoint(),vt=ue(G,xt);vt<Te?(Ke=[lt],Te=vt):vt===Te&&Ke.push(lt)}}),Ke}function Sa(S){var G=-1!==S.indexOf("x"),se=-1!==S.indexOf("y");return function(ue,Te){var Ke=G?Math.abs(ue.x-Te.x):0,lt=se?Math.abs(ue.y-Te.y):0;return Math.sqrt(Math.pow(Ke,2)+Math.pow(lt,2))}}function X1(S,G,se){var ue=Yn(G,S);se.axis=se.axis||"x";var Te=Sa(se.axis),Ke=se.intersect?Hr(S,ue):vr(S,ue,!1,Te),lt=[];return Ke.length?(S._getSortedVisibleDatasetMetas().forEach(function(xt){var vt=xt.data[Ke[0]._index];vt&&!vt._view.skip&&lt.push(vt)}),lt):[]}var _1={modes:{single:function(S,G){var se=Yn(G,S),ue=[];return so(S,function(Te){if(Te.inRange(se.x,se.y))return ue.push(Te),ue}),ue.slice(0,1)},label:X1,index:X1,dataset:function(S,G,se){var ue=Yn(G,S);se.axis=se.axis||"xy";var Te=Sa(se.axis),Ke=se.intersect?Hr(S,ue):vr(S,ue,!1,Te);return Ke.length>0&&(Ke=S.getDatasetMeta(Ke[0]._datasetIndex).data),Ke},"x-axis":function(S,G){return X1(S,G,{intersect:!1})},point:function(S,G){return Hr(S,Yn(G,S))},nearest:function(S,G,se){var ue=Yn(G,S);se.axis=se.axis||"xy";var Te=Sa(se.axis);return vr(S,ue,se.intersect,Te)},x:function(S,G,se){var ue=Yn(G,S),Te=[],Ke=!1;return so(S,function(lt){lt.inXRange(ue.x)&&Te.push(lt),lt.inRange(ue.x,ue.y)&&(Ke=!0)}),se.intersect&&!Ke&&(Te=[]),Te},y:function(S,G,se){var ue=Yn(G,S),Te=[],Ke=!1;return so(S,function(lt){lt.inYRange(ue.y)&&Te.push(lt),lt.inRange(ue.x,ue.y)&&(Ke=!0)}),se.intersect&&!Ke&&(Te=[]),Te}}},K1=Ue.extend;function Ga(S,G){return Ue.where(S,function(se){return se.pos===G})}function cl(S,G){return S.sort(function(se,ue){var Te=G?ue:se,Ke=G?se:ue;return Te.weight===Ke.weight?Te.index-Ke.index:Te.weight-Ke.weight})}function p0(S,G,se,ue){return Math.max(S[se],G[se])+Math.max(S[ue],G[ue])}function Tr(S,G,se){var Ke,lt,ue=se.box,Te=S.maxPadding;if(se.size&&(S[se.pos]-=se.size),se.size=se.horizontal?ue.height:ue.width,S[se.pos]+=se.size,ue.getPadding){var xt=ue.getPadding();Te.top=Math.max(Te.top,xt.top),Te.left=Math.max(Te.left,xt.left),Te.bottom=Math.max(Te.bottom,xt.bottom),Te.right=Math.max(Te.right,xt.right)}if(Ke=G.outerWidth-p0(Te,S,"left","right"),lt=G.outerHeight-p0(Te,S,"top","bottom"),Ke!==S.w||lt!==S.h){S.w=Ke,S.h=lt;var vt=se.horizontal?[Ke,S.w]:[lt,S.h];return!(vt[0]===vt[1]||isNaN(vt[0])&&isNaN(vt[1]))}}function Ao(S,G){var se=G.maxPadding;return function ue(Te){var Ke={left:0,top:0,right:0,bottom:0};return Te.forEach(function(lt){Ke[lt]=Math.max(G[lt],se[lt])}),Ke}(S?["left","right"]:["top","bottom"])}function Da(S,G,se){var Te,Ke,lt,xt,vt,$t,ue=[];for(Te=0,Ke=S.length;Te<Ke;++Te)(xt=(lt=S[Te]).box).update(lt.width||G.w,lt.height||G.h,Ao(lt.horizontal,G)),Tr(G,se,lt)&&($t=!0,ue.length&&(vt=!0)),xt.fullWidth||ue.push(lt);return vt&&Da(ue,G,se)||$t}function y0(S,G,se){var lt,xt,vt,$t,ue=se.padding,Te=G.x,Ke=G.y;for(lt=0,xt=S.length;lt<xt;++lt)$t=(vt=S[lt]).box,vt.horizontal?($t.left=$t.fullWidth?ue.left:G.left,$t.right=$t.fullWidth?se.outerWidth-ue.right:G.left+G.w,$t.top=Ke,$t.bottom=Ke+$t.height,$t.width=$t.right-$t.left,Ke=$t.bottom):($t.left=Te,$t.right=Te+$t.width,$t.top=G.top,$t.bottom=G.top+G.h,$t.height=$t.bottom-$t.top,Te=$t.right);G.x=Te,G.y=Ke}zn._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ma={defaults:{},addBox:function(S,G){S.boxes||(S.boxes=[]),G.fullWidth=G.fullWidth||!1,G.position=G.position||"top",G.weight=G.weight||0,G._layers=G._layers||function(){return[{z:0,draw:function(){G.draw.apply(G,arguments)}}]},S.boxes.push(G)},removeBox:function(S,G){var se=S.boxes?S.boxes.indexOf(G):-1;-1!==se&&S.boxes.splice(se,1)},configure:function(S,G,se){for(var lt,ue=["fullWidth","position","weight"],Te=ue.length,Ke=0;Ke<Te;++Ke)se.hasOwnProperty(lt=ue[Ke])&&(G[lt]=se[lt])},update:function(S,G,se){if(S){var Te=Ue.options.toPadding((S.options.layout||{}).padding),Ke=G-Te.width,lt=se-Te.height,xt=function Jr(S){var G=function Ol(S){var se,ue,Te,G=[];for(se=0,ue=(S||[]).length;se<ue;++se)G.push({index:se,box:Te=S[se],pos:Te.position,horizontal:Te.isHorizontal(),weight:Te.weight});return G}(S),se=cl(Ga(G,"left"),!0),ue=cl(Ga(G,"right")),Te=cl(Ga(G,"top"),!0),Ke=cl(Ga(G,"bottom"));return{leftAndTop:se.concat(Te),rightAndBottom:ue.concat(Ke),chartArea:Ga(G,"chartArea"),vertical:se.concat(ue),horizontal:Te.concat(Ke)}}(S.boxes),vt=xt.vertical,$t=xt.horizontal,an=Object.freeze({outerWidth:G,outerHeight:se,padding:Te,availableWidth:Ke,vBoxMaxWidth:Ke/2/vt.length,hBoxMaxHeight:lt/2}),fn=K1({maxPadding:K1({},Te),w:Ke,h:lt,x:Te.left,y:Te.top},Te);(function Wa(S,G){var se,ue,Te;for(se=0,ue=S.length;se<ue;++se)(Te=S[se]).width=Te.horizontal?Te.box.fullWidth&&G.availableWidth:G.vBoxMaxWidth,Te.height=Te.horizontal&&G.hBoxMaxHeight})(vt.concat($t),an),Da(vt,fn,an),Da($t,fn,an)&&Da(vt,fn,an),function Ta(S){var G=S.maxPadding;function se(ue){var Te=Math.max(G[ue]-S[ue],0);return S[ue]+=Te,Te}S.y+=se("top"),S.x+=se("left"),se("right"),se("bottom")}(fn),y0(xt.leftAndTop,fn,an),fn.x+=fn.w,fn.y+=fn.h,y0(xt.rightAndBottom,fn,an),S.chartArea={left:fn.left,top:fn.top,right:fn.left+fn.w,bottom:fn.top+fn.h},Ue.each(xt.chartArea,function(ti){var Ti=ti.box;K1(Ti,S.chartArea),Ti.update(fn.w,fn.h)})}}},Ar=function g(S){return S&&S.default||S}(Object.freeze({__proto__:null,default:"/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"})),gr="$chartjs",Zr="chartjs-",Ur=Zr+"size-monitor",Co=Zr+"render-monitor",Ka=Zr+"render-animation",tr=["animationstart","webkitAnimationStart"],yr={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function kr(S,G){var se=Ue.getStyle(S,G),ue=se&&se.match(/^(\d+)(\.\d+)?px$/);return ue?Number(ue[1]):void 0}var J1=!!function(){var S=!1;try{var G=Object.defineProperty({},"passive",{get:function(){S=!0}});window.addEventListener("e",null,G)}catch{}return S}()&&{passive:!0};function uo(S,G,se){S.addEventListener(G,se,J1)}function Dl(S,G,se){S.removeEventListener(G,se,J1)}function mo(S,G,se,ue,Te){return{type:S,chart:G,native:Te||null,x:void 0!==se?se:null,y:void 0!==ue?ue:null}}function Nr(S){var G=document.createElement("div");return G.className=S||"",G}function g1(S,G,se){var ue=S[gr]||(S[gr]={}),Te=ue.resizer=function Pl(S){var G=1e6,se=Nr(Ur),ue=Nr(Ur+"-expand"),Te=Nr(Ur+"-shrink");ue.appendChild(Nr()),Te.appendChild(Nr()),se.appendChild(ue),se.appendChild(Te),se._reset=function(){ue.scrollLeft=G,ue.scrollTop=G,Te.scrollLeft=G,Te.scrollTop=G};var Ke=function(){se._reset(),S()};return uo(ue,"scroll",Ke.bind(ue,"expand")),uo(Te,"scroll",Ke.bind(Te,"shrink")),se}(function ea(S,G){var se=!1,ue=[];return function(){ue=Array.prototype.slice.call(arguments),G=G||this,se||(se=!0,Ue.requestAnimFrame.call(window,function(){se=!1,S.apply(G,ue)}))}}(function(){if(ue.resizer){var Ke=se.options.maintainAspectRatio&&S.parentNode,lt=Ke?Ke.clientWidth:0;G(mo("resize",se)),Ke&&Ke.clientWidth<lt&&se.canvas&&G(mo("resize",se))}}));!function ra(S,G){var se=S[gr]||(S[gr]={}),ue=se.renderProxy=function(Te){Te.animationName===Ka&&G()};Ue.each(tr,function(Te){uo(S,Te,ue)}),se.reflow=!!S.offsetParent,S.classList.add(Co)}(S,function(){if(ue.resizer){var Ke=S.parentNode;Ke&&Ke!==Te.parentNode&&Ke.insertBefore(Te,Ke.firstChild),Te._reset()}})}function hc(S){var G=S[gr]||{},se=G.resizer;delete G.resizer,function ul(S){var G=S[gr]||{},se=G.renderProxy;se&&(Ue.each(tr,function(ue){Dl(S,ue,se)}),delete G.renderProxy),S.classList.remove(Co)}(S),se&&se.parentNode&&se.parentNode.removeChild(se)}var Jo={disableCSSInjection:!1,_enabled:typeof window<"u"&&typeof document<"u",_ensureLoaded:function(S){if(!this.disableCSSInjection){var G=S.getRootNode?S.getRootNode():document;!function Dr(S,G){var se=S[gr]||(S[gr]={});if(!se.containsStyles){se.containsStyles=!0,G="/* Chart.js */\n"+G;var ue=document.createElement("style");ue.setAttribute("type","text/css"),ue.appendChild(document.createTextNode(G)),S.appendChild(ue)}}(G.host?G:document.head,Ar)}},acquireContext:function(S,G){"string"==typeof S?S=document.getElementById(S):S.length&&(S=S[0]),S&&S.canvas&&(S=S.canvas);var se=S&&S.getContext&&S.getContext("2d");return se&&se.canvas===S?(this._ensureLoaded(S),function Uo(S,G){var se=S.style,ue=S.getAttribute("height"),Te=S.getAttribute("width");if(S[gr]={initial:{height:ue,width:Te,style:{display:se.display,height:se.height,width:se.width}}},se.display=se.display||"block",null===Te||""===Te){var Ke=kr(S,"width");void 0!==Ke&&(S.width=Ke)}if(null===ue||""===ue)if(""===S.style.height)S.height=S.width/(G.options.aspectRatio||2);else{var lt=kr(S,"height");void 0!==Ke&&(S.height=lt)}return S}(S,G),se):null},releaseContext:function(S){var G=S.canvas;if(G[gr]){var se=G[gr].initial;["height","width"].forEach(function(ue){var Te=se[ue];Ue.isNullOrUndef(Te)?G.removeAttribute(ue):G.setAttribute(ue,Te)}),Ue.each(se.style||{},function(ue,Te){G.style[Te]=ue}),G.width=G.width,delete G[gr]}},addEventListener:function(S,G,se){var ue=S.canvas;if("resize"!==G){var Te=se[gr]||(se[gr]={});uo(ue,G,(Te.proxies||(Te.proxies={}))[S.id+"_"+G]=function(xt){se(function vl(S,G){var se=yr[S.type]||S.type,ue=Ue.getRelativePosition(S,G);return mo(se,G,ue.x,ue.y,S)}(xt,S))})}else g1(ue,se,S)},removeEventListener:function(S,G,se){var ue=S.canvas;if("resize"!==G){var lt=((se[gr]||{}).proxies||{})[S.id+"_"+G];lt&&Dl(ue,G,lt)}else hc(ue)}};Ue.addEvent=uo,Ue.removeEvent=Dl;var W0=Ue.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Jo._enabled?Jo:{acquireContext:function(S){return S&&S.canvas&&(S=S.canvas),S&&S.getContext("2d")||null}});zn._set("global",{plugins:{}});var _a={_plugins:[],_cacheId:0,register:function(S){var G=this._plugins;[].concat(S).forEach(function(se){-1===G.indexOf(se)&&G.push(se)}),this._cacheId++},unregister:function(S){var G=this._plugins;[].concat(S).forEach(function(se){var ue=G.indexOf(se);-1!==ue&&G.splice(ue,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(S,G,se){var Ke,lt,xt,vt,$t,ue=this.descriptors(S),Te=ue.length;for(Ke=0;Ke<Te;++Ke)if("function"==typeof($t=(xt=(lt=ue[Ke]).plugin)[G])&&((vt=[S].concat(se||[])).push(lt.options),!1===$t.apply(xt,vt)))return!1;return!0},descriptors:function(S){var G=S.$plugins||(S.$plugins={});if(G.id===this._cacheId)return G.descriptors;var se=[],ue=[],Te=S&&S.config||{},Ke=Te.options&&Te.options.plugins||{};return this._plugins.concat(Te.plugins||[]).forEach(function(lt){if(-1===se.indexOf(lt)){var vt=lt.id,$t=Ke[vt];!1!==$t&&(!0===$t&&($t=Ue.clone(zn.global.plugins[vt])),se.push(lt),ue.push({plugin:lt,options:$t||{}}))}}),G.descriptors=ue,G.id=this._cacheId,ue},_invalidate:function(S){delete S.$plugins}},L1={constructors:{},defaults:{},registerScaleType:function(S,G,se){this.constructors[S]=G,this.defaults[S]=Ue.clone(se)},getScaleConstructor:function(S){return this.constructors.hasOwnProperty(S)?this.constructors[S]:void 0},getScaleDefaults:function(S){return this.defaults.hasOwnProperty(S)?Ue.merge(Object.create(null),[zn.scale,this.defaults[S]]):{}},updateScaleDefaults:function(S,G){this.defaults.hasOwnProperty(S)&&(this.defaults[S]=Ue.extend(this.defaults[S],G))},addScalesToLayout:function(S){Ue.each(S.scales,function(G){G.fullWidth=G.options.fullWidth,G.position=G.options.position,G.weight=G.options.weight,ma.addBox(S,G)})}},h0=Ue.valueOrDefault,z1=Ue.rtl.getRtlAdapter;zn._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:Ue.noop,title:function(S,G){var se="",ue=G.labels,Te=ue?ue.length:0;if(S.length>0){var Ke=S[0];Ke.label?se=Ke.label:Ke.xLabel?se=Ke.xLabel:Te>0&&Ke.index<Te&&(se=ue[Ke.index])}return se},afterTitle:Ue.noop,beforeBody:Ue.noop,beforeLabel:Ue.noop,label:function(S,G){var se=G.datasets[S.datasetIndex].label||"";return se&&(se+=": "),Ue.isNullOrUndef(S.value)?se+=S.yLabel:se+=S.value,se},labelColor:function(S,G){var Te=G.getDatasetMeta(S.datasetIndex).data[S.index]._view;return{borderColor:Te.borderColor,backgroundColor:Te.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:Ue.noop,afterBody:Ue.noop,beforeFooter:Ue.noop,footer:Ue.noop,afterFooter:Ue.noop}}});var un={average:function(S){if(!S.length)return!1;var G,se,ue=0,Te=0,Ke=0;for(G=0,se=S.length;G<se;++G){var lt=S[G];if(lt&&lt.hasValue()){var xt=lt.tooltipPosition();ue+=xt.x,Te+=xt.y,++Ke}}return{x:ue/Ke,y:Te/Ke}},nearest:function(S,G){var Ke,lt,xt,se=G.x,ue=G.y,Te=Number.POSITIVE_INFINITY;for(Ke=0,lt=S.length;Ke<lt;++Ke){var vt=S[Ke];if(vt&&vt.hasValue()){var $t=vt.getCenterPoint(),an=Ue.distanceBetweenPoints(G,$t);an<Te&&(Te=an,xt=vt)}}if(xt){var fn=xt.tooltipPosition();se=fn.x,ue=fn.y}return{x:se,y:ue}}};function tn(S,G){return G&&(Ue.isArray(G)?Array.prototype.push.apply(S,G):S.push(G)),S}function Dt(S){return("string"==typeof S||S instanceof String)&&S.indexOf("\n")>-1?S.split("\n"):S}function qn(S){var G=S._xScale,se=S._yScale||S._scale,ue=S._index,Te=S._datasetIndex,Ke=S._chart.getDatasetMeta(Te).controller,lt=Ke._getIndexScale(),xt=Ke._getValueScale();return{xLabel:G?G.getLabelForIndex(ue,Te):"",yLabel:se?se.getLabelForIndex(ue,Te):"",label:lt?""+lt.getLabelForIndex(ue,Te):"",value:xt?""+xt.getLabelForIndex(ue,Te):"",index:ue,datasetIndex:Te,x:S._model.x,y:S._model.y}}function zi(S){var G=zn.global;return{xPadding:S.xPadding,yPadding:S.yPadding,xAlign:S.xAlign,yAlign:S.yAlign,rtl:S.rtl,textDirection:S.textDirection,bodyFontColor:S.bodyFontColor,_bodyFontFamily:h0(S.bodyFontFamily,G.defaultFontFamily),_bodyFontStyle:h0(S.bodyFontStyle,G.defaultFontStyle),_bodyAlign:S.bodyAlign,bodyFontSize:h0(S.bodyFontSize,G.defaultFontSize),bodySpacing:S.bodySpacing,titleFontColor:S.titleFontColor,_titleFontFamily:h0(S.titleFontFamily,G.defaultFontFamily),_titleFontStyle:h0(S.titleFontStyle,G.defaultFontStyle),titleFontSize:h0(S.titleFontSize,G.defaultFontSize),_titleAlign:S.titleAlign,titleSpacing:S.titleSpacing,titleMarginBottom:S.titleMarginBottom,footerFontColor:S.footerFontColor,_footerFontFamily:h0(S.footerFontFamily,G.defaultFontFamily),_footerFontStyle:h0(S.footerFontStyle,G.defaultFontStyle),footerFontSize:h0(S.footerFontSize,G.defaultFontSize),_footerAlign:S.footerAlign,footerSpacing:S.footerSpacing,footerMarginTop:S.footerMarginTop,caretSize:S.caretSize,cornerRadius:S.cornerRadius,backgroundColor:S.backgroundColor,opacity:0,legendColorBackground:S.multiKeyBackground,displayColors:S.displayColors,borderColor:S.borderColor,borderWidth:S.borderWidth}}function P0(S,G){return"center"===G?S.x+S.width/2:"right"===G?S.x+S.width-S.xPadding:S.x+S.xPadding}function Eo(S){return tn([],Dt(S))}var Ac=Ai.extend({initialize:function(){this._model=zi(this._options),this._lastActive=[]},getTitle:function(){var S=this,se=S._options.callbacks,ue=se.beforeTitle.apply(S,arguments),Te=se.title.apply(S,arguments),Ke=se.afterTitle.apply(S,arguments),lt=[];return lt=tn(lt,Dt(ue)),lt=tn(lt,Dt(Te)),tn(lt,Dt(Ke))},getBeforeBody:function(){return Eo(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(S,G){var se=this,ue=se._options.callbacks,Te=[];return Ue.each(S,function(Ke){var lt={before:[],lines:[],after:[]};tn(lt.before,Dt(ue.beforeLabel.call(se,Ke,G))),tn(lt.lines,ue.label.call(se,Ke,G)),tn(lt.after,Dt(ue.afterLabel.call(se,Ke,G))),Te.push(lt)}),Te},getAfterBody:function(){return Eo(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var S=this,G=S._options.callbacks,se=G.beforeFooter.apply(S,arguments),ue=G.footer.apply(S,arguments),Te=G.afterFooter.apply(S,arguments),Ke=[];return Ke=tn(Ke,Dt(se)),Ke=tn(Ke,Dt(ue)),tn(Ke,Dt(Te))},update:function(S){var fn,ti,G=this,se=G._options,ue=G._model,Te=G._model=zi(se),Ke=G._active,lt=G._data,xt={xAlign:ue.xAlign,yAlign:ue.yAlign},vt={x:ue.x,y:ue.y},$t={width:ue.width,height:ue.height},an={x:ue.caretX,y:ue.caretY};if(Ke.length){Te.opacity=1;var Ti=[],Ri=[];an=un[se.position].call(G,Ke,G._eventPosition);var Bi=[];for(fn=0,ti=Ke.length;fn<ti;++fn)Bi.push(qn(Ke[fn]));se.filter&&(Bi=Bi.filter(function(ts){return se.filter(ts,lt)})),se.itemSort&&(Bi=Bi.sort(function(ts,Ws){return se.itemSort(ts,Ws,lt)})),Ue.each(Bi,function(ts){Ti.push(se.callbacks.labelColor.call(G,ts,G._chart)),Ri.push(se.callbacks.labelTextColor.call(G,ts,G._chart))}),Te.title=G.getTitle(Bi,lt),Te.beforeBody=G.getBeforeBody(Bi,lt),Te.body=G.getBody(Bi,lt),Te.afterBody=G.getAfterBody(Bi,lt),Te.footer=G.getFooter(Bi,lt),Te.x=an.x,Te.y=an.y,Te.caretPadding=se.caretPadding,Te.labelColors=Ti,Te.labelTextColors=Ri,Te.dataPoints=Bi,vt=function Al(S,G,se,ue){var Te=S.x,Ke=S.y,xt=S.caretPadding,$t=se.xAlign,an=se.yAlign,fn=S.caretSize+xt,ti=S.cornerRadius+xt;return"right"===$t?Te-=G.width:"center"===$t&&((Te-=G.width/2)+G.width>ue.width&&(Te=ue.width-G.width),Te<0&&(Te=0)),"top"===an?Ke+=fn:Ke-="bottom"===an?G.height+fn:G.height/2,"center"===an?"left"===$t?Te+=fn:"right"===$t&&(Te-=fn):"left"===$t?Te-=ti:"right"===$t&&(Te+=ti),{x:Te,y:Ke}}(Te,$t=function yo(S,G){var se=S._chart.ctx,ue=2*G.yPadding,Te=0,Ke=G.body,lt=Ke.reduce(function(Ri,Bi){return Ri+Bi.before.length+Bi.lines.length+Bi.after.length},0),xt=G.title.length,vt=G.footer.length,$t=G.titleFontSize,an=G.bodyFontSize,fn=G.footerFontSize;ue+=xt*$t,ue+=xt?(xt-1)*G.titleSpacing:0,ue+=xt?G.titleMarginBottom:0,ue+=(lt+=G.beforeBody.length+G.afterBody.length)*an,ue+=lt?(lt-1)*G.bodySpacing:0,ue+=vt?G.footerMarginTop:0,ue+=vt*fn,ue+=vt?(vt-1)*G.footerSpacing:0;var ti=0,Ti=function(Ri){Te=Math.max(Te,se.measureText(Ri).width+ti)};return se.font=Ue.fontString($t,G._titleFontStyle,G._titleFontFamily),Ue.each(G.title,Ti),se.font=Ue.fontString(an,G._bodyFontStyle,G._bodyFontFamily),Ue.each(G.beforeBody.concat(G.afterBody),Ti),ti=G.displayColors?an+2:0,Ue.each(Ke,function(Ri){Ue.each(Ri.before,Ti),Ue.each(Ri.lines,Ti),Ue.each(Ri.after,Ti)}),ti=0,se.font=Ue.fontString(fn,G._footerFontStyle,G._footerFontFamily),Ue.each(G.footer,Ti),{width:Te+=2*G.xPadding,height:ue}}(this,Te),xt=function xr(S,G){var se=S._model,ue=S._chart,Te=S._chart.chartArea,Ke="center",lt="center";se.y<G.height?lt="top":se.y>ue.height-G.height&&(lt="bottom");var xt,vt,$t,an,fn,ti=(Te.left+Te.right)/2,Ti=(Te.top+Te.bottom)/2;"center"===lt?(xt=function(Bi){return Bi<=ti},vt=function(Bi){return Bi>ti}):(xt=function(Bi){return Bi<=G.width/2},vt=function(Bi){return Bi>=ue.width-G.width/2}),$t=function(Bi){return Bi+G.width+se.caretSize+se.caretPadding>ue.width},an=function(Bi){return Bi-G.width-se.caretSize-se.caretPadding<0},fn=function(Bi){return Bi<=Ti?"top":"bottom"},xt(se.x)?(Ke="left",$t(se.x)&&(Ke="center",lt=fn(se.y))):vt(se.x)&&(Ke="right",an(se.x)&&(Ke="center",lt=fn(se.y)));var Ri=S._options;return{xAlign:Ri.xAlign?Ri.xAlign:Ke,yAlign:Ri.yAlign?Ri.yAlign:lt}}(this,$t),G._chart)}else Te.opacity=0;return Te.xAlign=xt.xAlign,Te.yAlign=xt.yAlign,Te.x=vt.x,Te.y=vt.y,Te.width=$t.width,Te.height=$t.height,Te.caretX=an.x,Te.caretY=an.y,G._model=Te,S&&se.custom&&se.custom.call(G,Te),G},drawCaret:function(S,G){var se=this._chart.ctx,Te=this.getCaretPosition(S,G,this._view);se.lineTo(Te.x1,Te.y1),se.lineTo(Te.x2,Te.y2),se.lineTo(Te.x3,Te.y3)},getCaretPosition:function(S,G,se){var ue,Te,Ke,lt,xt,vt,$t=se.caretSize,an=se.cornerRadius,fn=se.xAlign,ti=se.yAlign,Ti=S.x,Ri=S.y,Bi=G.width,ts=G.height;if("center"===ti)xt=Ri+ts/2,"left"===fn?(Te=(ue=Ti)-$t,Ke=ue,lt=xt+$t,vt=xt-$t):(Te=(ue=Ti+Bi)+$t,Ke=ue,lt=xt-$t,vt=xt+$t);else if("left"===fn?(ue=(Te=Ti+an+$t)-$t,Ke=Te+$t):"right"===fn?(ue=(Te=Ti+Bi-an-$t)-$t,Ke=Te+$t):(ue=(Te=se.caretX)-$t,Ke=Te+$t),"top"===ti)xt=(lt=Ri)-$t,vt=lt;else{xt=(lt=Ri+ts)+$t,vt=lt;var Ws=Ke;Ke=ue,ue=Ws}return{x1:ue,x2:Te,x3:Ke,y1:lt,y2:xt,y3:vt}},drawTitle:function(S,G,se){var Ke,lt,xt,ue=G.title,Te=ue.length;if(Te){var vt=z1(G.rtl,G.x,G.width);for(S.x=P0(G,G._titleAlign),se.textAlign=vt.textAlign(G._titleAlign),se.textBaseline="middle",Ke=G.titleFontSize,lt=G.titleSpacing,se.fillStyle=G.titleFontColor,se.font=Ue.fontString(Ke,G._titleFontStyle,G._titleFontFamily),xt=0;xt<Te;++xt)se.fillText(ue[xt],vt.x(S.x),S.y+Ke/2),S.y+=Ke+lt,xt+1===Te&&(S.y+=G.titleMarginBottom-lt)}},drawBody:function(S,G,se){var ti,Ti,Ri,Bi,ts,Ws,Wo,ro,ue=G.bodyFontSize,Te=G.bodySpacing,Ke=G._bodyAlign,lt=G.body,xt=G.displayColors,vt=0,$t=xt?P0(G,"left"):0,an=z1(G.rtl,G.x,G.width),fn=function(ar){se.fillText(ar,an.x(S.x+vt),S.y+ue/2),S.y+=ue+Te},Bo=an.textAlign(Ke);for(se.textAlign=Ke,se.textBaseline="middle",se.font=Ue.fontString(ue,G._bodyFontStyle,G._bodyFontFamily),S.x=P0(G,Bo),se.fillStyle=G.bodyFontColor,Ue.each(G.beforeBody,fn),vt=xt&&"right"!==Bo?"center"===Ke?ue/2+1:ue+2:0,ts=0,Wo=lt.length;ts<Wo;++ts){for(ti=lt[ts],Ri=G.labelColors[ts],se.fillStyle=Ti=G.labelTextColors[ts],Ue.each(ti.before,fn),Ws=0,ro=(Bi=ti.lines).length;Ws<ro;++Ws){if(xt){var Xo=an.x($t);se.fillStyle=G.legendColorBackground,se.fillRect(an.leftForLtr(Xo,ue),S.y,ue,ue),se.lineWidth=1,se.strokeStyle=Ri.borderColor,se.strokeRect(an.leftForLtr(Xo,ue),S.y,ue,ue),se.fillStyle=Ri.backgroundColor,se.fillRect(an.leftForLtr(an.xPlus(Xo,1),ue-2),S.y+1,ue-2,ue-2),se.fillStyle=Ti}fn(Bi[Ws])}Ue.each(ti.after,fn)}vt=0,Ue.each(G.afterBody,fn),S.y-=Te},drawFooter:function(S,G,se){var Ke,lt,ue=G.footer,Te=ue.length;if(Te){var xt=z1(G.rtl,G.x,G.width);for(S.x=P0(G,G._footerAlign),S.y+=G.footerMarginTop,se.textAlign=xt.textAlign(G._footerAlign),se.textBaseline="middle",Ke=G.footerFontSize,se.fillStyle=G.footerFontColor,se.font=Ue.fontString(Ke,G._footerFontStyle,G._footerFontFamily),lt=0;lt<Te;++lt)se.fillText(ue[lt],xt.x(S.x),S.y+Ke/2),S.y+=Ke+G.footerSpacing}},drawBackground:function(S,G,se,ue){se.fillStyle=G.backgroundColor,se.strokeStyle=G.borderColor,se.lineWidth=G.borderWidth;var Te=G.xAlign,Ke=G.yAlign,lt=S.x,xt=S.y,vt=ue.width,$t=ue.height,an=G.cornerRadius;se.beginPath(),se.moveTo(lt+an,xt),"top"===Ke&&this.drawCaret(S,ue),se.lineTo(lt+vt-an,xt),se.quadraticCurveTo(lt+vt,xt,lt+vt,xt+an),"center"===Ke&&"right"===Te&&this.drawCaret(S,ue),se.lineTo(lt+vt,xt+$t-an),se.quadraticCurveTo(lt+vt,xt+$t,lt+vt-an,xt+$t),"bottom"===Ke&&this.drawCaret(S,ue),se.lineTo(lt+an,xt+$t),se.quadraticCurveTo(lt,xt+$t,lt,xt+$t-an),"center"===Ke&&"left"===Te&&this.drawCaret(S,ue),se.lineTo(lt,xt+an),se.quadraticCurveTo(lt,xt,lt+an,xt),se.closePath(),se.fill(),G.borderWidth>0&&se.stroke()},draw:function(){var S=this._chart.ctx,G=this._view;if(0!==G.opacity){var se={width:G.width,height:G.height},ue={x:G.x,y:G.y},Te=Math.abs(G.opacity<.001)?0:G.opacity;this._options.enabled&&(G.title.length||G.beforeBody.length||G.body.length||G.afterBody.length||G.footer.length)&&(S.save(),S.globalAlpha=Te,this.drawBackground(ue,G,S,se),ue.y+=G.yPadding,Ue.rtl.overrideTextDirection(S,G.textDirection),this.drawTitle(ue,G,S),this.drawBody(ue,G,S),this.drawFooter(ue,G,S),Ue.rtl.restoreTextDirection(S,G.textDirection),S.restore())}},handleEvent:function(S){var ue,G=this,se=G._options;return G._lastActive=G._lastActive||[],"mouseout"===S.type?G._active=[]:(G._active=G._chart.getElementsAtEventForMode(S,se.mode,se),se.reverse&&G._active.reverse()),(ue=!Ue.arrayEquals(G._active,G._lastActive))&&(G._lastActive=G._active,(se.enabled||se.custom)&&(G._eventPosition={x:S.x,y:S.y},G.update(!0),G.pivot())),ue}}),dl=Ac;dl.positioners=un;var ur=Ue.valueOrDefault;function w1(){return Ue.merge(Object.create(null),[].slice.call(arguments),{merger:function(S,G,se,ue){if("xAxes"===S||"yAxes"===S){var Ke,lt,xt,Te=se[S].length;for(G[S]||(G[S]=[]),Ke=0;Ke<Te;++Ke)lt=ur((xt=se[S][Ke]).type,"xAxes"===S?"category":"linear"),Ke>=G[S].length&&G[S].push({}),Ue.merge(G[S][Ke],!G[S][Ke].type||xt.type&&xt.type!==G[S][Ke].type?[L1.getScaleDefaults(lt),xt]:xt)}else Ue._merger(S,G,se,ue)}})}function So(){return Ue.merge(Object.create(null),[].slice.call(arguments),{merger:function(S,G,se,ue){var Te=G[S]||Object.create(null),Ke=se[S];"scales"===S?G[S]=w1(Te,Ke):"scale"===S?G[S]=Ue.merge(Te,[L1.getScaleDefaults(Ke.type),Ke]):Ue._merger(S,G,se,ue)}})}function jl(S,G,se){var ue,Te=function(Ke){return Ke.id===ue};do{ue=G+se++}while(Ue.findIndex(S,Te)>=0);return ue}function Zl(S){return"top"===S||"bottom"===S}function ba(S,G){return function(se,ue){return se[S]===ue[S]?se[G]-ue[G]:se[S]-ue[S]}}zn._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var qa=function(S,G){return this.construct(S,G),this};Ue.extend(qa.prototype,{construct:function(S,G){var se=this;G=function s0(S){var G=(S=S||Object.create(null)).data=S.data||{};return G.datasets=G.datasets||[],G.labels=G.labels||[],S.options=So(zn.global,zn[S.type],S.options||{}),S}(G);var ue=W0.acquireContext(S,G),Te=ue&&ue.canvas,Ke=Te&&Te.height,lt=Te&&Te.width;se.id=Ue.uid(),se.ctx=ue,se.canvas=Te,se.config=G,se.width=lt,se.height=Ke,se.aspectRatio=Ke?lt/Ke:null,se.options=G.options,se._bufferedRender=!1,se._layers=[],se.chart=se,se.controller=se,qa.instances[se.id]=se,Object.defineProperty(se,"data",{get:function(){return se.config.data},set:function(xt){se.config.data=xt}}),ue&&Te?(se.initialize(),se.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var S=this;return _a.notify(S,"beforeInit"),Ue.retinaScale(S,S.options.devicePixelRatio),S.bindEvents(),S.options.responsive&&S.resize(!0),S.initToolTip(),_a.notify(S,"afterInit"),S},clear:function(){return Ue.canvas.clear(this),this},stop:function(){return sn.cancelAnimation(this),this},resize:function(S){var G=this,se=G.options,ue=G.canvas,Te=se.maintainAspectRatio&&G.aspectRatio||null,Ke=Math.max(0,Math.floor(Ue.getMaximumWidth(ue))),lt=Math.max(0,Math.floor(Te?Ke/Te:Ue.getMaximumHeight(ue)));if((G.width!==Ke||G.height!==lt)&&(ue.width=G.width=Ke,ue.height=G.height=lt,ue.style.width=Ke+"px",ue.style.height=lt+"px",Ue.retinaScale(G,se.devicePixelRatio),!S)){var xt={width:Ke,height:lt};_a.notify(G,"resize",[xt]),se.onResize&&se.onResize(G,xt),G.stop(),G.update({duration:se.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var S=this.options,G=S.scales||{},se=S.scale;Ue.each(G.xAxes,function(ue,Te){ue.id||(ue.id=jl(G.xAxes,"x-axis-",Te))}),Ue.each(G.yAxes,function(ue,Te){ue.id||(ue.id=jl(G.yAxes,"y-axis-",Te))}),se&&(se.id=se.id||"scale")},buildOrUpdateScales:function(){var S=this,G=S.options,se=S.scales||{},ue=[],Te=Object.keys(se).reduce(function(Ke,lt){return Ke[lt]=!1,Ke},{});G.scales&&(ue=ue.concat((G.scales.xAxes||[]).map(function(Ke){return{options:Ke,dtype:"category",dposition:"bottom"}}),(G.scales.yAxes||[]).map(function(Ke){return{options:Ke,dtype:"linear",dposition:"left"}}))),G.scale&&ue.push({options:G.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),Ue.each(ue,function(Ke){var lt=Ke.options,xt=lt.id,vt=ur(lt.type,Ke.dtype);Zl(lt.position)!==Zl(Ke.dposition)&&(lt.position=Ke.dposition),Te[xt]=!0;var $t=null;if(xt in se&&se[xt].type===vt)($t=se[xt]).options=lt,$t.ctx=S.ctx,$t.chart=S;else{var an=L1.getScaleConstructor(vt);if(!an)return;$t=new an({id:xt,type:vt,options:lt,ctx:S.ctx,chart:S}),se[$t.id]=$t}$t.mergeTicksOptions(),Ke.isDefault&&(S.scale=$t)}),Ue.each(Te,function(Ke,lt){Ke||delete se[lt]}),S.scales=se,L1.addScalesToLayout(this)},buildOrUpdateControllers:function(){var ue,Te,S=this,G=[],se=S.data.datasets;for(ue=0,Te=se.length;ue<Te;ue++){var Ke=se[ue],lt=S.getDatasetMeta(ue),xt=Ke.type||S.config.type;if(lt.type&&lt.type!==xt&&(S.destroyDatasetMeta(ue),lt=S.getDatasetMeta(ue)),lt.type=xt,lt.order=Ke.order||0,lt.index=ue,lt.controller)lt.controller.updateIndex(ue),lt.controller.linkScales();else{var vt=l1[lt.type];if(void 0===vt)throw new Error('"'+lt.type+'" is not a chart type.');lt.controller=new vt(S,ue),G.push(lt.controller)}}return G},resetElements:function(){var S=this;Ue.each(S.data.datasets,function(G,se){S.getDatasetMeta(se).controller.reset()},S)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(S){var se,ue,G=this;if((!S||"object"!=typeof S)&&(S={duration:S,lazy:arguments[1]}),function e1(S){var G=S.options;Ue.each(S.scales,function(se){ma.removeBox(S,se)}),G=So(zn.global,zn[S.config.type],G),S.options=S.config.options=G,S.ensureScalesHaveIDs(),S.buildOrUpdateScales(),S.tooltip._options=G.tooltips,S.tooltip.initialize()}(G),_a._invalidate(G),!1!==_a.notify(G,"beforeUpdate")){G.tooltip._data=G.data;var Te=G.buildOrUpdateControllers();for(se=0,ue=G.data.datasets.length;se<ue;se++)G.getDatasetMeta(se).controller.buildOrUpdateElements();G.updateLayout(),G.options.animation&&G.options.animation.duration&&Ue.each(Te,function(Ke){Ke.reset()}),G.updateDatasets(),G.tooltip.initialize(),G.lastActive=[],_a.notify(G,"afterUpdate"),G._layers.sort(ba("z","_idx")),G._bufferedRender?G._bufferedRequest={duration:S.duration,easing:S.easing,lazy:S.lazy}:G.render(S)}},updateLayout:function(){var S=this;!1!==_a.notify(S,"beforeLayout")&&(ma.update(this,this.width,this.height),S._layers=[],Ue.each(S.boxes,function(G){G._configure&&G._configure(),S._layers.push.apply(S._layers,G._layers())},S),S._layers.forEach(function(G,se){G._idx=se}),_a.notify(S,"afterScaleUpdate"),_a.notify(S,"afterLayout"))},updateDatasets:function(){var S=this;if(!1!==_a.notify(S,"beforeDatasetsUpdate")){for(var G=0,se=S.data.datasets.length;G<se;++G)S.updateDataset(G);_a.notify(S,"afterDatasetsUpdate")}},updateDataset:function(S){var G=this,se=G.getDatasetMeta(S),ue={meta:se,index:S};!1!==_a.notify(G,"beforeDatasetUpdate",[ue])&&(se.controller._update(),_a.notify(G,"afterDatasetUpdate",[ue]))},render:function(S){var G=this;(!S||"object"!=typeof S)&&(S={duration:S,lazy:arguments[1]});var se=G.options.animation,ue=ur(S.duration,se&&se.duration),Te=S.lazy;if(!1!==_a.notify(G,"beforeRender")){var Ke=function(xt){_a.notify(G,"afterRender"),Ue.callback(se&&se.onComplete,[xt],G)};if(se&&ue){var lt=new Fs({numSteps:ue/16.66,easing:S.easing||se.easing,render:function(xt,vt){var an=vt.currentStep,fn=an/vt.numSteps;xt.draw((0,Ue.easing.effects[vt.easing])(fn),fn,an)},onAnimationProgress:se.onProgress,onAnimationComplete:Ke});sn.addAnimation(G,lt,ue,Te)}else G.draw(),Ke(new Fs({numSteps:0,chart:G}));return G}},draw:function(S){var se,ue,G=this;if(G.clear(),Ue.isNullOrUndef(S)&&(S=1),G.transition(S),!(G.width<=0||G.height<=0)&&!1!==_a.notify(G,"beforeDraw",[S])){for(ue=G._layers,se=0;se<ue.length&&ue[se].z<=0;++se)ue[se].draw(G.chartArea);for(G.drawDatasets(S);se<ue.length;++se)ue[se].draw(G.chartArea);G._drawTooltip(S),_a.notify(G,"afterDraw",[S])}},transition:function(S){for(var G=this,se=0,ue=(G.data.datasets||[]).length;se<ue;++se)G.isDatasetVisible(se)&&G.getDatasetMeta(se).controller.transition(S);G.tooltip.transition(S)},_getSortedDatasetMetas:function(S){var Te,Ke,G=this,ue=[];for(Te=0,Ke=(G.data.datasets||[]).length;Te<Ke;++Te)(!S||G.isDatasetVisible(Te))&&ue.push(G.getDatasetMeta(Te));return ue.sort(ba("order","index")),ue},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(S){var se,ue,G=this;if(!1!==_a.notify(G,"beforeDatasetsDraw",[S])){for(ue=(se=G._getSortedVisibleDatasetMetas()).length-1;ue>=0;--ue)G.drawDataset(se[ue],S);_a.notify(G,"afterDatasetsDraw",[S])}},drawDataset:function(S,G){var ue={meta:S,index:S.index,easingValue:G};!1!==_a.notify(this,"beforeDatasetDraw",[ue])&&(S.controller.draw(G),_a.notify(this,"afterDatasetDraw",[ue]))},_drawTooltip:function(S){var G=this,se=G.tooltip,ue={tooltip:se,easingValue:S};!1!==_a.notify(G,"beforeTooltipDraw",[ue])&&(se.draw(),_a.notify(G,"afterTooltipDraw",[ue]))},getElementAtEvent:function(S){return _1.modes.single(this,S)},getElementsAtEvent:function(S){return _1.modes.label(this,S,{intersect:!0})},getElementsAtXAxis:function(S){return _1.modes["x-axis"](this,S,{intersect:!0})},getElementsAtEventForMode:function(S,G,se){var ue=_1.modes[G];return"function"==typeof ue?ue(this,S,se):[]},getDatasetAtEvent:function(S){return _1.modes.dataset(this,S,{intersect:!0})},getDatasetMeta:function(S){var G=this,se=G.data.datasets[S];se._meta||(se._meta={});var ue=se._meta[G.id];return ue||(ue=se._meta[G.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:se.order||0,index:S}),ue},getVisibleDatasetCount:function(){for(var S=0,G=0,se=this.data.datasets.length;G<se;++G)this.isDatasetVisible(G)&&S++;return S},isDatasetVisible:function(S){var G=this.getDatasetMeta(S);return"boolean"==typeof G.hidden?!G.hidden:!this.data.datasets[S].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(S){var G=this.id,se=this.data.datasets[S],ue=se._meta&&se._meta[G];ue&&(ue.controller.destroy(),delete se._meta[G])},destroy:function(){var se,ue,S=this,G=S.canvas;for(S.stop(),se=0,ue=S.data.datasets.length;se<ue;++se)S.destroyDatasetMeta(se);G&&(S.unbindEvents(),Ue.canvas.clear(S),W0.releaseContext(S.ctx),S.canvas=null,S.ctx=null),_a.notify(S,"destroy"),delete qa.instances[S.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var S=this;S.tooltip=new dl({_chart:S,_chartInstance:S,_data:S.data,_options:S.options.tooltips},S)},bindEvents:function(){var S=this,G=S._listeners={},se=function(){S.eventHandler.apply(S,arguments)};Ue.each(S.options.events,function(ue){W0.addEventListener(S,ue,se),G[ue]=se}),S.options.responsive&&(se=function(){S.resize()},W0.addEventListener(S,"resize",se),G.resize=se)},unbindEvents:function(){var S=this,G=S._listeners;G&&(delete S._listeners,Ue.each(G,function(se,ue){W0.removeEventListener(S,ue,se)}))},updateHoverStyle:function(S,G,se){var Te,Ke,lt,ue=se?"set":"remove";for(Ke=0,lt=S.length;Ke<lt;++Ke)(Te=S[Ke])&&this.getDatasetMeta(Te._datasetIndex).controller[ue+"HoverStyle"](Te);"dataset"===G&&this.getDatasetMeta(S[0]._datasetIndex).controller["_"+ue+"DatasetHoverStyle"]()},eventHandler:function(S){var G=this,se=G.tooltip;if(!1!==_a.notify(G,"beforeEvent",[S])){G._bufferedRender=!0,G._bufferedRequest=null;var ue=G.handleEvent(S);se&&(ue=se._start?se.handleEvent(S):ue|se.handleEvent(S)),_a.notify(G,"afterEvent",[S]);var Te=G._bufferedRequest;return Te?G.render(Te):ue&&!G.animating&&(G.stop(),G.render({duration:G.options.hover.animationDuration,lazy:!0})),G._bufferedRender=!1,G._bufferedRequest=null,G}},handleEvent:function(S){var Te,G=this,se=G.options||{},ue=se.hover;return G.lastActive=G.lastActive||[],G.active="mouseout"===S.type?[]:G.getElementsAtEventForMode(S,ue.mode,ue),Ue.callback(se.onHover||se.hover.onHover,[S.native,G.active],G),("mouseup"===S.type||"click"===S.type)&&se.onClick&&se.onClick.call(G,S.native,G.active),G.lastActive.length&&G.updateHoverStyle(G.lastActive,ue.mode,!1),G.active.length&&ue.mode&&G.updateHoverStyle(G.active,ue.mode,!0),Te=!Ue.arrayEquals(G.active,G.lastActive),G.lastActive=G.active,Te}}),qa.instances={};var Pr=qa;qa.Controller=qa,qa.types={},Ue.configMerge=So,Ue.scaleMerge=w1;function I0(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Il(S){this.options=S||{}}Ue.extend(Il.prototype,{formats:I0,parse:I0,format:I0,add:I0,diff:I0,startOf:I0,endOf:I0,_create:function(S){return S}}),Il.override=function(S){Ue.extend(Il.prototype,S)};var Io={_date:Il},b1={formatters:{values:function(S){return Ue.isArray(S)?S:""+S},linear:function(S,G,se){var ue=se.length>3?se[2]-se[1]:se[1]-se[0];Math.abs(ue)>1&&S!==Math.floor(S)&&(ue=S-Math.floor(S));var Te=Ue.log10(Math.abs(ue)),Ke="";if(0!==S)if(Math.max(Math.abs(se[0]),Math.abs(se[se.length-1]))<1e-4){var xt=Ue.log10(Math.abs(S)),vt=Math.floor(xt)-Math.floor(Te);vt=Math.max(Math.min(vt,20),0),Ke=S.toExponential(vt)}else{var $t=-1*Math.floor(Te);$t=Math.max(Math.min($t,20),0),Ke=S.toFixed($t)}else Ke="0";return Ke},logarithmic:function(S,G,se){var ue=S/Math.pow(10,Math.floor(Ue.log10(S)));return 0===S?"0":1===ue||2===ue||5===ue||0===G||G===se.length-1?S.toExponential():""}}},Wn=Ue.isArray,yi=Ue.isNullOrUndef,Ut=Ue.valueOrDefault,ss=Ue.valueAtIndexOrDefault;function Us(S,G,se){var $t,ue=S.getTicks().length,Te=Math.min(G,ue-1),Ke=S.getPixelForTick(Te),lt=S._startPixel,xt=S._endPixel;if(!(se&&($t=1===ue?Math.max(Ke-lt,xt-Ke):0===G?(S.getPixelForTick(1)-Ke)/2:(Ke-S.getPixelForTick(Te-1))/2,Ke+=Te<G?$t:-$t,Ke<lt-1e-6||Ke>xt+1e-6)))return Ke}function wr(S,G,se,ue){var an,fn,ti,Ti,Ri,Bi,ts,Ws,Wo,ro,Bo,Xo,ar,Te=se.length,Ke=[],lt=[],xt=[],vt=0,$t=0;for(an=0;an<Te;++an){if(Ti=se[an].label,S.font=Bi=(Ri=se[an].major?G.major:G.minor).string,ts=ue[Bi]=ue[Bi]||{data:{},gc:[]},Ws=Ri.lineHeight,Wo=ro=0,yi(Ti)||Wn(Ti)){if(Wn(Ti))for(fn=0,ti=Ti.length;fn<ti;++fn)!yi(Bo=Ti[fn])&&!Wn(Bo)&&(Wo=Ue.measureText(S,ts.data,ts.gc,Wo,Bo),ro+=Ws)}else Wo=Ue.measureText(S,ts.data,ts.gc,Wo,Ti),ro=Ws;Ke.push(Wo),lt.push(ro),xt.push(Ws/2),vt=Math.max(Wo,vt),$t=Math.max(ro,$t)}function Wr(mr){return{width:Ke[mr]||0,height:lt[mr]||0,offset:xt[mr]||0}}return function or(S,G){Ue.each(S,function(se){var Ke,ue=se.gc,Te=ue.length/2;if(Te>G){for(Ke=0;Ke<Te;++Ke)delete se.data[ue[Ke]];ue.splice(0,Te)}})}(ue,Te),Xo=Ke.indexOf(vt),ar=lt.indexOf($t),{first:Wr(0),last:Wr(Te-1),widest:Wr(Xo),highest:Wr(ar)}}function Y0(S){return S.drawTicks?S.tickMarkLength:0}function R0(S){var G,se;return S.display?(G=Ue.options._parseFont(S),se=Ue.options.toPadding(S.padding),G.lineHeight+se.height):0}function $a(S,G){return Ue.extend(Ue.options._parseFont({fontFamily:Ut(G.fontFamily,S.fontFamily),fontSize:Ut(G.fontSize,S.fontSize),fontStyle:Ut(G.fontStyle,S.fontStyle),lineHeight:Ut(G.lineHeight,S.lineHeight)}),{color:Ue.options.resolve([G.fontColor,S.fontColor,zn.global.defaultFontColor])})}function Ra(S){var G=$a(S,S.minor);return{minor:G,major:S.major.enabled?$a(S,S.major):G}}function o0(S){var se,ue,Te,G=[];for(ue=0,Te=S.length;ue<Te;++ue)typeof(se=S[ue])._index<"u"&&G.push(se);return G}function xo(S,G,se,ue){var xt,vt,$t,an,Te=Ut(se,0),Ke=Math.min(Ut(ue,S.length),S.length),lt=0;for(G=Math.ceil(G),ue&&(G=(xt=ue-se)/Math.floor(xt/G)),an=Te;an<0;)lt++,an=Math.round(Te+lt*G);for(vt=Math.max(Te,0);vt<Ke;vt++)$t=S[vt],vt===an?($t._index=vt,lt++,an=Math.round(Te+lt*G)):delete $t.label}zn._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:b1.formatters.values,minor:{},major:{}}});var rr=Ai.extend({zeroLineIndex:0,getPadding:function(){var S=this;return{left:S.paddingLeft||0,top:S.paddingTop||0,right:S.paddingRight||0,bottom:S.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var S=this.chart.data;return this.options.labels||(this.isHorizontal()?S.xLabels:S.yLabels)||S.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){Ue.callback(this.options.beforeUpdate,[this])},update:function(S,G,se){var lt,xt,vt,$t,an,ue=this,Te=ue.options.ticks,Ke=Te.sampleSize;if(ue.beforeUpdate(),ue.maxWidth=S,ue.maxHeight=G,ue.margins=Ue.extend({left:0,right:0,top:0,bottom:0},se),ue._ticks=null,ue.ticks=null,ue._labelSizes=null,ue._maxLabelLines=0,ue.longestLabelWidth=0,ue.longestTextCache=ue.longestTextCache||{},ue._gridLineItems=null,ue._labelItems=null,ue.beforeSetDimensions(),ue.setDimensions(),ue.afterSetDimensions(),ue.beforeDataLimits(),ue.determineDataLimits(),ue.afterDataLimits(),ue.beforeBuildTicks(),$t=ue.buildTicks()||[],(!($t=ue.afterBuildTicks($t)||$t)||!$t.length)&&ue.ticks)for($t=[],lt=0,xt=ue.ticks.length;lt<xt;++lt)$t.push({value:ue.ticks[lt],major:!1});return ue._ticks=$t,vt=ue._convertTicksToLabels((an=Ke<$t.length)?function vs(S,G){for(var se=[],ue=S.length/G,Te=0,Ke=S.length;Te<Ke;Te+=ue)se.push(S[Math.floor(Te)]);return se}($t,Ke):$t),ue._configure(),ue.beforeCalculateTickRotation(),ue.calculateTickRotation(),ue.afterCalculateTickRotation(),ue.beforeFit(),ue.fit(),ue.afterFit(),ue._ticksToDraw=Te.display&&(Te.autoSkip||"auto"===Te.source)?ue._autoSkip($t):$t,an&&(vt=ue._convertTicksToLabels(ue._ticksToDraw)),ue.ticks=vt,ue.afterUpdate(),ue.minSize},_configure:function(){var se,ue,S=this,G=S.options.ticks.reverse;S.isHorizontal()?(se=S.left,ue=S.right):(se=S.top,ue=S.bottom,G=!G),S._startPixel=se,S._endPixel=ue,S._reversePixels=G,S._length=ue-se},afterUpdate:function(){Ue.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){Ue.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var S=this;S.isHorizontal()?(S.width=S.maxWidth,S.left=0,S.right=S.width):(S.height=S.maxHeight,S.top=0,S.bottom=S.height),S.paddingLeft=0,S.paddingTop=0,S.paddingRight=0,S.paddingBottom=0},afterSetDimensions:function(){Ue.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){Ue.callback(this.options.beforeDataLimits,[this])},determineDataLimits:Ue.noop,afterDataLimits:function(){Ue.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){Ue.callback(this.options.beforeBuildTicks,[this])},buildTicks:Ue.noop,afterBuildTicks:function(S){var G=this;return Wn(S)&&S.length?Ue.callback(G.options.afterBuildTicks,[G,S]):(G.ticks=Ue.callback(G.options.afterBuildTicks,[G,G.ticks])||G.ticks,S)},beforeTickToLabelConversion:function(){Ue.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var S=this,G=S.options.ticks;S.ticks=S.ticks.map(G.userCallback||G.callback,this)},afterTickToLabelConversion:function(){Ue.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){Ue.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var xt,vt,$t,an,fn,ti,Ti,S=this,G=S.options,se=G.ticks,ue=S.getTicks().length,Te=se.minRotation||0,Ke=se.maxRotation,lt=Te;!S._isVisible()||!se.display||Te>=Ke||ue<=1||!S.isHorizontal()?S.labelRotation=Te:(vt=(xt=S._getLabelSizes()).widest.width,$t=xt.highest.height-xt.highest.offset,an=Math.min(S.maxWidth,S.chart.width-vt),vt+6>(fn=G.offset?S.maxWidth/ue:an/(ue-1))&&(fn=an/(ue-(G.offset?.5:1)),ti=S.maxHeight-Y0(G.gridLines)-se.padding-R0(G.scaleLabel),Ti=Math.sqrt(vt*vt+$t*$t),lt=Ue.toDegrees(Math.min(Math.asin(Math.min((xt.highest.height+6)/fn,1)),Math.asin(Math.min(ti/Ti,1))-Math.asin($t/Ti))),lt=Math.max(Te,Math.min(Ke,lt))),S.labelRotation=lt)},afterCalculateTickRotation:function(){Ue.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){Ue.callback(this.options.beforeFit,[this])},fit:function(){var S=this,G=S.minSize={width:0,height:0},se=S.chart,ue=S.options,Te=ue.ticks,Ke=ue.scaleLabel,lt=ue.gridLines,xt=S._isVisible(),vt="bottom"===ue.position,$t=S.isHorizontal();if($t?G.width=S.maxWidth:xt&&(G.width=Y0(lt)+R0(Ke)),$t?xt&&(G.height=Y0(lt)+R0(Ke)):G.height=S.maxHeight,Te.display&&xt){var an=Ra(Te),fn=S._getLabelSizes(),ti=fn.first,Ti=fn.last,Ri=fn.widest,Bi=fn.highest,ts=.4*an.minor.lineHeight,Ws=Te.padding;if($t){var Wo=0!==S.labelRotation,ro=Ue.toRadians(S.labelRotation),Bo=Math.cos(ro),Xo=Math.sin(ro);G.height=Math.min(S.maxHeight,G.height+(Xo*Ri.width+Bo*(Bi.height-(Wo?Bi.offset:0))+(Wo?0:ts))+Ws);var $r,va,Wr=S.getPixelForTick(0)-S.left,mr=S.right-S.getPixelForTick(S.getTicks().length-1);Wo?($r=vt?Bo*ti.width+Xo*ti.offset:Xo*(ti.height-ti.offset),va=vt?Xo*(Ti.height-Ti.offset):Bo*Ti.width+Xo*Ti.offset):($r=ti.width/2,va=Ti.width/2),S.paddingLeft=Math.max(($r-Wr)*S.width/(S.width-Wr),0)+3,S.paddingRight=Math.max((va-mr)*S.width/(S.width-mr),0)+3}else G.width=Math.min(S.maxWidth,G.width+(Te.mirror?0:Ri.width+Ws+ts)),S.paddingTop=ti.height/2,S.paddingBottom=Ti.height/2}S.handleMargins(),$t?(S.width=S._length=se.width-S.margins.left-S.margins.right,S.height=G.height):(S.width=G.width,S.height=S._length=se.height-S.margins.top-S.margins.bottom)},handleMargins:function(){var S=this;S.margins&&(S.margins.left=Math.max(S.paddingLeft,S.margins.left),S.margins.top=Math.max(S.paddingTop,S.margins.top),S.margins.right=Math.max(S.paddingRight,S.margins.right),S.margins.bottom=Math.max(S.paddingBottom,S.margins.bottom))},afterFit:function(){Ue.callback(this.options.afterFit,[this])},isHorizontal:function(){var S=this.options.position;return"top"===S||"bottom"===S},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(S){if(yi(S))return NaN;if(("number"==typeof S||S instanceof Number)&&!isFinite(S))return NaN;if(S)if(this.isHorizontal()){if(void 0!==S.x)return this.getRightValue(S.x)}else if(void 0!==S.y)return this.getRightValue(S.y);return S},_convertTicksToLabels:function(S){var se,ue,Te,G=this;for(G.ticks=S.map(function(Ke){return Ke.value}),G.beforeTickToLabelConversion(),se=G.convertTicksToLabels(S)||G.ticks,G.afterTickToLabelConversion(),ue=0,Te=S.length;ue<Te;++ue)S[ue].label=se[ue];return se},_getLabelSizes:function(){var S=this,G=S._labelSizes;return G||(S._labelSizes=G=wr(S.ctx,Ra(S.options.ticks),S.getTicks(),S.longestTextCache),S.longestLabelWidth=G.widest.width),G},_parseValue:function(S){var G,se,ue,Te;return Wn(S)?(G=+this.getRightValue(S[0]),se=+this.getRightValue(S[1]),ue=Math.min(G,se),Te=Math.max(G,se)):(G=void 0,se=S=+this.getRightValue(S),ue=S,Te=S),{min:ue,max:Te,start:G,end:se}},_getScaleLabel:function(S){var G=this._parseValue(S);return void 0!==G.start?"["+G.start+", "+G.end+"]":+this.getRightValue(S)},getLabelForIndex:Ue.noop,getPixelForValue:Ue.noop,getValueForPixel:Ue.noop,getPixelForTick:function(S){var G=this,se=G.options.offset,ue=G._ticks.length,Te=1/Math.max(ue-(se?0:1),1);return S<0||S>ue-1?null:G.getPixelForDecimal(S*Te+(se?Te/2:0))},getPixelForDecimal:function(S){var G=this;return G._reversePixels&&(S=1-S),G._startPixel+S*G._length},getDecimalForPixel:function(S){var G=(S-this._startPixel)/this._length;return this._reversePixels?1-G:G},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var S=this,G=S.min,se=S.max;return S.beginAtZero?0:G<0&&se<0?se:G>0&&se>0?G:0},_autoSkip:function(S){var $t,an,fn,ti,G=this,se=G.options.ticks,ue=G._length,Te=se.maxTicksLimit||ue/G._tickSize()+1,Ke=se.major.enabled?function M1(S){var se,ue,G=[];for(se=0,ue=S.length;se<ue;se++)S[se].major&&G.push(se);return G}(S):[],lt=Ke.length,xt=Ke[0],vt=Ke[lt-1];if(lt>Te)return function Gr(S,G,se){var Ke,lt,ue=0,Te=G[0];for(se=Math.ceil(se),Ke=0;Ke<S.length;Ke++)lt=S[Ke],Ke===Te?(lt._index=Ke,Te=G[++ue*se]):delete lt.label}(S,Ke,lt/Te),o0(S);if(fn=function B0(S,G,se,ue){var lt,xt,vt,$t,Te=function pl(S){var se,ue,G=S.length;if(G<2)return!1;for(ue=S[0],se=1;se<G;++se)if(S[se]-S[se-1]!==ue)return!1;return ue}(S),Ke=(G.length-1)/ue;if(!Te)return Math.max(Ke,1);for(vt=0,$t=(lt=Ue.math._factorize(Te)).length-1;vt<$t;vt++)if((xt=lt[vt])>Ke)return xt;return Math.max(Ke,1)}(Ke,S,0,Te),lt>0){for($t=0,an=lt-1;$t<an;$t++)xo(S,fn,Ke[$t],Ke[$t+1]);return xo(S,fn,Ue.isNullOrUndef(ti=lt>1?(vt-xt)/(lt-1):null)?0:xt-ti,xt),xo(S,fn,vt,Ue.isNullOrUndef(ti)?S.length:vt+ti),o0(S)}return xo(S,fn),o0(S)},_tickSize:function(){var S=this,G=S.options.ticks,se=Ue.toRadians(S.labelRotation),ue=Math.abs(Math.cos(se)),Te=Math.abs(Math.sin(se)),Ke=S._getLabelSizes(),lt=G.autoSkipPadding||0,xt=Ke?Ke.widest.width+lt:0,vt=Ke?Ke.highest.height+lt:0;return S.isHorizontal()?vt*ue>xt*Te?xt/ue:vt/Te:vt*Te<xt*ue?vt/ue:xt/Te},_isVisible:function(){var ue,Te,Ke,S=this,G=S.chart,se=S.options.display;if("auto"!==se)return!!se;for(ue=0,Te=G.data.datasets.length;ue<Te;++ue)if(G.isDatasetVisible(ue)&&((Ke=G.getDatasetMeta(ue)).xAxisID===S.id||Ke.yAxisID===S.id))return!0;return!1},_computeGridLineItems:function(S){var ts,Ws,Wo,ro,Bo,Xo,ar,Wr,mr,$r,va,r1,K0,yt,it,we,dt,G=this,se=G.chart,ue=G.options,Te=ue.gridLines,Ke=ue.position,lt=Te.offsetGridLines,xt=G.isHorizontal(),vt=G._ticksToDraw,$t=vt.length+(lt?1:0),an=Y0(Te),fn=[],ti=Te.drawBorder?ss(Te.lineWidth,0,0):0,Ti=ti/2,Ri=Ue._alignPixel,Bi=function(qt){return Ri(se,qt,ti)};for("top"===Ke?(ts=Bi(G.bottom),ar=G.bottom-an,mr=ts-Ti,va=Bi(S.top)+Ti,K0=S.bottom):"bottom"===Ke?(ts=Bi(G.top),va=S.top,K0=Bi(S.bottom)-Ti,ar=ts+Ti,mr=G.top+an):"left"===Ke?(ts=Bi(G.right),Xo=G.right-an,Wr=ts-Ti,$r=Bi(S.left)+Ti,r1=S.right):(ts=Bi(G.left),$r=S.left,r1=Bi(S.right)-Ti,Xo=ts+Ti,Wr=G.left+an),Ws=0;Ws<$t;++Ws)!(yi((Wo=vt[Ws]||{}).label)&&Ws<vt.length)&&(Ws===G.zeroLineIndex&&ue.offset===lt?(yt=Te.zeroLineWidth,it=Te.zeroLineColor,we=Te.zeroLineBorderDash||[],dt=Te.zeroLineBorderDashOffset||0):(yt=ss(Te.lineWidth,Ws,1),it=ss(Te.color,Ws,"rgba(0,0,0,0.1)"),we=Te.borderDash||[],dt=Te.borderDashOffset||0),void 0!==(ro=Us(G,Wo._index||Ws,lt))&&(Bo=Ri(se,ro,yt),xt?Xo=Wr=$r=r1=Bo:ar=mr=va=K0=Bo,fn.push({tx1:Xo,ty1:ar,tx2:Wr,ty2:mr,x1:$r,y1:va,x2:r1,y2:K0,width:yt,color:it,borderDash:we,borderDashOffset:dt})));return fn.ticksLength=$t,fn.borderValue=ts,fn},_computeLabelItems:function(){var ti,Ti,Ri,Bi,ts,Ws,Wo,ro,Bo,Xo,ar,Wr,S=this,G=S.options,se=G.ticks,ue=G.position,Te=se.mirror,Ke=S.isHorizontal(),lt=S._ticksToDraw,xt=Ra(se),vt=se.padding,$t=Y0(G.gridLines),an=-Ue.toRadians(S.labelRotation),fn=[];for("top"===ue?(Ws=S.bottom-$t-vt,Wo=an?"left":"center"):"bottom"===ue?(Ws=S.top+$t+vt,Wo=an?"right":"center"):"left"===ue?(ts=S.right-(Te?0:$t)-vt,Wo=Te?"left":"right"):(ts=S.left+(Te?0:$t)+vt,Wo=Te?"right":"left"),ti=0,Ti=lt.length;ti<Ti;++ti)!yi(Bi=(Ri=lt[ti]).label)&&(ro=S.getPixelForTick(Ri._index||ti)+se.labelOffset,Xo=(Bo=Ri.major?xt.major:xt.minor).lineHeight,ar=Wn(Bi)?Bi.length:1,Ke?(ts=ro,Wr="top"===ue?((an?1:.5)-ar)*Xo:(an?0:.5)*Xo):(Ws=ro,Wr=(1-ar)*Xo/2),fn.push({x:ts,y:Ws,rotation:an,label:Bi,font:Bo,textOffset:Wr,textAlign:Wo}));return fn},_drawGrid:function(S){var G=this,se=G.options.gridLines;if(se.display){var vt,$t,an,fn,ti,ue=G.ctx,Te=G.chart,Ke=Ue._alignPixel,lt=se.drawBorder?ss(se.lineWidth,0,0):0,xt=G._gridLineItems||(G._gridLineItems=G._computeGridLineItems(S));for(an=0,fn=xt.length;an<fn;++an)$t=(ti=xt[an]).color,(vt=ti.width)&&$t&&(ue.save(),ue.lineWidth=vt,ue.strokeStyle=$t,ue.setLineDash&&(ue.setLineDash(ti.borderDash),ue.lineDashOffset=ti.borderDashOffset),ue.beginPath(),se.drawTicks&&(ue.moveTo(ti.tx1,ti.ty1),ue.lineTo(ti.tx2,ti.ty2)),se.drawOnChartArea&&(ue.moveTo(ti.x1,ti.y1),ue.lineTo(ti.x2,ti.y2)),ue.stroke(),ue.restore());if(lt){var ts,Ws,Wo,ro,Ti=lt,Ri=ss(se.lineWidth,xt.ticksLength-1,1),Bi=xt.borderValue;G.isHorizontal()?(ts=Ke(Te,G.left,Ti)-Ti/2,Ws=Ke(Te,G.right,Ri)+Ri/2,Wo=ro=Bi):(Wo=Ke(Te,G.top,Ti)-Ti/2,ro=Ke(Te,G.bottom,Ri)+Ri/2,ts=Ws=Bi),ue.lineWidth=lt,ue.strokeStyle=ss(se.color,0),ue.beginPath(),ue.moveTo(ts,Wo),ue.lineTo(Ws,ro),ue.stroke()}}},_drawLabels:function(){var S=this;if(S.options.ticks.display){var Te,Ke,lt,xt,vt,$t,an,fn,se=S.ctx,ue=S._labelItems||(S._labelItems=S._computeLabelItems());for(Te=0,lt=ue.length;Te<lt;++Te){if($t=(vt=ue[Te]).font,se.save(),se.translate(vt.x,vt.y),se.rotate(vt.rotation),se.font=$t.string,se.fillStyle=$t.color,se.textBaseline="middle",se.textAlign=vt.textAlign,fn=vt.textOffset,Wn(an=vt.label))for(Ke=0,xt=an.length;Ke<xt;++Ke)se.fillText(""+an[Ke],0,fn),fn+=$t.lineHeight;else se.fillText(an,0,fn);se.restore()}}},_drawTitle:function(){var S=this,G=S.ctx,se=S.options,ue=se.scaleLabel;if(ue.display){var an,fn,Te=Ut(ue.fontColor,zn.global.defaultFontColor),Ke=Ue.options._parseFont(ue),lt=Ue.options.toPadding(ue.padding),xt=Ke.lineHeight/2,vt=se.position,$t=0;if(S.isHorizontal())an=S.left+S.width/2,fn="bottom"===vt?S.bottom-xt-lt.bottom:S.top+xt+lt.top;else{var ti="left"===vt;an=ti?S.left+xt+lt.top:S.right-xt-lt.top,fn=S.top+S.height/2,$t=ti?-.5*Math.PI:.5*Math.PI}G.save(),G.translate(an,fn),G.rotate($t),G.textAlign="center",G.textBaseline="middle",G.fillStyle=Te,G.font=Ke.string,G.fillText(ue.labelString,0,0),G.restore()}},draw:function(S){var G=this;G._isVisible()&&(G._drawGrid(S),G._drawTitle(),G._drawLabels())},_layers:function(){var S=this,G=S.options,se=G.ticks&&G.ticks.z||0,ue=G.gridLines&&G.gridLines.z||0;return S._isVisible()&&se!==ue&&S.draw===S._draw?[{z:ue,draw:function(){S._drawGrid.apply(S,arguments),S._drawTitle.apply(S,arguments)}},{z:se,draw:function(){S._drawLabels.apply(S,arguments)}}]:[{z:se,draw:function(){S.draw.apply(S,arguments)}}]},_getMatchingVisibleMetas:function(S){var G=this,se=G.isHorizontal();return G.chart._getSortedVisibleDatasetMetas().filter(function(ue){return(!S||ue.type===S)&&(se?ue.xAxisID===G.id:ue.yAxisID===G.id)})}});rr.prototype._draw=rr.prototype.draw;var aa=rr,B1=Ue.isNullOrUndef,br=aa.extend({determineDataLimits:function(){var xt,S=this,G=S._getLabels(),se=S.options.ticks,ue=se.min,Te=se.max,Ke=0,lt=G.length-1;void 0!==ue&&(xt=G.indexOf(ue))>=0&&(Ke=xt),void 0!==Te&&(xt=G.indexOf(Te))>=0&&(lt=xt),S.minIndex=Ke,S.maxIndex=lt,S.min=G[Ke],S.max=G[lt]},buildTicks:function(){var S=this,G=S._getLabels(),se=S.minIndex,ue=S.maxIndex;S.ticks=0===se&&ue===G.length-1?G:G.slice(se,ue+1)},getLabelForIndex:function(S,G){var ue=this.chart;return ue.getDatasetMeta(G).controller._getValueScaleId()===this.id?this.getRightValue(ue.data.datasets[G].data[S]):this._getLabels()[S]},_configure:function(){var S=this,G=S.options.offset,se=S.ticks;aa.prototype._configure.call(S),S.isHorizontal()||(S._reversePixels=!S._reversePixels),se&&(S._startValue=S.minIndex-(G?.5:0),S._valueRange=Math.max(se.length-(G?0:1),1))},getPixelForValue:function(S,G,se){var Te,Ke,lt,ue=this;return!B1(G)&&!B1(se)&&(S=ue.chart.data.datasets[se].data[G]),B1(S)||(Te=ue.isHorizontal()?S.x:S.y),(void 0!==Te||void 0!==S&&isNaN(G))&&(Ke=ue._getLabels(),S=Ue.valueOrDefault(Te,S),G=-1!==(lt=Ke.indexOf(S))?lt:G,isNaN(G)&&(G=S)),ue.getPixelForDecimal((G-ue._startValue)/ue._valueRange)},getPixelForTick:function(S){var G=this.ticks;return S<0||S>G.length-1?null:this.getPixelForValue(G[S],S+this.minIndex)},getValueForPixel:function(S){var G=this,se=Math.round(G._startValue+G.getDecimalForPixel(S)*G._valueRange);return Math.min(Math.max(se,0),G.ticks.length-1)},getBasePixel:function(){return this.bottom}});br._defaults={position:"bottom"};var hr=Ue.isNullOrUndef;var t1=aa.extend({getRightValue:function(S){return"string"==typeof S?+S:aa.prototype.getRightValue.call(this,S)},handleTickRangeOptions:function(){var S=this,se=S.options.ticks;if(se.beginAtZero){var ue=Ue.sign(S.min),Te=Ue.sign(S.max);ue<0&&Te<0?S.max=0:ue>0&&Te>0&&(S.min=0)}var Ke=void 0!==se.min||void 0!==se.suggestedMin,lt=void 0!==se.max||void 0!==se.suggestedMax;void 0!==se.min?S.min=se.min:void 0!==se.suggestedMin&&(S.min=null===S.min?se.suggestedMin:Math.min(S.min,se.suggestedMin)),void 0!==se.max?S.max=se.max:void 0!==se.suggestedMax&&(S.max=null===S.max?se.suggestedMax:Math.max(S.max,se.suggestedMax)),Ke!==lt&&S.min>=S.max&&(Ke?S.max=S.min+1:S.min=S.max-1),S.min===S.max&&(S.max++,se.beginAtZero||S.min--)},getTickLimit:function(){var Te,S=this,G=S.options.ticks,se=G.stepSize,ue=G.maxTicksLimit;return se?Te=Math.ceil(S.max/se)-Math.floor(S.min/se)+1:(Te=S._computeTickLimit(),ue=ue||11),ue&&(Te=Math.min(ue,Te)),Te},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Ue.noop,buildTicks:function(){var S=this,se=S.options.ticks,ue=S.getTickLimit(),Te={maxTicks:ue=Math.max(2,ue),min:se.min,max:se.max,precision:se.precision,stepSize:Ue.valueOrDefault(se.fixedStepSize,se.stepSize)},Ke=S.ticks=function Ul(S,G){var Ti,Ri,Bi,ts,se=[],Te=S.stepSize,Ke=Te||1,lt=S.maxTicks-1,xt=S.min,vt=S.max,$t=S.precision,an=G.min,fn=G.max,ti=Ue.niceNum((fn-an)/lt/Ke)*Ke;if(ti<1e-14&&hr(xt)&&hr(vt))return[an,fn];(ts=Math.ceil(fn/ti)-Math.floor(an/ti))>lt&&(ti=Ue.niceNum(ts*ti/lt/Ke)*Ke),Te||hr($t)?Ti=Math.pow(10,Ue._decimalPlaces(ti)):(Ti=Math.pow(10,$t),ti=Math.ceil(ti*Ti)/Ti),Ri=Math.floor(an/ti)*ti,Bi=Math.ceil(fn/ti)*ti,Te&&(!hr(xt)&&Ue.almostWhole(xt/ti,ti/1e3)&&(Ri=xt),!hr(vt)&&Ue.almostWhole(vt/ti,ti/1e3)&&(Bi=vt)),ts=Ue.almostEquals(ts=(Bi-Ri)/ti,Math.round(ts),ti/1e3)?Math.round(ts):Math.ceil(ts),Ri=Math.round(Ri*Ti)/Ti,Bi=Math.round(Bi*Ti)/Ti,se.push(hr(xt)?Ri:xt);for(var Ws=1;Ws<ts;++Ws)se.push(Math.round((Ri+Ws*ti)*Ti)/Ti);return se.push(hr(vt)?Bi:vt),se}(Te,S);S.handleDirectionalChanges(),S.max=Ue.max(Ke),S.min=Ue.min(Ke),se.reverse?(Ke.reverse(),S.start=S.max,S.end=S.min):(S.start=S.min,S.end=S.max)},convertTicksToLabels:function(){var S=this;S.ticksAsNumbers=S.ticks.slice(),S.zeroLineIndex=S.ticks.indexOf(0),aa.prototype.convertTicksToLabels.call(S)},_configure:function(){var Te,S=this,G=S.getTicks(),se=S.min,ue=S.max;aa.prototype._configure.call(S),S.options.offset&&G.length&&(se-=Te=(ue-se)/Math.max(G.length-1,1)/2,ue+=Te),S._startValue=se,S._endValue=ue,S._valueRange=ue-se}}),L0={position:"left",ticks:{callback:b1.formatters.linear}};function fl(S,G,se,ue){var an,fn,Te=S.options,lt=function Gl(S,G,se){var ue=[se.type,void 0===G&&void 0===se.stack?se.index:"",se.stack].join(".");return void 0===S[ue]&&(S[ue]={pos:[],neg:[]}),S[ue]}(G,Te.stacked,se),xt=lt.pos,vt=lt.neg,$t=ue.length;for(an=0;an<$t;++an)fn=S._parseValue(ue[an]),!(isNaN(fn.min)||isNaN(fn.max)||se.data[an].hidden)&&(xt[an]=xt[an]||0,vt[an]=vt[an]||0,Te.relativePoints?xt[an]=100:fn.min<0||fn.max<0?vt[an]+=fn.min:xt[an]+=fn.max)}function N1(S,G,se){var Te,Ke,ue=se.length;for(Te=0;Te<ue;++Te)Ke=S._parseValue(se[Te]),!(isNaN(Ke.min)||isNaN(Ke.max)||G.data[Te].hidden)&&(S.min=Math.min(S.min,Ke.min),S.max=Math.max(S.max,Ke.max))}var bt=t1.extend({determineDataLimits:function(){var vt,$t,an,fn,S=this,G=S.options,ue=S.chart.data.datasets,Te=S._getMatchingVisibleMetas(),Ke=G.stacked,lt={},xt=Te.length;if(S.min=Number.POSITIVE_INFINITY,S.max=Number.NEGATIVE_INFINITY,void 0===Ke)for(vt=0;!Ke&&vt<xt;++vt)Ke=void 0!==($t=Te[vt]).stack;for(vt=0;vt<xt;++vt)an=ue[($t=Te[vt]).index].data,Ke?fl(S,lt,$t,an):N1(S,$t,an);Ue.each(lt,function(ti){fn=ti.pos.concat(ti.neg),S.min=Math.min(S.min,Ue.min(fn)),S.max=Math.max(S.max,Ue.max(fn))}),S.min=Ue.isFinite(S.min)&&!isNaN(S.min)?S.min:0,S.max=Ue.isFinite(S.max)&&!isNaN(S.max)?S.max:1,S.handleTickRangeOptions()},_computeTickLimit:function(){var G,S=this;return S.isHorizontal()?Math.ceil(S.width/40):(G=Ue.options._parseFont(S.options.ticks),Math.ceil(S.height/G.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(S,G){return this._getScaleLabel(this.chart.data.datasets[G].data[S])},getPixelForValue:function(S){var G=this;return G.getPixelForDecimal((+G.getRightValue(S)-G._startValue)/G._valueRange)},getValueForPixel:function(S){return this._startValue+this.getDecimalForPixel(S)*this._valueRange},getPixelForTick:function(S){var G=this.ticksAsNumbers;return S<0||S>G.length-1?null:this.getPixelForValue(G[S])}});bt._defaults=L0;var kt=Ue.valueOrDefault,dn=Ue.math.log10;var is={position:"left",ticks:{callback:b1.formatters.logarithmic}};function bs(S,G){return Ue.isFinite(S)&&S>=0?S:G}var Xs=aa.extend({determineDataLimits:function(){var lt,xt,vt,$t,an,fn,S=this,G=S.options,se=S.chart,ue=se.data.datasets,Te=S.isHorizontal();function Ke(ts){return Te?ts.xAxisID===S.id:ts.yAxisID===S.id}S.min=Number.POSITIVE_INFINITY,S.max=Number.NEGATIVE_INFINITY,S.minNotZero=Number.POSITIVE_INFINITY;var ti=G.stacked;if(void 0===ti)for(lt=0;lt<ue.length;lt++)if(xt=se.getDatasetMeta(lt),se.isDatasetVisible(lt)&&Ke(xt)&&void 0!==xt.stack){ti=!0;break}if(G.stacked||ti){var Ti={};for(lt=0;lt<ue.length;lt++){var Ri=[(xt=se.getDatasetMeta(lt)).type,void 0===G.stacked&&void 0===xt.stack?lt:"",xt.stack].join(".");if(se.isDatasetVisible(lt)&&Ke(xt))for(void 0===Ti[Ri]&&(Ti[Ri]=[]),an=0,fn=($t=ue[lt].data).length;an<fn;an++){var Bi=Ti[Ri];vt=S._parseValue($t[an]),!(isNaN(vt.min)||isNaN(vt.max)||xt.data[an].hidden||vt.min<0||vt.max<0)&&(Bi[an]=Bi[an]||0,Bi[an]+=vt.max)}}Ue.each(Ti,function(ts){if(ts.length>0){var Ws=Ue.min(ts),Wo=Ue.max(ts);S.min=Math.min(S.min,Ws),S.max=Math.max(S.max,Wo)}})}else for(lt=0;lt<ue.length;lt++)if(xt=se.getDatasetMeta(lt),se.isDatasetVisible(lt)&&Ke(xt))for(an=0,fn=($t=ue[lt].data).length;an<fn;an++)vt=S._parseValue($t[an]),!(isNaN(vt.min)||isNaN(vt.max)||xt.data[an].hidden||vt.min<0||vt.max<0)&&(S.min=Math.min(vt.min,S.min),S.max=Math.max(vt.max,S.max),0!==vt.min&&(S.minNotZero=Math.min(vt.min,S.minNotZero)));S.min=Ue.isFinite(S.min)?S.min:null,S.max=Ue.isFinite(S.max)?S.max:null,S.minNotZero=Ue.isFinite(S.minNotZero)?S.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var S=this,G=S.options.ticks;S.min=bs(G.min,S.min),S.max=bs(G.max,S.max),S.min===S.max&&(0!==S.min&&null!==S.min?(S.min=Math.pow(10,Math.floor(dn(S.min))-1),S.max=Math.pow(10,Math.floor(dn(S.max))+1)):(S.min=1,S.max=10)),null===S.min&&(S.min=Math.pow(10,Math.floor(dn(S.max))-1)),null===S.max&&(S.max=0!==S.min?Math.pow(10,Math.floor(dn(S.min))+1):10),null===S.minNotZero&&(S.minNotZero=S.min>0?S.min:S.max<1?Math.pow(10,Math.floor(dn(S.max))):1)},buildTicks:function(){var S=this,G=S.options.ticks,se=!S.isHorizontal(),ue={min:bs(G.min),max:bs(G.max)},Te=S.ticks=function si(S,G){var lt,xt,se=[],ue=kt(S.min,Math.pow(10,Math.floor(dn(G.min)))),Te=Math.floor(dn(G.max)),Ke=Math.ceil(G.max/Math.pow(10,Te));0===ue?(lt=Math.floor(dn(G.minNotZero)),xt=Math.floor(G.minNotZero/Math.pow(10,lt)),se.push(ue),ue=xt*Math.pow(10,lt)):(lt=Math.floor(dn(ue)),xt=Math.floor(ue/Math.pow(10,lt)));var vt=lt<0?Math.pow(10,Math.abs(lt)):1;do{se.push(ue),10==++xt&&(xt=1,vt=++lt>=0?1:vt),ue=Math.round(xt*Math.pow(10,lt)*vt)/vt}while(lt<Te||lt===Te&&xt<Ke);var $t=kt(S.max,ue);return se.push($t),se}(ue,S);S.max=Ue.max(Te),S.min=Ue.min(Te),G.reverse?(se=!se,S.start=S.max,S.end=S.min):(S.start=S.min,S.end=S.max),se&&Te.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),aa.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(S,G){return this._getScaleLabel(this.chart.data.datasets[G].data[S])},getPixelForTick:function(S){var G=this.tickValues;return S<0||S>G.length-1?null:this.getPixelForValue(G[S])},_getFirstTickValue:function(S){var G=Math.floor(dn(S));return Math.floor(S/Math.pow(10,G))*Math.pow(10,G)},_configure:function(){var S=this,G=S.min,se=0;aa.prototype._configure.call(S),0===G&&(G=S._getFirstTickValue(S.minNotZero),se=kt(S.options.ticks.fontSize,zn.global.defaultFontSize)/S._length),S._startValue=dn(G),S._valueOffset=se,S._valueRange=(dn(S.max)-dn(G))/(1-se)},getPixelForValue:function(S){var G=this,se=0;return(S=+G.getRightValue(S))>G.min&&S>0&&(se=(dn(S)-G._startValue)/G._valueRange+G._valueOffset),G.getPixelForDecimal(se)},getValueForPixel:function(S){var G=this,se=G.getDecimalForPixel(S);return 0===se&&0===G.min?0:Math.pow(10,G._startValue+(se-G._valueOffset)*G._valueRange)}});Xs._defaults=is;var Mr=Ue.valueOrDefault,Ma=Ue.valueAtIndexOrDefault,Rs=Ue.options.resolve,fr={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:b1.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(S){return S}}};function Fo(S){var G=S.ticks;return G.display&&S.display?Mr(G.fontSize,zn.global.defaultFontSize)+2*G.backdropPaddingY:0}function Va(S,G,se){return Ue.isArray(se)?{w:Ue.longestText(S,S.font,se),h:se.length*G}:{w:S.measureText(se).width,h:G}}function E0(S,G,se,ue,Te){return S===ue||S===Te?{start:G-se/2,end:G+se/2}:S<ue||S>Te?{start:G-se,end:G}:{start:G,end:G+se}}function n1(S){return 0===S||180===S?"center":S<180?"left":"right"}function ta(S,G,se,ue){var Ke,lt,Te=se.y+ue/2;if(Ue.isArray(G))for(Ke=0,lt=G.length;Ke<lt;++Ke)S.fillText(G[Ke],se.x,Te),Te+=ue;else S.fillText(G,se.x,Te)}function Ja(S,G,se){90===S||270===S?se.y-=G.h/2:(S>270||S<90)&&(se.y-=G.h)}function c1(S){return Ue.isNumber(S)?S:0}var j1=t1.extend({setDimensions:function(){var S=this;S.width=S.maxWidth,S.height=S.maxHeight,S.paddingTop=Fo(S.options)/2,S.xCenter=Math.floor(S.width/2),S.yCenter=Math.floor((S.height-S.paddingTop)/2),S.drawingArea=Math.min(S.height-S.paddingTop,S.width)/2},determineDataLimits:function(){var S=this,G=S.chart,se=Number.POSITIVE_INFINITY,ue=Number.NEGATIVE_INFINITY;Ue.each(G.data.datasets,function(Te,Ke){if(G.isDatasetVisible(Ke)){var lt=G.getDatasetMeta(Ke);Ue.each(Te.data,function(xt,vt){var $t=+S.getRightValue(xt);isNaN($t)||lt.data[vt].hidden||(se=Math.min($t,se),ue=Math.max($t,ue))})}}),S.min=se===Number.POSITIVE_INFINITY?0:se,S.max=ue===Number.NEGATIVE_INFINITY?0:ue,S.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Fo(this.options))},convertTicksToLabels:function(){var S=this;t1.prototype.convertTicksToLabels.call(S),S.pointLabels=S.chart.data.labels.map(function(){var G=Ue.callback(S.options.pointLabels.callback,arguments,S);return G||0===G?G:""})},getLabelForIndex:function(S,G){return+this.getRightValue(this.chart.data.datasets[G].data[S])},fit:function(){var S=this,G=S.options;G.display&&G.pointLabels.display?function k1(S){var Te,Ke,lt,G=Ue.options._parseFont(S.options.pointLabels),se={l:0,r:S.width,t:0,b:S.height-S.paddingTop},ue={};S.ctx.font=G.string,S._pointLabelSizes=[];var xt=S.chart.data.labels.length;for(Te=0;Te<xt;Te++){lt=S.getPointPosition(Te,S.drawingArea+5),Ke=Va(S.ctx,G.lineHeight,S.pointLabels[Te]),S._pointLabelSizes[Te]=Ke;var vt=S.getIndexAngle(Te),$t=Ue.toDegrees(vt)%360,an=E0($t,lt.x,Ke.w,0,180),fn=E0($t,lt.y,Ke.h,90,270);an.start<se.l&&(se.l=an.start,ue.l=vt),an.end>se.r&&(se.r=an.end,ue.r=vt),fn.start<se.t&&(se.t=fn.start,ue.t=vt),fn.end>se.b&&(se.b=fn.end,ue.b=vt)}S.setReductions(S.drawingArea,se,ue)}(S):S.setCenterPoint(0,0,0,0)},setReductions:function(S,G,se){var ue=this,Te=G.l/Math.sin(se.l),Ke=Math.max(G.r-ue.width,0)/Math.sin(se.r),lt=-G.t/Math.cos(se.t),xt=-Math.max(G.b-(ue.height-ue.paddingTop),0)/Math.cos(se.b);Te=c1(Te),Ke=c1(Ke),lt=c1(lt),xt=c1(xt),ue.drawingArea=Math.min(Math.floor(S-(Te+Ke)/2),Math.floor(S-(lt+xt)/2)),ue.setCenterPoint(Te,Ke,lt,xt)},setCenterPoint:function(S,G,se,ue){var Te=this,xt=se+Te.drawingArea,vt=Te.height-Te.paddingTop-ue-Te.drawingArea;Te.xCenter=Math.floor((S+Te.drawingArea+(Te.width-G-Te.drawingArea))/2+Te.left),Te.yCenter=Math.floor((xt+vt)/2+Te.top+Te.paddingTop)},getIndexAngle:function(S){var G=this.chart,Ke=(S*(360/G.data.labels.length)+((G.options||{}).startAngle||0))%360;return(Ke<0?Ke+360:Ke)*Math.PI*2/360},getDistanceFromCenterForValue:function(S){var G=this;if(Ue.isNullOrUndef(S))return NaN;var se=G.drawingArea/(G.max-G.min);return G.options.ticks.reverse?(G.max-S)*se:(S-G.min)*se},getPointPosition:function(S,G){var ue=this.getIndexAngle(S)-Math.PI/2;return{x:Math.cos(ue)*G+this.xCenter,y:Math.sin(ue)*G+this.yCenter}},getPointPositionForValue:function(S,G){return this.getPointPosition(S,this.getDistanceFromCenterForValue(G))},getBasePosition:function(S){var G=this,se=G.min,ue=G.max;return G.getPointPositionForValue(S||0,G.beginAtZero?0:se<0&&ue<0?ue:se>0&&ue>0?se:0)},_drawGrid:function(){var xt,vt,$t,S=this,G=S.ctx,se=S.options,ue=se.gridLines,Te=se.angleLines,Ke=Mr(Te.lineWidth,ue.lineWidth),lt=Mr(Te.color,ue.color);if(se.pointLabels.display&&function ir(S){var G=S.ctx,se=S.options,ue=se.pointLabels,Te=Fo(se),Ke=S.getDistanceFromCenterForValue(se.ticks.reverse?S.min:S.max),lt=Ue.options._parseFont(ue);G.save(),G.font=lt.string,G.textBaseline="middle";for(var xt=S.chart.data.labels.length-1;xt>=0;xt--){var $t=S.getPointPosition(xt,Ke+(0===xt?Te/2:0)+5),an=Ma(ue.fontColor,xt,zn.global.defaultFontColor);G.fillStyle=an;var fn=S.getIndexAngle(xt),ti=Ue.toDegrees(fn);G.textAlign=n1(ti),Ja(ti,S._pointLabelSizes[xt],$t),ta(G,S.pointLabels[xt],$t,lt.lineHeight)}G.restore()}(S),ue.display&&Ue.each(S.ticks,function(an,fn){0!==fn&&(vt=S.getDistanceFromCenterForValue(S.ticksAsNumbers[fn]),function la(S,G,se,ue){var $t,Te=S.ctx,Ke=G.circular,lt=S.chart.data.labels.length,xt=Ma(G.color,ue-1),vt=Ma(G.lineWidth,ue-1);if((Ke||lt)&&xt&&vt){if(Te.save(),Te.strokeStyle=xt,Te.lineWidth=vt,Te.setLineDash&&(Te.setLineDash(G.borderDash||[]),Te.lineDashOffset=G.borderDashOffset||0),Te.beginPath(),Ke)Te.arc(S.xCenter,S.yCenter,se,0,2*Math.PI);else{$t=S.getPointPosition(0,se),Te.moveTo($t.x,$t.y);for(var an=1;an<lt;an++)$t=S.getPointPosition(an,se),Te.lineTo($t.x,$t.y)}Te.closePath(),Te.stroke(),Te.restore()}}(S,ue,vt,fn))}),Te.display&&Ke&&lt){for(G.save(),G.lineWidth=Ke,G.strokeStyle=lt,G.setLineDash&&(G.setLineDash(Rs([Te.borderDash,ue.borderDash,[]])),G.lineDashOffset=Rs([Te.borderDashOffset,ue.borderDashOffset,0])),xt=S.chart.data.labels.length-1;xt>=0;xt--)vt=S.getDistanceFromCenterForValue(se.ticks.reverse?S.min:S.max),$t=S.getPointPosition(xt,vt),G.beginPath(),G.moveTo(S.xCenter,S.yCenter),G.lineTo($t.x,$t.y),G.stroke();G.restore()}},_drawLabels:function(){var S=this,G=S.ctx,ue=S.options.ticks;if(ue.display){var xt,vt,Te=S.getIndexAngle(0),Ke=Ue.options._parseFont(ue),lt=Mr(ue.fontColor,zn.global.defaultFontColor);G.save(),G.font=Ke.string,G.translate(S.xCenter,S.yCenter),G.rotate(Te),G.textAlign="center",G.textBaseline="middle",Ue.each(S.ticks,function($t,an){0===an&&!ue.reverse||(xt=S.getDistanceFromCenterForValue(S.ticksAsNumbers[an]),ue.showLabelBackdrop&&(vt=G.measureText($t).width,G.fillStyle=ue.backdropColor,G.fillRect(-vt/2-ue.backdropPaddingX,-xt-Ke.size/2-ue.backdropPaddingY,vt+2*ue.backdropPaddingX,Ke.size+2*ue.backdropPaddingY)),G.fillStyle=lt,G.fillText($t,0,-xt))}),G.restore()}},_drawTitle:Ue.noop});j1._defaults=fr;var S0=Ue._deprecated,ql=Ue.options.resolve,Z1=Ue.valueOrDefault,el=Number.MIN_SAFE_INTEGER||-9007199254740991,wl=Number.MAX_SAFE_INTEGER||9007199254740991,Oa={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},j0=Object.keys(Oa);function ec(S,G){return S-G}function s1(S){return Ue.valueOrDefault(S.time.min,S.ticks.min)}function $l(S){return Ue.valueOrDefault(S.time.max,S.ticks.max)}function Nl(S,G,se,ue){var Te=function dr(S,G,se){for(var Ke,lt,xt,ue=0,Te=S.length-1;ue>=0&&ue<=Te;){if(xt=S[Ke=ue+Te>>1],!(lt=S[Ke-1]||null))return{lo:null,hi:xt};if(xt[G]<se)ue=Ke+1;else{if(!(lt[G]>se))return{lo:lt,hi:xt};Te=Ke-1}}return{lo:xt,hi:null}}(S,G,se),Ke=Te.lo?Te.hi?Te.lo:S[S.length-2]:S[0],lt=Te.lo?Te.hi?Te.hi:S[S.length-1]:S[1],xt=lt[G]-Ke[G];return Ke[ue]+(lt[ue]-Ke[ue])*(xt?(se-Ke[G])/xt:0)}function u1(S,G){var se=S._adapter,ue=S.options.time,Te=ue.parser,Ke=Te||ue.format,lt=G;return"function"==typeof Te&&(lt=Te(lt)),Ue.isFinite(lt)||(lt="string"==typeof Ke?se.parse(lt,Ke):se.parse(lt)),null!==lt?+lt:(!Te&&"function"==typeof Ke&&(lt=Ke(G),Ue.isFinite(lt)||(lt=se.parse(lt))),lt)}function Fr(S,G){if(Ue.isNullOrUndef(G))return null;var se=S.options.time,ue=u1(S,S.getRightValue(G));return null===ue||se.round&&(ue=+S._adapter.startOf(ue,se.round)),ue}function a0(S,G,se,ue){var Ke,lt,Te=j0.length;for(Ke=j0.indexOf(S);Ke<Te-1;++Ke)if((lt=Oa[j0[Ke]]).common&&Math.ceil((se-G)/((lt.steps?lt.steps:wl)*lt.size))<=ue)return j0[Ke];return j0[Te-1]}function D1(S,G,se){var lt,xt,ue=[],Te={},Ke=G.length;for(lt=0;lt<Ke;++lt)Te[xt=G[lt]]=lt,ue.push({value:xt,major:!1});return 0!==Ke&&se?function tc(S,G,se,ue){var xt,vt,Te=S._adapter,Ke=+Te.startOf(G[0].value,ue),lt=G[G.length-1].value;for(xt=Ke;xt<=lt;xt=+Te.add(xt,1,ue))(vt=se[xt])>=0&&(G[vt].major=!0);return G}(S,ue,Te,se):ue}var P1=aa.extend({initialize:function(){this.mergeTicksOptions(),aa.prototype.initialize.call(this)},update:function(){var S=this,G=S.options,se=G.time||(G.time={}),ue=S._adapter=new Io._date(G.adapters.date);return S0("time scale",se.format,"time.format","time.parser"),S0("time scale",se.min,"time.min","ticks.min"),S0("time scale",se.max,"time.max","ticks.max"),Ue.mergeIf(se.displayFormats,ue.formats()),aa.prototype.update.apply(S,arguments)},getRightValue:function(S){return S&&void 0!==S.t&&(S=S.t),aa.prototype.getRightValue.call(this,S)},determineDataLimits:function(){var an,fn,ti,Ti,Ri,Bi,ts,S=this,G=S.chart,se=S._adapter,ue=S.options,Te=ue.time.unit||"day",Ke=wl,lt=el,xt=[],vt=[],$t=[],Ws=S._getLabels();for(an=0,ti=Ws.length;an<ti;++an)$t.push(Fr(S,Ws[an]));for(an=0,ti=(G.data.datasets||[]).length;an<ti;++an)if(G.isDatasetVisible(an))if(Ue.isObject((Ri=G.data.datasets[an].data)[0]))for(vt[an]=[],fn=0,Ti=Ri.length;fn<Ti;++fn)Bi=Fr(S,Ri[fn]),xt.push(Bi),vt[an][fn]=Bi;else vt[an]=$t.slice(0),ts||(xt=xt.concat($t),ts=!0);else vt[an]=[];$t.length&&(Ke=Math.min(Ke,$t[0]),lt=Math.max(lt,$t[$t.length-1])),xt.length&&(xt=ti>1?function Zn(S){var ue,Te,Ke,G={},se=[];for(ue=0,Te=S.length;ue<Te;++ue)G[Ke=S[ue]]||(G[Ke]=!0,se.push(Ke));return se}(xt).sort(ec):xt.sort(ec),Ke=Math.min(Ke,xt[0]),lt=Math.max(lt,xt[xt.length-1])),Ke=Fr(S,s1(ue))||Ke,lt=Fr(S,$l(ue))||lt,Ke=Ke===wl?+se.startOf(Date.now(),Te):Ke,lt=lt===el?+se.endOf(Date.now(),Te)+1:lt,S.min=Math.min(Ke,lt),S.max=Math.max(Ke+1,lt),S._table=[],S._timestamps={data:xt,datasets:vt,labels:$t}},buildTicks:function(){var fn,ti,Ti,S=this,G=S.min,se=S.max,ue=S.options,Te=ue.ticks,Ke=ue.time,lt=S._timestamps,xt=[],vt=S.getLabelCapacity(G),$t=Te.source,an=ue.distribution;for(lt="data"===$t||"auto"===$t&&"series"===an?lt.data:"labels"===$t?lt.labels:function f0(S,G,se,ue){var ti,Te=S._adapter,Ke=S.options,lt=Ke.time,xt=lt.unit||a0(lt.minUnit,G,se,ue),vt=ql([lt.stepSize,lt.unitStepSize,1]),$t="week"===xt&&lt.isoWeekday,an=G,fn=[];if($t&&(an=+Te.startOf(an,"isoWeek",$t)),an=+Te.startOf(an,$t?"day":xt),Te.diff(se,G,xt)>1e5*vt)throw G+" and "+se+" are too far apart with stepSize of "+vt+" "+xt;for(ti=an;ti<se;ti=+Te.add(ti,vt,xt))fn.push(ti);return(ti===se||"ticks"===Ke.bounds)&&fn.push(ti),fn}(S,G,se,vt),"ticks"===ue.bounds&&lt.length&&(G=lt[0],se=lt[lt.length-1]),G=Fr(S,s1(ue))||G,se=Fr(S,$l(ue))||se,fn=0,ti=lt.length;fn<ti;++fn)(Ti=lt[fn])>=G&&Ti<=se&&xt.push(Ti);return S.min=G,S.max=se,S._unit=Ke.unit||(Te.autoSkip?a0(Ke.minUnit,S.min,S.max,vt):function Ru(S,G,se,ue,Te){var Ke,lt;for(Ke=j0.length-1;Ke>=j0.indexOf(se);Ke--)if(Oa[lt=j0[Ke]].common&&S._adapter.diff(Te,ue,lt)>=G-1)return lt;return j0[se?j0.indexOf(se):0]}(S,xt.length,Ke.minUnit,S.min,S.max)),S._majorUnit=Te.major.enabled&&"year"!==S._unit?function Uc(S){for(var G=j0.indexOf(S)+1,se=j0.length;G<se;++G)if(Oa[j0[G]].common)return j0[G]}(S._unit):void 0,S._table=function X0(S,G,se,ue){if("linear"===ue||!S.length)return[{time:G,pos:0},{time:se,pos:1}];var lt,xt,vt,$t,an,Te=[],Ke=[G];for(lt=0,xt=S.length;lt<xt;++lt)($t=S[lt])>G&&$t<se&&Ke.push($t);for(Ke.push(se),lt=0,xt=Ke.length;lt<xt;++lt)an=Ke[lt+1],$t=Ke[lt],(void 0===(vt=Ke[lt-1])||void 0===an||Math.round((an+vt)/2)!==$t)&&Te.push({time:$t,pos:lt/(xt-1)});return Te}(S._timestamps.data,G,se,an),S._offsets=function qr(S,G,se,ue,Te){var xt,vt,Ke=0,lt=0;return Te.offset&&G.length&&(xt=Nl(S,"time",G[0],"pos"),Ke=1===G.length?1-xt:(Nl(S,"time",G[1],"pos")-xt)/2,vt=Nl(S,"time",G[G.length-1],"pos"),lt=1===G.length?vt:(vt-Nl(S,"time",G[G.length-2],"pos"))/2),{start:Ke,end:lt,factor:1/(Ke+1+lt)}}(S._table,xt,0,0,ue),Te.reverse&&xt.reverse(),D1(S,xt,S._majorUnit)},getLabelForIndex:function(S,G){var se=this,ue=se._adapter,Te=se.chart.data,Ke=se.options.time,lt=Te.labels&&S<Te.labels.length?Te.labels[S]:"",xt=Te.datasets[G].data[S];return Ue.isObject(xt)&&(lt=se.getRightValue(xt)),Ke.tooltipFormat?ue.format(u1(se,lt),Ke.tooltipFormat):"string"==typeof lt?lt:ue.format(u1(se,lt),Ke.displayFormats.datetime)},tickFormatFunction:function(S,G,se,ue){var lt=this.options,xt=lt.time.displayFormats,$t=this._majorUnit,an=xt[$t],fn=se[G],ti=lt.ticks,Ti=$t&&an&&fn&&fn.major,Ri=this._adapter.format(S,ue||(Ti?an:xt[this._unit])),Bi=Ti?ti.major:ti.minor,ts=ql([Bi.callback,Bi.userCallback,ti.callback,ti.userCallback]);return ts?ts(Ri,G,se):Ri},convertTicksToLabels:function(S){var se,ue,G=[];for(se=0,ue=S.length;se<ue;++se)G.push(this.tickFormatFunction(S[se].value,se,S));return G},getPixelForOffset:function(S){var G=this,se=G._offsets,ue=Nl(G._table,"time",S,"pos");return G.getPixelForDecimal((se.start+ue)*se.factor)},getPixelForValue:function(S,G,se){var Te=null;if(void 0!==G&&void 0!==se&&(Te=this._timestamps.datasets[se][G]),null===Te&&(Te=Fr(this,S)),null!==Te)return this.getPixelForOffset(Te)},getPixelForTick:function(S){var G=this.getTicks();return S>=0&&S<G.length?this.getPixelForOffset(G[S].value):null},getValueForPixel:function(S){var G=this,se=G._offsets,ue=G.getDecimalForPixel(S)/se.factor-se.end,Te=Nl(G._table,"pos",ue,"time");return G._adapter._create(Te)},_getLabelSize:function(S){var G=this,se=G.options.ticks,ue=G.ctx.measureText(S).width,Te=Ue.toRadians(G.isHorizontal()?se.maxRotation:se.minRotation),Ke=Math.cos(Te),lt=Math.sin(Te),xt=Z1(se.fontSize,zn.global.defaultFontSize);return{w:ue*Ke+xt*lt,h:ue*lt+xt*Ke}},getLabelWidth:function(S){return this._getLabelSize(S).w},getLabelCapacity:function(S){var G=this,se=G.options.time,ue=se.displayFormats,Te=ue[se.unit]||ue.millisecond,Ke=G.tickFormatFunction(S,0,D1(G,[S],G._majorUnit),Te),lt=G._getLabelSize(Ke),xt=Math.floor(G.isHorizontal()?G.width/lt.w:G.height/lt.h);return G.options.offset&&xt--,xt>0?xt:1}});P1._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var mc={category:br,linear:bt,logarithmic:Xs,radialLinear:j1,time:P1},nc={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Io._date.override("function"==typeof n?{_id:"moment",formats:function(){return nc},parse:function(S,G){return"string"==typeof S&&"string"==typeof G?S=n(S,G):S instanceof n||(S=n(S)),S.isValid()?S.valueOf():null},format:function(S,G){return n(S).format(G)},add:function(S,G,se){return n(S).add(G,se).valueOf()},diff:function(S,G,se){return n(S).diff(n(G),se)},startOf:function(S,G,se){return S=n(S),"isoWeek"===G?S.isoWeekday(se).valueOf():S.startOf(G).valueOf()},endOf:function(S,G){return n(S).endOf(G).valueOf()},_create:function(S){return n(S)}}:{}),zn._set("global",{plugins:{filler:{propagate:!0}}});var o1={dataset:function(S){var G=S.fill,se=S.chart,ue=se.getDatasetMeta(G),Ke=ue&&se.isDatasetVisible(G)&&ue.dataset._children||[],lt=Ke.length||0;return lt?function(xt,vt){return vt<lt&&Ke[vt]._view||null}:null},boundary:function(S){var G=S.boundary,se=G?G.x:null,ue=G?G.y:null;return Ue.isArray(G)?function(Te,Ke){return G[Ke]}:function(Te){return{x:null===se?Te.x:se,y:null===ue?Te.y:ue}}}};function yl(S,G,se){var Ke,ue=S._model||{},Te=ue.fill;if(void 0===Te&&(Te=!!ue.backgroundColor),!1===Te||null===Te)return!1;if(!0===Te)return"origin";if(Ke=parseFloat(Te,10),isFinite(Ke)&&Math.floor(Ke)===Ke)return("-"===Te[0]||"+"===Te[0])&&(Ke=G+Ke),!(Ke===G||Ke<0||Ke>=se)&&Ke;switch(Te){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return Te;default:return!1}}function qc(S){return(S.el._scale||{}).getPointPositionForValue?function l0(S){var lt,xt,vt,$t,an,G=S.el._scale,se=G.options,ue=G.chart.data.labels.length,Te=S.fill,Ke=[];if(!ue)return null;for(xt=se.ticks.reverse?G.min:G.max,vt=G.getPointPositionForValue(0,lt=se.ticks.reverse?G.max:G.min),$t=0;$t<ue;++$t)an="start"===Te||"end"===Te?G.getPointPositionForValue($t,"start"===Te?lt:xt):G.getBasePosition($t),se.gridLines.circular&&(an.cx=vt.x,an.cy=vt.y,an.angle=G.getIndexAngle($t)-Math.PI/2),Ke.push(an);return Ke}(S):function _c(S){var Ke,G=S.el._model||{},se=S.el._scale||{},ue=S.fill,Te=null;if(isFinite(ue))return null;if("start"===ue?Te=void 0===G.scaleBottom?se.bottom:G.scaleBottom:"end"===ue?Te=void 0===G.scaleTop?se.top:G.scaleTop:void 0!==G.scaleZero?Te=G.scaleZero:se.getBasePixel&&(Te=se.getBasePixel()),null!=Te){if(void 0!==Te.x&&void 0!==Te.y)return Te;if(Ue.isFinite(Te))return{x:(Ke=se.isHorizontal())?Te:null,y:Ke?null:Te}}return null}(S)}function cu(S,G,se){var lt,Te=S[G].fill,Ke=[G];if(!se)return Te;for(;!1!==Te&&-1===Ke.indexOf(Te);){if(!isFinite(Te))return Te;if(!(lt=S[Te]))return!1;if(lt.visible)return Te;Ke.push(Te),Te=lt.fill}return!1}function T0(S){var G=S.fill,se="dataset";return!1===G?null:(isFinite(G)||(se="boundary"),o1[se](S))}function Js(S){return S&&!S.skip}function Vl(S,G,se,ue,Te){var Ke,lt,xt,vt;if(ue&&Te){for(S.moveTo(G[0].x,G[0].y),Ke=1;Ke<ue;++Ke)Ue.canvas.lineTo(S,G[Ke-1],G[Ke]);if(void 0!==se[0].angle){for(lt=se[0].cx,xt=se[0].cy,vt=Math.sqrt(Math.pow(se[0].x-lt,2)+Math.pow(se[0].y-xt,2)),Ke=Te-1;Ke>0;--Ke)S.arc(lt,xt,vt,se[Ke].angle,se[Ke-1].angle,!0);return}for(S.lineTo(se[Te-1].x,se[Te-1].y),Ke=Te-1;Ke>0;--Ke)Ue.canvas.lineTo(S,se[Ke],se[Ke-1],!0)}}function ot(S,G,se,ue,Te,Ke){var ti,Ti,Ri,Bi,ts,Ws,Wo,ro,lt=G.length,xt=ue.spanGaps,vt=[],$t=[],an=0,fn=0;for(S.beginPath(),ti=0,Ti=lt;ti<Ti;++ti)ts=se(Bi=G[Ri=ti%lt]._view,Ri,ue),Ws=Js(Bi),Wo=Js(ts),Ke&&void 0===ro&&Ws&&(Ti=lt+(ro=ti+1)),Ws&&Wo?(an=vt.push(Bi),fn=$t.push(ts)):an&&fn&&(xt?(Ws&&vt.push(Bi),Wo&&$t.push(ts)):(Vl(S,vt,$t,an,fn),an=fn=0,vt=[],$t=[]));Vl(S,vt,$t,an,fn),S.closePath(),S.fillStyle=Te,S.fill()}var wt={id:"filler",afterDatasetsUpdate:function(S,G){var Ke,lt,xt,vt,se=(S.data.datasets||[]).length,ue=G.propagate,Te=[];for(lt=0;lt<se;++lt)vt=null,(xt=(Ke=S.getDatasetMeta(lt)).dataset)&&xt._model&&xt instanceof He.Line&&(vt={visible:S.isDatasetVisible(lt),fill:yl(xt,lt,se),chart:S,el:xt}),Ke.$filler=vt,Te.push(vt);for(lt=0;lt<se;++lt)(vt=Te[lt])&&(vt.fill=cu(Te,lt,ue),vt.boundary=qc(vt),vt.mapper=T0(vt))},beforeDatasetsDraw:function(S){var ue,Te,Ke,lt,xt,vt,$t,G=S._getSortedVisibleDatasetMetas(),se=S.ctx;for(Te=G.length-1;Te>=0;--Te)(ue=G[Te].$filler)&&ue.visible&&(xt=(Ke=ue.el)._children||[],$t=(lt=Ke._view).backgroundColor||zn.global.defaultColor,(vt=ue.mapper)&&$t&&xt.length&&(Ue.canvas.clipArea(se,S.chartArea),ot(se,xt,vt,lt,$t,Ke._loop),Ue.canvas.unclipArea(se)))}},ct=Ue.rtl.getRtlAdapter,Nt=Ue.noop,pn=Ue.valueOrDefault;function Vn(S,G){return S.usePointStyle&&S.boxWidth>G?G:S.boxWidth}zn._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(S,G){var se=G.datasetIndex,ue=this.chart,Te=ue.getDatasetMeta(se);Te.hidden=null===Te.hidden?!ue.data.datasets[se].hidden:null,ue.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(S){var G=S.data.datasets,se=S.options.legend||{},ue=se.labels&&se.labels.usePointStyle;return S._getSortedDatasetMetas().map(function(Te){var Ke=Te.controller.getStyle(ue?0:void 0);return{text:G[Te.index].label,fillStyle:Ke.backgroundColor,hidden:!S.isDatasetVisible(Te.index),lineCap:Ke.borderCapStyle,lineDash:Ke.borderDash,lineDashOffset:Ke.borderDashOffset,lineJoin:Ke.borderJoinStyle,lineWidth:Ke.borderWidth,strokeStyle:Ke.borderColor,pointStyle:Ke.pointStyle,rotation:Ke.rotation,datasetIndex:Te.index}},this)}}},legendCallback:function(S){var ue,Te,Ke,G=document.createElement("ul"),se=S.data.datasets;for(G.setAttribute("class",S.id+"-legend"),ue=0,Te=se.length;ue<Te;ue++)(Ke=G.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=se[ue].backgroundColor,se[ue].label&&Ke.appendChild(document.createTextNode(se[ue].label));return G.outerHTML}});var je=Ai.extend({initialize:function(S){var G=this;Ue.extend(G,S),G.legendHitBoxes=[],G._hoveredItem=null,G.doughnutMode=!1},beforeUpdate:Nt,update:function(S,G,se){var ue=this;return ue.beforeUpdate(),ue.maxWidth=S,ue.maxHeight=G,ue.margins=se,ue.beforeSetDimensions(),ue.setDimensions(),ue.afterSetDimensions(),ue.beforeBuildLabels(),ue.buildLabels(),ue.afterBuildLabels(),ue.beforeFit(),ue.fit(),ue.afterFit(),ue.afterUpdate(),ue.minSize},afterUpdate:Nt,beforeSetDimensions:Nt,setDimensions:function(){var S=this;S.isHorizontal()?(S.width=S.maxWidth,S.left=0,S.right=S.width):(S.height=S.maxHeight,S.top=0,S.bottom=S.height),S.paddingLeft=0,S.paddingTop=0,S.paddingRight=0,S.paddingBottom=0,S.minSize={width:0,height:0}},afterSetDimensions:Nt,beforeBuildLabels:Nt,buildLabels:function(){var S=this,G=S.options.labels||{},se=Ue.callback(G.generateLabels,[S.chart],S)||[];G.filter&&(se=se.filter(function(ue){return G.filter(ue,S.chart.data)})),S.options.reverse&&se.reverse(),S.legendItems=se},afterBuildLabels:Nt,beforeFit:Nt,fit:function(){var S=this,G=S.options,se=G.labels,ue=G.display,Te=S.ctx,Ke=Ue.options._parseFont(se),lt=Ke.size,xt=S.legendHitBoxes=[],vt=S.minSize,$t=S.isHorizontal();if($t?(vt.width=S.maxWidth,vt.height=ue?10:0):(vt.width=ue?10:0,vt.height=S.maxHeight),ue){if(Te.font=Ke.string,$t){var an=S.lineWidths=[0],fn=0;Te.textAlign="left",Te.textBaseline="middle",Ue.each(S.legendItems,function(Wo,ro){var Xo=Vn(se,lt)+lt/2+Te.measureText(Wo.text).width;(0===ro||an[an.length-1]+Xo+2*se.padding>vt.width)&&(fn+=lt+se.padding,an[an.length-(ro>0?0:1)]=0),xt[ro]={left:0,top:0,width:Xo,height:lt},an[an.length-1]+=Xo+se.padding}),vt.height+=fn}else{var ti=se.padding,Ti=S.columnWidths=[],Ri=S.columnHeights=[],Bi=se.padding,ts=0,Ws=0;Ue.each(S.legendItems,function(Wo,ro){var Xo=Vn(se,lt)+lt/2+Te.measureText(Wo.text).width;ro>0&&Ws+lt+2*ti>vt.height&&(Bi+=ts+se.padding,Ti.push(ts),Ri.push(Ws),ts=0,Ws=0),ts=Math.max(ts,Xo),Ws+=lt+ti,xt[ro]={left:0,top:0,width:Xo,height:lt}}),Bi+=ts,Ti.push(ts),Ri.push(Ws),vt.width+=Bi}S.width=vt.width,S.height=vt.height}else S.width=vt.width=S.height=vt.height=0},afterFit:Nt,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var S=this,G=S.options,se=G.labels,ue=zn.global,Te=ue.defaultColor,Ke=ue.elements.line,lt=S.height,xt=S.columnHeights,vt=S.width,$t=S.lineWidths;if(G.display){var Bi,an=ct(G.rtl,S.left,S.minSize.width),fn=S.ctx,ti=pn(se.fontColor,ue.defaultFontColor),Ti=Ue.options._parseFont(se),Ri=Ti.size;fn.textAlign=an.textAlign("left"),fn.textBaseline="middle",fn.lineWidth=.5,fn.strokeStyle=ti,fn.fillStyle=ti,fn.font=Ti.string;var ts=Vn(se,Ri),Ws=S.legendHitBoxes,Bo=function(Wr,mr){switch(G.align){case"start":return se.padding;case"end":return Wr-mr;default:return(Wr-mr+se.padding)/2}},Xo=S.isHorizontal();Bi=Xo?{x:S.left+Bo(vt,$t[0]),y:S.top+se.padding,line:0}:{x:S.left+se.padding,y:S.top+Bo(lt,xt[0]),line:0},Ue.rtl.overrideTextDirection(S.ctx,G.textDirection);var ar=Ri+se.padding;Ue.each(S.legendItems,function(Wr,mr){var $r=fn.measureText(Wr.text).width,va=ts+Ri/2+$r,r1=Bi.x,K0=Bi.y;an.setWidth(S.minSize.width),Xo?mr>0&&r1+va+se.padding>S.left+S.minSize.width&&(K0=Bi.y+=ar,Bi.line++,r1=Bi.x=S.left+Bo(vt,$t[Bi.line])):mr>0&&K0+ar>S.top+S.minSize.height&&(r1=Bi.x=r1+S.columnWidths[Bi.line]+se.padding,Bi.line++,K0=Bi.y=S.top+Bo(lt,xt[Bi.line]));var yt=an.x(r1);(function(Wr,mr,$r){if(!(isNaN(ts)||ts<=0)){fn.save();var va=pn($r.lineWidth,Ke.borderWidth);if(fn.fillStyle=pn($r.fillStyle,Te),fn.lineCap=pn($r.lineCap,Ke.borderCapStyle),fn.lineDashOffset=pn($r.lineDashOffset,Ke.borderDashOffset),fn.lineJoin=pn($r.lineJoin,Ke.borderJoinStyle),fn.lineWidth=va,fn.strokeStyle=pn($r.strokeStyle,Te),fn.setLineDash&&fn.setLineDash(pn($r.lineDash,Ke.borderDash)),se&&se.usePointStyle){var r1=ts*Math.SQRT2/2,K0=an.xPlus(Wr,ts/2);Ue.canvas.drawPoint(fn,$r.pointStyle,r1,K0,mr+Ri/2,$r.rotation)}else fn.fillRect(an.leftForLtr(Wr,ts),mr,ts,Ri),0!==va&&fn.strokeRect(an.leftForLtr(Wr,ts),mr,ts,Ri);fn.restore()}})(yt,K0,Wr),Ws[mr].left=an.leftForLtr(yt,Ws[mr].width),Ws[mr].top=K0,function(Wr,mr,$r,va){var r1=Ri/2,K0=an.xPlus(Wr,ts+r1),yt=mr+r1;fn.fillText($r.text,K0,yt),$r.hidden&&(fn.beginPath(),fn.lineWidth=2,fn.moveTo(K0,yt),fn.lineTo(an.xPlus(K0,va),yt),fn.stroke())}(yt,K0,Wr,$r),Xo?Bi.x+=va+se.padding:Bi.y+=ar}),Ue.rtl.restoreTextDirection(S.ctx,G.textDirection)}},_getLegendItemAt:function(S,G){var ue,Te,Ke,se=this;if(S>=se.left&&S<=se.right&&G>=se.top&&G<=se.bottom)for(Ke=se.legendHitBoxes,ue=0;ue<Ke.length;++ue)if(S>=(Te=Ke[ue]).left&&S<=Te.left+Te.width&&G>=Te.top&&G<=Te.top+Te.height)return se.legendItems[ue];return null},handleEvent:function(S){var Te,G=this,se=G.options,ue="mouseup"===S.type?"click":S.type;if("mousemove"===ue){if(!se.onHover&&!se.onLeave)return}else{if("click"!==ue)return;if(!se.onClick)return}Te=G._getLegendItemAt(S.x,S.y),"click"===ue?Te&&se.onClick&&se.onClick.call(G,S.native,Te):(se.onLeave&&Te!==G._hoveredItem&&(G._hoveredItem&&se.onLeave.call(G,S.native,G._hoveredItem),G._hoveredItem=Te),se.onHover&&Te&&se.onHover.call(G,S.native,Te))}});function Kn(S,G){var se=new je({ctx:S.ctx,options:G,chart:S});ma.configure(S,se,G),ma.addBox(S,se),S.legend=se}var De={id:"legend",_element:je,beforeInit:function(S){var G=S.options.legend;G&&Kn(S,G)},beforeUpdate:function(S){var G=S.options.legend,se=S.legend;G?(Ue.mergeIf(G,zn.global.legend),se?(ma.configure(S,se,G),se.options=G):Kn(S,G)):se&&(ma.removeBox(S,se),delete S.legend)},afterEvent:function(S,G){var se=S.legend;se&&se.handleEvent(G)}},Pt=Ue.noop;zn._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var mt=Ai.extend({initialize:function(S){Ue.extend(this,S),this.legendHitBoxes=[]},beforeUpdate:Pt,update:function(S,G,se){var ue=this;return ue.beforeUpdate(),ue.maxWidth=S,ue.maxHeight=G,ue.margins=se,ue.beforeSetDimensions(),ue.setDimensions(),ue.afterSetDimensions(),ue.beforeBuildLabels(),ue.buildLabels(),ue.afterBuildLabels(),ue.beforeFit(),ue.fit(),ue.afterFit(),ue.afterUpdate(),ue.minSize},afterUpdate:Pt,beforeSetDimensions:Pt,setDimensions:function(){var S=this;S.isHorizontal()?(S.width=S.maxWidth,S.left=0,S.right=S.width):(S.height=S.maxHeight,S.top=0,S.bottom=S.height),S.paddingLeft=0,S.paddingTop=0,S.paddingRight=0,S.paddingBottom=0,S.minSize={width:0,height:0}},afterSetDimensions:Pt,beforeBuildLabels:Pt,buildLabels:Pt,afterBuildLabels:Pt,beforeFit:Pt,fit:function(){var Ke,S=this,G=S.options,se=S.minSize={},ue=S.isHorizontal();G.display?(Ke=(Ue.isArray(G.text)?G.text.length:1)*Ue.options._parseFont(G).lineHeight+2*G.padding,S.width=se.width=ue?S.maxWidth:Ke,S.height=se.height=ue?Ke:S.maxHeight):S.width=se.width=S.height=se.height=0},afterFit:Pt,isHorizontal:function(){var S=this.options.position;return"top"===S||"bottom"===S},draw:function(){var S=this,G=S.ctx,se=S.options;if(se.display){var fn,ti,Ti,ue=Ue.options._parseFont(se),Te=ue.lineHeight,Ke=Te/2+se.padding,lt=0,xt=S.top,vt=S.left,$t=S.bottom,an=S.right;G.fillStyle=Ue.valueOrDefault(se.fontColor,zn.global.defaultFontColor),G.font=ue.string,S.isHorizontal()?(ti=vt+(an-vt)/2,Ti=xt+Ke,fn=an-vt):(ti="left"===se.position?vt+Ke:an-Ke,Ti=xt+($t-xt)/2,fn=$t-xt,lt=Math.PI*("left"===se.position?-.5:.5)),G.save(),G.translate(ti,Ti),G.rotate(lt),G.textAlign="center",G.textBaseline="middle";var Ri=se.text;if(Ue.isArray(Ri))for(var Bi=0,ts=0;ts<Ri.length;++ts)G.fillText(Ri[ts],0,Bi,fn),Bi+=Te;else G.fillText(Ri,0,0,fn);G.restore()}}});function pi(S,G){var se=new mt({ctx:S.ctx,options:G,chart:S});ma.configure(S,se,G),ma.addBox(S,se),S.titleBlock=se}var lo={},Ro=wt,to=De,Er={id:"title",_element:mt,beforeInit:function(S){var G=S.options.title;G&&pi(S,G)},beforeUpdate:function(S){var G=S.options.title,se=S.titleBlock;G?(Ue.mergeIf(G,zn.global.title),se?(ma.configure(S,se,G),se.options=G):pi(S,G)):se&&(ma.removeBox(S,se),delete S.titleBlock)}};for(var Xr in lo.filler=Ro,lo.legend=to,lo.title=Er,Pr.helpers=Ue,function(){function S(ue,Te,Ke){var lt;return"string"==typeof ue?(lt=parseInt(ue,10),-1!==ue.indexOf("%")&&(lt=lt/100*Te.parentNode[Ke])):lt=ue,lt}function G(ue){return null!=ue&&"none"!==ue}function se(ue,Te,Ke){var lt=document.defaultView,xt=Ue._getParentNode(ue),vt=lt.getComputedStyle(ue)[Te],$t=lt.getComputedStyle(xt)[Te],an=G(vt),fn=G($t),ti=Number.POSITIVE_INFINITY;return an||fn?Math.min(an?S(vt,ue,Ke):ti,fn?S($t,xt,Ke):ti):"none"}Ue.where=function(ue,Te){if(Ue.isArray(ue)&&Array.prototype.filter)return ue.filter(Te);var Ke=[];return Ue.each(ue,function(lt){Te(lt)&&Ke.push(lt)}),Ke},Ue.findIndex=Array.prototype.findIndex?function(ue,Te,Ke){return ue.findIndex(Te,Ke)}:function(ue,Te,Ke){Ke=void 0===Ke?ue:Ke;for(var lt=0,xt=ue.length;lt<xt;++lt)if(Te.call(Ke,ue[lt],lt,ue))return lt;return-1},Ue.findNextWhere=function(ue,Te,Ke){Ue.isNullOrUndef(Ke)&&(Ke=-1);for(var lt=Ke+1;lt<ue.length;lt++){var xt=ue[lt];if(Te(xt))return xt}},Ue.findPreviousWhere=function(ue,Te,Ke){Ue.isNullOrUndef(Ke)&&(Ke=ue.length);for(var lt=Ke-1;lt>=0;lt--){var xt=ue[lt];if(Te(xt))return xt}},Ue.isNumber=function(ue){return!isNaN(parseFloat(ue))&&isFinite(ue)},Ue.almostEquals=function(ue,Te,Ke){return Math.abs(ue-Te)<Ke},Ue.almostWhole=function(ue,Te){var Ke=Math.round(ue);return Ke-Te<=ue&&Ke+Te>=ue},Ue.max=function(ue){return ue.reduce(function(Te,Ke){return isNaN(Ke)?Te:Math.max(Te,Ke)},Number.NEGATIVE_INFINITY)},Ue.min=function(ue){return ue.reduce(function(Te,Ke){return isNaN(Ke)?Te:Math.min(Te,Ke)},Number.POSITIVE_INFINITY)},Ue.sign=Math.sign?function(ue){return Math.sign(ue)}:function(ue){return 0==(ue=+ue)||isNaN(ue)?ue:ue>0?1:-1},Ue.toRadians=function(ue){return ue*(Math.PI/180)},Ue.toDegrees=function(ue){return ue*(180/Math.PI)},Ue._decimalPlaces=function(ue){if(Ue.isFinite(ue)){for(var Te=1,Ke=0;Math.round(ue*Te)/Te!==ue;)Te*=10,Ke++;return Ke}},Ue.getAngleFromPoint=function(ue,Te){var Ke=Te.x-ue.x,lt=Te.y-ue.y,xt=Math.sqrt(Ke*Ke+lt*lt),vt=Math.atan2(lt,Ke);return vt<-.5*Math.PI&&(vt+=2*Math.PI),{angle:vt,distance:xt}},Ue.distanceBetweenPoints=function(ue,Te){return Math.sqrt(Math.pow(Te.x-ue.x,2)+Math.pow(Te.y-ue.y,2))},Ue.aliasPixel=function(ue){return ue%2==0?0:.5},Ue._alignPixel=function(ue,Te,Ke){var lt=ue.currentDevicePixelRatio,xt=Ke/2;return Math.round((Te-xt)*lt)/lt+xt},Ue.splineCurve=function(ue,Te,Ke,lt){var xt=ue.skip?Te:ue,vt=Te,$t=Ke.skip?Te:Ke,an=Math.sqrt(Math.pow(vt.x-xt.x,2)+Math.pow(vt.y-xt.y,2)),fn=Math.sqrt(Math.pow($t.x-vt.x,2)+Math.pow($t.y-vt.y,2)),ti=an/(an+fn),Ti=fn/(an+fn),Ri=lt*(ti=isNaN(ti)?0:ti),Bi=lt*(Ti=isNaN(Ti)?0:Ti);return{previous:{x:vt.x-Ri*($t.x-xt.x),y:vt.y-Ri*($t.y-xt.y)},next:{x:vt.x+Bi*($t.x-xt.x),y:vt.y+Bi*($t.y-xt.y)}}},Ue.EPSILON=Number.EPSILON||1e-14,Ue.splineCurveMonotone=function(ue){var lt,xt,vt,$t,fn,ti,Ti,Ri,Bi,Te=(ue||[]).map(function(ts){return{model:ts._model,deltaK:0,mK:0}}),Ke=Te.length;for(lt=0;lt<Ke;++lt)if(!(vt=Te[lt]).model.skip){if(xt=lt>0?Te[lt-1]:null,($t=lt<Ke-1?Te[lt+1]:null)&&!$t.model.skip){var an=$t.model.x-vt.model.x;vt.deltaK=0!==an?($t.model.y-vt.model.y)/an:0}vt.mK=!xt||xt.model.skip?vt.deltaK:!$t||$t.model.skip?xt.deltaK:this.sign(xt.deltaK)!==this.sign(vt.deltaK)?0:(xt.deltaK+vt.deltaK)/2}for(lt=0;lt<Ke-1;++lt)if($t=Te[lt+1],!(vt=Te[lt]).model.skip&&!$t.model.skip){if(Ue.almostEquals(vt.deltaK,0,this.EPSILON)){vt.mK=$t.mK=0;continue}fn=vt.mK/vt.deltaK,ti=$t.mK/vt.deltaK,!((Ri=Math.pow(fn,2)+Math.pow(ti,2))<=9)&&(Ti=3/Math.sqrt(Ri),vt.mK=fn*Ti*vt.deltaK,$t.mK=ti*Ti*vt.deltaK)}for(lt=0;lt<Ke;++lt)!(vt=Te[lt]).model.skip&&($t=lt<Ke-1?Te[lt+1]:null,(xt=lt>0?Te[lt-1]:null)&&!xt.model.skip&&(vt.model.controlPointPreviousX=vt.model.x-(Bi=(vt.model.x-xt.model.x)/3),vt.model.controlPointPreviousY=vt.model.y-Bi*vt.mK),$t&&!$t.model.skip&&(vt.model.controlPointNextX=vt.model.x+(Bi=($t.model.x-vt.model.x)/3),vt.model.controlPointNextY=vt.model.y+Bi*vt.mK))},Ue.nextItem=function(ue,Te,Ke){return Ke?Te>=ue.length-1?ue[0]:ue[Te+1]:Te>=ue.length-1?ue[ue.length-1]:ue[Te+1]},Ue.previousItem=function(ue,Te,Ke){return Ke?Te<=0?ue[ue.length-1]:ue[Te-1]:Te<=0?ue[0]:ue[Te-1]},Ue.niceNum=function(ue,Te){var Ke=Math.floor(Ue.log10(ue)),lt=ue/Math.pow(10,Ke);return(Te?lt<1.5?1:lt<3?2:lt<7?5:10:lt<=1?1:lt<=2?2:lt<=5?5:10)*Math.pow(10,Ke)},Ue.requestAnimFrame=typeof window>"u"?function(ue){ue()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(ue){return window.setTimeout(ue,1e3/60)},Ue.getRelativePosition=function(ue,Te){var Ke,lt,xt=ue.originalEvent||ue,vt=ue.target||ue.srcElement,$t=vt.getBoundingClientRect(),an=xt.touches;an&&an.length>0?(Ke=an[0].clientX,lt=an[0].clientY):(Ke=xt.clientX,lt=xt.clientY);var fn=parseFloat(Ue.getStyle(vt,"padding-left")),ti=parseFloat(Ue.getStyle(vt,"padding-top")),Ti=parseFloat(Ue.getStyle(vt,"padding-right")),Ri=parseFloat(Ue.getStyle(vt,"padding-bottom")),ts=$t.bottom-$t.top-ti-Ri;return{x:Ke=Math.round((Ke-$t.left-fn)/($t.right-$t.left-fn-Ti)*vt.width/Te.currentDevicePixelRatio),y:lt=Math.round((lt-$t.top-ti)/ts*vt.height/Te.currentDevicePixelRatio)}},Ue.getConstraintWidth=function(ue){return se(ue,"max-width","clientWidth")},Ue.getConstraintHeight=function(ue){return se(ue,"max-height","clientHeight")},Ue._calculatePadding=function(ue,Te,Ke){return(Te=Ue.getStyle(ue,Te)).indexOf("%")>-1?Ke*parseInt(Te,10)/100:parseInt(Te,10)},Ue._getParentNode=function(ue){var Te=ue.parentNode;return Te&&"[object ShadowRoot]"===Te.toString()&&(Te=Te.host),Te},Ue.getMaximumWidth=function(ue){var Te=Ue._getParentNode(ue);if(!Te)return ue.clientWidth;var Ke=Te.clientWidth,vt=Ke-Ue._calculatePadding(Te,"padding-left",Ke)-Ue._calculatePadding(Te,"padding-right",Ke),$t=Ue.getConstraintWidth(ue);return isNaN($t)?vt:Math.min(vt,$t)},Ue.getMaximumHeight=function(ue){var Te=Ue._getParentNode(ue);if(!Te)return ue.clientHeight;var Ke=Te.clientHeight,vt=Ke-Ue._calculatePadding(Te,"padding-top",Ke)-Ue._calculatePadding(Te,"padding-bottom",Ke),$t=Ue.getConstraintHeight(ue);return isNaN($t)?vt:Math.min(vt,$t)},Ue.getStyle=function(ue,Te){return ue.currentStyle?ue.currentStyle[Te]:document.defaultView.getComputedStyle(ue,null).getPropertyValue(Te)},Ue.retinaScale=function(ue,Te){var Ke=ue.currentDevicePixelRatio=Te||typeof window<"u"&&window.devicePixelRatio||1;if(1!==Ke){var lt=ue.canvas,xt=ue.height,vt=ue.width;lt.height=xt*Ke,lt.width=vt*Ke,ue.ctx.scale(Ke,Ke),!lt.style.height&&!lt.style.width&&(lt.style.height=xt+"px",lt.style.width=vt+"px")}},Ue.fontString=function(ue,Te,Ke){return Te+" "+ue+"px "+Ke},Ue.longestText=function(ue,Te,Ke,lt){var xt=(lt=lt||{}).data=lt.data||{},vt=lt.garbageCollect=lt.garbageCollect||[];lt.font!==Te&&(xt=lt.data={},vt=lt.garbageCollect=[],lt.font=Te),ue.font=Te;var fn,ti,Ti,Ri,Bi,$t=0,an=Ke.length;for(fn=0;fn<an;fn++)if(null!=(Ri=Ke[fn])&&!0!==Ue.isArray(Ri))$t=Ue.measureText(ue,xt,vt,$t,Ri);else if(Ue.isArray(Ri))for(ti=0,Ti=Ri.length;ti<Ti;ti++)null!=(Bi=Ri[ti])&&!Ue.isArray(Bi)&&($t=Ue.measureText(ue,xt,vt,$t,Bi));var ts=vt.length/2;if(ts>Ke.length){for(fn=0;fn<ts;fn++)delete xt[vt[fn]];vt.splice(0,ts)}return $t},Ue.measureText=function(ue,Te,Ke,lt,xt){var vt=Te[xt];return vt||(vt=Te[xt]=ue.measureText(xt).width,Ke.push(xt)),vt>lt&&(lt=vt),lt},Ue.numberOfLabelLines=function(ue){var Te=1;return Ue.each(ue,function(Ke){Ue.isArray(Ke)&&Ke.length>Te&&(Te=Ke.length)}),Te},Ue.color=gt?function(ue){return ue instanceof CanvasGradient&&(ue=zn.global.defaultColor),gt(ue)}:function(ue){return console.error("Color.js not found!"),ue},Ue.getHoverColor=function(ue){return ue instanceof CanvasPattern||ue instanceof CanvasGradient?ue:Ue.color(ue).saturate(.5).darken(.1).rgbString()}}(),Pr._adapters=Io,Pr.Animation=Fs,Pr.animationService=sn,Pr.controllers=l1,Pr.DatasetController=ui,Pr.defaults=zn,Pr.Element=Ai,Pr.elements=He,Pr.Interaction=_1,Pr.layouts=ma,Pr.platform=W0,Pr.plugins=_a,Pr.Scale=aa,Pr.scaleService=L1,Pr.Ticks=b1,Pr.Tooltip=dl,Pr.helpers.each(mc,function(S,G){Pr.scaleService.registerScaleType(G,S,S._defaults)}),lo)lo.hasOwnProperty(Xr)&&Pr.plugins.register(lo[Xr]);Pr.platform.initialize();var C0=Pr;return typeof window<"u"&&(window.Chart=Pr),Pr.Chart=Pr,Pr.Legend=lo.legend._element,Pr.Title=lo.title._element,Pr.pluginService=Pr.plugins,Pr.PluginBase=Pr.Element.extend({}),Pr.canvasHelpers=Pr.helpers.canvas,Pr.layoutService=Pr.layouts,Pr.LinearScaleBase=t1,Pr.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(S){Pr[S]=function(G,se){return new Pr(G,Pr.helpers.merge(se||{},{type:S.charAt(0).toLowerCase()+S.slice(1)}))}}),C0}(function(){try{return s(97586)}catch{}}())},35554:(at,N,s)=>{"use strict";var n=s(54489);at.exports=function(g,m,T){g&&n(function(){g.apply(T||null,m||[])})}},57123:(at,N,s)=>{"use strict";var n=s(62468),a=s(35554);at.exports=function(m,T){var O=T||{},D={};return void 0===m&&(m={}),m.on=function(E,y){return D[E]?D[E].push(y):D[E]=[y],m},m.once=function(E,y){return y._once=!0,m.on(E,y),m},m.off=function(E,y){var I=arguments.length;if(1===I)delete D[E];else if(0===I)D={};else{var b=D[E];if(!b)return m;b.splice(b.indexOf(y),1)}return m},m.emit=function(){var E=n(arguments);return m.emitterSnapshot(E.shift()).apply(this,E)},m.emitterSnapshot=function(E){var y=(D[E]||[]).slice(0);return function(){var I=n(arguments),b=this||m;if("error"===E&&!1!==O.throws&&!y.length)throw 1===I.length?I[0]:I;return y.forEach(function(o){O.async?a(o,I,b):o.apply(b,I),o._once&&m.off(E,o)}),m}},m}},28182:(at,N,s)=>{"use strict";var n=s(3579),a={"text/plain":"Text","text/html":"Url",default:"Text"};at.exports=function T(O,D){var E,y,I,b,L,o,C=!1;D||(D={}),E=D.debug||!1;try{if(I=n(),b=document.createRange(),L=document.getSelection(),(o=document.createElement("span")).textContent=O,o.ariaHidden="true",o.style.all="unset",o.style.position="fixed",o.style.top=0,o.style.clip="rect(0, 0, 0, 0)",o.style.whiteSpace="pre",o.style.webkitUserSelect="text",o.style.MozUserSelect="text",o.style.msUserSelect="text",o.style.userSelect="text",o.addEventListener("copy",function(M){M.stopPropagation(),D.format&&(M.preventDefault(),typeof M.clipboardData>"u"?(E&&console.warn("unable to use e.clipboardData"),E&&console.warn("trying IE specific stuff"),window.clipboardData.clearData(),window.clipboardData.setData(a[D.format]||a.default,O)):(M.clipboardData.clearData(),M.clipboardData.setData(D.format,O))),D.onCopy&&(M.preventDefault(),D.onCopy(M.clipboardData))}),document.body.appendChild(o),b.selectNodeContents(o),L.addRange(b),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");C=!0}catch(M){E&&console.error("unable to copy using execCommand: ",M),E&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(D.format||"text",O),D.onCopy&&D.onCopy(window.clipboardData),C=!0}catch(q){E&&console.error("unable to copy using clipboardData: ",q),E&&console.error("falling back to prompt"),y=function m(O){var D=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return O.replace(/#{\s*key\s*}/g,D)}("message"in D?D.message:"Copy to clipboard: #{key}, Enter"),window.prompt(y,O)}}finally{L&&("function"==typeof L.removeRange?L.removeRange(b):L.removeAllRanges()),o&&document.body.removeChild(o),I()}return C}},97565:(at,N,s)=>{"use strict";var n=s(16906),a=s(59918),g=global.document,m=function D(M,q,z,F){return M.addEventListener(q,z,F)},T=function y(M,q,z,F){return M.removeEventListener(q,z,F)},O=[];function C(M,q,z){var F=function w(M,q,z){var F,U;for(F=0;F<O.length;F++)if((U=O[F]).element===M&&U.type===q&&U.fn===z)return F}(M,q,z);if(F){var U=O[F].wrapper;return O.splice(F,1),U}}global.addEventListener||(m=function E(M,q,z){return M.attachEvent("on"+q,function o(M,q,z){var F=C(M,q,z)||function L(M,q,z){return function(U){var k=U||global.event;k.target=k.target||k.srcElement,k.preventDefault=k.preventDefault||function(){k.returnValue=!1},k.stopPropagation=k.stopPropagation||function(){k.cancelBubble=!0},k.which=k.which||k.keyCode,z.call(M,k)}}(M,0,z);return O.push({wrapper:F,element:M,type:q,fn:z}),F}(M,q,z))},T=function I(M,q,z){var F=C(M,q,z);if(F)return M.detachEvent("on"+q,F)}),at.exports={add:m,remove:T,fabricate:function b(M,q,z){var F=-1===a.indexOf(q)?function k(){return new n(q,{detail:z})}():function U(){var Y;return g.createEvent?(Y=g.createEvent("Event")).initEvent(q,!0,!0):g.createEventObject&&(Y=g.createEventObject()),Y}();M.dispatchEvent?M.dispatchEvent(F):M.fireEvent("on"+q,F)}}},59918:at=>{"use strict";var N=[],s="",n=/^on/;for(s in global)n.test(s)&&N.push(s.slice(2));at.exports=N},93188:function(at,N,s){var n;at.exports=(n=s(17656),s(98891),s(78855),s(4147),s(12414),function(){var a=n,m=a.lib.BlockCipher,T=a.algo,O=[],D=[],E=[],y=[],I=[],b=[],L=[],o=[],C=[],w=[];!function(){for(var z=[],F=0;F<256;F++)z[F]=F<128?F<<1:F<<1^283;var U=0,k=0;for(F=0;F<256;F++){var Y=k^k<<1^k<<2^k<<3^k<<4;O[U]=Y=Y>>>8^255&Y^99,D[Y]=U;var $,x=z[U],B=z[x],j=z[B];E[U]=($=257*z[Y]^16843008*Y)<<24|$>>>8,y[U]=$<<16|$>>>16,I[U]=$<<8|$>>>24,b[U]=$,L[Y]=($=16843009*j^65537*B^257*x^16843008*U)<<24|$>>>8,o[Y]=$<<16|$>>>16,C[Y]=$<<8|$>>>24,w[Y]=$,U?(U=x^z[z[z[j^x]]],k^=z[z[k]]):U=k=1}}();var M=[0,1,2,4,8,16,32,64,128,27,54],q=T.AES=m.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var F=this._keyPriorReset=this._key,U=F.words,k=F.sigBytes/4,x=4*((this._nRounds=k+6)+1),B=this._keySchedule=[],j=0;j<x;j++)j<k?B[j]=U[j]:(z=B[j-1],j%k?k>6&&j%k==4&&(z=O[z>>>24]<<24|O[z>>>16&255]<<16|O[z>>>8&255]<<8|O[255&z]):(z=O[(z=z<<8|z>>>24)>>>24]<<24|O[z>>>16&255]<<16|O[z>>>8&255]<<8|O[255&z],z^=M[j/k|0]<<24),B[j]=B[j-k]^z);for(var $=this._invKeySchedule=[],H=0;H<x;H++){if(j=x-H,H%4)var z=B[j];else z=B[j-4];$[H]=H<4||j<=4?z:L[O[z>>>24]]^o[O[z>>>16&255]]^C[O[z>>>8&255]]^w[O[255&z]]}}},encryptBlock:function(z,F){this._doCryptBlock(z,F,this._keySchedule,E,y,I,b,O)},decryptBlock:function(z,F){var U=z[F+1];z[F+1]=z[F+3],z[F+3]=U,this._doCryptBlock(z,F,this._invKeySchedule,L,o,C,w,D),U=z[F+1],z[F+1]=z[F+3],z[F+3]=U},_doCryptBlock:function(z,F,U,k,Y,x,B,j){for(var $=this._nRounds,H=z[F]^U[0],ie=z[F+1]^U[1],ne=z[F+2]^U[2],Q=z[F+3]^U[3],le=4,pe=1;pe<$;pe++){var te=k[H>>>24]^Y[ie>>>16&255]^x[ne>>>8&255]^B[255&Q]^U[le++],ae=k[ie>>>24]^Y[ne>>>16&255]^x[Q>>>8&255]^B[255&H]^U[le++],K=k[ne>>>24]^Y[Q>>>16&255]^x[H>>>8&255]^B[255&ie]^U[le++],de=k[Q>>>24]^Y[H>>>16&255]^x[ie>>>8&255]^B[255&ne]^U[le++];H=te,ie=ae,ne=K,Q=de}te=(j[H>>>24]<<24|j[ie>>>16&255]<<16|j[ne>>>8&255]<<8|j[255&Q])^U[le++],ae=(j[ie>>>24]<<24|j[ne>>>16&255]<<16|j[Q>>>8&255]<<8|j[255&H])^U[le++],K=(j[ne>>>24]<<24|j[Q>>>16&255]<<16|j[H>>>8&255]<<8|j[255&ie])^U[le++],de=(j[Q>>>24]<<24|j[H>>>16&255]<<16|j[ie>>>8&255]<<8|j[255&ne])^U[le++],z[F]=te,z[F+1]=ae,z[F+2]=K,z[F+3]=de},keySize:8});a.AES=m._createHelper(q)}(),n.AES)},45269:function(at,N,s){var n;at.exports=(n=s(17656),s(98891),s(78855),s(4147),s(12414),function(){var a=n,m=a.lib.BlockCipher;const O=16,D=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],E=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var y={pbox:[],sbox:[]};function I(w,M){let k=w.sbox[0][M>>24&255]+w.sbox[1][M>>16&255];return k^=w.sbox[2][M>>8&255],k+=w.sbox[3][255&M],k}function b(w,M,q){let U,z=M,F=q;for(let k=0;k<O;++k)z^=w.pbox[k],F=I(w,z)^F,U=z,z=F,F=U;return U=z,z=F,F=U,F^=w.pbox[O],z^=w.pbox[O+1],{left:z,right:F}}var C=a.algo.Blowfish=m.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var w=this._keyPriorReset=this._key;!function o(w,M,q){for(let Y=0;Y<4;Y++){w.sbox[Y]=[];for(let x=0;x<256;x++)w.sbox[Y][x]=E[Y][x]}let z=0;for(let Y=0;Y<O+2;Y++)w.pbox[Y]=D[Y]^M[z],z++,z>=q&&(z=0);let F=0,U=0,k=0;for(let Y=0;Y<O+2;Y+=2)k=b(w,F,U),F=k.left,U=k.right,w.pbox[Y]=F,w.pbox[Y+1]=U;for(let Y=0;Y<4;Y++)for(let x=0;x<256;x+=2)k=b(w,F,U),F=k.left,U=k.right,w.sbox[Y][x]=F,w.sbox[Y][x+1]=U;return!0}(y,w.words,w.sigBytes/4)}},encryptBlock:function(w,M){var q=b(y,w[M],w[M+1]);w[M]=q.left,w[M+1]=q.right},decryptBlock:function(w,M){var q=function L(w,M,q){let U,z=M,F=q;for(let k=O+1;k>1;--k)z^=w.pbox[k],F=I(w,z)^F,U=z,z=F,F=U;return U=z,z=F,F=U,F^=w.pbox[1],z^=w.pbox[0],{left:z,right:F}}(y,w[M],w[M+1]);w[M]=q.left,w[M+1]=q.right},blockSize:2,keySize:4,ivSize:2});a.Blowfish=m._createHelper(C)}(),n.Blowfish)},12414:function(at,N,s){var g,m,T,O,D,E,I,L,o,w,M,q,F,k,x,B,$,H,n;at.exports=(n=s(17656),s(4147),void(n.lib.Cipher||(g=n,m=g.lib,T=m.Base,O=m.WordArray,D=m.BufferedBlockAlgorithm,E=g.enc,I=E.Base64,L=g.algo.EvpKDF,o=m.Cipher=D.extend({cfg:T.extend(),createEncryptor:function(ie,ne){return this.create(this._ENC_XFORM_MODE,ie,ne)},createDecryptor:function(ie,ne){return this.create(this._DEC_XFORM_MODE,ie,ne)},init:function(ie,ne,Q){this.cfg=this.cfg.extend(Q),this._xformMode=ie,this._key=ne,this.reset()},reset:function(){D.reset.call(this),this._doReset()},process:function(ie){return this._append(ie),this._process()},finalize:function(ie){return ie&&this._append(ie),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function ie(ne){return"string"==typeof ne?H:B}return function(ne){return{encrypt:function(Q,le,pe){return ie(le).encrypt(ne,Q,le,pe)},decrypt:function(Q,le,pe){return ie(le).decrypt(ne,Q,le,pe)}}}}()}),m.StreamCipher=o.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),w=g.mode={},M=m.BlockCipherMode=T.extend({createEncryptor:function(ie,ne){return this.Encryptor.create(ie,ne)},createDecryptor:function(ie,ne){return this.Decryptor.create(ie,ne)},init:function(ie,ne){this._cipher=ie,this._iv=ne}}),q=w.CBC=function(){var ie=M.extend();function ne(Q,le,pe){var te,ae=this._iv;ae?(te=ae,this._iv=undefined):te=this._prevBlock;for(var K=0;K<pe;K++)Q[le+K]^=te[K]}return ie.Encryptor=ie.extend({processBlock:function(Q,le){var pe=this._cipher,te=pe.blockSize;ne.call(this,Q,le,te),pe.encryptBlock(Q,le),this._prevBlock=Q.slice(le,le+te)}}),ie.Decryptor=ie.extend({processBlock:function(Q,le){var pe=this._cipher,te=pe.blockSize,ae=Q.slice(le,le+te);pe.decryptBlock(Q,le),ne.call(this,Q,le,te),this._prevBlock=ae}}),ie}(),F=(g.pad={}).Pkcs7={pad:function(ie,ne){for(var Q=4*ne,le=Q-ie.sigBytes%Q,pe=le<<24|le<<16|le<<8|le,te=[],ae=0;ae<le;ae+=4)te.push(pe);var K=O.create(te,le);ie.concat(K)},unpad:function(ie){ie.sigBytes-=255&ie.words[ie.sigBytes-1>>>2]}},m.BlockCipher=o.extend({cfg:o.cfg.extend({mode:q,padding:F}),reset:function(){var ie;o.reset.call(this);var ne=this.cfg,Q=ne.iv,le=ne.mode;this._xformMode==this._ENC_XFORM_MODE?ie=le.createEncryptor:(ie=le.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==ie?this._mode.init(this,Q&&Q.words):(this._mode=ie.call(le,this,Q&&Q.words),this._mode.__creator=ie)},_doProcessBlock:function(ie,ne){this._mode.processBlock(ie,ne)},_doFinalize:function(){var ie,ne=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(ne.pad(this._data,this.blockSize),ie=this._process(!0)):(ie=this._process(!0),ne.unpad(ie)),ie},blockSize:4}),k=m.CipherParams=T.extend({init:function(ie){this.mixIn(ie)},toString:function(ie){return(ie||this.formatter).stringify(this)}}),x=(g.format={}).OpenSSL={stringify:function(ie){var Q=ie.ciphertext,le=ie.salt;return(le?O.create([1398893684,1701076831]).concat(le).concat(Q):Q).toString(I)},parse:function(ie){var ne,Q=I.parse(ie),le=Q.words;return 1398893684==le[0]&&1701076831==le[1]&&(ne=O.create(le.slice(2,4)),le.splice(0,4),Q.sigBytes-=16),k.create({ciphertext:Q,salt:ne})}},B=m.SerializableCipher=T.extend({cfg:T.extend({format:x}),encrypt:function(ie,ne,Q,le){le=this.cfg.extend(le);var pe=ie.createEncryptor(Q,le),te=pe.finalize(ne),ae=pe.cfg;return k.create({ciphertext:te,key:Q,iv:ae.iv,algorithm:ie,mode:ae.mode,padding:ae.padding,blockSize:ie.blockSize,formatter:le.format})},decrypt:function(ie,ne,Q,le){return le=this.cfg.extend(le),ne=this._parse(ne,le.format),ie.createDecryptor(Q,le).finalize(ne.ciphertext)},_parse:function(ie,ne){return"string"==typeof ie?ne.parse(ie,this):ie}}),$=(g.kdf={}).OpenSSL={execute:function(ie,ne,Q,le,pe){if(le||(le=O.random(8)),pe)var te=L.create({keySize:ne+Q,hasher:pe}).compute(ie,le);else te=L.create({keySize:ne+Q}).compute(ie,le);var ae=O.create(te.words.slice(ne),4*Q);return te.sigBytes=4*ne,k.create({key:te,iv:ae,salt:le})}},H=m.PasswordBasedCipher=B.extend({cfg:B.cfg.extend({kdf:$}),encrypt:function(ie,ne,Q,le){var pe=(le=this.cfg.extend(le)).kdf.execute(Q,ie.keySize,ie.ivSize,le.salt,le.hasher);le.iv=pe.iv;var te=B.encrypt.call(this,ie,ne,pe.key,le);return te.mixIn(pe),te},decrypt:function(ie,ne,Q,le){le=this.cfg.extend(le),ne=this._parse(ne,le.format);var pe=le.kdf.execute(Q,ie.keySize,ie.ivSize,ne.salt,le.hasher);return le.iv=pe.iv,B.decrypt.call(this,ie,ne,pe.key,le)}}))))},17656:function(at,N,s){var n;at.exports=(n=n||function(a){var m;if(typeof window<"u"&&window.crypto&&(m=window.crypto),typeof self<"u"&&self.crypto&&(m=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(m=globalThis.crypto),!m&&typeof window<"u"&&window.msCrypto&&(m=window.msCrypto),!m&&typeof global<"u"&&global.crypto&&(m=global.crypto),!m)try{m=s(50477)}catch{}var T=function(){if(m){if("function"==typeof m.getRandomValues)try{return m.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof m.randomBytes)try{return m.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},O=Object.create||function(){function z(){}return function(F){var U;return z.prototype=F,U=new z,z.prototype=null,U}}(),D={},E=D.lib={},y=E.Base=function(){return{extend:function(z){var F=O(this);return z&&F.mixIn(z),(!F.hasOwnProperty("init")||this.init===F.init)&&(F.init=function(){F.$super.init.apply(this,arguments)}),F.init.prototype=F,F.$super=this,F},create:function(){var z=this.extend();return z.init.apply(z,arguments),z},init:function(){},mixIn:function(z){for(var F in z)z.hasOwnProperty(F)&&(this[F]=z[F]);z.hasOwnProperty("toString")&&(this.toString=z.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),I=E.WordArray=y.extend({init:function(z,F){z=this.words=z||[],this.sigBytes=null!=F?F:4*z.length},toString:function(z){return(z||L).stringify(this)},concat:function(z){var F=this.words,U=z.words,k=this.sigBytes,Y=z.sigBytes;if(this.clamp(),k%4)for(var x=0;x<Y;x++)F[k+x>>>2]|=(U[x>>>2]>>>24-x%4*8&255)<<24-(k+x)%4*8;else for(var j=0;j<Y;j+=4)F[k+j>>>2]=U[j>>>2];return this.sigBytes+=Y,this},clamp:function(){var z=this.words,F=this.sigBytes;z[F>>>2]&=4294967295<<32-F%4*8,z.length=a.ceil(F/4)},clone:function(){var z=y.clone.call(this);return z.words=this.words.slice(0),z},random:function(z){for(var F=[],U=0;U<z;U+=4)F.push(T());return new I.init(F,z)}}),b=D.enc={},L=b.Hex={stringify:function(z){for(var F=z.words,U=z.sigBytes,k=[],Y=0;Y<U;Y++){var x=F[Y>>>2]>>>24-Y%4*8&255;k.push((x>>>4).toString(16)),k.push((15&x).toString(16))}return k.join("")},parse:function(z){for(var F=z.length,U=[],k=0;k<F;k+=2)U[k>>>3]|=parseInt(z.substr(k,2),16)<<24-k%8*4;return new I.init(U,F/2)}},o=b.Latin1={stringify:function(z){for(var F=z.words,U=z.sigBytes,k=[],Y=0;Y<U;Y++)k.push(String.fromCharCode(F[Y>>>2]>>>24-Y%4*8&255));return k.join("")},parse:function(z){for(var F=z.length,U=[],k=0;k<F;k++)U[k>>>2]|=(255&z.charCodeAt(k))<<24-k%4*8;return new I.init(U,F)}},C=b.Utf8={stringify:function(z){try{return decodeURIComponent(escape(o.stringify(z)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(z){return o.parse(unescape(encodeURIComponent(z)))}},w=E.BufferedBlockAlgorithm=y.extend({reset:function(){this._data=new I.init,this._nDataBytes=0},_append:function(z){"string"==typeof z&&(z=C.parse(z)),this._data.concat(z),this._nDataBytes+=z.sigBytes},_process:function(z){var F,U=this._data,k=U.words,Y=U.sigBytes,x=this.blockSize,j=Y/(4*x),$=(j=z?a.ceil(j):a.max((0|j)-this._minBufferSize,0))*x,H=a.min(4*$,Y);if($){for(var ie=0;ie<$;ie+=x)this._doProcessBlock(k,ie);F=k.splice(0,$),U.sigBytes-=H}return new I.init(F,H)},clone:function(){var z=y.clone.call(this);return z._data=this._data.clone(),z},_minBufferSize:0}),q=(E.Hasher=w.extend({cfg:y.extend(),init:function(z){this.cfg=this.cfg.extend(z),this.reset()},reset:function(){w.reset.call(this),this._doReset()},update:function(z){return this._append(z),this._process(),this},finalize:function(z){return z&&this._append(z),this._doFinalize()},blockSize:16,_createHelper:function(z){return function(F,U){return new z.init(U).finalize(F)}},_createHmacHelper:function(z){return function(F,U){return new q.HMAC.init(z,U).finalize(F)}}}),D.algo={});return D}(Math),n)},98891:function(at,N,s){var n,m;at.exports=(n=s(17656),m=n.lib.WordArray,n.enc.Base64={stringify:function(E){var y=E.words,I=E.sigBytes,b=this._map;E.clamp();for(var L=[],o=0;o<I;o+=3)for(var q=(y[o>>>2]>>>24-o%4*8&255)<<16|(y[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|y[o+2>>>2]>>>24-(o+2)%4*8&255,z=0;z<4&&o+.75*z<I;z++)L.push(b.charAt(q>>>6*(3-z)&63));var F=b.charAt(64);if(F)for(;L.length%4;)L.push(F);return L.join("")},parse:function(E){var y=E.length,I=this._map,b=this._reverseMap;if(!b){b=this._reverseMap=[];for(var L=0;L<I.length;L++)b[I.charCodeAt(L)]=L}var o=I.charAt(64);if(o){var C=E.indexOf(o);-1!==C&&(y=C)}return function D(E,y,I){for(var b=[],L=0,o=0;o<y;o++)if(o%4){var C=I[E.charCodeAt(o-1)]<<o%4*2,w=I[E.charCodeAt(o)]>>>6-o%4*2;b[L>>>2]|=(C|w)<<24-L%4*8,L++}return m.create(b,L)}(E,y,b)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)},6598:function(at,N,s){var n,m;at.exports=(n=s(17656),m=n.lib.WordArray,n.enc.Base64url={stringify:function(E,y){void 0===y&&(y=!0);var I=E.words,b=E.sigBytes,L=y?this._safe_map:this._map;E.clamp();for(var o=[],C=0;C<b;C+=3)for(var z=(I[C>>>2]>>>24-C%4*8&255)<<16|(I[C+1>>>2]>>>24-(C+1)%4*8&255)<<8|I[C+2>>>2]>>>24-(C+2)%4*8&255,F=0;F<4&&C+.75*F<b;F++)o.push(L.charAt(z>>>6*(3-F)&63));var U=L.charAt(64);if(U)for(;o.length%4;)o.push(U);return o.join("")},parse:function(E,y){void 0===y&&(y=!0);var I=E.length,b=y?this._safe_map:this._map,L=this._reverseMap;if(!L){L=this._reverseMap=[];for(var o=0;o<b.length;o++)L[b.charCodeAt(o)]=o}var C=b.charAt(64);if(C){var w=E.indexOf(C);-1!==w&&(I=w)}return function D(E,y,I){for(var b=[],L=0,o=0;o<y;o++)if(o%4){var C=I[E.charCodeAt(o-1)]<<o%4*2,w=I[E.charCodeAt(o)]>>>6-o%4*2;b[L>>>2]|=(C|w)<<24-L%4*8,L++}return m.create(b,L)}(E,I,L)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},n.enc.Base64url)},75304:function(at,N,s){var n;at.exports=(n=s(17656),function(){var m=n.lib.WordArray,T=n.enc;function D(E){return E<<8&4278255360|E>>>8&16711935}T.Utf16=T.Utf16BE={stringify:function(E){for(var y=E.words,I=E.sigBytes,b=[],L=0;L<I;L+=2)b.push(String.fromCharCode(y[L>>>2]>>>16-L%4*8&65535));return b.join("")},parse:function(E){for(var y=E.length,I=[],b=0;b<y;b++)I[b>>>1]|=E.charCodeAt(b)<<16-b%2*16;return m.create(I,2*y)}},T.Utf16LE={stringify:function(E){for(var y=E.words,I=E.sigBytes,b=[],L=0;L<I;L+=2){var o=D(y[L>>>2]>>>16-L%4*8&65535);b.push(String.fromCharCode(o))}return b.join("")},parse:function(E){for(var y=E.length,I=[],b=0;b<y;b++)I[b>>>1]|=D(E.charCodeAt(b)<<16-b%2*16);return m.create(I,2*y)}}}(),n.enc.Utf16)},4147:function(at,N,s){var a,g,m,T,O,E,n;at.exports=(n=s(17656),s(79986),s(37868),T=(g=(a=n).lib).WordArray,E=(O=a.algo).EvpKDF=(m=g.Base).extend({cfg:m.extend({keySize:4,hasher:O.MD5,iterations:1}),init:function(y){this.cfg=this.cfg.extend(y)},compute:function(y,I){for(var b,L=this.cfg,o=L.hasher.create(),C=T.create(),w=C.words,M=L.keySize,q=L.iterations;w.length<M;){b&&o.update(b),b=o.update(y).finalize(I),o.reset();for(var z=1;z<q;z++)b=o.finalize(b),o.reset();C.concat(b)}return C.sigBytes=4*M,C}}),a.EvpKDF=function(y,I,b){return E.create(b).compute(y,I)},n.EvpKDF)},64564:function(at,N,s){var n,T,D;at.exports=(n=s(17656),s(12414),T=n.lib.CipherParams,D=n.enc.Hex,n.format.Hex={stringify:function(I){return I.ciphertext.toString(D)},parse:function(I){var b=D.parse(I);return T.create({ciphertext:b})}},n.format.Hex)},37868:function(at,N,s){var n,O;at.exports=(n=s(17656),O=n.enc.Utf8,void(n.algo.HMAC=n.lib.Base.extend({init:function(y,I){y=this._hasher=new y.init,"string"==typeof I&&(I=O.parse(I));var b=y.blockSize,L=4*b;I.sigBytes>L&&(I=y.finalize(I)),I.clamp();for(var o=this._oKey=I.clone(),C=this._iKey=I.clone(),w=o.words,M=C.words,q=0;q<b;q++)w[q]^=1549556828,M[q]^=909522486;o.sigBytes=C.sigBytes=L,this.reset()},reset:function(){var y=this._hasher;y.reset(),y.update(this._iKey)},update:function(y){return this._hasher.update(y),this},finalize:function(y){var I=this._hasher,b=I.finalize(y);return I.reset(),I.finalize(this._oKey.clone().concat(b))}})))},31471:function(at,N,s){var n;at.exports=(n=s(17656),s(24501),s(88823),s(75304),s(98891),s(6598),s(78855),s(79986),s(15168),s(39225),s(20885),s(84068),s(3752),s(10447),s(37868),s(87738),s(4147),s(12414),s(34152),s(69098),s(71057),s(86700),s(36115),s(90332),s(27516),s(29047),s(36964),s(52599),s(64564),s(93188),s(72515),s(85350),s(72795),s(82923),s(45269),n)},88823:function(at,N,s){var n;at.exports=(n=s(17656),function(){if("function"==typeof ArrayBuffer){var m=n.lib.WordArray,T=m.init,O=m.init=function(D){if(D instanceof ArrayBuffer&&(D=new Uint8Array(D)),(D instanceof Int8Array||typeof Uint8ClampedArray<"u"&&D instanceof Uint8ClampedArray||D instanceof Int16Array||D instanceof Uint16Array||D instanceof Int32Array||D instanceof Uint32Array||D instanceof Float32Array||D instanceof Float64Array)&&(D=new Uint8Array(D.buffer,D.byteOffset,D.byteLength)),D instanceof Uint8Array){for(var E=D.byteLength,y=[],I=0;I<E;I++)y[I>>>2]|=D[I]<<24-I%4*8;T.call(this,y,E)}else T.apply(this,arguments)};O.prototype=m}}(),n.lib.WordArray)},78855:function(at,N,s){var n;at.exports=(n=s(17656),function(a){var g=n,m=g.lib,T=m.WordArray,O=m.Hasher,D=g.algo,E=[];!function(){for(var C=0;C<64;C++)E[C]=4294967296*a.abs(a.sin(C+1))|0}();var y=D.MD5=O.extend({_doReset:function(){this._hash=new T.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(C,w){for(var M=0;M<16;M++){var q=w+M,z=C[q];C[q]=16711935&(z<<8|z>>>24)|4278255360&(z<<24|z>>>8)}var F=this._hash.words,U=C[w+0],k=C[w+1],Y=C[w+2],x=C[w+3],B=C[w+4],j=C[w+5],$=C[w+6],H=C[w+7],ie=C[w+8],ne=C[w+9],Q=C[w+10],le=C[w+11],pe=C[w+12],te=C[w+13],ae=C[w+14],K=C[w+15],de=F[0],Me=F[1],me=F[2],be=F[3];de=I(de,Me,me,be,U,7,E[0]),be=I(be,de,Me,me,k,12,E[1]),me=I(me,be,de,Me,Y,17,E[2]),Me=I(Me,me,be,de,x,22,E[3]),de=I(de,Me,me,be,B,7,E[4]),be=I(be,de,Me,me,j,12,E[5]),me=I(me,be,de,Me,$,17,E[6]),Me=I(Me,me,be,de,H,22,E[7]),de=I(de,Me,me,be,ie,7,E[8]),be=I(be,de,Me,me,ne,12,E[9]),me=I(me,be,de,Me,Q,17,E[10]),Me=I(Me,me,be,de,le,22,E[11]),de=I(de,Me,me,be,pe,7,E[12]),be=I(be,de,Me,me,te,12,E[13]),me=I(me,be,de,Me,ae,17,E[14]),de=b(de,Me=I(Me,me,be,de,K,22,E[15]),me,be,k,5,E[16]),be=b(be,de,Me,me,$,9,E[17]),me=b(me,be,de,Me,le,14,E[18]),Me=b(Me,me,be,de,U,20,E[19]),de=b(de,Me,me,be,j,5,E[20]),be=b(be,de,Me,me,Q,9,E[21]),me=b(me,be,de,Me,K,14,E[22]),Me=b(Me,me,be,de,B,20,E[23]),de=b(de,Me,me,be,ne,5,E[24]),be=b(be,de,Me,me,ae,9,E[25]),me=b(me,be,de,Me,x,14,E[26]),Me=b(Me,me,be,de,ie,20,E[27]),de=b(de,Me,me,be,te,5,E[28]),be=b(be,de,Me,me,Y,9,E[29]),me=b(me,be,de,Me,H,14,E[30]),de=L(de,Me=b(Me,me,be,de,pe,20,E[31]),me,be,j,4,E[32]),be=L(be,de,Me,me,ie,11,E[33]),me=L(me,be,de,Me,le,16,E[34]),Me=L(Me,me,be,de,ae,23,E[35]),de=L(de,Me,me,be,k,4,E[36]),be=L(be,de,Me,me,B,11,E[37]),me=L(me,be,de,Me,H,16,E[38]),Me=L(Me,me,be,de,Q,23,E[39]),de=L(de,Me,me,be,te,4,E[40]),be=L(be,de,Me,me,U,11,E[41]),me=L(me,be,de,Me,x,16,E[42]),Me=L(Me,me,be,de,$,23,E[43]),de=L(de,Me,me,be,ne,4,E[44]),be=L(be,de,Me,me,pe,11,E[45]),me=L(me,be,de,Me,K,16,E[46]),de=o(de,Me=L(Me,me,be,de,Y,23,E[47]),me,be,U,6,E[48]),be=o(be,de,Me,me,H,10,E[49]),me=o(me,be,de,Me,ae,15,E[50]),Me=o(Me,me,be,de,j,21,E[51]),de=o(de,Me,me,be,pe,6,E[52]),be=o(be,de,Me,me,x,10,E[53]),me=o(me,be,de,Me,Q,15,E[54]),Me=o(Me,me,be,de,k,21,E[55]),de=o(de,Me,me,be,ie,6,E[56]),be=o(be,de,Me,me,K,10,E[57]),me=o(me,be,de,Me,$,15,E[58]),Me=o(Me,me,be,de,te,21,E[59]),de=o(de,Me,me,be,B,6,E[60]),be=o(be,de,Me,me,le,10,E[61]),me=o(me,be,de,Me,Y,15,E[62]),Me=o(Me,me,be,de,ne,21,E[63]),F[0]=F[0]+de|0,F[1]=F[1]+Me|0,F[2]=F[2]+me|0,F[3]=F[3]+be|0},_doFinalize:function(){var C=this._data,w=C.words,M=8*this._nDataBytes,q=8*C.sigBytes;w[q>>>5]|=128<<24-q%32;var z=a.floor(M/4294967296),F=M;w[15+(q+64>>>9<<4)]=16711935&(z<<8|z>>>24)|4278255360&(z<<24|z>>>8),w[14+(q+64>>>9<<4)]=16711935&(F<<8|F>>>24)|4278255360&(F<<24|F>>>8),C.sigBytes=4*(w.length+1),this._process();for(var U=this._hash,k=U.words,Y=0;Y<4;Y++){var x=k[Y];k[Y]=16711935&(x<<8|x>>>24)|4278255360&(x<<24|x>>>8)}return U},clone:function(){var C=O.clone.call(this);return C._hash=this._hash.clone(),C}});function I(C,w,M,q,z,F,U){var k=C+(w&M|~w&q)+z+U;return(k<<F|k>>>32-F)+w}function b(C,w,M,q,z,F,U){var k=C+(w&q|M&~q)+z+U;return(k<<F|k>>>32-F)+w}function L(C,w,M,q,z,F,U){var k=C+(w^M^q)+z+U;return(k<<F|k>>>32-F)+w}function o(C,w,M,q,z,F,U){var k=C+(M^(w|~q))+z+U;return(k<<F|k>>>32-F)+w}g.MD5=O._createHelper(y),g.HmacMD5=O._createHmacHelper(y)}(Math),n.MD5)},34152:function(at,N,s){var n;at.exports=(n=s(17656),s(12414),n.mode.CFB=function(){var a=n.lib.BlockCipherMode.extend();function g(m,T,O,D){var E,y=this._iv;y?(E=y.slice(0),this._iv=void 0):E=this._prevBlock,D.encryptBlock(E,0);for(var I=0;I<O;I++)m[T+I]^=E[I]}return a.Encryptor=a.extend({processBlock:function(m,T){var O=this._cipher,D=O.blockSize;g.call(this,m,T,D,O),this._prevBlock=m.slice(T,T+D)}}),a.Decryptor=a.extend({processBlock:function(m,T){var O=this._cipher,D=O.blockSize,E=m.slice(T,T+D);g.call(this,m,T,D,O),this._prevBlock=E}}),a}(),n.mode.CFB)},71057:function(at,N,s){var n;at.exports=(n=s(17656),s(12414),n.mode.CTRGladman=function(){var a=n.lib.BlockCipherMode.extend();function g(O){if(255&~(O>>24))O+=1<<24;else{var D=O>>16&255,E=O>>8&255,y=255&O;255===D?(D=0,255===E?(E=0,255===y?y=0:++y):++E):++D,O=0,O+=D<<16,O+=E<<8,O+=y}return O}var T=a.Encryptor=a.extend({processBlock:function(O,D){var E=this._cipher,y=E.blockSize,I=this._iv,b=this._counter;I&&(b=this._counter=I.slice(0),this._iv=void 0),function m(O){return 0===(O[0]=g(O[0]))&&(O[1]=g(O[1])),O}(b);var L=b.slice(0);E.encryptBlock(L,0);for(var o=0;o<y;o++)O[D+o]^=L[o]}});return a.Decryptor=T,a}(),n.mode.CTRGladman)},69098:function(at,N,s){var a,g,n;at.exports=(n=s(17656),s(12414),n.mode.CTR=(g=(a=n.lib.BlockCipherMode.extend()).Encryptor=a.extend({processBlock:function(m,T){var O=this._cipher,D=O.blockSize,E=this._iv,y=this._counter;E&&(y=this._counter=E.slice(0),this._iv=void 0);var I=y.slice(0);O.encryptBlock(I,0),y[D-1]=y[D-1]+1|0;for(var b=0;b<D;b++)m[T+b]^=I[b]}}),a.Decryptor=g,a),n.mode.CTR)},36115:function(at,N,s){var a,n;at.exports=(n=s(17656),s(12414),n.mode.ECB=((a=n.lib.BlockCipherMode.extend()).Encryptor=a.extend({processBlock:function(g,m){this._cipher.encryptBlock(g,m)}}),a.Decryptor=a.extend({processBlock:function(g,m){this._cipher.decryptBlock(g,m)}}),a),n.mode.ECB)},86700:function(at,N,s){var a,g,n;at.exports=(n=s(17656),s(12414),n.mode.OFB=(g=(a=n.lib.BlockCipherMode.extend()).Encryptor=a.extend({processBlock:function(m,T){var O=this._cipher,D=O.blockSize,E=this._iv,y=this._keystream;E&&(y=this._keystream=E.slice(0),this._iv=void 0),O.encryptBlock(y,0);for(var I=0;I<D;I++)m[T+I]^=y[I]}}),a.Decryptor=g,a),n.mode.OFB)},90332:function(at,N,s){var n;at.exports=(n=s(17656),s(12414),n.pad.AnsiX923={pad:function(a,g){var m=a.sigBytes,T=4*g,O=T-m%T,D=m+O-1;a.clamp(),a.words[D>>>2]|=O<<24-D%4*8,a.sigBytes+=O},unpad:function(a){a.sigBytes-=255&a.words[a.sigBytes-1>>>2]}},n.pad.Ansix923)},27516:function(at,N,s){var n;at.exports=(n=s(17656),s(12414),n.pad.Iso10126={pad:function(a,g){var m=4*g,T=m-a.sigBytes%m;a.concat(n.lib.WordArray.random(T-1)).concat(n.lib.WordArray.create([T<<24],1))},unpad:function(a){a.sigBytes-=255&a.words[a.sigBytes-1>>>2]}},n.pad.Iso10126)},29047:function(at,N,s){var n;at.exports=(n=s(17656),s(12414),n.pad.Iso97971={pad:function(a,g){a.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(a,g)},unpad:function(a){n.pad.ZeroPadding.unpad(a),a.sigBytes--}},n.pad.Iso97971)},52599:function(at,N,s){var n;at.exports=(n=s(17656),s(12414),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},36964:function(at,N,s){var n;at.exports=(n=s(17656),s(12414),n.pad.ZeroPadding={pad:function(a,g){var m=4*g;a.clamp(),a.sigBytes+=m-(a.sigBytes%m||m)},unpad:function(a){var g=a.words,m=a.sigBytes-1;for(m=a.sigBytes-1;m>=0;m--)if(g[m>>>2]>>>24-m%4*8&255){a.sigBytes=m+1;break}}},n.pad.ZeroPadding)},87738:function(at,N,s){var a,g,m,T,O,E,y,n;at.exports=(n=s(17656),s(15168),s(37868),T=(g=(a=n).lib).WordArray,E=(O=a.algo).HMAC,y=O.PBKDF2=(m=g.Base).extend({cfg:m.extend({keySize:4,hasher:O.SHA256,iterations:25e4}),init:function(I){this.cfg=this.cfg.extend(I)},compute:function(I,b){for(var L=this.cfg,o=E.create(L.hasher,I),C=T.create(),w=T.create([1]),M=C.words,q=w.words,z=L.keySize,F=L.iterations;M.length<z;){var U=o.update(b).finalize(w);o.reset();for(var k=U.words,Y=k.length,x=U,B=1;B<F;B++){x=o.finalize(x),o.reset();for(var j=x.words,$=0;$<Y;$++)k[$]^=j[$]}C.concat(U),q[0]++}return C.sigBytes=4*z,C}}),a.PBKDF2=function(I,b,L){return y.create(L).compute(I,b)},n.PBKDF2)},82923:function(at,N,s){var n;at.exports=(n=s(17656),s(98891),s(78855),s(4147),s(12414),function(){var a=n,m=a.lib.StreamCipher,O=[],D=[],E=[],y=a.algo.RabbitLegacy=m.extend({_doReset:function(){var b=this._key.words,L=this.cfg.iv,o=this._X=[b[0],b[3]<<16|b[2]>>>16,b[1],b[0]<<16|b[3]>>>16,b[2],b[1]<<16|b[0]>>>16,b[3],b[2]<<16|b[1]>>>16],C=this._C=[b[2]<<16|b[2]>>>16,4294901760&b[0]|65535&b[1],b[3]<<16|b[3]>>>16,4294901760&b[1]|65535&b[2],b[0]<<16|b[0]>>>16,4294901760&b[2]|65535&b[3],b[1]<<16|b[1]>>>16,4294901760&b[3]|65535&b[0]];this._b=0;for(var w=0;w<4;w++)I.call(this);for(w=0;w<8;w++)C[w]^=o[w+4&7];if(L){var M=L.words,q=M[0],z=M[1],F=16711935&(q<<8|q>>>24)|4278255360&(q<<24|q>>>8),U=16711935&(z<<8|z>>>24)|4278255360&(z<<24|z>>>8),k=F>>>16|4294901760&U,Y=U<<16|65535&F;for(C[0]^=F,C[1]^=k,C[2]^=U,C[3]^=Y,C[4]^=F,C[5]^=k,C[6]^=U,C[7]^=Y,w=0;w<4;w++)I.call(this)}},_doProcessBlock:function(b,L){var o=this._X;I.call(this),O[0]=o[0]^o[5]>>>16^o[3]<<16,O[1]=o[2]^o[7]>>>16^o[5]<<16,O[2]=o[4]^o[1]>>>16^o[7]<<16,O[3]=o[6]^o[3]>>>16^o[1]<<16;for(var C=0;C<4;C++)O[C]=16711935&(O[C]<<8|O[C]>>>24)|4278255360&(O[C]<<24|O[C]>>>8),b[L+C]^=O[C]},blockSize:4,ivSize:2});function I(){for(var b=this._X,L=this._C,o=0;o<8;o++)D[o]=L[o];for(L[0]=L[0]+1295307597+this._b|0,L[1]=L[1]+3545052371+(L[0]>>>0<D[0]>>>0?1:0)|0,L[2]=L[2]+886263092+(L[1]>>>0<D[1]>>>0?1:0)|0,L[3]=L[3]+1295307597+(L[2]>>>0<D[2]>>>0?1:0)|0,L[4]=L[4]+3545052371+(L[3]>>>0<D[3]>>>0?1:0)|0,L[5]=L[5]+886263092+(L[4]>>>0<D[4]>>>0?1:0)|0,L[6]=L[6]+1295307597+(L[5]>>>0<D[5]>>>0?1:0)|0,L[7]=L[7]+3545052371+(L[6]>>>0<D[6]>>>0?1:0)|0,this._b=L[7]>>>0<D[7]>>>0?1:0,o=0;o<8;o++){var C=b[o]+L[o],w=65535&C,M=C>>>16;E[o]=((w*w>>>17)+w*M>>>15)+M*M^((4294901760&C)*C|0)+((65535&C)*C|0)}b[0]=E[0]+(E[7]<<16|E[7]>>>16)+(E[6]<<16|E[6]>>>16)|0,b[1]=E[1]+(E[0]<<8|E[0]>>>24)+E[7]|0,b[2]=E[2]+(E[1]<<16|E[1]>>>16)+(E[0]<<16|E[0]>>>16)|0,b[3]=E[3]+(E[2]<<8|E[2]>>>24)+E[1]|0,b[4]=E[4]+(E[3]<<16|E[3]>>>16)+(E[2]<<16|E[2]>>>16)|0,b[5]=E[5]+(E[4]<<8|E[4]>>>24)+E[3]|0,b[6]=E[6]+(E[5]<<16|E[5]>>>16)+(E[4]<<16|E[4]>>>16)|0,b[7]=E[7]+(E[6]<<8|E[6]>>>24)+E[5]|0}a.RabbitLegacy=m._createHelper(y)}(),n.RabbitLegacy)},72795:function(at,N,s){var n;at.exports=(n=s(17656),s(98891),s(78855),s(4147),s(12414),function(){var a=n,m=a.lib.StreamCipher,O=[],D=[],E=[],y=a.algo.Rabbit=m.extend({_doReset:function(){for(var b=this._key.words,L=this.cfg.iv,o=0;o<4;o++)b[o]=16711935&(b[o]<<8|b[o]>>>24)|4278255360&(b[o]<<24|b[o]>>>8);var C=this._X=[b[0],b[3]<<16|b[2]>>>16,b[1],b[0]<<16|b[3]>>>16,b[2],b[1]<<16|b[0]>>>16,b[3],b[2]<<16|b[1]>>>16],w=this._C=[b[2]<<16|b[2]>>>16,4294901760&b[0]|65535&b[1],b[3]<<16|b[3]>>>16,4294901760&b[1]|65535&b[2],b[0]<<16|b[0]>>>16,4294901760&b[2]|65535&b[3],b[1]<<16|b[1]>>>16,4294901760&b[3]|65535&b[0]];for(this._b=0,o=0;o<4;o++)I.call(this);for(o=0;o<8;o++)w[o]^=C[o+4&7];if(L){var M=L.words,q=M[0],z=M[1],F=16711935&(q<<8|q>>>24)|4278255360&(q<<24|q>>>8),U=16711935&(z<<8|z>>>24)|4278255360&(z<<24|z>>>8),k=F>>>16|4294901760&U,Y=U<<16|65535&F;for(w[0]^=F,w[1]^=k,w[2]^=U,w[3]^=Y,w[4]^=F,w[5]^=k,w[6]^=U,w[7]^=Y,o=0;o<4;o++)I.call(this)}},_doProcessBlock:function(b,L){var o=this._X;I.call(this),O[0]=o[0]^o[5]>>>16^o[3]<<16,O[1]=o[2]^o[7]>>>16^o[5]<<16,O[2]=o[4]^o[1]>>>16^o[7]<<16,O[3]=o[6]^o[3]>>>16^o[1]<<16;for(var C=0;C<4;C++)O[C]=16711935&(O[C]<<8|O[C]>>>24)|4278255360&(O[C]<<24|O[C]>>>8),b[L+C]^=O[C]},blockSize:4,ivSize:2});function I(){for(var b=this._X,L=this._C,o=0;o<8;o++)D[o]=L[o];for(L[0]=L[0]+1295307597+this._b|0,L[1]=L[1]+3545052371+(L[0]>>>0<D[0]>>>0?1:0)|0,L[2]=L[2]+886263092+(L[1]>>>0<D[1]>>>0?1:0)|0,L[3]=L[3]+1295307597+(L[2]>>>0<D[2]>>>0?1:0)|0,L[4]=L[4]+3545052371+(L[3]>>>0<D[3]>>>0?1:0)|0,L[5]=L[5]+886263092+(L[4]>>>0<D[4]>>>0?1:0)|0,L[6]=L[6]+1295307597+(L[5]>>>0<D[5]>>>0?1:0)|0,L[7]=L[7]+3545052371+(L[6]>>>0<D[6]>>>0?1:0)|0,this._b=L[7]>>>0<D[7]>>>0?1:0,o=0;o<8;o++){var C=b[o]+L[o],w=65535&C,M=C>>>16;E[o]=((w*w>>>17)+w*M>>>15)+M*M^((4294901760&C)*C|0)+((65535&C)*C|0)}b[0]=E[0]+(E[7]<<16|E[7]>>>16)+(E[6]<<16|E[6]>>>16)|0,b[1]=E[1]+(E[0]<<8|E[0]>>>24)+E[7]|0,b[2]=E[2]+(E[1]<<16|E[1]>>>16)+(E[0]<<16|E[0]>>>16)|0,b[3]=E[3]+(E[2]<<8|E[2]>>>24)+E[1]|0,b[4]=E[4]+(E[3]<<16|E[3]>>>16)+(E[2]<<16|E[2]>>>16)|0,b[5]=E[5]+(E[4]<<8|E[4]>>>24)+E[3]|0,b[6]=E[6]+(E[5]<<16|E[5]>>>16)+(E[4]<<16|E[4]>>>16)|0,b[7]=E[7]+(E[6]<<8|E[6]>>>24)+E[5]|0}a.Rabbit=m._createHelper(y)}(),n.Rabbit)},85350:function(at,N,s){var n;at.exports=(n=s(17656),s(98891),s(78855),s(4147),s(12414),function(){var a=n,m=a.lib.StreamCipher,T=a.algo,O=T.RC4=m.extend({_doReset:function(){for(var y=this._key,I=y.words,b=y.sigBytes,L=this._S=[],o=0;o<256;o++)L[o]=o;o=0;for(var C=0;o<256;o++){var w=o%b,q=L[o];L[o]=L[C=(C+L[o]+(I[w>>>2]>>>24-w%4*8&255))%256],L[C]=q}this._i=this._j=0},_doProcessBlock:function(y,I){y[I]^=D.call(this)},keySize:8,ivSize:0});function D(){for(var y=this._S,I=this._i,b=this._j,L=0,o=0;o<4;o++){var C=y[I=(I+1)%256];y[I]=y[b=(b+y[I])%256],y[b]=C,L|=y[(y[I]+y[b])%256]<<24-8*o}return this._i=I,this._j=b,L}a.RC4=m._createHelper(O);var E=T.RC4Drop=O.extend({cfg:O.cfg.extend({drop:192}),_doReset:function(){O._doReset.call(this);for(var y=this.cfg.drop;y>0;y--)D.call(this)}});a.RC4Drop=m._createHelper(E)}(),n.RC4)},10447:function(at,N,s){var n;at.exports=(n=s(17656),function(){var g=n,m=g.lib,T=m.WordArray,O=m.Hasher,D=g.algo,E=T.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),y=T.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),I=T.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),b=T.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),L=T.create([0,1518500249,1859775393,2400959708,2840853838]),o=T.create([1352829926,1548603684,1836072691,2053994217,0]),C=D.RIPEMD160=O.extend({_doReset:function(){this._hash=T.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(k,Y){for(var x=0;x<16;x++){var B=Y+x,j=k[B];k[B]=16711935&(j<<8|j>>>24)|4278255360&(j<<24|j>>>8)}var te,ae,K,de,Me,me,be,Le,Ae,Oe,Xe,$=this._hash.words,H=L.words,ie=o.words,ne=E.words,Q=y.words,le=I.words,pe=b.words;for(me=te=$[0],be=ae=$[1],Le=K=$[2],Ae=de=$[3],Oe=Me=$[4],x=0;x<80;x+=1)Xe=te+k[Y+ne[x]]|0,Xe+=x<16?w(ae,K,de)+H[0]:x<32?M(ae,K,de)+H[1]:x<48?q(ae,K,de)+H[2]:x<64?z(ae,K,de)+H[3]:F(ae,K,de)+H[4],Xe=(Xe=U(Xe|=0,le[x]))+Me|0,te=Me,Me=de,de=U(K,10),K=ae,ae=Xe,Xe=me+k[Y+Q[x]]|0,Xe+=x<16?F(be,Le,Ae)+ie[0]:x<32?z(be,Le,Ae)+ie[1]:x<48?q(be,Le,Ae)+ie[2]:x<64?M(be,Le,Ae)+ie[3]:w(be,Le,Ae)+ie[4],Xe=(Xe=U(Xe|=0,pe[x]))+Oe|0,me=Oe,Oe=Ae,Ae=U(Le,10),Le=be,be=Xe;Xe=$[1]+K+Ae|0,$[1]=$[2]+de+Oe|0,$[2]=$[3]+Me+me|0,$[3]=$[4]+te+be|0,$[4]=$[0]+ae+Le|0,$[0]=Xe},_doFinalize:function(){var k=this._data,Y=k.words,x=8*this._nDataBytes,B=8*k.sigBytes;Y[B>>>5]|=128<<24-B%32,Y[14+(B+64>>>9<<4)]=16711935&(x<<8|x>>>24)|4278255360&(x<<24|x>>>8),k.sigBytes=4*(Y.length+1),this._process();for(var j=this._hash,$=j.words,H=0;H<5;H++){var ie=$[H];$[H]=16711935&(ie<<8|ie>>>24)|4278255360&(ie<<24|ie>>>8)}return j},clone:function(){var k=O.clone.call(this);return k._hash=this._hash.clone(),k}});function w(k,Y,x){return k^Y^x}function M(k,Y,x){return k&Y|~k&x}function q(k,Y,x){return(k|~Y)^x}function z(k,Y,x){return k&x|Y&~x}function F(k,Y,x){return k^(Y|~x)}function U(k,Y){return k<<Y|k>>>32-Y}g.RIPEMD160=O._createHelper(C),g.HmacRIPEMD160=O._createHmacHelper(C)}(Math),n.RIPEMD160)},79986:function(at,N,s){var a,g,m,T,D,E,n;at.exports=(n=s(17656),m=(g=(a=n).lib).WordArray,D=[],E=a.algo.SHA1=(T=g.Hasher).extend({_doReset:function(){this._hash=new m.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(y,I){for(var b=this._hash.words,L=b[0],o=b[1],C=b[2],w=b[3],M=b[4],q=0;q<80;q++){if(q<16)D[q]=0|y[I+q];else{var z=D[q-3]^D[q-8]^D[q-14]^D[q-16];D[q]=z<<1|z>>>31}var F=(L<<5|L>>>27)+M+D[q];F+=q<20?1518500249+(o&C|~o&w):q<40?1859775393+(o^C^w):q<60?(o&C|o&w|C&w)-1894007588:(o^C^w)-899497514,M=w,w=C,C=o<<30|o>>>2,o=L,L=F}b[0]=b[0]+L|0,b[1]=b[1]+o|0,b[2]=b[2]+C|0,b[3]=b[3]+w|0,b[4]=b[4]+M|0},_doFinalize:function(){var y=this._data,I=y.words,b=8*this._nDataBytes,L=8*y.sigBytes;return I[L>>>5]|=128<<24-L%32,I[14+(L+64>>>9<<4)]=Math.floor(b/4294967296),I[15+(L+64>>>9<<4)]=b,y.sigBytes=4*I.length,this._process(),this._hash},clone:function(){var y=T.clone.call(this);return y._hash=this._hash.clone(),y}}),a.SHA1=T._createHelper(E),a.HmacSHA1=T._createHmacHelper(E),n.SHA1)},39225:function(at,N,s){var a,m,T,O,D,n;at.exports=(n=s(17656),s(15168),m=(a=n).lib.WordArray,D=(T=a.algo).SHA224=(O=T.SHA256).extend({_doReset:function(){this._hash=new m.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var E=O._doFinalize.call(this);return E.sigBytes-=4,E}}),a.SHA224=O._createHelper(D),a.HmacSHA224=O._createHmacHelper(D),n.SHA224)},15168:function(at,N,s){var n;at.exports=(n=s(17656),function(a){var g=n,m=g.lib,T=m.WordArray,O=m.Hasher,D=g.algo,E=[],y=[];!function(){function L(M){for(var q=a.sqrt(M),z=2;z<=q;z++)if(!(M%z))return!1;return!0}function o(M){return 4294967296*(M-(0|M))|0}for(var C=2,w=0;w<64;)L(C)&&(w<8&&(E[w]=o(a.pow(C,.5))),y[w]=o(a.pow(C,1/3)),w++),C++}();var I=[],b=D.SHA256=O.extend({_doReset:function(){this._hash=new T.init(E.slice(0))},_doProcessBlock:function(L,o){for(var C=this._hash.words,w=C[0],M=C[1],q=C[2],z=C[3],F=C[4],U=C[5],k=C[6],Y=C[7],x=0;x<64;x++){if(x<16)I[x]=0|L[o+x];else{var B=I[x-15],$=I[x-2];I[x]=((B<<25|B>>>7)^(B<<14|B>>>18)^B>>>3)+I[x-7]+(($<<15|$>>>17)^($<<13|$>>>19)^$>>>10)+I[x-16]}var ne=w&M^w&q^M&q,pe=Y+((F<<26|F>>>6)^(F<<21|F>>>11)^(F<<7|F>>>25))+(F&U^~F&k)+y[x]+I[x];Y=k,k=U,U=F,F=z+pe|0,z=q,q=M,M=w,w=pe+(((w<<30|w>>>2)^(w<<19|w>>>13)^(w<<10|w>>>22))+ne)|0}C[0]=C[0]+w|0,C[1]=C[1]+M|0,C[2]=C[2]+q|0,C[3]=C[3]+z|0,C[4]=C[4]+F|0,C[5]=C[5]+U|0,C[6]=C[6]+k|0,C[7]=C[7]+Y|0},_doFinalize:function(){var L=this._data,o=L.words,C=8*this._nDataBytes,w=8*L.sigBytes;return o[w>>>5]|=128<<24-w%32,o[14+(w+64>>>9<<4)]=a.floor(C/4294967296),o[15+(w+64>>>9<<4)]=C,L.sigBytes=4*o.length,this._process(),this._hash},clone:function(){var L=O.clone.call(this);return L._hash=this._hash.clone(),L}});g.SHA256=O._createHelper(b),g.HmacSHA256=O._createHmacHelper(b)}(Math),n.SHA256)},3752:function(at,N,s){var n;at.exports=(n=s(17656),s(24501),function(a){var g=n,m=g.lib,T=m.WordArray,O=m.Hasher,E=g.x64.Word,y=g.algo,I=[],b=[],L=[];!function(){for(var w=1,M=0,q=0;q<24;q++){I[w+5*M]=(q+1)*(q+2)/2%64;var F=(2*w+3*M)%5;w=M%5,M=F}for(w=0;w<5;w++)for(M=0;M<5;M++)b[w+5*M]=M+(2*w+3*M)%5*5;for(var U=1,k=0;k<24;k++){for(var Y=0,x=0,B=0;B<7;B++){if(1&U){var j=(1<<B)-1;j<32?x^=1<<j:Y^=1<<j-32}128&U?U=U<<1^113:U<<=1}L[k]=E.create(Y,x)}}();var o=[];!function(){for(var w=0;w<25;w++)o[w]=E.create()}();var C=y.SHA3=O.extend({cfg:O.cfg.extend({outputLength:512}),_doReset:function(){for(var w=this._state=[],M=0;M<25;M++)w[M]=new E.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(w,M){for(var q=this._state,z=this.blockSize/2,F=0;F<z;F++){var U=w[M+2*F],k=w[M+2*F+1];U=16711935&(U<<8|U>>>24)|4278255360&(U<<24|U>>>8),(Y=q[F]).high^=k=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8),Y.low^=U}for(var x=0;x<24;x++){for(var B=0;B<5;B++){for(var j=0,$=0,H=0;H<5;H++)j^=(Y=q[B+5*H]).high,$^=Y.low;var ie=o[B];ie.high=j,ie.low=$}for(B=0;B<5;B++){var ne=o[(B+4)%5],Q=o[(B+1)%5],le=Q.high,pe=Q.low;for(j=ne.high^(le<<1|pe>>>31),$=ne.low^(pe<<1|le>>>31),H=0;H<5;H++)(Y=q[B+5*H]).high^=j,Y.low^=$}for(var te=1;te<25;te++){var ae=(Y=q[te]).high,K=Y.low,de=I[te];de<32?(j=ae<<de|K>>>32-de,$=K<<de|ae>>>32-de):(j=K<<de-32|ae>>>64-de,$=ae<<de-32|K>>>64-de);var Me=o[b[te]];Me.high=j,Me.low=$}var me=o[0],be=q[0];for(me.high=be.high,me.low=be.low,B=0;B<5;B++)for(H=0;H<5;H++){var Le=o[te=B+5*H],Ae=o[(B+1)%5+5*H],Oe=o[(B+2)%5+5*H];(Y=q[te]).high=Le.high^~Ae.high&Oe.high,Y.low=Le.low^~Ae.low&Oe.low}var Y,Xe=L[x];(Y=q[0]).high^=Xe.high,Y.low^=Xe.low}},_doFinalize:function(){var w=this._data,M=w.words,z=8*w.sigBytes,F=32*this.blockSize;M[z>>>5]|=1<<24-z%32,M[(a.ceil((z+1)/F)*F>>>5)-1]|=128,w.sigBytes=4*M.length,this._process();for(var U=this._state,k=this.cfg.outputLength/8,Y=k/8,x=[],B=0;B<Y;B++){var j=U[B],$=j.high,H=j.low;$=16711935&($<<8|$>>>24)|4278255360&($<<24|$>>>8),x.push(H=16711935&(H<<8|H>>>24)|4278255360&(H<<24|H>>>8)),x.push($)}return new T.init(x,k)},clone:function(){for(var w=O.clone.call(this),M=w._state=this._state.slice(0),q=0;q<25;q++)M[q]=M[q].clone();return w}});g.SHA3=O._createHelper(C),g.HmacSHA3=O._createHmacHelper(C)}(Math),n.SHA3)},84068:function(at,N,s){var a,g,m,T,O,D,E,n;at.exports=(n=s(17656),s(24501),s(20885),m=(g=(a=n).x64).Word,T=g.WordArray,E=(O=a.algo).SHA384=(D=O.SHA512).extend({_doReset:function(){this._hash=new T.init([new m.init(3418070365,3238371032),new m.init(1654270250,914150663),new m.init(2438529370,812702999),new m.init(355462360,4144912697),new m.init(1731405415,4290775857),new m.init(2394180231,1750603025),new m.init(3675008525,1694076839),new m.init(1203062813,3204075428)])},_doFinalize:function(){var y=D._doFinalize.call(this);return y.sigBytes-=16,y}}),a.SHA384=D._createHelper(E),a.HmacSHA384=D._createHmacHelper(E),n.SHA384)},20885:function(at,N,s){var n;at.exports=(n=s(17656),s(24501),function(){var a=n,m=a.lib.Hasher,T=a.x64,O=T.Word,D=T.WordArray,E=a.algo;function y(){return O.create.apply(O,arguments)}var I=[y(1116352408,3609767458),y(1899447441,602891725),y(3049323471,3964484399),y(3921009573,2173295548),y(961987163,4081628472),y(1508970993,3053834265),y(2453635748,2937671579),y(2870763221,3664609560),y(3624381080,2734883394),y(310598401,1164996542),y(607225278,1323610764),y(1426881987,3590304994),y(1925078388,4068182383),y(2162078206,991336113),y(2614888103,633803317),y(3248222580,3479774868),y(3835390401,2666613458),y(4022224774,944711139),y(264347078,2341262773),y(604807628,2007800933),y(770255983,1495990901),y(1249150122,1856431235),y(1555081692,3175218132),y(1996064986,2198950837),y(2554220882,3999719339),y(2821834349,766784016),y(2952996808,2566594879),y(3210313671,3203337956),y(3336571891,1034457026),y(3584528711,2466948901),y(113926993,3758326383),y(338241895,168717936),y(666307205,1188179964),y(773529912,1546045734),y(1294757372,1522805485),y(1396182291,2643833823),y(1695183700,2343527390),y(1986661051,1014477480),y(2177026350,1206759142),y(2456956037,344077627),y(2730485921,1290863460),y(2820302411,3158454273),y(3259730800,3505952657),y(3345764771,106217008),y(3516065817,3606008344),y(3600352804,1432725776),y(4094571909,1467031594),y(275423344,851169720),y(430227734,3100823752),y(506948616,1363258195),y(659060556,3750685593),y(883997877,3785050280),y(958139571,3318307427),y(1322822218,3812723403),y(1537002063,2003034995),y(1747873779,3602036899),y(1955562222,1575990012),y(2024104815,1125592928),y(2227730452,2716904306),y(2361852424,442776044),y(2428436474,593698344),y(2756734187,3733110249),y(3204031479,2999351573),y(3329325298,3815920427),y(3391569614,3928383900),y(3515267271,566280711),y(3940187606,3454069534),y(4118630271,4000239992),y(116418474,1914138554),y(174292421,2731055270),y(289380356,3203993006),y(460393269,320620315),y(685471733,587496836),y(852142971,1086792851),y(1017036298,365543100),y(1126000580,2618297676),y(1288033470,3409855158),y(1501505948,4234509866),y(1607167915,987167468),y(1816402316,1246189591)],b=[];!function(){for(var o=0;o<80;o++)b[o]=y()}();var L=E.SHA512=m.extend({_doReset:function(){this._hash=new D.init([new O.init(1779033703,4089235720),new O.init(3144134277,2227873595),new O.init(1013904242,4271175723),new O.init(2773480762,1595750129),new O.init(1359893119,2917565137),new O.init(2600822924,725511199),new O.init(528734635,4215389547),new O.init(1541459225,327033209)])},_doProcessBlock:function(o,C){for(var w=this._hash.words,M=w[0],q=w[1],z=w[2],F=w[3],U=w[4],k=w[5],Y=w[6],x=w[7],B=M.high,j=M.low,$=q.high,H=q.low,ie=z.high,ne=z.low,Q=F.high,le=F.low,pe=U.high,te=U.low,ae=k.high,K=k.low,de=Y.high,Me=Y.low,me=x.high,be=x.low,Le=B,Ae=j,Oe=$,Xe=H,Pe=ie,$e=ne,ze=Q,Be=le,Ye=pe,Ct=te,Lt=ae,Vt=K,ht=de,gt=Me,Ge=me,Se=be,ke=0;ke<80;ke++){var Ne,Je,Qe=b[ke];if(ke<16)Je=Qe.high=0|o[C+2*ke],Ne=Qe.low=0|o[C+2*ke+1];else{var rt=b[ke-15],ft=rt.high,Xt=rt.low,In=(Xt>>>1|ft<<31)^(Xt>>>8|ft<<24)^(Xt>>>7|ft<<25),Kt=b[ke-2],Ze=Kt.high,wn=Kt.low,di=(wn>>>19|Ze<<13)^(wn<<3|Ze>>>29)^(wn>>>6|Ze<<26),jn=b[ke-7],ms=b[ke-16],Qt=ms.low;Qe.high=Je=(Je=(Je=((ft>>>1|Xt<<31)^(ft>>>8|Xt<<24)^ft>>>7)+jn.high+((Ne=In+jn.low)>>>0<In>>>0?1:0))+((Ze>>>19|wn<<13)^(Ze<<3|wn>>>29)^Ze>>>6)+((Ne+=di)>>>0<di>>>0?1:0))+ms.high+((Ne+=Qt)>>>0<Qt>>>0?1:0),Qe.low=Ne}var Dn,Wt=Ye&Lt^~Ye&ht,Yt=Ct&Vt^~Ct&gt,Mn=Le&Oe^Le&Pe^Oe&Pe,Un=(Ae>>>28|Le<<4)^(Ae<<30|Le>>>2)^(Ae<<25|Le>>>7),Ii=I[ke],ln=Ii.low,Ai=Ge+((Ye>>>14|Ct<<18)^(Ye>>>18|Ct<<14)^(Ye<<23|Ct>>>9))+((Dn=Se+((Ct>>>14|Ye<<18)^(Ct>>>18|Ye<<14)^(Ct<<23|Ye>>>9)))>>>0<Se>>>0?1:0),os=Un+(Ae&Xe^Ae&$e^Xe&$e);Ge=ht,Se=gt,ht=Lt,gt=Vt,Lt=Ye,Vt=Ct,Ye=ze+(Ai=(Ai=(Ai=Ai+Wt+((Dn+=Yt)>>>0<Yt>>>0?1:0))+Ii.high+((Dn+=ln)>>>0<ln>>>0?1:0))+Je+((Dn+=Ne)>>>0<Ne>>>0?1:0))+((Ct=Be+Dn|0)>>>0<Be>>>0?1:0)|0,ze=Pe,Be=$e,Pe=Oe,$e=Xe,Oe=Le,Xe=Ae,Le=Ai+(((Le>>>28|Ae<<4)^(Le<<30|Ae>>>2)^(Le<<25|Ae>>>7))+Mn+(os>>>0<Un>>>0?1:0))+((Ae=Dn+os|0)>>>0<Dn>>>0?1:0)|0}j=M.low=j+Ae,M.high=B+Le+(j>>>0<Ae>>>0?1:0),H=q.low=H+Xe,q.high=$+Oe+(H>>>0<Xe>>>0?1:0),ne=z.low=ne+$e,z.high=ie+Pe+(ne>>>0<$e>>>0?1:0),le=F.low=le+Be,F.high=Q+ze+(le>>>0<Be>>>0?1:0),te=U.low=te+Ct,U.high=pe+Ye+(te>>>0<Ct>>>0?1:0),K=k.low=K+Vt,k.high=ae+Lt+(K>>>0<Vt>>>0?1:0),Me=Y.low=Me+gt,Y.high=de+ht+(Me>>>0<gt>>>0?1:0),be=x.low=be+Se,x.high=me+Ge+(be>>>0<Se>>>0?1:0)},_doFinalize:function(){var o=this._data,C=o.words,w=8*this._nDataBytes,M=8*o.sigBytes;return C[M>>>5]|=128<<24-M%32,C[30+(M+128>>>10<<5)]=Math.floor(w/4294967296),C[31+(M+128>>>10<<5)]=w,o.sigBytes=4*C.length,this._process(),this._hash.toX32()},clone:function(){var o=m.clone.call(this);return o._hash=this._hash.clone(),o},blockSize:32});a.SHA512=m._createHelper(L),a.HmacSHA512=m._createHmacHelper(L)}(),n.SHA512)},72515:function(at,N,s){var n;at.exports=(n=s(17656),s(98891),s(78855),s(4147),s(12414),function(){var a=n,g=a.lib,m=g.WordArray,T=g.BlockCipher,O=a.algo,D=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],E=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],y=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],I=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],b=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],L=O.DES=T.extend({_doReset:function(){for(var q=this._key.words,z=[],F=0;F<56;F++){var U=D[F]-1;z[F]=q[U>>>5]>>>31-U%32&1}for(var k=this._subKeys=[],Y=0;Y<16;Y++){var x=k[Y]=[],B=y[Y];for(F=0;F<24;F++)x[F/6|0]|=z[(E[F]-1+B)%28]<<31-F%6,x[4+(F/6|0)]|=z[28+(E[F+24]-1+B)%28]<<31-F%6;for(x[0]=x[0]<<1|x[0]>>>31,F=1;F<7;F++)x[F]=x[F]>>>4*(F-1)+3;x[7]=x[7]<<5|x[7]>>>27}var j=this._invSubKeys=[];for(F=0;F<16;F++)j[F]=k[15-F]},encryptBlock:function(M,q){this._doCryptBlock(M,q,this._subKeys)},decryptBlock:function(M,q){this._doCryptBlock(M,q,this._invSubKeys)},_doCryptBlock:function(M,q,z){this._lBlock=M[q],this._rBlock=M[q+1],o.call(this,4,252645135),o.call(this,16,65535),C.call(this,2,858993459),C.call(this,8,16711935),o.call(this,1,1431655765);for(var F=0;F<16;F++){for(var U=z[F],k=this._lBlock,Y=this._rBlock,x=0,B=0;B<8;B++)x|=I[B][((Y^U[B])&b[B])>>>0];this._lBlock=Y,this._rBlock=k^x}var j=this._lBlock;this._lBlock=this._rBlock,this._rBlock=j,o.call(this,1,1431655765),C.call(this,8,16711935),C.call(this,2,858993459),o.call(this,16,65535),o.call(this,4,252645135),M[q]=this._lBlock,M[q+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function o(M,q){var z=(this._lBlock>>>M^this._rBlock)&q;this._rBlock^=z,this._lBlock^=z<<M}function C(M,q){var z=(this._rBlock>>>M^this._lBlock)&q;this._lBlock^=z,this._rBlock^=z<<M}a.DES=T._createHelper(L);var w=O.TripleDES=T.extend({_doReset:function(){var q=this._key.words;if(2!==q.length&&4!==q.length&&q.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var z=q.slice(0,2),F=q.length<4?q.slice(0,2):q.slice(2,4),U=q.length<6?q.slice(0,2):q.slice(4,6);this._des1=L.createEncryptor(m.create(z)),this._des2=L.createEncryptor(m.create(F)),this._des3=L.createEncryptor(m.create(U))},encryptBlock:function(M,q){this._des1.encryptBlock(M,q),this._des2.decryptBlock(M,q),this._des3.encryptBlock(M,q)},decryptBlock:function(M,q){this._des3.decryptBlock(M,q),this._des2.encryptBlock(M,q),this._des1.decryptBlock(M,q)},keySize:6,ivSize:2,blockSize:2});a.TripleDES=T._createHelper(w)}(),n.TripleDES)},24501:function(at,N,s){var m,T,O,D,n;at.exports=(n=s(17656),T=(m=n.lib).Base,O=m.WordArray,(D=n.x64={}).Word=T.extend({init:function(I,b){this.high=I,this.low=b}}),D.WordArray=T.extend({init:function(I,b){I=this.words=I||[],this.sigBytes=null!=b?b:8*I.length},toX32:function(){for(var I=this.words,b=I.length,L=[],o=0;o<b;o++){var C=I[o];L.push(C.high),L.push(C.low)}return O.create(L,this.sigBytes)},clone:function(){for(var I=T.clone.call(this),b=I.words=this.words.slice(0),L=b.length,o=0;o<L;o++)b[o]=b[o].clone();return I}}),n)},16906:at=>{var N=global.CustomEvent;at.exports=function s(){try{var n=new N("cat",{detail:{foo:"bar"}});return"cat"===n.type&&"bar"===n.detail.foo}catch{}return!1}()?N:typeof document<"u"&&"function"==typeof document.createEvent?function(a,g){var m=document.createEvent("CustomEvent");return g?m.initCustomEvent(a,g.bubbles,g.cancelable,g.detail):m.initCustomEvent(a,!1,!1,void 0),m}:function(a,g){var m=document.createEventObject();return m.type=a,g?(m.bubbles=!!g.bubbles,m.cancelable=!!g.cancelable,m.detail=g.detail):(m.bubbles=!1,m.cancelable=!1,m.detail=void 0),m}},91674:at=>{"use strict";var N={};function a(T){var O=N[T];return O?O.lastIndex=0:N[T]=O=new RegExp("(?:^|\\s)"+T+"(?:\\s|$)","g"),O}at.exports={add:function g(T,O){var D=T.className;D.length?a(O).test(D)||(T.className+=" "+O):T.className=O},rm:function m(T,O){T.className=T.className.replace(a(O)," ").trim()}}},83712:(at,N,s)=>{"use strict";var n=s(57123),a=s(97565),g=s(91674),m=document,T=m.documentElement;function D(Y,x,B,j){global.navigator.pointerEnabled?a[x](Y,{mouseup:"pointerup",mousedown:"pointerdown",mousemove:"pointermove"}[B],j):global.navigator.msPointerEnabled?a[x](Y,{mouseup:"MSPointerUp",mousedown:"MSPointerDown",mousemove:"MSPointerMove"}[B],j):(a[x](Y,{mouseup:"touchend",mousedown:"touchstart",mousemove:"touchmove"}[B],j),a[x](Y,B,j))}function E(Y){if(void 0!==Y.touches)return Y.touches.length;if(void 0!==Y.which&&0!==Y.which)return Y.which;if(void 0!==Y.buttons)return Y.buttons;var x=Y.button;return void 0!==x?1&x?1:2&x?3:4&x?2:0:void 0}function I(Y,x){return typeof global[x]<"u"?global[x]:T.clientHeight?T[Y]:m.body[Y]}function b(Y,x,B){var $,j=(Y=Y||{}).className||"";return Y.className+=" gu-hide",$=m.elementFromPoint(x,B),Y.className=j,$}function L(){return!1}function o(){return!0}function C(Y){return Y.width||Y.right-Y.left}function w(Y){return Y.height||Y.bottom-Y.top}function M(Y){return Y.parentNode===m?null:Y.parentNode}function q(Y){return"INPUT"===Y.tagName||"TEXTAREA"===Y.tagName||"SELECT"===Y.tagName||z(Y)}function z(Y){return!(!Y||"false"===Y.contentEditable)&&("true"===Y.contentEditable||z(M(Y)))}function F(Y){return Y.nextElementSibling||function x(){var B=Y;do{B=B.nextSibling}while(B&&1!==B.nodeType);return B}()}function k(Y,x){var B=function U(Y){return Y.targetTouches&&Y.targetTouches.length?Y.targetTouches[0]:Y.changedTouches&&Y.changedTouches.length?Y.changedTouches[0]:Y}(x),j={pageX:"clientX",pageY:"clientY"};return Y in j&&!(Y in B)&&j[Y]in B&&(Y=j[Y]),B[Y]}at.exports=function O(Y,x){1===arguments.length&&!1===Array.isArray(Y)&&(x=Y,Y=[]);var j,$,H,ie,ne,Q,le,pe,te,ae,K,Me,de=null,me=x||{};void 0===me.moves&&(me.moves=o),void 0===me.accepts&&(me.accepts=o),void 0===me.invalid&&(me.invalid=function ht(){return!1}),void 0===me.containers&&(me.containers=Y||[]),void 0===me.isContainer&&(me.isContainer=L),void 0===me.copy&&(me.copy=!1),void 0===me.copySortSource&&(me.copySortSource=!1),void 0===me.revertOnSpill&&(me.revertOnSpill=!1),void 0===me.removeOnSpill&&(me.removeOnSpill=!1),void 0===me.direction&&(me.direction="vertical"),void 0===me.ignoreInputTextSelection&&(me.ignoreInputTextSelection=!0),void 0===me.mirrorContainer&&(me.mirrorContainer=m.body);var be=n({containers:me.containers,start:function Lt(jn){var Di=Ye(jn);Di&&Vt(Di)},end:gt,cancel:Je,remove:Ne,destroy:function Pe(){Ae(!0),Se({})},canMove:function Ct(jn){return!!Ye(jn)},dragging:!1});return!0===me.removeOnSpill&&be.on("over",function It(jn){g.rm(jn,"gu-hide")}).on("out",function In(jn){be.dragging&&g.add(jn,"gu-hide")}),Ae(),be;function Le(jn){return-1!==be.containers.indexOf(jn)||me.isContainer(jn)}function Ae(jn){var Di=jn?"remove":"add";D(T,Di,"mousedown",ze),D(T,Di,"mouseup",Se)}function Oe(jn){D(T,jn?"remove":"add","mousemove",Be)}function Xe(jn){var Di=jn?"remove":"add";a[Di](T,"selectstart",$e),a[Di](T,"click",$e)}function $e(jn){Me&&jn.preventDefault()}function ze(jn){if(Q=jn.clientX,le=jn.clientY,1===E(jn)&&!jn.metaKey&&!jn.ctrlKey){var Li=jn.target,ms=Ye(Li);ms&&(Me=ms,Oe(),"mousedown"===jn.type&&(q(Li)?Li.focus():jn.preventDefault()))}}function Be(jn){if(Me){if(0===E(jn))return void Se({});if(!(void 0!==jn.clientX&&Math.abs(jn.clientX-Q)<=(me.slideFactorX||0)&&void 0!==jn.clientY&&Math.abs(jn.clientY-le)<=(me.slideFactorY||0))){if(me.ignoreInputTextSelection){var Di=k("clientX",jn)||0,Li=k("clientY",jn)||0;if(q(m.elementFromPoint(Di,Li)))return}var Rn=Me;Oe(!0),Xe(),gt(),Vt(Rn);var Qt=function y(Y){var x=Y.getBoundingClientRect();return{left:x.left+I("scrollLeft","pageXOffset"),top:x.top+I("scrollTop","pageYOffset")}}(H);ie=k("pageX",jn)-Qt.left,ne=k("pageY",jn)-Qt.top,g.add(ae||H,"gu-transit"),function Kt(){if(!j){var jn=H.getBoundingClientRect();(j=H.cloneNode(!0)).style.width=C(jn)+"px",j.style.height=w(jn)+"px",g.rm(j,"gu-transit"),g.add(j,"gu-mirror"),me.mirrorContainer.appendChild(j),D(T,"add","mousemove",Xt),g.add(me.mirrorContainer,"gu-unselectable"),be.emit("cloned",j,H,"mirror")}}(),Xt(jn)}}}function Ye(jn){if(!(be.dragging&&j||Le(jn))){for(var Di=jn;M(jn)&&!1===Le(M(jn));)if(me.invalid(jn,Di)||!(jn=M(jn)))return;var Li=M(jn);if(Li&&!me.invalid(jn,Di)&&me.moves(jn,Li,Di,F(jn)))return{item:jn,source:Li}}}function Vt(jn){(function di(jn,Di){return"boolean"==typeof me.copy?me.copy:me.copy(jn,Di)})(jn.item,jn.source)&&(ae=jn.item.cloneNode(!0),be.emit("cloned",ae,jn.item,"copy")),$=jn.source,H=jn.item,pe=te=F(jn.item),be.dragging=!0,be.emit("drag",H,$)}function gt(){if(be.dragging){var jn=ae||H;ke(jn,M(jn))}}function Ge(){Me=!1,Oe(!0),Xe(!0)}function Se(jn){if(Ge(),be.dragging){var Di=ae||H,Li=k("clientX",jn)||0,ms=k("clientY",jn)||0,Qt=ft(b(j,Li,ms),Li,ms);Qt&&(ae&&me.copySortSource||!ae||Qt!==$)?ke(Di,Qt):me.removeOnSpill?Ne():Je()}}function ke(jn,Di){var Li=M(jn);ae&&me.copySortSource&&Di===$&&Li.removeChild(H),rt(Di)?be.emit("cancel",jn,$,$):be.emit("drop",jn,Di,$,te),Qe()}function Ne(){if(be.dragging){var jn=ae||H,Di=M(jn);Di&&Di.removeChild(jn),be.emit(ae?"cancel":"remove",jn,Di,$),Qe()}}function Je(jn){if(be.dragging){var Di=arguments.length>0?jn:me.revertOnSpill,Li=ae||H,ms=M(Li),Rn=rt(ms);!1===Rn&&Di&&(ae?ms&&ms.removeChild(ae):$.insertBefore(Li,pe)),Rn||Di?be.emit("cancel",Li,$,$):be.emit("drop",Li,ms,$,te),Qe()}}function Qe(){var jn=ae||H;Ge(),function Ze(){j&&(g.rm(me.mirrorContainer,"gu-unselectable"),D(T,"remove","mousemove",Xt),M(j).removeChild(j),j=null)}(),jn&&g.rm(jn,"gu-transit"),K&&clearTimeout(K),be.dragging=!1,de&&be.emit("out",jn,de,$),be.emit("dragend",jn),$=H=ae=pe=te=K=de=null}function rt(jn,Di){var Li;return Li=void 0!==Di?Di:j?te:F(ae||H),jn===$&&Li===pe}function ft(jn,Di,Li){for(var ms=jn;ms&&!Rn();)ms=M(ms);return ms;function Rn(){if(!1===Le(ms))return!1;var Wt=wn(ms,jn),Yt=zn(ms,Wt,Di,Li);return!!rt(ms,Yt)||me.accepts(H,ms,$,Yt)}}function Xt(jn){if(j){jn.preventDefault();var Di=k("clientX",jn)||0,Li=k("clientY",jn)||0,Rn=Li-ne;j.style.left=Di-ie+"px",j.style.top=Rn+"px";var Qt=ae||H,Wt=b(j,Di,Li),Yt=ft(Wt,Di,Li),Mn=null!==Yt&&Yt!==de;(Mn||null===Yt)&&(function Ii(){de&&_n("out")}(),de=Yt,function Xn(){Mn&&_n("over")}());var ci=M(Qt);if(Yt!==$||!ae||me.copySortSource){var Ue,Un=wn(Yt,Wt);if(null!==Un)Ue=zn(Yt,Un,Di,Li);else{if(!0!==me.revertOnSpill||ae)return void(ae&&ci&&ci.removeChild(Qt));Ue=pe,Yt=$}(null===Ue&&Mn||Ue!==Qt&&Ue!==F(Qt))&&(te=Ue,Yt.insertBefore(Qt,Ue),be.emit("shadow",Qt,Yt,$))}else ci&&ci.removeChild(Qt)}function _n(En){be.emit(En,Qt,de,$)}}function wn(jn,Di){for(var Li=Di;Li!==jn&&M(Li)!==jn;)Li=M(Li);return Li===T?null:Li}function zn(jn,Di,Li,ms){var Rn="horizontal"===me.direction;return Di!==jn?function Yt(){var ci=Di.getBoundingClientRect();return function Mn(ci){return ci?F(Di):Di}(Rn?Li>ci.left+C(ci)/2:ms>ci.top+w(ci)/2)}():function Wt(){var Ue,Un,_n,ci=jn.children.length;for(Ue=0;Ue<ci;Ue++)if(_n=(Un=jn.children[Ue]).getBoundingClientRect(),Rn&&_n.left+_n.width/2>Li||!Rn&&_n.top+_n.height/2>ms)return Un;return null}()}}},85358:function(at,N){!function(s){"use strict";var a={Promise:typeof window<"u"?window.Promise:void 0},g="4.25",m="next";function T(x){if(x.toLowerCase()===m)return m;var B=x&&x.match(/^(\d)\.(\d+)/);return B&&{major:parseInt(B[1],10),minor:parseInt(B[2],10)}}function O(x){return void 0===x&&(x=g),"https://js.arcgis.com/".concat(x,"/")}function b(x){return!x||T(x)?function D(x){void 0===x&&(x=g);var B=O(x),j=T(x);if(j!==m&&3===j.major){var $=j.minor<=10?"js/":"";return"".concat(B).concat($,"esri/css/esri.css")}return"".concat(B,"esri/themes/light/main.css")}(x):x}function L(x,B){var j=b(x),$=function I(x){return document.querySelector('link[href*="'.concat(x,'"]'))}(j);return $||function y(x,B){if(B){var j=document.querySelector(B);j.parentNode.insertBefore(x,j)}else document.head.appendChild(x)}($=function E(x){var B=document.createElement("link");return B.rel="stylesheet",B.href=x,B}(j),B),$}var o={};function w(x,B,j){var $;j&&($=function M(x,B){var j=function($){B($.error||new Error("There was an error attempting to load ".concat(x.src))),x.removeEventListener("error",j,!1)};return x.addEventListener("error",j,!1),j}(x,j));var H=function(){B(x),x.removeEventListener("load",H,!1),$&&x.removeEventListener("error",$,!1)};x.addEventListener("load",H,!1)}function z(){return document.querySelector("script[data-esri-loader]")}function F(){var x=window.require;return x&&x.on}function U(x){void 0===x&&(x={});var B={};[o,x].forEach(function(H){for(var ie in H)Object.prototype.hasOwnProperty.call(H,ie)&&(B[ie]=H[ie])});var j=B.version,$=B.url||O(j);return new a.Promise(function(H,ie){var ne=z();if(ne){var Q=ne.getAttribute("src");Q!==$?ie(new Error("The ArcGIS API for JavaScript is already loaded (".concat(Q,")."))):F()?H(ne):w(ne,H,ie)}else if(F())ie(new Error("The ArcGIS API for JavaScript is already loaded."));else{var le=B.css;le&&L(!0===le?j:le,B.insertCssBefore),w(ne=function C(x){var B=document.createElement("script");return B.type="text/javascript",B.src=x,B.setAttribute("data-esri-loader","loading"),B}($),function(){ne.setAttribute("data-esri-loader","loaded"),H(ne)},ie),document.body.appendChild(ne)}})}function k(x){return new a.Promise(function(B,j){var $=window.require.on("error",j);window.require(x,function(){for(var H=[],ie=0;ie<arguments.length;ie++)H[ie]=arguments[ie];$.remove(),B(H)})})}s.utils=a,s.loadModules=function Y(x,B){if(void 0===B&&(B={}),F())return k(x);var j=z(),$=j&&j.getAttribute("src");return!B.url&&$&&(B.url=$),U(B).then(function(){return k(x)})},s.getScript=z,s.isLoaded=F,s.loadScript=U,s.setDefaultOptions=function q(x){void 0===x&&(x={}),o=x},s.loadCss=L,Object.defineProperty(s,"__esModule",{value:!0})}(N)},2578:function(at,N){var s,a;void 0!==(a="function"==typeof(s=function(){"use strict";function m(I,b,L){var o=new XMLHttpRequest;o.open("GET",I),o.responseType="blob",o.onload=function(){y(o.response,b,L)},o.onerror=function(){console.error("could not download file")},o.send()}function T(I){var b=new XMLHttpRequest;b.open("HEAD",I,!1);try{b.send()}catch{}return 200<=b.status&&299>=b.status}function O(I){try{I.dispatchEvent(new MouseEvent("click"))}catch{var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),I.dispatchEvent(b)}}var D="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,E=D.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),y=D.saveAs||("object"!=typeof window||window!==D?function(){}:"download"in HTMLAnchorElement.prototype&&!E?function(I,b,L){var o=D.URL||D.webkitURL,C=document.createElement("a");C.download=b=b||I.name||"download",C.rel="noopener","string"==typeof I?(C.href=I,C.origin===location.origin?O(C):T(C.href)?m(I,b,L):O(C,C.target="_blank")):(C.href=o.createObjectURL(I),setTimeout(function(){o.revokeObjectURL(C.href)},4e4),setTimeout(function(){O(C)},0))}:"msSaveOrOpenBlob"in navigator?function(I,b,L){if(b=b||I.name||"download","string"!=typeof I)navigator.msSaveOrOpenBlob(function g(I,b){return typeof b>"u"?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(I.type)?new Blob(["\ufeff",I],{type:I.type}):I}(I,L),b);else if(T(I))m(I,b,L);else{var o=document.createElement("a");o.href=I,o.target="_blank",setTimeout(function(){O(o)})}}:function(I,b,L,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof I)return m(I,b,L);var C="application/octet-stream"===I.type,w=/constructor/i.test(D.HTMLElement)||D.safari,M=/CriOS\/[\d]+/.test(navigator.userAgent);if((M||C&&w||E)&&typeof FileReader<"u"){var q=new FileReader;q.onloadend=function(){var U=q.result;U=M?U:U.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=U:location=U,o=null},q.readAsDataURL(I)}else{var z=D.URL||D.webkitURL,F=z.createObjectURL(I);o?o.location=F:location.href=F,o=null,setTimeout(function(){z.revokeObjectURL(F)},4e4)}});D.saveAs=y.saveAs=y,at.exports=y})?s.apply(N,[]):s)&&(at.exports=a)},84281:at=>{!function(){var N;function s(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function n(e){var t=typeof Symbol<"u"&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:s(e)}}function a(e){for(var t,i=[];!(t=e.next()).done;)i.push(t.value);return i}var m,g="function"==typeof Object.create?Object.create:function(e){function t(){}return t.prototype=e,new t};if("function"==typeof Object.setPrototypeOf)m=Object.setPrototypeOf;else{var T;e:{var D={};try{D.__proto__={a:!0},T=D.a;break e}catch{}T=!1}m=T?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var E=m;function y(e,t){if(e.prototype=g(t.prototype),e.prototype.constructor=e,E)E(e,t);else for(var i in t)if("prototype"!=i)if(Object.defineProperties){var r=Object.getOwnPropertyDescriptor(t,i);r&&Object.defineProperty(e,i,r)}else e[i]=t[i];e.kA=t.prototype}var I=typeof window<"u"&&window===self?self:typeof global<"u"&&null!=global?global:self,b="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,i){e!=Array.prototype&&e!=Object.prototype&&(e[t]=i.value)};!function L(e){if(e){for(var t=I,i=["Array","prototype","fill"],r=0;r<i.length-1;r++){var c=i[r];c in t||(t[c]={}),t=t[c]}(e=e(r=t[i=i[i.length-1]]))!=r&&null!=e&&b(t,i,{writable:!0,value:e})}}(function(e){return e||function(t,i,r){var c=this.length||0;for(0>i&&(i=Math.max(0,c+i)),(null==r||r>c)&&(r=c),0>(r=Number(r))&&(r=Math.max(0,c+r)),i=Number(i||0);i<r;i++)this[i]=t;return this}});var o="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||"object"==typeof window&&window.window===window&&window||{};function C(){}function w(e,t){var i=-1;return function(){var r=this,c=arguments;-1!==i&&o.clearTimeout(i),i=M(function(){i=-1,e.apply(r,c)},t)}}function M(e,t){return o.setTimeout(e,t)}function q(e){return o.document.createElement(e)}function z(e){throw Error(e)}function F(e,t){e="The object is frozen, so its properties cannot be set: "+e.toString(),void 0!==t&&(e+="  to value: "+t),z(e)}function U(e,t,i,r){i=null===i?"*":"string"==typeof i?i:"function"==typeof i&&"string"==typeof i.className?i.className:"",void 0!==r&&(i+="."+r),z(i+" is not in the range "+t+": "+e)}function k(e){o.console&&o.console.log(e)}function Y(){o.console&&o.console.log("Warning: List/Map/Set constructors no longer take an argument that enforces type.Instead they take an optional collection of Values to add to the collection. See 2.0 changelog for details.")}function x(e){return"object"==typeof e&&null!==e}function B(e){return Array.isArray(e)||o.NodeList&&e instanceof o.NodeList||o.HTMLCollection&&e instanceof o.HTMLCollection}function j(e){return Array.prototype.slice.call(e)}function $(e,t,i){Array.isArray(e)?t>=e.length?e.push(i):e.splice(t,0,i):z("Cannot insert an object into an HTMLCollection or NodeList: "+i+" at "+t)}function H(e,t){Array.isArray(e)?t>=e.length?e.pop():e.splice(t,1):z("Cannot remove an object from an HTMLCollection or NodeList at "+t)}function ie(){var e=Oe.pop();return void 0===e?[]:e}function ne(e){e.length=0,Oe.push(e)}function Q(e){if("function"==typeof e){if(e.className)return e.className;if(e.name)return e.name;var t=e.toString();if(""!==(t=t.substring(9,t.indexOf("(")).trim()))return e._className=t}else if(x(e)&&e.constructor)return Q(e.constructor);return typeof e}function le(e){var t=e;return x(e)&&(e.text?t=e.text:e.name?t=e.name:void 0!==e.key?t=e.key:void 0!==e.id?t=e.id:e.constructor===Object&&(e.Text?t=e.Text:e.Name?t=e.Name:void 0!==e.Key?t=e.Key:void 0!==e.Id?t=e.Id:void 0!==e.ID&&(t=e.ID))),void 0===t?"undefined":null===t?"null":t.toString()}function pe(e,t){if(e.hasOwnProperty(t))return!0;for(e=Object.getPrototypeOf(e);e&&e!==Function;){if(e.hasOwnProperty(t))return!0;var i=e.bA;if(i&&i[t])return!0;e=Object.getPrototypeOf(e)}return!1}function te(e,t,i){Object.defineProperty(mo.prototype,e,{get:t,set:i})}function ae(){var e=Xe;if(0===e.length)for(var t=o.document.getElementsByTagName("canvas"),i=t.length,r=0;r<i;r++){var c=t[r];c.parentElement&&c.parentElement.C&&e.push(c.parentElement.C)}return e}function K(e){for(var t=[],i=0;256>i;i++)t["0123456789abcdef".charAt(i>>4)+"0123456789abcdef".charAt(15&i)]=String.fromCharCode(i);e.length%2&&(e="0"+e),i=[];for(var r=0,c=0;c<e.length;c+=2)i[r++]=t[e.substr(c,2)];for(e=""===(e=i.join(""))?"0":e,t=[],i=0;256>i;i++)t[i]=i;for(i=r=0;256>i;i++)c=t[i],t[i]=t[r=(r+t[i]+119)%256],t[r]=c;r=i=0;for(var h="",v=0;v<e.length;v++)c=t[i=(i+1)%256],t[i]=t[r=(r+t[i])%256],t[r]=c,h+=String.fromCharCode(e.charCodeAt(v)^t[(t[i]+t[r])%256]);return h}void 0===o.requestAnimationFrame&&(o.requestAnimationFrame=o.setImmediate);var de=void 0!==o.navigator&&0<o.navigator.userAgent.indexOf("MSIE 9.0"),Me=void 0!==o.navigator&&0<o.navigator.userAgent.indexOf("MSIE 10.0"),me=void 0!==o.navigator&&0<o.navigator.userAgent.indexOf("Trident/7"),be=void 0!==o.navigator&&0<o.navigator.userAgent.indexOf("Edge/"),Le=void 0!==o.navigator&&void 0!==o.navigator.platform&&0<=o.navigator.platform.toUpperCase().indexOf("MAC"),Ae=void 0!==o.navigator&&void 0!==o.navigator.platform&&null!==o.navigator.platform.match(/(iPhone|iPod|iPad)/i),Oe=[];Object.freeze([]);var Ct,Xe=[];function Pe(e,t,i){ke(this),this.l=e,this.Ua=t,this.u=i}function $e(e,t){return null==t||""===t?null:e[t]}function ze(){this.mw=[]}function Be(){}function Ye(){}function Lt(e){this.key=-1,this.value=e}function Vt(e){this.pb=e,this.We=null,e.Ja=null,this.la=e.Ba,this.Sa=-1}function ht(e){this.pb=e,e.Qg=null,this.la=e.Ba,this.Sa=e.j.length}function gt(e){ke(this),this.v=!1,this.j=[],this.Ba=0,this.Qg=this.Ja=null,void 0!==e&&("function"==typeof e||"string"==typeof e?Y():this.addAll(e))}function Ge(e){this.eg=e,e.Ja=null,this.la=e.Ba,this.na=null}function Se(e){ke(this),this.v=!1,this.Db={},this.Cb=0,this.Ja=null,this.Ba=0,this.Se=this.fa=null,void 0!==e&&("function"==typeof e||"string"==typeof e?Y():this.addAll(e))}function ke(e){e.__gohashid=Qe++}function Ne(e){var t=e.__gohashid;return void 0===t&&(t=Qe++,e.__gohashid=t),t}function Je(e){return e.__gohashid}C.className="Util",C.Dx="32ab5ff3b26f42dc0ed90f224d2913b5",C.adym="gojs.net",C.vfo="28e646fdba",C.className="Util",Pe.prototype.toString=function(){return"EnumValue."+this.Ua},I.Object.defineProperties(Pe.prototype,{classType:{get:function(){return this.l}},name:{get:function(){return this.Ua}},value:{get:function(){return this.u}}}),Pe.className="EnumValue",ze.prototype.toString=function(){return this.mw.join("")},ze.prototype.add=function(e){""!==e&&this.mw.push(e)},ze.className="StringBuilder",Be.className="PropertyCollection",Ye.prototype.reset=function(){},Ye.prototype.next=function(){return!1},Ye.prototype.dd=function(){return!1},Ye.prototype.first=function(){return null},Ye.prototype.any=function(){return!1},Ye.prototype.all=function(){return!0},Ye.prototype.each=function(){return this},Ye.prototype.map=function(){return this},Ye.prototype.filter=function(){return this},Ye.prototype.xd=function(){},Ye.prototype.toString=function(){return"EmptyIterator"},I.Object.defineProperties(Ye.prototype,{iterator:{get:function(){return this}},count:{get:function(){return 0}}}),Ye.prototype.first=Ye.prototype.first,Ye.prototype.hasNext=Ye.prototype.dd,Ye.prototype.next=Ye.prototype.next,Ye.prototype.reset=Ye.prototype.reset,Ye.className="EmptyIterator",Ct=new Ye,Lt.prototype.reset=function(){this.key=-1},Lt.prototype.next=function(){return-1===this.key&&(this.key=0,!0)},Lt.prototype.dd=function(){return this.next()},Lt.prototype.first=function(){return this.key=0,this.value},Lt.prototype.any=function(e){return this.key=-1,e(this.value)},Lt.prototype.all=function(e){return this.key=-1,e(this.value)},Lt.prototype.each=function(e){return this.key=-1,e(this.value),this},Lt.prototype.map=function(e){return new Lt(e(this.value))},Lt.prototype.filter=function(e){return e(this.value)?new Lt(this.value):Ct},Lt.prototype.xd=function(){this.value=null},Lt.prototype.toString=function(){return"SingletonIterator("+this.value+")"},I.Object.defineProperties(Lt.prototype,{iterator:{get:function(){return this}},count:{get:function(){return 1}}}),Lt.prototype.first=Lt.prototype.first,Lt.prototype.hasNext=Lt.prototype.dd,Lt.prototype.next=Lt.prototype.next,Lt.prototype.reset=Lt.prototype.reset,Lt.className="SingletonIterator",Vt.prototype.reset=function(){var e=this.pb;e.Ja=null,this.la=e.Ba,this.Sa=-1},Vt.prototype.next=function(){var e=this.pb;if(e.Ba!==this.la&&0>this.key)return!1;var t=(e=e.j).length,i=++this.Sa,r=this.We;if(null!==r)for(;i<t;){var c=e[i];if(r(c))return this.key=this.Sa=i,this.value=c,!0;i++}else{if(i<t)return this.key=i,this.value=e[i],!0;this.xd()}return!1},Vt.prototype.dd=function(){return this.next()},Vt.prototype.first=function(){var e=this.pb;this.la=e.Ba,this.Sa=0;var t=(e=e.j).length,i=this.We;if(null!==i){for(var r=0;r<t;){var c=e[r];if(i(c))return this.key=this.Sa=r,this.value=c;r++}return null}return 0<t?(e=e[0],this.key=0,this.value=e):null},Vt.prototype.any=function(e){var t=this.pb;t.Ja=null,this.Sa=-1;for(var i=(t=t.j).length,r=this.We,c=0;c<i;c++){var h=t[c];if((null===r||r(h))&&e(h))return!0}return!1},Vt.prototype.all=function(e){var t=this.pb;t.Ja=null,this.Sa=-1;for(var i=(t=t.j).length,r=this.We,c=0;c<i;c++){var h=t[c];if((null===r||r(h))&&!e(h))return!1}return!0},Vt.prototype.each=function(e){var t=this.pb;t.Ja=null,this.Sa=-1;for(var i=(t=t.j).length,r=this.We,c=0;c<i;c++){var h=t[c];(null===r||r(h))&&e(h)}return this},Vt.prototype.map=function(e){var t=this.pb;t.Ja=null,this.Sa=-1;for(var i=[],r=(t=t.j).length,c=this.We,h=0;h<r;h++){var v=t[h];(null===c||c(v))&&i.push(e(v))}return(e=new gt).j=i,e.kb(),e.iterator},Vt.prototype.filter=function(e){var t=this.pb;t.Ja=null,this.Sa=-1;for(var i=[],r=(t=t.j).length,c=this.We,h=0;h<r;h++){var v=t[h];(null===c||c(v))&&e(v)&&i.push(v)}return(e=new gt).j=i,e.kb(),e.iterator},Vt.prototype.xd=function(){this.key=-1,this.value=null,this.la=-1,this.We=null,this.pb.Ja=this},Vt.prototype.toString=function(){return"ListIterator@"+this.Sa+"/"+this.pb.count},I.Object.defineProperties(Vt.prototype,{iterator:{get:function(){return this}},predicate:{get:function(){return this.We},set:function(e){this.We=e}},count:{get:function(){var e=this.We;if(null!==e){for(var t=0,i=this.pb.j,r=i.length,c=0;c<r;c++)e(i[c])&&t++;return t}return this.pb.j.length}}}),Vt.prototype.first=Vt.prototype.first,Vt.prototype.hasNext=Vt.prototype.dd,Vt.prototype.next=Vt.prototype.next,Vt.prototype.reset=Vt.prototype.reset,Vt.className="ListIterator",ht.prototype.reset=function(){var e=this.pb;e.Qg=null,this.la=e.Ba,this.Sa=e.j.length},ht.prototype.next=function(){var e=this.pb;if(e.Ba!==this.la&&0>this.key)return!1;var t=--this.Sa;return 0<=t?(this.key=t,this.value=e.j[t],!0):(this.xd(),!1)},ht.prototype.dd=function(){return this.next()},ht.prototype.first=function(){var e=this.pb;this.la=e.Ba;var t=e.j;return this.Sa=e=t.length-1,0<=e?(t=t[e],this.key=e,this.value=t):null},ht.prototype.any=function(e){var t=this.pb;t.Qg=null;var i=(t=t.j).length;for(this.Sa=i,--i;0<=i;i--)if(e(t[i]))return!0;return!1},ht.prototype.all=function(e){var t=this.pb;t.Qg=null;var i=(t=t.j).length;for(this.Sa=i,--i;0<=i;i--)if(!e(t[i]))return!1;return!0},ht.prototype.each=function(e){var t=this.pb;t.Qg=null;var i=(t=t.j).length;for(this.Sa=i,--i;0<=i;i--)e(t[i]);return this},ht.prototype.map=function(e){var t=this.pb;t.Qg=null;var i=[],r=(t=t.j).length;for(this.Sa=r,--r;0<=r;r--)i.push(e(t[r]));return(e=new gt).j=i,e.kb(),e.iterator},ht.prototype.filter=function(e){var t=this.pb;t.Qg=null;var i=[],r=(t=t.j).length;for(this.Sa=r,--r;0<=r;r--){var c=t[r];e(c)&&i.push(c)}return(e=new gt).j=i,e.kb(),e.iterator},ht.prototype.xd=function(){this.key=-1,this.value=null,this.la=-1,this.pb.Qg=this},ht.prototype.toString=function(){return"ListIteratorBackwards("+this.Sa+"/"+this.pb.count+")"},I.Object.defineProperties(ht.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.pb.j.length}}}),ht.prototype.first=ht.prototype.first,ht.prototype.hasNext=ht.prototype.dd,ht.prototype.next=ht.prototype.next,ht.prototype.reset=ht.prototype.reset,ht.className="ListIteratorBackwards",(N=gt.prototype).kb=function(){var e=this.Ba;999999999<++e&&(e=0),this.Ba=e},N.freeze=function(){return this.v=!0,this},N.ha=function(){return this.v=!1,this},N.toString=function(){return"List()#"+Je(this)},N.add=function(e){return null===e||(this.v&&F(this,e),this.j.push(e),this.kb()),this},N.push=function(e){this.add(e)},N.addAll=function(e){if(null===e)return this;this.v&&F(this);var t=this.j;if(B(e))for(var i=e.length,r=0;r<i;r++)t.push(e[r]);else for(e=e.iterator;e.next();)t.push(e.value);return this.kb(),this},N.clear=function(){this.v&&F(this),this.j.length=0,this.kb()},N.contains=function(e){return null!==e&&-1!==this.j.indexOf(e)},N.has=function(e){return this.contains(e)},N.indexOf=function(e){return null===e?-1:this.j.indexOf(e)},N.N=function(e){var t=this.j;return(0>e||e>=t.length)&&U(e,"0 <= i < length",gt,"elt:i"),t[e]},N.get=function(e){return this.N(e)},N.gd=function(e,t){var i=this.j;(0>e||e>=i.length)&&U(e,"0 <= i < length",gt,"setElt:i"),this.v&&F(this,e),i[e]=t},N.set=function(e,t){this.gd(e,t)},N.first=function(){var e=this.j;return 0===e.length?null:e[0]},N.Tb=function(){var e=this.j,t=e.length;return 0<t?e[t-1]:null},N.pop=function(){this.v&&F(this);var e=this.j;return 0<e.length?e.pop():null},gt.prototype.any=function(e){for(var t=this.j,i=t.length,r=0;r<i;r++)if(e(t[r]))return!0;return!1},gt.prototype.all=function(e){for(var t=this.j,i=t.length,r=0;r<i;r++)if(!e(t[r]))return!1;return!0},gt.prototype.each=function(e){for(var t=this.j,i=t.length,r=0;r<i;r++)e(t[r]);return this},gt.prototype.map=function(e){for(var t=new gt,i=[],r=this.j,c=r.length,h=0;h<c;h++)i.push(e(r[h]));return t.j=i,t.kb(),t},gt.prototype.filter=function(e){for(var t=new gt,i=[],r=this.j,c=r.length,h=0;h<c;h++){var v=r[h];e(v)&&i.push(v)}return t.j=i,t.kb(),t},(N=gt.prototype).Ib=function(e,t){0>e&&U(e,">= 0",gt,"insertAt:i"),this.v&&F(this,e);var i=this.j;e>=i.length?i.push(t):i.splice(e,0,t),this.kb()},N.remove=function(e){if(null===e)return!1;this.v&&F(this,e);var t=this.j;return-1!==(e=t.indexOf(e))&&(e===t.length-1?t.pop():t.splice(e,1),this.kb(),!0)},N.delete=function(e){return this.remove(e)},N.mb=function(e){var t=this.j;(0>e||e>=t.length)&&U(e,"0 <= i < length",gt,"removeAt:i"),this.v&&F(this,e),e===t.length-1?t.pop():t.splice(e,1),this.kb()},N.removeRange=function(e,t){var i=this.j,r=i.length;if(0>e)e=0;else if(e>=r)return this;if(0>t)return this;if(t>=r&&(t=r-1),e>t)return this;this.v&&F(this);for(var c=e,h=t+1;h<r;)i[c++]=i[h++];return i.length=r-(t-e+1),this.kb(),this},gt.prototype.copy=function(){var e=new gt,t=this.j;return 0<t.length&&(e.j=Array.prototype.slice.call(t)),e},(N=gt.prototype).Na=function(){for(var e=this.j,t=this.count,i=Array(t),r=0;r<t;r++)i[r]=e[r];return i},N.Qv=function(){for(var e=new Se,t=this.j,i=this.count,r=0;r<i;r++)e.add(t[r]);return e},N.sort=function(e){return this.v&&F(this),this.j.sort(e),this.kb(),this},N.Vi=function(e,t,i){var r=this.j,c=r.length;void 0===t&&(t=0),void 0===i&&(i=c),this.v&&F(this);var h=i-t;if(1>=h)return this;if((0>t||t>=c-1)&&U(t,"0 <= from < length",gt,"sortRange:from"),2===h)return 0<e(i=r[t],c=r[t+1])&&(r[t]=c,r[t+1]=i,this.kb()),this;if(0===t)if(i>=c)r.sort(e);else for((t=r.slice(0,i)).sort(e),e=0;e<i;e++)r[e]=t[e];else if(i>=c)for((i=r.slice(t)).sort(e),e=t;e<c;e++)r[e]=i[e-t];else for((c=r.slice(t,i)).sort(e),e=t;e<i;e++)r[e]=c[e-t];return this.kb(),this},N.reverse=function(){return this.v&&F(this),this.j.reverse(),this.kb(),this},I.Object.defineProperties(gt.prototype,{_dataArray:{get:function(){return this.j}},count:{get:function(){return this.j.length}},size:{get:function(){return this.j.length}},length:{get:function(){return this.j.length}},iterator:{get:function(){if(0>=this.j.length)return Ct;var e=this.Ja;return null!==e?(e.reset(),e):new Vt(this)}},iteratorBackwards:{get:function(){if(0>=this.j.length)return Ct;var e=this.Qg;return null!==e?(e.reset(),e):new ht(this)}}}),gt.prototype.reverse=gt.prototype.reverse,gt.prototype.sortRange=gt.prototype.Vi,gt.prototype.sort=gt.prototype.sort,gt.prototype.toSet=gt.prototype.Qv,gt.prototype.toArray=gt.prototype.Na,gt.prototype.removeRange=gt.prototype.removeRange,gt.prototype.removeAt=gt.prototype.mb,gt.prototype.delete=gt.prototype.delete,gt.prototype.remove=gt.prototype.remove,gt.prototype.insertAt=gt.prototype.Ib,gt.prototype.pop=gt.prototype.pop,gt.prototype.last=gt.prototype.Tb,gt.prototype.first=gt.prototype.first,gt.prototype.set=gt.prototype.set,gt.prototype.setElt=gt.prototype.gd,gt.prototype.get=gt.prototype.get,gt.prototype.elt=gt.prototype.N,gt.prototype.indexOf=gt.prototype.indexOf,gt.prototype.has=gt.prototype.has,gt.prototype.contains=gt.prototype.contains,gt.prototype.clear=gt.prototype.clear,gt.prototype.addAll=gt.prototype.addAll,gt.prototype.push=gt.prototype.push,gt.prototype.add=gt.prototype.add,gt.prototype.thaw=gt.prototype.ha,gt.prototype.freeze=gt.prototype.freeze,gt.className="List",Ge.prototype.reset=function(){var e=this.eg;e.Ja=null,this.la=e.Ba,this.na=null},Ge.prototype.next=function(){var e=this.eg;if(e.Ba!==this.la&&null===this.key)return!1;var t=this.na;return null!==(t=null===t?e.fa:t.oa)?(this.na=t,this.value=t.value,this.key=t.key,!0):(this.xd(),!1)},Ge.prototype.dd=function(){return this.next()},Ge.prototype.first=function(){var e=this.eg;if(this.la=e.Ba,null!==(e=e.fa)){this.na=e;var t=e.value;return this.key=e.key,this.value=t}return null},Ge.prototype.any=function(e){var t=this.eg;for(this.na=t.Ja=null,t=t.fa;null!==t;){if(e(t.value))return!0;t=t.oa}return!1},Ge.prototype.all=function(e){var t=this.eg;for(this.na=t.Ja=null,t=t.fa;null!==t;){if(!e(t.value))return!1;t=t.oa}return!0},Ge.prototype.each=function(e){var t=this.eg;for(this.na=t.Ja=null,t=t.fa;null!==t;)e(t.value),t=t.oa;return this},Ge.prototype.map=function(e){var t=this.eg;t.Ja=null;var i=new gt;for(t=t.fa;null!==t;)i.add(e(t.value)),t=t.oa;return i.iterator},Ge.prototype.filter=function(e){var t=this.eg;t.Ja=null;var i=new gt;for(t=t.fa;null!==t;){var r=t.value;e(r)&&i.add(r),t=t.oa}return i.iterator},Ge.prototype.xd=function(){this.value=this.key=null,this.la=-1,this.eg.Ja=this},Ge.prototype.toString=function(){return null!==this.na?"SetIterator@"+this.na.value:"SetIterator"},I.Object.defineProperties(Ge.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.eg.Cb}}}),Ge.prototype.first=Ge.prototype.first,Ge.prototype.hasNext=Ge.prototype.dd,Ge.prototype.next=Ge.prototype.next,Ge.prototype.reset=Ge.prototype.reset,Ge.className="SetIterator",(N=Se.prototype).kb=function(){var e=this.Ba;999999999<++e&&(e=0),this.Ba=e},N.freeze=function(){return this.v=!0,this},N.ha=function(){return this.v=!1,this},N.toString=function(){return"Set()#"+Je(this)},N.add=function(e){if(null===e)return this;this.v&&F(this,e);var t=e;return x(e)&&(t=Ne(e)),void 0===this.Db[t]&&(this.Cb++,e=new It(e,e),this.Db[t]=e,null===(t=this.Se)?this.fa=e:(e.wl=t,t.oa=e),this.Se=e,this.kb()),this},N.addAll=function(e){if(null===e)return this;if(this.v&&F(this),B(e))for(var t=e.length,i=0;i<t;i++)this.add(e[i]);else for(e=e.iterator;e.next();)this.add(e.value);return this},N.contains=function(e){if(null===e)return!1;var t=e;return(!x(e)||void 0!==(t=Je(e)))&&void 0!==this.Db[t]},N.has=function(e){return this.contains(e)},N.vy=function(e){if(null===e)return!0;for(e=e.iterator;e.next();)if(!this.contains(e.value))return!1;return!0},N.wy=function(e){if(null===e)return!0;for(e=e.iterator;e.next();)if(this.contains(e.value))return!0;return!1},N.first=function(){var e=this.fa;return null===e?null:e.value},Se.prototype.any=function(e){for(var t=this.fa;null!==t;){if(e(t.value))return!0;t=t.oa}return!1},Se.prototype.all=function(e){for(var t=this.fa;null!==t;){if(!e(t.value))return!1;t=t.oa}return!0},Se.prototype.each=function(e){for(var t=this.fa;null!==t;)e(t.value),t=t.oa;return this},Se.prototype.map=function(e){for(var t=new Se,i=this.fa;null!==i;)t.add(e(i.value)),i=i.oa;return t},Se.prototype.filter=function(e){for(var t=new Se,i=this.fa;null!==i;){var r=i.value;e(r)&&t.add(r),i=i.oa}return t},(N=Se.prototype).remove=function(e){if(null===e)return!1;this.v&&F(this,e);var t=e;if(x(e)&&void 0===(t=Je(e))||void 0===(e=this.Db[t]))return!1;var i=e.oa,r=e.wl;return null!==i&&(i.wl=r),null!==r&&(r.oa=i),this.fa===e&&(this.fa=i),this.Se===e&&(this.Se=r),delete this.Db[t],this.Cb--,this.kb(),!0},N.delete=function(e){return this.remove(e)},N.lq=function(e){if(null===e)return this;if(this.v&&F(this),B(e))for(var t=e.length,i=0;i<t;i++)this.remove(e[i]);else for(e=e.iterator;e.next();)this.remove(e.value);return this},N.Pz=function(e){if(null===e||0===this.count)return this;this.v&&F(this);var t=new Se;t.addAll(e),e=[];for(var i=this.iterator;i.next();){var r=i.value;t.contains(r)||e.push(r)}return this.lq(e),this},N.clear=function(){this.v&&F(this),this.Db={},this.Cb=0,null!==this.Ja&&this.Ja.reset(),this.Se=this.fa=null,this.kb()},Se.prototype.copy=function(){var i,e=new Se,t=this.Db;for(i in t)e.add(t[i].value);return e},Se.prototype.Na=function(){var r,e=Array(this.Cb),t=this.Db,i=0;for(r in t)e[i]=t[r].value,i++;return e},Se.prototype.Pv=function(){var i,e=new gt,t=this.Db;for(i in t)e.add(t[i].value);return e},I.Object.defineProperties(Se.prototype,{count:{get:function(){return this.Cb}},size:{get:function(){return this.Cb}},iterator:{get:function(){if(0>=this.Cb)return Ct;var e=this.Ja;return null!==e?(e.reset(),e):new Ge(this)}}}),Se.prototype.toList=Se.prototype.Pv,Se.prototype.toArray=Se.prototype.Na,Se.prototype.clear=Se.prototype.clear,Se.prototype.retainAll=Se.prototype.Pz,Se.prototype.removeAll=Se.prototype.lq,Se.prototype.delete=Se.prototype.delete,Se.prototype.remove=Se.prototype.remove,Se.prototype.first=Se.prototype.first,Se.prototype.containsAny=Se.prototype.wy,Se.prototype.containsAll=Se.prototype.vy,Se.prototype.has=Se.prototype.has,Se.prototype.contains=Se.prototype.contains,Se.prototype.addAll=Se.prototype.addAll,Se.prototype.add=Se.prototype.add,Se.prototype.thaw=Se.prototype.ha,Se.prototype.freeze=Se.prototype.freeze;var Qe=1;function rt(e){this.ja=e,this.la=e.Ba,this.na=null}function ft(e){Se.call(this),ke(this),this.v=!0,this.ja=e}function Xt(e){this.ja=e,e.Re=null,this.la=e.Ba,this.na=null}function It(e,t){this.key=e,this.value=t,this.wl=this.oa=null}function In(e){this.ja=e,e.Ja=null,this.la=e.Ba,this.na=null}function Kt(e){ke(this),this.v=!1,this.Db={},this.Cb=0,this.Re=this.Ja=null,this.Ba=0,this.Se=this.fa=null,void 0!==e&&("function"==typeof e||"string"==typeof e?Y():this.addAll(e))}function Ze(e,t){void 0===e?this.G=this.F=0:"number"==typeof e&&"number"==typeof t?(this.F=e,this.G=t):z("Invalid arguments to Point constructor: "+e+", "+t),this.v=!1}function wn(e){if("string"==typeof e){e=e.split(" ");for(var t=0,i=0;""===e[t];)t++;var r=e[t++];r&&(i=parseFloat(r));for(var c=0;""===e[t];)t++;return(r=e[t++])&&(c=parseFloat(r)),new Ze(i,c)}return new Ze}function zn(e){return e.x.toString()+" "+e.y.toString()}function di(e,t){if(0===e)return 0<t?90:0>t?270:0;if(0===t)return 0<e?0:180;if(isNaN(e)||isNaN(t))return 0;var i=180*Math.atan(Math.abs(t/e))/Math.PI;return 0>e?i=0>t?i+180:180-i:0>t&&(i=360-i),i}function jn(e,t){return t.Ud(e),e}function Di(e,t,i,r,c,h){var v=c-i,W=h-r,X=v*v+W*W,Z=-(i-=e)*v-(r-=t)*W;return 0>=Z||Z>=X?(v=c-e,W=h-t,Math.min(i*i+r*r,v*v+W*W)):(e=v*r-W*i)*e/X}function Li(e,t,i,r){return(e=i-e)*e+(t=r-t)*t}function ms(e,t,i,r){return t=r-t,0==(e=i-e)?0<t?90:0>t?270:0:0===t?0<e?0:180:isNaN(e)||isNaN(t)?0:(r=180*Math.atan(Math.abs(t/e))/Math.PI,0>e?r=0>t?r+180:180-r:0>t&&(r=360-r),r)}Se.className="Set",Se.uniqueHash=ke,Se.hashIdUnique=Ne,Se.hashId=Je,rt.prototype.reset=function(){this.la=this.ja.Ba,this.na=null},rt.prototype.next=function(){var e=this.ja;if(e.Ba!==this.la&&null===this.key)return!1;var t=this.na;return null!==(t=null===t?e.fa:t.oa)?(this.na=t,this.value=this.key=e=t.key,!0):(this.xd(),!1)},rt.prototype.dd=function(){return this.next()},rt.prototype.first=function(){var e=this.ja;return this.la=e.Ba,null!==(e=e.fa)?(this.na=e,this.value=this.key=e=e.key):null},rt.prototype.any=function(e){var t=this.ja;for(this.na=null,t=t.fa;null!==t;){if(e(t.key))return!0;t=t.oa}return!1},rt.prototype.all=function(e){var t=this.ja;for(this.na=null,t=t.fa;null!==t;){if(!e(t.key))return!1;t=t.oa}return!0},rt.prototype.each=function(e){var t=this.ja;for(this.na=null,t=t.fa;null!==t;)e(t.key),t=t.oa;return this},rt.prototype.map=function(e){var t=this.ja;this.na=null;var i=new gt;for(t=t.fa;null!==t;)i.add(e(t.key)),t=t.oa;return i.iterator},rt.prototype.filter=function(e){var t=this.ja;this.na=null;var i=new gt;for(t=t.fa;null!==t;){var r=t.key;e(r)&&i.add(r),t=t.oa}return i.iterator},rt.prototype.xd=function(){this.value=this.key=null,this.la=-1},rt.prototype.toString=function(){return null!==this.na?"MapKeySetIterator@"+this.na.value:"MapKeySetIterator"},I.Object.defineProperties(rt.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ja.Cb}}}),rt.prototype.first=rt.prototype.first,rt.prototype.hasNext=rt.prototype.dd,rt.prototype.next=rt.prototype.next,rt.prototype.reset=rt.prototype.reset,rt.className="MapKeySetIterator",y(ft,Se),(N=ft.prototype).freeze=function(){return this},N.ha=function(){return this},N.toString=function(){return"MapKeySet("+this.ja.toString()+")"},N.add=function(){return z("This Set is read-only: "+this.toString()),this},N.contains=function(e){return this.ja.contains(e)},N.has=function(e){return this.contains(e)},N.remove=function(){return z("This Set is read-only: "+this.toString()),!1},N.delete=function(e){return this.remove(e)},N.clear=function(){z("This Set is read-only: "+this.toString())},N.first=function(){var e=this.ja.fa;return null!==e?e.key:null},ft.prototype.any=function(e){for(var t=this.ja.fa;null!==t;){if(e(t.key))return!0;t=t.oa}return!1},ft.prototype.all=function(e){for(var t=this.ja.fa;null!==t;){if(!e(t.key))return!1;t=t.oa}return!0},ft.prototype.each=function(e){for(var t=this.ja.fa;null!==t;)e(t.key),t=t.oa;return this},ft.prototype.map=function(e){for(var t=new Se,i=this.ja.fa;null!==i;)t.add(e(i.key)),i=i.oa;return t},ft.prototype.filter=function(e){for(var t=new Se,i=this.ja.fa;null!==i;){var r=i.key;e(r)&&t.add(r),i=i.oa}return t},ft.prototype.copy=function(){return new ft(this.ja)},ft.prototype.Qv=function(){var i,e=new Se,t=this.ja.Db;for(i in t)e.add(t[i].key);return e},ft.prototype.Na=function(){var r,e=this.ja.Db,t=Array(this.ja.Cb),i=0;for(r in e)t[i]=e[r].key,i++;return t},ft.prototype.Pv=function(){var i,e=new gt,t=this.ja.Db;for(i in t)e.add(t[i].key);return e},I.Object.defineProperties(ft.prototype,{count:{get:function(){return this.ja.Cb}},size:{get:function(){return this.ja.Cb}},iterator:{get:function(){return 0>=this.ja.Cb?Ct:new rt(this.ja)}}}),ft.prototype.toList=ft.prototype.Pv,ft.prototype.toArray=ft.prototype.Na,ft.prototype.toSet=ft.prototype.Qv,ft.prototype.first=ft.prototype.first,ft.prototype.clear=ft.prototype.clear,ft.prototype.delete=ft.prototype.delete,ft.prototype.remove=ft.prototype.remove,ft.prototype.has=ft.prototype.has,ft.prototype.contains=ft.prototype.contains,ft.prototype.add=ft.prototype.add,ft.prototype.thaw=ft.prototype.ha,ft.prototype.freeze=ft.prototype.freeze,ft.className="MapKeySet",Xt.prototype.reset=function(){var e=this.ja;e.Re=null,this.la=e.Ba,this.na=null},Xt.prototype.next=function(){var e=this.ja;if(e.Ba!==this.la&&null===this.key)return!1;var t=this.na;return null!==(t=null===t?e.fa:t.oa)?(this.na=t,this.value=t.value,this.key=t.key,!0):(this.xd(),!1)},Xt.prototype.dd=function(){return this.next()},Xt.prototype.first=function(){var e=this.ja;if(this.la=e.Ba,null!==(e=e.fa)){this.na=e;var t=e.value;return this.key=e.key,this.value=t}return null},Xt.prototype.any=function(e){var t=this.ja;for(this.na=t.Re=null,t=t.fa;null!==t;){if(e(t.value))return!0;t=t.oa}return!1},Xt.prototype.all=function(e){var t=this.ja;for(this.na=t.Re=null,t=t.fa;null!==t;){if(!e(t.value))return!1;t=t.oa}return!0},Xt.prototype.each=function(e){var t=this.ja;for(this.na=t.Re=null,t=t.fa;null!==t;)e(t.value),t=t.oa;return this},Xt.prototype.map=function(e){var t=this.ja;this.na=t.Re=null;var i=new gt;for(t=t.fa;null!==t;)i.add(e(t.value)),t=t.oa;return i.iterator},Xt.prototype.filter=function(e){var t=this.ja;this.na=t.Re=null;var i=new gt;for(t=t.fa;null!==t;){var r=t.value;e(r)&&i.add(r),t=t.oa}return i.iterator},Xt.prototype.xd=function(){this.value=this.key=null,this.la=-1,this.ja.Re=this},Xt.prototype.toString=function(){return null!==this.na?"MapValueSetIterator@"+this.na.value:"MapValueSetIterator"},I.Object.defineProperties(Xt.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ja.Cb}}}),Xt.prototype.first=Xt.prototype.first,Xt.prototype.hasNext=Xt.prototype.dd,Xt.prototype.next=Xt.prototype.next,Xt.prototype.reset=Xt.prototype.reset,Xt.className="MapValueSetIterator",It.prototype.toString=function(){return"{"+this.key+":"+this.value+"}"},It.className="KeyValuePair",In.prototype.reset=function(){var e=this.ja;e.Ja=null,this.la=e.Ba,this.na=null},In.prototype.next=function(){var e=this.ja;if(e.Ba!==this.la&&null===this.key)return!1;var t=this.na;return null!==(t=null===t?e.fa:t.oa)?(this.na=t,this.key=t.key,this.value=t.value,!0):(this.xd(),!1)},In.prototype.dd=function(){return this.next()},In.prototype.first=function(){var e=this.ja;return this.la=e.Ba,null!==(e=e.fa)?(this.na=e,this.key=e.key,this.value=e.value,e):null},In.prototype.any=function(e){var t=this.ja;for(this.na=t.Ja=null,t=t.fa;null!==t;){if(e(t))return!0;t=t.oa}return!1},In.prototype.all=function(e){var t=this.ja;for(this.na=t.Ja=null,t=t.fa;null!==t;){if(!e(t))return!1;t=t.oa}return!0},In.prototype.each=function(e){var t=this.ja;for(this.na=t.Ja=null,t=t.fa;null!==t;)e(t),t=t.oa;return this},In.prototype.map=function(e){var t=this.ja;this.na=t.Ja=null;var i=new gt;for(t=t.fa;null!==t;)i.add(e(t)),t=t.oa;return i.iterator},In.prototype.filter=function(e){var t=this.ja;this.na=t.Ja=null;var i=new gt;for(t=t.fa;null!==t;)e(t)&&i.add(t),t=t.oa;return i.iterator},In.prototype.xd=function(){this.value=this.key=null,this.la=-1,this.ja.Ja=this},In.prototype.toString=function(){return null!==this.na?"MapIterator@"+this.na:"MapIterator"},I.Object.defineProperties(In.prototype,{iterator:{get:function(){return this}},count:{get:function(){return this.ja.Cb}}}),In.prototype.first=In.prototype.first,In.prototype.hasNext=In.prototype.dd,In.prototype.next=In.prototype.next,In.prototype.reset=In.prototype.reset,In.className="MapIterator",(N=Kt.prototype).kb=function(){var e=this.Ba;999999999<++e&&(e=0),this.Ba=e},N.freeze=function(){return this.v=!0,this},N.ha=function(){return this.v=!1,this},N.toString=function(){return"Map()#"+Je(this)},N.add=function(e,t){this.v&&F(this,e);var i=e;x(e)&&(i=Ne(e));var r=this.Db[i];return void 0===r?(this.Cb++,e=new It(e,t),this.Db[i]=e,null===(i=this.Se)?this.fa=e:(e.wl=i,i.oa=e),this.Se=e,this.kb()):r.value=t,this},N.set=function(e,t){return this.add(e,t)},N.addAll=function(e){if(null===e)return this;if(B(e))for(var t=e.length,i=0;i<t;i++){var r=e[i];this.add(r.key,r.value)}else for(e=e.iterator;e.next();)this.add((t=e.value).key,t.value);return this},N.first=function(){return this.fa},Kt.prototype.any=function(e){for(var t=this.fa;null!==t;){if(e(t))return!0;t=t.oa}return!1},Kt.prototype.all=function(e){for(var t=this.fa;null!==t;){if(!e(t))return!1;t=t.oa}return!0},Kt.prototype.each=function(e){for(var t=this.fa;null!==t;)e(t),t=t.oa;return this},Kt.prototype.map=function(e){for(var t=new Kt,i=this.fa;null!==i;)t.add(i.key,e(i)),i=i.oa;return t},Kt.prototype.filter=function(e){for(var t=new Kt,i=this.fa;null!==i;)e(i)&&t.add(i.key,i.value),i=i.oa;return t},(N=Kt.prototype).contains=function(e){var t=e;return(!x(e)||void 0!==(t=Je(e)))&&void 0!==this.Db[t]},N.has=function(e){return this.contains(e)},N.J=function(e){var t=e;return x(e)&&void 0===(t=Je(e))||void 0===(e=this.Db[t])?null:e.value},N.get=function(e){return this.J(e)},N.remove=function(e){if(null===e)return!1;this.v&&F(this,e);var t=e;if(x(e)&&void 0===(t=Je(e))||void 0===(e=this.Db[t]))return!1;var i=e.oa,r=e.wl;return null!==i&&(i.wl=r),null!==r&&(r.oa=i),this.fa===e&&(this.fa=i),this.Se===e&&(this.Se=r),delete this.Db[t],this.Cb--,this.kb(),!0},N.delete=function(e){return this.remove(e)},N.clear=function(){this.v&&F(this),this.Db={},this.Cb=0,null!==this.Ja&&this.Ja.reset(),null!==this.Re&&this.Re.reset(),this.Se=this.fa=null,this.kb()},Kt.prototype.copy=function(){var i,e=new Kt,t=this.Db;for(i in t){var r=t[i];e.add(r.key,r.value)}return e},Kt.prototype.Na=function(){var r,e=this.Db,t=Array(this.Cb),i=0;for(r in e){var c=e[r];t[i]=new It(c.key,c.value),i++}return t},Kt.prototype.Yd=function(){return new ft(this)},I.Object.defineProperties(Kt.prototype,{count:{get:function(){return this.Cb}},size:{get:function(){return this.Cb}},iterator:{get:function(){if(0>=this.count)return Ct;var e=this.Ja;return null!==e?(e.reset(),e):new In(this)}},iteratorKeys:{get:function(){return 0>=this.count?Ct:new rt(this)}},iteratorValues:{get:function(){if(0>=this.count)return Ct;var e=this.Re;return null!==e?(e.reset(),e):new Xt(this)}}}),Kt.prototype.toKeySet=Kt.prototype.Yd,Kt.prototype.toArray=Kt.prototype.Na,Kt.prototype.clear=Kt.prototype.clear,Kt.prototype.delete=Kt.prototype.delete,Kt.prototype.remove=Kt.prototype.remove,Kt.prototype.get=Kt.prototype.get,Kt.prototype.getValue=Kt.prototype.J,Kt.prototype.has=Kt.prototype.has,Kt.prototype.contains=Kt.prototype.contains,Kt.prototype.first=Kt.prototype.first,Kt.prototype.addAll=Kt.prototype.addAll,Kt.prototype.set=Kt.prototype.set,Kt.prototype.add=Kt.prototype.add,Kt.prototype.thaw=Kt.prototype.ha,Kt.prototype.freeze=Kt.prototype.freeze,Kt.className="Map",Ze.prototype.assign=function(e){return this.F=e.F,this.G=e.G,this},Ze.prototype.h=function(e,t){return this.F=e,this.G=t,this},Ze.prototype.tg=function(e,t){return this.F=e,this.G=t,this},Ze.prototype.set=function(e){return this.F=e.F,this.G=e.G,this},Ze.prototype.copy=function(){var e=new Ze;return e.F=this.F,e.G=this.G,e},(N=Ze.prototype).ga=function(){return this.v=!0,Object.freeze(this),this},N.I=function(){return Object.isFrozen(this)?this:this.copy().freeze()},N.freeze=function(){return this.v=!0,this},N.ha=function(){return Object.isFrozen(this)&&z("cannot thaw constant: "+this),this.v=!1,this},N.toString=function(){return"Point("+this.x+","+this.y+")"},N.A=function(e){return e instanceof Ze&&this.F===e.x&&this.G===e.y},N.Di=function(e,t){return this.F===e&&this.G===t},N.Qa=function(e){return Yn.w(this.F,e.x)&&Yn.w(this.G,e.y)},N.add=function(e){return this.F+=e.x,this.G+=e.y,this},N.Xd=function(e){return this.F-=e.x,this.G-=e.y,this},N.offset=function(e,t){return this.F+=e,this.G+=t,this},Ze.prototype.rotate=function(e){if(0===e)return this;var t=this.F,i=this.G;if(0===t&&0===i)return this;if(360<=e?e-=360:0>e&&(e+=360),90===e){e=0;var r=1}else 180===e?(e=-1,r=0):270===e?(e=0,r=-1):(r=e*Math.PI/180,e=Math.cos(r),r=Math.sin(r));return this.F=e*t-r*i,this.G=r*t+e*i,this},(N=Ze.prototype).scale=function(e,t){return this.F*=e,this.G*=t,this},N.Be=function(e){var t=e.x-this.F;return t*t+(e=e.y-this.G)*e},N.cd=function(e,t){return(e-=this.F)*e+(t-=this.G)*t},N.normalize=function(){var e=this.F,t=this.G,i=Math.sqrt(e*e+t*t);return 0<i&&(this.F=e/i,this.G=t/i),this},N.Wa=function(e){return di(e.x-this.F,e.y-this.G)},N.direction=function(e,t){return di(e-this.F,t-this.G)},N.Iz=function(e,t,i,r){return Yn.Qi(e,t,i,r,this.F,this.G,this),this},N.Jz=function(e,t){return Yn.Qi(e.x,e.y,t.x,t.y,this.F,this.G,this),this},N.Uz=function(e,t,i,r){return Yn.Tp(this.F,this.G,e,t,i,r,this),this},N.Vz=function(e,t){return Yn.Tp(this.F,this.G,e.x,e.y,t.width,t.height,this),this},N.Ti=function(e,t){return this.F=e.x+t.x*e.width+t.offsetX,this.G=e.y+t.y*e.height+t.offsetY,this},N.qk=function(e,t,i,r,c){return this.F=e+c.x*i+c.offsetX,this.G=t+c.y*r+c.offsetY,this},N.transform=function(e){return e.ta(this),this},N.o=function(){return isFinite(this.x)&&isFinite(this.y)},Ze.alloc=function(){var e=ci.pop();return void 0===e?new Ze:e},Ze.allocAt=function(e,t){var i=ci.pop();return void 0===i?new Ze(e,t):(i.x=e,i.y=t,i)},Ze.free=function(e){ci.push(e)},I.Object.defineProperties(Ze.prototype,{x:{get:function(){return this.F},set:function(e){this.F=e}},y:{get:function(){return this.G},set:function(e){this.G=e}}}),Ze.prototype.isReal=Ze.prototype.o,Ze.prototype.setSpot=Ze.prototype.qk,Ze.prototype.setRectSpot=Ze.prototype.Ti,Ze.prototype.snapToGridPoint=Ze.prototype.Vz,Ze.prototype.snapToGrid=Ze.prototype.Uz,Ze.prototype.projectOntoLineSegmentPoint=Ze.prototype.Jz,Ze.prototype.projectOntoLineSegment=Ze.prototype.Iz,Ze.prototype.direction=Ze.prototype.direction,Ze.prototype.directionPoint=Ze.prototype.Wa,Ze.prototype.normalize=Ze.prototype.normalize,Ze.prototype.distanceSquared=Ze.prototype.cd,Ze.prototype.distanceSquaredPoint=Ze.prototype.Be,Ze.prototype.scale=Ze.prototype.scale,Ze.prototype.rotate=Ze.prototype.rotate,Ze.prototype.offset=Ze.prototype.offset,Ze.prototype.subtract=Ze.prototype.Xd,Ze.prototype.add=Ze.prototype.add,Ze.prototype.equalsApprox=Ze.prototype.Qa,Ze.prototype.equalTo=Ze.prototype.Di,Ze.prototype.equals=Ze.prototype.A,Ze.prototype.set=Ze.prototype.set,Ze.prototype.setTo=Ze.prototype.tg;var Mn,Un,_n,Xn,Ii,En,ln,Dn,Rn=null,Qt=null,Wt=null,Yt=null,ci=[];function Ue(e,t){void 0===e?this.Z=this.$=0:"number"==typeof e&&(0<=e||isNaN(e))&&"number"==typeof t&&(0<=t||isNaN(t))?(this.$=e,this.Z=t):z("Invalid arguments to Size constructor: "+e+", "+t),this.v=!1}function Ai(e){if("string"==typeof e){e=e.split(" ");for(var t=0,i=0;""===e[t];)t++;var r=e[t++];r&&(i=parseFloat(r));for(var c=0;""===e[t];)t++;return(r=e[t++])&&(c=parseFloat(r)),new Ue(i,c)}return new Ue}function os(e){return e.width.toString()+" "+e.height.toString()}Ze.className="Point",Ze.parse=wn,Ze.stringify=zn,Ze.distanceLineSegmentSquared=Di,Ze.distanceSquared=Li,Ze.direction=ms,Ze.Origin=Rn=new Ze(0,0).ga(),Ze.InfiniteTopLeft=Qt=new Ze(-1/0,-1/0).ga(),Ze.InfiniteBottomRight=Wt=new Ze(1/0,1/0).ga(),Ze.SixPoint=Yt=new Ze(6,6).ga(),Ze.NoPoint=Mn=new Ze(NaN,NaN).ga(),Ze.parse=wn,Ze.stringify=zn,Ze.distanceLineSegmentSquared=Di,Ze.distanceSquared=Li,Ze.direction=ms,Ue.prototype.assign=function(e){return this.$=e.$,this.Z=e.Z,this},Ue.prototype.h=function(e,t){return this.$=e,this.Z=t,this},Ue.prototype.tg=function(e,t){return this.$=e,this.Z=t,this},Ue.prototype.set=function(e){return this.$=e.$,this.Z=e.Z,this},Ue.prototype.copy=function(){var e=new Ue;return e.$=this.$,e.Z=this.Z,e},(N=Ue.prototype).ga=function(){return this.v=!0,Object.freeze(this),this},N.I=function(){return Object.isFrozen(this)?this:this.copy().freeze()},N.freeze=function(){return this.v=!0,this},N.ha=function(){return Object.isFrozen(this)&&z("cannot thaw constant: "+this),this.v=!1,this},N.toString=function(){return"Size("+this.width+","+this.height+")"},N.A=function(e){return e instanceof Ue&&this.$===e.width&&this.Z===e.height},N.Di=function(e,t){return this.$===e&&this.Z===t},N.Qa=function(e){return Yn.w(this.$,e.width)&&Yn.w(this.Z,e.height)},N.o=function(){return isFinite(this.width)&&isFinite(this.height)},Ue.alloc=function(){var e=Fs.pop();return void 0===e?new Ue:e},Ue.free=function(e){Fs.push(e)},I.Object.defineProperties(Ue.prototype,{width:{get:function(){return this.$},set:function(e){0>e&&U(e,">= 0",Ue,"width"),this.$=e}},height:{get:function(){return this.Z},set:function(e){0>e&&U(e,">= 0",Ue,"height"),this.Z=e}}}),Ue.prototype.isReal=Ue.prototype.o,Ue.prototype.equalsApprox=Ue.prototype.Qa,Ue.prototype.equalTo=Ue.prototype.Di,Ue.prototype.equals=Ue.prototype.A,Ue.prototype.set=Ue.prototype.set,Ue.prototype.setTo=Ue.prototype.tg;var Fs=[];function sn(e,t,i,r){void 0===e?this.Z=this.$=this.G=this.F=0:e instanceof Ze?(i=e.x,e=e.y,t instanceof Ze?(r=t.x,t=t.y,this.F=Math.min(i,r),this.G=Math.min(e,t),this.$=Math.abs(i-r),this.Z=Math.abs(e-t)):t instanceof Ue?(this.F=i,this.G=e,this.$=t.$,this.Z=t.Z):z("Incorrect arguments supplied to Rect constructor")):"number"==typeof e&&"number"==typeof t&&"number"==typeof i&&(0<=i||isNaN(i))&&"number"==typeof r&&(0<=r||isNaN(r))?(this.F=e,this.G=t,this.$=i,this.Z=r):z("Invalid arguments to Rect constructor: "+e+", "+t+", "+i+", "+r),this.v=!1}function oi(e,t,i){e.$=t,e.Z=i}function pt(e){if("string"==typeof e){e=e.split(" ");for(var t=0,i=0;""===e[t];)t++;var r=e[t++];r&&(i=parseFloat(r));for(var c=0;""===e[t];)t++;(r=e[t++])&&(c=parseFloat(r));for(var h=0;""===e[t];)t++;(r=e[t++])&&(h=parseFloat(r));for(var v=0;""===e[t];)t++;return(r=e[t++])&&(v=parseFloat(r)),new sn(i,c,h,v)}return new sn}function cn(e){return e.x.toString()+" "+e.y.toString()+" "+e.width.toString()+" "+e.height.toString()}function Tn(e,t){return Yn.ca(e.F,t.x)&&Yn.ca(e.G,t.y)&&Yn.ca(e.$,t.width)&&Yn.ca(e.Z,t.height)}function vi(e,t,i,r,c){var h=e.$;return i+c<=-h?(e.F+=h/2,e.$=0):(e.F-=c,e.$+=i+c),t+r<=-(i=e.Z)?(e.G+=i/2,e.Z=0):(e.G-=t,e.Z+=t+r),e}function ui(e,t,i,r,c){var h=Math.max(e.F,t),v=Math.max(e.G,i);return t=Math.min(e.F+e.$,t+r),i=Math.min(e.G+e.Z,i+c),e.F=h,e.G=v,e.$=Math.max(0,t-h),e.Z=Math.max(0,i-v),e}function $i(e,t,i){var r=e.$,c=e.F,h=t.x-i;return!(c>t.width+i+i+h||h>r+c||(r=e.Z,(e=e.G)>t.height+i+i+(c=t.y-i)||c>r+e))}function Nn(e,t,i,r,c){var h=Math.min(e.F,t),v=Math.min(e.G,i);return t=Math.max(e.F+e.$,t+r),i=Math.max(e.G+e.Z,i+c),e.F=h,e.G=v,e.$=t-h,e.Z=i-v,e}function Hn(e,t,i,r,c,h,v,W){return void 0===v&&(v=0),void 0===W&&(W=0),e<=c&&c+v<=e+i&&t<=h&&h+W<=t+r}function Qn(e,t,i,r,c,h,v,W){return!(e>v+c||c>i+e||t>W+h||h>r+t)}Ue.className="Size",Ue.parse=Ai,Ue.stringify=os,Ue.ZeroSize=Un=new Ue(0,0).ga(),Ue.OneSize=_n=new Ue(1,1).ga(),Ue.SixSize=Xn=new Ue(6,6).ga(),Ue.EightSize=Ii=new Ue(8,8).ga(),Ue.TenSize=En=new Ue(10,10).ga(),Ue.InfiniteSize=ln=new Ue(1/0,1/0).ga(),Ue.NoSize=Dn=new Ue(NaN,NaN).ga(),Ue.parse=Ai,Ue.stringify=os,(N=sn.prototype).assign=function(e){return this.F=e.F,this.G=e.G,this.$=e.$,this.Z=e.Z,this},N.h=function(e,t,i,r){return this.F=e,this.G=t,this.$=i,this.Z=r,this},N.tg=function(e,t,i,r){return this.F=e,this.G=t,this.$=i,this.Z=r,this},N.set=function(e){return this.F=e.F,this.G=e.G,this.$=e.$,this.Z=e.Z,this},N.jd=function(e){return this.F=e.x,this.G=e.y,this},N.Sz=function(e){return this.$=e.$,this.Z=e.Z,this},sn.prototype.copy=function(){var e=new sn;return e.F=this.F,e.G=this.G,e.$=this.$,e.Z=this.Z,e},(N=sn.prototype).ga=function(){return this.v=!0,Object.freeze(this),this},N.I=function(){return Object.isFrozen(this)?this:this.copy().freeze()},N.freeze=function(){return this.v=!0,this},N.ha=function(){return Object.isFrozen(this)&&z("cannot thaw constant: "+this),this.v=!1,this},N.toString=function(){return"Rect("+this.x+","+this.y+","+this.width+","+this.height+")"},N.A=function(e){return e instanceof sn&&this.F===e.x&&this.G===e.y&&this.$===e.width&&this.Z===e.height},N.Di=function(e,t,i,r){return this.F===e&&this.G===t&&this.$===i&&this.Z===r},N.Qa=function(e){return Yn.w(this.F,e.x)&&Yn.w(this.G,e.y)&&Yn.w(this.$,e.width)&&Yn.w(this.Z,e.height)},N.ea=function(e){return this.F<=e.x&&this.F+this.$>=e.x&&this.G<=e.y&&this.G+this.Z>=e.y},N.lf=function(e){return this.F<=e.x&&e.x+e.width<=this.F+this.$&&this.G<=e.y&&e.y+e.height<=this.G+this.Z},N.contains=function(e,t,i,r){return void 0===i&&(i=0),void 0===r&&(r=0),this.F<=e&&e+i<=this.F+this.$&&this.G<=t&&t+r<=this.G+this.Z},N.reset=function(){this.Z=this.$=this.G=this.F=0},N.offset=function(e,t){return this.F+=e,this.G+=t,this},N.Uc=function(e,t){return vi(this,t,e,t,e)},N.Lp=function(e){return vi(this,e.top,e.right,e.bottom,e.left)},N.Ov=function(e){return vi(this,-e.top,-e.right,-e.bottom,-e.left)},N.lz=function(e,t,i,r){return vi(this,e,t,i,r)},N.pz=function(e){return ui(this,e.x,e.y,e.width,e.height)},N.gv=function(e,t,i,r){return ui(this,e,t,i,r)},N.Ic=function(e){return this.hv(e.x,e.y,e.width,e.height)},N.hv=function(e,t,i,r){var c=this.$,h=this.F;return!(c!==1/0&&i!==1/0&&(c+=h,i+=e,isNaN(i)||isNaN(c)||h>i||e>c)||(i=this.G,(e=this.Z)!==1/0&&r!==1/0&&(e+=i,r+=t,isNaN(r)||isNaN(e)||i>r||t>e)))},N.Ie=function(e){return Nn(this,e.x,e.y,0,0)},N.Jc=function(e){return Nn(this,e.F,e.G,e.$,e.Z)},N.Vv=function(e,t,i,r){return void 0===i&&(i=0),void 0===r&&(r=0),Nn(this,e,t,i,r)},N.qk=function(e,t,i){return this.F=e-i.offsetX-i.x*this.$,this.G=t-i.offsetY-i.y*this.Z,this},N.o=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},N.rz=function(){return 0===this.width&&0===this.height},sn.alloc=function(){var e=Fi.pop();return void 0===e?new sn:e},sn.allocAt=function(e,t,i,r){var c=Fi.pop();return void 0===c?new sn(e,t,i,r):c.h(e,t,i,r)},sn.free=function(e){Fi.push(e)},I.Object.defineProperties(sn.prototype,{x:{get:function(){return this.F},set:function(e){this.F=e}},y:{get:function(){return this.G},set:function(e){this.G=e}},width:{get:function(){return this.$},set:function(e){0>e&&U(e,">= 0",sn,"width"),this.$=e}},height:{get:function(){return this.Z},set:function(e){0>e&&U(e,">= 0",sn,"height"),this.Z=e}},left:{get:function(){return this.F},set:function(e){this.F=e}},top:{get:function(){return this.G},set:function(e){this.G=e}},right:{get:function(){return this.F+this.$},set:function(e){this.F+=e-(this.F+this.$)}},bottom:{get:function(){return this.G+this.Z},set:function(e){this.G+=e-(this.G+this.Z)}},position:{get:function(){return new Ze(this.F,this.G)},set:function(e){this.F=e.x,this.G=e.y}},size:{get:function(){return new Ue(this.$,this.Z)},set:function(e){this.$=e.width,this.Z=e.height}},center:{get:function(){return new Ze(this.F+this.$/2,this.G+this.Z/2)},set:function(e){this.F=e.x-this.$/2,this.G=e.y-this.Z/2}},centerX:{get:function(){return this.F+this.$/2},set:function(e){this.F=e-this.$/2}},centerY:{get:function(){return this.G+this.Z/2},set:function(e){this.G=e-this.Z/2}}}),sn.prototype.isEmpty=sn.prototype.rz,sn.prototype.isReal=sn.prototype.o,sn.prototype.setSpot=sn.prototype.qk,sn.prototype.union=sn.prototype.Vv,sn.prototype.unionRect=sn.prototype.Jc,sn.prototype.unionPoint=sn.prototype.Ie,sn.prototype.intersects=sn.prototype.hv,sn.prototype.intersectsRect=sn.prototype.Ic,sn.prototype.intersect=sn.prototype.gv,sn.prototype.intersectRect=sn.prototype.pz,sn.prototype.grow=sn.prototype.lz,sn.prototype.subtractMargin=sn.prototype.Ov,sn.prototype.addMargin=sn.prototype.Lp,sn.prototype.inflate=sn.prototype.Uc,sn.prototype.offset=sn.prototype.offset,sn.prototype.contains=sn.prototype.contains,sn.prototype.containsRect=sn.prototype.lf,sn.prototype.containsPoint=sn.prototype.ea,sn.prototype.equalsApprox=sn.prototype.Qa,sn.prototype.equalTo=sn.prototype.Di,sn.prototype.equals=sn.prototype.A,sn.prototype.setSize=sn.prototype.Sz,sn.prototype.setPoint=sn.prototype.jd,sn.prototype.set=sn.prototype.set,sn.prototype.setTo=sn.prototype.tg;var ri,li=null,Fi=[];function ei(e,t,i,r){void 0===e?this.le=this.ae=this.te=this.ve=0:void 0===t?this.left=this.bottom=this.right=this.top=e:void 0===i?(this.top=e,this.right=t,this.bottom=e,this.left=t):void 0!==r?(this.top=e,this.right=t,this.bottom=i,this.left=r):z("Invalid arguments to Margin constructor: "+e+", "+t+", "+i+", "+r),this.v=!1}function Hi(e){if("string"==typeof e){e=e.split(" ");for(var t=0,i=NaN;""===e[t];)t++;var r=e[t++];if(r&&(i=parseFloat(r)),isNaN(i))return new ei;for(var c=NaN;""===e[t];)t++;if((r=e[t++])&&(c=parseFloat(r)),isNaN(c))return new ei(i);for(var h=NaN;""===e[t];)t++;if((r=e[t++])&&(h=parseFloat(r)),isNaN(h))return new ei(i,c);for(var v=NaN;""===e[t];)t++;return(r=e[t++])&&(v=parseFloat(r)),isNaN(v)?new ei(i,c):new ei(i,c,h,v)}return new ei}function gn(e){return e.top.toString()+" "+e.right.toString()+" "+e.bottom.toString()+" "+e.left.toString()}sn.className="Rect",sn.parse=pt,sn.stringify=cn,sn.contains=Hn,sn.intersects=Qn,sn.ZeroRect=ri=new sn(0,0,0,0).ga(),sn.NoRect=li=new sn(NaN,NaN,NaN,NaN).ga(),sn.parse=pt,sn.stringify=cn,sn.contains=Hn,sn.intersects=Qn,ei.prototype.assign=function(e){return this.ve=e.ve,this.te=e.te,this.ae=e.ae,this.le=e.le,this},ei.prototype.tg=function(e,t,i,r){return this.ve=e,this.te=t,this.ae=i,this.le=r,this},ei.prototype.set=function(e){return this.ve=e.ve,this.te=e.te,this.ae=e.ae,this.le=e.le,this},ei.prototype.copy=function(){var e=new ei;return e.ve=this.ve,e.te=this.te,e.ae=this.ae,e.le=this.le,e},(N=ei.prototype).ga=function(){return this.v=!0,Object.freeze(this),this},N.I=function(){return Object.isFrozen(this)?this:this.copy().freeze()},N.freeze=function(){return this.v=!0,this},N.ha=function(){return Object.isFrozen(this)&&z("cannot thaw constant: "+this),this.v=!1,this},N.toString=function(){return"Margin("+this.top+","+this.right+","+this.bottom+","+this.left+")"},N.A=function(e){return e instanceof ei&&this.ve===e.top&&this.te===e.right&&this.ae===e.bottom&&this.le===e.left},N.Di=function(e,t,i,r){return this.ve===e&&this.te===t&&this.ae===i&&this.le===r},N.Qa=function(e){return Yn.w(this.ve,e.top)&&Yn.w(this.te,e.right)&&Yn.w(this.ae,e.bottom)&&Yn.w(this.le,e.left)},N.o=function(){return isFinite(this.top)&&isFinite(this.right)&&isFinite(this.bottom)&&isFinite(this.left)},ei.alloc=function(){var e=Bn.pop();return void 0===e?new ei:e},ei.free=function(e){Bn.push(e)},I.Object.defineProperties(ei.prototype,{top:{get:function(){return this.ve},set:function(e){this.ve=e}},right:{get:function(){return this.te},set:function(e){this.te=e}},bottom:{get:function(){return this.ae},set:function(e){this.ae=e}},left:{get:function(){return this.le},set:function(e){this.le=e}}}),ei.prototype.isReal=ei.prototype.o,ei.prototype.equalsApprox=ei.prototype.Qa,ei.prototype.equalTo=ei.prototype.Di,ei.prototype.equals=ei.prototype.A,ei.prototype.set=ei.prototype.set,ei.prototype.setTo=ei.prototype.tg;var yn=null,hn=null,Bn=[];function mi(){this.m11=1,this.m21=this.m12=0,this.m22=1,this.dy=this.dx=0}ei.className="Margin",ei.parse=Hi,ei.stringify=gn,ei.ZeroMargin=yn=new ei(0,0,0,0).ga(),ei.TwoMargin=hn=new ei(2,2,2,2).ga(),ei.parse=Hi,ei.stringify=gn,mi.prototype.set=function(e){return this.m11=e.m11,this.m12=e.m12,this.m21=e.m21,this.m22=e.m22,this.dx=e.dx,this.dy=e.dy,this},mi.prototype.copy=function(){var e=new mi;return e.m11=this.m11,e.m12=this.m12,e.m21=this.m21,e.m22=this.m22,e.dx=this.dx,e.dy=this.dy,e},(N=mi.prototype).toString=function(){return"Transform("+this.m11+","+this.m12+","+this.m21+","+this.m22+","+this.dx+","+this.dy+")"},N.A=function(e){return e instanceof mi&&this.m11===e.m11&&this.m12===e.m12&&this.m21===e.m21&&this.m22===e.m22&&this.dx===e.dx&&this.dy===e.dy},N.ct=function(){return 0===this.dx&&0===this.dy&&1===this.m11&&0===this.m12&&0===this.m21&&1===this.m22},N.reset=function(){return this.m11=1,this.m21=this.m12=0,this.m22=1,this.dy=this.dx=0,this},N.multiply=function(e){var t=this.m12*e.m11+this.m22*e.m12,i=this.m11*e.m21+this.m21*e.m22,r=this.m12*e.m21+this.m22*e.m22,c=this.m11*e.dx+this.m21*e.dy+this.dx,h=this.m12*e.dx+this.m22*e.dy+this.dy;return this.m11=this.m11*e.m11+this.m21*e.m12,this.m12=t,this.m21=i,this.m22=r,this.dx=c,this.dy=h,this},N.nv=function(e){var t=1/(e.m11*e.m22-e.m12*e.m21),i=e.m22*t,r=-e.m12*t,c=-e.m21*t,h=e.m11*t,v=t*(e.m21*e.dy-e.m22*e.dx);return e=t*(e.m12*e.dx-e.m11*e.dy),t=this.m11*i+this.m21*r,i=this.m12*i+this.m22*r,r=this.m11*c+this.m21*h,c=this.m12*c+this.m22*h,this.dx=this.m11*v+this.m21*e+this.dx,this.dy=this.m12*v+this.m22*e+this.dy,this.m11=t,this.m12=i,this.m21=r,this.m22=c,this},N.bt=function(){var e=1/(this.m11*this.m22-this.m12*this.m21),t=-this.m12*e,i=-this.m21*e,r=this.m11*e,c=e*(this.m21*this.dy-this.m22*this.dx),h=e*(this.m12*this.dx-this.m11*this.dy);return this.m11=this.m22*e,this.m12=t,this.m21=i,this.m22=r,this.dx=c,this.dy=h,this},mi.prototype.rotate=function(e,t,i){if(360<=e?e-=360:0>e&&(e+=360),0===e)return this;if(this.translate(t,i),90===e){e=0;var r=1}else 180===e?(e=-1,r=0):270===e?(e=0,r=-1):(r=e*Math.PI/180,e=Math.cos(r),r=Math.sin(r));var c=this.m12*e+this.m22*r,h=this.m11*-r+this.m21*e,v=this.m12*-r+this.m22*e;return this.m11=this.m11*e+this.m21*r,this.m12=c,this.m21=h,this.m22=v,this.translate(-t,-i),this},(N=mi.prototype).translate=function(e,t){return this.dx+=this.m11*e+this.m21*t,this.dy+=this.m12*e+this.m22*t,this},N.scale=function(e,t){return void 0===t&&(t=e),this.m11*=e,this.m12*=e,this.m21*=t,this.m22*=t,this},N.ta=function(e){var t=e.x,i=e.y;return e.h(t*this.m11+i*this.m21+this.dx,t*this.m12+i*this.m22+this.dy)},N.Ud=function(e){var t=1/(this.m11*this.m22-this.m12*this.m21),i=e.x,r=e.y;return e.h(i*this.m22*t+r*-this.m21*t+t*(this.m21*this.dy-this.m22*this.dx),i*-this.m12*t+r*this.m11*t+t*(this.m12*this.dx-this.m11*this.dy))},N.Uv=function(e){var t=e.F,i=e.G,r=t+e.$,c=i+e.Z,h=this.m11,v=this.m12,W=this.m21,X=this.m22,Z=this.dx,ge=this.dy,ye=t*h+i*W+Z,We=t*v+i*X+ge,Ve=r*h+i*W+Z,st=r*v+i*X+ge;return i=t*h+c*W+Z,t=t*v+c*X+ge,h=r*h+c*W+Z,r=r*v+c*X+ge,c=Math.min(ye,Ve),ye=Math.max(ye,Ve),Ve=Math.min(We,st),We=Math.max(We,st),c=Math.min(c,i),ye=Math.max(ye,i),Ve=Math.min(Ve,t),We=Math.max(We,t),c=Math.min(c,h),ye=Math.max(ye,h),Ve=Math.min(Ve,r),We=Math.max(We,r),e.F=c,e.G=Ve,e.$=ye-c,e.Z=We-Ve,e},mi.alloc=function(){var e=wi.pop();return void 0===e?new mi:e},mi.free=function(e){wi.push(e)},mi.prototype.transformRect=mi.prototype.Uv,mi.prototype.invertedTransformPoint=mi.prototype.Ud,mi.prototype.transformPoint=mi.prototype.ta,mi.prototype.scale=mi.prototype.scale,mi.prototype.translate=mi.prototype.translate,mi.prototype.rotate=mi.prototype.rotate,mi.prototype.invert=mi.prototype.bt,mi.prototype.multiplyInverted=mi.prototype.nv,mi.prototype.multiply=mi.prototype.multiply,mi.prototype.reset=mi.prototype.reset,mi.prototype.isIdentity=mi.prototype.ct,mi.prototype.equals=mi.prototype.A,mi.prototype.set=mi.prototype.set;var Cn,ut,Mt,Bt,Rt,Jt,He,fe,nt,Ot,rn,Jn,Oi,Ci,Ui,ps,Ji,_s,js,es,zs,Gi,ds,rs,ao,wo,zr,Ea,Rr,A0,oa,bi,Po,Pn,Ei,fi,wi=[];function Si(e,t,i,r){void 0===e?this.Nd=this.Md=this.G=this.F=0:(void 0===t&&(t=0),void 0===i&&(i=0),void 0===r&&(r=0),this.x=e,this.y=t,this.offsetX=i,this.offsetY=r),this.v=!1}function Ks(e,t){return e.F=NaN,e.G=NaN,e.Md=t,e}function fa(e){if("string"==typeof e){if("None"===(e=e.trim()))return Cn;if("TopLeft"===e)return ut;if("Top"===e||"TopCenter"===e||"MiddleTop"===e)return Mt;if("TopRight"===e)return Bt;if("Left"===e||"LeftCenter"===e||"MiddleLeft"===e)return Rt;if("Center"===e)return Jt;if("Right"===e||"RightCenter"===e||"MiddleRight"===e)return He;if("BottomLeft"===e)return fe;if("Bottom"===e||"BottomCenter"===e||"MiddleBottom"===e)return nt;if("BottomRight"===e)return Ot;if("TopSide"===e)return rn;if("LeftSide"===e)return Jn;if("RightSide"===e)return Oi;if("BottomSide"===e)return Ci;if("TopBottomSides"===e)return Ui;if("LeftRightSides"===e)return ps;if("TopLeftSides"===e)return Ji;if("TopRightSides"===e)return _s;if("BottomLeftSides"===e)return js;if("BottomRightSides"===e)return es;if("NotTopSide"===e)return zs;if("NotLeftSide"===e)return Gi;if("NotRightSide"===e)return ds;if("NotBottomSide"===e)return rs;if("AllSides"===e)return ao;if("Default"===e)return wo;e=e.split(" ");for(var t=0,i=0;""===e[t];)t++;var r=e[t++];void 0!==r&&0<r.length&&(i=parseFloat(r));for(var c=0;""===e[t];)t++;void 0!==(r=e[t++])&&0<r.length&&(c=parseFloat(r));for(var h=0;""===e[t];)t++;void 0!==(r=e[t++])&&0<r.length&&(h=parseFloat(r));for(var v=0;""===e[t];)t++;return void 0!==(r=e[t++])&&0<r.length&&(v=parseFloat(r)),new Si(i,c,h,v)}return new Si}function za(e){return e.gb()?e.x.toString()+" "+e.y.toString()+" "+e.offsetX.toString()+" "+e.offsetY.toString():e.toString()}mi.className="Transform",mi.xF="54a702f3e53909c447824c6706603faf4c",Si.prototype.assign=function(e){return this.F=e.F,this.G=e.G,this.Md=e.Md,this.Nd=e.Nd,this},Si.prototype.tg=function(e,t,i,r){return this.F=e,this.G=t,this.Md=i,this.Nd=r,this},Si.prototype.set=function(e){return this.F=e.F,this.G=e.G,this.Md=e.Md,this.Nd=e.Nd,this},Si.prototype.copy=function(){var e=new Si;return e.F=this.F,e.G=this.G,e.Md=this.Md,e.Nd=this.Nd,e},(N=Si.prototype).ga=function(){return this.v=!0,Object.freeze(this),this},N.I=function(){return Object.isFrozen(this)?this:this.copy().freeze()},N.freeze=function(){return this.v=!0,this},N.ha=function(){return Object.isFrozen(this)&&z("cannot thaw constant: "+this),this.v=!1,this},N.toString=function(){return this.gb()?0===this.Md&&0===this.Nd?"Spot("+this.x+","+this.y+")":"Spot("+this.x+","+this.y+","+this.offsetX+","+this.offsetY+")":this.A(Cn)?"None":this.A(ut)?"TopLeft":this.A(Mt)?"Top":this.A(Bt)?"TopRight":this.A(Rt)?"Left":this.A(Jt)?"Center":this.A(He)?"Right":this.A(fe)?"BottomLeft":this.A(nt)?"Bottom":this.A(Ot)?"BottomRight":this.A(rn)?"TopSide":this.A(Jn)?"LeftSide":this.A(Oi)?"RightSide":this.A(Ci)?"BottomSide":this.A(Ui)?"TopBottomSides":this.A(ps)?"LeftRightSides":this.A(Ji)?"TopLeftSides":this.A(_s)?"TopRightSides":this.A(js)?"BottomLeftSides":this.A(es)?"BottomRightSides":this.A(zs)?"NotTopSide":this.A(Gi)?"NotLeftSide":this.A(ds)?"NotRightSide":this.A(rs)?"NotBottomSide":this.A(ao)?"AllSides":this.A(wo)?"Default":"None"},N.A=function(e){return e instanceof Si&&(this.F===e.x||isNaN(this.F)&&isNaN(e.x))&&(this.G===e.y||isNaN(this.G)&&isNaN(e.y))&&this.Md===e.offsetX&&this.Nd===e.offsetY},N.rv=function(){return new Si(.5-(this.F-.5),.5-(this.G-.5),-this.Md,-this.Nd)},N.pf=function(e){if(!this.qf())return!1;if(!e.qf())if(e.A(zr))e=Jn;else if(e.A(Ea))e=Oi;else if(e.A(Rr))e=rn;else{if(!e.A(A0))return!1;e=Ci}return(this.Nd&(e=e.offsetY))===e},N.gb=function(){return!isNaN(this.x)&&!isNaN(this.y)},N.jc=function(){return isNaN(this.x)||isNaN(this.y)},N.qf=function(){return isNaN(this.x)&&isNaN(this.y)&&1===this.offsetX&&0!==this.offsetY},N.et=function(){return isNaN(this.x)&&isNaN(this.y)&&0===this.offsetX&&0===this.offsetY},N.Kb=function(){return isNaN(this.x)&&isNaN(this.y)&&-1===this.offsetX&&0===this.offsetY},Si.alloc=function(){var e=l1.pop();return void 0===e?new Si:e},Si.free=function(e){l1.push(e)},I.Object.defineProperties(Si.prototype,{x:{get:function(){return this.F},set:function(e){this.F=e}},y:{get:function(){return this.G},set:function(e){this.G=e}},offsetX:{get:function(){return this.Md},set:function(e){this.Md=e}},offsetY:{get:function(){return this.Nd},set:function(e){this.Nd=e}}}),Si.prototype.isDefault=Si.prototype.Kb,Si.prototype.isNone=Si.prototype.et,Si.prototype.isSide=Si.prototype.qf,Si.prototype.isNoSpot=Si.prototype.jc,Si.prototype.isSpot=Si.prototype.gb,Si.prototype.includesSide=Si.prototype.pf,Si.prototype.opposite=Si.prototype.rv,Si.prototype.equals=Si.prototype.A,Si.prototype.set=Si.prototype.set,Si.prototype.setTo=Si.prototype.tg;var l1=[];Si.className="Spot",Si.parse=fa,Si.stringify=za,Si.None=Cn=Ks(new Si(0,0,0,0),0).ga(),Si.Default=wo=Ks(new Si(0,0,-1,0),-1).ga(),Si.TopLeft=ut=new Si(0,0,0,0).ga(),Si.TopCenter=Mt=new Si(.5,0,0,0).ga(),Si.TopRight=Bt=new Si(1,0,0,0).ga(),Si.LeftCenter=Rt=new Si(0,.5,0,0).ga(),Si.Center=Jt=new Si(.5,.5,0,0).ga(),Si.RightCenter=He=new Si(1,.5,0,0).ga(),Si.BottomLeft=fe=new Si(0,1,0,0).ga(),Si.BottomCenter=nt=new Si(.5,1,0,0).ga(),Si.BottomRight=Ot=new Si(1,1,0,0).ga(),Si.MiddleTop=oa=Mt,Si.MiddleLeft=bi=Rt,Si.MiddleRight=Po=He,Si.MiddleBottom=Pn=nt,Si.Top=Rr=Mt,Si.Left=zr=Rt,Si.Right=Ea=He,Si.Bottom=A0=nt,Si.TopSide=rn=Ks(new Si(0,0,1,1),1).ga(),Si.LeftSide=Jn=Ks(new Si(0,0,1,2),1).ga(),Si.RightSide=Oi=Ks(new Si(0,0,1,4),1).ga(),Si.BottomSide=Ci=Ks(new Si(0,0,1,8),1).ga(),Si.TopBottomSides=Ui=Ks(new Si(0,0,1,9),1).ga(),Si.LeftRightSides=ps=Ks(new Si(0,0,1,6),1).ga(),Si.TopLeftSides=Ji=Ks(new Si(0,0,1,3),1).ga(),Si.TopRightSides=_s=Ks(new Si(0,0,1,5),1).ga(),Si.BottomLeftSides=js=Ks(new Si(0,0,1,10),1).ga(),Si.BottomRightSides=es=Ks(new Si(0,0,1,12),1).ga(),Si.NotTopSide=zs=Ks(new Si(0,0,1,14),1).ga(),Si.NotLeftSide=Gi=Ks(new Si(0,0,1,13),1).ga(),Si.NotRightSide=ds=Ks(new Si(0,0,1,11),1).ga(),Si.NotBottomSide=rs=Ks(new Si(0,0,1,7),1).ga(),Si.AllSides=ao=Ks(new Si(0,0,1,15),1).ga(),Ei=new Si(.156,.156).ga(),fi=new Si(.844,.844).ga(),Si.parse=fa,Si.stringify=za;var Yn={$z:"7da71ca0ad381e90",xg:(Math.sqrt(2)-1)/3*4,ew:null,sqrt:function(e){if(0>=e)return 0;var t=Yn.ew;if(null===t){t=[];for(var i=0;2e3>=i;i++)t[i]=Math.sqrt(i);Yn.ew=t}return 1>e?2e3>=(i=1/e)?1/t[0|i]:Math.sqrt(e):2e3>=e?t[0|e]:Math.sqrt(e)},w:function(e,t){return.5>(e-=t)&&-.5<e},ca:function(e,t){return 5e-8>(e-=t)&&-5e-8<e},Ub:function(e,t,i,r,c,h,v){if(0>=c&&(c=1e-6),e<i)var W=e,X=i;else W=i,X=e;if(t<r)var Z=t,ge=r;else Z=r,ge=t;if(e===i)return Z<=v&&v<=ge&&e-c<=h&&h<=e+c;if(t===r)return W<=h&&h<=X&&t-c<=v&&v<=t+c;if(X+=c,(W-=c)<=h&&h<=X&&(ge+=c,(Z-=c)<=v&&v<=ge))if(X-W>ge-Z){if(!(e-i>c||i-e>c))return!0;if((h=(r-t)/(i-e)*(h-e)+t)-c<=v&&v<=h+c)return!0}else{if(!(t-r>c||r-t>c))return!0;if((v=(i-e)/(r-t)*(v-t)+e)-c<=h&&h<=v+c)return!0}return!1},Js:function(e,t,i,r,c,h,v,W,X,Z,ge,ye){if(Yn.Ub(e,t,v,W,ye,i,r)&&Yn.Ub(e,t,v,W,ye,c,h))return Yn.Ub(e,t,v,W,ye,Z,ge);var We=(e+i)/2,Ve=(t+r)/2,st=(i+c)/2,jt=(r+h)/2,nn=((r=(We+st)/2)+(st=(st+(c=(c+v)/2))/2))/2,on=((i=(Ve+jt)/2)+(jt=(jt+(h=(h+W)/2))/2))/2;return Yn.Js(e,t,We,Ve,r,i,nn,on,X,Z,ge,ye)||Yn.Js(nn,on,st,jt,c,h,v,W,X,Z,ge,ye)},qy:function(e,t,i,r,c,h,v,W,X){var Z=(i+c)/2,ge=(r+h)/2;return X.h((((e+i)/2+Z)/2+(Z+(c+v)/2)/2)/2,(((t+r)/2+ge)/2+(ge+(h+W)/2)/2)/2),X},py:function(e,t,i,r,c,h,v,W){var X=(i+c)/2,Z=(r+h)/2;return ms(((e+i)/2+X)/2,((t+r)/2+Z)/2,(X+(c+v)/2)/2,(Z+(h+W)/2)/2)},Sl:function(e,t,i,r,c,h,v,W,X,Z){if(Yn.Ub(e,t,v,W,X,i,r)&&Yn.Ub(e,t,v,W,X,c,h))Nn(Z,e,t,0,0),Nn(Z,v,W,0,0);else{var ge=(e+i)/2,ye=(t+r)/2,We=(i+c)/2,Ve=(r+h)/2,st=((r=(ge+We)/2)+(We=(We+(c=(c+v)/2))/2))/2,jt=((i=(ye+Ve)/2)+(Ve=(Ve+(h=(h+W)/2))/2))/2;Yn.Sl(e,t,ge,ye,r,i,st,jt,X,Z),Yn.Sl(st,jt,We,Ve,c,h,v,W,X,Z)}return Z},ze:function(e,t,i,r,c,h,v,W,X,Z){if(Yn.Ub(e,t,v,W,X,i,r)&&Yn.Ub(e,t,v,W,X,c,h))0===Z.length&&(Z.push(e),Z.push(t)),Z.push(v),Z.push(W);else{var ge=(e+i)/2,ye=(t+r)/2,We=(i+c)/2,Ve=(r+h)/2,st=((r=(ge+We)/2)+(We=(We+(c=(c+v)/2))/2))/2,jt=((i=(ye+Ve)/2)+(Ve=(Ve+(h=(h+W)/2))/2))/2;Yn.ze(e,t,ge,ye,r,i,st,jt,X,Z),Yn.ze(st,jt,We,Ve,c,h,v,W,X,Z)}return Z},uv:function(e,t,i,r,c,h,v,W,X,Z){if(Yn.Ub(e,t,c,h,Z,i,r))return Yn.Ub(e,t,c,h,Z,W,X);var ge=(e+i)/2,ye=(t+r)/2,We=(ge+(i=(i+c)/2))/2,Ve=(ye+(r=(r+h)/2))/2;return Yn.uv(e,t,ge,ye,We,Ve,v,W,X,Z)||Yn.uv(We,Ve,i,r,c,h,v,W,X,Z)},iA:function(e,t,i,r,c,h,v){return v.h(((e+i)/2+(i+c)/2)/2,((t+r)/2+(r+h)/2)/2),v},tv:function(e,t,i,r,c,h,v,W){if(Yn.Ub(e,t,c,h,v,i,r))Nn(W,e,t,0,0),Nn(W,c,h,0,0);else{var X=(e+i)/2,Z=(t+r)/2,ge=(X+(i=(i+c)/2))/2,ye=(Z+(r=(r+h)/2))/2;Yn.tv(e,t,X,Z,ge,ye,v,W),Yn.tv(ge,ye,i,r,c,h,v,W)}return W},jq:function(e,t,i,r,c,h,v,W){if(Yn.Ub(e,t,c,h,v,i,r))0===W.length&&(W.push(e),W.push(t)),W.push(c),W.push(h);else{var X=(e+i)/2,Z=(t+r)/2,ge=(X+(i=(i+c)/2))/2,ye=(Z+(r=(r+h)/2))/2;Yn.jq(e,t,X,Z,ge,ye,v,W),Yn.jq(ge,ye,i,r,c,h,v,W)}return W},Mp:function(e,t,i,r,c,h,v,W,X,Z,ge,ye,We,Ve){if(Yn.Ub(e,t,v,W,We,i,r)&&Yn.Ub(e,t,v,W,We,c,h)){var st=(e-v)*(Z-ye)-(t-W)*(X-ge);if(0===st)return!1;if(We=((e*W-t*v)*(X-ge)-(e-v)*(X*ye-Z*ge))/st,st=((e*W-t*v)*(Z-ye)-(t-W)*(X*ye-Z*ge))/st,(X>ge?X-ge:ge-X)<(Z>ye?Z-ye:ye-Z)){if(t<W?v=t:(v=W,W=t),st<v||st>W)return!1}else if(e<v?W=e:(W=v,v=e),We<W||We>v)return!1;return Ve.h(We,st),!0}var jt=(t+r)/2,nn=((st=(e+i)/2)+(i=(i+c)/2))/2,on=(jt+(r=(r+h)/2))/2,Fn=(nn+(i=(i+(c=(c+v)/2))/2))/2,Gn=(on+(r=(r+(h=(h+W)/2))/2))/2,hi=(ge-X)*(ge-X)+(ye-Z)*(ye-Z),gi=!1;return Yn.Mp(e,t,st,jt,nn,on,Fn,Gn,X,Z,ge,ye,We,Ve)&&(e=(Ve.x-X)*(Ve.x-X)+(Ve.y-Z)*(Ve.y-Z))<hi&&(hi=e,gi=!0),e=Ve.x,t=Ve.y,Yn.Mp(Fn,Gn,i,r,c,h,v,W,X,Z,ge,ye,We,Ve)&&((Ve.x-X)*(Ve.x-X)+(Ve.y-Z)*(Ve.y-Z)<hi?gi=!0:Ve.h(e,t)),gi},Np:function(e,t,i,r,c,h,v,W,X,Z,ge,ye,We){var Ve=0;if(Yn.Ub(e,t,v,W,We,i,r)&&Yn.Ub(e,t,v,W,We,c,h)){if(0==(We=(e-v)*(Z-ye)-(t-W)*(X-ge)))return Ve;var st=((e*W-t*v)*(X-ge)-(e-v)*(X*ye-Z*ge))/We,jt=((e*W-t*v)*(Z-ye)-(t-W)*(X*ye-Z*ge))/We;if(st>=ge)return Ve;if((X>ge?X-ge:ge-X)<(Z>ye?Z-ye:ye-Z)){if(t<W?(e=t,t=W):e=W,jt<e||jt>t)return Ve}else if(e<v?(t=e,e=v):t=v,st<t||st>e)return Ve;0<We?Ve++:0>We&&Ve--}else{jt=(t+r)/2;var nn=(i+c)/2,on=(r+h)/2,Fn=((r=((st=(e+i)/2)+nn)/2)+(nn=(nn+(c=(c+v)/2))/2))/2,Gn=((i=(jt+on)/2)+(on=(on+(h=(h+W)/2))/2))/2;Ve+=Yn.Np(e,t,st,jt,r,i,Fn,Gn,X,Z,ge,ye,We),Ve+=Yn.Np(Fn,Gn,nn,on,c,h,v,W,X,Z,ge,ye,We)}return Ve},Qi:function(e,t,i,r,c,h,v){return Yn.ca(e,i)?(t<r?(i=t,t=r):i=r,h<i?(v.h(e,i),!1):h>t?(v.h(e,t),!1):(v.h(e,h),!0)):Yn.ca(t,r)?(e<i?(r=e,e=i):r=i,c<r?(v.h(r,t),!1):c>e?(v.h(e,t),!1):(v.h(c,t),!0)):-5e-6>(c=((e-c)*(e-i)+(t-h)*(t-r))/((i-e)*(i-e)+(r-t)*(r-t)))?(v.h(e,t),!1):1.000005<c?(v.h(i,r),!1):(v.h(e+c*(i-e),t+c*(r-t)),!0)},Fe:function(e,t,i,r,c,h,v,W,X){return Yn.w(e,i)&&Yn.w(t,r)?(X.h(e,t),!1):Yn.ca(c,v)?Yn.ca(e,i)?(Yn.Qi(e,t,i,r,c,h,X),!1):Yn.Qi(e,t,i,r,c,(r-t)/(i-e)*(c-e)+t,X):(W=(W-h)/(v-c),Yn.ca(e,i)?(i=W*(e-c)+h,t<r?(c=t,t=r):c=r,i<c?(X.h(e,c),!1):i>t?(X.h(e,t),!1):(X.h(e,i),!0)):Yn.ca(W,v=(r-t)/(i-e))?(Yn.Qi(e,t,i,r,c,h,X),!1):(c=(v*e-W*c+h-t)/(v-W),Yn.ca(v,0)?(e<i?(r=e,e=i):r=i,c<r?(X.h(r,t),!1):c>e?(X.h(e,t),!1):(X.h(c,t),!0)):Yn.Qi(e,t,i,r,c,v*(c-e)+t,X)))},fA:function(e,t,i,r,c){return Yn.Fe(i.x,i.y,r.x,r.y,e.x,e.y,t.x,t.y,c)},eA:function(e,t,i,r,c,h,v,W,X,Z){function ge(nn,on){var Fn=(nn-e)*(nn-e)+(on-t)*(on-t);Fn<ye&&(ye=Fn,X.h(nn,on))}var ye=1/0;ge(X.x,X.y);var We=0,Ve=0,st=0,jt=0;if(c<v?(We=c,Ve=v):(We=v,Ve=c),h<W?(st=c,jt=v):(st=v,jt=c),We=(Ve-We)/2+Z,Z=(jt-st)/2+Z,c=(c+v)/2,h=(h+W)/2,0===We||0===Z)return X;if(.5>(i>e?i-e:e-i)){if(0>(We=1-(i-c)*(i-c)/(We*We)))return X;r=-Z*(We=Math.sqrt(We))+h,ge(i,Z*We+h),ge(i,r)}else{if(0>(We=(W=2*(i=(r-t)/(i-e))*(t-i*e)/(Z*Z)-2*i*h/(Z*Z)-2*c/(We*We))*W-4*(r=1/(We*We)+i*i/(Z*Z))*(2*i*e*h/(Z*Z)-2*t*h/(Z*Z)+h*h/(Z*Z)+c*c/(We*We)-1+(t-i*e)*(t-i*e)/(Z*Z))))return X;ge(Z=(-W+(We=Math.sqrt(We)))/(2*r),i*Z-i*e+t),ge(We=(-W-We)/(2*r),i*We-i*e+t)}return X},Tc:function(e,t,i,r,c,h,v,W,X){var Z=1e21,ge=e,ye=t;if(Yn.Fe(e,t,e,r,c,h,v,W,X)){var We=(X.x-c)*(X.x-c)+(X.y-h)*(X.y-h);We<Z&&(Z=We,ge=X.x,ye=X.y)}return Yn.Fe(i,t,i,r,c,h,v,W,X)&&(We=(X.x-c)*(X.x-c)+(X.y-h)*(X.y-h))<Z&&(Z=We,ge=X.x,ye=X.y),Yn.Fe(e,t,i,t,c,h,v,W,X)&&(t=(X.x-c)*(X.x-c)+(X.y-h)*(X.y-h))<Z&&(Z=t,ge=X.x,ye=X.y),Yn.Fe(e,r,i,r,c,h,v,W,X)&&(e=(X.x-c)*(X.x-c)+(X.y-h)*(X.y-h))<Z&&(Z=e,ge=X.x,ye=X.y),X.h(ge,ye),1e21>Z},dA:function(e,t,i,r,c,h,v,W,X){return v=c-v,c=0==(i=e-i)||0===v?0===i?(t=(h-W)/v)*(W=e)+(h-t*c):(h=(t-r)/i)*(W=c)+(t-h*e):(r=(t-r)/i)*(W=(h-(W=(h-W)/v)*c-(e=t-r*e))/(r-W))+e,X.h(W,c),X},$s:function(e,t,i){var r=t.x,c=t.y,h=i.x,v=i.y,W=e.left,X=e.right,Z=e.top,ge=e.bottom;return r===h?(c<v?(h=c,c=v):h=v,W<=r&&r<=X&&h<=ge&&c>=Z):c===v?(r<h?(v=r,r=h):v=h,Z<=c&&c<=ge&&v<=X&&r>=W):!!(e.ea(t)||e.ea(i)||Yn.Zs(W,Z,X,Z,r,c,h,v)||Yn.Zs(X,Z,X,ge,r,c,h,v)||Yn.Zs(X,ge,W,ge,r,c,h,v)||Yn.Zs(W,ge,W,Z,r,c,h,v))},Zs:function(e,t,i,r,c,h,v,W){return 0>=Yn.Ms(e,t,i,r,c,h)*Yn.Ms(e,t,i,r,v,W)&&0>=Yn.Ms(c,h,v,W,e,t)*Yn.Ms(c,h,v,W,i,r)},Ms:function(e,t,i,r,c,h){return i-=e,0==(h=(e=c-e)*(r-=t)-(t=h-t)*i)&&0<(h=e*i+t*r)&&0>(h=(e-i)*i+(t-r)*r)&&(h=0),0>h?-1:0<h?1:0},gq:function(e){return 0>e&&(e+=360),360<=e&&(e-=360),e},ax:function(e,t,i,r,c,h){var v=Math.PI;h||(r*=v/180,c*=v/180);var W=r>c?-1:1;h=[];var X=v/2,Z=r;if(1e-5>(r=Math.min(2*v,Math.abs(c-r))))return X=Z+W*Math.min(r,X),W=e+i*Math.cos(Z),Z=t+i*Math.sin(Z),e+=i*Math.cos(X),t+=i*Math.sin(X),h.push([W,Z,i=(W+e)/2,X=(Z+t)/2,i,X,e,t]),h;for(;1e-5<r;)c=Z+W*Math.min(r,X),h.push(Yn.yy(i,Z,c,e,t)),r-=Math.abs(c-Z),Z=c;return h},yy:function(e,t,i,r,c){var h=(i-t)/2,v=e*Math.cos(h),W=e*Math.sin(h),X=-W,Z=v*v+X*X,ge=Z+v*v+X*W;return W=v-(Z=4/3*(Math.sqrt(2*Z*ge)-ge)/(v*W-X*v))*X,X=-(v=X+Z*v),Z=h+t,h=Math.cos(Z),Z=Math.sin(Z),[r+e*Math.cos(t),c+e*Math.sin(t),r+W*h-v*Z,c+W*Z+v*h,r+W*h-X*Z,c+W*Z+X*h,r+e*Math.cos(i),c+e*Math.sin(i)]},Tp:function(e,t,i,r,c,h,v){var W=i=Math.floor((e-i)/c)*c+i;return i+c-e<c/2&&(W=i+c),e=r=Math.floor((t-r)/h)*h+r,r+h-t<h/2&&(e=r+h),v.h(W,e),v},lx:function(e,t){var r,i=Math.max(e,t);e=Math.min(e,t);do{t=i%e,i=r=e,e=t}while(0<t);return r},Dy:function(e,t,i,r){var c=0>i,h=0>r;if(e<t)var v=1,W=0;else v=0,W=1;var X=0===v?e:t,Z=0===v?i:r;return(0===v?c:h)&&(Z=-Z),i=0===(v=W)?i:r,(0===v?c:h)&&(i=-i),Yn.Ey(X,0===v?e:t,Z,i,0,0)},Ey:function(e,t,i,r,c,h){if(0<r)if(0<i){c=e*e,e*=i;var v=t*r,W=-(h=t*t)+v,X=-h+Math.sqrt(e*e+v*v);t=W;for(var Z=0;9999999999>Z&&(t=.5*(W+X))!==W&&t!==X;++Z){var ge=e/(t+c),ye=v/(t+h);if(0<(ge=ge*ge+ye*ye-1))W=t;else{if(!(0>ge))break;X=t}}i=c*i/(t+c)-i,r=h*r/(t+h)-r,i=Math.sqrt(i*i+r*r)}else i=Math.abs(r-t);else(h=e*i)<(r=e*e-t*t)?(r=h/r,h=t*Math.sqrt(Math.abs(1-r*r)),i=e*r-i,i=Math.sqrt(i*i+h*h)):i=Math.abs(i-e);return i},Je:new Be,Bm:new Be};function so(e){ke(this),this.v=!1,void 0===e&&(e=Tr),this.va=e,this.Bc=this.mc=this.bd=this.ad=0,this.gj=new gt,this.hr=this.gj.Ba,this.Qq=(new sn).freeze(),this.ra=!0,this.Nm=this.xk=null,this.Om=NaN,this.bf=ut,this.cf=Ot,this.cl=this.el=NaN,this.Df=Kr}function Hr(e,t){return e.type===Wa&&t.type===Tr&&!!(1===t.figures.count&&(t=t.figures.N(0),1===t.segments.count&&Yn.w(e.startX,t.startX)&&Yn.w(e.startY,t.startY)&&(t=t.segments.N(0),t.type===Lr&&Yn.w(e.endX,t.endX)&&Yn.w(e.endY,t.endY))))}function vr(e){return e.toString()}function Sa(e,t){function i(){return jt>=hi-1||null!==X[jt+1].match(/[UuBbMmZzLlHhVvCcSsQqTtAaFfXx]/)}function r(){return jt++,X[jt]}function c(){var Ms=new Ze(parseFloat(r()),parseFloat(r()));return nn===nn.toLowerCase()&&(Ms.x=Gn.x+Ms.x,Ms.y=Gn.y+Ms.y),Ms}function h(){return Gn=c()}function v(){return Fn=c()}function W(){var Ms=on.toLowerCase();return"c"!==Ms&&"s"!==Ms&&"q"!==Ms&&"t"!==Ms?Gn:new Ze(2*Gn.x-Fn.x,2*Gn.y-Fn.y)}void 0===t&&(t=!1);var X=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/,/gm," ")).replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2")).replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2")).replace(/([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])([^\s])/gm,"$1 $2")).replace(/([^\s])([UuBbMmZzLlHhVvCcSsQqTtAaFfXx])/gm,"$1 $2")).replace(/([0-9])([+\-])/gm,"$1 $2")).replace(/([Aa](\s+[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $3 $4 ")).replace(/[\s\r\t\n]+/gm," ")).replace(/^\s+|\s+$/g,"")).split(" ");for(e=0;e<X.length;e++){var Z=X[e];if(null!==Z.match(/(\.[0-9]*)(\.)/gm)){for(var ge=ie(),ye="",We=!1,Ve=0;Ve<Z.length;Ve++){var st=Z[Ve];"."!==st||We?"."===st?(ge.push(ye),ye="."):ye+=st:(We=!0,ye+=st)}for(ge.push(ye),X.splice(e,1),Z=0;Z<ge.length;Z++)X.splice(e+Z,0,ge[Z]);e+=ge.length-1,ne(ge)}}var jt=-1,nn="",on="";ge=new Ze(0,0);var Fn=new Ze(0,0),Gn=new Ze(0,0),hi=X.length;for(e=Up(null),ye=Z=!1,We=!0,Ve=null;!(jt>=hi-1);)if(on=nn,""!==(nn=r()))switch(nn.toUpperCase()){case"X":We=!0,ye=Z=!1;break;case"M":for(Ve=h(),null===e.ec||!0===We?(Kc(e,Ve.x,Ve.y,Z,!ye),We=!1):e.moveTo(Ve.x,Ve.y),ge=Gn;!i();)Ve=h(),e.lineTo(Ve.x,Ve.y);break;case"L":for(;!i();)Ve=h(),e.lineTo(Ve.x,Ve.y);break;case"H":for(;!i();)Gn=new Ze((nn===nn.toLowerCase()?Gn.x:0)+parseFloat(r()),Gn.y),e.lineTo(Gn.x,Gn.y);break;case"V":for(;!i();)Gn=new Ze(Gn.x,(nn===nn.toLowerCase()?Gn.y:0)+parseFloat(r())),e.lineTo(Gn.x,Gn.y);break;case"C":for(;!i();){Ve=c(),st=v();var gi=h();ac(e,Ve.x,Ve.y,st.x,st.y,gi.x,gi.y)}break;case"S":for(;!i();)Ve=W(),st=v(),gi=h(),ac(e,Ve.x,Ve.y,st.x,st.y,gi.x,gi.y);break;case"Q":for(;!i();)Ve=v(),st=h(),$1(e,Ve.x,Ve.y,st.x,st.y);break;case"T":for(;!i();)Fn=Ve=W(),st=h(),$1(e,Ve.x,Ve.y,st.x,st.y);break;case"B":for(;!i();){Ve=parseFloat(r()),st=parseFloat(r()),gi=parseFloat(r());var xi=parseFloat(r()),ns=parseFloat(r()),ls=ns,ks=!1;i()||(ls=parseFloat(r()),i()||(ks=0!==parseFloat(r()))),nn===nn.toLowerCase()&&(gi+=Gn.x,xi+=Gn.y),e.arcTo(Ve,st,gi,xi,ns,ls,ks)}break;case"A":for(;!i();)Eu(e,Ve=Math.abs(parseFloat(r())),st=Math.abs(parseFloat(r())),gi=parseFloat(r()),xi=!!parseFloat(r()),ns=!!parseFloat(r()),(ls=h()).x,ls.y);break;case"Z":Uh(e),Gn=ge;break;case"F":for(Ve="",st=1;X[jt+st];)if(null!==X[jt+st].match(/[Uu]/))st++;else{if(null!==X[jt+st].match(/[UuBbMmZzLlHhVvCcSsQqTtAaFfXx]/)){Ve=X[jt+st];break}st++}Ve.match(/[Mm]/)?Z=!0:0<e.ec.segments.length&&(e.ec.isFilled=!0);break;case"U":for(Ve="",st=1;X[jt+st];)if(null!==X[jt+st].match(/[Ff]/))st++;else{if(null!==X[jt+st].match(/[UuBbMmZzLlHhVvCcSsQqTtAaFfXx]/)){Ve=X[jt+st];break}st++}Ve.match(/[Mm]/)?ye=!0:e.qq(!1)}if(ge=e.Us,Pd=e,t)for(t=ge.figures.iterator;t.next();)t.value.isFilled=!0;return ge}function X1(e,t){for(var i=e.length,r=Ze.alloc(),c=0;c<i;c++){var h=e[c];r.x=h[0],r.y=h[1],t.ta(r),h[0]=r.x,h[1]=r.y,r.x=h[2],r.y=h[3],t.ta(r),h[2]=r.x,h[3]=r.y,r.x=h[4],r.y=h[5],t.ta(r),h[4]=r.x,h[5]=r.y,r.x=h[6],r.y=h[7],t.ta(r),h[6]=r.x,h[7]=r.y}Ze.free(r)}function _1(e,t,i){switch(e.type){case Wa:case Jr:case p0:i?t.h(e.ad,e.bd,0,0):Nn(t,e.ad,e.bd,0,0),Nn(t,e.mc,e.Bc,0,0);break;case Tr:var r=e.figures;e=r.j,r=r.length;for(var c=0;c<r;c++){var h=e[c];i&&0===c?t.h(h.startX,h.startY,0,0):Nn(t,h.startX,h.startY,0,0);for(var v=h.segments.j,W=v.length,X=h.startX,Z=h.startY,ge=0;ge<W;ge++){var ye=v[ge];switch(ye.type){case Lr:case ma:Nn(t,X=ye.endX,Z=ye.endY,0,0);break;case Ia:Yn.Sl(X,Z,ye.point1X,ye.point1Y,ye.point2X,ye.point2Y,ye.endX,ye.endY,.5,t),X=ye.endX,Z=ye.endY;break;case Vs:Yn.tv(X,Z,ye.point1X,ye.point1Y,ye.endX,ye.endY,.5,t),X=ye.endX,Z=ye.endY;break;case Ar:case gr:var We=ye.type===Ar?Da(ye,h):y0(ye,h,X,Z),Ve=We.length;if(0===Ve){Nn(t,X=ye.centerX,Z=ye.centerY,0,0);break}ye=null;for(var st=0;st<Ve;st++)Yn.Sl((ye=We[st])[0],ye[1],ye[2],ye[3],ye[4],ye[5],ye[6],ye[7],.5,t);null!==ye&&(X=ye[6],Z=ye[7]);break;default:z("Unknown Segment type: "+ye.type)}}}break;default:z("Unknown Geometry type: "+e.type)}}function K1(e,t,i,r,c,h,v,W){if(Yn.Ub(c,h,v,W,.05,e,t))return NaN;var X=(e-i)*(h-W);if(0===X)return 0;var Z=((e*r-t*i)*(c-v)-(e-i)*(c*W-h*v))/X;if(t=(e*r-t*i)*(h-W)/X,Z>=e)return 0;if((c>v?c-v:v-c)<(h>W?h-W:W-h)){if(h<W){if(t<h||t>W)return 0}else if(t<W||t>h)return 0}else if(c<v){if(Z<c||Z>v)return 0}else if(Z<v||Z>c)return 0;return 0<X?1:-1}function Ga(e,t,i,r){for(var c=(e=e.figures.j).length,h=0;h<c;h++)if(e[h].ea(t,i,r))return!0;return!1}function cl(e){if(null===e.xk){var t=e.xk=[],i=e.Nm=[],r=[],c=[];if(e.type===Wa)r.push(e.startX),r.push(e.startY),r.push(e.endX),r.push(e.endY),t.push(r),c.push(Math.sqrt((e.startX-e.endX)*(e.startX-e.endX)+(e.startY-e.endY)*(e.startY-e.endY))),i.push(c);else if(e.type===Jr)r.push(e.startX),r.push(e.startY),r.push(e.endX),r.push(e.startY),r.push(e.endX),r.push(e.endY),r.push(e.startX),r.push(e.endY),r.push(e.startX),r.push(e.startY),t.push(r),c.push(Math.abs(e.startX-e.endX)),c.push(Math.abs(e.startY-e.endY)),c.push(Math.abs(e.startX-e.endX)),c.push(Math.abs(e.startY-e.endY)),i.push(c);else if(e.type===p0){var h=new Ta;h.startX=e.endX,h.startY=(e.startY+e.endY)/2;var v=new Ao(Ar);if(v.startAngle=0,v.sweepAngle=360,v.centerX=(e.startX+e.endX)/2,v.centerY=(e.startY+e.endY)/2,v.radiusX=Math.abs(e.startX-e.endX)/2,v.radiusY=Math.abs(e.startY-e.endY)/2,h.add(v),0===(c=(e=Da(v,h)).length))r.push(v.centerX),r.push(v.centerY);else{v=h.startX,h=h.startY;for(var W=0;W<c;W++){var X=e[W];Yn.ze(v,h,X[2],X[3],X[4],X[5],X[6],X[7],.5,r),v=X[6],h=X[7]}}t.push(r),i.push(Ol(r))}else for(e=e.figures.iterator;e.next();){(r=[]).push((c=e.value).startX),r.push(c.startY),W=v=c.startX,X=h=c.startY;for(var Z=c.segments.j,ge=Z.length,ye=0;ye<ge;ye++){var We=Z[ye];switch(We.type){case ma:4<=r.length&&(t.push(r),i.push(Ol(r))),(r=[]).push(We.endX),r.push(We.endY),W=v=We.endX,X=h=We.endY;break;case Lr:r.push(We.endX),r.push(We.endY),v=We.endX,h=We.endY;break;case Ia:Yn.ze(v,h,We.point1X,We.point1Y,We.point2X,We.point2Y,We.endX,We.endY,.5,r),v=We.endX,h=We.endY;break;case Vs:Yn.jq(v,h,We.point1X,We.point1Y,We.endX,We.endY,.5,r),v=We.endX,h=We.endY;break;case Ar:var Ve=Da(We,c),st=Ve.length;if(0===st){r.push(We.centerX),r.push(We.centerY),v=We.centerX,h=We.centerY;break}for(var jt=0;jt<st;jt++){var nn=Ve[jt];Yn.ze(v,h,nn[2],nn[3],nn[4],nn[5],nn[6],nn[7],.5,r),v=nn[6],h=nn[7]}break;case gr:if(0===(st=(Ve=y0(We,c,v,h)).length)){r.push(We.centerX),r.push(We.centerY),v=We.centerX,h=We.centerY;break}for(jt=0;jt<st;jt++)Yn.ze(v,h,(nn=Ve[jt])[2],nn[3],nn[4],nn[5],nn[6],nn[7],.5,r),v=nn[6],h=nn[7];break;default:z("Segment not of valid type: "+We.type)}We.isClosed&&(r.push(W),r.push(X))}4<=r.length&&(t.push(r),i.push(Ol(r)))}}}function Ol(e){for(var t=[],i=0,r=0,c=e.length,h=0;h<c;h+=2){var v=e[h],W=e[h+1];0!==h&&t.push(Math.sqrt(Li(i,r,v,W))),i=v,r=W}return t}Yn.za=Yn.$z,so.prototype.copy=function(){var e=new so;e.va=this.va,e.ad=this.ad,e.bd=this.bd,e.mc=this.mc,e.Bc=this.Bc;for(var t=this.gj.j,i=t.length,r=e.gj,c=0;c<i;c++){var h=t[c].copy();r.add(h)}return e.hr=this.hr,e.Qq.assign(this.Qq),e.ra=this.ra,e.xk=this.xk,e.Nm=this.Nm,e.Om=this.Om,e.bf=this.bf.I(),e.cf=this.cf.I(),e.el=this.el,e.cl=this.cl,e.Df=this.Df,e},(N=so.prototype).ga=function(){return this.freeze(),Object.freeze(this),this},N.freeze=function(){this.v=!0;var e=this.figures;e.freeze();for(var t=(e=e.j).length,i=0;i<t;i++)e[i].freeze();return this},N.ha=function(){Object.isFrozen(this)&&z("cannot thaw constant: "+this),this.v=!1;var e=this.figures;e.ha();for(var t=(e=e.j).length,i=0;i<t;i++)e[i].ha();return this},N.Qa=function(e){if(!(e instanceof so))return!1;if(this.type!==e.type)return this.type===Wa&&e.type===Tr?Hr(this,e):e.type===Wa&&this.type===Tr&&Hr(e,this);if(this.type===Tr){var t=this.figures.j,i=t.length;if(i!==(e=e.figures.j).length)return!1;for(var r=0;r<i;r++)if(!t[r].Qa(e[r]))return!1;return!0}return Yn.w(this.startX,e.startX)&&Yn.w(this.startY,e.startY)&&Yn.w(this.endX,e.endX)&&Yn.w(this.endY,e.endY)},N.fb=function(e){e.classType===so&&(this.type=e)},N.toString=function(e){switch(void 0===e&&(e=-1),this.type){case Wa:return 0>e?"M"+this.startX.toString()+" "+this.startY.toString()+"L"+this.endX.toString()+" "+this.endY.toString():"M"+this.startX.toFixed(e)+" "+this.startY.toFixed(e)+"L"+this.endX.toFixed(e)+" "+this.endY.toFixed(e);case Jr:var t=new sn(this.startX,this.startY,0,0);return t.Vv(this.endX,this.endY,0,0),0>e?"M"+t.x.toString()+" "+t.y.toString()+"H"+t.right.toString()+"V"+t.bottom.toString()+"H"+t.left.toString()+"z":"M"+t.x.toFixed(e)+" "+t.y.toFixed(e)+"H"+t.right.toFixed(e)+"V"+t.bottom.toFixed(e)+"H"+t.left.toFixed(e)+"z";case p0:if((t=new sn(this.startX,this.startY,0,0)).Vv(this.endX,this.endY,0,0),0>e)return"M"+(e=t.left.toString()+" "+(t.y+t.height/2).toString())+"A"+(t.width/2).toString()+" "+(t.height/2).toString()+" 0 0 1 "+t.right.toString()+" "+(t.y+t.height/2).toString()+"A"+(t.width/2).toString()+" "+(t.height/2).toString()+" 0 0 1 "+e;var i=t.left.toFixed(e)+" "+(t.y+t.height/2).toFixed(e);return"M"+i+"A"+(t.width/2).toFixed(e)+" "+(t.height/2).toFixed(e)+" 0 0 1 "+t.right.toFixed(e)+" "+(t.y+t.height/2).toFixed(e)+"A"+(t.width/2).toFixed(e)+" "+(t.height/2).toFixed(e)+" 0 0 1 "+i;case Tr:t="";for(var r=(i=this.figures.j).length,c=0;c<r;c++){var h=i[c];0<c&&(t+=" x "),h.isFilled&&(t+="F "),t+=h.toString(e)}return t;default:return this.type.toString()}},N.lv=function(){if(this.ra||this.hr!==this.figures.Ba)return!0;for(var e=this.figures.j,t=e.length,i=0;i<t;i++)if(e[i].lv())return!0;return!1},so.prototype.computeBounds=function(){this.ra=!1,this.Nm=this.xk=null,this.Om=NaN,this.hr=this.figures.Ba;for(var e=this.figures.j,t=e.length,i=0;i<t;i++){var r=e[i];r.ra=!1;var c=r.segments;r.ss=c.Ba,c=(r=c.j).length;for(var h=0;h<c;h++){var v=r[h];v.ra=!1,v.Ke=null}}(e=this.Qq).ha(),isNaN(this.el)||isNaN(this.cl)?e.h(0,0,0,0):e.h(0,0,this.el,this.cl),_1(this,e,!1),Nn(e,0,0,0,0),e.freeze()},so.prototype.$w=function(){var e=new sn;return _1(this,e,!0),e},so.prototype.normalize=function(){this.v&&F(this);var e=this.$w();return this.offset(-e.x,-e.y),new Ze(-e.x,-e.y)},so.prototype.offset=function(e,t){return this.v&&F(this),this.transform(1,0,0,1,e,t),this},so.prototype.scale=function(e,t){return this.v&&F(this),this.transform(e,0,0,t,0,0),this},so.prototype.rotate=function(e,t,i){this.v&&F(this),void 0===t&&(t=0),void 0===i&&(i=0);var r=mi.alloc();return r.reset(),r.rotate(e,t,i),this.transform(r.m11,r.m12,r.m21,r.m22,r.dx,r.dy),mi.free(r),this},(N=so.prototype).transform=function(e,t,i,r,c,h){switch(this.type){case Wa:case Jr:case p0:var v=this.ad,W=this.bd;this.ad=v*e+W*i+c,this.bd=v*t+W*r+h,this.mc=(v=this.mc)*e+(W=this.Bc)*i+c,this.Bc=v*t+W*r+h;break;case Tr:for(var X=this.figures.j,Z=X.length,ge=0;ge<Z;ge++){var ye=X[ge];ye.startX=(v=ye.startX)*e+(W=ye.startY)*i+c,ye.startY=v*t+W*r+h;for(var We=(ye=ye.segments.j).length,Ve=0;Ve<We;Ve++){var st=ye[Ve];switch(st.type){case Lr:case ma:st.endX=(v=st.endX)*e+(W=st.endY)*i+c,st.endY=v*t+W*r+h;break;case Ia:st.point1X=(v=st.point1X)*e+(W=st.point1Y)*i+c,st.point1Y=v*t+W*r+h,st.point2X=(v=st.point2X)*e+(W=st.point2Y)*i+c,st.point2Y=v*t+W*r+h,st.endX=(v=st.endX)*e+(W=st.endY)*i+c,st.endY=v*t+W*r+h;break;case Vs:st.point1X=(v=st.point1X)*e+(W=st.point1Y)*i+c,st.point1Y=v*t+W*r+h,st.endX=(v=st.endX)*e+(W=st.endY)*i+c,st.endY=v*t+W*r+h;break;case Ar:st.centerX=(v=st.centerX)*e+(W=st.centerY)*i+c,st.centerY=v*t+W*r+h,0!==t&&(0>(v=180*Math.atan2(t,e)/Math.PI)&&(v+=360),st.startAngle+=v),0>e&&(st.startAngle=180-st.startAngle,st.sweepAngle=-st.sweepAngle),0>r&&(st.startAngle=-st.startAngle,st.sweepAngle=-st.sweepAngle),st.radiusX*=Math.sqrt(e*e+i*i),void 0!==st.radiusY&&(st.radiusY*=Math.sqrt(t*t+r*r));break;case gr:st.endX=(v=st.endX)*e+(W=st.endY)*i+c,st.endY=v*t+W*r+h,0!==t&&(0>(v=180*Math.atan2(t,e)/Math.PI)&&(v+=360),st.xAxisRotation+=v),0>e&&(st.xAxisRotation=180-st.xAxisRotation,st.isClockwiseArc=!st.isClockwiseArc),0>r&&(st.xAxisRotation=-st.xAxisRotation,st.isClockwiseArc=!st.isClockwiseArc),st.radiusX*=Math.sqrt(e*e+i*i),st.radiusY*=Math.sqrt(t*t+r*r);break;default:z("Unknown Segment type: "+st.type)}}}}return this.ra=!0,this},N.ea=function(e,t,i,r){var c=e.x;e=e.y;for(var W,X,Z,ge,ye,h=this.bounds.x-20,v=0,We=this.figures.j,Ve=We.length,st=0;st<Ve;st++){var jt=We[st];if(jt.isFilled){if(i&&jt.ea(c,e,t))return!0;for(var nn=jt.segments,on=W=jt.startX,Fn=X=jt.startY,Gn=nn.j,hi=0;hi<=nn.length;hi++){var gi=void 0;if(hi!==nn.length){var xi=(gi=Gn[hi]).type;ge=gi.endX,ye=gi.endY}else xi=Lr,ge=on,ye=Fn;switch(xi){case ma:if(on=K1(c,e,h,e,W,X,on,Fn),isNaN(on))return!0;v+=on,on=ge,Fn=ye;break;case Lr:if(W=K1(c,e,h,e,W,X,ge,ye),isNaN(W))return!0;v+=W;break;case Ia:v+=Z=Yn.Np(W,X,gi.point1X,gi.point1Y,gi.point2X,gi.point2Y,ge,ye,h,e,c,e,.5);break;case Vs:v+=Z=Yn.Np(W,X,(W+2*gi.point1X)/3,(X+2*gi.point1Y)/3,(2*gi.point1X+ge)/3,(2*gi.point1Y+ye)/3,ge,ye,h,e,c,e,.5);break;case Ar:case gr:var ns=(xi=gi.type===Ar?Da(gi,jt):y0(gi,jt,W,X)).length;if(0===ns){if(W=K1(c,e,h,e,W,X,gi.centerX,gi.centerY),isNaN(W))return!0;v+=W;break}gi=null;for(var ls=0;ls<ns;ls++){if(gi=xi[ls],0===ls){if(Z=K1(c,e,h,e,W,X,gi[0],gi[1]),isNaN(Z))return!0;v+=Z}v+=Z=Yn.Np(gi[0],gi[1],gi[2],gi[3],gi[4],gi[5],gi[6],gi[7],h,e,c,e,.5)}null!==gi&&(ge=gi[6],ye=gi[7]);break;default:z("Unknown Segment type: "+gi.type)}W=ge,X=ye}if(0!==v)return!0;v=0}else if(jt.ea(c,e,r?t:t+2))return!0}return 0!==v},N.cv=function(e,t){if(0>e?e=0:1<e&&(e=1),void 0===t&&(t=new Ze),this.type===Wa)return t.h(this.startX+e*(this.endX-this.startX),this.startY+e*(this.endY-this.startY)),t;for(var i=this.flattenedSegments,r=this.flattenedLengths,c=i.length,h=this.flattenedTotalLength*e,v=0,W=0;W<c;W++){var X=r[W],Z=X.length;for(e=0;e<Z;e++){var ge=X[e];if(v+ge>=h)return t.h((c=(i=i[W])[2*e])+(i[2*e+2]-c)*(r=(h-v)/ge),(W=i[2*e+1])+(i[2*e+3]-W)*r),t;v+=ge}}return t.h(NaN,NaN),t},N.mx=function(e){if(this.type===Wa){var t=this.startX,i=this.startY,r=this.endX,c=this.endY;if(t!==r||i!==c){var h=e.x;if(e=e.y,t===r){if(i<c){var v=i;r=c}else v=c,r=i;return e<=v?v===i?0:1:e>=r?r===i?0:1:Math.abs(e-i)/(r-v)}return i===c?(t<r?v=t:(v=r,r=t),h<=v?v===t?0:1:h>=r?r===t?0:1:Math.abs(h-t)/(r-v)):((h-t)*(h-t)+(e-i)*(e-i))/((r-t)*(r-t)+(c-i)*(c-i))}}else{if(this.type!==Jr){t=this.flattenedSegments,i=this.flattenedLengths,h=this.flattenedTotalLength,r=Ze.alloc(),c=1/0,W=v=0,X=t.length;for(var ge=Z=0,ye=0;ye<X;ye++)for(var We=t[ye],Ve=i[ye],st=We.length,jt=0;jt<st;jt+=2){var nn=We[jt],on=We[jt+1];if(0!==jt){Yn.Qi(Z,ge,nn,on,e.x,e.y,r);var Fn=(r.x-e.x)*(r.x-e.x)+(r.y-e.y)*(r.y-e.y);Fn<c&&(c=Fn,v=W,v+=Math.sqrt((r.x-Z)*(r.x-Z)+(r.y-ge)*(r.y-ge))),W+=Ve[(jt-2)/2]}Z=nn,ge=on}return Ze.free(r),0>(e=v/h)?0:1<e?1:e}var W=this.startY,X=this.endX;if(c=this.endY,(v=this.startX)!==X||W!==c){h=2*(t=X-v)+2*(i=c-W),r=e.x,e=e.y,r=Math.min(Math.max(r,v),X),e=Math.min(Math.max(e,W),c),v=Math.abs(r-v),X=Math.abs(r-X),W=Math.abs(e-W),c=Math.abs(e-c);var Z=Math.min(v,X,W,c);if(Z===W)return r/h;if(Z===X)return(t+e)/h;if(Z===c)return(2*t+i-r)/h;if(Z===v)return(2*t+2*i-e)/h}}return 0},N.add=function(e){return this.gj.add(e),this},N.xm=function(e,t,i,r,c,h,v,W){return this.v&&F(this),this.bf=new Si(e,t,c,h).freeze(),this.cf=new Si(i,r,v,W).freeze(),this},I.Object.defineProperties(so.prototype,{flattenedSegments:{get:function(){return cl(this),this.xk}},flattenedLengths:{get:function(){return cl(this),this.Nm}},flattenedTotalLength:{get:function(){var e=this.Om;if(isNaN(e)){if(this.type===Wa){e=Math.abs(this.endX-this.startX);var t=Math.abs(this.endY-this.startY);e=Math.sqrt(e*e+t*t)}else if(this.type===Jr)e=2*Math.abs(this.endX-this.startX)+2*Math.abs(this.endY-this.startY);else for(var i=(t=this.flattenedLengths).length,r=e=0;r<i;r++)for(var c=t[r],h=c.length,v=0;v<h;v++)e+=c[v];this.Om=e}return e}},type:{get:function(){return this.va},set:function(e){this.va!==e&&(this.v&&F(this,e),this.va=e,this.ra=!0)}},startX:{get:function(){return this.ad},set:function(e){this.ad!==e&&(this.v&&F(this,e),this.ad=e,this.ra=!0)}},startY:{get:function(){return this.bd},set:function(e){this.bd!==e&&(this.v&&F(this,e),this.bd=e,this.ra=!0)}},endX:{get:function(){return this.mc},set:function(e){this.mc!==e&&(this.v&&F(this,e),this.mc=e,this.ra=!0)}},endY:{get:function(){return this.Bc},set:function(e){this.Bc!==e&&(this.v&&F(this,e),this.Bc=e,this.ra=!0)}},figures:{get:function(){return this.gj},set:function(e){this.gj!==e&&(this.v&&F(this,e),this.gj=e,this.ra=!0)}},spot1:{get:function(){return this.bf},set:function(e){this.v&&F(this,e),this.bf=e.I()}},spot2:{get:function(){return this.cf},set:function(e){this.v&&F(this,e),this.cf=e.I()}},defaultStretch:{get:function(){return this.Df},set:function(e){this.v&&F(this,e),this.Df=e}},bounds:{get:function(){return this.lv()&&this.computeBounds(),this.Qq}}}),so.prototype.setSpots=so.prototype.xm,so.prototype.add=so.prototype.add,so.prototype.getFractionForPoint=so.prototype.mx,so.prototype.getPointAlongPath=so.prototype.cv,so.prototype.transform=so.prototype.transform,so.prototype.rotate=so.prototype.rotate,so.prototype.scale=so.prototype.scale,so.prototype.offset=so.prototype.offset,so.prototype.normalize=so.prototype.normalize,so.prototype.computeBoundsWithoutOrigin=so.prototype.$w,so.prototype.equalsApprox=so.prototype.Qa;var Wa=new Pe(so,"Line",0),Jr=new Pe(so,"Rectangle",1),p0=new Pe(so,"Ellipse",2),Tr=new Pe(so,"Path",3);function Ta(e,t,i,r){ke(this),this.v=!1,void 0===i&&(i=!0),this.yr=i,void 0===r&&(r=!0),this.Cr=r,this.ad=void 0!==e?e:0,this.bd=void 0!==t?t:0,this.Bl=new gt,this.ss=this.Bl.Ba,this.ra=!0}function Ao(e,t,i,r,c,h,v,W){ke(this),this.v=!1,void 0===e&&(e=Lr),this.va=e,this.mc=void 0!==t?t:0,this.Bc=void 0!==i?i:0,void 0===r&&(r=0),void 0===c&&(c=0),void 0===h&&(h=0),void 0===v&&(v=0),e===gr?(0>(e=h%360)&&(e+=360),this.se=e,this.mi=0,this.ni=Math.max(r,0),this.Zg=Math.max(c,0),this.il="boolean"==typeof v&&!!v,this.Ek=!!W):(this.se=r,this.mi=c,e===Ar&&(h=Math.max(h,0)),this.ni=h,"number"==typeof v?(e===Ar&&(v=Math.max(v,0)),this.Zg=v):this.Zg=0,this.Ek=this.il=!1),this.lj=!1,this.ra=!0,this.Ke=null}function Da(e,t){if(null!==e.Ke&&!1===t.ra)return e.Ke;var i=e.radiusX,r=e.radiusY;if(void 0===r&&(r=i),0===i||0===r)return e.Ke=[],e.Ke;t=e.se;var c=e.mi,h=Yn.ax(0,0,i<r?i:r,e.startAngle,e.startAngle+e.sweepAngle,!1);if(i!==r){var v=mi.alloc();v.reset(),i<r?v.scale(1,r/i):v.scale(i/r,1),X1(h,v),mi.free(v)}for(i=h.length,r=0;r<i;r++)(v=h[r])[0]+=t,v[1]+=c,v[2]+=t,v[3]+=c,v[4]+=t,v[5]+=c,v[6]+=t,v[7]+=c;return e.Ke=h,e.Ke}function y0(e,t,i,r){function c(jt,nn,on,Fn){return(jt*Fn<nn*on?-1:1)*Math.acos((jt*on+nn*Fn)/(Math.sqrt(jt*jt+nn*nn)*Math.sqrt(on*on+Fn*Fn)))}if(null!==e.Ke&&!1===t.ra)return e.Ke;var h=e.Zg;0===(t=e.ni)&&(t=1e-4),0===h&&(h=1e-4);var v=Math.PI/180*e.se,W=e.il,X=e.Ek,Z=e.mc,ge=e.Bc,ye=Math.cos(v),We=Math.sin(v),Ve=ye*(i-Z)/2+We*(r-ge)/2,st=Ve*Ve/(t*t)+(v=-We*(i-Z)/2+ye*(r-ge)/2)*v/(h*h);return 1<st&&(t*=Math.sqrt(st),h*=Math.sqrt(st)),st=(W===X?-1:1)*Math.sqrt((t*t*h*h-t*t*v*v-h*h*Ve*Ve)/(t*t*v*v+h*h*Ve*Ve)),isNaN(st)&&(st=0),W=st*t*v/h,st=st*-h*Ve/t,isNaN(W)&&(W=0),isNaN(st)&&(st=0),i=(i+Z)/2+ye*W-We*st,r=(r+ge)/2+We*W+ye*st,ge=c(1,0,(Ve-W)/t,(v-st)/h),v=c(ye=(Ve-W)/t,Z=(v-st)/h,Ve=(-Ve-W)/t,W=(-v-st)/h),-1>=(Ve=(ye*Ve+Z*W)/(Math.sqrt(ye*ye+Z*Z)*Math.sqrt(Ve*Ve+W*W)))?v=Math.PI:1<=Ve&&(v=0),!X&&0<v&&(v-=2*Math.PI),X&&0>v&&(v+=2*Math.PI),X=t>h?1:t/h,Ve=t>h?h/t:1,t=Yn.ax(0,0,t>h?t:h,ge,ge+v,!0),(h=mi.alloc()).reset(),h.translate(i,r),h.rotate(e.se,0,0),h.scale(X,Ve),X1(t,h),mi.free(h),e.Ke=t,e.Ke}so.className="Geometry",so.stringify=vr,so.fillPath=function(e){for(var t=(e=e.split(/[Xx]/)).length,i="",r=0;r<t;r++){var c=e[r];i=null!==c.match(/[Ff]/)?0===r?i+c:i+"X"+(" "===c[0]?"":" ")+c:i+(0===r?"":"X ")+"F"+(" "===c[0]?"":" ")+c}return i},so.parse=Sa,so.Line=Wa,so.Rectangle=Jr,so.Ellipse=p0,so.Path=Tr,Ta.prototype.copy=function(){var e=new Ta;e.yr=this.yr,e.Cr=this.Cr,e.ad=this.ad,e.bd=this.bd;for(var t=this.Bl.j,i=t.length,r=e.Bl,c=0;c<i;c++){var h=t[c].copy();r.add(h)}return e.ss=this.ss,e.ra=this.ra,e},(N=Ta.prototype).Qa=function(e){if(!(e instanceof Ta&&Yn.w(this.startX,e.startX)&&Yn.w(this.startY,e.startY)))return!1;var t=this.segments.j,i=t.length;if(i!==(e=e.segments.j).length)return!1;for(var r=0;r<i;r++)if(!t[r].Qa(e[r]))return!1;return!0},N.toString=function(e){void 0===e&&(e=-1);for(var t=0>e?"M"+this.startX.toString()+" "+this.startY.toString():"M"+this.startX.toFixed(e)+" "+this.startY.toFixed(e),i=this.segments.j,r=i.length,c=0;c<r;c++)t+=" "+i[c].toString(e);return t},N.freeze=function(){this.v=!0;var e=this.segments;e.freeze();var t=e.j;e=e.length;for(var i=0;i<e;i++)t[i].freeze();return this},N.ha=function(){this.v=!1;var e=this.segments;e.ha();for(var t=(e=e.j).length,i=0;i<t;i++)e[i].ha();return this},N.lv=function(){if(this.ra)return!0;var e=this.segments;if(this.ss!==e.Ba)return!0;for(var t=(e=e.j).length,i=0;i<t;i++)if(e[i].ra)return!0;return!1},N.add=function(e){return this.Bl.add(e),this},N.ea=function(e,t,i){for(var r=this.startX,c=this.startY,h=r,v=c,W=this.segments.j,X=W.length,Z=0;Z<X;Z++){var ge=W[Z];switch(ge.type){case ma:h=ge.endX,v=ge.endY,r=ge.endX,c=ge.endY;break;case Lr:if(Yn.Ub(r,c,ge.endX,ge.endY,i,e,t))return!0;r=ge.endX,c=ge.endY;break;case Ia:if(Yn.Js(r,c,ge.point1X,ge.point1Y,ge.point2X,ge.point2Y,ge.endX,ge.endY,.5,e,t,i))return!0;r=ge.endX,c=ge.endY;break;case Vs:if(Yn.uv(r,c,ge.point1X,ge.point1Y,ge.endX,ge.endY,.5,e,t,i))return!0;r=ge.endX,c=ge.endY;break;case Ar:case gr:var ye=ge.type===Ar?Da(ge,this):y0(ge,this,r,c),We=ye.length;if(0===We){if(Yn.Ub(r,c,ge.centerX,ge.centerY,i,e,t))return!0;r=ge.centerX,c=ge.centerY;break}for(var Ve=null,st=0;st<We;st++)if(Ve=ye[st],0===st&&Yn.Ub(r,c,Ve[0],Ve[1],i,e,t)||Yn.Js(Ve[0],Ve[1],Ve[2],Ve[3],Ve[4],Ve[5],Ve[6],Ve[7],.5,e,t,i))return!0;null!==Ve&&(r=Ve[6],c=Ve[7]);break;default:z("Unknown Segment type: "+ge.type)}if(ge.isClosed&&(r!==h||c!==v)&&Yn.Ub(r,c,h,v,i,e,t))return!0}return!1},I.Object.defineProperties(Ta.prototype,{isFilled:{get:function(){return this.yr},set:function(e){this.v&&F(this,e),this.yr=e}},isShadowed:{get:function(){return this.Cr},set:function(e){this.v&&F(this,e),this.Cr=e}},startX:{get:function(){return this.ad},set:function(e){this.v&&F(this,e),this.ad=e,this.ra=!0}},startY:{get:function(){return this.bd},set:function(e){this.v&&F(this,e),this.bd=e,this.ra=!0}},segments:{get:function(){return this.Bl},set:function(e){this.v&&F(this,e),this.Bl=e,this.ra=!0}}}),Ta.prototype.add=Ta.prototype.add,Ta.prototype.equalsApprox=Ta.prototype.Qa,Ta.className="PathFigure",Ao.prototype.copy=function(){var e=new Ao;return e.va=this.va,e.mc=this.mc,e.Bc=this.Bc,e.se=this.se,e.mi=this.mi,e.ni=this.ni,e.Zg=this.Zg,e.il=this.il,e.Ek=this.Ek,e.lj=this.lj,e.ra=this.ra,e},(N=Ao.prototype).Qa=function(e){if(!(e instanceof Ao)||this.type!==e.type||this.isClosed!==e.isClosed)return!1;switch(this.type){case ma:case Lr:return Yn.w(this.endX,e.endX)&&Yn.w(this.endY,e.endY);case Ia:return Yn.w(this.endX,e.endX)&&Yn.w(this.endY,e.endY)&&Yn.w(this.point1X,e.point1X)&&Yn.w(this.point1Y,e.point1Y)&&Yn.w(this.point2X,e.point2X)&&Yn.w(this.point2Y,e.point2Y);case Vs:return Yn.w(this.endX,e.endX)&&Yn.w(this.endY,e.endY)&&Yn.w(this.point1X,e.point1X)&&Yn.w(this.point1Y,e.point1Y);case Ar:return Yn.w(this.startAngle,e.startAngle)&&Yn.w(this.sweepAngle,e.sweepAngle)&&Yn.w(this.centerX,e.centerX)&&Yn.w(this.centerY,e.centerY)&&Yn.w(this.radiusX,e.radiusX)&&Yn.w(this.radiusY,e.radiusY);case gr:return this.isClockwiseArc===e.isClockwiseArc&&this.isLargeArc===e.isLargeArc&&Yn.w(this.xAxisRotation,e.xAxisRotation)&&Yn.w(this.endX,e.endX)&&Yn.w(this.endY,e.endY)&&Yn.w(this.radiusX,e.radiusX)&&Yn.w(this.radiusY,e.radiusY);default:return!1}},N.fb=function(e){e.classType===Ao&&(this.type=e)},N.toString=function(e){switch(void 0===e&&(e=-1),this.type){case ma:e=0>e?"M"+this.endX.toString()+" "+this.endY.toString():"M"+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;case Lr:e=0>e?"L"+this.endX.toString()+" "+this.endY.toString():"L"+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;case Ia:e=0>e?"C"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.point2X.toString()+" "+this.point2Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"C"+this.point1X.toFixed(e)+" "+this.point1Y.toFixed(e)+" "+this.point2X.toFixed(e)+" "+this.point2Y.toFixed(e)+" "+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;case Vs:e=0>e?"Q"+this.point1X.toString()+" "+this.point1Y.toString()+" "+this.endX.toString()+" "+this.endY.toString():"Q"+this.point1X.toFixed(e)+" "+this.point1Y.toFixed(e)+" "+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;case Ar:e=0>e?"B"+this.startAngle.toString()+" "+this.sweepAngle.toString()+" "+this.centerX.toString()+" "+this.centerY.toString()+" "+this.radiusX.toString()+" "+this.radiusY.toString():"B"+this.startAngle.toFixed(e)+" "+this.sweepAngle.toFixed(e)+" "+this.centerX.toFixed(e)+" "+this.centerY.toFixed(e)+" "+this.radiusX.toFixed(e)+" "+this.radiusY.toFixed(e);break;case gr:e=0>e?"A"+this.radiusX.toString()+" "+this.radiusY.toString()+" "+this.xAxisRotation.toString()+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toString()+" "+this.endY.toString():"A"+this.radiusX.toFixed(e)+" "+this.radiusY.toFixed(e)+" "+this.xAxisRotation.toFixed(e)+" "+(this.isLargeArc?1:0)+" "+(this.isClockwiseArc?1:0)+" "+this.endX.toFixed(e)+" "+this.endY.toFixed(e);break;default:e=this.type.toString()}return e+(this.lj?"z":"")},N.freeze=function(){return this.v=!0,this},N.ha=function(){return this.v=!1,this},N.close=function(){return this.lj=!0,this},I.Object.defineProperties(Ao.prototype,{isClosed:{get:function(){return this.lj},set:function(e){this.lj!==e&&(this.lj=e,this.ra=!0)}},type:{get:function(){return this.va},set:function(e){this.v&&F(this,e),this.va=e,this.ra=!0}},endX:{get:function(){return this.mc},set:function(e){this.v&&F(this,e),this.mc=e,this.ra=!0}},endY:{get:function(){return this.Bc},set:function(e){this.v&&F(this,e),this.Bc=e,this.ra=!0}},point1X:{get:function(){return this.se},set:function(e){this.v&&F(this,e),this.se=e,this.ra=!0}},point1Y:{get:function(){return this.mi},set:function(e){this.v&&F(this,e),this.mi=e,this.ra=!0}},point2X:{get:function(){return this.ni},set:function(e){this.v&&F(this,e),this.ni=e,this.ra=!0}},point2Y:{get:function(){return this.Zg},set:function(e){this.v&&F(this,e),this.Zg=e,this.ra=!0}},centerX:{get:function(){return this.se},set:function(e){this.v&&F(this,e),this.se=e,this.ra=!0}},centerY:{get:function(){return this.mi},set:function(e){this.v&&F(this,e),this.mi=e,this.ra=!0}},radiusX:{get:function(){return this.ni},set:function(e){0>e&&U(e,">= zero",Ao,"radiusX"),this.v&&F(this,e),this.ni=e,this.ra=!0}},radiusY:{get:function(){return this.Zg},set:function(e){0>e&&U(e,">= zero",Ao,"radiusY"),this.v&&F(this,e),this.Zg=e,this.ra=!0}},startAngle:{get:function(){return this.mc},set:function(e){this.mc!==e&&(this.v&&F(this,e),0>(e%=360)&&(e+=360),this.mc=e,this.ra=!0)}},sweepAngle:{get:function(){return this.Bc},set:function(e){this.v&&F(this,e),360<e&&(e=360),-360>e&&(e=-360),this.Bc=e,this.ra=!0}},isClockwiseArc:{get:function(){return this.Ek},set:function(e){this.v&&F(this,e),this.Ek=e,this.ra=!0}},isLargeArc:{get:function(){return this.il},set:function(e){this.v&&F(this,e),this.il=e,this.ra=!0}},xAxisRotation:{get:function(){return this.se},set:function(e){0>(e%=360)&&(e+=360),this.v&&F(this,e),this.se=e,this.ra=!0}}}),Ao.prototype.equalsApprox=Ao.prototype.Qa;var ma=new Pe(Ao,"Move",0),Lr=new Pe(Ao,"Line",1),Ia=new Pe(Ao,"Bezier",2),Vs=new Pe(Ao,"QuadraticBezier",3),Ar=new Pe(Ao,"Arc",4),gr=new Pe(Ao,"SvgArc",4);function Zr(){this.C=null,this.Cu=new Ze(0,0).freeze(),this.Tt=new Ze(0,0).freeze(),this.Jq=this.Rr=0,this.Kq=1,this.Gr="",this.Es=this.ar=!1,this.$q=this.Mq=0,this.Ag=this.nr=this.Ar=!1,this.gr=null,this.Cs=0,this.Qd=this.Bs=null}function Ur(){this.C=null,this.Ua="",this.es=this.zs=null}function Co(){this.Wm=tr,this.Dj=this.Qr="",this.zo=this.Ao=this.Fo=this.Go=this.Eo=this.C=this.$b=null}Ao.className="PathSegment",Ao.Move=ma,Ao.Line=Lr,Ao.Bezier=Ia,Ao.QuadraticBezier=Vs,Ao.Arc=Ar,Ao.SvgArc=gr,Zr.prototype.copy=function(){var e=new Zr;return this.clone(e)},Zr.prototype.clone=function(e){return e.C=this.C,e.Cu.assign(this.viewPoint),e.Tt.assign(this.documentPoint),e.Rr=this.Rr,e.Jq=this.Jq,e.Kq=this.Kq,e.Gr=this.Gr,e.ar=this.ar,e.Es=this.Es,e.Mq=this.Mq,e.$q=this.$q,e.Ar=this.Ar,e.nr=this.nr,e.Ag=this.Ag,e.gr=this.gr,e.Cs=this.Cs,e.Bs=this.Bs,e.Qd=this.Qd,e},Zr.prototype.toString=function(){var e="^";return 0!==this.modifiers&&(e+="M:"+this.modifiers),0!==this.button&&(e+="B:"+this.button),""!==this.key&&(e+="K:"+this.key),0!==this.clickCount&&(e+="C:"+this.clickCount),0!==this.delta&&(e+="D:"+this.delta),this.handled&&(e+="h"),this.bubbles&&(e+="b"),null!==this.documentPoint&&(e+="@"+this.documentPoint.toString()),e},Zr.prototype.Wp=function(e,t){var i=this.diagram;return null===i||mc(i,this.event,e,t),t},Zr.prototype.dz=function(e,t){var i=this.diagram;return null===i||(mc(i,this.event,e,t),t.assign(i.yt(t))),t},I.Object.defineProperties(Zr.prototype,{diagram:{get:function(){return this.C},set:function(e){this.C=e}},viewPoint:{get:function(){return this.Cu},set:function(e){this.Cu.assign(e)}},documentPoint:{get:function(){return this.Tt},set:function(e){this.Tt.assign(e)}},modifiers:{get:function(){return this.Rr},set:function(e){this.Rr=e}},button:{get:function(){return this.Jq},set:function(e){if(this.Jq=e,null===this.event)switch(e){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2}}},buttons:{get:function(){return this.Kq},set:function(e){this.Kq=e}},key:{get:function(){return this.Gr},set:function(e){this.Gr=e}},down:{get:function(){return this.ar},set:function(e){this.ar=e}},up:{get:function(){return this.Es},set:function(e){this.Es=e}},clickCount:{get:function(){return this.Mq},set:function(e){this.Mq=e}},delta:{get:function(){return this.$q},set:function(e){this.$q=e}},isMultiTouch:{get:function(){return this.Ar},set:function(e){this.Ar=e}},handled:{get:function(){return this.nr},set:function(e){this.nr=e}},bubbles:{get:function(){return this.Ag},set:function(e){this.Ag=e}},event:{get:function(){return this.gr},set:function(e){this.gr=e}},isTouchEvent:{get:function(){var e=o.TouchEvent,t=this.event;return!!(e&&t instanceof e)||(e=o.PointerEvent)&&t instanceof e&&("touch"===t.pointerType||"pen"===t.pointerType)}},timestamp:{get:function(){return this.Cs},set:function(e){this.Cs=e}},targetDiagram:{get:function(){return this.Bs},set:function(e){this.Bs=e}},targetObject:{get:function(){return this.Qd},set:function(e){this.Qd=e}},control:{get:function(){return!!(1&this.modifiers)},set:function(e){this.modifiers=e?1|this.modifiers:-2&this.modifiers}},shift:{get:function(){return!!(4&this.modifiers)},set:function(e){this.modifiers=e?4|this.modifiers:-5&this.modifiers}},alt:{get:function(){return!!(2&this.modifiers)},set:function(e){this.modifiers=e?2|this.modifiers:-3&this.modifiers}},meta:{get:function(){return!!(8&this.modifiers)},set:function(e){this.modifiers=e?8|this.modifiers:-9&this.modifiers}},left:{get:function(){var e=this.event;return null===e||"mousedown"!==e.type&&"mouseup"!==e.type&&"pointerdown"!==e.type&&"pointerup"!==e.type?!!(1&this.buttons):0===this.button},set:function(e){this.buttons=e?1|this.buttons:-2&this.buttons}},right:{get:function(){var e=this.event;return null===e||"mousedown"!==e.type&&"mouseup"!==e.type&&"pointerdown"!==e.type&&"pointerup"!==e.type?!!(2&this.buttons):2===this.button},set:function(e){this.buttons=e?2|this.buttons:-3&this.buttons}},middle:{get:function(){var e=this.event;return null===e||"mousedown"!==e.type&&"mouseup"!==e.type&&"pointerdown"!==e.type&&"pointerup"!==e.type?!!(4&this.buttons):1===this.button},set:function(e){this.buttons=e?4|this.buttons:-5&this.buttons}}}),Zr.prototype.getMultiTouchDocumentPoint=Zr.prototype.dz,Zr.prototype.getMultiTouchViewPoint=Zr.prototype.Wp,Zr.className="InputEvent",Ur.prototype.copy=function(){var e=new Ur;return e.C=this.C,e.Ua=this.Ua,e.zs=this.zs,e.es=this.es,e},Ur.prototype.toString=function(){var e="*"+this.name;return null!==this.subject&&(e+=":"+this.subject.toString()),null!==this.parameter&&(e+="("+this.parameter.toString()+")"),e},I.Object.defineProperties(Ur.prototype,{diagram:{get:function(){return this.C},set:function(e){this.C=e}},name:{get:function(){return this.Ua},set:function(e){this.Ua=e}},subject:{get:function(){return this.zs},set:function(e){this.zs=e}},parameter:{get:function(){return this.es},set:function(e){this.es=e}}}),Ur.className="DiagramEvent",Co.prototype.clear=function(){this.zo=this.Ao=this.Fo=this.Go=this.Eo=this.C=this.$b=null},Co.prototype.copy=function(){var e=new Co;e.Wm=this.Wm,e.Qr=this.Qr,e.Dj=this.Dj,e.$b=this.$b,e.C=this.C,e.Eo=this.Eo;var t=this.Go;return e.Go=x(t)&&"function"==typeof t.I?t.I():t,e.Fo=x(t=this.Fo)&&"function"==typeof t.I?t.I():t,e.Ao=x(t=this.Ao)&&"function"==typeof t.I?t.I():t,e.zo=x(t=this.zo)&&"function"==typeof t.I?t.I():t,e},Co.prototype.fb=function(e){e.classType===Co&&(this.change=e)},Co.prototype.toString=function(){var e="";return e=this.change===Ka?e+"* ":this.change===tr?e+(null!==this.model?"!m":"!d"):e+(null!==this.model?"!m":"!d")+this.change,this.propertyName&&"string"==typeof this.propertyName&&(e+=" "+this.propertyName),this.modelChange&&this.modelChange!==this.propertyName&&(e+=" "+this.modelChange),e+=": ",this.change===Ka?null!==this.oldValue&&(e+=" "+this.oldValue):(null!==this.object&&(e+=le(this.object)),null!==this.oldValue&&(e+="  old: "+le(this.oldValue)),null!==this.oldParam&&(e+=" "+this.oldParam),null!==this.newValue&&(e+="  new: "+le(this.newValue)),null!==this.newParam&&(e+=" "+this.newParam)),e},Co.prototype.J=function(e){return e?this.oldValue:this.newValue},Co.prototype.fz=function(e){return e?this.oldParam:this.newParam},Co.prototype.canUndo=function(){return null!==this.model||null!==this.diagram},Co.prototype.undo=function(){this.canUndo()&&(null!==this.model?this.model.Rj(this,!0):null!==this.diagram&&this.diagram.Rj(this,!0))},Co.prototype.canRedo=function(){return null!==this.model||null!==this.diagram},Co.prototype.redo=function(){this.canRedo()&&(null!==this.model?this.model.Rj(this,!1):null!==this.diagram&&this.diagram.Rj(this,!1))},I.Object.defineProperties(Co.prototype,{model:{get:function(){return this.$b},set:function(e){this.$b=e}},diagram:{get:function(){return this.C},set:function(e){this.C=e}},change:{get:function(){return this.Wm},set:function(e){this.Wm=e}},modelChange:{get:function(){return this.Qr},set:function(e){this.Qr=e}},propertyName:{get:function(){return this.Dj},set:function(e){this.Dj=e}},isTransactionFinished:{get:function(){return this.Wm===Ka&&("CommittedTransaction"===this.Dj||"FinishedUndo"===this.Dj||"FinishedRedo"===this.Dj)}},object:{get:function(){return this.Eo},set:function(e){this.Eo=e}},oldValue:{get:function(){return this.Go},set:function(e){this.Go=e}},oldParam:{get:function(){return this.Fo},set:function(e){this.Fo=e}},newValue:{get:function(){return this.Ao},set:function(e){this.Ao=e}},newParam:{get:function(){return this.zo},set:function(e){this.zo=e}}}),Co.prototype.redo=Co.prototype.redo,Co.prototype.canRedo=Co.prototype.canRedo,Co.prototype.undo=Co.prototype.undo,Co.prototype.canUndo=Co.prototype.canUndo,Co.prototype.getParam=Co.prototype.fz,Co.prototype.getValue=Co.prototype.J,Co.prototype.clear=Co.prototype.clear;var Ka=new Pe(Co,"Transaction",-1),tr=new Pe(Co,"Property",0),yr=new Pe(Co,"Insert",1),kr=new Pe(Co,"Remove",2);function Uo(){this.u=(new gt).freeze(),this.Ua="",this.l=!1}function sr(){this.ju=new Se,this.Dc=!1,this.K=(new gt).freeze(),this.fe=-1,this.u=999,this.ie=!1,this.Yq=null,this.yi=0,this.l=!1,this.pe=(new gt).freeze(),this.sl=new gt,this.$t=!0,this.du=!1}function J1(e,t,i){if(e.isUndoingRedoing)return!1;e.checksTransactionLevel&&1>e.transactionLevel&&k("Ending transaction without having started a transaction: "+i);var r=1===e.transactionLevel;r&&t&&e.yb("CommittingTransaction",i,e.currentTransaction);var c=0;if(0<e.transactionLevel&&(e.yi--,e.isEnabled)){var h=e.pe.count;0<h&&(""===i&&(i=e.pe.N(0)),e.pe.ha(),e.pe.mb(h-1),e.pe.freeze()),0<(h=e.sl.count)&&(c=e.sl.N(h-1),e.sl.mb(h-1))}if(h=e.currentTransaction,r){if(t){if(e.du=!1,e.isEnabled&&null!==h){for((t=h).isComplete=!0,t.name=i,(r=e.history).ha(),c=r.count-1;c>e.historyIndex;c--)null!==(h=r.N(c))&&h.clear(),r.mb(c),e.du=!0;0<=(c=e.maxHistoryLength)&&(0===c?r.clear():r.count>=c&&(null!==(h=r.N(0))&&h.clear(),r.mb(0),e.fe--)),0!==c&&(r.add(t),e.fe++),r.freeze(),h=t}e.yb("CommittedTransaction",i,h)}else{e.ie=!0;try{e.isEnabled&&null!==h&&(h.isComplete=!0,h.undo())}finally{e.yb("RolledBackTransaction",i,h),e.ie=!1}null!==h&&h.clear()}return e.Yq=null,!0}if(e.isEnabled&&!t&&null!==h){for(e=c,t=(i=h.changes).count-1;t>=e;t--)null!==(r=i.N(t))&&r.undo(),i.ha(),i.mb(t);i.freeze()}return!1}function uo(){ke(this),this.C=ro,this.Ua="",this.Dc=!0,this.Vb=!1,this.dw=null,this.ey=new Zr,this.Hs=-1}function mo(){uo.call(this),this.name="ToolManager",this.Kc=new gt,this.Vc=new gt,this.wg=new gt,this.ba=this.La=850,this.u=new Ue(2,2).ga(),this.Wb=5e3,this.Ma=Nr,this.K=ul,this.Xq=this.l=null,this.Kj=-1}function vl(e,t){e.standardMouseOver(),e.isBeyondDragSize()&&e.standardWaitAfter(e.isActive?e.holdDelay:e.hoverDelay,t.lastInput)}function ea(e,t,i,r){null!==i&&(i.name=t,i.hb(e.diagram)),e.findTool(t)?e.replaceTool(t,i):null!==i&&r.add(i)}Co.className="ChangedEvent",Co.Transaction=Ka,Co.Property=tr,Co.Insert=yr,Co.Remove=kr,Uo.prototype.toString=function(e){var t="Transaction: "+this.name+" "+this.changes.count.toString()+(this.isComplete?"":", incomplete");if(void 0!==e&&0<e){e=this.changes.count;for(var i=0;i<e;i++){var r=this.changes.N(i);null!==r&&(t+="\n  "+r.toString())}}return t},Uo.prototype.clear=function(){var e=this.changes;e.ha();for(var t=e.count-1;0<=t;t--){var i=e.N(t);null!==i&&i.clear()}e.clear(),e.freeze()},Uo.prototype.canUndo=function(){return this.isComplete},Uo.prototype.undo=function(){if(this.canUndo())for(var e=this.changes.count-1;0<=e;e--){var t=this.changes.N(e);null!==t&&t.undo()}},Uo.prototype.canRedo=function(){return this.isComplete},Uo.prototype.redo=function(){if(this.canRedo())for(var e=this.changes.count,t=0;t<e;t++){var i=this.changes.N(t);null!==i&&i.redo()}},I.Object.defineProperties(Uo.prototype,{changes:{get:function(){return this.u}},name:{get:function(){return this.Ua},set:function(e){this.Ua=e}},isComplete:{get:function(){return this.l},set:function(e){this.l=e}}}),Uo.prototype.redo=Uo.prototype.redo,Uo.prototype.canRedo=Uo.prototype.canRedo,Uo.prototype.undo=Uo.prototype.undo,Uo.prototype.canUndo=Uo.prototype.canUndo,Uo.prototype.clear=Uo.prototype.clear,Uo.className="Transaction",sr.prototype.toString=function(e){var t="UndoManager "+this.historyIndex+"<"+this.history.count+"<="+this.maxHistoryLength;t+="[";for(var i=this.nestedTransactionNames.count,r=0;r<i;r++)0<r&&(t+=" "),t+=this.nestedTransactionNames.N(r);if(t+="]",void 0!==e&&0<e)for(i=this.history.count,r=0;r<i;r++)t+="\n "+this.history.N(r).toString(e-1);return t},sr.prototype.clear=function(){var e=this.history;e.ha();for(var t=e.count-1;0<=t;t--){var i=e.N(t);null!==i&&i.clear()}e.clear(),this.fe=-1,e.freeze(),this.ie=!1,this.Yq=null,this.yi=0,this.pe.ha(),this.pe.clear(),this.pe.freeze(),this.sl.clear()},sr.prototype.copyProperties=function(e){this.isEnabled=e.isEnabled,this.maxHistoryLength=e.maxHistoryLength,this.checksTransactionLevel=e.checksTransactionLevel},(N=sr.prototype).Sw=function(e){this.ju.add(e)},N.Bx=function(e){this.ju.remove(e)},N.Aa=function(e){if(void 0===e&&(e=""),null===e&&(e=""),this.isUndoingRedoing)return!1;!0===this.$t&&(this.$t=!1,this.yi++,this.yb("StartingFirstTransaction",e,this.currentTransaction),0<this.yi&&this.yi--),this.isEnabled&&(this.pe.ha(),this.pe.add(e),this.pe.freeze(),this.sl.add(null===this.currentTransaction?0:this.currentTransaction.changes.count)),this.yi++;var t=1===this.transactionLevel;return t&&this.yb("StartedTransaction",e,this.currentTransaction),t},N.Za=function(e){return void 0===e&&(e=""),J1(this,!0,e)},N.uf=function(){return J1(this,!1,"")},sr.prototype.canUndo=function(){if(!this.isEnabled||0<this.transactionLevel)return!1;var e=this.transactionToUndo;return!(null===e||!e.canUndo())},sr.prototype.undo=function(){if(this.canUndo()){var e=this.transactionToUndo;try{this.ie=!0,this.yb("StartingUndo","Undo",e),this.fe--,e.undo()}catch(t){k("undo error: "+t.toString())}finally{this.yb("FinishedUndo","Undo",e),this.ie=!1}}},sr.prototype.canRedo=function(){if(!this.isEnabled||0<this.transactionLevel)return!1;var e=this.transactionToRedo;return!(null===e||!e.canRedo())},sr.prototype.redo=function(){if(this.canRedo()){var e=this.transactionToRedo;try{this.ie=!0,this.yb("StartingRedo","Redo",e),this.fe++,e.redo()}catch(t){k("redo error: "+t.toString())}finally{this.yb("FinishedRedo","Redo",e),this.ie=!1}}},sr.prototype.yb=function(e,t,i){void 0===i&&(i=null);var r=new Co;for(r.change=Ka,r.propertyName=e,r.object=i,r.oldValue=t,e=this.models;e.next();)r.model=t=e.value,t.Ks(r)},sr.prototype.fv=function(e){if(this.isEnabled&&!this.isUndoingRedoing&&!this.skipsEvent(e)){var t=this.currentTransaction;null===t&&(this.Yq=t=new Uo);var i=e.copy();(t=t.changes).ha(),t.add(i),t.freeze(),this.checksTransactionLevel&&0>=this.transactionLevel&&!this.$t&&(null!==(e=e.diagram)&&!1===e.Oi||k("Change not within a transaction: "+i.toString()))}},sr.prototype.skipsEvent=function(e){if(null===e||0>e.change.value)return!0;if(void 0!==(e=e.object).layer){if(null!==(e=e.layer)&&e.isTemporary)return!0}else if(e.isTemporary)return!0;return!1},I.Object.defineProperties(sr.prototype,{models:{get:function(){return this.ju.iterator}},isEnabled:{get:function(){return this.Dc},set:function(e){this.Dc=e}},transactionToUndo:{get:function(){return 0<=this.historyIndex&&this.historyIndex<=this.history.count-1?this.history.N(this.historyIndex):null}},transactionToRedo:{get:function(){return this.historyIndex<this.history.count-1?this.history.N(this.historyIndex+1):null}},isUndoingRedoing:{get:function(){return this.ie}},history:{get:function(){return this.K}},maxHistoryLength:{get:function(){return this.u},set:function(e){this.u=e}},historyIndex:{get:function(){return this.fe}},currentTransaction:{get:function(){return this.Yq}},transactionLevel:{get:function(){return this.yi}},isInTransaction:{get:function(){return 0<this.yi}},checksTransactionLevel:{get:function(){return this.l},set:function(e){this.l=e}},nestedTransactionNames:{get:function(){return this.pe}}}),sr.prototype.handleChanged=sr.prototype.fv,sr.prototype.redo=sr.prototype.redo,sr.prototype.undo=sr.prototype.undo,sr.prototype.canUndo=sr.prototype.canUndo,sr.prototype.rollbackTransaction=sr.prototype.uf,sr.prototype.commitTransaction=sr.prototype.Za,sr.prototype.startTransaction=sr.prototype.Aa,sr.prototype.removeModel=sr.prototype.Bx,sr.prototype.addModel=sr.prototype.Sw,sr.prototype.clear=sr.prototype.clear,sr.className="UndoManager",uo.prototype.hb=function(e){this.C=e},uo.prototype.toString=function(){return""!==this.name?this.name+" Tool":Q(this.constructor)},uo.prototype.updateAdornments=function(){},uo.prototype.canStart=function(){return this.isEnabled},uo.prototype.doStart=function(){},uo.prototype.doActivate=function(){this.isActive=!0},uo.prototype.doDeactivate=function(){this.isActive=!1},uo.prototype.doStop=function(){},uo.prototype.doCancel=function(){this.transactionResult=null,this.stopTool()},uo.prototype.stopTool=function(){var e=this.diagram;e.currentTool===this&&(e.currentTool=null,e.currentCursor="")},uo.prototype.doMouseDown=function(){!this.isActive&&this.canStart()&&this.doActivate()},uo.prototype.doMouseMove=function(){},uo.prototype.doMouseUp=function(){this.stopTool()},uo.prototype.doMouseWheel=function(){},uo.prototype.canStartMultiTouch=function(){return!0},uo.prototype.standardPinchZoomStart=function(){var e=this.diagram,t=e.lastInput,i=t.Wp(0,Ze.allocAt(NaN,NaN)),r=t.Wp(1,Ze.allocAt(NaN,NaN));if(i.o()&&r.o()&&(this.doCancel(),e.bm("hasGestureZoom"))){e.Ho=e.scale;var c=r.x-i.x,h=r.y-i.y;e.Iw=Math.sqrt(c*c+h*h),t.bubbles=!1}Ze.free(i),Ze.free(r)},uo.prototype.standardPinchZoomMove=function(){var e=this.diagram,t=e.lastInput,i=t.Wp(0,Ze.allocAt(NaN,NaN)),r=t.Wp(1,Ze.allocAt(NaN,NaN));if(i.o()&&r.o()&&(this.doCancel(),e.bm("hasGestureZoom"))){var c=r.x-i.x,h=r.y-i.y;h=Math.sqrt(c*c+h*h)/e.Iw,c=new Ze((Math.min(r.x,i.x)+Math.max(r.x,i.x))/2,(Math.min(r.y,i.y)+Math.max(r.y,i.y))/2);var v=e.commandHandler;if((h*=e.Ho)!==e.scale&&v.canResetZoom(h)){var W=e.zoomPoint;e.zoomPoint=c,v.resetZoom(h),e.zoomPoint=W}t.bubbles=!1}Ze.free(i),Ze.free(r)},uo.prototype.doKeyDown=function(){"Esc"===this.diagram.lastInput.key&&this.doCancel()},uo.prototype.doKeyUp=function(){},uo.prototype.Aa=function(e){return void 0===e&&(e=this.name),this.transactionResult=null,this.diagram.Aa(e)},uo.prototype.vg=function(){var e=this.diagram;return null===this.transactionResult?e.uf():e.Za(this.transactionResult)},uo.prototype.standardMouseSelect=function(){var e=this.diagram;if(e.allowSelect){var t=e.lastInput,i=e.$l(t.documentPoint,!1);if(null!==i){if(Le?t.meta:t.control){for(e.aa("ChangingSelection",e.selection),t=i;null!==t&&!t.canSelect();)t=t.containingGroup;null!==t&&(t.isSelected=!t.isSelected),e.aa("ChangedSelection",e.selection)}else if(t.shift){if(!i.isSelected){for(e.aa("ChangingSelection",e.selection),t=i;null!==t&&!t.canSelect();)t=t.containingGroup;null!==t&&(t.isSelected=!0),e.aa("ChangedSelection",e.selection)}}else if(!i.isSelected){for(t=i;null!==t&&!t.canSelect();)t=t.containingGroup;null!==t&&e.select(t)}}else!t.left||(Le?t.meta:t.control)||t.shift||e.Ls()}},uo.prototype.standardMouseClick=function(e,t){void 0===e&&(e=null),void 0===t&&(t=function(c){return!c.layer.isTemporary});var i=this.diagram,r=i.lastInput;return e=i.Sb(r.documentPoint,e,t),r.targetObject=e,function Dl(e,t,i){if(t.handled=!1,null===e||e.rg()){var r=0;t.left?r=1===t.clickCount?1:2===t.clickCount?2:1:t.right&&1===t.clickCount&&(r=3);var c="ObjectSingleClicked";if(null!==e){switch(r){case 1:c="ObjectSingleClicked";break;case 2:c="ObjectDoubleClicked";break;case 3:c="ObjectContextClicked"}0!==r&&i.aa(c,e)}else{switch(r){case 1:c="BackgroundSingleClicked";break;case 2:c="BackgroundDoubleClicked";break;case 3:c="BackgroundContextClicked"}0!==r&&i.aa(c)}if(null!==e)for(;null!==e;){switch(i=null,r){case 1:i=e.click;break;case 2:i=e.doubleClick?e.doubleClick:e.click;break;case 3:i=e.contextClick}if(null!==i&&(i(t,e),t.handled))break;e=e.panel}else{switch(e=null,r){case 1:e=i.click;break;case 2:e=i.doubleClick?i.doubleClick:i.click;break;case 3:e=i.contextClick}null!==e&&e(t)}}}(e,r,i),r.handled},uo.prototype.standardMouseOver=function(){var e=this.diagram,t=e.lastInput;if(!0!==e.animationManager.rb){var i=e.skipsUndoManager;e.skipsUndoManager=!0;var r=e.he?e.Sb(t.documentPoint,null,null):null;t.targetObject=r;var c=!1;if(r!==e.Jk){var h=e.Jk,v=h;for(e.Jk=r,this.doCurrentObjectChanged(h,r),t.handled=!1;null!==h;){var W=h.mouseLeave;if(null!==W&&(r===h||null!==r&&r.qg(h)||(W(t,h,r),c=!0,t.handled)))break;h=h.panel}for(h=v,t.handled=!1;null!==r&&(null===(v=r.mouseEnter)||!(h===r||null!==h&&h.qg(r)||(v(t,r,h),c=!0,t.handled)));)r=r.panel;r=e.Jk}if(null!==r){for(h=r,v="";null!==h&&""===(v=h.cursor);)h=h.panel;for(e.currentCursor=v,t.handled=!1,h=r;null!==h&&(null===(r=h.mouseOver)||(r(t,h),c=!0,!t.handled));)h=h.panel}else e.currentCursor="",null!==(r=e.mouseOver)&&(r(t),c=!0);c&&e.cc(),e.skipsUndoManager=i}},uo.prototype.doCurrentObjectChanged=function(){},uo.prototype.standardMouseWheel=function(){var e=this.diagram,t=e.lastInput,i=t.delta;if(0!==i&&e.documentBounds.o()){var r=e.commandHandler,c=e.toolManager.mouseWheelBehavior;if(null!==r&&(c===Pl&&!t.shift||c===Nr&&t.control)&&(0<i?r.canIncreaseZoom():r.canDecreaseZoom()))c=e.zoomPoint,e.zoomPoint=t.viewPoint,0<i?r.increaseZoom():r.decreaseZoom(),e.zoomPoint=c,t.bubbles=!1;else if(c===Pl&&t.shift||c===Nr&&!t.control){r=e.position.copy();var h=0<i?i:-i,v=t.event,W=v.deltaMode;if(c=v.deltaX,v=v.deltaY,(Me||me||be)&&(W=1,0<c&&(c=3),0>c&&(c=-3),0<v&&(v=3),0>v&&(v=-3)),void 0===W||void 0===c||void 0===v||0===c&&0===v||t.shift)!t.shift&&e.allowVerticalScroll?e.scroll("pixel",0<i?"up":"down",h=3*h*e.scrollVerticalLineChange):t.shift&&e.allowHorizontalScroll&&e.scroll("pixel",0<i?"left":"right",h=3*h*e.scrollHorizontalLineChange);else{switch(W){case 0:default:i="pixel";break;case 1:i="line";break;case 2:i="page"}0!==c&&e.allowHorizontalScroll&&(0<c?e.scroll(i,"left",-c):e.scroll(i,"right",c)),0!==v&&e.allowVerticalScroll&&(0<v?e.scroll(i,"up",-v):e.scroll(i,"down",v))}e.position.A(r)||(t.bubbles=!1)}}},uo.prototype.standardWaitAfter=function(e,t){void 0===t&&(t=this.diagram.lastInput),this.cancelWaitAfter();var i=this,r=t.clone(this.ey);this.Hs=M(function(){i.doWaitAfter(r)},e)},uo.prototype.cancelWaitAfter=function(){-1!==this.Hs&&o.clearTimeout(this.Hs),this.Hs=-1},uo.prototype.doWaitAfter=function(){},uo.prototype.findToolHandleAt=function(e,t){return null===(e=this.diagram.Sb(e,function(i){for(;null!==i&&!(i.panel instanceof Zo);)i=i.panel;return i}))?null:e.part.category===t?e:null},uo.prototype.isBeyondDragSize=function(e,t){var i=this.diagram;void 0===e&&(e=i.firstInput.viewPoint),void 0===t&&(t=i.lastInput.viewPoint);var r=i.toolManager.dragSize,c=r.width;return r=r.height,i.firstInput.isTouchEvent&&(c+=6,r+=6),Math.abs(t.x-e.x)>c||Math.abs(t.y-e.y)>r},I.Object.defineProperties(uo.prototype,{diagram:{get:function(){return this.C},set:function(e){e instanceof ii&&(this.C=e)}},name:{get:function(){return this.Ua},set:function(e){this.Ua=e}},isEnabled:{get:function(){return this.Dc},set:function(e){this.Dc=e}},isActive:{get:function(){return this.Vb},set:function(e){this.Vb=e}},transactionResult:{get:function(){return this.dw},set:function(e){this.dw=e}}}),uo.prototype.stopTransaction=uo.prototype.vg,uo.prototype.startTransaction=uo.prototype.Aa,uo.className="Tool",y(mo,uo),mo.prototype.initializeStandardTools=function(){},mo.prototype.updateAdornments=function(e){var t=this.currentToolTip;if(t instanceof Zo&&this.Xq===e){var i=t.adornedObject;(null!==e?i.part===e:null===i)?this.showToolTip(t,i):this.hideToolTip()}},mo.prototype.doMouseDown=function(){var e=this.diagram,t=e.lastInput;if(t.isTouchEvent&&this.gestureBehavior===g1&&(t.bubbles=!1),t.isMultiTouch){if(this.cancelWaitAfter(),this.gestureBehavior===hc)return void(t.bubbles=!0);if(this.gestureBehavior===g1)return;if(e.currentTool.canStartMultiTouch())return void e.currentTool.standardPinchZoomStart()}for(var i=this.mouseDownTools.length,r=0;r<i;r++){var c=this.mouseDownTools.N(r);if(c.hb(this.diagram),c.canStart())return e.doFocus(),e.currentTool=c,void(e.currentTool===c&&(c.isActive||c.doActivate(),c.doMouseDown()))}1===e.lastInput.button&&(this.mouseWheelBehavior===Nr?this.mouseWheelBehavior=Pl:this.mouseWheelBehavior===Pl&&(this.mouseWheelBehavior=Nr)),this.doActivate(),this.standardWaitAfter(this.holdDelay,t)},mo.prototype.doMouseMove=function(){var e=this.diagram,t=e.lastInput;if(t.isMultiTouch){if(this.gestureBehavior===hc)return void(t.bubbles=!0);if(this.gestureBehavior===g1)return;if(e.currentTool.canStartMultiTouch())return void e.currentTool.standardPinchZoomMove()}if(this.isActive)for(var i=this.mouseMoveTools.length,r=0;r<i;r++){var c=this.mouseMoveTools.N(r);if(c.hb(this.diagram),c.canStart())return e.doFocus(),e.currentTool=c,void(e.currentTool===c&&(c.isActive||c.doActivate(),c.doMouseMove()))}vl(this,e),null===(e=t.event)||"mousemove"!==e.type&&"pointermove"!==e.type&&e.cancelable||(t.bubbles=!0)},mo.prototype.doCurrentObjectChanged=function(e,t){null===(e=this.currentToolTip)||null!==t&&e instanceof Zo&&(t===e||t.qg(e))||this.hideToolTip()},mo.prototype.doWaitAfter=function(e){var t=this.diagram;t.Da&&(this.doMouseHover(),this.isActive||this.doToolTip(),e.isTouchEvent&&!t.lastInput.handled&&((e=e.copy()).button=2,e.buttons=2,t.lastInput=e,t.Ml=!0,t.doMouseUp()))},mo.prototype.doMouseHover=function(){var e=this.diagram,t=e.lastInput;null===t.targetObject&&(t.targetObject=e.Sb(t.documentPoint,null,null));var i=t.targetObject;if(null!==i)for(t.handled=!1;null!==i&&(null===(e=this.isActive?i.mouseHold:i.mouseHover)||(e(t,i),!t.handled));)i=i.panel;else null!==(i=this.isActive?e.mouseHold:e.mouseHover)&&i(t)},mo.prototype.doToolTip=function(){var e=this.diagram,t=e.lastInput;if(null===t.targetObject&&(t.targetObject=e.Sb(t.documentPoint,null,null)),null!==(t=t.targetObject)){if(!((e=this.currentToolTip)instanceof Zo)||t!==e&&!t.qg(e)){for(;null!==t;){if(null!==(e=t.toolTip))return void this.showToolTip(e,t);t=t.panel}this.hideToolTip()}}else null!==(t=e.toolTip)?this.showToolTip(t,null):this.hideToolTip()},mo.prototype.showToolTip=function(e,t){var i=this.diagram;if(e!==this.currentToolTip&&this.hideToolTip(),e instanceof Zo){e.layerName="Tool",e.selectable=!1,e.scale=1/i.scale,e.category="ToolTip",null!==e.placeholder&&(e.placeholder.scale=i.scale);var r=e.diagram;null!==r&&r!==i&&r.remove(e),i.add(e),null!==t?e.adornedObject=t:e.data=i.model,e.ac(),this.positionToolTip(e,t)}else e instanceof $a&&e!==this.currentToolTip&&e.show(t,i,this);if(this.currentToolTip=e,-1!==this.Kj&&(o.clearTimeout(this.Kj),this.Kj=-1),0<(e=this.toolTipDuration)&&e!==1/0){var c=this;this.Kj=M(function(){c.hideToolTip()},e)}},mo.prototype.positionToolTip=function(e){if(null===e.placeholder){var t=this.diagram,i=t.lastInput.documentPoint.copy(),r=e.measuredBounds,c=t.viewportBounds;t.lastInput.isTouchEvent&&(i.x-=r.width),i.x+r.width>c.right&&(i.x-=r.width+5/t.scale),i.x<c.x&&(i.x=c.x),i.y=i.y+20/t.scale+r.height>c.bottom?i.y-(r.height+5/t.scale):i.y+20/t.scale,i.y<c.y&&(i.y=c.y),e.position=i}},mo.prototype.hideToolTip=function(){-1!==this.Kj&&(o.clearTimeout(this.Kj),this.Kj=-1);var e=this.diagram,t=this.currentToolTip;null!==t&&(t instanceof Zo?(e.remove(t),null!==this.Xq&&this.Xq.tf(t.category),t.data=null,t.adornedObject=null):t instanceof $a&&null!==t.hide&&t.hide(e,this),this.currentToolTip=null)},mo.prototype.doMouseUp=function(){this.cancelWaitAfter();var e=this.diagram;if(this.isActive)for(var t=this.mouseUpTools.length,i=0;i<t;i++){var r=this.mouseUpTools.N(i);if(r.hb(this.diagram),r.canStart())return e.doFocus(),e.currentTool=r,void(e.currentTool===r&&(r.isActive||r.doActivate(),r.doMouseUp()))}e.doFocus(),this.doDeactivate()},mo.prototype.doMouseWheel=function(){this.standardMouseWheel()},mo.prototype.doKeyDown=function(){var e=this.diagram;null!==e.commandHandler&&e.commandHandler.doKeyDown()},mo.prototype.doKeyUp=function(){var e=this.diagram;null!==e.commandHandler&&e.commandHandler.doKeyUp()},mo.prototype.findTool=function(e){for(var t=this.mouseDownTools.length,i=0;i<t;i++){var r=this.mouseDownTools.N(i);if(r.name===e)return r}for(t=this.mouseMoveTools.length,i=0;i<t;i++)if((r=this.mouseMoveTools.N(i)).name===e)return r;for(t=this.mouseUpTools.length,i=0;i<t;i++)if((r=this.mouseUpTools.N(i)).name===e)return r;return null},mo.prototype.replaceTool=function(e,t){null!==t&&t.hb(this.diagram);for(var i=this.mouseDownTools.length,r=0;r<i;r++){var c=this.mouseDownTools.N(r);if(c.name===e)return null!==t?this.mouseDownTools.gd(r,t):this.mouseDownTools.mb(r),c}for(i=this.mouseMoveTools.length,r=0;r<i;r++)if((c=this.mouseMoveTools.N(r)).name===e)return null!==t?this.mouseMoveTools.gd(r,t):this.mouseMoveTools.mb(r),c;for(i=this.mouseUpTools.length,r=0;r<i;r++)if((c=this.mouseUpTools.N(r)).name===e)return null!==t?this.mouseUpTools.gd(r,t):this.mouseUpTools.mb(r),c;return null},I.Object.defineProperties(mo.prototype,{mouseWheelBehavior:{get:function(){return this.Ma},set:function(e){this.Ma=e}},gestureBehavior:{get:function(){return this.K},set:function(e){this.K=e}},currentToolTip:{get:function(){return this.l},set:function(e){this.l=e,this.Xq=null!==e&&e instanceof Zo?e.adornedPart:null}},mouseDownTools:{get:function(){return this.Kc}},mouseMoveTools:{get:function(){return this.Vc}},mouseUpTools:{get:function(){return this.wg}},hoverDelay:{get:function(){return this.La},set:function(e){this.La=e}},holdDelay:{get:function(){return this.ba},set:function(e){this.ba=e}},dragSize:{get:function(){return this.u},set:function(e){this.u=e.I()}},toolTipDuration:{get:function(){return this.Wb},set:function(e){this.Wb=e}}});var Nr=new Pe(mo,"WheelScroll",0),Pl=new Pe(mo,"WheelZoom",1),ra=new Pe(mo,"WheelNone",2),ul=new Pe(mo,"GestureZoom",3),g1=new Pe(mo,"GestureCancel",4),hc=new Pe(mo,"GestureNone",5);function Dr(){uo.call(this),this.name="Dragging",this.K=this.Kc=!0,this.u=this.Ma=this.ba=this.bg=null,this.yn=this.Vc=!1,this.Hl=new Ze(NaN,NaN),this.xs=new Ze,this.Wb=!0,this.Qk=100,this.Hg=[],this.wg=(new Se).freeze(),this.La=new Vu}function Jo(e,t){if(e.dragsLink){var i=e.diagram;i.allowRelink&&(i.model.ck()&&1===t.count&&t.first()instanceof Zt?(e.draggedLink=t.first(),e.draggedLink.canRelinkFrom()&&e.draggedLink.canRelinkTo()&&e.draggedLink.Sj(),e.bg=i.toolManager.findTool("Relinking"),null===e.bg&&(e.bg=new I0,e.bg.hb(i))):(e.draggedLink=null,e.bg=null))}}function W1(e){var t=e.diagram,i=t.skipsUndoManager;t.skipsUndoManager=!0,zi(e,t.lastInput,null),t.skipsUndoManager=i,e.Hg.length=0}function W0(){var e=ur;h0(e),tn(e);var t=e.diagram;e.Hl.o()&&(t.position=e.Hl),t.vf()}function _a(e,t){var i=1/0,r=1/0,c=-1/0,h=-1/0;for(e=e.iterator;e.next();){var v=e.value;if(v.Lb()&&v.isVisible()){var W=v.location;v=W.x,W=W.y,isNaN(v)||isNaN(W)||(v<i&&(i=v),W<r&&(r=W),v>c&&(c=v),W>h&&(h=W))}}i===1/0?t.h(0,0,0,0):t.h(i,r,c-i,h-r)}function L1(e,t){if(null===e.copiedParts){var i=e.diagram;if((!t||!i.isReadOnly&&!i.isModelReadOnly)&&null!==e.draggedParts){var r=i.undoManager;for(r.isEnabled&&r.isInTransaction?null!==r.currentTransaction&&0<r.currentTransaction.changes.count&&(i.undoManager.uf(),i.Aa("Drag")):tn(e),i.skipsUndoManager=!t,i.partManager.addsToTemporaryLayer=!t,e.startPoint=i.firstInput.documentPoint,t=e.copiesEffectiveCollection?e.draggedParts.Yd():i.selection,t=(i=i.Xj(t,i,!0)).iterator;t.next();)t.value.location=t.key.location;for(_a(i,t=sn.alloc()),sn.free(t),t=new Kt,r=e.draggedParts.iterator;r.next();){var c=r.key;c.Lb()&&c.canCopy()&&null!==(c=i.J(c))&&(c.ac(),t.add(c,e.pd(c.location)))}for(i=i.iterator;i.next();)(r=i.value)instanceof Zt&&r.canCopy()&&t.add(r,e.pd());e.copiedParts=t,Jo(e,t.Yd()),null!==e.draggedLink&&Pi(i=e.draggedLink,e.startPoint.x-((t=i.routeBounds).x+t.width/2),e.startPoint.y-(t.y+t.height/2))}}}function h0(e){var t=e.diagram;if(null!==e.copiedParts&&(t.rt(e.copiedParts.Yd(),!1),e.copiedParts=null,null!==e.draggedParts))for(var i=e.draggedParts.iterator;i.next();)i.key instanceof Zt&&(i.value.point=new Ze(0,0));t.skipsUndoManager=!1,t.partManager.addsToTemporaryLayer=!1,e.startPoint=t.firstInput.documentPoint}function z1(e){if(null!==e.draggedLink){if(e.dragsLink&&null!==e.bg){var t=e.bg;t.diagram.remove(t.temporaryFromNode),t.diagram.remove(t.temporaryToNode)}e.draggedLink=null,e.bg=null}}function un(e,t,i){var r=e.diagram,c=e.startPoint,h=Ze.alloc();h.assign(r.lastInput.documentPoint),e.moveParts(t,h.Xd(c),i),Ze.free(h),!0===r.De("temporaryPixelRatio")&&null===r.jh&&30<r.Vw&&(wl(r),r.ot())}function tn(e){if(null!==e.draggedParts){for(var t=e.diagram,i=e.draggedParts.iterator;i.next();){var r=i.key;r.Lb()&&(r.location=i.value.point)}for(i=e.draggedParts.iterator;i.next();)if((r=i.key)instanceof Zt&&r.suspendsRouting){var c=i.value.point;e.draggedParts.add(r,e.pd()),Pi(r,-c.x,-c.y)}t.fd()}}function Dt(e,t){return null===t||!!(null===(t=t.part)||t instanceof Zo||t.layer.isTemporary||e.draggedParts&&e.draggedParts.contains(t)||e.copiedParts&&e.copiedParts.contains(t))}function qn(e,t){var i=e.diagram;e.dragsLink&&(null!==e.draggedLink&&(e.draggedLink.fromNode=null,e.draggedLink.toNode=null),Al(e,!1));var r=Fr(i,t,null,function(X){return!Dt(e,X)}),c=i.lastInput;c.targetObject=r;var h=i.skipsUndoManager,v=!1;try{if(i.skipsUndoManager=!0,v=zi(e,c,r),!e.isActive&&null===ur)return;if(null===r||i.handlesDragDropForTopLevelParts){var W=i.mouseDragOver;null!==W&&(W(c),v=!0)}if(!e.isActive&&null===ur||(e.doDragOver(t,r),!e.isActive&&null===ur))return}finally{i.skipsUndoManager=h,v&&i.fd()}(i.allowHorizontalScroll||i.allowVerticalScroll)&&i.Os(c.viewPoint)}function zi(e,t,i){var r=!1,c=e.Hg.length,h=0<c?e.Hg[0]:null;if(i===h)return!1;t.handled=!1;for(var v=0;v<c;v++){var W=e.Hg[v],X=W.mouseDragLeave;if(null!==X&&(X(t,W,i),r=!0,t.handled))break}if(e.Hg.length=0,!e.isActive&&null===ur||null===i)return r;for(t.handled=!1,c=i;null!==c;)e.Hg.push(c),c=yo(c);for(c=e.Hg.length,i=0;i<c&&(null===(W=(v=e.Hg[i]).mouseDragEnter)||(W(t,v,h),r=!0,!t.handled));i++);return r}function yo(e){var t=e.panel;return null!==t?t:e instanceof Os&&!(e instanceof Fe)&&null!==(e=e.containingGroup)&&e.handlesDragDropForMembers?e:null}function xr(e,t,i){var r=e.bg;if(null===r)return null;var c=e.diagram.ng(t,r.portGravity,function(Z){return r.findValidLinkablePort(Z,i)});e=Ze.alloc();var h=1/0,v=null;for(c=c.iterator;c.next();){var W=c.value;if(null!==W.part){var X=W.ma(Jt,e);(X=t.Be(X))<h&&(v=W,h=X)}}return Ze.free(e),v}function Al(e,t){var i=e.draggedLink;if(null!==i&&!(2>i.pointsCount)){var r=e.diagram;if(!r.isReadOnly){var c=e.bg;if(null!==c){var h=null,v=null;null===i.fromNode&&null!==(h=xr(e,i.i(0),!1))&&(v=h.part);var W=null,X=null;null===i.toNode&&null!==(W=xr(e,i.i(i.pointsCount-1),!0))&&(X=W.part),c.isValidLink(v,h,X,W)?t?(i.defaultFromPoint=i.i(0),i.defaultToPoint=i.i(i.pointsCount-1),i.suspendsRouting=!1,i.fromNode=v,null!==h&&(i.fromPortId=h.portId),i.toNode=X,null!==W&&(i.toPortId=W.portId),i.fromPort!==r.vx&&r.aa("LinkRelinked",i,r.vx),i.toPort!==r.wx&&r.aa("LinkRelinked",i,r.wx)):Il(c,v,h,X,W):Il(c,null,null,null,null)}}}}function P0(e,t){var i=e.diagram;e.dragsLink&&Al(e,!0),W1(e);var r=Fr(i,t,null,function(W){return!Dt(e,W)}),c=i.lastInput;if(c.targetObject=r,null!==r){c.handled=!1;for(var h=r;null!==h;){var v=h.mouseDrop;if(null!==v&&(v(c,h),c.handled))break;Eo(e,c,h),h=yo(h)}}else null!==(h=i.mouseDrop)&&h(c);if(e.isActive||null!==ur){for(c=(e.copiedParts||e.draggedParts).iterator;c.next();)(h=c.key)instanceof as&&h.linksConnected.each(function(W){W.suspendsRouting=!1});if(e.doDropOnto(t,r),e.isActive||null!==ur){for(t=sn.alloc(),r=i.selection.iterator;r.next();)(c=r.value)instanceof as&&Ac(e,i,c,t);sn.free(t)}}}function Eo(e,t,i){e=e.diagram,i instanceof Os&&null===i.containingGroup&&!(i instanceof Fe)&&e.handlesDragDropForTopLevelParts&&null!==(i=e.mouseDrop)&&i(t)}function Ac(e,t,i,r){var c=!1;for(i.getAvoidableRect(r),t.viewportBounds.lf(r)&&(c=!0),t=t.links,e=e.copiedParts||e.draggedParts;t.next();){var h=t.value;(!c||ku(h))&&(e.contains(h)&&e.contains(i)||!h.Vd(i)&&h.isAvoiding&&$i(h.actualBounds,r,0)&&h.Ra())}}function ga(e,t,i,r){if(null===e.copiedParts){var c=e.diagram;if(!c.isReadOnly&&!c.isModelReadOnly){c.skipsUndoManager=!i,c.partManager.addsToTemporaryLayer=!i,e.startPoint=r.documentPoint,i=c.Xj(t,c,!0);var h=sn.alloc();_a(t,h),r=h.x+h.width/2,c=h.y+h.height/2,sn.free(h),h=e.xs;var v=new Kt,W=Ze.alloc();for(t=t.iterator;t.next();){var X=t.value,Z=i.J(X);X.Lb()&&X.canCopy()?(W.h(h.x-(r-(X=X.location).x),h.y-(c-X.y)),Z.location=W,Z.ac(),v.add(Z,e.pd(W))):Z instanceof Zt&&X.canCopy()&&(Pi(Z,h.x-r,h.y-c),v.add(Z,e.pd()))}Ze.free(W),e.copiedParts=v,Jo(e,v.Yd()),null!==e.draggedLink&&Pi(i=e.draggedLink,e.startPoint.x-((r=i.routeBounds).x+r.width/2),e.startPoint.y-(r.y+r.height/2))}}}mo.className="ToolManager",mo.WheelScroll=Nr,mo.WheelZoom=Pl,mo.WheelNone=ra,mo.GestureZoom=ul,mo.GestureCancel=g1,mo.GestureNone=hc,y(Dr,uo),Dr.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;if(e.isReadOnly&&!e.allowDragOut||!e.allowMove&&!e.allowCopy&&!e.allowDragOut||!e.allowSelect)return!1;var t=e.lastInput;return!(!t.left||e.currentTool!==this&&(!this.isBeyondDragSize()||t.isTouchEvent&&t.timestamp-e.firstInput.timestamp<this.Qk))&&null!==this.findDraggablePart()},Dr.prototype.findDraggablePart=function(){var e=this.diagram;if(null===(e=e.$l(e.firstInput.documentPoint,!1)))return null;for(;null!==e&&!e.canSelect();)e=e.containingGroup;return null!==e&&(e.canMove()||e.canCopy())?e:null},Dr.prototype.standardMouseSelect=function(){var e=this.diagram;if(e.allowSelect){var t=e.$l(e.firstInput.documentPoint,!1);if(null!==t){for(;null!==t&&!t.canSelect();)t=t.containingGroup;this.currentPart=t,null===this.currentPart||this.currentPart.isSelected||(e.aa("ChangingSelection",e.selection),t=e.lastInput,(Le?t.meta:t.control)||t.shift||to(e),this.currentPart.isSelected=!0,e.aa("ChangedSelection",e.selection))}}},Dr.prototype.doActivate=function(){var e=this.diagram;null===this.currentPart&&this.standardMouseSelect();var t=this.currentPart;null!==t&&(t.canMove()||t.canCopy())&&(ur=null,this.isActive=!0,this.Hl.set(e.position),Jo(this,e.selection),this.Hg.length=0,this.draggedParts=this.computeEffectiveCollection(e.selection,this.dragOptions),e.Ui=!0,!0===e.De("temporaryPixelRatio")&&30<e.Vw&&wl(e),Pt(e,this.draggedParts),this.Aa("Drag"),this.startPoint=e.firstInput.documentPoint,e.isMouseCaptured=!0,e.allowDragOut&&(this.isDragOutStarted=!0,this.yn=!1,ur=this,w1=this.diagram,this.doSimulatedDragOut()))},Dr.prototype.computeEffectiveCollection=function(e,t){return this.diagram.commandHandler.computeEffectiveCollection(e,t)},Dr.prototype.pd=function(e){return new U1(void 0===e?Rn:this.isGridSnapEnabled?new Ze(Math.round(e.x),Math.round(e.y)):e.copy())},Dr.prototype.doDeactivate=function(){this.isActive=!1;var e=this.diagram;if(e.vf(),W1(this),mt(e,this.draggedParts),this.draggedParts=this.currentPart=null,this.yn=this.isDragOutStarted=!1,0<dl.count){for(var t=dl,i=t.length,r=0;r<i;r++){var c=t.N(r);z1(c),h0(c),W1(c),c.diagram.vf()}t.clear()}z1(this),this.Hl.h(NaN,NaN),ur=w1=null,h0(this),e.isMouseCaptured=!1,e.currentCursor="",e.Ui=!1,this.vg(),Oa(e,!0)},Dr.prototype.doCancel=function(){h0(this),tn(this);var e=this.diagram;this.Hl.o()&&(e.position=this.Hl),this.stopTool()},Dr.prototype.doKeyDown=function(){this.isActive&&("Esc"===this.diagram.lastInput.key?this.doCancel():this.doMouseMove())},Dr.prototype.doKeyUp=function(){this.isActive&&this.doMouseMove()},Dr.prototype.moveParts=function(e,t,i){var r=this.diagram;null!==r&&je(r,e,t,this.dragOptions,i)},Dr.prototype.doDragOver=function(){},Dr.prototype.doDropOnto=function(){},Dr.prototype.doMouseMove=function(){if(this.isActive){var e=this.diagram,t=e.lastInput;this.simulatedMouseMove(t.event,null,t.targetDiagram||null)||null===this.currentPart||null===this.draggedParts||(this.mayCopy()?(e.currentCursor="copy",L1(this,!1),Pt(e,this.copiedParts),un(this,this.copiedParts,!1),mt(e,this.copiedParts)):this.mayMove()?(h0(this),un(this,this.draggedParts,!0)):this.mayDragOut()?(e.currentCursor="no-drop",L1(this,!1),un(this,this.copiedParts,!1)):h0(this),qn(this,e.lastInput.documentPoint))}},Dr.prototype.doMouseUp=function(){if(this.isActive){var e=this.diagram,t=e.lastInput;if(!this.simulatedMouseUp(t.event,null,t.documentPoint,t.targetDiagram)){var i=!1;if((t=this.mayCopy())&&null!==this.copiedParts?(h0(this),L1(this,!0),Pt(e,this.copiedParts),un(this,this.copiedParts,!1),mt(e,this.copiedParts),null!==this.copiedParts&&e.Gv(this.copiedParts.Yd())):(i=!0,h0(this),this.mayMove()&&(un(this,this.draggedParts,!0),qn(this,e.lastInput.documentPoint))),this.yn=!0,P0(this,e.lastInput.documentPoint),this.isActive){var r=t?this.copiedParts.Yd():this.draggedParts.Yd();if(this.copiedParts=null,i&&null!==this.draggedParts)for(i=this.draggedParts.iterator;i.next();){var c=i.key;c instanceof as&&(null===(c=c.containingGroup)||null===c.placeholder||this.draggedParts.contains(c)||c.placeholder.s())}e.Xa(),mt(e,this.draggedParts),this.transactionResult=t?"Copy":"Move",e.aa(t?"SelectionCopied":"SelectionMoved",r)}this.stopTool()}}},Dr.prototype.simulatedMouseMove=function(e,t,i){if(null===ur)return!1;var r=ur.diagram;i instanceof ii||(i=null);var c=w1;return i!==c&&(null!==c&&c!==r&&(c.vf(),ur.isDragOutStarted=!1,null!==(c=c.toolManager.findTool("Dragging"))&&c.doSimulatedDragLeave()),w1=i,null!==i&&i!==r&&(W0(),null!==(c=i.toolManager.findTool("Dragging"))&&(dl.contains(c)||dl.add(c),c.doSimulatedDragEnter()))),!(null===i||i===r||!i.allowDrop||i.isReadOnly||!i.allowInsert||(null!==(r=i.toolManager.findTool("Dragging"))&&(null!==e?(void 0!==e.targetTouches&&(0<e.targetTouches.length?e=e.targetTouches[0]:0<e.changedTouches.length&&(e=e.changedTouches[0])),t=i.getMouse(e)):null===t&&(t=new Ze),i.lastInput.documentPoint=t,i.lastInput.viewPoint=i.xt(t),i.lastInput.down=!1,i.lastInput.up=!1,r.doSimulatedDragOver()),0))},Dr.prototype.simulatedMouseUp=function(e,t,i,r){if(null===ur)return!1;null===r&&(r=t);var c=ur.diagram;if(r!==(t=w1)){var h=t.toolManager.findTool("Dragging");if(null!==t&&t!==c&&null!==h)return t.vf(),ur.isDragOutStarted=!1,h.doSimulatedDragLeave(),!1;w1=r,t=r.toolManager.findTool("Dragging"),null!==r&&null!==t&&(W0(),dl.contains(t)||dl.add(t),t.doSimulatedDragEnter())}return null===r?(ur.doCancel(),!0):r!==this.diagram&&(null!==e?(void 0!==e.targetTouches&&(0<e.targetTouches.length?e=e.targetTouches[0]:0<e.changedTouches.length&&(e=e.changedTouches[0])),i=r.getMouse(e)):null===i&&(i=new Ze),r.lastInput.documentPoint=i,r.lastInput.viewPoint=r.xt(i),r.lastInput.down=!1,r.lastInput.up=!0,null!==(e=r.toolManager.findTool("Dragging"))&&e.doSimulatedDrop(),null!==(e=ur)&&(r=e.mayCopy(),e.transactionResult=r?"Copy":"Move",e.stopTool()),!0)},Dr.prototype.mayCopy=function(){if(!this.isCopyEnabled)return!1;var e=this.diagram;if(e.isReadOnly||e.isModelReadOnly||!e.allowInsert||!e.allowCopy||(Le?!e.lastInput.alt:!e.lastInput.control))return!1;for(e=e.selection.iterator;e.next();){var t=e.value;if(t.Lb()&&t.canCopy())return!0}return!(null===this.draggedLink||!this.dragsLink||!this.draggedLink.canCopy())},Dr.prototype.mayDragOut=function(){if(!this.isCopyEnabled)return!1;var e=this.diagram;if(!e.allowDragOut||!e.allowCopy||e.allowMove)return!1;for(e=e.selection.iterator;e.next();){var t=e.value;if(t.Lb()&&t.canCopy())return!0}return!(null===this.draggedLink||!this.dragsLink||!this.draggedLink.canCopy())},Dr.prototype.mayMove=function(){var e=this.diagram;if(e.isReadOnly||!e.allowMove)return!1;for(e=e.selection.iterator;e.next();){var t=e.value;if(t.Lb()&&t.canMove())return!0}return!(null===this.draggedLink||!this.dragsLink||!this.draggedLink.canMove())},Dr.prototype.computeBorder=function(e,t,i){return this.yn||null===this.draggedParts||this.draggedParts.contains(e)?null:i.assign(t)},Dr.prototype.az=function(){return ur},Dr.prototype.mayDragIn=function(){var e=this.diagram;return!(!e.allowDrop||e.isReadOnly||e.isModelReadOnly||!e.allowInsert)&&!(null===ur||ur.diagram.model.dataFormat!==e.model.dataFormat)},Dr.prototype.doSimulatedDragEnter=function(){if(this.mayDragIn()){var e=this.diagram;e.animationManager.vd(),yl(e),e.animationManager.vd(),null!==(e=ur)&&(e.diagram.currentCursor="copy",e.diagram.Ui=!1)}},Dr.prototype.doSimulatedDragLeave=function(){null!==ur&&ur.doSimulatedDragOut(),this.doCancel()},Dr.prototype.doSimulatedDragOver=function(){var e=this.diagram,t=ur;null!==t&&null!==t.draggedParts&&this.mayDragIn()&&(e.currentCursor="copy",ga(this,t.draggedParts.Yd(),!1,e.firstInput),un(this,this.copiedParts,!1),qn(this,e.lastInput.documentPoint))},Dr.prototype.doSimulatedDrop=function(){var e=this.diagram,t=ur;if(null!==t){var i=t.diagram;t.yn=!0,h0(this),this.mayDragIn()&&(this.Aa("Drop"),ga(this,t.draggedParts.Yd(),!0,e.lastInput),un(this,this.copiedParts,!1),null!==this.copiedParts&&e.Gv(this.copiedParts.Yd()),P0(this,e.lastInput.documentPoint),e.Xa(),t=e.selection,null!==this.copiedParts?this.transactionResult="ExternalCopy":t=new Se,this.copiedParts=null,e.doFocus(),e.aa("ExternalObjectsDropped",t,i),this.vg())}},Dr.prototype.doSimulatedDragOut=function(){var e=this.diagram;e.Ui=!1,e.currentCursor=this.mayCopy()||this.mayMove()?"":"no-drop"},Dr.prototype.computeMove=function(e,t,i,r){return null!==(i=this.diagram)?i.computeMove(e,t,this.dragOptions,r):new Ze},I.Object.defineProperties(Dr.prototype,{isCopyEnabled:{get:function(){return this.Kc},set:function(e){this.Kc=e}},copiesEffectiveCollection:{get:function(){return this.K},set:function(e){this.K=e}},dragOptions:{get:function(){return this.La},set:function(e){this.La=e}},isGridSnapEnabled:{get:function(){return this.dragOptions.isGridSnapEnabled},set:function(e){this.dragOptions.isGridSnapEnabled=e}},isComplexRoutingRealtime:{get:function(){return this.Wb},set:function(e){this.Wb=e}},isGridSnapRealtime:{get:function(){return this.dragOptions.isGridSnapRealtime},set:function(e){this.dragOptions.isGridSnapRealtime=e}},gridSnapCellSize:{get:function(){return this.dragOptions.gridSnapCellSize},set:function(e){null===this.diagram||this.dragOptions.gridSnapCellSize.A(e)||(e=e.I(),this.dragOptions.gridSnapCellSize=e)}},gridSnapCellSpot:{get:function(){return this.dragOptions.gridSnapCellSpot},set:function(e){this.dragOptions.gridSnapCellSpot.A(e)||(e=e.I(),this.dragOptions.gridSnapCellSpot=e)}},gridSnapOrigin:{get:function(){return this.dragOptions.gridSnapOrigin},set:function(e){this.dragOptions.gridSnapOrigin.A(e)||(e=e.I(),this.dragOptions.gridSnapOrigin=e)}},dragsLink:{get:function(){return this.dragOptions.dragsLink},set:function(e){this.dragOptions.dragsLink=e}},dragsTree:{get:function(){return this.dragOptions.dragsTree},set:function(e){this.dragOptions.dragsTree=e}},currentPart:{get:function(){return this.ba},set:function(e){this.ba=e}},copiedParts:{get:function(){return this.u},set:function(e){this.u=e}},draggedParts:{get:function(){return this.Ma},set:function(e){this.Ma=e}},draggingParts:{get:function(){return null!==this.copiedParts?this.copiedParts.Yd():null!==this.draggedParts?this.draggedParts.Yd():this.wg}},draggedLink:{get:function(){return this.diagram.draggedLink},set:function(e){this.diagram.draggedLink=e}},isDragOutStarted:{get:function(){return this.Vc},set:function(e){this.Vc=e}},startPoint:{get:function(){return this.xs},set:function(e){this.xs.A(e)||this.xs.assign(e)}},delay:{get:function(){return this.Qk},set:function(e){this.Qk=e}}}),Dr.prototype.getDraggingSource=Dr.prototype.az;var dl=null,ur=null,w1=null;function So(){uo.call(this),this.wg=100,this.ba=!1;var e=new Zt,t=new io;t.isPanelMain=!0,t.stroke="blue",e.add(t),(t=new io).toArrow="Standard",t.fill="blue",t.stroke="blue",e.add(t),e.layerName="Tool",this.Gm=e,e=new as,(t=new io).portId="",t.figure="Rectangle",t.fill=null,t.stroke="magenta",t.strokeWidth=2,t.desiredSize=_n,e.add(t),e.selectable=!1,e.layerName="Tool",this.Em=e,this.Fm=t,e=new as,(t=new io).portId="",t.figure="Rectangle",t.fill=null,t.stroke="magenta",t.strokeWidth=2,t.desiredSize=_n,e.add(t),e.selectable=!1,e.layerName="Tool",this.wq=e,this.cw=t,this.Vc=this.Kc=this.Ma=this.La=this.Wb=null,this.K=!0,this.Sx=new Kt,this.Cm=this.ii=this.Dm=null}function s0(e,t,i,r){if(t===i)return!0;var c=t.fromNode;return!(null===c||!c.isLinkLabel||(r.add(c),!s0(e,c.labeledLink,i,r)))||!(null===(t=t.toNode)||!t.isLinkLabel||(r.add(t),!s0(e,t.labeledLink,i,r)))}function e1(e,t,i,r,c){if(t===i)return!0;if(null===t||null===i)return!1;for(var h=t.linksConnected;h.next();){var v=h.value;if(v!==r&&(!c||v.isTreeLink)&&v.toNode===t&&(v=v.fromNode)!==t&&e1(e,v,i,r,c))return!0}return!1}function jl(e,t,i,r,c){if(i===r)return!0;if(null===i||null===r||t.contains(i))return!1;t.add(i);for(var h=i.linksConnected;h.next();){var v=h.value;if(v!==c&&v.toNode===i&&(v=v.fromNode)!==i&&jl(e,t,v,r,c))return!0}return!1}function Zl(e,t,i,r,c){if(i===r)return!0;if(null===i||null===r||t.contains(i))return!1;t.add(i);for(var h=i.linksConnected;h.next();){var v=h.value;if(v!==c){var W=v.fromNode;if(v=v.toNode,(W=W===i?v:W)!==i&&Zl(e,t,W,r,c))return!0}}return!1}function ba(){So.call(this),this.name="Linking",this.u={},this.l=null,this.L=qa,this.Ch=null}Dr.className="DraggingTool",dl=new gt,te("draggingTool",function(){return this.findTool("Dragging")},function(e){ea(this,"Dragging",e,this.mouseMoveTools)}),mo.prototype.doCancel=function(){null!==ur&&ur.doCancel(),uo.prototype.doCancel.call(this)},y(So,uo),So.prototype.doStop=function(){this.diagram.vf(),this.originalToPort=this.originalToNode=this.originalFromPort=this.originalFromNode=this.originalLink=null,this.validPortsCache.clear(),this.targetPort=null},So.prototype.copyPortProperties=function(e,t,i,r,c){if(null!==e&&null!==t&&null!==i&&null!==r){var h=t.Ce(),v=Ue.alloc();v.width=t.naturalBounds.width*h,v.height=t.naturalBounds.height*h,r.desiredSize=v,Ue.free(v),c?(r.toSpot=t.toSpot,r.toEndSegmentLength=t.toEndSegmentLength):(r.fromSpot=t.fromSpot,r.fromEndSegmentLength=t.fromEndSegmentLength),i.locationSpot=Jt,h=Ze.alloc(),i.location=t.ma(Jt,h),Ze.free(h),r.angle=t.Ji(),null!==this.portTargeted&&this.portTargeted(e,t,i,r,c)}},So.prototype.setNoTargetPortProperties=function(e,t,i){null!==t&&(t.desiredSize=_n,t.fromSpot=Cn,t.toSpot=Cn),null!==e&&(e.location=this.diagram.lastInput.documentPoint),null!==this.portTargeted&&this.portTargeted(null,null,e,t,i)},So.prototype.doMouseDown=function(){this.isActive&&this.doMouseMove()},So.prototype.doMouseMove=function(){if(this.isActive){var e=this.diagram;if(this.targetPort=this.findTargetPort(this.isForwards),null!==this.targetPort&&this.targetPort.part instanceof as){var t=this.targetPort.part;this.isForwards?this.copyPortProperties(t,this.targetPort,this.temporaryToNode,this.temporaryToPort,!0):this.copyPortProperties(t,this.targetPort,this.temporaryFromNode,this.temporaryFromPort,!1)}else this.isForwards?this.setNoTargetPortProperties(this.temporaryToNode,this.temporaryToPort,!0):this.setNoTargetPortProperties(this.temporaryFromNode,this.temporaryFromPort,!1);(e.allowHorizontalScroll||e.allowVerticalScroll)&&e.Os(e.lastInput.viewPoint)}},So.prototype.findValidLinkablePort=function(e,t){if(null===e)return null;var i=e.part;if(!(i instanceof as))return null;for(;null!==e;){var r=t?e.toLinkable:e.fromLinkable;if(!0===r&&(null!==e.portId||e instanceof as)&&(t?this.isValidTo(i,e):this.isValidFrom(i,e)))return e;if(!1===r)break;e=e.panel}return null},So.prototype.findTargetPort=function(e){var t=this.diagram,i=t.lastInput.documentPoint,r=this.portGravity;0>=r&&(r=.1);var c=this,h=t.ng(i,r,function(ye){return c.findValidLinkablePort(ye,e)},null,!0);for(r=1/0,t=null,h=h.iterator;h.next();){var v=h.value,W=v.part;if(W instanceof as){var X=v.ma(Jt,Ze.alloc()),Z=i.x-X.x,ge=i.y-X.y;Ze.free(X),(X=Z*Z+ge*ge)<r&&(null!==(Z=this.validPortsCache.J(v))?Z&&(t=v,r=X):e&&this.isValidLink(this.originalFromNode,this.originalFromPort,W,v)||!e&&this.isValidLink(W,v,this.originalToNode,this.originalToPort)?(this.validPortsCache.add(v,!0),t=v,r=X):this.validPortsCache.add(v,!1))}}return null!==t&&(i=t.part)instanceof as&&(null===i.layer||i.layer.allowLink)?t:null},So.prototype.isValidFrom=function(e,t){if(null===e||null===t)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(null!==e.layer&&!e.layer.allowLink||!0!==t.fromLinkable))return!1;var i=t.fromMaxLinks;if(1/0>i){if(null!==this.originalLink&&e===this.originalFromNode&&t===this.originalFromPort)return!0;if(null===(t=t.portId)&&(t=""),e.Sp(t).count>=i)return!1}return!0},So.prototype.isValidTo=function(e,t){if(null===e||null===t)return this.isUnconnectedLinkValid;if(this.diagram.currentTool===this&&(null!==e.layer&&!e.layer.allowLink||!0!==t.toLinkable))return!1;var i=t.toMaxLinks;if(1/0>i){if(null!==this.originalLink&&e===this.originalToNode&&t===this.originalToPort)return!0;if(null===(t=t.portId)&&(t=""),e.sd(t).count>=i)return!1}return!0},So.prototype.isInSameNode=function(e,t){return null!==e&&null!==t&&(e===t||(t=t.part,null!==(e=e.part)&&e===t))},So.prototype.isLinked=function(e,t){if(null===e||null===t)return!1;var i=e.part;if(!(i instanceof as))return!1;null===(e=e.portId)&&(e="");var r=t.part;if(!(r instanceof as))return!1;for(null===(t=t.portId)&&(t=""),t=r.sd(t);t.next();)if((r=t.value).fromNode===i&&r.fromPortId===e)return!0;return!1},So.prototype.isValidLink=function(e,t,i,r){if(!this.isValidFrom(e,t)||!this.isValidTo(i,r)||!(null===t||null===r||(t.fromLinkableSelfNode&&r.toLinkableSelfNode||!this.isInSameNode(t,r))&&(t.fromLinkableDuplicates&&r.toLinkableDuplicates||!this.isLinked(t,r)))||null!==this.originalLink&&(null!==e&&this.isLabelDependentOnLink(e,this.originalLink)||null!==i&&this.isLabelDependentOnLink(i,this.originalLink))||null!==e&&null!==i&&(null===e.data&&null!==i.data||null!==e.data&&null===i.data)||!this.isValidCycle(e,i,this.originalLink))return!1;if(null!==e){var c=e.linkValidation;if(null!==c&&!c(e,t,i,r,this.originalLink))return!1}return!(null!==i&&(c=i.linkValidation,null!==c&&!c(e,t,i,r,this.originalLink)))&&(null===(c=this.linkValidation)||c(e,t,i,r,this.originalLink))},So.prototype.isLabelDependentOnLink=function(e,t){if(null===e)return!1;var i=e.labeledLink;if(null===i)return!1;if(i===t)return!0;var r=new Se;return r.add(e),s0(this,i,t,r)},So.prototype.isValidCycle=function(e,t,i){if(void 0===i&&(i=null),null===e||null===t)return this.isUnconnectedLinkValid;var r=this.diagram.validCycle;if(r!==yt){if(r===qt){if(null!==(r=i||this.temporaryLink)&&!r.isTreeLink)return!0;for(r=t.linksConnected;r.next();){var c=r.value;if(c!==i&&c.isTreeLink&&c.toNode===t)return!1}return!e1(this,e,t,i,!0)}if(r===An){if(null!==(r=i||this.temporaryLink)&&!r.isTreeLink)return!0;for(r=e.linksConnected;r.next();)if((c=r.value)!==i&&c.isTreeLink&&c.fromNode===e)return!1;return!e1(this,e,t,i,!0)}if(r===it)return e===t?e=!0:((r=new Se).add(t),e=jl(this,r,e,t,i)),!e;if(r===we)return!e1(this,e,t,i,!1);if(r===dt)return e===t?e=!0:((r=new Se).add(t),e=Zl(this,r,e,t,i)),!e}return!0},I.Object.defineProperties(So.prototype,{portGravity:{get:function(){return this.wg},set:function(e){0<=e&&(this.wg=e)}},isUnconnectedLinkValid:{get:function(){return this.ba},set:function(e){this.ba=e}},temporaryLink:{get:function(){return this.Gm},set:function(e){this.Gm=e}},temporaryFromNode:{get:function(){return this.Em},set:function(e){this.Em=e}},temporaryFromPort:{get:function(){return this.Fm},set:function(e){this.Fm=e}},temporaryToNode:{get:function(){return this.wq},set:function(e){this.wq=e}},temporaryToPort:{get:function(){return this.cw},set:function(e){this.cw=e}},originalLink:{get:function(){return this.Wb},set:function(e){this.Wb=e}},originalFromNode:{get:function(){return this.La},set:function(e){this.La=e}},originalFromPort:{get:function(){return this.Ma},set:function(e){this.Ma=e}},originalToNode:{get:function(){return this.Kc},set:function(e){this.Kc=e}},originalToPort:{get:function(){return this.Vc},set:function(e){this.Vc=e}},isForwards:{get:function(){return this.K},set:function(e){this.K=e}},validPortsCache:{get:function(){return this.Sx}},targetPort:{get:function(){return this.Dm},set:function(e){this.Dm=e}},linkValidation:{get:function(){return this.ii},set:function(e){this.ii=e}},portTargeted:{get:function(){return this.Cm},set:function(e){this.Cm=e}}}),So.className="LinkingBaseTool",y(ba,So),ba.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;return!(e.isReadOnly||e.isModelReadOnly||!e.allowLink||!e.model.dt()||!e.lastInput.left||e.currentTool!==this&&!this.isBeyondDragSize())&&null!==this.findLinkablePort()},ba.prototype.findLinkablePort=function(){var e=this.diagram,t=this.startObject;if(null===t&&(t=e.Sb(e.firstInput.documentPoint,null,null)),null===t||!(t.part instanceof as))return null;if((e=this.direction)===qa||e===Pr){var i=this.findValidLinkablePort(t,!1);if(null!==i)return this.isForwards=!0,i}return e!==qa&&e!==fc||null===(t=this.findValidLinkablePort(t,!0))?null:(this.isForwards=!1,t)},ba.prototype.doActivate=function(){var e=this.diagram,t=this.findLinkablePort();null!==t&&(this.Aa(this.name),e.isMouseCaptured=!0,e.currentCursor="pointer",this.isForwards?(null===this.temporaryToNode||this.temporaryToNode.location.o()||(this.temporaryToNode.location=e.lastInput.documentPoint),this.originalFromPort=t,(t=this.originalFromPort.part)instanceof as&&(this.originalFromNode=t),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1)):(null===this.temporaryFromNode||this.temporaryFromNode.location.o()||(this.temporaryFromNode.location=e.lastInput.documentPoint),this.originalToPort=t,(t=this.originalToPort.part)instanceof as&&(this.originalToNode=t),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0)),e.add(this.temporaryFromNode),e.add(this.temporaryToNode),null!==this.temporaryLink&&(null!==this.temporaryFromNode&&(this.temporaryLink.fromNode=this.temporaryFromNode),null!==this.temporaryToNode&&(this.temporaryLink.toNode=this.temporaryToNode),this.temporaryLink.isTreeLink=this.isNewTreeLink(),this.temporaryLink.Ra(),e.add(this.temporaryLink)),this.isActive=!0)},ba.prototype.doDeactivate=function(){this.isActive=!1;var e=this.diagram;e.remove(this.temporaryLink),e.remove(this.temporaryFromNode),e.remove(this.temporaryToNode),e.isMouseCaptured=!1,e.currentCursor="",this.vg()},ba.prototype.doStop=function(){So.prototype.doStop.call(this),this.startObject=null},ba.prototype.doMouseUp=function(){if(this.isActive){var e=this.diagram,t=this.transactionResult=null,i=null,r=null,c=null,h=this.targetPort=this.findTargetPort(this.isForwards);if(null!==h){var v=h.part;v instanceof as&&(this.isForwards?(null!==this.originalFromNode&&(t=this.originalFromNode,i=this.originalFromPort),r=v,c=h):(t=v,i=h,null!==this.originalToNode&&(r=this.originalToNode,c=this.originalToPort)))}else this.isForwards?null!==this.originalFromNode&&this.isUnconnectedLinkValid&&(t=this.originalFromNode,i=this.originalFromPort):null!==this.originalToNode&&this.isUnconnectedLinkValid&&(r=this.originalToNode,c=this.originalToPort);null!==t||null!==r?null!==(v=this.insertLink(t,i,r,c))?(null===h&&(this.isForwards?v.defaultToPoint=e.lastInput.documentPoint:v.defaultFromPoint=e.lastInput.documentPoint),e.allowSelect&&e.select(v),this.transactionResult=this.name,e.aa("LinkDrawn",v)):(e.model.Lu(),this.doNoLink(t,i,r,c)):this.isForwards?this.doNoLink(this.originalFromNode,this.originalFromPort,null,null):this.doNoLink(null,null,this.originalToNode,this.originalToPort)}this.stopTool()},ba.prototype.isNewTreeLink=function(){var e=this.archetypeLinkData;if(null===e)return!0;if(e instanceof Zt)return e.isTreeLink;var t=this.diagram;return null===t||(e=t.partManager.getLinkCategoryForData(e),null===(t=t.partManager.findLinkTemplateForCategory(e))||t.isTreeLink)},ba.prototype.insertLink=function(e,t,i,r){return this.diagram.partManager.insertLink(e,t,i,r)},ba.prototype.doNoLink=function(){},I.Object.defineProperties(ba.prototype,{archetypeLinkData:{get:function(){return this.u},set:function(e){this.u=e}},archetypeLabelNodeData:{get:function(){return this.l},set:function(e){this.l=e}},direction:{get:function(){return this.L},set:function(e){this.L=e}},startObject:{get:function(){return this.Ch},set:function(e){this.Ch=e}}});var qa=new Pe(ba,"Either",0),Pr=new Pe(ba,"ForwardsOnly",0),fc=new Pe(ba,"BackwardsOnly",0);function I0(){So.call(this),this.name="Relinking";var e=new io;e.figure="Diamond",e.desiredSize=Ii,e.fill="lightblue",e.stroke="dodgerblue",e.cursor="pointer",e.segmentIndex=0,this.u=e,(e=new io).figure="Diamond",e.desiredSize=Ii,e.fill="lightblue",e.stroke="dodgerblue",e.cursor="pointer",e.segmentIndex=-1,this.Ch=e,this.l=null,this.Hw=new sn}function Il(e,t,i,r,c){null!==t?(e.copyPortProperties(t,i,e.temporaryFromNode,e.temporaryFromPort,!1),e.diagram.add(e.temporaryFromNode)):e.diagram.remove(e.temporaryFromNode),null!==r?(e.copyPortProperties(r,c,e.temporaryToNode,e.temporaryToPort,!0),e.diagram.add(e.temporaryToNode)):e.diagram.remove(e.temporaryToNode)}function Yr(){uo.call(this),this.name="LinkReshaping";var e=new io;e.figure="Rectangle",e.desiredSize=Xn,e.fill="lightblue",e.stroke="dodgerblue",this.u=e,(e=new io).figure="Diamond",e.desiredSize=Ii,e.fill="lightblue",e.stroke="dodgerblue",e.cursor="move",this.K=e,this.ba=3,this.Ht=this.l=null,this.ul=new Ze,this.ds=new gt}function Io(e,t,i,r,c,h){return h?Math.abs(t.y-i.y)<e.resegmentingDistance&&Math.abs(i.y-r.y)<e.resegmentingDistance&&Math.abs(r.y-c.y)<e.resegmentingDistance:Math.abs(t.x-i.x)<e.resegmentingDistance&&Math.abs(i.x-r.x)<e.resegmentingDistance&&Math.abs(r.x-c.x)<e.resegmentingDistance}ba.className="LinkingTool",ba.Either=qa,ba.ForwardsOnly=Pr,ba.BackwardsOnly=fc,y(I0,So),I0.prototype.updateAdornments=function(e){if(null!==e&&e instanceof Zt){var t="RelinkFrom",i=null;if(e.isSelected&&!this.diagram.isReadOnly){var r=e.selectionObject;null!==r&&e.canRelinkFrom()&&e.actualBounds.o()&&e.isVisible()&&r.actualBounds.o()&&r.rf()&&null===(i=e.$j(t))&&(i=this.makeAdornment(r,!1),e.qh(t,i))}null===i&&e.tf(t),t="RelinkTo",i=null,e.isSelected&&!this.diagram.isReadOnly&&null!==(r=e.selectionObject)&&e.canRelinkTo()&&e.actualBounds.o()&&e.isVisible()&&r.actualBounds.o()&&r.rf()&&(null===(i=e.$j(t))?(i=this.makeAdornment(r,!0),e.qh(t,i)):i.s()),null===i&&e.tf(t)}},I0.prototype.makeAdornment=function(e,t){var i=new Zo;return i.type=Vi.Link,null!==(t=t?this.toHandleArchetype:this.fromHandleArchetype)&&i.add(t.copy()),i.adornedObject=e,i},I0.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;if(e.isReadOnly||e.isModelReadOnly||!e.allowRelink||!e.model.dt()||!e.lastInput.left)return!1;var t=this.findToolHandleAt(e.firstInput.documentPoint,"RelinkFrom");return null===t&&(t=this.findToolHandleAt(e.firstInput.documentPoint,"RelinkTo")),null!==t},I0.prototype.doActivate=function(){var e=this.diagram;if(null===this.originalLink){var t=this.handle;if(null===t&&null===(t=this.findToolHandleAt(e.firstInput.documentPoint,"RelinkFrom"))&&(t=this.findToolHandleAt(e.firstInput.documentPoint,"RelinkTo")),null===t)return;var i=t.part;if(!(i instanceof Zo&&i.adornedPart instanceof Zt))return;this.handle=t,this.isForwards=null===i||"RelinkTo"===i.category,this.originalLink=i.adornedPart}this.Aa(this.name),e.isMouseCaptured=!0,e.currentCursor="pointer",this.originalFromPort=this.originalLink.fromPort,this.originalFromNode=this.originalLink.fromNode,this.originalToPort=this.originalLink.toPort,this.originalToNode=this.originalLink.toNode,this.Hw.set(this.originalLink.actualBounds),null!==this.originalLink&&0<this.originalLink.pointsCount&&(null===this.originalLink.fromNode&&(null!==this.temporaryFromPort&&(this.temporaryFromPort.desiredSize=Un),null!==this.temporaryFromNode&&(this.temporaryFromNode.location=this.originalLink.i(0))),null===this.originalLink.toNode&&(null!==this.temporaryToPort&&(this.temporaryToPort.desiredSize=Un),null!==this.temporaryToNode&&(this.temporaryToNode.location=this.originalLink.i(this.originalLink.pointsCount-1)))),this.copyPortProperties(this.originalFromNode,this.originalFromPort,this.temporaryFromNode,this.temporaryFromPort,!1),this.copyPortProperties(this.originalToNode,this.originalToPort,this.temporaryToNode,this.temporaryToPort,!0),e.add(this.temporaryFromNode),e.add(this.temporaryToNode),null!==this.temporaryLink&&(null!==this.temporaryFromNode&&(this.temporaryLink.fromNode=this.temporaryFromNode),null!==this.temporaryToNode&&(this.temporaryLink.toNode=this.temporaryToNode),this.copyLinkProperties(this.originalLink,this.temporaryLink),this.temporaryLink.Ra(),e.add(this.temporaryLink)),this.isActive=!0},I0.prototype.copyLinkProperties=function(e,t){if(null!==e&&null!==t){t.adjusting=e.adjusting,t.corner=e.corner;var i=e.curve;(i===kl||i===Oc)&&(i=Ya),t.curve=i,t.curviness=e.curviness,t.isTreeLink=e.isTreeLink,t.points=e.points,t.routing=e.routing,t.smoothness=e.smoothness,t.fromSpot=e.fromSpot,t.fromEndSegmentLength=e.fromEndSegmentLength,t.fromShortLength=e.fromShortLength,t.toSpot=e.toSpot,t.toEndSegmentLength=e.toEndSegmentLength,t.toShortLength=e.toShortLength}},I0.prototype.doDeactivate=function(){this.isActive=!1;var e=this.diagram;e.remove(this.temporaryLink),e.remove(this.temporaryFromNode),e.remove(this.temporaryToNode),e.isMouseCaptured=!1,e.currentCursor="",this.vg()},I0.prototype.doStop=function(){So.prototype.doStop.call(this),this.handle=null},I0.prototype.doMouseUp=function(){if(this.isActive){var e=this.diagram;this.transactionResult=null;var t=this.originalFromNode,i=this.originalFromPort,r=this.originalToNode,c=this.originalToPort,h=this.originalLink;if(this.targetPort=this.findTargetPort(this.isForwards),null!==this.targetPort){var v=this.targetPort.part;v instanceof as&&(this.isForwards?(r=v,c=this.targetPort):(t=v,i=this.targetPort))}else this.isUnconnectedLinkValid?this.isForwards?c=r=null:i=t=null:h=null;null!==h?(this.reconnectLink(h,this.isForwards?r:t,this.isForwards?c:i,this.isForwards),null===this.targetPort&&(this.isForwards?h.defaultToPoint=e.lastInput.documentPoint:h.defaultFromPoint=e.lastInput.documentPoint,h.Ra()),e.allowSelect&&(h.isSelected=!0),this.transactionResult=this.name,e.aa("LinkRelinked",h,this.isForwards?this.originalToPort:this.originalFromPort)):this.doNoRelink(this.originalLink,this.isForwards),this.originalLink.$p(this.Hw)}this.stopTool()},I0.prototype.reconnectLink=function(e,t,i,r){return i=null!==i&&null!==i.portId?i.portId:"",r?(e.toNode=t,e.toPortId=i):(e.fromNode=t,e.fromPortId=i),!0},I0.prototype.doNoRelink=function(){},I.Object.defineProperties(I0.prototype,{fromHandleArchetype:{get:function(){return this.u},set:function(e){this.u=e}},toHandleArchetype:{get:function(){return this.Ch},set:function(e){this.Ch=e}},handle:{get:function(){return this.l},set:function(e){if(null!==e&&!(e.part instanceof Zo))throw Error("new handle is not in an Adornment: "+e);this.l=e}}}),I0.className="RelinkingTool",te("linkingTool",function(){return this.findTool("Linking")},function(e){ea(this,"Linking",e,this.mouseMoveTools)}),te("relinkingTool",function(){return this.findTool("Relinking")},function(e){ea(this,"Relinking",e,this.mouseDownTools)}),y(Yr,uo),Yr.prototype.dv=function(e){return e&&e.js&&0!==e.js.value?e.js:b1},Yr.prototype.wm=function(e,t){e.js=t},Yr.prototype.updateAdornments=function(e){if(null!==e&&e instanceof Zt){var t=null;if(e.isSelected&&!this.diagram.isReadOnly){var i=e.path;null!==i&&e.canReshape()&&e.actualBounds.o()&&e.isVisible()&&i.actualBounds.o()&&i.rf()&&(null===(t=e.$j(this.name))||t.Ew!==e.pointsCount||t.Pw!==e.resegmentable)&&null!==(t=this.makeAdornment(i))&&(t.Ew=e.pointsCount,t.Pw=e.resegmentable,e.qh(this.name,t))}null===t&&e.tf(this.name)}},Yr.prototype.makeAdornment=function(e){var t=e.part,i=t.pointsCount,r=t.isOrthogonal,c=null;if(null!==t.points&&1<i){(c=new Zo).type=Vi.Link,i=t.firstPickIndex;var h=t.lastPickIndex,v=r?1:0;if(t.resegmentable&&t.computeCurve()!==lc)for(var W=i+v;W<h-v;W++){var X=this.makeResegmentHandle(e,W);null!==X&&(X.segmentIndex=W,X.segmentFraction=.5,X.fromMaxLinks=999,c.add(X))}for(v=i+1;v<h;v++)if(null!==(W=this.makeHandle(e,v))){if(W.segmentIndex=v,v!==i)if(v===i+1&&r){X=t.i(i);var Z=t.i(i+1);Yn.w(X.x,Z.x)&&Yn.w(X.y,Z.y)&&(Z=t.i(i-1)),Yn.w(X.x,Z.x)?(this.wm(W,yi),W.cursor="n-resize"):Yn.w(X.y,Z.y)&&(this.wm(W,Wn),W.cursor="w-resize")}else v===h-1&&r?(X=t.i(h-1),Z=t.i(h),Yn.w(X.x,Z.x)&&Yn.w(X.y,Z.y)&&(X=t.i(h+1)),Yn.w(X.x,Z.x)?(this.wm(W,yi),W.cursor="n-resize"):Yn.w(X.y,Z.y)&&(this.wm(W,Wn),W.cursor="w-resize")):v!==h&&(this.wm(W,Ut),W.cursor="move");c.add(W)}c.adornedObject=e}return c},Yr.prototype.makeHandle=function(){var e=this.handleArchetype;return null===e?null:e.copy()},Yr.prototype.makeResegmentHandle=function(){var e=this.midHandleArchetype;return null===e?null:e.copy()},Yr.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;return!(e.isReadOnly||!e.allowReshape||!e.lastInput.left)&&null!==this.findToolHandleAt(e.firstInput.documentPoint,this.name)},Yr.prototype.doActivate=function(){var e=this.diagram;if(null===this.handle&&(this.handle=this.findToolHandleAt(e.firstInput.documentPoint,this.name)),null!==this.handle){var t=this.handle.part.adornedPart;if(t instanceof Zt){if(this.Ht=t,e.isMouseCaptured=!0,this.Aa(this.name),t.resegmentable&&999===this.handle.fromMaxLinks){var i=t.points.copy(),r=this.getResegmentingPoint();if(i.Ib(this.handle.segmentIndex+1,r),t.isOrthogonal&&i.Ib(this.handle.segmentIndex+1,r),t.points=i,t.Jb(),t.updateAdornments(),this.handle=this.findToolHandleAt(e.firstInput.documentPoint,this.name),null===this.handle)return void this.doDeactivate()}this.ul=t.i(this.handle.segmentIndex),this.ds=t.points.copy(),this.isActive=!0}}},Yr.prototype.doDeactivate=function(){this.vg(),this.Ht=this.handle=null,this.isActive=this.diagram.isMouseCaptured=!1},Yr.prototype.doCancel=function(){var e=this.adornedLink;null!==e&&(e.points=this.ds),this.stopTool()},Yr.prototype.getResegmentingPoint=function(){return this.handle.ma(Jt)},Yr.prototype.doMouseMove=function(){var e=this.diagram;this.isActive&&(e=this.computeReshape(e.lastInput.documentPoint),this.reshape(e))},Yr.prototype.doMouseUp=function(){var e=this.diagram;if(this.isActive){var t=this.computeReshape(e.lastInput.documentPoint);if(this.reshape(t),null!==(t=this.adornedLink)&&t.resegmentable){var i=this.handle.segmentIndex,r=t.i(i-1),c=t.i(i),h=t.i(i+1);if(t.isOrthogonal){if(i>t.firstPickIndex+1&&i<t.lastPickIndex-1){var v=t.i(i-2);if(Math.abs(r.x-c.x)<this.resegmentingDistance&&Math.abs(r.y-c.y)<this.resegmentingDistance&&(Io(this,v,r,c,h,!0)||Io(this,v,r,c,h,!1))){var W=t.points.copy();Io(this,v,r,c,h,!0)?(W.gd(i-2,new Ze(v.x,(h.y+v.y)/2)),W.gd(i+1,new Ze(h.x,(h.y+v.y)/2))):(W.gd(i-2,new Ze((h.x+v.x)/2,v.y)),W.gd(i+1,new Ze((h.x+v.x)/2,h.y))),W.mb(i),W.mb(i-1),t.points=W,t.Jb()}else v=t.i(i+2),Math.abs(c.x-h.x)<this.resegmentingDistance&&Math.abs(c.y-h.y)<this.resegmentingDistance&&(Io(this,r,c,h,v,!0)||Io(this,r,c,h,v,!1))&&(W=t.points.copy(),Io(this,r,c,h,v,!0)?(W.gd(i-1,new Ze(r.x,(r.y+v.y)/2)),W.gd(i+2,new Ze(v.x,(r.y+v.y)/2))):(W.gd(i-1,new Ze((r.x+v.x)/2,r.y)),W.gd(i+2,new Ze((r.x+v.x)/2,v.y))),W.mb(i+1),W.mb(i),t.points=W,t.Jb())}}else v=Ze.alloc(),Yn.Qi(r.x,r.y,h.x,h.y,c.x,c.y,v)&&v.Be(c)<this.resegmentingDistance*this.resegmentingDistance&&((r=t.points.copy()).mb(i),t.points=r,t.Jb()),Ze.free(v)}e.Xa(),this.transactionResult=this.name,e.aa("LinkReshaped",this.adornedLink,this.ds)}this.stopTool()},Yr.prototype.reshape=function(e){var t=this.adornedLink;t.Bh();var i=this.handle.segmentIndex,r=this.dv(this.handle);if(t.isOrthogonal)if(i===t.firstPickIndex+1)i=t.firstPickIndex+1,r===yi?(t.M(i,t.i(i-1).x,e.y),t.M(i+1,t.i(i+2).x,e.y)):r===Wn&&(t.M(i,e.x,t.i(i-1).y),t.M(i+1,e.x,t.i(i+2).y));else if(i===t.lastPickIndex-1)i=t.lastPickIndex-1,r===yi?(t.M(i-1,t.i(i-2).x,e.y),t.M(i,t.i(i+1).x,e.y)):r===Wn&&(t.M(i-1,e.x,t.i(i-2).y),t.M(i,e.x,t.i(i+1).y));else{var c=t.i(r=i),h=t.i(r-1),v=t.i(r+1);Yn.w(h.x,c.x)&&Yn.w(c.y,v.y)?(Yn.w(h.x,t.i(r-2).x)&&!Yn.w(h.y,t.i(r-2).y)?(t.m(r,e.x,h.y),i++,r++):t.M(r-1,e.x,h.y),Yn.w(v.y,t.i(r+2).y)&&!Yn.w(v.x,t.i(r+2).x)?t.m(r+1,v.x,e.y):t.M(r+1,v.x,e.y)):Yn.w(h.y,c.y)&&Yn.w(c.x,v.x)?(Yn.w(h.y,t.i(r-2).y)&&!Yn.w(h.x,t.i(r-2).x)?(t.m(r,h.x,e.y),i++,r++):t.M(r-1,h.x,e.y),Yn.w(v.x,t.i(r+2).x)&&!Yn.w(v.y,t.i(r+2).y)?t.m(r+1,e.x,v.y):t.M(r+1,e.x,v.y)):Yn.w(h.x,c.x)&&Yn.w(c.x,v.x)?(Yn.w(h.x,t.i(r-2).x)&&!Yn.w(h.y,t.i(r-2).y)?(t.m(r,e.x,h.y),i++,r++):t.M(r-1,e.x,h.y),Yn.w(v.x,t.i(r+2).x)&&!Yn.w(v.y,t.i(r+2).y)?t.m(r+1,e.x,v.y):t.M(r+1,e.x,v.y)):Yn.w(h.y,c.y)&&Yn.w(c.y,v.y)&&(Yn.w(h.y,t.i(r-2).y)&&!Yn.w(h.x,t.i(r-2).x)?(t.m(r,h.x,e.y),i++,r++):t.M(r-1,h.x,e.y),Yn.w(v.y,t.i(r+2).y)&&!Yn.w(v.x,t.i(r+2).x)?t.m(r+1,v.x,e.y):t.M(r+1,v.x,e.y)),t.M(i,e.x,e.y)}else t.M(i,e.x,e.y),c=t.fromPort,null!==(r=t.fromNode)&&null!==(h=r.findVisibleNode())&&h!==r&&(c=(r=h).port),1===i&&t.computeSpot(!0,c).jc()&&(h=c.ma(Jt,Ze.alloc()),r=t.getLinkPointFromPoint(r,c,h,e,!0,Ze.alloc()),t.M(0,r.x,r.y),Ze.free(h),Ze.free(r)),c=t.toPort,null!==(r=t.toNode)&&null!==(h=r.findVisibleNode())&&h!==r&&(c=(r=h).port),i===t.pointsCount-2&&t.computeSpot(!1,c).jc()&&(i=c.ma(Jt,Ze.alloc()),e=t.getLinkPointFromPoint(r,c,i,e,!1,Ze.alloc()),t.M(t.pointsCount-1,e.x,e.y),Ze.free(i),Ze.free(e));t.kf()},Yr.prototype.computeReshape=function(e){var t=this.adornedLink,i=this.handle.segmentIndex;switch(this.dv(this.handle)){case Ut:return e;case yi:return new Ze(t.i(i).x,e.y);case Wn:return new Ze(e.x,t.i(i).y);default:return t.i(i)}},I.Object.defineProperties(Yr.prototype,{handleArchetype:{get:function(){return this.u},set:function(e){this.u=e}},midHandleArchetype:{get:function(){return this.K},set:function(e){this.K=e}},handle:{get:function(){return this.l},set:function(e){if(null!==e&&!(e.part instanceof Zo))throw Error("new handle is not in an Adornment: "+e);this.l=e}},adornedLink:{get:function(){return this.Ht}},resegmentingDistance:{get:function(){return this.ba},set:function(e){this.ba=e}},originalPoint:{get:function(){return this.ul}},originalPoints:{get:function(){return this.ds}}}),Yr.prototype.setReshapingBehavior=Yr.prototype.wm,Yr.prototype.getReshapingBehavior=Yr.prototype.dv;var b1=new Pe(Yr,"None",0),Wn=new Pe(Yr,"Horizontal",1),yi=new Pe(Yr,"Vertical",2),Ut=new Pe(Yr,"All",3);function ss(){uo.call(this),this.name="Resizing",this.Qf=new Ue(1,1).freeze(),this.Pf=new Ue(9999,9999).freeze(),this.Bg=new Ue(NaN,NaN).freeze(),this.K=!1,this.$d=null;var e=new io;e.alignmentFocus=Jt,e.figure="Rectangle",e.desiredSize=Xn,e.fill="lightblue",e.stroke="dodgerblue",e.strokeWidth=1,e.cursor="pointer",this.u=e,this.l=null,this.ul=new Ze,this.Gw=new Ue,this.Io=new Ze,this.Yt=new Ue(0,0),this.Xt=new Ue(1/0,1/0),this.Wt=new Ue(1,1),this.Dw=!0}function vs(){uo.call(this),this.name="Rotating",this.Ma=45,this.La=2,this.Io=new Ze,this.$d=null;var e=new io;e.figure="Ellipse",e.desiredSize=Ii,e.fill="lightblue",e.stroke="dodgerblue",e.strokeWidth=1,e.cursor="pointer",this.u=e,this.l=null,this.Fw=0,this.qu=new Ze(NaN,NaN),this.K=0,this.ba=50}function Us(){uo.call(this),this.name="ClickSelecting"}function or(){uo.call(this),this.name="Action",this.uk=null}function wr(){uo.call(this),this.name="ClickCreating",this.$i=null,this.u=!0,this.l=!1,this.xw=new Ze(0,0)}function Y0(){uo.call(this),this.name="DragSelecting",this.Qk=175,this.u=!1;var e=new Os;e.layerName="Tool",e.selectable=!1;var t=new io;t.name="SHAPE",t.figure="Rectangle",t.fill=null,t.stroke="magenta",e.add(t),this.l=e}function R0(){uo.call(this),this.name="Panning",this.lu=new Ze,this.by=new Ze,this.Ag=!1;var e=this;this.Jw=function(){o.document.removeEventListener("scroll",e.Jw,!1),e.stopTool()}}function $a(){this.ba=this.K=this.l=this.u=null}function Ra(e,t,i){this.text=e,this.Zw=t,this.visible=i}function o0(){uo.call(this),this.name="ContextMenu",this.u=this.Nt=this.l=null,this.Cw=new Ze,this.Ot=null;var e=this;this.Au=function(){e.stopTool()}}function B0(e){return e.preventDefault(),!1}function M1(e){var t=e.diagram;if(e.isActive){var i=e.currentContextMenu;if(null!==i){if(!(i instanceof $a)){var r=t.Sb(t.lastInput.documentPoint,null,null);null!==r&&r.qg(i)&&e.standardMouseClick(null,null)}e.stopTool(),e.canStart()&&(t.currentTool=e,e.doMouseUp())}}else e.canStart()&&(Gr(e,!0),e.isActive||e.stopTool())}function Gr(e,t,i){if(void 0===i&&(i=null),t&&e.standardMouseSelect(),!e.standardMouseClick())if(e.isActive=!0,t=rr,null===i&&(i=e.findObjectWithContextMenu()),null!==i){var r=i.contextMenu;null!==r?(e.currentObject=i instanceof As?i:null,e.showContextMenu(r,e.currentObject)):null!==t&&e.showContextMenu(t,e.currentObject)}else null!==t&&e.showContextMenu(t,null)}Yr.className="LinkReshapingTool",Yr.None=b1,Yr.Horizontal=Wn,Yr.Vertical=yi,Yr.All=Ut,te("linkReshapingTool",function(){return this.findTool("LinkReshaping")},function(e){ea(this,"LinkReshaping",e,this.mouseDownTools)}),y(ss,uo),ss.prototype.updateAdornments=function(e){if(!(null===e||e instanceof Zt)){if(e.isSelected&&!this.diagram.isReadOnly){var t=e.resizeObject,i=e.$j(this.name);if(null!==t&&e.canResize()&&e.actualBounds.o()&&e.isVisible()&&t.actualBounds.o()&&t.rf()&&((null===i||i.adornedObject!==t)&&(i=this.makeAdornment(t)),null!==i))return t=t.Ji(),ku(e)&&this.updateResizeHandles(i,t),void e.qh(this.name,i)}e.tf(this.name)}},ss.prototype.makeAdornment=function(e){var t=e.part.resizeAdornmentTemplate;if(null===t){(t=new Zo).type=Vi.Spot,t.locationSpot=Jt;var i=new xn;i.isPanelMain=!0,t.add(i),t.add(this.makeHandle(e,ut)),t.add(this.makeHandle(e,Bt)),t.add(this.makeHandle(e,Ot)),t.add(this.makeHandle(e,fe)),t.add(this.makeHandle(e,oa)),t.add(this.makeHandle(e,Po)),t.add(this.makeHandle(e,Pn)),t.add(this.makeHandle(e,bi))}else if(d1(t),null===(t=t.copy()))return null;return t.adornedObject=e,t},ss.prototype.makeHandle=function(e,t){return null===(e=this.handleArchetype)?null:((e=e.copy()).alignment=t,e)},ss.prototype.updateResizeHandles=function(e,t){if(null!==e)if(!e.alignment.Kb()&&("pointer"===e.cursor||0<e.cursor.indexOf("resize")))e:{var i=e.alignment;if(i.jc()&&(i=Jt),0>=i.x)t=0>=i.y?t+225:1<=i.y?t+135:t+180;else if(1<=i.x)0>=i.y?t+=315:1<=i.y&&(t+=45);else if(0>=i.y)t+=270;else{if(!(1<=i.y))break e;t+=90}0>t?t+=360:360<=t&&(t-=360),e.cursor=22.5>t?"e-resize":67.5>t?"se-resize":112.5>t?"s-resize":157.5>t?"sw-resize":202.5>t?"w-resize":247.5>t?"nw-resize":292.5>t?"n-resize":337.5>t?"ne-resize":"e-resize"}else if(e instanceof Vi)for(e=e.elements;e.next();)this.updateResizeHandles(e.value,t)},ss.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;return!(e.isReadOnly||!e.allowResize||!e.lastInput.left)&&null!==this.findToolHandleAt(e.firstInput.documentPoint,this.name)},ss.prototype.doActivate=function(){var e=this.diagram;null===this.handle&&(this.handle=this.findToolHandleAt(e.firstInput.documentPoint,this.name)),null!==this.handle&&(this.adornedObject=this.handle.part.adornedObject,null!==this.adornedObject&&(this.ul.set(this.adornedObject.ma(this.handle.alignment.rv())),this.Io.set(this.adornedObject.part.location),this.Gw.set(this.adornedObject.desiredSize),this.Wt=this.computeCellSize(),this.Yt=this.computeMinSize(),this.Xt=this.computeMaxSize(),e.isMouseCaptured=!0,this.Dw=e.animationManager.isEnabled,e.animationManager.isEnabled=!1,this.Aa(this.name),this.isActive=!0))},ss.prototype.doDeactivate=function(){var e=this.diagram;this.vg(),this.$d=this.handle=null,this.isActive=e.isMouseCaptured=!1,e.animationManager.isEnabled=this.Dw},ss.prototype.doCancel=function(){null!==this.adornedObject&&(this.adornedObject.desiredSize=this.originalDesiredSize,this.adornedObject.part.location=this.originalLocation),this.stopTool()},ss.prototype.doMouseMove=function(){var e=this.diagram;if(this.isActive){var t=this.Yt,i=this.Xt,r=this.Wt,c=this.adornedObject.Ws(e.lastInput.documentPoint,Ze.alloc()),h=this.computeReshape();t=this.computeResize(c,this.handle.alignment,t,i,r,h),this.resize(t),e.fd(),Ze.free(c)}},ss.prototype.doMouseUp=function(){var e=this.diagram;if(this.isActive){var t=this.Yt,i=this.Xt,r=this.Wt,c=this.adornedObject.Ws(e.lastInput.documentPoint,Ze.alloc()),h=this.computeReshape();t=this.computeResize(c,this.handle.alignment,t,i,r,h),this.resize(t),Ze.free(c),e.Xa(),this.transactionResult=this.name,e.aa("PartResized",this.adornedObject,this.originalDesiredSize)}this.stopTool()},ss.prototype.resize=function(e){var t=this.diagram,i=this.adornedObject,r=i.part;i.desiredSize=e.size,r.ac(),e=this.adornedObject.ma(this.handle.alignment.rv()),r instanceof Fe?((i=new gt).add(r),t.moveParts(i,this.ul.copy().Xd(e),!0)):r.location=r.location.copy().Xd(e).add(this.ul)},ss.prototype.computeResize=function(e,t,i,r,c,h){t.jc()&&(t=Jt);var v=this.adornedObject.naturalBounds,W=v.x,X=v.y,Z=v.x+v.width,ge=v.y+v.height,ye=1;if(!h){var We=v.height;0>=(ye=v.width)&&(ye=1),0>=We&&(We=1),ye=We/ye}return We=Ze.alloc(),Yn.Tp(e.x,e.y,W,X,c.width,c.height,We),e=v.copy(),0>=t.x?0>=t.y?(e.x=Math.max(We.x,Z-r.width),e.x=Math.min(e.x,Z-i.width),e.width=Math.max(Z-e.x,i.width),e.y=Math.max(We.y,ge-r.height),e.y=Math.min(e.y,ge-i.height),e.height=Math.max(ge-e.y,i.height),h||(1<=e.height/e.width?(e.height=Math.max(Math.min(ye*e.width,r.height),i.height),e.width=e.height/ye):(e.width=Math.max(Math.min(e.height/ye,r.width),i.width),e.height=ye*e.width),e.x=Z-e.width,e.y=ge-e.height)):1<=t.y?(e.x=Math.max(We.x,Z-r.width),e.x=Math.min(e.x,Z-i.width),e.width=Math.max(Z-e.x,i.width),e.height=Math.max(Math.min(We.y-X,r.height),i.height),h||(1<=e.height/e.width?(e.height=Math.max(Math.min(ye*e.width,r.height),i.height),e.width=e.height/ye):(e.width=Math.max(Math.min(e.height/ye,r.width),i.width),e.height=ye*e.width),e.x=Z-e.width)):(e.x=Math.max(We.x,Z-r.width),e.x=Math.min(e.x,Z-i.width),e.width=Z-e.x,h||(e.height=Math.max(Math.min(ye*e.width,r.height),i.height),e.width=e.height/ye,e.y=X+.5*(ge-X-e.height))):1<=t.x?0>=t.y?(e.width=Math.max(Math.min(We.x-W,r.width),i.width),e.y=Math.max(We.y,ge-r.height),e.y=Math.min(e.y,ge-i.height),e.height=Math.max(ge-e.y,i.height),h||(1<=e.height/e.width?(e.height=Math.max(Math.min(ye*e.width,r.height),i.height),e.width=e.height/ye):(e.width=Math.max(Math.min(e.height/ye,r.width),i.width),e.height=ye*e.width),e.y=ge-e.height)):1<=t.y?(e.width=Math.max(Math.min(We.x-W,r.width),i.width),e.height=Math.max(Math.min(We.y-X,r.height),i.height),h||(1<=e.height/e.width?(e.height=Math.max(Math.min(ye*e.width,r.height),i.height),e.width=e.height/ye):(e.width=Math.max(Math.min(e.height/ye,r.width),i.width),e.height=ye*e.width))):(e.width=Math.max(Math.min(We.x-W,r.width),i.width),h||(e.height=Math.max(Math.min(ye*e.width,r.height),i.height),e.width=e.height/ye,e.y=X+.5*(ge-X-e.height))):0>=t.y?(e.y=Math.max(We.y,ge-r.height),e.y=Math.min(e.y,ge-i.height),e.height=ge-e.y,h||(e.width=Math.max(Math.min(e.height/ye,r.width),i.width),e.height=ye*e.width,e.x=W+.5*(Z-W-e.width))):1<=t.y&&(e.height=Math.max(Math.min(We.y-X,r.height),i.height),h||(e.width=Math.max(Math.min(e.height/ye,r.width),i.width),e.height=ye*e.width,e.x=W+.5*(Z-W-e.width))),Ze.free(We),e},ss.prototype.computeReshape=function(){var e=Ns;return this.adornedObject instanceof io&&(e=nu(this.adornedObject)),!(e===Mo||this.diagram.lastInput.shift)},ss.prototype.computeMinSize=function(){var e=this.adornedObject.minSize.copy(),t=this.minSize;return!isNaN(t.width)&&t.width>e.width&&(e.width=t.width),!isNaN(t.height)&&t.height>e.height&&(e.height=t.height),e},ss.prototype.computeMaxSize=function(){var e=this.adornedObject.maxSize.copy(),t=this.maxSize;return!isNaN(t.width)&&t.width<e.width&&(e.width=t.width),!isNaN(t.height)&&t.height<e.height&&(e.height=t.height),e},ss.prototype.computeCellSize=function(){var e=new Ue(NaN,NaN),t=this.adornedObject.part;return null!==t&&(t=t.resizeCellSize,!isNaN(t.width)&&0<t.width&&(e.width=t.width),!isNaN(t.height)&&0<t.height&&(e.height=t.height)),t=this.cellSize,isNaN(e.width)&&!isNaN(t.width)&&0<t.width&&(e.width=t.width),isNaN(e.height)&&!isNaN(t.height)&&0<t.height&&(e.height=t.height),t=this.diagram,(isNaN(e.width)||isNaN(e.height))&&t&&null!==(t=t.grid)&&t.visible&&this.isGridSnapEnabled&&(t=t.gridCellSize,isNaN(e.width)&&!isNaN(t.width)&&0<t.width&&(e.width=t.width),isNaN(e.height)&&!isNaN(t.height)&&0<t.height&&(e.height=t.height)),(isNaN(e.width)||0===e.width||e.width===1/0)&&(e.width=1),(isNaN(e.height)||0===e.height||e.height===1/0)&&(e.height=1),e},I.Object.defineProperties(ss.prototype,{handleArchetype:{get:function(){return this.u},set:function(e){this.u=e}},handle:{get:function(){return this.l},set:function(e){if(null!==e&&!(e.part instanceof Zo))throw Error("new handle is not in an Adornment: "+e);this.l=e}},adornedObject:{get:function(){return this.$d},set:function(e){if(null!==e&&e.part instanceof Zo)throw Error("new handle must not be in an Adornment: "+e);this.$d=e}},minSize:{get:function(){return this.Qf},set:function(e){if(!this.Qf.A(e)){var t=e.width;isNaN(t)&&(t=0),e=e.height,isNaN(e)&&(e=0),this.Qf.h(t,e)}}},maxSize:{get:function(){return this.Pf},set:function(e){if(!this.Pf.A(e)){var t=e.width;isNaN(t)&&(t=1/0),e=e.height,isNaN(e)&&(e=1/0),this.Pf.h(t,e)}}},cellSize:{get:function(){return this.Bg},set:function(e){this.Bg.A(e)||this.Bg.assign(e)}},isGridSnapEnabled:{get:function(){return this.K},set:function(e){this.K=e}},originalDesiredSize:{get:function(){return this.Gw}},originalLocation:{get:function(){return this.Io}}}),ss.className="ResizingTool",te("resizingTool",function(){return this.findTool("Resizing")},function(e){ea(this,"Resizing",e,this.mouseDownTools)}),y(vs,uo),vs.prototype.updateAdornments=function(e){if(null!==e){if(e.zh()){var t=e.rotateObject;if(t===e||t===e.path||t.isPanelMain)return}if(e.isSelected&&!this.diagram.isReadOnly&&null!==(t=e.rotateObject)&&e.canRotate()&&e.actualBounds.o()&&e.isVisible()&&t.actualBounds.o()&&t.rf()){var i=e.$j(this.name);if((null===i||i.adornedObject!==t)&&(i=this.makeAdornment(t)),null!==i)return i.angle=t.Ji(),null===i.placeholder&&(i.location=this.computeAdornmentLocation(t)),void e.qh(this.name,i)}e.tf(this.name)}},vs.prototype.makeAdornment=function(e){var t=e.part.rotateAdornmentTemplate;if(null===t){(t=new Zo).type=Vi.Position,t.locationSpot=Jt;var i=this.handleArchetype;null!==i&&t.add(i.copy())}else if(d1(t),null===(t=t.copy()))return null;return t.adornedObject=e,t},vs.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;return!(e.isReadOnly||!e.allowRotate||!e.lastInput.left)&&null!==this.findToolHandleAt(e.firstInput.documentPoint,this.name)},vs.prototype.doActivate=function(){var e=this.diagram;if(null===this.adornedObject){if(null===this.handle&&(this.handle=this.findToolHandleAt(e.firstInput.documentPoint,this.name)),null===this.handle)return;this.adornedObject=this.handle.part.adornedObject}null!==this.adornedObject&&(this.Fw=this.adornedObject.angle,this.qu=this.computeRotationPoint(this.adornedObject),this.Io=this.adornedObject.part.location.copy(),e.isMouseCaptured=!0,e.delaysLayout=!0,this.Aa(this.name),this.isActive=!0)},vs.prototype.computeRotationPoint=function(e){var t=e.part,i=t.locationObject;return t.rotationSpot.gb()?e.ma(t.rotationSpot):e===t||e===i?i.ma(t.locationSpot):e.ma(Jt)},vs.prototype.computeAdornmentLocation=function(e){var t=this.rotationPoint;t.o()||(t=this.computeRotationPoint(e)),t=e.Ws(t);var i=this.handleAngle;0>i?i+=360:360<=i&&(i-=360),i=Math.round(45*Math.round(i/45));var r=this.handleDistance;return 0===i?t.x=e.naturalBounds.width+r:45===i?(t.x=e.naturalBounds.width+r,t.y=e.naturalBounds.height+r):90===i?t.y=e.naturalBounds.height+r:135===i?(t.x=-r,t.y=e.naturalBounds.height+r):180===i?t.x=-r:225===i?(t.x=-r,t.y=-r):270===i?t.y=-r:315===i&&(t.x=e.naturalBounds.width+r,t.y=-r),e.ma(t)},vs.prototype.doDeactivate=function(){var e=this.diagram;this.vg(),this.$d=this.handle=null,this.qu=new Ze(NaN,NaN),this.isActive=e.isMouseCaptured=!1},vs.prototype.doCancel=function(){this.diagram.delaysLayout=!1,this.rotate(this.originalAngle),this.stopTool()},vs.prototype.doMouseMove=function(){var e=this.diagram;this.isActive&&(e=this.computeRotate(e.lastInput.documentPoint),this.rotate(e))},vs.prototype.doMouseUp=function(){var e=this.diagram;if(this.isActive){e.delaysLayout=!1;var t=this.computeRotate(e.lastInput.documentPoint);this.rotate(t),e.Xa(),this.transactionResult=this.name,e.aa("PartRotated",this.adornedObject,this.originalAngle)}this.stopTool()},vs.prototype.rotate=function(e){var t=this.adornedObject;if(null!==t){t.angle=e,(t=t.part).ac();var i=t.locationObject,r=t.rotateObject;(i===r||i.qg(r))&&(i=this.Io.copy(),t.location=i.Xd(this.rotationPoint).rotate(e-this.originalAngle).add(this.rotationPoint))}},vs.prototype.computeRotate=function(e){e=this.rotationPoint.Wa(e)-this.handleAngle;var t=this.adornedObject.panel;null!==t&&(e-=t.Ji()),360<=e?e-=360:0>e&&(e+=360),t=Math.min(Math.abs(this.snapAngleMultiple),180);var i=Math.min(Math.abs(this.snapAngleEpsilon),t/2);return!this.diagram.lastInput.shift&&0<t&&0<i&&(e%t<i?e=Math.floor(e/t)*t:e%t>t-i&&(e=(Math.floor(e/t)+1)*t)),360<=e?e-=360:0>e&&(e+=360),e},I.Object.defineProperties(vs.prototype,{handleArchetype:{get:function(){return this.u},set:function(e){this.u=e}},handle:{get:function(){return this.l},set:function(e){if(null!==e&&!(e.part instanceof Zo))throw Error("new handle is not in an Adornment: "+e);this.l=e}},adornedObject:{get:function(){return this.$d},set:function(e){if(null!==e&&e.part instanceof Zo)throw Error("new handle must not be in an Adornment: "+e);this.$d=e}},snapAngleMultiple:{get:function(){return this.Ma},set:function(e){this.Ma=e}},snapAngleEpsilon:{get:function(){return this.La},set:function(e){this.La=e}},originalAngle:{get:function(){return this.Fw}},rotationPoint:{get:function(){return this.qu}},handleAngle:{get:function(){return this.K},set:function(e){this.K=e}},handleDistance:{get:function(){return this.ba},set:function(e){this.ba=e}}}),vs.className="RotatingTool",te("rotatingTool",function(){return this.findTool("Rotating")},function(e){ea(this,"Rotating",e,this.mouseDownTools)}),y(Us,uo),Us.prototype.canStart=function(){return!(!this.isEnabled||this.isBeyondDragSize())},Us.prototype.doMouseUp=function(){this.isActive&&(this.standardMouseSelect(),!this.standardMouseClick()&&this.diagram.lastInput.isTouchEvent&&this.diagram.toolManager.doToolTip()),this.stopTool()},Us.className="ClickSelectingTool",y(or,uo),or.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram,t=e.lastInput,i=e.Sb(t.documentPoint,function(r){for(;null!==r.panel&&!r.isActionable;)r=r.panel;return r});return!(null===i||!i.isActionable||(this.uk=i,e.Jk=e.Sb(t.documentPoint,null,null),0))},or.prototype.doMouseDown=function(){if(this.isActive){var e=this.diagram.lastInput,t=this.uk;null!==t&&(e.targetObject=t,null!==t.actionDown&&t.actionDown(e,t))}else this.canStart()&&this.doActivate()},or.prototype.doMouseMove=function(){if(this.isActive){var e=this.diagram.lastInput,t=this.uk;null!==t&&(e.targetObject=t,null!==t.actionMove&&t.actionMove(e,t))}},or.prototype.doMouseUp=function(){if(this.isActive){var e=this.diagram.lastInput,t=this.uk;if(null===t)return;e.targetObject=t,null!==t.actionUp&&t.actionUp(e,t),this.standardMouseClick(function(i){for(;null!==i.panel&&(!i.isActionable||i!==t);)i=i.panel;return i},function(i){return i===t})}this.stopTool()},or.prototype.doCancel=function(){var e=this.diagram.lastInput,t=this.uk;null!==t&&(e.targetObject=t,null!==t.actionCancel&&t.actionCancel(e,t),this.stopTool())},or.prototype.doStop=function(){this.uk=null},or.className="ActionTool",y(wr,uo),wr.prototype.canStart=function(){if(!this.isEnabled||null===this.archetypeNodeData)return!1;var e=this.diagram;if(e.isReadOnly||e.isModelReadOnly||!e.allowInsert||!e.lastInput.left||this.isBeyondDragSize())return!1;if(this.isDoubleClick){if(1===e.lastInput.clickCount&&(this.xw=e.lastInput.viewPoint.copy()),2!==e.lastInput.clickCount||this.isBeyondDragSize(this.xw))return!1}else if(1!==e.lastInput.clickCount)return!1;return!(e.currentTool!==this&&null!==e.$l(e.lastInput.documentPoint,!0))},wr.prototype.doMouseUp=function(){this.isActive&&this.insertPart(this.diagram.lastInput.documentPoint),this.stopTool()},wr.prototype.insertPart=function(e){var t=this.diagram,i=this.archetypeNodeData;if(null===i)return null;this.Aa(this.name);var r=null;return i instanceof Os?i.Lb()&&(d1(i),null!==(r=i.copy())&&t.add(r)):null!==i&&x(i=t.model.copyNodeData(i))&&(t.model.hf(i),r=t.vc(i)),null!==r&&(i=Ze.allocAt(e.x,e.y),this.isGridSnapEnabled&&De(this.diagram,r,e,i),r.location=i,t.allowSelect&&t.select(r),Ze.free(i)),t.Xa(),this.transactionResult=this.name,t.aa("PartCreated",r),this.vg(),r},I.Object.defineProperties(wr.prototype,{archetypeNodeData:{get:function(){return this.$i},set:function(e){this.$i=e}},isDoubleClick:{get:function(){return this.u},set:function(e){this.u=e}},isGridSnapEnabled:{get:function(){return this.l},set:function(e){this.l=e}}}),wr.className="ClickCreatingTool",y(Y0,uo),Y0.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;if(!e.allowSelect)return!1;var t=e.lastInput;return!(!t.left||e.currentTool!==this&&(!this.isBeyondDragSize()||t.timestamp-e.firstInput.timestamp<this.delay||null!==e.$l(t.documentPoint,!0)))},Y0.prototype.doActivate=function(){var e=this.diagram;this.isActive=!0,e.isMouseCaptured=!0,e.skipsUndoManager=!0,e.add(this.box),this.doMouseMove()},Y0.prototype.doDeactivate=function(){var e=this.diagram;e.vf(),e.remove(this.box),e.skipsUndoManager=!1,this.isActive=e.isMouseCaptured=!1},Y0.prototype.doMouseMove=function(){var e=this.diagram;if(this.isActive&&null!==this.box){var t=this.computeBoxBounds(),i=this.box.$a("SHAPE");null===i&&(i=this.box.zb());var r=Ue.alloc().h(t.width,t.height);t=Ze.alloc().h(t.x,t.y),i.desiredSize=r,this.box.position=t,Ue.free(r),Ze.free(t),(e.allowHorizontalScroll||e.allowVerticalScroll)&&e.Os(e.lastInput.viewPoint)}},Y0.prototype.doMouseUp=function(){if(this.isActive){var e=this.diagram;e.remove(this.box);try{e.currentCursor="wait",e.aa("ChangingSelection",e.selection),this.selectInRect(this.computeBoxBounds()),e.aa("ChangedSelection",e.selection)}finally{e.currentCursor=""}}this.stopTool()},Y0.prototype.computeBoxBounds=function(){var e=this.diagram;return new sn(e.firstInput.documentPoint,e.lastInput.documentPoint)},Y0.prototype.selectInRect=function(e){var t=this.diagram,i=t.lastInput;if(e=t.kx(e,this.isPartialInclusion),Le?i.meta:i.control)if(i.shift)for(e=e.iterator;e.next();)(t=e.value).isSelected&&(t.isSelected=!1);else for(e=e.iterator;e.next();)(t=e.value).isSelected=!t.isSelected;else if(i.shift)for(e=e.iterator;e.next();)(t=e.value).isSelected||(t.isSelected=!0);else{for(i=new gt,t=t.selection.iterator;t.next();){var r=t.value;e.contains(r)||i.add(r)}for(t=i.iterator;t.next();)t.value.isSelected=!1;for(e=e.iterator;e.next();)(t=e.value).isSelected||(t.isSelected=!0)}},I.Object.defineProperties(Y0.prototype,{delay:{get:function(){return this.Qk},set:function(e){this.Qk=e}},isPartialInclusion:{get:function(){return this.u},set:function(e){this.u=e}},box:{get:function(){return this.l},set:function(e){this.l=e}}}),Y0.className="DragSelectingTool",y(R0,uo),R0.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;return!(!e.allowHorizontalScroll&&!e.allowVerticalScroll||!e.lastInput.left||e.currentTool!==this&&!this.isBeyondDragSize())},R0.prototype.doActivate=function(){var e=this.diagram;this.Ag?(e.lastInput.bubbles=!0,o.document.addEventListener("scroll",this.Jw,!1)):(e.currentCursor="move",e.isMouseCaptured=!0,this.lu.assign(e.position)),this.isActive=!0},R0.prototype.doDeactivate=function(){var e=this.diagram;e.currentCursor="",this.isActive=e.isMouseCaptured=!1},R0.prototype.doCancel=function(){var e=this.diagram;e.position=this.lu,e.isMouseCaptured=!1,this.stopTool()},R0.prototype.doMouseMove=function(){this.move()},R0.prototype.doMouseUp=function(){this.move(),this.stopTool()},R0.prototype.move=function(){var e=this.diagram;if(this.isActive&&e)if(this.Ag)e.lastInput.bubbles=!0;else{var t=e.position,i=e.firstInput.documentPoint,r=e.lastInput.documentPoint,c=t.x+i.x-r.x;i=t.y+i.y-r.y,e.allowHorizontalScroll||(c=t.x),e.allowVerticalScroll||(i=t.y),e.position=this.by.h(c,i)}},I.Object.defineProperties(R0.prototype,{bubbles:{get:function(){return this.Ag},set:function(e){this.Ag=e}},originalPosition:{get:function(){return this.lu}}}),R0.className="PanningTool",te("clickCreatingTool",function(){return this.findTool("ClickCreating")},function(e){ea(this,"ClickCreating",e,this.mouseUpTools)}),te("clickSelectingTool",function(){return this.findTool("ClickSelecting")},function(e){ea(this,"ClickSelecting",e,this.mouseUpTools)}),te("panningTool",function(){return this.findTool("Panning")},function(e){ea(this,"Panning",e,this.mouseMoveTools)}),te("dragSelectingTool",function(){return this.findTool("DragSelecting")},function(e){ea(this,"DragSelecting",e,this.mouseMoveTools)}),te("actionTool",function(){return this.findTool("Action")},function(e){ea(this,"Action",e,this.mouseDownTools)}),I.Object.defineProperties($a.prototype,{mainElement:{get:function(){return this.K},set:function(e){this.K=e}},show:{get:function(){return this.u},set:function(e){this.u!==e&&(this.u=e)}},hide:{get:function(){return this.l},set:function(e){this.l!==e&&(this.l=e)}},valueFunction:{get:function(){return this.ba},set:function(e){this.ba=e}}}),$a.className="HTMLInfo",Ra.className="ContextMenuButtonInfo",y(o0,uo),o0.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;return!(this.isBeyondDragSize()||!e.lastInput.right||!(e.lastInput.isTouchEvent&&null!==this.defaultTouchContextMenu||null!==this.findObjectWithContextMenu()))},o0.prototype.doStart=function(){this.Cw.set(this.diagram.firstInput.documentPoint)},o0.prototype.doStop=function(){this.hideContextMenu(),this.currentObject=null},o0.prototype.findObjectWithContextMenu=function(e){void 0===e&&(e=null);var t=this.diagram,r=null;if(e instanceof ii||(r=e instanceof As?e:t.Sb(t.lastInput.documentPoint,null,function(c){return!c.layer.isTemporary})),null!==r){for(e=r;null!==e;){if(null!==e.contextMenu)return e;e=e.panel}if(t.lastInput.isTouchEvent&&this.defaultTouchContextMenu)return r.part}else if(null!==t.contextMenu)return t;return null},o0.prototype.doActivate=function(){},o0.prototype.doMouseDown=function(){if(uo.prototype.doMouseDown.call(this),this.isActive&&this.currentContextMenu instanceof Zo){var e=this.diagram.toolManager.findTool("Action");null!==e&&e.canStart()&&(e.doActivate(),e.doMouseDown(),e.doDeactivate())}this.diagram.toolManager.mouseDownTools.contains(this)&&M1(this)},o0.prototype.doMouseUp=function(){if(this.isActive&&this.currentContextMenu instanceof Zo){var e=this.diagram.toolManager.findTool("Action");null!==e&&e.canStart()&&(e.doActivate(),e.doCancel(),e.doDeactivate())}M1(this)},o0.prototype.doMouseMove=function(){var e=this.diagram.toolManager.findTool("Action");null!==e&&e.doMouseMove(),this.isActive&&this.diagram.toolManager.doMouseMove()},o0.prototype.showContextMenu=function(e,t){var i=this.diagram;if(e!==this.currentContextMenu&&this.hideContextMenu(),e instanceof Zo){e.layerName="Tool",e.selectable=!1,e.scale=1/i.scale,e.category=this.name,null!==e.placeholder&&(e.placeholder.scale=i.scale);var r=e.diagram;null!==r&&r!==i&&r.remove(e),i.add(e),null!==t?e.adornedObject=t:e.data=i.model,e.ac(),this.positionContextMenu(e,t)}else e instanceof $a&&e.show(t,i,this);this.currentContextMenu=e},o0.prototype.positionContextMenu=function(e){if(null===e.placeholder){var t=this.diagram,i=t.lastInput.documentPoint.copy(),r=e.measuredBounds,c=t.viewportBounds;t.lastInput.isTouchEvent&&(i.x-=r.width),i.x+r.width>c.right&&(i.x-=r.width+5/t.scale),i.x<c.x&&(i.x=c.x),i.y+r.height>c.bottom&&(i.y-=r.height+5/t.scale),i.y<c.y&&(i.y=c.y),e.position=i}},o0.prototype.hideContextMenu=function(){var e=this.diagram,t=this.currentContextMenu;null!==t&&(t instanceof Zo?(e.remove(t),null!==this.Nt&&this.Nt.tf(t.category),t.data=null,t.adornedObject=null):t instanceof $a&&(null!==t.hide?t.hide(e,this):null!==t.mainElement&&(t.mainElement.style.display="none")),this.currentContextMenu=null,this.standardMouseOver())},o0.prototype.showDefaultContextMenu=function(){var e=this.diagram;null===this.Ot&&(this.Ot=function xo(){var e=new gt;return e.add(new Ra("Copy",function(t){t.commandHandler.copySelection()},function(t){return t.commandHandler.canCopySelection()})),e.add(new Ra("Cut",function(t){t.commandHandler.cutSelection()},function(t){return t.commandHandler.canCutSelection()})),e.add(new Ra("Delete",function(t){t.commandHandler.deleteSelection()},function(t){return t.commandHandler.canDeleteSelection()})),e.add(new Ra("Paste",function(t){t.commandHandler.pasteSelection(t.lastInput.documentPoint)},function(t){return t.commandHandler.canPasteSelection()})),e.add(new Ra("Select All",function(t){t.commandHandler.selectAll()},function(t){return t.commandHandler.canSelectAll()})),e.add(new Ra("Undo",function(t){t.commandHandler.undo()},function(t){return t.commandHandler.canUndo()})),e.add(new Ra("Redo",function(t){t.commandHandler.redo()},function(t){return t.commandHandler.canRedo()})),e.add(new Ra("Scroll To Part",function(t){t.commandHandler.scrollToPart()},function(t){return t.commandHandler.canScrollToPart()})),e.add(new Ra("Zoom To Fit",function(t){t.commandHandler.zoomToFit()},function(t){return t.commandHandler.canZoomToFit()})),e.add(new Ra("Reset Zoom",function(t){t.commandHandler.resetZoom()},function(t){return t.commandHandler.canResetZoom()})),e.add(new Ra("Group Selection",function(t){t.commandHandler.groupSelection()},function(t){return t.commandHandler.canGroupSelection()})),e.add(new Ra("Ungroup Selection",function(t){t.commandHandler.ungroupSelection()},function(t){return t.commandHandler.canUngroupSelection()})),e.add(new Ra("Edit Text",function(t){t.commandHandler.editTextBlock()},function(t){return t.commandHandler.canEditTextBlock()})),e}()),Q1.innerHTML="",B1.addEventListener("click",this.Au,!1);var t=this,i=q("ul");i.className="goCXul",Q1.appendChild(i),i.innerHTML="";for(var r=this.Ot.iterator;r.next();){var c=r.value,h=c.visible;if("function"==typeof c.Zw&&("function"!=typeof h||h(e))){(h=q("li")).className="goCXli";var v=q("a");v.className="goCXa",v.href="#",v.Ux=c.Zw,v.addEventListener("click",function(W){return this.Ux(e),t.stopTool(),W.preventDefault(),!1},!1),v.textContent=c.text,h.appendChild(v),i.appendChild(h)}}Q1.style.display="block",B1.style.display="block"},o0.prototype.hideDefaultContextMenu=function(){null!==this.currentContextMenu&&this.currentContextMenu===rr&&(Q1.style.display="none",B1.style.display="none",B1.removeEventListener("click",this.Au,!1),this.currentContextMenu=null)},I.Object.defineProperties(o0.prototype,{currentContextMenu:{get:function(){return this.l},set:function(e){this.l=e,this.Nt=e instanceof Zo?e.adornedPart:null}},defaultTouchContextMenu:{get:function(){return!1===aa&&null===rr&&Wr&&function pl(e){var t=new $a;t.show=function(c,h,v){v.showDefaultContextMenu()},t.hide=function(c,h){h.hideDefaultContextMenu()},rr=t,e.Au=function(){e.stopTool()},t=q("div");var i=q("div");t.style.cssText="top: 0px;z-index:10002;position: fixed;display: none;text-align: center;left: 25%;width: 50%;background-color: #F5F5F5;padding: 16px;border: 16px solid #444;border-radius: 10px;margin-top: 10px",i.style.cssText="z-index:10001;position: fixed;display: none;top: 0;left: 0;width: 100%;height: 100%;background-color: black;opacity: 0.8;";var r=q("style");o.document.getElementsByTagName("head")[0].appendChild(r),r.sheet.insertRule(".goCXul { list-style: none; }",0),r.sheet.insertRule(".goCXli {font:700 1.5em Helvetica, Arial, sans-serif;position: relative;min-width: 60px; }",0),r.sheet.insertRule(".goCXa {color: #444;display: inline-block;padding: 4px;text-decoration: none;margin: 2px;border: 1px solid gray;border-radius: 10px; }",0),t.addEventListener("contextmenu",B0,!1),t.addEventListener("selectstart",B0,!1),i.addEventListener("contextmenu",B0,!1),t.className="goCXforeground",i.className="goCXbackground",o.document.body&&(o.document.body.appendChild(t),o.document.body.appendChild(i)),Q1=t,B1=i,aa=!0}(this),rr},set:function(e){null===e&&(aa=!0),rr=e}},currentObject:{get:function(){return this.u},set:function(e){this.u=e}},mouseDownPoint:{get:function(){return this.Cw}}});var rr=null,aa=!1,B1=null,Q1=null;function br(){uo.call(this),this.name="TextEditing",this.kh=new tt,this.Ma=null,this.La=k0,this.vi=null,this.la=fl,this.K=1,this.ba=!0,this.u=null,this.l=new $a,this.Pt=null,function Rl(e,t){if(Wr){var i=q("textarea");e.Pt=i,i.addEventListener("input",function(){if(null!==e.textBlock){var r=e.ux(this.value);this.style.width=20+r.measuredBounds.width*this.Wz+"px",this.rows=r.lineCount}},!1),i.addEventListener("keydown",function(r){if(null!==e.textBlock){var c=r.which;13===c?(!1===e.textBlock.isMultiline&&r.preventDefault(),e.acceptText(L0)):9===c?(e.acceptText(t1),r.preventDefault()):27===c&&(e.doCancel(),null!==e.diagram&&e.diagram.doFocus())}},!1),i.addEventListener("focus",function(){if(null!==e.currentTextEditor&&e.state!==fl){var r=e.Pt;e.la===N1&&(e.la=bt),"function"==typeof r.select&&e.selectsTextOnActivate&&(r.select(),r.setSelectionRange(0,9999))}},!1),i.addEventListener("blur",function(){if(null!==e.currentTextEditor&&e.state!==fl){var r=e.Pt;"function"==typeof r.focus&&r.focus(),"function"==typeof r.select&&e.selectsTextOnActivate&&(r.select(),r.setSelectionRange(0,9999))}},!1),t.valueFunction=function(){return i.value},t.mainElement=i,t.show=function(r,c,h){if(r instanceof tt&&h instanceof br)if(h.state===kt)i.style.border="3px solid red",i.focus();else{var v=r.ma(Jt),W=c.position,X=c.scale,Z=r.Ce()*X;Z<h.minimumEditorScale&&(Z=h.minimumEditorScale);var ge=r.naturalBounds.width*Z+6,ye=r.naturalBounds.height*Z+2,We=(v.x-W.x)*X;v=(v.y-W.y)*X,i.value=r.text,c.div.style.font=r.font,i.style.position="absolute",i.style.zIndex="100",i.style.font="inherit",i.style.fontSize=100*Z+"%",i.style.lineHeight="normal",i.style.width=ge+"px",i.style.left=(We-ge/2|0)-1+"px",i.style.top=(v-ye/2|0)-1+"px",i.style.textAlign=r.textAlign,i.style.margin="0",i.style.padding="1px",i.style.border="0",i.style.outline="none",i.style.whiteSpace="pre-wrap",i.style.overflow="hidden",i.rows=r.lineCount,i.Wz=Z,i.className="goTXarea",c.div.appendChild(i),i.focus(),h.selectsTextOnActivate&&(i.select(),i.setSelectionRange(0,9999))}},t.hide=function(r){r.div.removeChild(i)}}}(this,this.l)}function hl(e){var t=e.textBlock,i=e.diagram,r=e.currentTextEditor;if(null!==t&&null!==r){var c=t.text,h="";null!==r.valueFunction&&(h=r.valueFunction()),e.isValidText(t,c,h)?(e.Aa(e.name),e.la=dn,e.transactionResult=e.name,t.text=h,null!==t.textEdited&&t.textEdited(t,c,h),null!==i&&i.aa("TextEdited",t,c),e.vg(),e.stopTool(),null!==i&&i.doFocus()):(e.la=kt,null!==t.errorFunction&&t.errorFunction(e,c,h),r.show(t,i,e))}}o0.className="ContextMenuTool",te("contextMenuTool",function(){return this.findTool("ContextMenu")},function(e){ea(this,"ContextMenu",e,this.mouseUpTools)}),y(br,uo),br.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;if(null===e||e.isReadOnly||!e.lastInput.left||this.isBeyondDragSize())return!1;var t=e.Sb(e.lastInput.documentPoint);return!!(null!==t&&t instanceof tt&&t.editable&&t.part.canEdit())&&!(null===(t=t.part)||this.starting===k0&&!t.isSelected||this.starting===Gl&&2>e.lastInput.clickCount)},br.prototype.doStart=function(){this.isActive||null===this.textBlock||this.doActivate()},br.prototype.doActivate=function(){if(!this.isActive){var e=this.diagram;if(null!==e){var t=this.textBlock;if(null===t&&(t=e.Sb(e.lastInput.documentPoint)),null!==t&&t instanceof tt&&(this.textBlock=t,null!==t.part)){this.isActive=!0,this.la=N1;var i=this.defaultTextEditor;null!==t.textEditor&&(i=t.textEditor),this.kh=this.textBlock.copy();var r=new sn(this.textBlock.ma(ut),this.textBlock.ma(Ot));e.Fv(r),i.show(t,e,this),this.currentTextEditor=i}}}},br.prototype.doCancel=function(){this.stopTool()},br.prototype.doMouseUp=function(){!this.isActive&&this.canStart()&&this.doActivate()},br.prototype.doMouseDown=function(){this.isActive&&this.acceptText(Ul)},br.prototype.acceptText=function(e){switch(e){case Ul:this.la===dn?this.currentTextEditor instanceof HTMLElement&&this.currentTextEditor.focus():(this.la===N1||this.la===kt||this.la===bt)&&(this.la=Ln,hl(this));break;case hr:case L0:case t1:(L0!==e||!0!==this.textBlock.isMultiline)&&(this.la===N1||this.la===kt||this.la===bt)&&(this.la=Ln,hl(this))}},br.prototype.doDeactivate=function(){var e=this.diagram;null!==e&&(this.la=fl,this.textBlock=null,null!==this.currentTextEditor&&this.currentTextEditor.hide(e,this),this.isActive=!1)},br.prototype.isValidText=function(e,t,i){var r=this.textValidation;return!(null!==r&&!r(e,t,i)||null!==(r=e.textValidation)&&!r(e,t,i))},br.prototype.ux=function(e){var t=this.kh;return t.text=e,t.measure(this.textBlock.jl,1/0),t},I.Object.defineProperties(br.prototype,{textBlock:{get:function(){return this.Ma},set:function(e){this.Ma=e}},currentTextEditor:{get:function(){return this.u},set:function(e){this.u=e}},defaultTextEditor:{get:function(){return this.l},set:function(e){this.l=e}},starting:{get:function(){return this.La},set:function(e){this.La=e}},textValidation:{get:function(){return this.vi},set:function(e){this.vi=e}},minimumEditorScale:{get:function(){return this.K},set:function(e){this.K=e}},selectsTextOnActivate:{get:function(){return this.ba},set:function(e){this.ba=e}},state:{get:function(){return this.la},set:function(e){this.la!==e&&(this.la=e)}}}),br.prototype.measureTemporaryTextBlock=br.prototype.ux;var hr=new Pe(br,"LostFocus",0),Ul=new Pe(br,"MouseDown",1),t1=new Pe(br,"Tab",2),L0=new Pe(br,"Enter",3),Ll=new Pe(br,"SingleClick",0),k0=new Pe(br,"SingleClickSelected",1),Gl=new Pe(br,"DoubleClick",2),fl=new Pe(br,"StateNone",0),N1=new Pe(br,"StateActive",1),bt=new Pe(br,"StateEditing",2),Ln=new Pe(br,"StateValidating",3),kt=new Pe(br,"StateInvalid",4),dn=new Pe(br,"StateValidated",5);function si(){ta||(function k1(){var e=new Kt;e.add("position",function(t,i,r,c,h,v){h!==v?t.wt(c(h,i.x,r.x-i.x,v),c(h,i.y,r.y-i.y,v)):t.position=new Ze(c(h,i.x,r.x-i.x,v),c(h,i.y,r.y-i.y,v))}),e.add("position:placeholder",function(t,i,r,c,h,v){h!==v?t.wt(c(h,i.x,r.x-i.x,v),c(h,i.y,r.y-i.y,v)):t.position=new Ze(c(h,i.x,r.x-i.x,v),c(h,i.y,r.y-i.y,v))}),e.add("position:node",function(t,i,r,c,h,v){var W=t.actualBounds,X=r.actualBounds;r=X.x+X.width/2-W.width/2,W=X.y+X.height/2-W.height/2,h!==v?t.wt(c(h,i.x,r-i.x,v),c(h,i.y,W-i.y,v)):t.position=new Ze(c(h,i.x,r-i.x,v),c(h,i.y,W-i.y,v))}),e.add("opacity",function(t,i,r,c,h,v){t.opacity=c(h,i,r-i,v)}),e.add("scale",function(t,i,r,c,h,v){t.scale=c(h,i,r-i,v)}),e.add("angle",function(t,i,r,c,h,v){t.angle=c(h,i,r-i,v)}),e.add("visible",function(t,i,r,c,h,v){t.visible=h!==v?i:r}),n1=e}(),ta=!0),this.pw=is,this.C=ro,this.rn=this.sn=null,this.Zi=this.tn=this.un=0,this.Ak=this.Yg=this.rb=this.Dr=this.Kf=!1,this.Pg=this.Dc=!0,this.Uq=this.Tq=this.ow=null,this.nw=0,this.Wq=new Kt,this.Vt=600,this.Wx=new Ze(0,0),this.lw=this.kw=this.Mw=!1,this.zk=new Se,this.xj=new Kt,this.Uk=new Kt,this.$r=new Se,this.Vq=null}function is(e,t,i,r){return 1>(e/=r/2)?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t}function bs(e){if(e.Dc&&(e.zk.clear(),e.rb))if(e.Ak){if(0===e.Zi){var t=+new Date;e.Zi=t,o.requestAnimationFrame(function(){if(!1!==e.rb&&!e.Kf&&e.Zi===t){var i=e.C;i.De("temporaryPixelRatio")&&wl(i),j0(i),e.rb=!1,e.Yg=!1,i.aa("AnimationStarting"),function Mr(e,t){function i(){if(!1!==c.Kf&&c.Zi===t){var jt=+new Date,nn=jt>st?Z:jt-Ve;Ma(c),fr(c,r,We,v,nn,Z),c.Tq&&c.Tq(),yl(r),Rs(c),jt>st?Fo(c):o.requestAnimationFrame(i)}}var r=e.C;if(null!==r){var c=e,h=e.Vq||{},v=h.cA||e.pw,W=h.gA||null,X=h.hA||null,Z=h.duration||e.Vt,ge=e.Wx;for(h=e.xj.iterator;h.next();){var ye=h.value.start.position;ye instanceof Ze&&(ye.o()||ye.assign(ge))}e.ow=v,e.Tq=W,e.Uq=X,e.nw=Z,e.Wq=e.xj;var We=e.Wq;for(h=We.iterator;h.next();)(W=h.value.end)["position:placeholder"]&&(X=h.key.findVisibleNode())instanceof Fe&&null!==X.placeholder&&((X=(ge=X.placeholder).ma(ut)).x+=(ge=ge.padding).left,X.y+=ge.top,W["position:placeholder"]=X);e.Kf=!0,Ma(e),fr(e,r,We,v,0,Z),yl(e.C,!0),Rs(e);var Ve=+new Date,st=Ve+Z;c.Zi===t&&o.requestAnimationFrame(function(){i()})}}(e,t)}})}}else e.rb=!1,e.Yg=!1}function Xs(e){return e instanceof Ze||e instanceof Ue?e.copy():e}function jr(e,t){return!!e.Kf&&null!==(e=e.xj.J(t))&&e.pt}function Ma(e){if(!e.Dr){var t=e.C;e.Mw=t.skipsUndoManager,e.kw=t.skipsModelSourceBindings,e.lw=t.Ui,t.skipsUndoManager=!0,t.skipsModelSourceBindings=!0,t.Ui=!0,e.Dr=!0}}function Rs(e){var t=e.C;t.skipsUndoManager=e.Mw,t.skipsModelSourceBindings=e.kw,t.Ui=e.lw,e.Dr=!1}function fr(e,t,i,r,c,h){for(i=i.iterator;i.next();){var v=i.key,W=i.value,X=W.start,Z=W.end,ge=n1;for(ye in Z)"position"===ye&&(Z["position:placeholder"]||Z["position:node"])||null===ge.get(ye)||ge.get(ye)(v,X[ye],Z[ye],r,c,h,W)}r=t.jv,t.jv=!0;var ye=e.pw;0!==e.un&&0!==e.tn&&(t.Ca=ye(c,i=e.un,e.tn-i,h)),null!==e.sn&&null!==e.rn&&(t.sa=new Ze(ye(c,(i=e.sn).x,(e=e.rn).x-i.x,h),ye(c,i.y,e.y-i.y,h))),t.jv=r}function Fo(e){e.Kf=!1,e.Ak=!1,Ma(e);for(var t=e.C,i=e.ow,r=e.nw,c=e.Wq,h=e.Uk.iterator;h.next();)t.remove(h.value);for(h=e.$r.iterator;h.next();)h.value.s();for(c=c.iterator,h=n1;c.next();){var ye,v=c.key,W=c.value,X=W.start,Z=W.end,ge=W.Uu;for(ye in Z)if(null!==h.get(ye)){var We=ye;!W.Pu||"position:node"!==We&&"position:placeholder"!==We||(We="position"),h.get(We)(v,X[ye],void 0!==ge[ye]?ge[ye]:W.Pu?X[ye]:Z[ye],i,r,r)}W.Pu&&void 0!==ge.location&&v instanceof Os&&(v.location=ge.location),W.pt&&v instanceof Os&&v.Mb(!1)}for(i=e.C.links;i.next();)null!==(r=i.value).bh&&(r.points=r.bh,r.bh=null);t.gt.clear(),Oa(t,!1),t.Xa(),t.R(),t.fd(),nc(t),Rs(e),e.Uq&&e.Uq(),e.Zi=0,e.Wq.clear(),e.Uq=null,e.Tq=null,e.sn=null,e.rn=null,e.un=0,e.tn=0,e.xj.clear(),0<e.Uk.count&&e.Uk.clear(),0<e.$r.count&&e.$r.clear(),e.Vq=null,t.aa("AnimationFinished"),t.cc()}function Va(e,t,i){e.rb&&!t.A(i)&&(null===e.sn&&t.o()&&null===e.rn&&(e.sn=t.copy()),e.rn=i.copy(),e.Ak=!0)}function E0(e,t,i){e.rb&&e.C.Oi&&(0===e.un&&0===e.tn&&(e.un=t),e.tn=i,e.Ak=!0)}br.className="TextEditingTool",br.LostFocus=hr,br.MouseDown=Ul,br.Tab=t1,br.Enter=L0,br.SingleClick=Ll,br.SingleClickSelected=k0,br.DoubleClick=Gl,br.StateNone=fl,br.StateActive=N1,br.StateEditing=bt,br.StateValidating=Ln,br.StateInvalid=kt,br.StateValidated=dn,te("textEditingTool",function(){return this.findTool("TextEditing")},function(e){ea(this,"TextEditing",e,this.mouseUpTools)}),si.prototype.hb=function(e){this.C=e},si.prototype.canStart=function(){return!0},(N=si.prototype).Ri=function(e,t){this.Dc&&(void 0!==t&&(this.Vq=t),this.Pg||this.C.Oi)&&(this.zk.add(e),this.canStart(e)&&(this.Kf&&this.vd(),this.Yg=this.rb=!0))},N.zx=function(e,t){this.Dc&&(void 0!==t&&(this.Vq=t),this.Pg||this.C.Oi)&&(this.zk.add(e),this.canStart(e)&&(this.Kf&&this.vd(),this.rb=!0))},N.ye=function(e,t,i,r,c,h){if(!(!this.rb||"position"===t&&i.A(r)||e instanceof Os&&!e.isAnimated)){if(this.zk.contains("Remove")&&e instanceof Os&&e.Lb()){var v=this.C,W=e.key;this.Uk.contains(W)?e=this.Uk.get(W):((e=e.copy()).data=null,v.add(e),this.Uk.add(W,e))}if((v=this.xj).contains(e)){var X=(W=v.J(e)).end;void 0===(v=W.start)[t]&&(v[t]=Xs(i)),c||(W.Uu[t]=Xs(r)),X[t]=Xs(r)}else X={},(W={})[t]=Xs(i),X[t]=Xs(r),(i=W.position)instanceof Ze&&!i.o()&&this.zk.contains("Expand SubGraph")&&i.assign(X.position),W=new Ja(W,X,c),v.add(e,W);c&&0===t.indexOf("position:")&&e instanceof Os&&(W.Uu.location=Xs(e.location)),h&&(W.pt=!0),this.Ak=!0}},N.vd=function(){!0===this.rb&&(this.Yg=this.rb=!1,this.Zi=0,this.Ak&&this.C.cc()),this.Kf&&this.Dc&&Fo(this)},N.Kp=function(e,t){if(this.Yg){var i=t.actualBounds,r=null;if(t instanceof Fe&&(r=t.placeholder),null!==r?((i=r.ma(ut)).x+=(r=r.padding).left,i.y+=r.top,this.ye(e,"position",i,e.position,!1)):this.ye(e,"position",new Ze(i.x+i.width/2,i.y+i.height/2),e.position,!1),this.ye(e,"scale",.01,e.scale,!1),e instanceof Fe)for(e=e.memberParts;e.next();)(r=e.value)instanceof as&&this.Kp(r,t)}},N.Jp=function(e,t){if(e.isVisible()&&this.Yg){var i=null;if(t instanceof Fe&&(i=t.placeholder),null!==i?this.ye(e,"position:placeholder",e.position,i,!0):this.ye(e,"position:node",e.position,t,!0),this.ye(e,"scale",e.scale,.01,!0),this.rb&&(i=this.xj).contains(e)&&(i.J(e).pt=!0),e instanceof Fe)for(e=e.memberParts;e.next();)(i=e.value)instanceof as&&this.Jp(i,t)}},I.Object.defineProperties(si.prototype,{animationReasons:{get:function(){return this.zk}},isEnabled:{get:function(){return this.Dc},set:function(e){this.Dc=e}},duration:{get:function(){return this.Vt},set:function(e){1>e&&U(e,">= 1",si,"duration"),this.Vt=e}},isAnimating:{get:function(){return this.Kf}},isTicking:{get:function(){return this.Dr}},isInitial:{get:function(){return this.Pg},set:function(e){this.Pg=e}}}),si.prototype.stopAnimation=si.prototype.vd,si.prototype.addToAnimation=si.prototype.ye,si.prototype.prepareAnimation=si.prototype.zx,si.prototype.prepareAutomaticAnimation=si.prototype.Ri;var n1=null,ta=!1;function Ja(e,t,i){this.start=e,this.end=t,this.Uu={},this.Pu=i,this.pt=!1}function ir(){ke(this),this.C=null,this.Fa=new gt,this.Ua="",this.lb=1,this.u=!1,this.Bj=this.K=this.Nh=this.Mh=this.Lh=this.Kh=this.Ih=this.Jh=this.Hh=this.Ph=this.Gh=this.Oh=this.Fh=this.Eh=!0,this.l=!1,this.Jo=[]}function la(e,t){var i=t.actualBounds,r=t.naturalBounds;if(0!==i.width&&0!==i.height&&!isNaN(i.x)&&!isNaN(i.y)&&t.isVisible()){var c=t.transform;null!==t.areaBackground&&(vo(t,e,t.areaBackground,!0,!0,r,i),e.fillRect(i.x,i.y,i.width,i.height)),null===t.areaBackground&&null===t.background&&(vo(t,e,"rgba(0,0,0,0.4)",!0,!1,r,i),e.fillRect(i.x,i.y,i.width,i.height)),null!==t.background&&(e.transform(c.m11,c.m12,c.m21,c.m22,c.dx,c.dy),vo(t,e,t.background,!0,!1,r,i),e.fillRect(0,0,r.width,r.height),c.ct()||e.transform(c.m22*(t=1/(c.m11*c.m22-c.m12*c.m21)),-c.m12*t,-c.m21*t,c.m11*t,t*(c.m21*c.dy-c.m22*c.dx),t*(c.m12*c.dx-c.m11*c.dy)))}}function c1(e,t,i){if(t=function j1(e,t,i){var r=i.zOrder;if(isNaN(r))return t;var c=(e=e.Fa).count;if(1>=c)return t;if(0>t&&(t=e.indexOf(i)),0>t)return-1;for(var h=t-1,v=NaN;0<=h&&(v=e.N(h).zOrder,isNaN(v));)h--;for(var W=t+1,X=NaN;W<c&&(X=e.N(W).zOrder,isNaN(X));)W++;if(!isNaN(v)&&v>r)for(;;){if(-1===h||v<=r){if(++h===t)break;return e.mb(t),e.Ib(h,i),h}for(v=NaN;0<=--h&&(v=e.N(h).zOrder,isNaN(v)););}else if(!isNaN(X)&&X<r)for(;;){if(W===c||X>=r){if(--W===t)break;return e.mb(t),e.Ib(W,i),W}for(X=NaN;++W<c&&(X=e.N(W).zOrder,isNaN(X)););}return t}(e,t,i),i instanceof Fe&&null!==i&&isNaN(i.zOrder)){if(0!==i.memberParts.count){for(var r=-1,c=e.Fa.j,h=c.length,v=0;v<h;v++){var W=c[v];if(W===i&&(t=v,0<=r)||0>r&&W.containingGroup===i&&(r=v,0<=t))break}!(0>r)&&r<t&&((c=e.Fa).mb(t),c.Ib(r,i))}null!==(i=i.containingGroup)&&c1(e,-1,i)}}function ii(e){1<arguments.length&&z("Diagram constructor can only take one optional argument, the DIV HTML element or its id."),Ds||(function ho(){if(Wr){var e=o.document.createElement("canvas"),t=e.getContext("2d"),i=K("7ca11abfd022028846");t[i]=K("398c3597c01238");for(var r=["5da73c80a36455d4038e4972187c3cae51fd22",C.Dx+"4ae6247590da4bb21c324ba3a84e385776",mi.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",Yn.za],c=1;5>c;c++)t[K("7ca11abfd7330390")](K(r[c-1]),10,15*c);for(t[i]=K("39f046ebb36e4b"),i=1;5>i;i++)t[K("7ca11abfd7330390")](K(r[i-1]),10,15*i);Bs=e}}(),Ds=!0),ke(this),ro=this,Xe=[],this.ob=!0,this.yk=new si,this.yk.hb(this),this.Gb=17,this.Tn=!1,this.ru="default",this.Ia=null;var i=this;Wr&&(null!==o.document.body?this.setRTL():i.addEventListener(o.document,"DOMContentLoaded",function t(){i.removeEventListener(o.document,"DOMContentLoaded",t,!1),i.setRTL()},!1)),this.Pa=new gt,this.wa=this.xa=0,this.Da=null,this.pu=new Kt,this.$g=this.Yc=null,this.Dv(),this.dl=null,this.Cv(),this.sa=new Ze(NaN,NaN).freeze(),this.Zq=this.Ca=1,this.ur=new Ze(NaN,NaN).freeze(),this.vr=NaN,this.Pr=1e-4,this.Nr=100,this.tb=new mi,this.Is=new Ze(NaN,NaN).freeze(),this.jr=new sn(NaN,NaN,NaN,NaN).freeze(),this.ri=new ei(0,0,0,0).freeze(),this.Gj=he,this.rs=!1,this.ms=this.hs=null,this.aj=va,this.cj=wo,this.ai=va,this.On=wo,this.wr=this.tr=ut,this.nc=!0,this.Pn=!1,this.Dd=new Se,this.Wh=new Kt,this.xn=!0,this.Tm=250,this.Bk=-1,this.Um=new ei(16,16,16,16).freeze(),this.Rk=this.qd=!1,this.Xk=!0,this.Xh=new Zr,this.Xh.diagram=this,this.Xe=new Zr,this.Xe.diagram=this,this.qj=new Zr,this.qj.diagram=this,this.ne=this.zf=null,this.Ml=!1,this.Rt=this.St=null,this.Gq=o.PointerEvent&&(Me||me||be)&&o.navigator&&!1!==o.navigator.msPointerEnabled,vt(this),this.xi=new Se,this.Er=!0,this.Ds=Et,this.Wb=!1,this.Fs=yt,this.Ma=null,Bo.add("Model",Cr),this.ba=this.La=this.Vb=null,this.Sq="",this.qn="auto",this.Rf=this.Sr=this.Tf=this.Uf=this.Wf=this.Bf=this.Ff=this.Af=null,this.pr=!1,this.Cf=this.gg=this.Vf=this.Sf=null,this.ku=!1,this.nu={},this.vl=[null,null],this.K=null,this.Qt=this.wu=this.Ch=this.eh=!1,this.Vc=!0,this.mj=this.Zb=!1,this.$b=null;var r=this;this.wg=function(c){var h=r.partManager;if(c.model===h.diagram.model&&h.diagram.da){h.diagram.da=!1;try{""===c.modelChange&&c.change===tr&&h.updateDataBindings(c.object,c.propertyName)}finally{h.diagram.da=!0}}},this.Cm=function(c){r.partManager.doModelChanged(c)},this.Ow=!0,this.fe=-2,this.Cj=new Kt,this.mu=new gt,this.Lf=!1,this.Fh=this.Eh=this.yq=this.Dc=!0,this.zq=!1,this.Fq=this.Dq=this.Nh=this.Mh=this.Lh=this.Kh=this.Ih=this.Jh=this.Hh=this.Cq=this.Ph=this.Gh=this.Oh=this.Aq=!0,this.he=this.Kc=!1,this.Eq=this.Bq=this.rr=this.qr=!0,this.qs=this.os=16,this.tu=this.ns=!1,this.fp=this.ps=null,this.uu=this.vu=0,this.eb=new ei(5).freeze(),this.ts=(new Se).freeze(),this.Or=999999999,this.sr=(new Se).freeze(),this.bi=this.kj=this.Og=!0,this.Zh=this.Ng=!1,this.gc=null,this.zg=!0,this.ge=!1,this.wq=new Se,this.zw=new Se,this.Ob=null,this.Ho=1,this.Iw=0,this.we={scale:1,position:new Ze,bounds:new sn,qx:!1},this.Nw=new sn(NaN,NaN,NaN,NaN).freeze(),this.Ep=new Ue(NaN,NaN).freeze(),this.vn=new sn(NaN,NaN,NaN,NaN).freeze(),this.Fr=!1,this.cr=null,ec(this),this.Kr=this.mr=this.Yr=this.rw=this.qw=this.sw=this.Sg=this.Yh=this.Xf=null,Z1(this),this.Eb=null,this.lr=!1,this.Jk=null,this.partManager=new Cr,this.toolManager=new mo,this.toolManager.initializeStandardTools(),this.currentTool=this.defaultTool=this.toolManager,this.br=null,this.Lk=new Vu,this.cs=this.bs=null,this.vp=!1,this.commandHandler=ql(),this.model=Qf(),this.eh=!0,this.layout=new er,this.eh=!1,this.uw=this.Ut=null,this.Nb=1,this.jh=null,this.Tr=0,this.Ur=[0,0,0,0,0],this.Vr=0,this.Fd=1,this.kl=0,this.Hr=new Ze,this.Bu=500,this.Hq=new Ze,this.Qe=!1,this.preventDefault=this.ot=this.km=this.lm=this.jm=this.im=this.jk=this.lk=this.kk=this.hk=this.ik=this.Zv=this.Rv=this.Sv=this.Tv=this.pi=this.$o=this.oi=this.Zo=null,this.u=!1,this.$h=new Aa,this.As=!1,void 0!==e&&J0(this,e),this.ob=!1}function S0(e,t){var i=null;null!==e.Eb&&(i=e.Eb.part),e.animationManager.vd();for(var r=[],c=e.Pa.length,h=0;h<c;h++){var v=e.Pa.j[h];if(t)for(var W=v.parts;W.next();){var X=W.value;X!==i&&null===X.data&&r.push(X)}v.clear()}if(e.partManager.clear(),e.Dd.clear(),e.Wh.clear(),e.xi.clear(),e.ts.ha(),e.ts.clear(),e.ts.freeze(),e.sr.ha(),e.sr.clear(),e.sr.freeze(),e.Jk=null,Oe=[],null!==i&&(e.add(i),e.partManager.parts.remove(i)),t)for(t=0;t<r.length;t++)e.add(r[t])}function ql(){return null}function Z1(e){e.Xf=new Kt;var t=new as,i=new tt;i.bind(new V0("text","",le)),t.add(i),e.sw=t,e.Xf.add("",t),t=new as,(i=new tt).stroke="brown",i.bind(new V0("text","",le)),t.add(i),e.Xf.add("Comment",t),(t=new as).selectable=!1,t.avoidable=!1,(i=new io).figure="Ellipse",i.fill="black",i.stroke=null,i.desiredSize=new Ue(3,3).ga(),t.add(i),e.Xf.add("LinkLabel",t),e.Yh=new Kt,(t=new Fe).selectionObjectName="GROUPPANEL",t.type=Vi.Vertical,(i=new tt).font="bold 12pt sans-serif",i.bind(new V0("text","",le)),t.add(i),(i=new Vi(Vi.Auto)).name="GROUPPANEL";var r=new io;r.figure="Rectangle",r.fill="rgba(128,128,128,0.2)",r.stroke="black",i.add(r),(r=new xn).padding=new ei(5,5,5,5).ga(),i.add(r),t.add(i),e.qw=t,e.Yh.add("",t),e.Sg=new Kt,t=new Zt,(i=new io).isPanelMain=!0,t.add(i),(i=new io).toArrow="Standard",i.fill="black",i.stroke=null,i.strokeWidth=0,t.add(i),e.rw=t,e.Sg.add("",t),t=new Zt,(i=new io).isPanelMain=!0,i.stroke="brown",t.add(i),e.Sg.add("Comment",t),(t=new Zo).type=Vi.Auto,(i=new io).fill=null,i.stroke="dodgerblue",i.strokeWidth=3,t.add(i),(i=new xn).margin=new ei(1.5,1.5,1.5,1.5).ga(),t.add(i),e.Yr=t,e.mr=t,(t=new Zo).type=Vi.Link,(i=new io).isPanelMain=!0,i.fill=null,i.stroke="dodgerblue",i.strokeWidth=3,t.add(i),e.Kr=t}function wl(e){30<e.Tr&&(e.jh=1)}function Oa(e,t){null!==e.jh&&(e.jh=null,t&&e.ot())}function j0(e){if(null!==e.Da){var t=e.Ia;if(0!==t.clientWidth&&0!==t.clientHeight){e.setScrollWidth();var i=e.Zh?e.Gb:0,r=e.Ng?e.Gb:0,c=e.Nb;e.Nb=e.computePixelRatio(),e.Nb!==c&&(e.Pn=!0,e.cc()),(t.clientWidth!==e.xa+i||t.clientHeight!==e.wa+r)&&(e.kj=!0,e.nc=!0,null!==(t=e.layout)&&t.isViewportSized&&e.autoScale===va&&(e.Rk=!0,t.B()),e.Zb||e.cc())}}}function ec(e){var t=new ir;t.name="Background",e.Ql(t),(t=new ir).name="",e.Ql(t),(t=new ir).name="Foreground",e.Ql(t),(t=new ir).name="Adornment",t.isTemporary=!0,e.Ql(t),(t=new ir).name="Tool",t.isTemporary=!0,t.isBoundsIncluded=!0,e.Ql(t),(t=new ir).name="Grid",t.allowSelect=!1,t.pickable=!1,t.isTemporary=!0,e.Rw(t,e.Zl("Background"))}function Zn(e){e.Eb=new Vi(Vi.Grid),e.Eb.name="GRID";var t=new io;t.figure="LineH",t.stroke="lightgray",t.strokeWidth=.5,t.interval=1,e.Eb.add(t),(t=new io).figure="LineH",t.stroke="gray",t.strokeWidth=.5,t.interval=5,e.Eb.add(t),(t=new io).figure="LineH",t.stroke="gray",t.strokeWidth=1,t.interval=10,e.Eb.add(t),(t=new io).figure="LineV",t.stroke="lightgray",t.strokeWidth=.5,t.interval=1,e.Eb.add(t),(t=new io).figure="LineV",t.stroke="gray",t.strokeWidth=.5,t.interval=5,e.Eb.add(t),(t=new io).figure="LineV",t.stroke="gray",t.strokeWidth=1,t.interval=10,e.Eb.add(t),(t=new Os).add(e.Eb),t.layerName="Grid",t.zOrder=0,t.isInDocumentBounds=!1,t.isAnimated=!1,t.pickable=!1,t.locationObjectName="GRID",e.add(t),e.partManager.parts.remove(t),e.Eb.visible=!1}function s1(){this.C.tu?this.C.tu=!1:this.C.isEnabled?this.C.bx(this):Nt(this.C)}function $l(e){this.C.isEnabled?(this.C.vu=e.target.scrollTop,this.C.uu=e.target.scrollLeft):Nt(this.C)}function X0(e){if(e.fixedBounds.o()){var t=e.fixedBounds.copy();return t.Lp(e.eb),t}for(var i=!0,r=e.Pa.j,c=r.length,h=0;h<c;h++){var v=r[h];if(v.visible&&(!v.isTemporary||v.isBoundsIncluded))for(var W=(v=v.Fa.j).length,X=0;X<W;X++){var Z=v[X];Z.isInDocumentBounds&&Z.isVisible()&&(Z=Z.actualBounds).o()&&(i?(i=!1,t=Z.copy()):t.Jc(Z))}}return i&&(t=new sn(0,0,0,0)),t.Lp(e.eb),t}function dr(e,t){if((t||e.ge)&&!e.ob&&null!==e.Da&&!e.animationManager.isAnimating&&e.documentBounds.o()){e.ob=!0;var i=e.aj;t&&e.ai!==va&&(i=e.ai);var r=i!==va?Nl(e,i):e.scale;i=e.viewportBounds.copy();var c=e.xa/r,h=e.wa/r,v=null,W=e.animationManager;W.rb&&(v=e.sa.copy());var X=e.cj,Z=e.On;t&&!X.gb()&&(Z.gb()||Z.Kb())&&(X=Z.Kb()?Jt:Z),u1(e,e.documentBounds,c,h,X,t),null!==v&&Va(W,v,e.sa),t=e.scale,e.scale=r,e.ob=!1,(r=e.viewportBounds).Qa(i)||e.iq(i,r,t,!1)}}function Nl(e,t){var i=e.Zq;if(null===e.Da)return i;e.Og&&ue(e,e.computeBounds());var r=e.documentBounds;if(!r.o())return i;var c=r.width,h=e.xa,v=e.wa,W=h/c,X=v/(r=r.height);return t===r1?((t=Math.min(X,W))>i&&(t=i),t<e.minScale&&(t=e.minScale),t>e.maxScale&&(t=e.maxScale),t):t===K0?((t=X>W?(v-e.Gb)/r:(h-e.Gb)/c)>i&&(t=i),t<e.minScale&&(t=e.minScale),t>e.maxScale&&(t=e.maxScale),t):e.scale}function u1(e,t,i,r,c,h){e.sa.ha();var v=e.sa,W=v.x,X=v.y;(h||e.scrollMode===he)&&(c.gb()&&(i>t.width&&(W=t.x+(c.x*t.width+c.offsetX)-(c.x*i-c.offsetX)),r>t.height&&(X=t.y+(c.y*t.height+c.offsetY)-(c.y*r-c.offsetY))),h=i-t.width,i<t.width+(c=e.ri).left+c.right?(W=Math.min(W+i/2,t.right+Math.max(h,c.right)-i/2),W=Math.max(W,t.left-Math.max(h,c.left)+i/2),W-=i/2):W>t.left?W=t.left:W<t.right-i&&(W=t.right-i),i=r-t.height,r<t.height+c.top+c.bottom?(X=Math.min(X+r/2,t.bottom+Math.max(i,c.bottom)-r/2),X=Math.max(X,t.top-Math.max(i,c.top)+r/2),X-=r/2):X>t.top?X=t.top:X<t.bottom-r&&(X=t.bottom-r)),v.x=isFinite(W)?W:-e.eb.left,v.y=isFinite(X)?X:-e.eb.top,null!==e.positionComputation&&(t=e.positionComputation(e,v),v.x=t.x,v.y=t.y),e.sa.freeze()}function Fr(e,t,i,r){for(void 0===i&&(i=null),void 0===r&&(r=null),l0(e),e=e.Pa.iteratorBackwards;e.next();){var c=e.value;if(c.visible&&!c.isTemporary&&null!==(c=c.Sb(t,i,r)))return c}return null}function f0(e,t,i){var r=e.Xe;return e.Xe=e.qj,e.qj=r,r.diagram=e,r.event=t,i?xl(e,t,r):(r.viewPoint=e.Xe.viewPoint,r.documentPoint=e.Xe.documentPoint),e=0,t.ctrlKey&&(e+=1),t.altKey&&(e+=2),t.shiftKey&&(e+=4),t.metaKey&&(e+=8),r.modifiers=e,r.button=t.button,void 0===t.buttons||de||(r.buttons=t.buttons),Le&&0===t.button&&t.ctrlKey&&(r.button=2),r.down=!1,r.up=!1,r.clickCount=1,r.delta=0,r.handled=!1,r.bubbles=!1,r.timestamp=t.timeStamp,r.isMultiTouch=!1,r.targetDiagram=qr(t),r.targetObject=null,r}function qr(e){var t=e.target.C;if(!t){var i=e.path;i||"function"!=typeof e.composedPath||(i=e.composedPath()),i&&i[0]&&(t=i[0].C)}return t||null}function tc(e,t,i,r){var c=Gc(e,t,!0,!1,!0,r);return xl(e,i,c),c.targetDiagram=qr(t),c.targetObject=null,r||c.clone(e.Xh),c}function D1(e,t,i,r){var c;return r=Gc(e,t,!1,!1,!1,r),null!==i?((c=o.document.elementFromPoint(i.clientX,i.clientY))&&c.C?(t=i,i=c.C):(t=void 0!==t.targetTouches?t.targetTouches[0]:t,i=e),r.targetDiagram=i,xl(e,t,r)):null!==e.Xe?(r.documentPoint=e.Xe.documentPoint,r.viewPoint=e.Xe.viewPoint,r.targetDiagram=e.Xe.targetDiagram):null!==e.Xh&&(r.documentPoint=e.Xh.documentPoint,r.viewPoint=e.Xh.viewPoint,r.targetDiagram=e.Xh.targetDiagram),r.targetObject=null,r}function Gc(e,t,i,r,c,h){var v=e.Xe;e.Xe=e.qj,e.qj=v,v.diagram=e,v.clickCount=1;var W=v.delta=0;return t.ctrlKey&&(W+=1),t.altKey&&(W+=2),t.shiftKey&&(W+=4),t.metaKey&&(W+=8),v.modifiers=W,v.button=0,v.buttons=1,v.event=t,v.timestamp=t.timeStamp,e.Gq&&t instanceof o.PointerEvent&&"touch"!==t.pointerType&&(v.button=t.button,void 0===t.buttons||de||(v.buttons=t.buttons),Le&&0===t.button&&t.ctrlKey&&(v.button=2)),v.down=i,v.up=r,v.handled=!1,v.bubbles=c,v.isMultiTouch=h,v}function P1(e,t){return!!e.bubbles||(void 0!==t.stopPropagation&&t.stopPropagation(),!1!==t.cancelable&&t.preventDefault(),t.cancelBubble=!0,!1)}function xl(e,t,i){var r=e.Da,c=e.xa,h=e.wa,v=0,W=0;null!==r&&(r=r.getBoundingClientRect(),v=t.clientX-c/r.width*r.left,W=t.clientY-h/r.height*r.top),i.viewPoint.h(v,W),null!==e.tb?(t=Ze.allocAt(v,W),e.tb.Ud(t),i.documentPoint.assign(t),Ze.free(t)):i.documentPoint.h(v,W)}function mc(e,t,i,r){if(void 0!==t.targetTouches){if(2>t.targetTouches.length)return;t=t.targetTouches[i]}else{if(null===e.vl[0])return;t=e.vl[i]}null!==(i=e.Da)&&(i=i.getBoundingClientRect(),r.h(t.clientX-e.xa/i.width*i.left,t.clientY-e.wa/i.height*i.top))}function nc(e){e.Zb||l0(e),e.Og&&ue(e,e.computeBounds())}function o1(e,t){e.animationManager.isAnimating||e.ob||!e.kj||Nt(e)||(t&&l0(e),dr(e,!1))}function yl(e,t){if(!e.Zb&&(e.qd=!1,null!==e.Ia||e.Ep.o())){e.Zb=!0;var i=e.animationManager,r=e.mu;if(!i.isTicking&&0!==r.length){for(var c=r.j,h=c.length,v=0;v<h;v++){var W=c[v];Q0(W,!1),W.s()}r.clear()}0<(r=e.zw).count&&(r.each(function(X){X.Yv()}),r.clear()),c=r=!1,i.isAnimating&&(c=!0,r=e.skipsUndoManager,e.skipsUndoManager=!0),i.rb||j0(e),o1(e,!1),null!==e.Eb&&(e.Eb.visible&&!e.lr&&(Ro(e),e.lr=!0),!e.Eb.visible&&e.lr&&(e.lr=!1)),l0(e),h=!1,(!e.ge||e.zg)&&(e.ge?lt(e,!e.Rk):(e.Aa("Initial Layout"),!1===i.isEnabled&&i.vd(),lt(e,!1)),h=!0),e.Rk=!1,l0(e),e.wu||i.isAnimating||nc(e),o1(e,!0),h&&(e.ge||function _c(e){var t=e.Pa.j;if(e.hd(t,t.length,e),e.ai!==va?e.scale=Nl(e,e.ai):e.aj!==va?e.scale=Nl(e,e.aj):(t=e.initialScale,isFinite(t)&&0<t&&(e.scale=t)),(t=e.initialPosition).o())e.position=t;else{(t=Ze.alloc()).Ti(e.documentBounds,e.initialDocumentSpot);var i=e.viewportBounds;i=sn.allocAt(0,0,i.width,i.height);var r=Ze.alloc();r.Ti(i,e.initialViewportSpot),r.h(t.x-r.x,t.y-r.y),e.position=r,sn.free(i),Ze.free(r),Ze.free(t),Vl(e),o1(e,!0),dr(e,!0)}e.aa("InitialLayoutCompleted"),Ro(e)}(e),e.aa("LayoutCompleted")),l0(e),h&&!e.ge&&(e.ge=!0,e.Za("Initial Layout"),e.skipsUndoManager||e.undoManager.clear(),M(function(){e.isModified=!1},1)),e.Ku(),bs(i),t||e.hc(e.Yc),c&&(e.skipsUndoManager=r),e.Zb=!1}}function l0(e){if((e.Zb||!e.animationManager.isAnimating)&&0!==e.Dd.count){for(var t=0;23>t;t++){var i=e.Dd.iterator;if(null===i||0===e.Dd.count)break;e.Dd=new Se,e.Yv(i,e.Dd)}e.nodes.each(function(r){r instanceof Fe&&65536&r.S&&(r.S=65536^r.S)})}}function qc(e,t){for(var i=ie(),r=ie(),c=t.memberParts;c.next();){var h=c.value;h.isVisible()&&(h instanceof Fe?(ic(h)||I1(h)||su(h))&&qc(e,h):h instanceof Zt?h.fromNode===t||h.toNode===t?r.push(h):i.push(h):(h.measure(1/0,1/0),h.arrange()))}for(e=i.length,c=0;c<e;c++)(h=i[c]).measure(1/0,1/0),h.arrange();for(ne(i),t.measure(1/0,1/0),t.arrange(),e=r.length,t=0;t<e;t++)(i=r[t]).measure(1/0,1/0),i.arrange();ne(r)}function cu(e,t,i,r,c,h,v,W,X,Z){if(null!==e.Ia){null===e.Da&&z("No canvas specified"),void 0===v&&(v=null),void 0===W&&(W=null),void 0===X&&(X=!1),void 0===Z&&(Z=!1),wt(e),e.Yc.Rc(!0),ot(e),e.mj=!0;var ge=e.Ca;e.Ca=c;var ye=e.Pa.j,We=ye.length;try{var Ve=new sn(h.x,h.y,r.width/c,r.height/c),st=Ve.copy();st.Lp(i),Ro(e,st),l0(e),e.hd(ye,We,e,Ve);var jt=e.Nb;t.setTransform(1,0,0,1,0,0),t.scale(jt,jt),t.clearRect(0,0,r.width,r.height),null!==W&&""!==W&&(t.fillStyle=W,t.fillRect(0,0,r.width,r.height));var nn=mi.alloc();if(nn.reset(),nn.translate(i.left,i.top),nn.scale(c),0===h.x&&0===h.y||nn.translate(-h.x,-h.y),t.setTransform(nn.m11,nn.m12,nn.m21,nn.m22,nn.dx,nn.dy),mi.free(nn),T0(e,t),null!==v){var on=new Se,Fn=v.iterator;for(Fn.reset();Fn.next();){var Gn=Fn.value;!1===Z&&"Grid"===Gn.layer.name||null===Gn||on.add(Gn)}var hi=function(ns){var ls=X;if(ns.visible&&0!==ns.lb&&(void 0===ls&&(ls=!0),ls||!ns.isTemporary)){var ks=(ls=ns.Fa.j).length;if(0!==ks){1!==ns.lb&&(t.globalAlpha=ns.lb),(ns=ns.Jo).length=0;for(var Ms=e.scale,qo=0;qo<ks;qo++){var bo=ls[qo];if(ku(bo)&&on.contains(bo)){if(bo instanceof Zt&&(bo.isOrthogonal&&ns.push(bo),!1===bo.Lc))continue;var us=bo.actualBounds;1<us.width*Ms||1<us.height*Ms?bo.hc(t,e):la(t,bo)}}t.globalAlpha=1}}}}else if(!X&&Z){var gi=e.grid.part,xi=gi.layer;hi=function(ns){ns===xi?gi.hc(t,e):ns.hc(t,e,X)}}else hi=function(ns){ns.hc(t,e,X)};for(i=0;i<We;i++)hi(ye[i]);e.mj=!1,e.$h&&Ba(e.$h,e)&&e.cr()}finally{e.Ca=ge,e.Yc.Rc(!0),ot(e),e.hd(ye,We,e),Ro(e)}}}function T0(e,t){null!==(e=e.$g)&&(void 0!==e.imageSmoothingEnabled&&t.Ix(!!e.imageSmoothingEnabled),null!=(e=e.defaultFont)&&(t.font=e))}function Js(e,t){var c,i=e instanceof Vi,r=e instanceof ii;for(c in t){""===c&&z("Setting properties requires non-empty property names");var h=e,v=c;if(i||r){var W=c.indexOf(".");if(0<W){var X=c.substring(0,W);i?h=e.$a(X):null==(h=e[X])&&(h=e.toolManager[X]),x(h)?v=c.substr(W+1):z("Unable to find object named: "+X+" in "+e.toString()+" when trying to set property: "+c)}}if("_"!==v[0]&&!pe(h,v)){if(r&&"ModelChanged"===v){e.Tw(t[v]);continue}if(r&&"Changed"===v){e.rh(t[v]);continue}if(r&&pe(e.toolManager,v))h=e.toolManager;else{if(r&&$t(e,v)){e.Nj(v,t[v]);continue}if(e instanceof Is&&"Changed"===v){e.rh(t[v]);continue}z('Trying to set undefined property "'+v+'" on object: '+h.toString())}}h[v]=t[c],"_"===v[0]&&h instanceof As&&h.Qw(v)}}function Vl(e){!1===e.kj&&(e.kj=!0)}function ot(e){!1===e.bi&&(e.bi=!0)}function wt(e){!1!==e.Pn&&(e.Pn=!1,ct(e,e.xa,e.wa))}function ct(e,t,i){var r=e.Nb;e.Da.resize(t*r,i*r,t,i)&&(e.nc=!0,e.Yc.Rc(!0))}function Nt(e){var t=e.Da;if(null===t)return!0;var i=e.Ia,r=e.xa,c=e.wa,h=e.Nw.copy();if(!h.o())return!0;var v=!1,W=e.Zh?e.Gb:0,X=e.Ng?e.Gb:0,Z=i.clientWidth||r+W;i=i.clientHeight||c+X,(Z!==r+W||i!==c+X)&&(e.Zh=!1,e.Ng=!1,X=W=0,e.xa=Z,e.wa=i,v=e.Pn=!0),e.kj=!1;var ge=e.documentBounds,ye=0,We=0,Ve=0,st=0;Z=h.width,i=h.height;var jt=e.ri;e.contentAlignment.gb()?(ge.width>Z&&(ye=jt.left,We=jt.right),ge.height>i&&(Ve=jt.top,st=jt.bottom)):(ye=jt.left,We=jt.right,Ve=jt.top,st=jt.bottom),jt=ge.width+ye+We;var nn=ge.height+Ve+st;ye=ge.x-ye;var on=h.x;We=ge.right+We;var Fn=h.right+W;Ve=ge.y-Ve;var Gn=h.y;st=ge.bottom+st;var hi=h.bottom+X,gi="1px",xi="1px";ge=e.scale;var ns=!(jt<Z+W),ls=!(nn<i+X);if(e.scrollMode===he&&(ns||ls)&&(ns&&e.hasHorizontalScrollbar&&e.allowHorizontalScroll&&(gi=1,ye+1<on&&(gi=Math.max((on-ye)*ge+e.xa,gi)),We>Fn+1&&(gi=Math.max((We-Fn)*ge+e.xa,gi)),Z+W+1<jt&&(gi=Math.max((jt-Z+W)*ge+e.xa,gi)),gi=gi.toString()+"px"),ls&&e.hasVerticalScrollbar&&e.allowVerticalScroll&&(xi=1,Ve+1<Gn&&(xi=Math.max((Gn-Ve)*ge+e.wa,xi)),st>hi+1&&(xi=Math.max((st-hi)*ge+e.wa,xi)),i+X+1<nn&&(xi=Math.max((nn-i+X)*ge+e.wa,xi)),xi=xi.toString()+"px")),ns="1px"!==xi,(ls="1px"!==gi)&&ns||!ls&&!ns||(ns&&(Fn-=e.Gb),ls&&(hi-=e.Gb),jt<Z+W||!e.hasHorizontalScrollbar||!e.allowHorizontalScroll||(W=1,ye+1<on&&(W=Math.max((on-ye)*ge+e.xa,W)),We>Fn+1&&(W=Math.max((We-Fn)*ge+e.xa,W)),Z+1<jt&&(W=Math.max((jt-Z)*ge+e.xa,W)),gi=W.toString()+"px"),W=e.wa,(ls="1px"!==gi)!==e.Ng&&(W=ls?e.wa-e.Gb:e.wa+e.Gb),nn<i+X||!e.hasVerticalScrollbar||!e.allowVerticalScroll||(X=1,Ve+1<Gn&&(X=Math.max((Gn-Ve)*ge+W,X)),st>hi+1&&(X=Math.max((st-hi)*ge+W,X)),i+1<nn&&(X=Math.max((nn-i)*ge+W,X)),xi=X.toString()+"px"),ns="1px"!==xi),e.ns&&ls===e.Ng&&ns===e.Zh)return r===e.xa&&c===e.wa||e.fd(),!1;if(ls!==e.Ng&&(e.wa="1px"===gi?e.wa+e.Gb:Math.max(e.wa-e.Gb,1),v=!0),e.Ng=ls,e.fp.style.width=gi,ns!==e.Zh&&(e.xa="1px"===xi?e.xa+e.Gb:Math.max(e.xa-e.Gb,1),v=!0,e.Tn&&(X=Ze.alloc(),ns?(t.style.left=e.Gb+"px",e.position=X.h(e.sa.x+e.Gb/e.scale,e.sa.y)):(t.style.left="0px",e.position=X.h(e.sa.x-e.Gb/e.scale,e.sa.y)),Ze.free(X))),e.Zh=ns,e.fp.style.height=xi,e.tu=!0,v&&(e.Pn=!0),X=(t=e.ps).scrollLeft,e.hasHorizontalScrollbar&&e.allowHorizontalScroll&&(Z+1<jt?X=(e.position.x-ye)*ge:ye+1<on?X=t.scrollWidth-t.clientWidth:We>Fn+1&&(X=e.position.x*ge)),e.Tn)switch(e.ru){case"negative":X=-(t.scrollWidth-X-t.clientWidth);break;case"reverse":X=t.scrollWidth-X-t.clientWidth}return t.scrollLeft=X,e.hasVerticalScrollbar&&e.allowVerticalScroll&&(i+1<nn?t.scrollTop=(e.position.y-Ve)*ge:Ve+1<Gn?t.scrollTop=t.scrollHeight-t.clientHeight:st>hi+1&&(t.scrollTop=e.position.y*ge)),i=e.wa,t.style.width=(Z=e.xa)+(e.Zh?e.Gb:0)+"px",t.style.height=i+(e.Ng?e.Gb:0)+"px",r===Z&&c===i&&!e.animationManager.rb||(e.iq(h,e.viewportBounds,ge,v),!1)}function pn(e,t,i){var r=t.layer;if(null!==r&&r.diagram===e){t.isSelected=!1,t.isHighlighted=!1;var c=e.animationManager;c.Yg&&t.Lb()&&c.animationReasons.contains("Remove")&&(c.ye(t,"scale",t.scale,.01,!1),c.ye(t,"angle",t.angle,180,!1)),t.B(2),i&&t.Yj(),0<=(i=r.xc(-1,t,!1))&&e.ab(kr,"parts",r,t,null,i,null),null!==(e=t.layerChanged)&&e(t,r,null)}}function Vn(e,t,i,r,c){if(void 0===c&&(c=Kn(e)),!t.contains(i)&&(!r||i.canMove()||i.canCopy()))if(i instanceof as){if(t.add(i,e.pd(c,i,i.location)),i instanceof Fe)for(var h=i.memberParts;h.next();)Vn(e,t,h.value,r,c);for(h=i.linksConnected;h.next();){var v=h.value;if(!t.contains(v)){var W=v.fromNode,X=v.toNode;null!==W&&t.contains(W)&&null!==X&&t.contains(X)&&Vn(e,t,v,r,c)}}if(c.dragsTree)for(i=i.$u();i.next();)Vn(e,t,i.value,r,c)}else if(i instanceof Zt)for(t.add(i,e.pd(c,i)),i=i.labelNodes;i.next();)Vn(e,t,i.value,r,c);else i instanceof Zo||t.add(i,e.pd(c,i,i.location))}function je(e,t,i,r,c){if(null!==t&&0!==t.count){var h=Ze.alloc(),v=Ze.alloc();v.assign(i),isNaN(v.x)&&(v.x=0),isNaN(v.y)&&(v.y=0),(i=e.vp)||Pt(e,t);for(var W=ie(),X=ie(),Z=t.iterator,ge=Ze.alloc();Z.next();){var ye=Z.key,We=Z.value;if(ye.Lb()){var Ve=pi(e,ye,t);null!==Ve?W.push(new gc(ye,We,Ve)):(!c||ye.canMove())&&(h.assign(Ve=We.point),e.computeMove(ye,h.add(v),r,ge),ye.location=ge,void 0===We.shifted&&(We.shifted=new Ze),We.shifted.assign(ge.Xd(Ve)))}else Z.key instanceof Zt&&X.push(Z.na)}for(Ze.free(ge),c=W.length,Z=0;Z<c;Z++)h.assign((ye=W[Z]).info.point),void 0===ye.ev.shifted&&(ye.ev.shifted=new Ze),ye.node.location=h.add(ye.ev.shifted);for(c=Ze.alloc(),Z=Ze.alloc(),ye=X.length,We=0;We<ye;We++){var st=X[We];if((Ve=st.key)instanceof Zt)if(Ve.suspendsRouting){Ve.bh=null,ge=Ve.fromNode;var jt=Ve.toNode;if(null!==e.draggedLink&&r.dragsLink)if(jt=st.value.point,null===Ve.dragComputation)t.add(Ve,e.pd(r,Ve,v)),Pi(Ve,v.x-jt.x,v.y-jt.y);else{st=Ze.allocAt(0,0),(ge=Ve.i(0))&&ge.o()&&st.assign(ge);var nn=ge=Ze.alloc().assign(st).add(v);r.isGridSnapEnabled&&(r.isGridSnapRealtime||e.lastInput.up)&&De(e,Ve,ge,nn=Ze.alloc(),r),ge.assign(Ve.dragComputation(Ve,ge,nn)).Xd(st),t.add(Ve,e.pd(r,Ve,ge)),Pi(Ve,ge.x-jt.x,ge.y-jt.y),Ze.free(st),Ze.free(ge),nn!==ge&&Ze.free(nn)}else null!==ge&&(c.assign(ge.location),null!==(nn=t.J(ge))&&c.Xd(nn.point)),null!==jt&&(Z.assign(jt.location),null!==(nn=t.J(jt))&&Z.Xd(nn.point)),null!==ge&&null!==jt?c.Qa(Z)?(ge=st.value.point,(jt=h).assign(c),jt.Xd(ge),t.add(Ve,e.pd(r,Ve,c)),Pi(Ve,jt.x,jt.y)):(Ve.suspendsRouting=!1,Ve.Ra()):(st=st.value.point,t.add(Ve,e.pd(r,Ve,ge=null!==ge?c:null!==jt?Z:v)),Pi(Ve,ge.x-st.x,ge.y-st.y))}else(null===Ve.fromNode||null===Ve.toNode)&&(ge=st.value.point,t.add(Ve,e.pd(r,Ve,v)),Pi(Ve,v.x-ge.x,v.y-ge.y))}Ze.free(h),Ze.free(v),Ze.free(c),Ze.free(Z),ne(W),ne(X),i||(l0(e),mt(e,t))}}function Kn(e){var t=e.toolManager.findTool("Dragging");return null!==t?t.dragOptions:e.Lk}function De(e,t,i,r,c){if(void 0===c&&(c=Kn(e)),r.assign(i),null!==t){var h=e.grid;e=(t=c.gridSnapCellSize).width,t=t.height;var v=c.gridSnapOrigin,W=v.x;if(v=v.y,c=c.gridSnapCellSpot,null!==h){var X=h.gridCellSize;isNaN(e)&&(e=X.width),isNaN(t)&&(t=X.height),h=h.gridOrigin,isNaN(W)&&(W=h.x),isNaN(v)&&(v=h.y)}(h=Ze.allocAt(0,0)).qk(0,0,e,t,c),Yn.Tp(i.x,i.y,W+h.x,v+h.y,e,t,r),Ze.free(h)}}function Pt(e,t){if(null!==t)for(e.vp=!0,e=t.iterator;e.next();)(t=e.key)instanceof Zt&&(t.suspendsRouting=!0)}function mt(e,t){if(null!==t){for(t=t.iterator;t.next();){var i=t.key;i instanceof Zt&&(i.suspendsRouting=!1,xs(i)&&i.Ra())}e.vp=!1}}function pi(e,t,i){return null===(t=t.containingGroup)||null===(e=pi(e,t,i))&&null===(e=i.J(t))?null:e}function Ls(e,t,i){if(null!==t.diagram&&t.diagram!==e&&z("Cannot share a Layer with another Diagram: "+t+" of "+t.diagram),null===i?null!==t.diagram&&z("Cannot add an existing Layer to this Diagram again: "+t):(i.diagram!==e&&z("Existing Layer must be in this Diagram: "+i+" not in "+i.diagram),t===i&&z("Cannot move a Layer before or after itself: "+t)),t.diagram!==e){t=t.name,i=(e=e.Pa).count;for(var r=0;r<i;r++)e.N(r).name===t&&z("Cannot add Layer with the name '"+t+"'; a Layer with the same name is already present in this Diagram.")}}function lo(e,t,i){var r=e.animationManager;if(e.ob||e.Zb)e.Ca=i,E0(r,t,e.Ca);else if(e.ob=!0,null===e.Da)e.Ca=i;else{var c=e.viewportBounds.copy(),h=e.xa,v=e.wa;c.width=e.xa/t,c.height=e.wa/t;var W=e.zoomPoint.x,X=e.zoomPoint.y,Z=e.contentAlignment;isNaN(W)&&(Z.qf()?Z.pf(Jn)?W=0:Z.pf(Oi)&&(W=h-1):W=Z.gb()?Z.x*(h-1):h/2),isNaN(X)&&(Z.qf()?Z.pf(rn)?X=0:Z.pf(Ci)&&(X=v-1):X=Z.gb()?Z.y*(v-1):v/2),null!==e.scaleComputation&&(i=e.scaleComputation(e,i)),i<e.minScale&&(i=e.minScale),i>e.maxScale&&(i=e.maxScale),h=Ze.allocAt(e.sa.x+W/t-W/i,e.sa.y+X/t-X/i),e.position=h,Ze.free(h),e.Ca=i,e.iq(c,e.viewportBounds,t,!1),e.ob=!1,dr(e,!1),E0(r,t,e.Ca),e.R(),Vl(e)}}function Ro(e,t){void 0===t&&(t=null);var i=e.Eb;if(null!==i&&i.visible){for(var r=Ue.alloc(),c=1,h=1,v=i.Y.j,W=v.length,X=0;X<W;X++){var Z=v[X],ge=Z.interval;2>ge||(Au(Z.figure)?h=h*ge/Yn.lx(h,ge):c=c*ge/Yn.lx(c,ge))}if(r.h(h*(v=i.gridCellSize).width,c*v.height),null!==t)c=t.width,h=t.height,e=t.x,v=t.y;else{if((t=sn.alloc()).h((e=e.viewportBounds).x,e.y,e.width,e.height),!t.o())return void sn.free(t);c=t.width,h=t.height,e=t.x,v=t.y,sn.free(t)}i.width=c+2*r.width,i.height=h+2*r.height,t=Ze.alloc(),Yn.Tp(e,v,0,0,r.width,r.height,t),t.offset(-r.width,-r.height),Ue.free(r),i.part.location=t,Ze.free(t)}}function to(e){if(0<(e=e.selection).count){for(var t=e.Na(),i=t.length,r=0;r<i;r++)t[r].isSelected=!1;e.ha(),e.clear(),e.freeze()}}function Er(e){var t=e.isModified;e.Ow!==t&&(e.Ow=t,e.aa("Modified"))}function C0(e,t){for(var i=(t=t.Y.j).length,r=0;r<i;r++)S(e,t[r])}function S(e,t){if(t instanceof Wl){var i=t.element;if(null!==i&&i instanceof HTMLImageElement){var r=t.Ig;if(null!==r&&(r.Zk instanceof Event&&null!==t.Cc&&t.Cc(t,r.Zk),!0===r.zr&&(null!==t.df&&t.df(t,r.su),null!==t.diagram&&t.diagram.mu.add(t))),null===(r=e.Cj.J(i=i.src)))(r=[]).push(t),e.Cj.add(i,r);else{for(e=0;e<r.length;e++)if(r[e]===t)return;r.push(t)}}}}function G(e,t){for(var i=(t=t.Y.j).length,r=0;r<i;r++)se(e,t[r])}function se(e,t){if(t instanceof Wl){var i=t.element;if(null!==i&&i instanceof HTMLImageElement){var r=e.Cj.J(i=i.src);if(null!==r)for(var c=0;c<r.length;c++)if(r[c]===t){r.splice(c,1),0===r.length&&(e.Cj.remove(i),pa(i));break}}}}function ue(e,t){e.Og=!1;var i=e.vn;i.A(t)||(t=t.I(),e.vn=t,dr(e,!1),e.aa("DocumentBoundsChanged",null,i.copy()),Vl(e))}function Te(e,t){for(var i=e.xi.iterator;i.next();)Ke(e,i.value,t);null!==e.layout&&(t?e.layout.isValidLayout=!1:e.layout.B())}function Ke(e,t,i){if(null!==t){for(var r=t.rl.iterator;r.next();)Ke(e,r.value,i);null!==t.layout&&(i?t.layout.isValidLayout=!1:t.layout.B())}}function lt(e,t){if(e.zg&&!e.Qt){var i=e.da;e.da=!0;var r=e.undoManager.transactionLevel,c=e.layout;try{0===r&&e.Aa("Layout");var h=e.animationManager;1>=r&&!h.isAnimating&&!h.rb&&(t||h.Ri("Layout")),e.zg=!1;for(var v=e.xi.iterator;v.next();)xt(e,v.value,t,r);c.isValidLayout||(!t||c.isRealtime||null===c.isRealtime||0===r?(c.doLayout(e),l0(e),c.isValidLayout=!0):e.zg=!0)}finally{0===r&&e.Za("Layout"),e.zg=!c.isValidLayout,e.da=i}}}function xt(e,t,i,r){if(null!==t){for(var c=t.rl.iterator;c.next();)xt(e,c.value,i,r);null===(c=t.layout)||c.isValidLayout||(!i||c.isRealtime||0===r?(t.mk=!t.location.o(),c.doLayout(t),t.B(32),qc(e,t),c.isValidLayout=!0):e.zg=!0)}}function vt(e){function t(c){var h=c.toLowerCase(),v=new gt;i.add(c,v),i.add(h,v),r.add(c,c),r.add(h,c)}var i=new Kt,r=new Kt;t("AnimationStarting"),t("AnimationFinished"),t("BackgroundSingleClicked"),t("BackgroundDoubleClicked"),t("BackgroundContextClicked"),t("ClipboardChanged"),t("ClipboardPasted"),t("DocumentBoundsChanged"),t("ExternalObjectsDropped"),t("GainedFocus"),t("InitialLayoutCompleted"),t("LayoutCompleted"),t("LinkDrawn"),t("LinkRelinked"),t("LinkReshaped"),t("LostFocus"),t("Modified"),t("ObjectSingleClicked"),t("ObjectDoubleClicked"),t("ObjectContextClicked"),t("PartCreated"),t("PartResized"),t("PartRotated"),t("SelectionMoved"),t("SelectionCopied"),t("SelectionDeleting"),t("SelectionDeleted"),t("SelectionGrouped"),t("SelectionUngrouped"),t("ChangingSelection"),t("ChangedSelection"),t("SubGraphCollapsed"),t("SubGraphExpanded"),t("TextEdited"),t("TreeCollapsed"),t("TreeExpanded"),t("ViewportBoundsChanged"),t("InvalidateDraw"),e.St=i,e.Rt=r}function $t(e,t){var i=e.Rt.J(t);return null!==i?i:e.Rt.J(t.toLowerCase())}function an(e,t){var i=e.St.J(t);return null!==i||null!==(i=e.St.J(t.toLowerCase()))?i:(z("Unknown DiagramEvent name: "+t),null)}function fn(e){if(e.animationManager.isAnimating)return!1;var t=e.currentTool;return t!==e.toolManager.findTool("Dragging")||!e.vp||t.isComplexRoutingRealtime}function ti(e,t,i,r){if(null===e.Ob&&(e.Ob=new Ep),e.Ob.at||e.Ob.group!==i||e.Ob.Mx!==r){if(null===i){(t=e.computeOccupiedArea()).Uc(100,100),e.Ob.initialize(t),t=sn.alloc();for(var c=e.nodes;c.next();){var h=c.value,v=h.layer;null!==v&&v.visible&&!v.isTemporary&&Ti(e,h,r,t)}sn.free(t)}else{for(0<i.memberParts.count&&((t=e.computePartsBounds(i.memberParts,!1)).Uc(20,20),e.Ob.initialize(t)),t=sn.alloc(),c=i.memberParts;c.next();)(h=c.value)instanceof as&&Ti(e,h,r,t);sn.free(t)}e.Ob.group=i,e.Ob.Mx=r,e.Ob.at=!1}else t&&Vf(e.Ob);return e.Ob}function Ti(e,t,i,r){if(t!==i)if(t.isVisible()&&t.avoidable&&!t.isLinkLabel){var c=t.getAvoidableRect(r),h=e.Ob.Ul;i=e.Ob.Tl,r=c.x+c.width,t=c.y+c.height;for(var v=c.x;v<r;v+=h){for(var W=c.y;W<t;W+=i)Ah(e.Ob,v,W);Ah(e.Ob,v,t)}for(c=c.y;c<t;c+=i)Ah(e.Ob,r,c);Ah(e.Ob,r,t)}else if(t instanceof Fe)for(t=t.memberParts;t.next();)(c=t.value)instanceof as&&Ti(e,c,i,r)}function Ri(e,t){null!==e.Ob&&!e.Ob.at&&(void 0===t&&(t=null),null===t||t.avoidable&&!t.isLinkLabel)&&(e.Ob.at=!0)}function Bi(e){-1===e.Bk&&(e.Bk=M(function(){if(-1!==e.Bk&&(e.vf(),null!==e.lastInput.event)){var t=ts(e,e.Hq);t.Qa(e.position)||(e.position=t,e.lastInput.documentPoint=e.yt(e.Hq),e.doMouseMove(),e.Og=!0,ue(e,e.documentBounds.copy().Jc(e.computeBounds())),e.nc=!0,e.fd(),Bi(e))}},e.Tm))}function ts(e,t){var i=e.position,r=e.Um;if(0>=r.top&&0>=r.left&&0>=r.right&&0>=r.bottom)return i;var c=e.viewportBounds,h=e.scale;c=sn.allocAt(0,0,c.width*h,c.height*h);var v=Ze.allocAt(0,0);if(t.x>=c.x&&t.x<c.x+r.left){var W=Math.max(e.scrollHorizontalLineChange,1);v.x-=W|=0,t.x<c.x+r.left/2&&(v.x-=W),t.x<c.x+r.left/4&&(v.x-=4*W)}else t.x<=c.x+c.width&&t.x>c.x+c.width-r.right&&(W=Math.max(e.scrollHorizontalLineChange,1),v.x+=W|=0,t.x>c.x+c.width-r.right/2&&(v.x+=W),t.x>c.x+c.width-r.right/4&&(v.x+=4*W));return t.y>=c.y&&t.y<c.y+r.top?(e=Math.max(e.scrollVerticalLineChange,1),v.y-=e|=0,t.y<c.y+r.top/2&&(v.y-=e),t.y<c.y+r.top/4&&(v.y-=4*e)):t.y<=c.y+c.height&&t.y>c.y+c.height-r.bottom&&(e=Math.max(e.scrollVerticalLineChange,1),v.y+=e|=0,t.y>c.y+c.height-r.bottom/2&&(v.y+=e),t.y>c.y+c.height-r.bottom/4&&(v.y+=4*e)),v.Qa(Rn)||(i=new Ze(i.x+v.x/h,i.y+v.y/h)),sn.free(c),Ze.free(v),i}function Ws(e,t,i){function r(){var ge=+new Date;for(h=!0,v.reset();v.next();)if(!v.value[0].nl){h=!1;break}h||ge-Z>X?t(i,c,W):o.requestAnimationFrame(r)}for(var c=i.callback,h=!0,v=e.Cj.iterator;v.next();)if(!v.value[0].nl){h=!1;break}if("function"!=typeof c||h)return t(i,c,e);var W=e,X=i.callbackTimeout||300,Z=+new Date;return o.requestAnimationFrame(function(){r()}),null}function Wo(e,t,i,r){if(e.animationManager.vd(),e.fd(),null===e.Da)return null;"object"!=typeof t&&z("properties argument must be an Object.");var c=t.size||null,h=t.scale||null;void 0!==t.scale&&isNaN(t.scale)&&(h="NaN");var v=t.maxSize;void 0===t.maxSize&&(v="SVG"===i?new Ue(1/0,1/0):new Ue(2e3,2e3));var W=t.position||null,X=t.parts||null,Z=void 0===t.padding?1:t.padding,ge=t.background||null,ye=t.omitTemporary;void 0===ye&&(ye=!0);var We=t.document||document,Ve=t.elementFinished||null,st=t.showTemporary;void 0===st&&(st=!ye),void 0===(t=t.showGrid)&&(t=st),null!==c&&isNaN(c.width)&&isNaN(c.height)&&(c=null),"number"==typeof Z?Z=new ei(Z):Z instanceof ei||z("MakeImage padding must be a Margin or a number."),Z.left=Math.max(Z.left,0),Z.right=Math.max(Z.right,0),Z.top=Math.max(Z.top,0),Z.bottom=Math.max(Z.bottom,0),e.Yc.Rc(!0);var jt=(ye=new Vc(null,We)).context;if(!(c||h||X||W))return ye.width=e.xa+Math.ceil(Z.left+Z.right),ye.height=e.wa+Math.ceil(Z.top+Z.bottom),"SVG"===i?null===r?null:(r.resize(ye.width,ye.height,ye.width,ye.height),r.ownerDocument=We,r.Qp=Ve,cu(e,r.context,Z,new Ue(ye.width,ye.height),e.Ca,e.sa,X,ge,st,t),r.context):(e.xn=!1,cu(e,jt,Z,new Ue(ye.width,ye.height),e.Ca,e.sa,X,ge,st,t),e.xn=!0,ye.context);var nn=e.Zq,on=e.documentBounds.copy();if(on.Ov(e.eb),st)for(var Fn=e.Pa.j,Gn=Fn.length,hi=0;hi<Gn;hi++){var gi=Fn[hi];if(gi.visible&&gi.isTemporary)for(var xi=(gi=gi.Fa.j).length,ns=0;ns<xi;ns++){var ls=gi[ns];ls.isInDocumentBounds&&ls.isVisible()&&(ls=ls.actualBounds).o()&&on.Jc(ls)}}if(Fn=new Ze(on.x,on.y),null!==X){for(Gn=!0,(hi=X.iterator).reset();hi.next();)if((gi=hi.value)instanceof Os&&(null===(xi=gi.layer)||xi.visible)&&(null===xi||st||!xi.isTemporary)&&gi.isVisible()&&(gi=gi.actualBounds).o())if(Gn){Gn=!1;var ks=gi.copy()}else ks.Jc(gi);Gn&&(ks=new sn(0,0,0,0)),on.width=ks.width,on.height=ks.height,Fn.x=ks.x,Fn.y=ks.y}return null!==W&&W.o()&&(Fn=W,h||(h=nn)),ks=W=0,null!==Z&&(W=Z.left+Z.right,ks=Z.top+Z.bottom),Gn=hi=0,null!==c&&(hi=c.width,Gn=c.height,isFinite(hi)&&(hi=Math.max(0,hi-W)),isFinite(Gn)&&(Gn=Math.max(0,Gn-ks))),null!==c&&null!==h?("NaN"===h&&(h=nn),c.o()?(c=hi,on=Gn):isNaN(Gn)?(c=hi,on=on.height*h):(c=on.width*h,on=Gn)):null!==c?c.o()?(h=Math.min(hi/on.width,Gn/on.height),c=hi,on=Gn):isNaN(Gn)?(c=hi,on=on.height*(h=hi/on.width)):(c=on.width*(h=Gn/on.height),on=Gn):null!==h?"NaN"===h&&v.o()?(h=Math.min((v.width-W)/on.width,(v.height-ks)/on.height))>nn?(h=nn,c=on.width,on=on.height):(c=v.width,on=v.height):(c=on.width*h,on=on.height*h):(h=nn,c=on.width,on=on.height),null!==Z?(c+=W,on+=ks):Z=new ei(0),null!==v&&(nn=v.width,v=v.height,isNaN(nn)&&(nn=2e3),isNaN(v)&&(v=2e3),isFinite(nn)&&(c=Math.min(c,nn)),isFinite(v)&&(on=Math.min(on,v))),ye.width=Math.ceil(c),ye.height=Math.ceil(on),"SVG"===i?null===r?null:(r.resize(ye.width,ye.height,ye.width,ye.height),r.ownerDocument=We,r.Qp=Ve,cu(e,r.context,Z,new Ue(Math.ceil(c),Math.ceil(on)),h,Fn,X,ge,st,t),r.context):(e.xn=!1,cu(e,jt,Z,new Ue(Math.ceil(c),Math.ceil(on)),h,Fn,X,ge,st,t),e.xn=!0,ye.context)}si.className="AnimationManager",Ja.className="AnimationStates",(N=ir.prototype).hb=function(e){this.C=e},N.toString=function(e){void 0===e&&(e=0);var t='Layer "'+this.name+'"';if(0>=e)return t;for(var i=0,r=0,c=0,h=0,v=0,W=this.Fa.iterator;W.next();){var X=W.value;X instanceof Fe?c++:X instanceof as?r++:X instanceof Zt?h++:X instanceof Zo?v++:i++}if(W="",0<i&&(W+=i+" Parts "),0<r&&(W+=r+" Nodes "),0<c&&(W+=c+" Groups "),0<h&&(W+=h+" Links "),0<v&&(W+=v+" Adornments "),1<e)for(e=this.Fa.iterator;e.next();)W+="\n    "+(i=e.value).toString(),null!==(r=i.data)&&Je(r)&&(W+=" #"+Je(r)),i instanceof as?W+=" "+le(r):i instanceof Zt&&(W+=" "+le(i.fromNode)+" "+le(i.toNode));return t+" "+this.Fa.count+": "+W},N.Sb=function(e,t,i){if(void 0===t&&(t=null),void 0===i&&(i=null),!1===this.Bj)return null;var r=!1;null!==this.diagram&&this.diagram.viewportBounds.ea(e)&&(r=!0);for(var c=Ze.alloc(),h=this.Fa.j,v=h.length;v--;){var W=h[v];if((!0!==r||!1!==ku(W))&&W.isVisible()&&(c.assign(e),jn(c,W.rd),null!==(W=W.Sb(c,t,i))&&(null!==t&&(W=t(W)),null!==W&&(null===i||i(W)))))return Ze.free(c),W}return Ze.free(c),null},N.Fi=function(e,t,i,r){if(void 0===t&&(t=null),void 0===i&&(i=null),r instanceof gt||r instanceof Se||(r=new Se),!1===this.Bj)return r;var c=!1;null!==this.diagram&&this.diagram.viewportBounds.ea(e)&&(c=!0);for(var h=Ze.alloc(),v=this.Fa.j,W=v.length;W--;){var X=v[W];if((!0!==c||!1!==ku(X))&&X.isVisible()){h.assign(e),jn(h,X.rd);var Z=X;X.Fi(h,t,i,r)&&(null!==t&&(Z=t(Z)),null===Z||null!==i&&!i(Z)||r.add(Z))}}return Ze.free(h),r},N.mg=function(e,t,i,r,c){if(void 0===t&&(t=null),void 0===i&&(i=null),void 0===r&&(r=!1),c instanceof gt||c instanceof Se||(c=new Se),!1===this.Bj)return c;var h=!1;null!==this.diagram&&this.diagram.viewportBounds.lf(e)&&(h=!0);for(var v=this.Fa.j,W=v.length;W--;){var X=v[W];if((!0!==h||!1!==ku(X))&&X.isVisible()){var Z=X;X.mg(e,t,i,r,c)&&(null!==t&&(Z=t(Z)),null===Z||null!==i&&!i(Z)||c.add(Z))}}return c},N.ng=function(e,t,i,r,c,h){if(void 0===i&&(i=null),void 0===r&&(r=null),void 0===c&&(c=!0),!1!==c&&!0!==c&&((c instanceof gt||c instanceof Se)&&(h=c),c=!0),h instanceof gt||h instanceof Se||(h=new Se),!1===this.Bj)return h;var v=!1;null!==this.diagram&&this.diagram.viewportBounds.ea(e)&&(v=!0);for(var W=Ze.alloc(),X=Ze.alloc(),Z=this.Fa.j,ge=Z.length;ge--;){var ye=Z[ge];if((!0!==v||!1!==ku(ye))&&ye.isVisible()){W.assign(e),jn(W,ye.rd),X.h(e.x+t,e.y),jn(X,ye.rd);var We=ye;ye.ng(W,X,i,r,c,h)&&(null!==i&&(We=i(We)),null===We||null!==r&&!r(We)||h.add(We))}}return Ze.free(W),Ze.free(X),h},N.hd=function(e,t){if(this.visible){var i=void 0===t?e.viewportBounds:t,r=this.Fa.j,c=r.length;e=ie(),t=ie();for(var h=0;h<c;h++){var v=r[h];v.Bw=h,v instanceof Zt&&!1===v.Lc||v instanceof Zo&&null!==v.adornedPart||($i(v.actualBounds,i,10)?(v.hd(!0),e.push(v)):(v.hd(!1),null!==v.adornments&&0<v.adornments.count&&t.push(v)))}for(i=0;i<e.length;i++)for(Gh(r=e[i]),r=r.adornments;r.next();)(c=r.value).measure(1/0,1/0),c.arrange(),c.hd(!0);for(i=0;i<t.length;i++)(r=t[i]).updateAdornments(),qh(r,!0);ne(e),ne(t)}},N.hc=function(e,t,i){if(this.visible&&0!==this.lb&&(void 0===i&&(i=!0),i||!this.isTemporary)){var r=(i=this.Fa.j).length;if(0!==r){1!==this.lb&&(e.globalAlpha=this.lb);var c=this.Jo;c.length=0;for(var h=t.scale,v=0;v<r;v++){var W=i[v];if(ku(W)){if(W instanceof Zt&&(W.isOrthogonal&&c.push(W),!1===W.Lc))continue;var X=W.actualBounds;1<X.width*h||1<X.height*h?W.hc(e,t):la(e,W)}}e.globalAlpha=1}}},N.g=function(e,t,i,r,c){var h=this.diagram;null!==h&&h.ab(tr,e,this,t,i,r,c)},N.Ni=function(e,t,i){var r=this.Fa;if(t.fi=this,e>=r.count)e=r.count;else if(r.N(e)===t)return-1;return r.Ib(e,t),t.Yp(i),null!==(r=this.diagram)&&(i?r.R():r.Ni(t)),c1(this,e,t),e},N.xc=function(e,t,i){if(!i&&t.layer!==this&&null!==t.layer)return t.layer.xc(e,t,i);var r=this.Fa;if(0>e||e>=r.length){if(0>(e=r.indexOf(t)))return-1}else if(r.N(e)!==t&&0>(e=r.indexOf(t)))return-1;return t.Zp(i),r.mb(e),null!==(r=this.diagram)&&(i?r.R():r.xc(t)),t.fi=null,e},N.clear=function(){for(var e=this.Fa.Na(),t=e.length,i=0;i<t;i++)e[i].hd(!1),this.xc(-1,e[i],!1);this.Jo.length=0},I.Object.defineProperties(ir.prototype,{parts:{get:function(){return this.Fa.iterator}},partsBackwards:{get:function(){return this.Fa.iteratorBackwards}},diagram:{get:function(){return this.C}},name:{get:function(){return this.Ua},set:function(e){var t=this.Ua;if(t!==e){var i=this.diagram;if(null!==i)for(""===t&&z("Cannot rename default Layer to: "+e),i=i.layers;i.next();)i.value.name===e&&z("Layer.name is already present in this diagram: "+e);for(this.Ua=e,this.g("name",t,e),e=this.Fa.iterator;e.next();)e.value.layerName=this.Ua}}},opacity:{get:function(){return this.lb},set:function(e){var t=this.lb;t!==e&&((0>e||1<e)&&U(e,"0 <= value <= 1",ir,"opacity"),this.lb=e,this.g("opacity",t,e),null!==(e=this.diagram)&&e.R())}},isTemporary:{get:function(){return this.u},set:function(e){var t=this.u;t!==e&&(this.u=e,this.g("isTemporary",t,e))}},visible:{get:function(){return this.K},set:function(e){var t=this.K;if(t!==e){for(this.K=e,this.g("visible",t,e),t=this.Fa.iterator;t.next();)t.value.Mb(e);null!==(e=this.diagram)&&e.R()}}},pickable:{get:function(){return this.Bj},set:function(e){var t=this.Bj;t!==e&&(this.Bj=e,this.g("pickable",t,e))}},isBoundsIncluded:{get:function(){return this.l},set:function(e){this.l!==e&&(this.l=e,null!==this.diagram&&this.diagram.Xa())}},allowCopy:{get:function(){return this.Eh},set:function(e){var t=this.Eh;t!==e&&(this.Eh=e,this.g("allowCopy",t,e))}},allowDelete:{get:function(){return this.Fh},set:function(e){var t=this.Fh;t!==e&&(this.Fh=e,this.g("allowDelete",t,e))}},allowTextEdit:{get:function(){return this.Oh},set:function(e){var t=this.Oh;t!==e&&(this.Oh=e,this.g("allowTextEdit",t,e))}},allowGroup:{get:function(){return this.Gh},set:function(e){var t=this.Gh;t!==e&&(this.Gh=e,this.g("allowGroup",t,e))}},allowUngroup:{get:function(){return this.Ph},set:function(e){var t=this.Ph;t!==e&&(this.Ph=e,this.g("allowUngroup",t,e))}},allowLink:{get:function(){return this.Hh},set:function(e){var t=this.Hh;t!==e&&(this.Hh=e,this.g("allowLink",t,e))}},allowRelink:{get:function(){return this.Jh},set:function(e){var t=this.Jh;t!==e&&(this.Jh=e,this.g("allowRelink",t,e))}},allowMove:{get:function(){return this.Ih},set:function(e){var t=this.Ih;t!==e&&(this.Ih=e,this.g("allowMove",t,e))}},allowReshape:{get:function(){return this.Kh},set:function(e){var t=this.Kh;t!==e&&(this.Kh=e,this.g("allowReshape",t,e))}},allowResize:{get:function(){return this.Lh},set:function(e){var t=this.Lh;t!==e&&(this.Lh=e,this.g("allowResize",t,e))}},allowRotate:{get:function(){return this.Mh},set:function(e){var t=this.Mh;t!==e&&(this.Mh=e,this.g("allowRotate",t,e))}},allowSelect:{get:function(){return this.Nh},set:function(e){var t=this.Nh;t!==e&&(this.Nh=e,this.g("allowSelect",t,e))}}}),ir.prototype.findObjectsNear=ir.prototype.ng,ir.prototype.findObjectsIn=ir.prototype.mg,ir.prototype.findObjectsAt=ir.prototype.Fi,ir.prototype.findObjectAt=ir.prototype.Sb,ir.className="Layer",ii.prototype.clear=function(){this.model.clear(),mr=null,$r="",S0(this,!1),this.vn=new sn(NaN,NaN,NaN,NaN).freeze(),this.R()},ii.prototype.reset=function(){this.ob=!0,this.clear(),this.yk=new si,this.yk.hb(this),this.Pa=new gt,this.Dv(),this.Cv(),this.sa=new Ze(NaN,NaN).freeze(),this.Ca=1,this.ur=new Ze(NaN,NaN).freeze(),this.vr=NaN,this.Pr=1e-4,this.Nr=100,this.Is=new Ze(NaN,NaN).freeze(),this.jr=new sn(NaN,NaN,NaN,NaN).freeze(),this.ri=new ei(0,0,0,0).freeze(),this.Gj=he,this.rs=!1,this.ms=this.hs=null,this.aj=va,this.cj=wo,this.ai=va,this.On=wo,this.wr=this.tr=ut,this.Tm=250,this.Um=new ei(16,16,16,16).freeze(),this.Er=!0,this.Ds=Et,this.Fs=yt,this.qn="auto",this.Rf=this.Sr=this.Tf=this.Uf=this.Wf=this.Bf=this.Ff=this.Af=null,this.pr=!1,this.Cf=this.gg=this.Vf=this.Sf=null,this.Lf=!1,this.Fh=this.Eh=this.yq=this.Dc=!0,this.zq=!1,this.Eq=this.Bq=this.rr=this.qr=this.Fq=this.Dq=this.Nh=this.Mh=this.Lh=this.Kh=this.Ih=this.Jh=this.Hh=this.Cq=this.Ph=this.Gh=this.Oh=this.Aq=!0,this.qs=this.os=16,this.eb=new ei(5).freeze(),this.Or=999999999,this.gc=null,this.Fr=!1,this.Nb=1,this.jh=null,this.Tr=0,this.Ur=[0,0,0,0,0],this.Vr=0,Z1(this),this.Eb=null,this.partManager=new Cr,this.toolManager=new mo,this.toolManager.initializeStandardTools(),this.cs=this.bs=this.br=null,this.vp=!1,this.Lk.reset(),this.pu=new Kt,this.pu.clear(),this.currentTool=this.defaultTool=this.toolManager,this.commandHandler=ql(),this.eh=!0,ec(this),this.layout=new er,this.eh=!1,this.model=Qf(),this.model.undoManager=new sr,this.ge=!1,this.Xk=!0,this.ob=this.qd=!1,this.R(),this.ne=this.zf=null,vt(this),this.Sq=""},ii.prototype.setRTL=function(e){null===(e=void 0===e?this.div:e)&&(e=o.document.body);var t=q("div");t.dir="rtl",t.style.cssText="font-size: 14px; width: 1px; height: 1px; position: absolute; top: -1000px; overflow: scroll;",t.textContent="A",e.appendChild(t);var i="reverse";0<t.scrollLeft?i="default":(t.scrollLeft=1,0===t.scrollLeft&&(i="negative")),e.removeChild(t),this.ru=i},ii.prototype.setScrollWidth=function(e){null===(e=void 0===e?this.div:e)&&(e=o.document.body);var t=0;if(Wr){var i=ar;t=Xo,null===i&&((i=ar=q("p")).style.width="100%",i.style.height="200px",i.style.boxSizing="content-box",(t=Xo=q("div")).style.position="absolute",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.boxSizing="content-box",t.appendChild(i)),t.style.overflow="hidden",e.appendChild(t);var r=i.offsetWidth;t.style.overflow="scroll",r===(i=i.offsetWidth)&&(i=t.clientWidth),e.removeChild(t),0!=(t=r-i)||Ae||(t=11)}this.Gb=t},ii.prototype.fb=function(e){e.classType===ii&&(this.autoScale=e)},ii.prototype.toString=function(e){void 0===e&&(e=0);var t="";if(this.div&&this.div.id&&(t=this.div.id),t='Diagram "'+t+'"',0>=e)return t;for(var i=this.Pa.iterator;i.next();)t+="\n  "+i.value.toString(e-1);return t},ii.prototype.addEventListener=function(e,t,i,r){e.addEventListener(t,i,r)},ii.prototype.removeEventListener=function(e,t,i,r){e.removeEventListener(t,i,r)},ii.prototype.computePixelRatio=function(){return null!==this.jh?this.jh:o.devicePixelRatio||1},ii.prototype.doMouseMove=function(){this.currentTool.doMouseMove()},ii.prototype.doMouseDown=function(){this.currentTool.doMouseDown()},ii.prototype.doMouseUp=function(){this.currentTool.doMouseUp()},ii.prototype.doMouseWheel=function(){this.currentTool.doMouseWheel()},ii.prototype.doKeyDown=function(){this.currentTool.doKeyDown()},ii.prototype.doKeyUp=function(){this.currentTool.doKeyUp()},ii.prototype.doFocus=function(){this.focus()},ii.prototype.focus=function(){if(this.Da)if(this.scrollsPageOnFocus)this.Da.focus();else{var e=o.scrollX||o.pageXOffset,t=o.scrollY||o.pageYOffset;this.Da.focus(),o.scrollTo(e,t)}},ii.prototype.ty=function(){this.C.aa("GainedFocus")},ii.prototype.sy=function(){this.C.aa("LostFocus")},ii.prototype.bx=function(e){if(null!==this.Da){this.ns=!0;var t=this.documentBounds,i=this.viewportBounds,r=this.ri,c=t.x-r.left,h=t.y-r.top,v=t.width+r.left+r.right,W=t.height+r.top+r.bottom,X=t.right+r.right;r=t.bottom+r.bottom;var Z=i.x;t=i.y;var ge=i.width,ye=i.height,We=i.right,Ve=i.bottom;i=this.scale;var st=e.scrollLeft;if(this.Tn)switch(this.ru){case"negative":st=st+e.scrollWidth-e.clientWidth;break;case"reverse":st=e.scrollWidth-st-e.clientWidth}var jt=st;ge<v||ye<W?(st=Ze.allocAt(this.position.x,this.position.y),this.allowHorizontalScroll&&this.uu!==jt&&(st.x=jt/i+c,this.uu=jt),this.allowVerticalScroll&&this.vu!==e.scrollTop&&(st.y=e.scrollTop/i+h,this.vu=e.scrollTop),this.position=st,Ze.free(st),this.kj=this.ns=!1):(st=Ze.alloc(),e.Yx&&this.allowHorizontalScroll&&(c<Z&&(this.position=st.h(jt+c,this.position.y)),X>We&&(this.position=st.h(-(this.ps.scrollWidth-this.xa)+jt-this.xa/i+X,this.position.y))),e.Zx&&this.allowVerticalScroll&&(h<t&&(this.position=st.h(this.position.x,e.scrollTop+h)),r>Ve&&(this.position=st.h(this.position.x,-(this.ps.scrollHeight-this.wa)+e.scrollTop-this.wa/i+r))),Ze.free(st),ot(this),this.kj=this.ns=!1,X=(t=this.documentBounds).right,We=(i=this.viewportBounds).right,r=t.bottom,Ve=i.bottom,c=t.x,Z=i.x,h=t.y,t=i.y,ge>=v&&c>=Z&&X<=We&&(this.fp.style.width="1px"),ye>=W&&h>=t&&r<=Ve&&(this.fp.style.height="1px"))}},ii.prototype.computeBounds=function(){return 0<this.Dd.count&&l0(this),X0(this)},ii.prototype.computePartsBounds=function(e,t){void 0===t&&(t=!1);var i=null;if(B(e))for(var r=0;r<e.length;r++){var c=e[r];!t&&c instanceof Zt||(c.ac(),null===i?i=c.actualBounds.copy():i.Jc(c.actualBounds))}else for(e=e.iterator;e.next();)r=e.value,!t&&r instanceof Zt||(r.ac(),null===i?i=r.actualBounds.copy():i.Jc(r.actualBounds));return null===i?new sn(NaN,NaN,0,0):i},ii.prototype.zoomToFit=function(){var e=this.Gj;this.Gj=he,this.scale=Nl(this,r1),e!==he&&(dr(this,!1),u1(this,this.documentBounds,this.xa/this.Ca,this.wa/this.Ca,this.cj,!1)),this.Gj=e},(N=ii.prototype).aA=function(e,t){void 0===t&&(t=r1);var i=e.width,r=e.height;if(!(0===i||0===r||isNaN(i)&&isNaN(r))){var c=1;if(t===r1||t===K0)if(isNaN(i))c=this.viewportBounds.height*this.scale/r;else if(isNaN(r))c=this.viewportBounds.width*this.scale/i;else{c=this.xa;var h=this.wa;c=t===K0?h/r>c/i?(h-(this.Ng?this.Gb:0))/r:(c-(this.Zh?this.Gb:0))/i:Math.min(h/r,c/i)}this.scale=c,this.position=new Ze(e.x,e.y)}},N.my=function(e,t){this.Og&&ue(this,this.computeBounds());var i=this.documentBounds,r=this.viewportBounds;this.position=new Ze(i.x+(e.x*i.width+e.offsetX)-(t.x*r.width-t.offsetX),i.y+(e.y*i.height+e.offsetY)-(t.y*r.height-t.offsetY))},N.$l=function(e,t){if(void 0===t&&(t=!0),t){if((e=Fr(this,e,function(i){return i.part},function(i){return i.canSelect()}))instanceof Os)return e}else if((e=Fr(this,e,function(i){return i.part}))instanceof Os)return e;return null},N.Sb=function(e,t,i){void 0===t&&(t=null),void 0===i&&(i=null),l0(this);for(var r=this.Pa.iteratorBackwards;r.next();){var c=r.value;if(c.visible&&null!==(c=c.Sb(e,t,i)))return c}return null},N.Py=function(e,t,i){return void 0===t&&(t=!0),function a0(e,t,i,r,c){for(void 0===i&&(i=null),void 0===r&&(r=null),c instanceof gt||c instanceof Se||(c=new Se),l0(e),e=e.Pa.iteratorBackwards;e.next();){var h=e.value;h.visible&&!h.isTemporary&&h.Fi(t,i,r,c)}return c}(this,e,function(r){return r.part},t?function(r){return r instanceof Os&&r.canSelect()}:null,i)},N.Fi=function(e,t,i,r){void 0===t&&(t=null),void 0===i&&(i=null),r instanceof gt||r instanceof Se||(r=new Se),l0(this);for(var c=this.Pa.iteratorBackwards;c.next();){var h=c.value;h.visible&&h.Fi(e,t,i,r)}return r},N.kx=function(e,t,i,r){return void 0===t&&(t=!1),void 0===i&&(i=!0),function Ru(e,t,i,r,c){var h=null;for(void 0===h&&(h=null),void 0===i&&(i=null),void 0===r&&(r=!1),c instanceof gt||c instanceof Se||(c=new Se),l0(e),e=e.Pa.iteratorBackwards;e.next();){var v=e.value;v.visible&&!v.isTemporary&&v.mg(t,h,i,r,c)}return c}(this,e,function(c){return c instanceof Os&&(!i||c.canSelect())},t,r)},N.mg=function(e,t,i,r,c){void 0===t&&(t=null),void 0===i&&(i=null),void 0===r&&(r=!1),c instanceof gt||c instanceof Se||(c=new Se),l0(this);for(var h=this.Pa.iteratorBackwards;h.next();){var v=h.value;v.visible&&v.mg(e,t,i,r,c)}return c},N.Qy=function(e,t,i,r,c){return void 0===i&&(i=!0),void 0===r&&(r=!0),function Uc(e,t,i,r,c,h){var v=null;for(void 0===v&&(v=null),void 0===r&&(r=null),void 0===c&&(c=!0),!1!==c&&!0!==c&&((c instanceof gt||c instanceof Se)&&(h=c),c=!0),h instanceof gt||h instanceof Se||(h=new Se),l0(e),e=e.Pa.iteratorBackwards;e.next();){var W=e.value;W.visible&&!W.isTemporary&&W.ng(t,i,v,r,c,h)}return h}(this,e,t,function(h){return h instanceof Os&&(!r||h.canSelect())},i,c)},N.ng=function(e,t,i,r,c,h){void 0===i&&(i=null),void 0===r&&(r=null),void 0===c&&(c=!0),!1!==c&&!0!==c&&((c instanceof gt||c instanceof Se)&&(h=c),c=!0),h instanceof gt||h instanceof Se||(h=new Se),l0(this);for(var v=this.Pa.iteratorBackwards;v.next();){var W=v.value;W.visible&&W.ng(e,t,i,r,c,h)}return h},ii.prototype.acceptEvent=function(e){return f0(this,e,e instanceof MouseEvent)},ii.prototype.vz=function(e){var t=this.C;if(!this.C.isEnabled)return!1;var i=f0(t,e,!1);switch(i.key=String.fromCharCode(e.which),i.down=!0,e.which){case 8:i.key="Backspace";break;case 33:i.key="PageUp";break;case 34:i.key="PageDown";break;case 35:i.key="End";break;case 36:i.key="Home";break;case 37:i.key="Left";break;case 38:i.key="Up";break;case 39:i.key="Right";break;case 40:i.key="Down";break;case 45:i.key="Insert";break;case 46:i.key="Del";break;case 48:i.key="0";break;case 187:case 61:case 107:i.key="Add";break;case 189:case 173:case 109:i.key="Subtract";break;case 27:i.key="Esc"}return t.doKeyDown(),P1(i,e)},ii.prototype.wz=function(e){var t=this.C;if(!t.isEnabled)return!1;var i=f0(t,e,!1);switch(i.key=String.fromCharCode(e.which),i.up=!0,e.which){case 8:i.key="Backspace";break;case 33:i.key="PageUp";break;case 34:i.key="PageDown";break;case 35:i.key="End";break;case 36:i.key="Home";break;case 37:i.key="Left";break;case 38:i.key="Up";break;case 39:i.key="Right";break;case 40:i.key="Down";break;case 45:i.key="Insert";break;case 46:i.key="Del"}return t.doKeyUp(),P1(i,e)},ii.prototype.Fy=function(e){var t=this.C;if(!t.isEnabled)return!1;var i=f0(t,e,!0);return null!==t.mouseEnter&&t.mouseEnter(i),P1(i,e)},ii.prototype.Gy=function(e){var t=this.C;if(!t.isEnabled)return!1;var i=f0(t,e,!0);return null!==t.mouseLeave&&t.mouseLeave(i),P1(i,e)},ii.prototype.getMouse=function(e){var t=this.Da;if(null===t)return new Ze(0,0);var i=t.getBoundingClientRect();return t=e.clientX-this.xa/i.width*i.left,e=e.clientY-this.wa/i.height*i.top,null!==this.tb?jn(new Ze(t,e),this.tb):new Ze(t,e)},(N=ii.prototype).Xa=function(){this.Og||(this.Og=!0,this.cc(!0))},N.sf=function(){this.ob||this.Zb||(this.R(),Vl(this),ot(this),this.Xa(),this.fd())},N.uz=function(){return this.qd},N.Ay=function(e){void 0===e&&(e=null);var t=this.animationManager,i=t.isEnabled;t.vd(),t.isEnabled=!1,yl(this),this.ge=!1,t.isEnabled=i,null!==e&&M(e,1)},N.cc=function(e){if(void 0===e&&(e=!1),!0!==this.qd&&!(this.ob||!1===e&&this.Zb)){this.qd=!0;var t=this;o.requestAnimationFrame(function(){t.qd&&t.fd()})}},N.fd=function(){(!this.Xk||this.qd)&&(this.Xk&&(this.Xk=!1),yl(this))},N.Yv=function(e,t){for(e.reset();e.next();){var i=e.value;!i.Lb()||i instanceof Fe||(i.Pi()?(i.measure(1/0,1/0),i.arrange()):t.add(i))}for(e.reset();e.next();)(i=e.value)instanceof Fe&&i.isVisible()&&qc(this,i);for(e.reset();e.next();)(i=e.value)instanceof Zt&&i.isVisible()&&(i.Pi()?(i.measure(1/0,1/0),i.arrange()):t.add(i));for(e.reset();e.next();)(i=e.value)instanceof Zo&&i.isVisible()&&(i.Pi()?(i.measure(1/0,1/0),i.arrange()):t.add(i))},N.hd=function(e,t,i,r){if(this.bi||this.animationManager.isAnimating)for(var c=0;c<t;c++)e[c].hd(i,r)},N.hc=function(e,t){if(void 0===t&&(t=null),null!==this.Ia){null===this.Da&&z("No canvas specified");var i=this.animationManager;if(!i.rb){var r=new Date;if(wt(this),"0"!==this.Ia.style.opacity){var c=e!==this.Yc,h=this.Pa.j,v=h.length,W=this;if(this.hd(h,v,W),c)e.Rc(!0),ot(this);else if(!this.nc&&null===t&&!i.isAnimating)return;v=this.sa;var X=this.Ca,Z=Math.round(v.x*X)/X,ge=Math.round(v.y*X)/X;for((i=this.tb).reset(),1!==X&&i.scale(X),0===v.x&&0===v.y||i.translate(-Z,-ge),X=this.Nb,e.setTransform(1,0,0,1,0,0),e.scale(X,X),e.clearRect(0,0,this.xa,this.wa),e.setTransform(1,0,0,1,0,0),e.scale(X,X),e.transform(i.m11,i.m12,i.m21,i.m22,i.dx,i.dy),Z=null!==t?function(ye){var We=t;if(ye.visible&&0!==ye.lb){var Ve=ye.Fa.j,st=Ve.length;if(0!==st){1!==ye.lb&&(e.globalAlpha=ye.lb),(ye=ye.Jo).length=0;for(var jt=W.scale,nn=0;nn<st;nn++){var on=Ve[nn];if(ku(on)&&!We.contains(on)){if(on instanceof Zt&&(on.isOrthogonal&&ye.push(on),!1===on.Lc))continue;var Fn=on.actualBounds;1<Fn.width*jt||1<Fn.height*jt?on.hc(e,W):la(e,on)}}e.globalAlpha=1}}}:function(ye){ye.hc(e,W)},T0(this,e),v=h.length,ge=0;ge<v;ge++)e.setTransform(1,0,0,1,0,0),e.scale(X,X),e.transform(i.m11,i.m12,i.m21,i.m22,i.dx,i.dy),Z(h[ge]);if(this.$h&&Ba(this.$h,this)&&this.cr(),c?(this.Yc.Rc(!0),ot(this)):this.nc=this.bi=!1,c=+new Date-+r,null===this.jh){for((r=this.Ur)[this.Vr]=c,this.Vr=(this.Vr+1)%r.length,h=c=0;h<this.Ur.length;h++)c+=this.Ur[h];this.Tr=c/r.length}}}}},N.De=function(e){return this.$g[e]},N.Jx=function(e,t){this.$g[e]=t,this.sf()},N.Dv=function(){this.$g=new Be,this.$g.drawShadows=!0,this.$g.textGreeking=!0,this.$g.viewportOptimizations=!(Ae||Me||me),this.$g.temporaryPixelRatio=!0,this.$g.pictureRatioOptimization=!0},N.bm=function(e){return this.dl[e]},N.Rz=function(e,t){this.dl[e]=t},N.Cv=function(){this.dl=new Be,this.dl.extraTouchArea=10,this.dl.extraTouchThreshold=10,this.dl.hasGestureZoom=!0},N.Mv=function(e){Js(this,e)},N.Ku=function(){if(0===this.undoManager.transactionLevel&&0!==this.Wh.count){for(;0<this.Wh.count;){var e=this.Wh;for(this.Wh=new Kt,e=e.iterator;e.next();){var t=e.key;t.$p(e.value),t.bc()}}this.R()}},N.R=function(e){if(void 0===e&&(e=null),null===e)this.nc=!0,this.cc();else{var t=this.viewportBounds;null!==e&&e.o()&&t.Ic(e)&&(this.nc=!0,this.cc())}this.aa("InvalidateDraw")},N.ox=function(e,t){if(!0!==this.nc){this.nc=!0;var i=!0===this.De("temporaryPixelRatio");if(!0===this.De("viewportOptimizations")&&this.scrollMode!==xe&&this.ri.Di(0,0,0,0)&&t.width===e.width&&t.height===e.height){var r=this.scale,c=Math.max(e.x,t.x),h=Math.max(e.y,t.y);if(r=sn.allocAt(c,h,Math.max(0,Math.min(e.x+e.width,t.x+t.width)-c)*r,Math.max(0,Math.min(e.y+e.height,t.y+t.height)-h)*r),!this.As&&0<r.width&&0<r.height){if(!(this.Zb||(this.qd=!1,null===this.Ia||(this.Zb=!0,this.Ku(),this.documentBounds.o()||ue(this,this.computeBounds()),c=this.Da,null===c||c instanceof Nu)))){var v=this.Nb;h=this.xa*v;var W=this.wa*v,X=this.scale*v,Z=Math.round(Math.round(t.x*X)-Math.round(e.x*X));t=Math.round(Math.round(t.y*X)-Math.round(e.y*X)),e=this.uw,(X=this.Ut).width!==h&&(X.width=h),X.height!==W&&(X.height=W),e.clearRect(0,0,h,W),X=190*v;var ge=70*v,ye=Math.max(Z,0),We=Math.max(t,0),Ve=Math.floor(h-ye),st=Math.floor(W-We);e.drawImage(c.Ga,ye,We,Ve,st,0,0,Ve,st),Ba(this.$h,this)&&e.clearRect(0,0,X,ge),c=ie(),e=ie(),st=Math.abs(Z),Ve=Math.abs(t);var jt=0===ye?0:h-st;ye=Ze.allocAt(jt,0),st=Ze.allocAt(st+jt,W),e.push(new sn(Math.min(ye.x,st.x),Math.min(ye.y,st.y),Math.abs(ye.x-st.x),Math.abs(ye.y-st.y)));var nn=this.tb;if(nn.reset(),nn.scale(v,v),1!==this.Ca&&nn.scale(this.Ca),(0!==(v=this.sa).x||0!==v.y)&&isFinite(v.x)&&isFinite(v.y)&&nn.translate(-v.x,-v.y),jn(ye,nn),jn(st,nn),c.push(new sn(Math.min(ye.x,st.x),Math.min(ye.y,st.y),Math.abs(ye.x-st.x),Math.abs(ye.y-st.y))),ye.h(0,jt=0===We?0:W-Ve),st.h(h,Ve+jt),e.push(new sn(Math.min(ye.x,st.x),Math.min(ye.y,st.y),Math.abs(ye.x-st.x),Math.abs(ye.y-st.y))),jn(ye,nn),jn(st,nn),c.push(new sn(Math.min(ye.x,st.x),Math.min(ye.y,st.y),Math.abs(ye.x-st.x),Math.abs(ye.y-st.y))),Ba(this.$h,this)&&(ye.h(h=0<Z?0:-Z,W=0<t?0:-t),st.h(X+h,ge+W),e.push(new sn(Math.min(ye.x,st.x),Math.min(ye.y,st.y),Math.abs(ye.x-st.x),Math.abs(ye.y-st.y))),jn(ye,nn),jn(st,nn),c.push(new sn(Math.min(ye.x,st.x),Math.min(ye.y,st.y),Math.abs(ye.x-st.x),Math.abs(ye.y-st.y)))),Ze.free(ye),Ze.free(st),o1(this,!1),null===this.Ia&&z("No div specified"),null===this.Da&&z("No canvas specified"),!this.animationManager.rb&&(h=this.Yc,this.nc)){for(wt(this),W=this.Nb,h.setTransform(1,0,0,1,0,0),h.clearRect(0,0,this.xa*W,this.wa*W),h.drawImage(this.Ut.Ga,0<Z?0:Math.round(-Z),0<t?0:Math.round(-t)),Z=this.sa,v=this.Ca,X=Math.round(Z.x*v)/v,ge=Math.round(Z.y*v)/v,(t=this.tb).reset(),1!==v&&t.scale(v),0===Z.x&&0===Z.y||t.translate(-X,-ge),h.save(),h.beginPath(),Z=e.length,v=0;v<Z;v++)0!==(X=e[v]).width&&0!==X.height&&h.rect(Math.floor(X.x),Math.floor(X.y),Math.ceil(X.width),Math.ceil(X.height));for(h.clip(),h.setTransform(1,0,0,1,0,0),h.scale(W,W),h.transform(t.m11,t.m12,t.m21,t.m22,t.dx,t.dy),this.hd(t=this.Pa.j,Z=t.length,this),T0(this,h),W=0;W<Z;W++)if(v=c,(We=t[W]).visible&&0!==We.lb){for(1!==We.lb&&(h.globalAlpha=We.lb),(X=We.Jo).length=0,ge=this.scale,ye=(We=We.Fa.j).length,Ve=v.length,st=0;st<ye;st++)if(ku(nn=We[st])){if(nn instanceof Zt&&(nn.isOrthogonal&&X.push(nn),!1===nn.Lc))continue;jt=_d(nn,nn.actualBounds);e:{for(var on=2/ge,Fn=4/ge,Gn=0;Gn<Ve;Gn++){var hi=v[Gn];if(0!==hi.width&&0!==hi.height&&jt.hv(hi.x-on,hi.y-on,hi.width+Fn,hi.height+Fn)){on=!0;break e}}on=!1}on&&(1<jt.width*ge||1<jt.height*ge?nn.hc(h,this):la(h,nn))}h.globalAlpha=1}h.restore(),h.Rc(!0),this.$h&&Ba(this.$h,this)&&this.cr(),this.nc=this.bi=!1,this.ot()}ne(c),ne(e),this.Zb=!1}}else this.fd();sn.free(r),i&&(wl(this),this.fd(),Oa(this,!0))}else i?(wl(this),this.fd(),Oa(this,!0)):this.fd()}},N.add=function(e){var t=e.diagram;if(t!==this&&(null!==t&&z("Cannot add part "+e.toString()+" to "+this.toString()+". It is already a part of "+t.toString()),null===(t=this.Zl(e.layerName))&&(t=this.Zl("")),null===t&&z('Cannot add a Part when unable find a Layer named "'+e.layerName+'" and there is no default Layer'),e.layer!==t)){var i=t.Ni(99999999,e,e.diagram===this);0<=i&&this.ab(yr,"parts",t,null,e,null,i),t.isTemporary||this.Xa(),e.B(1),null!==(i=e.layerChanged)&&i(e,null,t)}},N.Ni=function(e){this.partManager.Ni(e);var t=this;Jd(e,function(i){C0(t,i)}),(e instanceof Zo||e instanceof Fe&&null!==e.placeholder)&&e.s(),null!==e.data&&Jd(e,function(i){Zm(t.partManager,i)}),!0!==I1(e)&&!0!==su(e)||this.Dd.add(e),bd(e,!0,this),$m(e)?(e.actualBounds.o()&&this.R(_d(e,e.actualBounds)),this.Xa()):e.isVisible()&&e.actualBounds.o()&&this.R(_d(e,e.actualBounds)),this.cc()},N.xc=function(e){e.Sj(),this.partManager.xc(e);var t=this;Jd(e,function(i){G(t,i)}),null!==e.data&&Jd(e,function(i){e_(t.partManager,i)}),this.Dd.remove(e),$m(e)?(e.actualBounds.o()&&this.R(_d(e,e.actualBounds)),this.Xa()):e.isVisible()&&e.actualBounds.o()&&this.R(_d(e,e.actualBounds)),this.cc()},N.remove=function(e){pn(this,e,!0)},N.rt=function(e,t){if(B(e))for(var i=e.length,r=0;r<i;r++){var c=e[r];t&&!c.canDelete()||this.remove(c)}else for((i=new Se).addAll(e),e=i.iterator;e.next();)i=e.value,t&&!i.canDelete()||this.remove(i)},N.Xj=function(e,t,i){return this.partManager.Xj(e,t,i)},ii.prototype.moveParts=function(e,t,i,r){if(void 0===r&&(r=Kn(this)),null!==this.toolManager){var c=new Kt;if(null!==e)if(B(e))for(var h=0;h<e.length;h++)Vn(this,c,e[h],i,r);else for(e=e.iterator;e.next();)Vn(this,c,e.value,i,r);else{for(e=this.parts;e.next();)Vn(this,c,e.value,i,r);for(e=this.nodes;e.next();)Vn(this,c,e.value,i,r);for(e=this.links;e.next();)Vn(this,c,e.value,i,r)}je(this,c,t,r,i)}},ii.prototype.computeMove=function(e,t,i,r){if(void 0===r&&(r=new Ze),r.assign(t),null===e)return r;var c=t,h=i.isGridSnapEnabled;h&&(i.isGridSnapRealtime||this.lastInput.up)&&De(this,e,t,c=Ze.alloc(),i),i=null!==e.dragComputation?e.dragComputation(e,t,c):c;var v=e.minLocation,W=v.x;isNaN(W)&&(W=h?Math.round(e.location.x):e.location.x),v=v.y,isNaN(v)&&(v=h?Math.round(e.location.y):e.location.y);var X=e.maxLocation,Z=X.x;return isNaN(Z)&&(Z=h?Math.round(e.location.x):e.location.x),X=X.y,isNaN(X)&&(X=h?Math.round(e.location.y):e.location.y),r.h(Math.max(W,Math.min(i.x,Z)),Math.max(v,Math.min(i.y,X))),c!==t&&Ze.free(c),r},(N=ii.prototype).pd=function(e,t,i){if(void 0===i)return new U1(Rn);var r=e.isGridSnapEnabled;return e.kz||null===t.containingGroup||(r=!1),new U1(r?new Ze(Math.round(i.x),Math.round(i.y)):i.copy())},N.Ql=function(e){Ls(this,e,null),e.hb(this);var t=this.Pa,i=t.count-1;if(!e.isTemporary)for(;0<=i&&t.N(i).isTemporary;)i--;t.Ib(i+1,e),null!==this.$b&&this.ab(yr,"layers",this,null,e,null,i+1),this.R(),this.Xa()},N.Rw=function(e,t){Ls(this,e,t),e.hb(this);var i=this.Pa,r=i.indexOf(e);0<=r&&(i.remove(e),null!==this.$b&&this.ab(kr,"layers",this,e,null,r,null));var h,c=i.count;for(h=0;h<c;h++)if(i.N(h)===t){i.Ib(h,e);break}null!==this.$b&&this.ab(yr,"layers",this,null,e,null,h),this.R(),0>r&&this.Xa()},N.hy=function(e,t){Ls(this,e,t),e.hb(this);var i=this.Pa,r=i.indexOf(e);0<=r&&(i.remove(e),null!==this.$b&&this.ab(kr,"layers",this,e,null,r,null));var h,c=i.count;for(h=0;h<c;h++)if(i.N(h)===t){i.Ib(h+1,e);break}null!==this.$b&&this.ab(yr,"layers",this,null,e,null,h+1),this.R(),0>r&&this.Xa()},N.Lz=function(e){if(e.diagram!==this&&z("Cannot remove a Layer from another Diagram: "+e+" of "+e.diagram),""!==e.name){var t=this.Pa,i=t.indexOf(e);if(t.remove(e)){for(t=e.Fa.copy().iterator;t.next();){var r=t.value,c=r.layerName;r.layerName=c!==e.name?c:""}null!==this.$b&&this.ab(kr,"layers",this,e,null,i,null),this.R(),this.Xa()}}},N.Zl=function(e){for(var t=this.layers;t.next();){var i=t.value;if(i.name===e)return i}return null},N.Tw=function(e){null===this.ne&&(this.ne=new gt),this.ne.add(e),this.model.rh(e)},N.Nz=function(e){null!==this.ne&&(this.ne.remove(e),0===this.ne.count&&(this.ne=null)),this.model.pk(e)},N.rh=function(e){null===this.zf&&(this.zf=new gt),this.zf.add(e)},N.pk=function(e){null!==this.zf&&(this.zf.remove(e),0===this.zf.count&&(this.zf=null))},N.Ks=function(e){if(this.skipsUndoManager||this.model.skipsUndoManager||this.model.undoManager.fv(e),e.change!==Ka&&(this.isModified=!0),null!==this.zf)for(var t=this.zf,i=t.length,r=0;r<i;r++)t.N(r)(e)},N.ab=function(e,t,i,r,c,h,v){void 0===h&&(h=null),void 0===v&&(v=null);var W=new Co;W.diagram=this,W.change=e,W.propertyName=t,W.object=i,W.oldValue=r,W.oldParam=h,W.newValue=c,W.newParam=v,this.Ks(W)},N.g=function(e,t,i,r,c){this.ab(tr,e,this,t,i,r,c)},N.Rj=function(e,t){if(null!==e&&e.diagram===this){var i=this.skipsModelSourceBindings;try{this.skipsModelSourceBindings=!0;var r=e.change;if(r===tr){var c=e.object;if(ha(c,e.propertyName,e.J(t)),c instanceof As){var h=c.part;null!==h&&h.Jb()}this.isModified=!0}else if(r===yr){var v=e.object,W=e.newParam,X=e.newValue;if(v instanceof Vi){if("number"==typeof W&&X instanceof As){t?v.xc(W):v.Ib(W,X);var Z=v.part;null!==Z&&Z.Jb()}else if("number"==typeof W&&X instanceof Z0)if(t)X.isRow?v.Av(W):v.yv(W);else{var ge=X.isRow?v.getRowDefinition(X.index):v.getColumnDefinition(X.index);ge.Vl(X)}}else if(v instanceof ir){var ye=!0===e.oldParam;"number"==typeof W&&X instanceof Os&&(t?(X.isSelected=!1,X.isHighlighted=!1,X.Jb(),v.xc(ye?W:-1,X,ye)):v.Ni(W,X,ye))}else v instanceof ii?"number"==typeof W&&X instanceof ir&&(t?this.Pa.mb(W):(X.hb(this),this.Pa.Ib(W,X))):z("unknown ChangedEvent.Insert object: "+e.toString());this.isModified=!0}else if(r===kr){var We=e.object,Ve=e.oldParam,st=e.oldValue;if(We instanceof Vi)"number"==typeof Ve&&st instanceof As?t?We.Ib(Ve,st):We.xc(Ve):"number"==typeof Ve&&st instanceof Z0&&(t?(ge=st.isRow?We.getRowDefinition(st.index):We.getColumnDefinition(st.index)).Vl(st):st.isRow?We.Av(Ve):We.yv(Ve));else if(We instanceof ir){var jt=!0===e.newParam;"number"==typeof Ve&&st instanceof Os&&(t?0>We.Fa.indexOf(st)&&We.Ni(Ve,st,jt):(st.isSelected=!1,st.isHighlighted=!1,st.Jb(),We.xc(jt?Ve:-1,st,jt)))}else We instanceof ii?"number"==typeof Ve&&st instanceof ir&&(t?(st.hb(this),this.Pa.Ib(Ve,st)):this.Pa.mb(Ve)):z("unknown ChangedEvent.Remove object: "+e.toString());this.isModified=!0}else r!==Ka&&z("unknown ChangedEvent: "+e.toString())}finally{this.skipsModelSourceBindings=i}}},N.Aa=function(e){return this.undoManager.Aa(e)},N.Za=function(e){return this.undoManager.Za(e)},N.uf=function(){return this.undoManager.uf()},ii.prototype.commit=function(e,t){void 0===t&&(t="");var i=this.skipsUndoManager;null===t&&(this.skipsUndoManager=!0,t=""),this.undoManager.Aa(t);var r=!1;try{e(this),r=!0}finally{r?this.undoManager.Za(t):this.undoManager.uf(),this.skipsUndoManager=i}},ii.prototype.updateAllTargetBindings=function(e){this.partManager.updateAllTargetBindings(e)},(N=ii.prototype).tq=function(){this.partManager.tq()},N.iq=function(e,t,i,r){if(!e.A(t)){void 0===r&&(r=!1),r||Vl(this),ot(this);var c=this.layout;null===c||!c.isViewportSized||this.autoScale!==va||r||e.width===t.width&&e.height===t.height||c.B(),c=this.currentTool,!0===this.he&&c instanceof mo&&(this.lastInput.documentPoint=this.yt(this.lastInput.viewPoint),vl(c,this)),this.ob||this.ox(e,t),Ro(this),this.we.scale=i,this.we.position.x=e.x,this.we.position.y=e.y,this.we.bounds.assign(e),this.we.qx=r,this.aa("ViewportBoundsChanged",this.we,e),this.isVirtualized&&this.links.each(function(h){h.isAvoiding&&h.actualBounds.Ic(t)&&h.Ra()})}},N.Ls=function(){var e=0<this.selection.count;e&&this.aa("ChangingSelection",this.selection),to(this),e&&this.aa("ChangedSelection",this.selection)},N.select=function(e){null!==e&&e.layer.diagram===this&&(!e.isSelected||1<this.selection.count)&&(this.aa("ChangingSelection",this.selection),to(this),e.isSelected=!0,this.aa("ChangedSelection",this.selection))},N.Gv=function(e){if(this.aa("ChangingSelection",this.selection),to(this),B(e))for(var t=e.length,i=0;i<t;i++){var r=e[i];r instanceof Os||z("Diagram.selectCollection given something that is not a Part: "+r),r.isSelected=!0}else for(e=e.iterator;e.next();)(t=e.value)instanceof Os||z("Diagram.selectCollection given something that is not a Part: "+t),t.isSelected=!0;this.aa("ChangedSelection",this.selection)},N.Ww=function(){var e=this.highlighteds;if(0<e.count){for(var t=e.Na(),i=t.length,r=0;r<i;r++)t[r].isHighlighted=!1;e.ha(),e.clear(),e.freeze()}},N.mz=function(e){null!==e&&e.layer.diagram===this&&(!e.isHighlighted||1<this.highlighteds.count)&&(this.Ww(),e.isHighlighted=!0)},N.nz=function(e){e=(new Se).addAll(e);for(var t=this.highlighteds.copy().lq(e).iterator;t.next();)t.value.isHighlighted=!1;for(e=e.iterator;e.next();)(t=e.value)instanceof Os||z("Diagram.highlightCollection given something that is not a Part: "+t),t.isHighlighted=!0},N.scroll=function(e,t,i){void 0===i&&(i=1);var r="up"===t||"down"===t,c=0;if("pixel"===e)c=i;else if("line"===e)c=i*(r?this.scrollVerticalLineChange:this.scrollHorizontalLineChange);else if("page"===e)e=r?this.viewportBounds.height:this.viewportBounds.width,0!=(e*=this.scale)&&(c=i*Math.max(e-(r?this.scrollVerticalLineChange:this.scrollHorizontalLineChange),0));else{if("document"===e)return c=this.documentBounds,i=this.viewportBounds,r=Ze.alloc(),"up"===t?this.position=r.h(i.x,c.y):"left"===t?this.position=r.h(c.x,i.y):"down"===t?this.position=r.h(i.x,c.bottom-i.height):"right"===t&&(this.position=r.h(c.right-i.width,i.y)),void Ze.free(r);z("scrolling unit must be 'pixel', 'line', 'page', or 'document', not: "+e)}c/=this.scale,i=this.position.copy(),"up"===t?i.y=this.position.y-c:"down"===t?i.y=this.position.y+c:"left"===t?i.x=this.position.x-c:"right"===t?i.x=this.position.x+c:z("scrolling direction must be 'up', 'down', 'left', or 'right', not: "+t),this.position=i},N.Fv=function(e){var t=this.viewportBounds;t.lf(e)||((e=e.center).x-=t.width/2,e.y-=t.height/2,this.position=e)},N.Ju=function(e){var t=this.viewportBounds;(e=e.center).x-=t.width/2,e.y-=t.height/2,this.position=e},N.xt=function(e){var t=this.tb;t.reset(),1!==this.Ca&&t.scale(this.Ca);var i=this.sa;return(0!==i.x||0!==i.y)&&isFinite(i.x)&&isFinite(i.y)&&t.translate(-i.x,-i.y),e.copy().transform(this.tb)},N.Yz=function(e){var t=this.tb,i=e.x,r=e.y,c=i+e.width,h=r+e.height,v=t.m11,W=t.m12,X=t.m21,Z=t.m22,ge=t.dx,ye=t.dy,We=i*v+r*X+ge;t=i*W+r*Z+ye;var Ve=c*v+r*X+ge;return e=c*W+r*Z+ye,r=i*v+h*X+ge,i=i*W+h*Z+ye,v=c*v+h*X+ge,c=c*W+h*Z+ye,h=Math.min(We,Ve),We=Math.max(We,Ve),Ve=Math.min(t,e),t=Math.max(t,e),h=Math.min(h,r),We=Math.max(We,r),Ve=Math.min(Ve,i),t=Math.max(t,i),h=Math.min(h,v),We=Math.max(We,v),new sn(h,Ve=Math.min(Ve,c),We-h,(t=Math.max(t,c))-Ve)},N.yt=function(e){var t=this.tb;t.reset(),1!==this.Ca&&t.scale(this.Ca);var i=this.sa;return(0!==i.x||0!==i.y)&&isFinite(i.x)&&isFinite(i.y)&&t.translate(-i.x,-i.y),jn(e.copy(),this.tb)},ii.prototype.doModelChanged=function(e){if(e.model===this.model){var t=e.change,i=e.propertyName;if(t===Ka&&"S"===i[0])if("StartingFirstTransaction"===i){var r=this;(e=this.toolManager).mouseDownTools.each(function(W){W.hb(r)}),e.mouseMoveTools.each(function(W){W.hb(r)}),e.mouseUpTools.each(function(W){W.hb(r)}),this.Zb||this.ge||(this.Rk=!0,this.Xk&&(this.qd=!0))}else"StartingUndo"===i||"StartingRedo"===i?((e=this.animationManager).isAnimating&&!this.skipsUndoManager&&e.vd(),this.aa("ChangingSelection",this.selection)):"StartedTransaction"===i&&(e=this.animationManager).isAnimating&&!this.skipsUndoManager&&e.vd();else if(this.da){this.da=!1;try{if(""===e.modelChange&&t===Ka){("FinishedUndo"===i||"FinishedRedo"===i)&&(this.aa("ChangedSelection",this.selection),l0(this));var c=this.animationManager;"RolledBackTransaction"===i&&c.vd(),this.Rk=!0,this.fd(),0===this.undoManager.transactionLevel&&bs(c),"CommittedTransaction"===i&&this.undoManager.du&&(this.fe=Math.min(this.fe,this.undoManager.historyIndex-1));var h=e.isTransactionFinished;if(h&&(Er(this),this.gt.clear()),!this.ku&&h){this.ku=!0;var v=this;M(function(){v.currentTool.standardMouseOver(),v.ku=!1},10)}}}finally{this.da=!0}}}},ii.prototype.ud=function(){this.partManager.ud()},ii.prototype.Jp=function(e,t){this.yk.Jp(e,t)},ii.prototype.Kp=function(e,t){this.yk.Kp(e,t)},ii.prototype.findPartForKey=function(e){return this.partManager.findPartForKey(e)},(N=ii.prototype).Hb=function(e){return this.partManager.Hb(e)},N.vc=function(e){return this.partManager.vc(e)},N.Ei=function(e){return this.partManager.Ei(e)},N.uc=function(e){return this.partManager.uc(e)},N.Ss=function(e){for(var t=[],i=0;i<arguments.length;++i)t[i]=arguments[i];return this.partManager.Ss.apply(this.partManager,t instanceof Array?t:a(n(t)))},N.Rs=function(e){for(var t=[],i=0;i<arguments.length;++i)t[i]=arguments[i];return this.partManager.Rs.apply(this.partManager,t instanceof Array?t:a(n(t)))},N.Uy=function(){for(var e=new Se,t=this.nodes;t.next();){var i=t.value;i.isTopLevel&&e.add(i)}for(t=this.links;t.next();)(i=t.value).isTopLevel&&e.add(i);return e.iterator},N.Ty=function(){return this.xi.iterator},N.yz=function(e){l0(this),e&&Te(this,!0),this.Rk=!0,yl(this)},N.$y=function(){for(var e=new gt,t=this.nodes;t.next();){var i=t.value;i.isTopLevel&&null===i.Hi()&&e.add(i)}return e.iterator},N.Nj=function(e,t){null!==(e=an(this,e))&&e.add(t)},N.mm=function(e,t){null!==(e=an(this,e))&&e.remove(t)},N.aa=function(e,t,i){var r=an(this,e),c=new Ur;if(c.diagram=this,null!==(e=$t(this,e))&&(c.name=e),void 0!==t&&(c.subject=t),void 0!==i&&(c.parameter=i),1===(t=r.length))r.N(0)(c);else if(0!==t)for(r=r.Na(),i=0;i<t;i++)(0,r[i])(c)},N.ek=function(e,t){return void 0===t&&(t=null),ti(this,!1,null,t).ek(e.x,e.y,e.width,e.height)},ii.prototype.computeOccupiedArea=function(){return this.isVirtualized?this.viewportBounds.copy():this.Og?X0(this):this.documentBounds.copy()},(N=ii.prototype).Os=function(e){this.Hq.assign(e),ts(this,this.Hq).Qa(this.position)?this.vf():Bi(this)},N.vf=function(){-1!==this.Bk&&(o.clearTimeout(this.Bk),this.Bk=-1)},N.it=function(){return null},N.mv=function(){return null},N.ly=function(e,t){this.pu.add(e,t)},N.Az=function(e){return Wr?(void 0===e&&(e=new Be),e.returnType="Image",this.sx(e)):null},N.sx=function(e){return void 0===e&&(e=new Be),Ws(this,this.Bz,e)},N.Bz=function(e,t,i){var r=Wo(i,e,"canvas",null);if(null===r)return null;var c=null;if(null!==(i=r.W.canvas))switch(c=e.returnType,c=void 0===c?"string":c.toLowerCase(),c){case"imagedata":c=r.getImageData(0,0,i.width,i.height);break;case"image":(r=(e.document||document).createElement("img")).src=i.toDataURL(e.type,e.details),c=r;break;case"blob":return"function"!=typeof t&&z('Error: Diagram.makeImageData called with "returnType: toBlob", but no required "callback" function property defined.'),"function"==typeof i.toBlob?(i.toBlob(t,e.type,e.details),"toBlob"):"function"==typeof i.msToBlob?(t(i.msToBlob()),"msToBlob"):(t(null),null);default:c=i.toDataURL(e.type,e.details)}return"function"==typeof t?(t(c),null):c},I.Object.defineProperties(ii.prototype,{div:{get:function(){return this.Ia},set:function(e){if(this.Ia!==e){Xe=[];var t=this.Ia;null!==t?(t.C=void 0,t.innerHTML="",null!==this.Da&&(this.removeEventListener(t=this.Da.Ga,"touchstart",this.Tv,!1),this.removeEventListener(t,"touchmove",this.Sv,!1),this.removeEventListener(t,"touchend",this.Rv,!1),this.Da.ex()),null!==(t=this.toolManager)&&(t.mouseDownTools.each(function(i){i.cancelWaitAfter()}),t.mouseMoveTools.each(function(i){i.cancelWaitAfter()}),t.mouseUpTools.each(function(i){i.cancelWaitAfter()})),t.cancelWaitAfter(),this.currentTool.doCancel(),this.Yc=this.Da=null,this.removeEventListener(o,"resize",this.Zv,!1),this.removeEventListener(o,"mousemove",this.ik,!0),this.removeEventListener(o,"mousedown",this.hk,!0),this.removeEventListener(o,"mouseup",this.kk,!0),this.removeEventListener(o,"wheel",this.lk,!0),this.removeEventListener(o,"mouseout",this.jk,!0),ro===this&&(ro=null)):this.ge=!1,this.Ia=null,null!==e&&((t=e.C)&&(t.div=null),J0(this,e),this.sf())}}},Vw:{get:function(){return this.Tr}},jv:{get:function(){return this.ob},set:function(e){this.ob=e}},Oi:{get:function(){return this.ge}},draggedLink:{get:function(){return this.br},set:function(e){this.br!==e&&(this.br=e,null!==e&&(this.bs=e.fromPort,this.cs=e.toPort))}},vx:{get:function(){return this.bs},set:function(e){this.bs=e}},wx:{get:function(){return this.cs},set:function(e){this.cs=e}},animationManager:{get:function(){return this.yk}},undoManager:{get:function(){return this.$b.undoManager}},skipsUndoManager:{get:function(){return this.eh},set:function(e){this.eh=e,this.$b.skipsUndoManager=e}},delaysLayout:{get:function(){return this.Qt},set:function(e){this.Qt=e}},validCycle:{get:function(){return this.Fs},set:function(e){var t=this.Fs;t!==e&&(this.Fs=e,this.g("validCycle",t,e))}},layers:{get:function(){return this.Pa.iterator}},isModelReadOnly:{get:function(){var e=this.$b;return null!==e&&e.isReadOnly},set:function(e){var t=this.$b;null!==t&&(t.isReadOnly=e)}},isReadOnly:{get:function(){return this.Lf},set:function(e){var t=this.Lf;t!==e&&(this.Lf=e,this.g("isReadOnly",t,e))}},isEnabled:{get:function(){return this.Dc},set:function(e){var t=this.Dc;t!==e&&(this.Dc=e,this.g("isEnabled",t,e))}},allowClipboard:{get:function(){return this.yq},set:function(e){var t=this.yq;t!==e&&(this.yq=e,this.g("allowClipboard",t,e))}},allowCopy:{get:function(){return this.Eh},set:function(e){var t=this.Eh;t!==e&&(this.Eh=e,this.g("allowCopy",t,e))}},allowDelete:{get:function(){return this.Fh},set:function(e){var t=this.Fh;t!==e&&(this.Fh=e,this.g("allowDelete",t,e))}},allowDragOut:{get:function(){return this.zq},set:function(e){var t=this.zq;t!==e&&(this.zq=e,this.g("allowDragOut",t,e))}},allowDrop:{get:function(){return this.Aq},set:function(e){var t=this.Aq;t!==e&&(this.Aq=e,this.g("allowDrop",t,e))}},allowTextEdit:{get:function(){return this.Oh},set:function(e){var t=this.Oh;t!==e&&(this.Oh=e,this.g("allowTextEdit",t,e))}},allowGroup:{get:function(){return this.Gh},set:function(e){var t=this.Gh;t!==e&&(this.Gh=e,this.g("allowGroup",t,e))}},allowUngroup:{get:function(){return this.Ph},set:function(e){var t=this.Ph;t!==e&&(this.Ph=e,this.g("allowUngroup",t,e))}},allowInsert:{get:function(){return this.Cq},set:function(e){var t=this.Cq;t!==e&&(this.Cq=e,this.g("allowInsert",t,e))}},allowLink:{get:function(){return this.Hh},set:function(e){var t=this.Hh;t!==e&&(this.Hh=e,this.g("allowLink",t,e))}},allowRelink:{get:function(){return this.Jh},set:function(e){var t=this.Jh;t!==e&&(this.Jh=e,this.g("allowRelink",t,e))}},allowMove:{get:function(){return this.Ih},set:function(e){var t=this.Ih;t!==e&&(this.Ih=e,this.g("allowMove",t,e))}},allowReshape:{get:function(){return this.Kh},set:function(e){var t=this.Kh;t!==e&&(this.Kh=e,this.g("allowReshape",t,e))}},allowResize:{get:function(){return this.Lh},set:function(e){var t=this.Lh;t!==e&&(this.Lh=e,this.g("allowResize",t,e))}},allowRotate:{get:function(){return this.Mh},set:function(e){var t=this.Mh;t!==e&&(this.Mh=e,this.g("allowRotate",t,e))}},allowSelect:{get:function(){return this.Nh},set:function(e){var t=this.Nh;t!==e&&(this.Nh=e,this.g("allowSelect",t,e))}},allowUndo:{get:function(){return this.Dq},set:function(e){var t=this.Dq;t!==e&&(this.Dq=e,this.g("allowUndo",t,e))}},allowZoom:{get:function(){return this.Fq},set:function(e){var t=this.Fq;t!==e&&(this.Fq=e,this.g("allowZoom",t,e))}},hasVerticalScrollbar:{get:function(){return this.rr},set:function(e){var t=this.rr;t!==e&&(this.rr=e,Vl(this),this.R(),this.g("hasVerticalScrollbar",t,e),dr(this,!1))}},hasHorizontalScrollbar:{get:function(){return this.qr},set:function(e){var t=this.qr;t!==e&&(this.qr=e,Vl(this),this.R(),this.g("hasHorizontalScrollbar",t,e),dr(this,!1))}},allowHorizontalScroll:{get:function(){return this.Bq},set:function(e){var t=this.Bq;t!==e&&(this.Bq=e,this.g("allowHorizontalScroll",t,e),dr(this,!1))}},allowVerticalScroll:{get:function(){return this.Eq},set:function(e){var t=this.Eq;t!==e&&(this.Eq=e,this.g("allowVerticalScroll",t,e),dr(this,!1))}},scrollHorizontalLineChange:{get:function(){return this.os},set:function(e){var t=this.os;t!==e&&(0>e&&U(e,">= 0",ii,"scrollHorizontalLineChange"),this.os=e,this.g("scrollHorizontalLineChange",t,e))}},scrollVerticalLineChange:{get:function(){return this.qs},set:function(e){var t=this.qs;t!==e&&(0>e&&U(e,">= 0",ii,"scrollVerticalLineChange"),this.qs=e,this.g("scrollVerticalLineChange",t,e))}},lastInput:{get:function(){return this.qj},set:function(e){this.qj=e}},firstInput:{get:function(){return this.Xh},set:function(e){this.Xh=e}},currentCursor:{get:function(){return this.Sq},set:function(e){if(""===e&&(e=this.qn),this.Sq!==e){var t=this.Da,i=this.Ia;if(null!==t){this.Sq=e;var r=t.style.cursor;t.style.cursor=e,i.style.cursor=e,t.style.cursor===r&&(t.style.cursor="-webkit-"+e,i.style.cursor="-webkit-"+e,t.style.cursor===r&&(t.style.cursor="-moz-"+e,i.style.cursor="-moz-"+e,t.style.cursor===r&&(t.style.cursor=e,i.style.cursor=e)))}}}},defaultCursor:{get:function(){return this.qn},set:function(e){""===e&&(e="auto");var t=this.qn;t!==e&&(this.qn=e,this.g("defaultCursor",t,e))}},click:{get:function(){return this.Af},set:function(e){var t=this.Af;t!==e&&(this.Af=e,this.g("click",t,e))}},doubleClick:{get:function(){return this.Ff},set:function(e){var t=this.Ff;t!==e&&(this.Ff=e,this.g("doubleClick",t,e))}},contextClick:{get:function(){return this.Bf},set:function(e){var t=this.Bf;t!==e&&(this.Bf=e,this.g("contextClick",t,e))}},mouseOver:{get:function(){return this.Wf},set:function(e){var t=this.Wf;t!==e&&(this.Wf=e,this.g("mouseOver",t,e))}},mouseHover:{get:function(){return this.Uf},set:function(e){var t=this.Uf;t!==e&&(this.Uf=e,this.g("mouseHover",t,e))}},mouseHold:{get:function(){return this.Tf},set:function(e){var t=this.Tf;t!==e&&(this.Tf=e,this.g("mouseHold",t,e))}},mouseDragOver:{get:function(){return this.Sr},set:function(e){var t=this.Sr;t!==e&&(this.Sr=e,this.g("mouseDragOver",t,e))}},mouseDrop:{get:function(){return this.Rf},set:function(e){var t=this.Rf;t!==e&&(this.Rf=e,this.g("mouseDrop",t,e))}},handlesDragDropForTopLevelParts:{get:function(){return this.pr},set:function(e){var t=this.pr;t!==e&&(this.pr=e,this.g("handlesDragDropForTopLevelParts",t,e))}},mouseEnter:{get:function(){return this.Sf},set:function(e){var t=this.Sf;t!==e&&(this.Sf=e,this.g("mouseEnter",t,e))}},mouseLeave:{get:function(){return this.Vf},set:function(e){var t=this.Vf;t!==e&&(this.Vf=e,this.g("mouseLeave",t,e))}},toolTip:{get:function(){return this.gg},set:function(e){var t=this.gg;t!==e&&(this.gg=e,this.g("toolTip",t,e))}},contextMenu:{get:function(){return this.Cf},set:function(e){var t=this.Cf;t!==e&&(this.Cf=e,this.g("contextMenu",t,e))}},commandHandler:{get:function(){return this.K},set:function(e){this.K!==e&&(this.K=e,e.hb(this))}},toolManager:{get:function(){return this.Vb},set:function(e){this.Vb!==e&&(this.Vb=e,e.hb(this))}},defaultTool:{get:function(){return this.La},set:function(e){var t=this.La;t!==e&&(this.La=e,e.hb(this),this.currentTool===t&&(this.currentTool=e))}},currentTool:{get:function(){return this.ba},set:function(e){var t=this.ba;null!==t&&(t.isActive&&t.doDeactivate(),t.cancelWaitAfter(),t.doStop()),null===e&&(e=this.defaultTool),null!==e&&(this.ba=e,e.hb(this),e.doStart())}},selection:{get:function(){return this.ts}},maxSelectionCount:{get:function(){return this.Or},set:function(e){var t=this.Or;if(t!==e)if(0<=e&&!isNaN(e)){if(this.Or=e,this.g("maxSelectionCount",t,e),!this.undoManager.isUndoingRedoing&&0<(e=this.selection.count-e)){this.aa("ChangingSelection",this.selection),t=this.selection.Na();for(var i=0;i<e;i++)t[i].isSelected=!1;this.aa("ChangedSelection",this.selection)}}else U(e,">= 0",ii,"maxSelectionCount")}},nodeSelectionAdornmentTemplate:{get:function(){return this.Yr},set:function(e){var t=this.Yr;t!==e&&(this.Yr=e,this.g("nodeSelectionAdornmentTemplate",t,e))}},groupSelectionAdornmentTemplate:{get:function(){return this.mr},set:function(e){var t=this.mr;t!==e&&(this.mr=e,this.g("groupSelectionAdornmentTemplate",t,e))}},linkSelectionAdornmentTemplate:{get:function(){return this.Kr},set:function(e){var t=this.Kr;t!==e&&(this.Kr=e,this.g("linkSelectionAdornmentTemplate",t,e))}},highlighteds:{get:function(){return this.sr}},isModified:{get:function(){var e=this.undoManager;return e.isEnabled?null!==e.currentTransaction||this.u&&this.fe!==e.historyIndex:this.u},set:function(e){if(this.u!==e){this.u=e;var t=this.undoManager;!e&&t.isEnabled&&(this.fe=t.historyIndex),e||Er(this)}}},model:{get:function(){return this.$b},set:function(e){var t=this.$b;if(t!==e){this.currentTool.doCancel(),null!==t&&t.undoManager!==e.undoManager&&t.undoManager.isInTransaction&&z("Do not replace a Diagram.model while a transaction is in progress."),S0(this,!0),this.ge=!1,this.Xk=!0,this.fe=-2,this.qd=!1;var i=this.Zb;this.Zb=!0,this.animationManager.Ri("Model"),null!==t&&(null!==this.ne&&this.ne.each(function(r){t.pk(r)}),t.pk(this.Cm)),this.$b=e,this.partManager=function Xr(e){return null!==(e=Bo.get(e))?new e:new Cr}(this.$b.constructor.type),e.rh(this.wg),this.partManager.addAllModeledParts(),e.pk(this.wg),e.rh(this.Cm),null!==this.ne&&this.ne.each(function(r){e.rh(r)}),this.Zb=i,this.ob||this.R(),null!==t&&e.undoManager.copyProperties(t.undoManager)}}},da:{get:function(){return this.Vc},set:function(e){this.Vc=e}},gt:{get:function(){return this.wq}},skipsModelSourceBindings:{get:function(){return this.Ch},set:function(e){this.Ch=e}},Ui:{get:function(){return this.wu},set:function(e){this.wu=e}},nodeTemplate:{get:function(){return this.Xf.J("")},set:function(e){var t=this.Xf.J("");t!==e&&(this.Xf.add("",e),this.g("nodeTemplate",t,e),this.undoManager.isUndoingRedoing||this.ud())}},nodeTemplateMap:{get:function(){return this.Xf},set:function(e){var t=this.Xf;t!==e&&(this.Xf=e,this.g("nodeTemplateMap",t,e),this.undoManager.isUndoingRedoing||this.ud())}},groupTemplate:{get:function(){return this.Yh.J("")},set:function(e){var t=this.Yh.J("");t!==e&&(this.Yh.add("",e),this.g("groupTemplate",t,e),this.undoManager.isUndoingRedoing||this.ud())}},groupTemplateMap:{get:function(){return this.Yh},set:function(e){var t=this.Yh;t!==e&&(this.Yh=e,this.g("groupTemplateMap",t,e),this.undoManager.isUndoingRedoing||this.ud())}},linkTemplate:{get:function(){return this.Sg.J("")},set:function(e){var t=this.Sg.J("");t!==e&&(this.Sg.add("",e),this.g("linkTemplate",t,e),this.undoManager.isUndoingRedoing||this.ud())}},linkTemplateMap:{get:function(){return this.Sg},set:function(e){var t=this.Sg;t!==e&&(this.Sg=e,this.g("linkTemplateMap",t,e),this.undoManager.isUndoingRedoing||this.ud())}},isMouseOverDiagram:{get:function(){return this.he},set:function(e){this.he=e}},isMouseCaptured:{get:function(){return this.Kc},set:function(e){var t=this.Da;null!==t&&((t=t.Ga)instanceof SVGElement||(e?(this.lastInput.bubbles=!1,this.Gq?(this.removeEventListener(t,"pointermove",this.jm,!1),this.removeEventListener(t,"pointerdown",this.im,!1),this.removeEventListener(t,"pointerup",this.lm,!1),this.removeEventListener(t,"pointerout",this.km,!1),this.addEventListener(o,"pointermove",this.jm,!0),this.addEventListener(o,"pointerdown",this.im,!0),this.addEventListener(o,"pointerup",this.lm,!0),this.addEventListener(o,"pointerout",this.km,!0)):(this.removeEventListener(t,"mousemove",this.ik,!1),this.removeEventListener(t,"mousedown",this.hk,!1),this.removeEventListener(t,"mouseup",this.kk,!1),this.removeEventListener(t,"mouseout",this.jk,!1),this.addEventListener(o,"mousemove",this.ik,!0),this.addEventListener(o,"mousedown",this.hk,!0),this.addEventListener(o,"mouseup",this.kk,!0),this.addEventListener(o,"mouseout",this.jk,!0)),this.removeEventListener(t,"wheel",this.lk,!1),this.addEventListener(o,"wheel",this.lk,!0),this.addEventListener(o,"selectstart",this.preventDefault,!1)):(this.Gq?(this.removeEventListener(o,"pointermove",this.jm,!0),this.removeEventListener(o,"pointerdown",this.im,!0),this.removeEventListener(o,"pointerup",this.lm,!0),this.removeEventListener(o,"pointerout",this.km,!0),this.addEventListener(t,"pointermove",this.jm,!1),this.addEventListener(t,"pointerdown",this.im,!1),this.addEventListener(t,"pointerup",this.lm,!1),this.addEventListener(t,"pointerout",this.km,!1)):(this.removeEventListener(o,"mousemove",this.ik,!0),this.removeEventListener(o,"mousedown",this.hk,!0),this.removeEventListener(o,"mouseup",this.kk,!0),this.removeEventListener(o,"mouseout",this.jk,!0),this.addEventListener(t,"mousemove",this.ik,!1),this.addEventListener(t,"mousedown",this.hk,!1),this.addEventListener(t,"mouseup",this.kk,!1),this.addEventListener(t,"mouseout",this.jk,!1)),this.removeEventListener(o,"wheel",this.lk,!0),this.removeEventListener(o,"selectstart",this.preventDefault,!1),this.addEventListener(t,"wheel",this.lk,!1)),this.Kc=e))}},position:{get:function(){return this.sa},set:function(e){var t=Ze.alloc().assign(this.sa);if(!t.A(e)){var i=this.viewportBounds.copy();this.sa.assign(e),this.ob||null===this.Da&&!this.Ep.o()||(this.ob=!0,u1(this,this.vn,this.xa/(e=this.scale),this.wa/e,this.cj,!1),this.ob=!1),Va(this.animationManager,t,this.sa),this.ob||this.iq(i,this.viewportBounds,this.Ca,!1)}Ze.free(t)}},initialPosition:{get:function(){return this.ur},set:function(e){this.ur.A(e)||(this.ur=e.I())}},initialScale:{get:function(){return this.vr},set:function(e){this.vr!==e&&(this.vr=e)}},grid:{get:function(){return null===this.Eb&&Zn(this),this.Eb},set:function(e){var t=this.Eb;if(t!==e){null===t&&(Zn(this),t=this.Eb),e.type!==Vi.Grid&&z("Diagram.grid must be a Panel of type Panel.Grid");var i=t.panel;null!==i&&i.remove(t),this.Eb=e,e.name="GRID",null!==i&&i.add(e),Ro(this),this.R(),this.g("grid",t,e)}}},viewportBounds:{get:function(){var e=this.Nw,t=this.sa,i=this.Ca;return null===this.Da?(this.Ep.o()&&e.h(t.x,t.y,this.xa/i,this.wa/i),e):(e.h(t.x,t.y,Math.max(this.xa,0)/i,Math.max(this.wa,0)/i),e)}},viewSize:{get:function(){return this.Ep},set:function(e){var t=this.viewSize;t.A(e)||(this.Ep=e=e.I(),this.xa=e.width,this.wa=e.height,this.Xa(),this.g("viewSize",t,e))}},fixedBounds:{get:function(){return this.jr},set:function(e){var t=this.jr;t.A(e)||(e.width!==-1/0&&e.height!==1/0&&e.height!==-1/0||z("fixedBounds width/height must not be Infinity"),this.jr=e=e.I(),this.Xa(),this.g("fixedBounds",t,e))}},scrollMargin:{get:function(){return this.ri},set:function(e){"number"==typeof e&&(e=new ei(e));var t=this.ri;t.A(e)||(this.ri=e=e.I(),this.g("scrollMargin",t,e),this.sf())}},scrollMode:{get:function(){return this.Gj},set:function(e){var t=this.Gj;t!==e&&(this.Gj=e,e===he&&dr(this,!1),this.g("scrollMode",t,e),this.sf())}},scrollsPageOnFocus:{get:function(){return this.rs},set:function(e){var t=this.rs;t!==e&&(this.rs=e,this.g("scrollsPageOnFocus",t,e))}},positionComputation:{get:function(){return this.hs},set:function(e){var t=this.hs;t!==e&&(this.hs=e,dr(this,!1),this.g("positionComputation",t,e))}},scaleComputation:{get:function(){return this.ms},set:function(e){var t=this.ms;t!==e&&(this.ms=e,lo(this,this.scale,this.scale),this.g("scaleComputation",t,e))}},documentBounds:{get:function(){return this.vn}},isVirtualized:{get:function(){return this.Fr},set:function(e){var t=this.Fr;t!==e&&(this.Fr=e,this.g("isVirtualized",t,e))}},scale:{get:function(){return this.Ca},set:function(e){var t=this.Ca;t!==e&&lo(this,t,e)}},defaultScale:{get:function(){return this.Zq},set:function(e){this.Zq=e}},autoScale:{get:function(){return this.aj},set:function(e){var t=this.aj;t!==e&&(this.aj=e,this.g("autoScale",t,e),e!==va&&dr(this,!1))}},initialAutoScale:{get:function(){return this.ai},set:function(e){var t=this.ai;t!==e&&(this.ai=e,this.g("initialAutoScale",t,e))}},initialViewportSpot:{get:function(){return this.wr},set:function(e){var t=this.wr;t!==e&&(e.gb()||z("initialViewportSpot must be a specific Spot: "+e),this.wr=e,this.g("initialViewportSpot",t,e))}},initialDocumentSpot:{get:function(){return this.tr},set:function(e){var t=this.tr;t!==e&&(e.gb()||z("initialViewportSpot must be a specific Spot: "+e),this.tr=e,this.g("initialDocumentSpot",t,e))}},minScale:{get:function(){return this.Pr},set:function(e){var t=this.Pr;t!==e&&(0<e?(this.Pr=e,this.g("minScale",t,e),e>this.scale&&(this.scale=e)):U(e,"> 0",ii,"minScale"))}},maxScale:{get:function(){return this.Nr},set:function(e){var t=this.Nr;t!==e&&(0<e?(this.Nr=e,this.g("maxScale",t,e),e<this.scale&&(this.scale=e)):U(e,"> 0",ii,"maxScale"))}},zoomPoint:{get:function(){return this.Is},set:function(e){this.Is.A(e)||(this.Is=e=e.I())}},contentAlignment:{get:function(){return this.cj},set:function(e){var t=this.cj;t.A(e)||(this.cj=e=e.I(),this.g("contentAlignment",t,e),dr(this,!1))}},initialContentAlignment:{get:function(){return this.On},set:function(e){var t=this.On;t.A(e)||(this.On=e=e.I(),this.g("initialContentAlignment",t,e))}},padding:{get:function(){return this.eb},set:function(e){"number"==typeof e&&(e=new ei(e));var t=this.eb;t.A(e)||(this.eb=e=e.I(),this.Xa(),this.g("padding",t,e))}},partManager:{get:function(){return this.Ma},set:function(e){var t=this.Ma;t!==e&&(null!==e.diagram&&z("Cannot share PartManagers between Diagrams: "+e.toString()),null!==t&&t.hb(null),this.Ma=e,e.hb(this))}},nodes:{get:function(){return this.partManager.nodes.iterator}},links:{get:function(){return this.partManager.links.iterator}},parts:{get:function(){return this.partManager.parts.iterator}},layout:{get:function(){return this.gc},set:function(e){var t=this.gc;t!==e&&(this.gc=e,e.diagram=this,e.group=null,this.zg=!0,this.g("layout",t,e),this.cc())}},isTreePathToChildren:{get:function(){return this.Er},set:function(e){var t=this.Er;if(t!==e&&(this.Er=e,this.g("isTreePathToChildren",t,e),!this.undoManager.isUndoingRedoing))for(e=this.nodes;e.next();)Oh(e.value)}},treeCollapsePolicy:{get:function(){return this.Ds},set:function(e){var t=this.Ds;t!==e&&(e!==Et&&e!==Ft&&e!==Sn&&z("Unknown Diagram.treeCollapsePolicy: "+e),this.Ds=e,this.g("treeCollapsePolicy",t,e))}},Ee:{get:function(){return this.Wb},set:function(e){this.Wb=e}},autoScrollInterval:{get:function(){return this.Tm},set:function(e){var t=this.Tm;t!==e&&(this.Tm=e,this.g("autoScrollInterval",t,e))}},autoScrollRegion:{get:function(){return this.Um},set:function(e){"number"==typeof e&&(e=new ei(e));var t=this.Um;t.A(e)||(this.Um=e=e.I(),this.Xa(),this.g("autoScrollRegion",t,e))}}}),I.Object.defineProperties(ii,{licenseKey:{get:function(){return _i.Tb()},set:function(e){_i.add(e)}},version:{get:function(){return Yi}}}),ii.prototype.makeImageData=ii.prototype.sx,ii.prototype.makeImage=ii.prototype.Az,ii.prototype.addRenderer=ii.prototype.ly,ii.prototype.makeSVG=ii.prototype.mv,ii.prototype.makeSvg=ii.prototype.it,ii.prototype.stopAutoScroll=ii.prototype.vf,ii.prototype.doAutoScroll=ii.prototype.Os,ii.prototype.isUnoccupied=ii.prototype.ek,ii.prototype.raiseDiagramEvent=ii.prototype.aa,ii.prototype.removeDiagramListener=ii.prototype.mm,ii.prototype.addDiagramListener=ii.prototype.Nj,ii.prototype.findTreeRoots=ii.prototype.$y,ii.prototype.layoutDiagram=ii.prototype.yz,ii.prototype.findTopLevelGroups=ii.prototype.Ty,ii.prototype.findTopLevelNodesAndLinks=ii.prototype.Uy,ii.prototype.findLinksByExample=ii.prototype.Rs,ii.prototype.findNodesByExample=ii.prototype.Ss,ii.prototype.findLinkForData=ii.prototype.uc,ii.prototype.findNodeForData=ii.prototype.Ei,ii.prototype.findPartForData=ii.prototype.vc,ii.prototype.findNodeForKey=ii.prototype.Hb,ii.prototype.findPartForKey=ii.prototype.findPartForKey,ii.prototype.rebuildParts=ii.prototype.ud,ii.prototype.transformViewToDoc=ii.prototype.yt,ii.prototype.transformRectDocToView=ii.prototype.Yz,ii.prototype.transformDocToView=ii.prototype.xt,ii.prototype.centerRect=ii.prototype.Ju,ii.prototype.scrollToRect=ii.prototype.Fv,ii.prototype.scroll=ii.prototype.scroll,ii.prototype.highlightCollection=ii.prototype.nz,ii.prototype.highlight=ii.prototype.mz,ii.prototype.clearHighlighteds=ii.prototype.Ww,ii.prototype.selectCollection=ii.prototype.Gv,ii.prototype.select=ii.prototype.select,ii.prototype.clearSelection=ii.prototype.Ls,ii.prototype.updateAllRelationshipsFromData=ii.prototype.tq,ii.prototype.updateAllTargetBindings=ii.prototype.updateAllTargetBindings,ii.prototype.commit=ii.prototype.commit,ii.prototype.rollbackTransaction=ii.prototype.uf,ii.prototype.commitTransaction=ii.prototype.Za,ii.prototype.startTransaction=ii.prototype.Aa,ii.prototype.raiseChanged=ii.prototype.g,ii.prototype.raiseChangedEvent=ii.prototype.ab,ii.prototype.removeChangedListener=ii.prototype.pk,ii.prototype.addChangedListener=ii.prototype.rh,ii.prototype.removeModelChangedListener=ii.prototype.Nz,ii.prototype.addModelChangedListener=ii.prototype.Tw,ii.prototype.findLayer=ii.prototype.Zl,ii.prototype.removeLayer=ii.prototype.Lz,ii.prototype.addLayerAfter=ii.prototype.hy,ii.prototype.addLayerBefore=ii.prototype.Rw,ii.prototype.addLayer=ii.prototype.Ql,ii.prototype.moveParts=ii.prototype.moveParts,ii.prototype.copyParts=ii.prototype.Xj,ii.prototype.removeParts=ii.prototype.rt,ii.prototype.remove=ii.prototype.remove,ii.prototype.add=ii.prototype.add,ii.prototype.clearDelayedGeometries=ii.prototype.Ku,ii.prototype.setProperties=ii.prototype.Mv,ii.prototype.resetInputOptions=ii.prototype.Cv,ii.prototype.setInputOption=ii.prototype.Rz,ii.prototype.getInputOption=ii.prototype.bm,ii.prototype.resetRenderingHints=ii.prototype.Dv,ii.prototype.setRenderingHint=ii.prototype.Jx,ii.prototype.getRenderingHint=ii.prototype.De,ii.prototype.maybeUpdate=ii.prototype.fd,ii.prototype.requestUpdate=ii.prototype.cc,ii.prototype.delayInitialization=ii.prototype.Ay,ii.prototype.isUpdateRequested=ii.prototype.uz,ii.prototype.redraw=ii.prototype.sf,ii.prototype.invalidateDocumentBounds=ii.prototype.Xa,ii.prototype.findObjectsNear=ii.prototype.ng,ii.prototype.findPartsNear=ii.prototype.Qy,ii.prototype.findObjectsIn=ii.prototype.mg,ii.prototype.findPartsIn=ii.prototype.kx,ii.prototype.findObjectsAt=ii.prototype.Fi,ii.prototype.findPartsAt=ii.prototype.Py,ii.prototype.findObjectAt=ii.prototype.Sb,ii.prototype.findPartAt=ii.prototype.$l,ii.prototype.alignDocument=ii.prototype.my,ii.prototype.zoomToRect=ii.prototype.aA,ii.prototype.zoomToFit=ii.prototype.zoomToFit,ii.prototype.diagramScroll=ii.prototype.bx,ii.prototype.focus=ii.prototype.focus,ii.prototype.reset=ii.prototype.reset,ii.useDOM=function(e){Wr=!!e&&void 0!==o.document},ii.isUsingDOM=function(){return Wr};var Kr,Ns,Mo,Qo,Hs,ua,bc,O1,r0,c0,ro=null,Bo=new Kt,Xo=null,ar=null,Wr=void 0!==o.document,mr=null,$r="",va=new Pe(ii,"None",0),r1=new Pe(ii,"Uniform",1),K0=new Pe(ii,"UniformToFill",2),yt=new Pe(ii,"CycleAll",10),it=new Pe(ii,"CycleNotDirected",11),we=new Pe(ii,"CycleNotDirectedFast",12),dt=new Pe(ii,"CycleNotUndirected",13),qt=new Pe(ii,"CycleDestinationTree",14),An=new Pe(ii,"CycleSourceTree",15),he=new Pe(ii,"DocumentScroll",1),xe=new Pe(ii,"InfiniteScroll",2),Et=new Pe(ii,"TreeParentCollapsed",21),Ft=new Pe(ii,"AllParentsCollapsed",22),Sn=new Pe(ii,"AnyParentsCollapsed",23),_i=new gt,Yi="2.0.9",Bs=null,Ds=!1;function Aa(){this.$x=null,this.l="zz@orderNum",this.Ne="63ad05bbe23a1786468a4c741b6d2"===this._tk?this.l=!0:null}function Ba(e,t){if(t.Yc.setTransform(t.Nb,0,0,t.Nb,0,0),null===e.Ne){t="f";var i=o[K("76a715b2f73f148a")][K("72ba13b5")];if(e.Ne=!0,Wr){var r=ii[K("76a115b6ed251eaf4692")];if(r)for(var c=_i.iterator;c.next()&&!(6>(r=K(r=c.value).split(K("39e9"))).length);){var h=K(r[1]).split(".");if("7da71ca0"!==r[4])break;var v=K(C[K("6cae19")]).split(".");if(h[0]>v[0]||h[0]===v[0]&&h[1]>=v[1]){for(h=i[K("76ad18b4f73e")],v=i[K("73a612b6fb191d")](K("35e7"))+2;v<h;v++)t+=i[v];if(0>(h=t[K("73a612b6fb191d")](K(r[2])))&&K(r[2])!==K("7da71ca0ad381e90")&&(h=t[K("73a612b6fb191d")](K("76a715b2ef3e149757"))),0>h&&(h=t[K("73a612b6fb191d")](K("76a715b2ef3e149757"))),e.Ne=!(0<=h&&h<t[K("73a612b6fb191d")](K("35"))),!e.Ne||"#"!==(h=K(r[2]))[0])break;v=o.document.createElement("div");for(var W=r[0].replace(/[A-Za-z]/g,"");4>W.length;)W+="9";if(W=W.substr(W.length-4),r="",r+=["gsh","gsf"][parseInt(W.substr(0,1),10)%2],r+=["Header","Background","Display","Feedback"][parseInt(W.substr(0,1),10)%4],v[K("79a417a0f0181a8946")]=r,o.document[K("78a712aa")]){if(o.document[K("78a712aa")][K("7bb806b6ed32388c4a875b")](v),W=o.getComputedStyle(v).getPropertyValue(K("78a704b7e62456904c9b12701b6532a8")),o.document[K("78a712aa")][K("68ad1bbcf533388c4a875b")](v),!W)break;if(-1!==W.indexOf(parseInt(h[1]+h[2],16))&&-1!==W.indexOf(parseInt(h[3]+h[4],16))){e.Ne=!1;break}if(de||Me||me||be)for(r="."+r,h=0;h<document.styleSheets.length;h++)for(var X in v=document.styleSheets[h].rules||document.styleSheets[h].cssRules)if(r===v[X].selectorText){e.Ne=!1;break}}else e.Ne=null,e.Ne=!1}}else{for(X=i[K("76ad18b4f73e")],c=i[K("73a612b6fb191d")](K("35e7"))+2;c<X;c++)t+=i[c];i=t[K("73a612b6fb191d")](K("7da71ca0ad381e90")),e.Ne=!(0<=i&&i<t[K("73a612b6fb191d")](K("35")))}}}return 0<e.Ne&&e!==e.$x}function J0(e,t){if(Wr){null!=t||z("Diagram setup requires an argument DIV."),null!==e.Ia&&z("Diagram has already completed setup."),"string"==typeof t?e.Ia=o.document.getElementById(t):t instanceof HTMLDivElement?e.Ia=t:z("No DIV or DIV id supplied: "+t),null===e.Ia&&z("Invalid DIV id; could not get element with id: "+t),void 0!==e.Ia.C&&z("Invalid div id; div already has a Diagram associated with it."),"static"===o.getComputedStyle(e.Ia,null).position&&(e.Ia.style.position="relative"),e.Ia.style["-webkit-tap-highlight-color"]="rgba(255, 255, 255, 0)",e.Ia.style["-ms-touch-action"]="none",e.Ia.innerHTML="",e.Ia.C=e;var i=e.As?new Nu(e):new Vc(e);if(void 0!==i.style&&(i.style.position="absolute",i.style.top="0px",i.style.left="0px","rtl"===o.getComputedStyle(e.Ia,null).getPropertyValue("direction")&&(e.Tn=!0),i.style.zIndex="2",i.style.userSelect="none",i.style.webkitUserSelect="none",i.style.MozUserSelect="none"),e.Da=i,e.Yc=i.context,t=e.Yc,e.Nb=e.computePixelRatio(),e.xa=e.Ia.clientWidth||1,e.wa=e.Ia.clientHeight||1,ct(e,e.xa,e.wa),e.cr=t.W[K("7eba17a4ca3b1a8346")][K("78a118b7")](t.W,Bs,4,4),e.Ia.insertBefore(i.Ga,e.Ia.firstChild),(i=new Vc(null)).width=1,i.height=1,e.Ut=i,e.uw=i.context,Wr){i=q("div");var r=q("div");i.style.position="absolute",i.style.overflow="auto",i.style.width=e.xa+"px",i.style.height=e.wa+"px",i.style.zIndex="1",r.style.position="absolute",r.style.width="1px",r.style.height="1px",e.Ia.appendChild(i),i.appendChild(r),i.onscroll=s1,i.onmousedown=$l,i.ontouchstart=$l,i.C=e,i.Yx=!0,i.Zx=!0,e.ps=i,e.fp=r}e.ot=w(function(){e.jh=null,e.R()},300),e.Zv=w(function(){j0(e)},250),e.preventDefault=function(c){return c.preventDefault(),!1},e.ik=function(c){if(e.isEnabled){e.he=!0;var h=f0(e,c,!0);e.doMouseMove(),e.currentTool.isBeyondDragSize()&&(e.Fd=0),P1(h,c)}},e.hk=function(c){if(e.isEnabled)if(e.he=!0,e.Qe)c.preventDefault();else{var h=f0(e,c,!0);h.down=!0,h.clickCount=c.detail,(Me||me)&&(c.timeStamp-e.kl<e.Bu&&!e.currentTool.isBeyondDragSize()?e.Fd++:e.Fd=1,e.kl=c.timeStamp,h.clickCount=e.Fd),h.clone(e.firstInput),e.doMouseDown(),1===c.button?c.preventDefault():P1(h,c)}},e.kk=function(c){if(e.isEnabled)if(e.Qe&&2===c.button)c.preventDefault();else if(e.Qe&&0===c.button&&(e.Qe=!1),e.Ml)c.preventDefault();else{e.he=!0;var h=f0(e,c,!0);h.up=!0,h.clickCount=c.detail,(Me||me)&&(h.clickCount=e.Fd),h.bubbles=c.bubbles,h.targetDiagram=qr(c),e.doMouseUp(),e.vf(),P1(h,c)}},e.lk=function(c){if(e.isEnabled){var h=f0(e,c,!0);h.bubbles=!0;var v=0,W=0;h.delta=0,void 0!==c.deltaX?(0!==c.deltaX&&(v=0<c.deltaX?1:-1),0!==c.deltaY&&(W=0<c.deltaY?1:-1),h.delta=Math.abs(c.deltaX)>Math.abs(c.deltaY)?-v:-W):void 0!==c.wheelDeltaX?(0!==c.wheelDeltaX&&(v=0<c.wheelDeltaX?-1:1),0!==c.wheelDeltaY&&(W=0<c.wheelDeltaY?-1:1),h.delta=Math.abs(c.wheelDeltaX)>Math.abs(c.wheelDeltaY)?-v:-W):void 0!==c.wheelDelta&&0!==c.wheelDelta&&(h.delta=0<c.wheelDelta?1:-1),e.doMouseWheel(),P1(h,c)}},e.jk=function(c){e.isEnabled&&(e.he=!1,f0(e,c,!0),(c=e.currentTool).cancelWaitAfter(),c.standardMouseOver())},e.Tv=function(c){if(e.isEnabled){e.Ml=!1,e.Qe=!0;var h=tc(e,c,c.targetTouches[0],1<c.touches.length),v=null;if(0<c.targetTouches.length?v=c.targetTouches[0]:0<c.changedTouches.length&&(v=c.changedTouches[0]),null!==v){var W=v.screenX;v=v.screenY;var X=e.Hr;c.timeStamp-e.kl<e.Bu&&!(25<Math.abs(X.x-W)||25<Math.abs(X.y-v))?e.Fd++:e.Fd=1,h.clickCount=e.Fd,e.kl=c.timeStamp,e.Hr.h(W,v)}e.doMouseDown(),P1(h,c)}},e.Sv=function(c){if(e.isEnabled){var h=null;0<c.targetTouches.length?h=c.targetTouches[0]:0<c.changedTouches.length&&(h=c.changedTouches[0]),h=D1(e,c,h,1<c.touches.length),e.doMouseMove(),P1(h,c)}},e.Rv=function(c){if(e.isEnabled)if(e.Ml)c.preventDefault();else if(!(1<c.touches.length)){var h=null,v=null;0<c.targetTouches.length?v=c.targetTouches[0]:0<c.changedTouches.length&&(v=c.changedTouches[0]);var W=Gc(e,c,!1,!0,!1,!1);null!==v&&(null!==(h=o.document.elementFromPoint(v.clientX,v.clientY))&&h.C instanceof ii&&h.C!==e&&xl(h.C,v,W),xl(e,v,W),W.clickCount=e.Fd),W.targetDiagram=null===h?qr(c):h.C?h.C:null,W.targetObject=null,e.doMouseUp(),P1(W,c),e.Qe=!1}},e.im=function(c){if(e.isEnabled){e.he=!0;var h=e.nu;void 0===h[c.pointerId]&&(h[c.pointerId]=c);var v=!1;if(null!==(h=e.vl)[0]&&h[0].pointerId===c.pointerId)h[0]=c;else if(null!==h[1]&&h[1].pointerId===c.pointerId)h[1]=c,v=!0;else if(null===h[0])h[0]=c;else{if(null!==h[1])return void c.preventDefault();h[1]=c,v=!0}("touch"===c.pointerType||"pen"===c.pointerType)&&(e.Ml=!1,e.Qe=!0),h=tc(e,c,c,v),v=e.Hr;var W="touch"===c.pointerType||"pen"===c.pointerType?25:10;c.timeStamp-e.kl<e.Bu&&!(Math.abs(v.x-c.screenX)>W||Math.abs(v.y-c.screenY)>W)?e.Fd++:e.Fd=1,h.clickCount=e.Fd,e.kl=c.timeStamp,e.Hr.tg(c.screenX,c.screenY),e.doMouseDown(),1===c.button?c.preventDefault():P1(h,c)}},e.jm=function(c){if(e.isEnabled){e.he=!0;var h=e.vl;if(null!==h[0]&&h[0].pointerId===c.pointerId)h[0]=c;else{if(null!==h[1]&&h[1].pointerId===c.pointerId)return void(h[1]=c);if(null!==h[0])return;h[0]=c}h[0].pointerId===c.pointerId&&(h=D1(e,c,c,null!==h[1]),e.doMouseMove(),P1(h,c))}},e.lm=function(c){if(e.isEnabled){e.he=!0;var h="touch"===c.pointerType||"pen"===c.pointerType,v=e.nu;if(h&&e.Ml)delete v[c.pointerId],c.preventDefault();else if(null!==(v=e.vl)[0]&&v[0].pointerId===c.pointerId){v[0]=null,v=Gc(e,c,!1,!0,!0,!1);var W=o.document.elementFromPoint(c.clientX,c.clientY);null!==W&&W.C instanceof ii&&W.C!==e&&xl(W.C,c,v),xl(e,c,v),v.clickCount=e.Fd,v.targetDiagram=null===W?qr(c):W.C?W.C:null,v.targetObject=null,e.doMouseUp(),P1(v,c),h&&(e.Qe=!1)}else null!==v[1]&&v[1].pointerId===c.pointerId&&(v[1]=null)}},e.km=function(c){if(e.isEnabled){e.he=!1;var h=e.nu;h[c.pointerId]&&delete h[c.pointerId],null!==(h=e.vl)[0]&&h[0].pointerId===c.pointerId&&(h[0]=null),null!==h[1]&&h[1].pointerId===c.pointerId&&(h[1]=null),"touch"!==c.pointerType&&"pen"!==c.pointerType&&((c=e.currentTool).cancelWaitAfter(),c.standardMouseOver())}},t.Rc(!0),function el(e){var t=e.Da.Ga;t instanceof HTMLCanvasElement&&(e.Gq?(e.addEventListener(t,"pointerdown",e.im,!1),e.addEventListener(t,"pointermove",e.jm,!1),e.addEventListener(t,"pointerup",e.lm,!1),e.addEventListener(t,"pointerout",e.km,!1)):(e.addEventListener(t,"touchstart",e.Tv,!1),e.addEventListener(t,"touchmove",e.Sv,!1),e.addEventListener(t,"touchend",e.Rv,!1),e.addEventListener(t,"mousemove",e.ik,!1),e.addEventListener(t,"mousedown",e.hk,!1),e.addEventListener(t,"mouseup",e.kk,!1),e.addEventListener(t,"mouseout",e.jk,!1)),e.addEventListener(t,"mouseenter",e.Fy,!1),e.addEventListener(t,"mouseleave",e.Gy,!1),e.addEventListener(t,"wheel",e.lk,!1),e.addEventListener(t,"keydown",e.vz,!1),e.addEventListener(t,"keyup",e.wz,!1),e.addEventListener(t,"blur",e.sy,!1),e.addEventListener(t,"focus",e.ty,!1),e.addEventListener(t,"selectstart",function(i){return i.preventDefault(),!1},!1),e.addEventListener(t,"contextmenu",function(i){return i.preventDefault(),!1},!1),e.addEventListener(t,"gesturestart",function(i){e.toolManager.gestureBehavior!==hc&&(e.toolManager.gestureBehavior===g1?i.preventDefault():e.Qe&&e.lastInput.handled||(i.preventDefault(),e.Ho=e.scale,e.currentTool.doCancel()))},!1),e.addEventListener(t,"gesturechange",function(i){if(e.toolManager.gestureBehavior!==hc)if(e.toolManager.gestureBehavior===g1)i.preventDefault();else if(!e.Qe||!e.lastInput.handled){i.preventDefault();var r=i.scale;if(null!==e.Ho){var c=e.Da.getBoundingClientRect();if(i=new Ze(i.pageX-window.scrollX-e.xa/c.width*c.left,i.pageY-window.scrollY-e.wa/c.height*c.top),c=e.commandHandler,(r*=e.Ho)!==e.scale&&c.canResetZoom(r)){var h=e.zoomPoint;e.zoomPoint=i,c.resetZoom(r),e.zoomPoint=h}}}},!1),e.addEventListener(o,"resize",e.Zv,!1))}(e)}}function U1(e){this.l=void 0===e?new Ze:e,this.u=new Ze}function gc(e,t,i){this.node=e,this.info=t,this.ev=i}function Vu(){this.reset()}function Zc(e){1<arguments.length&&z("Palette constructor can only take one optional argument, the DIV HTML element or its id."),ii.call(this,e),this.allowDragOut=!0,this.allowMove=!1,this.isReadOnly=!0,this.contentAlignment=Mt,this.layout=new R1}function U0(e){1<arguments.length&&z("Overview constructor can only take one optional argument, the DIV HTML element or its id."),ii.call(this,e),this.animationManager.isEnabled=!1,this.ob=!0,this.Yf=null,this.dr=!0,this.Jx("drawShadows",!1);var t=new Os,i=new io;i.stroke="magenta",i.strokeWidth=2,i.fill="transparent",i.name="BOXSHAPE",t.selectable=!0,t.selectionAdorned=!1,t.selectionObjectName="BOXSHAPE",t.locationObjectName="BOXSHAPE",t.resizeObjectName="BOXSHAPE",t.cursor="move",t.add(i),this.l=t,this.allowDelete=this.allowCopy=!1,this.allowSelect=!0,this.autoScrollRegion=new ei(0,0,0,0),this.yu=new Vc(null),this.ay=this.yu.context,ea(this.toolManager,"Dragging",new Go,this.toolManager.mouseMoveTools);var r=this;this.click=function(){var c=r.Yf;if(null!==c){var h=c.viewportBounds,v=r.lastInput.documentPoint;c.position=new Ze(v.x-h.width/2,v.y-h.height/2)}},this.Gm=function(){r.Xa(),Zs(r)},this.Em=function(){null!==r.Yf&&(r.Xa(),r.R())},this.Fm=function(){r.R()},this.Dm=function(){null!==r.Yf&&Zs(r)},this.autoScale=r1,this.ob=!1}function Zs(e){var t=e.box;if(null!==t){var i=e.Yf;if(null!==i){e.nc=!0,i=i.viewportBounds;var r=t.selectionObject,c=Ue.alloc();c.h(i.width,i.height),r.desiredSize=c,Ue.free(c),e=2/e.scale,r instanceof io&&(r.strokeWidth=e),t.location=new Ze(i.x-e/2,i.y-e/2),t.isSelected=!0}}}function Go(){Dr.call(this),this.l=null}function zo(){ke(this),this.C=ro,this.Vb=this.K=this.u=!0,this.ba=this.La=this.Wb=this.Ma=!1,this.ji=this.l=null,this.Vc=1.05,this.eu=NaN,this.Aw=null,this.Eu=NaN,this.Du=ri,this.cg=null,this.Kc=200}function lr(e,t,i){if(t.isVisible())return i;if(t instanceof Zo)lr(e,t.adornedPart,i);else if(t instanceof Zt){var r=t.fromNode;null!==r&&lr(e,r,i),null!==(t=t.toNode)&&lr(e,t,i)}else t instanceof as&&(null!==(r=t.labeledLink)&&lr(e,r,i),null!==(r=t.og())&&(r.isTreeExpanded||r.wasTreeExpanded||i.push(r),lr(e,r,i))),null!==(t=t.containingGroup)&&(t.isSubGraphExpanded||t.wasSubGraphExpanded||i.push(t),lr(e,t,i));return i}function Vo(e){var t=ie();for(e=e.iterator;e.next();){var i=e.value;i instanceof Zt||t.push(i)}e=new Se,i=t.length;for(var r=0;r<i;r++){for(var c=t[r],h=!0,v=0;v<i;v++)if(c.Vd(t[v])){h=!1;break}h&&e.add(c)}return ne(t),e}function As(){ke(this),this.H=4225027,this.lb=1,this.ag=null,this.Ua="",this.dc=this.ib=null,this.sa=new Ze(NaN,NaN).freeze(),this.Nc=Dn,this.Qf=Un,this.Pf=ln,this.tb=new mi,this.Dh=new mi,this.Nf=new mi,this.Ca=this.Sk=1,this.zc=0,this.ue=Qo,this.Tg=yn,this.pc=new sn(NaN,NaN,NaN,NaN).freeze(),this.vb=new sn(NaN,NaN,NaN,NaN).freeze(),this.qc=new sn(0,0,NaN,NaN).freeze(),this.P=this.Oo=this.Po=null,this.wk=this.wb=wo,this.ap=0,this.bp=1,this.Cg=0,this.Zm=1,this.rp=null,this.gp=-1/0,this.yl=0,this.zl=Rn,this.Al=Ya,this.jn="",this.bb=this.O=null,this.Dk=-1,this.Cl=this.kd=this.Sh=this.Fl=null,this.js=Ns,this.Pm=this.Aj=null}function Qa(e){null===e.O&&(e.O=new Fh)}function w0(e,t,i){var r=e.Gi();if(null!==r)for(var c=e.bb.iterator;c.next();){var h=c.value,v=null;if(null!==h.sourceName){if(null===(v=Zf(h,r,e)))continue;h.uq(e,v,i,null)}else if(h.isToModel){var W=t.diagram;null===W||W.skipsModelSourceBindings||h.uq(e,W.model.modelData,i,r)}else{if(null===(W=r.data))continue;var X=t.diagram;null===X||X.skipsModelSourceBindings||h.uq(e,W,i,r)}v===e&&null!==(W=r.Qs(h.Xi))&&h.Xv(W,v,i)}}function Fl(e,t,i,r,c){var h=e.pc,v=e.Nf;v.reset(),cd(e,v,t,i,r,c),e.Nf=v,h.h(t,i,r,c),v.ct()||v.Uv(h)}function ml(e,t,i,r){return!1!==e.pickable&&(r.multiply(e.transform),i?e.Ic(t,r):e.uh(t,r))}function Ou(e,t,i,r,c){if(e.vb.h(t,i,r,c),!e.desiredSize.o()){var h=e.pc,v=(i=e.Tg).top+i.bottom;switch(i=h.width+(t=i.right+i.left),h=h.height+v,r+=t,c+=v,t=Rc(e,!0),i===r&&h===c&&(t=Ns),t){case Ns:(i>r||h>c)&&(Q0(e,!0),e.measure(i>r?r:i,h>c?c:h,0,0));break;case Kr:Q0(e,!0),e.measure(r,c,0,0);break;case Hs:Q0(e,!0),e.measure(r,h,0,0);break;case ua:Q0(e,!0),e.measure(i,c,0,0)}}}function _l(e,t,i){var r=e.vb,c=e.qc;null!==e.dc&&(vo(e,t,e.dc,!0,!0,c,r),e.dc instanceof cr&&e.dc.type===_0?(t.beginPath(),t.rect(r.x,r.y,r.width,r.height),t.Td(e.dc)):t.fillRect(r.x,r.y,r.width,r.height)),null!==e.ib&&(vo(e,t,e.ib,!0,!1,c,r),e.ib instanceof cr&&e.ib.type===_0?(t.beginPath(),t.rect(r.x,r.y,r.width,r.height),t.Td(e.ib)):t.fillRect(r.x,r.y,r.width,r.height)),e.Ci(t,i)}function vo(e,t,i,r,c,h,v){if(null!==i){var W=1,X=1;if("string"==typeof i)r?t.fillStyle=i:t.strokeStyle=i;else if(i.type===Hc)r?t.fillStyle=i.color:t.strokeStyle=i.color;else{if(W=h.width,X=h.height,c&&(W=v.width,X=v.height),(h=t instanceof tu)&&i.ce&&(i.type===Yd||i.Gk===W&&i.Lt===X))var Z=i.ce;else{var ge=0,ye=0,We=0,Ve=0,st=0,jt=0;if(jt=st=0,c&&(st=v.x,jt=v.y),ge=i.start.x*W+i.start.offsetX,ye=i.start.y*X+i.start.offsetY,We=i.end.x*W+i.end.offsetX,Ve=i.end.y*X+i.end.offsetY,ge+=st,We+=st,ye+=jt,Ve+=jt,i.type===oc)Z=t.createLinearGradient(ge,ye,We,Ve);else if(i.type===_0)jt=isNaN(i.endRadius)?Math.max(W,X)/2:i.endRadius,isNaN(i.startRadius)?(st=0,jt=Math.max(W,X)/2):st=i.startRadius,Z=t.createRadialGradient(ge,ye,st,We,Ve,jt);else if(i.type===Yd)try{Z=t.createPattern(i.pattern,"repeat")}catch{Z=null}if(i.type!==Yd&&null!==(c=i.colorStops))for(c=c.iterator;c.next();)Z.addColorStop(c.key,c.value);if(h&&(i.ce=Z,null!==Z&&(i.Gk=W,i.Lt=X),null===Z&&i.type===Yd&&-1!==i.Gk)){i.Gk=-1;var nn=e.diagram;null!==nn&&-1===i.Gk&&M(function(){nn.sf()},600)}}r?t.fillStyle=Z:t.strokeStyle=Z}}}function Lu(e){if(2048&e.H){var t=e.tb;if(t.reset(),!e.vb.o()||!e.pc.o())return void Hu(e,!1);if(t.translate(e.vb.x-e.pc.x,e.vb.y-e.pc.y),1!==e.scale||0!==e.angle){var i=e.naturalBounds;cd(e,t,i.x,i.y,i.width,i.height)}Hu(e,!1),eu(e,!0)}4096&e.H&&(null===(t=e.panel)?(e.Dh.set(e.tb),e.Sk=e.scale,eu(e,!1)):null!==t.rd&&((i=e.Dh).reset(),t.Zd()?i.multiply(t.Dh):null!==t.panel&&i.multiply(t.panel.Dh),i.multiply(e.tb),e.Sk=e.scale*t.Sk,eu(e,!1)))}function cd(e,t,i,r,c,h){if(1!==e.scale&&t.scale(e.scale),0!==e.angle){var v=Jt;e.sg()&&e.locationSpot.gb()&&(v=e.locationSpot);var W=Ze.alloc();if(e instanceof Os&&e.locationObject!==e)for(W.qk((r=(i=e.locationObject).naturalBounds).x,r.y,r.width,r.height,v),i.Nf.ta(W),W.offset(-i.measuredBounds.x,-i.measuredBounds.y),v=i.panel;null!==v&&v!==e;)v.Nf.ta(W),W.offset(-v.measuredBounds.x,-v.measuredBounds.y),v=v.panel;else W.qk(i,r,c,h,v);t.rotate(e.angle,W.x,W.y),Ze.free(W)}}function tl(e){if(!1===I1(e)){var t=e.panel;null!==t?t.s():e.sg()&&null!==(t=e.diagram)&&(t.Dd.add(e),e instanceof as&&e.ed(),t.cc()),uu(e,!0)}}function Rc(e,t){var i=e.stretch,r=e.panel;return null!==r&&r.type===Vi.Table?a1(e,r.getRowDefinition(e.row),r.getColumnDefinition(e.column),t):null!==r&&r.type===Vi.Auto&&r.zb()===e?z0(e,Kr,t):i===Qo?null!==r?r.type===Vi.Spot&&r.zb()===e?z0(e,Kr,t):z0(e,(i=r.defaultStretch)===Qo?Ns:i,t):z0(e,Ns,t):z0(e,i,t)}function a1(e,t,i,r){var c=e.stretch;if(c!==Qo)return z0(e,c,r);var h=c=null;switch(t.stretch){case ua:case Kr:h=!0}switch(i.stretch){case Hs:case Kr:c=!0}return t=e.panel.defaultStretch,null===c&&(c=t===Hs||t===Kr),null===h&&(h=t===ua||t===Kr),z0(e,!0===c&&!0===h?Kr:!0===c?Hs:!0===h?ua:Ns,r)}function z0(e,t,i){if(i)return t;if(t===Ns||(i=e.desiredSize).o())return Ns;if(e=e.angle,!isNaN(i.width))if(90!==e&&270!==e){if(t===Hs)return Ns;if(t===Kr)return ua}else{if(t===ua)return Ns;if(t===Kr)return Hs}if(!isNaN(i.height))if(90!==e&&270!==e){if(t===ua)return Ns;if(t===Kr)return Hs}else{if(t===Hs)return Ns;if(t===Kr)return ua}return t}function ud(e,t){e.H=t?512|e.H:-513&e.H}function t0(e){return!!(1024&e.H)}function $c(e,t){e.H=t?1024|e.H:-1025&e.H}function Hu(e,t){e.H=t?2048|e.H:-2049&e.H}function eu(e,t){e.H=t?4096|e.H:-4097&e.H}function ic(e){return!!(8192&e.H)}function Q0(e,t){e.H=t?8192|e.H:-8193&e.H}function I1(e){return!!(16384&e.H)}function uu(e,t){e.H=t?16384|e.H:-16385&e.H}function wu(e){var t=e.part;if(t instanceof as&&(null!==e.portId||e===t.port)){var i=t.diagram;null===i||i.undoManager.isUndoingRedoing||Mm(t,e)}}function Lc(e){var t=e.diagram;null===t||t.undoManager.isUndoingRedoing||(e instanceof Vi?e instanceof as?e.ed():e.ym(e,function(i){wu(i)}):wu(e))}function G1(e,t){for(var i=1;i<arguments.length;++i);i=arguments;var r=null,c=null;if("function"==typeof e)c=e;else if("string"==typeof e){var h=Vd.J(e);"function"==typeof h?x(r=h(i=j(arguments)))||z('GraphObject.make invoked object builder "'+e+'", but it did not return an Object'):c=o.go[e]}if(null===r&&(null!=c&&c.constructor||z("GraphObject.make requires a class function or GoJS class name or name of an object builder, not: "+e),r=new c),c=1,r instanceof ii&&1<i.length){h=r;var v=i[1];("string"==typeof v||v instanceof HTMLDivElement)&&(J0(h,v),c++)}for(;c<i.length;c++)void 0===(h=i[c])?z("Undefined value at argument "+c+" for object being constructed by GraphObject.make: "+r):Uf(r,h);return r}function Uf(e,t){if("string"==typeof t)if(e instanceof tt)e.text=t;else if(e instanceof io)e.figure=t;else if(e instanceof Wl)e.source=t;else if(e instanceof Vi)null!==(t=El.J(t))&&(e.type=t);else if(e instanceof cr){var i=$e(cr,t);null!==i?e.type=i:z("Unknown Brush type as an argument to GraphObject.make: "+t)}else e instanceof so?null!==(t=$e(so,t))&&(e.type=t):e instanceof Ao&&null!==(t=$e(Ao,t))&&(e.type=t);else if(t instanceof As)e instanceof Vi||z("A GraphObject can only be added to a Panel, not to: "+e),e.add(t);else if(t instanceof Z0){var r;t.isRow&&"function"==typeof e.getRowDefinition?r=e.getRowDefinition(t.index):t.isRow||"function"!=typeof e.getColumnDefinition||(r=e.getColumnDefinition(t.index)),r instanceof Z0?r.Vl(t):z("A RowColumnDefinition can only be added to an object that implements getRowDefinition/getColumnDefinition, not to: "+e)}else if(t instanceof Pe)"function"==typeof e.fb&&e.fb(t);else if(t instanceof na)e.type=t;else if(t instanceof V0)e instanceof As||e instanceof Z0?e.bind(t):z("A Binding can only be applied to a GraphObject or RowColumnDefinition, not to: "+e);else if(t instanceof Ta)e instanceof so?e.figures.add(t):z("A PathFigure can only be added to a Geometry, not to: "+e);else if(t instanceof Ao)e instanceof Ta?e.segments.add(t):z("A PathSegment can only be added to a PathFigure, not to: "+e);else if(t instanceof er)e instanceof ii||e instanceof Fe?e.layout=t:z("A Layout can only be assigned to a Diagram or a Group, not to: "+e);else if(Array.isArray(t))for(i=0;i<t.length;i++)Uf(e,t[i]);else if("object"==typeof t&&null!==t)if(e instanceof cr){for(var c in i=new Be,t)r=parseFloat(c),isNaN(r)?i[c]=t[c]:e.addColorStop(r,t[c]);Js(e,i)}else if(e instanceof Z0){for(i in void 0!==t.row?((null==(c=t.row)||c===1/0||isNaN(c)||0>c)&&z("Must specify non-negative integer row for RowColumnDefinition "+t+", not: "+c),e.isRow=!0,e.index=c):void 0!==t.column&&((null==(c=t.column)||c===1/0||isNaN(c)||0>c)&&z("Must specify non-negative integer column for RowColumnDefinition "+t+", not: "+c),e.isRow=!1,e.index=c),c=new Be,t)"row"!==i&&"column"!==i&&(c[i]=t[i]);Js(e,c)}else Js(e,t);else z('Unknown initializer "'+t+'" for object being constructed by GraphObject.make: '+e)}function vu(e,t){Vd.add(e,t)}function nh(e,t,i){void 0===i&&(i=null);var r=e[1];if("function"==typeof i?i(r):"string"==typeof r)return e.splice(1,1),r;if(void 0===t)throw Error("no "+("function"==typeof i?"satisfactory":"string")+" argument for GraphObject builder "+e[0]);return t}ii.className="Diagram",ii.fromDiv=function(e){var t=e;return"string"==typeof e&&(t=o.document.getElementById(e)),t instanceof HTMLDivElement&&t.C instanceof ii?t.C:null},ii.inherit=function(e,t){function i(){}if(Object.getPrototypeOf(e).prototype)throw Error("Used go.Diagram.inherit defining already defined class \n"+e);i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e},ii.None=va,ii.Uniform=r1,ii.UniformToFill=K0,ii.CycleAll=yt,ii.CycleNotDirected=it,ii.CycleNotDirectedFast=we,ii.CycleNotUndirected=dt,ii.CycleDestinationTree=qt,ii.CycleSourceTree=An,ii.DocumentScroll=he,ii.InfiniteScroll=xe,ii.TreeParentCollapsed=Et,ii.AllParentsCollapsed=Ft,ii.AnyParentsCollapsed=Sn,Aa.className="DiagramHelper",I.Object.defineProperties(U1.prototype,{point:{get:function(){return this.l},set:function(e){this.l=e}},shifted:{get:function(){return this.u},set:function(e){this.u=e}}}),U1.className="DraggingInfo",gc.className="DraggingNodeInfoPair",Vu.prototype.reset=function(){this.isGridSnapEnabled=!1,this.isGridSnapRealtime=!0,this.gridSnapCellSize=new Ue(NaN,NaN).freeze(),this.gridSnapCellSpot=ut,this.gridSnapOrigin=new Ze(NaN,NaN).freeze(),this.kz=this.dragsTree=this.dragsLink=!1},y(Zc,ii),Zc.className="Palette",y(U0,ii),U0.prototype.computePixelRatio=function(){return 1},U0.prototype.hc=function(){if(null===this.Ia&&z("No div specified"),null===this.Da&&z("No canvas specified"),!(this.Da instanceof Nu)&&(Gh(this.box),this.nc)){var e=this.Yf;if(null!==e&&!e.animationManager.isAnimating){wt(this);var t=e.grid;null===t||!t.visible||isNaN(t.width)||isNaN(t.height)||(Ro(e,t=sn.alloc().assign(this.viewportBounds).Jc(e.viewportBounds)),sn.free(t),l0(e));var i=this.Da;t=this.Yc;var r=this.yu,c=this.ay;r.width=i.width,r.height=i.height,t.Rc(!0),t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,i.width,i.height),(r=this.tb).reset(),1!==this.scale&&r.scale(this.scale),0===this.position.x&&0===this.position.y||r.translate(-this.position.x,-this.position.y),t.scale(this.Nb,this.Nb),t.transform(r.m11,r.m12,r.m21,r.m22,r.dx,r.dy),r=this.dr;for(var h=this.viewportBounds,v=(e=e.Pa.j).length,W=0;W<v;W++){var X=e[W],Z=r;if(X.visible&&0!==X.lb&&(void 0===Z&&(Z=!0),Z||!X.isTemporary)){1!==X.lb&&(t.globalAlpha=X.lb),Z=this.scale;for(var ge=(X=X.Fa.j).length,ye=0;ye<ge;ye++){var We=X[ye],Ve=We.actualBounds;Ve.Ic(h)&&(1<Ve.width*Z||1<Ve.height*Z?We.hc(t,this):la(t,We))}t.globalAlpha=1}}for(c.drawImage(i.Ga,0,0),c=(i=this.Pa.j).length,r=0;r<c;r++)i[r].hc(t,this);this.nc=this.bi=!1}}},U0.prototype.computeBounds=function(){var e=this.Yf;if(null===e)return ri;var t=e.documentBounds.copy();return t.Jc(e.viewportBounds),t},U0.prototype.ox=function(){!0!==this.nc&&(this.nc=!0,function ca(e){e.ob||e.Zb||!1!==e.qd||(e.qd=!0,o.requestAnimationFrame(function(){if(e.qd&&!e.Zb&&(e.qd=!1,null!==e.Ia)){if(e.Zb=!0,l0(e),e.documentBounds.o()||ue(e,e.computeBounds()),null===e.Ia&&z("No div specified"),null===e.Da&&z("No canvas specified"),Gh(e.box),e.nc){var t=e.Yf;if(null!==t&&!t.animationManager.isAnimating&&!t.animationManager.rb){var i=e.yu;(t=e.Yc).setTransform(1,0,0,1,0,0),t.clearRect(0,0,e.Da.width,e.Da.height),t.drawImage(i.Ga,0,0),(i=e.tb).reset(),1!==e.scale&&i.scale(e.scale),0===e.position.x&&0===e.position.y||i.translate(-e.position.x,-e.position.y),t.scale(e.Nb,e.Nb),t.transform(i.m11,i.m12,i.m21,i.m22,i.dx,i.dy);for(var r=(i=e.Pa.j).length,c=0;c<r;c++)i[c].hc(t,e);e.bi=!1,e.nc=!1}}e.Zb=!1}}))}(this))},U0.prototype.iq=function(e,t,i,r){this.ob||(ot(this),this.R(),Vl(this),this.Xa(),Zs(this),this.we.scale=i,this.we.position.x=e.x,this.we.position.y=e.y,this.we.bounds.assign(e),this.we.qx=r,this.aa("ViewportBoundsChanged",this.we,e))},I.Object.defineProperties(U0.prototype,{observed:{get:function(){return this.Yf},set:function(e){var t=this.Yf;e instanceof U0&&z("Overview.observed Diagram may not be an Overview itself: "+e),t!==e&&(null!==t&&(this.remove(this.box),t.mm("ViewportBoundsChanged",this.Gm),t.mm("DocumentBoundsChanged",this.Em),t.mm("InvalidateDraw",this.Fm),t.mm("AnimationFinished",this.Dm)),this.Yf=e,null!==e&&(e.Nj("ViewportBoundsChanged",this.Gm),e.Nj("DocumentBoundsChanged",this.Em),e.Nj("InvalidateDraw",this.Fm),e.Nj("AnimationFinished",this.Dm),this.add(this.box),Zs(this)),this.Xa(),this.g("observed",t,e))}},box:{get:function(){return this.l},set:function(e){var t=this.l;t!==e&&(this.l=e,this.remove(t),this.add(this.l),Zs(this),this.g("box",t,e))}},drawsTemporaryLayers:{get:function(){return this.dr},set:function(e){this.dr!==e&&(this.dr=e,this.sf())}}}),U0.className="Overview",y(Go,Dr),Go.prototype.canStart=function(){if(!this.isEnabled)return!1;var e=this.diagram;if(null===e||!e.allowMove||!e.allowSelect)return!1;var t=e.observed;if(null===t)return!1;var i=e.lastInput;return!(!i.left||e.currentTool!==this&&(!this.isBeyondDragSize()||i.isTouchEvent&&i.timestamp-e.firstInput.timestamp<this.delay)||(null===this.findDraggablePart()&&(this.l=new Ze((i=t.viewportBounds).width/2,i.height/2),t.position=new Ze((e=e.firstInput.documentPoint).x-this.l.x,e.y-this.l.y)),0))},Go.prototype.doActivate=function(){this.l=null,Dr.prototype.doActivate.call(this)},Go.prototype.moveParts=function(){var e=this.diagram,t=e.observed;if(null!==t){var i=e.box;if(null!==i){if(null===this.l){var r=e.firstInput.documentPoint;this.l=new Ze(r.x-(i=i.location).x,r.y-i.y)}t.position=new Ze((e=e.lastInput.documentPoint).x-this.l.x,e.y-this.l.y)}}},Go.className="OverviewDraggingTool",zo.prototype.toString=function(){return"CommandHandler"},zo.prototype.hb=function(e){this.C=e},zo.prototype.doKeyDown=function(){var e=this.diagram,t=e.lastInput,i=Le?t.meta:t.control,r=t.shift,c=t.alt,h=t.key;!i||"C"!==h&&"Insert"!==h?i&&"X"===h||r&&"Del"===h?this.canCutSelection()&&this.cutSelection():i&&"V"===h||r&&"Insert"===h?this.canPasteSelection()&&this.pasteSelection():i&&"Y"===h||c&&r&&"Backspace"===h?this.canRedo()&&this.redo():i&&"Z"===h||c&&"Backspace"===h?this.canUndo()&&this.undo():"Del"===h||"Backspace"===h?this.canDeleteSelection()&&this.deleteSelection():i&&"A"===h?this.canSelectAll()&&this.selectAll():"Esc"===h?this.canStopCommand()&&this.stopCommand():"Up"===h?e.allowVerticalScroll&&e.scroll(i?"pixel":"line","up"):"Down"===h?e.allowVerticalScroll&&e.scroll(i?"pixel":"line","down"):"Left"===h?e.allowHorizontalScroll&&e.scroll(i?"pixel":"line","left"):"Right"===h?e.allowHorizontalScroll&&e.scroll(i?"pixel":"line","right"):"PageUp"===h?r&&e.allowHorizontalScroll?e.scroll("page","left"):e.allowVerticalScroll&&e.scroll("page","up"):"PageDown"===h?r&&e.allowHorizontalScroll?e.scroll("page","right"):e.allowVerticalScroll&&e.scroll("page","down"):"Home"===h?i&&e.allowVerticalScroll?e.scroll("document","up"):!i&&e.allowHorizontalScroll&&e.scroll("document","left"):"End"===h?i&&e.allowVerticalScroll?e.scroll("document","down"):!i&&e.allowHorizontalScroll&&e.scroll("document","right"):" "===h?this.canScrollToPart()&&this.scrollToPart():"Subtract"===h?this.canDecreaseZoom()&&this.decreaseZoom():"Add"===h?this.canIncreaseZoom()&&this.increaseZoom():i&&"0"===h?this.canResetZoom()&&this.resetZoom():r&&"Z"===h?this.canZoomToFit()&&this.zoomToFit():i&&!r&&"G"===h?this.canGroupSelection()&&this.groupSelection():i&&r&&"G"===h?this.canUngroupSelection()&&this.ungroupSelection():t.event&&113===t.event.which?this.canEditTextBlock()&&this.editTextBlock():t.event&&93===t.event.which?this.canShowContextMenu()&&this.showContextMenu():t.bubbles=!0:this.canCopySelection()&&this.copySelection()},zo.prototype.doKeyUp=function(){this.diagram.lastInput.bubbles=!0},zo.prototype.stopCommand=function(){var e=this.diagram,t=e.currentTool;t instanceof mo&&e.allowSelect&&e.Ls(),null!==t&&t.doCancel()},zo.prototype.canStopCommand=function(){return!0},zo.prototype.selectAll=function(){var e=this.diagram;e.R();try{e.currentCursor="wait",e.aa("ChangingSelection",e.selection);for(var t=e.parts;t.next();)t.value.isSelected=!0;for(var i=e.nodes;i.next();)i.value.isSelected=!0;for(var r=e.links;r.next();)r.value.isSelected=!0}finally{e.aa("ChangedSelection",e.selection),e.currentCursor=""}},zo.prototype.canSelectAll=function(){return this.diagram.allowSelect},zo.prototype.deleteSelection=function(){var e=this.diagram;try{e.currentCursor="wait",e.Aa("Delete"),e.aa("ChangingSelection",e.selection),e.aa("SelectionDeleting",e.selection);for(var t=new Se,i=e.selection.iterator;i.next();)Zd(t,i.value,!0,this.deletesTree?1/0:0,!!this.deletesConnectedLinks&&null,function(r){return r.canDelete()});e.rt(t,!0),e.aa("SelectionDeleted",t)}finally{e.aa("ChangedSelection",e.selection),e.Za("Delete"),e.currentCursor=""}},zo.prototype.canDeleteSelection=function(){var e=this.diagram;return!(e.isReadOnly||e.isModelReadOnly||!e.allowDelete||0===e.selection.count)},zo.prototype.copySelection=function(){var e=this.diagram,t=new Se;for(e=e.selection.iterator;e.next();)Zd(t,e.value,!0,this.copiesTree?1/0:0,this.copiesConnectedLinks,function(i){return i.canCopy()});this.copyToClipboard(t)},zo.prototype.canCopySelection=function(){var e=this.diagram;return!(!e.allowCopy||!e.allowClipboard||0===e.selection.count)},zo.prototype.cutSelection=function(){this.copySelection(),this.deleteSelection()},zo.prototype.canCutSelection=function(){var e=this.diagram;return!(e.isReadOnly||e.isModelReadOnly||!e.allowCopy||!e.allowDelete||!e.allowClipboard||0===e.selection.count)},zo.prototype.copyToClipboard=function(e){var t=this.diagram,i=null;if(null===e)mr=null,$r="";else{i=t.model;var r=!1,c=!1,h=null;try{i.fm()&&(r=i.Wj,i.Wj=this.copiesParentKey),i.ck()&&(c=i.Vj,i.Vj=this.copiesGroupKey),h=t.Xj(e,null,!0)}finally{i.fm()&&(i.Wj=r),i.ck()&&(i.Vj=c),(i=new gt).addAll(h),mr=i,$r=t.model.dataFormat}}t.aa("ClipboardChanged",i)},zo.prototype.pasteFromClipboard=function(){var e=new Se,t=mr;if(null===t)return e;var i=this.diagram;if($r!==i.model.dataFormat)return e;var r=i.model,c=!1,h=!1,v=null;try{r.fm()&&(c=r.Wj,r.Wj=this.copiesParentKey),r.ck()&&(h=r.Vj,r.Vj=this.copiesGroupKey),v=i.Xj(t,i,!1)}finally{for(r.fm()&&(r.Wj=c),r.ck()&&(r.Vj=h),t=v.iterator;t.next();)r=t.key,(i=t.value).location.o()||(r.location.o()?i.location=r.location:!i.position.o()&&r.position.o()&&(i.position=r.position)),e.add(i)}return e},zo.prototype.pasteSelection=function(e){void 0===e&&(e=null);var t=this.diagram;try{t.currentCursor="wait",t.Aa("Paste"),t.aa("ChangingSelection",t.selection);var i=this.pasteFromClipboard();0<i.count&&to(t);for(var r=i.iterator;r.next();)r.value.isSelected=!0;if(t.aa("ChangedSelection",t.selection),null!==e){var c=t.computePartsBounds(t.selection);c.o()&&je(t,this.computeEffectiveCollection(t.selection,t.Lk),new Ze(e.x-c.centerX,e.y-c.centerY),t.Lk,!1)}t.aa("ClipboardPasted",i)}finally{t.Za("Paste"),t.currentCursor=""}},zo.prototype.canPasteSelection=function(){var e=this.diagram;return!(e.isReadOnly||e.isModelReadOnly||!e.allowInsert||!e.allowClipboard||null===mr||0===mr.count||$r!==e.model.dataFormat)},zo.prototype.undo=function(){this.diagram.undoManager.undo()},zo.prototype.canUndo=function(){var e=this.diagram;return!e.isReadOnly&&!e.isModelReadOnly&&e.allowUndo&&e.undoManager.canUndo()},zo.prototype.redo=function(){this.diagram.undoManager.redo()},zo.prototype.canRedo=function(){var e=this.diagram;return!e.isReadOnly&&!e.isModelReadOnly&&e.allowUndo&&e.undoManager.canRedo()},zo.prototype.decreaseZoom=function(e){void 0===e&&(e=1/this.zoomFactor);var t=this.diagram;t.autoScale===va&&((e*=t.scale)<t.minScale||e>t.maxScale||(t.scale=e))},zo.prototype.canDecreaseZoom=function(e){void 0===e&&(e=1/this.zoomFactor);var t=this.diagram;return t.autoScale===va&&!((e*=t.scale)<t.minScale||e>t.maxScale)&&t.allowZoom},zo.prototype.increaseZoom=function(e){void 0===e&&(e=this.zoomFactor);var t=this.diagram;t.autoScale===va&&((e*=t.scale)<t.minScale||e>t.maxScale||(t.scale=e))},zo.prototype.canIncreaseZoom=function(e){void 0===e&&(e=this.zoomFactor);var t=this.diagram;return t.autoScale===va&&!((e*=t.scale)<t.minScale||e>t.maxScale)&&t.allowZoom},zo.prototype.resetZoom=function(e){void 0===e&&(e=this.defaultScale);var t=this.diagram;e<t.minScale||e>t.maxScale||(t.scale=e)},zo.prototype.canResetZoom=function(e){void 0===e&&(e=this.defaultScale);var t=this.diagram;return!(e<t.minScale||e>t.maxScale)&&t.allowZoom},zo.prototype.zoomToFit=function(){var e=this.diagram,t=e.scale,i=e.position;t===this.Eu&&!isNaN(this.eu)&&e.documentBounds.A(this.Du)?(e.scale=this.eu,e.position=this.Aw,this.Eu=NaN,this.Du=ri):(this.eu=t,this.Aw=i.copy(),e.zoomToFit(),this.Eu=e.scale,this.Du=e.documentBounds.copy())},zo.prototype.canZoomToFit=function(){return this.diagram.allowZoom},zo.prototype.scrollToPart=function(e){void 0===e&&(e=null);var t=this.diagram;if(null===e){try{null!==this.cg&&(this.cg.next()?e=this.cg.value:this.cg=null)}catch{this.cg=null}null===e&&(0<t.highlighteds.count?this.cg=t.highlighteds.iterator:0<t.selection.count&&(this.cg=t.selection.iterator),null!==this.cg&&this.cg.next()&&(e=this.cg.value))}if(null!==e){var i=t.animationManager;i.Ri("Scroll To Part");var r=this.scrollToPartPause;if(0<r){var c=lr(this,e,[e]),h=function(){t.Aa();for(var X=c.pop();0<c.length&&X instanceof as&&X.isTreeExpanded&&(!(X instanceof Fe)||X.isSubGraphExpanded);)X=c.pop();0<c.length?(X instanceof Os&&t.Fv(X.actualBounds),X instanceof as&&!X.isTreeExpanded&&(X.isTreeExpanded=!0),X instanceof Fe&&!X.isSubGraphExpanded&&(X.isSubGraphExpanded=!0)):(X instanceof Os&&t.Ju(X.actualBounds),t.mm("LayoutCompleted",v)),t.Za("Scroll To Part")},v=function(){M(h,(i.isEnabled?i.duration:0)+r)};t.Nj("LayoutCompleted",v),h()}else{var W=t.position.copy();t.Ju(e.actualBounds),W.Qa(t.position)&&i.vd()}}},zo.prototype.canScrollToPart=function(e){return void 0===e&&(e=null),(null===e||e instanceof Os)&&(0!==(e=this.diagram).selection.count||0!==e.highlighteds.count)&&e.allowHorizontalScroll&&e.allowVerticalScroll},zo.prototype.collapseTree=function(e){void 0===e&&(e=null);var t=this.diagram;try{t.Aa("Collapse Tree"),t.animationManager.Ri("Collapse Tree");var i=new gt;if(null!==e&&e.isTreeExpanded)e.collapseTree(),i.add(e);else if(null===e)for(var r=t.selection.iterator;r.next();){var c=r.value;c instanceof as&&c.isTreeExpanded&&(c.collapseTree(),i.add(c))}t.aa("TreeCollapsed",i)}finally{t.Za("Collapse Tree")}},zo.prototype.canCollapseTree=function(e){void 0===e&&(e=null);var t=this.diagram;if(t.isReadOnly)return!1;if(null!==e){if(!(e instanceof as&&e.isTreeExpanded))return!1;if(0<e.Up().count)return!0}else for(e=t.selection.iterator;e.next();)if((t=e.value)instanceof as&&t.isTreeExpanded&&0<t.Up().count)return!0;return!1},zo.prototype.expandTree=function(e){void 0===e&&(e=null);var t=this.diagram;try{t.Aa("Expand Tree"),t.animationManager.Ri("Expand Tree");var i=new gt;if(null===e||e.isTreeExpanded){if(null===e)for(var r=t.selection.iterator;r.next();){var c=r.value;c instanceof as&&!c.isTreeExpanded&&(c.expandTree(),i.add(c))}}else e.expandTree(),i.add(e);t.aa("TreeExpanded",i)}finally{t.Za("Expand Tree")}},zo.prototype.canExpandTree=function(e){void 0===e&&(e=null);var t=this.diagram;if(t.isReadOnly)return!1;if(null!==e){if(!(e instanceof as)||e.isTreeExpanded)return!1;if(0<e.Up().count)return!0}else for(e=t.selection.iterator;e.next();)if((t=e.value)instanceof as&&!t.isTreeExpanded&&0<t.Up().count)return!0;return!1},zo.prototype.groupSelection=function(){var e=this.diagram,t=e.model;if(t.dk()){var i=this.archetypeGroupData;if(null!==i){var r=null;try{e.currentCursor="wait",e.Aa("Group"),e.aa("ChangingSelection",e.selection);for(var c=new gt,h=e.selection.iterator;h.next();){var v=h.value;v.Lb()&&v.canGroup()&&c.add(v)}for(var W=new gt,X=c.iterator;X.next();){var Z=X.value;h=!1;for(var ge=c.iterator;ge.next();)if(Z.Vd(ge.value)){h=!0;break}h||W.add(Z)}if(0<W.count){var ye=W.first().containingGroup;if(null!==ye)for(;null!==ye;){c=!1;for(var We=W.iterator;We.next();)if(!We.value.Vd(ye)){c=!0;break}if(!c)break;ye=ye.containingGroup}if(i instanceof Fe)d1(i),null!==(r=i.copy())&&e.add(r);else if(t.kv(i)){var Ve=t.copyNodeData(i);x(Ve)&&(t.hf(Ve),r=e.Ei(Ve))}if(null!==r){null!==ye&&this.isValidMember(ye,r)&&(r.containingGroup=ye);for(var st=W.iterator;st.next();){var jt=st.value;this.isValidMember(r,jt)&&(jt.containingGroup=r)}e.select(r)}}e.aa("ChangedSelection",e.selection),e.aa("SelectionGrouped",r)}finally{e.Za("Group"),e.currentCursor=""}}}},zo.prototype.canGroupSelection=function(){var e=this.diagram;if(e.isReadOnly||e.isModelReadOnly||!e.allowInsert||!e.allowGroup||!e.model.dk()||null===this.archetypeGroupData)return!1;for(e=e.selection.iterator;e.next();){var t=e.value;if(t.Lb()&&t.canGroup())return!0}return!1},zo.prototype.isValidMember=function(e,t){if(null===t||e===t||t instanceof Zt)return!1;if(null!==e){if(e===t||e.Vd(t))return!1;var i=e.memberValidation;if(null!==i&&!i(e,t)||null===e.data&&null!==t.data||null!==e.data&&null===t.data)return!1}return null===(i=this.memberValidation)||i(e,t)},zo.prototype.ungroupSelection=function(e){void 0===e&&(e=null);var t=this.diagram,i=t.model;if(i.dk())try{t.currentCursor="wait",t.Aa("Ungroup"),t.aa("ChangingSelection",t.selection);var r=new gt;if(null!==e)r.add(e);else for(var c=t.selection.iterator;c.next();){var h=c.value;h instanceof Fe&&h.canUngroup()&&r.add(h)}var v=new gt;if(0<r.count){t.Ls();for(var W=r.iterator;W.next();){var X=W.value;X.expandSubGraph();var Z=X.containingGroup,ge=null!==Z&&null!==Z.data?i.pa(Z.data):void 0;v.addAll(X.memberParts);for(var ye=v.iterator;ye.next();){var We=ye.value;if(We.isSelected=!0,!(We instanceof Zt)){var Ve=We.data;null!==Ve?i.ut(Ve,ge):We.containingGroup=Z}}t.remove(X)}}t.aa("ChangedSelection",t.selection),t.aa("SelectionUngrouped",r,v)}finally{t.Za("Ungroup"),t.currentCursor=""}},zo.prototype.canUngroupSelection=function(e){void 0===e&&(e=null);var t=this.diagram;if(t.isReadOnly||t.isModelReadOnly||!t.allowDelete||!t.allowUngroup||!t.model.dk())return!1;if(null!==e){if(!(e instanceof Fe))return!1;if(e.canUngroup())return!0}else for(e=t.selection.iterator;e.next();)if((t=e.value)instanceof Fe&&t.canUngroup())return!0;return!1},zo.prototype.addTopLevelParts=function(e,t){var i=!0;for(e=Vo(e).iterator;e.next();){var r=e.value;null!==r.containingGroup&&(!t||this.isValidMember(null,r)?r.containingGroup=null:i=!1)}return i},zo.prototype.collapseSubGraph=function(e){void 0===e&&(e=null);var t=this.diagram;try{t.Aa("Collapse SubGraph"),t.animationManager.Ri("Collapse SubGraph");var i=new gt;if(null!==e&&e.isSubGraphExpanded)e.collapseSubGraph(),i.add(e);else if(null===e)for(var r=t.selection.iterator;r.next();){var c=r.value;c instanceof Fe&&c.isSubGraphExpanded&&(c.collapseSubGraph(),i.add(c))}t.aa("SubGraphCollapsed",i)}finally{t.Za("Collapse SubGraph")}},zo.prototype.canCollapseSubGraph=function(e){void 0===e&&(e=null);var t=this.diagram;if(t.isReadOnly)return!1;if(null!==e)return!!(e instanceof Fe&&e.isSubGraphExpanded);for(e=t.selection.iterator;e.next();)if((t=e.value)instanceof Fe&&t.isSubGraphExpanded)return!0;return!1},zo.prototype.expandSubGraph=function(e){void 0===e&&(e=null);var t=this.diagram;try{t.Aa("Expand SubGraph"),t.animationManager.Ri("Expand SubGraph");var i=new gt;if(null===e||e.isSubGraphExpanded){if(null===e)for(var r=t.selection.iterator;r.next();){var c=r.value;c instanceof Fe&&!c.isSubGraphExpanded&&(c.expandSubGraph(),i.add(c))}}else e.expandSubGraph(),i.add(e);t.aa("SubGraphExpanded",i)}finally{t.Za("Expand SubGraph")}},zo.prototype.canExpandSubGraph=function(e){void 0===e&&(e=null);var t=this.diagram;if(t.isReadOnly)return!1;if(null!==e)return e instanceof Fe&&!e.isSubGraphExpanded;for(e=t.selection.iterator;e.next();)if((t=e.value)instanceof Fe&&!t.isSubGraphExpanded)return!0;return!1},zo.prototype.editTextBlock=function(e){void 0===e&&(e=null);var t=this.diagram,i=t.toolManager.findTool("TextEditing");if(null!==i){if(null===e){e=null;for(var r=t.selection.iterator;r.next();){var c=r.value;if(c.canEdit()){e=c;break}}if(null===e)return;e=e.Yl(function(h){return h instanceof tt&&h.editable})}null!==e&&(t.currentTool=null,i.textBlock=e,t.currentTool=i)}},zo.prototype.canEditTextBlock=function(e){void 0===e&&(e=null);var t=this.diagram;if(t.isReadOnly||t.isModelReadOnly||!t.allowTextEdit||null===t.toolManager.findTool("TextEditing"))return!1;if(null!==e){if(!(e instanceof tt))return!1;if(null!==(e=e.part)&&e.canEdit())return!0}else for(t=t.selection.iterator;t.next();)if((e=t.value).canEdit()&&null!==(e=e.Yl(function(i){return i instanceof tt&&i.editable})))return!0;return!1},zo.prototype.showContextMenu=function(e){var t=this.diagram,i=t.toolManager.findTool("ContextMenu");if(null!==i&&(void 0===e&&(e=0<t.selection.count?t.selection.first():t),null!==(e=i.findObjectWithContextMenu(e)))){var r=t.lastInput,c=null;e instanceof As?c=e.ma(Jt):t.isMouseOverDiagram||(c=new Ze((c=t.viewportBounds).x+c.width/2,c.y+c.height/2)),null!==c&&(r.viewPoint=t.xt(c),r.documentPoint=c,r.left=!1,r.right=!0,r.up=!0),t.currentTool=i,Gr(i,!1,e)}},zo.prototype.canShowContextMenu=function(e){var t=this.diagram,i=t.toolManager.findTool("ContextMenu");return null!==i&&(void 0===e&&(e=0<t.selection.count?t.selection.first():t),null!==i.findObjectWithContextMenu(e))},zo.prototype.computeEffectiveCollection=function(e,t){var i=this.diagram,r=i.toolManager.findTool("Dragging"),c=i.currentTool===r;if(void 0===t&&(t=c?r.dragOptions:i.Lk),r=new Kt,null===e)return r;for(var h=e.iterator;h.next();)Vn(i,r,h.value,c,t);if(null!==i.draggedLink&&t.dragsLink)return r;for(h=e.iterator;h.next();)(e=h.value)instanceof Zt&&((null===(t=e.fromNode)||r.contains(t))&&(null===(t=e.toNode)||r.contains(t))||r.remove(e));return r},I.Object.defineProperties(zo.prototype,{diagram:{get:function(){return this.C}},copiesClipboardData:{get:function(){return this.u},set:function(e){this.u=e}},copiesConnectedLinks:{get:function(){return this.K},set:function(e){this.K=e}},deletesConnectedLinks:{get:function(){return this.Vb},set:function(e){this.Vb=e}},copiesTree:{get:function(){return this.Ma},set:function(e){this.Ma=e}},deletesTree:{get:function(){return this.Wb},set:function(e){this.Wb=e}},copiesParentKey:{get:function(){return this.La},set:function(e){this.La=e}},copiesGroupKey:{get:function(){return this.ba},set:function(e){this.ba=e}},archetypeGroupData:{get:function(){return this.l},set:function(e){this.l=e}},memberValidation:{get:function(){return this.ji},set:function(e){this.ji=e}},defaultScale:{get:function(){return this.diagram.defaultScale},set:function(e){this.diagram.defaultScale=e}},zoomFactor:{get:function(){return this.Vc},set:function(e){1<e||z("zoomFactor must be larger than 1.0, not: "+e),this.Vc=e}},scrollToPartPause:{get:function(){return this.Kc},set:function(e){this.Kc=e}}}),zo.className="CommandHandler",ql=function(){return new zo},As.prototype.cloneProtected=function(e){e.H=6144|this.H,e.lb=this.lb,e.Ua=this.Ua,e.ib=this.ib,e.dc=this.dc,e.Pm=this.Pm,e.sa.assign(this.sa),e.Nc=this.Nc.I(),e.Qf=this.Qf.I(),e.Pf=this.Pf.I(),e.Nf=this.Nf.copy(),e.Ca=this.Ca,e.zc=this.zc,e.ue=this.ue,e.Tg=this.Tg.I(),e.pc.assign(this.pc),e.vb.assign(this.vb),e.qc.assign(this.qc),e.Oo=this.Oo,null!==this.P&&(e.P=this.P.copy()),e.wb=this.wb.I(),e.wk=this.wk.I(),e.ap=this.ap,e.bp=this.bp,e.Cg=this.Cg,e.Zm=this.Zm,e.rp=this.rp,e.gp=this.gp,e.yl=this.yl,e.zl=this.zl.I(),e.Al=this.Al,e.jn=this.jn,null!==this.O&&(e.O=this.O.copy()),e.bb=this.bb,e.Dk=this.Dk,null!==this.Sh&&(e.Sh=j(this.Sh)),null!==this.kd&&(e.kd=this.kd.copy()),e.Cl=this.Cl},As.prototype.Qw=function(e){var t=this.Sh;if(B(t)){for(var i=0;i<t.length;i++)if(t[i]===e)return}else this.Sh=t=[];t.push(e)},As.prototype.mf=function(e){e.Po=null,e.Aj=null,e.s()},As.prototype.clone=function(){var e=new this.constructor;if(this.cloneProtected(e),null!==this.Sh)for(var t=0;t<this.Sh.length;t++){var i=this.Sh[t];e[i]=this[i]}return e},As.prototype.copy=function(){return this.clone()},(N=As.prototype).fb=function(e){e.classType===Zt?0===e.name.indexOf("Orient")?this.segmentOrientation=e:z("Unknown Link enum value for GraphObject.segmentOrientation property: "+e):e.classType===As&&(this.stretch=e)},N.toString=function(){return Q(this.constructor)+"#"+Je(this)},N.Hc=function(){if(null===this.P){var e=new vf;e.Lg=Cn,e.nh=Cn,e.Jg=10,e.lh=10,e.Kg=0,e.mh=0,this.P=e}},N.ab=function(e,t,i,r,c,h,v){var W=this.part;if(null!==W&&(W.nk(e,t,i,r,c,h,v),i===this&&e===tr&&(t0(this)&&w0(this,W,t),function Za(e,t,i,r,c){null!==e.animations&&-1!==e.animations.indexOf(i)&&(null===(t=t.diagram)||t.currentTool.isActive||(!1===(t=t.animationManager).isEnabled||t.isAnimating||t.isTicking||(t.zx(i),t.ye(e,i,r,c))))}(this,W,t,r,c)),this instanceof Vi&&i===W&&16777216&W.H&&null!==W.data))for(i=(e=this.Y.j).length,r=0;r<i;r++)(c=e[r])instanceof Vi&&Jd(c,function(X){null!==X.data&&16777216&X.H&&X.Ea(t)})},N.Qs=function(e){return this.Dk===e?this:null},N.g=function(e,t,i){this.ab(tr,e,this,t,i)},N.jx=function(e,t,i){if(!1===this.pickable)return!1;var r=this.naturalBounds;return t=e.Be(t),i?Di(e.x,e.y,0,0,0,r.height)<=t||Di(e.x,e.y,0,r.height,r.width,r.height)<=t||Di(e.x,e.y,r.width,r.height,r.width,0)<=t||Di(e.x,e.y,r.width,0,0,0)<=t:e.cd(0,0)<=t&&e.cd(0,r.height)<=t&&e.cd(r.width,0)<=t&&e.cd(r.width,r.height)<=t},N.Zd=function(){return!0},N.ea=function(e){var t=Ze.alloc();t.assign(e),this.transform.ta(t);var i=this.actualBounds;if(!i.o())return Ze.free(t),!1;var r=this.diagram;if(null!==r&&r.Qe){var c=r.bm("extraTouchThreshold"),h=r.bm("extraTouchArea"),v=h/2,W=this.naturalBounds,X=1/(r=this.Ce()*r.scale);if(W.width*r<c&&W.height*r<c)return e=Hn(i.x-v*X,i.y-v*X,i.width+h*X,i.height+h*X,t.x,t.y),Ze.free(t),e}return c=!1,(this instanceof Zo||this instanceof io?Hn(i.x-5,i.y-5,i.width+10,i.height+10,t.x,t.y):i.ea(t))&&(c=!(this.kd&&!this.kd.ea(t))&&(!!(null!==this.dc&&i.ea(t)||null!==this.ib&&this.qc.ea(e))||this.vh(e))),Ze.free(t),c},N.vh=function(e){var t=this.naturalBounds;return Hn(0,0,t.width,t.height,e.x,e.y)},N.lf=function(e){if(0===this.angle)return this.actualBounds.lf(e);var t=this.naturalBounds;t=sn.allocAt(0,0,t.width,t.height);var i=this.transform,r=!1,c=Ze.allocAt(e.x,e.y);return t.ea(i.Ud(c))&&(c.h(e.x,e.bottom),t.ea(i.Ud(c))&&(c.h(e.right,e.bottom),t.ea(i.Ud(c))&&(c.h(e.right,e.y),t.ea(i.Ud(c))&&(r=!0)))),Ze.free(c),sn.free(t),r},N.uh=function(e,t){if(void 0===t)return e.lf(this.actualBounds);var i=this.naturalBounds,r=!1,c=Ze.allocAt(0,0);return e.ea(t.ta(c))&&(c.h(0,i.height),e.ea(t.ta(c))&&(c.h(i.width,i.height),e.ea(t.ta(c))&&(c.h(i.width,0),e.ea(t.ta(c))&&(r=!0)))),Ze.free(c),r},N.Ic=function(e,t){if(void 0===t&&(t=this.transform,0===this.angle))return e.Ic(this.actualBounds);var i=this.naturalBounds,r=Ze.allocAt(0,0),c=Ze.allocAt(0,i.height),h=Ze.allocAt(i.width,i.height),v=Ze.allocAt(i.width,0),W=!1;if(e.ea(t.ta(r))||e.ea(t.ta(c))||e.ea(t.ta(h))||e.ea(t.ta(v)))W=!0;else{i=sn.allocAt(0,0,i.width,i.height);var X=Ze.allocAt(e.x,e.y);i.ea(t.Ud(X))?W=!0:(X.h(e.x,e.bottom),i.ea(t.Ud(X))?W=!0:(X.h(e.right,e.bottom),i.ea(t.Ud(X))?W=!0:(X.h(e.right,e.y),i.ea(t.Ud(X))&&(W=!0)))),Ze.free(X),sn.free(i),!W&&(Yn.$s(e,r,c)||Yn.$s(e,c,h)||Yn.$s(e,h,v)||Yn.$s(e,v,r))&&(W=!0)}return Ze.free(r),Ze.free(c),Ze.free(h),Ze.free(v),W},N.ma=function(e,t){if(void 0===t&&(t=new Ze),e instanceof Si){var i=this.naturalBounds;t.h(e.x*i.width+e.offsetX,e.y*i.height+e.offsetY)}else t.set(e);return this.rd.ta(t),t},N.Vp=function(e){void 0===e&&(e=new sn);var t=this.naturalBounds,i=this.rd,r=Ze.allocAt(0,0).transform(i);return e.h(r.x,r.y,0,0),r.h(t.width,0).transform(i),Nn(e,r.x,r.y,0,0),r.h(t.width,t.height).transform(i),Nn(e,r.x,r.y,0,0),r.h(0,t.height).transform(i),Nn(e,r.x,r.y,0,0),Ze.free(r),e},N.Ji=function(){var e=this.rd;return 1===e.m11&&0===e.m12?e=0:0>(e=180*Math.atan2(e.m12,e.m11)/Math.PI)&&(e+=360),e},N.Ce=function(){if(!(4096&this.H))return this.Sk;var e=this.Ca;return null!==this.panel?e*this.panel.Ce():e},N.Ws=function(e,t){return void 0===t&&(t=new Ze),t.assign(e),this.rd.Ud(t),t},N.Tc=function(e,t,i){return this.bk(e.x,e.y,t.x,t.y,i)},N.bk=function(e,t,i,r,c){var h=this.transform,v=1/(h.m11*h.m22-h.m12*h.m21),W=h.m22*v,X=-h.m12*v,Z=-h.m21*v,ge=h.m11*v,ye=v*(h.m21*h.dy-h.m22*h.dx),We=v*(h.m12*h.dx-h.m11*h.dy);return null!==this.areaBackground?Yn.Tc((h=this.actualBounds).left,h.top,h.right,h.bottom,e,t,i,r,c):(v=e*W+t*Z+ye,e=e*X+t*ge+We,t=i*W+r*Z+ye,i=i*X+r*ge+We,c.h(0,0),i=Yn.Tc(0,0,(r=this.naturalBounds).width,r.height,v,e,t,i,c),c.transform(h),i)},As.prototype.measure=function(e,t,i,r){if(!1!==ic(this)){var c=this.Tg,h=c.right+c.left;c=c.top+c.bottom,e=Math.max(e-h,0),t=Math.max(t-c,0),i=Math.max((i||0)-h,0),r=Math.max((r||0)-c,0),c=this.desiredSize;var v=0;this instanceof io&&(v=this.strokeWidth),90===(h=this.angle)||270===h?(e=isFinite(c.height)?c.height+v:e,t=isFinite(c.width)?c.width+v:t):(e=isFinite(c.width)?c.width+v:e,t=isFinite(c.height)?c.height+v:t),c=i||0,v=r||0;var W=this instanceof Vi;switch(Rc(this,!0)){case Ns:v=c=0,W&&(t=e=1/0);break;case Kr:isFinite(e)&&e>i&&(c=e),isFinite(t)&&t>r&&(v=t);break;case Hs:isFinite(e)&&e>i&&(c=e),v=0,W&&(t=1/0);break;case ua:isFinite(t)&&t>r&&(v=t),c=0,W&&(e=1/0)}var X=this.minSize;c>(W=this.maxSize).width&&X.width<W.width&&(c=W.width),v>W.height&&X.height<W.height&&(v=W.height),i=Math.max(c/this.scale,X.width),r=Math.max(v/this.scale,X.height),W.width<i&&(i=Math.min(X.width,i)),W.height<r&&(r=Math.min(X.height,r)),e=Math.min(W.width,e),t=Math.min(W.height,t),e=Math.max(i,e),t=Math.max(r,t),(90===h||270===h)&&(h=e,e=t,t=h,h=i,i=r,r=h),this.pc.ha(),this.hm(e,t,i,r),this.pc.freeze(),this.pc.o()||z("Non-real measuredBounds has been set. Object "+this+", measuredBounds: "+this.pc.toString()),Q0(this,!1)}},As.prototype.hm=function(){},As.prototype.sg=function(){return!1},As.prototype.arrange=function(e,t,i,r,c){this.fl();var h=sn.alloc();h.assign(this.vb),this.vb.ha(),!1===I1(this)?this.vb.h(e,t,i,r):this.th(e,t,i,r),this.vb.freeze(),this.kd=void 0===c?null:c,i=!1,void 0!==c?i=!0:(null===(c=this.panel)||c.type!==Vi.TableRow&&c.type!==Vi.TableColumn||(c=c.panel),null!==c&&(c=c.qc,r=this.measuredBounds,null!==this.areaBackground&&(r=this.vb),i=t+r.height,r=e+r.width,i=!(0<=e+.05&&r<=c.width+.05&&0<=t+.05&&i<=c.height+.05),this instanceof tt&&(this.Mr>(e=this.naturalBounds).height||this.metrics.maxLineWidth>e.width))&&(i=!0)),this.H=i?256|this.H:-257&this.H,this.vb.o()||z("Non-real actualBounds has been set. Object "+this+", actualBounds: "+this.vb.toString()),this.lt(h,this.vb),uu(this,!1),sn.free(h)},(N=As.prototype).th=function(){},N.lt=function(e,t){var i=this.part;null!==i&&null!==i.diagram&&(i.selectionObject!==this&&i.resizeObject!==this&&i.rotateObject!==this||bm(i,!0),this.R(),Tn(e,t)||(i.yh(),this.Do(i)))},N.Do=function(e){null!==this.portId&&(bm(e,!0),e instanceof as&&Mm(e,this))},N.hc=function(e,t){if(this.visible){var i=this instanceof Vi&&(this.type===Vi.TableRow||this.type===Vi.TableColumn),r=this.vb;if(i||0!==r.width&&0!==r.height&&!isNaN(r.x)&&!isNaN(r.y)){var c=this.opacity;if(0!==c){var h=1;if(1!==c&&(e.globalAlpha=(h=e.globalAlpha)*c),!this.gx(e,t))if(i)_l(this,e,t);else{this instanceof Zt&&this.gk(!1),i=this.transform;var v=this.panel;4096&this.H&&Lu(this);var W=this.part,X=!1,Z=0;if(W&&t.De("drawShadows")&&(X=W.isShadowed)){var ge=W.si;Z=Math.max(ge.y,ge.x)*t.scale*t.Nb}if(!(ge=t.mj)){var Fn,ye=this.naturalBounds,We=(ge=this.Dh).m11,Ve=ge.m21,st=ge.dx,jt=ge.m12,nn=ge.m22,on=ge.dy,Gn=Fn=0;ge=Fn*We+Gn*Ve+st;var hi=Fn*jt+Gn*nn+on,gi=(Fn=ye.width+Z)*We+(Gn=0)*Ve+st;Fn=Fn*jt+Gn*nn+on,ge=Math.min(ge,gi),hi=Math.min(hi,Fn);var xi=Math.max(ge,gi)-ge,ns=Math.max(hi,Fn)-hi;gi=(Fn=ye.width+Z)*We+(Gn=ye.height+Z)*Ve+st,Fn=Fn*jt+Gn*nn+on,ge=Math.min(ge,gi),hi=Math.min(hi,Fn),xi=Math.max(ge+xi,gi)-ge,ns=Math.max(hi+ns,Fn)-hi,gi=(Fn=0)*We+(Gn=ye.height+Z)*Ve+st,Fn=Fn*jt+Gn*nn+on,ge=Math.min(ge,gi),hi=Math.min(hi,Fn),xi=Math.max(ge+xi,gi)-ge,ns=Math.max(hi+ns,Fn)-hi,We=(Z=t.viewportBounds).y,ge=!(ge>Z.$+(ye=Z.x)||ye>xi+ge||hi>Z.Z+We||We>ns+hi)}if(ge){if(ge=!!(256&this.H),e.clipInsteadOfFill&&(ge=!1),this instanceof tt&&(e.font=this.font),ge){if(hi=v.Zd()?v.naturalBounds:v.actualBounds,null!==this.kd?(xi=(ye=this.kd).x,ns=ye.y,Z=ye.width,ye=ye.height):(xi=Math.max(r.x,hi.x),ns=Math.max(r.y,hi.y),Z=Math.min(r.right,hi.right)-xi,ye=Math.min(r.bottom,hi.bottom)-ns),xi>r.width+r.x||r.x>hi.width+hi.x)return void(1!==c&&(e.globalAlpha=h));e.save(),e.beginPath(),e.rect(xi,ns,Z,ye),e.clip()}if(this.sg()){if(!W.isVisible())return void(1!==c&&(e.globalAlpha=h));X&&(e.Nv((hi=W.si).x*t.scale*t.Nb,hi.y*t.scale*t.Nb,W.Od),Fu(e),e.shadowColor=W.Ij)}!0===this.shadowVisible?Fu(e):!1===this.shadowVisible&&pd(e),W=this.naturalBounds,null!==this.dc&&(vo(this,e,this.dc,!0,!0,W,r),this.dc instanceof cr&&this.dc.type===_0?(e.beginPath(),e.rect(r.x,r.y,r.width,r.height),e.Td(this.dc)):e.fillRect(r.x,r.y,r.width,r.height)),e.transform(i.m11,i.m12,i.m21,i.m22,i.dx,i.dy),X&&(null!==v&&512&v.H||null!==v&&(v.type===Vi.Auto||v.type===Vi.Spot)&&v.zb()!==this)&&null===this.shadowVisible&&pd(e),null!==this.ib&&(xi=hi=0,ns=(Z=this.naturalBounds).width,Z=Z.height,ye=0,this instanceof io&&(hi=(Z=this.qa.bounds).x,xi=Z.y,ns=Z.width,Z=Z.height,ye=this.strokeWidth),vo(this,e,this.ib,!0,!1,W,r),this.ib instanceof cr&&this.ib.type===_0?(e.beginPath(),e.rect(hi-ye/2,xi-ye/2,ns+ye,Z+ye),e.Td(this.ib)):e.fillRect(hi-ye/2,xi-ye/2,ns+ye,Z+ye)),X&&(null!==this.ib||null!==this.dc||null!==v&&512&v.H||null!==v&&(v.type===Vi.Auto||v.type===Vi.Spot)&&v.zb()!==this)?(ud(this,!0),null===this.shadowVisible&&pd(e)):ud(this,!1),this.Ci(e,t),X&&512&this.H&&Fu(e),this.sg()&&X&&pd(e),ge?(e.restore(),e.Rc(this instanceof Vi)):i.ct()||e.transform(i.m22*(t=1/(i.m11*i.m22-i.m12*i.m21)),-i.m12*t,-i.m21*t,i.m11*t,t*(i.m21*i.dy-i.m22*i.dx),t*(i.m12*i.dx-i.m11*i.dy))}}1!==c&&(e.globalAlpha=h)}}}},N.gx=function(){return!1},N.Ci=function(){},N.qg=function(e){if(e instanceof Vi)e:{if(this!==e&&null!==e)for(var t=this.panel;null!==t;){if(t===e){e=!0;break e}t=t.panel}e=!1}else e=!1;return e},N.rf=function(){if(!this.visible)return!1;var e=this.panel;return null===e||e.rf()},N.rg=function(){for(var e=this instanceof Vi?this:this.panel;null!==e&&e.isEnabled;)e=e.panel;return null===e},N.s=function(e){if(void 0===e&&(e=!1),!0!==ic(this)){Q0(this,!0),uu(this,!0);var t=this.panel;null===t||e||t.s()}},N.dm=function(){!0!==ic(this)&&(Q0(this,!0),uu(this,!0))},N.fl=function(){!(2048&this.H)&&(Hu(this,!0),eu(this,!0))},N.iv=function(){eu(this,!0)},N.R=function(){var e=this.part;null!==e&&e.R()},N.Si=function(e){this.ag=e},N.Lv=function(){},N.Kv=function(e){return this.sa=e,tl(this),!0},N.wt=function(e,t){this.sa.h(e,t),this.fl()},N.bind=function(e){e.Qd=this;var t=this.Gi();null!==t&&Qd(t)&&z("Cannot add a Binding to a template that has already been copied: "+e),null===this.bb&&(this.bb=new gt),this.bb.add(e)},N.Gi=function(){for(var e=this instanceof Vi?this:this.panel;null!==e;){if(null!==e.Qh)return e;e=e.panel}return null},N.Mv=function(e){Js(this,e)},I.Object.defineProperties(As.prototype,{shadowVisible:{get:function(){return this.Cl},set:function(e){var t=this.Cl;t!==e&&(this.Cl=e,this.R(),this.g("shadowVisible",t,e))}},enabledChanged:{get:function(){return null!==this.O?this.O.Bn:null},set:function(e){Qa(this);var t=this.O.Bn;t!==e&&(this.O.Bn=e,this.g("enabledChanged",t,e))}},segmentOrientation:{get:function(){return this.Al},set:function(e){var t=this.Al;t!==e&&(this.Al=e,this.s(),this.g("segmentOrientation",t,e),e===Ya&&(this.angle=0))}},segmentIndex:{get:function(){return this.gp},set:function(e){e=Math.round(e);var t=this.gp;t!==e&&(this.gp=e,this.s(),this.g("segmentIndex",t,e))}},segmentFraction:{get:function(){return this.yl},set:function(e){isNaN(e)||0>e?e=0:1<e&&(e=1);var t=this.yl;t!==e&&(this.yl=e,this.s(),this.g("segmentFraction",t,e))}},segmentOffset:{get:function(){return this.zl},set:function(e){var t=this.zl;t.A(e)||(this.zl=e=e.I(),this.s(),this.g("segmentOffset",t,e))}},stretch:{get:function(){return this.ue},set:function(e){var t=this.ue;t!==e&&(this.ue=e,this.s(),this.g("stretch",t,e))}},name:{get:function(){return this.Ua},set:function(e){var t=this.Ua;t!==e&&(this.Ua=e,null!==this.part&&(this.part.vj=null),this.g("name",t,e))}},opacity:{get:function(){return this.lb},set:function(e){var t=this.lb;t!==e&&((0>e||1<e)&&U(e,"0 <= value <= 1",As,"opacity"),this.lb=e,this.g("opacity",t,e),t=this.part,null!==(e=this.diagram)&&null!==t&&e.R(_d(t,t.actualBounds)))}},visible:{get:function(){return!!(1&this.H)},set:function(e){var t=!!(1&this.H);t!==e&&(this.H^=1,this.g("visible",t,e),null!==(t=this.panel)?t.s():this.sg()&&this.Mb(e),this.R(),Lc(this))}},pickable:{get:function(){return!!(2&this.H)},set:function(e){var t=!!(2&this.H);t!==e&&(this.H^=2,this.g("pickable",t,e))}},fromLinkableDuplicates:{get:function(){return!!(4&this.H)},set:function(e){var t=!!(4&this.H);t!==e&&(this.H^=4,this.g("fromLinkableDuplicates",t,e))}},fromLinkableSelfNode:{get:function(){return!!(8&this.H)},set:function(e){var t=!!(8&this.H);t!==e&&(this.H^=8,this.g("fromLinkableSelfNode",t,e))}},toLinkableDuplicates:{get:function(){return!!(16&this.H)},set:function(e){var t=!!(16&this.H);t!==e&&(this.H^=16,this.g("toLinkableDuplicates",t,e))}},toLinkableSelfNode:{get:function(){return!!(32&this.H)},set:function(e){var t=!!(32&this.H);t!==e&&(this.H^=32,this.g("toLinkableSelfNode",t,e))}},isPanelMain:{get:function(){return!!(64&this.H)},set:function(e){var t=!!(64&this.H);t!==e&&(this.H^=64,this.s(),this.g("isPanelMain",t,e))}},isActionable:{get:function(){return!!(128&this.H)},set:function(e){var t=!!(128&this.H);t!==e&&(this.H^=128,this.g("isActionable",t,e))}},areaBackground:{get:function(){return this.dc},set:function(e){var t=this.dc;t!==e&&(e instanceof cr&&e.freeze(),this.dc=e,this.R(),this.g("areaBackground",t,e))}},background:{get:function(){return this.ib},set:function(e){var t=this.ib;t!==e&&(e instanceof cr&&e.freeze(),this.ib=e,this.R(),this.g("background",t,e))}},part:{get:function(){if(this.sg())return this;if(null!==this.Aj)return this.Aj;var e;for(e=this.panel;e;){if(e instanceof Os)return this.Aj=e;e=e.panel}return null}},svg:{get:function(){return this.As},set:function(e){this.As=e}},panel:{get:function(){return this.ag}},layer:{get:function(){var e=this.part;return null!==e?e.layer:null}},diagram:{get:function(){var e=this.part;return null!==e?e.diagram:null}},position:{get:function(){return this.sa},set:function(e){var t=e.x,i=e.y,r=this.sa,c=r.x,h=r.y;(c===t||isNaN(c)&&isNaN(t))&&(h===i||isNaN(h)&&isNaN(i))?this.Lv():(e=e.I(),this.Kv(e,r)&&this.g("position",r,e))}},actualBounds:{get:function(){return this.vb}},scale:{get:function(){return this.Ca},set:function(e){var t=this.Ca;t!==e&&(0>=e&&z("GraphObject.scale for "+this+" must be greater than zero, not: "+e),this.Ca=e,this.s(),this.g("scale",t,e))}},angle:{get:function(){return this.zc},set:function(e){var t=this.zc;t!==e&&(0>(e%=360)&&(e+=360),t!==e&&(this.zc=e,Lc(this),this.s(),this.g("angle",t,e)))}},desiredSize:{get:function(){return this.Nc},set:function(e){var t=e.width,i=e.height,r=this.Nc,c=r.width,h=r.height;(c===t||isNaN(c)&&isNaN(t))&&(h===i||isNaN(h)&&isNaN(i))||(this.Nc=e=e.I(),this.s(),this instanceof io&&this.bc(),this.g("desiredSize",r,e),t0(this)&&null!==(e=this.part)&&(w0(this,e,"width"),w0(this,e,"height")))}},width:{get:function(){return this.Nc.width},set:function(e){var t=this.Nc.width;t===e||isNaN(t)&&isNaN(e)||(t=this.Nc,this.Nc=e=new Ue(e,this.Nc.height).freeze(),this.s(),this instanceof io&&this.bc(),this.g("desiredSize",t,e),t0(this)&&null!==(e=this.part)&&w0(this,e,"width"))}},height:{get:function(){return this.Nc.height},set:function(e){var t=this.Nc.height;t===e||isNaN(t)&&isNaN(e)||(t=this.Nc,this.Nc=e=new Ue(this.Nc.width,e).freeze(),this.s(),this instanceof io&&this.bc(),this.g("desiredSize",t,e),t0(this)&&null!==(e=this.part)&&w0(this,e,"height"))}},minSize:{get:function(){return this.Qf},set:function(e){var t=this.Qf;t.A(e)||(e=e.copy(),isNaN(e.width)&&(e.width=0),isNaN(e.height)&&(e.height=0),e.freeze(),this.Qf=e,this.s(),this.g("minSize",t,e))}},maxSize:{get:function(){return this.Pf},set:function(e){var t=this.Pf;t.A(e)||(e=e.copy(),isNaN(e.width)&&(e.width=1/0),isNaN(e.height)&&(e.height=1/0),e.freeze(),this.Pf=e,this.s(),this.g("maxSize",t,e))}},measuredBounds:{get:function(){return this.pc}},naturalBounds:{get:function(){return this.qc}},margin:{get:function(){return this.Tg},set:function(e){"number"==typeof e&&(e=new ei(e));var t=this.Tg;t.A(e)||(this.Tg=e=e.I(),this.s(),this.g("margin",t,e))}},transform:{get:function(){return 2048&this.H&&Lu(this),this.tb}},rd:{get:function(){return 4096&this.H&&Lu(this),this.Dh}},animations:{get:function(){return this.Pm},set:function(e){var t=this.Pm;t!==e&&(this.Pm=e,this.g("animations",t,e))}},alignment:{get:function(){return this.wb},set:function(e){var t=this.wb;t.A(e)||(e.jc()&&!e.Kb()&&z("GraphObject.alignment for "+this+" must be a real Spot or Spot.Default, not: "+e),this.wb=e=e.I(),tl(this),this.g("alignment",t,e))}},column:{get:function(){return this.Cg},set:function(e){e=Math.round(e);var t=this.Cg;t!==e&&(0>e&&U(e,">= 0",As,"column"),this.Cg=e,this.s(),this.g("column",t,e))}},columnSpan:{get:function(){return this.Zm},set:function(e){e=Math.round(e);var t=this.Zm;t!==e&&(1>e&&U(e,">= 1",As,"columnSpan"),this.Zm=e,this.s(),this.g("columnSpan",t,e))}},row:{get:function(){return this.ap},set:function(e){e=Math.round(e);var t=this.ap;t!==e&&(0>e&&U(e,">= 0",As,"row"),this.ap=e,this.s(),this.g("row",t,e))}},rowSpan:{get:function(){return this.bp},set:function(e){e=Math.round(e);var t=this.bp;t!==e&&(1>e&&U(e,">= 1",As,"rowSpan"),this.bp=e,this.s(),this.g("rowSpan",t,e))}},spanAllocation:{get:function(){return this.rp},set:function(e){var t=this.rp;t!==e&&(this.rp=e,this.s(),this.g("spanAllocation",t,e))}},alignmentFocus:{get:function(){return this.wk},set:function(e){var t=this.wk;t.A(e)||(this.wk=e=e.I(),this.s(),this.g("alignmentFocus",t,e))}},portId:{get:function(){return this.Oo},set:function(e){var t=this.Oo;if(t!==e){var i=this.part;null===i||i instanceof as||(z("Cannot set portID on a Link: "+e),i=null),null!==t&&null!==i&&qe(i,this),this.Oo=e,null!==e&&null!==i&&(i.xh=!0,Om(i,this)),this.g("portId",t,e)}}},toSpot:{get:function(){return null!==this.P?this.P.nh:Cn},set:function(e){this.Hc();var t=this.P.nh;t.A(e)||(e=e.I(),this.P.nh=e,this.g("toSpot",t,e),wu(this))}},toEndSegmentLength:{get:function(){return null!==this.P?this.P.lh:10},set:function(e){this.Hc();var t=this.P.lh;t!==e&&(0>e&&U(e,">= 0",As,"toEndSegmentLength"),this.P.lh=e,this.g("toEndSegmentLength",t,e),wu(this))}},toShortLength:{get:function(){return null!==this.P?this.P.mh:0},set:function(e){this.Hc();var t=this.P.mh;t!==e&&(this.P.mh=e,this.g("toShortLength",t,e),wu(this))}},toLinkable:{get:function(){return null!==this.P?this.P.zp:null},set:function(e){this.Hc();var t=this.P.zp;t!==e&&(this.P.zp=e,this.g("toLinkable",t,e))}},toMaxLinks:{get:function(){return null!==this.P?this.P.Ap:1/0},set:function(e){this.Hc();var t=this.P.Ap;t!==e&&(0>e&&U(e,">= 0",As,"toMaxLinks"),this.P.Ap=e,this.g("toMaxLinks",t,e))}},fromSpot:{get:function(){return null!==this.P?this.P.Lg:Cn},set:function(e){this.Hc();var t=this.P.Lg;t.A(e)||(e=e.I(),this.P.Lg=e,this.g("fromSpot",t,e),wu(this))}},fromEndSegmentLength:{get:function(){return null!==this.P?this.P.Jg:10},set:function(e){this.Hc();var t=this.P.Jg;t!==e&&(0>e&&U(e,">= 0",As,"fromEndSegmentLength"),this.P.Jg=e,this.g("fromEndSegmentLength",t,e),wu(this))}},fromShortLength:{get:function(){return null!==this.P?this.P.Kg:0},set:function(e){this.Hc();var t=this.P.Kg;t!==e&&(this.P.Kg=e,this.g("fromShortLength",t,e),wu(this))}},fromLinkable:{get:function(){return null!==this.P?this.P.Dn:null},set:function(e){this.Hc();var t=this.P.Dn;t!==e&&(this.P.Dn=e,this.g("fromLinkable",t,e))}},fromMaxLinks:{get:function(){return null!==this.P?this.P.En:1/0},set:function(e){this.Hc();var t=this.P.En;t!==e&&(0>e&&U(e,">= 0",As,"fromMaxLinks"),this.P.En=e,this.g("fromMaxLinks",t,e))}},cursor:{get:function(){return this.jn},set:function(e){var t=this.jn;t!==e&&(this.jn=e,this.g("cursor",t,e))}},click:{get:function(){return null!==this.O?this.O.Af:null},set:function(e){Qa(this);var t=this.O.Af;t!==e&&(this.O.Af=e,this.g("click",t,e))}},doubleClick:{get:function(){return null!==this.O?this.O.Ff:null},set:function(e){Qa(this);var t=this.O.Ff;t!==e&&(this.O.Ff=e,this.g("doubleClick",t,e))}},contextClick:{get:function(){return null!==this.O?this.O.Bf:null},set:function(e){Qa(this);var t=this.O.Bf;t!==e&&(this.O.Bf=e,this.g("contextClick",t,e))}},mouseEnter:{get:function(){return null!==this.O?this.O.Sf:null},set:function(e){Qa(this);var t=this.O.Sf;t!==e&&(this.O.Sf=e,this.g("mouseEnter",t,e))}},mouseLeave:{get:function(){return null!==this.O?this.O.Vf:null},set:function(e){Qa(this);var t=this.O.Vf;t!==e&&(this.O.Vf=e,this.g("mouseLeave",t,e))}},mouseOver:{get:function(){return null!==this.O?this.O.Wf:null},set:function(e){Qa(this);var t=this.O.Wf;t!==e&&(this.O.Wf=e,this.g("mouseOver",t,e))}},mouseHover:{get:function(){return null!==this.O?this.O.Uf:null},set:function(e){Qa(this);var t=this.O.Uf;t!==e&&(this.O.Uf=e,this.g("mouseHover",t,e))}},mouseHold:{get:function(){return null!==this.O?this.O.Tf:null},set:function(e){Qa(this);var t=this.O.Tf;t!==e&&(this.O.Tf=e,this.g("mouseHold",t,e))}},mouseDragEnter:{get:function(){return null!==this.O?this.O.to:null},set:function(e){Qa(this);var t=this.O.to;t!==e&&(this.O.to=e,this.g("mouseDragEnter",t,e))}},mouseDragLeave:{get:function(){return null!==this.O?this.O.uo:null},set:function(e){Qa(this);var t=this.O.uo;t!==e&&(this.O.uo=e,this.g("mouseDragLeave",t,e))}},mouseDrop:{get:function(){return null!==this.O?this.O.Rf:null},set:function(e){Qa(this);var t=this.O.Rf;t!==e&&(this.O.Rf=e,this.g("mouseDrop",t,e))}},actionDown:{get:function(){return null!==this.O?this.O.Im:null},set:function(e){Qa(this);var t=this.O.Im;t!==e&&(this.O.Im=e,this.g("actionDown",t,e))}},actionMove:{get:function(){return null!==this.O?this.O.Jm:null},set:function(e){Qa(this);var t=this.O.Jm;t!==e&&(this.O.Jm=e,this.g("actionMove",t,e))}},actionUp:{get:function(){return null!==this.O?this.O.Km:null},set:function(e){Qa(this);var t=this.O.Km;t!==e&&(this.O.Km=e,this.g("actionUp",t,e))}},actionCancel:{get:function(){return null!==this.O?this.O.Hm:null},set:function(e){Qa(this);var t=this.O.Hm;t!==e&&(this.O.Hm=e,this.g("actionCancel",t,e))}},toolTip:{get:function(){return null!==this.O?this.O.gg:null},set:function(e){Qa(this);var t=this.O.gg;t!==e&&(this.O.gg=e,this.g("toolTip",t,e))}},contextMenu:{get:function(){return null!==this.O?this.O.Cf:null},set:function(e){Qa(this);var t=this.O.Cf;t!==e&&(this.O.Cf=e,this.g("contextMenu",t,e))}}}),As.prototype.setProperties=As.prototype.Mv,As.prototype.findTemplateBinder=As.prototype.Gi,As.prototype.bind=As.prototype.bind,As.prototype.isEnabledObject=As.prototype.rg,As.prototype.isVisibleObject=As.prototype.rf,As.prototype.isContainedBy=As.prototype.qg,As.prototype.getNearestIntersectionPoint=As.prototype.Tc,As.prototype.getLocalPoint=As.prototype.Ws,As.prototype.getDocumentScale=As.prototype.Ce,As.prototype.getDocumentAngle=As.prototype.Ji,As.prototype.getDocumentBounds=As.prototype.Vp,As.prototype.getDocumentPoint=As.prototype.ma,As.prototype.intersectsRect=As.prototype.Ic,As.prototype.containedInRect=As.prototype.uh,As.prototype.containsRect=As.prototype.lf,As.prototype.containsPoint=As.prototype.ea,As.prototype.raiseChanged=As.prototype.g,As.prototype.raiseChangedEvent=As.prototype.ab,As.prototype.addCopyProperty=As.prototype.Qw;var Vd=null;function Fh(){this.Bn=this.Cf=this.gg=this.Hm=this.Km=this.Jm=this.Im=this.Rf=this.uo=this.to=this.Tf=this.Uf=this.Wf=this.Vf=this.Sf=this.Bf=this.Ff=this.Af=null}function dd(){this.Oa=[1,0,0,1,0,0]}function ih(e){this.type=e,this.r2=this.y2=this.x2=this.r1=this.y1=this.x1=0,this.Yw=[],this.pattern=null}function Nu(e,t){this.ownerDocument=e=void 0===t?o.document:t,this.Fz="http://www.w3.org/2000/svg",void 0!==e&&(this.Ga=this.ub("svg",{width:"1px",height:"1px",viewBox:"0 0 1 1"}),this.Ga.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),this.Ga.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink")),this.Qp=null,this.context=new Yu(this)}function Yu(e){this.rk=e,this.svg=e.Ga,this.stack=[],this.wc=[],this.fillStyle="#000000",this.font="10px sans-serif",this.globalAlpha=1,this.lineCap="butt",this.lineDashOffset=0,this.lineJoin="miter",this.lineWidth=1,this.miterLimit=10,this.shadowBlur=0,this.shadowColor="rgba(0, 0, 0, 0)",this.shadowOffsetY=this.shadowOffsetX=0,this.strokeStyle="#000000",this.textAlign="start",this.clipInsteadOfFill=!1,this.Od=this.np=this.mp=0,this.aq=null,this.path=[],this.cu=!1,this.gh=null,this.hh=0,this.Sd=new dd,xu(this,1,0,0,1,0,0);var t=Qe++,i=this.ub("clipPath",{id:"mainClip"+t});i.appendChild(this.ub("rect",{x:0,y:0,width:e.width,height:e.height})),this.gu=i,this.rk.Ga.appendChild(i),this.wc[0].setAttributeNS(null,"clip-path","url(#mainClip"+t+")"),this.Hz={}}function Xu(e,t,i,r,c){1!==e.globalAlpha&&(i.opacity=e.globalAlpha),"fill"===t?(e.fillStyle instanceof ih?i.fill=_m(e,e.fillStyle):(/^rgba\(/.test(e.fillStyle)&&(t=/^\s*rgba\s*\(([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\)\s*$/i.exec(e.fillStyle),i.fill="rgb("+t[1]+","+t[2]+","+t[3]+")",i["fill-opacity"]=t[4]),i.fill=e.fillStyle),i.stroke="none"):"stroke"===t&&(i.fill="none",e.strokeStyle instanceof ih?i.stroke=_m(e,e.strokeStyle):(/^rgba\(/.test(e.strokeStyle)&&(t=/^\s*rgba\s*\(([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\)\s*$/i.exec(e.strokeStyle),i.stroke="rgb("+t[1]+","+t[2]+","+t[3]+")",i["stroke-opacity"]=t[4]),i.stroke=e.strokeStyle),i["stroke-width"]=e.lineWidth,i["stroke-linecap"]=e.lineCap,i["stroke-linejoin"]=e.lineJoin,i["stroke-miterlimit"]=e.miterLimit),e="matrix("+(e=r.Oa)[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+")",void 0!==c&&(e+=c),i.transform=e}function _m(e,t){var i="GRAD"+Qe++;if("linear"===t.type)var r=e.ub("linearGradient",{x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2,id:i,gradientUnits:"userSpaceOnUse"});else{if("radial"!==t.type)throw Error("invalid gradient");r=e.ub("radialGradient",{x1:t.x1,x2:t.x2,y1:t.y1,y2:t.y2,r1:t.r1,r2:t.r2,id:i})}var c=t.Yw;t=c.length;for(var h=[],v=0;v<t;v++){var W=c[v],X=W.color;W={offset:W.offset,"stop-color":X},/^rgba\(/.test(X)&&(X=/^\s*rgba\s*\(([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\)\s*$/i.exec(X),W["stop-color"]="rgb("+X[1]+","+X[2]+","+X[3]+")",W["stop-opacity"]=X[4]),h.push(W)}for(h.sort(function(Z,ge){return Z.offset>ge.offset?1:-1}),c=0;c<t;c++)r.appendChild(e.ub("stop",h[c]));return e.svg.appendChild(r),"url(#"+i+")"}function xu(e,t,i,r,c,h,v){var W=new dd;W.Oa=[t,i,r,c,h,v],Xu(e,"g",t={},W),W=e.addElement("g",t),e.wc.push(W)}function pd(e){e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=0}function Fu(e){e.shadowOffsetX=e.mp,e.shadowOffsetY=e.np,e.shadowBlur=e.Od}function Vc(e,t){this.ownerDocument=t=void 0===t?o.document:t,this.Qp=null,(t=t.createElement("canvas")).tabIndex=0,this.Ga=t,this.Ga.innerHTML="This text is displayed if your browser does not support the Canvas HTML element.",this.context=new tu(t),t.C=e}function tu(e){e.getContext&&e.getContext("2d")||z("Browser does not support HTML Canvas Element"),this.W=e.getContext("2d"),this.It=this.Kt=this.Jt="",this.Ym=!1,this.Od=this.np=this.mp=0}As.className="GraphObject",Vd=new Kt,vu("Button",function(){function e(i,r){return null!==i.diagram.Sb(i.documentPoint,function(c){for(;null!==c.panel&&!c.isActionable;)c=c.panel;return c},function(c){return c===r})}var t=G1(Vi,Vi.Auto,{isActionable:!0,enabledChanged:function(i,r){if(i instanceof Vi){var c=i.$a("ButtonBorder");null!==c&&(c.fill=r?i._buttonFillNormal:i._buttonFillDisabled)}},cursor:"pointer",_buttonFillNormal:"#F5F5F5",_buttonStrokeNormal:"#BDBDBD",_buttonFillOver:"#E0E0E0",_buttonStrokeOver:"#9E9E9E",_buttonFillPressed:"#BDBDBD",_buttonStrokePressed:"#9E9E9E",_buttonFillDisabled:"#E5E5E5"},G1(io,{name:"ButtonBorder",figure:"RoundedRectangle",spot1:new Si(0,0,2.76142374915397,2.761423749153969),spot2:new Si(1,1,-2.76142374915397,-2.761423749153969),parameter1:2,parameter2:2,fill:"#F5F5F5",stroke:"#BDBDBD"}));return t.mouseEnter=function(i,r){if(r.rg()&&r instanceof Vi&&(i=r.$a("ButtonBorder"))instanceof io){var c=r._buttonFillOver;r._buttonFillNormal=i.fill,i.fill=c,c=r._buttonStrokeOver,r._buttonStrokeNormal=i.stroke,i.stroke=c}},t.mouseLeave=function(i,r){r.rg()&&r instanceof Vi&&(i=r.$a("ButtonBorder"))instanceof io&&(i.fill=r._buttonFillNormal,i.stroke=r._buttonStrokeNormal)},t.actionDown=function(i,r){if(r.rg()&&r instanceof Vi&&null!==r._buttonFillPressed&&0===i.button){var c=r.$a("ButtonBorder");if(c instanceof io){var h=(i=i.diagram).skipsUndoManager;i.skipsUndoManager=!0;var v=r._buttonFillPressed;r._buttonFillOver=c.fill,c.fill=v,v=r._buttonStrokePressed,r._buttonStrokeOver=c.stroke,c.stroke=v,i.skipsUndoManager=h}}},t.actionUp=function(i,r){if(r.rg()&&r instanceof Vi&&null!==r._buttonFillPressed&&0===i.button){var c=r.$a("ButtonBorder");if(c instanceof io){var h=i.diagram,v=h.skipsUndoManager;h.skipsUndoManager=!0,e(i,r)?(c.fill=r._buttonFillOver,c.stroke=r._buttonStrokeOver):(c.fill=r._buttonFillNormal,c.stroke=r._buttonStrokeNormal),h.skipsUndoManager=v}}},t.actionCancel=function(i,r){if(r.rg()&&r instanceof Vi&&null!==r._buttonFillPressed){var c=r.$a("ButtonBorder");if(c instanceof io){var h=i.diagram,v=h.skipsUndoManager;h.skipsUndoManager=!0,e(i,r)?(c.fill=r._buttonFillOver,c.stroke=r._buttonStrokeOver):(c.fill=r._buttonFillNormal,c.stroke=r._buttonStrokeNormal),h.skipsUndoManager=v}}},t.actionMove=function(i,r){if(r.rg()&&r instanceof Vi&&null!==r._buttonFillPressed){var c=i.diagram;if(0===c.firstInput.button&&(c.currentTool.standardMouseOver(),e(i,r)&&(i=r.$a("ButtonBorder"))instanceof io)){var h=c.skipsUndoManager;c.skipsUndoManager=!0;var v=r._buttonFillPressed;i.fill!==v&&(i.fill=v),i.stroke!==(v=r._buttonStrokePressed)&&(i.stroke=v),c.skipsUndoManager=h}}},t}),vu("TreeExpanderButton",function(){var e=G1("Button",{_treeExpandedFigure:"MinusLine",_treeCollapsedFigure:"PlusLine"},G1(io,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:Ii},new V0("figure","isTreeExpanded",function(t,i){return i=i.panel,t?i._treeExpandedFigure:i._treeCollapsedFigure}).hq()),{visible:!1},new V0("visible","isTreeLeaf",function(t){return!t}).hq());return e.click=function(t,i){if((i=i.part)instanceof Zo&&(i=i.adornedPart),i instanceof as){var r=i.diagram;if(null!==r){if(r=r.commandHandler,i.isTreeExpanded){if(!r.canCollapseTree(i))return}else if(!r.canExpandTree(i))return;t.handled=!0,i.isTreeExpanded?r.collapseTree(i):r.expandTree(i)}}},e}),vu("SubGraphExpanderButton",function(){var e=G1("Button",{_subGraphExpandedFigure:"MinusLine",_subGraphCollapsedFigure:"PlusLine"},G1(io,{name:"ButtonIcon",figure:"MinusLine",stroke:"#424242",strokeWidth:2,desiredSize:Ii},new V0("figure","isSubGraphExpanded",function(t,i){return i=i.panel,t?i._subGraphExpandedFigure:i._subGraphCollapsedFigure}).hq()));return e.click=function(t,i){if((i=i.part)instanceof Zo&&(i=i.adornedPart),i instanceof Fe){var r=i.diagram;if(null!==r){if(r=r.commandHandler,i.isSubGraphExpanded){if(!r.canCollapseSubGraph(i))return}else if(!r.canExpandSubGraph(i))return;t.handled=!0,i.isSubGraphExpanded?r.collapseSubGraph(i):r.expandSubGraph(i)}}},e}),vu("ToolTip",function(){return G1(Zo,Vi.Auto,{isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new Ze(0,3),shadowBlur:5},G1(io,{name:"Border",figure:"RoundedRectangle",parameter1:1,parameter2:1,fill:"#F5F5F5",stroke:"#F0F0F0",spot1:new Si(0,0,4,6),spot2:new Si(1,1,-4,-4)}))}),vu("ContextMenu",function(){return G1(Zo,Vi.Vertical,{background:"#F5F5F5",isShadowed:!0,shadowColor:"rgba(0, 0, 0, .4)",shadowOffset:new Ze(0,3),shadowBlur:5},new V0("background","",function(e){return null!==e.adornedPart&&null!==e.placeholder?null:"#F5F5F5"}))}),vu("ContextMenuButton",function(){var e=G1("Button");e.stretch=Hs;var t=e.$a("ButtonBorder");return t instanceof io&&(t.figure="Rectangle",t.strokeWidth=0,t.spot1=new Si(0,0,2,3),t.spot2=new Si(1,1,-2,-2)),e}),vu("PanelExpanderButton",function(e){var t=nh(e,"COLLAPSIBLE"),i=G1("Button",{_buttonExpandedFigure:"M0 0 M0 6 L4 2 8 6 M8 8",_buttonCollapsedFigure:"M0 0 M0 2 L4 6 8 2 M8 8",_buttonFillNormal:"rgba(0, 0, 0, 0)",_buttonStrokeNormal:null,_buttonFillOver:"rgba(0, 0, 0, .2)",_buttonStrokeOver:null,_buttonFillPressed:"rgba(0, 0, 0, .4)",_buttonStrokePressed:null},G1(io,{name:"ButtonIcon",strokeWidth:2},new V0("geometryString","visible",function(r){return r?i._buttonExpandedFigure:i._buttonCollapsedFigure}).hq(t)));return(e=i.$a("ButtonBorder"))instanceof io&&(e.stroke=null,e.fill="rgba(0, 0, 0, 0)"),i.click=function(r,c){if(null!==(r=c.diagram)&&!r.isReadOnly){var h=c.Gi();null===h&&(h=c.part),null!==h&&null!==(c=h.$a(t))&&(r.Aa("Collapse/Expand Panel"),c.visible=!c.visible,r.Za("Collapse/Expand Panel"))}},i}),vu("CheckBoxButton",function(e){var t=nh(e);return(e=G1("Button",{desiredSize:new Ue(14,14)},G1(io,{name:"ButtonIcon",geometryString:"M0 0 M0 8.85 L4.9 13.75 16.2 2.45 M16.2 16.2",strokeWidth:2,stretch:Kr,geometryStretch:Mo,visible:!1},""!==t?new V0("visible",t).tx():[]))).click=function(i,r){if(r instanceof Vi){var c=i.diagram;if(!(null===c||c.isReadOnly||""!==t&&c.model.isReadOnly)){i.handled=!0;var h=r.$a("ButtonIcon");c.Aa("checkbox"),h.visible=!h.visible,"function"==typeof r._doClick&&r._doClick(i,r),c.Za("checkbox")}}},e}),vu("CheckBox",function(e){e=G1("CheckBoxButton",e=nh(e),{name:"Button",isActionable:!1,margin:new ei(0,1,0,0)});var t=G1(Vi,"Horizontal",e,{isActionable:!0,cursor:e.cursor,margin:1,_buttonFillNormal:e._buttonFillNormal,_buttonStrokeNormal:e._buttonStrokeNormal,_buttonFillOver:e._buttonFillOver,_buttonStrokeOver:e._buttonStrokeOver,_buttonFillPressed:e._buttonFillPressed,_buttonStrokePressed:e._buttonStrokePressed,_buttonFillDisabled:e._buttonFillDisabled,mouseEnter:e.mouseEnter,mouseLeave:e.mouseLeave,actionDown:e.actionDown,actionUp:e.actionUp,actionCancel:e.actionCancel,actionMove:e.actionMove,click:e.click,_buttonClick:e.click});return e.mouseEnter=null,e.mouseLeave=null,e.actionDown=null,e.actionUp=null,e.actionCancel=null,e.actionMove=null,e.click=null,t}),As.None=Ns=new Pe(As,"None",0),As.Default=Qo=new Pe(As,"Default",0),As.Vertical=ua=new Pe(As,"Vertical",4),As.Horizontal=Hs=new Pe(As,"Horizontal",5),As.Fill=Kr=new Pe(As,"Fill",3),As.Uniform=Mo=new Pe(As,"Uniform",1),As.UniformToFill=bc=new Pe(As,"UniformToFill",2),As.FlipVertical=O1=new Pe(As,"FlipVertical",1),As.FlipHorizontal=r0=new Pe(As,"FlipHorizontal",2),As.FlipBoth=c0=new Pe(As,"FlipBoth",3),As.make=G1,As.getBuilders=function(){var t,e=new Kt;for(t in Vd)if(t!==t.toLowerCase()){var i=Vd.J(t);"function"==typeof i&&e.add(t,i)}return e.freeze(),e},As.defineBuilder=vu,As.takeBuilderArgument=nh,Fh.prototype.copy=function(){var e=new Fh;return e.Af=this.Af,e.Ff=this.Ff,e.Bf=this.Bf,e.Sf=this.Sf,e.Vf=this.Vf,e.Wf=this.Wf,e.Uf=this.Uf,e.Tf=this.Tf,e.to=this.to,e.uo=this.uo,e.Rf=this.Rf,e.Im=this.Im,e.Jm=this.Jm,e.Km=this.Km,e.Hm=this.Hm,e.gg=this.gg,e.Cf=this.Cf,e.Bn=this.Bn,e},Fh.className="GraphObjectEventHandlers",dd.prototype.copy=function(){var e=new dd;return e.Oa[0]=this.Oa[0],e.Oa[1]=this.Oa[1],e.Oa[2]=this.Oa[2],e.Oa[3]=this.Oa[3],e.Oa[4]=this.Oa[4],e.Oa[5]=this.Oa[5],e},dd.prototype.translate=function(e,t){this.Oa[4]+=this.Oa[0]*e+this.Oa[2]*t,this.Oa[5]+=this.Oa[1]*e+this.Oa[3]*t},dd.prototype.scale=function(e,t){this.Oa[0]*=e,this.Oa[1]*=e,this.Oa[2]*=t,this.Oa[3]*=t},dd.className="STransform",ih.prototype.addColorStop=function(e,t){this.Yw.push({offset:e,color:t})},ih.className="SGradient",Nu.prototype.resize=function(e,t,i,r){return(this.width!==e||this.height!==t)&&(this.style.width=i+"px",this.style.height=r+"px",this.Ga.setAttributeNS(null,"width",i+"px"),this.Ga.setAttributeNS(null,"height",r+"px"),this.Ga.setAttributeNS(null,"viewBox","0 0 "+i+" "+r),this.context.gu.firstElementChild.setAttributeNS(null,"width",i+"px"),this.context.gu.firstElementChild.setAttributeNS(null,"height",r+"px"),!0)},Nu.prototype.ub=function(e,t,i){if(e=this.ownerDocument.createElementNS(this.Fz,e),x(t))for(var r in t)e.setAttributeNS("href"===r?"http://www.w3.org/1999/xlink":"",r,t[r]);return void 0!==i&&(e.textContent=i),e},Nu.prototype.getBoundingClientRect=function(){return this.Ga.getBoundingClientRect()},Nu.prototype.focus=function(){this.Ga.focus()},Nu.prototype.ex=function(){this.ownerDocument=null},I.Object.defineProperties(Nu.prototype,{width:{get:function(){return this.Ga.width.baseVal.value},set:function(e){this.Ga.width=e}},height:{get:function(){return this.Ga.height.baseVal.value},set:function(e){this.Ga.height=e}},style:{get:function(){return this.Ga.style}}}),Nu.className="SVGSurface",(N=Yu.prototype).reset=function(){this.stack=[],this.wc=[],this.fillStyle="#000000",this.font="10px sans-serif",this.globalAlpha=1,this.lineCap="butt",this.lineDashOffset=0,this.lineJoin="miter",this.lineWidth=1,this.miterLimit=10,this.shadowBlur=0,this.shadowColor="rgba(0, 0, 0, 0)",this.shadowOffsetY=this.shadowOffsetX=0,this.strokeStyle="#000000",this.textAlign="start",this.clipInsteadOfFill=!1,this.Od=this.np=this.mp=0,this.aq=null,this.path=[],this.Sd=new dd,xu(this,1,0,0,1,0,0);var e=Qe++,t=this.ub("clipPath",{id:"mainClip"+e});t.appendChild(this.ub("rect",{x:0,y:0,width:this.rk.width,height:this.rk.height})),this.gu=t,this.rk.Ga.appendChild(t),this.wc[0].setAttributeNS(null,"clip-path","url(#mainClip"+e+")")},N.arc=function(e,t,i,r,c,h,v,W){var X=2*Math.PI,Z=X-1e-6,ge=i*Math.cos(r),ye=i*Math.sin(r),We=e+ge,Ve=t+ye,st=h?0:1;r=h?r-c:c-r,(1e-6<Math.abs(v-We)||1e-6<Math.abs(W-Ve))&&this.path.push(["L",We,+Ve]),0>r&&(r=r%X+X),r>Z?(this.path.push(["A",i,i,0,1,st,e-ge,t-ye]),this.path.push(["A",i,i,0,1,st,We,Ve])):1e-6<r&&this.path.push(["A",i,i,0,+(r>=Math.PI),st,e+i*Math.cos(c),t+i*Math.sin(c)])},N.beginPath=function(){this.path=[]},N.bezierCurveTo=function(e,t,i,r,c,h){this.path.push(["C",e,t,i,r,c,h])},N.clearRect=function(){},N.clip=function(){this.addPath("clipPath",this.path,this.Sd),this.addPath("clipPath",this.path,new dd)},N.closePath=function(){this.path.push(["z"])},N.createLinearGradient=function(e,t,i,r){var c=new ih("linear");return c.x1=e,c.y1=t,c.x2=i,c.y2=r,c},N.createPattern=function(e){var t="";e instanceof HTMLCanvasElement&&(t=e.toDataURL()),e instanceof HTMLImageElement&&(t=e.src);var i=this.Hz;if(i[t])return"url(#"+i[t]+")";var r="PATTERN"+Qe++,c={x:0,y:0,width:e.width,height:e.height,href:t};return(e=this.ub("pattern",{width:e.width,height:e.height,id:r,patternUnits:"userSpaceOnUse"})).appendChild(this.ub("image",c)),this.svg.appendChild(e),i[t]=r,"url(#"+r+")"},N.createRadialGradient=function(e,t,i,r,c,h){var v=new ih("radial");return v.x1=e,v.y1=t,v.r1=i,v.x2=r,v.y2=c,v.r2=h,v},N.drawImage=function(e,t,i,r,c,h,v,W,X){var Z="";e instanceof HTMLCanvasElement&&(Z=e.toDataURL()),e instanceof HTMLImageElement&&(Z=e.src);var ge=e instanceof HTMLImageElement?e.naturalWidth:e.width,ye=e instanceof HTMLImageElement?e.naturalHeight:e.height;void 0===r&&(h=t,v=i,W=r=ge,X=c=ye),r=r||0,c=c||0,h=h||0,v=v||0,X=X||0,Z={x:0,y:0,width:ge||r,height:ye||c,href:Z,preserveAspectRatio:"xMidYMid slice"},Yn.ca(r,W=W||0)&&Yn.ca(c,X)||(Z.preserveAspectRatio="none"),e="",X/=c,(0!==h||0!==v)&&(e+=" translate("+h+", "+v+")"),(1!=(W/=r)||1!==X)&&(e+=" scale("+W+", "+X+")"),(0!==t||0!==i)&&(e+=" translate("+-t+", "+-i+")"),(0!==t||0!==i||r!==ge||c!==ye)&&(h="CLIP"+Qe++,(v=this.ub("clipPath",{id:h})).appendChild(this.ub("rect",{x:t,y:i,width:r,height:c})),this.svg.appendChild(v),Z["clip-path"]="url(#"+h+")"),Xu(this,"image",Z,this.Sd,e),this.addElement("image",Z)},N.fill=function(){this.addPath("fill",this.path,this.Sd)},N.Td=function(){this.clipInsteadOfFill?this.clip():this.fill()},N.fillRect=function(e,t,i,r){Xu(this,"fill",e={x:(e=[e,t,i,r])[0],y:e[1],width:e[2],height:e[3]},this.Sd),this.addElement("rect",e)},N.fillText=function(e,t,i){e=[e,t,i],"left"===(t=this.textAlign)?t="start":"right"===t?t="end":"center"===t&&(t="middle"),Xu(this,"fill",t={x:e[1],y:e[2],style:"font: "+this.font,"text-anchor":t},this.Sd),this.addElement("text",t,e[0])},N.lineTo=function(e,t){this.path.push(["L",e,t])},N.moveTo=function(e,t){this.path.push(["M",e,t])},N.quadraticCurveTo=function(e,t,i,r){this.path.push(["Q",e,t,i,r])},N.rect=function(e,t,i,r){this.path.push(["M",e,t],["L",e+i,t],["L",e+i,t+r],["L",e,t+r],["z"])},N.restore=function(){this.Sd=this.stack.pop(),this.path=this.stack.pop();var e=this.stack.pop();this.fillStyle=e.fillStyle,this.font=e.font,this.globalAlpha=e.globalAlpha,this.lineCap=e.lineCap,this.lineDashOffset=e.lineDashOffset,this.lineJoin=e.lineJoin,this.lineWidth=e.lineWidth,this.miterLimit=e.miterLimit,this.shadowBlur=e.shadowBlur,this.shadowColor=e.shadowColor,this.shadowOffsetX=e.shadowOffsetX,this.shadowOffsetY=e.shadowOffsetY,this.strokeStyle=e.strokeStyle,this.textAlign=e.textAlign},N.save=function(){this.stack.push({fillStyle:this.fillStyle,font:this.font,globalAlpha:this.globalAlpha,lineCap:this.lineCap,lineDashOffset:this.lineDashOffset,lineJoin:this.lineJoin,lineWidth:this.lineWidth,miterLimit:this.miterLimit,shadowBlur:this.shadowBlur,shadowColor:this.shadowColor,shadowOffsetX:this.shadowOffsetX,shadowOffsetY:this.shadowOffsetY,strokeStyle:this.strokeStyle,textAlign:this.textAlign});for(var e=[],t=0;t<this.path.length;t++)e.push(this.path[t]);this.stack.push(e),this.stack.push(this.Sd.copy())},N.setTransform=function(e,t,i,r,c,h){1===e&&0===t&&0===i&&1===r&&0===c&&0===h||xu(this,e,t,i,r,c,h)},N.scale=function(e,t){this.Sd.scale(e,t)},N.translate=function(e,t){this.Sd.translate(e,t)},N.transform=function(){},N.stroke=function(){this.addPath("stroke",this.path,this.Sd)},N.Wi=function(){this.clipInsteadOfFill||this.stroke()},N.ub=function(e,t,i){return this.rk.ub(e,t,i)},N.addElement=function(e,t,i){return e=this.ub(e,t,i),0<this.wc.length?this.wc[this.wc.length-1].appendChild(e):this.svg.appendChild(e),this.aq=e},N.addPath=function(e,t,i){for(var r=[],c=0;c<t.length;c++){var h=j(t[c]),v=[h.shift()];if("A"===v[0])v.push(h.shift()+","+h.shift(),h.shift(),h.shift()+","+h.shift(),h.shift()+","+h.shift());else for(;h.length;)v.push(h.shift()+","+h.shift());r.push(v.join(" "))}t={d:r.join(" ")},"stroke"===e&&this.cu&&(t["stroke-dasharray"]=this.gh.toString(),t["stroke-dashoffset"]=this.hh),Xu(this,e,t,i),"clipPath"===e?(e="CLIP"+Qe++,(i=this.ub("clipPath",{id:e})).appendChild(this.ub("path",t)),this.svg.appendChild(i),0<this.wc.length&&this.wc[this.wc.length-1].setAttributeNS(null,"clip-path","url(#"+e+")")):this.addElement("path",t)},N.qq=function(){if(0!==this.shadowOffsetX||0!==this.shadowOffsetY||0!==this.shadowBlur){var e="SHADOW"+Qe++,t=this.addElement("filter",{id:e,x:"-100%",y:"-100%",width:"300%",height:"300%"},null),i=this.ub("feGaussianBlur",{in:"SourceAlpha",result:"blur",jA:this.shadowBlur/2}),r=this.ub("feFlood",{in:"blur",result:"flood","flood-color":this.shadowColor}),c=this.ub("feComposite",{in:"flood",in2:"blur",operator:"in",result:"comp"}),h=this.ub("feOffset",{in:"comp",result:"offsetBlur",dx:this.shadowOffsetX,dy:this.shadowOffsetY}),v=this.ub("feMerge",{});v.appendChild(this.ub("feMergeNode",{in:"offsetBlur"})),v.appendChild(this.ub("feMergeNode",{in:"SourceGraphic"})),t.appendChild(i),t.appendChild(r),t.appendChild(c),t.appendChild(h),t.appendChild(v),0<this.wc.length&&this.wc[this.wc.length-1].setAttributeNS(null,"filter","url(#"+e+")")}},N.Nv=function(e,t,i){this.mp=e,this.np=t,this.Od=i},N.Ps=function(e,t){this.cu=!0,this.gh=e,this.hh=t},N.Ns=function(){this.cu=!1},N.Rc=function(){},N.Ix=function(){},Yu.prototype.rotate=function(){},Yu.prototype.getImageData=function(){return null},Yu.prototype.measureText=function(){return null},Yu.className="SVGContext",ii.prototype.makeSvg=ii.prototype.it=function(e){var t=new Nu(this,o.document);void 0===e&&(e=new Be);var i=this;return Ws(this,function(r,c){return r=null!==(r=Wo(i,r,"SVG",t))?r.svg:null,"function"==typeof c?(c(r),null):r},e)},ii.prototype.makeSVG=ii.prototype.mv=function(e){return this.it(e)},As.prototype.gx=function(e,t){if(!(e instanceof Yu))return!1;if(!this.visible)return!0;var i=null,r=e.aq;if(this instanceof Vi&&(this.type===Vi.TableRow||this.type===Vi.TableColumn))return _l(this,e,t),!0;var c=this.vb;if(0===c.width||0===c.height||isNaN(c.x)||isNaN(c.y))return!0;var h=this.transform,v=this.panel;4096&this.H&&Lu(this);var W=!!(256&this.H),X=!1;if(this instanceof tt&&(e.font=this.font),W){if(X=v.Zd()?v.naturalBounds:v.actualBounds,null!==this.kd){var Z=this.kd,ge=Z.x,ye=Z.y,We=Z.width;Z=Z.height}else ge=Math.max(c.x,X.x),ye=Math.max(c.y,X.y),We=Math.min(c.right,X.right)-ge,Z=Math.min(c.bottom,X.bottom)-ye;if(ge>c.width+c.x||c.x>X.width+X.x||ye>c.height+c.y||c.y>X.height+X.y)return!0;X=!0,xu(e,1,0,0,1,0,0),e.save(),e.beginPath(),e.rect(ge,ye,We,Z),e.clip()}if(this.sg()&&!this.isVisible())return!0;if(e.Sd.Oa=[1,0,0,1,0,0],this instanceof tt&&1<this.lineCount&&xu(e,1,0,0,1,0,0),ge=!1,this.sg()&&this.isShadowed&&t.De("drawShadows")&&(e.Nv((ye=this.si).x*t.scale*t.Nb,ye.y*t.scale*t.Nb,this.Od),Fu(e),e.shadowColor=this.Ij),ye=!1,this.part&&t.De("drawShadows")&&(ye=this.part.isShadowed),!0===this.shadowVisible?(Fu(e),!1===ge&&ye&&(xu(e,1,0,0,1,0,0),e.qq(),ge=!0)):!1===this.shadowVisible&&pd(e),We=this.naturalBounds,null!==this.areaBackground&&(vo(this,e,this.areaBackground,!0,!0,We,c),!1===ge&&ye&&(xu(e,1,0,0,1,0,0),e.qq(),ge=!0),this.areaBackground instanceof cr&&this.areaBackground.type===_0?(e.beginPath(),e.rect(c.x,c.y,c.width,c.height),e.Td(this.areaBackground)):e.fillRect(c.x,c.y,c.width,c.height)),this instanceof Vi?xu(e,h.m11,h.m12,h.m21,h.m22,h.dx,h.dy):e.Sd.Oa=[h.m11,h.m12,h.m21,h.m22,h.dx,h.dy],null!==this.background){!1===ge&&ye&&(xu(e,1,0,0,1,0,0),e.qq(),ge=!0);var Ve=this.naturalBounds;Z=h=0;var st=Ve.width;Ve=Ve.height;var jt=0;this instanceof io&&(h=(Ve=this.geometry.bounds).x,Z=Ve.y,st=Ve.width,Ve=Ve.height,jt=this.strokeWidth),vo(this,e,this.background,!0,!1,We,c),this.background instanceof cr&&this.background.type===_0?(e.beginPath(),e.rect(h-jt/2,Z-jt/2,st+jt,Ve+jt),e.Td(this.background)):e.fillRect(h-jt/2,Z-jt/2,st+jt,Ve+jt)}return ye&&(null!==this.background||null!==this.areaBackground||null!==v&&512&v.H||null!==v&&(v.type===Vi.Auto||v.type===Vi.Spot)&&v.zb()!==this)?(ud(this,!0),null===this.shadowVisible&&pd(e)):ud(this,!1),this.Ci(e,t),ye&&512&this.H&&Fu(e),this.sg()&&ye&&pd(e),W&&(e.restore(),X&&e.wc.pop()),this instanceof Vi&&(i=e.wc.pop()),!0===ge&&e.wc.pop(),this instanceof tt&&1<this.lineCount&&(i=e.wc.pop()),null!==e.rk.Qp&&(null===i&&(r===e.aq?(xu(e,1,0,0,1,0,0),i=e.wc.pop()):i=e.aq),e.rk.Qp(this,i)),this.svg=i,!0},Vc.prototype.resize=function(e,t,i,r){return(this.width!==e||this.height!==t)&&(this.width=e,this.height=t,this.style.width=i+"px",this.style.height=r+"px",!0)},Vc.prototype.toDataURL=function(e,t){return this.Ga.toDataURL(e,t)},Vc.prototype.getBoundingClientRect=function(){return this.Ga.getBoundingClientRect()},Vc.prototype.focus=function(){this.Ga.focus()},Vc.prototype.ex=function(){this.ownerDocument=this.Ga.C=null},I.Object.defineProperties(Vc.prototype,{width:{get:function(){return this.Ga.width},set:function(e){this.Ga.width=e}},height:{get:function(){return this.Ga.height},set:function(e){this.Ga.height=e}},style:{get:function(){return this.Ga.style}}}),Vc.className="CanvasSurface",(N=tu.prototype).Ix=function(e){this.W.imageSmoothingEnabled=e},N.arc=function(e,t,i,r,c,h){this.W.arc(e,t,i,r,c,h)},N.beginPath=function(){this.W.beginPath()},N.bezierCurveTo=function(e,t,i,r,c,h){this.W.bezierCurveTo(e,t,i,r,c,h)},N.clearRect=function(e,t,i,r){this.W.clearRect(e,t,i,r)},N.clip=function(){this.W.clip()},N.closePath=function(){this.W.closePath()},N.createLinearGradient=function(e,t,i,r){return this.W.createLinearGradient(e,t,i,r)},N.createPattern=function(e,t){return this.W.createPattern(e,t)},N.createRadialGradient=function(e,t,i,r,c,h){return this.W.createRadialGradient(e,t,i,r,c,h)},N.drawImage=function(e,t,i,r,c,h,v,W,X){void 0===r?this.W.drawImage(e,t,i):this.W.drawImage(e,t,i,r,c,h,v,W,X)},N.fill=function(){this.W.fill()},N.fillRect=function(e,t,i,r){this.W.fillRect(e,t,i,r)},N.fillText=function(e,t,i){this.W.fillText(e,t,i)},N.getImageData=function(e,t,i,r){return this.W.getImageData(e,t,i,r)},N.lineTo=function(e,t){this.W.lineTo(e,t)},N.measureText=function(e){return this.W.measureText(e)},N.moveTo=function(e,t){this.W.moveTo(e,t)},N.quadraticCurveTo=function(e,t,i,r){this.W.quadraticCurveTo(e,t,i,r)},N.rect=function(e,t,i,r){this.W.rect(e,t,i,r)},N.restore=function(){this.W.restore()},tu.prototype.rotate=function(e){this.W.rotate(e)},(N=tu.prototype).save=function(){this.W.save()},N.setTransform=function(e,t,i,r,c,h){this.W.setTransform(e,t,i,r,c,h)},N.scale=function(e,t){this.W.scale(e,t)},N.stroke=function(){this.W.stroke()},N.transform=function(e,t,i,r,c,h){1===e&&0===t&&0===i&&1===r&&0===c&&0===h||this.W.transform(e,t,i,r,c,h)},N.translate=function(e,t){this.W.translate(e,t)},N.Td=function(e){if(e instanceof cr&&e.type===_0){var t=e.Gk;(e=e.Lt)>t?(this.scale(t/e,1),this.translate((e-t)/2,0)):t>e&&(this.scale(1,e/t),this.translate(0,(t-e)/2)),this.Ym?this.clip():this.fill(),e>t?(this.translate(-(e-t)/2,0),this.scale(1/(t/e),1)):t>e&&(this.translate(0,-(t-e)/2),this.scale(1,1/(e/t)))}else this.Ym?this.clip():this.fill()},N.Wi=function(){this.Ym||this.stroke()},N.Nv=function(e,t,i){this.mp=e,this.np=t,this.Od=i},N.Ps=function(e,t){var i=this.W;void 0!==i.setLineDash&&(i.setLineDash(e),i.lineDashOffset=t)},N.Ns=function(){var e=this.W;void 0!==e.setLineDash&&(e.setLineDash(hd),e.lineDashOffset=0)},N.Rc=function(e){e&&(this.Jt=""),this.It=this.Kt=""},I.Object.defineProperties(tu.prototype,{fillStyle:{get:function(){return this.W.fillStyle},set:function(e){this.It!==e&&(this.It=this.W.fillStyle=e)}},font:{get:function(){return this.W.font},set:function(e){this.Jt!==e&&(this.Jt=this.W.font=e)}},globalAlpha:{get:function(){return this.W.globalAlpha},set:function(e){this.W.globalAlpha=e}},lineCap:{get:function(){return this.W.lineCap},set:function(e){this.W.lineCap=e}},lineDashOffset:{get:function(){return this.W.lineDashOffset},set:function(e){this.W.lineDashOffset=e}},lineJoin:{get:function(){return this.W.lineJoin},set:function(e){this.W.lineJoin=e}},lineWidth:{get:function(){return this.W.lineWidth},set:function(e){this.W.lineWidth=e}},miterLimit:{get:function(){return this.W.miterLimit},set:function(e){this.W.miterLimit=e}},shadowBlur:{get:function(){return this.W.shadowBlur},set:function(e){this.W.shadowBlur=e}},shadowColor:{get:function(){return this.W.shadowColor},set:function(e){this.W.shadowColor=e}},shadowOffsetX:{get:function(){return this.W.shadowOffsetX},set:function(e){this.W.shadowOffsetX=e}},shadowOffsetY:{get:function(){return this.W.shadowOffsetY},set:function(e){this.W.shadowOffsetY=e}},strokeStyle:{get:function(){return this.W.strokeStyle},set:function(e){this.Kt!==e&&(this.Kt=this.W.strokeStyle=e)}},textAlign:{get:function(){return this.W.textAlign},set:function(e){this.W.textAlign=e}},imageSmoothingEnabled:{get:function(){return this.W.imageSmoothingEnabled},set:function(e){this.W.imageSmoothingEnabled=e}},clipInsteadOfFill:{get:function(){return this.Ym},set:function(e){this.Ym=e}}});var hd=Object.freeze([]);function sc(){this.ba=this.u=this.K=this.l=0}function cr(e){Br||(Hd(),Br=!0),ke(this),this.v=!1,void 0===e?(this.va=Hc,this.Fk="black"):"string"==typeof e?(this.va=Hc,this.Fk=e):(this.va=e,this.Fk="black"),(e=this.va)===oc?(this.Gl=Mt,this.Tk=nt):this.Tk=this.Gl=e===_0?Jt:Cn,this.ys=0,this.fr=NaN,this.ce=this.fs=this.be=null,this.Lt=this.Gk=0}function xp(e,t,i){return t=void 0===t||"number"!=typeof t?.2:t,i=void 0===i?fu:i,du(e),dp(t,i)}function sh(e,t,i){return t=void 0===t||"number"!=typeof t?.2:t,i=void 0===i?fu:i,du(e),dp(-t,i)}function Fp(e,t,i){du(e),e=_o.l;var r=_o.K,c=_o.u,h=_o.ba;return du(t),void 0===i&&(i=.5),"rgba("+Math.round((_o.l-e)*i+e)+", "+Math.round((_o.K-r)*i+r)+", "+Math.round((_o.u-c)*i+c)+", "+Math.round((_o.ba-h)*i+h)+")"}function Sd(e){return null===e?null:e instanceof cr?e.px():(du(e),128>(299*_o.l+587*_o.K+114*_o.u)/1e3)}function dp(e,t){switch(t){case fu:var i=100*pu(_o.l);t=100*pu(_o.K);var r=100*pu(_o.u);return m0.l=.4124564*i+.3575761*t+.1804375*r,m0.K=.2126729*i+.7151522*t+.072175*r,m0.u=.0193339*i+.119192*t+.9503041*r,m0.ba=_o.ba,i=hp(m0.l/yc[0]),t=hp(m0.K/yc[1]),r=hp(m0.u/yc[2]),N0.l=116*t-16,N0.K=500*(i-t),N0.u=200*(t-r),N0.ba=m0.ba,N0.l=Math.min(100,Math.max(0,N0.l+100*e)),i=(e=(N0.l+16)/116)-N0.u/200,m0.l=yc[0]*_f(N0.K/500+e),m0.K=yc[1]*(N0.l>hu*Gf?Math.pow(e,3):N0.l/hu),m0.u=yc[2]*_f(i),m0.ba=N0.ba,e=-.969266*m0.l+1.8760108*m0.K+.041556*m0.u,i=.0556434*m0.l+-.2040259*m0.K+1.0572252*m0.u,_o.l=255*pp((3.2404542*m0.l+-1.5371385*m0.K+-.4985314*m0.u)/100),_o.K=255*pp(e/100),_o.u=255*pp(i/100),_o.ba=m0.ba,_o.l=Math.round(_o.l),255<_o.l?_o.l=255:0>_o.l&&(_o.l=0),_o.K=Math.round(_o.K),255<_o.K?_o.K=255:0>_o.K&&(_o.K=0),_o.u=Math.round(_o.u),255<_o.u?_o.u=255:0>_o.u&&(_o.u=0),"rgba("+_o.l+", "+_o.K+", "+_o.u+", "+_o.ba+")";case Wp:t=_o.l/255,r=_o.K/255;var c=_o.u/255,h=Math.max(t,r,c),v=Math.min(t,r,c),W=h-v;if(v=(h+v)/2,0===W)i=t=0;else{switch(h){case t:i=(r-c)/W%6;break;case r:i=(c-t)/W+2;break;case c:i=(t-r)/W+4}0>(i*=60)&&(i+=360),t=W/(1-Math.abs(2*v-1))}return G0.l=Math.round(i),G0.K=Math.round(100*t),G0.u=Math.round(100*v),G0.ba=_o.ba,G0.u=Math.min(100,Math.max(0,G0.u+100*e)),"hsla("+G0.l+", "+G0.K+"%, "+G0.u+"%, "+G0.ba+")";default:return z("Unknown color space: "+t),"rgba(0, 0, 0, 1)"}}function du(e){Br||(Hd(),Br=!0);var t=oh;if(null!==t){t.clearRect(0,0,1,1),t.fillStyle="#000000";var i=t.fillStyle;t.fillStyle=e,t.fillStyle!==i?(t.fillRect(0,0,1,1),e=t.getImageData(0,0,1,1).data,_o.l=e[0],_o.K=e[1],_o.u=e[2],_o.ba=e[3]/255):(t.fillStyle="#FFFFFF",t.fillStyle=e,_o.l=0,_o.K=0,_o.u=0,_o.ba=1)}}function pu(e){return.04045>=(e/=255)?e/12.92:Math.pow((e+.055)/1.055,2.4)}function pp(e){return.0031308>=e?12.92*e:1.055*Math.pow(e,1/2.4)-.055}function hp(e){return e>Gf?Math.pow(e,1/3):(hu*e+16)/116}function _f(e){var t=e*e*e;return t>Gf?t:(116*e-16)/hu}function Hd(){oh=Wr?new Vc(null).context:null}tu.className="CanvasSurfaceContext",sc.className="ColorNumbers",cr.prototype.copy=function(){var e=new cr;return e.va=this.va,e.Fk=this.Fk,e.Gl=this.Gl.I(),e.Tk=this.Tk.I(),e.ys=this.ys,e.fr=this.fr,null!==this.be&&(e.be=this.be.copy()),e.fs=this.fs,e},(N=cr.prototype).freeze=function(){return this.v=!0,null!==this.be&&this.be.freeze(),this},N.ha=function(){return Object.isFrozen(this)&&z("cannot thaw constant: "+this),this.v=!1,null!==this.be&&this.be.ha(),this},N.fb=function(e){e.classType===cr&&(this.type=e)},N.toString=function(){var e="Brush(";if(this.type===Hc)e+=this.color;else if(e=this.type===oc?e+"Linear ":this.type===_0?e+"Radial ":this.type===Yd?e+"Pattern ":e+"(unknown) ",e+=this.start+" "+this.end,null!==this.colorStops)for(var t=this.colorStops.iterator;t.next();)e+=" "+t.key+":"+t.value;return e+")"},N.addColorStop=function(e,t){return this.v&&F(this),("number"!=typeof e||!isFinite(e)||1<e||0>e)&&U(e,"0 <= loc <= 1",cr,"addColorStop:loc"),null===this.be&&(this.be=new Kt),this.be.add(e,t),this.va===Hc&&(this.type=oc),this.ce=null,this},N.zz=function(e,t){if(this.v&&F(this),e=void 0===e||"number"!=typeof e?.2:e,t=void 0===t?fu:t,this.type===Hc)du(this.color),this.color=dp(e,t);else if((this.type===oc||this.type===_0)&&null!==this.colorStops)for(var i=this.colorStops.iterator;i.next();)du(i.value),this.addColorStop(i.key,dp(e,t));return this},N.zy=function(e,t){if(this.v&&F(this),e=void 0===e||"number"!=typeof e?.2:e,t=void 0===t?fu:t,this.type===Hc)du(this.color),this.color=dp(-e,t);else if((this.type===oc||this.type===_0)&&null!==this.colorStops)for(var i=this.colorStops.iterator;i.next();)du(i.value),this.addColorStop(i.key,dp(-e,t));return this},N.px=function(){if(this.type===Hc)return Sd(this.color);if((this.type===oc||this.type===_0)&&null!==this.colorStops){var e=this.colorStops;if(this.type===_0)return Sd(e.first().value);if(null!==e.get(.5))return Sd(e.get(.5));if(2===e.count)return Sd(Fp((e=e.Na())[0].value,e[1].value));for(var t=e.iterator,i=-1,r=-1,c=1,h=1;t.next();){var v=t.key,W=Math.abs(.5-t.key);c>h&&W<c?(i=v,c=W):h>=c&&W<h&&(r=v,h=W)}return i>r&&(i=[r,r=i][0]),t=r-i,Sd(Fp(e.get(i),e.get(r),1-c/t))}return!1},I.Object.defineProperties(cr.prototype,{type:{get:function(){return this.va},set:function(e){this.v&&F(this,e),this.va=e,this.start.jc()&&(e===oc?this.start=Mt:e===_0&&(this.start=Jt)),this.end.jc()&&(e===oc?this.end=nt:e===_0&&(this.end=Jt)),this.ce=null}},color:{get:function(){return this.Fk},set:function(e){this.v&&F(this,e),this.Fk=e,this.ce=null}},start:{get:function(){return this.Gl},set:function(e){this.v&&F(this,e),this.Gl=e.I(),this.ce=null}},end:{get:function(){return this.Tk},set:function(e){this.v&&F(this,e),this.Tk=e.I(),this.ce=null}},startRadius:{get:function(){return this.ys},set:function(e){this.v&&F(this,e),0>e&&U(e,">= zero",cr,"startRadius"),this.ys=e,this.ce=null}},endRadius:{get:function(){return this.fr},set:function(e){this.v&&F(this,e),0>e&&U(e,">= zero",cr,"endRadius"),this.fr=e,this.ce=null}},colorStops:{get:function(){return this.be},set:function(e){this.v&&F(this,e),this.be=e,this.ce=null}},pattern:{get:function(){return this.fs},set:function(e){this.v&&F(this,e),this.fs=e,this.ce=null}}}),cr.prototype.isDark=cr.prototype.px,cr.prototype.darkenBy=cr.prototype.zy,cr.prototype.lightenBy=cr.prototype.zz,cr.prototype.addColorStop=cr.prototype.addColorStop;var Hc,oc,_0,Yd,fu,Wp,Gf=216/24389,hu=24389/27,yc=[95.047,100,108.883],oh=null,_o=new sc,G0=new sc,m0=new sc,N0=new sc,Br=!1;function na(){this.name="Base"}function fp(){this.name="Base",this.name="Position"}function rh(){this.name="Base",this.name="Horizontal"}function Td(){this.name="Base",this.name="Vertical"}function mp(){this.name="Base",this.name="Spot"}function _p(){this.name="Base",this.name="Auto"}function Ku(){this.name="Base",this.name="Table"}function Bp(){this.name="Base",this.name="TableRow"}function Xd(){this.name="Base",this.name="TableColumn"}function rc(){this.name="Base",this.name="Viewbox"}function _r(){this.name="Base",this.name="Grid"}function Cd(){this.name="Base",this.name="Link"}function ah(e,t,i,r){if(!1!==ic(r)){var c=r.strokeWidth;0===c&&e instanceof Zo&&e.type===Vi.Link&&e.adornedObject instanceof io&&(c=e.adornedObject.strokeWidth),c*=r.Ca,e instanceof Zt&&null!==e.qa?Fl(r,(e=e.qa.bounds).x-c/2,e.y-c/2,e.width+c,e.height+c):e instanceof Zo&&null!==e.adornedPart.qa?Fl(r,(e=e.adornedPart.qa.bounds).x-c/2,e.y-c/2,e.width+c,e.height+c):Fl(r,-c/2,-c/2,t+c,i+c),Q0(r,!1)}}function gp(){this.name="Base",this.name="Graduated"}function Vi(e){As.call(this),this.va=void 0===e?Vi.Position:e,null===this.va&&z("Panel type not specified or PanelLayout not loaded: "+e),this.Y=new gt,this.eb=yn,this.va===Vi.Grid&&(this.isAtomic=!0),this.nn=wo,this.Df=Qo,this.va===Vi.Table&&gm(this),this.Fp=Mo,this.Ln=En,this.Mn=Rn,this.In=0,this.Hn=100,this.Kn=10,this.Jn=0,this.Qh=this.jb=this.Mg=this.hj=this.jj=null,this.Zn=NaN,this.je=this.ei=null,this.gl="category",this.Ed=null,this.hg=new sn(NaN,NaN,NaN,NaN),this.kh=this.cp=this.ti=null,this.yg=""}function gm(e){e.dj=yn,e.Gg=1,e.Vh=null,e.Uh=null,e.Fg=1,e.Eg=null,e.Th=null,e.sb=[],e.nb=[],e.Fj=dh,e.bj=dh,e.wi=0,e.gi=0}function Kd(e,t,i,r){for(var c=r.length,h=e.actualBounds,v=e.naturalBounds,W=!0,X=0;X<c;X++){var Z=r[X];if(void 0!==Z)if(W)W=!1;else if(0!==Z.actual){if(i){if(Z.position>h.height)continue}else if(Z.position>h.width)continue;var ge=Z.separatorStrokeWidth;isNaN(ge)&&(ge=i?e.Gg:e.Fg);var ye=Z.separatorStroke;if(null===ye&&(ye=i?e.Vh:e.Eg),0!==ge&&null!==ye){vo(e,t,ye,!1,!1,v,h),ye=!1;var We=Z.separatorDashArray;null===We&&(We=i?e.Uh:e.Th),null!==We&&(ye=!0,t.Ps(We,0)),t.beginPath(),We=Z.position+ge,i?We>h.height&&(ge-=We-h.height):We>h.width&&(ge-=We-h.width),Z=Z.position+ge/2,t.lineWidth=ge,ge=e.eb,i?(We=h.width-ge.right,t.moveTo(ge.left,Z+=ge.top),t.lineTo(We,Z)):(We=h.height-ge.bottom,t.moveTo(Z+=ge.left,ge.top),t.lineTo(Z,We)),t.stroke(),ye&&t.Ns()}}}}function bp(e,t,i,r,c){for(var h=r.length,v=e.actualBounds,W=e.naturalBounds,X=0;X<h;X++){var Z=r[X];if(void 0!==Z&&null!==Z.background&&Z.coversSeparators!==c&&0!==Z.actual){var ge=i?v.height:v.width;if(!(Z.position>ge)){var ye=Z.tc(),We=Z.separatorStrokeWidth;isNaN(We)&&(We=i?e.Gg:e.Fg);var Ve=Z.separatorStroke;null===Ve&&(Ve=i?e.Vh:e.Eg),null===Ve&&(We=0),ye-=We,(We=Z.position+We)+(ye+=Z.actual)>ge&&(ye=ge-We),0>=ye||(ge=e.eb,vo(e,t,Z.background,!0,!1,W,v),i?t.fillRect(ge.left,We+ge.top,v.width-(ge.left+ge.right),ye):t.fillRect(We+ge.left,ge.top,ye,v.height-(ge.top+ge.bottom)))}}}}function lh(e,t,i){if(e%t!=0)return!1;t=i.length;for(var r=0;r<t;r++)if(e%i[r]==0)return!1;return!0}function Au(e){return"LineV"===e||"BarV"===e}function fd(e){return null!==e.part?e.part.locationObject:null}function Jd(e,t){gf(e,e,t)}function gf(e,t,i){i(t);for(var r=(t=t.Y.j).length,c=0;c<r;c++){var h=t[c];h instanceof Vi&&gf(e,h,i)}}function Wh(e,t){qf(e,e,t)}function qf(e,t,i){if(i(t),t instanceof Vi)for(var r=(t=t.Y.j).length,c=0;c<r;c++)qf(e,t[c],i)}function ws(e,t,i){if(i(t))return t;if(t instanceof Vi)for(var r=(t=t.Y.j).length,c=0;c<r;c++){var h=ws(e,t[c],i);if(null!==h)return h}return null}function La(e){for(var t=(e=e.Y.j).length,i=0,r=0;r<t;r++){var c=e[r];if(c instanceof Vi)i=Math.max(i,La(c));else if(c instanceof io){e:{switch(c.Vk){case"None":case"Square":case"Ellipse":case"Circle":case"LineH":case"LineV":case"FramedRectangle":case"RoundedRectangle":case"Line1":case"Line2":case"Border":case"Cube1":case"Cube2":case"Junction":case"Cylinder1":case"Cylinder2":case"Cylinder3":case"Cylinder4":case"PlusLine":case"XLine":case"ThinCross":case"ThickCross":c=0;break e}c=c.ih/2*c.Jj*c.Ce()}i=Math.max(i,c)}}return i}function Bh(e,t,i,r){for(var c=e.Y.j,h=c.length;h--;){var v=c[h];if(v.visible){var W=v.actualBounds,X=e.naturalBounds;W.x>X.width||W.y>X.height||0>W.x+W.width||0>W.y+W.height||(v instanceof Vi&&Bh(v,t,i,r),null!==t&&(v=t(v)),null===v||null!==i&&!i(v)||r.add(v))}}}function Ju(e){var t=null;return e instanceof io&&((t=e.spot1)===wo&&(t=null),null!==(e=e.geometry)&&null===t&&(t=e.spot1)),null===t&&(t=ut),t}function q0(e){var t=null;return e instanceof io&&((t=e.spot2)===wo&&(t=null),null!==(e=e.geometry)&&null===t&&(t=e.spot2)),null===t&&(t=Ot),t}function kp(e,t){e.H=t?16777216|e.H:-16777217&e.H}function Qd(e){return null!==(e=e.Qh)&&e.v}function d1(e){var t=e.Qh;if(null===t)null!==e.data&&z("Template cannot have .data be non-null: "+e),e.Qh=t=new gt;else if(t.v)return;var i=new gt;kp(e,!1),e.ym(e,function(Z,ge){var ye=ge.bb;if(null!==ye)for($c(ge,!1),ye=ye.iterator;ye.next();){var We=ye.value;We.mode===A_&&$c(ge,!0);var Ve=We.sourceName;null!==Ve&&("/"===Ve&&kp(Z,!0),null!==(Ve=Zf(We,Z,ge))&&(i.add(Ve),null===Ve.Fl&&(Ve.Fl=new gt),Ve.Fl.add(We))),t.add(We)}if(ge instanceof Vi&&ge.type===Vi.Table){if(0<ge.sb.length)for(ye=(Z=ge.sb).length,We=0;We<ye;We++)if(void 0!==(Ve=Z[We])&&null!==Ve.bb)for(var st=Ve.bb.iterator;st.next();){var jt=st.value;jt.Qd=Ve,jt.wp=2,jt.Nl=Ve.index,t.add(jt)}if(0<ge.nb.length)for(Z=(ge=ge.nb).length,ye=0;ye<Z;ye++)if(void 0!==(We=ge[ye])&&null!==We.bb)for(Ve=We.bb.iterator;Ve.next();)(st=Ve.value).Qd=We,st.wp=1,st.Nl=We.index,t.add(st)}});for(var r=i.iterator;r.next();){var c=r.value;if(null!==c.Fl){$c(c,!0);for(var h=c.Fl.iterator;h.next();){var v=h.value;null===c.bb&&(c.bb=new gt),c.bb.add(v)}}c.Fl=null}for(r=t.iterator;r.next();)if(null!==(h=(c=r.value).Qd)){c.Qd=null;var W=c.targetProperty,X=W.indexOf(".");0<X&&h instanceof Vi&&(v=W.substring(0,X),W=W.substr(X+1),null!==(X=h.$a(v))?(h=X,c.targetProperty=W):k('Warning: unable to find GraphObject named "'+v+'" for Binding: '+c.toString())),h instanceof Z0?(v=Je(h.panel),c.Xi=void 0===v?-1:v,h.panel.Dk=c.Xi):h instanceof As?(v=Je(h),c.Xi=void 0===v?-1:v,h.Dk=c.Xi):z("Unknown type of binding target: "+h)}t.freeze(),e instanceof Os&&e.Lb()&&e.ac()}function wc(e){if(e.type===Vi.Spot||e.type===Vi.Auto)return Math.min(e.Y.length,1);if(e.type===Vi.Link){for(var t=(e=e.Y).length,i=0;i<t;i++){var r=e.N(i);if(!(r instanceof io&&r.isPanelMain))break}return i}return e.type===Vi.Table&&0<e.Y.length&&(e=e.Y.N(0)).isPanelMain&&e instanceof Vi&&(e.type===Vi.TableRow||e.type===Vi.TableColumn)?1:0}function zd(e,t,i){if(!(null==t||0>i)){var r=function kh(e,t){if(null===t)return"";if("function"==typeof(e=e.gl))e=e(t);else{if("string"!=typeof e||"object"!=typeof t)return"";if(""===e)return"";e=M0(t,e)}return void 0===e?"":"string"==typeof e?e:(z("Panel.getCategoryForItemData found a non-string category for "+t+": "+e),"")}(e,t),c=e.itemTemplateMap,h=null;null!==c&&(h=c.J(r)),null===h&&(bf||(bf=!0,k('No item template Panel found for category "'+r+'" on '+e),k("  Using default item template."),r=new Vi,(c=new tt).bind(new V0("text","",le)),r.add(c),Nc=r),h=Nc),null!==(r=h)&&(d1(r),16777216&(r=r.copy()).H&&null!==(c=e.Gi())&&kp(c,!0),"object"==typeof t&&(null===e.Ed&&(e.Ed=new Kt),e.Ed.add(t,r)),c=i+wc(e),e.Ib(c,r),r.jb=t,ch(e,c,i),r.jb=null,r.data=t)}}function ch(e,t,i){for(e=e.Y;t<e.length;){var r=e.N(t);if(r instanceof Vi){var c=t,h=i;r.type===Vi.TableRow?r.row=c:r.type===Vi.TableColumn&&(r.column=c),r.itemIndex=h}t++,i++}}function jh(e,t,i){var r=t.enabledChanged;if(null!==r&&r(t,i),t instanceof Vi){r=(t=t.Y.j).length;for(var c=0;c<r;c++){var h=t[c];i&&h instanceof Vi&&!h.isEnabled||jh(e,h,i)}}}function mu(e,t){El.add(e,t)}cr.className="Brush",cr.Solid=Hc=new Pe(cr,"Solid",0),cr.Linear=oc=new Pe(cr,"Linear",1),cr.Radial=_0=new Pe(cr,"Radial",2),cr.Pattern=Yd=new Pe(cr,"Pattern",4),cr.Lab=fu=new Pe(cr,"Lab",5),cr.HSL=Wp=new Pe(cr,"HSL",6),cr.randomColor=function(e,t){void 0===e&&(e=128),void 0===t&&(t=Math.max(e,255));var i=Math.abs(t-e);t=Math.floor(e+Math.random()*i).toString(16);var r=Math.floor(e+Math.random()*i).toString(16);return e=Math.floor(e+Math.random()*i).toString(16),2>t.length&&(t="0"+t),2>r.length&&(r="0"+r),2>e.length&&(e="0"+e),"#"+t+r+e},cr.isValidColor=function(e){if("black"===e)return!0;if(""===e)return!1;Br||(Hd(),Br=!0);var t=oh;if(null===t)return!0;t.fillStyle="#000000";var i=t.fillStyle;return t.fillStyle=e,t.fillStyle!==i||(t.fillStyle="#FFFFFF",i=t.fillStyle,t.fillStyle=e,t.fillStyle!==i)},cr.lighten=function(e){return xp(e)},cr.lightenBy=xp,cr.darken=function(e){return sh(e)},cr.darkenBy=sh,cr.mix=Fp,cr.isDark=Sd,na.prototype.measure=function(){},na.prototype.Cz=function(e,t,i,r,c){e.measure(t,i,r,c)},na.prototype.arrange=function(){},na.prototype.oy=function(e,t,i,r,c,h){e.arrange(t,i,r,c,h)},I.Object.defineProperties(na.prototype,{classType:{get:function(){return Vi}}}),na.prototype.arrangeElement=na.prototype.oy,na.prototype.measureElement=na.prototype.Cz,na.className="PanelLayout",y(fp,na),fp.prototype.measure=function(e,t,i,r,c,h,v){var W=r.length;e=fd(e);for(var X=0;X<W;X++){var Z=r[X];if(Z.visible||Z===e){var ge=Z.margin,ye=ge.right+ge.left;ge=ge.top+ge.bottom,Z.measure(t,i,h,v);var We=Z.measuredBounds;ye=Math.max(We.width+ye,0),ge=Math.max(We.height+ge,0),We=Z.position.x;var Ve=Z.position.y;isFinite(We)||(We=0),isFinite(Ve)||(Ve=0),Z instanceof io&&Z.isGeometryPositioned&&(We-=Z=Z.strokeWidth/2,Ve-=Z),Nn(c,We,Ve,ye,ge)}}},fp.prototype.arrange=function(e,t,i){var r=t.length,c=e.padding;for(e=i.x-c.left,i=i.y-c.top,c=0;c<r;c++){var h=t[c],v=h.measuredBounds,W=h.margin,X=h.position.x,Z=h.position.y;if(X=isNaN(X)?-e:X-e,Z=isNaN(Z)?-i:Z-i,h instanceof io&&h.isGeometryPositioned){var ge=h.strokeWidth/2;X-=ge,Z-=ge}h.visible&&h.arrange(X+W.left,Z+W.top,v.width,v.height)}},y(rh,na),rh.prototype.measure=function(e,t,i,r,c,h,v){var W=r.length;t=ie(),h=fd(e);for(var X=0;X<W;X++){var Z=r[X];if(Z.visible||Z===h){var ge=Rc(Z,!1);if(ge!==Ns&&ge!==Hs)t.push(Z);else{Z.measure(1/0,i,0,v),ge=Z.margin,Z=Z.measuredBounds;var ye=Math.max(Z.height+ge.top+ge.bottom,0);c.width+=Math.max(Z.width+ge.right+ge.left,0),c.height=Math.max(c.height,ye)}}}for(r=t.length,e.desiredSize.height?i=Math.min(e.desiredSize.height,e.maxSize.height):0!==c.height&&(i=Math.min(c.height,e.maxSize.height)),e=0;e<r;e++)((X=t[e]).visible||X===h)&&(W=(ge=X.margin).right+ge.left,ge=ge.top+ge.bottom,X.measure(1/0,i,0,v),X=X.measuredBounds,ge=Math.max(X.height+ge,0),c.width+=Math.max(X.width+W,0),c.height=Math.max(c.height,ge));ne(t)},rh.prototype.arrange=function(e,t,i){for(var r=t.length,c=e.padding,h=c.top,v=e.isOpposite,W=v?i.width:c.left,X=0;X<r;X++){var Z=h,ge=t[X];if(ge.visible){var ye=ge.measuredBounds,We=ge.margin,Ve=We.top+We.bottom,st=h+c.bottom,jt=ye.height,nn=Rc(ge,!1);(isNaN(ge.desiredSize.height)&&nn===Kr||nn===ua)&&(jt=Math.max(i.height-Ve-st,0)),Ve=jt+Ve+st,(st=ge.alignment).Kb()&&(st=e.defaultAlignment),st.gb()||(st=Jt),v&&(W-=ye.width+We.left+We.right),ge.arrange(W+st.offsetX+We.left,Z+st.offsetY+We.top+(i.height*st.y-Ve*st.y),ye.width,jt),v||(W+=ye.width+We.left+We.right)}}},y(Td,na),Td.prototype.measure=function(e,t,i,r,c,h){var v=r.length;i=ie();for(var W=fd(e),X=0;X<v;X++){var Z=r[X];if(Z.visible||Z===W){var ge=Rc(Z,!1);if(ge!==Ns&&ge!==ua)i.push(Z);else{var ye=Z.margin;ge=ye.right+ye.left,ye=ye.top+ye.bottom,Z.measure(t,1/0,h,0),Z=Z.measuredBounds,oi(c,Math.max(c.width,Math.max(Z.width+ge,0)),c.height+Math.max(Z.height+ye,0))}}}if(0!==(r=i.length)){for(e.desiredSize.width?t=Math.min(e.desiredSize.width,e.maxSize.width):0!==c.width&&(t=Math.min(c.width,e.maxSize.width)),e=0;e<r;e++)((X=i[e]).visible||X===W)&&(v=(Z=X.margin).right+Z.left,Z=Z.top+Z.bottom,X.measure(t,1/0,h,0),X=X.measuredBounds,Z=Math.max(X.height+Z,0),c.width=Math.max(c.width,Math.max(X.width+v,0)),c.height+=Z);ne(i)}},Td.prototype.arrange=function(e,t,i){for(var r=t.length,c=e.padding,h=c.left,v=e.isOpposite,W=v?i.height:c.top,X=0;X<r;X++){var Z=h,ge=t[X];if(ge.visible){var ye=ge.measuredBounds,We=ge.margin,Ve=We.left+We.right,st=h+c.right,jt=ye.width,nn=Rc(ge,!1);(isNaN(ge.desiredSize.width)&&nn===Kr||nn===Hs)&&(jt=Math.max(i.width-Ve-st,0)),Ve=jt+Ve+st,(st=ge.alignment).Kb()&&(st=e.defaultAlignment),st.gb()||(st=Jt),v&&(W-=ye.height+We.bottom+We.top),ge.arrange(Z+st.offsetX+We.left+(i.width*st.x-Ve*st.x),W+st.offsetY+We.top,jt,ye.height),v||(W+=ye.height+We.bottom+We.top)}}},y(mp,na),mp.prototype.measure=function(e,t,i,r,c,h,v){var W=r.length,X=e.zb(),Z=X.margin,ge=Z.right+Z.left,ye=Z.top+Z.bottom;X.measure(t,i,h,v);var We=X.measuredBounds;h=We.width,v=We.height;for(var Ve=Math.max(h+ge,0),st=Math.max(v+ye,0),jt=e.isClipping,nn=sn.allocAt(-Z.left,-Z.top,Ve,st),on=!0,Fn=fd(e),Gn=0;Gn<W;Gn++){var hi=r[Gn];if(hi!==X&&(hi.visible||hi===Fn)){switch(Ve=(Z=hi.margin).right+Z.left,st=Z.top+Z.bottom,We=Rc(hi,!1)){case Kr:t=h,i=v;break;case Hs:t=h;break;case ua:i=v}hi.measure(t,i,0,0),We=hi.measuredBounds,Ve=Math.max(We.width+Ve,0),st=Math.max(We.height+st,0);var gi=hi.alignment;gi.Kb()&&(gi=e.defaultAlignment),gi.gb()||(gi=Jt);var xi=hi.alignmentFocus;xi.Kb()&&(xi=Jt);var ns=null;if(hi instanceof Vi&&""!==hi.yg&&(hi.arrange(0,0,We.width,We.height),(ns=hi.$a(hi.yg))===hi&&(ns=null)),null!==ns){for(Z=Ze.allocAt(xi.x*(Z=ns.naturalBounds).width-xi.offsetX-(We=ns.margin).left,xi.y*Z.height-xi.offsetY-We.top);ns!==hi;)ns.transform.ta(Z),ns=ns.panel;hi=gi.x*h+gi.offsetX-Z.x,We=gi.y*v+gi.offsetY-Z.y,Ze.free(Z)}else hi=gi.x*h+gi.offsetX-(xi.x*We.width+xi.offsetX)-Z.left,We=gi.y*v+gi.offsetY-(xi.y*We.height+xi.offsetY)-Z.top;on?(on=!1,c.h(hi,We,Ve,st)):Nn(c,hi,We,Ve,st)}}switch(on?c.assign(nn):jt?c.gv(nn.x,nn.y,nn.width,nn.height):Nn(c,nn.x,nn.y,nn.width,nn.height),sn.free(nn),(We=X.stretch)===Qo&&(We=Rc(X,!1)),We){case Ns:return;case Kr:if(!isFinite(t)&&!isFinite(i))return;break;case Hs:if(!isFinite(t))return;break;case ua:if(!isFinite(i))return}for(h=(We=X.measuredBounds).width,v=We.height,Ve=Math.max(h+ge,0),st=Math.max(v+ye,0),nn=sn.allocAt(-(Z=X.margin).left,-Z.top,Ve,st),t=0;t<W;t++)(i=r[t])===X||!i.visible&&i!==Fn||(Ve=(Z=i.margin).right+Z.left,st=Z.top+Z.bottom,We=i.measuredBounds,Ve=Math.max(We.width+Ve,0),st=Math.max(We.height+st,0),(ge=i.alignment).Kb()&&(ge=e.defaultAlignment),ge.gb()||(ge=Jt),(i=i.alignmentFocus).Kb()&&(i=Jt),on?(on=!1,c.h(ge.x*h+ge.offsetX-(i.x*We.width+i.offsetX)-Z.left,ge.y*v+ge.offsetY-(i.y*We.height+i.offsetY)-Z.top,Ve,st)):Nn(c,ge.x*h+ge.offsetX-(i.x*We.width+i.offsetX)-Z.left,ge.y*v+ge.offsetY-(i.y*We.height+i.offsetY)-Z.top,Ve,st));on?c.assign(nn):jt?c.gv(nn.x,nn.y,nn.width,nn.height):Nn(c,nn.x,nn.y,nn.width,nn.height),sn.free(nn)},mp.prototype.arrange=function(e,t,i){var r=t.length,c=e.zb(),h=c.measuredBounds,v=h.width,W=e.padding,X=W.left,Z=X-i.x,ge=(W=W.top)-i.y;c.arrange(Z,ge,v,h=h.height);for(var ye=0;ye<r;ye++){var We=t[ye];if(We!==c){var Ve=We.measuredBounds,st=Ve.width;Ve=Ve.height,(ge=We.alignment).Kb()&&(ge=e.defaultAlignment),ge.gb()||(ge=Jt);var jt=We.alignmentFocus;if(jt.Kb()&&(jt=Jt),Z=null,We instanceof Vi&&""!==We.yg&&(Z=We.$a(We.yg))===We&&(Z=null),null!==Z){var nn=Z.naturalBounds;for(jt=Ze.allocAt(jt.x*nn.width-jt.offsetX,jt.y*nn.height-jt.offsetY);Z!==We;)Z.transform.ta(jt),Z=Z.panel;Z=ge.x*v+ge.offsetX-jt.x,ge=ge.y*h+ge.offsetY-jt.y,Ze.free(jt)}else Z=ge.x*v+ge.offsetX-(jt.x*st+jt.offsetX),ge=ge.y*h+ge.offsetY-(jt.y*Ve+jt.offsetY);Z-=i.x,ge-=i.y,We.visible&&We.arrange(X+Z,W+ge,st,Ve)}}},y(_p,na),_p.prototype.measure=function(e,t,i,r,c,h,v){var W=r.length,X=e.zb(),Z=X.margin,ge=t,ye=i,We=Z.right+Z.left,Ve=Z.top+Z.bottom;X.measure(t,i,h,v),Z=X.measuredBounds;var st=0,jt=null;X instanceof io&&(st=(jt=X).strokeWidth*jt.scale);var nn=Math.max(Z.width+We,0);Z=Math.max(Z.height+Ve,0);var on=Ju(X),Fn=on.x*nn+on.offsetX;on=on.y*Z+on.offsetY;var Gn=q0(X),hi=Gn.x*nn+Gn.offsetX;for(Gn=Gn.y*Z+Gn.offsetY,isFinite(t)&&(ge=Math.max(Math.abs(Fn-hi)-st,0)),isFinite(i)&&(ye=Math.max(Math.abs(on-Gn)-st,0)),(st=Ue.alloc()).h(0,0),e=fd(e),Gn=0;Gn<W;Gn++)(on=r[Gn])===X||!on.visible&&on!==e||(nn=(Z=on.margin).right+Z.left,Fn=Z.top+Z.bottom,on.measure(ge,ye,0,0),Z=on.measuredBounds,nn=Math.max(Z.width+nn,0),Z=Math.max(Z.height+Fn,0),st.h(Math.max(nn,st.width),Math.max(Z,st.height)));if(1===W)c.width=nn,c.height=Z,Ue.free(st);else{switch(on=Ju(X),W=r=0,(Gn=q0(X)).x!==on.x&&Gn.y!==on.y&&(r=st.width/Math.abs(Gn.x-on.x),W=st.height/Math.abs(Gn.y-on.y)),Ue.free(st),st=0,null!==jt&&(st=jt.strokeWidth*jt.scale,nu(jt)===Mo&&(r=W=Math.max(r,W))),r+=Math.abs(on.offsetX)+Math.abs(Gn.offsetX)+st,W+=Math.abs(on.offsetY)+Math.abs(Gn.offsetY)+st,(jt=X.stretch)===Qo&&(jt=Rc(X,!1)),jt){case Ns:v=h=0;break;case Kr:isFinite(t)&&(r=t),isFinite(i)&&(W=i);break;case Hs:isFinite(t)&&(r=t),v=0;break;case ua:h=0,isFinite(i)&&(W=i)}X.dm(),X.measure(r,W,h,v),c.width=X.measuredBounds.width+We,c.height=X.measuredBounds.height+Ve}},_p.prototype.arrange=function(e,t){var i=t.length,r=e.zb(),c=r.measuredBounds,h=sn.alloc();h.h(0,0,1,1);var v=r.margin,W=v.left,X=e.padding,Z=X.left;r.arrange(Z+W,(X=X.top)+(v=v.top),c.width,c.height);var ge=Ju(r),ye=q0(r),We=ge.y*c.height+ge.offsetY,Ve=ye.x*c.width+ye.offsetX;for(ye=ye.y*c.height+ye.offsetY,h.x=ge.x*c.width+ge.offsetX,h.y=We,Nn(h,Ve,ye,0,0),h.x+=W+Z,h.y+=v+X,c=0;c<i;c++)(W=t[c])!==r&&(Z=W.measuredBounds,v=W.margin,X=Math.max(Z.width+v.right+v.left,0),ge=Math.max(Z.height+v.top+v.bottom,0),(We=W.alignment).Kb()&&(We=e.defaultAlignment),We.gb()||(We=Jt),X=h.width*We.x+We.offsetX-X*We.x+v.left+h.x,v=h.height*We.y+We.offsetY-ge*We.y+v.top+h.y,W.visible&&(Hn(h.x,h.y,h.width,h.height,X,v,Z.width,Z.height)?W.arrange(X,v,Z.width,Z.height):W.arrange(X,v,Z.width,Z.height,new sn(h.x,h.y,h.width,h.height))));sn.free(h)},y(Ku,na),Ku.prototype.measure=function(e,t,i,r,c,h,v){for(var W=r.length,X=ie(),Z=ie(),ge=0;ge<W;ge++){var ye=r[ge],We=ye instanceof Vi?ye:null;if(null===We||We.type!==Vi.TableRow&&We.type!==Vi.TableColumn||!ye.visible)X.push(ye);else{Z.push(We);for(var Ve=We.Y.j,st=Ve.length,jt=0;jt<st;jt++){var nn=Ve[jt];We.type===Vi.TableRow?nn.row=ye.row:We.type===Vi.TableColumn&&(nn.column=ye.column),X.push(nn)}}}0===(W=X.length)&&(e.getRowDefinition(0),e.getColumnDefinition(0));for(var on=[],Fn=0;Fn<W;Fn++){var Gn=X[Fn];Q0(Gn,!0),uu(Gn,!0),on[Gn.row]||(on[Gn.row]=[]),on[Gn.row][Gn.column]||(on[Gn.row][Gn.column]=[]),on[Gn.row][Gn.column].push(Gn)}ne(X);var hi=ie(),gi=ie(),xi=ie(),ns={count:0},ls={count:0},ks=t,Ms=i,qo=e.sb;W=qo.length;for(var bo=0;bo<W;bo++){var us=qo[bo];void 0!==us&&(us.actual=0)}W=(qo=e.nb).length;for(var Ss=0;Ss<W;Ss++)void 0!==(us=qo[Ss])&&(us.actual=0);for(var Pa=on.length,V1=0,e0=0;e0<Pa;e0++)on[e0]&&(V1=Math.max(V1,on[e0].length));var xa=Math.min(e.topIndex,Pa-1),Ua=Math.min(e.leftIndex,V1-1),D0=0;Pa=on.length;for(var Qc=fd(e),h1=0;h1<Pa;h1++)if(on[h1]){V1=on[h1].length;for(var f1=e.getRowDefinition(h1),O0=f1.actual=0;O0<V1;O0++)if(on[h1][O0]){var Yo=e.getColumnDefinition(O0);void 0===hi[O0]&&(Yo.actual=0,hi[O0]=!0);for(var $o=on[h1][O0],H1=$o.length,al=0;al<H1;al++){var v0=$o[al];if(v0.visible||v0===Qc){var Ih=1<v0.rowSpan||1<v0.columnSpan;Ih&&(h1<xa||O0<Ua||gi.push(v0));var Pp=v0.margin,Kl=Pp.right+Pp.left,Bm=Pp.top+Pp.bottom,Dc=a1(v0,f1,Yo,!1),Bc=v0.desiredSize,Nd=!isNaN(Bc.height),ru=!isNaN(Bc.width)&&Nd;if(Ih||Dc===Ns||ru||h1<xa||O0<Ua||(void 0!==ns[O0]||Dc!==Kr&&Dc!==Hs||(ns[O0]=-1,ns.count++),void 0!==ls[h1]||Dc!==Kr&&Dc!==ua||(ls[h1]=-1,ls.count++),xi.push(v0)),v0.measure(1/0,1/0,0,0),!(h1<xa||O0<Ua)){var Rh=v0.measuredBounds,Du=Math.max(Rh.width+Kl,0),af=Math.max(Rh.height+Bm,0);if(1===v0.rowSpan&&(Dc===Ns||Dc===Hs)){var xf=(us=e.getRowDefinition(h1)).tc();(D0=Math.max(af-us.actual,0))+xf>Ms&&(D0=Math.max(Ms-xf,0));var km=0===us.actual;us.actual=us.actual+D0,Ms=Math.max(Ms-(D0+(km?xf:0)),0)}if(1===v0.columnSpan&&(Dc===Ns||Dc===ua)){var um=(us=e.getColumnDefinition(O0)).tc();(D0=Math.max(Du-us.actual,0))+um>ks&&(D0=Math.max(ks-um,0));var dm=0===us.actual;us.actual=us.actual+D0,ks=Math.max(ks-(D0+(dm?um:0)),0)}Ih&&v0.dm()}}}}}ne(hi);var au=0,C1=0;W=e.columnCount;for(var m1=0;m1<W;m1++){var Ad=e.nb[m1];void 0!==Ad&&(au+=Ad.ka,0!==Ad.ka&&(au+=Ad.tc()))}W=e.rowCount;for(var jm=0;jm<W;jm++){var bu=e.sb[jm];void 0!==bu&&(C1+=bu.ka,0!==bu.ka&&(C1+=bu.tc()))}ks=Math.max(t-au,0);var Qp=Ms=Math.max(i-C1,0),Pu=ks;W=xi.length;for(var lu=0;lu<W;lu++){var kc=xi[lu],Y_=e.getRowDefinition(kc.row),X_=e.getColumnDefinition(kc.column),lf=kc.measuredBounds,Cl=kc.margin,Lh=Cl.top+Cl.bottom;ns[kc.column]=0===X_.actual&&void 0!==ns[kc.column]?Math.max(lf.width+(Cl.right+Cl.left),ns[kc.column]):null,ls[kc.row]=0===Y_.actual&&void 0!==ls[kc.row]?Math.max(lf.height+Lh,ls[kc.row]):null}var id,Mu=0,uf=0;for(id in ls)"count"!==id&&(Mu+=ls[id]);for(id in ns)"count"!==id&&(uf+=ns[id]);for(var Y1=Ue.alloc(),Zp=0;Zp<W;Zp++){var zl=xi[Zp];if(zl.visible||zl===Qc){var Jl=e.getRowDefinition(zl.row),ll=e.getColumnDefinition(zl.column),xd=0;isFinite(ll.width)?xd=ll.width:(xd=isFinite(ks)&&null!==ns[zl.column]?0===uf?ll.actual+ks:ns[zl.column]/uf*Pu:null!==ns[zl.column]?ks:ll.actual||ks,xd=Math.max(0,xd-ll.tc()));var sd=0;switch(isFinite(Jl.height)?sd=Jl.height:(sd=isFinite(Ms)&&null!==ls[zl.row]?0===Mu?Jl.actual+Ms:ls[zl.row]/Mu*Qp:null!==ls[zl.row]?Ms:Jl.actual||Ms,sd=Math.max(0,sd-Jl.tc())),Y1.h(Math.max(ll.minimum,Math.min(xd,ll.maximum)),Math.max(Jl.minimum,Math.min(sd,Jl.maximum))),Dc=a1(zl,Jl,ll,!1)){case Hs:Y1.height=Math.max(Y1.height,Jl.actual+Ms);break;case ua:Y1.width=Math.max(Y1.width,ll.actual+ks)}var Ip=zl.margin,df=Ip.right+Ip.left,pm=Ip.top+Ip.bottom;zl.dm(),zl.measure(Y1.width,Y1.height,ll.minimum,Jl.minimum);var Rp=zl.measuredBounds,Lp=Math.max(Rp.width+df,0),yd=Math.max(Rp.height+pm,0);isFinite(ks)&&(Lp=Math.min(Lp,Y1.width)),isFinite(Ms)&&(yd=Math.min(yd,Y1.height));var Ed=0;Ed=Jl.actual,Jl.actual=Math.max(Jl.actual,yd),D0=Jl.actual-Ed,Ms=Math.max(Ms-D0,0),Ed=ll.actual,ll.actual=Math.max(ll.actual,Lp),D0=ll.actual-Ed,ks=Math.max(ks-D0,0)}}ne(xi);var wp=Ue.alloc(),Fd=ie(),bl=ie();if(0!==(W=gi.length))for(var F1=0;F1<Pa;F1++)if(on[F1]){V1=on[F1].length;var ap=e.getRowDefinition(F1);Fd[F1]=ap.actual;for(var Wd=0;Wd<V1;Wd++)if(on[F1][Wd]){var lp=e.getColumnDefinition(Wd);bl[Wd]=lp.actual}}for(var $u=0;$u<W;$u++){var Fa=gi[$u];if(Fa.visible||Fa===Qc){var Bd=e.getRowDefinition(Fa.row),Pc=e.getColumnDefinition(Fa.column);switch(Y1.h(Math.max(Pc.minimum,Math.min(t,Pc.maximum)),Math.max(Bd.minimum,Math.min(i,Bd.maximum))),Dc=a1(Fa,Bd,Pc,!1)){case Kr:0!==bl[Pc.index]&&(Y1.width=Math.min(Y1.width,bl[Pc.index])),0!==Fd[Bd.index]&&(Y1.height=Math.min(Y1.height,Fd[Bd.index]));break;case Hs:0!==bl[Pc.index]&&(Y1.width=Math.min(Y1.width,bl[Pc.index]));break;case ua:0!==Fd[Bd.index]&&(Y1.height=Math.min(Y1.height,Fd[Bd.index]))}isFinite(Pc.width)&&(Y1.width=Pc.width),isFinite(Bd.height)&&(Y1.height=Bd.height),wp.h(0,0);for(var wh=1;wh<Fa.rowSpan&&!(Fa.row+wh>=e.rowCount);wh++)us=e.getRowDefinition(Fa.row+wh),D0=0,D0=Dc===Kr||Dc===ua?Math.max(us.minimum,0===Fd[Fa.row+wh]?us.maximum:Math.min(Fd[Fa.row+wh],us.maximum)):Math.max(us.minimum,isNaN(us.Pc)?us.maximum:Math.min(us.Pc,us.maximum)),wp.height+=D0;for(var pf=1;pf<Fa.columnSpan&&!(Fa.column+pf>=e.columnCount);pf++)us=e.getColumnDefinition(Fa.column+pf),D0=0,D0=Dc===Kr||Dc===Hs?Math.max(us.minimum,0===bl[Fa.column+pf]?us.maximum:Math.min(bl[Fa.column+pf],us.maximum)):Math.max(us.minimum,isNaN(us.Pc)?us.maximum:Math.min(us.Pc,us.maximum)),wp.width+=D0;Y1.width+=wp.width,Y1.height+=wp.height;var Nh=Fa.margin,Iu=Nh.right+Nh.left,hf=Nh.top+Nh.bottom;Fa.measure(Y1.width,Y1.height,h,v);for(var kd=Fa.measuredBounds,Ql=Math.max(kd.width+Iu,0),cp=Math.max(kd.height+hf,0),jc=0,up=0;up<Fa.rowSpan&&!(Fa.row+up>=e.rowCount);up++)jc+=(us=e.getRowDefinition(Fa.row+up)).total||0;if(jc<cp){var od=cp-jc,jd=cp-jc;if(null!==Fa.spanAllocation)for(var P_=Fa.spanAllocation,Ud=0;Ud<Fa.rowSpan&&!(0>=od)&&!(Fa.row+Ud>=e.rowCount);Ud++){var Ff=(us=e.getRowDefinition(Fa.row+Ud)).ka||0,hm=P_(Fa,us,jd);us.actual=Math.min(us.maximum,Ff+hm),us.ka!==Ff&&(od-=us.ka-Ff)}for(;0<od;){var Wf=us.ka||0;if(isNaN(us.height)&&us.maximum>Wf&&(us.actual=Math.min(us.maximum,Wf+od),us.ka!==Wf&&(od-=us.ka-Wf)),0===us.index)break;us=e.getRowDefinition(us.index-1)}}for(var Bf=0,K_=0;K_<Fa.columnSpan&&!(Fa.column+K_>=e.columnCount);K_++)Bf+=(us=e.getColumnDefinition(Fa.column+K_)).total||0;if(Bf<Ql){var I_=Ql-Bf,bg=Ql-Bf;if(null!==Fa.spanAllocation)for(var kf=Fa.spanAllocation,fm=0;fm<Fa.columnSpan&&!(0>=I_)&&!(Fa.column+fm>=e.columnCount);fm++){var J_=(us=e.getColumnDefinition(Fa.column+fm)).ka||0,ZO=kf(Fa,us,bg);us.actual=Math.min(us.maximum,J_+ZO),us.ka!==J_&&(I_-=us.ka-J_)}for(;0<I_;){var Ug=us.ka||0;if(isNaN(us.width)&&us.maximum>Ug&&(us.actual=Math.min(us.maximum,Ug+I_),us.ka!==Ug&&(I_-=us.ka-Ug)),0===us.index)break;us=e.getColumnDefinition(us.index-1)}}}}ne(gi),Ue.free(wp),Ue.free(Y1),void 0!==Fd&&ne(Fd),void 0!==bl&&ne(bl);var R_=0,L_=0,Q_=e.desiredSize,Z_=e.maxSize;Dc=Rc(e,!0);var w_=C1=au=0,m_=0;W=e.columnCount;for(var Mg=0;Mg<W;Mg++)void 0!==e.nb[Mg]&&(us=e.getColumnDefinition(Mg),isFinite(us.width)?(w_+=us.width,w_+=us.tc()):yu(us)===uh?(w_+=us.ka,w_+=us.tc()):0!==us.ka&&(au+=us.ka,au+=us.tc()));R_=isFinite(Q_.width)?Math.min(Q_.width,Z_.width):Dc!==Ns&&isFinite(t)?t:au,R_=Math.max(R_,e.minSize.width),R_=Math.max(R_-w_,0);for(var Og=0===au?1:Math.max(R_/au,1),vg=0;vg<W;vg++)void 0!==e.nb[vg]&&(us=e.getColumnDefinition(vg),isFinite(us.width)||yu(us)===uh||(us.actual=us.ka*Og),us.position=c.width,0!==us.ka&&(c.width+=us.ka,c.width+=us.tc()));W=e.rowCount;for(var Gg=0;Gg<W;Gg++)void 0!==e.sb[Gg]&&(us=e.getRowDefinition(Gg),isFinite(us.height)?(m_+=us.height,m_+=us.tc()):yu(us)===uh?(m_+=us.ka,m_+=us.tc()):0!==us.ka&&(C1+=us.ka,0!==us.ka&&(C1+=us.tc())));L_=isFinite(Q_.height)?Math.min(Q_.height,Z_.height):Dc!==Ns&&isFinite(i)?i:C1,L_=Math.max(L_,e.minSize.height),L_=Math.max(L_-m_,0);for(var Ag=0===C1?1:Math.max(L_/C1,1),yg=0;yg<W;yg++)void 0!==e.sb[yg]&&(us=e.getRowDefinition(yg),isFinite(us.height)||yu(us)===uh||(us.actual=us.ka*Ag),us.position=c.height,0!==us.ka&&(c.height+=us.ka,0!==us.ka&&(c.height+=us.tc())));W=Z.length;for(var qg=0;qg<W;qg++){var Np=Z[qg],$g=0,I2=0;Np.type===Vi.TableRow?($g=c.width,I2=(us=e.getRowDefinition(Np.row)).actual):($g=(us=e.getColumnDefinition(Np.column)).actual,I2=c.height),Np.measuredBounds.h(0,0,$g,I2),Q0(Np,!1),on[Np.row]||(on[Np.row]=[]),on[Np.row][Np.column]||(on[Np.row][Np.column]=[]),on[Np.row][Np.column].push(Np)}ne(Z),e.cp=on},Ku.prototype.arrange=function(e,t,i){var r=t.length,c=e.padding,h=c.left;c=c.top;for(var W,X,v=e.cp,Z=v.length,ge=0,ye=0;ye<Z;ye++)v[ye]&&(ge=Math.max(ge,v[ye].length));for(ye=Math.min(e.topIndex,Z-1);ye!==Z&&(void 0===e.sb[ye]||0===e.sb[ye].ka);)ye++;for(ye=Math.min(ye,Z-1),ye=-e.sb[ye].position,W=Math.min(e.leftIndex,ge-1);W!==ge&&(void 0===e.nb[W]||0===e.nb[W].ka);)W++;W=Math.min(W,ge-1);for(var We=-e.nb[W].position,Ve=Ue.alloc(),st=0;st<Z;st++)if(v[st]){ge=v[st].length;var jt=e.getRowDefinition(st);X=jt.position+ye+c,0!==jt.ka&&(X+=jt.Nu());for(var nn=0;nn<ge;nn++)if(v[st][nn]){var on=e.getColumnDefinition(nn);W=on.position+We+h,0!==on.ka&&(W+=on.Nu());for(var Fn=v[st][nn],Gn=Fn.length,hi=0;hi<Gn;hi++){var gi=Fn[hi],xi=gi.measuredBounds,ns=gi instanceof Vi?gi:null;if(null===ns||ns.type!==Vi.TableRow&&ns.type!==Vi.TableColumn){Ve.h(0,0);for(var ls=1;ls<gi.rowSpan&&!(st+ls>=e.rowCount);ls++)ns=e.getRowDefinition(st+ls),Ve.height+=ns.total;for(ls=1;ls<gi.columnSpan&&!(nn+ls>=e.columnCount);ls++)ns=e.getColumnDefinition(nn+ls),Ve.width+=ns.total;var ks=on.ka+Ve.width,Ms=jt.ka+Ve.height;ls=W,ns=X;var qo=ks,bo=Ms,us=W,Ss=X,Pa=ks,V1=Ms;W+ks>i.width&&(Pa=Math.max(i.width-W,0)),X+Ms>i.height&&(V1=Math.max(i.height-X,0));var e0=gi.alignment;if(e0.Kb()){(e0=e.defaultAlignment).gb()||(e0=Jt);var xa=e0.x,Ua=e0.y,D0=e0.offsetX;e0=e0.offsetY;var Qc=on.alignment,h1=jt.alignment;Qc.gb()&&(xa=Qc.x,D0=Qc.offsetX),h1.gb()&&(Ua=h1.y,e0=h1.offsetY)}else xa=e0.x,Ua=e0.y,D0=e0.offsetX,e0=e0.offsetY;(isNaN(xa)||isNaN(Ua))&&(Ua=xa=.5,e0=D0=0),Qc=xi.width,h1=xi.height;var f1=gi.margin,O0=f1.left+f1.right,Yo=f1.top+f1.bottom,$o=a1(gi,jt,on,!1);!isNaN(gi.desiredSize.width)||$o!==Kr&&$o!==Hs||(Qc=Math.max(ks-O0,0)),!isNaN(gi.desiredSize.height)||$o!==Kr&&$o!==ua||(h1=Math.max(Ms-Yo,0)),ks=gi.maxSize,Ms=gi.minSize,Qc=Math.min(ks.width,Qc),h1=Math.min(ks.height,h1),Qc=Math.max(Ms.width,Qc),h1=Math.max(Ms.height,h1),ls+=qo*xa-(Qc+O0)*xa+D0+f1.left,ns+=bo*Ua-(ks=h1+Yo)*Ua+e0+f1.top,gi.visible&&(Hn(us,Ss,Pa,V1,ls,ns,xi.width,xi.height)?gi.arrange(ls,ns,Qc,h1):gi.arrange(ls,ns,Qc,h1,new sn(us,Ss,Pa,V1)))}else gi.fl(),gi.actualBounds.ha(),ls=sn.allocAt((qo=gi.actualBounds).x,qo.y,qo.width,qo.height),qo.x=ns.type===Vi.TableRow?h:W,qo.y=ns.type===Vi.TableColumn?c:X,qo.width=xi.width,qo.height=xi.height,gi.actualBounds.freeze(),uu(gi,!1),Tn(ls,qo)||null!==(xi=gi.part)&&(xi.yh(),gi.Do(xi)),sn.free(ls)}}}for(Ue.free(Ve),e=0;e<r;e++)null===(h=(i=t[e])instanceof Vi?i:null)||h.type!==Vi.TableRow&&h.type!==Vi.TableColumn||(h=i.actualBounds,i.naturalBounds.ha(),i.naturalBounds.h(0,0,h.width,h.height),i.naturalBounds.freeze())},y(Bp,na),Bp.prototype.measure=function(){},Bp.prototype.arrange=function(){},y(Xd,na),Xd.prototype.measure=function(){},Xd.prototype.arrange=function(){},y(rc,na),rc.prototype.measure=function(e,t,i,r,c,h,v){1<r.length&&z("Viewbox Panel cannot contain more than one GraphObject."),(r=r[0]).Ca=1,r.dm(),r.measure(1/0,1/0,h,v);var W=r.measuredBounds,X=r.margin,Z=X.right+X.left;if(X=X.top+X.bottom,isFinite(t)||isFinite(i)){var ge=r.scale,ye=W.width;W=W.height;var We=Math.max(t-Z,0),Ve=Math.max(i-X,0),st=1;e.viewboxStretch===Mo?0!==ye&&0!==W&&(st=Math.min(We/ye,Ve/W)):0!==ye&&0!==W&&(st=Math.max(We/ye,Ve/W)),0===st&&(st=1e-4),r.Ca*=st,ge!==r.scale&&(Q0(r,!0),r.measure(1/0,1/0,h,v))}W=r.measuredBounds,c.width=isFinite(t)?t:Math.max(W.width+Z,0),c.height=isFinite(i)?i:Math.max(W.height+X,0)},rc.prototype.arrange=function(e,t,i){var r=(t=t[0]).measuredBounds,c=t.margin,h=Math.max(r.width+(c.right+c.left),0);c=Math.max(r.height+(c.top+c.bottom),0);var v=t.alignment;v.Kb()&&(v=e.defaultAlignment),v.gb()||(v=Jt),t.arrange(i.width*v.x-h*v.x+v.offsetX,i.height*v.y-c*v.y+v.offsetY,r.width,r.height)},y(_r,na),_r.prototype.measure=function(){},_r.prototype.arrange=function(){},y(Cd,na),Cd.prototype.measure=function(e,t,i,r,c){if(i=r.length,e instanceof Zo||e instanceof Zt){var h=null,v=null,W=null;if(e instanceof Zt&&(v=h=e),e instanceof Zo&&(h=(W=e).adornedPart),h instanceof Zt){var X=h;if(0===i)oi(e.naturalBounds,0,0),e.measuredBounds.h(0,0,0,0);else{var Z=e instanceof Zo?null:h.path,ge=h.routeBounds;(t=e.hg).h(0,0,ge.width,ge.height);var ye=X.points;h=h.pointsCount,null!==W?W.gk(!1):null!==v&&v.gk(!1);var We=ge.width,Ve=ge.height;e.location.h(ge.x,ge.y),e.l.length=0,null!==Z&&(ah(e,We,Ve,Z),t.Jc(W=Z.measuredBounds),e.l.push(W)),W=mi.alloc();for(var st=Ze.alloc(),jt=Ze.alloc(),nn=0;nn<i;nn++){var on=r[nn];if(on!==Z)if(on.isPanelMain&&on instanceof io){ah(e,We,Ve,on);var Fn=on.measuredBounds;t.Jc(Fn),e.l.push(Fn)}else if(2>h)on.measure(1/0,1/0,0,0),t.Jc(Fn=on.measuredBounds),e.l.push(Fn);else{var Gn=on.segmentIndex;Fn=on.segmentFraction;var hi=on.alignmentFocus;hi.jc()&&(hi=Jt);var gi=on.segmentOrientation,xi=on.segmentOffset;if(Gn<-h||Gn>=h){Fn=X.midPoint;var ns=X.midAngle;if(gi!==Ya){var ls=X.computeAngle(on,gi,ns);on.zc=ls}ls=Fn.x-ge.x;var ks=Fn.y-ge.y}else{if(ls=0,0<=Gn){ks=ye.N(Gn);var Ms=Gn<h-1?ye.N(Gn+1):ks}else ks=ye.N(ls=h+Gn),Ms=0<ls?ye.N(ls-1):ks;if(ks.Qa(Ms)){0<=Gn?(ns=0<Gn?ye.N(Gn-1):ks,ls=Gn<h-2?ye.N(Gn+2):Ms):(ns=ls<h-1?ye.N(ls+1):ks,ls=1<ls?ye.N(ls-2):Ms);var qo=ns.Be(ks),bo=Ms.Be(ls);ns=qo>bo+10?0<=Gn?ns.Wa(ks):ks.Wa(ns):bo>qo+10?0<=Gn?Ms.Wa(ls):ls.Wa(Ms):0<=Gn?ns.Wa(ls):ls.Wa(ns)}else ns=0<=Gn?ks.Wa(Ms):Ms.Wa(ks);gi!==Ya&&(ls=X.computeAngle(on,gi,ns),on.zc=ls),ls=ks.x+(Ms.x-ks.x)*Fn-ge.x,ks=ks.y+(Ms.y-ks.y)*Fn-ge.y}on.measure(1/0,1/0,0,0),Fn=on.measuredBounds,qo=0,on instanceof io&&(qo=on.strokeWidth),Ms=(bo=on.naturalBounds).width+qo,bo=bo.height+qo,W.reset(),W.translate(-Fn.x,-Fn.y),W.scale(on.scale,on.scale),W.rotate(gi===Ya?on.angle:ns,Ms/2,bo/2),gi!==ed&&gi!==p1||W.rotate(90,Ms/2,bo/2),gi!==vm&&gi!==Su||W.rotate(-90,Ms/2,bo/2),gi===Vh&&(45<ns&&135>ns||225<ns&&315>ns)&&W.rotate(-ns,Ms/2,bo/2),gi=new sn(0,0,Ms,bo),st.Ti(gi,hi),W.ta(st),hi=qo/2*on.scale-st.x,on=qo/2*on.scale-st.y,jt.assign(xi),isNaN(jt.x)&&(jt.x=0<=Gn?Ms/2+3:-(Ms/2+3)),isNaN(jt.y)&&(jt.y=-(bo/2+3)),jt.rotate(ns),ls+=jt.x,ks+=jt.y,gi.set(Fn),gi.h(ls+hi,ks+on,Fn.width,Fn.height),e.l.push(gi),t.Jc(gi)}}if(null!==v)for(r=v.labelNodes;r.next();)r.value.measure(1/0,1/0);e.hg=t,(e=e.location).h(e.x+t.x,e.y+t.y),oi(c,t.width||0,t.height||0),mi.free(W),Ze.free(st),Ze.free(jt)}}}},Cd.prototype.arrange=function(e,t){var i=t.length;if(e instanceof Zo||e instanceof Zt){var r=null,c=null,h=null;e instanceof Zt&&(c=r=e),e instanceof Zo&&(r=(h=e).adornedPart);var v=e instanceof Zo?null:r.path;if(0!==e.l.length){var W=e.l,X=0;if(null!==v&&X<e.l.length){var Z=W[X];X++,v.arrange(Z.x-e.hg.x,Z.y-e.hg.y,Z.width,Z.height)}for(Z=0;Z<i;Z++){var ge=t[Z];if(ge!==v&&X<e.l.length){var ye=W[X];X++,ge.arrange(ye.x-e.hg.x,ye.y-e.hg.y,ye.width,ye.height)}}}if(2<=(i=(t=r.points).count)&&e instanceof Zt)for(r=e.labelNodes;r.next();){ye=e;var We=(v=r.value).segmentFraction;Z=v.alignmentFocus;var Ve=v.segmentOrientation;if(X=v.segmentOffset,(W=v.segmentIndex)<-i||W>=i){var st=ye.midPoint;ge=ye.midAngle,Ve!==Ya&&(ye=ye.computeAngle(v,Ve,ge),v.angle=ye),ye=st.x;var jt=st.y}else{var nn=0;if(0<=W?(jt=t.j[W],st=W<i-1?t.j[W+1]:jt):(jt=t.j[nn=i+W],st=0<nn?t.j[nn-1]:jt),jt.Qa(st)){0<=W?(ge=0<W?t.j[W-1]:jt,nn=W<i-2?t.j[W+2]:st):(ge=nn<i-1?t.j[nn+1]:jt,nn=1<nn?t.j[nn-2]:st);var on=ge.Be(jt),Fn=st.Be(nn);ge=on>Fn+10?0<=W?ge.Wa(jt):jt.Wa(ge):Fn>on+10?0<=W?st.Wa(nn):nn.Wa(st):0<=W?ge.Wa(nn):nn.Wa(ge)}else ge=0<=W?jt.Wa(st):st.Wa(jt);Ve!==Ya&&(ye=ye.computeAngle(v,Ve,ge),v.angle=ye),ye=jt.x+(st.x-jt.x)*We,jt=jt.y+(st.y-jt.y)*We}Z.et()?v.location=new Ze(ye,jt):(Z.jc()&&(Z=Jt),(st=mi.alloc()).reset(),st.scale(v.scale,v.scale),st.rotate(v.angle,0,0),We=sn.allocAt(0,0,(We=v.naturalBounds).width,We.height),(Ve=Ze.alloc()).Ti(We,Z),st.ta(Ve),Z=-Ve.x,nn=-Ve.y,X=X.copy(),isNaN(X.x)&&(X.x=0<=W?Ve.x+3:-(Ve.x+3)),isNaN(X.y)&&(X.y=-(Ve.y+3)),X.rotate(ge),ye+=X.x,jt+=X.y,st.Uv(We),W=Ze.allocAt(ye+(Z+=We.x),jt+(nn+=We.y)),v.move(W),Ze.free(W),Ze.free(Ve),sn.free(We),mi.free(st))}null!==h?h.gk(!1):null!==c&&c.gk(!1)}},y(gp,na),gp.prototype.measure=function(e,t,i,r,c,h,v){var W=e.zb();e.hj=[];var X=W.margin,Z=X.right+X.left,ge=X.top+X.bottom;W.measure(t,i,h,v);var ye=W.measuredBounds,We=new sn(-X.left,-X.top,Math.max(ye.width+Z,0),Math.max(ye.height+ge,0));e.hj.push(We),c.assign(We);for(var Ve=W.geometry,st=W.strokeWidth,jt=Ve.flattenedSegments,nn=Ve.flattenedLengths,on=Ve.flattenedTotalLength,Fn=jt.length,Gn=0,hi=0,gi=ie(),xi=0;xi<Fn;xi++){var ns=jt[xi],ls=[];hi=Gn=0;for(var ks=ns.length,Ms=0;Ms<ks;Ms+=2){var qo=ns[Ms],bo=ns[Ms+1];if(0!==Ms){var us=180*Math.atan2(bo-hi,qo-Gn)/Math.PI;0>us&&(us+=360),ls.push(us)}Gn=qo,hi=bo}gi.push(ls)}if(null===e.Mg){for(var Ss=[],Pa=e.Y.j,V1=Pa.length,e0=0;e0<V1;e0++){var xa=Pa[e0],Ua=[];if(Ss.push(Ua),xa.visible)for(var D0=xa.interval,Qc=0;Qc<V1;Qc++){var h1=Pa[Qc];if(h1.visible&&xa!==h1&&!(xa instanceof io&&!(h1 instanceof io)||xa instanceof tt&&!(h1 instanceof tt))){var f1=h1.interval;f1>D0&&Ua.push(f1)}}}e.Mg=Ss}var O0=e.Mg,Yo=e.Y.j,$o=Yo.length,H1=0,al=0,v0=on;e.jj=[];for(var Ih,Pp=0;Pp<$o;Pp++){var Kl=Yo[Pp];if(Ih=[],Kl.visible&&Kl!==W){var Bm=Kl.interval,Dc=e.graduatedTickUnit;if(!(2>Dc*Bm*on/e.graduatedRange)){var Bc=nn[0][0],Nd=0,ru=0;al=on*Kl.graduatedStart-1e-4,v0=on*Kl.graduatedEnd+1e-4;var Rh=Dc*Bm,Du=e.graduatedTickBase;if(Du<e.graduatedMin){var af=(e.graduatedMin-Du)/Rh;Du+=(af=af%1==0?af:Math.floor(af+1))*Rh}else Du>e.graduatedMin+Rh&&(Du-=Math.floor((Du-e.graduatedMin)/Rh)*Rh);for(var xf=O0[Pp];Du<=e.graduatedMax;){e:{for(var km=xf.length,um=0;um<km;um++)if(Yn.ca((Du-e.graduatedTickBase)%(xf[um]*e.graduatedTickUnit),0)){var dm=!1;break e}dm=!0}if(dm&&(null===Kl.graduatedSkip||!Kl.graduatedSkip(Du))&&((H1=(Du-e.graduatedMin)*on/e.graduatedRange)>on&&(H1=on),al<=H1&&H1<=v0)){for(var au=gi[Nd][ru],C1=nn[Nd][ru];Nd<nn.length;){for(;H1>Bc&&ru<nn[Nd].length-1;)ru++,au=gi[Nd][ru],Bc+=C1=nn[Nd][ru];if(H1<=Bc)break;au=gi[++Nd][ru=0],Bc+=C1=nn[Nd][ru]}var m1=jt[Nd],Ad=m1[2*ru],jm=m1[2*ru+1],bu=(H1-(Bc-C1))/C1,Qp=new Ze(Ad+(m1[2*ru+2]-Ad)*bu+st/2-Ve.bounds.x,jm+(m1[2*ru+3]-jm)*bu+st/2-Ve.bounds.y);Qp.scale(W.scale,W.scale);var Pu=au,lu=gi[Nd];if(1e-4>bu?0<ru?Pu=lu[ru-1]:Yn.ca(m1[0],m1[m1.length-2])&&Yn.ca(m1[1],m1[m1.length-1])&&(Pu=lu[lu.length-1]):.9999<bu&&(ru+1<lu.length?Pu=lu[ru+1]:Yn.ca(m1[0],m1[m1.length-2])&&Yn.ca(m1[1],m1[m1.length-1])&&(Pu=lu[0])),au!==Pu&&(180<Math.abs(au-Pu)&&(au<Pu?au+=360:Pu+=360),au=(au+Pu)/2%360),Kl instanceof tt){var kc="";""!==(kc=null!==Kl.graduatedFunction?null!=(kc=Kl.graduatedFunction(Du))?kc.toString():"":(+Du.toFixed(2)).toString())&&Ih.push([Qp,au,kc])}else Ih.push([Qp,au])}Du+=Rh}}}e.jj.push(Ih)}ne(gi);for(var Y_=e.jj,X_=r.length,lf=0;lf<X_;lf++){var Cl=r[lf],cf=Y_[lf];if(Cl.visible&&Cl!==W&&0!==cf.length){if(Cl instanceof io){var Lh=e,Mu=c,uf=Cl.alignmentFocus;uf.jc()&&(uf=Mt);var id=Cl.angle;Cl.zc=0,Cl.measure(1/0,1/0,0,0),Cl.zc=id;var Y1=Cl.measuredBounds,Zp=Y1.width,zl=Y1.height,Jl=sn.allocAt(0,0,Zp,zl),ll=Ze.alloc();ll.Ti(Jl,uf),sn.free(Jl);for(var xd=-ll.x,sd=-ll.y,Ip=new sn,df=cf.length,pm=0;pm<df;pm++)for(var Rp=cf[pm],Lp=Rp[0].x,yd=Rp[0].y,Ed=Rp[1],wp=0;4>wp;wp++){switch(wp){case 0:ll.h(xd,sd);break;case 1:ll.h(xd+Zp,sd);break;case 2:ll.h(xd,sd+zl);break;case 3:ll.h(xd+Zp,sd+zl)}ll.rotate(Ed+Cl.angle),ll.offset(Lp,yd),0===pm&&0===wp?Ip.h(ll.x,ll.y,0,0):Ip.Ie(ll),ll.offset(-Lp,-yd),ll.rotate(-Ed-Cl.angle)}Ze.free(ll),Lh.hj.push(Ip),Nn(Mu,Ip.x,Ip.y,Ip.width,Ip.height)}else if(Cl instanceof tt){var Fd=e,bl=c;null===Fd.kh&&(Fd.kh=new tt);var F1=Fd.kh;mn(F1,Cl);var ap=Cl.alignmentFocus;ap.jc()&&(ap=Mt);for(var Wd=Cl.segmentOrientation,lp=Cl.segmentOffset,$u=null,Fa=0,Bd=0,Pc=0,wh=0,pf=cf.length,Nh=0;Nh<pf;Nh++){var Iu=cf[Nh];Fa=Iu[0].x,Bd=Iu[0].y,Pc=Iu[1],Wd!==Ya&&(wh=Zt.computeAngle(Wd,Pc),F1.zc=wh),F1.text=Iu[2],F1.measure(1/0,1/0,0,0);var hf=F1.measuredBounds,kd=F1.naturalBounds,Ql=kd.width,cp=kd.height,jc=mi.alloc();jc.reset(),jc.translate(-hf.x,-hf.y),jc.scale(F1.scale,F1.scale),jc.rotate(Wd===Ya?F1.angle:Pc,Ql/2,cp/2),Wd!==ed&&Wd!==p1||jc.rotate(90,Ql/2,cp/2),Wd!==vm&&Wd!==Su||jc.rotate(-90,Ql/2,cp/2),Wd===Vh&&(45<Pc&&135>Pc||225<Pc&&315>Pc)&&jc.rotate(-Pc,Ql/2,cp/2);var up=sn.allocAt(0,0,Ql,cp),od=Ze.alloc();od.Ti(up,ap),jc.ta(od);var jd=-od.x,P_=-od.y,Ud=Ze.alloc();Ud.assign(lp),isNaN(Ud.x)&&(Ud.x=Ql/2+3),isNaN(Ud.y)&&(Ud.y=-(cp/2+3)),Ud.rotate(Pc);var Ff=new sn(Fa+=Ud.x+jd,Bd+=Ud.y+P_,hf.width,hf.height),hm=new sn(hf.x,hf.y,hf.width,hf.height),Wf=new sn(kd.x,kd.y,kd.width,kd.height),Bf=new iu;Bf.Vl(F1.metrics),Iu.push(wh),Iu.push(F1.lineCount),Iu.push(Bf),Iu.push(Ff),Iu.push(hm),Iu.push(Wf),0===Nh?$u=Ff.copy():$u.Jc(Ff),Ze.free(Ud),Ze.free(od),sn.free(up),mi.free(jc)}Fd.hj.push($u),Nn(bl,$u.x,$u.y,$u.width,$u.height)}Q0(Cl,!1)}}},gp.prototype.arrange=function(e,t,i){if(null!==e.hj){var r=e.zb(),c=e.jj,h=e.hj,v=0,W=h[v];v++,r.arrange(W.x-i.x,W.y-i.y,W.width,W.height);for(var X=t.length,Z=0;Z<X;Z++){var ge=t[Z];W=c[Z],ge.visible&&ge!==r&&0!==W.length&&(W=h[v],v++,ge.arrange(W.x-i.x,W.y-i.y,W.width,W.height))}e.hj=null}},y(Vi,As),Vi.prototype.cloneProtected=function(e){if(As.prototype.cloneProtected.call(this,e),e.va=this.va,e.eb=this.eb.I(),e.nn=this.nn.I(),e.Df=this.Df,e.va===Vi.Table){e.dj=this.dj.I(),e.Gg=this.Gg,e.Vh=this.Vh,e.Uh=this.Uh,e.Fg=this.Fg,e.Eg=this.Eg,e.Th=this.Th;var t=[];if(0<this.sb.length)for(var i=this.sb,r=i.length,c=0;c<r;c++)if(void 0!==i[c]){var h=i[c].copy();h.Si(e),t[c]=h}if(e.sb=t,t=[],0<this.nb.length)for(r=(i=this.nb).length,c=0;c<r;c++)void 0!==i[c]&&((h=i[c].copy()).Si(e),t[c]=h);e.nb=t,e.Fj=this.Fj,e.bj=this.bj,e.wi=this.wi,e.gi=this.gi}e.Fp=this.Fp,e.Ln=this.Ln.I(),e.Mn=this.Mn.I(),e.In=this.In,e.Hn=this.Hn,e.Kn=this.Kn,e.Jn=this.Jn,e.jj=this.jj,e.Mg=this.Mg,e.jb=this.jb,e.Qh=this.Qh,e.Zn=this.Zn,e.ei=this.ei,e.je=this.je,e.gl=this.gl,e.hg.assign(this.hg),e.yg=this.yg,null!==this.cp&&(e.cp=this.cp)},Vi.prototype.mf=function(e){As.prototype.mf.call(this,e),e.Y=this.Y;for(var t=e.Y.j,i=t.length,r=0;r<i;r++)t[r].ag=e;e.ti=null},Vi.prototype.copy=function(){var e=As.prototype.copy.call(this);if(null!==e){for(var t=this.Y.j,i=t.length,r=0;r<i;r++){var c=t[r].copy();c.Si(e),c.Aj=null;var h=e.Y,v=h.count;if(h.Ib(v,c),null!==(h=e.part)){h.vj=null,null!==c.portId&&h instanceof as&&(h.xh=!0);var W=e.diagram;null!==W&&W.undoManager.isUndoingRedoing||h.ab(yr,"elements",e,null,c,null,v)}}return e}return null},(N=Vi.prototype).toString=function(){return"Panel("+this.type+")#"+Je(this)},N.Do=function(e){As.prototype.Do.call(this,e);for(var t=this.Y.j,i=t.length,r=0;r<i;r++)t[r].Do(e)},N.Ci=function(e,t){if(this.va===Vi.Grid){0>=(t=this.Ce()*t.scale)&&(t=1);var i=this.gridCellSize,r=i.width;i=i.height;var c=this.naturalBounds,h=this.actualBounds,v=c.width,W=c.height,X=Math.ceil(v/r),Z=Math.ceil(W/i),ge=this.gridOrigin;e.save(),e.beginPath(),e.rect(0,0,v,W),e.clip();for(var ye=[],We=this.Y.j,Ve=We.length,st=0;st<Ve;st++){var jt=We[st],nn=[];if(ye.push(nn),jt.visible){jt=Au(jt.figure);for(var on=st+1;on<Ve;on++){var Fn=We[on];Fn.visible&&Au(Fn.figure)===jt&&2<=(Fn=Fn.interval)&&nn.push(Fn)}}}for(Ve=(We=this.Y.j).length,st=0;st<Ve;st++){var Gn=We[st];if(Gn.visible&&!(2>r*(nn=Gn.interval)*t)){if(on=1,1!==(jt=Gn.opacity)){if(0===jt)continue;e.globalAlpha=(on=e.globalAlpha)*jt}Fn=ye[st];var hi=!1,gi=Gn.strokeDashArray;if(null!==gi&&(hi=!0,e.Ps(gi,Gn.strokeDashOffset)),"LineV"===Gn.figure&&null!==Gn.stroke){for(e.lineWidth=Gn.strokeWidth,vo(this,e,Gn.stroke,!1,!1,c,h),e.beginPath(),gi=Gn=Math.floor(-ge.x/r);gi<=Gn+X;gi++){var xi=gi*r+ge.x;0<=xi&&xi<=v&&lh(gi,nn,Fn)&&(e.moveTo(xi,0),e.lineTo(xi,W))}e.stroke()}else if("LineH"===Gn.figure&&null!==Gn.stroke){for(e.lineWidth=Gn.strokeWidth,vo(this,e,Gn.stroke,!1,!1,c,h),e.beginPath(),gi=Gn=Math.floor(-ge.y/i);gi<=Gn+Z;gi++)0<=(xi=gi*i+ge.y)&&xi<=W&&lh(gi,nn,Fn)&&(e.moveTo(0,xi),e.lineTo(v,xi));e.stroke()}else if("BarV"===Gn.figure&&null!==Gn.fill)for(vo(this,e,Gn.fill,!0,!1,c,h),Gn=Gn.width,isNaN(Gn)&&(Gn=r),xi=gi=Math.floor(-ge.x/r);xi<=gi+X;xi++){var ns=xi*r+ge.x;0<=ns&&ns<=v&&lh(xi,nn,Fn)&&e.fillRect(ns,0,Gn,W)}else if("BarH"===Gn.figure&&null!==Gn.fill)for(vo(this,e,Gn.fill,!0,!1,c,h),Gn=Gn.height,isNaN(Gn)&&(Gn=i),xi=gi=Math.floor(-ge.y/i);xi<=gi+Z;xi++)0<=(ns=xi*i+ge.y)&&ns<=W&&lh(xi,nn,Fn)&&e.fillRect(0,ns,v,Gn);hi&&e.Ns(),1!==jt&&(e.globalAlpha=on)}}e.restore(),e.Rc(!1)}else if(this.va===Vi.Graduated){for(r=t.mj,t.mj=!0,i=(c=this.naturalBounds).width,c=c.height,e.save(),e.beginPath(),e.rect(-1,-1,i+1,c+1),e.clip(),(i=this.zb()).hc(e,t),0>=(c=this.Ce()*t.scale)&&(c=1),h=i.actualBounds,W=this.jj,X=(v=this.Y.j).length,Z=0;Z<X;Z++)if(ye=(ge=W[Z]).length,(We=v[Z]).visible&&We!==i&&0!==ge.length)if(We instanceof io){if(!(2>this.graduatedTickUnit*We.interval*c))for(Ve=We.measuredBounds,st=We.strokeWidth*We.scale,(nn=We.alignmentFocus).jc()&&(nn=Mt),jt=0;jt<ye;jt++)on=ge[jt][0],Fn=ge[jt][1],hi=nn,(Gn=We.tb).reset(),Gn.translate(on.x+h.x,on.y+h.y),Gn.rotate(Fn+We.angle,0,0),Gn.translate(-Ve.width*hi.x+hi.offsetX+st/2,-Ve.height*hi.y+hi.offsetY+st/2),Gn.scale(We.scale,We.scale),Hu(We,!1),We.Dh.set(We.tb),We.Sk=We.scale,eu(We,!1),We.hc(e,t),We.tb.reset()}else if(We instanceof tt)for(null===this.kh&&(this.kh=new tt),mn(Ve=this.kh,We),We=0;We<ye;We++)3<(jt=ge[We]).length&&(st=jt[6],Ve.Pb=jt[2],Ve.zc=jt[3],Ve.oc=jt[4],Ve.nd=jt[5],Ve.qc=jt[8],Ve.arrange(st.x,st.y,st.width,st.height),Ve.arrange((st=jt[6]).x,st.y,st.width,st.height),nn=jt[7],jt=jt[8],(on=Ve.tb).reset(),on.translate(st.x+h.x,st.y+h.y),on.translate(-nn.x,-nn.y),cd(Ve,on,jt.x,jt.y,jt.width,jt.height),Hu(Ve,!1),Ve.Dh.set(Ve.tb),Ve.Sk=Ve.scale,eu(Ve,!1),Ve.hc(e,t));t.mj=r,e.restore(),e.Rc(!0)}else{for(this.va===Vi.Table&&(e.lineCap="butt",bp(this,e,!0,this.sb,!0),bp(this,e,!1,this.nb,!0),Kd(this,e,!0,this.sb),Kd(this,e,!1,this.nb),bp(this,e,!0,this.sb,!1),bp(this,e,!1,this.nb,!1)),(r=this.isClipping)&&e.save(),i=this.zb(),h=(c=this.Y.j).length,v=0;v<h;v++)W=c[v],r&&W===i&&(e.clipInsteadOfFill=!0),W.hc(e,t),r&&W===i&&(e.clipInsteadOfFill=!1);r&&(e.restore(),e.Rc(!0))}},N.bk=function(e,t,i,r,c){var h=this.Zd(),v=this.transform,W=1/(v.m11*v.m22-v.m12*v.m21),X=v.m22*W,Z=-v.m12*W,ge=-v.m21*W,ye=v.m11*W,We=W*(v.m21*v.dy-v.m22*v.dx),Ve=W*(v.m12*v.dx-v.m11*v.dy);if(null!==this.areaBackground)return Yn.Tc((v=this.actualBounds).left,v.top,v.right,v.bottom,e,t,i,r,c);if(null!==this.background)return h=e*X+t*ge+We,W=e*Z+t*ye+Ve,e=i*X+r*ge+We,X=i*Z+r*ye+Ve,c.h(0,0),h=Yn.Tc(0,0,(i=this.naturalBounds).width,i.height,h,W,e,X,c),c.transform(v),h;h||(X=1,ge=Z=0,ye=1,Ve=We=0),W=e*X+t*ge+We,e=e*Z+t*ye+Ve,c.h(X=i*X+r*ge+We,i=i*Z+r*ye+Ve),r=(X-W)*(X-W)+(i-e)*(i-e),Z=!1,Ve=(ye=this.Y.j).length,ge=Ze.alloc(),We=null,t=1/0;var st=null;this.isClipping&&(st=Ze.alloc(),(Z=(We=this.zb()).bk(W,e,X,i,st))&&(t=(W-st.x)*(W-st.x)+(e-st.y)*(e-st.y)));for(var jt=0;jt<Ve;jt++){var nn=ye[jt];nn.visible&&nn!==We&&nn.bk(W,e,X,i,ge)&&(Z=!0,(nn=(W-ge.x)*(W-ge.x)+(e-ge.y)*(e-ge.y))<r&&(r=nn,c.set(ge)))}return this.isClipping&&(t>r&&c.set(st),Ze.free(st)),Ze.free(ge),h&&c.transform(v),Z},N.s=function(e){As.prototype.s.call(this,e),e=null,(this.va===Vi.Auto||this.va===Vi.Link)&&(e=this.zb());for(var t=this.Y.j,i=t.length,r=0;r<i;r++){var c=t[r];if((c===e||c.isPanelMain)&&c.s(!0),!c.desiredSize.o()){var h=Rc(c,!1);(c instanceof xn||c instanceof Vi||c instanceof tt||h!==Ns)&&c.s(!0)}}},N.dm=function(){if(!1===ic(this)){Q0(this,!0),uu(this,!0);for(var e=this.Y.j,t=e.length,i=0;i<t;i++)e[i].dm()}},N.fl=function(){if(!(2048&this.H)){Hu(this,!0),eu(this,!0);for(var e=this.Y.j,t=e.length,i=0;i<t;i++)e[i].iv()}},N.iv=function(){eu(this,!0);for(var e=this.Y.j,t=e.length,i=0;i<t;i++)e[i].iv()},N.hm=function(e,t,i,r){var c=this.hg;c.h(0,0,0,0);var h=this.desiredSize,v=this.minSize;void 0===i&&(i=v.width,r=v.height),i=Math.max(i,v.width),r=Math.max(r,v.height);var W=this.maxSize;isNaN(h.width)||(e=Math.min(h.width,W.width)),isNaN(h.height)||(t=Math.min(h.height,W.height)),e=Math.max(i,e),t=Math.max(r,t);var X=this.eb;e=Math.max(e-X.left-X.right,0),t=Math.max(t-X.top-X.bottom,0);var Z=this.Y.j;0!==Z.length&&this.va.measure(this,e,t,Z,c,i,r),e=c.width+X.left+X.right,X=c.height+X.top+X.bottom,isFinite(h.width)&&(e=h.width),isFinite(h.height)&&(X=h.height),e=Math.min(W.width,e),X=Math.min(W.height,X),e=Math.max(v.width,e),X=Math.max(v.height,X),oi(c,e=Math.max(i,e),X=Math.max(r,X)),oi(this.naturalBounds,e,X),Fl(this,0,0,e,X)},N.zb=function(){if(null===this.ti){var e=this.Y.j,t=e.length;if(0===t)return null;for(var i=0;i<t;i++){var r=e[i];if(!0===r.isPanelMain)return this.ti=r}this.ti=e[0]}return this.ti},N.th=function(e,t,i,r){var c=this.Y.j;if(this.actualBounds.h(e,t,i,r),0!==c.length){if(!this.desiredSize.o()){e=Rc(this,!0);var h=this.measuredBounds;t=h.width,h=h.height;var v=this.Tg,W=v.left+v.right;switch(v=v.top+v.bottom,t===i&&h===r&&(e=Ns),e){case Ns:(t>i||h>r)&&(this.s(),this.measure(t>i?i:t,h>r?r:h,0,0));break;case Kr:this.s(!0),this.measure(i+W,r+v,0,0);break;case Hs:this.s(!0),this.measure(i+W,h+v,0,0);break;case ua:this.s(!0),this.measure(t+W,r+v,0,0)}}this.va.arrange(this,c,this.hg)}},N.vh=function(e){var t=this.naturalBounds,i=fd(this);if(Hn(0,0,t.width,t.height,e.x,e.y)){for(var r=(t=this.Y.j).length,c=Ze.allocAt(0,0);r--;){var h=t[r];if((h.visible||h===i)&&(jn(c.set(e),h.transform),h.ea(c)))return Ze.free(c),!0}return Ze.free(c),!(null===this.ib&&null===this.dc)}return!1},N.Qs=function(e){if(this.Dk===e)return this;for(var t=this.Y.j,i=t.length,r=0;r<i;r++){var c=t[r].Qs(e);if(null!==c)return c}return null},N.ym=function(e,t){if(t(this,e),e instanceof Vi)for(var i=(e=e.Y.j).length,r=0;r<i;r++)this.ym(e[r],t)},N.Yl=function(e){return ws(this,this,e)},N.$a=function(e){if(this.name===e)return this;var t=this.Y.j,i=t.length;null===this.ei&&null===this.je||(i=wc(this));for(var r=0;r<i;r++){var c=t[r];if(c instanceof Vi){var h=c.$a(e);if(null!==h)return h}if(c.name===e)return c}return null},N.Zd=function(){return!(this.type===Vi.TableRow||this.type===Vi.TableColumn)},N.Sb=function(e,t,i){if(!1===this.pickable||(void 0===t&&(t=null),void 0===i&&(i=null),I1(this)))return null;var r=this.naturalBounds,c=1/this.Ce(),h=this.Zd(),v=h?e:jn(Ze.allocAt(e.x,e.y),this.transform),W=this.diagram,X=10,Z=5;if(null!==W&&(Z=(X=W.bm("extraTouchArea"))/2),Hn(-Z*c,-Z*c,r.width+X*c,r.height+X*c,v.x,v.y)){if(!this.isAtomic){var ge=(c=this.Y.j).length;if(W=Ze.alloc(),Z=(X=this.isClipping)?this.zb():null,X&&(Z.Zd()?jn(W.set(e),Z.transform):W.set(e),!Z.ea(W)))return Ze.free(W),h||Ze.free(v),null;for(var ye=fd(this);ge--;){var We=c[ge];if((We.visible||We===ye)&&(We.Zd()?jn(W.set(e),We.transform):W.set(e),!X||We!==Z)){var Ve=null;if(We instanceof Vi?Ve=We.Sb(W,t,i):!0===We.pickable&&We.ea(W)&&(Ve=We),null!==Ve&&(null!==t&&(Ve=t(Ve)),null!==Ve&&(null===i||i(Ve))))return Ze.free(W),h||Ze.free(v),Ve}}Ze.free(W)}return null===this.background&&null===this.areaBackground?(h||Ze.free(v),null):(e=Hn(0,0,r.width,r.height,v.x,v.y)?this:null,h||Ze.free(v),e)}return h||Ze.free(v),null},N.Fi=function(e,t,i,r){if(!1===this.pickable)return!1;void 0===t&&(t=null),void 0===i&&(i=null);var c=this.naturalBounds,h=this.Zd(),v=h?e:jn(Ze.allocAt(e.x,e.y),this.transform);if(c=Hn(0,0,c.width,c.height,v.x,v.y),this.type===Vi.TableRow||this.type===Vi.TableColumn||c){if(!this.isAtomic){for(var W=this.Y.j,X=W.length,Z=Ze.alloc(),ge=fd(this);X--;){var ye=W[X];if(ye.visible||ye===ge){ye.Zd()?jn(Z.set(e),ye.transform):Z.set(e);var We=ye;(null!==(ye=ye instanceof Vi?ye:null)?ye.Fi(Z,t,i,r):We.ea(Z))&&!1!==We.pickable&&(null!==t&&(We=t(We)),null===We||null!==i&&!i(We)||r.add(We))}}Ze.free(Z)}return h||Ze.free(v),c&&(null!==this.background||null!==this.areaBackground)}return h||Ze.free(v),!1},N.mg=function(e,t,i,r,c,h){if(!1===this.pickable)return!1;void 0===t&&(t=null),void 0===i&&(i=null);var v=h;if(void 0===h&&(v=mi.alloc()).reset(),v.multiply(this.transform),this.uh(e,v))return Bh(this,t,i,c),void 0===h&&mi.free(v),!0;if(this.Ic(e,v)){if(!this.isAtomic)for(var W=fd(this),X=this.Y.j,Z=X.length;Z--;){var ge=X[Z];if(ge.visible||ge===W){var ye=ge.actualBounds,We=this.naturalBounds;ye.x>We.width||ye.y>We.height||0>ye.x+ye.width||0>ye.y+ye.height||(ye=ge,ge=ge instanceof Vi?ge:null,(We=mi.alloc()).set(v),(null!==ge?ge.mg(e,t,i,r,c,We):ml(ye,e,r,We))&&(null!==t&&(ye=t(ye)),null===ye||null!==i&&!i(ye)||c.add(ye)),mi.free(We))}}return void 0===h&&mi.free(v),r}return void 0===h&&mi.free(v),!1},N.ng=function(e,t,i,r,c,h){if(!1===this.pickable)return!1;void 0===i&&(i=null),void 0===r&&(r=null);var v=this.naturalBounds,W=this.Zd(),X=W?e:jn(Ze.allocAt(e.x,e.y),this.transform),Z=W?t:jn(Ze.allocAt(t.x,t.y),this.transform),ge=X.Be(Z),ye=0<X.x&&X.x<v.width&&0<X.y&&X.y<v.height||Di(X.x,X.y,0,0,0,v.height)<=ge||Di(X.x,X.y,0,v.height,v.width,v.height)<=ge||Di(X.x,X.y,v.width,v.height,v.width,0)<=ge||Di(X.x,X.y,v.width,0,0,0)<=ge;if(v=X.cd(0,0)<=ge&&X.cd(0,v.height)<=ge&&X.cd(v.width,0)<=ge&&X.cd(v.width,v.height)<=ge,W||(Ze.free(X),Ze.free(Z)),ye){if(!this.isAtomic){X=Ze.alloc(),Z=Ze.alloc(),ge=fd(this);for(var We=this.Y.j,Ve=We.length;Ve--;){var st=We[Ve];if(st.visible||st===ge){var jt=st.actualBounds,nn=this.naturalBounds;(!W||!(jt.x>nn.width||jt.y>nn.height||0>jt.x+jt.width||0>jt.y+jt.height))&&(st.Zd()?(jt=st.transform,jn(X.set(e),jt),jn(Z.set(t),jt)):(X.set(e),Z.set(t)),jt=st,(null!==(st=st instanceof Vi?st:null)?st.ng(X,Z,i,r,c,h):jt.jx(X,Z,c))&&(null!==i&&(jt=i(jt)),null===jt||null!==r&&!r(jt)||h.add(jt)))}}Ze.free(X),Ze.free(Z)}return c?ye:v}return!1},N.add=function(e){this.Ib(this.Y.count,e)},N.N=function(e){return this.Y.N(e)},N.Ib=function(e,t){t instanceof Os&&z("Cannot add a Part to a Panel: "+t+"; use a Panel instead"),(this===t||this.qg(t))&&(this===t&&z("Cannot make a Panel contain itself: "+this.toString()),z("Cannot make a Panel indirectly contain itself: "+this.toString()+" already contains "+t.toString()));var i=t.panel;if(null!==i&&i!==this&&z("Cannot add a GraphObject that already belongs to another Panel to this Panel: "+t.toString()+", already contained by "+i.toString()+", cannot be shared by this Panel: "+this.toString()),this.va!==Vi.Grid||t instanceof io||z("Can only add Shapes to a Grid Panel, not: "+t),this.va!==Vi.Graduated||t instanceof io||t instanceof tt||z("Can only add Shapes or TextBlocks to a Graduated Panel, not: "+t),t.Si(this),t.Aj=null,null!==this.itemArray){var r=t.data;null!==r&&"object"==typeof r&&(null===this.Ed&&(this.Ed=new Kt),this.Ed.add(r,t))}var c=this.Y;if(r=-1,i===this){for(var h=-1,v=this.Y.j,W=v.length,X=0;X<W;X++)if(v[X]===t){h=X;break}if(-1!==h){if(h===e||h+1>=c.count&&e>=c.count)return;c.mb(h),r=h}else z("element "+t.toString()+" has panel "+i.toString()+" but is not contained by it.")}(0>e||e>c.count)&&(e=c.count),c.Ib(e,t),(0===e||t.isPanelMain)&&(this.ti=null),ic(this)||this.s(),t.s(!1),(null!==t.portId||t instanceof Vi&&!0===t.xh)&&(this.xh=!0),this.Mg=null,null!==(i=this.part)&&(i.vj=null,i.Ug=NaN,this.xh&&i instanceof as&&(i.xh=!0),i.xh&&i instanceof as&&(i.rc=null),null!==(c=this.diagram)&&c.undoManager.isUndoingRedoing||(-1!==r&&i.ab(kr,"elements",this,t,null,r,null),i.ab(yr,"elements",this,null,t,null,e),this.rg()||jh(this,t,!1)))},N.remove=function(e){for(var t=this.Y.j,i=t.length,r=-1,c=0;c<i;c++)if(t[c]===e){r=c;break}-1!==r&&this.xc(r,!0)},N.mb=function(e){0<=e&&this.xc(e,!0)},N.xc=function(e,t){var i=this.Y,r=i.N(e);if(r.Aj=null,r.Si(null),null!==this.Ed){var c=r.data;"object"==typeof c&&this.Ed.remove(c)}i.mb(e),Q0(this,!1),this.s(),this.ti===r&&(this.ti=null),this.Mg=null;var h=this.part;null!==h&&(h.vj=null,h.Ug=NaN,h.Jb(),h instanceof as&&(r instanceof Vi?r.ym(r,function(v,W){qe(h,W,t)}):qe(h,r,t)),null!==(i=this.diagram)&&i.undoManager.isUndoingRedoing||h.ab(kr,"elements",this,r,null,e,null))},Vi.prototype.getRowDefinition=function(e){0>e&&U(e,">= 0",Vi,"getRowDefinition:idx"),e=Math.round(e);var t=this.sb;if(void 0===t)return null;if(void 0===t[e]){var i=new Z0;i.Si(this),i.isRow=!0,i.index=e,t[e]=i}return t[e]},Vi.prototype.Av=function(e){0>e&&U(e,">= 0",Vi,"removeRowDefinition:idx"),e=Math.round(e);var t=this.sb;void 0!==t&&(this.ab(kr,"coldefs",this,t[e],null,e,null),t[e]&&delete t[e],this.s())},Vi.prototype.getColumnDefinition=function(e){0>e&&U(e,">= 0",Vi,"getColumnDefinition:idx"),e=Math.round(e);var t=this.nb;if(void 0===t)return null;if(void 0===t[e]){var i=new Z0;i.Si(this),i.isRow=!1,i.index=e,t[e]=i}return t[e]},(N=Vi.prototype).yv=function(e){0>e&&U(e,">= 0",Vi,"removeColumnDefinition:idx"),e=Math.round(e);var t=this.nb;void 0!==t&&(this.ab(kr,"coldefs",this,t[e],null,e,null),t[e]&&delete t[e],this.s())},N.Ry=function(e){if(0>e||this.type!==Vi.Table)return-1;for(var t=0,i=this.sb,r=i.length,c=this.wi;c<r;c++){var h=i[c];if(void 0!==h&&e<(t+=h.total))break}return c},N.Jy=function(e){if(0>e||this.type!==Vi.Table)return-1;for(var t=0,i=this.nb,r=i.length,c=this.gi;c<r;c++){var h=i[c];if(void 0!==h&&e<(t+=h.total))break}return c},N.iz=function(e,t){if(void 0===t&&(t=new Ze(NaN,NaN)),this.type!==Vi.Graduated)return t.h(NaN,NaN),t;e=Math.min(Math.max(e,this.graduatedMin),this.graduatedMax);var i=this.zb();return i.geometry.cv((e-this.graduatedMin)/this.graduatedRange,t),i.transform.ta(t)},N.jz=function(e){if(this.type!==Vi.Graduated)return NaN;var t=this.zb();return t.transform.Ud(e),t.geometry.mx(e)*this.graduatedRange+this.graduatedMin},N.xy=function(){var e=this.copy();return Wh(e,function(t){t instanceof Vi&&(t.Qh=null,t.jb=null);var i=t.bb;null!==i&&(t.bb=null,i.each(function(r){t.bind(r.copy())}))}),e},N.Ea=function(e){var t=this.Qh;if(null!==t)for(void 0===e&&(e=""),t=t.iterator;t.next();){var i=t.value,r=i.sourceProperty;if((""===e||""===r||r===e)&&(r=i.targetProperty,null!==i.converter||""!==r)){r=this.data;var c=i.sourceName;if(null!==c)r=""===c||"/"===c||"."===c||".."===c?this:this.$a(c);else{var h=this.diagram;null!==h&&i.isToModel&&(r=h.model.modelData)}if(null!==r){h=this;var v=i.Xi;if(-1!==v){if(null===(h=this.Qs(v)))continue}else null!==i.Qd&&(h=i.Qd);if("/"===c?r=h.part:"."===c?r=h:".."===c&&(r=h.panel),0!==(c=i.wp)){if(!(h instanceof Vi))continue;1===c?h=h.getColumnDefinition(i.Nl):2===c&&(h=h.getRowDefinition(i.Nl))}void 0!==h&&i.Xv(h,r)}}}},N.nt=function(){for(var e=wc(this);this.Y.length>e;)this.xc(this.Y.length-1,!1);if(null!==(e=this.itemArray))for(var t=e.length,i=0;i<t;i++)zd(this,e[i],i)},N.ix=function(e){return null==e||null===this.Ed?null:this.Ed.J(e)},I.Object.defineProperties(Vi.prototype,{type:{get:function(){return this.va},set:function(e){var t=this.va;t!==e&&(this.va=e,this.va===Vi.Grid?this.isAtomic=!0:this.va===Vi.Table&&gm(this),this.s(),this.g("type",t,e))}},elements:{get:function(){return this.Y.iterator}},naturalBounds:{get:function(){return this.qc}},padding:{get:function(){return this.eb},set:function(e){"number"==typeof e?(0>e&&U(e,">= 0",Vi,"padding"),e=new ei(e)):(0>e.left&&U(e.left,">= 0",Vi,"padding:value.left"),0>e.right&&U(e.right,">= 0",Vi,"padding:value.right"),0>e.top&&U(e.top,">= 0",Vi,"padding:value.top"),0>e.bottom&&U(e.bottom,">= 0",Vi,"padding:value.bottom"));var t=this.eb;t.A(e)||(this.eb=e=e.I(),this.s(),this.g("padding",t,e))}},defaultAlignment:{get:function(){return this.nn},set:function(e){var t=this.nn;t.A(e)||(this.nn=e=e.I(),this.s(),this.g("defaultAlignment",t,e))}},defaultStretch:{get:function(){return this.Df},set:function(e){var t=this.Df;t!==e&&(this.Df=e,this.s(),this.g("defaultStretch",t,e))}},defaultSeparatorPadding:{get:function(){return void 0===this.dj?yn:this.dj},set:function(e){if(void 0!==this.dj){"number"==typeof e&&(e=new ei(e));var t=this.dj;t.A(e)||(this.dj=e=e.I(),this.s(),this.g("defaultSeparatorPadding",t,e))}}},defaultRowSeparatorStroke:{get:function(){return void 0===this.Vh?null:this.Vh},set:function(e){var t=this.Vh;t!==e&&(null===e||"string"==typeof e||e instanceof cr)&&(e instanceof cr&&e.freeze(),this.Vh=e,this.R(),this.g("defaultRowSeparatorStroke",t,e))}},defaultRowSeparatorStrokeWidth:{get:function(){return void 0===this.Gg?1:this.Gg},set:function(e){if(void 0!==this.Gg){var t=this.Gg;t!==e&&isFinite(e)&&0<=e&&(this.Gg=e,this.s(),this.g("defaultRowSeparatorStrokeWidth",t,e))}}},defaultRowSeparatorDashArray:{get:function(){return void 0===this.Uh?null:this.Uh},set:function(e){if(void 0!==this.Uh){var t=this.Uh;if(t!==e){if(null!==e){for(var i=e.length,r=0,c=0;c<i;c++){var h=e[c];"number"==typeof h&&0<=h&&isFinite(h)||z("defaultRowSeparatorDashArray value "+h+" at index "+c+" must be a positive number or zero."),r+=h}if(0===r){if(null===t)return;e=null}}this.Uh=e,this.R(),this.g("defaultRowSeparatorDashArray",t,e)}}}},defaultColumnSeparatorStroke:{get:function(){return void 0===this.Eg?null:this.Eg},set:function(e){if(void 0!==this.Eg){var t=this.Eg;t!==e&&(null===e||"string"==typeof e||e instanceof cr)&&(e instanceof cr&&e.freeze(),this.Eg=e,this.R(),this.g("defaultColumnSeparatorStroke",t,e))}}},defaultColumnSeparatorStrokeWidth:{get:function(){return void 0===this.Fg?1:this.Fg},set:function(e){if(void 0!==this.Fg){var t=this.Fg;t!==e&&isFinite(e)&&0<=e&&(this.Fg=e,this.s(),this.g("defaultColumnSeparatorStrokeWidth",t,e))}}},defaultColumnSeparatorDashArray:{get:function(){return void 0===this.Th?null:this.Th},set:function(e){if(void 0!==this.Th){var t=this.Th;if(t!==e){if(null!==e){for(var i=e.length,r=0,c=0;c<i;c++){var h=e[c];"number"==typeof h&&0<=h&&isFinite(h)||z("defaultColumnSeparatorDashArray value "+h+" at index "+c+" must be a positive number or zero."),r+=h}if(0===r){if(null===t)return;e=null}}this.Th=e,this.R(),this.g("defaultColumnSeparatorDashArray",t,e)}}}},viewboxStretch:{get:function(){return this.Fp},set:function(e){var t=this.Fp;t!==e&&(this.Fp=e,this.s(),this.g("viewboxStretch",t,e))}},gridCellSize:{get:function(){return this.Ln},set:function(e){var t=this.Ln;if(!t.A(e)){e.o()&&0!==e.width&&0!==e.height||z("Invalid Panel.gridCellSize: "+e),this.Ln=e.I();var i=this.diagram;null!==i&&this===i.grid&&Ro(i),this.R(),this.g("gridCellSize",t,e)}}},gridOrigin:{get:function(){return this.Mn},set:function(e){var t=this.Mn;if(!t.A(e)){e.o()||z("Invalid Panel.gridOrigin: "+e),this.Mn=e.I();var i=this.diagram;null!==i&&this===i.grid&&Ro(i),this.R(),this.g("gridOrigin",t,e)}}},graduatedMin:{get:function(){return this.In},set:function(e){var t=this.In;t!==e&&(this.In=e,this.s(),this.g("graduatedMin",t,e),t0(this)&&null!==(e=this.part)&&w0(this,e,"graduatedRange"))}},graduatedMax:{get:function(){return this.Hn},set:function(e){var t=this.Hn;t!==e&&(this.Hn=e,this.s(),this.g("graduatedMax",t,e),t0(this)&&null!==(e=this.part)&&w0(this,e,"graduatedRange"))}},graduatedRange:{get:function(){return this.graduatedMax-this.graduatedMin}},graduatedTickUnit:{get:function(){return this.Kn},set:function(e){var t=this.Kn;t!==e&&0<e&&(this.Kn=e,this.s(),this.g("graduatedTickUnit",t,e))}},graduatedTickBase:{get:function(){return this.Jn},set:function(e){var t=this.Jn;t!==e&&(this.Jn=e,this.s(),this.g("graduatedTickBase",t,e))}},xh:{get:function(){return!!(8388608&this.H)},set:function(e){!!(8388608&this.H)!==e&&(this.H^=8388608)}},rowCount:{get:function(){return void 0===this.sb?0:this.sb.length}},columnCount:{get:function(){return void 0===this.nb?0:this.nb.length}},rowSizing:{get:function(){return void 0===this.Fj?dh:this.Fj},set:function(e){if(void 0!==this.Fj){var t=this.Fj;t!==e&&(this.Fj=e,this.s(),this.g("rowSizing",t,e))}}},columnSizing:{get:function(){return void 0===this.bj?dh:this.bj},set:function(e){if(void 0!==this.bj){var t=this.bj;t!==e&&(this.bj=e,this.s(),this.g("columnSizing",t,e))}}},topIndex:{get:function(){return void 0===this.wi?0:this.wi},set:function(e){if(void 0!==this.wi){var t=this.wi;t!==e&&((!isFinite(e)||0>e)&&z("Panel.topIndex must be greater than zero and a real number, not: "+e),this.wi=e,this.s(),this.g("topIndex",t,e))}}},leftIndex:{get:function(){return void 0===this.gi?0:this.gi},set:function(e){if(void 0!==this.gi){var t=this.gi;t!==e&&((!isFinite(e)||0>e)&&z("Panel.leftIndex must be greater than zero and a real number, not: "+e),this.gi=e,this.s(),this.g("leftIndex",t,e))}}},data:{get:function(){return this.jb},set:function(e){var t=this.jb;if(t!==e){var i=this instanceof Os&&!(this instanceof Zo);d1(this),this.jb=e;var r=this.diagram;null!==r&&(i?(i=r.partManager,this instanceof Zt?(null!==t&&i.Dg.remove(t),null!==e&&i.Dg.add(e,this)):this instanceof Os&&(null!==t&&i.Me.remove(t),null!==e&&i.Me.add(e,this))):null!==(i=this.panel)&&null!==i.Ed&&(null!==t&&i.Ed.remove(t),null!==e&&i.Ed.add(e,this))),this.g("data",t,e),null!==r&&r.undoManager.isUndoingRedoing||null!==e&&this.Ea()}}},itemIndex:{get:function(){return this.Zn},set:function(e){var t=this.Zn;t!==e&&(this.Zn=e,this.g("itemIndex",t,e))}},itemArray:{get:function(){return this.ei},set:function(e){var t=this.ei;if(t!==e||null!==e&&function Mp(e,t){for(var i=(e=e.Y.j).length,r=t.length,c=0,h=null;c<i&&!((h=e[c])instanceof Vi&&null!==h.data);)h=e[++c];if(i-c!==r)return!0;if(null===h)return 0<r;for(var v=0;c<i&&v<r;){if(!((h=e[c])instanceof Vi)||h.data!==t[v])return!0;c++,v++}return!1}(this,e)){var i=this.diagram;t!==e&&(null!==i&&null!==t&&e_(i.partManager,this),this.ei=e,null!==i&&null!==e&&Zm(i.partManager,this)),this.g("itemArray",t,e),null!==i&&i.undoManager.isUndoingRedoing||this.nt()}}},itemTemplate:{get:function(){return null===this.je?null:this.je.J("")},set:function(e){if(null===this.je){if(null===e)return;this.je=new Kt}var t=this.je.J("");t!==e&&((e instanceof Os||e.isPanelMain)&&z("Panel.itemTemplate must not be a Part or be Panel.isPanelMain: "+e),this.je.add("",e),this.g("itemTemplate",t,e),null!==(e=this.diagram)&&e.undoManager.isUndoingRedoing||this.nt())}},itemTemplateMap:{get:function(){return this.je},set:function(e){var t=this.je;if(t!==e){for(var i=e.iterator;i.next(););this.je=e,this.g("itemTemplateMap",t,e),null!==(e=this.diagram)&&e.undoManager.isUndoingRedoing||this.nt()}}},itemCategoryProperty:{get:function(){return this.gl},set:function(e){var t=this.gl;t!==e&&(this.gl=e,this.g("itemCategoryProperty",t,e))}},isAtomic:{get:function(){return!!(1048576&this.H)},set:function(e){var t=!!(1048576&this.H);t!==e&&(this.H^=1048576,this.g("isAtomic",t,e))}},isClipping:{get:function(){return!!(2097152&this.H)},set:function(e){var t=!!(2097152&this.H);t!==e&&(this.H^=2097152,this.s(),this.g("isClipping",t,e))}},isOpposite:{get:function(){return!!(33554432&this.H)},set:function(e){var t=!!(33554432&this.H);t!==e&&(this.H^=33554432,this.s(),this.g("isOpposite",t,e))}},isEnabled:{get:function(){return!!(4194304&this.H)},set:function(e){var t=!!(4194304&this.H);if(t!==e){var i=null===this.panel||this.panel.rg();this.H^=4194304,this.g("isEnabled",t,e),null!==(t=this.diagram)&&t.undoManager.isUndoingRedoing||i&&jh(this,this,e)}}},alignmentFocusName:{get:function(){return this.yg},set:function(e){var t=this.yg;t!==e&&(this.yg=e,this.s(),this.g("alignmentFocusName",t,e))}}}),I.Object.defineProperties(Vi,{Position:{get:function(){return El.J("Position")}},Horizontal:{get:function(){return El.J("Horizontal")}},Vertical:{get:function(){return El.J("Vertical")}},Spot:{get:function(){return El.J("Spot")}},Auto:{get:function(){return El.J("Auto")}},Table:{get:function(){return El.J("Table")}},Viewbox:{get:function(){return El.J("Viewbox")}},TableRow:{get:function(){return El.J("TableRow")}},TableColumn:{get:function(){return El.J("TableColumn")}},Link:{get:function(){return El.J("Link")}},Grid:{get:function(){return El.J("Grid")}},Graduated:{get:function(){return El.J("Graduated")}}}),Vi.prototype.findItemPanelForData=Vi.prototype.ix,Vi.prototype.rebuildItemElements=Vi.prototype.nt,Vi.prototype.updateTargetBindings=Vi.prototype.Ea,Vi.prototype.copyTemplate=Vi.prototype.xy,Vi.prototype.graduatedValueForPoint=Vi.prototype.jz,Vi.prototype.graduatedPointForValue=Vi.prototype.iz,Vi.prototype.findColumnForLocalX=Vi.prototype.Jy,Vi.prototype.findRowForLocalY=Vi.prototype.Ry,Vi.prototype.removeColumnDefinition=Vi.prototype.yv,Vi.prototype.removeRowDefinition=Vi.prototype.Av,Vi.prototype.removeAt=Vi.prototype.mb,Vi.prototype.remove=Vi.prototype.remove,Vi.prototype.insertAt=Vi.prototype.Ib,Vi.prototype.elt=Vi.prototype.N,Vi.prototype.add=Vi.prototype.add,Vi.prototype.findObject=Vi.prototype.$a,Vi.prototype.findInVisualTree=Vi.prototype.Yl,Vi.prototype.walkVisualTreeFrom=Vi.prototype.ym,Vi.prototype.findMainElement=Vi.prototype.zb;var bf=!1,Nc=null,El=new Kt;function Z0(){ke(this),this.ag=null,this.Br=!0,this.Sa=0,this.Pc=NaN,this.Wg=0,this.Vg=1/0,this.wb=wo,this.sa=this.ka=0,this.bb=null,this.op=md,this.ue=Qo,this.kp=this.dg=null,this.lp=NaN,this.ib=this.Hj=null,this.hn=!1}function yu(e){if(e.sizing===md){var t=e.ag;return e.isRow?t.rowSizing:t.columnSizing}return e.sizing}Vi.className="Panel",Vi.definePanelLayout=mu,mu("Position",new fp),mu("Vertical",new Td),mu("Auto",new _p),mu("Link",new Cd),mu("Grid",new _r),Z0.prototype.copy=function(){var e=new Z0;return e.Br=this.Br,e.Sa=this.Sa,e.Pc=this.Pc,e.Wg=this.Wg,e.Vg=this.Vg,e.wb=this.wb,e.ka=this.ka,e.sa=this.sa,e.ue=this.ue,e.op=this.op,e.dg=null===this.dg?null:this.dg.I(),e.kp=this.kp,e.lp=this.lp,e.Hj=null,null!==this.Hj&&(e.separatorDashArray=j(this.separatorDashArray)),e.ib=this.ib,e.hn=this.hn,e.bb=this.bb,e},(N=Z0.prototype).Vl=function(e){e.isRow?this.height=e.height:this.width=e.width,this.minimum=e.minimum,this.maximum=e.maximum,this.alignment=e.alignment,this.stretch=e.stretch,this.sizing=e.sizing,this.dg=null===e.separatorPadding?null:e.separatorPadding.I(),this.separatorStroke=e.separatorStroke,this.separatorStrokeWidth=e.separatorStrokeWidth,this.Hj=null,e.separatorDashArray&&(this.Hj=j(e.separatorDashArray)),this.background=e.background,this.coversSeparators=e.coversSeparators,this.bb=e.bb},N.fb=function(e){e.classType===Z0&&(this.sizing=e)},N.toString=function(){return"RowColumnDefinition "+(this.isRow?"(Row ":"(Column ")+this.index+") #"+Je(this)},N.Si=function(e){this.ag=e},N.Nu=function(){var e=0,t=0,i=this.ag,r=this.isRow;if(null!==i&&i.type===Vi.Table)for(var c=r?i.sb.length:i.nb.length,h=0;h<c;h++){var v=r?i.sb[h]:i.nb[h];if(void 0!==v){t=v.index;break}}if(this.index!==t&&(null===(t=this.separatorStroke)&&null!==i&&(t=this.isRow?i.defaultRowSeparatorStroke:i.defaultColumnSeparatorStroke),null!==t&&(e=this.separatorStrokeWidth,isNaN(e)&&(e=null!==i?this.isRow?i.defaultRowSeparatorStrokeWidth:i.defaultColumnSeparatorStrokeWidth:0))),null===(t=this.dg)){if(null===i)return e;t=i.defaultSeparatorPadding}return e+(this.isRow?t.top:t.left)},N.tc=function(){var e=0,t=this.ag,i=0,r=this.isRow;if(null!==t&&t.type===Vi.Table)for(var c=r?t.sb.length:t.nb.length,h=0;h<c;h++){var v=r?t.sb[h]:t.nb[h];if(void 0!==v){i=v.index;break}}if(this.index!==i&&(null===(i=this.separatorStroke)&&null!==t&&(i=r?t.defaultRowSeparatorStroke:t.defaultColumnSeparatorStroke),null!==i&&(e=this.separatorStrokeWidth,isNaN(e)&&(e=null!==t?r?t.defaultRowSeparatorStrokeWidth:t.defaultColumnSeparatorStrokeWidth:0))),null===(r=this.dg)){if(null===t)return e;r=t.defaultSeparatorPadding}return e+(this.isRow?r.top+r.bottom:r.left+r.right)},N.yb=function(e,t,i){var r=this.ag;if(null!==r&&(r.ab(tr,e,this,t,i,void 0,void 0),null!==this.bb&&null!==(t=r.diagram)&&!t.skipsModelSourceBindings&&null!==(r=r.Gi())&&null!==(t=r.data)))for(i=this.bb.iterator;i.next();)i.value.uq(this,t,e,r)},N.bind=function(e){e.Qd=this;var t=this.panel;if(null!==t){var i=t.Gi();null!==i&&Qd(i)&&z("Cannot add a Binding to a RowColumnDefinition that is already frozen: "+e+" on "+t)}null===this.bb&&(this.bb=new gt),this.bb.add(e)},I.Object.defineProperties(Z0.prototype,{panel:{get:function(){return this.ag}},isRow:{get:function(){return this.Br},set:function(e){this.Br=e}},index:{get:function(){return this.Sa},set:function(e){this.Sa=e}},height:{get:function(){return this.Pc},set:function(e){var t=this.Pc;t!==e&&(0>e&&U(e,">= 0",Z0,"height"),this.Pc=e,this.actual=this.ka,null!==this.panel&&this.panel.s(),this.yb("height",t,e))}},width:{get:function(){return this.Pc},set:function(e){var t=this.Pc;t!==e&&(0>e&&U(e,">= 0",Z0,"width"),this.Pc=e,this.actual=this.ka,null!==this.panel&&this.panel.s(),this.yb("width",t,e))}},minimum:{get:function(){return this.Wg},set:function(e){var t=this.Wg;t!==e&&((0>e||!isFinite(e))&&U(e,">= 0",Z0,"minimum"),this.Wg=e,this.actual=this.ka,null!==this.panel&&this.panel.s(),this.yb("minimum",t,e))}},maximum:{get:function(){return this.Vg},set:function(e){var t=this.Vg;t!==e&&(0>e&&U(e,">= 0",Z0,"maximum"),this.Vg=e,this.actual=this.ka,null!==this.panel&&this.panel.s(),this.yb("maximum",t,e))}},alignment:{get:function(){return this.wb},set:function(e){var t=this.wb;t.A(e)||(this.wb=e.I(),null!==this.panel&&this.panel.s(),this.yb("alignment",t,e))}},stretch:{get:function(){return this.ue},set:function(e){var t=this.ue;t!==e&&(this.ue=e,null!==this.panel&&this.panel.s(),this.yb("stretch",t,e))}},separatorPadding:{get:function(){return this.dg},set:function(e){"number"==typeof e&&(e=new ei(e));var t=this.dg;null!==e&&null!==t&&t.A(e)||(null!==e&&(e=e.I()),this.dg=e,null!==this.panel&&this.panel.s(),this.yb("separatorPadding",t,e))}},separatorStroke:{get:function(){return this.kp},set:function(e){var t=this.kp;t!==e&&(null===e||"string"==typeof e||e instanceof cr)&&(e instanceof cr&&e.freeze(),this.kp=e,null!==this.panel&&this.panel.s(),this.yb("separatorStroke",t,e))}},separatorStrokeWidth:{get:function(){return this.lp},set:function(e){var t=this.lp;t!==e&&(this.lp=e,null!==this.panel&&this.panel.s(),this.yb("separatorStrokeWidth",t,e))}},separatorDashArray:{get:function(){return this.Hj},set:function(e){var t=this.Hj;if(t!==e){if(null!==e){for(var i=e.length,r=0,c=0;c<i;c++){var h=e[c];"number"==typeof h&&0<=h&&isFinite(h)||z("separatorDashArray value "+h+" at index "+c+" must be a positive number or zero."),r+=h}if(0===r){if(null===t)return;e=null}}this.Hj=e,null!==this.panel&&this.panel.R(),this.yb("separatorDashArray",t,e)}}},background:{get:function(){return this.ib},set:function(e){var t=this.ib;t!==e&&(null===e||"string"==typeof e||e instanceof cr)&&(e instanceof cr&&e.freeze(),this.ib=e,null!==this.panel&&this.panel.R(),this.yb("background",t,e))}},coversSeparators:{get:function(){return this.hn},set:function(e){var t=this.hn;t!==e&&(this.hn=e,null!==this.panel&&this.panel.R(),this.yb("coversSeparators",t,e))}},sizing:{get:function(){return this.op},set:function(e){var t=this.op;t!==e&&(this.op=e,null!==this.panel&&this.panel.s(),this.yb("sizing",t,e))}},actual:{get:function(){return this.ka},set:function(e){this.ka=isNaN(this.Pc)?Math.max(Math.min(this.Vg,e),this.Wg):Math.max(Math.min(this.Vg,this.Pc),this.Wg)}},total:{get:function(){return this.ka+this.tc()},set:function(e){this.ka=isNaN(this.Pc)?Math.max(Math.min(this.Vg,e),this.Wg):Math.max(Math.min(this.Vg,this.Pc),this.Wg),this.ka=Math.max(0,this.ka-this.tc())}},position:{get:function(){return this.sa},set:function(e){this.sa=e}}}),Z0.prototype.bind=Z0.prototype.bind,Z0.prototype.computeEffectiveSpacing=Z0.prototype.tc,Z0.prototype.computeEffectiveSpacingTop=Z0.prototype.Nu;var md=new Pe(Z0,"Default",0),uh=new Pe(Z0,"None",1),dh=new Pe(Z0,"ProportionalExtra",2);function io(){As.call(this),this.Pd=this.qa=null,this.Vk="None",this.Gn=Qo,this.Gc=this.Wk="black",this.ih=1,this.Il="butt",this.Jl="miter",this.Jj=10,this.gh=null,this.hh=0,this.cf=this.bf=wo,this.Lo=this.Ko=NaN,this.Rn=!1,this.No=null,this.Yk=this.Pl="None",this.Cd=1,this.Bd=0,this.zd=1,this.Ad=null}function jp(e,t,i,r){var c=i.length;if(!(4>c)){var h=r.measuredBounds,v=Math.max(1,h.width);h=h.height;for(var Z,ge,ye,We,Ve,st,W=i[0],X=i[1],jt=0,nn=ie(),on=2;on<c;on+=2)0==(ye=(Z=i[on])-W)&&(ye=.001),We=(W=(ge=i[on+1])-X)/ye,Ve=Math.atan2(W,ye),st=Math.sqrt(ye*ye+W*W),nn.push([ye,Ve,We,st]),jt+=st,W=Z,X=ge;W=i[0],X=i[1],ye=r.measuredBounds.width,r instanceof io&&(ye-=r.strokeWidth),1>ye&&(ye=1),c=i=ye,ge=0!=(Z=v/2),ye=(st=nn[on=0])[0],Ve=st[1],We=st[2],st=st[3];for(var Fn=0;.1<=jt;){if(0===Fn&&(ge?(c=i,c-=Z,jt-=Z,ge=!1):c=i,0===c&&(c=1)),c>jt)return void ne(nn);c>st?(Fn=c-st,c=st):Fn=0;var Gn=Math.sqrt(c*c/(1+We*We));if(0>ye&&(Gn=-Gn),e.translate(W+=Gn,X+=We*Gn),e.rotate(Ve),e.translate(-v/2,-h/2),0===Fn&&r.Ci(e,t),e.translate(v/2,h/2),e.rotate(-Ve),e.translate(-W,-X),jt-=c,st-=c,0!==Fn){if(++on===nn.length)return void ne(nn);ye=(st=nn[on])[0],Ve=st[1],We=st[2],st=st[3],c=Fn}}ne(nn)}}function nu(e){var t=e.geometryStretch;return null!==e.Pd?t===Qo?Kr:t:t===Qo?Ee[e.figure].defaultStretch:t}function Sl(e,t,i,r,c){return(t=(e=i.x-e)*e+(t=i.y-t)*t)<r?(c.x=i.x,c.y=i.y,t):r}function q1(e,t,i,r,c,h,v,W,X){var Z=!1,ge=(c-v)*(t-r)-(h-W)*(e-i);return 0!==ge&&(X.x=((c*W-h*v)*(e-i)-(c-v)*(e*r-t*i))/ge,X.y=((c*W-h*v)*(t-r)-(h-W)*(e*r-t*i))/ge,(e>i?e-i:i-e)<(t>r?t-r:r-t)?(e=t<r?t:r,t=t<r?r:t,(X.y>e||Yn.ca(X.y,e))&&(X.y<t||Yn.ca(X.y,t))&&(Z=!0)):(t=e<i?e:i,e=e<i?i:e,(X.x>t||Yn.ca(X.x,t))&&(X.x<e||Yn.ca(X.x,e))&&(Z=!0)),Z)}function Wu(e,t,i,r){if(!e.Tc(t,i,r))return!1;e=t.x,t=t.y;var c=i.x,h=i.y;return i=r.x,r=r.y,e===c?(t<h?(e=t,t=h):e=h,r>=e&&r<=t):(e<c?(r=e,e=c):r=c,i>=r&&i<=e)}function _e(e){var t=e.diagram;null!==t&&t.undoManager.isUndoingRedoing||(e.segmentOrientation=Ym,"None"!==e.Pl?(e.segmentIndex=-1,e.alignmentFocus=Po):"None"!==e.Yk&&(e.segmentIndex=0,e.alignmentFocus=new Si(1-Po.x,Po.y)))}function At(e){var t=oe[e];if(void 0===t){var i=e.toLowerCase();if("none"===i)return"None";if(void 0===(t=oe[i])){var c,r=null;for(c in Yn.Bm)if(c.toLowerCase()===i){r=c;break}if(null!==r)return e=Sa(Yn.Bm[r],!1),oe[r]=e,i!==r&&(oe[i]=r),r}}return"string"==typeof t?t:t instanceof so?e:null}Z0.className="RowColumnDefinition",Z0.Default=md,Z0.None=uh,Z0.ProportionalExtra=dh,y(io,As),io.prototype.cloneProtected=function(e){As.prototype.cloneProtected.call(this,e),e.qa=this.qa,e.Vk=this.Vk,e.Gn=this.Gn,e.Pd=this.Pd,e.Wk=this.Wk,e.Gc=this.Gc,e.ih=this.ih,e.Il=this.Il,e.Jl=this.Jl,e.Jj=this.Jj,null!==this.gh&&(e.gh=j(this.gh)),e.hh=this.hh,e.bf=this.bf.I(),e.cf=this.cf.I(),e.Ko=this.Ko,e.Lo=this.Lo,e.Rn=this.Rn,e.No=this.No,e.Pl=this.Pl,e.Yk=this.Yk,e.Cd=this.Cd,e.Bd=this.Bd,e.zd=this.zd,e.Ad=this.Ad},(N=io.prototype).fb=function(e){e===Ns||e===Mo||e===bc||e===Qo?this.geometryStretch=e:As.prototype.fb.call(this,e)},N.toString=function(){return"Shape("+("None"!==this.figure?this.figure:"None"!==this.toArrow?this.toArrow:this.fromArrow)+")#"+Je(this)},N.Ci=function(e,t){var i=this.Gc,r=this.Wk;if(null!==i||null!==r){var c=this.actualBounds,h=this.naturalBounds;null!==r&&vo(this,e,r,!0,!1,h,c),null!==i&&vo(this,e,i,!1,!1,h,c),c=this.part,0===(h=this.ih)&&null!==c&&(h=c instanceof Zo&&c.type===Vi.Link&&"Selection"===c.category&&c.adornedObject instanceof io&&c.adornedPart.zb()===c.adornedObject?c.adornedObject.strokeWidth:0),e.lineWidth=h,e.lineJoin=this.Jl,e.lineCap=this.Il,e.miterLimit=this.Jj;var v=!1;c&&t.De("drawShadows")&&(v=c.isShadowed);var W=!0;null!==i&&null===r&&(W=!1),c=!1;var X=this.strokeDashArray;null!==X&&(c=!0,e.Ps(X,this.hh));var Z=this.qa;if(null!==Z){if(Z.type===Wa)e.beginPath(),e.moveTo(Z.startX,Z.startY),e.lineTo(Z.endX,Z.endY),null!==r&&e.Td(r),0!==h&&null!==i&&e.Wi();else if(Z.type===Jr){var ge=Z.startX,ye=Z.startY,We=Z.endX,Ve=Z.endY;X=Math.min(ge,We),Z=Math.min(ye,Ve),ge=Math.abs(We-ge),ye=Math.abs(Ve-ye),null!==r&&(e.beginPath(),e.rect(X,Z,ge,ye),e.Td(r)),null!==i&&(We=r=i=0,W&&v&&(i=e.shadowOffsetX,r=e.shadowOffsetY,We=e.shadowBlur,e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=0),0!==h&&(e.beginPath(),e.rect(X,Z,ge,ye),e.Wi()),W&&v&&(e.shadowOffsetX=i,e.shadowOffsetY=r,e.shadowBlur=We))}else if(Z.type===p0)ye=Z.startX,X=Z.startY,We=Z.endX,Ve=Z.endY,Z=Math.abs(We-ye)/2,ge=Math.abs(Ve-X)/2,ye=Math.min(ye,We)+Z,X=Math.min(X,Ve)+ge,e.beginPath(),e.moveTo(ye,X-ge),e.bezierCurveTo(ye+Yn.xg*Z,X-ge,ye+Z,X-Yn.xg*ge,ye+Z,X),e.bezierCurveTo(ye+Z,X+Yn.xg*ge,ye+Yn.xg*Z,X+ge,ye,X+ge),e.bezierCurveTo(ye-Yn.xg*Z,X+ge,ye-Z,X+Yn.xg*ge,ye-Z,X),e.bezierCurveTo(ye-Z,X-Yn.xg*ge,ye-Yn.xg*Z,X-ge,ye,X-ge),e.closePath(),null!==r&&e.Td(r),0!==h&&null!==i&&(W&&v?(h=e.shadowOffsetX,v=e.shadowOffsetY,i=e.shadowBlur,e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=0,e.Wi(),e.shadowOffsetX=h,e.shadowOffsetY=v,e.shadowBlur=i):e.Wi());else if(Z.type===Tr)for(Z=(X=Z.figures).length,ge=0;ge<Z;ge++){ye=X.j[ge],e.beginPath(),e.moveTo(ye.startX,ye.startY),Ve=(We=ye.segments.j).length;for(var st=null,jt=0;jt<Ve;jt++){var nn=We[jt];switch(nn.type){case ma:e.moveTo(nn.endX,nn.endY);break;case Lr:e.lineTo(nn.endX,nn.endY);break;case Ia:e.bezierCurveTo(nn.point1X,nn.point1Y,nn.point2X,nn.point2Y,nn.endX,nn.endY);break;case Vs:e.quadraticCurveTo(nn.point1X,nn.point1Y,nn.endX,nn.endY);break;case Ar:if(nn.radiusX===nn.radiusY){var on=Math.PI/180;e.arc(nn.point1X,nn.point1Y,nn.radiusX,nn.startAngle*on,(nn.startAngle+nn.sweepAngle)*on,0>nn.sweepAngle,null!==st?st.endX:ye.startX,null!==st?st.endY:ye.startY)}else if(0===(on=(st=Da(nn,ye)).length))e.lineTo(nn.centerX,nn.centerY);else for(var Fn=0;Fn<on;Fn++){var Gn=st[Fn];0===Fn&&e.lineTo(Gn[0],Gn[1]),e.bezierCurveTo(Gn[2],Gn[3],Gn[4],Gn[5],Gn[6],Gn[7])}break;case gr:if(Fn=on=0,null!==st&&st.type===Ar){if(0===(Gn=(st=Da(st,ye)).length)){e.lineTo(nn.centerX,nn.centerY);break}null!==(st=st[Gn-1]||null)&&(on=st[6],Fn=st[7])}else on=null!==st?st.endX:ye.startX,Fn=null!==st?st.endY:ye.startY;if(0===(on=(st=y0(nn,ye,on,Fn)).length)){e.lineTo(nn.centerX,nn.centerY);break}for(Fn=0;Fn<on;Fn++)e.bezierCurveTo((Gn=st[Fn])[2],Gn[3],Gn[4],Gn[5],Gn[6],Gn[7]);break;default:z("Segment not of valid type: "+nn.type)}nn.isClosed&&e.closePath(),st=nn}v?(jt=Ve=We=0,ye.isShadowed?(!0===ye.isFilled&&null!==r?(e.Td(r),W=!0):W=!1,0!==h&&null!==i&&(W&&(We=e.shadowOffsetX,Ve=e.shadowOffsetY,jt=e.shadowBlur,e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=0),e.Wi(),W&&(e.shadowOffsetX=We,e.shadowOffsetY=Ve,e.shadowBlur=jt))):(W&&(We=e.shadowOffsetX,Ve=e.shadowOffsetY,jt=e.shadowBlur,e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=0),!0===ye.isFilled&&null!==r&&e.Td(r),0!==h&&null!==i&&e.Wi(),W&&(e.shadowOffsetX=We,e.shadowOffsetY=Ve,e.shadowBlur=jt))):(!0===ye.isFilled&&null!==r&&e.Td(r),0!==h&&null!==i&&e.Wi())}if(c&&e.Ns(),null!==this.pathPattern){if((c=this.pathPattern).measure(1/0,1/0),c.arrange(0,0,(h=c.measuredBounds).width,h.height),v=this.geometry,e.save(),e.beginPath(),h=ie(),v.type===Wa)h.push(v.startX),h.push(v.startY),h.push(v.endX),h.push(v.endY),jp(e,t,h,c);else if(v.type===Tr)for(v=v.figures.iterator;v.next();){for(i=v.value,h.length=0,h.push(i.startX),h.push(i.startY),X=r=i.startX,Z=W=i.startY,ye=(ge=i.segments.j).length,We=0;We<ye;We++){switch((Ve=ge[We]).type){case ma:jp(e,t,h,c),h.length=0,h.push(Ve.endX),h.push(Ve.endY),X=r=Ve.endX,Z=W=Ve.endY;break;case Lr:h.push(Ve.endX),h.push(Ve.endY),r=Ve.endX,W=Ve.endY;break;case Ia:Yn.ze(r,W,Ve.point1X,Ve.point1Y,Ve.point2X,Ve.point2Y,Ve.endX,Ve.endY,.5,h),r=Ve.endX,W=Ve.endY;break;case Vs:Yn.jq(r,W,Ve.point1X,Ve.point1Y,Ve.endX,Ve.endY,.5,h),r=Ve.endX,W=Ve.endY;break;case Ar:if(0===(nn=(jt=Da(Ve,i)).length)){h.push(Ve.centerX),h.push(Ve.centerY),r=Ve.centerX,W=Ve.centerY;break}for(st=0;st<nn;st++)Yn.ze(r,W,(on=jt[st])[2],on[3],on[4],on[5],on[6],on[7],.5,h),r=on[6],W=on[7];break;case gr:if(0===(nn=(jt=y0(Ve,i,r,W)).length)){h.push(Ve.centerX),h.push(Ve.centerY),r=Ve.centerX,W=Ve.centerY;break}for(st=0;st<nn;st++)Yn.ze(r,W,(on=jt[st])[2],on[3],on[4],on[5],on[6],on[7],.5,h),r=on[6],W=on[7];break;default:z("Segment not of valid type: "+Ve.type)}Ve.isClosed&&(h.push(X),h.push(Z),jp(e,t,h,c))}jp(e,t,h,c)}else if(v.type===Jr)h.push(v.startX),h.push(v.startY),h.push(v.endX),h.push(v.startY),h.push(v.endX),h.push(v.endY),h.push(v.startX),h.push(v.endY),h.push(v.startX),h.push(v.startY),jp(e,t,h,c);else if(v.type===p0){if((W=new Ta).startX=v.endX,W.startY=(v.startY+v.endY)/2,(r=new Ao(Ar)).startAngle=0,r.sweepAngle=360,r.centerX=(v.startX+v.endX)/2,r.centerY=(v.startY+v.endY)/2,r.radiusX=Math.abs(v.startX-v.endX)/2,r.radiusY=Math.abs(v.startY-v.endY)/2,W.add(r),0===(i=(v=Da(r,W)).length))h.push(r.centerX),h.push(r.centerY);else for(r=W.startX,W=W.startY,X=0;X<i;X++)Yn.ze(r,W,(Z=v[X])[2],Z[3],Z[4],Z[5],Z[6],Z[7],.5,h),r=Z[6],W=Z[7];jp(e,t,h,c)}ne(h),e.restore(),e.Rc(!1)}}}},N.ma=function(e,t){if(void 0===t&&(t=new Ze),e instanceof Si){e.jc()&&z("getDocumentPoint Spot must be a real, specific Spot, not: "+e.toString());var i=this.naturalBounds,r=this.strokeWidth;t.h(e.x*(i.width+r)-r/2+i.x+e.offsetX,e.y*(i.height+r)-r/2+i.y+e.offsetY)}else t.set(e);return this.rd.ta(t),t},N.Vp=function(e){void 0===e&&(e=new sn);var t=this.naturalBounds,i=this.rd;t=sn.allocAt(t.x,t.y,t.width,t.height);var r=this.strokeWidth;return t.Uc(r/2,r/2),r=Ze.allocAt(t.x,t.y).transform(i),e.h(r.x,r.y,0,0),r.h(t.right,t.y).transform(i),Nn(e,r.x,r.y,0,0),r.h(t.right,t.bottom).transform(i),Nn(e,r.x,r.y,0,0),r.h(t.x,t.bottom).transform(i),Nn(e,r.x,r.y,0,0),sn.free(t),Ze.free(r),e},N.vh=function(e,t){var i=this.geometry;if(null===i||null===this.fill&&null===this.stroke)return!1;var r=i.bounds,c=this.strokeWidth/2;i.type!==Wa||t||(c+=2);var h=sn.alloc();if(h.assign(r),h.Uc(c+2,c+2),!h.ea(e))return sn.free(h),!1;if(r=c+1e-4,i.type===Wa)return!(null===this.stroke||(r=(i.endX-i.startX)*(e.x-i.startX)+(i.endY-i.startY)*(e.y-i.startY),0>(i.startX-i.endX)*(e.x-i.endX)+(i.startY-i.endY)*(e.y-i.endY)||0>r))&&(sn.free(h),Yn.Ub(i.startX,i.startY,i.endX,i.endY,c,e.x,e.y));if(i.type===Jr){t=i.startX;var v=i.startY,W=i.endX;if(i=i.endY,h.x=Math.min(t,W),h.y=Math.min(v,i),h.width=Math.abs(W-t),h.height=Math.abs(i-v),null===this.fill){if(h.Uc(-r,-r),h.ea(e))return sn.free(h),!1;h.Uc(r,r)}return null!==this.stroke&&h.Uc(c,c),e=h.ea(e),sn.free(h),e}if(i.type===p0){v=i.startX,c=i.startY,W=i.endX;var X=i.endY;if(i=Math.min(v,W),t=Math.min(c,X),v=Math.abs(W-v)/2,c=Math.abs(X-c)/2,i=e.x-(i+v),t=e.y-(t+c),null===this.fill){if(c-=r,0>=(v-=r)||0>=c||1>=i*i/(v*v)+t*t/(c*c))return sn.free(h),!1;v+=r,c+=r}return null!==this.stroke&&(v+=r,c+=r),sn.free(h),!(0>=v||0>=c)&&1>=i*i/(v*v)+t*t/(c*c)}return i.type===Tr?(sn.free(h),null===this.fill?Ga(i,e.x,e.y,c):i.ea(e,c,1<this.strokeWidth,t)):(z("Unknown Geometry type: "+i.type),!1)},N.hm=function(e,t,i,r){var c=this.desiredSize,h=this.ih;if(e=Math.max(e,0),t=Math.max(t,0),null!==this.Pd)var v=this.geometry.bounds;else{var W=this.figure,X=Ee[W];if(void 0===X){var Z=Yn.Je[W];"string"==typeof Z&&(Z=Yn.Je[Z]),"function"==typeof Z?(X=Z(null,100,100),Ee[W]=X):z("Unsupported Figure: "+W)}v=X.bounds}W=v.width,X=v.height,Z=v.width;var ge=v.height;switch(Rc(this,!0)){case Ns:r=i=0;break;case Kr:Z=Math.max(e-h,0),ge=Math.max(t-h,0);break;case Hs:Z=Math.max(e-h,0),r=0;break;case ua:i=0,ge=Math.max(t-h,0)}switch(isFinite(c.width)&&(Z=c.width),isFinite(c.height)&&(ge=c.height),c=this.maxSize,v=this.minSize,i=Math.max(i-h,v.width),r=Math.max(r-h,v.height),Z=Math.min(c.width,Z),ge=Math.min(c.height,ge),Z=isFinite(Z)?Math.max(i,Z):Math.max(W,i),ge=isFinite(ge)?Math.max(r,ge):Math.max(X,r),i=nu(this)){case Ns:break;case Kr:W=Z,X=ge;break;case Mo:i=Math.min(Z/W,ge/X),isFinite(i)||(i=1),W*=i,X*=i;break;default:z(i+" is not a valid geometryStretch.")}null!==this.Pd?(c=W=Math.max(W,.01),r=X=Math.max(X,.01),i=(v=null!==this.Pd?this.Pd:this.qa).copy(),c/=(v=v.bounds).width,r/=v.height,isFinite(c)||(c=1),isFinite(r)||(r=1),1===c&&1===r||i.scale(c,r),this.qa=i):null!==this.qa&&Yn.ca(this.qa.el,e-h)&&Yn.ca(this.qa.cl,t-h)||(this.qa=io.makeGeometry(this,W,X)),v=this.qa.bounds,e===1/0||t===1/0?Fl(this,v.x-h/2,v.y-h/2,0===e&&0===W?0:v.width+h,0===t&&0===X?0:v.height+h):Fl(this,-h/2,-h/2,Z+h,ge+h)},N.th=function(e,t,i,r){Ou(this,e,t,i,r)},N.Tc=function(e,t,i){return this.bk(e.x,e.y,t.x,t.y,i)},N.bk=function(e,t,i,r,c){var h=this.transform,v=1/(h.m11*h.m22-h.m12*h.m21),W=h.m22*v,X=-h.m12*v,Z=-h.m21*v,ge=h.m11*v,ye=v*(h.m21*h.dy-h.m22*h.dx),We=v*(h.m12*h.dx-h.m11*h.dy);if(h=e*W+t*Z+ye,v=e*X+t*ge+We,W=i*W+r*Z+ye,X=i*X+r*ge+We,ye=this.ih/2,null===(Z=this.qa)&&(this.measure(1/0,1/0),Z=this.qa),We=Z.bounds,ge=!1,Z.type===Wa)if(1.5>=this.strokeWidth)ge=Yn.Fe(Z.startX,Z.startY,Z.endX,Z.endY,h,v,W,X,c);else{if(Z.startX===Z.endX?(r=ye,ge=0):(t=(Z.endY-Z.startY)/(Z.endX-Z.startX),r=(ge=ye/Math.sqrt(1+t*t))*t),t=ie(),e=new Ze,Yn.Fe(Z.startX+r,Z.startY+ge,Z.endX+r,Z.endY+ge,h,v,W,X,e)&&t.push(e),e=new Ze,Yn.Fe(Z.startX-r,Z.startY-ge,Z.endX-r,Z.endY-ge,h,v,W,X,e)&&t.push(e),e=new Ze,Yn.Fe(Z.startX+r,Z.startY+ge,Z.startX-r,Z.startY-ge,h,v,W,X,e)&&t.push(e),e=new Ze,Yn.Fe(Z.endX+r,Z.endY+ge,Z.endX-r,Z.endY-ge,h,v,W,X,e)&&t.push(e),0===(W=t.length))return ne(t),!1;for(ge=!0,X=1/0,r=0;r<W;r++)(i=((e=t[r]).x-h)*(e.x-h)+(e.y-v)*(e.y-v))<X&&(X=i,c.x=e.x,c.y=e.y);ne(t)}else if(Z.type===Jr)ge=Yn.Tc(We.x-ye,We.y-ye,We.x+We.width+ye,We.y+We.height+ye,h,v,W,X,c);else if(Z.type===p0){e:if(0===(t=sn.allocAt(We.x,We.y,We.width,We.height).Uc(ye,ye)).width)ge=Yn.Fe(t.x,t.y,t.x,t.y+t.height,h,v,W,X,c);else if(0===t.height)ge=Yn.Fe(t.x,t.y,t.x+t.width,t.y,h,v,W,X,c);else{if(r=t.x+(e=t.width/2),ge=t.y+(Z=t.height/2),i=9999,h!==W&&(i=(v-X)/(h-W)),9999>Math.abs(i)){if(0>e*e*i*i+Z*Z-(X=v-ge-i*(h-r))*X){c.x=NaN,c.y=NaN,ge=!1;break e}W=(-e*e*i*X+e*Z*(ye=Math.sqrt(e*e*i*i+Z*Z-X*X)))/(Z*Z+e*e*i*i)+r,e=(-e*e*i*X-e*Z*ye)/(Z*Z+e*e*i*i)+r,Z=i*(W-r)+X+ge,X=i*(e-r)+X+ge,Math.abs((h-W)*(h-W))+Math.abs((v-Z)*(v-Z))<Math.abs((h-e)*(h-e))+Math.abs((v-X)*(v-X))?(c.x=W,c.y=Z):(c.x=e,c.y=X)}else{if(W=Z*Z,0>(W-=W/(e*e)*(X=h-r)*X)){c.x=NaN,c.y=NaN,ge=!1;break e}W=ge+(X=Math.sqrt(W)),X=ge-X,Math.abs(W-v)<Math.abs(X-v)?(c.x=h,c.y=W):(c.x=h,c.y=X)}ge=!0}sn.free(t)}else if(Z.type===Tr){We=Ze.alloc();var Ve=W-h,st=X-v,jt=Ve*Ve+st*st;c.x=W,c.y=X;for(var nn=0;nn<Z.figures.count;nn++)for(var on=Z.figures.j[nn],Fn=on.segments,Gn=Ve=on.startX,hi=st=on.startY,gi=0;gi<Fn.count;gi++){var xi=Fn.j[gi],ns=xi.type,ls=xi.endX,ks=xi.endY,Ms=!1;switch(ns){case ma:Gn=ls,hi=ks;break;case Lr:Ms=q1(Ve,st,ls,ks,h,v,W,X,We);break;case Ia:Ms=Yn.Mp(Ve,st,xi.point1X,xi.point1Y,xi.point2X,xi.point2Y,ls,ks,h,v,W,X,.6,We);break;case Vs:Ms=Yn.Mp(Ve,st,(Ve+2*xi.point1X)/3,(st+2*xi.point1Y)/3,(2*xi.point1X+ls)/3,(2*xi.point1X+ls)/3,ls,ks,h,v,W,X,.6,We);break;case Ar:case gr:var qo=(ns=xi.type===Ar?Da(xi,on):y0(xi,on,Ve,st)).length;if(0===qo){Ms=q1(Ve,st,xi.centerX,xi.centerY,h,v,W,X,We);break}for(ks=null,ls=0;ls<qo;ls++){if(ks=ns[ls],0===ls&&q1(Ve,st,ks[0],ks[1],h,v,W,X,We)){var bo=Sl(h,v,We,jt,c);bo<jt&&(jt=bo,ge=!0)}Yn.Mp(ks[0],ks[1],ks[2],ks[3],ks[4],ks[5],ks[6],ks[7],h,v,W,X,.6,We)&&(bo=Sl(h,v,We,jt,c))<jt&&(jt=bo,ge=!0)}ls=ks[6],ks=ks[7];break;default:z("Unknown Segment type: "+ns)}Ve=ls,st=ks,Ms&&(Ms=Sl(h,v,We,jt,c))<jt&&(jt=Ms,ge=!0),xi.isClosed&&q1(Ve,st,ls=Gn,ks=hi,h,v,W,X,We)&&(xi=Sl(h,v,We,jt,c))<jt&&(jt=xi,ge=!0)}h=i-e,v=r-t,0!==(W=Math.sqrt(h*h+v*v))&&(h/=W,v/=W),c.x-=h*ye,c.y-=v*ye,Ze.free(We)}else z("Unknown Geometry type: "+Z.type);return!!ge&&(this.transform.ta(c),!0)},N.uh=function(e,t){if(void 0===t)return e.lf(this.actualBounds);var i=this.qa;null===i&&(this.measure(1/0,1/0),i=this.qa),i=i.bounds;var r=this.strokeWidth/2,c=!1,h=Ze.alloc();return h.h(i.x-r,i.y-r),e.ea(t.ta(h))&&(h.h(i.x-r,i.bottom+r),e.ea(t.ta(h))&&(h.h(i.right+r,i.bottom+r),e.ea(t.ta(h))&&(h.h(i.right+r,i.y-r),e.ea(t.ta(h))&&(c=!0)))),Ze.free(h),c},N.Ic=function(e,t){if(this.uh(e,t)||void 0===t&&(t=this.transform,e.lf(this.actualBounds)))return!0;var i=mi.alloc();i.set(t),i.bt();var r=e.left,c=e.right,h=e.top;e=e.bottom;var v=Ze.alloc();if(v.h(r,h),i.ta(v),this.vh(v,!0)||(v.h(c,h),i.ta(v),this.vh(v,!0))||(v.h(r,e),i.ta(v),this.vh(v,!0))||(v.h(c,e),i.ta(v),this.vh(v,!0)))return Ze.free(v),!0;var W=Ze.alloc(),X=Ze.alloc();return i.set(t),i.nv(this.transform),i.bt(),W.x=c,W.y=h,W.transform(i),v.x=r,v.y=h,v.transform(i),t=!1,Wu(this,v,W,X)?t=!0:(v.x=c,v.y=e,v.transform(i),Wu(this,v,W,X)?t=!0:(W.x=r,W.y=e,W.transform(i),Wu(this,v,W,X)?t=!0:(v.x=r,v.y=h,v.transform(i),Wu(this,v,W,X)&&(t=!0)))),Ze.free(v),mi.free(i),Ze.free(W),Ze.free(X),t},N.jx=function(e,t,i){function r(nn,on){for(var Fn=nn.length,Gn=0;Gn<Fn;Gn+=2)if(on.cd(nn[Gn],nn[Gn+1])>c)return!0;return!1}if(i&&null!==this.fill&&this.vh(e,!0))return!0;var c=e.Be(t),h=c;if(1.5<this.strokeWidth&&(c=this.strokeWidth/2+Math.sqrt(c),c*=c),null===(t=this.qa)&&(this.measure(1/0,1/0),null===(t=this.qa)))return!1;if(!i){var v=t.bounds,W=v.x,X=v.y,Z=v.x+v.width;if(v=v.y+v.height,Li(e.x,e.y,W,X)<=c&&Li(e.x,e.y,Z,X)<=c&&Li(e.x,e.y,W,v)<=c&&Li(e.x,e.y,Z,v)<=c)return!0}if(W=t.startX,X=t.startY,Z=t.endX,v=t.endY,t.type===Wa){if(i=(W-Z)*(e.x-Z)+(X-v)*(e.y-v),Di(e.x,e.y,W,X,Z,v)<=(0<=(Z-W)*(e.x-W)+(v-X)*(e.y-X)&&0<=i?c:h))return!0}else{if(t.type===Jr)return t=!1,i&&(t=Di(e.x,e.y,W,X,W,v)<=c||Di(e.x,e.y,W,X,Z,X)<=c||Di(e.x,e.y,Z,X,Z,v)<=c||Di(e.x,e.y,W,v,Z,v)<=c),t;if(t.type===p0){t=e.x-(W+Z)/2,h=e.y-(X+v)/2;var ge=Math.abs(Z-W)/2,ye=Math.abs(v-X)/2;if(0===ge||0===ye)return Di(e.x,e.y,W,X,Z,v)<=c;if(!i)return!(Li(t,h,-ge,0)>=c||Li(t,h,0,-ye)>=c||Li(t,h,0,ye)>=c||Li(t,h,ge,0)>=c);if((e=Yn.Dy(ge,ye,t,h))*e<=c)return!0}else if(t.type===Tr){if(h=(Z=t.bounds).x,W=Z.y,X=Z.x+Z.width,Z=Z.y+Z.height,e.x>X&&e.x<h&&e.y>Z&&e.y<W&&Di(e.x,e.y,h,W,h,Z)>c&&Di(e.x,e.y,h,W,X,W)>c&&Di(e.x,e.y,X,Z,h,Z)>c&&Di(e.x,e.y,X,Z,X,W)>c)return!1;if(h=Math.sqrt(c),!i){for(i=t.figures,t=0;t<i.count;t++){if(e.cd(v=(h=i.j[t]).startX,ge=h.startY)>c)return!1;for(X=(W=h.segments.j).length,Z=0;Z<X;Z++)switch(ye=W[Z],ye.type){case ma:case Lr:if(e.cd(v=ye.endX,ge=ye.endY)>c)return!1;break;case Ia:var We=ie();if(Yn.ze(v,ge,ye.point1X,ye.point1Y,ye.point2X,ye.point2Y,ye.endX,ye.endY,.8,We),v=r(We,e),ne(We),v||e.cd(v=ye.endX,ge=ye.endY)>c)return!1;break;case Vs:if(We=ie(),Yn.jq(v,ge,ye.point1X,ye.point1Y,ye.endX,ye.endY,.8,We),v=r(We,e),ne(We),v||e.cd(v=ye.endX,ge=ye.endY)>c)return!1;break;case Ar:case gr:var Ve=(We=ye.type===Ar?Da(ye,h):y0(ye,h,v,ge)).length;if(0===Ve){if(e.cd(v=ye.centerX,ge=ye.centerY)>c)return!1;break}ye=null;for(var st=ie(),jt=0;jt<Ve;jt++)if(ye=We[jt],st.length=0,Yn.ze(ye[0],ye[1],ye[2],ye[3],ye[4],ye[5],ye[6],ye[7],.8,st),r(st,e))return ne(st),!1;ne(st),null!==ye&&(v=ye[6],ge=ye[7]);break;default:z("Unknown Segment type: "+ye.type)}}return!0}if(null===this.fill?Ga(t,e.x,e.y,h):t.ea(e,h,!0))return!0}}return!1},N.bc=function(){this.qa=null},io.makeGeometry=function(e,t,i){if("None"!==e.toArrow)var r=oe[e.toArrow];else"None"!==e.fromArrow?r=oe[e.fromArrow]:("string"==typeof(r=Yn.Je[e.figure])&&(r=Yn.Je[r]),void 0===r&&z("Unknown Shape.figure: "+e.figure),(r=r(e,t,i)).el=t,r.cl=i);if(null===r){var c=Yn.Je.Rectangle;"function"==typeof c&&(r=c(e,t,i))}return r},I.Object.defineProperties(io.prototype,{geometry:{get:function(){return null!==this.qa?this.qa:this.Pd},set:function(e){var t=this.qa;if(t!==e){this.Pd=this.qa=null!==e?e.freeze():null;var i=this.part;null!==i&&(i.Ug=NaN),this.s(),this.g("geometry",t,e),t0(this)&&null!==(e=this.part)&&w0(this,e,"geometryString")}}},geometryString:{get:function(){return null===this.geometry?"":this.geometry.toString()},set:function(e){var t=(e=Sa(e)).normalize();this.geometry=e,this.position=e=Ze.allocAt(-t.x,-t.y),Ze.free(e)}},isGeometryPositioned:{get:function(){return this.Rn},set:function(e){var t=this.Rn;t!==e&&(this.Rn=e,this.s(),this.g("isGeometryPositioned",t,e))}},fill:{get:function(){return this.Wk},set:function(e){var t=this.Wk;t!==e&&(e instanceof cr&&e.freeze(),this.Wk=e,this.R(),this.g("fill",t,e))}},stroke:{get:function(){return this.Gc},set:function(e){var t=this.Gc;t!==e&&(e instanceof cr&&e.freeze(),this.Gc=e,this.R(),this.g("stroke",t,e))}},strokeWidth:{get:function(){return this.ih},set:function(e){var t=this.ih;if(t!==e)if(0<=e){this.ih=e,this.s();var i=this.part;null!==i&&(i.Ug=NaN),this.g("strokeWidth",t,e)}else U(e,"value >= 0",io,"strokeWidth:value")}},strokeCap:{get:function(){return this.Il},set:function(e){var t=this.Il;t!==e&&("string"!=typeof e||"butt"!==e&&"round"!==e&&"square"!==e?U(e,'"butt", "round", or "square"',io,"strokeCap"):(this.Il=e,this.R(),this.g("strokeCap",t,e)))}},strokeJoin:{get:function(){return this.Jl},set:function(e){var t=this.Jl;t!==e&&("string"!=typeof e||"miter"!==e&&"bevel"!==e&&"round"!==e?U(e,'"miter", "bevel", or "round"',io,"strokeJoin"):(this.Jl=e,this.R(),this.g("strokeJoin",t,e)))}},strokeMiterLimit:{get:function(){return this.Jj},set:function(e){var t=this.Jj;if(t!==e&&1<=e){this.Jj=e,this.R();var i=this.part;null!==i&&(i.Ug=NaN),this.g("strokeMiterLimit",t,e)}}},strokeDashArray:{get:function(){return this.gh},set:function(e){var t=this.gh;if(t!==e){if(null!==e){for(var i=e.length,r=0,c=0;c<i;c++){var h=e[c];0<=h&&isFinite(h)||z("strokeDashArray:value "+h+" at index "+c+" must be a positive number or zero."),r+=h}if(0===r){if(null===t)return;e=null}}this.gh=e,this.R(),this.g("strokeDashArray",t,e)}}},strokeDashOffset:{get:function(){return this.hh},set:function(e){var t=this.hh;t!==e&&0<=e&&(this.hh=e,this.R(),this.g("strokeDashOffset",t,e))}},figure:{get:function(){return this.Vk},set:function(e){var t=this.Vk;if(t!==e){var i=Yn.Je[e];"function"==typeof i?i=e:(i=Yn.Je[e.toLowerCase()])||z("Unknown Shape.figure: "+e),t!==i&&(null!==(e=this.part)&&(e.Ug=NaN),this.Vk=i,this.Pd=null,this.bc(),this.s(),this.g("figure",t,i))}}},toArrow:{get:function(){return this.Pl},set:function(e){var t=this.Pl;if(!0===e?e="Standard":!1===e&&(e=""),t!==e){var i=At(e);null===i?z("Unknown Shape.toArrow: "+e):t!==i&&(this.Pl=i,this.Pd=null,this.bc(),this.s(),_e(this),this.g("toArrow",t,i))}}},fromArrow:{get:function(){return this.Yk},set:function(e){var t=this.Yk;if(!0===e?e="Standard":!1===e&&(e=""),t!==e){var i=At(e);null===i?z("Unknown Shape.fromArrow: "+e):t!==i&&(this.Yk=i,this.Pd=null,this.bc(),this.s(),_e(this),this.g("fromArrow",t,i))}}},spot1:{get:function(){return this.bf},set:function(e){var t=this.bf;t.A(e)||(this.bf=e=e.I(),this.s(),this.g("spot1",t,e))}},spot2:{get:function(){return this.cf},set:function(e){var t=this.cf;t.A(e)||(this.cf=e=e.I(),this.s(),this.g("spot2",t,e))}},parameter1:{get:function(){return this.Ko},set:function(e){var t=this.Ko;t!==e&&(this.Ko=e,this.bc(),this.s(),this.g("parameter1",t,e))}},parameter2:{get:function(){return this.Lo},set:function(e){var t=this.Lo;t!==e&&(this.Lo=e,this.bc(),this.s(),this.g("parameter2",t,e))}},naturalBounds:{get:function(){if(null!==this.qa)return this.qc.assign(this.qa.bounds),this.qc;var e=this.desiredSize;return new sn(0,0,e.width,e.height)}},pathPattern:{get:function(){return this.No},set:function(e){var t=this.No;t!==e&&(this.No=e,this.R(),this.g("pathPattern",t,e))}},geometryStretch:{get:function(){return this.Gn},set:function(e){var t=this.Gn;t!==e&&(this.Gn=e,this.g("geometryStretch",t,e))}},interval:{get:function(){return this.Cd},set:function(e){var t=this.Cd;if(t!==(e=Math.floor(e))&&0<=e){this.Cd=e;var i=this.diagram;null!==i&&this.panel===i.grid&&Ro(i),this.s(),null!==(i=this.panel)&&(i.Mg=null),this.g("interval",t,e)}}},graduatedStart:{get:function(){return this.Bd},set:function(e){var t=this.Bd;t!==e&&(0>e?e=0:1<e&&(e=1),this.Bd=e,this.s(),this.g("graduatedStart",t,e))}},graduatedEnd:{get:function(){return this.zd},set:function(e){var t=this.zd;t!==e&&(0>e?e=0:1<e&&(e=1),this.zd=e,this.s(),this.g("graduatedEnd",t,e))}},graduatedSkip:{get:function(){return this.Ad},set:function(e){var t=this.Ad;t!==e&&(this.Ad=e,this.s(),this.g("graduatedSkip",t,e))}}}),io.prototype.intersectsRect=io.prototype.Ic,io.prototype.containedInRect=io.prototype.uh,io.prototype.getNearestIntersectionPoint=io.prototype.Tc,io.prototype.getDocumentBounds=io.prototype.Vp,io.prototype.getDocumentPoint=io.prototype.ma;var oe=new Be,Ee=new Be;function tt(){As.call(this),$0||(po(),$0=!0),this.Pb="",this.Gc="black",this.ee="13px sans-serif",this.ui="start",this.yd=Ns,this.zi=Rr,this.nj=!0,this.ci=this.di=!1,this.Zf=u0,this.jg=Ha,this.Mr=this.oc=0,this.hu=this.iu=null,this.nd=new iu,this.An=!1,this.Cc=this.Xm=this.xp=this.vi=this.yp=null,this.af=this.$e=0,this.me=1/0,this.jl=0,this.Cd=1,this.Bd=0,this.zd=1,this.Ad=this.ij=null}function mn(e,t){e.H=6144|t.H,e.lb=t.opacity,e.ib=t.background,e.dc=t.areaBackground,e.Nc=t.desiredSize.I(),e.Qf=t.minSize.I(),e.Pf=t.maxSize.I(),e.Nf=t.Nf.copy(),e.Ca=t.scale,e.zc=t.angle,e.ue=t.stretch,e.Tg=t.margin.I(),e.wb=t.alignment.I(),e.wk=t.alignmentFocus.I(),e.yl=t.segmentFraction,e.zl=t.segmentOffset.I(),e.Al=t.segmentOrientation,null!==t.kd&&(e.kd=t.kd.copy()),e.Cl=t.shadowVisible,t instanceof tt&&(e.Pb=t.Pb,e.Gc=t.Gc,e.ee=t.ee,e.ui=t.ui,e.yd=t.yd,e.zi=t.zi,e.nj=t.nj,e.di=t.di,e.ci=t.ci,e.Zf=t.Zf,e.jg=t.jg,e.nd.Hf=null,e.$e=t.$e,e.af=t.af,e.me=t.me,e.jl=t.jl,e.Cd=t.Cd,e.Bd=t.Bd,e.zd=t.zd,e.ij=t.ij,e.Ad=t.Ad)}function $n(e,t,i,r,c){t=t.trim();var h=0,v=e.ee,W=e.$e+e.af;W=Math.max(0,Zi(e)+W);var X=e.Zf===Ca?fs(v):0;if(e.oc>=e.me)null!==c&&c.h(0,W);else{var Z=t;if(e.jg===Sr)if(i.ig=1,v=Xi(t),0===X||v<=r)i.Ec=Math.max(i.Ec,v),i.Wc.push(i.Ec),i.Ac.push(t),null!==c&&c.h(v,W);else{for(v=Xi((h=qi(e,Z))+(t=qi(e,Z=Z.substr(h.length))));0<t.length&&v<=r;)v=Xi(((h+=t)+(t=qi(e,Z=Z.substr(t.length)))).trim());for(h+=t.trim(),r=Math.max(1,r-X);Xi(h)>r&&1<h.length;)h=h.substr(0,h.length-1);t=Xi(h+=F0),i.Wc.push(t),i.Ec=t,i.Ac.push(h),null!==c&&c.h(t,W)}else{for(X=0,0===Z.length&&(X=1,i.Wc.push(0),i.Ac.push(Z));0<Z.length;){var ge=qi(e,Z);for(Z=Z.substr(ge.length);Xi(ge)>r;){var ye=1;for(v=Xi(ge.substr(0,ye)),t=0;v<=r;)ye++,t=v,v=Xi(ge.substr(0,ye));if(1===ye?(i.Wc[e.oc+X]=v,h=Math.max(h,v)):(i.Wc[e.oc+X]=t,h=Math.max(h,t)),1>--ye&&(ye=1),i.Ac[e.oc+X]=ge.substr(0,ye),X++,ge=ge.substr(ye),e.oc+X>e.me)break}for(v=Xi(ge+(t=qi(e,Z)));0<t.length&&v<=r;)v=Xi(((ge+=t)+(t=qi(e,Z=Z.substr(t.length)))).trim());if(""!==(ge=ge.trim())&&("\xad"===ge[ge.length-1]&&(ge=ge.substring(0,ge.length-1)+"\u2010"),0===t.length?(i.Wc.push(v),h=Math.max(h,v)):(t=Xi(ge),i.Wc.push(t),h=Math.max(h,t)),i.Ac.push(ge),X++,e.oc+X>e.me))break}i.ig=Math.min(e.me,X),i.Ec=Math.max(i.Ec,h),null!==c&&c.h(i.Ec,W*i.ig)}}}function qi(e,t){if(e.jg===da)return t.substr(0,1);e=t.length;for(var i=0,r=ia;i<e&&!r.test(t.charAt(i));)i++;for(;i<e&&r.test(t.charAt(i));)i++;return i>=e?t:t.substr(0,i)}function Xi(e){return null===g0?8*e.length:g0.measureText(e).width}function Zi(e){if(null!==e.nd.Hf)return e.nd.Hf;var t=e.ee;if(null===g0){var i=16;return e.nd.Hf=i}return void 0!==d0[t]&&5e3>v1?i=d0[t]:(i=1.3*g0.measureText("M").width,d0[t]=i,v1++),e.nd.Hf=i}function fs(e){if(null===g0)return 6;if(void 0!==x0[e]&&5e3>Ps)var t=x0[e];else t=g0.measureText(F0).width,x0[e]=t,Ps++;return t}function eo(e,t,i){var r=e.Pb.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),c=e.$e+e.af;if(c=Math.max(0,Zi(e)+c),0===r.length)return i.Ec=0,e.oc=1,c;if(!e.isMultiline){var h=r.indexOf("\n",0);0<=h&&(r=r.substr(0,h))}h=0;for(var W,v=e.oc=0,X=!1;!X;){if(-1===(W=r.indexOf("\n",v))&&(W=r.length,X=!0),v<=W){if(v=r.substr(v,W-v),e.jg!==Sr){i.ig=0;var Z=Ue.alloc();$n(e,v,i,t,Z),h+=Z.height,Ue.free(Z),e.oc+=i.ig}else $n(e,v,i,t,null),h+=c,e.oc++;e.oc===e.me&&(X=!0)}v=W+1}return e.Mr=h}function po(){ia=/[ \u200b\u00ad]/,d0=new Be,x0=new Be,g0=Wr?new Vc(null).context:null}io.className="Shape",io.getFigureGenerators=function(){var t,e=new Kt;for(t in Yn.Je)t!==t.toLowerCase()&&e.add(t,Yn.Je[t]);return e.freeze(),e},io.defineFigureGenerator=function(e,t){var i=e.toLowerCase(),r=Yn.Je;r[e]=t,r[i]=e},io.getArrowheadGeometries=function(){var e=new Kt;for(r in Yn.Bm)if(void 0===oe[r]){var t=Sa(Yn.Bm[r],!1);oe[r]=t,(t=r.toLowerCase())!==r&&(oe[t]=r)}for(var i in oe)if(i!==i.toLowerCase()){var r=oe[i];r instanceof so&&e.add(i,r)}return e.freeze(),e},io.defineArrowheadGeometry=function(e,t){var i;i="string"==typeof t?Sa(t,!1):t,"none"!==(t=e.toLowerCase())&&e!==t||z("Shape.defineArrowheadGeometry name must not be empty or None or all-lower-case: "+e);var r=oe;r[e]=i,r[t]=e},y(tt,As),tt.prototype.cloneProtected=function(e){As.prototype.cloneProtected.call(this,e),e.Pb=this.Pb,e.Gc=this.Gc,e.ee=this.ee,e.ui=this.ui,e.yd=this.yd,e.zi=this.zi,e.nj=this.nj,e.di=this.di,e.ci=this.ci,e.Zf=this.Zf,e.jg=this.jg,e.oc=this.oc,e.Mr=this.Mr,e.iu=this.iu,e.hu=this.hu,e.nd.Vl(this.nd),e.An=this.An,e.yp=this.yp,e.vi=this.vi,e.xp=this.xp,e.Xm=this.Xm,e.Cc=this.Cc,e.$e=this.$e,e.af=this.af,e.me=this.me,e.jl=this.jl,e.Cd=this.Cd,e.Bd=this.Bd,e.zd=this.zd,e.ij=this.ij,e.Ad=this.Ad},(N=tt.prototype).fb=function(e){e.classType===tt?this.wrap=e:As.prototype.fb.call(this,e)},N.toString=function(){return 22<this.Pb.length?'TextBlock("'+this.Pb.substring(0,20)+'"...)':'TextBlock("'+this.Pb+'")'},N.s=function(){As.prototype.s.call(this),this.hu=this.iu=null},N.Ci=function(e,t){if(null!==this.Gc&&0!==this.Pb.length&&null!==this.ee){var i=this.naturalBounds,r=this.actualBounds,c=i.width,h=i.height,v=Zi(this),W=e.textAlign=this.ui,X=t.Tn;"start"===W?W=X?"right":"left":"end"===W&&(W=X?"left":"right"),X=this.di;var Z=this.ci;vo(this,e,this.Gc,!0,!1,i,r),(X||Z)&&vo(this,e,this.Gc,!1,!1,i,r),r=0,i=!1;var ge=Ze.allocAt(0,0);this.rd.ta(ge);var ye=Ze.allocAt(0,v);this.rd.ta(ye);var We=ge.Be(ye);switch(Ze.free(ge),Ze.free(ye),8>We*(ge=t.scale)*ge&&(i=!0),t.Yc!==e&&(i=!1),!1===t.De("textGreeking")&&(i=!1),t=this.$e,We=this.af,this.flip){case r0:e.translate(c,0),e.scale(-1,1);break;case O1:e.translate(0,h),e.scale(1,-1);break;case c0:e.translate(c,h),e.scale(-1,-1)}h>(ye=(t+v+We)*(ge=this.oc))&&(r=(r=this.zi).y*h-r.y*ye+r.offsetY),ye=this.nd;for(var Ve=0;Ve<ge;Ve++){var st=ye.Wc[Ve];st>c&&(st=c);var jt=ye.Ac[Ve],nn=e,on=r+=t,Fn=W,Gn=0;if(i)"left"===Fn?Gn=0:"right"===Fn?Gn=c-st:"center"===Fn&&(Gn=(c-st)/2),nn.fillRect(0+Gn,on+.25*v,st,1);else{"left"===Fn?Gn=0:"right"===Fn?Gn=c:"center"===Fn&&(Gn=c/2);var hi=null!==Lo?Lo(this,v):.75*v;nn.fillText(jt,0+Gn,on+hi),0==(jt=v/20|0)&&(jt=1),"right"===Fn?Gn-=st:"center"===Fn&&(Gn-=st/2),X&&(Fn=null!==ya?ya(this,v):.8*v,nn.beginPath(),nn.lineWidth=jt,nn.moveTo(0+Gn,on+Fn),nn.lineTo(0+Gn+st,on+Fn),nn.stroke()),Z&&(nn.beginPath(),nn.lineWidth=jt,on=on+v-v/2.2|0,jt%2!=0&&(on+=.5),nn.moveTo(0+Gn,on),nn.lineTo(0+Gn+st,on),nn.stroke())}r+=v+We}switch(this.flip){case r0:e.scale(-1,1),e.translate(-c,0);break;case O1:e.scale(1,-1),e.translate(0,-h);break;case c0:e.scale(-1,-1),e.translate(-c,-h)}}},N.hm=function(e,t,i,r){this.jl=e;var h,c=this.ee;if(null!==g0&&pr!==c&&(pr=g0.font=c),(c=this.nd).reset(),isNaN(this.desiredSize.width)){var v=this.Pb.replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(0===v.length)v=0;else if(this.isMultiline){for(var W=h=0,X=!1;!X;){var Z=v.indexOf("\n",W);-1===Z&&(Z=v.length,X=!0),h=Math.max(h,Xi(v.substr(W,Z-W).trim())),W=Z+1}v=h}else 0<=(h=v.indexOf("\n",0))&&(v=v.substr(0,h)),v=Xi(v);v=Math.min(v,e/this.scale),v=Math.max(8,v)}else v=this.desiredSize.width;if(null!==this.panel&&(v=Math.min(v,this.panel.maxSize.width)),h=eo(this,v,c),W=h=isNaN(this.desiredSize.height)?Math.min(h,t/this.scale):this.desiredSize.height,0!==c.Ec&&1!==c.Ac.length&&this.Zf===Ca&&(t=this.ee,t=this.Zf===Ca?fs(t):0,X=this.$e+this.af,X=Math.max(0,Zi(this)+X),!((W=Math.min(this.maxLines-1,Math.max(Math.floor(W/X+.01)-1,0)))+1>=c.Ac.length))){for(X=c.Ac[W],t=Math.max(1,e-t);Xi(X)>t&&1<X.length;)X=X.substr(0,X.length-1);t=Xi(X+=F0),c.Ac[W]=X,c.Ac=c.Ac.slice(0,W+1),c.Wc[W]=t,c.Wc=c.Wc.slice(0,W+1),c.ig=c.Ac.length,c.Ec=Math.max(c.Ec,t),this.oc=c.ig}(this.wrap===ka||isNaN(this.desiredSize.width))&&(v=isNaN(e)?c.Ec:Math.min(e,c.Ec),isNaN(this.desiredSize.width)&&(v=Math.max(8,v))),v=Math.max(i,v),h=Math.max(r,h),oi(this.qc,v,h),Fl(this,0,0,v,h)},N.th=function(e,t,i,r){Ou(this,e,t,i,r)},I.Object.defineProperties(tt.prototype,{font:{get:function(){return this.ee},set:function(e){var t=this.ee;t!==e&&(this.ee=e,this.nd.Hf=null,this.s(),this.g("font",t,e))}},text:{get:function(){return this.Pb},set:function(e){var t=this.Pb;t!==(e=null!=e?e.toString():"")&&(this.Pb=e,this.s(),this.g("text",t,e))}},textAlign:{get:function(){return this.ui},set:function(e){var t=this.ui;t===e||"start"!==e&&"end"!==e&&"left"!==e&&"right"!==e&&"center"!==e||(this.ui=e,this.R(),this.g("textAlign",t,e))}},flip:{get:function(){return this.yd},set:function(e){var t=this.yd;t!==e&&(this.yd=e,this.R(),this.g("flip",t,e))}},verticalAlignment:{get:function(){return this.zi},set:function(e){var t=this.zi;t.A(e)||(this.zi=e=e.I(),tl(this),this.g("verticalAlignment",t,e))}},naturalBounds:{get:function(){if(!this.qc.o()){var e=Ue.alloc();$n(this,this.Pb,this.nd,999999,e);var t=e.width;Ue.free(e),e=eo(this,t,this.nd);var i=this.desiredSize;isNaN(i.width)||(t=i.width),isNaN(i.height)||(e=i.height),oi(this.qc,t,e)}return this.qc}},isMultiline:{get:function(){return this.nj},set:function(e){var t=this.nj;t!==e&&(this.nj=e,this.s(),this.g("isMultiline",t,e))}},isUnderline:{get:function(){return this.di},set:function(e){var t=this.di;t!==e&&(this.di=e,this.R(),this.g("isUnderline",t,e))}},isStrikethrough:{get:function(){return this.ci},set:function(e){var t=this.ci;t!==e&&(this.ci=e,this.R(),this.g("isStrikethrough",t,e))}},wrap:{get:function(){return this.jg},set:function(e){var t=this.jg;t!==e&&(this.jg=e,this.s(),this.g("wrap",t,e))}},overflow:{get:function(){return this.Zf},set:function(e){var t=this.Zf;t!==e&&(this.Zf=e,this.s(),this.g("overflow",t,e))}},stroke:{get:function(){return this.Gc},set:function(e){var t=this.Gc;t!==e&&(e instanceof cr&&e.freeze(),this.Gc=e,this.R(),this.g("stroke",t,e))}},lineCount:{get:function(){return this.oc}},editable:{get:function(){return this.An},set:function(e){var t=this.An;t!==e&&(this.An=e,this.g("editable",t,e))}},textEditor:{get:function(){return this.yp},set:function(e){var t=this.yp;t!==e&&(this.yp=e,this.g("textEditor",t,e))}},errorFunction:{get:function(){return this.Cc},set:function(e){var t=this.Cc;t!==e&&(this.Cc=e,this.g("errorFunction",t,e))}},interval:{get:function(){return this.Cd},set:function(e){var t=this.Cd;if(t!==(e=Math.floor(e))&&0<=e){this.Cd=e,this.s();var i=this.panel;null!==i&&(i.Mg=null),this.g("interval",t,e)}}},graduatedStart:{get:function(){return this.Bd},set:function(e){var t=this.Bd;t!==e&&(0>e?e=0:1<e&&(e=1),this.Bd=e,this.s(),this.g("graduatedStart",t,e))}},graduatedEnd:{get:function(){return this.zd},set:function(e){var t=this.zd;t!==e&&(0>e?e=0:1<e&&(e=1),this.zd=e,this.s(),this.g("graduatedEnd",t,e))}},graduatedFunction:{get:function(){return this.ij},set:function(e){var t=this.ij;t!==e&&(this.ij=e,this.s(),this.g("graduatedFunction",t,e))}},graduatedSkip:{get:function(){return this.Ad},set:function(e){var t=this.Ad;t!==e&&(this.Ad=e,this.s(),this.g("graduatedSkip",t,e))}},textValidation:{get:function(){return this.vi},set:function(e){var t=this.vi;t!==e&&(this.vi=e,this.g("textValidation",t,e))}},textEdited:{get:function(){return this.xp},set:function(e){var t=this.xp;t!==e&&(this.xp=e,this.g("textEdited",t,e))}},spacingAbove:{get:function(){return this.$e},set:function(e){var t=this.$e;t!==e&&(this.$e=e,this.g("spacingAbove",t,e))}},spacingBelow:{get:function(){return this.af},set:function(e){var t=this.af;t!==e&&(this.af=e,this.g("spacingBelow",t,e))}},maxLines:{get:function(){return this.me},set:function(e){var t=this.me;t!==e&&(0>=(e=Math.floor(e))&&U(e,"> 0",tt,"maxLines"),this.me=e,this.g("maxLines",t,e),this.s())}},metrics:{get:function(){return this.nd}},choices:{get:function(){return this.Xm},set:function(e){var t=this.Xm;t!==e&&(this.Xm=e,this.g("choices",t,e))}}});var Lo=null,ya=null,Sr=new Pe(tt,"None",0),ka=new Pe(tt,"WrapFit",1),Ha=new Pe(tt,"WrapDesiredSize",2),da=new Pe(tt,"WrapBreakAll",3),u0=new Pe(tt,"OverflowClip",0),Ca=new Pe(tt,"OverflowEllipsis",1),ia=null,d0=null,v1=0,x0=null,Ps=0,F0="...",pr="",g0=null,$0=!1;function iu(){this.Ec=this.ig=0,this.Wc=[],this.Ac=[],this.Hf=null}function Wl(){As.call(this),this.Ig=null,this.qp="",this.fh=li,this.al=Kr,this.df=this.Cc=null,this.$k=Jt,this.yd=Ns,this.Ll=null,this.bu=!1,this.ir=!0,this.nl=!1,this.Dl=null}function pa(e){void 0===e&&(e=""),""!==e?Xc[e]&&(delete Xc[e],Op--):(Xc=new Be,Op=0)}function Yc(e,t){e.zr=!0,e.Zk=!1;for(var i,r=ae(),c=r.length,h=0;h<c;h++){var v=r[h],W=v.Cj.J(e.src);if(null!==W)for(var X=W.length,Z=0;Z<X;Z++)v.mu.add(i=W[Z]),v.cc(),null===e.su&&(e.su=t,null!==i.df&&i.df(i,t))}}function ph(e,t){e.Zk=t;for(var i,r=ae(),c=r.length,h=0;h<c;h++)if(null!==(i=r[h].Cj.J(e.src))){for(var v=i.length,W=ie(),X=0;X<v;X++)W.push(i[X]);for(X=0;X<v;X++)null!==(i=W[X]).Cc&&i.Cc(i,t);ne(W)}}tt.className="TextBlock",tt.getEllipsis=function(){return F0},tt.setEllipsis=function(e){F0=e,x0=new Be,Ps=0},tt.getBaseline=function(){return Lo},tt.setBaseline=function(e){Lo=e;for(var t=(e=ae()).length,i=0;i<t;i++)e[i].sf()},tt.getUnderline=function(){return ya},tt.setUnderline=function(e){ya=e;for(var t=(e=ae()).length,i=0;i<t;i++)e[i].sf()},tt.isValidFont=function(e){if($0||(po(),$0=!0),null===g0)return!0;var t=g0.font;if(e===t||"10px sans-serif"===e)return!0;g0.font="10px sans-serif",g0.font=e;var i=g0.font;if("10px sans-serif"!==i)return g0.font=t,!0;g0.font="19px serif";var r=g0.font;return g0.font=e,i=g0.font,g0.font=t,i!==r},tt.None=Sr,tt.WrapFit=ka,tt.WrapDesiredSize=Ha,tt.WrapBreakAll=da,tt.OverflowClip=u0,tt.OverflowEllipsis=Ca,iu.prototype.reset=function(){this.Ec=this.ig=0,this.Hf=null,this.Wc=[],this.Ac=[]},iu.prototype.Vl=function(e){this.ig=e.ig,this.Hf=e.Hf,this.Ec=e.Ec,this.Wc=j(e.Wc),this.Ac=j(e.Ac)},I.Object.defineProperties(iu.prototype,{arrSize:{get:function(){return this.Wc}},arrText:{get:function(){return this.Ac}},maxLineWidth:{get:function(){return this.Ec}},fontHeight:{get:function(){return this.Hf}}}),iu.className="TextBlockMetrics",y(Wl,As),Wl.prototype.cloneProtected=function(e){As.prototype.cloneProtected.call(this,e),e.element=this.Ig,e.qp=this.qp,e.fh=this.fh.I(),e.al=this.al,e.yd=this.yd,e.Cc=this.Cc,e.df=this.df,e.$k=this.$k.I(),e.ir=this.ir,e.Dl=this.Dl},(N=Wl.prototype).fb=function(e){e===Ns||e===Mo||e===bc?this.imageStretch=e:As.prototype.fb.call(this,e)},N.toString=function(){return"Picture("+this.source+")#"+Je(this)},N.Kz=function(){if(""!==this.source){pa(this.source);var e=this.source;this.source="",this.source=e}},N.sf=function(){this.R()},N.Ci=function(e,t){var i=this.Ig;if(null!==i){var r=i.src;if(null!==r&&""!==r||z('Element has no source ("src") attribute: '+i),!(i.Zk instanceof Event)){r=this.naturalBounds;var c=0,h=0,v=this.bu,W=v?+i.width:i.naturalWidth;if(void 0===W&&i.videoWidth&&(W=i.videoWidth),void 0===(v=v?+i.height:i.naturalHeight)&&i.videoHeight&&(v=i.videoHeight),v=v||r.height,0!==(W=W||r.width)&&0!==v){var X=W,Z=v;this.sourceRect.o()&&(c=this.fh.x,h=this.fh.y,W=this.fh.width,v=this.fh.height);var ge=W,ye=v,We=this.al,Ve=this.$k;switch(We){case Ns:if(this.sourceRect.o())break;ge>=r.width&&(c=c+Ve.offsetX+(ge*Ve.x-r.width*Ve.x)),ye>=r.height&&(h=h+Ve.offsetY+(ye*Ve.y-r.height*Ve.y)),W=Math.min(r.width,ge),v=Math.min(r.height,ye);break;case Kr:ge=r.width,ye=r.height;break;case Mo:case bc:We===Mo?(ge*=We=Math.min(r.height/ye,r.width/ge),ye*=We):We===bc&&((ge*=We=Math.max(r.height/ye,r.width/ge))>=r.width&&(c=(c+Ve.offsetX+(ge*Ve.x-r.width*Ve.x)/ge)*W),(ye*=We)>=r.height&&(h=(h+Ve.offsetY+(ye*Ve.y-r.height*Ve.y)/ye)*v),W*=1/(ge/r.width),v*=1/(ye/r.height),ge=r.width,ye=r.height)}var st=W*v/(ge*(We=this.Ce()*t.scale)*ye*We),jt=i.__goCache;We=null;var nn=hh;if(i.zr&&void 0!==jt&&st>nn*nn)for(null===jt.Bi&&(Dd(jt,4,X,Z,i),Dd(jt,16,X,Z,i)),Z=(X=jt.Bi).length,We=X[0],nn=0;nn<Z&&X[nn].ratio*X[nn].ratio<st;nn++)We=X[nn];if(!t.xn){if(null===this.Ll)if(null===this.Ig)this.Ll=!1;else{(X=new Vc(null).context).drawImage(this.Ig,0,0);try{X.getImageData(0,0,1,1).data[3]&&(this.Ll=!1),this.Ll=!1}catch{this.Ll=!0}}if(this.Ll)return}switch(X=0,ge<r.width&&(X=Ve.offsetX+(r.width*Ve.x-ge*Ve.x)),Z=0,ye<r.height&&(Z=Ve.offsetY+(r.height*Ve.y-ye*Ve.y)),this.flip){case r0:e.translate(Math.min(r.width,ge),0),e.scale(-1,1);break;case O1:e.translate(0,Math.min(r.height,ye)),e.scale(1,-1);break;case c0:e.translate(Math.min(r.width,ge),Math.min(r.height,ye)),e.scale(-1,-1)}if(t.De("pictureRatioOptimization")&&!t.mj&&void 0!==jt&&null!==We&&1!==We.ratio){e.save(),t=We.ratio;try{e.drawImage(We.source,c/t,h/t,Math.min(We.source.width,W/t),Math.min(We.source.height,v/t),X,Z,Math.min(r.width,ge),Math.min(r.height,ye))}catch{this.ir=!1}e.restore()}else try{e.drawImage(i,c,h,W,v,X,Z,Math.min(r.width,ge),Math.min(r.height,ye))}catch{this.ir=!1}switch(this.flip){case r0:e.scale(-1,1),e.translate(-Math.min(r.width,ge),0);break;case O1:e.scale(1,-1),e.translate(0,-Math.min(r.height,ye));break;case c0:e.scale(-1,-1),e.translate(-Math.min(r.width,ge),-Math.min(r.height,ye))}}}}},N.hm=function(e,t,i,r){var c=this.desiredSize,h=Rc(this,!0),v=this.Ig,W=this.bu;(W||!this.nl&&v&&v.complete)&&(this.nl=!0),null===v&&(isFinite(c.width)||(e=0),isFinite(c.height)||(t=0)),isFinite(c.width)||h===Kr||h===Hs?(isFinite(e)||(e=this.sourceRect.o()?this.sourceRect.width:W?+v.width:v.naturalWidth),i=0):null!==v&&!1!==this.nl&&(e=this.sourceRect.o()?this.sourceRect.width:W?+v.width:v.naturalWidth),isFinite(c.height)||h===Kr||h===ua?(isFinite(t)||(t=this.sourceRect.o()?this.sourceRect.height:W?+v.height:v.naturalHeight),r=0):null!==v&&!1!==this.nl&&(t=this.sourceRect.o()?this.sourceRect.height:W?+v.height:v.naturalHeight),isFinite(c.width)&&(e=c.width),isFinite(c.height)&&(t=c.height),c=this.maxSize,h=this.minSize,i=Math.max(i,h.width),r=Math.max(r,h.height),e=Math.min(c.width,e),t=Math.min(c.height,t),e=Math.max(i,e),t=Math.max(r,t),null===v||v.complete||(isFinite(e)||(e=0),isFinite(t)||(t=0)),oi(this.qc,e,t),Fl(this,0,0,e,t)},N.th=function(e,t,i,r){Ou(this,e,t,i,r)},I.Object.defineProperties(Wl.prototype,{element:{get:function(){return this.Ig},set:function(e){var t=this.Ig;if(t!==e){if(null===e||e instanceof HTMLImageElement||e instanceof HTMLVideoElement||e instanceof HTMLCanvasElement||z("Picture.element must be an instance of Image, Canvas, or Video, not: "+e),this.bu=e instanceof HTMLCanvasElement,this.Ig=e,null!==e)if(e instanceof HTMLCanvasElement||!0===e.complete)e.Zk instanceof Event&&null!==this.Cc&&this.Cc(this,e.Zk),!0===e.zr&&null!==this.df&&this.df(this,e.su),e.zr=!0,this.desiredSize.o()||(Q0(this,!1),this.s());else{var i=this;e.yw||(e.addEventListener("load",function(r){Yc(e,r),i.desiredSize.o()||(Q0(i,!1),i.s())}),e.addEventListener("error",function(r){ph(e,r)}),e.yw=!0)}this.g("element",t,e),this.R()}}},source:{get:function(){return this.qp},set:function(e){var t=this.qp;if(t!==e){this.qp=e;var i=Xc,r=this.diagram,c=null;if(void 0!==i[e])c=i[e];else{30<Op&&(pa(),i=Xc),c=q("img");var h=this;c.addEventListener("load",function(W){Yc(c,W),h.desiredSize.o()||(Q0(h,!1),h.s())}),c.addEventListener("error",function(W){ph(c,W)}),c.yw=!0;var v=this.Dl;null!==v&&(c.crossOrigin=v(this)),c.src=e,i[c.src]=c,Op++}null!==r&&se(r,this),this.element=c,null!==r&&S(r,this),void 0===c.__goCache&&(c.__goCache=new _u),this.s(),this.R(),this.g("source",t,e)}}},sourceCrossOrigin:{get:function(){return this.Dl},set:function(e){if(this.Dl!==e&&(this.Dl=e,null!==this.element)){var t=this.element.src;null===e&&"string"==typeof t?this.element.crossOrigin=null:null!==e&&(this.element.crossOrigin=e(this)),this.element.src=t}}},sourceRect:{get:function(){return this.fh},set:function(e){var t=this.fh;t.A(e)||(this.fh=e=e.I(),this.R(),this.g("sourceRect",t,e))}},imageStretch:{get:function(){return this.al},set:function(e){var t=this.al;t!==e&&(this.al=e,this.R(),this.g("imageStretch",t,e))}},flip:{get:function(){return this.yd},set:function(e){var t=this.yd;t!==e&&(this.yd=e,this.R(),this.g("flip",t,e))}},imageAlignment:{get:function(){return this.$k},set:function(e){var t=this.$k;t.A(e)||(this.$k=e=e.I(),this.s(),this.g("imageAlignment",t,e))}},errorFunction:{get:function(){return this.Cc},set:function(e){var t=this.Cc;t!==e&&(this.Cc=e,this.g("errorFunction",t,e))}},successFunction:{get:function(){return this.df},set:function(e){var t=this.df;t!==e&&(this.df=e,this.g("successFunction",t,e))}},naturalBounds:{get:function(){return this.qc}}}),Wl.prototype.redraw=Wl.prototype.sf,Wl.prototype.reloadSource=Wl.prototype.Kz;var Xc=null,Op=0,hh=4;function _u(){this.Bi=null}function Dd(e,t,i,r,c){null===e.Bi&&(e.Bi=[]);var h=new Vc(null),v=h.context,W=1/t;h.width=i/t,h.height=r/t,t=new Qu(h.Ga,t),i=1,0<e.Bi.length&&(c=(i=e.Bi[e.Bi.length-1]).source,i=i.ratio),v.setTransform(W*i,0,0,W*i,0,0),v.drawImage(c,0,0),e.Bi.push(t)}function Qu(e,t){this.source=e,this.ratio=t}function Bu(){this.Us=new so,this.ec=null}function Kc(e,t,i,r,c){e.ec=new Ta,e.ec.startX=t,e.ec.startY=i,e.ec.isFilled=r,e.Us.figures.add(e.ec),void 0!==c&&(e.ec.isShadowed=c)}function Uh(e){var t=e.ec.segments.length;0<t&&e.ec.segments.N(t-1).close()}function ac(e,t,i,r,c,h,v){var W;void 0===W&&(W=!1);var X=new Ao(Ia);X.point1X=t,X.point1Y=i,X.point2X=r,X.point2Y=c,X.endX=h,X.endY=v,W&&X.close(),e.ec.segments.add(X)}function $1(e,t,i,r,c){var h;void 0===h&&(h=!1);var v=new Ao(Vs);v.point1X=t,v.point1Y=i,v.endX=r,v.endY=c,h&&v.close(),e.ec.segments.add(v)}function Eu(e,t,i,r,c,h,v,W){var X;void 0===X&&(X=!1),t=new Ao(gr,v,W,t,i,r,c,h),X&&t.close(),e.ec.segments.add(t)}function Up(e){var t=Pd;return null!==t?(Pd=null,t.reset(e),t):((t=new Bu).reset(e),t)}Wl.className="Picture",Xc=new Be,Wl.clearCache=pa,_u.className="PictureCacheArray",Qu.className="PictureCacheInstance",(N=Bu.prototype).reset=function(e){null!==e?(e.ha(),this.Us=e,e.figures.clear()):this.Us=new so,this.ec=null},N.qq=function(e){this.ec.isShadowed=e},N.moveTo=function(e,t,i){void 0===i&&(i=!1);var r=new Ao(ma);r.endX=e,r.endY=t,i&&r.close(),this.ec.segments.add(r)},N.lineTo=function(e,t,i){void 0===i&&(i=!1);var r=new Ao(Lr);r.endX=e,r.endY=t,i&&r.close(),this.ec.segments.add(r)},N.arcTo=function(e,t,i,r,c,h,v){void 0===h&&(h=0),void 0===v&&(v=!1);var W=new Ao(Ar);W.startAngle=e,W.sweepAngle=t,W.centerX=i,W.centerY=r,W.radiusX=c,W.radiusY=0!==h?h:c,v&&W.close(),this.ec.segments.add(W)};var Pd=null;function Bl(e,t){var i=e.toLowerCase(),r=Yn.Je;r[e]=t,r[i]=e}function Os(e){Vi.call(this,e),this.D=2408959,this.Rg=this.yf="",this.Wo=this.To=this.hp=this.ao=null,this.jp="",this.wf=this.Nn=this.ip=this.dh=null,this.Vo="",this.Uo=Dn,this.Pb=this.Xo="",this.fi=this.$m=this.Rh=null,this.Of=new Ze(NaN,NaN).freeze(),this.io="",this.Ve=null,this.jo=ut,this.Yo=wo,this.ro=Qt,this.ko=Wt,this.wn=null,this.bo=127,this.si=Yt,this.Ij="gray",this.Od=4,this.Bw=-1,this.Ip=NaN,this.Vx=new sn,this.vj=null,this.Ug=NaN}function Gh(e){16384&e.D&&(e.updateAdornments(),qh(e,!1))}function Gp(e){if(!1===su(e)){Zu(e,!0),e.fl();var t=e.diagram;null!==t&&(t.Dd.add(e),t.cc())}}function $f(e){if(e.D|=2097152,!1!==su(e)){var t=e.position,i=e.location;i.o()&&t.o()||mh(e,t,i),i=e.vb;var r=sn.alloc().assign(i);i.ha(),i.x=t.x,i.y=t.y,i.freeze(),e.lt(r,i),sn.free(r),Zu(e,!1)}}function _d(e,t){var i=e.Vx;isNaN(e.Ug)&&(e.Ug=La(e));var r=e.Ug,c=2*r;if(!e.isShadowed)return i.h(t.x-1-r,t.y-1-r,t.width+2+c,t.height+2+c),i;r=t.x,c=t.y;var h=t.width;t=t.height;var v=e.shadowBlur;return h+=v,t+=v,r-=v/2,c-=v/2,0<(e=e.shadowOffset).x?h+=e.x:(r+=e.x,h-=e.x),0<e.y?t+=e.y:(c+=e.y,t-=e.y),i.h(r-1,c-1,h+2,t+2),i}function gd(e,t,i,r){null===t||e instanceof Zo||(t=t.animationManager).Yg&&t.ye(e,"position",r.copy(),i.copy(),!1)}function mh(e,t,i){var r=Ze.alloc(),c=e.locationSpot,h=e.locationObject;c.jc()&&z("determineOffset: Part's locationSpot must be real: "+c.toString());var v=h.naturalBounds,W=h instanceof io?h.strokeWidth:0;if(r.qk(0,0,v.width+W,v.height+W,c),h!==e)for(r.offset(-W/2,-W/2),h.transform.ta(r),c=h.panel;null!==c&&c!==e;)c.transform.ta(r),c=c.panel;e.Nf.ta(r),r.offset(-e.pc.x,-e.pc.y),c=e.diagram,h=i.o(),v=t.o(),h&&v?2097152&e.D?Id(e,t,i,c,r):_h(e,t,i,c,r):h?Id(e,t,i,c,r):v&&_h(e,t,i,c,r),e.D|=2097152,Ze.free(r),e.fl()}function Id(e,t,i,r,c){var h=t.x,v=t.y;t.h(i.x-c.x,i.y-c.y),null!==r&&((c=(i=r.animationManager).isAnimating)||!i.Yg||e instanceof Zo||i.ye(e,"position",new Ze(h,v),t,!1),c||t.x===h&&t.y===v||(i=r.skipsUndoManager,r.skipsUndoManager=!0,e.g("position",new Ze(h,v),t),r.skipsUndoManager=i))}function _h(e,t,i,r,c){var h=i.copy();i.h(t.x+c.x,t.y+c.y),i.A(h)||null===r||(t=r.skipsUndoManager,r.skipsUndoManager=!0,e.g("location",h,i),r.skipsUndoManager=t)}function bd(e,t,i){bm(e,!1),e instanceof as&&Ri(i,e),e.layer.isTemporary||t||i.Xa(),t=e.vb;var r=i.viewportBounds;r.o()?ku(e)?($i(t,r,10)||e.hd(!1),e.updateAdornments()):t.Ic(r)?(e.hd(!0),e.updateAdornments()):e.Jb():i.bi=!0}function qp(e,t,i,r){t.constructor===e.constructor||Mh||(Mh=!0,k('Should not change the class of the Part when changing category from "'+i+'" to "'+r+'"'),k("  Old class: "+Q(e.constructor)+", new class: "+Q(t.constructor)+", part: "+e.toString())),e.Sj();var c=e.data;i=e.layerName;var h=e.isSelected,v=e.isHighlighted,W=!0,X=!0,Z=!1;e instanceof as&&(W=e.isTreeLeaf,X=e.isTreeExpanded,Z=e.wasTreeExpanded),t.mf(e),t.cloneProtected(e),e.yf=r,e.s(),e.R(),r=!0,null!==(t=e.diagram)&&(r=t.skipsUndoManager,t.skipsUndoManager=!0),e.jb=c,e.D=h?4096|e.D:-4097&e.D,e.D=v?524288|e.D:-524289&e.D,e instanceof as&&(e.S=W?4|e.S:-5&e.S,e.S=X?1|e.S:-2&e.S,e.S=Z?2|e.S:-3&e.S),null!==c&&e.Ea(),(c=e.layerName)!==i&&(e.Rg=i,e.layerName=c),null!==t&&(t.skipsUndoManager=r),e.Lb()&&e.B(64)}function qh(e,t){e.D=t?16384|e.D:-16385&e.D}function su(e){return!!(32768&e.D)}function Zu(e,t){e.D=t?32768|e.D:-32769&e.D}function bm(e,t){e.D=t?65536|e.D:-65537&e.D}function ku(e){return!!(131072&e.D)}function gh(e,t){e.D=t?1048576|e.D:-1048577&e.D}function vp(e,t){var i=t.containingGroup;return null!==i?1+vp(e,i):t instanceof as&&null!==(t=t.labeledLink)?vp(e,t):0}function bh(e,t){var i=t.containingGroup;return null!==i||t instanceof as&&null!==(i=t.labeledLink)?bh(e,i):t}function Mc(e,t,i){if(t===i||null===i)return!1;var r=t.containingGroup;return!(null===r||r!==i&&!Mc(e,r,i))||t instanceof as&&null!==(t=t.labeledLink)&&Mc(e,t,i)}function $m(e){return!(!e.isVisible()||null!==(e=e.layer)&&e.isTemporary)}function Zd(e,t,i,r,c,h){if(void 0===h&&(h=null),!(e.contains(t)||null!==h&&!h(t)||t instanceof Zo))if(e.add(t),t instanceof as){if(i&&t instanceof Fe)for(var v=t.memberParts;v.next();)Zd(e,v.value,i,r,c,h);if(!1!==c)for(v=t.linksConnected;v.next();){var W=v.value;if(!e.contains(W)){var X=W.fromNode,Z=W.toNode;X=null===X||e.contains(X),Z=null===Z||e.contains(Z),(c?X&&Z:X||Z)&&Zd(e,W,i,r,c,h)}}if(1<r)for(t=t.$u();t.next();)Zd(e,t.value,i,r-1,c,h)}else if(t instanceof Zt)for(t=t.labelNodes;t.next();)Zd(e,t.value,i,r,c,h)}Bu.className="StreamGeometryContext",Bl("Rectangle",function(e,t,i){return(e=new so(Jr)).startX=0,e.startY=0,e.endX=t,e.endY=i,e}),Bl("Square",function(e,t,i){return(e=new so(Jr)).startX=0,e.startY=0,e.endX=t,e.endY=i,e.defaultStretch=Mo,e}),Bl("RoundedRectangle",function(e,t,i){var r=e?e.parameter1:NaN;return(isNaN(r)||0>=r)&&(r=5),r=Math.min(r,t/3),e=(r=Math.min(r,i/3))*Yn.xg,t=(new so).add(new Ta(r,0,!0).add(new Ao(Lr,t-r,0)).add(new Ao(Ia,t,r,t-e,0,t,e)).add(new Ao(Lr,t,i-r)).add(new Ao(Ia,t-r,i,t,i-e,t-e,i)).add(new Ao(Lr,r,i)).add(new Ao(Ia,0,i-r,e,i,0,i-e)).add(new Ao(Lr,0,r)).add(new Ao(Ia,r,0,0,e,e,0).close())),1<e&&(t.spot1=new Si(0,0,e,e),t.spot2=new Si(1,1,-e,-e)),t}),Bl("Border","RoundedRectangle"),Bl("Ellipse",function(e,t,i){return(e=new so(p0)).startX=0,e.startY=0,e.endX=t,e.endY=i,e.spot1=Ei,e.spot2=fi,e}),Bl("Circle",function(e,t,i){return(e=new so(p0)).startX=0,e.startY=0,e.endX=t,e.endY=i,e.spot1=Ei,e.spot2=fi,e.defaultStretch=Mo,e}),Bl("TriangleRight",function(e,t,i){return(new so).add(new Ta(0,0).add(new Ao(Lr,t,.5*i)).add(new Ao(Lr,0,i).close())).xm(0,.25,.5,.75)}),Bl("TriangleDown",function(e,t,i){return(new so).add(new Ta(0,0).add(new Ao(Lr,t,0)).add(new Ao(Lr,.5*t,i).close())).xm(.25,0,.75,.5)}),Bl("TriangleLeft",function(e,t,i){return(new so).add(new Ta(t,i).add(new Ao(Lr,0,.5*i)).add(new Ao(Lr,t,0).close())).xm(.5,.25,1,.75)}),Bl("TriangleUp",function(e,t,i){return(new so).add(new Ta(t,i).add(new Ao(Lr,0,i)).add(new Ao(Lr,.5*t,0).close())).xm(.25,.5,.75,1)}),Bl("Triangle","TriangleUp"),Bl("Diamond",function(e,t,i){return(new so).add(new Ta(.5*t,0).add(new Ao(Lr,0,.5*i)).add(new Ao(Lr,.5*t,i)).add(new Ao(Lr,t,.5*i).close())).xm(.25,.25,.75,.75)}),Bl("LineH",function(e,t,i){return(e=new so(Wa)).startX=0,e.startY=i/2,e.endX=t,e.endY=i/2,e}),Bl("LineV",function(e,t,i){return(e=new so(Wa)).startX=t/2,e.startY=0,e.endX=t/2,e.endY=i,e}),Bl("None","Rectangle"),Bl("BarH","Rectangle"),Bl("BarV","Rectangle"),Bl("MinusLine","LineH"),Bl("PlusLine",function(e,t,i){return(new so).add(new Ta(0,i/2,!1).add(new Ao(Lr,t,i/2)).add(new Ao(ma,t/2,0)).add(new Ao(Lr,t/2,i)))}),Bl("XLine",function(e,t,i){return(new so).add(new Ta(0,i,!1).add(new Ao(Lr,t,0)).add(new Ao(ma,0,0)).add(new Ao(Lr,t,i)))}),Yn.Bm={"":"",Standard:"F1 m 0,0 l 8,4 -8,4 2,-4 z",Backward:"F1 m 8,0 l -2,4 2,4 -8,-4 z",Triangle:"F1 m 0,0 l 8,4.62 -8,4.62 z",BackwardTriangle:"F1 m 8,4 l 0,4 -8,-4 8,-4 0,4 z",Boomerang:"F1 m 0,0 l 8,4 -8,4 4,-4 -4,-4 z",BackwardBoomerang:"F1 m 8,0 l -8,4 8,4 -4,-4 4,-4 z",SidewaysV:"m 0,0 l 8,4 -8,4 0,-1 6,-3 -6,-3 0,-1 z",BackwardV:"m 8,0 l -8,4 8,4 0,-1 -6,-3 6,-3 0,-1 z",OpenTriangle:"m 0,0 l 8,4 -8,4",BackwardOpenTriangle:"m 8,0 l -8,4 8,4",OpenTriangleLine:"m 0,0 l 8,4 -8,4 m 8.5,0 l 0,-8",BackwardOpenTriangleLine:"m 8,0 l  -8,4 8,4 m -8.5,0 l 0,-8",OpenTriangleTop:"m 0,0 l 8,4 m 0,4",BackwardOpenTriangleTop:"m 8,0 l -8,4 m 0,4",OpenTriangleBottom:"m 0,8 l 8,-4",BackwardOpenTriangleBottom:"m 0,4 l 8,4",HalfTriangleTop:"F1 m 0,0 l 0,4 8,0 z m 0,8",BackwardHalfTriangleTop:"F1 m 8,0 l 0,4 -8,0 z m 0,8",HalfTriangleBottom:"F1 m 0,4 l 0,4 8,-4 z",BackwardHalfTriangleBottom:"F1 m 8,4 l 0,4 -8,-4 z",ForwardSemiCircle:"m 4,0 b 270 180 0 4 4",BackwardSemiCircle:"m 4,8 b 90 180 0 -4 4",Feather:"m 0,0 l 3,4 -3,4",BackwardFeather:"m 3,0 l -3,4 3,4",DoubleFeathers:"m 0,0 l 3,4 -3,4 m 3,-8 l 3,4 -3,4",BackwardDoubleFeathers:"m 3,0 l -3,4 3,4 m 3,-8 l -3,4 3,4",TripleFeathers:"m 0,0 l 3,4 -3,4 m 3,-8 l 3,4 -3,4 m 3,-8 l 3,4 -3,4",BackwardTripleFeathers:"m 3,0 l -3,4 3,4 m 3,-8 l -3,4 3,4 m 3,-8 l -3,4 3,4",ForwardSlash:"m 0,8 l 5,-8",BackSlash:"m 0,0 l 5,8",DoubleForwardSlash:"m 0,8 l 4,-8 m -2,8 l 4,-8",DoubleBackSlash:"m 0,0 l 4,8 m -2,-8 l 4,8",TripleForwardSlash:"m 0,8 l 4,-8 m -2,8 l 4,-8 m -2,8 l 4,-8",TripleBackSlash:"m 0,0 l 4,8 m -2,-8 l 4,8 m -2,-8 l 4,8",Fork:"m 0,4 l 8,0 m -8,0 l 8,-4 m -8,4 l 8,4",BackwardFork:"m 8,4 l -8,0 m 8,0 l -8,-4 m 8,4 l -8,4",LineFork:"m 0,0 l 0,8 m 0,-4 l 8,0 m -8,0 l 8,-4 m -8,4 l 8,4",BackwardLineFork:"m 8,4 l -8,0 m 8,0 l -8,-4 m 8,4 l -8,4 m 8,-8 l 0,8",CircleFork:"F1 m 6,4 b 0 360 -3 0 3 z m 0,0 l 6,0 m -6,0 l 6,-4 m -6,4 l 6,4",BackwardCircleFork:"F1 m 0,4 l 6,0 m -6,-4 l 6,4 m -6,4 l 6,-4 m 6,0 b 0 360 -3 0 3",CircleLineFork:"F1 m 6,4 b 0 360 -3 0 3 z m 1,-4 l 0,8 m 0,-4 l 6,0 m -6,0 l 6,-4 m -6,4 l 6,4",BackwardCircleLineFork:"F1 m 0,4 l 6,0 m -6,-4 l 6,4 m -6,4 l 6,-4 m 0,-4 l 0,8 m 7,-4 b 0 360 -3 0 3",Circle:"F1 m 8,4 b 0 360 -4 0 4 z",Block:"F1 m 0,0 l 0,8 8,0 0,-8 z",StretchedDiamond:"F1 m 0,3 l 5,-3 5,3 -5,3 -5,-3 z",Diamond:"F1 m 0,4 l 4,-4 4,4 -4,4 -4,-4 z",Chevron:"F1 m 0,0 l 5,0 3,4 -3,4 -5,0 3,-4 -3,-4 z",StretchedChevron:"F1 m 0,0 l 8,0 3,4 -3,4 -8,0 3,-4 -3,-4 z",NormalArrow:"F1 m 0,2 l 4,0 0,-2 4,4 -4,4 0,-2 -4,0 z",X:"m 0,0 l 8,8 m 0,-8 l -8,8",TailedNormalArrow:"F1 m 0,0 l 2,0 1,2 3,0 0,-2 2,4 -2,4 0,-2 -3,0 -1,2 -2,0 1,-4 -1,-4 z",DoubleTriangle:"F1 m 0,0 l 4,4 -4,4 0,-8 z  m 4,0 l 4,4 -4,4 0,-8 z",BigEndArrow:"F1 m 0,0 l 5,2 0,-2 3,4 -3,4 0,-2 -5,2 0,-8 z",ConcaveTailArrow:"F1 m 0,2 h 4 v -2 l 4,4 -4,4 v -2 h -4 l 2,-2 -2,-2 z",RoundedTriangle:"F1 m 0,1 a 1,1 0 0 1 1,-1 l 7,3 a 0.5,1 0 0 1 0,2 l -7,3 a 1,1 0 0 1 -1,-1 l 0,-6 z",SimpleArrow:"F1 m 1,2 l -1,-2 2,0 1,2 -1,2 -2,0 1,-2 5,0 0,-2 2,2 -2,2 0,-2 z",AccelerationArrow:"F1 m 0,0 l 0,8 0.2,0 0,-8 -0.2,0 z m 2,0 l 0,8 1,0 0,-8 -1,0 z m 3,0 l 2,0 2,4 -2,4 -2,0 0,-8 z",BoxArrow:"F1 m 0,0 l 4,0 0,2 2,0 0,-2 2,4 -2,4 0,-2 -2,0 0,2 -4,0 0,-8 z",TriangleLine:"F1 m 8,4 l -8,-4 0,8 8,-4 z m 0.5,4 l 0,-8",CircleEndedArrow:"F1 m 10,4 l -2,-3 0,2 -2,0 0,2 2,0 0,2 2,-3 z m -4,0 b 0 360 -3 0 3 z",DynamicWidthArrow:"F1 m 0,3 l 2,0 2,-1 2,-2 2,4 -2,4 -2,-2 -2,-1 -2,0 0,-2 z",EquilibriumArrow:"m 0,3 l 8,0 -3,-3 m 3,5 l -8,0 3,3",FastForward:"F1 m 0,0 l 3.5,4 0,-4 3.5,4 0,-4 1,0 0,8 -1,0 0,-4 -3.5,4 0,-4 -3.5,4 0,-8 z",Kite:"F1 m 0,4 l 2,-4 6,4 -6,4 -2,-4 z",HalfArrowTop:"F1 m 0,0 l 4,4 4,0 -8,-4 z m 0,8",HalfArrowBottom:"F1 m 0,8 l 4,-4 4,0 -8,4 z",OpposingDirectionDoubleArrow:"F1 m 0,4 l 2,-4 0,2 4,0 0,-2 2,4 -2,4 0,-2 -4,0 0,2 -2,-4 z",PartialDoubleTriangle:"F1 m 0,0 4,3 0,-3 4,4 -4,4 0,-3 -4,3 0,-8 z",LineCircle:"F1 m 0,0 l 0,8 m 7 -4 b 0 360 -3 0 3 z",DoubleLineCircle:"F1 m 0,0 l 0,8 m 2,-8 l 0,8 m 7 -4 b 0 360 -3 0 3 z",TripleLineCircle:"F1 m 0,0 l 0,8 m 2,-8 l 0,8 m 2,-8 l 0,8 m 7 -4 b 0 360 -3 0 3 z",CircleLine:"F1 m 6 4 b 0 360 -3 0 3 z m 1,-4 l 0,8",DiamondCircle:"F1 m 8,4 l -4,4 -4,-4 4,-4 4,4 m 8,0 b 0 360 -4 0 4 z",PlusCircle:"F1 m 8,4 b 0 360 -4 0 4 l -8 0 z m -4 -4 l 0 8",OpenRightTriangleTop:"m 8,0 l 0,4 -8,0 m 0,4",OpenRightTriangleBottom:"m 8,8 l 0,-4 -8,0",Line:"m 0,0 l 0,8",DoubleLine:"m 0,0 l 0,8 m 2,0 l 0,-8",TripleLine:"m 0,0 l 0,8 m 2,0 l 0,-8 m 2,0 l 0,8",PentagonArrow:"F1 m 8,4 l -4,-4 -4,0 0,8 4,0 4,-4 z"},y(Os,Vi),Os.prototype.cloneProtected=function(e){Vi.prototype.cloneProtected.call(this,e),e.D=-4097&this.D|49152,e.yf=this.yf,e.Rg=this.Rg,e.ao=this.ao,e.hp=this.hp,e.To=this.To,e.Wo=this.Wo,e.jp=this.jp,e.ip=this.ip,e.Nn=this.Nn,e.wf=null,e.Vo=this.Vo,e.Uo=this.Uo.I(),e.Xo=this.Xo,e.Yo=this.Yo.I(),e.Pb=this.Pb,e.$m=this.$m,e.Of.assign(this.Of),e.io=this.io,e.jo=this.jo.I(),e.ro=this.ro.I(),e.ko=this.ko.I(),e.wn=this.wn,e.bo=this.bo,e.si=this.si.I(),e.Ij=this.Ij,e.Od=this.Od,e.Ip=this.Ip},Os.prototype.mf=function(e){Vi.prototype.mf.call(this,e),e.yh(),e.dh=null,e.Ve=null,e.vj=null},Os.prototype.toString=function(){var e=Q(this.constructor)+"#"+Je(this);return null!==this.data&&(e+="("+le(this.data)+")"),e},Os.prototype.nk=function(e,t,i,r,c,h,v){var W=this.diagram;null!==W&&(e===yr&&"elements"===t?c instanceof Vi?Jd(c,function(X){Zm(W.partManager,X),C0(W,X)}):S(W,c):e===kr&&"elements"===t&&(c instanceof Vi?Jd(c,function(X){e_(W.partManager,X),G(W,X)}):se(W,c)),W.ab(e,t,i,r,c,h,v))},Os.prototype.Ea=function(e){if(Vi.prototype.Ea.call(this,e),null!==this.data)for(var t=(e=this.Y.j).length,i=0;i<t;i++){var r=e[i];r instanceof Vi&&Jd(r,function(c){null!==c.data&&c.Ea()})}},Os.prototype.updateRelationshipsFromData=function(){null!==this.data&&this.diagram.partManager.updateRelationshipsFromData(this)},Os.prototype.$j=function(e){var t=this.wf;return null===t?null:t.J(e)},Os.prototype.qh=function(e,t){if(null!==t){var i=null,r=this.wf;if(null!==r&&(i=r.J(e)),i!==t){if(null!==i){var c=i.diagram;null!==c&&c.remove(i)}null===r&&(this.wf=r=new Kt),t.yf!==e&&(t.category=e),r.add(e,t),null!==(e=this.diagram)&&(e.add(t),null!==(e=t.adornedObject)&&null!==(e=e.Gi())&&(t.data=e.data))}}},Os.prototype.tf=function(e){var t=this.wf;if(null!==t){var i=t.J(e);if(null!==i){var r=i.diagram;null!==r&&r.remove(i)}t.remove(e),0===t.count&&(this.wf=null)}},Os.prototype.Sj=function(){var e=this.wf;if(null!==e){var t=ie();for(e=e.iterator;e.next();)t.push(e.key);e=t.length;for(var i=0;i<e;i++)this.tf(t[i]);ne(t)}},Os.prototype.updateAdornments=function(){var e=this.diagram;if(null!==e){for(var t=this.adornments;t.next();){var i=t.value;i.s(),i.placeholder&&i.placeholder.s()}e:{if(this.isSelected&&this.selectionAdorned&&null!==(t=this.selectionObject)&&this.actualBounds.o()&&this.isVisible()&&t.rf()&&t.actualBounds.o()){if(null===(i=this.$j("Selection"))){if(null===(i=this.selectionAdornmentTemplate)&&(i=this.zh()?e.linkSelectionAdornmentTemplate:this instanceof Fe?e.groupSelectionAdornmentTemplate:e.nodeSelectionAdornmentTemplate),!(i instanceof Zo))break e;d1(i),null!==(i=i.copy())&&(this.zh()&&this.selectionObject===this.path&&(i.type=Vi.Link),i.adornedObject=t)}if(null!==i){if(null!==i.placeholder){var r=t.Ce(),c=0;t instanceof io&&(c=t.strokeWidth);var h=Ue.alloc();h.h((t.naturalBounds.width+c)*r,(t.naturalBounds.height+c)*r),Ue.free(h)}i.type===Vi.Link?i.s():(t=Ze.alloc(),Ze.free(t)),this.qh("Selection",i);break e}}this.tf("Selection")}for(function fh(e,t){t.toolManager.mouseDownTools.each(function(i){i.isEnabled&&i.updateAdornments(e)}),t.toolManager.updateAdornments(e)}(this,e),t=this.adornments;t.next();)t.value.Ea()}},Os.prototype.Jb=function(){var e=this.diagram;null!==e&&(ot(e),!(16384&this.D)&&(qh(this,!0),e.cc()))},Os.prototype.move=function(e,t){!0===t?this.location=e:this.position=e},Os.prototype.moveTo=function(e,t,i){e=Ze.allocAt(e,t),this.move(e,i),Ze.free(e)},Os.prototype.isVisible=function(){if(!this.visible)return!1;var e=this.layer;return!(null!==e&&!e.visible||(null===(e=this.diagram)||!jr(e.animationManager,this))&&!(null===(e=this.containingGroup)||e.isSubGraphExpanded&&e.isVisible()))},(N=Os.prototype).Mb=function(e){var t=this.diagram;e?(this.B(4),this.Jb(),null!==t&&t.Dd.add(this)):(this.B(8),this.Sj()),this.yh(),null!==t&&(t.Xa(),t.R())},N.$a=function(e){if(this.name===e)return this;var t=this.vj;if(null===t&&(this.vj=t=new Kt),null!==t.J(e))return t.J(e);var i=Vi.prototype.$a.call(this,e);return null!==i?(t.set(e,i),i):(t.set(e,null),null)},N.nf=function(e,t,i){void 0===i&&(i=new Ze),t=t.jc()?Jt:t;var r=e.naturalBounds;if(i.h(r.width*t.x+t.offsetX,r.height*t.y+t.offsetY),null===e||e===this)return i;for(e.transform.ta(i),e=e.panel;null!==e&&e!==this;)e.transform.ta(i),e=e.panel;return this.Nf.ta(i),i.offset(-this.pc.x,-this.pc.y),i},N.Vp=function(e){return void 0===e&&(e=new sn),e.assign(this.actualBounds)},N.ac=function(){!0===ic(this)&&(this instanceof Fe&&this.memberParts.each(function(e){e.ac()}),this.measure(1/0,1/0)),this.arrange()},Os.prototype.arrange=function(){if(!1===I1(this))$f(this);else{var e=this.vb,t=sn.alloc();t.assign(e),e.ha();var i=ku(this);this.th(0,0,this.pc.width,this.pc.height);var r=this.position;mh(this,r,this.location),e.x=r.x,e.y=r.y,e.freeze(),this.lt(t,e),uu(this,!1),t.A(e)?this.hd(i):!this.Lb()||Yn.w(t.width,e.width)&&Yn.w(t.height,e.height)||0<=this.Bw&&this.B(16),sn.free(t),Zu(this,!1)}},(N=Os.prototype).lt=function(e,t){var i=this.diagram;if(null!==i){var r=!1;if(!1===i.Og&&e.o()){var c=sn.alloc();c.assign(i.documentBounds),c.Ov(i.padding),e.x>c.x&&e.y>c.y&&e.right<c.right&&e.bottom<c.bottom&&t.x>c.x&&t.y>c.y&&t.right<c.right&&t.bottom<c.bottom&&(r=!0),sn.free(c)}!(65536&this.D)&&e.A(t)||bd(this,r,i),i.R(),Tn(e,t)||(this instanceof as&&!i.undoManager.isUndoingRedoing&&this.ed(),this.yh())}},N.Kv=function(e,t){if(this.zh()||!e.o())return!1;var i=this.diagram;if(null!==i&&(gd(this,i,e,t),!0===i.undoManager.isUndoingRedoing))return!0;if(this.sa=e,this.D&=-2097153,(i=this.Of).o()){var r=i.copy();i.h(i.x+(e.x-t.x),i.y+(e.y-t.y)),this.g("location",r,i)}return!1===su(this)&&!1===I1(this)&&(Gp(this),$f(this)),!0},N.wt=function(e,t){var i=this.Of,r=this.sa;su(this)||I1(this)?i.h(NaN,NaN):i.h(i.x+e-r.x,i.y+t-r.y),r.h(e,t),Gp(this)},N.Lv=function(){this.D&=-2097153,Gp(this)},N.Pi=function(){return!0},N.Lb=function(){return!0},N.zh=function(){return!1},N.sg=function(){return!0},Os.prototype.canCopy=function(){if(!this.copyable)return!1;var e=this.layer;return null===e||!!e.allowCopy&&(null===(e=e.diagram)||!!e.allowCopy)},Os.prototype.canDelete=function(){if(!this.deletable)return!1;var e=this.layer;return null===e||!!e.allowDelete&&(null===(e=e.diagram)||!!e.allowDelete)},Os.prototype.canEdit=function(){if(!this.textEditable)return!1;var e=this.layer;return null===e||!!e.allowTextEdit&&(null===(e=e.diagram)||!!e.allowTextEdit)},Os.prototype.canGroup=function(){if(!this.groupable)return!1;var e=this.layer;return null===e||!!e.allowGroup&&(null===(e=e.diagram)||!!e.allowGroup)},Os.prototype.canMove=function(){if(!this.movable)return!1;var e=this.layer;return null===e||!!e.allowMove&&(null===(e=e.diagram)||!!e.allowMove)},Os.prototype.canReshape=function(){if(!this.reshapable)return!1;var e=this.layer;return null===e||!!e.allowReshape&&(null===(e=e.diagram)||!!e.allowReshape)},Os.prototype.canResize=function(){if(!this.resizable)return!1;var e=this.layer;return null===e||!!e.allowResize&&(null===(e=e.diagram)||!!e.allowResize)},Os.prototype.canRotate=function(){if(!this.rotatable)return!1;var e=this.layer;return null===e||!!e.allowRotate&&(null===(e=e.diagram)||!!e.allowRotate)},Os.prototype.canSelect=function(){if(!this.selectable)return!1;var e=this.layer;return null===e||!!e.allowSelect&&(null===(e=e.diagram)||!!e.allowSelect)},(N=Os.prototype).hd=function(e){this.D=e?131072|this.D:-131073&this.D},N.yh=function(){var e=this.containingGroup;null!==e&&(e.s(),null!==e.placeholder&&e.placeholder.s(),e.ed())},N.R=function(){var e=this.diagram;null!==e&&!I1(this)&&!su(this)&&this.isVisible()&&this.vb.o()&&e.R(_d(this,this.vb))},N.s=function(){Vi.prototype.s.call(this);var e=this.diagram;null!==e&&(e.Dd.add(this),this instanceof as&&null!==this.labeledLink&&tl(this.labeledLink),e.cc(!0))},N.Yp=function(e){e||null!==(e=this.Rh)&&St(e,this)},N.Zp=function(e){e||null!==(e=this.Rh)&&zt(e,this)},N.Yj=function(){var e=this.data;if(null!==e){var t=this.diagram;null!==t&&null!==(t=t.model)&&t.om(e)}},N.Sy=function(){return vp(this,this)},N.Vy=function(){return bh(this,this)},N.Vd=function(e){return e instanceof Fe&&Mc(this,this,e)},N.hx=function(e){if(null===e)return null;if(this===e)return this.containingGroup;for(var t=this;null!==t;){if(t instanceof Fe&&gh(t,!0),t instanceof as){var i=t.labeledLink;null!==i&&(t=i)}t=t.containingGroup}for(i=null,t=e;null!==t;){if(1048576&t.D){i=t;break}t instanceof as&&null!==(e=t.labeledLink)&&(t=e),t=t.containingGroup}for(t=this;null!==t;)t instanceof Fe&&gh(t,!1),t instanceof as&&null!==(e=t.labeledLink)&&(t=e),t=t.containingGroup;return i},Os.prototype.canLayout=function(){if(!this.isLayoutPositioned||!this.isVisible())return!1;var e=this.layer;return!(null!==e&&e.isTemporary||this instanceof as&&this.isLinkLabel)},Os.prototype.B=function(e){if(void 0===e&&(e=16777215),this.isLayoutPositioned&&e&this.layoutConditions){var t=this.layer;t=!(null!==t&&t.isTemporary||this instanceof as&&this.isLinkLabel)&&!(null!==(t=this.diagram)&&t.undoManager.isUndoingRedoing)}else t=!1;if(t)if(null!==(t=this.Rh)){var i=t.layout;null!==i?i.B():t.B(e)}else null!==(e=this.diagram)&&null!==(e=e.layout)&&e.B()},I.Object.defineProperties(Os.prototype,{key:{get:function(){var e=this.diagram;if(null!==e)return e.model.pa(this.data)}},adornments:{get:function(){return null===this.wf?Ct:this.wf.iteratorValues}},layer:{get:function(){return this.fi}},diagram:{get:function(){var e=this.fi;return null!==e?e.diagram:null}},layerName:{get:function(){return this.Rg},set:function(e){var t=this.Rg;if(t!==e){var i=this.diagram;if((null===i||null!==i.Zl(e)&&!i.partManager.addsToTemporaryLayer)&&(this.Rg=e,null!==i&&i.Xa(),this.g("layerName",t,e),null!==(t=this.layer)&&t.name!==e&&null!==(i=t.diagram)&&null!==(e=i.Zl(e))&&e!==t)){var r=t.xc(-1,this,!0);if(0<=r&&i.ab(kr,"parts",t,this,null,r,!0),r=e.Ni(99999999,this,!0),t.visible!==e.visible&&this.Mb(e.visible),0<=r&&i.ab(yr,"parts",e,null,this,!0,r),null!==(r=this.layerChanged)){var c=i.da;i.da=!0,r(this,t,e),i.da=c}}}}},layerChanged:{get:function(){return this.ao},set:function(e){var t=this.ao;t!==e&&(this.ao=e,this.g("layerChanged",t,e))}},zOrder:{get:function(){return this.Ip},set:function(e){var t=this.Ip;if(t!==e){this.Ip=e;var i=this.layer;null!==i&&c1(i,-1,this),this.g("zOrder",t,e),null!==(e=this.diagram)&&e.R()}}},locationObject:{get:function(){if(null===this.Ve){var e=this.locationObjectName;""!==e?(e=this.$a(e),this.Ve=null!==e?e:this):this.Ve=this instanceof Zo&&this.type!==Vi.Link&&null!==this.placeholder?this.placeholder:this}return this.Ve.visible?this.Ve:this}},minLocation:{get:function(){return this.ro},set:function(e){var t=this.ro;t.A(e)||(this.ro=e=e.I(),this.g("minLocation",t,e))}},maxLocation:{get:function(){return this.ko},set:function(e){var t=this.ko;t.A(e)||(this.ko=e=e.I(),this.g("maxLocation",t,e))}},locationObjectName:{get:function(){return this.io},set:function(e){var t=this.io;t!==e&&(this.io=e,this.Ve=null,this.s(),this.g("locationObjectName",t,e))}},locationSpot:{get:function(){return this.jo},set:function(e){var t=this.jo;t.A(e)||(this.jo=e=e.I(),this.s(),this.g("locationSpot",t,e))}},location:{get:function(){return this.Of},set:function(e){var t=e.x,i=e.y,r=this.Of,c=r.x,h=r.y;(c===t||isNaN(c)&&isNaN(t))&&(h===i||isNaN(h)&&isNaN(i))||(t=e=e.I(),this.zh()?t=!1:(this.Of=t,this.D|=2097152,!1===I1(this)&&(Gp(this),(i=this.sa).o()&&(c=i.copy(),i.h(i.x+(t.x-r.x),i.y+(t.y-r.y)),gd(this,this.diagram,i,c),this.g("position",c,i))),t=!0),t&&this.g("location",r,e))}},category:{get:function(){return this.yf},set:function(e){var t=this.yf;if(t!==e){var i=this.diagram,r=this.data,c=null;if(null!==i&&null!==r&&!(this instanceof Zo)){var h=i.model.undoManager;h.isEnabled&&!h.isUndoingRedoing&&(c=this.clone()).Y.addAll(this.Y)}this.yf=e,this.g("category",t,e),null===i||null===r||this instanceof Zo?this instanceof Zo&&null!==(c=this.adornedPart)&&(null!==(e=c.wf)&&e.remove(t),c.qh(this.category,this)):(h=i.model).undoManager.isUndoingRedoing||(this.zh()?(i.partManager.setLinkCategoryForData(r,e),null!==(i=i.partManager.findLinkTemplateForCategory(e))&&(d1(i),null!==(i=i.copy())&&qp(this,i,t,e))):(null!==h&&h.pq(r,e),null!==(i=tp(i.partManager,r,e))&&(d1(i),null===(i=i.copy())||i instanceof Zt||(r=this.location.copy(),qp(this,i,t,e),this.location.o()||(this.location=r)))),null!==c&&((t=this.clone()).Y.addAll(this.Y),this.g("self",c,t)))}}},self:{get:function(){return this},set:function(e){qp(this,e,this.category,e.category)}},copyable:{get:function(){return!!(1&this.D)},set:function(e){var t=!!(1&this.D);t!==e&&(this.D^=1,this.g("copyable",t,e))}},deletable:{get:function(){return!!(2&this.D)},set:function(e){var t=!!(2&this.D);t!==e&&(this.D^=2,this.g("deletable",t,e))}},textEditable:{get:function(){return!!(4&this.D)},set:function(e){var t=!!(4&this.D);t!==e&&(this.D^=4,this.g("textEditable",t,e),this.Jb())}},groupable:{get:function(){return!!(8&this.D)},set:function(e){var t=!!(8&this.D);t!==e&&(this.D^=8,this.g("groupable",t,e))}},movable:{get:function(){return!!(16&this.D)},set:function(e){var t=!!(16&this.D);t!==e&&(this.D^=16,this.g("movable",t,e))}},selectionAdorned:{get:function(){return!!(32&this.D)},set:function(e){var t=!!(32&this.D);t!==e&&(this.D^=32,this.g("selectionAdorned",t,e),this.Jb())}},isInDocumentBounds:{get:function(){return!!(64&this.D)},set:function(e){var t=!!(64&this.D);if(t!==e){this.D^=64;var i=this.diagram;null!==i&&i.Xa(),this.g("isInDocumentBounds",t,e)}}},isLayoutPositioned:{get:function(){return!!(128&this.D)},set:function(e){var t=!!(128&this.D);t!==e&&(this.D^=128,this.g("isLayoutPositioned",t,e),this.B(e?4:8))}},selectable:{get:function(){return!!(256&this.D)},set:function(e){var t=!!(256&this.D);t!==e&&(this.D^=256,this.g("selectable",t,e),this.Jb())}},reshapable:{get:function(){return!!(512&this.D)},set:function(e){var t=!!(512&this.D);t!==e&&(this.D^=512,this.g("reshapable",t,e),this.Jb())}},resizable:{get:function(){return!!(1024&this.D)},set:function(e){var t=!!(1024&this.D);t!==e&&(this.D^=1024,this.g("resizable",t,e),this.Jb())}},rotatable:{get:function(){return!!(2048&this.D)},set:function(e){var t=!!(2048&this.D);t!==e&&(this.D^=2048,this.g("rotatable",t,e),this.Jb())}},isSelected:{get:function(){return!!(4096&this.D)},set:function(e){var t=!!(4096&this.D);if(t!==e){var i=this.diagram;if(!e||this.canSelect()&&!(null!==i&&i.selection.count>=i.maxSelectionCount)){this.D^=4096;var r=!1;if(null!==i){r=i.skipsUndoManager,i.skipsUndoManager=!0;var c=i.selection;c.ha(),e?c.add(this):c.remove(this),c.freeze()}this.g("isSelected",t,e),this.Jb(),null!==(e=this.selectionChanged)&&e(this),null!==i&&(i.cc(),i.skipsUndoManager=r)}}}},isHighlighted:{get:function(){return!!(524288&this.D)},set:function(e){var t=!!(524288&this.D);if(t!==e){this.D^=524288;var i=this.diagram;null!==i&&((i=i.highlighteds).ha(),e?i.add(this):i.remove(this),i.freeze()),this.g("isHighlighted",t,e),this.R(),null!==(e=this.highlightedChanged)&&e(this)}}},isShadowed:{get:function(){return!!(8192&this.D)},set:function(e){var t=!!(8192&this.D);t!==e&&(this.D^=8192,this.g("isShadowed",t,e),this.R())}},isAnimated:{get:function(){return!!(262144&this.D)},set:function(e){var t=!!(262144&this.D);t!==e&&(this.D^=262144,this.g("isAnimated",t,e))}},highlightedChanged:{get:function(){return this.Nn},set:function(e){var t=this.Nn;t!==e&&(this.Nn=e,this.g("highlightedChanged",t,e))}},selectionObjectName:{get:function(){return this.jp},set:function(e){var t=this.jp;t!==e&&(this.jp=e,this.dh=null,this.g("selectionObjectName",t,e))}},selectionAdornmentTemplate:{get:function(){return this.hp},set:function(e){var t=this.hp;t!==e&&(this.hp=e,this.g("selectionAdornmentTemplate",t,e))}},selectionObject:{get:function(){if(null===this.dh){var e=this.selectionObjectName;null!==e&&""!==e?(e=this.$a(e),this.dh=null!==e?e:this):this.dh=this instanceof Zt&&null!==(e=this.path)?e:this}return this.dh}},selectionChanged:{get:function(){return this.ip},set:function(e){var t=this.ip;t!==e&&(this.ip=e,this.g("selectionChanged",t,e))}},resizeAdornmentTemplate:{get:function(){return this.To},set:function(e){var t=this.To;t!==e&&(this.To=e,this.g("resizeAdornmentTemplate",t,e))}},resizeObjectName:{get:function(){return this.Vo},set:function(e){var t=this.Vo;t!==e&&(this.Vo=e,this.g("resizeObjectName",t,e))}},resizeObject:{get:function(){var e=this.resizeObjectName;return""!==e&&null!==(e=this.$a(e))?e:this}},resizeCellSize:{get:function(){return this.Uo},set:function(e){var t=this.Uo;t.A(e)||(this.Uo=e=e.I(),this.g("resizeCellSize",t,e))}},rotateAdornmentTemplate:{get:function(){return this.Wo},set:function(e){var t=this.Wo;t!==e&&(this.Wo=e,this.g("rotateAdornmentTemplate",t,e))}},rotateObjectName:{get:function(){return this.Xo},set:function(e){var t=this.Xo;t!==e&&(this.Xo=e,this.g("rotateObjectName",t,e))}},rotateObject:{get:function(){var e=this.rotateObjectName;return""!==e&&null!==(e=this.$a(e))?e:this}},rotationSpot:{get:function(){return this.Yo},set:function(e){var t=this.Yo;t.A(e)||(this.Yo=e=e.I(),this.g("rotationSpot",t,e))}},text:{get:function(){return this.Pb},set:function(e){var t=this.Pb;t!==e&&(this.Pb=e,this.g("text",t,e))}},containingGroup:{get:function(){return this.Rh},set:function(e){if(this.Lb()){var t=this.Rh;if(t!==e){null===e||this!==e&&!e.Vd(this)||(this===e&&z("Cannot make a Group a member of itself: "+this.toString()),z("Cannot make a Group indirectly contain itself: "+this.toString()+" already contains "+e.toString())),this.B(2);var i=this.diagram;if(null!==t?zt(t,this):this instanceof Fe&&null!==i&&i.xi.remove(this),this.Rh=e,null!==e?St(e,this):this instanceof Fe&&null!==i&&i.xi.add(this),this.B(1),null!==i){var r=this.data,c=i.model;if(null!==r&&c.dk()){var h=c.pa(null!==e?e.data:null);c.ut(r,h)}}if(null!==(r=this.containingGroupChanged)&&(c=!0,null!==i&&(c=i.da,i.da=!0),r(this,t,e),null!==i&&(i.da=c)),this instanceof Fe)for(Zd(i=new Se,this,!0,0,!0),i=i.iterator;i.next();)if((r=i.value)instanceof as)for(r=r.linksConnected;r.next();)Mi(r.value);if(this instanceof as){for(i=this.linksConnected;i.next();)Mi(i.value);null!==(i=this.labeledLink)&&Mi(i)}this.g("containingGroup",t,e),null!==e&&null!==(t=e.layer)&&c1(t,-1,e)}}else z("cannot set the Part.containingGroup of a Link or Adornment")}},containingGroupChanged:{get:function(){return this.$m},set:function(e){var t=this.$m;t!==e&&(this.$m=e,this.g("containingGroupChanged",t,e))}},isTopLevel:{get:function(){return!(null!==this.containingGroup||this instanceof as&&null!==this.labeledLink)}},layoutConditions:{get:function(){return this.bo},set:function(e){var t=this.bo;t!==e&&(this.bo=e,this.g("layoutConditions",t,e))}},dragComputation:{get:function(){return this.wn},set:function(e){var t=this.wn;t!==e&&(this.wn=e,this.g("dragComputation",t,e))}},shadowOffset:{get:function(){return this.si},set:function(e){var t=this.si;t.A(e)||(this.si=e=e.I(),this.R(),this.g("shadowOffset",t,e))}},shadowColor:{get:function(){return this.Ij},set:function(e){var t=this.Ij;t!==e&&(this.Ij=e,this.R(),this.g("shadowColor",t,e))}},shadowBlur:{get:function(){return this.Od},set:function(e){var t=this.Od;t!==e&&(this.Od=e,this.R(),this.g("shadowBlur",t,e))}}}),Os.prototype.invalidateLayout=Os.prototype.B,Os.prototype.findCommonContainingGroup=Os.prototype.hx,Os.prototype.isMemberOf=Os.prototype.Vd,Os.prototype.findTopLevelPart=Os.prototype.Vy,Os.prototype.findSubGraphLevel=Os.prototype.Sy,Os.prototype.ensureBounds=Os.prototype.ac,Os.prototype.getDocumentBounds=Os.prototype.Vp,Os.prototype.getRelativePoint=Os.prototype.nf,Os.prototype.findObject=Os.prototype.$a,Os.prototype.moveTo=Os.prototype.moveTo,Os.prototype.invalidateAdornments=Os.prototype.Jb,Os.prototype.clearAdornments=Os.prototype.Sj,Os.prototype.removeAdornment=Os.prototype.tf,Os.prototype.addAdornment=Os.prototype.qh,Os.prototype.findAdornment=Os.prototype.$j,Os.prototype.updateTargetBindings=Os.prototype.Ea;var Mh=!1;function Zo(e){Os.call(this,e),this.D&=-257,this.Rg="Adornment",this.$d=null,this.Ew=0,this.Pw=!1,this.l=[],this.Va=null}function as(e){Os.call(this,e),this.S=13,this.Ya=new gt,this.Cp=this.hl=this.ii=this.eo=this.co=null,this.Ck=hn,this.rc=this.Le=null,this.Qo=ve,this.oh=!1}function Mf(e,t){null!==t&&(null===e.Le&&(e.Le=new Se),e.Le.add(t))}function Vm(e,t,i,r){if(null===t||null===e.Le)return null;for(var c=e.Le.iterator;c.next();){var h=c.value;if(h.jt===e&&h.ov===t&&h.xx===i&&h.yx===r||h.jt===t&&h.ov===e&&h.xx===r&&h.yx===i)return h}return null}function Mm(e,t){for(var i=e.linksConnected;i.next();){var r=i.value;(r.fromPort===t||r.toPort===t)&&(xc(e,r.fromPort),xc(e,r.toPort),r.Ra())}}function xc(e,t){null!==t&&(null!==(t=t.Po)&&t.cm(),null===(e=e.containingGroup)||e.isSubGraphExpanded||xc(e,e.port))}function Ap(e,t,i){xc(e,i);var r=e.Ya.contains(t);if(r||e.Ya.add(t),!r||t.fromNode===t.toNode){var c=e.linkConnected;if(null!==c){var h=!0,v=e.diagram;null!==v&&(h=v.da,v.da=!0),c(e,t,i),null!==v&&(v.da=h)}}!r&&t.isTreeLink&&(i=t.fromNode,t=t.toNode,null!==i&&null!==t&&i!==t&&(r=!0,null!==(e=e.diagram)&&(r=e.isTreePathToChildren),h=r?i:t,(c=r?t:i).oh||(c.oh=h),!h.isTreeLeaf||null!==e&&e.undoManager.isUndoingRedoing||(r?i===h&&(h.isTreeLeaf=!1):t===h&&(h.isTreeLeaf=!1))))}function yp(e,t,i){xc(e,i);var r=e.Ya.remove(t),c=null;if(r||t.toNode===t.fromNode){var h=e.linkDisconnected;if(c=e.diagram,null!==h){var v=!0;null!==c&&(v=c.da,c.da=!0),h(e,t,i),null!==c&&(c.da=v)}}r&&t.isTreeLink&&(i=!0,null!==c&&(i=c.isTreePathToChildren),e=i?t.toNode:t.fromNode,t=i?t.fromNode:t.toNode,null!==e&&(e.oh=!1),null===t||t.isTreeLeaf||(0===t.Ya.count?(t.oh=null,null!==c&&c.undoManager.isUndoingRedoing||(t.isTreeLeaf=!0)):Oh(t)))}function Oh(e){if(e.oh=!1,0!==e.Ya.count){var t=!0,i=e.diagram;if(null===i||!i.undoManager.isUndoingRedoing){for(null!==i&&(t=i.isTreePathToChildren),i=e.Ya.iterator;i.next();){var r=i.value;if(r.isTreeLink)if(t){if(r.fromNode===e)return void(e.isTreeLeaf=!1)}else if(r.toNode===e)return void(e.isTreeLeaf=!1)}e.isTreeLeaf=!0}}}function Hm(e){null===e.rc?e.rc=new Kt:e.rc.clear(),e.ym(e,function(t,i){Om(t,i)}),0===e.rc.count&&e.rc.add("",e)}function Om(e,t){var i=t.portId;null!==i&&null!==e.rc&&e.rc.add(i,t)}function qe(e,t,i){var r=t.portId;if(null!==r&&(null!==e.rc&&e.rc.remove(r),null!==(t=e.diagram)&&i)){for(i=null,e=e.Wu(r);e.next();)r=e.value,null===i&&(i=ie()),i.push(r);if(null!==i){for(e=0;e<i.length;e++)t.remove(i[e]);ne(i)}}}function d(e,t){return null===(t=t.og())?0:1+d(e,t)}function f(e,t,i,r,c,h,v){if(1<r)for(var W=i?e.Sp():e.sd();W.next();){var X=W.value;X.isTreeLink&&(null===(X=X.Xs(e))||X===e||t.contains(X)||(t.add(X),f(X,t,i,r-1,c,h,v)))}else R(e,t,i,c,h,v)}function R(e,t,i,r,c,h){for(var v=c===e||e.isTreeExpanded,W=i?e.Sp():e.sd();W.next();){var X=W.value;if(X.isTreeLink&&null!==(X=X.Xs(e))&&X!==e){var Z=t.contains(X);Z||t.add(X),v&&(h&&r.Jp(X,c),X.yh(),X.Mb(!1)),X.isTreeExpanded&&(X.wasTreeExpanded=X.isTreeExpanded,Z||R(X,t,i,r,c,h))}}e.isTreeExpanded=!1}function J(e,t,i,r,c,h,v){for(var W=h!==e&&e.isTreeExpanded,X=i?e.Sp():e.sd();X.next();){var Z=X.value;Z.isTreeLink&&(W||Z.Lc||Z.Ra(),null!==(Z=Z.Xs(e))&&Z!==e&&!t.contains(Z)&&(t.add(Z),W||(Z.Mb(!0),Z.yh(),v&&c.Kp(Z,h)),2<r||Z.wasTreeExpanded))&&(Z.wasTreeExpanded=!1,J(Z,t,i,r-1,c,h,v))}e.isTreeExpanded=!0}Os.className="Part",Os.LayoutNone=0,Os.LayoutAdded=1,Os.LayoutRemoved=2,Os.LayoutShown=4,Os.LayoutHidden=8,Os.LayoutNodeSized=16,Os.LayoutGroupLayout=32,Os.LayoutNodeReplaced=64,Os.LayoutStandard=127,Os.LayoutAll=16777215,y(Zo,Os),Zo.prototype.toString=function(){var e=this.adornedPart;return"Adornment("+this.category+")"+(null!==e?e.toString():"")},Zo.prototype.updateRelationshipsFromData=function(){},Zo.prototype.gk=function(e){var t=this.adornedObject.part;if(t instanceof Zt&&this.adornedObject instanceof io){var i=t.path;t.gk(e),e=i.geometry,i=(t=this.Y.j).length;for(var r=0;r<i;r++){var c=t[r];c.isPanelMain&&c instanceof io&&(c.qa=e)}}},Zo.prototype.Pi=function(){var e=this.$d;return null===e||null===(e=e.part)||!I1(e)},Zo.prototype.Lb=function(){return!1},Zo.prototype.nk=function(e,t,i,r,c,h,v){if(e===yr&&"elements"===t){if(c instanceof xn)null===this.Va&&(this.Va=c);else if(c instanceof Vi){var W=c.Yl(function(X){return X instanceof xn});W instanceof xn&&null===this.Va&&(this.Va=W)}}else e===kr&&"elements"===t&&null!==this.Va&&(r===this.Va||r instanceof Vi&&this.Va.qg(r))&&(this.Va=null);Os.prototype.nk.call(this,e,t,i,r,c,h,v)},Zo.prototype.updateAdornments=function(){},Zo.prototype.Yj=function(){},I.Object.defineProperties(Zo.prototype,{placeholder:{get:function(){return this.Va}},adornedObject:{get:function(){return this.$d},set:function(e){var t=this.adornedPart,i=null;null!==e&&(i=e.part),null===t||null!==e&&t===i||t.tf(this.category),this.$d=e,null!==i&&i.qh(this.category,this)}},adornedPart:{get:function(){var e=this.$d;return null!==e?e.part:null}},containingGroup:{get:function(){return null}}}),Zo.className="Adornment",y(as,Os),as.prototype.cloneProtected=function(e){Os.prototype.cloneProtected.call(this,e),e.S=this.S,e.S=-17&this.S,e.co=this.co,e.eo=this.eo,e.ii=this.ii,e.Cp=this.Cp,e.Ck=this.Ck.I(),e.Qo=this.Qo},(N=as.prototype).mf=function(e){Os.prototype.mf.call(this,e),e.ed(),e.Le=this.Le,e.rc=null},N.qz=function(e,t,i){null==t&&(t=""),null==i&&(i=""),null!==(e=Vm(this,e,t,i))&&e.cm()},N.nk=function(e,t,i,r,c,h,v){(e===yr&&"elements"===t||e===kr&&"elements"===t)&&(this.rc=null),Os.prototype.nk.call(this,e,t,i,r,c,h,v)},N.ed=function(e){void 0===e&&(e=null);for(var t=this.linksConnected;t.next();){var i=t.value;null!==e&&e.contains(i)||(xc(this,i.fromPort),xc(this,i.toPort),i.Ra())}},N.Pi=function(){return!0},as.prototype.getAvoidableRect=function(e){return e.set(this.actualBounds),e.Lp(this.Ck),e},as.prototype.findVisibleNode=function(){for(var e=this;null!==e&&!e.isVisible();)e=e.containingGroup;return e},as.prototype.isVisible=function(){if(!Os.prototype.isVisible.call(this))return!1;var e=!0,t=Et,i=this.diagram;if(null!==i){if(jr(i.animationManager,this))return!0;e=i.isTreePathToChildren,t=i.treeCollapsePolicy}if(t===Et){if(null!==(e=this.og())&&!e.isTreeExpanded)return!1}else if(t===Ft){if(0<(e=e?this.Yu():this.Zu()).count&&e.all(function(r){return!r.isTreeExpanded}))return!1}else if(t===Sn&&0<(e=e?this.Yu():this.Zu()).count&&e.any(function(r){return!r.isTreeExpanded}))return!1;return null===(e=this.labeledLink)||e.isVisible()},(N=as.prototype).Mb=function(e){Os.prototype.Mb.call(this,e);for(var t=this.linksConnected;t.next();)t.value.Mb(e)},N.Wu=function(e){if(void 0===e&&(e=null),null===e)return this.Ya.iterator;var t=new Vt(this.Ya),i=this;return t.predicate=function(r){return r.fromNode===i&&r.fromPortId===e||r.toNode===i&&r.toPortId===e},t},N.Sp=function(e){void 0===e&&(e=null);var t=new Vt(this.Ya),i=this;return t.predicate=function(r){return r.fromNode===i&&(null===e||r.fromPortId===e)},t},N.sd=function(e){void 0===e&&(e=null);var t=new Vt(this.Ya),i=this;return t.predicate=function(r){return r.toNode===i&&(null===e||r.toPortId===e)},t},N.Xu=function(e){void 0===e&&(e=null);for(var t=null,i=null,r=this.Ya.iterator;r.next();){var c=r.value;c.fromNode===this?(null===e||c.fromPortId===e)&&(c=c.toNode,null!==t?t.add(c):null!==i&&i!==c?((t=new Se).add(i),t.add(c)):i=c):c.toNode!==this||null!==e&&c.toPortId!==e||(c=c.fromNode,null!==t?t.add(c):null!==i&&i!==c?((t=new Se).add(i),t.add(c)):i=c)}return null!==t?t.iterator:null!==i?new Lt(i):Ct},N.Zu=function(e){void 0===e&&(e=null);for(var t=null,i=null,r=this.Ya.iterator;r.next();){var c=r.value;c.fromNode!==this||null!==e&&c.fromPortId!==e||(c=c.toNode,null!==t?t.add(c):null!==i&&i!==c?((t=new Se).add(i),t.add(c)):i=c)}return null!==t?t.iterator:null!==i?new Lt(i):Ct},N.Yu=function(e){void 0===e&&(e=null);for(var t=null,i=null,r=this.Ya.iterator;r.next();){var c=r.value;c.toNode!==this||null!==e&&c.toPortId!==e||(c=c.fromNode,null!==t?t.add(c):null!==i&&i!==c?((t=new Se).add(i),t.add(c)):i=c)}return null!==t?t.iterator:null!==i?new Lt(i):Ct},N.Ny=function(e,t,i){void 0===t&&(t=null),void 0===i&&(i=null);var r=new Vt(this.Ya),c=this;return r.predicate=function(h){return!((h.fromNode!==c||h.toNode!==e||null!==t&&h.fromPortId!==t||null!==i&&h.toPortId!==i)&&(h.fromNode!==e||h.toNode!==c||null!==i&&h.fromPortId!==i||null!==t&&h.toPortId!==t))},r},N.Oy=function(e,t,i){void 0===t&&(t=null),void 0===i&&(i=null);var r=new Vt(this.Ya),c=this;return r.predicate=function(h){return!(h.fromNode!==c||h.toNode!==e||null!==t&&h.fromPortId!==t||null!==i&&h.toPortId!==i)},r},as.prototype.updateRelationshipsFromData=function(){var e=this.diagram;null!==e&&e.partManager.updateRelationshipsFromData(this)},(N=as.prototype).Yp=function(e){Os.prototype.Yp.call(this,e),e||(Oh(this),null!==(e=this.hl)&&Ki(e,this))},N.Zp=function(e){Os.prototype.Zp.call(this,e),e||null!==(e=this.hl)&&null!==e.$c&&(e.$c.remove(this),e.s())},N.Yj=function(){if(0<this.Ya.count){var e=this.diagram;if(null!==e)for(var t=null===e.commandHandler||e.commandHandler.deletesConnectedLinks,i=this.Ya.copy().iterator;i.next();){var r=i.value;t?e.remove(r):(r.fromNode===this&&(r.fromNode=null),r.toNode===this&&(r.toNode=null))}}this.labeledLink=null,Os.prototype.Yj.call(this)},N.Ts=function(e){if(null===this.rc){if(""===e&&!1===this.xh)return this;Hm(this)}var t=this.rc.J(e);return null!==t||""!==e&&null!==(t=this.rc.J(""))?t:this},N.sz=function(e){if(null===e||e===this)return!1;var t=!0,i=this.diagram;if(null!==i&&(t=i.isTreePathToChildren),i=this,t)for(;i!==e;){t=null;for(var r=i.Ya.iterator;r.next();){var c=r.value;if(c.isTreeLink&&(t=c.fromNode)!==i&&t!==this)break}if(t===this||null===t||t===i)return!1;i=t}else for(;i!==e;){for(t=null,r=i.Ya.iterator;r.next()&&(!(c=r.value).isTreeLink||(t=c.toNode)===i||t===this););if(t===this||null===t||t===i)return!1;i=t}return!0},N.Zy=function(){var e=!0,t=this.diagram;if(null!==t&&(e=t.isTreePathToChildren),t=this,e)for(;;){e=null;for(var i=t.Ya.iterator;i.next();){var r=i.value;if(r.isTreeLink&&(e=r.fromNode)!==t&&e!==this)break}if(e===this)return this;if(null===e||e===t)return t;t=e}else for(;;){for(e=null,i=t.Ya.iterator;i.next()&&(!(r=i.value).isTreeLink||(e=r.toNode)===t||e===this););if(e===this)return this;if(null===e||e===t)return t;t=e}},N.Ky=function(e){if(null===e)return null;if(this===e)return this;for(var t=this;null!==t;)gh(t,!0),t=t.og();var i=null;for(t=e;null!==t;){if(1048576&t.D){i=t;break}t=t.og()}for(t=this;null!==t;)gh(t,!1),t=t.og();return i},N.Hi=function(){var e=!0,t=this.diagram;if(null!==t&&(e=t.isTreePathToChildren),t=this.Ya.iterator,e){for(;t.next();)if((e=t.value).isTreeLink&&e.fromNode!==this)return e}else for(;t.next();)if((e=t.value).isTreeLink&&e.toNode!==this)return e;return null},N.og=function(){var e=this.oh;if(null===e)return null;if(e instanceof as)return e;var t=!0;if(null!==(e=this.diagram)&&(t=e.isTreePathToChildren),e=this.Ya.iterator,t){for(;e.next();)if((t=e.value).isTreeLink&&(t=t.fromNode)!==this)return this.oh=t}else for(;e.next();)if((t=e.value).isTreeLink&&(t=t.toNode)!==this)return this.oh=t;return this.oh=null},N.Xy=function(){var t=new Se;return function e(i,r){if(null!==i){r.add(i);var c=i.Hi();null!==c&&(r.add(c),e(i.og(),r))}}(this,t),t},N.Wy=function(){return d(this,this)},N.Up=function(){var e=!0,t=this.diagram;null!==t&&(e=t.isTreePathToChildren),t=new Vt(this.Ya);var i=this;return t.predicate=e?function(r){return!(!r.isTreeLink||r.fromNode!==i)}:function(r){return!(!r.isTreeLink||r.toNode!==i)},t},N.$u=function(){var e=!0,t=this.diagram;null!==t&&(e=t.isTreePathToChildren);var i=t=null,r=this.Ya.iterator;if(e)for(;r.next();)(e=r.value).isTreeLink&&e.fromNode===this&&(e=e.toNode,null!==t?t.add(e):null!==i&&i!==e?((t=new gt).add(i),t.add(e)):i=e);else for(;r.next();)(e=r.value).isTreeLink&&e.toNode===this&&(e=e.fromNode,null!==t?t.add(e):null!==i&&i!==e?((t=new gt).add(i),t.add(e)):i=e);return null!==t?t.iterator:null!==i?new Lt(i):Ct},N.Yy=function(e){void 0===e&&(e=1/0);var t=new Se;return Zd(t,this,!1,e,!0),t},as.prototype.collapseTree=function(e){void 0===e&&(e=1),1>e&&(e=1);var t=this.diagram;if(null!==t&&!t.Ee){t.Ee=!0;var i=new Se;i.add(this),f(this,i,t.isTreePathToChildren,e,t,this,t.treeCollapsePolicy===Et),t.Ee=!1}},as.prototype.expandTree=function(e){void 0===e&&(e=2),2>e&&(e=2);var t=this.diagram;if(null!==t&&!t.Ee){t.Ee=!0;var i=new Se;i.add(this),J(this,i,t.isTreePathToChildren,e,t,this,t.treeCollapsePolicy===Et),t.Ee=!1}},I.Object.defineProperties(as.prototype,{portSpreading:{get:function(){return this.Qo},set:function(e){var t=this.Qo;t!==e&&(this.Qo=e,this.g("portSpreading",t,e),null!==(e=this.diagram)&&e.undoManager.isUndoingRedoing||this.ed())}},avoidable:{get:function(){return!!(8&this.S)},set:function(e){var t=!!(8&this.S);if(t!==e){this.S^=8;var i=this.diagram;null!==i&&Ri(i,this),this.g("avoidable",t,e)}}},avoidableMargin:{get:function(){return this.Ck},set:function(e){"number"==typeof e&&(e=new ei(e));var t=this.Ck;if(!t.A(e)){this.Ck=e=e.I();var i=this.diagram;null!==i&&Ri(i,this),this.g("avoidableMargin",t,e)}}},linksConnected:{get:function(){return this.Ya.iterator}},linkConnected:{get:function(){return this.co},set:function(e){var t=this.co;t!==e&&(this.co=e,this.g("linkConnected",t,e))}},linkDisconnected:{get:function(){return this.eo},set:function(e){var t=this.eo;t!==e&&(this.eo=e,this.g("linkDisconnected",t,e))}},linkValidation:{get:function(){return this.ii},set:function(e){var t=this.ii;t!==e&&(this.ii=e,this.g("linkValidation",t,e))}},isLinkLabel:{get:function(){return null!==this.hl}},labeledLink:{get:function(){return this.hl},set:function(e){var t=this.hl;if(t!==e){var i=this.diagram,r=this.data;if(null!==t){if(null!==t.$c&&(t.$c.remove(this),t.s()),null!==i&&null!==r&&!i.undoManager.isUndoingRedoing){var c=t.data,h=i.model;if(null!==c&&h.em()){var v=h.pa(r);void 0!==v&&h.Ax(c,v)}}this.containingGroup=null}this.hl=e,null!==e&&(Ki(e,this),null===i||null===r||i.undoManager.isUndoingRedoing||(i=i.model,null!==(c=e.data)&&i.em()&&void 0!==(r=i.pa(r))&&i.Gu(c,r)),this.containingGroup=e.containingGroup),tl(this),this.g("labeledLink",t,e)}}},port:{get:function(){return this.Ts("")}},ports:{get:function(){return null===this.rc&&Hm(this),this.rc.iteratorValues}},isTreeExpanded:{get:function(){return!!(1&this.S)},set:function(e){var t=!!(1&this.S);if(t!==e){this.S^=1;var i=this.diagram;if(this.g("isTreeExpanded",t,e),null!==(t=this.treeExpandedChanged)){var r=!0;null!==i&&(r=i.da,i.da=!0),t(this),null!==i&&(i.da=r)}null!==i&&i.undoManager.isUndoingRedoing?this.Mb(e):e?this.expandTree():this.collapseTree()}}},wasTreeExpanded:{get:function(){return!!(2&this.S)},set:function(e){var t=!!(2&this.S);t!==e&&(this.S^=2,this.g("wasTreeExpanded",t,e))}},treeExpandedChanged:{get:function(){return this.Cp},set:function(e){var t=this.Cp;t!==e&&(this.Cp=e,this.g("treeExpandedChanged",t,e))}},isTreeLeaf:{get:function(){return!!(4&this.S)},set:function(e){var t=!!(4&this.S);t!==e&&(this.S^=4,this.g("isTreeLeaf",t,e))}}}),as.prototype.expandTree=as.prototype.expandTree,as.prototype.collapseTree=as.prototype.collapseTree,as.prototype.findTreeParts=as.prototype.Yy,as.prototype.findTreeChildrenNodes=as.prototype.$u,as.prototype.findTreeChildrenLinks=as.prototype.Up,as.prototype.findTreeLevel=as.prototype.Wy,as.prototype.findTreeParentChain=as.prototype.Xy,as.prototype.findTreeParentNode=as.prototype.og,as.prototype.findTreeParentLink=as.prototype.Hi,as.prototype.findCommonTreeParent=as.prototype.Ky,as.prototype.findTreeRoot=as.prototype.Zy,as.prototype.isInTreeOf=as.prototype.sz,as.prototype.findPort=as.prototype.Ts,as.prototype.findLinksTo=as.prototype.Oy,as.prototype.findLinksBetween=as.prototype.Ny,as.prototype.findNodesInto=as.prototype.Yu,as.prototype.findNodesOutOf=as.prototype.Zu,as.prototype.findNodesConnected=as.prototype.Xu,as.prototype.findLinksInto=as.prototype.sd,as.prototype.findLinksOutOf=as.prototype.Sp,as.prototype.findLinksConnected=as.prototype.Wu,as.prototype.invalidateConnectedLinks=as.prototype.ed,as.prototype.invalidateLinkBundle=as.prototype.qz;var re=new Pe(as,"SpreadingNone",10),ve=new Pe(as,"SpreadingEvenly",11),Ie=new Pe(as,"SpreadingPacked",12);function Fe(e){as.call(this,e),this.S|=4608,this.oo=new Se,this.rl=new Se,this.Va=this.tp=this.ji=this.po=this.no=null,this.gc=new er,this.gc.group=this}function St(e,t){if(e.oo.add(t)){t instanceof Fe&&e.rl.add(t);var i=e.memberAdded;if(null!==i){var r=!0,c=e.diagram;null!==c&&(r=c.da,c.da=!0),i(e,t),null!==c&&(c.da=r)}e.isVisible()&&e.isSubGraphExpanded||t.Mb(!1)}t instanceof Zt&&!e.computesBoundsIncludingLinks||(null===(t=e.Va)&&(t=e),t.s())}function zt(e,t){if(e.oo.remove(t)){t instanceof Fe&&e.rl.remove(t);var i=e.memberRemoved;if(null!==i){var r=!0,c=e.diagram;null!==c&&(r=c.da,c.da=!0),i(e,t),null!==c&&(c.da=r)}e.isVisible()&&e.isSubGraphExpanded||t.Mb(!0)}t instanceof Zt&&!e.computesBoundsIncludingLinks||(null===(t=e.Va)&&(t=e),t.s())}function Ht(e,t,i,r){for(var c=e.memberParts;c.next();){var h=c.value;if(h.Mb(!1),h instanceof Fe&&h.isSubGraphExpanded&&(h.wasSubGraphExpanded=h.isSubGraphExpanded,Ht(h,t,i,r)),h instanceof as)h.ed(t),i.Jp(h,r);else if(h instanceof Zt)for(h=h.labelNodes;h.next();)h.value.ed(t)}e.isSubGraphExpanded=!1}function bn(e,t,i,r){for(var c=e.memberParts;c.next();){var h=c.value;if(h.Mb(!0),h instanceof Fe&&h.wasSubGraphExpanded&&(h.wasSubGraphExpanded=!1,bn(h,t,i,r)),h instanceof as)h.ed(t),i.Kp(h,r);else if(h instanceof Zt)for(h=h.labelNodes;h.next();)h.value.ed(t)}e.isSubGraphExpanded=!0}function xn(){As.call(this),this.eb=yn,this.ep=new sn(NaN,NaN,NaN,NaN)}function Zt(){Os.call(this,Vi.Link),this.Ta=8,this.Oe=null,this.Pe="",this.ef=this.Fn=null,this.ff="",this.Bp=null,this.Lm=Ya,this.gn=0,this.kn=Ya,this.ln=NaN,this.Ej=y1,this.pp=.5,this.$c=null,this.xb=(new gt).freeze(),this.bh=this.Xg=null,this.xl=new sn,this.qa=new so,this.Qn=!0,this.K=this.u=this.xf=this.Gf=null,this.l=[],this.zu=new Ze,this.kr=this.Lw=this.Kw=null,this.au=NaN,this.P=null}function Mi(e){var r,t=e.fromNode,i=e.toNode;if(r=null!==t?null!==i?t.hx(i):t.containingGroup:null!==i?i.containingGroup:null,(i=e.Rh)!==(t=r)){null!==i&&zt(i,e),e.Rh=t,null!==t&&St(t,e);var c=e.containingGroupChanged;if(null!==c){var h=!0,v=e.diagram;null!==v&&(h=v.da,v.da=!0),c(e,i,t),null!==v&&(v.da=h)}!e.Lc||e.Kw!==i&&e.Lw!==i||e.Ra()}if(e.isLabeledLink)for(e=e.labelNodes;e.next();)e.value.containingGroup=r}function Ki(e,t){null===e.$c&&(e.$c=new Se),e.$c.add(t),e.s()}function Pi(e,t,i){if(0!==t||0!==i){for(var r=e.Lc,c=new gt,h=e.xb.iterator;h.next();){var v=h.value;c.add(new Ze(v.x+t,v.y+i).freeze())}c.freeze(),h=e.xb,e.xb=c,isNaN(t)||isNaN(i)||e.diagram.animationManager.rb?e.s():(e.Of.h(e.Of.x+t,e.Of.y+i),e.sa.h(e.sa.x+t,e.sa.y+i),tl(e)),r&&hs(e),null!==(t=e.diagram)&&t.animationManager.rb&&(e.bh=c),e.g("points",h,c)}}function hs(e){0===e.xb.count?e.Lc=!1:(e.Lc=!0,e.kr=null,e.au=NaN,e.defaultFromPoint=e.i(0),e.defaultToPoint=e.i(e.pointsCount-1),x1(e,!1))}function Cs(e,t){return Math.abs(t.x-e.x)>Math.abs(t.y-e.y)?(t.x=t.x>=e.x?e.x+9e9:e.x-9e9,t.y=e.y):(t.y=t.y>=e.y?e.y+9e9:e.y-9e9,t.x=e.x),t}function Es(e,t){var i=t.Po;return null===i&&((i=new yh).port=t,i.node=t.part,t.Po=i),Uu(i,e)}function Ts(e){return e===Cn||.5===e.x&&.5===e.y}function xs(e){if(null===e.diagram||!e.isAvoiding||!fn(e.diagram))return!1;var t=e.points.j,i=t.length;if(4>i)return!1;e=ti(e.diagram,!0,e.containingGroup,null);for(var r=1;r<i-2;r++){var c=t[r],h=t[r+1];if(!e.ek(Math.min(c.x,h.x),Math.min(c.y,h.y),Math.abs(c.x-h.x),Math.abs(c.y-h.y)))return!0}return!1}function Gs(e,t,i,r,c,h){var v=t.Ul,W=t.Tl,X=vh(t,i,r),Z=i,ge=r;for(0===c?Z+=v:90===c?ge+=W:180===c?Z-=v:ge-=W;X>gu&&vh(t,Z,ge)===X-1;)i=Z,r=ge,0===c?Z+=v:90===c?ge+=W:180===c?Z-=v:ge-=W,--X;h?X>gu&&(180===c||0===c?i=Math.floor(i/v)*v+v/2:(90===c||270===c)&&(r=Math.floor(r/W)*W+W/2)):(i=Math.floor(i/v)*v+v/2,r=Math.floor(r/W)*W+W/2),X>gu&&(h=c,Z=i,ge=r,0===c?(h=90,ge+=W):90===c?(h=180,Z-=v):180===c?(h=270,ge-=W):270===c&&(h=0,Z+=v),vh(t,Z,ge)===X-1?Gs(e,t,Z,ge,h,!1):(Z=i,ge=r,0===c?(h=270,ge-=W):90===c?(h=0,Z+=v):180===c?(h=90,ge+=W):270===c&&(h=180,Z-=v),vh(t,Z,ge)===X-1&&Gs(e,t,Z,ge,h,!1))),e.jf(i,r)}function no(e,t,i,r){return e=i-e,isNaN(e)||e===1/0||e===-1/0?NaN:(0>e&&(e=-e),t=r-t,isNaN(t)||t===1/0||t===-1/0?NaN:(0>t&&(t=-t),Yn.ca(e,0)?t:Yn.ca(t,0)?e:Math.sqrt(e*e+t*t)))}function gs(e,t,i,r){var c=e.pointsCount;if(2>c)return t;if(i){var h=e.i(1);if(0===(r=no(t.x,t.y,i=h.x-r.x,h=h.y-r.y)))return t;c=2===c?.5*r:r,(e=e.computeShortLength(!0))>c&&(e=c),c=e*(h-t.y)/r,t.x+=e*(i-t.x)/r,t.y+=c}else{if(h=e.i(c-2),0===(r=no(t.x,t.y,i=h.x-r.x,h=h.y-r.y)))return t;c=2===c?.5*r:r,(e=e.computeShortLength(!1))>c&&(e=c),c=e*(t.y-h)/r,t.x-=e*(t.x-i)/r,t.y-=c}return t}function oo(e,t,i,r){for(var c=e.pointsCount,h=t;Yn.ca(t.x,h.x)&&Yn.ca(t.y,h.y);){if(i>=c)return c-1;h=e.i(i++)}if(!Yn.ca(t.x,h.x)&&!Yn.ca(t.y,h.y))return i-1;for(var v=h;Yn.ca(t.x,h.x)&&Yn.ca(h.x,v.x)&&(!r||(t.y>=h.y?h.y>=v.y:h.y<=v.y))||Yn.ca(t.y,h.y)&&Yn.ca(h.y,v.y)&&(!r||(t.x>=h.x?h.x>=v.x:h.x<=v.x));){if(i>=c)return c-1;v=e.i(i++)}return i-2}function ko(e,t,i,r,c,h,v){if(!v&&Or(e)){v=[];var W=0;if(e.isVisible()&&(W=function A1(e,t,i,r){var c=e.diagram;if(null===c||t.A(i))return 0;for(c=c.layers;c.next();){var h=c.value;if(null!==h&&h.visible)for(var v=(h=h.Fa.j).length,W=0;W<v;W++){var X=h[W];if(X instanceof Zt){if(X===e)return 0<r.length&&r.sort(function(ge,ye){return ge-ye}),r.length;if(X.isVisible()&&Or(X)){var Z=X.routeBounds;Z.o()&&e.routeBounds.Ic(Z)&&!e.usesSamePort(X)&&null!==(Z=X.path)&&Z.rf()&&sa(t,i,r,X)}}}}return 0<r.length&&r.sort(function(ge,ye){return ge-ye}),r.length}(e,c,h,v)),0<W)if(Yn.w(c.y,h.y))if(c.x<h.x)for(var X=0;X<W;){var Z=Math.max(c.x,Math.min(v[X++]-5,h.x-10));t.lineTo(Z+i,h.y+r);for(var ge=Z+i,ye=Math.min(Z+10,h.x);X<W&&(Z=v[X])<ye+10;)X++,ye=Math.min(Z+5,h.x);Z=h.y-10+r,ye+=i;var We=h.y+r;e.curve===Oc?Kc(t,ye,We,!1):ac(t,ge,Z,ye,Z,ye,We)}else for(--W;0<=W;){for(X=Math.min(c.x,Math.max(v[W--]+5,h.x+10)),t.lineTo(X+i,h.y+r),ge=X+i,Z=Math.max(X-10,h.x);0<=W&&(X=v[W])>Z-10;)W--,Z=Math.max(X-5,h.x);X=h.y-10+r,Z+=i,ye=h.y+r,e.curve===Oc?Kc(t,Z,ye,!1):ac(t,ge,X,Z,X,Z,ye)}else if(Yn.w(c.x,h.x))if(c.y<h.y)for(X=0;X<W;){for(Z=Math.max(c.y,Math.min(v[X++]-5,h.y-10)),t.lineTo(h.x+i,Z+r),ge=Z+r,Z=Math.min(Z+10,h.y);X<W&&(ye=v[X])<Z+10;)X++,Z=Math.min(ye+5,h.y);ye=h.x-10+i,We=h.x+i,Z+=r,e.curve===Oc?Kc(t,We,Z,!1):ac(t,ye,ge,ye,Z,We,Z)}else for(--W;0<=W;){for(X=Math.min(c.y,Math.max(v[W--]+5,h.y+10)),t.lineTo(h.x+i,X+r),ge=X+r,X=Math.max(X-10,h.y);0<=W&&(Z=v[W])>X-10;)W--,X=Math.max(Z-5,h.y);Z=h.x-10+i,ye=h.x+i,X+=r,e.curve===Oc?Kc(t,ye,X,!1):ac(t,Z,ge,Z,X,ye,X)}}t.lineTo(h.x+i,h.y+r)}function sa(e,t,i,r){for(var c=Yn.w(e.y,t.y),h=r.pointsCount,v=r.i(0),W=Ze.alloc(),X=1;X<h;X++){var Z=r.i(X);if(X<h-1){var ge=r.i(X+1);if(v.y===Z.y&&Z.y===ge.y){if(Z.x>v.x&&ge.x>=Z.x||Z.x<v.x&&ge.x<=Z.x)continue}else if(v.x===Z.x&&Z.x===ge.x&&(Z.y>v.y&&ge.y>=Z.y||Z.y<v.y&&ge.y<=Z.y))continue}e:{var ye=e.y,We=t.x,Ve=t.y,st=v.x;v=v.y;var jt=Z.x,nn=Z.y;if(Yn.w(ge=e.x,We)){if(!Yn.w(ye,Ve)&&Yn.w(v,nn)&&Math.min(ye,Ve)<v&&Math.max(ye,Ve)>v&&Math.min(st,jt)<ge&&Math.max(st,jt)>ge&&!Yn.w(st,jt)){W.x=ge,W.y=v,ge=!0;break e}}else if(Yn.w(ye,Ve)&&Yn.w(st,jt)&&Math.min(ge,We)<st&&Math.max(ge,We)>st&&Math.min(v,nn)<ye&&Math.max(v,nn)>ye&&!Yn.w(v,nn)){W.x=st,W.y=ye,ge=!0;break e}W.x=0,W.y=0,ge=!1}ge&&i.push(c?W.x:W.y),v=Z}Ze.free(W)}function Or(e){return(e=e.curve)===kl||e===Oc}function x1(e,t){(t||Or(e))&&(null===(t=e.diagram)||t.Ui||t.Wh.contains(e)||0===e.xl.width&&0===e.xl.height||t.Wh.add(e,e.xl))}function Fc(e,t,i){if(null!==t&&null!==t.qa&&Or(t)){var r=t.routeBounds;r.o()&&(e.routeBounds.Ic(r)||i.Ic(r))&&(e.usesSamePort(t)||t.bc())}}function Vr(e){var t=e.Oe;if(null!==t){var i=e.ef;if(null!==i){for(var r=e.Pe,c=e.ff,h=e=null,v=t.Ya.j,W=v.length,X=0;X<W;X++){var Z=v[X];(Z.Oe===t&&Z.Pe===r&&Z.ef===i&&Z.ff===c||Z.Oe===i&&Z.Pe===c&&Z.ef===t&&Z.ff===r)&&(null===h?h=Z:(null===e&&(e=[]).push(h),e.push(Z)))}if(null!==e){for(null===(h=Vm(t,i,r,c))&&(Mf(t,h=new ym(t,r,i,c)),Mf(i,h)),h.links=e,t=0;t<e.length;t++)e[t].xf=h;h.cm()}}}}function fo(e){var t=e.xf;null!==t&&(e.xf=null,0<=(e=t.links.indexOf(e))&&(H(t.links,e),t.cm()))}as.className="Node",as.SpreadingNone=re,as.SpreadingEvenly=ve,as.SpreadingPacked=Ie,y(Fe,as),Fe.prototype.cloneProtected=function(e){as.prototype.cloneProtected.call(this,e),this.S=-32769&this.S,e.no=this.no,e.po=this.po,e.ji=this.ji,e.tp=this.tp;var t=e.Yl(function(i){return i instanceof xn});e.Va=t instanceof xn?t:null,null!==this.gc?(e.gc=this.gc.copy(),e.gc.group=e):(null!==e.gc&&(e.gc.group=null),e.gc=null)},(N=Fe.prototype).mf=function(e){as.prototype.mf.call(this,e);var t=e.ak();for(e=e.memberParts;e.next();){var i=e.value;if(i.s(),i.B(8),i.Sj(),i instanceof as)i.ed(t);else if(i instanceof Zt)for(i=i.labelNodes;i.next();)i.value.ed(t)}},N.nk=function(e,t,i,r,c,h,v){if(e===yr&&"elements"===t){if(c instanceof xn)null===this.Va?this.Va=c:this.Va!==c&&z("Cannot insert a second Placeholder into the visual tree of a Group.");else if(c instanceof Vi){var W=c.Yl(function(X){return X instanceof xn});W instanceof xn&&(null===this.Va?this.Va=W:this.Va!==W&&z("Cannot insert a second Placeholder into the visual tree of a Group."))}}else e===kr&&"elements"===t&&null!==this.Va&&(r===this.Va||r instanceof Vi&&this.Va.qg(r))&&(this.Va=null);as.prototype.nk.call(this,e,t,i,r,c,h,v)},N.th=function(e,t,i,r){this.Ve=this.Va,as.prototype.th.call(this,e,t,i,r)},N.Pi=function(){if(!as.prototype.Pi.call(this))return!1;for(var e=this.memberParts;e.next();){var t=e.value;if(t instanceof as){if(t.isVisible()&&I1(t))return!1}else if(t instanceof Zt&&t.isVisible()&&I1(t)&&t.fromNode!==this&&t.toNode!==this)return!1}return!0},N.Yj=function(){if(0<this.oo.count){var e=this.diagram;if(null!==e)for(var t=this.oo.copy().iterator;t.next();)e.remove(t.value)}as.prototype.Yj.call(this)},Fe.prototype.canAddMembers=function(e){var t=this.diagram;if(null===t)return!1;for(t=t.commandHandler,e=Vo(e).iterator;e.next();)if(!t.isValidMember(this,e.value))return!1;return!0},Fe.prototype.addMembers=function(e,t){var i=this.diagram;if(null===i)return!1;i=i.commandHandler;var r=!0;for(e=Vo(e).iterator;e.next();){var c=e.value;!t||i.isValidMember(this,c)?c.containingGroup=this:r=!1}return r},Fe.prototype.canUngroup=function(){if(!this.ungroupable)return!1;var e=this.layer;return!(null!==e&&!e.allowUngroup||null!==(e=e.diagram)&&!e.allowUngroup)},(N=Fe.prototype).ed=function(e){void 0===e&&(e=null);var t=!!(65536&this.S);if(as.prototype.ed.call(this,e),!t)for(!(65536&this.S)&&(this.S=65536^this.S),t=this.Vu();t.next();){var i=t.value;if(null===e||!e.contains(i)){var r=i.fromNode;(null!==r&&r!==this&&r.Vd(this)&&!r.isVisible()||null!==(r=i.toNode)&&r!==this&&r.Vd(this)&&!r.isVisible())&&(xc(r,i.fromPort),xc(r,i.toPort),i.Ra())}}},N.Vu=function(){var e=this.ak();e.add(this);for(var t=new Se,i=e.iterator;i.next();){var r=i.value;if(r instanceof as)for(r=r.linksConnected;r.next();){var c=r.value;e.contains(c)||t.add(c)}}return t.iterator},N.My=function(){var e=this.ak();e.add(this);for(var t=new Se,i=e.iterator;i.next();){var r=i.value;if(r instanceof as)for(r=r.linksConnected;r.next();){var c=r.value,h=c.fromNode;e.contains(h)&&h!==this||t.add(h),e.contains(c=c.toNode)&&c!==this||t.add(c)}}return t.iterator},N.Ly=function(){var t=new Se;return function e(i,r){null!==i&&(r.add(i),e(i.containingGroup,r))}(this,t),t},N.ak=function(){var e=new Se;return Zd(e,this,!0,0,!0),e.remove(this),e},N.Mb=function(e){as.prototype.Mb.call(this,e);for(var t=this.memberParts;t.next();)t.value.Mb(e)},Fe.prototype.collapseSubGraph=function(){var e=this.diagram;null===e||e.Ee||(e.Ee=!0,Ht(this,this.ak(),e,this),e.Ee=!1)},Fe.prototype.expandSubGraph=function(){var e=this.diagram;null===e||e.Ee||(e.Ee=!0,bn(this,this.ak(),e,this),e.Ee=!1)},Fe.prototype.move=function(e,t){void 0===t&&(t=!1);var i=t?this.location:this.position,r=i.x;isNaN(r)&&(r=0),i=i.y,isNaN(i)&&(i=0);var c=Ze.allocAt(r=e.x-r,i=e.y-i);for(as.prototype.move.call(this,e,t),e=new Se,t=this.ak().iterator;t.next();){var h=t.value;h instanceof Zt&&(h.suspendsRouting&&e.add(h),h.Lc||h.fromNode!==this&&h.toNode!==this)&&(h.suspendsRouting=!0)}for(t.reset();t.next();)if(!((h=t.value).zh()||h instanceof as&&h.isLinkLabel)){var v=h.position,W=h.location;v.o()?(c.x=v.x+r,c.y=v.y+i,h.position=c):W.o()&&(c.x=W.x+r,c.y=W.y+i,h.location=c)}for(t.reset();t.next();)(h=t.value)instanceof Zt&&(h.suspendsRouting=e.contains(h),h.Lc||h.fromNode!==this&&h.toNode!==this)&&(c.x=(v=h.position).x+r,c.y=v.y+i,c.o()?h.move(c):h.Ra(),xs(h)&&h.Ra());Ze.free(c)},I.Object.defineProperties(Fe.prototype,{placeholder:{get:function(){return this.Va}},computesBoundsAfterDrag:{get:function(){return!!(2048&this.S)},set:function(e){var t=!!(2048&this.S);t!==e&&(this.S^=2048,this.g("computesBoundsAfterDrag",t,e))}},computesBoundsIncludingLinks:{get:function(){return!!(4096&this.S)},set:function(e){var t=!!(4096&this.S);t!==e&&(this.S^=4096,this.g("computesBoundsIncludingLinks",t,e))}},computesBoundsIncludingLocation:{get:function(){return!!(8192&this.S)},set:function(e){var t=!!(8192&this.S);t!==e&&(this.S^=8192,this.g("computesBoundsIncludingLocation",t,e))}},handlesDragDropForMembers:{get:function(){return!!(16384&this.S)},set:function(e){var t=!!(16384&this.S);t!==e&&(this.S^=16384,this.g("handlesDragDropForMembers",t,e))}},memberParts:{get:function(){return this.oo.iterator}},layout:{get:function(){return this.gc},set:function(e){var t=this.gc;if(t!==e){null!==t&&(t.diagram=null,t.group=null),this.gc=e;var i=this.diagram;null!==e&&(e.diagram=i,e.group=this),null!==i&&(i.zg=!0),this.g("layout",t,e),null!==i&&i.cc()}}},memberAdded:{get:function(){return this.no},set:function(e){var t=this.no;t!==e&&(this.no=e,this.g("memberAdded",t,e))}},memberRemoved:{get:function(){return this.po},set:function(e){var t=this.po;t!==e&&(this.po=e,this.g("memberRemoved",t,e))}},memberValidation:{get:function(){return this.ji},set:function(e){var t=this.ji;t!==e&&(this.ji=e,this.g("memberValidation",t,e))}},ungroupable:{get:function(){return!!(256&this.S)},set:function(e){var t=!!(256&this.S);t!==e&&(this.S^=256,this.g("ungroupable",t,e))}},isSubGraphExpanded:{get:function(){return!!(512&this.S)},set:function(e){var t=!!(512&this.S);if(t!==e){this.S^=512;var i=this.diagram;if(this.g("isSubGraphExpanded",t,e),null!==(t=this.subGraphExpandedChanged)){var r=!0;null!==i&&(r=i.da,i.da=!0),t(this),null!==i&&(i.da=r)}null!==i&&i.undoManager.isUndoingRedoing?(null!==this.Va&&this.Va.s(),this.memberParts.each(function(c){c.updateAdornments()})):e?this.expandSubGraph():this.collapseSubGraph()}}},wasSubGraphExpanded:{get:function(){return!!(1024&this.S)},set:function(e){var t=!!(1024&this.S);t!==e&&(this.S^=1024,this.g("wasSubGraphExpanded",t,e))}},subGraphExpandedChanged:{get:function(){return this.tp},set:function(e){var t=this.tp;t!==e&&(this.tp=e,this.g("subGraphExpandedChanged",t,e))}},mk:{get:function(){return!!(32768&this.S)},set:function(e){!!(32768&this.S)!==e&&(this.S^=32768)}}}),Fe.prototype.expandSubGraph=Fe.prototype.expandSubGraph,Fe.prototype.collapseSubGraph=Fe.prototype.collapseSubGraph,Fe.prototype.findSubGraphParts=Fe.prototype.ak,Fe.prototype.findContainingGroupChain=Fe.prototype.Ly,Fe.prototype.findExternalNodesConnected=Fe.prototype.My,Fe.prototype.findExternalLinksConnected=Fe.prototype.Vu,Fe.className="Group",y(xn,As),xn.prototype.cloneProtected=function(e){As.prototype.cloneProtected.call(this,e),e.eb=this.eb.I(),e.ep=this.ep.copy()},xn.prototype.vh=function(e){if(null===this.background&&null===this.areaBackground)return!1;var t=this.naturalBounds;return Hn(0,0,t.width,t.height,e.x,e.y)},xn.prototype.hm=function(){var e=this.part;if(null!==e&&(e instanceof Fe||e instanceof Zo)||z("Placeholder is not inside a Group or Adornment."),e instanceof Fe){var t=this.computeBorder(this.ep),i=this.minSize,r=this.qc;for(oi(r,(isFinite(i.width)?Math.max(i.width,t.width):t.width)||0,(isFinite(i.height)?Math.max(i.height,t.height):t.height)||0),Fl(this,0,0,r.width,r.height),i=e.memberParts,r=!1;i.next();)if(i.value.isVisible()){r=!0;break}i=e.diagram,(r=!r||null===i)||(r=!!(r=i.animationManager).Kf&&(null!==(r=r.xj.J(e))&&(r.start.position||r.start.location))),r||isNaN(t.x)||isNaN(t.y)?null!==i&&i.animationManager.isAnimating&&i.animationManager.$r.add(this):((i=Ze.alloc()).Ti(t,e.locationSpot),i.A(e.location)||(e.location=new Ze(i.x,i.y)),Ze.free(i))}else{t=this.qc,r=(i=this.eb).left+i.right;var c=i.top+i.bottom,h=e.adornedObject;e.angle=h.Ji();var v=0;h instanceof io&&(v=h.strokeWidth);var W=h.Ce(),X=h.naturalBounds,Z=(X.width+v)*W;v=(X.height+v)*W,e.type!==Vi.Link&&(h=h.ma("Selection"===e.category?ut:e.locationSpot,Ze.alloc()),e.location=h,Ze.free(h)),isNaN(Z)||isNaN(v)?(Z=(e=e.adornedObject).ma(ut,Ze.alloc()),(h=sn.allocAt(Z.x,Z.y,0,0)).Ie(e.ma(Ot,Z)),h.Ie(e.ma(Bt,Z)),h.Ie(e.ma(fe,Z)),oi(t,h.width+r||0,h.height+c||0),Fl(this,-i.left,-i.top,t.width,t.height),Ze.free(Z),sn.free(h)):(oi(t,Z+r||0,v+c||0),Fl(this,-i.left,-i.top,t.width,t.height))}},xn.prototype.th=function(e,t,i,r){this.actualBounds.h(e,t,i,r)},xn.prototype.computeBorder=function(e){var t=this.part,i=t.diagram;if(null!==i&&t instanceof Fe&&!t.layer.isTemporary&&t.computesBoundsAfterDrag&&this.ep.o()){var r=i.toolManager.findTool("Dragging");if(r===i.currentTool&&null!==(i=r.computeBorder(t,this.ep,e)))return i}i=sn.alloc(),r=this.computeMemberBounds(i);var c=this.eb;return t instanceof Fe&&!t.isSubGraphExpanded?e.h(r.x-c.left,r.y-c.top,0,0):e.h(r.x-c.left,r.y-c.top,Math.max(r.width+c.left+c.right,0),Math.max(r.height+c.top+c.bottom,0)),sn.free(i),t instanceof Fe&&t.computesBoundsIncludingLocation&&t.location.o()&&e.Ie(t.location),e},xn.prototype.computeMemberBounds=function(e){if(!(this.part instanceof Fe))return e.h(0,0,0,0),e;for(var t=this.part,i=1/0,r=1/0,c=-1/0,h=-1/0,v=t.memberParts;v.next();){var W=v.value;if(W.isVisible()){if(W instanceof Zt&&(!t.computesBoundsIncludingLinks||ic(W)||W.fromNode===t||W.toNode===t))continue;(W=W.actualBounds).left<i&&(i=W.left),W.top<r&&(r=W.top),W.right>c&&(c=W.right),W.bottom>h&&(h=W.bottom)}}return isFinite(i)&&isFinite(r)?e.h(i,r,c-i,h-r):e.h((t=t.location).x,t.y,0,0),e},I.Object.defineProperties(xn.prototype,{padding:{get:function(){return this.eb},set:function(e){"number"==typeof e&&(e=new ei(e));var t=this.eb;t.A(e)||(this.eb=e=e.I(),this.g("padding",t,e))}}}),xn.className="Placeholder",y(Zt,Os),Zt.prototype.cloneProtected=function(e){Os.prototype.cloneProtected.call(this,e),e.Ta=-113&this.Ta,e.Pe=this.Pe,e.Fn=this.Fn,e.ff=this.ff,e.Bp=this.Bp,e.Lm=this.Lm,e.gn=this.gn,e.kn=this.kn,e.ln=this.ln,e.Ej=this.Ej,e.pp=this.pp,null!==this.P&&(e.P=this.P.copy())},(N=Zt.prototype).mf=function(e){Os.prototype.mf.call(this,e),this.Pe=e.Pe,this.ff=e.ff,e.Xg=null,e.Ra(),e.xf=this.xf;var t=e.fromPort;null!==t&&xc(e.fromNode,t),null!==(t=e.toPort)&&xc(e.toNode,t)},N.fb=function(e){e.classType===Zt?2&~e.value?e===lc||e===Oc||e===kl?this.curve=e:e===Tl||e===n0||e===$h?this.adjusting=e:e!==y1&&e!==Ya&&z("Unknown Link enum value for a Link property: "+e):this.routing=e:Os.prototype.fb.call(this,e)},N.Hc=function(){null===this.P&&(this.P=new vf)},N.Pi=function(){var e=this.fromNode;if(null!==e){var t=e.findVisibleNode();if(null!==t&&(e=t),I1(e)||su(e))return!1}return!(null!==(e=this.toNode)&&(t=e.findVisibleNode(),null!==t&&(e=t),I1(e)||su(e)))},N.Kv=function(){return!1},N.Lv=function(){},N.Lb=function(){return!1},Zt.prototype.computeAngle=function(e,t,i){return Zt.computeAngle(t,i)},Zt.computeAngle=function(e,t){switch(e){default:case Ya:e=0;break;case Ym:e=t;break;case ed:e=t+90;break;case vm:e=t-90;break;case Am:e=t+180;break;case Hl:90<(e=Yn.gq(t))&&270>e&&(e-=180);break;case p1:90<(e=Yn.gq(t+90))&&270>e&&(e-=180);break;case Su:90<(e=Yn.gq(t-90))&&270>e&&(e-=180);break;case Vh:if(45<(e=Yn.gq(t))&&135>e||225<e&&315>e)return 0;90<e&&270>e&&(e-=180)}return Yn.gq(e)},(N=Zt.prototype).yh=function(){var e=this.containingGroup;null!==e&&this.fromNode!==e&&this.toNode!==e&&e.computesBoundsIncludingLinks&&Os.prototype.yh.call(this)},N.Xs=function(e){var t=this.fromNode;return e===t?this.toNode:t},N.ez=function(e){var t=this.fromPort;return e===t?this.toPort:t},N.Yp=function(e){if(Os.prototype.Yp.call(this,e),Or(this)&&this.$p(this.actualBounds),!e){var t=null;null!==(e=this.Oe)&&Ap(e,this,t=this.fromPort);var i=this.ef;if(null!==i){var r=this.toPort;i===e&&r===t||Ap(i,this,r)}Vr(this)}},N.Zp=function(e){if(Os.prototype.Zp.call(this,e),Or(this)&&this.$p(this.actualBounds),!e){var t=null;null!==(e=this.Oe)&&yp(e,this,t=this.fromPort);var i=this.ef;if(null!==i){var r=this.toPort;i===e&&r===t||yp(i,this,r)}fo(this)}},N.Yj=function(){if(this.Lc=!0,null!==this.$c){var e=this.diagram;if(null!==e)for(var t=this.$c.copy().iterator;t.next();)e.remove(t.value)}null!==this.data&&null!==(e=this.diagram)&&e.partManager.removeDataForLink(this)},Zt.prototype.updateRelationshipsFromData=function(){if(null!==this.data){var e=this.diagram;null!==e&&e.partManager.updateRelationshipsFromData(this)}},Zt.prototype.move=function(e,t){var i=t?this.location:this.position,r=i.x;isNaN(r)&&(r=0);var c=i.y;for(isNaN(c)&&(c=0),r=e.x-r,c=e.y-c,!0===t?Os.prototype.move.call(this,e,!1):(e=Ze.allocAt(i.x+r,i.y+c),Os.prototype.move.call(this,e,!1),Ze.free(e)),Pi(this,r,c),e=this.labelNodes;e.next();)(t=e.value).moveTo((i=t.position).x+r,i.y+c)},Zt.prototype.canRelinkFrom=function(){if(!this.relinkableFrom)return!1;var e=this.layer;return null===e||!!e.allowRelink&&!(null!==(e=e.diagram)&&!e.allowRelink)},Zt.prototype.canRelinkTo=function(){if(!this.relinkableTo)return!1;var e=this.layer;return null===e||!!e.allowRelink&&!(null!==(e=e.diagram)&&!e.allowRelink)},Zt.prototype.computeMidPoint=function(e){var t=this.pointsCount;if(0===t)return e.assign(Mn),e;if(1===t)return e.assign(this.i(0)),e;if(2===t){var i=this.i(0),r=this.i(1);return e.h((i.x+r.x)/2,(i.y+r.y)/2),e}if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===lc))return this.qa.cv(.5,e),e.add(this.i(0)),i=this.qa.figures.first(),e.offset(-i.startX,-i.startY),e;if(this.computeCurve()===lc){if(3===t)return this.i(1);if(i=3*((r=(t-1)/3|0)/2|0),r%2==1){r=this.i(i);var c=this.i(i+1),h=this.i(i+2);i=this.i(i+3),Yn.qy(r.x,r.y,c.x,c.y,h.x,h.y,i.x,i.y,e)}else e.assign(this.i(i));return e}var v=this.flattenedLengths;for(i=this.flattenedTotalLength,c=h=r=0;r<i/2&&h<t&&!(r+(c=v[h])>i/2);)r+=c,h++;return t=this.i(h),h=this.i(h+1),1>Math.abs(t.x-h.x)?e.h(t.x,t.y>h.y?t.y-(i/2-r):t.y+(i/2-r)):1>Math.abs(t.y-h.y)?e.h(t.x>h.x?t.x-(i/2-r):t.x+(i/2-r),t.y):e.h(t.x+(i=(i/2-r)/c)*(h.x-t.x),t.y+i*(h.y-t.y)),e},Zt.prototype.computeMidAngle=function(){var e=this.pointsCount;if(2>e)return NaN;if(2===e)return this.i(0).Wa(this.i(1));if(this.isOrthogonal&&(15<=this.computeCorner()||this.computeCurve()===lc)){e:{var t=.5;if(0>t?t=0:1<t&&(t=1),(e=this.qa).type===Wa)e=180*Math.atan2(e.endY-e.startY,e.endX-e.startX)/Math.PI;else{var i=e.flattenedSegments,r=e.flattenedLengths,c=i.length;t*=e.flattenedTotalLength;for(var h=0,v=0;v<c;v++){var W=r[v],X=W.length;for(e=0;e<X;e++){var Z=W[e];if(h+Z>=t){i=(t=i[v])[2*e],r=t[2*e+1],c=t[2*e+2],e=t[2*e+3],e=1>Math.abs(c-i)&&1>Math.abs(e-r)?0:1>Math.abs(c-i)?0<=e-r?90:270:1>Math.abs(e-r)?0<=c-i?0:180:180*Math.atan2(e-r,c-i)/Math.PI;break e}h+=Z}}e=NaN}}return e}if(this.computeCurve()===lc&&4<=e){if(i=3*((r=(e-1)/3|0)/2|0),r%2==1)return i=Math.floor(i),e=this.i(i),r=this.i(i+1),c=this.i(i+2),i=this.i(i+3),Yn.py(e.x,e.y,r.x,r.y,c.x,c.y,i.x,i.y);if(0<i&&i+1<e)return this.i(i-1).Wa(this.i(i+1))}for(r=this.flattenedLengths,c=this.flattenedTotalLength,i=t=0;t<c/2&&i<e&&!(t+(h=r[i])>c/2);)t+=h,i++;if(r=this.i(i),c=this.i(i+1),1>Math.abs(r.x-c.x)&&1>Math.abs(r.y-c.y)){if(0<i&&i+2<e)return this.i(i-1).Wa(this.i(i+2))}else{if(1>Math.abs(r.x-c.x))return r.y>c.y?270:90;if(1>Math.abs(r.y-c.y))return r.x>c.x?180:0}return r.Wa(c)},(N=Zt.prototype).i=function(e){return this.xb.j[e]},N.jd=function(e,t){this.xb.gd(e,t)},N.M=function(e,t,i){this.xb.gd(e,new Ze(t,i))},N.oz=function(e,t){this.xb.Ib(e,t)},N.m=function(e,t,i){this.xb.Ib(e,new Ze(t,i))},N.xe=function(e){this.xb.add(e)},N.jf=function(e,t){this.xb.add(new Ze(e,t))},N.zv=function(e){this.xb.mb(e)},N.Tj=function(){this.xb.clear()},N.Bh=function(){null===this.Xg&&(this.Xg=this.xb,this.xb=this.xb.copy())},N.kf=function(){if(null!==this.Xg){for(var e=this.Xg,t=this.xb,i=1/0,r=1/0,c=e.j,h=c.length,v=0;v<h;v++){var W=c[v];i=Math.min(W.x,i),r=Math.min(W.y,r)}W=v=1/0;for(var X=t.j,Z=X.length,ge=0;ge<Z;ge++){var ye=X[ge];v=Math.min(ye.x,v),W=Math.min(ye.y,W),ye.freeze()}if(t.freeze(),Z===h){for(h=0;h<Z;h++)if((ge=c[h]).x-i!=(ye=X[h]).x-v||ge.y-r!=ye.y-W){this.s(),this.bc();break}}else this.s(),this.bc();this.Xg=null,null!==(i=this.diagram)&&i.animationManager.rb&&(this.bh=t),hs(this),this.g("points",e,t)}},N.Cx=function(){null!==this.Xg&&(this.xb=this.Xg,this.Xg=null)},N.Ra=function(){if(!this.suspendsRouting){var e=this.diagram;if(e){if(e.gt.contains(this)||e.undoManager.isUndoingRedoing||(e=e.animationManager).isTicking&&!e.isAnimating)return;null!==this.bh&&!e.isTicking&&e.isAnimating&&(this.bh=null)}null!==(e=this.path)&&(this.Lc=!1,this.s(),e.s())}},N.Yi=function(){if(!this.Lc&&!this.Ou){var e=!0;try{this.Ou=!0,this.Bh(),e=this.computePoints()}finally{this.Ou=!1,e?this.kf():this.Cx()}}},Zt.prototype.computePoints=function(){var e=this.diagram;if(null===e)return!1;var t=this.fromNode,i=null;if(null===t?(e.oi||(e.Zo=new io,e.Zo.desiredSize=Un,e.Zo.strokeWidth=0,e.oi=new as,e.oi.add(e.Zo),e.oi.ac()),this.defaultFromPoint&&(e.oi.position=e.oi.location=this.defaultFromPoint,e.oi.ac(),t=e.oi,i=e.Zo)):i=this.fromPort,null!==i&&!t.isVisible()){var r=t.findVisibleNode();null!==r&&r!==t?(t=r,i=r.port):t=r}if(this.Kw=t,null===t||!t.location.o())return!1;for(;!(null===i||i.actualBounds.o()&&i.rf());)i=i.panel;if(null===i)return!1;var c=this.toNode,h=null;if(null===c?(e.pi||(e.$o=new io,e.$o.desiredSize=Un,e.$o.strokeWidth=0,e.pi=new as,e.pi.add(e.$o),e.pi.ac()),this.defaultToPoint&&(e.pi.position=e.pi.location=this.defaultToPoint,e.pi.ac(),c=e.pi,h=e.$o)):h=this.toPort,null===h||c.isVisible()||(null!==(e=c.findVisibleNode())&&e!==c?(c=e,h=e.port):c=e),this.Lw=c,null===c||!c.location.o())return!1;for(;!(null===h||h.actualBounds.o()&&h.rf());)h=h.panel;if(null===h)return!1;var v=this.pointsCount;r=this.computeSpot(!0,i),e=this.computeSpot(!1,h);var W=Ts(r),X=Ts(e),Z=i===h&&null!==i,ge=this.isOrthogonal,ye=this.curve===lc;this.Gf=!(!Z||ge)&&(ye=!0);var We=this.adjusting===Ya||Z;if(!ge&&!Z&&W&&X){if(W=!1,!We&&3<=v&&(We=this.getLinkPoint(t,i,r,!0,!1,c,h),X=this.getLinkPoint(c,h,e,!1,!1,t,i),W=this.adjustPoints(0,We,v-1,X))&&(We=this.getLinkPoint(t,i,r,!0,!1,c,h),X=this.getLinkPoint(c,h,e,!1,!1,t,i),this.adjustPoints(0,We,v-1,X)),!W)if(this.Tj(),ye){v=this.getLinkPoint(t,i,r,!0,!1,c,h),W=(We=this.getLinkPoint(c,h,e,!1,!1,t,i)).x-v.x,X=We.y-v.y,Z=this.computeCurviness(),ye=ge=0;var Ve=v.x+W/3,st=v.y+X/3,jt=Ve,nn=st;Yn.w(X,0)?nn=0<W?nn-Z:nn+Z:(ge=-W/X,ye=Math.sqrt(Z*Z/(ge*ge+1)),0>Z&&(ye=-ye),nn=ge*((jt=(0>X?-1:1)*ye+Ve)-Ve)+st);var on=Ve=v.x+2*W/3,Fn=st=v.y+2*X/3;Fn=Yn.w(X,0)?0<W?Fn-Z:Fn+Z:ge*((on=(0>X?-1:1)*ye+Ve)-Ve)+st,this.Tj(),this.xe(v),this.jf(jt,nn),this.jf(on,Fn),this.xe(We),this.jd(0,this.getLinkPoint(t,i,r,!0,!1,c,h)),this.jd(3,this.getLinkPoint(c,h,e,!1,!1,t,i))}else r=this.getLinkPoint(t,i,r,!0,!1,c,h),e=this.getLinkPoint(c,h,e,!1,!1,t,i),this.hasCurviness()?(We=e.x-r.x,c=e.y-r.y,h=this.computeCurviness(),v=t=r.x+We/2,W=i=r.y+c/2,Yn.w(c,0)?W=0<We?W-h:W+h:(We=-We/c,v=Math.sqrt(h*h/(We*We+1)),0>h&&(v=-v),W=We*((v=(0>c?-1:1)*v+t)-t)+i),this.xe(r),this.jf(v,W)):this.xe(r),this.xe(e)}else{ye=this.isAvoiding,We&&(ge&&ye||Z)&&this.Tj();var Gn=Z?this.computeCurviness():0;ye=this.getLinkPoint(t,i,r,!0,ge,c,h),Ve=jt=st=0,(ge||!W||Z)&&(nn=this.computeEndSegmentLength(t,i,r,!0),Ve=this.getLinkDirection(t,i,ye,r,!0,ge,c,h),Z&&(W||r.A(e)||!ge&&r.x+e.x===1&&r.y+e.y===1)&&(Ve-=ge?90:30,0>Gn&&(Ve-=180)),0>Ve?Ve+=360:360<=Ve&&(Ve-=360),Z&&(nn+=Math.abs(Gn)*(ge?1:2)),0===Ve?st=nn:90===Ve?jt=nn:180===Ve?st=-nn:270===Ve?jt=-nn:(st=nn*Math.cos(Ve*Math.PI/180),jt=nn*Math.sin(Ve*Math.PI/180)),r.jc()&&Z&&(nn=i.ma(Jt,Ze.alloc()),on=Ze.allocAt(nn.x+1e3*st,nn.y+1e3*jt),this.getLinkPointFromPoint(t,i,nn,on,!0,ye),Ze.free(nn),Ze.free(on))),nn=this.getLinkPoint(c,h,e,!1,ge,t,i);var hi=Fn=on=0;if(ge||!X||Z){var gi=this.computeEndSegmentLength(c,h,e,!1);hi=this.getLinkDirection(c,h,nn,e,!1,ge,t,i),Z&&(X||r.A(e)||!ge&&r.x+e.x===1&&r.y+e.y===1)&&(hi+=ge?0:30,0>Gn&&(hi+=180)),0>hi?hi+=360:360<=hi&&(hi-=360),Z&&(gi+=Math.abs(Gn)*(ge?1:2)),0===hi?on=gi:90===hi?Fn=gi:180===hi?on=-gi:270===hi?Fn=-gi:(on=gi*Math.cos(hi*Math.PI/180),Fn=gi*Math.sin(hi*Math.PI/180)),e.jc()&&Z&&(e=h.ma(Jt,Ze.alloc()),r=Ze.allocAt(e.x+1e3*on,e.y+1e3*Fn),this.getLinkPointFromPoint(c,h,e,r,!1,nn),Ze.free(e),Ze.free(r))}e=ye,(ge||!W||Z)&&(e=new Ze(ye.x+st,ye.y+jt)),r=nn,(ge||!X||Z)&&(r=new Ze(nn.x+on,nn.y+Fn)),!We&&!ge&&W&&3<v&&this.adjustPoints(0,ye,v-2,r)?this.jd(v-1,nn):!We&&!ge&&X&&3<v&&this.adjustPoints(1,e,v-1,nn)?this.jd(0,ye):!We&&(ge?6<=v:4<v)&&this.adjustPoints(1,e,v-2,r)?(this.jd(0,ye),this.jd(v-1,nn)):(this.Tj(),this.xe(ye),(ge||!W||Z)&&this.xe(e),ge&&this.addOrthoPoints(e,Ve,r,hi,t,c),(ge||!X||Z)&&this.xe(r),this.xe(nn))}return!0},Zt.prototype.getLinkPointFromPoint=function(e,t,i,r,c,h){if(void 0===h&&(h=new Ze),null===e||null===t)return h.assign(i),h;if(e.isVisible()||null!==(c=e.findVisibleNode())&&c!==e&&(t=c.port),e=null,null===(c=t.panel)||c.Zd()||(c=c.panel),null===c){c=r.x,r=r.y;var v=i.x;i=i.y}else{var W=-(e=c.rd).m12*(c=1/(e.m11*e.m22-e.m12*e.m21)),X=-e.m21*c,Z=e.m11*c,ge=c*(e.m21*e.dy-e.m22*e.dx),ye=c*(e.m12*e.dx-e.m11*e.dy);c=r.x*(v=e.m22*c)+r.y*X+ge,r=r.x*W+r.y*Z+ye,v=i.x*v+i.y*X+ge,i=i.x*W+i.y*Z+ye}return t.bk(c,r,v,i,h),null!==e&&h.transform(e),h},Zt.prototype.getLinkPoint=function(e,t,i,r,c,h,v,W){if(void 0===W&&(W=new Ze),i.gb()&&!Ts(i))return t.ma(i,W),W;if(i.qf()){var X=Es(this,t);if(null!==X){if(W.assign(X.cq),c&&this.routing===il){var Z=Es(this,v);if(null!==Z&&X.Wl<Z.Wl){X=Ze.alloc(),Z=Ze.alloc();var ge=new sn(t.ma(ut,X),t.ma(Ot,Z)),ye=this.computeSpot(!r,v);e=this.getLinkPoint(h,v,ye,!r,c,e,t,Z),(i.pf(Jn)||i.pf(Oi))&&e.y>=ge.y&&e.y<=ge.y+ge.height?W.y=e.y:(i.pf(rn)||i.pf(Ci))&&e.x>=ge.x&&e.x<=ge.x+ge.width&&(W.x=e.x),Ze.free(X),Ze.free(Z)}}return W}}return i=t.ma(.5===i.x&&.5===i.y?i:Jt,Ze.alloc()),this.pointsCount>(c?6:2)?(v=this.i(r?1:this.pointsCount-2),c&&(v=Cs(i,v.copy()))):(X=this.computeSpot(!r,v),h=Ze.alloc(),v=v.ma(.5===X.x&&.5===X.y?X:Jt,h),c&&(v=Cs(i,v)),Ze.free(h)),this.getLinkPointFromPoint(e,t,i,v,r,W),Ze.free(i),W},Zt.prototype.getLinkDirection=function(e,t,i,r,c,h,v,W){e:if(r.gb())var X=r.x>r.y?r.x>1-r.y?0:r.x<1-r.y?270:315:r.x<r.y?r.x>1-r.y?90:r.x<1-r.y?180:135:.5>r.x?225:.5<r.x?45:0;else{if(r.qf()&&null!==(X=Es(this,t)))switch(X.yc){case 1:X=270;break e;case 2:X=180;break e;default:case 4:X=0;break e;case 8:X=90;break e}X=t.ma(Jt,Ze.alloc()),this.pointsCount>(h?6:2)?(W=this.i(c?1:this.pointsCount-2),W=h?Cs(X,W.copy()):i):(i=Ze.alloc(),W=W.ma(Jt,i),Ze.free(i)),i=Math.abs(W.x-X.x)>Math.abs(W.y-X.y)?W.x>=X.x?0:180:W.y>=X.y?90:270,Ze.free(X),X=i}return r.jc()&&v.Vd(e)&&360<=(X+=180)&&(X-=360),Ts(r)||0===(e=t.Ji())||(45<=e&&135>e?X+=90:135<=e&&225>e?X+=180:225<=e&&315>e&&(X+=270),360<=X&&(X-=360)),X},Zt.prototype.computeEndSegmentLength=function(e,t,i,r){return null!==t&&i.qf()&&null!==(e=Es(this,t))?e.Tu:(e=r?this.fromEndSegmentLength:this.toEndSegmentLength,null!==t&&isNaN(e)&&(e=r?t.fromEndSegmentLength:t.toEndSegmentLength),isNaN(e)&&(e=10),e)},Zt.prototype.computeSpot=function(e,t){return void 0===t&&(t=null),e?null===(e=t||this.fromPort)?e=Jt:((t=this.fromSpot).Kb()&&(t=e.fromSpot),e=t===wo?Cn:t):null===(e=t||this.toPort)?e=Jt:((t=this.toSpot).Kb()&&(t=e.toSpot),e=t===wo?Cn:t),e},Zt.prototype.computeOtherPoint=function(e,t){return e=t.ma(Jt),null!==(t=null!==(t=t.Po)?Uu(t,this):null)&&(e=t.cq),e},Zt.prototype.computeShortLength=function(e){if(e){if(e=this.fromShortLength,isNaN(e)){var t=this.fromPort;null!==t&&(e=t.fromShortLength)}return isNaN(e)?0:e}return e=this.toShortLength,isNaN(e)&&null!==(t=this.toPort)&&(e=t.toShortLength),isNaN(e)?0:e},Zt.prototype.mg=function(e,t,i,r,c,h){if(!1===this.pickable)return!1;void 0===t&&(t=null),void 0===i&&(i=null);var v=h;if(void 0===h&&(v=mi.alloc()).reset(),v.multiply(this.transform),this.uh(e,v))return Bh(this,t,i,c),void 0===h&&mi.free(v),!0;if(this.Ic(e,v)){var W=!1;if(!this.isAtomic)for(var X=this.Y.j,Z=X.length;Z--;){var ge=X[Z];if(ge.visible||ge===this.locationObject){var ye=ge.actualBounds,We=this.naturalBounds;if(!(ye.x>We.width||ye.y>We.height||0>ye.x+ye.width||0>ye.y+ye.height)){if((ye=mi.alloc()).set(v),ge instanceof Vi)W=ge.mg(e,t,i,r,c,ye);else if(this.path===ge){if(ge instanceof io)if(W=e,We=r,!1===ge.pickable)W=!1;else if(ye.multiply(ge.transform),We)e:{var Ve=W,st=ye;if(ge.uh(Ve,st))W=!0;else{if(void 0===st&&(st=ge.transform,Ve.lf(ge.actualBounds))){W=!0;break e}W=Ve.left,We=Ve.right;var jt=Ve.top;Ve=Ve.bottom;var nn=Ze.alloc(),on=Ze.alloc(),Fn=Ze.alloc(),Gn=mi.alloc();Gn.set(st),Gn.nv(ge.transform),Gn.bt(),on.x=We,on.y=jt,on.transform(Gn),nn.x=W,nn.y=jt,nn.transform(Gn),st=!1,Wu(ge,nn,on,Fn)?st=!0:(nn.x=We,nn.y=Ve,nn.transform(Gn),Wu(ge,nn,on,Fn)?st=!0:(on.x=W,on.y=Ve,on.transform(Gn),Wu(ge,nn,on,Fn)?st=!0:(nn.x=W,nn.y=jt,nn.transform(Gn),Wu(ge,nn,on,Fn)&&(st=!0)))),mi.free(Gn),Ze.free(nn),Ze.free(on),Ze.free(Fn),W=st}}else W=ge.uh(W,ye)}else W=ml(ge,e,r,ye);W&&(We=ge,null!==t&&(We=t(ge)),We&&(null===i||i(We))&&c.add(We)),mi.free(ye)}}}return void 0===h&&mi.free(v),W||null!==this.background||null!==this.areaBackground}return void 0===h&&mi.free(v),!1},Zt.prototype.computeCurve=function(){if(null===this.Gf){var e=this.fromPort;this.Gf=null!==e&&e===this.toPort&&!this.isOrthogonal}return this.Gf?lc:this.curve},Zt.prototype.computeCorner=function(){if(this.curve===lc)return 0;var e=this.corner;return(isNaN(e)||0>e)&&(e=10),e},Zt.prototype.findMidLabel=function(){for(var e=this.path,t=this.Y.j,i=t.length,r=0;r<i;r++){var c=t[r];if(c!==e&&!c.isPanelMain&&(c.segmentIndex===-1/0||isNaN(c.segmentIndex)))return c}for(e=this.labelNodes;e.next();)if((t=e.value).segmentIndex===-1/0||isNaN(t.segmentIndex))return t;return null},Zt.prototype.computeSpacing=function(){if(!this.isVisible())return 0;var e=Math.max(14,this.computeThickness()),t=this.fromPort,i=this.toPort;if(null!==t&&null!==i){var r=this.findMidLabel();if(null!==r){var c=r.naturalBounds,h=r.margin,v=isNaN(c.width)?30:c.width*r.scale+h.left+h.right;c=isNaN(c.height)?14:c.height*r.scale+h.top+h.bottom,(r=r.segmentOrientation)===Ym||r===Hl||r===Am?e=Math.max(e,c):r===vm||r===Su||r===ed||r===p1?e=Math.max(e,v):(t=t.ma(Jt).Wa(i.ma(Jt))/180*Math.PI,e=Math.max(e,Math.abs(Math.sin(t)*v)+Math.abs(Math.cos(t)*c)+1)),this.curve===lc&&(e*=1.333)}}return e},Zt.prototype.arrangeBundledLinks=function(e,t){if(t)for(t=0;t<e.length;t++){var i=e[t];i.adjusting===Ya&&i.Ra()}},Zt.prototype.computeCurviness=function(){var e=this.curviness;if(isNaN(e)){e=16;var t=this.xf;if(null!==t){for(var i=ie(),r=0,c=t.links,h=0;h<c.length;h++){var v=c[h].computeSpacing();i.push(v),r+=v}for(r=-r/2,h=0;h<c.length;h++){if(c[h]===this){e=r+i[h]/2;break}r+=i[h]}t.jt===this.fromNode&&(e=-e),ne(i)}}return e},Zt.prototype.computeThickness=function(){if(!this.isVisible())return 0;var e=this.path;return null!==e?Math.max(e.strokeWidth,1):1},Zt.prototype.hasCurviness=function(){return!isNaN(this.curviness)||null!==this.xf},Zt.prototype.adjustPoints=function(e,t,i,r){var c=this.adjusting;if(this.isOrthogonal){if(c===n0)return!1;c===$h&&(c=Tl)}switch(c){case n0:var h=this.i(e),v=this.i(i);if(!h.Qa(t)||!v.Qa(r)){var W=v.x-(c=h.x),X=v.y-(h=h.y),Z=Math.sqrt(W*W+X*X);if(!Yn.ca(Z,0)){if(Yn.ca(W,0))var ge=0>X?-Math.PI/2:Math.PI/2;else ge=Math.atan(X/Math.abs(W)),0>W&&(ge=Math.PI-ge);var ye=t.y;W=r.x-(v=t.x);var We=r.y-ye;for(X=Math.sqrt(W*W+We*We),Yn.ca(W,0)?We=0>We?-Math.PI/2:Math.PI/2:(We=Math.atan(We/Math.abs(W)),0>W&&(We=Math.PI-We)),Z=X/Z,ge=We-ge,this.jd(e,t),e+=1;e<i;e++)W=(t=this.i(e)).x-c,X=t.y-h,t=Math.sqrt(W*W+X*X),Yn.ca(t,0)||(Yn.ca(W,0)?X=0>X?-Math.PI/2:Math.PI/2:(X=Math.atan(X/Math.abs(W)),0>W&&(X=Math.PI-X)),W=X+ge,this.M(e,v+(t*=Z)*Math.cos(W),ye+t*Math.sin(W)));this.jd(i,r)}}return!0;case $h:if(h=this.i(e),ye=this.i(i),!h.Qa(t)||!ye.Qa(r)){Z=((v=ye.x)-(c=h.x))*(v-c)+((ye=ye.y)-(h=h.y))*(ye-h),ge=t.y,We=r.y;var Ve=1;if((X=r.x)-(W=t.x)!=0){var st=(We-ge)/(X-W);Ve=Math.sqrt(1+1/(st*st))}else st=9e9;for(this.jd(e,t),e+=1;e<i;e++){var jt=(t=this.i(e)).x,nn=t.y,on=.5;0!==Z&&(on=((c-jt)*(c-v)+(h-nn)*(h-ye))/Z);var Fn=c+on*(v-c),Gn=h+on*(ye-h);t=Math.sqrt((jt-Fn)*(jt-Fn)+(nn-Gn)*(nn-Gn)),nn<st*(jt-Fn)+Gn&&(t=-t),0<st&&(t=-t),jt=W+on*(X-W),on=ge+on*(We-ge),0!==st?this.M(e,t=jt+t/Ve,on-(t-jt)/st):this.M(e,jt,on+t)}this.jd(i,r)}return!0;case Tl:return this.isOrthogonal&&(c=this.i(e),h=this.i(e+1),v=this.i(e+2),ye=W=h.x,Z=ge=h.y,Yn.w(c.y,h.y)?Yn.w(h.x,v.x)?ge=t.y:Yn.w(h.y,v.y)&&(W=t.x):Yn.w(c.x,h.x)&&(Yn.w(h.y,v.y)?W=t.x:Yn.w(h.x,v.x)&&(ge=t.y)),this.M(e+1,W,ge),c=this.i(i),h=this.i(i-1),v=this.i(i-2),X=W=h.x,We=ge=h.y,Yn.w(c.y,h.y)?Yn.w(h.x,v.x)?ge=r.y:Yn.w(h.y,v.y)&&(W=r.x):Yn.w(c.x,h.x)&&(Yn.w(h.y,v.y)?W=r.x:Yn.w(h.x,v.x)&&(ge=r.y)),this.M(i-1,W,ge),xs(this))?(this.M(e+1,ye,Z),this.M(i-1,X,We),i=!1):(this.jd(e,t),this.jd(i,r),i=!0),i;default:return!1}},Zt.prototype.addOrthoPoints=function(e,t,i,r,c,h){t=-45<=t&&45>t?0:45<=t&&135>t?90:135<=t&&225>t?180:270,r=-45<=r&&45>r?0:45<=r&&135>r?90:135<=r&&225>r?180:270;var v=c.actualBounds.copy(),W=h.actualBounds.copy();if(v.o()&&W.o()){if(v.Uc(8,8),W.Uc(8,8),v.Ie(e),W.Ie(i),0===t)if(i.x>e.x||270===r&&i.y<e.y&&W.right>e.x||90===r&&i.y>e.y&&W.right>e.x){var X=new Ze(i.x,e.y),Z=new Ze(i.x,(e.y+i.y)/2);180===r?(X.x=this.computeMidOrthoPosition(e.x,e.y,i.x,i.y,!1),Z.x=X.x,Z.y=i.y):270===r&&i.y<e.y||90===r&&i.y>e.y?(X.x=e.x<W.left?this.computeMidOrthoPosition(e.x,e.y,W.left,i.y,!1):e.x<W.right&&(270===r&&e.y<W.top||90===r&&e.y>W.bottom)?this.computeMidOrthoPosition(e.x,e.y,i.x,i.y,!1):W.right,Z.x=X.x,Z.y=i.y):0===r&&e.x<W.left&&e.y>W.top&&e.y<W.bottom&&(X.x=e.x,X.y=e.y<i.y?Math.min(i.y,W.top):Math.max(i.y,W.bottom),Z.y=X.y)}else X=new Ze(e.x,i.y),Z=new Ze((e.x+i.x)/2,i.y),(180===r||90===r&&i.y<v.top||270===r&&i.y>v.bottom)&&(180===r&&(W.ea(e)||v.ea(i))?X.y=this.computeMidOrthoPosition(e.x,e.y,i.x,i.y,!0):i.y<e.y&&(180===r||90===r)?X.y=this.computeMidOrthoPosition(e.x,v.top,i.x,Math.max(i.y,W.bottom),!0):i.y>e.y&&(180===r||270===r)&&(X.y=this.computeMidOrthoPosition(e.x,v.bottom,i.x,Math.min(i.y,W.top),!0)),Z.x=i.x,Z.y=X.y),X.y>v.top&&X.y<v.bottom&&(i.x>=v.left&&i.x<=e.x||e.x<=W.right&&e.x>=i.x?(90===r||270===r)&&(X=new Ze(Math.max((e.x+i.x)/2,e.x),e.y),Z=new Ze(X.x,i.y)):(X.y=270===r||(0===r||180===r)&&i.y<e.y?Math.min(i.y,0===r?v.top:Math.min(v.top,W.top)):Math.max(i.y,0===r?v.bottom:Math.max(v.bottom,W.bottom)),Z.x=i.x,Z.y=X.y));else 180===t?i.x<e.x||270===r&&i.y<e.y&&W.left<e.x||90===r&&i.y>e.y&&W.left<e.x?(X=new Ze(i.x,e.y),Z=new Ze(i.x,(e.y+i.y)/2),0===r?(X.x=this.computeMidOrthoPosition(e.x,e.y,i.x,i.y,!1),Z.x=X.x,Z.y=i.y):270===r&&i.y<e.y||90===r&&i.y>e.y?(X.x=e.x>W.right?this.computeMidOrthoPosition(e.x,e.y,W.right,i.y,!1):e.x>W.left&&(270===r&&e.y<W.top||90===r&&e.y>W.bottom)?this.computeMidOrthoPosition(e.x,e.y,i.x,i.y,!1):W.left,Z.x=X.x,Z.y=i.y):180===r&&e.x>W.right&&e.y>W.top&&e.y<W.bottom&&(X.x=e.x,X.y=e.y<i.y?Math.min(i.y,W.top):Math.max(i.y,W.bottom),Z.y=X.y)):(X=new Ze(e.x,i.y),Z=new Ze((e.x+i.x)/2,i.y),(0===r||90===r&&i.y<v.top||270===r&&i.y>v.bottom)&&(0===r&&(W.ea(e)||v.ea(i))?X.y=this.computeMidOrthoPosition(e.x,e.y,i.x,i.y,!0):i.y<e.y&&(0===r||90===r)?X.y=this.computeMidOrthoPosition(e.x,v.top,i.x,Math.max(i.y,W.bottom),!0):i.y>e.y&&(0===r||270===r)&&(X.y=this.computeMidOrthoPosition(e.x,v.bottom,i.x,Math.min(i.y,W.top),!0)),Z.x=i.x,Z.y=X.y),X.y>v.top&&X.y<v.bottom&&(i.x<=v.right&&i.x>=e.x||e.x>=W.left&&e.x<=i.x?(90===r||270===r)&&(X=new Ze(Math.min((e.x+i.x)/2,e.x),e.y),Z=new Ze(X.x,i.y)):(X.y=270===r||(0===r||180===r)&&i.y<e.y?Math.min(i.y,180===r?v.top:Math.min(v.top,W.top)):Math.max(i.y,180===r?v.bottom:Math.max(v.bottom,W.bottom)),Z.x=i.x,Z.y=X.y))):90===t?i.y>e.y||180===r&&i.x<e.x&&W.bottom>e.y||0===r&&i.x>e.x&&W.bottom>e.y?(X=new Ze(e.x,i.y),Z=new Ze((e.x+i.x)/2,i.y),270===r?(X.y=this.computeMidOrthoPosition(e.x,e.y,i.x,i.y,!0),Z.x=i.x,Z.y=X.y):180===r&&i.x<e.x||0===r&&i.x>e.x?(X.y=e.y<W.top?this.computeMidOrthoPosition(e.x,e.y,i.x,W.top,!0):e.y<W.bottom&&(180===r&&e.x<W.left||0===r&&e.x>W.right)?this.computeMidOrthoPosition(e.x,e.y,i.x,i.y,!0):W.bottom,Z.x=i.x,Z.y=X.y):90===r&&e.y<W.top&&e.x>W.left&&e.x<W.right&&(X.x=e.x<i.x?Math.min(i.x,W.left):Math.max(i.x,W.right),X.y=e.y,Z.x=X.x)):(X=new Ze(i.x,e.y),Z=new Ze(i.x,(e.y+i.y)/2),(270===r||0===r&&i.x<v.left||180===r&&i.x>v.right)&&(270===r&&(W.ea(e)||v.ea(i))?X.x=this.computeMidOrthoPosition(e.x,e.y,i.x,i.y,!1):i.x<e.x&&(270===r||0===r)?X.x=this.computeMidOrthoPosition(v.left,e.y,Math.max(i.x,W.right),i.y,!1):i.x>e.x&&(270===r||180===r)&&(X.x=this.computeMidOrthoPosition(v.right,e.y,Math.min(i.x,W.left),i.y,!1)),Z.x=X.x,Z.y=i.y),X.x>v.left&&X.x<v.right&&(i.y>=v.top&&i.y<=e.y||e.y<=W.bottom&&e.y>=i.y?(0===r||180===r)&&(X=new Ze(e.x,Math.max((e.y+i.y)/2,e.y)),Z=new Ze(i.x,X.y)):(X.x=180===r||(90===r||270===r)&&i.x<e.x?Math.min(i.x,90===r?v.left:Math.min(v.left,W.left)):Math.max(i.x,90===r?v.right:Math.max(v.right,W.right)),Z.x=X.x,Z.y=i.y))):i.y<e.y||180===r&&i.x<e.x&&W.top<e.y||0===r&&i.x>e.x&&W.top<e.y?(X=new Ze(e.x,i.y),Z=new Ze((e.x+i.x)/2,i.y),90===r?(X.y=this.computeMidOrthoPosition(e.x,e.y,i.x,i.y,!0),Z.x=i.x,Z.y=X.y):180===r&&i.x<e.x||0===r&&i.x>=e.x?(X.y=e.y>W.bottom?this.computeMidOrthoPosition(e.x,e.y,i.x,W.bottom,!0):e.y>W.top&&(180===r&&e.x<W.left||0===r&&e.x>W.right)?this.computeMidOrthoPosition(e.x,e.y,i.x,i.y,!0):W.top,Z.x=i.x,Z.y=X.y):270===r&&e.y>W.bottom&&e.x>W.left&&e.x<W.right&&(X.x=e.x<i.x?Math.min(i.x,W.left):Math.max(i.x,W.right),X.y=e.y,Z.x=X.x)):(X=new Ze(i.x,e.y),Z=new Ze(i.x,(e.y+i.y)/2),(90===r||0===r&&i.x<v.left||180===r&&i.x>v.right)&&(90===r&&(W.ea(e)||v.ea(i))?X.x=this.computeMidOrthoPosition(e.x,e.y,i.x,i.y,!1):i.x<e.x&&(90===r||0===r)?X.x=this.computeMidOrthoPosition(v.left,e.y,Math.max(i.x,W.right),i.y,!1):i.x>e.x&&(90===r||180===r)&&(X.x=this.computeMidOrthoPosition(v.right,e.y,Math.min(i.x,W.left),i.y,!1)),Z.x=X.x,Z.y=i.y),X.x>v.left&&X.x<v.right&&(i.y<=v.bottom&&i.y>=e.y||e.y>=W.top&&e.y<=i.y?(0===r||180===r)&&(X=new Ze(e.x,Math.min((e.y+i.y)/2,e.y)),Z=new Ze(i.x,X.y)):(X.x=180===r||(90===r||270===r)&&i.x<e.x?Math.min(i.x,270===r?v.left:Math.min(v.left,W.left)):Math.max(i.x,270===r?v.right:Math.max(v.right,W.right)),Z.x=X.x,Z.y=i.y)));var ge=X,ye=Z,We=i;if(this.isAvoiding){var Ve=this.diagram;if(null===Ve||!fn(Ve)||v.ea(We)&&!h.Vd(c)||W.ea(e)&&!c.Vd(h)||c===h||this.layer.isTemporary)t=!1;else{var st=ti(Ve,!0,this.containingGroup,null);if(st.ek(Math.min(e.x,ge.x),Math.min(e.y,ge.y),Math.abs(e.x-ge.x),Math.abs(e.y-ge.y))&&st.ek(Math.min(ge.x,ye.x),Math.min(ge.y,ye.y),Math.abs(ge.x-ye.x),Math.abs(ge.y-ye.y))&&st.ek(Math.min(ye.x,We.x),Math.min(ye.y,We.y),Math.abs(ye.x-We.x),Math.abs(ye.y-We.y)))t=!1;else{c=e,h=We;var jt=i=null;if(Ve.isVirtualized){(Ve=st.bounds.copy()).Uc(-st.Ul,-st.Tl);var nn=Ze.alloc();Sp(st,e.x,e.y)||(Yn.Tc(Ve.x,Ve.y,Ve.x+Ve.width,Ve.y+Ve.height,e.x,e.y,ge.x,ge.y,nn)?(i=e=nn.copy(),t=nn.Wa(ge)):Yn.Tc(Ve.x,Ve.y,Ve.x+Ve.width,Ve.y+Ve.height,ge.x,ge.y,ye.x,ye.y,nn)?(i=e=nn.copy(),t=nn.Wa(ye)):Yn.Tc(Ve.x,Ve.y,Ve.x+Ve.width,Ve.y+Ve.height,ye.x,ye.y,We.x,We.y,nn)&&(i=e=nn.copy(),t=nn.Wa(We))),Sp(st,We.x,We.y)||(Yn.Tc(Ve.x,Ve.y,Ve.x+Ve.width,Ve.y+Ve.height,We.x,We.y,ye.x,ye.y,nn)?(jt=We=nn.copy(),r=ye.Wa(nn)):Yn.Tc(Ve.x,Ve.y,Ve.x+Ve.width,Ve.y+Ve.height,ye.x,ye.y,ge.x,ge.y,nn)?(jt=We=nn.copy(),r=ge.Wa(nn)):Yn.Tc(Ve.x,Ve.y,Ve.x+Ve.width,Ve.y+Ve.height,ge.x,ge.y,e.x,e.y,nn)&&(jt=We=nn.copy(),r=e.Wa(nn))),Ze.free(nn)}(v=v.copy().Jc(W)).Uc(st.Ul*(W=st.Tz),st.Tl*W),Hf(st,e,t,We,r,v),W=vh(st,We.x,We.y),!st.abort&&W>=Md&&(Vf(st),v.Uc(st.Ul*(W=st.xz),st.Tl*W),Hf(st,e,t,We,r,v),W=vh(st,We.x,We.y)),!st.abort&&W>=Md&&st.Zz&&(Vf(st),Hf(st,e,t,We,r,st.bounds),W=vh(st,We.x,We.y)),!st.abort&&W<Md&&vh(st,We.x,We.y)!==ep?(Gs(this,st,We.x,We.y,r,!0),v=this.i(2),4>this.pointsCount?(0===t||180===t?(v.x=e.x,v.y=We.y):(v.x=We.x,v.y=e.y),this.M(2,v.x,v.y),this.m(3,v.x,v.y)):(We=this.i(3),0===t||180===t?Yn.w(v.x,We.x)?(v=0===t?Math.max(v.x,e.x):Math.min(v.x,e.x),this.M(2,v,e.y),this.M(3,v,We.y)):Yn.w(v.y,We.y)?(Math.abs(e.y-v.y)<=st.Tl/2&&(this.M(2,v.x,e.y),this.M(3,We.x,e.y)),this.m(2,v.x,e.y)):this.M(2,e.x,v.y):(90===t||270===t)&&(Yn.w(v.y,We.y)?(v=90===t?Math.max(v.y,e.y):Math.min(v.y,e.y),this.M(2,e.x,v),this.M(3,We.x,v)):Yn.w(v.x,We.x)?(Math.abs(e.x-v.x)<=st.Ul/2&&(this.M(2,e.x,v.y),this.M(3,e.x,We.y)),this.m(2,e.x,v.y)):this.M(2,v.x,e.y))),null!==i&&(e=this.i(1),We=this.i(2),e.x!==We.x&&e.y!==We.y?0===t||180===t?this.m(2,e.x,We.y):this.m(2,We.x,e.y):0===t||180===t?this.m(2,c.x,i.y):this.m(2,i.x,c.y)),null!==jt&&(0===r||180===r?this.jf(h.x,jt.y):this.jf(jt.x,h.y)),t=!0):t=!1}}}else t=!1;t||(this.xe(X),this.xe(Z))}},Zt.prototype.computeMidOrthoPosition=function(e,t,i,r,c){var h=0;return this.hasCurviness()&&(h=this.computeCurviness()),c?(t+r)/2+h:(e+i)/2+h},Zt.prototype.Iy=function(e){var t=e.x;e=e.y;for(var i=this.i(0),r=this.i(1),c=Di(t,e,i.x,i.y,r.x,r.y),h=0,v=1;v<this.pointsCount-1;v++){i=this.i(v+1);var W=Di(t,e,r.x,r.y,i.x,i.y);r=i,W<c&&(h=v,c=W)}return h},Zt.prototype.bc=function(){this.Qn=!0},Zt.prototype.gk=function(e){if((e||!1!==this.Lc&&(e=this.zb(),this.Qn||null!==e&&null===e.geometry))&&(this.qa=this.makeGeometry(),null!==(e=this.path))){e.qa=this.qa;for(var t=this.Y.j,i=t.length,r=0;r<i;r++){var c=t[r];c!==e&&c.isPanelMain&&c instanceof io&&(c.qa=this.qa)}}},Zt.prototype.makeGeometry=function(){var e=this.qa,t=this.pointsCount;if(2>t)return e.type=Wa,this.Qn=!1,e;var i=!1,r=this.diagram;null!==r&&Or(this)&&r.Wh.contains(this)&&(0!==this.xl.width||0!==this.xl.height)&&(i=!0);var c=this.i(0).copy(),h=c.copy();r=this.xb.j;var v=this.computeCurve();if(v===lc&&3<=t&&!Yn.ca(this.smoothness,0))if(3===t){var W=this.i(1);r=Math.min(c.x,W.x);var X=Math.min(c.y,W.y);W=this.i(2),r=Math.min(r,W.x),X=Math.min(X,W.y)}else{if(this.isOrthogonal)for(X=0;X<t;X++)W=r[X],h.x=Math.min(W.x,h.x),h.y=Math.min(W.y,h.y);else for(r=3;r<t;r+=3)r+3>=t&&(r=t-1),X=this.i(r),h.x=Math.min(X.x,h.x),h.y=Math.min(X.y,h.y);r=h.x,X=h.y}else{for(X=0;X<t;X++)W=r[X],h.x=Math.min(W.x,h.x),h.y=Math.min(W.y,h.y);r=h.x,X=h.y}if(X-=this.zu.y,c.x-=r-=this.zu.x,c.y-=X,2!==t||Or(this)){if(e.type=Tr,W=Up(e),0!==this.computeShortLength(!0)&&(c=gs(this,c,!0,h)),Kc(W,c.x,c.y,!1),v===lc&&3<=t&&!Yn.ca(this.smoothness,0))if(3===t)t=(i=this.i(1)).x-r,i=i.y-X,(c=this.i(2).copy()).x-=r,c.y-=X,0!==this.computeShortLength(!1)&&(c=gs(this,c,!1,h)),ac(W,t,i,t,i,c.x,c.y);else if(this.isOrthogonal){h=new Ze(r,X),c=this.i(1).copy(),v=new Ze(r,X),t=new Ze(r,X),i=this.i(0);for(var Z,ge=this.smoothness/3,ye=1;ye<this.pointsCount-1;ye++){var We=i,Ve=Z=this.i(ye),st=this.i(oo(this,Z,ye,!1));if(!(Yn.ca(We.x,Ve.x)&&Yn.ca(Ve.x,st.x)||Yn.ca(We.y,Ve.y)&&Yn.ca(Ve.y,st.y))){var jt=ge;isNaN(jt)&&(jt=this.smoothness/3);var nn=We.x,on=Ve.x,Fn=st.x;st=st.y;var Gn=jt*no(nn,We=We.y,on,Ve=Ve.y);jt*=no(on,Ve,Fn,st),Yn.ca(We,Ve)&&Yn.ca(on,Fn)&&(on>nn?st>Ve?(v.x=on-Gn,v.y=Ve-Gn,t.x=on+jt,t.y=Ve+jt):(v.x=on-Gn,v.y=Ve+Gn,t.x=on+jt,t.y=Ve-jt):st>Ve?(v.x=on+Gn,v.y=Ve-Gn,t.x=on-jt,t.y=Ve+jt):(v.x=on+Gn,v.y=Ve+Gn,t.x=on-jt,t.y=Ve-jt)),Yn.ca(nn,on)&&Yn.ca(Ve,st)&&(Ve>We?(Fn>on?(v.x=on-Gn,v.y=Ve-Gn,t.x=on+jt):(v.x=on+Gn,v.y=Ve-Gn,t.x=on-jt),t.y=Ve+jt):(Fn>on?(v.x=on-Gn,v.y=Ve+Gn,t.x=on+jt):(v.x=on+Gn,v.y=Ve+Gn,t.x=on-jt),t.y=Ve-jt)),(Yn.ca(nn,on)&&Yn.ca(on,Fn)||Yn.ca(We,Ve)&&Yn.ca(Ve,st))&&(We=.5*(We+st),v.x=nn=.5*(nn+Fn),v.y=We,t.x=nn,t.y=We),(1===ye||2===ye&&Yn.ca(i.x,this.i(0).x)&&Yn.ca(i.y,this.i(0).y))&&(c.x=.5*(i.x+Z.x),c.y=.5*(i.y+Z.y)),ac(W,c.x-r,c.y-X,v.x-r,v.y-X,Z.x-r,Z.y-X),h.set(v),c.set(t),i=Z}}h=i.x,i=i.y,c=this.i(this.pointsCount-1),0!==this.computeShortLength(!1)&&(c=gs(this,c.copy(),!1,Rn)),ac(W,t.x-r,t.y-X,(h=.5*(h+c.x))-r,(i=.5*(i+c.y))-X,c.x-r,c.y-X)}else for(i=3;i<t;i+=3)h=this.i(i-2),i+3>=t&&(i=t-1),c=this.i(i-1),v=this.i(i),i===t-1&&0!==this.computeShortLength(!1)&&(v=gs(this,v.copy(),!1,Rn)),ac(W,h.x-r,h.y-X,c.x-r,c.y-X,v.x-r,v.y-X);else{for((h=Ze.alloc()).assign(this.i(0)),v=1,c=0;v<t;){if(v=oo(this,h,v,1<v),ge=this.i(v),v>=t-1){if(h.A(ge)){if(0===c)for(v=1;v<t;)ko(this,W,-r,-X,h,ge=this.i(v++),i),h.assign(ge)}else 0!==this.computeShortLength(!1)&&(ge=gs(this,ge.copy(),!1,Rn)),ko(this,W,-r,-X,h,ge,i);break}c=oo(this,ge,v+1,v<t-3),v=-r,Z=-X,ye=this.i(c),nn=i,Yn.w(h.y,ge.y)&&Yn.w(ge.x,ye.x)?(We=this.computeCorner(),We=Math.min(We,Math.abs(ge.x-h.x)/2),We=jt=Math.min(We,Math.abs(ye.y-ge.y)/2),Yn.w(We,0)?(ko(this,W,v,Z,h,ge,nn),h.assign(ge)):(Fn=on=ge.x,st=Ve=ge.y,st=ye.y>ge.y?ge.y+jt:ge.y-jt,ko(this,W,v,Z,h,new Ze(on=ge.x>h.x?ge.x-We:ge.x+We,Ve),nn),$1(W,ge.x+v,ge.y+Z,Fn+v,st+Z),h.h(Fn,st))):Yn.w(h.x,ge.x)&&Yn.w(ge.y,ye.y)?(We=this.computeCorner(),We=Math.min(We,Math.abs(ge.y-h.y)/2),We=jt=Math.min(We,Math.abs(ye.x-ge.x)/2),Yn.w(jt,0)?(ko(this,W,v,Z,h,ge,nn),h.assign(ge)):(Fn=on=ge.x,st=Ve=ge.y,Fn=ye.x>ge.x?ge.x+jt:ge.x-jt,ko(this,W,v,Z,h,new Ze(on,Ve=ge.y>h.y?ge.y-We:ge.y+We),nn),$1(W,ge.x+v,ge.y+Z,Fn+v,st+Z),h.h(Fn,st))):(ko(this,W,v,Z,h,ge,nn),h.assign(ge)),v=c}Ze.free(h)}Pd=W}else(W=this.i(1).copy()).x-=r,W.y-=X,0!==this.computeShortLength(!0)&&(c=gs(this,c,!0,h)),0!==this.computeShortLength(!1)&&(W=gs(this,W,!1,h)),e.type=Wa,e.startX=c.x,e.startY=c.y,e.endX=W.x,e.endY=W.y;return this.Qn=!1,e},Zt.prototype.$p=function(e){var t=this.layer;if(null!==t&&t.visible&&!t.isTemporary){var i=t.diagram;if(null!==i&&!i.animationManager.isAnimating){var r=!1;for(i=i.layers;i.next();){var c=i.value;if(c.visible)if(c===t){r=!0;for(var h=!1,v=(c=c.Fa.j).length,W=0;W<v;W++){var X=c[W];X instanceof Zt&&(X===this?h=!0:h&&Fc(this,X,e))}}else if(r)for(c=(h=c.Fa.j).length,v=0;v<c;v++)(W=h[v])instanceof Zt&&Fc(this,W,e)}}}},Zt.prototype.usesSamePort=function(e){var t=this.pointsCount,i=e.pointsCount;if(0<t&&0<i){var r=this.i(0),c=e.i(0);if(r.Qa(c)||(t=this.i(t-1),e=e.i(i-1),t.Qa(e)||r.Qa(e)||t.Qa(c)))return!0}else if(this.fromNode===e.fromNode||this.toNode===e.toNode||this.fromNode===e.toNode||this.toNode===e.fromNode)return!0;return!1},Zt.prototype.isVisible=function(){if(!Os.prototype.isVisible.call(this))return!1;var e=this.containingGroup,t=!0,i=this.diagram;if(null!==i&&(t=i.isTreePathToChildren),null!==(i=this.fromNode)){if(this.isTreeLink&&t&&!i.isTreeExpanded)return!1;if(i===e)return!0;for(var r=i;null!==r;){if(r.labeledLink===this)return!0;r=r.containingGroup}if(null===(i=i.findVisibleNode())||i===e)return!1}if(null!==(i=this.toNode)){if(this.isTreeLink&&!t&&!i.isTreeExpanded)return!1;if(i===e)return!0;for(t=i;null!==t;){if(t.labeledLink===this)return!0;t=t.containingGroup}if(null===(t=i.findVisibleNode())||t===e)return!1}return!0},Zt.prototype.Mb=function(e){if(Os.prototype.Mb.call(this,e),null!==this.xf&&this.xf.cm(),null!==this.$c)for(var t=this.$c.iterator;t.next();)t.value.Mb(e)},Zt.prototype.zh=function(){return!0},I.Object.defineProperties(Zt.prototype,{fromNode:{get:function(){return this.Oe},set:function(e){var t=this.Oe;if(t!==e){var i=this.fromPort;null!==t&&(this.ef!==t&&yp(t,this,i),fo(this),this.B(2)),this.Oe=e,null!==e&&this.Mb(e.isVisible()),this.Gf=null,this.Ra();var r=this.diagram;null!==r&&r.partManager.setFromNodeForLink(this,e,t);var c=this.fromPort,h=this.fromPortChanged;if(null!==h){var v=!0;null!==r&&(v=r.da,r.da=!0),h(this,i,c),null!==r&&(r.da=v)}null!==e&&(this.ef!==e&&Ap(e,this,c),Vr(this),this.B(1)),this.g("fromNode",t,e),Mi(this)}}},fromPortId:{get:function(){return this.Pe},set:function(e){var t=this.Pe;if(t!==e){var i=this.fromPort;null!==i&&xc(this.fromNode,i),fo(this),this.Pe=e;var r=this.fromPort;null!==r&&xc(this.fromNode,r);var c=this.diagram;if(null!==c){var h=this.data,v=c.model;null!==h&&v.em()&&v.Hx(h,e)}i!==r&&(this.Gf=null,this.Ra(),null!==(h=this.fromPortChanged)&&(v=!0,null!==c&&(v=c.da,c.da=!0),h(this,i,r),null!==c&&(c.da=v))),Vr(this),this.g("fromPortId",t,e)}}},fromPort:{get:function(){var e=this.Oe;return null===e?null:e.Ts(this.Pe)}},fromPortChanged:{get:function(){return this.Fn},set:function(e){var t=this.Fn;t!==e&&(this.Fn=e,this.g("fromPortChanged",t,e))}},toNode:{get:function(){return this.ef},set:function(e){var t=this.ef;if(t!==e){var i=this.toPort;null!==t&&(this.Oe!==t&&yp(t,this,i),fo(this),this.B(2)),this.ef=e,null!==e&&this.Mb(e.isVisible()),this.Gf=null,this.Ra();var r=this.diagram;null!==r&&r.partManager.setToNodeForLink(this,e,t);var c=this.toPort,h=this.toPortChanged;if(null!==h){var v=!0;null!==r&&(v=r.da,r.da=!0),h(this,i,c),null!==r&&(r.da=v)}null!==e&&(this.Oe!==e&&Ap(e,this,c),Vr(this),this.B(1)),this.g("toNode",t,e),Mi(this)}}},toPortId:{get:function(){return this.ff},set:function(e){var t=this.ff;if(t!==e){var i=this.toPort;null!==i&&xc(this.toNode,i),fo(this),this.ff=e;var r=this.toPort;null!==r&&xc(this.toNode,r);var c=this.diagram;if(null!==c){var h=this.data,v=c.model;null!==h&&v.em()&&v.Lx(h,e)}i!==r&&(this.Gf=null,this.Ra(),null!==(h=this.toPortChanged)&&(v=!0,null!==c&&(v=c.da,c.da=!0),h(this,i,r),null!==c&&(c.da=v))),Vr(this),this.g("toPortId",t,e)}}},toPort:{get:function(){var e=this.ef;return null===e?null:e.Ts(this.ff)}},toPortChanged:{get:function(){return this.Bp},set:function(e){var t=this.Bp;t!==e&&(this.Bp=e,this.g("toPortChanged",t,e))}},fromSpot:{get:function(){return null!==this.P?this.P.Lg:wo},set:function(e){this.Hc();var t=this.P.Lg;t.A(e)||(e=e.I(),this.P.Lg=e,this.g("fromSpot",t,e),this.Ra())}},fromEndSegmentLength:{get:function(){return null!==this.P?this.P.Jg:NaN},set:function(e){this.Hc();var t=this.P.Jg;t!==e&&(0>e&&U(e,">= 0",Zt,"fromEndSegmentLength"),this.P.Jg=e,this.g("fromEndSegmentLength",t,e),this.Ra())}},fromShortLength:{get:function(){return null!==this.P?this.P.Kg:NaN},set:function(e){this.Hc();var t=this.P.Kg;t!==e&&(this.P.Kg=e,this.g("fromShortLength",t,e),this.Ra(),this.bc())}},toSpot:{get:function(){return null!==this.P?this.P.nh:wo},set:function(e){this.Hc();var t=this.P.nh;t.A(e)||(e=e.I(),this.P.nh=e,this.g("toSpot",t,e),this.Ra())}},toEndSegmentLength:{get:function(){return null!==this.P?this.P.lh:NaN},set:function(e){this.Hc();var t=this.P.lh;t!==e&&(0>e&&U(e,">= 0",Zt,"toEndSegmentLength"),this.P.lh=e,this.g("toEndSegmentLength",t,e),this.Ra())}},toShortLength:{get:function(){return null!==this.P?this.P.mh:NaN},set:function(e){this.Hc();var t=this.P.mh;t!==e&&(this.P.mh=e,this.g("toShortLength",t,e),this.Ra(),this.bc())}},isLabeledLink:{get:function(){return null!==this.$c&&0<this.$c.count}},labelNodes:{get:function(){return null===this.$c?Ct:this.$c.iterator}},relinkableFrom:{get:function(){return!!(1&this.Ta)},set:function(e){var t=!!(1&this.Ta);t!==e&&(this.Ta^=1,this.g("relinkableFrom",t,e),this.Jb())}},relinkableTo:{get:function(){return!!(2&this.Ta)},set:function(e){var t=!!(2&this.Ta);t!==e&&(this.Ta^=2,this.g("relinkableTo",t,e),this.Jb())}},resegmentable:{get:function(){return!!(4&this.Ta)},set:function(e){var t=!!(4&this.Ta);t!==e&&(this.Ta^=4,this.g("resegmentable",t,e),this.Jb())}},isTreeLink:{get:function(){return!!(8&this.Ta)},set:function(e){var t=!!(8&this.Ta);t!==e&&(this.Ta^=8,this.g("isTreeLink",t,e),null!==this.fromNode&&Oh(this.fromNode),null!==this.toNode&&Oh(this.toNode))}},path:{get:function(){var e=this.zb();return e instanceof io?e:null}},routeBounds:{get:function(){this.Yi();var e=this.xl,t=1/0,i=1/0,r=this.pointsCount;if(0===r)e.h(NaN,NaN,0,0);else{if(1===r)r=this.i(0),t=Math.min(r.x,t),i=Math.min(r.y,i),e.h(r.x,r.y,0,0);else if(2===r){r=this.i(0);var c=this.i(1);t=Math.min(r.x,c.x),i=Math.min(r.y,c.y),e.h(r.x,r.y,0,0),e.Ie(c)}else if(this.computeCurve()===lc&&3<=r&&!this.isOrthogonal)if(c=this.i(0),e.h(t=c.x,i=c.y,0,0),3===r){r=this.i(1),t=Math.min(r.x,t),i=Math.min(r.y,i);var h=this.i(2);t=Math.min(h.x,t),i=Math.min(h.y,i),Yn.Sl(c.x,c.y,r.x,r.y,r.x,r.y,h.x,h.y,.5,e)}else for(h=3;h<r;h+=3){var v=this.i(h-2);h+3>=r&&(h=r-1);var W=this.i(h-1),X=this.i(h);Yn.Sl(c.x,c.y,v.x,v.y,W.x,W.y,X.x,X.y,.5,e),t=Math.min(X.x,t),i=Math.min(X.y,i),c=X}else for(c=this.i(0),h=this.i(1),t=Math.min(c.x,h.x),i=Math.min(c.y,h.y),e.h(c.x,c.y,0,0),e.Ie(h),c=2;c<r;c++)h=this.i(c),t=Math.min(h.x,t),i=Math.min(h.y,i),e.Ie(h);this.zu.h(t-e.x,i-e.y)}return e}},midPoint:{get:function(){return this.Yi(),this.computeMidPoint(new Ze)}},midAngle:{get:function(){return this.Yi(),this.computeMidAngle()}},flattenedLengths:{get:function(){if(null===this.kr){this.Lc||hs(this);for(var e=this.kr=[],t=this.pointsCount,i=0;i<t-1;i++){var r=this.i(i),c=this.i(i+1);Yn.ca(r.x,c.x)?0>(r=c.y-r.y)&&(r=-r):Yn.ca(r.y,c.y)?0>(r=c.x-r.x)&&(r=-r):r=Math.sqrt(r.Be(c)),e.push(r)}}return this.kr}},flattenedTotalLength:{get:function(){var e=this.au;if(isNaN(e)){for(var t=this.flattenedLengths,i=t.length,r=e=0;r<i;r++)e+=t[r];this.au=e}return e}},points:{get:function(){return this.xb},set:function(e){var t=this.xb;if(t!==e){var i=null;if(Array.isArray(e)){var r=e.length%2==0;if(r)for(var c=0;c<e.length;c++)if("number"!=typeof e[c]||isNaN(e[c])){r=!1;break}if(r)for(i=new gt,r=0;r<e.length/2;r++)c=new Ze(e[2*r],e[2*r+1]).freeze(),i.add(c);else{for(r=!0,c=0;c<e.length;c++){var h=e[c];if(!x(h)||"number"!=typeof h.x||isNaN(h.x)||"number"!=typeof h.y||isNaN(h.y)){r=!1;break}}if(r)for(i=new gt,r=0;r<e.length;r++)i.add(new Ze((c=e[r]).x,c.y).freeze())}}else if(e instanceof gt)for(i=e.copy(),e=i.iterator;e.next();)e.value.freeze();else z("Link.points value is not an instance of List or Array: "+e);i.freeze(),this.xb=i,this.bc(),this.s(),hs(this),null!==(e=this.diagram)&&(e.Oi||e.undoManager.isUndoingRedoing||e.gt.add(this),e.animationManager.rb&&(this.bh=i)),this.g("points",t,i)}}},pointsCount:{get:function(){return this.xb.count}},Lc:{get:function(){return!!(16&this.Ta)},set:function(e){!!(16&this.Ta)!==e&&(this.Ta^=16)}},suspendsRouting:{get:function(){return!!(32&this.Ta)},set:function(e){!!(32&this.Ta)!==e&&(this.Ta^=32)}},Ou:{get:function(){return!!(64&this.Ta)},set:function(e){!!(64&this.Ta)!==e&&(this.Ta^=64)}},defaultFromPoint:{get:function(){return this.u},set:function(e){this.u=e.copy()}},defaultToPoint:{get:function(){return this.K},set:function(e){this.K=e.copy()}},isOrthogonal:{get:function(){return!(2&~this.Ej.value)}},isAvoiding:{get:function(){return!(4&~this.Ej.value)}},geometry:{get:function(){return this.Qn&&(this.Yi(),this.qa=this.makeGeometry()),this.qa}},firstPickIndex:{get:function(){return 2>=this.pointsCount?0:this.isOrthogonal||!Ts(this.computeSpot(!0))?1:0}},lastPickIndex:{get:function(){var e=this.pointsCount;return 0===e?0:2>=e?e-1:this.isOrthogonal||!Ts(this.computeSpot(!1))?e-2:e-1}},adjusting:{get:function(){return this.Lm},set:function(e){var t=this.Lm;t!==e&&(this.Lm=e,this.g("adjusting",t,e))}},corner:{get:function(){return this.gn},set:function(e){var t=this.gn;t!==e&&(this.gn=e,this.bc(),this.g("corner",t,e))}},curve:{get:function(){return this.kn},set:function(e){var t=this.kn;t!==e&&(this.kn=e,this.Ra(),this.bc(),x1(this,t===Oc||t===kl||e===Oc||e===kl),this.g("curve",t,e))}},curviness:{get:function(){return this.ln},set:function(e){var t=this.ln;t!==e&&(this.ln=e,this.Ra(),this.bc(),this.g("curviness",t,e))}},routing:{get:function(){return this.Ej},set:function(e){var t=this.Ej;t!==e&&(this.Ej=e,this.Gf=null,this.Ra(),x1(this,!(2&~t.value&&2&~e.value)),this.g("routing",t,e))}},smoothness:{get:function(){return this.pp},set:function(e){var t=this.pp;t!==e&&(this.pp=e,this.bc(),this.g("smoothness",t,e))}},key:{get:function(){var e=this.diagram;if(null!==e&&e.model.em())return e.model.ic(this.data)}}}),Zt.prototype.invalidateOtherJumpOvers=Zt.prototype.$p,Zt.prototype.findClosestSegment=Zt.prototype.Iy,Zt.prototype.updateRoute=Zt.prototype.Yi,Zt.prototype.invalidateRoute=Zt.prototype.Ra,Zt.prototype.rollbackRoute=Zt.prototype.Cx,Zt.prototype.commitRoute=Zt.prototype.kf,Zt.prototype.startRoute=Zt.prototype.Bh,Zt.prototype.clearPoints=Zt.prototype.Tj,Zt.prototype.removePoint=Zt.prototype.zv,Zt.prototype.addPointAt=Zt.prototype.jf,Zt.prototype.addPoint=Zt.prototype.xe,Zt.prototype.insertPointAt=Zt.prototype.m,Zt.prototype.insertPoint=Zt.prototype.oz,Zt.prototype.setPointAt=Zt.prototype.M,Zt.prototype.setPoint=Zt.prototype.jd,Zt.prototype.getPoint=Zt.prototype.i,Zt.prototype.getOtherPort=Zt.prototype.ez,Zt.prototype.getOtherNode=Zt.prototype.Xs;var y1=new Pe(Zt,"Normal",1),Ec=new Pe(Zt,"Orthogonal",2),nl=new Pe(Zt,"AvoidsNodes",6),il=new Pe(Zt,"AvoidsNodesStraight",7),Ya=new Pe(Zt,"None",0),lc=new Pe(Zt,"Bezier",9),Oc=new Pe(Zt,"JumpGap",10),kl=new Pe(Zt,"JumpOver",11),Tl=new Pe(Zt,"End",17),n0=new Pe(Zt,"Scale",18),$h=new Pe(Zt,"Stretch",19),Ym=new Pe(Zt,"OrientAlong",21),ed=new Pe(Zt,"OrientPlus90",22),vm=new Pe(Zt,"OrientMinus90",23),Am=new Pe(Zt,"OrientOpposite",24),Hl=new Pe(Zt,"OrientUpright",25),p1=new Pe(Zt,"OrientPlus90Upright",26),Su=new Pe(Zt,"OrientMinus90Upright",27),Vh=new Pe(Zt,"OrientUpright45",28);function ym(e,t,i,r){ke(this),this.ie=this.xr=!1,this.jt=e,this.xx=t,this.ov=i,this.yx=r,this.links=[]}function Ep(){ke(this),this.Mx=this.group=null,this.at=!0,this.abort=!1,this.Kd=this.Jd=1,this.mo=this.lo=-1,this.lc=this.kc=8,this.Bb=[[]],this.Mj=this.Lj=0,this.Zz=!1,this.Tz=22,this.xz=111}function Sp(e,t,i){return e.Jd<=t&&t<=e.lo&&e.Kd<=i&&i<=e.mo}function vh(e,t,i){return Sp(e,t,i)?(t-=e.Jd,i-=e.Kd,e.Bb[0|(t/=e.kc)][0|(i/=e.lc)]):Of}function Ah(e,t,i){Sp(e,t,i)&&(t-=e.Jd,i-=e.Kd,e.Bb[0|(t/=e.kc)][0|(i/=e.lc)]=ep)}function Vf(e){if(null!==e.Bb)for(var t=0;t<=e.Lj;t++)for(var i=0;i<=e.Mj;i++)e.Bb[t][i]>=gu&&(e.Bb[t][i]=Of)}function cc(e,t,i,r,c,h,v,W,X){if(!(t<h||t>v||i<W||i>X)){var Z=0|t,ge=0|i,ye=e.Bb[Z][ge];if(ye>=gu&&ye<Md)for(c?ge+=r:Z+=r,ye+=1;h<=Z&&Z<=v&&W<=ge&&ge<=X&&!(ye>=e.Bb[Z][ge]);)e.Bb[Z][ge]=ye,ye+=1,c?ge+=r:Z+=r;if(Z=c?ge:Z,c)if(0<r)for(i+=r;i<Z;i+=r)cc(e,t,i,1,!c,h,v,W,X),cc(e,t,i,-1,!c,h,v,W,X);else for(i+=r;i>Z;i+=r)cc(e,t,i,1,!c,h,v,W,X),cc(e,t,i,-1,!c,h,v,W,X);else if(0<r)for(t+=r;t<Z;t+=r)cc(e,t,i,1,!c,h,v,W,X),cc(e,t,i,-1,!c,h,v,W,X);else for(t+=r;t>Z;t+=r)cc(e,t,i,1,!c,h,v,W,X),cc(e,t,i,-1,!c,h,v,W,X)}}function ju(e,t,i,r,c,h,v,W,X){var Z=ep,ge=gu;for(e.Bb[t|=0][i|=0]=ge;Z===ep&&t>h&&t<v&&i>W&&i<X;)e.Bb[t][i]=ge+=1,c?i+=r:t+=r,Z=e.Bb[t][i]}function Hh(e,t,i,r,c,h,v,W,X){var Z=ep,ge=Md;for(e.Bb[t|=0][i|=0]=ge;Z===ep&&t>h&&t<v&&i>W&&i<X;)e.Bb[t][i]=ge,c?i+=r:t+=r,Z=e.Bb[t][i]}function Hf(e,t,i,r,c,h){if(null!==e.Bb){e.abort=!1;var v=t.x,W=t.y;if(Sp(e,v,W)&&(v-=e.Jd,v/=e.kc,W-=e.Kd,W/=e.lc,Sp(e,t=r.x,r=r.y)))if(t-=e.Jd,t/=e.kc,r-=e.Kd,r/=e.lc,1>=Math.abs(v-t)&&1>=Math.abs(W-r))e.abort=!0;else{var X=h.x,Z=h.y,ge=h.x+h.width,ye=h.y+h.height;X-=e.Jd,X/=e.kc,Z-=e.Kd,Z/=e.lc,ge-=e.Jd,ge/=e.kc,ye-=e.Kd,ye/=e.lc,h=Math.max(0,Math.min(e.Lj,0|X)),ge=Math.min(e.Lj,Math.max(0,0|ge)),Z=Math.max(0,Math.min(e.Mj,0|Z)),ye=Math.min(e.Mj,Math.max(0,0|ye)),t|=0,r|=0,X=0===i||90===i?1:-1,i=90===i||270===i,e.Bb[v|=0][W|=0]===ep?(ju(e,v,W,X,i,h,ge,Z,ye),ju(e,v,W,1,!i,h,ge,Z,ye),ju(e,v,W,-1,!i,h,ge,Z,ye)):ju(e,v,W,X,i,v,W,v,W),e.Bb[t][r]===ep?(Hh(e,t,r,0===c||90===c?1:-1,90===c||270===c,h,ge,Z,ye),Hh(e,t,r,1,!(90===c||270===c),h,ge,Z,ye),Hh(e,t,r,-1,!(90===c||270===c),h,ge,Z,ye)):Hh(e,t,r,X,i,t,r,t,r),e.abort||(cc(e,v,W,1,!1,h,ge,Z,ye),cc(e,v,W,-1,!1,h,ge,Z,ye),cc(e,v,W,1,!0,h,ge,Z,ye),cc(e,v,W,-1,!0,h,ge,Z,ye))}}}Zt.className="Link",Zt.Normal=y1,Zt.Orthogonal=Ec,Zt.AvoidsNodes=nl,Zt.AvoidsNodesStraight=il,Zt.None=Ya,Zt.Bezier=lc,Zt.JumpGap=Oc,Zt.JumpOver=kl,Zt.End=Tl,Zt.Scale=n0,Zt.Stretch=$h,Zt.OrientAlong=Ym,Zt.OrientPlus90=ed,Zt.OrientMinus90=vm,Zt.OrientOpposite=Am,Zt.OrientUpright=Hl,Zt.OrientPlus90Upright=p1,Zt.OrientMinus90Upright=Su,Zt.OrientUpright45=Vh,ym.prototype.cm=function(){if(!this.xr){var e=this.links;0<e.length&&null!==(e=e[0].diagram)&&(e.zw.add(this),this.ie=e.undoManager.isUndoingRedoing)}this.xr=!0},ym.prototype.Yv=function(){if(this.xr){this.xr=!1;var e=this.links;if(0<e.length){var t=e[0],i=t.diagram;i=null===i||i.Oi&&!this.ie,this.ie=!1,t.arrangeBundledLinks(e,i),1===e.length&&(t.xf=null,e.length=0)}0===e.length&&(e=this.jt,null!==this&&null!==e.Le&&e.Le.remove(this),e=this.ov,null!==this&&null!==e.Le&&e.Le.remove(this))}},ym.className="LinkBundle",Ep.prototype.initialize=function(e){if(!(0>=e.width||0>=e.height)){var t=e.y,i=e.x+e.width,r=e.y+e.height;if(this.Jd=Math.floor((e.x-this.kc)/this.kc)*this.kc,this.Kd=Math.floor((t-this.lc)/this.lc)*this.lc,this.lo=Math.ceil((i+2*this.kc)/this.kc)*this.kc,this.mo=Math.ceil((r+2*this.lc)/this.lc)*this.lc,e=1+(0|Math.ceil((this.lo-this.Jd)/this.kc)),t=1+(0|Math.ceil((this.mo-this.Kd)/this.lc)),null===this.Bb||this.Lj<e-1||this.Mj<t-1){for(i=[],r=0;r<=e;r++)i[r]=[];this.Bb=i,this.Lj=e-1,this.Mj=t-1}if(e=Of,null!==this.Bb)for(t=0;t<=this.Lj;t++)for(i=0;i<=this.Mj;i++)this.Bb[t][i]=e}},Ep.prototype.ek=function(e,t,i,r){if(e>this.lo||e+i<this.Jd||t>this.mo||t+r<this.Kd)return!0;e=(e-this.Jd)/this.kc|0,t=(t-this.Kd)/this.lc|0,i=Math.max(0,i)/this.kc+1|0;var c=Math.max(0,r)/this.lc+1|0;if(0>e&&(i+=e,e=0),0>t&&(c+=t,t=0),0>i||0>c)return!0;for(r=0|Math.min(e+i-1,this.Lj),i=0|Math.min(t+c-1,this.Mj);e<=r;e++)for(c=t;c<=i;c++)if(this.Bb[e][c]===ep)return!1;return!0},I.Object.defineProperties(Ep.prototype,{bounds:{get:function(){return new sn(this.Jd,this.Kd,this.lo-this.Jd,this.mo-this.Kd)}},Ul:{get:function(){return this.kc},set:function(e){0<e&&e!==this.kc&&(this.kc=e,this.initialize(this.bounds))}},Tl:{get:function(){return this.lc},set:function(e){0<e&&e!==this.lc&&(this.lc=e,this.initialize(this.bounds))}}});var ep=0,gu=1,Md=999999,Of=Md+1;function yh(){ke(this),this.port=this.node=null,this.Wd=[],this.fq=!1}function og(e,t,i,r){switch(t=t.offsetY){case 8:return 90;case 2:return 180;case 1:return 270;case 4:return 0}switch(t){case 9:return 180<i?270:90;case 6:return 90<i&&270>=i?180:0}switch(e=180*Math.atan2(e.height,e.width)/Math.PI,t){case 3:return i>e&&i<=180+e?180:270;case 5:return i>180-e&&i<=360-e?270:0;case 12:return i>e&&i<=180+e?90:0;case 10:return i>180-e&&i<=360-e?180:90;case 7:return 90<i&&i<=180+e?180:i>180+e&&i<=360-e?270:0;case 13:return 180<i&&i<=360-e?270:i>e&&180>=i?90:0;case 14:return i>e&&i<=180-e?90:i>180-e&&270>=i?180:0;case 11:return i>180-e&&i<=180+e?180:i>180+e?270:90}return r&&15!==t&&0>(i-=15)&&(i+=360),i>e&&i<180-e?90:i>=180-e&&i<=180+e?180:i>180+e&&i<360-e?270:0}function Uu(e,t){var i=e.Wd;if(0===i.length){e:if(!e.fq){i=e.fq,e.fq=!0;var r=null,c=e.node;if(null===(c=c instanceof Fe?c:null)||c.isSubGraphExpanded)var h=e.node.Wu(e.port.portId);else{if(!c.actualBounds.o()){e.fq=i;break e}h=(r=c).Vu()}var v=e.Wd.length=0,W=e.port.ma(ut,Ze.alloc()),X=e.port.ma(Ot,Ze.alloc());for((c=sn.allocAt(W.x,W.y,0,0)).Ie(X),Ze.free(W),Ze.free(X),W=Ze.allocAt(c.x+c.width/2,c.y+c.height/2),X=e.port.Ji(),h=h.iterator;h.next();){var Z=h.value;if(Z.isVisible()&&Z.fromPort!==Z.toPort){var ge=Z.fromPort===e.port||null!==Z.fromNode&&Z.fromNode.Vd(r),ye=Z.computeSpot(ge,e.port);if(ye.qf()&&null!==(ge=ge?Z.toPort:Z.fromPort)){var We=ge.part;if(null!==We){var Ve=We.findVisibleNode();null!==Ve&&Ve!==We&&(ge=(We=Ve).port),ge=Z.computeOtherPoint(We,ge),We=W.Wa(ge),0>(We-=X)&&(We+=360),0===(ye=og(c,ye,We,Z.isOrthogonal))?(ye=4,180<We&&(We-=360)):ye=90===ye?8:180===ye?2:1,void 0===(Ve=e.Wd[v])?(Ve=new Em(Z,We,ye),e.Wd[v]=Ve):(Ve.link=Z,Ve.angle=We,Ve.yc=ye),Ve.sv.set(ge),v++}}}}for(Ze.free(W),e.Wd.sort(yh.prototype.l),X=e.Wd.length,r=-1,v=W=0;v<X;v++)void 0!==(h=e.Wd[v])&&(h.yc!==r&&(r=h.yc,W=0),h.Xp=W,W++);for(r=-1,W=0,v=X-1;0<=v;v--)void 0!==(X=e.Wd[v])&&(X.yc!==r&&(r=X.yc,W=X.Xp+1),X.Wl=W);if(v=e.Wd,ye=e.port,r=e.node.portSpreading,W=Ze.alloc(),X=Ze.alloc(),h=Ze.alloc(),Z=Ze.alloc(),ye.ma(ut,W),ye.ma(Bt,X),ye.ma(Ot,h),ye.ma(fe,Z),Ve=We=ge=ye=0,r===Ie)for(var st=0;st<v.length;st++){var jt=v[st];if(null!==jt){var nn=jt.link.computeThickness();switch(jt.yc){case 8:We+=nn;break;case 2:Ve+=nn;break;case 1:ye+=nn;break;default:ge+=nn}}}var on=st=0,Fn=1,Gn=jt=0;for(nn=0;nn<v.length;nn++){var hi=v[nn];if(null!==hi){if(st!==hi.yc){switch(st=hi.yc){case 8:var gi=h;on=Z;break;case 2:gi=Z,on=W;break;case 1:gi=W,on=X;break;default:gi=X,on=h}switch(jt=on.x-gi.x,Gn=on.y-gi.y,st){case 8:We>Math.abs(jt)?(Fn=Math.abs(jt)/We,We=Math.abs(jt)):Fn=1;break;case 2:Ve>Math.abs(Gn)?(Fn=Math.abs(Gn)/Ve,Ve=Math.abs(Gn)):Fn=1;break;case 1:ye>Math.abs(jt)?(Fn=Math.abs(jt)/ye,ye=Math.abs(jt)):Fn=1;break;default:ge>Math.abs(Gn)?(Fn=Math.abs(Gn)/ge,ge=Math.abs(Gn)):Fn=1}on=0}var xi=hi.cq;if(r===Ie){switch(hi=hi.link.computeThickness(),hi*=Fn,xi.set(gi),st){case 8:xi.x=gi.x+jt/2+We/2-on-hi/2;break;case 2:xi.y=gi.y+Gn/2+Ve/2-on-hi/2;break;case 1:xi.x=gi.x+jt/2-ye/2+on+hi/2;break;default:xi.y=gi.y+Gn/2-ge/2+on+hi/2}on+=hi}else{var ns=.5;r===ve&&(ns=(hi.Xp+1)/(hi.Wl+1)),xi.x=gi.x+jt*ns,xi.y=gi.y+Gn*ns}}}for(Ze.free(W),Ze.free(X),Ze.free(h),Ze.free(Z),gi=e.Wd,v=0;v<gi.length;v++)null!==(r=gi[v])&&(r.Tu=e.computeEndSegmentLength(r));e.fq=i,sn.free(c)}i=e.Wd}for(e=0;e<i.length;e++)if(null!==(c=i[e])&&c.link===t)return c;return null}function Em(e,t,i){this.link=e,this.angle=t,this.yc=i,this.sv=new Ze,this.Wl=this.Xp=0,this.cq=new Ze,this.Tu=0}function vf(){this.nh=this.Lg=wo,this.mh=this.Kg=this.lh=this.Jg=NaN,this.zp=this.Dn=null,this.Ap=this.En=1/0}function er(){ke(this),this.K=this.C=null,this.Pg=this.Sn=!0,this.Yn=!1,this.Qm=new Ze(0,0).freeze(),this.Vn=!0,this.Un=null,this.tw="",this.u=null,this.Xn=!1,this.l=null}function Ir(e,t,i,r,c,h,v,W){for(i=i.iterator;i.next();){var X=i.value;r&&!X.isTopLevel||null!==c&&!c(X)||!X.canLayout()||(h&&X instanceof as?X.isLinkLabel||(X instanceof Fe&&null===X.layout?Ir(e,t,X.memberParts,!1,c,h,v,W):(Xm(X),t.add(X))):v&&X instanceof Zt?t.add(X):!W||!X.Lb()||X instanceof as||(Xm(X),t.add(X)))}}function Xm(e){var t=e.actualBounds;(0===t.width||0===t.height||isNaN(t.width)||isNaN(t.height))&&e.ac()}function jo(e){ke(this),this.gc=e,this.gf=new Se,this.de=new Se,this.kt=new Kt,this.ft=new Kt}function Eh(e,t){if(null===t)return!1;var i=e.gf.remove(t);return i&&e.kt.remove(t.node),i}function Km(e,t){null!==t&&e.de.remove(t)&&e.ft.remove(t.link)}function Af(e,t,i){if(null!==i&&i.network!==t){Eh(e,i),t.sh(i);for(var r=i.sourceEdges;r.next();){var c=r.value;c.network!==t&&(Km(e,c),t.Oj(c),Af(e,t,c.fromVertex))}for(r=i.destinationEdges;r.next();)(i=r.value).network!==t&&(Km(e,i),t.Oj(i),Af(e,t,i.toVertex))}}function S1(e){ke(this),this.Vc=e,this.l=new sn(0,0,10,10).freeze(),this.u=new Ze(5,5).freeze(),this.ki=this.jb=null,this.ug=new gt,this.lg=new gt}function Tp(e,t){return t=t.ki,(e=e.ki)?t?(e=e.text)<(t=t.text)?-1:e>t?1:0:1:null!==t?-1:0}function uc(e){ke(this),this.Wb=e,this.fg=this.If=this.ml=this.jb=null}function R1(){er.call(this),this.isViewportSized=!0,this.Gp=this.Hp=NaN,this.Bg=new Ue(NaN,NaN).freeze(),this.Ze=new Ue(10,10).freeze(),this.wb=Sm,this.Ab=Jm,this.Qc=Th,this.Mc=Yf}function Yf(e,t){return(e=e.text)<(t=t.text)?-1:e>t?1:0}Ep.className="PositionArray",yh.prototype.toString=function(){for(var e=this.Wd,t=this.node.toString()+" "+e.length.toString()+":",i=0;i<e.length;i++){var r=e[i];null!==r&&(t+="\n  "+r.toString())}return t},yh.prototype.cm=function(){this.Wd.length=0},yh.prototype.l=function(e,t){return e===t?0:null===e?-1:null===t?1:e.yc<t.yc?-1:e.yc>t.yc?1:e.angle<t.angle?-1:e.angle>t.angle?1:0},yh.prototype.computeEndSegmentLength=function(e){var t=e.link,i=t.computeEndSegmentLength(this.node,this.port,Cn,t.fromPort===this.port),r=e.Xp;if(0>r)return i;var c=e.Wl;if(1>=c||!t.isOrthogonal)return i;t=e.sv;var h=e.cq;return(2===e.yc||8===e.yc)&&(r=c-1-r),((e=2===e.yc||4===e.yc)?t.y<h.y:t.x<h.x)?i+8*r:(e?t.y===h.y:t.x===h.x)?i:i+8*(c-1-r)},yh.className="Knot",Em.prototype.toString=function(){return this.link.toString()+" "+this.angle.toString()+" "+this.yc.toString()+":"+this.Xp.toString()+"/"+this.Wl.toString()+" "+this.cq.toString()+" "+this.Tu.toString()+" "+this.sv.toString()},Em.className="LinkInfo",vf.prototype.copy=function(){var e=new vf;return e.Lg=this.Lg.I(),e.nh=this.nh.I(),e.Jg=this.Jg,e.lh=this.lh,e.Kg=this.Kg,e.mh=this.mh,e.Dn=this.Dn,e.zp=this.zp,e.En=this.En,e.Ap=this.Ap,e},vf.className="LinkSettings",er.prototype.cloneProtected=function(e){e.Sn=this.Sn,e.Pg=this.Pg,e.Yn=this.Yn,e.Qm.assign(this.Qm),e.Vn=this.Vn,e.Un=this.Un,e.tw=this.tw,e.Xn=!0},er.prototype.copy=function(){var e=new this.constructor;return this.cloneProtected(e),e},er.prototype.fb=function(){},er.prototype.toString=function(){var e=Q(this.constructor);return e+="(",null!==this.group&&(e+=" in "+this.group),null!==this.diagram&&(e+=" for "+this.diagram),e+")"},er.prototype.B=function(){if(this.isValidLayout){var e=this.diagram;if(null!==e&&!e.undoManager.isUndoingRedoing){var t=e.animationManager;!t.isTicking&&(t.isAnimating&&t.vd(),this.isOngoing&&e.Oi||this.isInitial&&!e.Oi)&&(this.isValidLayout=!1,e.cc())}}},er.prototype.createNetwork=function(){return new jo(this)},er.prototype.makeNetwork=function(e){var t=this.createNetwork();return e instanceof ii?(t.kg(e.nodes,!0),t.kg(e.links,!0)):t.kg(e instanceof Fe?e.memberParts:e.iterator),t},er.prototype.updateParts=function(){var e=this.diagram;if(null===e&&null!==this.network)for(var t=this.network.vertexes.iterator;t.next();){var i=t.value.node;if(null!==i&&null!==(e=i.diagram))break}this.isValidLayout=!0;try{null!==e&&e.Aa("Layout"),this.commitLayout()}finally{null!==e&&e.Za("Layout")}},er.prototype.commitLayout=function(){if(null!==this.network){for(var e=this.network.vertexes.iterator;e.next();)e.value.commit();if(this.isRouting)for(e=this.network.edges.iterator;e.next();)e.value.commit()}},er.prototype.doLayout=function(e){var t=new Se;e instanceof ii?(Ir(this,t,e.nodes,!0,this.mk,!0,!1,!0),Ir(this,t,e.parts,!0,this.mk,!0,!1,!0)):e instanceof Fe?Ir(this,t,e.memberParts,!1,this.mk,!0,!1,!0):t.addAll(e.iterator);var i=t.count;if(0<i){null!==(e=this.diagram)&&e.Aa("Layout"),i=Math.ceil(Math.sqrt(i)),this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var r=this.arrangementOrigin.x,c=r,h=this.arrangementOrigin.y,v=0,W=0;for(t=t.iterator;t.next();){var X=t.value;Xm(X);var Z=X.measuredBounds,ge=Z.width;Z=Z.height,X.moveTo(c,h),X instanceof Fe&&(X.mk=!1),c+=Math.max(ge,50)+20,W=Math.max(W,Math.max(Z,50)),v>=i-1?(v=0,c=r,h+=W+20,W=0):v++}null!==e&&e.Za("Layout")}this.isValidLayout=!0},er.prototype.mk=function(e){return!(e.location.o()&&!(e instanceof Fe&&e.mk))},er.prototype.Li=function(e,t){var i=this.boundsComputation;return null!==i?(t||(t=new sn),i(e,this,t)):t?(t.set(e.actualBounds),t):e.actualBounds},er.prototype.Xw=function(e){var t=new Se;return e instanceof ii?(Ir(this,t,e.nodes,!0,null,!0,!0,!0),Ir(this,t,e.links,!0,null,!0,!0,!0),Ir(this,t,e.parts,!0,null,!0,!0,!0)):Ir(this,t,e instanceof Fe?e.memberParts:e.iterator,!1,null,!0,!0,!0),t},er.prototype.initialOrigin=function(e){var t=this.group;if(null!==t){var i=t.position.copy();return(isNaN(i.x)||isNaN(i.y))&&i.set(e),null!==(t=t.placeholder)&&(i=t.ma(ut),(isNaN(i.x)||isNaN(i.y))&&i.set(e),i.x+=(e=t.padding).left,i.y+=e.top),i}return e},I.Object.defineProperties(er.prototype,{diagram:{get:function(){return this.C},set:function(e){this.C=e}},group:{get:function(){return this.K},set:function(e){this.K!==e&&(this.K=e,null!==e&&(this.C=e.diagram))}},isOngoing:{get:function(){return this.Sn},set:function(e){this.Sn!==e&&(this.Sn=e)}},isInitial:{get:function(){return this.Pg},set:function(e){this.Pg=e,e||(this.Xn=!0)}},isViewportSized:{get:function(){return this.Yn},set:function(e){this.Yn!==e&&(this.Yn=e)&&this.B()}},isRouting:{get:function(){return this.Vn},set:function(e){this.Vn!==e&&(this.Vn=e)}},isRealtime:{get:function(){return this.Un},set:function(e){this.Un!==e&&(this.Un=e)}},isValidLayout:{get:function(){return this.Xn},set:function(e){this.Xn!==e&&(this.Xn=e,e||null!==(e=this.diagram)&&(e.zg=!0))}},network:{get:function(){return this.l},set:function(e){this.l!==e&&(this.l=e,null!==e&&(e.layout=this))}},boundsComputation:{get:function(){return this.u},set:function(e){this.u!==e&&(this.u=e,this.B())}},arrangementOrigin:{get:function(){return this.Qm},set:function(e){this.Qm.A(e)||(this.Qm.assign(e),this.B())}}}),er.prototype.collectParts=er.prototype.Xw,er.prototype.getLayoutBounds=er.prototype.Li,er.prototype.invalidateLayout=er.prototype.B,er.className="Layout",jo.prototype.clear=function(){if(this.gf)for(var e=this.gf.iterator;e.next();)e.value.clear();if(this.de)for(e=this.de.iterator;e.next();)e.value.clear();this.gf=new Se,this.de=new Se,this.kt=new Kt,this.ft=new Kt},jo.prototype.toString=function(e){void 0===e&&(e=0);var t="LayoutNetwork"+(null!==this.layout?"("+this.layout.toString()+")":"");if(0>=e)return t;if(t+=" vertexes: "+this.gf.count+" edges: "+this.de.count,1<e){for(var i=this.gf.iterator;i.next();)t+="\n    "+i.value.toString(e-1);for(i=this.de.iterator;i.next();)t+="\n    "+i.value.toString(e-1)}return t},jo.prototype.createVertex=function(){return new S1(this)},jo.prototype.createEdge=function(){return new uc(this)},jo.prototype.kg=function(e,t,i){if(null!==e){for(void 0===t&&(t=!1),void 0===i&&(i=null),null===i&&(i=function(v){if(v instanceof as)return!v.isLinkLabel;if(v instanceof Zt){var W=v.fromNode;return null!==W&&!W.isLinkLabel&&!(null===(v=v.toNode)||v.isLinkLabel)}return!1}),e=e.iterator;e.next();){var r=e.value;if(r instanceof as&&(!t||r.isTopLevel)&&r.canLayout()&&i(r))if(r instanceof Fe&&null===r.layout)this.kg(r.memberParts,!1);else if(null===this.Ii(r)){var c=this.createVertex();c.node=r,this.sh(c)}}for(e.reset();e.next();)if((r=e.value)instanceof Zt&&(!t||r.isTopLevel)&&r.canLayout()&&i(r)&&null===this.Rp(r)){var h=r.fromNode;c=r.toNode,null!==h&&null!==c&&h!==c&&(h=this.findGroupVertex(h),c=this.findGroupVertex(c),null!==h&&null!==c&&this.fk(h,c,r))}}},jo.prototype.findGroupVertex=function(e){if(null===e)return null;var t=e.findVisibleNode();if(null===t)return null;if(null!==(e=this.Ii(t)))return e;for(t=t.containingGroup;null!==t;){if(null!==(e=this.Ii(t)))return e;t=t.containingGroup}return null},(N=jo.prototype).sh=function(e){if(null!==e){this.gf.add(e);var t=e.node;null!==t&&this.kt.add(t,e),e.network=this}},N.Rl=function(e){if(null===e)return null;var t=this.Ii(e);return null===t&&((t=this.createVertex()).node=e,this.sh(t)),t},N.Su=function(e){if(null!==e&&Eh(this,e)){for(var t=e.ug,i=t.count-1;0<=i;i--){var r=t.N(i);this.Zj(r)}for(e=(t=e.lg).count-1;0<=e;e--)i=t.N(e),this.Zj(i)}},N.Cy=function(e){null!==e&&null!==(e=this.Ii(e))&&this.Su(e)},N.Ii=function(e){return null===e?null:this.kt.J(e)},N.Oj=function(e){if(null!==e){this.de.add(e);var t=e.link;null!==t&&null===this.Rp(t)&&this.ft.add(t,e),null!==(t=e.toVertex)&&t.Hu(e),null!==(t=e.fromVertex)&&t.Fu(e),e.network=this}},N.iy=function(e){if(null===e)return null;var t=e.fromNode,i=e.toNode,r=this.Rp(e);return null===r?((r=this.createEdge()).link=e,null!==t&&(r.fromVertex=this.Rl(t)),null!==i&&(r.toVertex=this.Rl(i)),this.Oj(r)):(r.fromVertex=null!==t?this.Rl(t):null,r.toVertex=null!==i?this.Rl(i):null),r},N.Zj=function(e){if(null!==e){var t=e.toVertex;null!==t&&t.Ru(e),null!==(t=e.fromVertex)&&t.Qu(e),Km(this,e)}},N.By=function(e){null!==e&&null!==(e=this.Rp(e))&&this.Zj(e)},N.Rp=function(e){return null===e?null:this.ft.J(e)},N.fk=function(e,t,i){if(null===e||null===t)return null;if(e.network===this&&t.network===this){var r=this.createEdge();return r.link=i,r.fromVertex=e,r.toVertex=t,this.Oj(r),r}return null},N.sm=function(e){if(null!==e){var t=e.fromVertex,i=e.toVertex;null!==t&&null!==i&&(t.Qu(e),i.Ru(e),e.sm(),t.Hu(e),i.Fu(e))}},N.Pp=function(){for(var e=ie(),t=this.de.iterator;t.next();){var i=t.value;i.fromVertex===i.toVertex&&e.push(i)}for(t=e.length,i=0;i<t;i++)this.Zj(e[i]);ne(e)},jo.prototype.deleteArtificialVertexes=function(){for(var e=ie(),t=this.gf.iterator;t.next();){var i=t.value;null===i.node&&e.push(i)}for(i=e.length,t=0;t<i;t++)this.Su(e[t]);for(t=ie(),i=this.de.iterator;i.next();){var r=i.value;null===r.link&&t.push(r)}for(i=t.length,r=0;r<i;r++)this.Zj(t[r]);ne(e),ne(t)},jo.prototype.Nx=function(){this.deleteArtificialVertexes(),function E1(e){for(var t=ie(),i=e.de.iterator;i.next();){var r=i.value;null!==r.fromVertex&&null!==r.toVertex||t.push(r)}for(i=t.length,r=0;r<i;r++)e.Zj(t[r]);ne(t)}(this),this.Pp();for(var e=new gt,t=!0;t;){t=!1;for(var i=this.gf.iterator;i.next();){var r=i.value;if(0<r.ug.count||0<r.lg.count){t=this.layout.createNetwork(),e.add(t),Af(this,t,r),t=!0;break}}}return e.sort(function(c,h){return null===c||null===h||c===h?0:h.vertexes.count-c.vertexes.count}),e},jo.prototype.Hy=function(){for(var e=new Se,t=this.gf.iterator;t.next();)e.add(t.value.node);for(t=this.de.iterator;t.next();)e.add(t.value.link);return e},I.Object.defineProperties(jo.prototype,{layout:{get:function(){return this.gc},set:function(e){null!==e&&(this.gc=e)}},vertexes:{get:function(){return this.gf}},edges:{get:function(){return this.de}}}),jo.prototype.findAllParts=jo.prototype.Hy,jo.prototype.splitIntoSubNetworks=jo.prototype.Nx,jo.prototype.deleteSelfEdges=jo.prototype.Pp,jo.prototype.reverseEdge=jo.prototype.sm,jo.prototype.linkVertexes=jo.prototype.fk,jo.prototype.findEdge=jo.prototype.Rp,jo.prototype.deleteLink=jo.prototype.By,jo.prototype.deleteEdge=jo.prototype.Zj,jo.prototype.addLink=jo.prototype.iy,jo.prototype.addEdge=jo.prototype.Oj,jo.prototype.findVertex=jo.prototype.Ii,jo.prototype.deleteNode=jo.prototype.Cy,jo.prototype.deleteVertex=jo.prototype.Su,jo.prototype.addNode=jo.prototype.Rl,jo.prototype.addVertex=jo.prototype.sh,jo.prototype.addParts=jo.prototype.kg,jo.className="LayoutNetwork",S1.prototype.clear=function(){this.ki=this.jb=null,this.ug=new gt,this.lg=new gt},S1.prototype.toString=function(e){void 0===e&&(e=0);var t="LayoutVertex#"+Je(this);if(0<e&&(t+=null!==this.node?"("+this.node.toString()+")":"",1<e)){e="";for(var i=!0,r=this.ug.iterator;r.next();){var c=r.value;i?i=!1:e+=",",e+=c.toString(0)}for(c="",i=!0,r=this.lg.iterator;r.next();)i?i=!1:c+=",",c+=r.value.toString(0);t+=" sources: "+e+" destinations: "+c}return t},S1.prototype.commit=function(){var e=this.jb;if(null!==e){var t=this.bounds,i=e.bounds;x(i)?(i.x=t.x,i.y=t.y,i.width=t.width,i.height=t.height):e.bounds=t.copy()}else if(null!==(e=this.node)){if(t=this.bounds,!(e instanceof Fe)){i=sn.alloc();var r=this.network.layout.Li(e,i),c=e.locationObject.ma(Jt);if(r.o()&&c.o())return e.moveTo(t.x+this.focusX-(c.x-r.x),t.y+this.focusY-(c.y-r.y)),void sn.free(i);sn.free(i)}e.moveTo(t.x,t.y)}},S1.prototype.Hu=function(e){null!==e&&(this.ug.contains(e)||this.ug.add(e))},S1.prototype.Ru=function(e){null!==e&&this.ug.remove(e)},S1.prototype.Fu=function(e){null!==e&&(this.lg.contains(e)||this.lg.add(e))},S1.prototype.Qu=function(e){null!==e&&this.lg.remove(e)},I.Object.defineProperties(S1.prototype,{sourceEdgesArrayAccess:{get:function(){return this.ug._dataArray}},destinationEdgesArrayAccess:{get:function(){return this.lg._dataArray}},data:{get:function(){return this.jb},set:function(e){if(this.jb=e,null!==e){var t=e.bounds;e=t.x;var i=t.y,r=t.width;this.u.h(r/2,(t=t.height)/2),this.l.h(e,i,r,t)}}},node:{get:function(){return this.ki},set:function(e){if(this.ki!==e){this.ki=e,e.ac();var t=this.network.layout,i=sn.alloc(),r=t.Li(e,i);t=r.x;var c=r.y,h=r.width;if(r=r.height,isNaN(t)&&(t=0),isNaN(c)&&(c=0),this.l.h(t,c,h,r),sn.free(i),!(e instanceof Fe)&&(e=e.locationObject.ma(Jt)).o())return void this.u.h(e.x-t,e.y-c);this.u.h(h/2,r/2)}}},bounds:{get:function(){return this.l},set:function(e){this.l.A(e)||this.l.assign(e)}},focus:{get:function(){return this.u},set:function(e){this.u.A(e)||this.u.assign(e)}},centerX:{get:function(){return this.l.x+this.u.x},set:function(e){var t=this.l;t.x+this.u.x!==e&&(t.ha(),t.x=e-this.u.x,t.freeze())}},centerY:{get:function(){return this.l.y+this.u.y},set:function(e){var t=this.l;t.y+this.u.y!==e&&(t.ha(),t.y=e-this.u.y,t.freeze())}},focusX:{get:function(){return this.u.x},set:function(e){var t=this.u;t.x!==e&&(t.ha(),t.x=e,t.freeze())}},focusY:{get:function(){return this.u.y},set:function(e){var t=this.u;t.y!==e&&(t.ha(),t.y=e,t.freeze())}},x:{get:function(){return this.l.x},set:function(e){var t=this.l;t.x!==e&&(t.ha(),t.x=e,t.freeze())}},y:{get:function(){return this.l.y},set:function(e){var t=this.l;t.y!==e&&(t.ha(),t.y=e,t.freeze())}},width:{get:function(){return this.l.width},set:function(e){var t=this.l;t.width!==e&&(t.ha(),t.width=e,t.freeze())}},height:{get:function(){return this.l.height},set:function(e){var t=this.l;t.height!==e&&(t.ha(),t.height=e,t.freeze())}},network:{get:function(){return this.Vc},set:function(e){this.Vc=e}},sourceVertexes:{get:function(){for(var e=new Se,t=this.sourceEdges;t.next();)e.add(t.value.fromVertex);return e.iterator}},destinationVertexes:{get:function(){for(var e=new Se,t=this.destinationEdges;t.next();)e.add(t.value.toVertex);return e.iterator}},vertexes:{get:function(){for(var e=new Se,t=this.sourceEdges;t.next();)e.add(t.value.fromVertex);for(t=this.destinationEdges;t.next();)e.add(t.value.toVertex);return e.iterator}},sourceEdges:{get:function(){return this.ug.iterator}},destinationEdges:{get:function(){return this.lg.iterator}},edges:{get:function(){for(var e=new gt,t=this.sourceEdges;t.next();)e.add(t.value);for(t=this.destinationEdges;t.next();)e.add(t.value);return e.iterator}},edgesCount:{get:function(){return this.ug.count+this.lg.count}}}),S1.prototype.deleteDestinationEdge=S1.prototype.Qu,S1.prototype.addDestinationEdge=S1.prototype.Fu,S1.prototype.deleteSourceEdge=S1.prototype.Ru,S1.prototype.addSourceEdge=S1.prototype.Hu,S1.className="LayoutVertex",S1.standardComparer=Tp,S1.smartComparer=function(e,t){if(null!==e){if(null!==t){var i=t.ki;if(null!==(e=e.ki)){if(null!==i){for(t=e.text.toLocaleLowerCase().split(/([+\-]?[\.]?\d+(?:\.\d*)?(?:e[+\-]?\d+)?)/),e=i.text.toLocaleLowerCase().split(/([+\-]?[\.]?\d+(?:\.\d*)?(?:e[+\-]?\d+)?)/),i=0;i<t.length;i++)if(""!==e[i]&&void 0!==e[i]){var r=parseFloat(t[i]),c=parseFloat(e[i]);if(isNaN(r)){if(!isNaN(c))return 1;if(0!==t[i].localeCompare(e[i]))return t[i].localeCompare(e[i])}else{if(isNaN(c))return-1;if(r-c!=0)return r-c}}else if(""!==t[i])return 1;return""!==e[i]&&void 0!==e[i]?-1:0}return 1}return null!==i?-1:0}return 1}return null!==t?-1:0},uc.prototype.clear=function(){this.fg=this.If=this.ml=this.jb=null},uc.prototype.toString=function(e){void 0===e&&(e=0);var t="LayoutEdge#"+Je(this);return 0<e&&(t+=null!==this.ml?"("+this.ml.toString()+")":"",1<e&&(t+=" "+(this.If?this.If.toString():"null")+" --\x3e "+(this.fg?this.fg.toString():"null"))),t},uc.prototype.sm=function(){var e=this.If;this.If=this.fg,this.fg=e},uc.prototype.commit=function(){},uc.prototype.nx=function(e){return this.fg===e?this.If:this.If===e?this.fg:null},I.Object.defineProperties(uc.prototype,{network:{get:function(){return this.Wb},set:function(e){this.Wb=e}},data:{get:function(){return this.jb},set:function(e){this.jb!==e&&(this.jb=e)}},link:{get:function(){return this.ml},set:function(e){this.ml!==e&&(this.ml=e)}},fromVertex:{get:function(){return this.If},set:function(e){this.If!==e&&(this.If=e)}},toVertex:{get:function(){return this.fg},set:function(e){this.fg!==e&&(this.fg=e)}}}),uc.prototype.getOtherVertex=uc.prototype.nx,uc.className="LayoutEdge",y(R1,er),R1.prototype.cloneProtected=function(e){er.prototype.cloneProtected.call(this,e),e.Hp=this.Hp,e.Gp=this.Gp,e.Bg.assign(this.Bg),e.Ze.assign(this.Ze),e.wb=this.wb,e.Ab=this.Ab,e.Qc=this.Qc,e.Mc=this.Mc},R1.prototype.fb=function(e){e.classType===R1?e===Th||e===Cp||e===Qm||e===Tm?this.sorting=e:e===Jm||e===Od?this.arrangement=e:e===Sm||e===Sh?this.alignment=e:z("Unknown enum value: "+e):er.prototype.fb.call(this,e)},R1.prototype.doLayout=function(e){this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin);var t=this.Xw(e);e=this.diagram;for(var i=t.copy().iterator;i.next();){var r=i.value;if(!r.zh()||null===r.fromNode&&null===r.toNode){if(r.ac(),r instanceof Fe)for(r=r.memberParts;r.next();)t.remove(r.value)}else t.remove(r)}var c=t.Na();if(0!==c.length){switch(this.sorting){case Tm:c.reverse();break;case Th:c.sort(this.comparer);break;case Cp:c.sort(this.comparer),c.reverse()}var h=this.wrappingColumn;isNaN(h)&&(h=0);var v=this.wrappingWidth;switch(isNaN(v)&&null!==e?(t=e.padding,v=Math.max(e.viewportBounds.width-t.left-t.right,0)):v=Math.max(this.wrappingWidth,0),0>=h&&0>=v&&(h=1),t=this.spacing.width,isFinite(t)||(t=0),i=this.spacing.height,isFinite(i)||(i=0),null!==e&&e.Aa("Layout"),r=[],this.alignment){case Sh:var W=t,X=i,Z=sn.alloc(),ge=Math.max(this.cellSize.width,1);if(!isFinite(ge))for(var ye=ge=0;ye<c.length;ye++){var We=this.Li(c[ye],Z);ge=Math.max(ge,We.width)}if(ge=Math.max(ge+W,1),ye=Math.max(this.cellSize.height,1),!isFinite(ye))for(We=ye=0;We<c.length;We++){var Ve=this.Li(c[We],Z);ye=Math.max(ye,Ve.height)}ye=Math.max(ye+X,1),We=this.arrangement;for(var st=Ve=this.arrangementOrigin.x,jt=this.arrangementOrigin.y,nn=0,on=0,Fn=0;Fn<c.length;Fn++){var Gn=c[Fn],hi=this.Li(Gn,Z),gi=Math.ceil((hi.width+W)/ge)*ge,xi=Math.ceil((hi.height+X)/ye)*ye;if(We===Od)var ns=Math.abs(st-hi.width);else ns=st+hi.width;(0<h&&nn>h-1||0<v&&0<nn&&ns-Ve>v)&&(r.push(new sn(0,jt,v+W,on)),nn=0,st=Ve,jt+=on,on=0),on=Math.max(on,xi),Gn.moveTo(st+(hi=We===Od?-hi.width:0),jt),We===Od?st-=gi:st+=gi,nn++}r.push(new sn(0,jt,v+W,on)),sn.free(Z);break;case Sm:for(X=v,ge=h,ye=t,We=i,v=sn.alloc(),Ve=Math.max(this.cellSize.width,1),h=jt=Z=0,W=Ze.alloc(),st=0;st<c.length;st++)nn=this.Li(on=c[st],v),on=on.nf(on.locationObject,on.locationSpot,W),Z=Math.max(Z,on.x),jt=Math.max(jt,nn.width-on.x),h=Math.max(h,on.y);(st=this.arrangement)===Od?Z+=ye:jt+=ye,Ve=isFinite(Ve)?Math.max(Ve+ye,1):Math.max(Z+jt,1);var ls=on=this.arrangementOrigin.x;for(Fn=this.arrangementOrigin.y,jt=0,X>=Z&&(X-=Z),Z=Gn=0,gi=Math.max(this.cellSize.height,1),hi=h=0,xi=!0,nn=Ze.alloc(),ns=0;ns<c.length;ns++){var ks=c[ns],Ms=this.Li(ks,v),qo=ks.nf(ks.locationObject,ks.locationSpot,W);if(0<jt?st===Od?(ls=(ls-on-(Ms.width-qo.x))/Ve,ls=(ls=Yn.ca(Math.round(ls),ls)?Math.round(ls):Math.floor(ls))*Ve+on):(ls=(ls-on+qo.x)/Ve,ls=(ls=Yn.ca(Math.round(ls),ls)?Math.round(ls):Math.ceil(ls))*Ve+on):Gn=st===Od?ls+qo.x+Ms.width:ls-qo.x,st===Od)var bo=-(ls+qo.x)+Gn;else bo=ls+Ms.width-qo.x-Gn;if(0<ge&&jt>ge-1||0<X&&0<jt&&bo>X){for(r.push(new sn(0,xi?Fn-h:Fn,X+ye,hi+h+We)),ls=0;ls<jt&&ns!==jt;ls++){var us=(bo=c[ns-jt+ls]).nf(bo.locationObject,bo.locationSpot,nn);bo.moveTo(bo.position.x,bo.position.y+h-us.y)}hi+=We,Fn=xi?Fn+hi:Fn+(hi+h),jt=hi=h=0,ls=on,xi=!1}ls===on&&(Z=st===Od?Math.max(Z,Ms.width-qo.x):Math.min(Z,-qo.x)),h=Math.max(h,qo.y),hi=Math.max(hi,Ms.height-qo.y),isFinite(gi)&&(hi=Math.max(hi,Math.max(Ms.height,gi)-qo.y)),ks.moveTo(ls-qo.x,xi?Fn-qo.y:Fn),st===Od?ls-=qo.x+ye:ls+=Ms.width-qo.x+ye,jt++}if(r.push(new sn(0,Fn,X+ye,(xi?hi:hi+h)+We)),c.length!==jt)for(X=0;X<jt;X++)ye=(ge=c[c.length-jt+X]).nf(ge.locationObject,ge.locationSpot,W),ge.moveTo(ge.position.x,ge.position.y+h-ye.y);if(Ze.free(W),Ze.free(nn),st===Od)for(c=0;c<r.length;c++)(h=r[c]).width+=Z,h.x-=Z;else for(c=0;c<r.length;c++)(h=r[c]).x>Z&&(h.width+=h.x-Z,h.x=Z);sn.free(v)}for(W=h=v=c=0;W<r.length;W++)X=r[W],c=Math.min(c,X.x),v=Math.min(v,X.y),h=Math.max(h,X.x+X.width);this.commitLayers(r,new Ze(this.arrangement===Od?c+t/2-(h+c):c-t/2,v-i/2)),null!==e&&e.Za("Layout"),this.isValidLayout=!0}},R1.prototype.commitLayers=function(){},I.Object.defineProperties(R1.prototype,{wrappingWidth:{get:function(){return this.Hp},set:function(e){this.Hp!==e&&(0<e||isNaN(e))&&(this.Hp=e,this.isViewportSized=isNaN(e),this.B())}},wrappingColumn:{get:function(){return this.Gp},set:function(e){this.Gp!==e&&(0<e||isNaN(e))&&(this.Gp=e,this.B())}},cellSize:{get:function(){return this.Bg},set:function(e){this.Bg.A(e)||(this.Bg.assign(e),this.B())}},spacing:{get:function(){return this.Ze},set:function(e){this.Ze.A(e)||(this.Ze.assign(e),this.B())}},alignment:{get:function(){return this.wb},set:function(e){this.wb===e||e!==Sm&&e!==Sh||(this.wb=e,this.B())}},arrangement:{get:function(){return this.Ab},set:function(e){this.Ab===e||e!==Jm&&e!==Od||(this.Ab=e,this.B())}},sorting:{get:function(){return this.Qc},set:function(e){this.Qc===e||e!==Qm&&e!==Tm&&e!==Th&&e!==Cp||(this.Qc=e,this.B())}},comparer:{get:function(){return this.Mc},set:function(e){this.Mc!==e&&(this.Mc=e,this.B())}}});var Sh=new Pe(R1,"Position",0),Sm=new Pe(R1,"Location",1),Jm=new Pe(R1,"LeftToRight",2),Od=new Pe(R1,"RightToLeft",3),Qm=new Pe(R1,"Forward",4),Tm=new Pe(R1,"Reverse",5),Th=new Pe(R1,"Ascending",6),Cp=new Pe(R1,"Descending",7);function Cr(){this.Co=new Se,this.ho=new Se,this.Fa=new Se,this.Me=new Kt,this.Dg=new Kt,this.oj=new Kt,this.C=null,this.xq=!1}function Yh(e,t,i){if(null!=t&&!e.diagram.undoManager.isUndoingRedoing&&!e.Me.contains(t)){void 0===i&&(i=!0);e:{if(null!=t&&!e.C.undoManager.isUndoingRedoing&&!e.Me.contains(t)){var r=e.Vs(t),c=tp(e,t,r);if(null!==c&&(d1(c),null!==(c=c.copy()))){var h=e.diagram.skipsModelSourceBindings;e.diagram.skipsModelSourceBindings=!0,c.yf=r,c.jb=t,e.xq&&(c.Rg="Tool"),e.diagram.add(c),c.jb=null,c.data=t,e.diagram.skipsModelSourceBindings=h,r=c;break e}}r=null}null!==r&&i&&e.resolveReferencesForData(t)}}function tp(e,t,i){var r=(e=e.C).model;return r.dk()&&r.kv(t)?null===(t=e.groupTemplateMap.J(i))&&null===(t=e.groupTemplateMap.J(""))&&(td||(td=!0,k('No Group template found for category "'+i+'"'),k("  Using default group template")),t=e.qw):null===(t=e.nodeTemplateMap.J(i))&&null===(t=e.nodeTemplateMap.J(""))&&(Jc||(Jc=!0,k('No Node template found for category "'+i+'"'),k("  Using default node template")),t=e.sw),t}function Cm(e,t,i){for(var r in i){var c=t[r],h=i[r];if(B(h)){if(!B(c)||c.length<h.length)return!1;for(var v=0;v<c.length;v++){var W=h[v];if(void 0!==W&&!Xf(e,c[v],W))return!1}}else if(!Xf(e,c,h))return!1}return!0}function Xf(e,t,i){if("function"==typeof i){if(!i(t))return!1}else if(i instanceof RegExp){if(!t||!i.test(t.toString()))return!1}else if(x(t)&&x(i)){if(!Cm(e,t,i))return!1}else if(t!==i)return!1;return!0}function Zm(e,t){var i=t.ei;if(B(i)){var r=e.oj.J(i);if(null===r)(r=[]).push(t),e.oj.add(i,r);else{for(e=0;e<r.length;e++)if(r[e]===t)return;r.push(t)}}}function e_(e,t){var i=t.ei;if(B(i)){var r=e.oj.J(i);if(null!==r)for(var c=0;c<r.length;c++)if(r[c]===t){r.splice(c,1),0===r.length&&e.oj.remove(i);break}}}function t_(e,t,i,r,c){if(null===t||c&&!t.canCopy())return null;if(r.contains(t))return r.J(t);var h=e.copyPartData(t,i);if(!(h instanceof Os))return null;if(h.isSelected=!1,h.isHighlighted=!1,r.add(t,h),t instanceof as){for(var v=t.linksConnected;v.next();){var W=v.value;if(W.fromNode===t){var X=r.J(W);null!==X&&(X.fromNode=h)}W.toNode===t&&null!==(W=r.J(W))&&(W.toNode=h)}if(t instanceof Fe&&h instanceof Fe)for(t=t.memberParts;t.next();)(v=t_(e,t.value,i,r,c))instanceof Zt||null===v||(v.containingGroup=h)}else if(t instanceof Zt&&h instanceof Zt)for(null!==(v=t.fromNode)&&null!==(v=r.J(v))&&(h.fromNode=v),null!==(v=t.toNode)&&null!==(v=r.J(v))&&(h.toNode=v),t=t.labelNodes;t.next();)null!==(v=t_(e,t.value,i,r,c))&&v instanceof as&&(v.labeledLink=h);return h}R1.className="GridLayout",R1.standardComparer=Yf,R1.smartComparer=function(e,t){if(null!==e){if(null!==t){e=e.text.toLocaleLowerCase().split(/([+\-]?[\.]?\d+(?:\.\d*)?(?:e[+\-]?\d+)?)/),t=t.text.toLocaleLowerCase().split(/([+\-]?[\.]?\d+(?:\.\d*)?(?:e[+\-]?\d+)?)/);for(var i=0;i<e.length;i++)if(""!==t[i]&&void 0!==t[i]){var r=parseFloat(e[i]),c=parseFloat(t[i]);if(isNaN(r)){if(!isNaN(c))return 1;if(0!==e[i].localeCompare(t[i]))return e[i].localeCompare(t[i])}else{if(isNaN(c))return-1;if(r-c!=0)return r-c}}else if(""!==e[i])return 1;return""!==t[i]&&void 0!==t[i]?-1:0}return 1}return null!==t?-1:0},R1.Position=Sh,R1.Location=Sm,R1.LeftToRight=Jm,R1.RightToLeft=Od,R1.Forward=Qm,R1.Reverse=Tm,R1.Ascending=Th,R1.Descending=Cp,(N=Cr.prototype).clear=function(){this.Co.clear(),this.ho.clear(),this.Fa.clear(),this.Me.clear(),this.Dg.clear(),this.oj.clear()},N.hb=function(e){this.C=e},N.Ni=function(e){if(e instanceof as){if(this.Co.add(e),e instanceof Fe){var t=e.containingGroup;null===t?this.C.xi.add(e):t.rl.add(e),null!==(t=e.layout)&&(t.diagram=this.C)}}else e instanceof Zt?this.ho.add(e):e instanceof Zo||this.Fa.add(e);null===(t=e.data)||e instanceof Zo||(e instanceof Zt?this.Dg.add(t,e):this.Me.add(t,e))},N.xc=function(e){if(e.Sj(),e instanceof as){if(this.Co.remove(e),e instanceof Fe){var t=e.containingGroup;null===t?this.C.xi.remove(e):t.rl.remove(e),null!==(t=e.layout)&&(t.diagram=null)}}else e instanceof Zt?this.ho.remove(e):e instanceof Zo||this.Fa.remove(e);null===(t=e.data)||e instanceof Zo||(e instanceof Zt?this.Dg.remove(t):this.Me.remove(t))},N.ud=function(){for(var e=this.C.nodeTemplateMap.iterator;e.next();){var t=e.value,i=e.key;(!t.Lb()||t instanceof Fe)&&z('Invalid node template in Diagram.nodeTemplateMap: template for "'+i+'" must be a Node or a simple Part, not a Group or Link: '+t)}for(e=this.C.groupTemplateMap.iterator;e.next();)i=e.key,(t=e.value)instanceof Fe||z('Invalid group template in Diagram.groupTemplateMap: template for "'+i+'" must be a Group, not a normal Node or Link: '+t);for(e=this.C.linkTemplateMap.iterator;e.next();)i=e.key,(t=e.value)instanceof Zt||z('Invalid link template in Diagram.linkTemplateMap: template for "'+i+'" must be a Link, not a normal Node or simple Part: '+t);for(e=ie(),t=this.C.selection.iterator;t.next();)(i=t.value.data)&&e.push(i);for(t=ie(),i=this.C.highlighteds.iterator;i.next();){var r=i.value.data;r&&t.push(r)}for(i=ie(),r=this.nodes.iterator;r.next();){var c=r.value;null!==c.data&&(i.push(c.data),i.push(c.location))}for(r=this.links.iterator;r.next();)null!==(c=r.value).data&&(i.push(c.data),i.push(c.location));for(r=this.parts.iterator;r.next();)null!==(c=r.value).data&&(i.push(c.data),i.push(c.location));for(this.removeAllModeledParts(),this.addAllModeledParts(),r=0;r<e.length;r++)null!==(c=this.vc(e[r]))&&(c.isSelected=!0);for(r=0;r<t.length;r++)null!==(c=this.vc(t[r]))&&(c.isHighlighted=!0);for(r=0;r<i.length;r+=2)null!==(c=this.vc(i[r]))&&(c.location=i[r+1]);ne(e),ne(t),ne(i)},Cr.prototype.addAllModeledParts=function(){this.addModeledParts(this.diagram.model.nodeDataArray)},Cr.prototype.addModeledParts=function(e,t){var i=this,r=this.diagram.model;e.forEach(function(c){r.Qb(c)&&Yh(i,c,!1)}),e.forEach(function(c){r.Qb(c)&&i.resolveReferencesForData(c)}),!1!==t&&Te(this.diagram,!1)},Cr.prototype.insertLink=function(){return null},Cr.prototype.resolveReferencesForData=function(){},Cr.prototype.Vs=function(e){return this.C.model.Vs(e)},Cr.prototype.getLinkCategoryForData=function(){return""},Cr.prototype.setLinkCategoryForData=function(){},Cr.prototype.setFromNodeForLink=function(){},Cr.prototype.setToNodeForLink=function(){},Cr.prototype.findLinkTemplateForCategory=function(e){var t=this.C.linkTemplateMap.J(e);return null===t&&null===(t=this.C.linkTemplateMap.J(""))&&(M_||(M_=!0,k('No Link template found for category "'+e+'"'),k("  Using default link template")),t=this.C.rw),t},Cr.prototype.removeAllModeledParts=function(){this.qt(this.diagram.model.nodeDataArray)},Cr.prototype.qt=function(e){var t=this;e.forEach(function(i){t.mq(i)})},Cr.prototype.mq=function(e){null!==(e=this.vc(e))&&(pn(this.diagram,e,!1),this.unresolveReferencesForPart(e))},Cr.prototype.unresolveReferencesForPart=function(){},Cr.prototype.removeDataForLink=function(){},Cr.prototype.findPartForKey=function(e){return null==e?null:null!==(e=this.C.model.Rb(e))?this.Me.J(e):null},(N=Cr.prototype).Hb=function(e){return null==e||null===(e=this.C.model.Rb(e))?null:(e=this.Me.J(e))instanceof as?e:null},N.vc=function(e){if(null===e)return null;var t=this.Me.J(e);return null!==t?t:t=this.Dg.J(e)},N.Ei=function(e){return null===e?null:(e=this.Me.J(e))instanceof as?e:null},N.uc=function(e){return null===e?null:this.Dg.J(e)},N.Ss=function(e){for(var t=0;t<arguments.length;++t);t=new Se;for(var i=this.Co.iterator;i.next();){var r=i.value,c=r.data;if(null!==c)for(var h=0;h<arguments.length;h++){var v=arguments[h];if(x(v)&&Cm(this,c,v)){t.add(r);break}}}return t.iterator},N.Rs=function(e){for(var t=0;t<arguments.length;++t);t=new Se;for(var i=this.ho.iterator;i.next();){var r=i.value,c=r.data;if(null!==c)for(var h=0;h<arguments.length;h++){var v=arguments[h];if(x(v)&&Cm(this,c,v)){t.add(r);break}}}return t.iterator},Cr.prototype.doModelChanged=function(e){if(this.C){var t=this.C;if(e.model===t.model){var i=e.change;if(t.doModelChanged(e),t.da){t.da=!1;try{var r=e.modelChange;if(""!==r)if(i===tr){if("nodeCategory"===r){var c=this.vc(e.object),h=e.newValue;null!==c&&"string"==typeof h&&(c.category=h)}else"nodeDataArray"===r&&(this.qt(e.oldValue),this.addModeledParts(e.newValue));t.isModified=!0}else if(i===yr){var v=e.newValue;"nodeDataArray"===r&&x(v)&&Yh(this,v),t.isModified=!0}else if(i===kr){var W=e.oldValue;"nodeDataArray"===r&&x(W)&&this.mq(W),t.isModified=!0}else i===Ka&&("SourceChanged"===r?null!==e.object?this.updateDataBindings(e.object,e.propertyName):(this.tq(),this.updateAllTargetBindings()):"ModelDisplaced"===r&&this.ud());else if(i===tr){var X=e.propertyName,Z=e.object;Z===t.model?("nodeKeyProperty"===X||"nodeCategoryProperty"===X)&&(t.undoManager.isUndoingRedoing||this.ud()):this.updateDataBindings(Z,X),t.isModified=!0}else if(i===yr||i===kr){var ge=e.change===yr,ye=ge?e.newParam:e.oldParam,We=ge?e.newValue:e.oldValue,Ve=this.oj.J(e.object);if(Array.isArray(Ve))for(e=0;e<Ve.length;e++){var st=Ve[e];if(ge)zd(st,We,ye);else if(!(0>ye)){var jt=ye+wc(st);st.xc(jt,!0),ch(st,jt,ye)}}t.isModified=!0}}finally{t.da=!0}}}}},Cr.prototype.updateAllTargetBindings=function(e){void 0===e&&(e="");for(var t=this.parts.iterator;t.next();)t.value.Ea(e);for(t=this.nodes.iterator;t.next();)t.value.Ea(e);for(t=this.links.iterator;t.next();)t.value.Ea(e)},Cr.prototype.tq=function(){for(var e=this.C.model,t=new Se,i=e.nodeDataArray,r=0;r<i.length;r++)t.add(i[r]);var c=[];for(this.nodes.each(function(v){null===v.data||t.contains(v.data)||c.push(v.data)}),this.parts.each(function(v){null===v.data||t.contains(v.data)||c.push(v.data)}),c.forEach(function(v){zm(e,v,!1)}),r=0;r<i.length;r++){var h=i[r];null===this.vc(h)&&rg(e,h,!1)}for(this.refreshDataBoundLinks(),i=this.parts.iterator;i.next();)i.value.updateRelationshipsFromData();for(i=this.nodes.iterator;i.next();)i.value.updateRelationshipsFromData();for(i=this.links.iterator;i.next();)i.value.updateRelationshipsFromData()},Cr.prototype.refreshDataBoundLinks=function(){},Cr.prototype.updateRelationshipsFromData=function(){},Cr.prototype.updateDataBindings=function(e,t){if("string"==typeof t){var i=this.vc(e);if(null!==i)i.Ea(t);else{i=null;for(var r=this.oj.iterator;r.next();){for(var c=r.value,h=0;h<c.length;h++){var v=c[h].ix(e);null!==v&&(null===i&&(i=ie()),i.push(v))}if(null!==i)break}if(null!==i){for(r=0;r<i.length;r++)i[r].Ea(t);ne(i)}}e===this.diagram.model.modelData&&this.updateAllTargetBindings(t)}},Cr.prototype.Xj=function(e,t,i){var r=new Kt;if(B(e))for(var c=0;c<e.length;c++)t_(this,e[c],t,r,i);else for(e=e.iterator;e.next();)t_(this,e.value,t,r,i);if(null!==t){i=t.model,e=null!==(e=t.toolManager.findTool("Dragging"))?e.dragOptions.dragsLink:t.Lk.dragsLink,c=new Se;for(var h=new Kt,v=r.iterator;v.next();){var W=v.value;if(W instanceof Zt)e||null!==W.fromNode&&null!==W.toNode||c.add(W);else if(W instanceof as&&null!==W.data&&i.fm()){var X=W,Z=(W=v.key).og();null!==Z&&(null!==(Z=r.J(Z))?(i.He(X.data,i.pa(Z.data)),X=t.uc(X.data),null!==(W=W.Hi())&&null!==X&&h.add(W,X)):i.He(X.data,void 0))}}if(0<c.count&&t.rt(c,!1),0<h.count)for(i=h.iterator;i.next();)r.add(i.key,i.value)}if(null!==t&&null!==this.C&&null!==(i=(t=t.model).afterCopyFunction)){var ge=new Kt;r.each(function(ye){null!==ye.key.data&&ge.add(ye.key.data,ye.value.data)}),i(ge,t,this.C.model)}for(t=r.iterator;t.next();)t.value.Ea();return r},Cr.prototype.copyPartData=function(e,t){var i=null,r=e.data;if(null!==r&&null!==t){var c=t.model;e instanceof Zt||x(r=c.copyNodeData(r))&&(c.hf(r),i=t.vc(r))}else d1(e),null!==(i=e.copy())&&(c=this.C,null!==t?t.add(i):null!==r&&null!==c&&null!==c.commandHandler&&c.commandHandler.copiesClipboardData&&(t=c.model,c=null,i instanceof Zt||(c=t.copyNodeData(r)),x(c)&&(i.data=c)));return i},I.Object.defineProperties(Cr.prototype,{nodes:{get:function(){return this.Co}},links:{get:function(){return this.ho}},parts:{get:function(){return this.Fa}},diagram:{get:function(){return this.C}},addsToTemporaryLayer:{get:function(){return this.xq},set:function(e){this.xq=e}}}),Cr.prototype.updateAllRelationshipsFromData=Cr.prototype.tq,Cr.prototype.findLinksByExample=Cr.prototype.Rs,Cr.prototype.findNodesByExample=Cr.prototype.Ss,Cr.prototype.findLinkForData=Cr.prototype.uc,Cr.prototype.findNodeForData=Cr.prototype.Ei,Cr.prototype.findPartForData=Cr.prototype.vc,Cr.prototype.findNodeForKey=Cr.prototype.Hb,Cr.prototype.removeModeledPart=Cr.prototype.mq,Cr.prototype.removeModeledParts=Cr.prototype.qt,Cr.prototype.rebuildParts=Cr.prototype.ud;var Jc=!1,td=!1,M_=!1;function sl(e){Cr.apply(this,arguments)}function n_(e,t){t.forEach(function(i){O_(e,i)}),Te(e.diagram,!1)}function O_(e,t){if(null!=t&&!e.diagram.undoManager.isUndoingRedoing&&!e.Dg.contains(t)){var i=e.getLinkCategoryForData(t),r=e.findLinkTemplateForCategory(i);if(null!==r){d1(r);var c=r.copy();if(null!==c){r=e.diagram.skipsModelSourceBindings,e.diagram.skipsModelSourceBindings=!0,c.yf=i,c.jb=t;var h=em(i=e.diagram.model,t,!0);""!==h&&(c.fromPortId=h),void 0!==(h=Yl(i,t,!0))&&(h=e.Hb(h))instanceof as&&(c.fromNode=h),""!==(h=em(i,t,!1))&&(c.toPortId=h),void 0!==(h=Yl(i,t,!1))&&(h=e.Hb(h))instanceof as&&(c.toNode=h),i=i.pg(t),Array.isArray(i)&&i.forEach(function(v){null!==(v=e.Hb(v))&&(v.labeledLink=c)}),e.xq&&(c.Rg="Tool"),e.diagram.add(c),c.jb=null,c.data=t,e.diagram.skipsModelSourceBindings=r}}}}function Tu(e,t){t.forEach(function(i){e.mq(i)})}function nd(){Cr.apply(this,arguments),this.ah=null}function yf(e,t,i){if(null!==t&&null!==i){var r=e.diagram.toolManager.findTool("Linking"),c=t,h=i;if(e.diagram.isTreePathToChildren){for(t=h.linksConnected;t.next();)if(t.value.toNode===h)return}else for(h=t,t=(c=i).linksConnected;t.next();)if(t.value.fromNode===c)return;if((null===r||!e1(r,c,h,null,!0))&&(r=e.getLinkCategoryForData(i.data),null!==(t=e.findLinkTemplateForCategory(r))&&(d1(t),null!==(t=t.copy())))){var v=e.diagram.skipsModelSourceBindings;e.diagram.skipsModelSourceBindings=!0,t.yf=r,t.jb=i.data,t.fromNode=c,t.toNode=h,e.diagram.add(t),t.jb=null,t.data=i.data,e.diagram.skipsModelSourceBindings=v}}}function Is(e){this.Et=',\n  "insertedNodeKeys": ',this.gw=',\n  "modifiedNodeData": ',this.Gt=',\n  "removedNodeKeys": ',ke(this),this.mn=this.Ua="",this.Lf=!1,this.l={},this.Fc=[],this.cb=new Kt,this.li="key",this.Ik=this.ol=null,this.bn=this.cn=!1,this.en=!0,this.Mm=null,this.wj="category",this.Ef=new Kt,this.fu=new gt,this.eh=!1,this.u=null,this.undoManager=new sr,void 0!==e&&(this.nodeDataArray=e)}function np(e){return',\n  "modelData": '+N_(e,e.modelData)}function Kf(e,t){x(t=t.modelData)&&(e.pm(t),e.modelData=t)}function Jf(e,t,i,r){if(t===i)return!0;if(typeof t!=typeof i||"function"==typeof t||"function"==typeof i)return!1;if(Array.isArray(t)&&Array.isArray(i)){if(r.J(t)===i)return!0;if(r.add(t,i),t.length!==i.length)return!1;for(var c=0;c<t.length;c++)if(!Jf(e,t[c],i[c],r))return!1;return!0}if(x(t)&&x(i)){if(r.J(t)===i)return!0;for(var h in r.add(t,i),t){var v=t[h];if(!v_(h,v)){var W=i[h];if(void 0===W||!Jf(e,v,W,r))return!1}}for(c in i)if(!(v_(c,h=i[c])||void 0!==(v=t[c])&&Jf(e,v,h,r)))return!1;return!0}return!1}function $p(e,t,i){e[i]!==t[i]&&z("Model.computeJsonDifference: Model."+i+' is not the same in both models: "'+e[i]+'" and "'+t[i]+'"')}function ou(e,t,i){void 0===i&&(i=!1);var r=t.length;if(0>=r)return"[]";var c=new ze;c.add("[ "),i&&1<r&&c.add("\n");for(var h=0;h<r;h++){var v=t[h];void 0!==v&&(0<h&&(c.add(","),i&&c.add("\n")),c.add(e.zm(v)))}return i&&1<r&&c.add("\n"),c.add(" ]"),c.toString()}function v_(e,t){return void 0===t||"__gohashid"===e||"_"===e[0]||"function"==typeof t}function Sc(e){return isNaN(e)?"NaN":e===1/0?"9e9999":e===-1/0?"-9e9999":e}function N_(e,t){var i=t;if(i instanceof Ze)t={class:"go.Point",x:Sc(i.x),y:Sc(i.y)};else if(i instanceof Ue)t={class:"go.Size",width:Sc(i.width),height:Sc(i.height)};else if(i instanceof sn)t={class:"go.Rect",x:Sc(i.x),y:Sc(i.y),width:Sc(i.width),height:Sc(i.height)};else if(i instanceof ei)t={class:"go.Margin",top:Sc(i.top),right:Sc(i.right),bottom:Sc(i.bottom),left:Sc(i.left)};else if(i instanceof Si)t=i.gb()?{class:"go.Spot",x:Sc(i.x),y:Sc(i.y),offsetX:Sc(i.offsetX),offsetY:Sc(i.offsetY)}:{class:"go.Spot",enum:i.toString()};else if(i instanceof cr){if(t={class:"go.Brush",type:i.type.name},i.type===Hc?t.color=i.color:(i.type===oc||i.type===_0)&&(t.start=i.start,t.end=i.end,i.type===_0&&(0!==i.startRadius&&(t.startRadius=Sc(i.startRadius)),isNaN(i.endRadius)||(t.endRadius=Sc(i.endRadius)))),null!==i.colorStops){var r={};for(i=i.colorStops.iterator;i.next();)r[i.key]=i.value;t.colorStops=r}}else i instanceof so?(t={class:"go.Geometry",type:i.type.name},0!==i.startX&&(t.startX=Sc(i.startX)),0!==i.startY&&(t.startY=Sc(i.startY)),0!==i.endX&&(t.endX=Sc(i.endX)),0!==i.endY&&(t.endY=Sc(i.endY)),i.spot1.A(ut)||(t.spot1=i.spot1),i.spot2.A(Ot)||(t.spot2=i.spot2),i.type===Tr&&(t.path=vr(i))):i instanceof Pe&&(t={class:"go.EnumValue",classType:Jh(e,i.classType),name:i.name});for(var c in r="{",i=!0,t){var h=M0(t,c);if(!v_(c,h))if(i?i=!1:r+=", ",r+='"'+c+'":',"points"===c&&h instanceof gt){var v="[";for(h=h.iterator;h.next();){var W=h.value;1<v.length&&(v+=","),v+=e.zm(W.x),v+=",",v+=e.zm(W.y)}r+=v+="]"}else r+=e.zm(h)}return r+"}"}function vc(e){return"number"==typeof e?e:"NaN"===e?NaN:"9e9999"===e?1/0:"-9e9999"===e?-1/0:parseFloat(e)}function b0(e,t,i,r,c,h,v,W,X){void 0===W&&(W=null),void 0===X&&(X=null);var Z=new Co;Z.model=e,Z.change=i,Z.modelChange=t,Z.propertyName=r,Z.object=c,Z.oldValue=h,Z.oldParam=W,Z.newValue=v,Z.newParam=X,e.Ks(Z)}function Xh(e){return"number"==typeof e||"string"==typeof e}function rg(e,t,i){var r=e.pa(t);(void 0===r||e.cb.J(r)!==t)&&(e.ht(t),void 0===(r=e.pa(t))?z("Model.makeNodeDataKeyUnique failed on "+t+".  Data not added to Model."):(e.cb.add(r,t),r=null,i&&$(e.Fc,r=e.Fc.length,t),b0(e,"nodeDataArray",yr,"nodeDataArray",e,null,t,null,r),e.rm(t),e.qm(t)))}function zm(e,t,i){var r=e.pa(t);if(void 0!==r&&e.cb.remove(r),r=null,i){e:if(i=e.Fc,Array.isArray(i))r=i.indexOf(t);else{r=i.length;for(var c=0;c<r;c++)if(i[c]===t){r=c;break e}r=-1}if(0>r)return;H(e.Fc,r)}b0(e,"nodeDataArray",kr,"nodeDataArray",e,t,null,r,null),e.sq(t)}function vd(e,t,i){if(void 0!==t){var r=e.Ef.J(t);null===r&&(r=new Se,e.Ef.add(t,r)),r.add(i)}}function Gu(e,t,i){if(void 0!==t){var r=e.Ef.J(t);r instanceof Se&&(null==i?e.Ef.remove(t):(r.remove(i),0===r.count&&e.Ef.remove(t)))}}function Kh(e,t){return void 0===t?null:(e=e.Ef.J(t))instanceof Se?e:null}function Vp(e,t,i){if(e.copiesArrays&&Array.isArray(t)){var r=[];for(i=0;i<t.length;i++){var c=Vp(e,t[i],e.copiesArrayObjects);r.push(c)}return ke(r),r}if(i&&x(t)){for(r in i=(i=t.constructor)?new i:{},c=e.copiesKey||"string"!=typeof e.nodeKeyProperty?null:e.nodeKeyProperty,t)if("__gohashid"===r)i.__gohashid=void 0;else if(r===c)i[c]=void 0;else{var h=M0(t,r),v=Jh(e,h);"GraphObject"===v||"Diagram"===v||"Layer"===v||"RowColumnDefinition"===v||"AnimationManager"===v||"Tool"===v||"CommandHandler"===v||"Layout"===v||"InputEvent"===v||"DiagramEvent"===v||h instanceof Is||h instanceof sr||h instanceof Uo||h instanceof Co||(h=Vp(e,h,!1)),ha(i,r,h)}return ke(i),i}return t instanceof Ze||t instanceof Ue||t instanceof sn||t instanceof Si||t instanceof ei?t.copy():t}function Qf(){return new Is}function Jh(e,t){if("function"==typeof t){if(t.className)return t.className;if(t.name)return t.name}else if("object"==typeof t&&null!==t&&t.constructor)return Jh(e,t.constructor);return typeof t}function M0(e,t){if(!e||!t)return null;try{if("function"==typeof t)var i=t(e);else"function"==typeof e.getAttribute?null===(i=e.getAttribute(t))&&(i=void 0):i=e[t]}catch{}return i}function ha(e,t,i){if(e&&t)try{"function"==typeof t?t(e,i):"function"==typeof e.setAttribute?e.setAttribute(t,i):e[t]=i}catch{}}Cr.className="PartManager",y(sl,Cr),sl.prototype.addAllModeledParts=function(){var e=this.diagram.model;this.addModeledParts(e.nodeDataArray),n_(this,e.linkDataArray)},sl.prototype.addModeledParts=function(e){for(Cr.prototype.addModeledParts.call(this,e,!1),e=this.links.iterator;e.next();)Mi(e.value);Te(this.diagram,!1)},sl.prototype.removeAllModeledParts=function(){var e=this.diagram.model;Tu(this,e.linkDataArray),this.qt(e.nodeDataArray)},sl.prototype.getLinkCategoryForData=function(e){return this.diagram.model.av(e)},sl.prototype.setLinkCategoryForData=function(e,t){return this.diagram.model.tt(e,t)},sl.prototype.setFromNodeForLink=function(e,t){var i=this.diagram.model;i.Gx(e.data,i.pa(null!==t?t.data:null))},sl.prototype.setToNodeForLink=function(e,t){var i=this.diagram.model;i.Kx(e.data,i.pa(null!==t?t.data:null))},sl.prototype.removeDataForLink=function(e){this.diagram.model.nm(e.data)},sl.prototype.findPartForKey=function(e){var t=Cr.prototype.findPartForKey.call(this,e);return null===t&&null!==(e=this.diagram.model.wh(e))?this.Dg.J(e):t},sl.prototype.doModelChanged=function(e){var t=this;if(Cr.prototype.doModelChanged.call(this,e),this.diagram){var i=this.diagram;if(e.model===i.model){var r=e.change;if(i.da){i.da=!1;try{var c=e.modelChange;if(""!==c){if(r===tr){if("linkFromKey"===c){var h=this.uc(e.object);if(null!==h){var v=this.Hb(e.newValue);h.fromNode=v}}else if("linkToKey"===c){var W=this.uc(e.object);if(null!==W){var X=this.Hb(e.newValue);W.toNode=X}}else if("linkFromPortId"===c){var Z=this.uc(e.object);if(null!==Z){var ge=e.newValue;"string"==typeof ge&&(Z.fromPortId=ge)}}else if("linkToPortId"===c){var ye=this.uc(e.object);if(null!==ye){var We=e.newValue;"string"==typeof We&&(ye.toPortId=We)}}else if("nodeGroupKey"===c){var Ve=this.vc(e.object);if(null!==Ve){var st=e.newValue;if(void 0!==st){var jt=this.Hb(st);Ve.containingGroup=jt instanceof Fe?jt:null}else Ve.containingGroup=null}}else if("linkLabelKeys"===c){var nn=this.uc(e.object);if(null!==nn){var on=e.oldValue,Fn=e.newValue;Array.isArray(on)&&on.forEach(function(bo){null!==(bo=t.Hb(bo))&&(bo.labeledLink=null)}),Array.isArray(Fn)&&Fn.forEach(function(bo){null!==(bo=t.Hb(bo))&&(bo.labeledLink=nn)})}}else if("linkCategory"===c){var Gn=this.uc(e.object),hi=e.newValue;null!==Gn&&"string"==typeof hi&&(Gn.category=hi)}else"linkDataArray"===c&&(Tu(this,e.oldValue),n_(this,e.newValue));i.isModified=!0}else if(r===yr){var gi=e.newValue;if("linkDataArray"===c&&"object"==typeof gi&&null!==gi)O_(this,gi);else if("linkLabelKeys"===c&&Xh(gi)){var xi=this.uc(e.object),ns=this.Hb(gi);null!==xi&&null!==ns&&(ns.labeledLink=xi)}i.isModified=!0}else if(r===kr){var ls=e.oldValue;if("linkDataArray"===c&&"object"==typeof ls&&null!==ls)this.mq(ls);else if("linkLabelKeys"===c&&Xh(ls)){var ks=this.Hb(ls);null!==ks&&(ks.labeledLink=null)}i.isModified=!0}}else if(r===tr){var Ms=e.propertyName,qo=e.object;qo===i.model?("linkFromKeyProperty"===Ms||"linkToKeyProperty"===Ms||"linkFromPortIdProperty"===Ms||"linkToPortIdProperty"===Ms||"linkLabelKeysProperty"===Ms||"nodeIsGroupProperty"===Ms||"nodeGroupKeyProperty"===Ms||"linkCategoryProperty"===Ms)&&(i.undoManager.isUndoingRedoing||this.ud()):this.updateDataBindings(qo,Ms),i.isModified=!0}}finally{i.da=!0}}}}},sl.prototype.refreshDataBoundLinks=function(){var e=this,t=this.diagram.model,i=new Se,r=t.linkDataArray;r.forEach(function(h){i.add(h)});var c=[];this.links.each(function(h){null===h.data||i.contains(h.data)||c.push(h.data)}),c.forEach(function(h){s_(t,h,!1)}),r.forEach(function(h){null===e.uc(h)&&x_(t,h,!1)})},sl.prototype.updateRelationshipsFromData=function(e){var t=e.data;if(null!==t){var i=e.diagram;if(null!==i){var r=i.model;if(e instanceof Zt){var c=Yl(r,t,!0);if(c=i.Hb(c),e.fromNode=c,c=Yl(r,t,!1),c=i.Hb(c),e.toNode=c,0<(t=r.pg(t)).length||0<e.labelNodes.count){if(1===t.length&&1===e.labelNodes.count){c=t[0];var h=e.labelNodes.first();if(r.pa(h.data)===c)return}c=(new Se).addAll(t);var v=new Se;e.labelNodes.each(function(W){null!==W.data&&void 0!==(W=r.pa(W.data))&&v.add(W)}),(t=v.copy()).lq(c),(c=c.copy()).lq(v),(0<t.count||0<c.count)&&(t.each(function(W){null!==(W=i.Hb(W))&&W.labeledLink===e&&(W.labeledLink=null)}),c.each(function(W){null!==(W=i.Hb(W))&&W.labeledLink!==e&&(W.labeledLink=e)}))}}else!(e instanceof Zo)&&(t=r.Ki(t),null===(t=i.findPartForKey(t))||t instanceof Fe)&&(e.containingGroup=t)}}},sl.prototype.resolveReferencesForData=function(e){var t=this.diagram.model,i=t.pa(e);if(void 0!==i){var r=Kh(t,i),c=this.vc(e);if(null!==r&&null!==c){r=r.iterator;for(var h={};r.next();){var v=r.value;t.Qb(v)?c instanceof Fe&&t.Ki(v)===i&&null!==(v=this.vc(v))&&(v.containingGroup=c):(h.link=this.uc(v),null!==h.link&&c instanceof as&&(Yl(t,v,!0)===i&&(h.link.fromNode=c),Yl(t,v,!1)===i&&(h.link.toNode=c),v=t.pg(v),Array.isArray(v)&&v.some(function(W){return function(X){return X===i&&(c.labeledLink=W.link,!0)}}(h)))),h={link:h.link}}Gu(t,i)}void 0!==(e=t.Ki(e))&&(e=this.Hb(e))instanceof Fe&&(c.containingGroup=e)}},sl.prototype.unresolveReferencesForPart=function(e){var t=this.diagram.model;if(e instanceof as){var i=t.pa(e.data);if(void 0!==i){for(var r=e.linksConnected;r.next();)vd(t,i,r.value.data);if(e.isLinkLabel&&null!==(r=e.labeledLink)&&vd(t,i,r.data),e instanceof Fe)for(e=e.memberParts;e.next();)t.Qb(r=e.value.data)&&vd(t,i,r)}}},sl.prototype.copyPartData=function(e,t){var i=Cr.prototype.copyPartData.call(this,e,t);if(e instanceof Zt)if(null!==(e=e.data)&&null!==t){var r=t.model;"object"==typeof(e=r.Op(e))&&null!==e&&(r.Ai(e),i=t.uc(e))}else null!==i&&(t=this.diagram,null!==e&&null!==t&&null!==t.commandHandler&&t.commandHandler.copiesClipboardData&&"object"==typeof(t=t.model.Op(e))&&null!==t&&(i.data=t));return i},sl.prototype.insertLink=function(e,t,i,r){var c=this.diagram,h=c.model,v=c.toolManager.findTool("Linking"),W="";if(null!==e&&(null===t&&(t=e),null===(W=t.portId)&&(W="")),t="",null!==i&&(null===r&&(r=i),null===(t=r.portId)&&(t="")),(r=v.archetypeLinkData)instanceof Zt){if(d1(r),null!==(h=r.copy()))return h.fromNode=e,h.fromPortId=W,h.toNode=i,h.toPortId=t,c.add(h),(e=v.archetypeLabelNodeData)instanceof as&&(d1(e),null!==(e=e.copy())&&(e.labeledLink=h,c.add(e))),h}else if(null!==r&&"object"==typeof(r=h.Op(r))&&null!==r)return null!==e&&Qh(h,r,h.pa(e.data),!0),tm(h,r,W,!0),null!==i&&Qh(h,r,h.pa(i.data),!1),tm(h,r,t,!1),h.Ai(r),null===(e=v.archetypeLabelNodeData)||e instanceof as||"object"==typeof(e=h.copyNodeData(e))&&null!==e&&(h.hf(e),void 0!==(e=h.pa(e))&&h.Gu(r,e)),c.uc(r);return null},sl.prototype.findPartForKey=sl.prototype.findPartForKey,sl.prototype.removeAllModeledParts=sl.prototype.removeAllModeledParts,sl.prototype.addModeledParts=sl.prototype.addModeledParts,sl.prototype.addAllModeledParts=sl.prototype.addAllModeledParts,sl.className="GraphLinksPartManager",y(nd,Cr),nd.prototype.getLinkCategoryForData=function(e){return this.diagram.model.bv(e)},nd.prototype.setLinkCategoryForData=function(e,t){this.diagram.model.Iv(e,t)},nd.prototype.setFromNodeForLink=function(e,t,i){var r=this.diagram.model;if(void 0===i&&(i=null),t=null!==t?t.data:null,this.diagram.isTreePathToChildren)r.He(e.data,r.pa(t));else{var c=this.ah;this.ah=e,null!==i&&r.He(i.data,void 0),r.He(t,r.pa(null!==e.toNode?e.toNode.data:null)),this.ah=c}},nd.prototype.setToNodeForLink=function(e,t,i){var r=this.diagram.model;if(void 0===i&&(i=null),t=null!==t?t.data:null,this.diagram.isTreePathToChildren){var c=this.ah;this.ah=e,null!==i&&r.He(i.data,void 0),r.He(t,r.pa(null!==e.fromNode?e.fromNode.data:null)),this.ah=c}else r.He(e.data,r.pa(t))},nd.prototype.removeDataForLink=function(e){this.diagram.model.He(e.data,void 0)},nd.prototype.doModelChanged=function(e){if(Cr.prototype.doModelChanged.call(this,e),this.diagram){var t=this.diagram;if(e.model===t.model){var i=e.change;if(t.da){t.da=!1;try{var r=e.modelChange;if(""!==r){if(i===tr){if("nodeParentKey"===r){var c=e.object,h=this.Hb(e.newValue),v=this.Ei(c);if(null!==this.ah)null!==h&&(this.ah.data=c,this.ah.category=this.getLinkCategoryForData(c));else if(null!==v){var W=v.Hi();null!==W?null===h?t.remove(W):t.isTreePathToChildren?W.fromNode=h:W.toNode=h:yf(this,h,v)}}else if("parentLinkCategory"===r){var X=this.Ei(e.object),Z=e.newValue;if(null!==X&&"string"==typeof Z){var ge=X.Hi();null!==ge&&(ge.category=Z)}}t.isModified=!0}}else if(i===tr){var ye=e.propertyName,We=e.object;We===t.model?"nodeParentKeyProperty"===ye&&(t.undoManager.isUndoingRedoing||this.ud()):this.updateDataBindings(We,ye),t.isModified=!0}}finally{t.da=!0}}}}},nd.prototype.updateRelationshipsFromData=function(e){var t=e.data;if(null!==t){var i=e.diagram;if(null!==i){var r=i.model;e instanceof as&&(t=r.Mi(t),(t=i.Hb(t))!==(r=e.og())&&(r=e.Hi(),null!==t?null!==r?i.isTreePathToChildren?r.fromNode=t:r.toNode=t:yf(this,t,e):null!==r&&pn(i,r,!1)))}}},nd.prototype.updateDataBindings=function(e,t){Cr.prototype.updateDataBindings.call(this,e,t),"string"==typeof t&&null!==this.vc(e)&&null!==(e=this.uc(e))&&e.Ea(t)},nd.prototype.resolveReferencesForData=function(e){var t=this.diagram.model,i=t.pa(e);if(void 0!==i){var r=Kh(t,i),c=this.vc(e);if(null!==r&&null!==c){for(r=r.iterator;r.next();){var h=r.value;t.Qb(h)&&c instanceof as&&t.Mi(h)===i&&yf(this,c,this.Ei(h))}Gu(t,i)}void 0!==(e=t.Mi(e))&&c instanceof as&&yf(this,e=this.Hb(e),c)}},nd.prototype.unresolveReferencesForPart=function(e){var t=this.diagram.model;if(e instanceof as){var i=t.pa(e.data),r=this.uc(e.data);if(null!==r){r.isSelected=!1,r.isHighlighted=!1;var c=r.layer;if(null!==c){var h=c.xc(-1,r,!1);0<=h&&this.diagram.ab(kr,"parts",c,r,null,h,null),null!==(h=r.layerChanged)&&h(r,c,null)}}for(r=this.diagram.isTreePathToChildren,e=e.linksConnected;e.next();)c=e.value,t.Qb(c=(r?c.toNode:c.fromNode).data)&&vd(t,i,c)}},nd.prototype.insertLink=function(e,t,i){t=this.diagram.model;var r=e,c=i;return this.diagram.isTreePathToChildren||(r=i,c=e),null!==r&&null!==c?(t.He(c.data,t.pa(r.data)),c.Hi()):null},nd.className="TreePartManager",Is.prototype.cloneProtected=function(e){e.Ua=this.Ua,e.mn=this.mn,e.Lf=this.Lf,e.li=this.li,e.ol=this.ol,e.Ik=this.Ik,e.cn=this.cn,e.bn=this.bn,e.en=this.en,e.Mm=this.Mm,e.wj=this.wj},Is.prototype.copy=function(){var e=new this.constructor;return this.cloneProtected(e),e},(N=Is.prototype).clear=function(){this.Fc=[],this.cb.clear(),this.Ef.clear(),this.undoManager.clear()},N.toString=function(e){if(void 0===e&&(e=0),1<e)return this.rq();var t=(""!==this.name?this.name:"")+" Model";if(0<e){t+="\n node data:";for(var i=(e=this.nodeDataArray).length,r=0;r<i;r++){var c=e[r];t+=" "+this.pa(c)+":"+le(c)}}return t},N.sk=function(){var e="";return""!==this.name&&(e+=',\n  "name": '+this.quote(this.name)),""!==this.dataFormat&&(e+=',\n  "dataFormat": '+this.quote(this.dataFormat)),this.isReadOnly&&(e+=',\n  "isReadOnly": '+this.isReadOnly),"key"!==this.nodeKeyProperty&&"string"==typeof this.nodeKeyProperty&&(e+=',\n  "nodeKeyProperty": '+this.quote(this.nodeKeyProperty)),this.copiesArrays&&(e+=',\n  "copiesArrays": true'),this.copiesArrayObjects&&(e+=',\n  "copiesArrayObjects": true'),this.copiesKey||(e+=',\n  "copiesKey": false'),"category"!==this.nodeCategoryProperty&&"string"==typeof this.nodeCategoryProperty&&(e+=',\n  "nodeCategoryProperty": '+this.quote(this.nodeCategoryProperty)),e},N.kq=function(e){e.name&&(this.name=e.name),e.dataFormat&&(this.dataFormat=e.dataFormat),e.isReadOnly&&(this.isReadOnly=!0),e.nodeKeyProperty&&(this.nodeKeyProperty=e.nodeKeyProperty),e.copiesArrays&&(this.copiesArrays=!0),e.copiesArrayObjects&&(this.copiesArrayObjects=!0),!1===e.copiesKey&&(this.copiesKey=!1),e.nodeCategoryProperty&&(this.nodeCategoryProperty=e.nodeCategoryProperty)},N.$v=function(){var i,e=this.modelData,t=!1;for(i in e)if(!v_(i,e[i])){t=!0;break}return e="",t&&(e=np(this)),e+',\n  "nodeDataArray": '+ou(this,this.nodeDataArray,!0)},N.wv=function(e){Kf(this,e),B(e=e.nodeDataArray)&&(this.pm(e),this.nodeDataArray=e)},N.vq=function(e){$p(this,e,"nodeKeyProperty");for(var t=new Se,i=new Se,r=(new Se).addAll(this.cb.iteratorKeys),c=new Kt,h=e.nodeDataArray,v=h.length,W=0;W<v;W++){var X=h[W],Z=e.pa(X);if(void 0!==Z){r.remove(Z);var ge=this.Rb(Z);null===ge?(t.add(Z),i.add(X)):Jf(this,ge,X,c)||i.add(X)}else this.ht(X),Z=this.pa(X),t.add(Z),i.add(X)}return h="",Jf(this,this.modelData,e.modelData,c)||(h+=np(this)),0<t.count&&(h+=this.Et+ou(this,t.Na(),!0)),0<i.count&&(h+=this.gw+ou(this,i.Na(),!0)),0<r.count&&(h+=this.Gt+ou(this,r.Na(),!0)),h},N.uy=function(e,t){return void 0===t&&(t=Jh(this,this)),'{ "class": '+this.quote(t)+', "incremental": 1'+this.sk()+this.vq(e)+"}"},N.zt=function(e,t){var i=this,r=!1,c=new Se,h=new Se,v=new Se;e.changes.each(function(Z){Z.model===i&&("nodeDataArray"===Z.modelChange?Z.change===yr?c.add(Z.newValue):Z.change===kr&&v.add(Z.oldValue):i.Qb(Z.object)?h.add(Z.object):i.modelData===Z.object&&Z.change===tr&&(r=!0))});var W=new Se;c.each(function(Z){W.add(i.pa(Z)),t||h.add(Z)});var X=new Se;return v.each(function(Z){X.add(i.pa(Z)),t&&h.add(Z)}),e="",r&&(e+=np(this)),0<W.count&&(e+=(t?this.Gt:this.Et)+ou(this,W.Na(),!0)),0<h.count&&(e+=this.gw+ou(this,h.Na(),!0)),0<X.count&&(e+=(t?this.Et:this.Gt)+ou(this,X.Na(),!0)),e},N.vv=function(e){Kf(this,e);var t=e.insertedNodeKeys,i=e.modifiedNodeData,r=new Kt;if(Array.isArray(i))for(var c=0;c<i.length;c++){var h=i[c],v=this.pa(h);null!=v&&r.set(v,h)}if(Array.isArray(t))for(c=t.length,h=0;h<c;h++){var W=this.Rb(v=t[h]);null===W&&(W=(W=r.get(v))?W:this.copyNodeData({}),this.vm(W,v),this.hf(W))}if(Array.isArray(i))for(t=i.length,r=0;r<t;r++)if(h=this.pa(c=i[r]),null!==(h=this.Rb(h)))for(var X in c)"__gohashid"===X||X===this.nodeKeyProperty||this.ck()&&X===this.nodeIsGroupProperty||this.setDataProperty(h,X,c[X]);if(e=e.removedNodeKeys,Array.isArray(e))for(i=e.length,X=0;X<i;X++)null!==(t=this.Rb(e[X]))&&this.om(t)},N.Ox=function(e,t){e.change!==Ka&&z("Model.toIncrementalJson argument is not a Transaction ChangedEvent:"+e.toString());var i=e.object;return e.isTransactionFinished&&i instanceof Uo?(void 0===t&&(t=Jh(this,this)),"2"===t?'{ "incremental": 2'+this.zt(i,"FinishedUndo"===e.propertyName)+"}":'{ "class": '+this.quote(t)+', "incremental": 1'+this.sk()+this.zt(i,"FinishedUndo"===e.propertyName)+"}"):'{ "incremental": 0 }'},N.Xz=function(e,t){return this.Ox(e,t)},N.rq=function(e){return void 0===e&&(e=Jh(this,this)),'{ "class": '+this.quote(e)+this.sk()+this.$v()+"}"},N.toJSON=function(e){return this.rq(e)},N.Uw=function(e){var t=null;if("string"==typeof e)try{t=o.JSON.parse(e)}catch{}else"object"==typeof e?t=e:z("Unable to modify a Model from: "+e);var i=t.incremental;"number"!=typeof i&&z("Unable to apply non-incremental changes to Model: "+e),0!==i&&(this.Aa("applyIncrementalJson"),this.vv(t),this.Za("applyIncrementalJson"))},N.ny=function(e){return this.Uw(e)},Is.constructGraphLinksModel=function(){return new Is},(N=Is.prototype).pm=function(e){if(B(e))for(var t=e.length,i=0;i<t;i++){var r=e[i];if(x(r)){var c=i;r=this.pm(r),Array.isArray(e)?e[c]=r:z("Cannot replace an object in an HTMLCollection or NodeList at "+c)}}else if(x(e)){for(i in e)if(x(c=e[i])&&(c=this.pm(c),e[i]=c,"points"===i&&Array.isArray(c))){r=c.length%2==0;for(var h=0;h<c.length;h++)if("number"!=typeof c[h]){r=!1;break}if(r){for(r=new gt,h=0;h<c.length/2;h++)r.add(new Ze(c[2*h],c[2*h+1]));r.freeze(),e[i]=r}}if("object"==typeof e){if(i=e,"NaN"===(c=e.class))i=NaN;else if("Date"===c)i=new Date(e.value);else if("go.Point"===c)i=new Ze(vc(e.x),vc(e.y));else if("go.Size"===c)i=new Ue(vc(e.width),vc(e.height));else if("go.Rect"===c)i=new sn(vc(e.x),vc(e.y),vc(e.width),vc(e.height));else if("go.Margin"===c)i=new ei(vc(e.top),vc(e.right),vc(e.bottom),vc(e.left));else if("go.Spot"===c)i="string"==typeof e.enum?fa(e.enum):new Si(vc(e.x),vc(e.y),vc(e.offsetX),vc(e.offsetY));else if("go.Brush"===c){if((i=new cr).type=$e(cr,e.type),"string"==typeof e.color&&(i.color=e.color),e.start instanceof Si&&(i.start=e.start),e.end instanceof Si&&(i.end=e.end),"number"==typeof e.startRadius&&(i.startRadius=vc(e.startRadius)),"number"==typeof e.endRadius&&(i.endRadius=vc(e.endRadius)),x(e=e.colorStops))for(t in e)i.addColorStop(parseFloat(t),e[t])}else"go.Geometry"===c?(t=null,(t="string"==typeof e.path?Sa(e.path):new so).type=$e(so,e.type),"number"==typeof e.startX&&(t.startX=vc(e.startX)),"number"==typeof e.startY&&(t.startY=vc(e.startY)),"number"==typeof e.endX&&(t.endX=vc(e.endX)),"number"==typeof e.endY&&(t.endY=vc(e.endY)),e.spot1 instanceof Si&&(t.spot1=e.spot1),e.spot2 instanceof Si&&(t.spot2=e.spot2),i=t):"go.EnumValue"===c&&(0===(t=e.classType).indexOf("go.")&&(t=t.substr(3)),i=$e(Tc[t]?Tc[t]:null,e.name));e=i}}return e},N.quote=function(e){for(var t="",i=e.length,r=0;r<i;r++){var c=e[r];if('"'===c||"\\"===c)t+="\\"+c;else if("\b"===c)t+="\\b";else if("\f"===c)t+="\\f";else if("\n"===c)t+="\\n";else if("\r"===c)t+="\\r";else if("\t"===c)t+="\\t";else{var h=e.charCodeAt(r);t=16>h?t+"\\u000"+e.charCodeAt(r).toString(16):32>h?t+"\\u00"+e.charCodeAt(r).toString(16):8232===h?t+"\\u2028":8233===h?t+"\\u2029":t+c}}return'"'+t+'"'},N.zm=function(e){return void 0===e?"undefined":null===e?"null":!0===e?"true":!1===e?"false":"string"==typeof e?this.quote(e):"number"==typeof e?e===1/0?"9e9999":e===-1/0?"-9e9999":isNaN(e)?'{"class":"NaN"}':e.toString():e instanceof Date?'{"class":"Date", "value":"'+e.toJSON()+'"}':e instanceof Number?this.zm(e.valueOf()):B(e)?ou(this,e):x(e)?N_(this,e):"function"==typeof e?"null":e.toString()},N.rh=function(e){this.fu.add(e)},N.pk=function(e){this.fu.remove(e)},N.Ks=function(e){this.skipsUndoManager||this.undoManager.fv(e);for(var t=this.fu,i=t.length,r=0;r<i;r++)t.N(r)(e)},N.ab=function(e,t,i,r,c,h,v){b0(this,"",e,t,i,r,c,h,v)},N.g=function(e,t,i,r,c){b0(this,"",tr,e,this,t,i,r,c)},N.mt=function(e,t,i,r,c,h){b0(this,"",tr,t,e,i,r,c,h)},N.Rj=function(e,t){if(null!==e&&e.model===this)if(e.change===tr)ha(e.object,e.propertyName,e.J(t));else if(e.change===yr){var i=e.newParam;if("nodeDataArray"===e.modelChange){if(x(e=e.newValue)&&"number"==typeof i){var r=this.pa(e);t?(this.Fc[i]===e&&H(this.Fc,i),void 0!==r&&this.cb.remove(r)):(this.Fc[i]!==e&&$(this.Fc,i,e),void 0!==r&&this.cb.add(r,e))}}else""===e.modelChange?((r=e.object)&&!B(r)&&e.propertyName&&(r=M0(e.object,e.propertyName)),B(r)&&"number"==typeof i&&(e=e.newValue,t?H(r,i):$(r,i,e))):z("unknown ChangedEvent.Insert modelChange: "+e.toString())}else e.change===kr?(i=e.oldParam,"nodeDataArray"===e.modelChange?x(e=e.oldValue)&&"number"==typeof i&&(r=this.pa(e),t?(this.Fc[i]!==e&&$(this.Fc,i,e),void 0!==r&&this.cb.add(r,e)):(this.Fc[i]===e&&H(this.Fc,i),void 0!==r&&this.cb.remove(r))):""===e.modelChange?((r=e.object)&&!B(r)&&e.propertyName&&(r=M0(e.object,e.propertyName)),B(r)&&"number"==typeof i&&(e=e.oldValue,t?$(r,i,e):H(r,i))):z("unknown ChangedEvent.Remove modelChange: "+e.toString())):e.change!==Ka&&z("unknown ChangedEvent: "+e.toString())},N.Aa=function(e){return this.undoManager.Aa(e)},N.Za=function(e){return this.undoManager.Za(e)},N.uf=function(){return this.undoManager.uf()},Is.prototype.commit=function(e,t){void 0===t&&(t="");var i=this.skipsUndoManager;null===t&&(this.skipsUndoManager=!0,t=""),this.undoManager.Aa(t);var r=!1;try{e(this),r=!0}finally{r?this.undoManager.Za(t):this.undoManager.uf(),this.skipsUndoManager=i}},(N=Is.prototype).Ea=function(e,t){void 0===t&&(t=""),b0(this,"SourceChanged",Ka,t,e,null,null)},N.pa=function(e){if(null!==e){var t=this.li;if(""!==t&&void 0!==(t=M0(e,t))){if(Xh(t))return t;z("Key value for node data "+e+" is not a number or a string: "+t)}}},N.vm=function(e,t){if(null!==e){var i=this.li;if(""!==i)if(this.Qb(e)){var r=M0(e,i);r!==t&&null===this.Rb(t)&&(ha(e,i,t),void 0!==r&&this.cb.remove(r),this.cb.add(t,e),b0(this,"nodeKey",tr,i,e,r,t),"string"==typeof i&&this.Ea(e,i),this.nq(r,t))}else ha(e,i,t)}},N.Qb=function(e){var t=this.pa(e);return void 0!==t&&this.cb.J(t)===e},N.Rb=function(e){return null===e&&z("Model.findNodeDataForKey:key must not be null"),void 0!==e&&Xh(e)?this.cb.J(e):null},N.ht=function(e){if(null!==e){var t=this.li;if(""!==t){var i=this.pa(e);if(void 0===i||this.cb.contains(i)){var r=this.ol;if(null!==r&&null!=(i=r(this,e))&&!this.cb.contains(i))return void ha(e,t,i);if("string"==typeof i){for(r=2;this.cb.contains(i+r);)r++;ha(e,t,i+r)}else if(void 0===i||"number"==typeof i){for(i=-this.cb.count-1;this.cb.contains(i);)i--;ha(e,t,i)}}}}},N.hf=function(e){null!==e&&(Ne(e),this.Qb(e)||rg(this,e,!0))},N.ky=function(e){if(B(e))for(var t=e.length,i=0;i<t;i++)this.hf(e[i]);else for(e=e.iterator;e.next();)this.hf(e.value)},N.om=function(e){null!==e&&zm(this,e,!0)},N.Oz=function(e){if(B(e))for(var t=e.length,i=0;i<t;i++)this.om(e[i]);else for(e=e.iterator;e.next();)this.om(e.value)},N.Ez=function(e){if(B(e)){for(var t=new Se(this.cb.iteratorKeys),i=new Se,r=e.length,c=0;c<r;c++){var h=e[c],v=this.pa(h);if(void 0!==v){i.add(v);var W=this.Rb(v);null!==W?this.Qj(W,h):(this.vm(W={},v),this.Qj(W,h),this.hf(W))}else this.hf(h),i.add(this.pa(h))}for(e=t.iterator;e.next();)i.contains(t=e.value)||(t=this.Rb(t))&&this.om(t)}},N.nq=function(e,t){void 0!==t&&(e=Kh(this,e))instanceof Se&&this.Ef.add(t,e)},N.Wv=function(){},N.rm=function(){},N.qm=function(){},N.sq=function(){},N.Lu=function(e){void 0===e?this.Ef.clear():this.Ef.remove(e)},Is.prototype.copyNodeData=function(e){if(null===e)return null;var t=this.Ik;return x(e=null!==t?t(e,this):Vp(this,e,!0))&&ke(e),e},Is.prototype.setDataProperty=function(e,t,i){if(this.Qb(e)){if(t===this.nodeKeyProperty)this.vm(e,i);else if(t===this.nodeCategoryProperty)return void this.pq(e,i)}else!Ef&&e instanceof As&&(Ef=!0,k('Model.setDataProperty is modifying a GraphObject, "'+e.toString()+'"'),k("  Is that really your intent?"));var r=M0(e,t);r!==i&&(ha(e,t,i),this.mt(e,t,r,i))},(N=Is.prototype).set=function(e,t,i){this.setDataProperty(e,t,i)},N.Qj=function(e,t){if(t){var r,i=this.Qb(e);for(r in t)"__gohashid"===r||i&&r===this.nodeKeyProperty||this.setDataProperty(e,r,t[r])}},N.gy=function(e,t){this.Ys(e,-1,t)},N.Ys=function(e,t,i){0>t&&(t=e.length),$(e,t,i),b0(this,"",yr,"",e,null,i,null,t)},N.xv=function(e,t){void 0===t&&(t=-1),e===this.Fc&&z("Model.removeArrayItem should not be called on the Model.nodeDataArray"),-1===t&&(t=e.length-1);var i=e[t];H(e,t),b0(this,"",kr,"",e,i,null,t,null)},N.Vs=function(e){if(null===e)return"";var t=this.wj;return""===t||void 0===(t=M0(e,t))?"":"string"==typeof t?t:(z("getCategoryForNodeData found a non-string category for "+e+": "+t),"")},N.pq=function(e,t){if(null!==e){var i=this.wj;if(""!==i)if(this.Qb(e)){var r=M0(e,i);void 0===r&&(r=""),r!==t&&(ha(e,i,t),b0(this,"nodeCategory",tr,i,e,r,t))}else ha(e,i,t)}},N.fm=function(){return!1},N.ck=function(){return!1},N.em=function(){return!1},N.dt=function(){return!1},N.dk=function(){return!1},I.Object.defineProperties(Is.prototype,{name:{get:function(){return this.Ua},set:function(e){var t=this.Ua;t!==e&&(this.Ua=e,this.g("name",t,e))}},dataFormat:{get:function(){return this.mn},set:function(e){var t=this.mn;t!==e&&(this.mn=e,this.g("dataFormat",t,e))}},isReadOnly:{get:function(){return this.Lf},set:function(e){var t=this.Lf;t!==e&&(this.Lf=e,this.g("isReadOnly",t,e))}},modelData:{get:function(){return this.l},set:function(e){var t=this.l;t!==e&&(this.l=e,this.g("modelData",t,e),this.Ea(e))}},undoManager:{get:function(){return this.u},set:function(e){var t=this.u;t!==e&&(null!==t&&t.Bx(this),this.u=e,null!==e&&e.Sw(this))}},skipsUndoManager:{get:function(){return this.eh},set:function(e){this.eh=e}},nodeKeyProperty:{get:function(){return this.li},set:function(e){var t=this.li;t!==e&&(""===e&&z("Model.nodeKeyProperty may not be the empty string"),0<this.cb.count&&z("Cannot set Model.nodeKeyProperty when there is existing node data"),this.li=e,this.g("nodeKeyProperty",t,e))}},makeUniqueKeyFunction:{get:function(){return this.ol},set:function(e){var t=this.ol;t!==e&&(this.ol=e,this.g("makeUniqueKeyFunction",t,e))}},nodeDataArray:{get:function(){return this.Fc},set:function(e){var t=this.Fc;if(t!==e){this.cb.clear(),this.Wv();for(var i=e.length,r=0;r<i;r++){var c=e[r];if(!x(c))return void z("Model.nodeDataArray must only contain Objects, not: "+c);Ne(c)}for(this.Fc=e,r=new gt,c=0;c<i;c++){var h=e[c],v=this.pa(h);void 0===v||null!==this.cb.J(v)?r.add(h):this.cb.add(v,h)}for(r=r.iterator;r.next();)this.ht(c=r.value),void 0!==(h=this.pa(c))&&this.cb.add(h,c);for(b0(this,"nodeDataArray",tr,"nodeDataArray",this,t,e),t=0;t<i;t++)this.rm(r=e[t]),this.qm(r);this.Lu(),Array.isArray(e)||(this.isReadOnly=!0)}}},copyNodeDataFunction:{get:function(){return this.Ik},set:function(e){var t=this.Ik;t!==e&&(this.Ik=e,this.g("copyNodeDataFunction",t,e))}},copiesArrays:{get:function(){return this.cn},set:function(e){var t=this.cn;t!==e&&(this.cn=e,this.g("copiesArrays",t,e))}},copiesArrayObjects:{get:function(){return this.bn},set:function(e){var t=this.bn;t!==e&&(this.bn=e,this.g("copiesArrayObjects",t,e))}},copiesKey:{get:function(){return this.en},set:function(e){var t=this.en;t!==e&&(this.en=e,this.g("copiesKey",t,e))}},afterCopyFunction:{get:function(){return this.Mm},set:function(e){var t=this.Mm;t!==e&&(this.Mm=e,this.g("afterCopyFunction",t,e))}},nodeCategoryProperty:{get:function(){return this.wj},set:function(e){var t=this.wj;t!==e&&(this.wj=e,this.g("nodeCategoryProperty",t,e))}}}),I.Object.defineProperties(Is,{type:{get:function(){return"Model"}}}),Is.prototype.setCategoryForNodeData=Is.prototype.pq,Is.prototype.getCategoryForNodeData=Is.prototype.Vs,Is.prototype.removeArrayItem=Is.prototype.xv,Is.prototype.insertArrayItem=Is.prototype.Ys,Is.prototype.addArrayItem=Is.prototype.gy,Is.prototype.assignAllDataProperties=Is.prototype.Qj,Is.prototype.set=Is.prototype.set,Is.prototype.clearUnresolvedReferences=Is.prototype.Lu,Is.prototype.mergeNodeDataArray=Is.prototype.Ez,Is.prototype.removeNodeDataCollection=Is.prototype.Oz,Is.prototype.removeNodeData=Is.prototype.om,Is.prototype.addNodeDataCollection=Is.prototype.ky,Is.prototype.addNodeData=Is.prototype.hf,Is.prototype.makeNodeDataKeyUnique=Is.prototype.ht,Is.prototype.findNodeDataForKey=Is.prototype.Rb,Is.prototype.containsNodeData=Is.prototype.Qb,Is.prototype.setKeyForNodeData=Is.prototype.vm,Is.prototype.getKeyForNodeData=Is.prototype.pa,Is.prototype.updateTargetBindings=Is.prototype.Ea,Is.prototype.commit=Is.prototype.commit,Is.prototype.rollbackTransaction=Is.prototype.uf,Is.prototype.commitTransaction=Is.prototype.Za,Is.prototype.startTransaction=Is.prototype.Aa,Is.prototype.raiseDataChanged=Is.prototype.mt,Is.prototype.raiseChanged=Is.prototype.g,Is.prototype.raiseChangedEvent=Is.prototype.ab,Is.prototype.removeChangedListener=Is.prototype.pk,Is.prototype.addChangedListener=Is.prototype.rh,Is.prototype.writeJsonValue=Is.prototype.zm,Is.prototype.replaceJsonObjects=Is.prototype.pm,Is.prototype.applyIncrementalJSON=Is.prototype.ny,Is.prototype.applyIncrementalJson=Is.prototype.Uw,Is.prototype.toJSON=Is.prototype.toJSON,Is.prototype.toJson=Is.prototype.rq,Is.prototype.toIncrementalJSON=Is.prototype.Xz,Is.prototype.toIncrementalJson=Is.prototype.Ox,Is.prototype.computeJsonDifference=Is.prototype.uy,Is.prototype.clear=Is.prototype.clear;var Ef=!1,Tc={};function V0(e,t,i){ke(this),this.v=!1,void 0===e&&(e=""),void 0===t&&(t=e),void 0===i&&(i=null),this.l=-1,this.Qd=null,this.Ol=e,this.Nl=this.wp=0,this.ws=null,this.Wn=!1,this.El=t,this.an=i,this.so=i_,this.Vm=null,this.Zt=new Se}function Zf(e,t,i){return null===(e=e.sourceName)||""===e?t:"/"===e?i.part:"."===e?i:".."===e?i.panel:t.$a(e)}Is.className="Model",Is.fromJSON=Is.fromJson=function(e,t){void 0===t&&(t=null);var i=null;if("string"==typeof e)try{i=o.JSON.parse(e)}catch{}else"object"==typeof e?i=e:z("Unable to construct a Model from: "+e);if(null===t){e=null;var r=i.class;if("string"==typeof r)try{var c=null;0===r.indexOf("go.")?(r=r.substr(3),c=Tc[r]?Tc[r]:null):void 0===(c=Tc[r]?Tc[r]:null)&&(c=o[r]),"function"==typeof c&&(e=new c)}catch{}null===e||e instanceof Is?t=e:z("Unable to construct a Model of declared class: "+i.class)}return null===t&&(t=Is.constructGraphLinksModel()),t.kq(i),t.wv(i),t},Is.safePropertyValue=M0,Is.safePropertySet=ha,Tc.Brush=cr,Tc.ChangedEvent=Co,Tc.Geometry=so,Tc.GraphObject=As,Tc.Margin=ei,Tc.Panel=Vi,Tc.Point=Ze,Tc.Rect=sn,Tc.Size=Ue,Tc.Spot=Si,Tc.Transaction=Uo,Tc.UndoManager=sr,V0.prototype.copy=function(){var e=new V0;return e.Ol=this.Ol,e.wp=this.wp,e.Nl=this.Nl,e.ws=this.ws,e.Wn=this.Wn,e.El=this.El,e.an=this.an,e.so=this.so,e.Vm=this.Vm,e},(N=V0.prototype).fb=function(e){e.classType===V0&&(this.mode=e)},N.toString=function(){return"Binding("+this.targetProperty+":"+this.sourceProperty+(-1!==this.Xi?" "+this.Xi:"")+" "+this.mode.name+")"},N.freeze=function(){return this.v=!0,this},N.ha=function(){return this.v=!1,this},N.tx=function(e){return void 0===e&&(e=null),this.mode=A_,this.backConverter=e,this},N.hq=function(e){return void 0===e&&(e=""),this.sourceName=e,this.isToModel=!1,this},N.Gz=function(){return this.sourceName=null,this.isToModel=!0,this},N.Xv=function(e,t,i){var r=this.El;if(void 0===i||""===r||r===i){i=this.Ol;var c=this.an;if(null===c&&""===i)k("Binding error: target property is the empty string: "+this.toString());else{var h=t;if(""!==r&&(h=M0(t,r)),void 0!==h)if(null===c)""!==i&&ha(e,i,h);else try{""!==i?ha(e,i,c(h,e)):c(h,e)}catch{}}}},N.uq=function(e,t,i,r){if(this.so===A_){var c=this.Ol;if(void 0===i||c===i){i=this.El;var h=this.Vm,v=e;if(""!==c&&(v=M0(e,c)),void 0!==v&&!this.Zt.contains(e))try{this.Zt.add(e);var W=null!==r?r.diagram:null,X=null!==W?W.model:null;if(null===h){if(""!==i)null!==X?X.setDataProperty(t,i,v):ha(t,i,v);else if(null!==X&&null!==r&&0<=r.itemIndex&&null!==r.panel&&Array.isArray(r.panel.itemArray)){var Z=r.itemIndex,ge=r.panel.itemArray;X.xv(ge,Z),X.Ys(ge,Z,v)}}else try{if(""!==i){var ye=h(v,t,X);null!==X?X.setDataProperty(t,i,ye):ha(t,i,ye)}else{var We=h(v,t,X);if(void 0!==We&&null!==X&&null!==r&&0<=r.itemIndex&&null!==r.panel&&Array.isArray(r.panel.itemArray)){var Ve=r.itemIndex,st=r.panel.itemArray;X.xv(st,Ve),X.Ys(st,Ve,We)}}}catch{}}finally{this.Zt.remove(e)}}}},I.Object.defineProperties(V0.prototype,{Xi:{get:function(){return this.l},set:function(e){this.v&&F(this),this.l=e}},targetProperty:{get:function(){return this.Ol},set:function(e){this.v&&F(this),this.Ol=e}},sourceName:{get:function(){return this.ws},set:function(e){this.v&&F(this),this.ws=e,null!==e&&(this.Wn=!1)}},isToModel:{get:function(){return this.Wn},set:function(e){this.v&&F(this),this.Wn=e}},sourceProperty:{get:function(){return this.El},set:function(e){this.v&&F(this),this.El=e}},converter:{get:function(){return this.an},set:function(e){this.v&&F(this),this.an=e}},backConverter:{get:function(){return this.Vm},set:function(e){this.v&&F(this),this.Vm=e}},mode:{get:function(){return this.so},set:function(e){this.v&&F(this),this.so=e}}}),V0.prototype.updateSource=V0.prototype.uq,V0.prototype.updateTarget=V0.prototype.Xv,V0.prototype.ofModel=V0.prototype.Gz,V0.prototype.ofObject=V0.prototype.hq,V0.prototype.makeTwoWay=V0.prototype.tx;var i_=new Pe(V0,"OneWay",1),A_=new Pe(V0,"TwoWay",2);function Do(e,t){Is.call(this),this.Dt=',\n  "insertedLinkKeys": ',this.fw=',\n  "modifiedLinkData": ',this.Ft=',\n  "removedLinkKeys": ',this.Oc=[],this.Mf=new Se,this.qb=new Kt,this.hi="",this.$i=this.Hk=this.pl=null,this.Te="from",this.Ue="to",this.tj=this.sj="",this.rj="category",this.Hd="",this.tl="isGroup",this.qe="group",this.dn=!1,void 0!==e&&(this.nodeDataArray=e),void 0!==t&&(this.linkDataArray=t)}function Yl(e,t,i){if(null!==t&&""!==(e=i?e.Te:e.Ue)&&void 0!==(e=M0(t,e))){if(Xh(e))return e;z((i?"FromKey":"ToKey")+" value for link data "+t+" is not a number or a string: "+e)}}function Qh(e,t,i,r){if(null===i&&(i=void 0),null!==t){var c=r?e.Te:e.Ue;if(""!==c)if(i=e.gm(i),e.Ae(t)){var h=M0(t,c);h!==i&&(Gu(e,h,t),ha(t,c,i),null===e.Rb(i)&&vd(e,i,t),b0(e,r?"linkFromKey":"linkToKey",tr,c,t,h,i),"string"==typeof c&&e.Ea(t,c))}else ha(t,c,i)}}function em(e,t,i){return null===t||""===(e=i?e.sj:e.tj)||void 0===(t=M0(t,e))?"":t}function tm(e,t,i,r){if(null!==t){var c=r?e.sj:e.tj;if(""!==c)if(e.Ae(t)){var h=M0(t,c);void 0===h&&(h=""),h!==i&&(ha(t,c,i),b0(e,r?"linkFromPortId":"linkToPortId",tr,c,t,h,i),"string"==typeof c&&e.Ea(t,c))}else ha(t,c,i)}}function x_(e,t,i){if(""!==e.linkKeyProperty){var r=e.ic(t);if(void 0!==r&&e.qb.J(r)===t)return;if(e.eq(t),void 0===(r=e.ic(t)))return void z("GraphLinksModel.makeLinkDataKeyUnique failed on "+t+". Data not added to model.");e.qb.add(r,t)}e.Mf.add(t),r=null,i&&e.Oc.splice(r=e.Oc.length,0,t),b0(e,"linkDataArray",yr,"linkDataArray",e,null,t,null,r),nm(e,t)}function s_(e,t,i){e.Mf.remove(t);var r=e.ic(t);if(void 0!==r&&e.qb.remove(r),r=null,i){if(0>(r=e.Oc.indexOf(t)))return;e.Oc.splice(r,1)}if(b0(e,"linkDataArray",kr,"linkDataArray",e,t,null,r,null),Gu(e,i=Yl(e,t,!0),t),Gu(e,i=Yl(e,t,!1),t),r=e.pg(t),Array.isArray(r))for(var c=r.length,h=0;h<c;h++)Gu(e,i=r[h],t)}function nm(e,t){var i=Yl(e,t,!0);i=e.gm(i),null===e.Rb(i)&&vd(e,i,t),i=Yl(e,t,!1),i=e.gm(i),null===e.Rb(i)&&vd(e,i,t);var r=e.pg(t);if(Array.isArray(r))for(var c=r.length,h=0;h<c;h++)null===e.Rb(i=r[h])&&vd(e,i,t)}V0.className="Binding",V0.parseEnum=function(e,t){return function(i){return null===(i=$e(e,i))?t:i}},V0.toString=le,V0.OneWay=i_,V0.TwoWay=A_,y(Do,Is),Do.constructGraphLinksModel=Is.constructGraphLinksModel,Do.prototype.cloneProtected=function(e){Is.prototype.cloneProtected.call(this,e),e.hi=this.hi,e.pl=this.pl,e.Hk=this.Hk,e.Te=this.Te,e.Ue=this.Ue,e.sj=this.sj,e.tj=this.tj,e.rj=this.rj,e.Hd=this.Hd,e.tl=this.tl,e.qe=this.qe,e.dn=this.dn},(N=Do.prototype).clear=function(){Is.prototype.clear.call(this),this.Oc=[],this.qb.clear(),this.Mf.clear()},N.toString=function(e){if(void 0===e&&(e=0),2<=e)return this.rq();var t=(""!==this.name?this.name:"")+" GraphLinksModel";if(0<e){t+="\n node data:";var r,i=(e=this.nodeDataArray).length;for(r=0;r<i;r++){var c=e[r];t+=" "+this.pa(c)+":"+le(c)}for(t+="\n link data:",i=(e=this.linkDataArray).length,r=0;r<i;r++)t+=" "+Yl(this,c=e[r],!0)+"--\x3e"+Yl(this,c,!1)}return t},N.sk=function(){var e=Is.prototype.sk.call(this),t="";return"category"!==this.linkCategoryProperty&&"string"==typeof this.linkCategoryProperty&&(t+=',\n  "linkCategoryProperty": '+this.quote(this.linkCategoryProperty)),""!==this.linkKeyProperty&&"string"==typeof this.linkKeyProperty&&(t+=',\n  "linkKeyProperty": '+this.quote(this.linkKeyProperty)),"from"!==this.linkFromKeyProperty&&"string"==typeof this.linkFromKeyProperty&&(t+=',\n  "linkFromKeyProperty": '+this.quote(this.linkFromKeyProperty)),"to"!==this.linkToKeyProperty&&"string"==typeof this.linkToKeyProperty&&(t+=',\n  "linkToKeyProperty": '+this.quote(this.linkToKeyProperty)),""!==this.linkFromPortIdProperty&&"string"==typeof this.linkFromPortIdProperty&&(t+=',\n  "linkFromPortIdProperty": '+this.quote(this.linkFromPortIdProperty)),""!==this.linkToPortIdProperty&&"string"==typeof this.linkToPortIdProperty&&(t+=',\n  "linkToPortIdProperty": '+this.quote(this.linkToPortIdProperty)),""!==this.linkLabelKeysProperty&&"string"==typeof this.linkLabelKeysProperty&&(t+=',\n  "linkLabelKeysProperty": '+this.quote(this.linkLabelKeysProperty)),"isGroup"!==this.nodeIsGroupProperty&&"string"==typeof this.nodeIsGroupProperty&&(t+=',\n  "nodeIsGroupProperty": '+this.quote(this.nodeIsGroupProperty)),"group"!==this.nodeGroupKeyProperty&&"string"==typeof this.nodeGroupKeyProperty&&(t+=',\n  "nodeGroupKeyProperty": '+this.quote(this.nodeGroupKeyProperty)),e+t},N.kq=function(e){Is.prototype.kq.call(this,e),e.linkKeyProperty&&(this.linkKeyProperty=e.linkKeyProperty),e.linkFromKeyProperty&&(this.linkFromKeyProperty=e.linkFromKeyProperty),e.linkToKeyProperty&&(this.linkToKeyProperty=e.linkToKeyProperty),e.linkFromPortIdProperty&&(this.linkFromPortIdProperty=e.linkFromPortIdProperty),e.linkToPortIdProperty&&(this.linkToPortIdProperty=e.linkToPortIdProperty),e.linkCategoryProperty&&(this.linkCategoryProperty=e.linkCategoryProperty),e.linkLabelKeysProperty&&(this.linkLabelKeysProperty=e.linkLabelKeysProperty),e.nodeIsGroupProperty&&(this.nodeIsGroupProperty=e.nodeIsGroupProperty),e.nodeGroupKeyProperty&&(this.nodeGroupKeyProperty=e.nodeGroupKeyProperty)},N.$v=function(){return Is.prototype.$v.call(this)+',\n  "linkDataArray": '+ou(this,this.linkDataArray,!0)},N.wv=function(e){Is.prototype.wv.call(this,e),e=e.linkDataArray,Array.isArray(e)&&(this.pm(e),this.linkDataArray=e)},N.vq=function(e){if(!(e instanceof Do))return z("Model.computeJsonDifference: newmodel must be a GraphLinksModel"),"";var t=Is.prototype.vq.call(this,e);$p(this,e,"linkKeyProperty"),$p(this,e,"linkFromKeyProperty"),$p(this,e,"linkToKeyProperty"),$p(this,e,"linkLabelKeysProperty"),$p(this,e,"nodeIsGroupProperty"),$p(this,e,"nodeGroupKeyProperty");for(var i=new Se,r=new Se,c=(new Se).addAll(this.qb.iteratorKeys),h=new Kt,v=e.linkDataArray,W=v.length,X=0;X<W;X++){var Z=v[X],ge=e.ic(Z);if(void 0!==ge){c.remove(ge);var ye=this.wh(ge);null===ye?(i.add(ge),r.add(Z)):Jf(this,ye,Z,h)||r.add(Z)}else this.eq(Z),ge=this.ic(Z),i.add(ge),r.add(Z)}return e=t,0<i.count&&(e+=this.Dt+ou(this,i.Na(),!0)),0<r.count&&(e+=this.fw+ou(this,r.Na(),!0)),0<c.count&&(e+=this.Ft+ou(this,c.Na(),!0)),e},N.zt=function(e,t){var i=Is.prototype.zt.call(this,e,t),r=this,c=new Se,h=new Se,v=new Se;e.changes.each(function(Z){Z.model===r&&("linkDataArray"===Z.modelChange?Z.change===yr?c.add(Z.newValue):Z.change===kr&&v.add(Z.oldValue):r.Ae(Z.object)&&h.add(Z.object))});var W=new Se;c.each(function(Z){W.add(r.ic(Z)),t||h.add(Z)});var X=new Se;return v.each(function(Z){X.add(r.ic(Z)),t&&h.add(Z)}),e=i,0<W.count&&(e+=(t?this.Ft:this.Dt)+ou(this,W.Na(),!0)),0<h.count&&(e+=this.fw+ou(this,h.Na(),!0)),0<X.count&&(e+=(t?this.Dt:this.Ft)+ou(this,X.Na(),!0)),e},N.vv=function(e){Is.prototype.vv.call(this,e);var t=e.insertedLinkKeys;if(Array.isArray(t))for(var i=t.length,r=0;r<i;r++){var c=t[r],h=this.wh(c);null===h&&(h=this.Op({}),this.vt(h,c),this.Ai(h))}if(t=e.modifiedLinkData,Array.isArray(t))for(i=t.length,r=0;r<i;r++)if(h=this.ic(c=t[r]),null!==(h=this.wh(h)))for(var v in c)"__gohashid"!==v&&v!==this.linkKeyProperty&&this.setDataProperty(h,v,c[v]);if(e=e.removedLinkKeys,Array.isArray(e))for(v=e.length,t=0;t<v;t++)null!==(i=this.wh(e[t]))&&this.nm(i)},N.Rj=function(e,t){if(e.change===yr){var i=e.newParam;if("linkDataArray"===e.modelChange){if(x(e=e.newValue)&&"number"==typeof i){var r=this.ic(e);t?(this.Mf.remove(e),this.Oc[i]===e&&this.Oc.splice(i,1),void 0!==r&&this.qb.remove(r)):(this.Mf.add(e),this.Oc[i]!==e&&this.Oc.splice(i,0,e),void 0!==r&&this.qb.add(r,e))}return}if("linkLabelKeys"===e.modelChange)return r=this.pg(e.object),void(Array.isArray(r)&&"number"==typeof i&&(t?(i=r.indexOf(e.newValue),0<=i&&r.splice(i,1)):0>r.indexOf(e.newValue)&&r.splice(i,0,e.newValue)))}else if(e.change===kr){if(i=e.oldParam,"linkDataArray"===e.modelChange)return void(x(e=e.oldValue)&&"number"==typeof i&&(r=this.ic(e),t?(this.Mf.add(e),this.Oc[i]!==e&&this.Oc.splice(i,0,e),void 0!==r&&this.qb.add(r,e)):(this.Mf.remove(e),this.Oc[i]===e&&this.Oc.splice(i,1),void 0!==r&&this.qb.remove(r))));if("linkLabelKeys"===e.modelChange)return r=this.pg(e.object),void(Array.isArray(r)&&"number"==typeof i&&(t?0>r.indexOf(e.newValue)&&r.splice(i,0,e.newValue):(i=r.indexOf(e.newValue),0<=i&&r.splice(i,1))))}Is.prototype.Rj.call(this,e,t)},N.gm=function(e){if(void 0!==e){var t=this.$i;if(null!==t){var i=this.Rb(e);null===i&&(ha(i=this.copyNodeData(t),this.nodeKeyProperty,e),this.hf(i))}return e}},N.bz=function(e){return Yl(this,e,!0)},N.Gx=function(e,t){Qh(this,e,t,!0)},N.gz=function(e){return Yl(this,e,!1)},N.Kx=function(e,t){Qh(this,e,t,!1)},N.cz=function(e){return em(this,e,!0)},N.Hx=function(e,t){tm(this,e,t,!0)},N.hz=function(e){return em(this,e,!1)},N.Lx=function(e,t){tm(this,e,t,!1)},N.pg=function(e){if(null===e)return Dm;var t=this.Hd;return""===t||void 0===(e=M0(e,t))?Dm:e},N.Hv=function(e,t){if(null!==e){var i=this.Hd;if(""!==i)if(this.Ae(e)){var r=M0(e,i);if(void 0===r&&(r=Dm),r!==t){if(Array.isArray(r))for(var c=r.length,h=0;h<c;h++)Gu(this,r[h],e);for(ha(e,i,t),c=t.length,h=0;h<c;h++){var v=t[h];null===this.Rb(v)&&vd(this,v,e)}b0(this,"linkLabelKeys",tr,i,e,r,t),"string"==typeof i&&this.Ea(e,i)}}else ha(e,i,t)}},N.Gu=function(e,t){if(null!=t&&null!==e){var i=this.Hd;if(""!==i){var r=M0(e,i);if(void 0===r)(i=[]).push(t),this.Hv(e,i);else if(Array.isArray(r)){var c=r.indexOf(t);0<=c||(c=r.length,r.push(t),this.Ae(e)&&(null===this.Rb(t)&&vd(this,t,e),b0(this,"linkLabelKeys",yr,i,e,null,t,null,c)))}else z(i+" property is not an Array; cannot addLabelKeyForLinkData: "+e)}}},N.Ax=function(e,t){if(null!=t&&null!==e){var i=this.Hd;if(""!==i){var r=M0(e,i);if(Array.isArray(r)){var c=r.indexOf(t);0>c||(r.splice(c,1),this.Ae(e)&&(Gu(this,t,e),b0(this,"linkLabelKeys",kr,i,e,t,null,c,null)))}else void 0!==r&&z(i+" property is not an Array; cannot removeLabelKeyforLinkData: "+e)}}},N.ic=function(e){if(null!==e){var t=this.hi;if(""!==t&&void 0!==(t=M0(e,t))){if(Xh(t))return t;z("Key value for link data "+e+" is not a number or a string: "+t)}}},N.vt=function(e,t){if(null!==e){var i=this.hi;if(""!==i)if(this.Ae(e)){var r=M0(e,i);r!==t&&null===this.wh(t)&&(ha(e,i,t),void 0!==r&&this.qb.remove(r),this.qb.add(t,e),b0(this,"linkKey",tr,i,e,r,t),"string"==typeof i&&this.Ea(e,i))}else ha(e,i,t)}},N.wh=function(e){return null===e&&z("GraphLinksModel.findLinkDataForKey:key must not be null"),void 0!==e&&Xh(e)?this.qb.J(e):null},N.eq=function(e){if(null!==e){var t=this.hi;if(""!==t){var i=this.ic(e);if(void 0===i||this.qb.contains(i)){var r=this.pl;if(null!==r&&null!=(i=r(this,e))&&!this.qb.contains(i))return void ha(e,t,i);if("string"==typeof i){for(r=2;this.qb.contains(i+r);)r++;ha(e,t,i+r)}else if(void 0===i||"number"==typeof i){for(i=-this.qb.count-1;this.qb.contains(i);)i--;ha(e,t,i)}}}}},N.Ae=function(e){return null!==e&&this.Mf.contains(e)},N.Ai=function(e){null!==e&&(Ne(e),this.Ae(e)||x_(this,e,!0))},N.jy=function(e){if(Array.isArray(e))for(var t=e.length,i=0;i<t;i++)this.Ai(e[i]);else for(e=e.iterator;e.next();)this.Ai(e.value)},N.nm=function(e){null!==e&&s_(this,e,!0)},N.Mz=function(e){if(Array.isArray(e))for(var t=e.length,i=0;i<t;i++)this.nm(e[i]);else for(e=e.iterator;e.next();)this.nm(e.value)},N.Dz=function(e){if(B(e)){for(var t=new Se(this.qb.iteratorKeys),i=new Se,r=e.length,c=0;c<r;c++){var h=e[c],v=this.ic(h);if(void 0!==v){i.add(v);var W=this.wh(v);null!==W?this.Qj(W,h):(this.vt(W={},v),this.Qj(W,h),this.Ai(W))}else this.Ai(h),i.add(this.ic(h))}for(e=t.iterator;e.next();)i.contains(t=e.value)||(t=this.wh(t))&&this.nm(t)}},N.Op=function(e){if(null===e)return null;var t=this.Hk;return x(e=null!==t?t(e,this):Vp(this,e,!0))&&(ke(e),""!==this.Te&&ha(e,this.Te,void 0),""!==this.Ue&&ha(e,this.Ue,void 0),""!==this.Hd&&ha(e,this.Hd,[])),e},N.kv=function(e){if(null===e)return!1;var t=this.tl;return""!==t&&!!M0(e,t)},N.Ki=function(e){if(null!==e){var t=this.qe;if(""!==t&&void 0!==(t=M0(e,t))){if(Xh(t))return t;z("GroupKey value for node data "+e+" is not a number or a string: "+t)}}},N.ut=function(e,t){if(null===t&&(t=void 0),null!==e){var i=this.qe;if(""!==i)if(this.Qb(e)){var r=M0(e,i);r!==t&&(Gu(this,r,e),ha(e,i,t),null===this.Rb(t)&&vd(this,t,e),b0(this,"nodeGroupKey",tr,i,e,r,t),"string"==typeof i&&this.Ea(e,i))}else ha(e,i,t)}},Do.prototype.copyNodeData=function(e){return null===e?null:(e=Is.prototype.copyNodeData.call(this,e),this.Vj||""===this.qe||void 0===M0(e,this.qe)||ha(e,this.qe,void 0),e)},Do.prototype.setDataProperty=function(e,t,i){if(this.Qb(e))if(t===this.nodeKeyProperty)this.vm(e,i);else{if(t===this.nodeCategoryProperty)return void this.pq(e,i);if(t===this.nodeGroupKeyProperty)return void this.ut(e,i)}else if(this.Ae(e)){if(t===this.linkFromKeyProperty)return void Qh(this,e,i,!0);if(t===this.linkToKeyProperty)return void Qh(this,e,i,!1);if(t===this.linkFromPortIdProperty)return void tm(this,e,i,!0);if(t===this.linkToPortIdProperty)return void tm(this,e,i,!1);if(t===this.linkKeyProperty)return void this.vt(e,i);if(t===this.linkCategoryProperty)return void this.tt(e,i);if(t===this.linkLabelKeysProperty)return void this.Hv(e,i)}var r=M0(e,t);r!==i&&(ha(e,t,i),this.mt(e,t,r,i))},(N=Do.prototype).Qj=function(e,t){if(t){var c,i=this.Qb(e),r=this.Ae(e);for(c in t)"__gohashid"===c||i&&c===this.nodeKeyProperty||r&&c===this.linkKeyProperty||this.setDataProperty(e,c,t[c])}},N.nq=function(e,t){Is.prototype.nq.call(this,e,t);for(var i=this.cb.iterator;i.next();)this.Bv(i.value,e,t);for(i=this.Mf.iterator;i.next();){var r=i.value,c=e,h=t;if(Yl(this,r,!0)===c){var v=this.Te;ha(r,v,h),b0(this,"linkFromKey",tr,v,r,c,h),"string"==typeof v&&this.Ea(r,v)}if(Yl(this,r,!1)===c&&(ha(r,v=this.Ue,h),b0(this,"linkToKey",tr,v,r,c,h),"string"==typeof v&&this.Ea(r,v)),v=this.pg(r),Array.isArray(v))for(var W=v.length,X=this.Hd,Z=0;Z<W;Z++)v[Z]===c&&(v[Z]=h,b0(this,"linkLabelKeys",yr,X,r,c,h,Z,Z))}},N.Bv=function(e,t,i){if(this.Ki(e)===t){var r=this.qe;ha(e,r,i),b0(this,"nodeGroupKey",tr,r,e,t,i),"string"==typeof r&&this.Ea(e,r)}},N.Wv=function(){Is.prototype.Wv.call(this);for(var e=this.linkDataArray,t=e.length,i=0;i<t;i++)nm(this,e[i])},N.rm=function(e){Is.prototype.rm.call(this,e);var t=Kh(this,e=this.pa(e));if(null!==t){var i=ie();for(t=t.iterator;t.next();){var r=t.value;if(this.Qb(r)){if(this.Ki(r)===e){var c=this.qe;b0(this,"nodeGroupKey",tr,c,r,e,e),"string"==typeof c&&this.Ea(r,c),i.push(r)}}else if(Yl(this,r,!0)===e&&(b0(this,"linkFromKey",tr,c=this.Te,r,e,e),"string"==typeof c&&this.Ea(r,c),i.push(r)),Yl(this,r,!1)===e&&(b0(this,"linkToKey",tr,c=this.Ue,r,e,e),"string"==typeof c&&this.Ea(r,c),i.push(r)),c=this.pg(r),Array.isArray(c))for(var h=c.length,v=this.Hd,W=0;W<h;W++)c[W]===e&&(b0(this,"linkLabelKeys",yr,v,r,e,e,W,W),i.push(r))}for(t=0;t<i.length;t++)Gu(this,e,i[t]);ne(i)}},N.qm=function(e){Is.prototype.qm.call(this,e);var t=this.Ki(e);null===this.Rb(t)&&vd(this,t,e)},N.sq=function(e){Is.prototype.sq.call(this,e),Gu(this,this.Ki(e),e)},N.av=function(e){if(null===e)return"";var t=this.rj;return""===t||void 0===(t=M0(e,t))?"":"string"==typeof t?t:(z("getCategoryForLinkData found a non-string category for "+e+": "+t),"")},Do.prototype.getLinkCategoryForData=function(e){return this.av(e)},Do.prototype.tt=function(e,t){if(null!==e){var i=this.rj;if(""!==i)if(this.Ae(e)){var r=M0(e,i);void 0===r&&(r=""),r!==t&&(ha(e,i,t),b0(this,"linkCategory",tr,i,e,r,t),"string"==typeof i&&this.Ea(e,i))}else ha(e,i,t)}},Do.prototype.setLinkCategoryForData=function(e,t){this.tt(e,t)},Do.prototype.ck=function(){return!0},Do.prototype.em=function(){return!0},Do.prototype.dt=function(){return!0},Do.prototype.dk=function(){return!0},I.Object.defineProperties(Do.prototype,{archetypeNodeData:{get:function(){return this.$i},set:function(e){var t=this.$i;t!==e&&(this.$i=e,this.g("archetypeNodeData",t,e))}},linkFromKeyProperty:{get:function(){return this.Te},set:function(e){var t=this.Te;t!==e&&(this.Te=e,this.g("linkFromKeyProperty",t,e))}},linkToKeyProperty:{get:function(){return this.Ue},set:function(e){var t=this.Ue;t!==e&&(this.Ue=e,this.g("linkToKeyProperty",t,e))}},linkFromPortIdProperty:{get:function(){return this.sj},set:function(e){var t=this.sj;t!==e&&(this.sj=e,this.g("linkFromPortIdProperty",t,e))}},linkToPortIdProperty:{get:function(){return this.tj},set:function(e){var t=this.tj;t!==e&&(this.tj=e,this.g("linkToPortIdProperty",t,e))}},linkLabelKeysProperty:{get:function(){return this.Hd},set:function(e){var t=this.Hd;t!==e&&(this.Hd=e,this.g("linkLabelKeysProperty",t,e))}},linkDataArray:{get:function(){return this.Oc},set:function(e){var t=this.Oc;if(t!==e){this.qb.clear();for(var i=e.length,r=0;r<i;r++){var c=e[r];if(!x(c))return void z("GraphLinksModel.linkDataArray must only contain Objects, not: "+c);Ne(c)}if(this.Oc=e,""!==this.linkKeyProperty){for(r=new gt,c=0;c<i;c++){var h=e[c],v=this.ic(h);void 0===v||null!==this.qb.J(v)?r.add(h):this.qb.add(v,h)}for(r=r.iterator;r.next();)this.eq(c=r.value),void 0!==(h=this.ic(c))&&this.qb.add(h,c)}for(r=new Se,c=0;c<i;c++)r.add(e[c]);for(this.Mf=r,b0(this,"linkDataArray",tr,"linkDataArray",this,t,e),t=0;t<i;t++)nm(this,e[t])}}},linkKeyProperty:{get:function(){return this.hi},set:function(e){var t=this.hi;if(t!==e){this.hi=e,this.qb.clear();for(var i=this.linkDataArray.length,r=0;r<i;r++){var c=this.linkDataArray[r],h=this.ic(c);void 0===h&&(this.eq(c),h=this.ic(c)),void 0!==h&&this.qb.add(h,c)}this.g("linkKeyProperty",t,e)}}},makeUniqueLinkKeyFunction:{get:function(){return this.pl},set:function(e){var t=this.pl;t!==e&&(this.pl=e,this.g("makeUniqueLinkKeyFunction",t,e))}},copyLinkDataFunction:{get:function(){return this.Hk},set:function(e){var t=this.Hk;t!==e&&(this.Hk=e,this.g("copyLinkDataFunction",t,e))}},nodeIsGroupProperty:{get:function(){return this.tl},set:function(e){var t=this.tl;t!==e&&(this.tl=e,this.g("nodeIsGroupProperty",t,e))}},nodeGroupKeyProperty:{get:function(){return this.qe},set:function(e){var t=this.qe;t!==e&&(this.qe=e,this.g("nodeGroupKeyProperty",t,e))}},Vj:{get:function(){return this.dn},set:function(e){this.dn!==e&&(this.dn=e)}},linkCategoryProperty:{get:function(){return this.rj},set:function(e){var t=this.rj;t!==e&&(this.rj=e,this.g("linkCategoryProperty",t,e))}}}),I.Object.defineProperties(Do,{type:{get:function(){return"GraphLinksModel"}}}),Do.prototype.setCategoryForLinkData=Do.prototype.tt,Do.prototype.getCategoryForLinkData=Do.prototype.av,Do.prototype.assignAllDataProperties=Do.prototype.Qj,Do.prototype.setGroupKeyForNodeData=Do.prototype.ut,Do.prototype.getGroupKeyForNodeData=Do.prototype.Ki,Do.prototype.isGroupForNodeData=Do.prototype.kv,Do.prototype.copyLinkData=Do.prototype.Op,Do.prototype.mergeLinkDataArray=Do.prototype.Dz,Do.prototype.removeLinkDataCollection=Do.prototype.Mz,Do.prototype.removeLinkData=Do.prototype.nm,Do.prototype.addLinkDataCollection=Do.prototype.jy,Do.prototype.addLinkData=Do.prototype.Ai,Do.prototype.containsLinkData=Do.prototype.Ae,Do.prototype.makeLinkDataKeyUnique=Do.prototype.eq,Do.prototype.findLinkDataForKey=Do.prototype.wh,Do.prototype.setKeyForLinkData=Do.prototype.vt,Do.prototype.getKeyForLinkData=Do.prototype.ic,Do.prototype.removeLabelKeyForLinkData=Do.prototype.Ax,Do.prototype.addLabelKeyForLinkData=Do.prototype.Gu,Do.prototype.setLabelKeysForLinkData=Do.prototype.Hv,Do.prototype.getLabelKeysForLinkData=Do.prototype.pg,Do.prototype.setToPortIdForLinkData=Do.prototype.Lx,Do.prototype.getToPortIdForLinkData=Do.prototype.hz,Do.prototype.setFromPortIdForLinkData=Do.prototype.Hx,Do.prototype.getFromPortIdForLinkData=Do.prototype.cz,Do.prototype.setToKeyForLinkData=Do.prototype.Kx,Do.prototype.getToKeyForLinkData=Do.prototype.gz,Do.prototype.setFromKeyForLinkData=Do.prototype.Gx,Do.prototype.getFromKeyForLinkData=Do.prototype.bz,Do.prototype.clear=Do.prototype.clear;var Dm=Object.freeze([]);function dc(e){Is.call(this),this.re="parent",this.fn=!1,this.zj="parentLinkCategory",void 0!==e&&(this.nodeDataArray=e)}function wa(){er.call(this),this.ww=this.zn=this.Yb=0,this.er=360,this.vw=qu,this.fj=0,this.hw=new Ze,this.Rq=this.Rd=0,this.Gs=new lm,this.Mt=this.yj=0,this.Xx=600,this.Ro=NaN,this.Sm=1,this.sp=0,this.Kl=360,this.Ab=qu,this.L=Xl,this.Qc=Xp,this.Mc=Tp,this.Ze=6,this.Bo=am}function im(e,t,i,r,c){var h=e.er,v=e.Yb;e=e.Rd,r=r*Math.PI/180,i=i*Math.PI/180;for(var W=t.length,X=0;X<W;X++){var Z=r+(c===Xl?X*i/(360<=h?W:W-1):-X*i/W),ge=t.N(X),ye=v*Math.tan(Z)/e;ye=Math.sqrt((v*v+e*e*ye*ye)/(1+ye*ye)),ge.centerX=ye*Math.cos(Z),ge.centerY=ye*Math.sin(Z),ge.actualAngle=180*Z/Math.PI}}function Rd(e,t,i,r){var c=e.Yb,h=e.Rd,v=e.fj;i=i*Math.PI/180;for(var W=t.length,X=0;X<W;X++){var Z=t.N(X),ge=t.N(X===W-1?0:X+1),ye=h*Math.sin(i);Z.centerX=c*Math.cos(i),Z.centerY=ye,Z.actualAngle=180*i/Math.PI,isNaN(Z.diameter)&&rp(Z,0),isNaN(ge.diameter)&&rp(ge,0),Z=om(e,c,h,r===Xl?i:-i,(Z.diameter+ge.diameter)/2+v),i+=r===Xl?Z:-Z}}function Na(e,t,i,r){var c=e.Yb,h=e.Rd,v=e.Rq;i=i*Math.PI/180;for(var W=t.length,X=0;X<W;X++){var Z=t.N(X);Z.centerX=c*Math.cos(i),Z.centerY=h*Math.sin(i),Z.actualAngle=180*i/Math.PI,Z=om(e,c,h,r===Xl?i:-i,v),i+=r===Xl?Z:-Z}}function ag(e,t,i,r,c){var h=e.er;if(e.yj=0,e.Gs=new lm,360>i){for(h=r+(c===Xl?h:-h);0>h;)h+=360;180<(h%=360)&&(h-=360),h*=Math.PI/180,e.Mt=h,Sf(e,t,i,r,c)}else Hp(e,t,i,r,c);e.Gs.commit(t)}function Hp(e,t,i,r,c){var h=e.Yb,v=e.fj,W=e.zn,X=h*Math.cos(r*Math.PI/180),Z=e.Rd*Math.sin(r*Math.PI/180),ge=t.Na();if(3===ge.length)ge[0].centerX=h,ge[0].centerY=0,ge[1].centerX=ge[0].centerX-ge[0].width/2-ge[1].width/2-v,ge[1].y=ge[0].y,ge[2].centerX=(ge[0].centerX+ge[1].centerX)/2,ge[2].y=ge[0].y-ge[2].height-v;else if(4===ge.length)ge[0].centerX=h,ge[0].centerY=0,ge[2].centerX=-ge[0].centerX,ge[2].centerY=ge[0].centerY,ge[1].centerX=0,ge[1].y=Math.min(ge[0].y,ge[2].y)-ge[1].height-v,ge[3].centerX=0,ge[3].y=Math.max(ge[0].y+ge[0].height+v,ge[2].y+ge[2].height+v);else{h=Ze.alloc();for(var ye=0;ye<ge.length&&(ge[ye].centerX=X,ge[ye].centerY=Z,!(ye>=ge.length-1));ye++)o_(e,X,Z,ge,ye,c,h)||Tf(e,X,Z,ge,ye,c,h),X=h.x,Z=h.y;if(Ze.free(h),e.yj++,!(23<e.yj)){X=ge[0].centerX,Z=ge[0].centerY,h=ge[ge.length-1].centerX,ye=ge[ge.length-1].centerY;var We=Math.abs(X-h)-((ge[0].width+ge[ge.length-1].width)/2+v),Ve=Math.abs(Z-ye)-((ge[0].height+ge[ge.length-1].height)/2+v);v=0,1>Math.abs(Ve)?Math.abs(X-h)<(ge[0].width+ge[ge.length-1].width)/2&&(v=0):v=0<Ve?Ve:1>Math.abs(We)?0:We,X=Math.abs(h)>Math.abs(ye)?0<h!=Z>ye:0<ye!=X<h,(X=c===Xl?X:!X)&&(v=-Math.abs(v),v=Math.min(v,-ge[ge.length-1].width),v=Math.min(v,-ge[ge.length-1].height)),e.Gs.compare(v,ge),1<Math.abs(v)&&(e.Yb=8>e.yj?e.Yb-v/(2*Math.PI):5>ge.length&&10<v?e.Yb/2:e.Yb-(0<v?1.7:-2.3),e.Rd=e.Yb*W,Hp(e,t,i,r,c))}}}function Sf(e,t,i,r,c){for(var h=e.Yb,v=e.Rd,W=e.zn,X=h*Math.cos(r*Math.PI/180),Z=v*Math.sin(r*Math.PI/180),ge=Ze.alloc(),ye=t.Na(),We=0;We<ye.length&&(ye[We].centerX=X,ye[We].centerY=Z,!(We>=ye.length-1));We++)o_(e,X,Z,ye,We,c,ge)||Tf(e,X,Z,ye,We,c,ge),X=ge.x,Z=ge.y;if(Ze.free(ge),e.yj++,!(23<e.yj)){if(X=Math.atan2(Z,X),X=c===Xl?e.Mt-X:X-e.Mt,h=(X=Math.abs(X)<Math.abs(X-2*Math.PI)?X:X-2*Math.PI)*(h+v)/2,v=e.Gs,Math.abs(h)<Math.abs(v.am))for(v.am=h,v.tk=[],v.Am=[],X=0;X<ye.length;X++)v.tk[X]=ye[X].bounds.x,v.Am[X]=ye[X].bounds.y;1<Math.abs(h)&&(e.Yb=8>e.yj?e.Yb-h/(2*Math.PI):e.Yb-(0<h?1.7:-2.3),e.Rd=e.Yb*W,Sf(e,t,i,r,c))}}function o_(e,t,i,r,c,h,v){var W=e.Yb,X=e.Rd,Z=0;e=(r[c].width+r[c+1].width)/2+e.fj;var ge=!1;if(0<=i!=(h===Xl)){if((h=t+e)>W){if((h=t-e)<-W)return v.x=h,v.y=Z,!1;ge=!0}}else if((h=t-e)<-W){if((h=t+e)>W)return v.x=h,v.y=Z,!1;ge=!0}return Z=Math.sqrt(1-Math.min(1,h*h/(W*W)))*X,0>i!==ge&&(Z=-Z),Math.abs(i-Z)>(r[c].height+r[c+1].height)/2?(v.x=h,v.y=Z,!1):(v.x=h,v.y=Z,!0)}function Tf(e,t,i,r,c,h,v){var W=e.Yb,X=e.Rd,Z=0;if(e=(r[c].height+r[c+1].height)/2+e.fj,r=!1,0<=t!=(h===Xl)){if((h=i-e)<-X){if((h=i+e)>X)return v.x=Z,void(v.y=h);r=!0}}else if((h=i+e)>X){if((h=i-e)<-X)return v.x=Z,void(v.y=h);r=!0}Z=Math.sqrt(1-Math.min(1,h*h/(X*X)))*W,0>t!==r&&(Z=-Z),v.x=Z,v.y=h}function sm(e,t,i,r,c){var h=e.Xx;if(.001>Math.abs(e.zn-1))return void 0!==r&&void 0!==c?c*t:2*Math.PI*t;e=t>i?Math.sqrt(t*t-i*i)/t:Math.sqrt(i*i-t*t)/i;for(var v=0,W=void 0!==r&&void 0!==c?c/(h+1):Math.PI/(2*(h+1)),X=0,Z=0;Z<=h;Z++){X=void 0!==r&&void 0!==c?r+Z*c/h:Z*Math.PI/(2*h);var ge=Math.sin(X);v+=Math.sqrt(1-e*e*ge*ge)*W}return void 0!==r&&void 0!==c?(t>i?t:i)*v:4*(t>i?t:i)*v}function Yp(e,t,i,r,c){return t/(void 0!==r&&void 0!==c?sm(e,1,i,r,c):sm(e,1,i))}function om(e,t,i,r,c){if(.001>Math.abs(e.zn-1))return c/t;var h=t>i?Math.sqrt(t*t-i*i)/t:Math.sqrt(i*i-t*t)/i,v=0;e=2*Math.PI/(700*e.network.vertexes.count),t>i&&(r+=Math.PI/2);for(var W=0;;W++){var X=Math.sin(r+W*e);if((v+=(t>i?t:i)*Math.sqrt(1-h*h*X*X)*e)>=c)return W*e}}Do.className="GraphLinksModel",Tc.GraphLinksModel=Do,Is.constructGraphLinksModel=Is.constructGraphLinksModel=function(){return new Do},Is.initDiagramModel=Qf=function(){return new Do},y(dc,Is),dc.constructGraphLinksModel=Is.constructGraphLinksModel,dc.prototype.cloneProtected=function(e){Is.prototype.cloneProtected.call(this,e),e.re=this.re,e.fn=this.fn,e.zj=this.zj},(N=dc.prototype).toString=function(e){if(void 0===e&&(e=0),2<=e)return this.rq();var t=(""!==this.name?this.name:"")+" TreeModel";if(0<e){t+="\n node data:";for(var i=(e=this.nodeDataArray).length,r=0;r<i;r++){var c=e[r];t+=" "+this.pa(c)+":"+le(c)}}return t},N.sk=function(){var e=Is.prototype.sk.call(this),t="";return"parent"!==this.nodeParentKeyProperty&&"string"==typeof this.nodeParentKeyProperty&&(t+=',\n  "nodeParentKeyProperty": '+this.quote(this.nodeParentKeyProperty)),e+t},N.kq=function(e){Is.prototype.kq.call(this,e),e.nodeParentKeyProperty&&(this.nodeParentKeyProperty=e.nodeParentKeyProperty)},N.vq=function(e){return $p(this,e,"nodeParentKeyProperty"),Is.prototype.vq.call(this,e)},N.gm=function(e){return e},N.Mi=function(e){if(null!==e){var t=this.re;if(""!==t&&void 0!==(t=M0(e,t))){if(Xh(t))return t;z("ParentKey value for node data "+e+" is not a number or a string: "+t)}}},N.He=function(e,t){if(null===t&&(t=void 0),null!==e){var i=this.re;if(""!==i)if(t=this.gm(t),this.Qb(e)){var r=M0(e,i);r!==t&&(Gu(this,r,e),ha(e,i,t),null===this.Rb(t)&&vd(this,t,e),b0(this,"nodeParentKey",tr,i,e,r,t),"string"==typeof i&&this.Ea(e,i))}else ha(e,i,t)}},N.bv=function(e){if(null===e)return"";var t=this.zj;return""===t||void 0===(t=M0(e,t))?"":"string"==typeof t?t:(z("getParentLinkCategoryForNodeData found a non-string category for "+e+": "+t),"")},dc.prototype.getLinkCategoryForData=function(e){return this.bv(e)},dc.prototype.Iv=function(e,t){if(null!==e){var i=this.zj;if(""!==i)if(this.Qb(e)){var r=M0(e,i);void 0===r&&(r=""),r!==t&&(ha(e,i,t),b0(this,"parentLinkCategory",tr,i,e,r,t),"string"==typeof i&&this.Ea(e,i))}else ha(e,i,t)}},dc.prototype.setLinkCategoryForData=function(e,t){this.Iv(e,t)},dc.prototype.copyNodeData=function(e){return null===e?null:(e=Is.prototype.copyNodeData.call(this,e),this.Wj||""===this.re||void 0===M0(e,this.re)||ha(e,this.re,void 0),e)},dc.prototype.setDataProperty=function(e,t,i){if(this.Qb(e))if(t===this.nodeKeyProperty)this.vm(e,i);else{if(t===this.nodeCategoryProperty)return void this.pq(e,i);if(t===this.nodeParentKeyProperty)return void this.He(e,i)}var r=M0(e,t);r!==i&&(ha(e,t,i),this.mt(e,t,r,i))},(N=dc.prototype).nq=function(e,t){Is.prototype.nq.call(this,e,t);for(var i=this.cb.iterator;i.next();)this.Bv(i.value,e,t)},N.Bv=function(e,t,i){if(this.Mi(e)===t){var r=this.re;ha(e,r,i),b0(this,"nodeParentKey",tr,r,e,t,i),"string"==typeof r&&this.Ea(e,r)}},N.rm=function(e){Is.prototype.rm.call(this,e);var t=Kh(this,e=this.pa(e));if(null!==t){var i=ie();for(t=t.iterator;t.next();){var r=t.value;if(this.Qb(r)&&this.Mi(r)===e){var c=this.re;b0(this,"nodeParentKey",tr,c,r,e,e),"string"==typeof c&&this.Ea(r,c),i.push(r)}}for(t=0;t<i.length;t++)Gu(this,e,i[t]);ne(i)}},N.qm=function(e){Is.prototype.qm.call(this,e);var t=this.Mi(e);t=this.gm(t),null===this.Rb(t)&&vd(this,t,e)},N.sq=function(e){Is.prototype.sq.call(this,e),Gu(this,this.Mi(e),e)},N.fm=function(){return!0},N.dt=function(){return!0},I.Object.defineProperties(dc.prototype,{nodeParentKeyProperty:{get:function(){return this.re},set:function(e){var t=this.re;t!==e&&(this.re=e,this.g("nodeParentKeyProperty",t,e))}},Wj:{get:function(){return this.fn},set:function(e){this.fn!==e&&(this.fn=e)}},parentLinkCategoryProperty:{get:function(){return this.zj},set:function(e){var t=this.zj;t!==e&&(this.zj=e,this.g("parentLinkCategoryProperty",t,e))}},linkCategoryProperty:{get:function(){return this.parentLinkCategoryProperty},set:function(e){this.parentLinkCategoryProperty=e}}}),I.Object.defineProperties(dc,{type:{get:function(){return"TreeModel"}}}),dc.prototype.setParentLinkCategoryForNodeData=dc.prototype.Iv,dc.prototype.getParentLinkCategoryForNodeData=dc.prototype.bv,dc.prototype.setParentKeyForNodeData=dc.prototype.He,dc.prototype.getParentKeyForNodeData=dc.prototype.Mi,dc.className="TreeModel",Tc.TreeModel=dc,y(wa,er),wa.prototype.cloneProtected=function(e){er.prototype.cloneProtected.call(this,e),e.Ro=this.Ro,e.Sm=this.Sm,e.sp=this.sp,e.Kl=this.Kl,e.Ab=this.Ab,e.L=this.L,e.Qc=this.Qc,e.Mc=this.Mc,e.Ze=this.Ze,e.Bo=this.Bo},wa.prototype.fb=function(e){e.classType===wa?e===rm||e===zf||e===Pm||e===zh||e===Xp?this.sorting=e:e===Ch||e===Cf||e===Xl||e===sp?this.direction=e:e===ip||e===zp||e===qu||e===H0?this.arrangement=e:(e===op||e===am)&&(this.nodeDiameterFormula=e):er.prototype.fb.call(this,e)},wa.prototype.createNetwork=function(){return new Zh(this)},wa.prototype.doLayout=function(e){if(null===this.network&&(this.network=this.makeNetwork(e)),this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin),1>=(e=this.network.vertexes).count)1===e.count&&((e=e.first()).centerX=0,e.centerY=0);else{var t=new gt;t.addAll(e.iterator),e=new gt;var c,h,i=new gt,r=this.sort(t),v=this.Rq,W=this.arrangement,X=this.nodeDiameterFormula,Z=this.radius;(!isFinite(Z)||0>=Z)&&(Z=NaN);var ge=this.aspectRatio;(!isFinite(ge)||0>=ge)&&(ge=1);var ye=this.startAngle;isFinite(ye)||(ye=0);var We=this.sweepAngle;if((!isFinite(We)||360<We||1>We)&&(We=360),t=this.spacing,isFinite(t)||(t=NaN),W===H0&&X===op?W=qu:W===H0&&X!==op&&(W=this.arrangement),(this.direction===Ch||this.direction===Cf)&&this.sorting!==Xp){for(X=0;!(X>=r.length||(e.add(r.N(X)),X+1>=r.length));X+=2)i.add(r.N(X+1));this.direction===Ch?(this.arrangement===H0&&e.reverse(),(r=new gt).addAll(e),r.addAll(i)):(this.arrangement===H0&&i.reverse(),(r=new gt).addAll(i),r.addAll(e))}X=r.length;for(var Ve=h=c=0;Ve<r.length;Ve++){var st=ye+We*h*(this.direction===Xl?1:-1)/X,jt=r.N(Ve).diameter;isNaN(jt)&&(jt=rp(r.N(Ve),st)),360>We&&(0===Ve||Ve===r.length-1)&&(jt/=2),c+=jt,h++}if(isNaN(Z)||W===H0){if(isNaN(t)&&(t=6),W!==qu&&W!==H0){for(h=-1/0,v=0;v<X;v++)Ve=r.N(v),c=r.N(v===X-1?0:v+1),isNaN(Ve.diameter)&&rp(Ve,0),isNaN(c.diameter)&&rp(c,0),h=Math.max(h,(Ve.diameter+c.diameter)/2);v=h+t,Z=W===ip?(h+t)/(2*Math.PI/X):Yp(this,v*(360<=We?X:X-1),ge,ye*Math.PI/180,We*Math.PI/180)}else Z=Yp(this,c+(360<=We?X:X-1)*(W!==H0?t:1.6*t),ge,ye*Math.PI/180,We*Math.PI/180);h=Z*ge}else if(Ve=sm(this,Z,h=Z*ge,ye*Math.PI/180,We*Math.PI/180),isNaN(t))(W===qu||W===H0)&&(t=(Ve-c)/(360<=We?X:X-1));else if(W===qu||W===H0)(Ve=(Ve-c)/(360<=We?X:X-1))<t?h=(Z=Yp(this,c+t*(360<=We?X:X-1),ge,ye*Math.PI/180,We*Math.PI/180))*ge:t=Ve;else{for(v=-1/0,c=0;c<X;c++)st=r.N(c),jt=r.N(c===X-1?0:c+1),isNaN(st.diameter)&&rp(st,0),isNaN(jt.diameter)&&rp(jt,0),v=Math.max(v,(st.diameter+jt.diameter)/2);(c=Yp(this,(v+=t)*(360<=We?X:X-1),ge,ye*Math.PI/180,We*Math.PI/180))>Z?h=(Z=c)*ge:v=Ve/(360<=We?X:X-1)}if(this.vw=W,this.Yb=Z,this.zn=ge,this.ww=ye,this.er=We,this.fj=t,this.Rd=h,this.Rq=v,t=r,r=this.vw,W=this.Yb,Z=this.ww,ge=this.er,ye=this.fj,We=this.Rd,X=this.Rq,this.direction!==Ch&&this.direction!==Cf||r!==H0)if(this.direction===Ch||this.direction===Cf){switch(v=0,r){case zp:v=180*om(this,W,We,Z,X)/Math.PI;break;case qu:X=t=0,null!==(v=e.first())&&(t=rp(v,Math.PI/2)),null!==(v=i.first())&&(X=rp(v,Math.PI/2)),v=180*om(this,W,We,Z,ye+(t+X)/2)/Math.PI;break;case ip:v=ge/t.length}if(this.direction===Ch){switch(r){case zp:Na(this,e,Z,sp);break;case qu:Rd(this,e,Z,sp);break;case ip:im(this,e,ge/2,Z,sp)}switch(r){case zp:Na(this,i,Z+v,Xl);break;case qu:Rd(this,i,Z+v,Xl);break;case ip:im(this,i,ge/2,Z+v,Xl)}}else{switch(r){case zp:Na(this,i,Z,sp);break;case qu:Rd(this,i,Z,sp);break;case ip:im(this,i,ge/2,Z,sp)}switch(r){case zp:Na(this,e,Z+v,Xl);break;case qu:Rd(this,e,Z+v,Xl);break;case ip:im(this,e,ge/2,Z+v,Xl)}}}else switch(r){case zp:Na(this,t,Z,this.direction);break;case qu:Rd(this,t,Z,this.direction);break;case ip:im(this,t,ge,Z,this.direction);break;case H0:ag(this,t,ge,Z,this.direction)}else ag(this,t,ge,Z-ge/2,Xl)}this.updateParts(),this.network=null,this.isValidLayout=!0},wa.prototype.commitLayout=function(){this.commitNodes(),this.isRouting&&this.commitLinks()},wa.prototype.commitNodes=function(){var e=null!==this.group&&null!==this.group.placeholder&&this.group.isSubGraphExpanded,t=e?this.group.location.copy():null,i=this.actualCenter;e?i=new Ze(0,0):(i.x=this.arrangementOrigin.x+this.Yb,i.y=this.arrangementOrigin.y+this.Rd);for(var r=this.network.vertexes.iterator;r.next();){var c=r.value;c.x+=i.x,c.y+=i.y,c.commit()}e&&(this.group.ac(),e=this.group.position.copy(),i=this.group.location.copy(),t=t.Xd(i.Xd(e)),this.group.move(t),this.hw=t.Xd(e))},wa.prototype.commitLinks=function(){for(var e=this.network.edges.iterator;e.next();)e.value.commit()},wa.prototype.sort=function(e){switch(this.sorting){case Pm:break;case zh:e.reverse();break;case rm:e.sort(this.comparer);break;case zf:e.sort(this.comparer),e.reverse();break;case Xp:for(var t=[],i=0;i<e.length;i++)t.push(0);i=new gt;for(var r=0;r<e.length;r++){var c=-1,h=-1;if(0===r)for(var v=0;v<e.length;v++){var W=e.N(v).edgesCount;W>c&&(c=W,h=v)}else for(v=0;v<e.length;v++)(W=t[v])>c&&(c=W,h=v);for(i.add(e.N(h)),t[h]=-1,v=(h=e.N(h)).sourceEdges;v.next();)0>(c=e.indexOf(v.value.fromVertex))||0<=t[c]&&t[c]++;for(h=h.destinationEdges;h.next();)0>(c=e.indexOf(h.value.toVertex))||0<=t[c]&&t[c]++}for(e=[],t=0;t<i.length;t++){for(c=i.N(t),e[t]=[],h=c.destinationEdges;h.next();)(r=i.indexOf(h.value.toVertex))!==t&&0>e[t].indexOf(r)&&e[t].push(r);for(c=c.sourceEdges;c.next();)(r=i.indexOf(c.value.fromVertex))!==t&&0>e[t].indexOf(r)&&e[t].push(r)}for(h=[],t=0;t<e.length;t++)h[t]=0;t=[],v=[],W=[],c=[],r=new gt;for(var X=0,Z=0;Z<e.length;Z++){var ge=e[Z].length;if(1===ge)c.push(Z);else if(0===ge)r.add(i.N(Z));else{if(0===X)t.push(Z);else{for(var ye=ge=1/0,We=-1,Ve=[],st=0;st<t.length;st++)0>e[t[st]].indexOf(t[st===t.length-1?0:st+1])&&Ve.push(st===t.length-1?0:st+1);if(0===Ve.length)for(st=0;st<t.length;st++)Ve.push(st);for(st=0;st<Ve.length;st++){for(var jt=Ve[st],nn=e[Z],on=0,Fn=0;Fn<v.length;Fn++){var Gn=h[v[Fn]],hi=h[W[Fn]];if(Gn<hi){var gi=Gn;Gn=hi}else gi=hi;if(gi<jt&&jt<=Gn)for(hi=0;hi<nn.length;hi++){var xi=nn[hi];0>t.indexOf(xi)||gi<h[xi]&&h[xi]<Gn||gi===h[xi]||Gn===h[xi]||on++}else for(hi=0;hi<nn.length;hi++)0>t.indexOf(xi=nn[hi])||gi<h[xi]&&h[xi]<Gn&&gi!==h[xi]&&Gn!==h[xi]&&on++}for(nn=on,Fn=on=0;Fn<e[Z].length;Fn++)0<=(gi=t.indexOf(e[Z][Fn]))&&(on+=(gi=Math.abs(jt-(gi>=jt?gi+1:gi)))<t.length+1-gi?gi:t.length+1-gi);for(Fn=0;Fn<v.length;Fn++)(gi=h[v[Fn]])>=jt&&gi++,(Gn=h[W[Fn]])>=jt&&Gn++,gi>Gn&&(hi=Gn,Gn=gi,gi=hi),Gn-gi<(t.length+2)/2==(gi<jt&&jt<=Gn)&&on++;(nn<ge||nn===ge&&on<ye)&&(ge=nn,ye=on,We=jt)}for(t.splice(We,0,Z),ge=0;ge<t.length;ge++)h[t[ge]]=ge;for(ge=0;ge<e[Z].length;ge++)0<=t.indexOf(ye=e[Z][ge])&&(v.push(Z),W.push(ye))}X++}}for(v=t.length;;){for(h=!0,W=0;W<c.length;W++)if(0<=(ge=t.indexOf(Z=e[X=c[W]][0]))){for(We=ye=0;We<e[Z].length;We++)0>(Ve=t.indexOf(e[Z][We]))||Ve===ge||(ye+=Ve<ge!=(st=Ve>ge?Ve-ge:ge-Ve)>v-st?1:-1);t.splice(0>ye?ge:ge+1,0,X),c.splice(W,1),W--}else h=!1;if(h)break;t.push(c[0]),c.splice(0,1)}for(e=0;e<t.length;e++)r.add(i.N(t[e]));return r;default:z("Invalid sorting type.")}return e},I.Object.defineProperties(wa.prototype,{radius:{get:function(){return this.Ro},set:function(e){this.Ro!==e&&(0<e||isNaN(e))&&(this.Ro=e,this.B())}},aspectRatio:{get:function(){return this.Sm},set:function(e){this.Sm!==e&&0<e&&(this.Sm=e,this.B())}},startAngle:{get:function(){return this.sp},set:function(e){this.sp!==e&&(this.sp=e,this.B())}},sweepAngle:{get:function(){return this.Kl},set:function(e){this.Kl!==e&&(this.Kl=0<e&&360>=e?e:360,this.B())}},arrangement:{get:function(){return this.Ab},set:function(e){this.Ab===e||e!==H0&&e!==qu&&e!==zp&&e!==ip||(this.Ab=e,this.B())}},direction:{get:function(){return this.L},set:function(e){this.L===e||e!==Xl&&e!==sp&&e!==Ch&&e!==Cf||(this.L=e,this.B())}},sorting:{get:function(){return this.Qc},set:function(e){this.Qc===e||e!==Pm&&e!==zh&&e!==rm&&!zf&&e!==Xp||(this.Qc=e,this.B())}},comparer:{get:function(){return this.Mc},set:function(e){this.Mc!==e&&(this.Mc=e,this.B())}},spacing:{get:function(){return this.Ze},set:function(e){this.Ze!==e&&(this.Ze=e,this.B())}},nodeDiameterFormula:{get:function(){return this.Bo},set:function(e){this.Bo===e||e!==am&&e!==op||(this.Bo=e,this.B())}},actualXRadius:{get:function(){return this.Yb}},actualYRadius:{get:function(){return this.Rd}},actualSpacing:{get:function(){return this.fj}},actualCenter:{get:function(){return this.hw}}});var qu=new Pe(wa,"ConstantSpacing",0),zp=new Pe(wa,"ConstantDistance",1),ip=new Pe(wa,"ConstantAngle",2),H0=new Pe(wa,"Packed",3),Xl=new Pe(wa,"Clockwise",4),sp=new Pe(wa,"Counterclockwise",5),Ch=new Pe(wa,"BidirectionalLeft",6),Cf=new Pe(wa,"BidirectionalRight",7),Pm=new Pe(wa,"Forwards",8),zh=new Pe(wa,"Reverse",9),rm=new Pe(wa,"Ascending",10),zf=new Pe(wa,"Descending",11),Xp=new Pe(wa,"Optimized",12),am=new Pe(wa,"Pythagorean",13),op=new Pe(wa,"Circular",14);function lm(){this.am=-1/0,this.Am=this.tk=null}function Zh(e){jo.call(this,e)}function r_(e){S1.call(this,e),this.K=this.ej=NaN}function rp(e,t){var i=e.network;if(null===i)return NaN;if(null===(i=i.layout))return NaN;if(i.arrangement===H0)if(i.nodeDiameterFormula===op)e.ej=Math.max(e.width,e.height);else{if(i=Math.abs(Math.sin(t)),t=Math.abs(Math.cos(t)),0===i)return e.width;if(0===t)return e.height;e.ej=Math.min(e.height/i,e.width/t)}else e.ej=i.nodeDiameterFormula===op?Math.max(e.width,e.height):Math.sqrt(e.width*e.width+e.height*e.height);return e.ej}function cm(e){uc.call(this,e)}function gl(){er.call(this),this.ph=null,this.$n=0,this.wd=new Ue(100,100).freeze(),this.Rm=!1,this.Ye=!0,this.Xc=!1,this.ql=100,this.Cn=1,this.Jf=1e3,this.vo=10,this.So=Math,this.Pk=.05,this.Ok=50,this.Mk=150,this.Nk=0,this.pn=10,this.on=5}function Im(e,t,i){if(function F_(e,t){if(10<t||3>e.network.vertexes.count)return!1;for(e.ph=e.network.vertexes.Na(),(e=e.ph).sort(function(i,r){return null===i||null===r||i===r?0:r.td-i.td}),t=e.length-1;0<=t&&1>=e[t].td;)t--;return 1<e.length-t}(e,t)){var r=e.Jf;e.Jf*=1+1/(t+1);var c=function Df(e,t){for(var i=e.network,r=new If(e),c=0;c<e.ph.length;c++){var h=e.ph[c];if(!(1<h.td))break;r.sh(h);var v=new Pf;v.Bt=h.td,v.Ct=h.width,v.At=h.height,v.aw=h.focus.x,v.bw=h.focus.y,null===h.Ge&&(h.Ge=new gt),h.Ge.add(v),h.Ev=h.Ge.count-1}for(h=i.edges.iterator;h.next();){var W=h.value;v=W.toVertex,(c=W.fromVertex).network===r&&v.network===r?r.Oj(W):c.network===r?(null===(W=c.Uj)&&(W=new gt,c.Uj=W),W.add(v),c.td--,c.Ah+=v.Ah):v.network===r&&(null===(W=v.Uj)&&(W=new gt,v.Uj=W),W.add(c),v.td--,v.Ah+=c.Ah)}for(c=r.edges.iterator;c.next();)(h=c.value).length*=Math.max(1,Yn.sqrt((h.fromVertex.Ah+h.toVertex.Ah)/(4*t+1)));for(t=r.vertexes.iterator;t.next();){var X=(c=t.value).Uj;if(null!==X&&0<X.count&&!(0>=(v=c.Ge.N(c.Ge.count-1).Bt-c.td))){for(var Z=W=0,ge=X.count-v;ge<X.count;ge++){var ye=X.N(ge),We=null;for(h=ye.edges.iterator;h.next();){var Ve=h.value;if(Ve.nx(ye)===c){We=Ve;break}}null!==We&&(Z+=We.length,W+=ye.width*ye.height)}h=c.centerX,X=c.centerY,We=c.focus,1>(Ve=(ge=c.width)*(ye=c.height))&&(Ve=1),W=Yn.sqrt((W+Ve+Z*Z*4/(v*v))/Ve),c.bounds=new sn(h-We.x-(v=(W-1)*ge/2),X-We.y-(W=(W-1)*ye/2),ge+2*v,ye+2*W),c.focus=new Ze(We.x+v,We.y+W)}}return e.network=r,i}(e,t),h=Math.max(0,Math.max(Math.min(e.network.vertexes.count,i*(t+1)/11),10));for(e.maxIterations+=h,Im(e,t+1,i),j_(e,h),function y_(e,t){for(var i=e.network.vertexes.iterator;i.next();){var r=i.value;if(r.network=t,null!==r.Ge){var c=r.Ge.N(r.Ev);r.td=c.Bt;var h=c.aw,v=c.bw;r.bounds=new sn(r.centerX-h,r.centerY-v,c.Ct,c.At),r.focus=new Ze(h,v),r.Ev--}}for(i=e.network.edges.iterator;i.next();)i.value.network=t;e.network=t}(e,c),(t=c.vertexes.Na()).sort(function(v,W){return null===v||null===W||v===W?0:W.td-v.td}),i=0;i<t.length;i++)W_(e,t[i]);e.Jf=r}}function W_(e,t){var i=t.Uj;if(null!==i&&0!==i.count){var r=t.centerX,c=t.centerY,h=t.width,v=t.height;null!==t.Ge&&0<t.Ge.count&&(h=(v=t.Ge.N(0)).Ct,v=v.At),h=Yn.sqrt(h*h+v*v)/2;for(var W=!1,X=v=0,Z=0,ge=t.vertexes.iterator;ge.next();){var ye=ge.value;1>=ye.td?X++:(W=!0,Z++,v+=Math.atan2(t.centerY-ye.centerY,t.centerX-ye.centerX))}if(0!==X)for(0<Z&&(v/=Z),Z=t=0,t=W?2*Math.PI/(X+1):2*Math.PI/X,X%2==0&&(Z=t/2),1<i.count&&i.sort(function(Ve,st){return null===Ve||null===st||Ve===st?0:st.width*st.height-Ve.width*Ve.height}),W=X%2==0?0:1,i=i.iterator;i.next();)if(!(1<(X=i.value).td||e.isFixed(X))){for(ge=null,ye=X.edges.iterator;ye.next();){ge=ye.value;break}var We=X.height;ye=Yn.sqrt((ye=X.width)*ye+We*We)/2,ge=h+ge.length+ye,ye=v+(t*(W/2>>1)+Z)*(W%2==0?1:-1),X.centerX=r+ge*Math.cos(ye),X.centerY=c+ge*Math.sin(ye),W++}}}function B_(e,t,i,r,c,h,v){var W=9e19,X=-1,Z=0;e:for(;Z<t;Z++){var ge=e[Z],ye=ge.x-i,We=ge.y-r;if((ye=ye*ye+We*We)<W){for(We=Z-1;0<=We;We--)if(e[We].y>ge.y&&e[We].x-ge.x<c+v.width)continue e;for(We=Z+1;We<t;We++)if(e[We].x>ge.x&&e[We].y-ge.y<h+v.height)continue e;X=Z,W=ye}}return X}function k_(e,t){var i=e.bounds,r=i.x;e=i.y;var c=i.width;i=i.height;var h=t.bounds,v=h.x;t=h.y;var W=h.width;return h=h.height,r+c<v?e>t+h?Yn.sqrt((i=r+c-v)*i+(e=e-t-h)*e):e+i<t?Yn.sqrt((r=r+c-v)*r+(e=e+i-t)*e):v-(r+c):r>v+W?e>t+h?Yn.sqrt((i=r-v-W)*i+(e=e-t-h)*e):e+i<t?Yn.sqrt((r=r-v-W)*r+(e=e+i-t)*e):r-(v+W):e>t+h?e-(t+h):e+i<t?t-(e+i):.1}function j_(e,t){for(e.ph=null,t=e.$n+t;e.$n<t&&(e.$n++,Dh(e)););e.ph=null}function Dh(e){null===e.ph&&(e.ph=e.network.vertexes.Na());var t=e.ph;if(0>=t.length)return!1;var i=t[0];i.forceX=0,i.forceY=0;for(var r=i.centerX,c=r,h=i=i.centerY,v=1;v<t.length;v++){var W=t[v];W.forceX=0,W.forceY=0;var X=W.centerX;W=W.centerY,r=Math.min(r,X),c=Math.max(c,X),i=Math.min(i,W),h=Math.max(h,W)}(c=c-r>h-i)?t.sort(function(jt,nn){return null===jt||null===nn||jt===nn?0:jt.centerX-nn.centerX}):t.sort(function(jt,nn){return null===jt||null===nn||jt===nn?0:jt.centerY-nn.centerY}),i=e.Jf;var Z=r=W=0;for(h=0;h<t.length;h++){var ge=(r=(v=t[h]).bounds).y+(W=v.focus).y;r=v.charge*e.electricalFieldX(X=r.x+W.x,ge),Z=v.charge*e.electricalFieldY(X,ge),r+=v.mass*e.gravitationalFieldX(X,ge),Z+=v.mass*e.gravitationalFieldY(X,ge),v.forceX+=r,v.forceY+=Z;for(var ye=h+1;ye<t.length;ye++){var We=t[ye];if(We!==v){var Ve=(r=We.bounds).y+(W=We.focus).y;if(X-(Z=r.x+W.x)>i||Z-X>i){if(c)break}else if(ge-Ve>i||Ve-ge>i){if(!c)break}else{var st=k_(v,We);1>st?(null===(r=e.randomNumberGenerator)&&(e.randomNumberGenerator=r=new a_),st=r.random(),W=r.random(),r=X>Z?(1+(r=Math.abs(We.bounds.right-v.bounds.x)))*st:X<Z?-(1+(r=Math.abs(We.bounds.x-v.bounds.right)))*st:(1+(r=Math.max(We.width,v.width)))*st-r/2,Z=ge>Ve?(1+(Z=Math.abs(We.bounds.bottom-v.bounds.y)))*W:X<Z?-(1+(Z=Math.abs(We.bounds.y-v.bounds.bottom)))*W:(1+(Z=Math.max(We.height,v.height)))*W-Z/2):(r=(Z-X)/st*(W=-v.charge*We.charge/(st*st)),Z=(Ve-ge)/st*W),v.forceX+=r,v.forceY+=Z,We.forceX-=r,We.forceY-=Z}}}}for(c=e.network.edges.iterator;c.next();)r=(v=(i=(W=c.value).fromVertex).bounds).x+(X=i.focus).x,v=v.y+X.y,X=(ge=(h=W.toVertex).bounds).x+(ye=h.focus).x,ge=ge.y+ye.y,1>(ye=k_(i,h))?(null===(ye=e.randomNumberGenerator)&&(e.randomNumberGenerator=ye=new a_),W=ye.random(),ye=ye.random(),r=(r>X?1:-1)*(1+(h.width>i.width?h.width:i.width))*W,Z=(v>ge?1:-1)*(1+(h.height>i.height?h.height:i.height))*ye):(r=(X-r)/ye*(W=W.stiffness*(ye-W.length)),Z=(ge-v)/ye*W),i.forceX+=r,i.forceY+=Z,h.forceX-=r,h.forceY-=Z;for(r=0,c=e.moveLimit,i=0;i<t.length;i++)e.isFixed(h=t[i])?e.moveFixedVertex(h):((v=h.forceX)<-c?v=-c:v>c&&(v=c),(X=h.forceY)<-c?X=-c:X>c&&(X=c),h.centerX+=v,h.centerY+=X,r=Math.max(r,v*v+X*X));return r>e.epsilonDistance*e.epsilonDistance}function Pf(){this.bw=this.aw=this.At=this.Ct=this.Bt=0}function If(e){jo.call(this,e)}function Rm(e){S1.call(this,e),this.Ma=!1,this.Vb=this.K=NaN,this.Ah=this.td=this.La=this.ba=0,this.Ge=this.Uj=null,this.Ev=0}function Lm(e){uc.call(this,e),this.l=this.u=NaN}function a_(){var e=0;void 0===e&&(e=42),this.seed=e,this.Px=48271,this.Rx=2147483647,this.Q=44488.07041494893,this.Tx=3399,this.Qx=1/2147483647,this.random()}function Qr(){er.call(this),this.Xb=this.ke=25,this.L=0,this.Kk=ef,this.ll=lg,this.bl=G_,this.pj=4,this.vk=Rg,this.$f=7,this.Ye=!0,this.fo=4,this.Ha=this.Lr=this.ya=-1,this.od=this.qo=0,this.Ka=this.ld=this.md=this.Gd=this.fc=null,this.xo=0,this.wo=this.uj=null,this.Ld=0,this.yo=null,this.jw=new Ze,this.oe=[],this.oe.length=100}function E_(e){var t=e.fromVertex.node;return e=e.toVertex.node,null===t&&null===e?8:null===t||null===e?4:1}function Cc(e){null===e.uj&&(e.uj=[]);for(var t=0,i=e.network.vertexes.iterator;i.next();){var r=i.value;e.uj[t]=r.layer,t++,e.uj[t]=r.column,t++,e.uj[t]=r.index,t++}return e.uj}function Cu(e,t){var i=0;for(e=e.network.vertexes.iterator;e.next();){var r=e.value;r.layer=t[i],i++,r.column=t[i],i++,r.index=t[i],i++}}function U_(e,t,i){var r=T1(e,t),c=e.fc[t];(null===e.wo||e.wo.length<c*c)&&(e.wo=[]);for(var h=e.wo,v=0;v<c;v++){var We,W=0,X=r[v],Z=X.near;if(null!==Z&&Z.layer===X.layer)if((X=Z.index)>v)for(var ge=v+1;ge<X;ge++){var ye=r[ge];ye.near===Z&&ye.Pj===Z.Pj||W++}else for(ge=v-1;ge>X;ge--)(ye=r[ge]).near===Z&&ye.Pj===Z.Pj||W++;if(0<=i)for(X=r[v].sourceEdgesArrayAccess,Z=0;Z<X.length;Z++){var Ve=X[Z];if(Ve.valid&&Ve.fromVertex.layer!==t)for(ye=Ve.fromVertex.index,ge=Ve.portToPos,Ve=Ve.portFromPos,We=Z+1;We<X.length;We++){var st=X[We];if(st.valid&&st.fromVertex.layer!==t){var jt=st.fromVertex.index,nn=st.portToPos;st=st.portFromPos,ge<nn&&(ye>jt||ye===jt&&Ve>st)&&W++,nn<ge&&(jt>ye||jt===ye&&st>Ve)&&W++}}}if(0>=i)for(X=r[v].destinationEdgesArrayAccess,Z=0;Z<X.length;Z++)if((Ve=X[Z]).valid&&Ve.toVertex.layer!==t)for(ye=Ve.toVertex.index,ge=Ve.portToPos,Ve=Ve.portFromPos,We=Z+1;We<X.length;We++)(st=X[We]).valid&&st.toVertex.layer!==t&&(jt=st.toVertex.index,nn=st.portToPos,Ve<(st=st.portFromPos)&&(ye>jt||ye===jt&&ge>nn)&&W++,st<Ve&&(jt>ye||jt===ye&&nn>ge)&&W++);for(h[v*c+v]=W,X=v+1;X<c;X++){var on=0,Fn=0;if(0<=i){W=r[v].sourceEdgesArrayAccess;var Gn=r[X].sourceEdgesArrayAccess;for(Z=0;Z<W.length;Z++)if((Ve=W[Z]).valid&&Ve.fromVertex.layer!==t)for(ye=Ve.fromVertex.index,Ve=Ve.portFromPos,We=0;We<Gn.length;We++)(st=Gn[We]).valid&&st.fromVertex.layer!==t&&(jt=st.fromVertex.index,st=st.portFromPos,(ye<jt||ye===jt&&Ve<st)&&Fn++,(jt<ye||jt===ye&&st<Ve)&&on++)}if(0>=i)for(W=r[v].destinationEdgesArrayAccess,Gn=r[X].destinationEdgesArrayAccess,Z=0;Z<W.length;Z++)if((Ve=W[Z]).valid&&Ve.toVertex.layer!==t)for(ye=Ve.toVertex.index,ge=Ve.portToPos,We=0;We<Gn.length;We++)(st=Gn[We]).valid&&st.toVertex.layer!==t&&(nn=st.portToPos,(ye<(jt=st.toVertex.index)||ye===jt&&ge<nn)&&Fn++,(jt<ye||jt===ye&&nn<ge)&&on++);h[v*c+X]=on,h[X*c+v]=Fn}}return zc(e,t,r),h}function l_(e){for(var t=0,i=0;i<=e.ya;i++){for(var r=e,c=i,h=T1(r,c),v=r.fc[c],W=0,X=0;X<v;X++){var Z=h[X].destinationEdgesArrayAccess;if(null!==Z)for(var ge=0;ge<Z.length;ge++){var ye=Z[ge];ye.valid&&ye.toVertex.layer!==c&&(W+=(Math.abs(ye.fromVertex.column+ye.portFromColOffset-(ye.toVertex.column+ye.portToColOffset))+1)*E_(ye))}}zc(r,c,h),t+=W}return t}function S_(e,t,i){for(var r=T1(e,t),c=e.fc[t],h=[],v=0;v<c;v++){var W=r[v],X=null;0>=i&&(X=W.sourceEdgesArrayAccess);var Z=null;0<=i&&(Z=W.destinationEdgesArrayAccess);var ge=0,ye=0,We=W.near;if(null!==We&&We.layer===W.layer&&(ge+=We.column-1,ye++),null!==X)for(We=0;We<X.length;We++){var Ve=(W=X[We]).fromVertex;W.valid&&!W.rev&&Ve.layer!==t&&(ge+=Ve.column,ye++)}if(null!==Z)for(X=0;X<Z.length;X++)We=(W=Z[X]).toVertex,W.valid&&!W.rev&&We.layer!==t&&(ge+=We.column,ye++);h[v]=0===ye?-1:ge/ye}return zc(e,t,r),h}function wm(e,t,i){for(var r=T1(e,t),c=e.fc[t],h=[],v=0;v<c;v++){var W=r[v],X=null;0>=i&&(X=W.sourceEdgesArrayAccess);var Z=null;0<=i&&(Z=W.destinationEdgesArrayAccess);var ge=0,ye=[],We=W.near;if(null!==We&&We.layer===W.layer&&(ye[ge]=We.column-1,ge++),W=void 0,null!==X)for(We=0;We<X.length;We++){var Ve=(W=X[We]).fromVertex;W.valid&&!W.rev&&Ve.layer!==t&&(ye[ge]=Ve.column+W.portFromColOffset,ge++)}if(null!==Z)for(X=0;X<Z.length;X++)We=(W=Z[X]).toVertex,W.valid&&!W.rev&&We.layer!==t&&(ye[ge]=We.column+W.portToColOffset,ge++);0===ge?h[v]=-1:(ye.sort(function(st,jt){return st-jt}),Z=ge>>1,h[v]=1&ge?ye[Z]:ye[Z-1]+ye[Z]>>1)}return zc(e,t,r),h}function p(e,t,i,r,c,h){if(t.component===r){if(t.component=i,c)for(var v=t.destinationEdges;v.next();){var W=v.value,X=W.toVertex,Z=t.layer-X.layer;Z===(W=e.linkMinLength(W))&&p(e,X,i,r,c,h)}if(h)for(v=t.sourceEdges;v.next();)(Z=(X=(W=v.value).fromVertex).layer-t.layer)===(W=e.linkMinLength(W))&&p(e,X,i,r,c,h)}}function A(e,t,i,r,c,h){if(t.component===r){if(t.component=i,c)for(var v=t.destinationEdges;v.next();)A(e,v.value.toVertex,i,r,c,h);if(h)for(t=t.sourceEdges;t.next();)A(e,t.value.fromVertex,i,r,c,h)}}function ee(e){for(e=e.vertexes.iterator;e.next();){var t=e.value;if(t.valid)return t}return null}function Re(e){for(e=e.vertexes.iterator;e.next();){var t=e.value;if(t.valid){for(var i=!0,r=t.destinationEdges;r.next();)if(r.value.toVertex.valid){i=!1;break}if(i)return t}}return null}function _t(e){for(e=e.vertexes.iterator;e.next();){var t=e.value;if(t.valid){for(var i=!0,r=t.sourceEdges;r.next();)if(r.value.fromVertex.valid){i=!1;break}if(i)return t}}return null}function Gt(e,t){t.Xl=e.xo,e.xo++;for(var i=t.destinationEdges;i.next();){var r=i.value,c=r.toVertex;-1===c.Xl&&(r.forest=!0,Gt(e,c))}t.finish=e.xo,e.xo++}function vn(e){for(var t=e.network.vertexes.iterator;t.next();){var i=kn(e,t.value);e.ya=Math.max(i,e.ya)}}function kn(e,t){var i=0;if(-1===t.layer){for(var r=t.destinationEdges;r.next();){var c=r.value,h=c.toVertex;c=e.linkMinLength(c),i=Math.max(i,kn(e,h)+c)}t.layer=i}else i=t.layer;return i}function ni(e,t){var i=0;if(-1===t.layer){for(var r=t.sourceEdges;r.next();){var c=r.value,h=c.fromVertex;c=e.linkMinLength(c),i=Math.max(i,ni(e,h)+c)}t.layer=i}else i=t.layer;return i}function ji(e,t){if(!t.valid){t.valid=!0;for(var i=t.destinationEdges;i.next();)ji(e,i.value.toVertex);for(i=e.network.vertexes.iterator;i.next();)i.value.component=-1;for(var r=t.sourceEdgesArrayAccess,c=r.length,h=0;h<c;h++){var v=r[h],W=v.fromVertex,X=v.toVertex;v=e.linkMinLength(v),W.layer-X.layer>v&&p(e,W,0,-1,!0,!1)}for(p(e,t,1,-1,!0,!0);0!==t.component;){for(h=0,r=1/0,W=0,X=null,v=e.network.vertexes.iterator;v.next();){var Z=v.value;if(1===Z.component){var ge=0,ye=!1,We=Z.sourceEdgesArrayAccess;c=We.length;for(var Ve=0;Ve<c;Ve++){var st=We[Ve],jt=st.fromVertex;ge+=1,1!==jt.component&&(h+=1,jt=jt.layer-Z.layer,st=e.linkMinLength(st),r=Math.min(r,jt-st))}for(c=(We=Z.destinationEdgesArrayAccess).length,Ve=0;Ve<c;Ve++)--ge,1!==(st=We[Ve].toVertex).component?--h:ye=!0;(null===X||ge<W)&&!ye&&(X=Z,W=ge)}}if(0<h){for(i.reset();i.next();)1===(c=i.value).component&&(c.layer+=r);t.component=0}else X.component=0}for(i=e.network.vertexes.iterator;i.next();)i.value.component=-1;for(p(e,t,1,-1,!0,!1);0!==t.component;){for(r=0,c=1/0,h=0,W=null,X=e.network.vertexes.iterator;X.next();)if(1===(v=X.value).component){for(Z=0,ge=!1,ye=(We=v.sourceEdgesArrayAccess).length,Ve=0;Ve<ye;Ve++)Z+=1,1!==(st=We[Ve].fromVertex).component?r+=1:ge=!0;for(ye=(We=v.destinationEdgesArrayAccess).length,Ve=0;Ve<ye;Ve++)--Z,1!==(jt=(st=We[Ve]).toVertex).component&&(--r,jt=v.layer-jt.layer,st=e.linkMinLength(st),c=Math.min(c,jt-st));(null===W||Z>h)&&!ge&&(W=v,h=Z)}if(0>r){for(i.reset();i.next();)1===(r=i.value).component&&(r.layer-=c);t.component=0}else W.component=0}}}function Wi(e,t,i){return 90===e.L?i&&!t.rev||!i&&t.rev?270:90:180===e.L?i&&!t.rev||!i&&t.rev?0:180:270===e.L?i&&!t.rev||!i&&t.rev?90:270:i&&!t.rev||!i&&t.rev?180:0}function Qi(e,t){var i=t.layer;for(t.index=e.fc[i],e.fc[i]++,t=t.destinationEdgesArrayAccess,i=!0;i;){i=!1;for(var r=0;r<t.length-1;r++){var c=t[r],h=t[r+1];c.portFromColOffset>h.portFromColOffset&&(i=!0,t[r]=h,t[r+1]=c)}}for(i=0;i<t.length;i++)(r=t[i]).valid&&-1===(r=r.toVertex).index&&Qi(e,r)}function ys(e,t){var i=t.layer;t.index=e.fc[i],e.fc[i]++,t=t.sourceEdgesArrayAccess;for(var r=!0;r;)for(r=!1,i=0;i<t.length-1;i++){var c=t[i],h=t[i+1];c.portToColOffset>h.portToColOffset&&(r=!0,t[i]=h,t[i+1]=c)}for(i=0;i<t.length;i++)(r=t[i]).valid&&-1===(r=r.fromVertex).index&&ys(e,r)}function qs(e,t,i){var r=T1(e,t),c=e.fc[t],h=wm(e,t,i),v=S_(e,t,i);for(i=0;i<c;i++)-1===v[i]&&(v[i]=r[i].column),-1===h[i]&&(h[i]=r[i].column);for(var X,W=!0;W;)for(W=!1,i=0;i<c-1;i++)(h[i+1]<h[i]||h[i+1]===h[i]&&v[i+1]<v[i])&&(W=!0,X=h[i],h[i]=h[i+1],h[i+1]=X,X=v[i],v[i]=v[i+1],v[i+1]=X,X=r[i],r[i]=r[i+1],r[i+1]=X);for(i=h=0;i<c;i++)(X=r[i]).index=i,h+=e.nodeMinColumnSpace(X,!0),X.column=h,h+=1,h+=e.nodeMinColumnSpace(X,!1);zc(e,t,r)}function Ys(e,t,i){var r=T1(e,t),c=e.fc[t];i=U_(e,t,i);var h,v=[];for(h=0;h<c;h++)v[h]=-1;var W=[];for(h=0;h<c;h++)W[h]=-1;for(var X=!1,Z=!0;Z;)for(Z=!1,h=0;h<c-1;h++){var ge=i[r[h].index*c+r[h+1].index],ye=i[r[h+1].index*c+r[h].index],We=0,Ve=0,st=r[h].column,jt=r[h+1].column,nn=e.nodeMinColumnSpace(r[h],!0),on=e.nodeMinColumnSpace(r[h],!1),Fn=e.nodeMinColumnSpace(r[h+1],!0),Gn=e.nodeMinColumnSpace(r[h+1],!1);nn=st-nn+Fn,on=jt-on+Gn;var hi=r[h].sourceEdges.iterator;for(hi.reset();hi.next();)if(Gn=(Fn=hi.value).fromVertex,Fn.valid&&Gn.layer===t){for(Fn=0;r[Fn]!==Gn;)Fn++;Fn<h&&(We+=2*(h-Fn),Ve+=2*(h+1-Fn)),Fn===h+1&&(We+=1),Fn>h+1&&(We+=4*(Fn-h),Ve+=4*(Fn-(h+1)))}for((hi=r[h].destinationEdges.iterator).reset();hi.next();)if(Gn=(Fn=hi.value).toVertex,Fn.valid&&Gn.layer===t){for(Fn=0;r[Fn]!==Gn;)Fn++;Fn===h+1&&(Ve+=1)}for((hi=r[h+1].sourceEdges.iterator).reset();hi.next();)if(Gn=(Fn=hi.value).fromVertex,Fn.valid&&Gn.layer===t){for(Fn=0;r[Fn]!==Gn;)Fn++;Fn<h&&(We+=2*(h+1-Fn),Ve+=2*(h-Fn)),Fn===h&&(Ve+=1),Fn>h+1&&(We+=4*(Fn-(h+1)),Ve+=4*(Fn-h))}for((hi=r[h+1].destinationEdges.iterator).reset();hi.next();)if(Gn=(Fn=hi.value).toVertex,Fn.valid&&Gn.layer===t){for(Fn=0;r[Fn]!==Gn;)Fn++;Fn===h&&(We+=1)}Fn=Gn=0;var gi=W[r[h].index],xi=v[r[h+1].index],ns=W[r[h+1].index];-1!==(hi=v[r[h].index])&&(Gn+=Math.abs(hi-st),Fn+=Math.abs(hi-on)),-1!==gi&&(Gn+=Math.abs(gi-st),Fn+=Math.abs(gi-on)),-1!==xi&&(Gn+=Math.abs(xi-jt),Fn+=Math.abs(xi-nn)),-1!==ns&&(Gn+=Math.abs(ns-jt),Fn+=Math.abs(ns-nn)),(Ve<We-.5||Ve===We&&ye<ge-.5||Ve===We&&ye===ge&&Fn<Gn-.5)&&(Z=X=!0,r[h].column=on,r[h+1].column=nn,ge=r[h],r[h]=r[h+1],r[h+1]=ge)}for(h=0;h<c;h++)r[h].index=h;return zc(e,t,r),X}function To(e,t,i){for(var r=!1;co(e,t,i);)r=!0;return r}function co(e,t,i){var r,c=T1(e,t),h=e.fc[t],v=S_(e,t,-1);if(0<i)for(r=0;r<h;r++)v[r]=-1;var W=S_(e,t,1);if(0>i)for(r=0;r<h;r++)W[r]=-1;for(var X=!1,Z=!0;Z;)for(Z=!1,r=0;r<h;r++){var Ve,ge=c[r].column,ye=e.nodeMinColumnSpace(c[r],!0),We=e.nodeMinColumnSpace(c[r],!1);Ve=0>r-1||ge-c[r-1].column-1>ye+e.nodeMinColumnSpace(c[r-1],!1)?ge-1:ge,ye=r+1>=h||c[r+1].column-ge-1>We+e.nodeMinColumnSpace(c[r+1],!0)?ge+1:ge;var st=We=0,jt=0;if(0>=i)for(var nn=c[r].sourceEdges.iterator;nn.next();){var on=nn.value,Fn=on.fromVertex;if(on.valid&&Fn.layer!==t){var Gn=E_(on),hi=on.portFromColOffset;on=on.portToColOffset,Fn=Fn.column,We+=(Math.abs(ge+on-(Fn+hi))+1)*Gn,st+=(Math.abs(Ve+on-(Fn+hi))+1)*Gn,jt+=(Math.abs(ye+on-(Fn+hi))+1)*Gn}}if(0<=i)for(nn=c[r].destinationEdges.iterator;nn.next();)Fn=(on=nn.value).toVertex,on.valid&&Fn.layer!==t&&(Gn=E_(on),hi=on.portFromColOffset,on=on.portToColOffset,Fn=Fn.column,We+=(Math.abs(ge+hi-(Fn+on))+1)*Gn,st+=(Math.abs(Ve+hi-(Fn+on))+1)*Gn,jt+=(Math.abs(ye+hi-(Fn+on))+1)*Gn);on=hi=Gn=0,Fn=W[c[r].index],-1!==(nn=v[c[r].index])&&(Gn+=Math.abs(nn-ge),hi+=Math.abs(nn-Ve),on+=Math.abs(nn-ye)),-1!==Fn&&(Gn+=Math.abs(Fn-ge),hi+=Math.abs(Fn-Ve),on+=Math.abs(Fn-ye)),st<We||st===We&&hi<Gn?(Z=X=!0,c[r].column=Ve):(jt<We||jt===We&&on<Gn)&&(Z=X=!0,c[r].column=ye)}return zc(e,t,c),e.normalize(),X}function Ko(e,t,i){var r=T1(e,t),c=e.fc[t],h=wm(e,t,i),v=[];for(i=0;i<c;i++)v[i]=h[i];for(h=!0;h;)for(h=!1,i=0;i<c;i++){var W=r[i].column,X=e.nodeMinColumnSpace(r[i],!0),Z=e.nodeMinColumnSpace(r[i],!1),ge=0;if(-1===v[i])if(0===i&&i===c-1)ge=W;else if(0===i){var ye=r[i+1].column;ge=ye-W===Z+e.nodeMinColumnSpace(r[i+1],!0)?W-1:W}else ge=i===c-1?W-(ye=r[i-1].column)===X+e.nodeMinColumnSpace(r[i-1],!1)?W+1:W:((X=(ye=r[i-1].column)+e.nodeMinColumnSpace(r[i-1],!1)+X+1)+(Z=(ye=r[i+1].column)-e.nodeMinColumnSpace(r[i+1],!0)-Z-1))/2|0;else 0===i&&i===c-1?ge=v[i]:0===i?(Z=(ye=r[i+1].column)-e.nodeMinColumnSpace(r[i+1],!0)-Z-1,ge=Math.min(v[i],Z)):i===c-1?(X=(ye=r[i-1].column)+e.nodeMinColumnSpace(r[i-1],!1)+X+1,ge=Math.max(v[i],X)):(X=(ye=r[i-1].column)+e.nodeMinColumnSpace(r[i-1],!1)+X+1,Z=(ye=r[i+1].column)-e.nodeMinColumnSpace(r[i+1],!0)-Z-1,X<v[i]&&v[i]<Z?ge=v[i]:X>=v[i]?ge=X:Z<=v[i]&&(ge=Z));ge!==W&&(h=!0,r[i].column=ge)}zc(e,t,r),e.normalize()}function nr(e,t){for(var i=!0,r=e.network.vertexes.iterator;r.next();){var c=r.value,h=e.nodeMinColumnSpace(c,!0),v=e.nodeMinColumnSpace(c,!1);if(c.column-h<=t&&c.column+v>=t){i=!1;break}}if(e=!1,i)for(r.reset();r.next();)(i=r.value).column>t&&(--i.column,e=!0);return e}function ol(e,t){var r,i=t+1,c=[],h=[];for(r=0;r<=e.ya;r++)c[r]=!1,h[r]=!1;for(var v=e.network.vertexes.iterator;v.next();){var W=(r=v.value).column-e.nodeMinColumnSpace(r,!0),X=r.column+e.nodeMinColumnSpace(r,!1);W<=t&&X>=t&&(c[r.layer]=!0),W<=i&&X>=i&&(h[r.layer]=!0)}for(W=!0,i=!1,r=0;r<=e.ya;r++)W=W&&!(c[r]&&h[r]);if(W)for(v.reset();v.next();)(e=v.value).column>t&&(--e.column,i=!0);return i}function rl(e,t){for(var i=0;i<=e.Ha;i++)for(;nr(e,i););for(e.normalize(),i=0;i<e.Ha;i++)for(;ol(e,i););var r;if(e.normalize(),0<t)for(i=0;i<=e.Ha;i++){var c=Cc(e),h=l_(e);for(r=h+1;h<r;){r=h,Wc(e,i,1);var v=l_(e);v>h?Cu(e,c):v<h&&(h=v,c=Cc(e))}}if(0>t)for(i=e.Ha;0<=i;i--)for(c=Cc(e),r=(h=l_(e))+1;h<r;)r=h,Wc(e,i,-1),(v=l_(e))>h?Cu(e,c):v<h&&(h=v,c=Cc(e));e.normalize()}function Wc(e,t,i){e.Ld=0;for(var r=e.network.vertexes.iterator;r.next();)r.value.component=-1;if(0<i)for(r.reset();r.next();){var c=r.value;c.column-e.nodeMinColumnSpace(c,!0)<=t&&(c.component=e.Ld)}if(0>i)for(r.reset();r.next();)(c=r.value).column+e.nodeMinColumnSpace(c,!1)>=t&&(c.component=e.Ld);for(e.Ld++,r.reset();r.next();)-1===(t=r.value).component&&(A(e,t,e.Ld,-1,!0,!0),e.Ld++);var h;for(t=[],h=0;h<e.Ld*e.Ld;h++)t[h]=!1;for(c=[],h=0;h<(e.ya+1)*(e.Ha+1);h++)c[h]=-1;for(r.reset();r.next();)for(var v=(h=r.value).layer,W=Math.max(0,h.column-e.nodeMinColumnSpace(h,!0)),X=Math.min(e.Ha,h.column+e.nodeMinColumnSpace(h,!1));W<=X;W++)c[v*(e.Ha+1)+W]=h.component;for(h=0;h<=e.ya;h++){if(0<i)for(v=0;v<e.Ha;v++)-1!==c[h*(e.Ha+1)+v]&&-1!==c[h*(e.Ha+1)+v+1]&&c[h*(e.Ha+1)+v]!==c[h*(e.Ha+1)+v+1]&&(t[c[h*(e.Ha+1)+v]*e.Ld+c[h*(e.Ha+1)+v+1]]=!0);if(0>i)for(v=e.Ha;0<v;v--)-1!==c[h*(e.Ha+1)+v]&&-1!==c[h*(e.Ha+1)+v-1]&&c[h*(e.Ha+1)+v]!==c[h*(e.Ha+1)+v-1]&&(t[c[h*(e.Ha+1)+v]*e.Ld+c[h*(e.Ha+1)+v-1]]=!0)}for(c=[],h=0;h<e.Ld;h++)c[h]=!0;for((v=[]).push(0);0!==v.length;)if(X=v[v.length-1],v.pop(),c[X])for(c[X]=!1,h=0;h<e.Ld;h++)t[X*e.Ld+h]&&v.splice(0,0,h);if(0<i)for(r.reset();r.next();)c[(e=r.value).component]&&--e.column;if(0>i)for(r.reset();r.next();)c[(i=r.value).component]&&(i.column+=1)}function ja(e,t){return 270===e.L?t?oa:Pn:90===e.L?t?Pn:oa:180===e.L?t?bi:Po:t?Po:bi}function T1(e,t){var i=e.fc[t];if(i>=e.oe.length){for(var r=[],c=0;c<e.oe.length;c++)r[c]=e.oe[c];e.oe=r}for(null==e.oe[i]?r=[]:(r=e.oe[i],e.oe[i]=null),e=e.yo[t],t=0;t<e.length;t++)r[(i=e[t]).index]=i;return r}function zc(e,t,i){e.oe[e.fc[t]]=i}wa.className="CircularLayout",wa.ConstantSpacing=qu,wa.ConstantDistance=zp,wa.ConstantAngle=ip,wa.Packed=H0,wa.Clockwise=Xl,wa.Counterclockwise=sp,wa.BidirectionalLeft=Ch,wa.BidirectionalRight=Cf,wa.Forwards=Pm,wa.Reverse=zh,wa.Ascending=rm,wa.Descending=zf,wa.Optimized=Xp,wa.Pythagorean=am,wa.Circular=op,lm.prototype.compare=function(e,t){if(0<e&&0>this.am||Math.abs(e)<Math.abs(this.am)&&!(0>e&&0<this.am))for(this.am=e,this.tk=[],this.Am=[],e=0;e<t.length;e++)this.tk[e]=t[e].bounds.x,this.Am[e]=t[e].bounds.y},lm.prototype.commit=function(e){if(null!==this.tk&&null!==this.Am)for(var t=0;t<this.tk.length;t++){var i=e.N(t);i.x=this.tk[t],i.y=this.Am[t]}},lm.className="VertexArrangement",y(Zh,jo),Zh.prototype.createVertex=function(){return new r_(this)},Zh.prototype.createEdge=function(){return new cm(this)},Zh.className="CircularNetwork",y(r_,S1),I.Object.defineProperties(r_.prototype,{diameter:{get:function(){return this.ej},set:function(e){this.ej!==e&&(this.ej=e)}},actualAngle:{get:function(){return this.K},set:function(e){this.K!==e&&(this.K=e)}}}),r_.className="CircularVertex",y(cm,uc),cm.className="CircularEdge",y(gl,er),gl.prototype.cloneProtected=function(e){er.prototype.cloneProtected.call(this,e),e.wd.assign(this.wd),e.Rm=this.Rm,e.Ye=this.Ye,e.Xc=this.Xc,e.ql=this.ql,e.Cn=this.Cn,e.Jf=this.Jf,e.vo=this.vo,e.So=this.So,e.Pk=this.Pk,e.Ok=this.Ok,e.Mk=this.Mk,e.Nk=this.Nk,e.pn=this.pn,e.on=this.on},gl.prototype.createNetwork=function(){return new If(this)},gl.prototype.doLayout=function(e){if(null===this.network&&(this.network=this.makeNetwork(e)),e=this.maxIterations,0<this.network.vertexes.count){this.network.Pp();for(var t=this.network.vertexes.iterator;t.next();){var i=t.value;i.charge=this.electricalCharge(i),i.mass=this.gravitationalMass(i)}for(t=this.network.edges.iterator;t.next();)(i=t.value).stiffness=this.springStiffness(i),i.length=this.springLength(i);if(this.Iu(),this.$n=0,this.needsClusterLayout()){for(i=(t=this.network).Nx().iterator;i.next();){this.network=i.value;for(var r=this.network.vertexes.iterator;r.next();){var c=r.value;c.td=c.vertexes.count,c.Ah=1,c.Uj=null,c.Ge=null}Im(this,0,e)}this.network=t,i.reset(),r=this.arrangementSpacing;for(var h=i.count,v=!0,W=c=0,X=ie(),Z=0;Z<h+t.vertexes.count+2;Z++)X[Z]=null;h=0,i.reset();for(var ge=sn.alloc();i.next();)if(this.computeBounds(Z=i.value,ge),v)v=!1,c=ge.x+ge.width/2,W=ge.y+ge.height/2,X[0]=new Ze(ge.x+ge.width+r.width,ge.y),X[1]=new Ze(ge.x,ge.y+ge.height+r.height),h=2;else{var ye=B_(X,h,c,W,ge.width,ge.height,r),We=X[ye],Ve=new Ze(We.x+ge.width+r.width,We.y),st=new Ze(We.x,We.y+ge.height+r.height);for(ye+1<h&&X.splice(ye+1,0,null),X[ye]=Ve,X[ye+1]=st,h++,ye=We.x-ge.x,We=We.y-ge.y,Z=Z.vertexes.iterator;Z.next();)(Ve=Z.value).centerX+=ye,Ve.centerY+=We}for(sn.free(ge),Z=t.vertexes.iterator;Z.next();)Ve=(v=Z.value).bounds,2>h?(c=Ve.x+Ve.width/2,W=Ve.y+Ve.height/2,X[0]=new Ze(Ve.x+Ve.width+r.width,Ve.y),X[1]=new Ze(Ve.x,Ve.y+Ve.height+r.height),h=2):(ye=new Ze((We=X[ge=B_(X,h,c,W,Ve.width,Ve.height,r)]).x+Ve.width+r.width,We.y),Ve=new Ze(We.x,We.y+Ve.height+r.height),ge+1<h&&X.splice(ge+1,0,null),X[ge]=ye,X[ge+1]=Ve,h++,v.centerX=We.x+v.width/2,v.centerY=We.y+v.height/2);for(ne(X),i.reset();i.next();){for(c=(r=i.value).vertexes.iterator;c.next();)t.sh(c.value);for(r=r.edges.iterator;r.next();)t.Oj(r.value)}}j_(this,e),this.updateParts()}this.ql=e,this.network=null,this.isValidLayout=!0},gl.prototype.needsClusterLayout=function(){if(3>this.network.vertexes.count)return!1;for(var e=0,t=0,i=this.network.vertexes.first().bounds,r=this.network.vertexes.iterator;r.next();){if(r.value.bounds.Ic(i)&&2<++e)return!0;if(10<t)break;t++}return!1},gl.prototype.computeBounds=function(e,t){var i=!0;for(e=e.vertexes.iterator;e.next();){var r=e.value;i?(i=!1,t.set(r.bounds)):t.Jc(r.bounds)}return t},gl.prototype.Iu=function(){if(this.comments)for(var e=this.network.vertexes.iterator;e.next();)this.addComments(e.value)},gl.prototype.addComments=function(e){var t=e.node;if(null!==t)for(t=t.Xu();t.next();){var i=t.value;if("Comment"===i.category&&i.isVisible()){var r=this.network.Ii(i);null===r&&(r=this.network.Rl(i)),r.charge=this.defaultCommentElectricalCharge,i=null;for(var c=r.destinationEdges;c.next();){var h=c.value;if(h.toVertex===e){i=h;break}}if(null===i)for(c=r.sourceEdges;c.next();)if((h=c.value).fromVertex===e){i=h;break}null===i&&(i=this.network.fk(e,r,null)),i.length=this.defaultCommentSpringLength}}},gl.prototype.moveFixedVertex=function(){},gl.prototype.commitLayout=function(){this.Jv(),this.commitNodes(),this.isRouting&&this.commitLinks()},gl.prototype.Jv=function(){if(this.setsPortSpots)for(var e=this.network.edges.iterator;e.next();){var t=e.value.link;null!==t&&(t.fromSpot=wo,t.toSpot=wo)}},gl.prototype.commitNodes=function(){var e=0,t=0;if(this.arrangesToOrigin){var i=sn.alloc();this.computeBounds(this.network,i),e=(t=this.arrangementOrigin).x-i.x,t=t.y-i.y,sn.free(i)}i=sn.alloc();for(var r=this.network.vertexes.iterator;r.next();){var c=r.value;(0!==e||0!==t)&&(i.assign(c.bounds),i.x+=e,i.y+=t,c.bounds=i),c.commit()}sn.free(i)},gl.prototype.commitLinks=function(){for(var e=this.network.edges.iterator;e.next();)e.value.commit()},gl.prototype.springStiffness=function(e){return e=e.stiffness,isNaN(e)?this.Pk:e},gl.prototype.springLength=function(e){return e=e.length,isNaN(e)?this.Ok:e},gl.prototype.electricalCharge=function(e){return e=e.charge,isNaN(e)?this.Mk:e},gl.prototype.electricalFieldX=function(){return 0},gl.prototype.electricalFieldY=function(){return 0},gl.prototype.gravitationalMass=function(e){return e=e.mass,isNaN(e)?this.Nk:e},gl.prototype.gravitationalFieldX=function(){return 0},gl.prototype.gravitationalFieldY=function(){return 0},gl.prototype.isFixed=function(e){return e.isFixed},I.Object.defineProperties(gl.prototype,{currentIteration:{get:function(){return this.$n}},arrangementSpacing:{get:function(){return this.wd},set:function(e){this.wd.A(e)||(this.wd.assign(e),this.B())}},arrangesToOrigin:{get:function(){return this.Rm},set:function(e){this.Rm!==e&&(this.Rm=e,this.B())}},setsPortSpots:{get:function(){return this.Ye},set:function(e){this.Ye!==e&&(this.Ye=e,this.B())}},comments:{get:function(){return this.Xc},set:function(e){this.Xc!==e&&(this.Xc=e,this.B())}},maxIterations:{get:function(){return this.ql},set:function(e){this.ql!==e&&0<=e&&(this.ql=e,this.B())}},epsilonDistance:{get:function(){return this.Cn},set:function(e){this.Cn!==e&&0<e&&(this.Cn=e,this.B())}},infinityDistance:{get:function(){return this.Jf},set:function(e){this.Jf!==e&&1<e&&(this.Jf=e,this.B())}},moveLimit:{get:function(){return this.vo},set:function(e){this.vo!==e&&1<e&&(this.vo=e,this.B())}},randomNumberGenerator:{get:function(){return this.So},set:function(e){this.So!==e&&(null!==e&&"function"!=typeof e.random&&z('ForceDirectedLayout.randomNumberGenerator must have a "random()" function on it: '+e),this.So=e)}},defaultSpringStiffness:{get:function(){return this.Pk},set:function(e){this.Pk!==e&&(this.Pk=e,this.B())}},defaultSpringLength:{get:function(){return this.Ok},set:function(e){this.Ok!==e&&(this.Ok=e,this.B())}},defaultElectricalCharge:{get:function(){return this.Mk},set:function(e){this.Mk!==e&&(this.Mk=e,this.B())}},defaultGravitationalMass:{get:function(){return this.Nk},set:function(e){this.Nk!==e&&(this.Nk=e,this.B())}},defaultCommentSpringLength:{get:function(){return this.pn},set:function(e){this.pn!==e&&(this.pn=e,this.B())}},defaultCommentElectricalCharge:{get:function(){return this.on},set:function(e){this.on!==e&&(this.on=e,this.B())}}}),gl.className="ForceDirectedLayout",Pf.className="ForceDirectedSubnet",y(If,jo),If.prototype.createVertex=function(){return new Rm(this)},If.prototype.createEdge=function(){return new Lm(this)},If.className="ForceDirectedNetwork",y(Rm,S1),I.Object.defineProperties(Rm.prototype,{isFixed:{get:function(){return this.Ma},set:function(e){this.Ma!==e&&(this.Ma=e)}},charge:{get:function(){return this.K},set:function(e){this.K!==e&&(this.K=e)}},mass:{get:function(){return this.Vb},set:function(e){this.Vb!==e&&(this.Vb=e)}},forceX:{get:function(){return this.ba},set:function(e){this.ba!==e&&(this.ba=e)}},forceY:{get:function(){return this.La},set:function(e){this.La!==e&&(this.La=e)}}}),Rm.className="ForceDirectedVertex",y(Lm,uc),I.Object.defineProperties(Lm.prototype,{stiffness:{get:function(){return this.u},set:function(e){this.u!==e&&(this.u=e)}},length:{get:function(){return this.l},set:function(e){this.l!==e&&(this.l=e)}}}),Lm.className="ForceDirectedEdge",a_.prototype.random=function(){var e=this.seed%this.Q*this.Px-this.seed/this.Q*this.Tx;return this.seed=0<e?e:e+this.Rx,this.seed*this.Qx},a_.className="RandomNumberGenerator",y(Qr,er),Qr.prototype.cloneProtected=function(e){er.prototype.cloneProtected.call(this,e),e.ke=this.ke,e.Xb=this.Xb,e.L=this.L,e.Kk=this.Kk,e.ll=this.ll,e.bl=this.bl,e.pj=this.pj,e.vk=this.vk,e.$f=this.$f,e.Ye=this.Ye,e.fo=this.fo},Qr.prototype.fb=function(e){e.classType===Qr?0===e.name.indexOf("Aggressive")?this.aggressiveOption=e:0===e.name.indexOf("Cycle")?this.cycleRemoveOption=e:0===e.name.indexOf("Init")?this.initializeOption=e:0===e.name.indexOf("Layer")?this.layeringOption=e:z("Unknown enum value: "+e):er.prototype.fb.call(this,e)},Qr.prototype.createNetwork=function(){return new ug(this)},Qr.prototype.doLayout=function(e){for(null===this.network&&(this.network=this.makeNetwork(e)),this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin),this.Lr=-1,this.od=this.qo=0,this.yo=this.wo=this.uj=null,e=0;e<this.oe.length;e++)this.oe[e]=null;if(0<this.network.vertexes.count){for(this.network.Pp(),this.cycleRemoveOption!==Rf&&this.removeCycles(),e=this.network.vertexes.iterator;e.next();)e.value.layer=-1;for(this.ya=-1,this.assignLayers(),e.reset();e.next();)this.ya=Math.max(this.ya,e.value.layer);this.cycleRemoveOption===Rf&&this.removeCycles();for(var t=[],i=(e=this.network).edges.iterator;i.next();){var r=i.value;r.valid=!1,t.push(r)}for(i=0;i<t.length;i++){var c=(r=t[i]).fromVertex,h=r.toVertex;if(!r.valid&&(null!==c.node&&null!==h.node||c.layer!==h.layer)){var v=0,W=0,X=0,Z=0;if(null!==r.link){if(null===(W=r.link))continue;var ge=c.node;if(v=h.node,null===ge||null===v)continue;var ye=W.fromNode;X=W.toNode;var We=W.fromPort;if(W=W.toPort,r.rev){Z=ye;var Ve=We;ye=X,We=W,X=Z,W=Ve}var st=c.focus;Z=h.focus;var jt=r.rev?h.bounds:c.bounds;Ve=Ze.alloc(),ge!==ye?jt.o()&&ye.isVisible()?ye.actualBounds.o()?(ye.nf(We,Jt,Ve),Ve.x+=ye.actualBounds.x-jt.x,Ve.y+=ye.actualBounds.y-jt.y):(ye.nf(We,Jt,Ve),Ve.o()||Ve.assign(st)):Ve.assign(st):jt.o()?(ye.nf(We,Jt,Ve),Ve.o()||Ve.assign(st)):Ve.assign(st),ye=r.rev?c.bounds:h.bounds,ge=Ze.alloc(),v!==X?ye.o()&&X.isVisible()?X.actualBounds.o()?(X.nf(W,Jt,ge),ge.x+=X.actualBounds.x-ye.x,ge.y+=X.actualBounds.y-ye.y):(X.nf(W,Jt,ge),ge.o()||ge.assign(Z)):ge.assign(Z):ye.o()?(X.nf(W,Jt,ge),ge.o()||ge.assign(Z)):ge.assign(Z),90===this.L||270===this.L?(v=Math.round((Ve.x-st.x)/this.Xb),X=Ve.x,W=Math.round((ge.x-Z.x)/this.Xb),Z=ge.x):(v=Math.round((Ve.y-st.y)/this.Xb),X=Ve.y,W=Math.round((ge.y-Z.y)/this.Xb),Z=ge.y),Ze.free(Ve),Ze.free(ge),r.portFromColOffset=v,r.portFromPos=X,r.portToColOffset=W,r.portToPos=Z}else r.portFromColOffset=0,r.portFromPos=0,r.portToColOffset=0,r.portToPos=0;if(Ve=c.layer,ge=h.layer,ye=0,null!==(jt=r.link)){var nn=jt.fromPort,on=jt.toPort;if(null!==nn&&null!==on){var Fn=jt.fromNode;if(We=jt.toNode,null!==Fn&&null!==We){var Gn=ja(this,!0),hi=ja(this,!1),gi=this.setsPortSpots?Gn:jt.computeSpot(!0,nn);st=this.setsPortSpots?hi:jt.computeSpot(!1,on);var xi=jt.isOrthogonal;gi.qf()&&gi.pf(hi)&&st.qf()&&st.pf(Gn)?ye=0:(Gn=jt.getLinkPoint(Fn,nn,gi,!0,xi,We,on,Ze.alloc()),hi=jt.getLinkDirection(Fn,nn,Gn,gi,!0,xi,We,on),Ze.free(Gn),gi.et()||hi!==Wi(this,r,!0)?this.setsPortSpots&&null!==Fn&&1===Fn.ports.count&&r.rev&&(ye+=1):ye+=1,gi=jt.getLinkPoint(We,on,st,!1,xi,Fn,nn,Ze.alloc()),jt=jt.getLinkDirection(We,on,gi,st,!1,xi,Fn,nn),Ze.free(gi),st.et()||jt!==Wi(this,r,!1)?this.setsPortSpots&&null!==We&&1===We.ports.count&&r.rev&&(ye+=2):ye+=2)}}}if(ye=1===(We=ye)||3===We,(We=2===We||3===We)&&((st=e.createVertex()).node=null,st.Pj=1,st.layer=Ve,st.near=c,e.sh(st),(c=e.fk(c,st,r.link)).valid=!1,c.rev=r.rev,c.portFromColOffset=v,c.portToColOffset=0,c.portFromPos=X,c.portToPos=0,c=st),jt=1,ye&&jt--,Ve-ge>jt&&0<Ve){for(r.valid=!1,(st=e.createVertex()).node=null,st.Pj=2,st.layer=Ve-1,e.sh(st),(c=e.fk(c,st,r.link)).valid=!0,c.rev=r.rev,c.portFromColOffset=We?0:v,c.portToColOffset=0,c.portFromPos=We?0:X,c.portToPos=0,c=st,Ve--;Ve-ge>jt&&0<Ve;)(st=e.createVertex()).node=null,st.Pj=3,st.layer=Ve-1,e.sh(st),(c=e.fk(c,st,r.link)).valid=!0,c.rev=r.rev,c.portFromColOffset=0,c.portToColOffset=0,c.portFromPos=0,c.portToPos=0,c=st,Ve--;(c=e.fk(st,h,r.link)).valid=!ye,ye&&(st.near=h),c.rev=r.rev,c.portFromColOffset=0,c.portToColOffset=W,c.portFromPos=0,c.portToPos=Z}else r.valid=!0}}for(e=this.fc=[],t=0;t<=this.ya;t++)e[t]=0;for(t=this.network.vertexes.iterator;t.next();)t.value.index=-1;for(this.initializeIndices(),this.Lr=-1,i=this.od=this.qo=0;i<=this.ya;i++)e[i]>e[this.od]&&(this.Lr=e[i]-1,this.od=i),e[i]<e[this.qo]&&(this.qo=i);for(this.yo=[],i=0;i<e.length;i++)this.yo[i]=[];for(t.reset();t.next();)this.yo[(e=t.value).layer][e.index]=e;for(this.Ha=-1,e=0;e<=this.ya;e++){for(t=T1(this,e),i=0,r=this.fc[e],h=0;h<r;h++)i+=this.nodeMinColumnSpace(c=t[h],!0),c.column=i,i+=1,i+=this.nodeMinColumnSpace(c,!1);this.Ha=Math.max(this.Ha,i-1),zc(this,e,t)}this.reduceCrossings(),this.straightenAndPack(),this.updateParts()}this.network=null,this.isValidLayout=!0},Qr.prototype.linkMinLength=function(){return 1},Qr.prototype.nodeMinLayerSpace=function(e,t){return null===e.node?0:90===this.L||270===this.L?t?e.focus.y+10:e.bounds.height-e.focus.y+10:t?e.focus.x+10:e.bounds.width-e.focus.x+10},Qr.prototype.nodeMinColumnSpace=function(e,t){if(null===e.node)return 0;var i=t?e.qv:e.pv;return null!==i?i:90===(i=this.L)||270===i?t?e.qv=e.focus.x/this.Xb+1|0:e.pv=(e.bounds.width-e.focus.x)/this.Xb+1|0:t?e.qv=e.focus.y/this.Xb+1|0:e.pv=(e.bounds.height-e.focus.y)/this.Xb+1|0},Qr.prototype.countCrossings=function(){for(var e=0,t=0;t<=this.ya;t++)for(var i=U_(this,t,1),r=this.fc[t],c=0;c<r;c++)for(var h=c;h<r;h++)e+=i[c*r+h];return e},Qr.prototype.normalize=function(){var e=1/0;this.Ha=-1;for(var t=this.network.vertexes.iterator;t.next();){var i=t.value;e=Math.min(e,i.column-this.nodeMinColumnSpace(i,!0)),this.Ha=Math.max(this.Ha,i.column+this.nodeMinColumnSpace(i,!1))}for(t.reset();t.next();)t.value.column-=e;this.Ha-=e},Qr.prototype.removeCycles=function(){for(var e=this.network.edges.iterator;e.next();)e.value.rev=!1;switch(this.Kk){default:case b2:var t=0,i=(e=this.network).vertexes.count-1,r=[];r.length=i+1;for(var c=e.vertexes.iterator;c.next();)c.value.valid=!0;for(;null!==ee(e);){for(c=Re(e);null!==c;)r[i]=c,i--,c.valid=!1,c=Re(e);for(c=_t(e);null!==c;)r[t]=c,t++,c.valid=!1,c=_t(e);c=null;for(var h=0,v=this.network.vertexes.iterator;v.next();){var W=v.value;if(W.valid){for(var X=0,Z=W.destinationEdges;Z.next();)Z.value.toVertex.valid&&X++;Z=0;for(var ge=W.sourceEdges;ge.next();)ge.value.fromVertex.valid&&Z++;(null===c||h<X-Z)&&(c=W,h=X-Z)}}null!==c&&(r[t]=c,t++,c.valid=!1)}for(t=0;t<e.vertexes.count;t++)r[t].index=t;for(r=e.edges.iterator;r.next();)(t=r.value).fromVertex.index>t.toVertex.index&&(e.sm(t),t.rev=!0);break;case ef:for(r=this.network.vertexes.iterator;r.next();)(e=r.value).Xl=-1,e.finish=-1;for(e=this.network.edges.iterator;e.next();)e.value.forest=!1;for(this.xo=0,r.reset();r.next();)0===(t=r.value).sourceEdges.count&&Gt(this,t);for(r.reset();r.next();)-1===(t=r.value).Xl&&Gt(this,t);for(e.reset();e.next();)(r=e.value).forest||(i=(t=r.fromVertex).finish,h=(c=r.toVertex).finish,c.Xl<t.Xl&&i<h&&(this.network.sm(r),r.rev=!0));break;case Rf:for(t=(e=this.network).vertexes.iterator,r=1/0;t.next();)r=Math.min(r,t.value.layer);if(1/0>r){if(0>r)for(t.reset();t.next();)t.value.layer-=r;for(r=[],t.reset();t.next();)void 0===(c=r[(i=t.value).layer])?r[i.layer]=[i]:c.push(i);for(i=t=0;i<r.length;i++)if((c=r[i])&&0!==c.length){if(0<i)for(h=0;h<c.length;h++)c[h].layer-=t}else t++;for(r=e.edges.iterator;r.next();)(t=r.value).fromVertex.layer<t.toVertex.layer&&(e.sm(t),t.rev=!0)}}},Qr.prototype.assignLayers=function(){switch(this.ll){case M2:vn(this);break;case cg:for(var e,t=this.network.vertexes.iterator;t.next();)e=ni(this,t.value),this.ya=Math.max(e,this.ya);for(t.reset();t.next();)(e=t.value).layer=this.ya-e.layer;break;default:for(vn(this),t=this.network.vertexes.iterator;t.next();)t.value.valid=!1;for(t.reset();t.next();)0===(e=t.value).sourceEdges.count&&ji(this,e);for(e=1/0,t.reset();t.next();)e=Math.min(e,t.value.layer);for(this.ya=-1,t.reset();t.next();){var i=t.value;i.layer-=e,this.ya=Math.max(this.ya,i.layer)}}},Qr.prototype.initializeIndices=function(){switch(this.bl){default:case v2:for(var e=this.network.vertexes.iterator;e.next();){var t=e.value,i=t.layer;t.index=this.fc[i],this.fc[i]++}break;case G_:for(e=this.network.vertexes.iterator,t=this.ya;0<=t;t--)for(e.reset();e.next();)(i=e.value).layer===t&&-1===i.index&&Qi(this,i);break;case O2:for(e=this.network.vertexes.iterator,t=0;t<=this.ya;t++)for(e.reset();e.next();)(i=e.value).layer===t&&-1===i.index&&ys(this,i)}},Qr.prototype.reduceCrossings=function(){var i,r,h,v,W,e=this.countCrossings(),t=Cc(this);for(i=0;i<this.pj;i++){for(r=0;r<=this.ya;r++)qs(this,r,1),Ys(this,r,1);var c=this.countCrossings();for(c<e&&(e=c,t=Cc(this)),r=this.ya;0<=r;r--)qs(this,r,-1),Ys(this,r,-1);(c=this.countCrossings())<e&&(e=c,t=Cc(this))}for(Cu(this,t),i=0;i<this.pj;i++){for(r=0;r<=this.ya;r++)qs(this,r,0),Ys(this,r,0);for((c=this.countCrossings())<e&&(e=c,t=Cc(this)),r=this.ya;0<=r;r--)qs(this,r,0),Ys(this,r,0);(c=this.countCrossings())<e&&(e=c,t=Cc(this))}switch(Cu(this,t),this.vk){case A2:break;case Lg:for(W=e+1;(r=this.countCrossings())<W;)for(W=r,i=this.ya;0<=i;i--)for(v=0;v<=i;v++){for(h=!0;h;)for(h=!1,r=i;r>=v;r--)h=Ys(this,r,-1)||h;for((c=this.countCrossings())>=e?Cu(this,t):(e=c,t=Cc(this)),h=!0;h;)for(h=!1,r=i;r>=v;r--)h=Ys(this,r,1)||h;for((c=this.countCrossings())>=e?Cu(this,t):(e=c,t=Cc(this)),h=!0;h;)for(h=!1,r=v;r<=i;r++)h=Ys(this,r,1)||h;for(c>=e?Cu(this,t):(e=c,t=Cc(this)),h=!0;h;)for(h=!1,r=v;r<=i;r++)h=Ys(this,r,-1)||h;for(c>=e?Cu(this,t):(e=c,t=Cc(this)),h=!0;h;)for(h=!1,r=i;r>=v;r--)h=Ys(this,r,0)||h;for(c>=e?Cu(this,t):(e=c,t=Cc(this)),h=!0;h;)for(h=!1,r=v;r<=i;r++)h=Ys(this,r,0)||h;c>=e?Cu(this,t):(e=c,t=Cc(this))}break;default:for(i=this.ya,v=0,W=e+1;(r=this.countCrossings())<W;){for(W=r,h=!0;h;)for(h=!1,r=i;r>=v;r--)h=Ys(this,r,-1)||h;for((c=this.countCrossings())>=e?Cu(this,t):(e=c,t=Cc(this)),h=!0;h;)for(h=!1,r=i;r>=v;r--)h=Ys(this,r,1)||h;for((c=this.countCrossings())>=e?Cu(this,t):(e=c,t=Cc(this)),h=!0;h;)for(h=!1,r=v;r<=i;r++)h=Ys(this,r,1)||h;for(c>=e?Cu(this,t):(e=c,t=Cc(this)),h=!0;h;)for(h=!1,r=v;r<=i;r++)h=Ys(this,r,-1)||h;for(c>=e?Cu(this,t):(e=c,t=Cc(this)),h=!0;h;)for(h=!1,r=i;r>=v;r--)h=Ys(this,r,0)||h;for(c>=e?Cu(this,t):(e=c,t=Cc(this)),h=!0;h;)for(h=!1,r=v;r<=i;r++)h=Ys(this,r,0)||h;c>=e?Cu(this,t):(e=c,t=Cc(this))}}Cu(this,t)},Qr.prototype.straightenAndPack=function(){var e=!!(1&this.$f),t=7===this.$f;if(1e3<this.network.edges.count&&!t&&(e=!1),e){var i=[];for(t=0;t<=this.ya;t++)i[t]=0;for(var r,c=this.network.vertexes.iterator;c.next();){var h=c.value;t=h.layer,r=h.column,h=this.nodeMinColumnSpace(h,!1),i[t]=Math.max(i[t],r+h)}for(c.reset();c.next();)(h=c.value).column=(8*(this.Ha-i[t=h.layer])>>1)+8*(r=h.column);this.Ha*=8}if(2&this.$f)for(i=!0;i;){for(i=!1,t=this.od+1;t<=this.ya;t++)i=To(this,t,1)||i;for(t=this.od-1;0<=t;t--)i=To(this,t,-1)||i;i=To(this,this.od,0)||i}if(4&this.$f){for(t=this.od+1;t<=this.ya;t++)Ko(this,t,1);for(t=this.od-1;0<=t;t--)Ko(this,t,-1);Ko(this,this.od,0)}if(e&&(rl(this,-1),rl(this,1)),2&this.$f)for(i=!0;i;){for(i=!1,i=To(this,this.od,0)||i,t=this.od+1;t<=this.ya;t++)i=To(this,t,0)||i;for(t=this.od-1;0<=t;t--)i=To(this,t,0)||i}},Qr.prototype.commitLayout=function(){if(this.setsPortSpots)for(var e=ja(this,!0),t=ja(this,!1),i=this.network.edges.iterator;i.next();){var r=i.value.link;null!==r&&(r.fromSpot=e,r.toSpot=t)}this.commitNodes(),this.Mu(),this.isRouting&&this.commitLinks()},Qr.prototype.commitNodes=function(){this.Gd=[],this.md=[],this.ld=[],this.Ka=[];for(var e=0;e<=this.ya;e++)this.Gd[e]=0,this.md[e]=0,this.ld[e]=0,this.Ka[e]=0;for(e=this.network.vertexes.iterator;e.next();){var t=e.value,i=t.layer;this.Gd[i]=Math.max(this.Gd[i],this.nodeMinLayerSpace(t,!0)),this.md[i]=Math.max(this.md[i],this.nodeMinLayerSpace(t,!1))}t=0,i=this.ke;for(var r=0;r<=this.ya;r++){var c=i;0>=this.Gd[r]+this.md[r]&&(c=0),0<r&&(t+=c/2),90===this.L||0===this.L?(this.ld[r]=t+=this.md[r],t+=this.Gd[r]):(this.ld[r]=t+=this.Gd[r],t+=this.md[r]),r<this.ya&&(t+=c/2),this.Ka[r]=t}for(i=t,t=this.arrangementOrigin,r=0;r<=this.ya;r++)270===this.L?this.ld[r]=t.y+this.ld[r]:90===this.L?(this.ld[r]=t.y+i-this.ld[r],this.Ka[r]=i-this.Ka[r]):180===this.L?this.ld[r]=t.x+this.ld[r]:(this.ld[r]=t.x+i-this.ld[r],this.Ka[r]=i-this.Ka[r]);for(e.reset(),i=r=1/0;e.next();){var h=(c=e.value).layer,v=0|c.column;if(270===this.L||90===this.L){var W=t.x+this.Xb*v;h=this.ld[h]}else W=this.ld[h],h=t.y+this.Xb*v;c.centerX=W,c.centerY=h,r=Math.min(c.x,r),i=Math.min(c.y,i)}for(this.jw=new Ze(r=t.x-r,t=t.y-i),e.reset();e.next();)(i=e.value).x+=r,i.y+=t,i.commit()},Qr.prototype.Mu=function(){for(var e=0,t=this.ke,i=0;i<=this.ya;i++)e+=this.Gd[i],e+=this.md[i];e+=this.ya*t,t=[],i=this.Xb*this.Ha;for(var r=this.maxLayer;0<=r;r--)t.push(270===this.L?0===r?new sn(0,0,i,Math.abs(this.Ka[0])):new sn(0,this.Ka[r-1],i,Math.abs(this.Ka[r-1]-this.Ka[r])):90===this.L?0===r?new sn(0,this.Ka[0],i,Math.abs(this.Ka[0]-e)):new sn(0,this.Ka[r],i,Math.abs(this.Ka[r-1]-this.Ka[r])):180===this.L?0===r?new sn(0,0,Math.abs(this.Ka[0]),i):new sn(this.Ka[r-1],0,Math.abs(this.Ka[r-1]-this.Ka[r]),i):0===r?new sn(this.Ka[0],0,Math.abs(this.Ka[0]-e),i):new sn(this.Ka[r],0,Math.abs(this.Ka[r-1]-this.Ka[r]),i));this.commitLayers(t,this.jw)},Qr.prototype.commitLayers=function(){},Qr.prototype.commitLinks=function(){for(var t,e=this.network.edges.iterator;e.next();)null!==(t=e.value.link)&&(t.Bh(),t.Tj(),t.kf());for(e.reset();e.next();)null!==(t=e.value.link)&&t.Yi();for(e.reset();e.next();){var i=e.value;if(null!==(t=i.link)){t.Bh();var r=t,c=r.fromNode,h=r.toNode,v=r.fromPort,W=r.toPort;if(null!==c){var X=c.findVisibleNode();null!==X&&X!==c&&(c=X,v=X.port)}if(null!==h){var Z=h.findVisibleNode();null!==Z&&Z!==h&&(h=Z,W=Z.port)}var ge=t.computeSpot(!0,v),ye=t.computeSpot(!1,W),We=i.fromVertex,Ve=i.toVertex;if(i.valid){if(t.curve===lc&&4===t.pointsCount)if(We.column===Ve.column){var st=t.getLinkPoint(c,v,ge,!0,!1,h,W),jt=t.getLinkPoint(h,W,ye,!1,!1,c,v);st.o()||st.set(c.actualBounds.center),jt.o()||jt.set(h.actualBounds.center),t.Tj(),t.jf(st.x,st.y),t.jf((2*st.x+jt.x)/3,(2*st.y+jt.y)/3),t.jf((st.x+2*jt.x)/3,(st.y+2*jt.y)/3),t.jf(jt.x,jt.y)}else{var nn=!1,on=!1;if(null!==v&&ge===Cn&&(nn=!0),null!==W&&ye===Cn&&(on=!0),nn||on){var Fn=t.i(0).x,Gn=t.i(0).y,hi=t.i(3).x,gi=t.i(3).y;if(nn){if(90===this.L||270===this.L)var xi=Fn,ns=(Gn+gi)/2;else xi=(Fn+hi)/2,ns=Gn;t.M(1,xi,ns);var ls=t.getLinkPoint(c,v,ge,!0,!1,h,W);ls.o()||ls.set(c.actualBounds.center),t.M(0,ls.x,ls.y)}if(on){if(90===this.L||270===this.L)var ks=hi,Ms=(Gn+gi)/2;else ks=(Fn+hi)/2,Ms=gi;t.M(2,ks,Ms);var qo=t.getLinkPoint(h,W,ye,!1,!1,c,v);qo.o()||qo.set(h.actualBounds.center),t.M(3,qo.x,qo.y)}}}t.kf()}else if(We.layer===Ve.layer)t.kf();else{var xa,bo=!1,us=!1,Ss=t.firstPickIndex+1;if(t.isOrthogonal){us=!0;var Pa=t.pointsCount;4<Pa&&t.points.removeRange(2,Pa-3)}else if(t.curve===lc)bo=!0,4<(Pa=t.pointsCount)&&t.points.removeRange(2,Pa-3),Ss=2;else{var V1=ge===Cn,e0=ye===Cn;2<(Pa=t.pointsCount)&&V1&&e0?t.points.removeRange(1,Pa-2):3<Pa&&V1&&!e0?t.points.removeRange(1,Pa-3):3<Pa&&!V1&&e0?t.points.removeRange(2,Pa-2):4<Pa&&!V1&&!e0&&t.points.removeRange(2,Pa-3)}if(i.rev){for(var Ua;null!==Ve&&We!==Ve;){for(var D0=xa=null,Qc=Ve.sourceEdges.iterator;Qc.next();){var h1=Qc.value;if(h1.link===i.link&&(D0=h1.toVertex,null===(xa=h1.fromVertex).node))break}if(xa!==We){var f1=t.i(Ss-1).x,O0=t.i(Ss-1).y,Yo=xa.centerX,$o=xa.centerY;if(us)if(180===this.L||0===this.L){if(2===Ss)t.m(Ss++,f1,O0),t.m(Ss++,f1,$o);else if((null!==D0?D0.centerY:O0)!==$o){var H1=this.Ka[xa.layer-1];t.m(Ss++,H1,O0),t.m(Ss++,H1,$o)}}else 2===Ss?(t.m(Ss++,f1,O0),t.m(Ss++,Yo,O0)):(null!==D0?D0.centerX:f1)!==Yo&&(t.m(Ss++,f1,H1=this.Ka[xa.layer-1]),t.m(Ss++,Yo,H1));else if(2===Ss){var al=Math.max(10,this.Gd[Ve.layer]),v0=Math.max(10,this.md[Ve.layer]);if(bo)180===this.L?Yo<=Ve.bounds.x?(t.m(Ss++,(Ua=Ve.bounds.x)-al,$o),t.m(Ss++,Ua,$o),t.m(Ss++,Ua+v0,$o)):(t.m(Ss++,Yo-al,$o),t.m(Ss++,Yo,$o),t.m(Ss++,Yo+v0,$o)):90===this.L?$o>=Ve.bounds.bottom?(t.m(Ss++,Yo,(Ua=Ve.bounds.y+Ve.bounds.height)+v0),t.m(Ss++,Yo,Ua),t.m(Ss++,Yo,Ua-al)):(t.m(Ss++,Yo,$o+v0),t.m(Ss++,Yo,$o),t.m(Ss++,Yo,$o-al)):270===this.L?$o<=Ve.bounds.y?(t.m(Ss++,Yo,(Ua=Ve.bounds.y)-al),t.m(Ss++,Yo,Ua),t.m(Ss++,Yo,Ua+v0)):(t.m(Ss++,Yo,$o-al),t.m(Ss++,Yo,$o),t.m(Ss++,Yo,$o+v0)):0===this.L&&(Yo>=Ve.bounds.right?(t.m(Ss++,(Ua=Ve.bounds.x+Ve.bounds.width)+v0,$o),t.m(Ss++,Ua,$o),t.m(Ss++,Ua-al,$o)):(t.m(Ss++,Yo+v0,$o),t.m(Ss++,Yo,$o),t.m(Ss++,Yo-al,$o)));else{t.m(Ss++,f1,O0);var Ih=0;180===this.L||0===this.L?((180===this.L?Yo>=Ve.bounds.right:Yo<=Ve.bounds.x)&&(Ih=(0===this.L?-al:v0)/2),t.m(Ss++,f1+Ih,$o)):((270===this.L?$o>=Ve.bounds.bottom:$o<=Ve.bounds.y)&&(Ih=(90===this.L?-al:v0)/2),t.m(Ss++,Yo,O0+Ih)),t.m(Ss++,Yo,$o)}}else al=Math.max(10,this.Gd[xa.layer]),v0=Math.max(10,this.md[xa.layer]),180===this.L?(bo&&t.m(Ss++,Yo-al,$o),t.m(Ss++,Yo,$o),bo&&t.m(Ss++,Yo+v0,$o)):90===this.L?(bo&&t.m(Ss++,Yo,$o+v0),t.m(Ss++,Yo,$o),bo&&t.m(Ss++,Yo,$o-al)):270===this.L?(bo&&t.m(Ss++,Yo,$o-al),t.m(Ss++,Yo,$o),bo&&t.m(Ss++,Yo,$o+v0)):(bo&&t.m(Ss++,Yo+v0,$o),t.m(Ss++,Yo,$o),bo&&t.m(Ss++,Yo-al,$o))}Ve=xa}if(null===W||ge!==Cn||us)if(f1=t.i(Ss-1).x,O0=t.i(Ss-1).y,Yo=t.i(Ss).x,$o=t.i(Ss).y,us){var Pp=this.md[We.layer];if(180===this.L||0===this.L){var Kl=O0;Kl>=We.bounds.y&&Kl<=We.bounds.bottom&&(180===this.L?Yo>=We.bounds.x:Yo<=We.bounds.right)&&(Kl=Kl<We.bounds.y+We.bounds.height/2?We.bounds.y-this.Xb/2:We.bounds.bottom+this.Xb/2,t.m(Ss++,Ua=We.centerX+(180===this.L?-Pp:Pp),O0),t.m(Ss++,Ua,Kl)),t.m(Ss++,Yo,Kl)}else(Kl=f1)>=We.bounds.x&&Kl<=We.bounds.right&&(270===this.L?$o>=We.bounds.y:$o<=We.bounds.bottom)&&(Kl=Kl<We.bounds.x+We.bounds.width/2?We.bounds.x-this.Xb/2:We.bounds.right+this.Xb/2,t.m(Ss++,f1,Ua=We.centerY+(270===this.L?-Pp:Pp)),t.m(Ss++,Kl,Ua)),t.m(Ss++,Kl,$o);t.m(Ss++,Yo,$o)}else if(bo)al=Math.max(10,this.Gd[We.layer]),v0=Math.max(10,this.md[We.layer]),180===this.L&&Yo>=We.bounds.x?(t.M(Ss-2,Ua=We.bounds.x+We.bounds.width,O0),t.M(Ss-1,Ua+v0,O0)):90===this.L&&$o<=We.bounds.bottom?(t.M(Ss-2,f1,Ua=We.bounds.y),t.M(Ss-1,f1,Ua-al)):270===this.L&&$o>=We.bounds.y?(t.M(Ss-2,f1,Ua=We.bounds.y+We.bounds.height),t.M(Ss-1,f1,Ua+v0)):0===this.L&&Yo<=We.bounds.right&&(t.M(Ss-2,Ua=We.bounds.x,O0),t.M(Ss-1,Ua-al,O0));else{al=Math.max(10,this.Gd[We.layer]),v0=Math.max(10,this.md[We.layer]);var Bm=0;180===this.L||0===this.L?((180===this.L?Yo<=We.bounds.x:Yo>=We.bounds.right)&&(Bm=(0===this.L?v0:-al)/2),t.m(Ss++,Yo+Bm,O0)):((270===this.L?$o<=We.bounds.y:$o>=We.bounds.bottom)&&(Bm=(90===this.L?v0:-al)/2),t.m(Ss++,f1,$o+Bm)),t.m(Ss++,Yo,$o)}}else{for(;null!==We&&We!==Ve;){D0=xa=null;for(var Dc=We.destinationEdges.iterator;Dc.next();){var Bc=Dc.value;if(Bc.link===i.link&&(null!==(D0=Bc.fromVertex).node&&(D0=null),null===(xa=Bc.toVertex).node))break}xa!==Ve&&(f1=t.i(Ss-1).x,O0=t.i(Ss-1).y,Yo=xa.centerX,$o=xa.centerY,us?180===this.L||0===this.L?(null!==D0?D0.centerY:O0)!==$o&&(H1=this.Ka[xa.layer],2===Ss&&(H1=0===this.L?Math.max(H1,f1):Math.min(H1,f1)),t.m(Ss++,H1,O0),t.m(Ss++,H1,$o)):(null!==D0?D0.centerX:f1)!==Yo&&(H1=this.Ka[xa.layer],2===Ss&&(H1=90===this.L?Math.max(H1,O0):Math.min(H1,O0)),t.m(Ss++,f1,H1),t.m(Ss++,Yo,H1)):(al=Math.max(10,this.Gd[xa.layer]),v0=Math.max(10,this.md[xa.layer]),180===this.L?(t.m(Ss++,Yo+v0,$o),bo&&t.m(Ss++,Yo,$o),t.m(Ss++,Yo-al,$o)):90===this.L?(t.m(Ss++,Yo,$o-al),bo&&t.m(Ss++,Yo,$o),t.m(Ss++,Yo,$o+v0)):270===this.L?(t.m(Ss++,Yo,$o+v0),bo&&t.m(Ss++,Yo,$o),t.m(Ss++,Yo,$o-al)):(t.m(Ss++,Yo-al,$o),bo&&t.m(Ss++,Yo,$o),t.m(Ss++,Yo+v0,$o)))),We=xa}us&&(f1=t.i(Ss-1).x,O0=t.i(Ss-1).y,Yo=t.i(Ss).x,$o=t.i(Ss).y,180===this.L||0===this.L?O0!==$o&&(H1=0===this.L?Math.min(Math.max((Yo+f1)/2,this.Ka[Ve.layer]),Yo):Math.max(Math.min((Yo+f1)/2,this.Ka[Ve.layer]),Yo),t.m(Ss++,H1,O0),t.m(Ss++,H1,$o)):f1!==Yo&&(H1=90===this.L?Math.min(Math.max(($o+O0)/2,this.Ka[Ve.layer]),$o):Math.max(Math.min(($o+O0)/2,this.Ka[Ve.layer]),$o),t.m(Ss++,f1,H1),t.m(Ss++,Yo,H1)))}if(null!==r&&bo){if(null!==v){if(ge===Cn){var Nd=t.i(0),ru=t.i(2);Nd.A(ru)||t.M(1,(Nd.x+ru.x)/2,(Nd.y+ru.y)/2)}var Rh=t.getLinkPoint(c,v,Cn,!0,!1,h,W);Rh.o()||Rh.set(c.actualBounds.center),t.M(0,Rh.x,Rh.y)}if(null!==W){if(ye===Cn){var Du=t.i(t.pointsCount-1),af=t.i(t.pointsCount-3);Du.A(af)||t.M(t.pointsCount-2,(Du.x+af.x)/2,(Du.y+af.y)/2)}var xf=t.getLinkPoint(h,W,Cn,!1,!1,c,v);xf.o()||xf.set(h.actualBounds.center),t.M(t.pointsCount-1,xf.x,xf.y)}}t.kf(),i.commit()}}}for(var km=new gt,um=this.network.edges.iterator;um.next();){var dm=um.value.link;null!==dm&&dm.isOrthogonal&&!km.contains(dm)&&km.add(dm)}if(0<km.count)if(90===this.L||270===this.L){for(var m1,Ad,C1=[],jm=km.iterator;jm.next();){var bu=jm.value;if(null!==bu&&bu.isOrthogonal)for(var Qp=2;Qp<bu.pointsCount-3;Qp++)if(m1=bu.i(Qp),Ad=bu.i(Qp+1),this.w(m1.y,Ad.y)&&!this.w(m1.x,Ad.x)){var Pu=new c_;Pu.layer=Math.floor(m1.y/2);var lu=bu.i(0),kc=bu.i(bu.pointsCount-1);if(Pu.first=lu.x*lu.x+lu.y,Pu.Tb=kc.x*kc.x+kc.y,Pu.Sc=Math.min(m1.x,Ad.x),Pu.sc=Math.max(m1.x,Ad.x),Pu.index=Qp,Pu.link=bu,Qp+2<bu.pointsCount){var Y_=bu.i(Qp-1),X_=bu.i(Qp+2),lf=0;Y_.y<m1.y?lf=X_.y<m1.y?3:m1.x<Ad.x?2:1:Y_.y>m1.y&&(lf=X_.y>m1.y?0:Ad.x<m1.x?2:1),Pu.l=lf}C1.push(Pu)}}if(1<C1.length){C1.sort(this.Fx);for(var Cl=0;Cl<C1.length;){for(var cf=C1[Cl].layer,Lh=Cl+1;Lh<C1.length&&C1[Lh].layer===cf;)Lh++;if(1<Lh-Cl)for(var Mu=Cl;Mu<Lh;){for(var uf=C1[Mu].sc,id=Cl+1;id<Lh&&C1[id].Sc<uf;)uf=Math.max(uf,C1[id].sc),id++;var Y1=id-Mu;if(1<Y1){this.Vi(C1,this.st,Mu,Mu+Y1);for(var Zp=1,zl=C1[Mu].Tb,Jl=Mu;Jl<id;Jl++){var ll=C1[Jl];ll.Tb!==zl&&(Zp++,zl=ll.Tb)}this.Vi(C1,this.Ex,Mu,Mu+Y1);var xd=1;zl=C1[Mu].first;for(var sd=Mu;sd<id;sd++){var Ip=C1[sd];Ip.first!==zl&&(xd++,zl=Ip.first)}var df=!0,pm=xd;Zp<xd?(df=!1,pm=Zp,zl=C1[Mu].Tb,this.Vi(C1,this.st,Mu,Mu+Y1)):zl=C1[Mu].first;for(var Rp=0,Lp=Mu;Lp<id;Lp++){var yd=C1[Lp];(df?yd.first:yd.Tb)!==zl&&(Rp++,zl=df?yd.first:yd.Tb);var Ed=yd.link;m1=Ed.i(yd.index),Ad=Ed.i(yd.index+1);var wp=this.linkSpacing*(Rp-(pm-1)/2);Ed.Bh(),Ed.M(yd.index,m1.x,m1.y+wp),Ed.M(yd.index+1,Ad.x,Ad.y+wp),Ed.kf()}}Mu=id}Cl=Lh}}}else{for(var F1,ap,bl=[],Wd=km.iterator;Wd.next();){var lp=Wd.value;if(null!==lp&&lp.isOrthogonal)for(var $u=2;$u<lp.pointsCount-3;$u++)if(F1=lp.i($u),ap=lp.i($u+1),this.w(F1.x,ap.x)&&!this.w(F1.y,ap.y)){var Fa=new c_;Fa.layer=Math.floor(F1.x/2);var Bd=lp.i(0),Pc=lp.i(lp.pointsCount-1);if(Fa.first=Bd.x+Bd.y*Bd.y,Fa.Tb=Pc.x+Pc.y*Pc.y,Fa.Sc=Math.min(F1.y,ap.y),Fa.sc=Math.max(F1.y,ap.y),Fa.index=$u,Fa.link=lp,$u+2<lp.pointsCount){var wh=lp.i($u-1),pf=lp.i($u+2),Nh=0;wh.x<F1.x?Nh=pf.x<F1.x?3:F1.y<ap.y?2:1:wh.x>F1.x&&(Nh=pf.x>F1.x?0:ap.y<F1.y?2:1),Fa.l=Nh}bl.push(Fa)}}if(1<bl.length){bl.sort(this.Fx);for(var Iu=0;Iu<bl.length;){for(var hf=bl[Iu].layer,kd=Iu+1;kd<bl.length&&bl[kd].layer===hf;)kd++;if(1<kd-Iu)for(var Ql=Iu;Ql<kd;){for(var cp=bl[Ql].sc,jc=Iu+1;jc<kd&&bl[jc].Sc<cp;)cp=Math.max(cp,bl[jc].sc),jc++;var up=jc-Ql;if(1<up){this.Vi(bl,this.st,Ql,Ql+up);for(var od=1,jd=bl[Ql].Tb,P_=Ql;P_<jc;P_++){var Ud=bl[P_];Ud.Tb!==jd&&(od++,jd=Ud.Tb)}this.Vi(bl,this.Ex,Ql,Ql+up);var Ff=1;jd=bl[Ql].first;for(var hm=Ql;hm<jc;hm++){var Wf=bl[hm];Wf.first!==jd&&(Ff++,jd=Wf.first)}var Bf=!0,K_=Ff;od<Ff?(Bf=!1,K_=od,jd=bl[Ql].Tb,this.Vi(bl,this.st,Ql,Ql+up)):jd=bl[Ql].first;for(var I_=0,bg=Ql;bg<jc;bg++){var kf=bl[bg];(Bf?kf.first:kf.Tb)!==jd&&(I_++,jd=Bf?kf.first:kf.Tb);var fm=kf.link;F1=fm.i(kf.index),ap=fm.i(kf.index+1);var J_=this.linkSpacing*(I_-(K_-1)/2);fm.Bh(),fm.M(kf.index,F1.x+J_,F1.y),fm.M(kf.index+1,ap.x+J_,ap.y),fm.kf()}}Ql=jc}Iu=kd}}}},(N=Qr.prototype).Fx=function(e,t){return e instanceof c_&&t instanceof c_&&e!==t?e.layer<t.layer?-1:e.layer>t.layer?1:e.Sc<t.Sc?-1:e.Sc>t.Sc?1:e.sc<t.sc?-1:e.sc>t.sc?1:0:0},N.Ex=function(e,t){return e instanceof c_&&t instanceof c_&&e!==t?e.first<t.first?-1:e.first>t.first||e.l<t.l?1:e.l>t.l||e.Sc<t.Sc?-1:e.Sc>t.Sc?1:e.sc<t.sc?-1:e.sc>t.sc?1:0:0},N.st=function(e,t){return e instanceof c_&&t instanceof c_&&e!==t?e.Tb<t.Tb?-1:e.Tb>t.Tb||e.l<t.l?1:e.l>t.l||e.Sc<t.Sc?-1:e.Sc>t.Sc?1:e.sc<t.sc?-1:e.sc>t.sc?1:0:0},N.w=function(e,t){return-1<(e-=t)&&1>e},N.Vi=function(e,t,i,r){var c=e.length,h=r-i;if(!(1>=h))if((0>i||i>=c-1)&&z("not in range 0 <= from < length: "+i),2===h)0<t(r=e[i],c=e[i+1])&&(e[i]=c,e[i+1]=r);else if(0===i)if(r>=c)e.sort(t);else for((i=e.slice(0,r)).sort(t),t=0;t<r;t++)e[t]=i[t];else if(r>=c)for((r=e.slice(i)).sort(t),t=i;t<c;t++)e[t]=r[t-i];else for((c=e.slice(i,r)).sort(t),t=i;t<r;t++)e[t]=c[t-i]},I.Object.defineProperties(Qr.prototype,{layerSpacing:{get:function(){return this.ke},set:function(e){this.ke!==e&&0<=e&&(this.ke=e,this.B())}},columnSpacing:{get:function(){return this.Xb},set:function(e){this.Xb!==e&&0<e&&(this.Xb=e,this.B())}},direction:{get:function(){return this.L},set:function(e){this.L!==e&&(0===e||90===e||180===e||270===e?(this.L=e,this.B()):z("LayeredDigraphLayout.direction must be 0, 90, 180, or 270"))}},cycleRemoveOption:{get:function(){return this.Kk},set:function(e){this.Kk===e||e!==b2&&e!==ef&&e!==Rf||(this.Kk=e,this.B())}},layeringOption:{get:function(){return this.ll},set:function(e){this.ll===e||e!==lg&&e!==M2&&e!==cg||(this.ll=e,this.B())}},initializeOption:{get:function(){return this.bl},set:function(e){this.bl===e||e!==G_&&e!==O2&&e!==v2||(this.bl=e,this.B())}},iterations:{get:function(){return this.pj},set:function(e){this.pj!==e&&0<=e&&(this.pj=e,this.B())}},aggressiveOption:{get:function(){return this.vk},set:function(e){this.vk===e||e!==A2&&e!==Rg&&e!==Lg||(this.vk=e,this.B())}},packOption:{get:function(){return this.$f},set:function(e){this.$f!==e&&0<=e&&8>e&&(this.$f=e,this.B())}},setsPortSpots:{get:function(){return this.Ye},set:function(e){this.Ye!==e&&(this.Ye=e,this.B())}},linkSpacing:{get:function(){return this.fo},set:function(e){this.fo!==e&&0<=e&&(this.fo=e,this.B())}},maxLayer:{get:function(){return this.ya}},maxIndex:{get:function(){return this.Lr}},maxColumn:{get:function(){return this.Ha}},minIndexLayer:{get:function(){return this.qo}},maxIndexLayer:{get:function(){return this.od}}});var ef=new Pe(Qr,"CycleDepthFirst",0),b2=new Pe(Qr,"CycleGreedy",1),Rf=new Pe(Qr,"CycleFromLayers",2),lg=new Pe(Qr,"LayerOptimalLinkLength",0),M2=new Pe(Qr,"LayerLongestPathSink",1),cg=new Pe(Qr,"LayerLongestPathSource",2),G_=new Pe(Qr,"InitDepthFirstOut",0),O2=new Pe(Qr,"InitDepthFirstIn",1),v2=new Pe(Qr,"InitNaive",2),A2=new Pe(Qr,"AggressiveNone",0),Rg=new Pe(Qr,"AggressiveLess",1),Lg=new Pe(Qr,"AggressiveMore",2);function c_(){this.index=this.sc=this.Sc=this.Tb=this.first=this.layer=0,this.link=null,this.l=0}function ug(e){jo.call(this,e)}function Nm(e){S1.call(this,e),this.Sa=this.Cg=this.fi=-1,this.K=NaN,this.ba=null,this.valid=!1,this.finish=this.Xl=NaN,this.Pj=0,this.pv=this.qv=null}function dg(e){uc.call(this,e),this.l=this.Ma=this.Vb=!1,this.La=this.K=NaN,this.ba=this.u=0}function Ho(){er.call(this),this.Fb=new Se,this.Mo=xg,this.Zc=Nf,this.Dp=mg,this.Jr=_g,this.iw=[],this.Xc=!0,this.Ab=H_,this.wd=new Ue(10,10).freeze();var e=new Wm(this);this.U=new wd(e),this.V=new wd(e),this.xu=[]}function oM(e){var t=new Se;for(e=e.iterator;e.next();){var i=e.value;i.initialized||t.add(i)}return t}function y2(e,t){var i=999999,r=null;for(t=t.iterator;t.next();){var c=t.value;switch(e.Zc){case Nf:c.sourceEdges.count<i&&(i=c.sourceEdges.count,r=c);break;case $_:c.destinationEdges.count<i&&(i=c.destinationEdges.count,r=c);break;default:z("Unhandled path value "+e.Zc.toString())}}return r}function E2(e,t){if(null!==t){switch(e.Zc){case Nf:if(0<t.destinationEdges.count){for(var i=new gt,r=t.destinationVertexes;r.next();){var c=r.value;ab(e,t,c)&&i.add(c)}0<i.count&&(t.children=i.Na())}break;case $_:if(0<t.sourceEdges.count){for(i=new gt,r=t.sourceVertexes;r.next();)ab(e,t,c=r.value)&&i.add(c);0<i.count&&(t.children=i.Na())}break;default:z("Unhandled path value"+e.Zc.toString())}for(r=(i=t.children).length,c=0;c<r;c++){var h=i[c];h.initialized=!0,h.level=t.level+1,h.parent=t,e.Fb.remove(h)}for(t=0;t<r;t++)E2(e,i[t])}}function ab(e,t,i){if(i.initialized){if(null===t)var r=!1;else{for(r=t.parent;null!==r&&r!==i;)r=r.parent;r=r===i}if(r||i.level>t.level)return!1;e.removeChild(i.parent,i)}return!0}function lb(e,t){if(null!==t){e.initializeTreeVertexValues(t),t.alignment===Ph&&e.sortTreeVertexChildren(t);for(var i=0,r=t.childrenCount,c=0,h=t.children,v=h.length,W=0;W<v;W++){var X=h[W];lb(e,X),i+=X.descendantCount+1,r=Math.max(r,X.maxChildrenCount),c=Math.max(c,X.maxGenerationCount)}t.descendantCount=i,t.maxChildrenCount=r,t.maxGenerationCount=0<r?c+1:0}}function cb(e,t){if(null!==t){e.assignTreeVertexValues(t);for(var i=(t=t.children).length,r=0;r<i;r++)cb(e,t[r])}}function ub(e,t){if(null!==t){t.alignment!==Ph&&e.sortTreeVertexChildren(t);for(var i=(t=t.children).length,r=0;r<i;r++)ub(e,t[r])}}function Lf(e){return e===nf||e===Ph||e===sf||e===Jp}function wg(e){return e===nf||e===Ph}function db(e){var t=e.parent;if(null!==t){var i=t.alignment;if(Lf(i)){if(wg(i)){for(t=t.children,i=0;i<t.length&&e!==t[i];)i++;return i%2==0}if(i===sf)return!0}}return!1}function Ng(e,t){if(0===t.childrenCount){var i=!1,r=0;null!==t.parent&&(r=t.parent.angle,i=Lf(i=t.parent.alignment));var c=db(t);t.T.h(0,0),t.ua.h(t.width,t.height),null===t.parent||null===t.comments||(180!==r&&270!==r||i)&&!c?t.ia.h(0,0):180===r&&!i||(90===r||270===r)&&c?t.ia.h(t.width-2*t.focus.x,0):t.ia.h(0,t.height-2*t.focus.y)}else{i=90===(r=pc(t))||270===r;for(var h=0,v=(c=t.children).length,W=0;W<v;W++){var X=c[W];h=Math.max(h,i?X.ua.width:X.ua.height)}var Z=t.alignment,ge=Z===tf,ye=Z===Ld;W=Lf(Z);var We=Math.max(0,t.breadthLimit);X=T_(t);var Ve=t.nodeSpacing,st=xm(t),jt=ge||ye?0:st/2,nn=t.rowSpacing,on=0;(ge||ye||t.tm||t.um&&1===t.maxGenerationCount)&&(on=Math.max(0,t.rowIndent)),ge=t.width;var Fn=t.height,Gn=0,hi=0,gi=0,xi=0,ns=0,ls=0,ks=0,Ms=0,qo=0;if(W&&!wg(Z)&&135<r&&c.reverse(),wg(Z))if(1<v)for(var bo=0;bo<v;bo++){var us=c[bo],Ss=us.ua;bo%2==0&&bo!==v-1&&(qo=Math.max(qo,(i?Ss.width:Ss.height)+u_(us)-Ve))}else 1===v&&(qo=i?c[0].ua.width:c[0].ua.height);if(W)switch(Z){case nf:case Ph:qo=(hi=135>r?aM(t,c,qo,Gn,hi):lM(t,c,qo,Gn,hi)).x,Gn=hi.width,hi=hi.height;break;case sf:for(e=0;e<v;e++)jt=(We=c[e]).ua,gi=0===ks?0:nn,i?(We.T.h(h-jt.width,ns+gi),Gn=Math.max(Gn,jt.width),hi=Math.max(hi,ns+gi+jt.height),ns+=gi+jt.height):(We.T.h(xi+gi,h-jt.height),Gn=Math.max(Gn,xi+gi+jt.width),hi=Math.max(hi,jt.height),xi+=gi+jt.width),ks++;break;case Jp:for(h=0;h<v;h++)We=(e=c[h]).ua,jt=0===ks?0:nn,i?(e.T.h(Ve/2+t.focus.x,ns+jt),Gn=Math.max(Gn,We.width),hi=Math.max(hi,ns+jt+We.height),ns+=jt+We.height):(e.T.h(xi+jt,Ve/2+t.focus.y),Gn=Math.max(Gn,xi+jt+We.width),hi=Math.max(hi,We.height),xi+=jt+We.width),ks++}else for(bo=0;bo<v;bo++){if(Ss=(us=c[bo]).ua,i){0<We&&0<ks&&xi+Ve+Ss.width>We&&(xi<h&&wf(t,Z,h-xi,0,Ms,bo-1),ls++,ks=0,Ms=bo,gi=hi,xi=0,ns=135<r?-hi-nn:hi+nn);var Pa=0===ks?jt:Ve;pg(e,us,0,ns),us.T.h(xi+Pa,ns),Gn=Math.max(Gn,xi+Pa+Ss.width),hi=Math.max(hi,gi+(0===ls?0:nn)+Ss.height),xi+=Pa+Ss.width}else 0<We&&0<ks&&ns+Ve+Ss.height>We&&(ns<h&&wf(t,Z,0,h-ns,Ms,bo-1),ls++,ks=0,Ms=bo,gi=Gn,ns=0,xi=135<r?-Gn-nn:Gn+nn),Pa=0===ks?jt:Ve,pg(e,us,xi,0),us.T.h(xi,ns+Pa),hi=Math.max(hi,ns+Pa+Ss.height),Gn=Math.max(Gn,gi+(0===ls?0:nn)+Ss.width),ns+=Pa+Ss.height;ks++}switch(0<ls&&(i?(hi+=Math.max(0,X),xi<Gn&&wf(t,Z,Gn-xi,0,Ms,v-1),0<on&&(ye||d_(t,on,0,0,v-1),Gn+=on)):(Gn+=Math.max(0,X),ns<hi&&wf(t,Z,0,hi-ns,Ms,v-1),0<on&&(ye||d_(t,0,on,0,v-1),hi+=on))),on=ye=0,Z){case f_:i?ye+=Gn/2-t.focus.x-st/2:on+=hi/2-t.focus.y-st/2;break;case Fm:0<ls?i?ye+=Gn/2-t.focus.x-st/2:on+=hi/2-t.focus.y-st/2:i?ye+=(Z=c[0].T.x+c[0].ia.x)+(c[v-1].T.x+c[v-1].ia.x+2*c[v-1].focus.x-Z)/2-t.focus.x-st/2:on+=(Z=c[0].T.y+c[0].ia.y)+(c[v-1].T.y+c[v-1].ia.y+2*c[v-1].focus.y-Z)/2-t.focus.y-st/2;break;case tf:i?(ye-=st,Gn+=st):(on-=st,hi+=st);break;case Ld:i?(ye+=Gn-t.width+st,Gn+=st):(on+=hi-t.height+st,hi+=st);break;case nf:case Ph:i?ye+=1<v?qo+Ve/2-t.focus.x:c[0].focus.x-t.focus.x+c[0].ia.x:on+=1<v?qo+Ve/2-t.focus.y:c[0].focus.y-t.focus.y+c[0].ia.y;break;case sf:i?ye+=Gn+Ve/2-t.focus.x:on+=hi+Ve/2-t.focus.y;break;case Jp:break;default:z("Unhandled alignment value "+Z.toString())}for(st=0;st<v;st++)Z=c[st],i?Z.T.h(Z.T.x+Z.ia.x-ye,Z.T.y+(135<r?(W?-hi:-Z.ua.height)+Z.ia.y-X:Fn+X+Z.ia.y)):Z.T.h(Z.T.x+(135<r?(W?-Gn:-Z.ua.width)+Z.ia.x-X:ge+X+Z.ia.x),Z.T.y+Z.ia.y-on);i?(Gn=pb(t,Gn,ye),0>ye&&(ye=0),135<r&&(on+=hi+X),hi+=Fn+X):(135<r&&(ye+=Gn+X),Gn+=ge+X,hi=T2(t,hi,on),0>on&&(on=0)),t.ia.h(ye,on),t.ua.h(Gn,hi)}}function aM(e,t,i,r,c){var h=t.length;if(0===h)return new sn(i,0,r,c);if(1===h)return new sn(i,0,r=(e=t[0]).ua.width,c=e.ua.height);for(var v=e.nodeSpacing,W=e.rowSpacing,X=90===pc(e),Z=0,ge=0,ye=0,We=0;We<h;We++)if(!(We%2!=0||1<h&&We===h-1)){var Ve=t[We],st=Ve.ua,jt=0===Z?0:W;if(X){var nn=u_(Ve)-v;Ve.T.h(i-(st.width+nn),ye+jt),r=Math.max(r,st.width+nn),c=Math.max(c,ye+jt+st.height),ye+=jt+st.height}else nn=u_(Ve)-v,Ve.T.h(ge+jt,i-(st.height+nn)),c=Math.max(c,st.height+nn),r=Math.max(r,ge+jt+st.width),ge+=jt+st.width;Z++}for(Z=0,Ve=ge,We=ye,X?(ge=i+v,ye=0):(ge=0,ye=i+v),st=0;st<h;st++)if(st%2!=0){nn=(jt=t[st]).ua;var on=0===Z?0:W;if(X){var Fn=u_(jt)-v;jt.T.h(ge+Fn,ye+on),r=Math.max(r,ge+nn.width+Fn),c=Math.max(c,ye+on+nn.height),ye+=on+nn.height}else Fn=u_(jt)-v,jt.T.h(ge+on,ye+Fn),r=Math.max(r,ge+on+nn.width),c=Math.max(c,ye+nn.height+Fn),ge+=on+nn.width;Z++}return 1<h&&h%2==1&&(h=(t=t[h-1]).ua,W=null===t.parent?0:t.parent.rowSpacing,X?(t.T.h(i+v/2-t.focus.x-t.ia.x,c+W),X=i+v/2-t.focus.x-t.ia.x,r=Math.max(r,X+h.width),0>X&&(r-=X),c=Math.max(c,Math.max(We,ye)+W+h.height),0>t.T.x&&(i=S2(e,t.T.x,!1,i,v))):(t.T.h(r+W,i+v/2-t.focus.y-t.ia.y),r=Math.max(r,Math.max(Ve,ge)+W+h.width),ye=i+v/2-t.focus.y-t.ia.y,c=Math.max(c,ye+h.height),0>ye&&(c-=ye),0>t.T.y&&(i=S2(e,t.T.y,!0,i,v)))),new sn(i,0,r,c)}function lM(e,t,i,r,c){var h=t.length;if(0===h)return new sn(i,0,r,c);if(1===h)return new sn(i,0,r=(t=t[0]).ua.width,c=t.ua.height);for(var v=e.nodeSpacing,W=e.rowSpacing,X=270===pc(e),Z=0,ge=0,ye=0,We=0;We<h;We++)if(!(We%2!=0||1<h&&We===h-1)){var Ve=t[We],st=Ve.ua,jt=0===Z?0:W;if(X){var nn=u_(Ve)-v;Ve.T.h(i-(st.width+nn),ye-=jt+st.height),r=Math.max(r,st.width+nn),c=Math.max(c,Math.abs(ye))}else nn=u_(Ve)-v,Ve.T.h(ge-=jt+st.width,i-(st.height+nn)),c=Math.max(c,st.height+nn),r=Math.max(r,Math.abs(ge));Z++}for(Z=0,Ve=ge,We=ye,X?(ge=i+v,ye=0):(ge=0,ye=i+v),st=0;st<h;st++)if(st%2!=0){nn=(jt=t[st]).ua;var on=0===Z?0:W;if(X){var Fn=u_(jt)-v;jt.T.h(ge+Fn,ye-=on+nn.height),r=Math.max(r,ge+nn.width+Fn),c=Math.max(c,Math.abs(ye))}else Fn=u_(jt)-v,jt.T.h(ge-=on+nn.width,ye+Fn),c=Math.max(c,ye+nn.height+Fn),r=Math.max(r,Math.abs(ge));Z++}for(1<h&&h%2==1&&(Z=(W=t[h-1]).ua,st=null===W.parent?0:W.parent.rowSpacing,X?(W.T.h(i+v/2-W.focus.x-W.ia.x,-c-Z.height-st),ge=i+v/2-W.focus.x-W.ia.x,r=Math.max(r,ge+Z.width),0>ge&&(r-=ge),c=Math.max(c,Math.abs(Math.min(We,ye))+st+Z.height),0>W.T.x&&(i=S2(e,W.T.x,!1,i,v))):(W.T.h(-r-Z.width-st,i+v/2-W.focus.y-W.ia.y),r=Math.max(r,Math.abs(Math.min(Ve,ge))+st+Z.width),ye=i+v/2-W.focus.y-W.ia.y,c=Math.max(c,ye+Z.height),0>ye&&(c-=ye),0>W.T.y&&(i=S2(e,W.T.y,!0,i,v)))),e=0;e<h;e++)v=t[e],X?v.T.h(v.T.x,v.T.y+c):v.T.h(v.T.x+r,v.T.y);return new sn(i,0,r,c)}function u_(e){return null===e.parent?0:e.parent.nodeSpacing}function S2(e,t,i,r,c){for(var h=(e=e.children).length,v=0;v<h;v++)i?e[v].T.h(e[v].T.x,e[v].T.y-t):e[v].T.h(e[v].T.x-t,e[v].T.y);return t=e[h-1],Math.max(r,i?t.ia.y+t.focus.y-c/2:t.ia.x+t.focus.x-c/2)}function pb(e,t,i){switch(e.alignment){case Fm:case f_:return i+e.width>t&&(t=i+e.width),0>i&&(t-=i),t;case tf:return e.width>t?e.width:t;case Ld:return 2*e.focus.x>t?e.width:t+e.width-2*e.focus.x;case nf:case Ph:return Math.max(e.width,Math.max(t,i+e.width)-Math.min(0,i));case sf:return e.width-e.focus.x+e.nodeSpacing/2+t;case Jp:return Math.max(e.width,e.focus.x+e.nodeSpacing/2+t);default:return t}}function T2(e,t,i){switch(e.alignment){case Fm:case f_:return i+e.height>t&&(t=i+e.height),0>i&&(t-=i),t;case tf:return e.height>t?e.height:t;case Ld:return 2*e.focus.y>t?e.height:t+e.height-2*e.focus.y;case nf:case Ph:return Math.max(e.height,Math.max(t,i+e.height)-Math.min(0,i));case sf:return e.height-e.focus.y+e.nodeSpacing/2+t;case Jp:return Math.max(e.height,e.focus.y+e.nodeSpacing/2+t);default:return t}}function q_(e,t,i){switch(e){case f_:case Fm:t/=2,i/=2;break;case tf:i=t=0;break;case Ld:break;default:z("Unhandled alignment value "+e.toString())}return new Ze(t,i)}function wf(e,t,i,r,c,h){d_(e,(t=q_(t,i,r)).x,t.y,c,h)}function d_(e,t,i,r,c){if(0!==t||0!==i)for(e=e.children;r<=c;r++){var h=e[r].T;h.x+=t,h.y+=i}}function pg(e,t,i,r){var c=t.parent;switch(e.Zc){case Nf:for(e=t.sourceEdges;e.next();)(t=e.value).fromVertex===c&&t.relativePoint.h(i,r);break;case $_:for(e=t.destinationEdges;e.next();)(t=e.value).toVertex===c&&t.relativePoint.h(i,r);break;default:z("Unhandled path value "+e.Zc.toString())}}function hg(e,t,i){for(var r=0;r<e.length;r++){var c=e[r];c.x+=t,c.y+=i}}function C2(e,t,i,r,c,h,v,W){var X=pc(t),Z=90===X||270===X,ge=t.nodeSpacing;t=r;var ye=c;r=h;var We=v,Ve=i.bq,st=i.oq;v=i.ua;var jt=Z?Math.max(We,v.height):Math.max(r,v.width);if((null===Ve||X!==pc(i))&&(Ve=zu(e,2),st=zu(e,2),Z?(Ve[0].h(0,0),Ve[1].h(0,v.height),st[0].h(v.width,0),st[1].h(st[0].x,Ve[1].y)):(Ve[0].h(0,0),Ve[1].h(v.width,0),st[0].h(0,v.height),st[1].h(Ve[1].x,st[0].y))),Z){if(We=9999999,!(null===ye||2>ye.length||null===Ve||2>Ve.length))for(c=i=0;i<ye.length&&c<Ve.length;){var nn=Ve[c];X=nn.x,Z=nn.y,X+=r;var on=h=ye[i];i+1<ye.length&&(on=ye[i+1]);var Fn=nn;nn=Fn.x,Fn=Fn.y,c+1<Ve.length&&(nn=(Fn=Ve[c+1]).x,Fn=Fn.y,nn+=r);var Gn=We;h.y===Z?Gn=X-h.x:h.y>Z&&h.y<Fn?Gn=X+(h.y-Z)/(Fn-Z)*(nn-X)-h.x:Z>h.y&&Z<on.y&&(Gn=X-(h.x+(Z-h.y)/(on.y-h.y)*(on.x-h.x))),Gn<We&&(We=Gn),on.y<=h.y?i++:Fn<=Z?c++:(on.y<=Fn&&i++,Fn<=on.y&&c++)}if(We=r-We,i=Ve,c=We+=ge,null===t||2>t.length||null===i||2>i.length)r=null;else{for(ge=zu(e,t.length+i.length),r=h=X=0;h<i.length&&i[h].y<t[0].y;)Z=i[h++],ge[r++].h(Z.x+c,Z.y);for(;X<t.length;)Z=t[X++],ge[r++].h(Z.x,Z.y);for(X=t[t.length-1].y;h<i.length&&i[h].y<=X;)h++;for(;h<i.length&&i[h].y>X;)Z=i[h++],ge[r++].h(Z.x+c,Z.y);for(i=zu(e,r),X=0;X<r;X++)i[X].assign(ge[X]);Dp(e,ge),r=i}if(h=st,X=We,null===ye||2>ye.length||null===h||2>h.length)c=null;else{for(ge=zu(e,ye.length+h.length),c=Z=i=0;i<ye.length&&ye[i].y<h[0].y;)on=ye[i++],ge[c++].h(on.x,on.y);for(;Z<h.length;)on=h[Z++],ge[c++].h(on.x+X,on.y);for(h=h[h.length-1].y;i<ye.length&&ye[i].y<=h;)i++;for(;i<ye.length&&ye[i].y>h;)X=ye[i++],ge[c++].h(X.x,X.y);for(h=zu(e,c),i=0;i<c;i++)h[i].assign(ge[i]);Dp(e,ge),c=h}return h=Math.max(0,We)+v.width,v=jt,Dp(e,t),Dp(e,Ve),Dp(e,ye),Dp(e,st),W[0]=r,W[1]=c,new sn(We,0,h,v)}if(r=9999999,!(null===ye||2>ye.length||null===Ve||2>Ve.length))for(c=i=0;i<ye.length&&c<Ve.length;)X=(nn=Ve[c]).x,Z=nn.y,Z+=We,on=h=ye[i],i+1<ye.length&&(on=ye[i+1]),nn=(Fn=nn).x,Fn=Fn.y,c+1<Ve.length&&(nn=(Fn=Ve[c+1]).x,Fn=Fn.y,Fn+=We),Gn=r,h.x===X?Gn=Z-h.y:h.x>X&&h.x<nn?Gn=Z+(h.x-X)/(nn-X)*(Fn-Z)-h.y:X>h.x&&X<on.x&&(Gn=Z-(h.y+(X-h.x)/(on.x-h.x)*(on.y-h.y))),Gn<r&&(r=Gn),on.x<=h.x?i++:nn<=X?c++:(on.x<=nn&&i++,nn<=on.x&&c++);if(We-=r,i=Ve,c=We+=ge,null===t||2>t.length||null===i||2>i.length)r=null;else{for(ge=zu(e,t.length+i.length),r=h=X=0;h<i.length&&i[h].x<t[0].x;)Z=i[h++],ge[r++].h(Z.x,Z.y+c);for(;X<t.length;)Z=t[X++],ge[r++].h(Z.x,Z.y);for(X=t[t.length-1].x;h<i.length&&i[h].x<=X;)h++;for(;h<i.length&&i[h].x>X;)Z=i[h++],ge[r++].h(Z.x,Z.y+c);for(i=zu(e,r),X=0;X<r;X++)i[X].assign(ge[X]);Dp(e,ge),r=i}if(h=st,X=We,null===ye||2>ye.length||null===h||2>h.length)c=null;else{for(ge=zu(e,ye.length+h.length),c=Z=i=0;i<ye.length&&ye[i].x<h[0].x;)on=ye[i++],ge[c++].h(on.x,on.y);for(;Z<h.length;)on=h[Z++],ge[c++].h(on.x,on.y+X);for(h=h[h.length-1].x;i<ye.length&&ye[i].x<=h;)i++;for(;i<ye.length&&ye[i].x>h;)X=ye[i++],ge[c++].h(X.x,X.y);for(h=zu(e,c),i=0;i<c;i++)h[i].assign(ge[i]);Dp(e,ge),c=h}return h=jt,v=Math.max(0,We)+v.height,Dp(e,t),Dp(e,Ve),Dp(e,ye),Dp(e,st),W[0]=r,W[1]=c,new sn(We,0,h,v)}function zu(e,t){if(void 0!==(e=e.xu[t])&&void 0!==(e=e.pop()))return e;e=[];for(var i=0;i<t;i++)e[i]=new Ze;return e}function Dp(e,t){var i=t.length,r=e.xu[i];void 0===r&&(e.xu[i]=r=[]),r.push(t)}function p_(e,t,i,r){if(null!==t){t.x=i,t.y=r;for(var c=(t=t.children).length,h=0;h<c;h++){var v=t[h];p_(e,v,i+v.T.x,r+v.T.y)}}}function Kp(e,t){if(null!==t){e.setPortSpots(t);for(var i=(t=t.children).length,r=0;r<i;r++)Kp(e,t[r])}}function pc(e){return 45>=(e=e.angle)?0:135>=e?90:225>=e?180:315>=e?270:0}function T_(e){var t=pc(e);t=90===t||270===t;var i=e.layerSpacing;if(0<e.layerSpacingParentOverlap){var r=Math.min(1,e.layerSpacingParentOverlap);i-=t?e.height*r:e.width*r}return i<(t?-e.height:-e.width)&&(i=t?-e.height:-e.width),i}function xm(e){var t=pc(e),i=e.nodeIndent;if(0<e.nodeIndentPastParent){var r=Math.min(1,e.nodeIndentPastParent);i+=90===t||270===t?e.width*r:e.height*r}return Math.max(0,i)}Qr.className="LayeredDigraphLayout",Qr.CycleDepthFirst=ef,Qr.CycleGreedy=b2,Qr.CycleFromLayers=Rf,Qr.LayerOptimalLinkLength=lg,Qr.LayerLongestPathSink=M2,Qr.LayerLongestPathSource=cg,Qr.InitDepthFirstOut=G_,Qr.InitDepthFirstIn=O2,Qr.InitNaive=v2,Qr.AggressiveNone=A2,Qr.AggressiveLess=Rg,Qr.AggressiveMore=Lg,Qr.PackNone=0,Qr.PackExpand=1,Qr.PackStraighten=2,Qr.PackMedian=4,Qr.PackAll=7,c_.className="SegInfo",y(ug,jo),ug.prototype.createVertex=function(){return new Nm(this)},ug.prototype.createEdge=function(){return new dg(this)},ug.className="LayeredDigraphNetwork",y(Nm,S1),I.Object.defineProperties(Nm.prototype,{layer:{get:function(){return this.fi},set:function(e){this.fi!==e&&(this.fi=e)}},column:{get:function(){return this.Cg},set:function(e){this.Cg!==e&&(this.Cg=e)}},index:{get:function(){return this.Sa},set:function(e){this.Sa!==e&&(this.Sa=e)}},component:{get:function(){return this.K},set:function(e){this.K!==e&&(this.K=e)}},near:{get:function(){return this.ba},set:function(e){this.ba!==e&&(this.ba=e)}}}),Nm.className="LayeredDigraphVertex",y(dg,uc),I.Object.defineProperties(dg.prototype,{valid:{get:function(){return this.Vb},set:function(e){this.Vb!==e&&(this.Vb=e)}},rev:{get:function(){return this.Ma},set:function(e){this.Ma!==e&&(this.Ma=e)}},forest:{get:function(){return this.l},set:function(e){this.l!==e&&(this.l=e)}},portFromPos:{get:function(){return this.K},set:function(e){this.K!==e&&(this.K=e)}},portToPos:{get:function(){return this.La},set:function(e){this.La!==e&&(this.La=e)}},portFromColOffset:{get:function(){return this.u},set:function(e){this.u!==e&&(this.u=e)}},portToColOffset:{get:function(){return this.ba},set:function(e){this.ba!==e&&(this.ba=e)}}}),dg.className="LayeredDigraphEdge",y(Ho,er),Ho.prototype.cloneProtected=function(e){er.prototype.cloneProtected.call(this,e),e.Mo=this.Mo,e.Dp=this.Dp,e.Jr=this.Jr,e.Xc=this.Xc,e.Ab=this.Ab,e.wd.assign(this.wd),e.U.copyInheritedPropertiesFrom(this.U),e.V.copyInheritedPropertiesFrom(this.V)},Ho.prototype.fb=function(e){e.classType===Ho?0===e.name.indexOf("Alignment")?this.alignment=e:0===e.name.indexOf("Arrangement")?this.arrangement=e:0===e.name.indexOf("Compaction")?this.compaction=e:0===e.name.indexOf("Path")?this.path=e:0===e.name.indexOf("Sorting")?this.sorting=e:0===e.name.indexOf("Style")?this.treeStyle=e:z("Unknown enum value: "+e):er.prototype.fb.call(this,e)},Ho.prototype.createNetwork=function(){return new Wm(this)},Ho.prototype.makeNetwork=function(e){function t(r){if(r instanceof as)return!r.isLinkLabel&&"Comment"!==r.category;if(r instanceof Zt){var c=r.fromNode;return null!==c&&!c.isLinkLabel&&"Comment"!==c.category&&!(null===(r=r.toNode)||r.isLinkLabel||"Comment"===r.category)}return!1}var i=this.createNetwork();return e instanceof ii?(i.kg(e.nodes,!0,t),i.kg(e.links,!0,t)):i.kg(e instanceof Fe?e.memberParts:e.iterator,!1,t),i},Ho.prototype.doLayout=function(e){null===this.network&&(this.network=this.makeNetwork(e)),this.arrangement!==D_&&(this.arrangementOrigin=this.initialOrigin(this.arrangementOrigin));var t=this.diagram;if(null===t&&e instanceof ii&&(t=e),this.Zc=this.path===xg&&null!==t?t.isTreePathToChildren?Nf:$_:this.path===xg?Nf:this.path,0<this.network.vertexes.count){for(this.network.Pp(),e=this.network.vertexes.iterator;e.next();)(t=e.value).initialized=!1,t.level=0,t.parent=null,t.children=[];if(0<this.Fb.count){for(e=new Se,t=this.Fb.iterator;t.next();){var i=t.value;i instanceof as?null!==(i=this.network.Ii(i))&&e.add(i):i instanceof wd&&e.add(i)}this.Fb=e}for(0===this.Fb.count&&this.findRoots(),e=this.Fb.copy().iterator;e.next();)(t=e.value).initialized||(t.initialized=!0,E2(this,t));for(t=this.network.vertexes,e=null;0<(e=oM(t)).count;)null!==(t=y2(this,e))&&this.Fb.add(t),t.initialized=!0,E2(this,t),t=e;for(e=this.Fb.iterator;e.next();)(t=e.value)instanceof wd&&lb(this,t);for(e=this.Fb.iterator;e.next();)(t=e.value)instanceof wd&&cb(this,t);for(e=this.Fb.iterator;e.next();)(t=e.value)instanceof wd&&ub(this,t);if(this.Iu(),this.layerStyle===kg){for(e=[],t=this.network.vertexes.iterator;t.next();){var r=(i=t.value).parent;null===r&&(r=i),r=0===r.angle||180===r.angle;var c=e[i.level];void 0===c&&(c=0),e[i.level]=Math.max(c,r?i.width:i.height)}for(t=0;t<e.length;t++)void 0===e[t]&&(e[t]=0);for(this.iw=e,t=this.network.vertexes.iterator;t.next();)null===(r=(i=t.value).parent)&&(r=i),0===r.angle||180===r.angle?(180===r.angle&&(i.focusX+=e[i.level]-i.width),i.width=e[i.level]):(270===r.angle&&(i.focusY+=e[i.level]-i.height),i.height=e[i.level])}else if(this.layerStyle===P2)for(e=this.network.vertexes.iterator;e.next();){for(i=0===(t=e.value).angle||180===t.angle,r=-1,c=0;c<t.children.length;c++){var h=t.children[c];r=Math.max(r,i?h.width:h.height)}if(0<=r)for(c=0;c<t.children.length;c++)h=t.children[c],i?(180===t.angle&&(h.focusX+=r-h.width),h.width=r):(270===t.angle&&(h.focusY+=r-h.height),h.height=r)}for(e=this.Fb.iterator;e.next();)(t=e.value)instanceof wd&&this.layoutTree(t);this.arrangeTrees(),this.updateParts()}this.network=null,this.Fb=new Se,this.isValidLayout=!0},Ho.prototype.findRoots=function(){for(var e=this.network.vertexes,t=e.iterator;t.next();){var i=t.value;switch(this.Zc){case Nf:0===i.sourceEdges.count&&this.Fb.add(i);break;case $_:0===i.destinationEdges.count&&this.Fb.add(i);break;default:z("Unhandled path value "+this.Zc.toString())}}0===this.Fb.count&&null!==(e=y2(this,e))&&this.Fb.add(e)},Ho.prototype.removeChild=function(e,t){if(null!==e&&null!==t){for(var i=e.children,r=0,c=0;c<i.length;c++)i[c]===t&&r++;if(0<r){r=Array(i.length-r);for(var h=c=0;h<i.length;h++)i[h]!==t&&(r[c++]=i[h]);e.children=r}}},Ho.prototype.initializeTreeVertexValues=function(e){if(e.copyInheritedPropertiesFrom(function rM(e,t){switch(e.Dp){default:case mg:return null!==t.parent?t.parent:e.U;case Bg:return null===t.parent?e.U:null===t.parent.parent?e.V:t.parent;case D2:return null!==t.parent?null!==t.parent.parent?t.parent.parent:e.V:e.U;case z2:var i=!0;if(0===t.childrenCount)i=!1;else for(var r=t.children,c=r.length,h=0;h<c;h++)if(0<r[h].childrenCount){i=!1;break}return i&&null!==t.parent?e.V:null!==t.parent?t.parent:e.U}}(this,e)),null!==e.parent&&e.parent.alignment===Ph){for(var t=e.angle,i=e.parent.children,r=0;r<i.length&&e!==i[r];)r++;r%2==0?r!==i.length-1&&(t=90===t?180:180===t?270:270===t?180:270):t=90===t?0:180===t?90:270===t?0:90,e.angle=t}e.initialized=!0},Ho.prototype.assignTreeVertexValues=function(){},Ho.prototype.sortTreeVertexChildren=function(e){switch(e.sorting){case C_:break;case V_:e.children.reverse();break;case Fg:e.children.sort(e.comparer);break;case h_:e.children.sort(e.comparer),e.children.reverse();break;default:z("Unhandled sorting value "+e.sorting.toString())}},Ho.prototype.Iu=function(){if(this.comments)for(var e=this.network.vertexes.iterator;e.next();)this.addComments(e.value)},Ho.prototype.addComments=function(e){var t=e.angle,i=e.parent,r=0,c=!1;null!==i&&(r=i.angle,c=Lf(c=i.alignment)),t=90===t||270===t,r=90===r||270===r,i=0===e.childrenCount;var h=0,v=0,W=0,X=e.commentSpacing;if(null!==e.node)for(var Z=e.node.Xu();Z.next();){var ge=Z.value;"Comment"===ge.category&&ge.canLayout()&&(null===e.comments&&(e.comments=[]),e.comments.push(ge),ge.ac(),ge=ge.measuredBounds,t&&!i||!c&&!r&&i||c&&r&&i?(h=Math.max(h,ge.width),v+=ge.height+Math.abs(W)):(h+=ge.width+Math.abs(W),v=Math.max(v,ge.height)),W=X)}null!==e.comments&&(t&&!i||!c&&!r&&i||c&&r&&i?(h+=Math.abs(e.commentMargin),v=Math.max(0,v-e.height)):(v+=Math.abs(e.commentMargin),h=Math.max(0,h-e.width)),c=sn.allocAt(0,0,e.bounds.width+h,e.bounds.height+v),e.bounds=c,sn.free(c))},Ho.prototype.layoutComments=function(e){if(null!==e.comments){var t=e.node.measuredBounds,i=e.parent,r=e.angle,c=0,h=!1;null!==i&&(c=i.angle,h=Lf(h=i.alignment)),r=90===r||270===r,i=90===c||270===c;for(var v=0===e.childrenCount,W=db(e),X=0,Z=e.comments,ge=Z.length,ye=Ze.alloc(),We=0;We<ge;We++){var Ve=Z[We],st=Ve.measuredBounds;if(r&&!v||!h&&!i&&v||h&&i&&v){if(135<c&&!h||i&&W)if(0<=e.commentMargin)for(ye.h(e.bounds.x-e.commentMargin-st.width,e.bounds.y+X),Ve.move(ye),Ve=Ve.sd();Ve.next();){var jt=Ve.value;jt.fromSpot=bi,jt.toSpot=Po}else for(ye.h(e.bounds.x+2*e.focus.x-e.commentMargin,e.bounds.y+X),Ve.move(ye),Ve=Ve.sd();Ve.next();)(jt=Ve.value).fromSpot=Po,jt.toSpot=bi;else if(0<=e.commentMargin)for(ye.h(e.bounds.x+2*e.focus.x+e.commentMargin,e.bounds.y+X),Ve.move(ye),Ve=Ve.sd();Ve.next();)(jt=Ve.value).fromSpot=Po,jt.toSpot=bi;else for(ye.h(e.bounds.x+e.commentMargin-st.width,e.bounds.y+X),Ve.move(ye),Ve=Ve.sd();Ve.next();)(jt=Ve.value).fromSpot=bi,jt.toSpot=Po;X=0<=e.commentSpacing?X+(st.height+e.commentSpacing):X+(e.commentSpacing-st.height)}else{if(135<c&&!h||!i&&W)if(0<=e.commentMargin)for(ye.h(e.bounds.x+X,e.bounds.y-e.commentMargin-st.height),Ve.move(ye),Ve=Ve.sd();Ve.next();)(jt=Ve.value).fromSpot=oa,jt.toSpot=Pn;else for(ye.h(e.bounds.x+X,e.bounds.y+2*e.focus.y-e.commentMargin),Ve.move(ye),Ve=Ve.sd();Ve.next();)(jt=Ve.value).fromSpot=Pn,jt.toSpot=oa;else if(0<=e.commentMargin)for(ye.h(e.bounds.x+X,e.bounds.y+2*e.focus.y+e.commentMargin),Ve.move(ye),Ve=Ve.sd();Ve.next();)(jt=Ve.value).fromSpot=Pn,jt.toSpot=oa;else for(ye.h(e.bounds.x+X,e.bounds.y+e.commentMargin-st.height),Ve.move(ye),Ve=Ve.sd();Ve.next();)(jt=Ve.value).fromSpot=oa,jt.toSpot=Pn;X=0<=e.commentSpacing?X+(st.width+e.commentSpacing):X+(e.commentSpacing-st.width)}}if(Ze.free(ye),t=X-e.commentSpacing-(r?t.height:t.width),this.Zc===Nf)for(e=e.destinationEdges;e.next();)null===(c=e.value.link)||c.isAvoiding||(c.fromEndSegmentLength=0<t?t:NaN);else for(e=e.sourceEdges;e.next();)null===(c=e.value.link)||c.isAvoiding||(c.toEndSegmentLength=0<t?t:NaN)}},Ho.prototype.layoutTree=function(e){if(null!==e){for(var t=e.children,i=t.length,r=0;r<i;r++)this.layoutTree(t[r]);switch(e.compaction){case Wg:Ng(this,e);break;case fg:if(e.alignment===Ph)Ng(this,e);else if(0===e.childrenCount)i=!1,t=0,null!==(r=e.parent)&&(t=r.angle,i=Lf(i=r.alignment)),r=db(e),e.T.h(0,0),e.ua.h(e.width,e.height),null===e.parent||null===e.comments||(180!==t&&270!==t||i)&&!r?e.ia.h(0,0):180===t&&!i||(90===t||270===t)&&r?e.ia.h(e.width-2*e.focus.x,0):e.ia.h(0,e.height-2*e.focus.y),e.bq=null,e.oq=null;else{var c=pc(e);t=90===c||270===c;var h=0,v=e.children,W=v.length;for(i=0;i<W;i++)r=v[i],h=Math.max(h,t?r.ua.width:r.ua.height);var X=e.alignment,Z=X===Ld,ge=Lf(X),ye=Math.max(0,e.breadthLimit);i=T_(e);var We=e.nodeSpacing,Ve=xm(e),st=e.rowSpacing,jt=0;(X===tf||Z||e.tm||e.um&&1===e.maxGenerationCount)&&(jt=Math.max(0,e.rowIndent)),r=e.width;var nn=e.height,on=0,Fn=0,Gn=0,hi=null,gi=null,xi=0,ns=0,ls=0,ks=0,Ms=0,qo=0,bo=0,us=0;if(ge&&!wg(X)&&135<c&&v.reverse(),wg(X))if(1<W)for(var Ss=0;Ss<W;Ss++)Ss%2==0&&Ss!==W-1&&(us=Math.max(us,t?v[Ss].ua.width:v[Ss].ua.height));else 1===W&&(us=t?v[0].ua.width:v[0].ua.height);if(ge){switch(X){case nf:us=(Fn=135>c?aM(e,v,us,on,Fn):lM(e,v,us,on,Fn)).x,on=Fn.width,Fn=Fn.height;break;case sf:for(hi=0;hi<W;hi++)ye=(gi=v[hi]).ua,Gn=0===qo?0:st,t?(gi.T.h(h-ye.width,ks+Gn),on=Math.max(on,ye.width),Fn=Math.max(Fn,ks+Gn+ye.height),ks+=Gn+ye.height):(gi.T.h(ls+Gn,h-ye.height),on=Math.max(on,ls+Gn+ye.width),Fn=Math.max(Fn,ye.height),ls+=Gn+ye.width),qo++;break;case Jp:for(hi=0;hi<W;hi++)h=(gi=v[hi]).ua,ye=0===qo?0:st,t?(gi.T.h(We/2+e.focus.x,ks+ye),on=Math.max(on,h.width),Fn=Math.max(Fn,ks+ye+h.height),ks+=ye+h.height):(gi.T.h(ls+ye,We/2+e.focus.y),on=Math.max(on,ls+ye+h.width),Fn=Math.max(Fn,h.height),ls+=ye+h.width),qo++}hi=zu(this,2),gi=zu(this,2),t?(hi[0].h(0,0),hi[1].h(0,Fn),gi[0].h(on,0)):(hi[0].h(0,0),hi[1].h(on,0),gi[0].h(0,Fn)),gi[1].h(on,Fn)}else for(Ss=0;Ss<W;Ss++){var Pa=v[Ss],V1=Pa.ua;if(t){0<ye&&0<qo&&ls+We+V1.width>ye&&(ls<h&&wf(e,X,h-ls,0,bo,Ss-1),Ms++,qo=0,bo=Ss,Gn=Fn,ls=0,ks=135<c?-Fn-st:Fn+st),pg(this,Pa,0,ks);var e0=0;if(0===qo)gi=Pa.oq,xi=V1.width,ns=V1.height,(null===(hi=Pa.bq)||null===gi||c!==pc(Pa))&&(hi=zu(this,2),gi=zu(this,2),hi[0].h(0,0),hi[1].h(0,ns),gi[0].h(xi,0),gi[1].h(xi,ns));else{var xa=ie();e0=(ns=C2(this,e,Pa,hi,gi,xi,ns,xa)).x,hi=xa[0],gi=xa[1],xi=ns.width,ns=ns.height,ne(xa),ls<V1.width&&0>e0&&(d_(e,-e0,0,bo,Ss-1),hg(hi,-e0,0),hg(gi,-e0,0),e0=0)}Pa.T.h(e0,ks),on=Math.max(on,xi),Fn=Math.max(Fn,Gn+(0===Ms?0:st)+V1.height),ls=xi}else 0<ye&&0<qo&&ks+We+V1.height>ye&&(ks<h&&wf(e,X,0,h-ks,bo,Ss-1),Ms++,qo=0,bo=Ss,Gn=on,ks=0,ls=135<c?-on-st:on+st),pg(this,Pa,ls,0),e0=0,0===qo?(gi=Pa.oq,xi=V1.width,ns=V1.height,(null===(hi=Pa.bq)||null===gi||c!==pc(Pa))&&(hi=zu(this,2),gi=zu(this,2),hi[0].h(0,0),hi[1].h(xi,0),gi[0].h(0,ns),gi[1].h(xi,ns))):(e0=(ns=C2(this,e,Pa,hi,gi,xi,ns,xa=ie())).x,hi=xa[0],gi=xa[1],xi=ns.width,ns=ns.height,ne(xa),ks<V1.height&&0>e0&&(d_(e,0,-e0,bo,Ss-1),hg(hi,0,-e0),hg(gi,0,-e0),e0=0)),Pa.T.h(ls,e0),Fn=Math.max(Fn,ns),on=Math.max(on,Gn+(0===Ms?0:st)+V1.width),ks=ns;qo++}switch(0<Ms&&(t?(Fn+=Math.max(0,i),ls<on&&wf(e,X,on-ls,0,bo,W-1),0<jt&&(Z||d_(e,jt,0,0,W-1),on+=jt)):(on+=Math.max(0,i),ks<Fn&&wf(e,X,0,Fn-ks,bo,W-1),0<jt&&(Z||d_(e,0,jt,0,W-1),Fn+=jt))),jt=Z=0,X){case f_:t?Z+=on/2-e.focus.x-Ve/2:jt+=Fn/2-e.focus.y-Ve/2;break;case Fm:0<Ms?t?Z+=on/2-e.focus.x-Ve/2:jt+=Fn/2-e.focus.y-Ve/2:t?Z+=(us=v[0].T.x+v[0].ia.x)+(v[W-1].T.x+v[W-1].ia.x+2*v[W-1].focus.x-us)/2-e.focus.x-Ve/2:jt+=(us=v[0].T.y+v[0].ia.y)+(v[W-1].T.y+v[W-1].ia.y+2*v[W-1].focus.y-us)/2-e.focus.y-Ve/2;break;case tf:t?(Z-=Ve,on+=Ve):(jt-=Ve,Fn+=Ve);break;case Ld:t?(Z+=on-e.width+Ve,on+=Ve):(jt+=Fn-e.height+Ve,Fn+=Ve);break;case nf:t?Z+=1<W?us+We/2-e.focus.x:v[0].focus.x-e.focus.x+v[0].ia.x:jt+=1<W?us+We/2-e.focus.y:v[0].focus.y-e.focus.y+v[0].ia.y;break;case sf:t?Z+=on+We/2-e.focus.x:jt+=Fn+We/2-e.focus.y;break;case Jp:break;default:z("Unhandled alignment value "+X.toString())}for(Ve=0;Ve<W;Ve++)us=v[Ve],t?us.T.h(us.T.x+us.ia.x-Z,us.T.y+(135<c?(ge?-Fn:-us.ua.height)+us.ia.y-i:nn+i+us.ia.y)):us.T.h(us.T.x+(135<c?(ge?-on:-us.ua.width)+us.ia.x-i:r+i+us.ia.x),us.T.y+us.ia.y-jt);if(W=v=0,ge?t?(on=pb(e,on,Z),0>Z&&(Z=0),135<c&&(jt+=Fn+i),Fn+=nn+i,X===Jp&&(v+=We/2+e.focus.x),W+=nn+i):(135<c&&(Z+=on+i),on+=r+i,Fn=T2(e,Fn,jt),0>jt&&(jt=0),X===Jp&&(W+=We/2+e.focus.y),v+=r+i):t?(null===e.comments?r>on&&(v=(on=q_(X,r-on,0)).x,W=on.y,on=r,Z=0):on=pb(e,on,Z),0>Z&&(v-=Z,Z=0),135<c&&(jt+=Fn+i),Fn=Math.max(Math.max(Fn,nn),Fn+nn+i),W+=nn+i):(135<c&&(Z+=on+i),on=Math.max(Math.max(on,r),on+r+i),null===e.comments?nn>Fn&&(v=(Fn=q_(X,0,nn-Fn)).x,W=Fn.y,Fn=nn,jt=0):Fn=T2(e,Fn,jt),0>jt&&(W-=jt,jt=0),v+=r+i),0<Ms)c=zu(this,4),Ms=zu(this,4),t?(c[2].h(0,nn+i),c[3].h(c[2].x,Fn),Ms[2].h(on,c[2].y),Ms[3].h(Ms[2].x,c[3].y)):(c[2].h(r+i,0),c[3].h(on,c[2].y),Ms[2].h(c[2].x,Fn),Ms[3].h(c[3].x,Ms[2].y));else{for(c=zu(this,hi.length+2),Ms=zu(this,gi.length+2),X=0;X<hi.length;X++)c[X+2].h((ge=hi[X]).x+v,ge.y+W);for(X=0;X<gi.length;X++)Ms[X+2].h((ge=gi[X]).x+v,ge.y+W)}t?(c[0].h(Z,0),c[1].h(c[0].x,nn),c[2].y<c[1].y&&(c[2].x>c[0].x?c[2].assign(c[1]):c[1].assign(c[2])),c[3].y<c[2].y&&(c[3].x>c[0].x?c[3].assign(c[2]):c[2].assign(c[3])),Ms[0].h(Z+r,0),Ms[1].h(Ms[0].x,nn),Ms[2].y<Ms[1].y&&(Ms[2].x<Ms[0].x?Ms[2].assign(Ms[1]):Ms[1].assign(Ms[2])),Ms[3].y<Ms[2].y&&(Ms[3].x<Ms[0].x?Ms[3].assign(Ms[2]):Ms[2].assign(Ms[3])),c[2].y-=i/2,Ms[2].y-=i/2):(c[0].h(0,jt),c[1].h(r,c[0].y),c[2].x<c[1].x&&(c[2].y>c[0].y?c[2].assign(c[1]):c[1].assign(c[2])),c[3].x<c[2].x&&(c[3].y>c[0].y?c[3].assign(c[2]):c[2].assign(c[3])),Ms[0].h(0,jt+nn),Ms[1].h(r,Ms[0].y),Ms[2].x<Ms[1].x&&(Ms[2].y<Ms[0].y?Ms[2].assign(Ms[1]):Ms[1].assign(Ms[2])),Ms[3].x<Ms[2].x&&(Ms[3].y<Ms[0].y?Ms[3].assign(Ms[2]):Ms[2].assign(Ms[3])),c[2].x-=i/2,Ms[2].x-=i/2),Dp(this,hi),Dp(this,gi),e.bq=c,e.oq=Ms,e.ia.h(Z,jt),e.ua.h(on,Fn)}break;default:z("Unhandled compaction value "+e.compaction.toString())}}},Ho.prototype.arrangeTrees=function(){if(this.Ab===D_)for(var e=this.Fb.iterator;e.next();){var t=e.value;if(t instanceof wd){var i=t.node;if(null!==i){var r=i.position;i=r.x,r=r.y,isFinite(i)||(i=0),isFinite(r)||(r=0),p_(this,t,i,r)}}}else{for(e=[],t=this.Fb.iterator;t.next();)(i=t.value)instanceof wd&&e.push(i);switch(this.sorting){case C_:break;case V_:e.reverse();break;case Fg:e.sort(this.comparer);break;case h_:e.sort(this.comparer),e.reverse();break;default:z("Unhandled sorting value "+this.sorting.toString())}for(t=(i=this.arrangementOrigin).x,i=i.y,r=0;r<e.length;r++){var c=e[r];switch(p_(this,c,t+c.ia.x,i+c.ia.y),this.Ab){case H_:i+=c.ua.height+this.wd.height;break;case z_:t+=c.ua.width+this.wd.width;break;default:z("Unhandled arrangement value "+this.Ab.toString())}}}},Ho.prototype.commitLayout=function(){this.Jv(),this.commitNodes(),this.Mu(),this.isRouting&&this.commitLinks()},Ho.prototype.commitNodes=function(){for(var e=this.network.vertexes.iterator;e.next();)e.value.commit();for(e.reset();e.next();)this.layoutComments(e.value)},Ho.prototype.Mu=function(){if(this.layerStyle===kg){for(var e=this.iw,t=[],i=null,r=this.network.vertexes.iterator;r.next();){var c=r.value;null===i?i=c.bounds.copy():i.Jc(c.bounds);var h=t[c.level];h=void 0===h?T_(c):Math.max(h,T_(c)),t[c.level]=h}for(r=0;r<t.length;r++)void 0===t[r]&&(t[r]=0);if(90===this.angle||270===this.angle?(i.Uc(this.nodeSpacing/2,this.layerSpacing),r=new Ze(-this.nodeSpacing/2,-this.layerSpacing/2)):(i.Uc(this.layerSpacing,this.nodeSpacing/2),r=new Ze(-this.layerSpacing/2,-this.nodeSpacing/2)),c=[],i=90===this.angle||270===this.angle?i.width:i.height,h=0,180===this.angle||270===this.angle)for(var v=0;v<e.length;v++)h+=e[v]+t[v];for(v=0;v<e.length;v++){var W=e[v]+t[v];270===this.angle?c.push(new sn(0,h-=W,i,W)):90===this.angle?(c.push(new sn(0,h,i,W)),h+=W):180===this.angle?c.push(new sn(h-=W,0,W,i)):(c.push(new sn(h,0,W,i)),h+=W)}this.commitLayers(c,r)}},Ho.prototype.commitLayers=function(){},Ho.prototype.commitLinks=function(){for(var e=this.network.edges.iterator;e.next();)e.value.commit()},Ho.prototype.Jv=function(){for(var e=this.Fb.iterator;e.next();){var t=e.value;t instanceof wd&&Kp(this,t)}},Ho.prototype.setPortSpots=function(e){var t=e.alignment;if(Lf(t)){var i=this.Zc===Nf,r=pc(e);switch(r){case 0:var c=Po;break;case 90:c=Pn;break;case 180:c=bi;break;default:c=oa}var h=e.children,v=h.length;switch(t){case nf:case Ph:for(t=0;t<v;t++){var W=h[t];if(null!==(W=(i?W.sourceEdges:W.destinationEdges).first())&&null!==(W=W.link)){var X=90===r||270===r?bi:oa;if(1===v||t===v-1&&v%2==1)switch(r){case 0:X=bi;break;case 90:X=oa;break;case 180:X=Po;break;default:X=Pn}else t%2==0&&(X=90===r||270===r?Po:Pn);i?(e.setsPortSpot&&(W.fromSpot=c),e.setsChildPortSpot&&(W.toSpot=X)):(e.setsPortSpot&&(W.fromSpot=X),e.setsChildPortSpot&&(W.toSpot=c))}}break;case sf:for(r=90===r||270===r?Po:Pn,h=i?e.destinationEdges:e.sourceEdges;h.next();)null!==(v=h.value.link)&&(i?(e.setsPortSpot&&(v.fromSpot=c),e.setsChildPortSpot&&(v.toSpot=r)):(e.setsPortSpot&&(v.fromSpot=r),e.setsChildPortSpot&&(v.toSpot=c)));break;case Jp:for(r=90===r||270===r?bi:oa,h=i?e.destinationEdges:e.sourceEdges;h.next();)null!==(v=h.value.link)&&(i?(e.setsPortSpot&&(v.fromSpot=c),e.setsChildPortSpot&&(v.toSpot=r)):(e.setsPortSpot&&(v.fromSpot=r),e.setsChildPortSpot&&(v.toSpot=c)))}}else if(i=pc(e),this.Zc===Nf){for(c=e.destinationEdges;c.next();)if(null!==(r=c.value.link)){if(e.setsPortSpot)if(e.portSpot.Kb())switch(i){case 0:r.fromSpot=Po;break;case 90:r.fromSpot=Pn;break;case 180:r.fromSpot=bi;break;default:r.fromSpot=oa}else r.fromSpot=e.portSpot;if(e.setsChildPortSpot)if(e.childPortSpot.Kb())switch(i){case 0:r.toSpot=bi;break;case 90:r.toSpot=oa;break;case 180:r.toSpot=Po;break;default:r.toSpot=Pn}else r.toSpot=e.childPortSpot}}else for(c=e.sourceEdges;c.next();)if(null!==(r=c.value.link)){if(e.setsPortSpot)if(e.portSpot.Kb())switch(i){case 0:r.toSpot=Po;break;case 90:r.toSpot=Pn;break;case 180:r.toSpot=bi;break;default:r.toSpot=oa}else r.toSpot=e.portSpot;if(e.setsChildPortSpot)if(e.childPortSpot.Kb())switch(i){case 0:r.fromSpot=bi;break;case 90:r.fromSpot=oa;break;case 180:r.fromSpot=Po;break;default:r.fromSpot=Pn}else r.fromSpot=e.childPortSpot}},I.Object.defineProperties(Ho.prototype,{roots:{get:function(){return this.Fb},set:function(e){this.Fb!==e&&(this.Fb=e,this.B())}},path:{get:function(){return this.Mo},set:function(e){this.Mo!==e&&(this.Mo=e,this.B())}},treeStyle:{get:function(){return this.Dp},set:function(e){this.Ab===e||e!==mg&&e!==D2&&e!==z2&&e!==Bg||(this.Dp=e,this.B())}},layerStyle:{get:function(){return this.Jr},set:function(e){this.Ab===e||e!==_g&&e!==P2&&e!==kg||(this.Jr=e,this.B())}},comments:{get:function(){return this.Xc},set:function(e){this.Xc!==e&&(this.Xc=e,this.B())}},arrangement:{get:function(){return this.Ab},set:function(e){this.Ab===e||e!==H_&&e!==z_&&e!==D_||(this.Ab=e,this.B())}},arrangementSpacing:{get:function(){return this.wd},set:function(e){this.wd.A(e)||(this.wd.assign(e),this.B())}},rootDefaults:{get:function(){return this.U},set:function(e){this.U!==e&&(this.U=e,this.B())}},alternateDefaults:{get:function(){return this.V},set:function(e){this.V!==e&&(this.V=e,this.B())}},sorting:{get:function(){return this.U.sorting},set:function(e){this.U.sorting===e||e!==C_&&e!==V_&&e!==Fg&&!h_||(this.U.sorting=e,this.B())}},comparer:{get:function(){return this.U.comparer},set:function(e){this.U.comparer!==e&&(this.U.comparer=e,this.B())}},angle:{get:function(){return this.U.angle},set:function(e){this.U.angle!==e&&(0===e||90===e||180===e||270===e?(this.U.angle=e,this.B()):z("TreeLayout.angle must be 0, 90, 180, or 270"))}},alignment:{get:function(){return this.U.alignment},set:function(e){this.U.alignment!==e&&(this.U.alignment=e,this.B())}},nodeIndent:{get:function(){return this.U.nodeIndent},set:function(e){this.U.nodeIndent!==e&&0<=e&&(this.U.nodeIndent=e,this.B())}},nodeIndentPastParent:{get:function(){return this.U.nodeIndentPastParent},set:function(e){this.U.nodeIndentPastParent!==e&&0<=e&&1>=e&&(this.U.nodeIndentPastParent=e,this.B())}},nodeSpacing:{get:function(){return this.U.nodeSpacing},set:function(e){this.U.nodeSpacing!==e&&(this.U.nodeSpacing=e,this.B())}},layerSpacing:{get:function(){return this.U.layerSpacing},set:function(e){this.U.layerSpacing!==e&&(this.U.layerSpacing=e,this.B())}},layerSpacingParentOverlap:{get:function(){return this.U.layerSpacingParentOverlap},set:function(e){this.U.layerSpacingParentOverlap!==e&&0<=e&&1>=e&&(this.U.layerSpacingParentOverlap=e,this.B())}},compaction:{get:function(){return this.U.compaction},set:function(e){this.U.compaction===e||e!==Wg&&e!==fg||(this.U.compaction=e,this.B())}},breadthLimit:{get:function(){return this.U.breadthLimit},set:function(e){this.U.breadthLimit!==e&&0<=e&&(this.U.breadthLimit=e,this.B())}},rowSpacing:{get:function(){return this.U.rowSpacing},set:function(e){this.U.rowSpacing!==e&&(this.U.rowSpacing=e,this.B())}},rowIndent:{get:function(){return this.U.rowIndent},set:function(e){this.U.rowIndent!==e&&0<=e&&(this.U.rowIndent=e,this.B())}},commentSpacing:{get:function(){return this.U.commentSpacing},set:function(e){this.U.commentSpacing!==e&&(this.U.commentSpacing=e,this.B())}},commentMargin:{get:function(){return this.U.commentMargin},set:function(e){this.U.commentMargin!==e&&(this.U.commentMargin=e,this.B())}},setsPortSpot:{get:function(){return this.U.setsPortSpot},set:function(e){this.U.setsPortSpot!==e&&(this.U.setsPortSpot=e,this.B())}},portSpot:{get:function(){return this.U.portSpot},set:function(e){this.U.portSpot.A(e)||(this.U.portSpot=e,this.B())}},setsChildPortSpot:{get:function(){return this.U.setsChildPortSpot},set:function(e){this.U.setsChildPortSpot!==e&&(this.U.setsChildPortSpot=e,this.B())}},childPortSpot:{get:function(){return this.U.childPortSpot},set:function(e){this.U.childPortSpot.A(e)||(this.U.childPortSpot=e,this.B())}},alternateSorting:{get:function(){return this.V.sorting},set:function(e){this.V.sorting===e||e!==C_&&e!==V_&&e!==Fg&&!h_||(this.V.sorting=e,this.B())}},alternateComparer:{get:function(){return this.V.comparer},set:function(e){this.V.comparer!==e&&(this.V.comparer=e,this.B())}},alternateAngle:{get:function(){return this.V.angle},set:function(e){this.V.angle===e||0!==e&&90!==e&&180!==e&&270!==e||(this.V.angle=e,this.B())}},alternateAlignment:{get:function(){return this.V.alignment},set:function(e){this.V.alignment!==e&&(this.V.alignment=e,this.B())}},alternateNodeIndent:{get:function(){return this.V.nodeIndent},set:function(e){this.V.nodeIndent!==e&&0<=e&&(this.V.nodeIndent=e,this.B())}},alternateNodeIndentPastParent:{get:function(){return this.V.nodeIndentPastParent},set:function(e){this.V.nodeIndentPastParent!==e&&0<=e&&1>=e&&(this.V.nodeIndentPastParent=e,this.B())}},alternateNodeSpacing:{get:function(){return this.V.nodeSpacing},set:function(e){this.V.nodeSpacing!==e&&(this.V.nodeSpacing=e,this.B())}},alternateLayerSpacing:{get:function(){return this.V.layerSpacing},set:function(e){this.V.layerSpacing!==e&&(this.V.layerSpacing=e,this.B())}},alternateLayerSpacingParentOverlap:{get:function(){return this.V.layerSpacingParentOverlap},set:function(e){this.V.layerSpacingParentOverlap!==e&&0<=e&&1>=e&&(this.V.layerSpacingParentOverlap=e,this.B())}},alternateCompaction:{get:function(){return this.V.compaction},set:function(e){this.V.compaction===e||e!==Wg&&e!==fg||(this.V.compaction=e,this.B())}},alternateBreadthLimit:{get:function(){return this.V.breadthLimit},set:function(e){this.V.breadthLimit!==e&&0<=e&&(this.V.breadthLimit=e,this.B())}},alternateRowSpacing:{get:function(){return this.V.rowSpacing},set:function(e){this.V.rowSpacing!==e&&(this.V.rowSpacing=e,this.B())}},alternateRowIndent:{get:function(){return this.V.rowIndent},set:function(e){this.V.rowIndent!==e&&0<=e&&(this.V.rowIndent=e,this.B())}},alternateCommentSpacing:{get:function(){return this.V.commentSpacing},set:function(e){this.V.commentSpacing!==e&&(this.V.commentSpacing=e,this.B())}},alternateCommentMargin:{get:function(){return this.V.commentMargin},set:function(e){this.V.commentMargin!==e&&(this.V.commentMargin=e,this.B())}},alternateSetsPortSpot:{get:function(){return this.V.setsPortSpot},set:function(e){this.V.setsPortSpot!==e&&(this.V.setsPortSpot=e,this.B())}},alternatePortSpot:{get:function(){return this.V.portSpot},set:function(e){this.V.portSpot.A(e)||(this.V.portSpot=e,this.B())}},alternateSetsChildPortSpot:{get:function(){return this.V.setsChildPortSpot},set:function(e){this.V.setsChildPortSpot!==e&&(this.V.setsChildPortSpot=e,this.B())}},alternateChildPortSpot:{get:function(){return this.V.childPortSpot},set:function(e){this.V.childPortSpot.A(e)||(this.V.childPortSpot=e,this.B())}}});var xg=new Pe(Ho,"PathDefault",-1),Nf=new Pe(Ho,"PathDestination",0),$_=new Pe(Ho,"PathSource",1),C_=new Pe(Ho,"SortingForwards",10),V_=new Pe(Ho,"SortingReverse",11),Fg=new Pe(Ho,"SortingAscending",12),h_=new Pe(Ho,"SortingDescending",13),f_=new Pe(Ho,"AlignmentCenterSubtrees",20),Fm=new Pe(Ho,"AlignmentCenterChildren",21),tf=new Pe(Ho,"AlignmentStart",22),Ld=new Pe(Ho,"AlignmentEnd",23),nf=new Pe(Ho,"AlignmentBus",24),Ph=new Pe(Ho,"AlignmentBusBranching",25),sf=new Pe(Ho,"AlignmentTopLeftBus",26),Jp=new Pe(Ho,"AlignmentBottomRightBus",27),Wg=new Pe(Ho,"CompactionNone",30),fg=new Pe(Ho,"CompactionBlock",31),mg=new Pe(Ho,"StyleLayered",40),z2=new Pe(Ho,"StyleLastParents",41),D2=new Pe(Ho,"StyleAlternating",42),Bg=new Pe(Ho,"StyleRootOnly",43),H_=new Pe(Ho,"ArrangementVertical",50),z_=new Pe(Ho,"ArrangementHorizontal",51),D_=new Pe(Ho,"ArrangementFixedRoots",52),_g=new Pe(Ho,"LayerIndividual",60),P2=new Pe(Ho,"LayerSiblings",61),kg=new Pe(Ho,"LayerUniform",62);function Wm(e){jo.call(this,e)}function wd(e){S1.call(this,e),this.La=!1,this.Kc=null,this.K=[],this.Wb=this.Vb=this.ba=this.Ma=0,this.Xc=null,this.T=new Ze(0,0),this.ua=new Ue(0,0),this.ia=new Ze(0,0),this.um=this.tm=this.Qz=!1,this.oq=this.bq=null,this.Qc=C_,this.Mc=Tp,this.zc=0,this.wb=Fm,this.Xr=this.Wr=0,this.Zr=20,this.ke=50,this.Ir=0,this.Pq=fg,this.Iq=0,this.ls=25,this.Oq=this.ks=10,this.Nq=20,this.vs=!0,this.gs=wo,this.us=!0,this.Lq=wo}function rf(e){uc.call(this,e),this.ou=new Ze(0,0)}Ho.className="TreeLayout",Ho.PathDefault=xg,Ho.PathDestination=Nf,Ho.PathSource=$_,Ho.SortingForwards=C_,Ho.SortingReverse=V_,Ho.SortingAscending=Fg,Ho.SortingDescending=h_,Ho.AlignmentCenterSubtrees=f_,Ho.AlignmentCenterChildren=Fm,Ho.AlignmentStart=tf,Ho.AlignmentEnd=Ld,Ho.AlignmentBus=nf,Ho.AlignmentBusBranching=Ph,Ho.AlignmentTopLeftBus=sf,Ho.AlignmentBottomRightBus=Jp,Ho.CompactionNone=Wg,Ho.CompactionBlock=fg,Ho.StyleLayered=mg,Ho.StyleLastParents=z2,Ho.StyleAlternating=D2,Ho.StyleRootOnly=Bg,Ho.ArrangementVertical=H_,Ho.ArrangementHorizontal=z_,Ho.ArrangementFixedRoots=D_,Ho.LayerIndividual=_g,Ho.LayerSiblings=P2,Ho.LayerUniform=kg,y(Wm,jo),Wm.prototype.createVertex=function(){return new wd(this)},Wm.prototype.createEdge=function(){return new rf(this)},Wm.className="TreeNetwork",y(wd,S1),wd.prototype.copyInheritedPropertiesFrom=function(e){null!==e&&(this.Qc=e.sorting,this.Mc=e.comparer,this.zc=e.angle,this.wb=e.alignment,this.Wr=e.nodeIndent,this.Xr=e.nodeIndentPastParent,this.Zr=e.nodeSpacing,this.ke=e.layerSpacing,this.Ir=e.layerSpacingParentOverlap,this.Pq=e.compaction,this.Iq=e.breadthLimit,this.ls=e.rowSpacing,this.ks=e.rowIndent,this.Oq=e.commentSpacing,this.Nq=e.commentMargin,this.vs=e.setsPortSpot,this.gs=e.portSpot,this.us=e.setsChildPortSpot,this.Lq=e.childPortSpot)},I.Object.defineProperties(wd.prototype,{initialized:{get:function(){return this.La},set:function(e){this.La!==e&&(this.La=e)}},parent:{get:function(){return this.Kc},set:function(e){this.Kc!==e&&(this.Kc=e)}},children:{get:function(){return this.K},set:function(e){if(this.K!==e){if(null!==e)for(var t=e.length,i=0;i<t;i++);this.K=e}}},level:{get:function(){return this.Ma},set:function(e){this.Ma!==e&&(this.Ma=e)}},descendantCount:{get:function(){return this.ba},set:function(e){this.ba!==e&&(this.ba=e)}},maxChildrenCount:{get:function(){return this.Vb},set:function(e){this.Vb!==e&&(this.Vb=e)}},maxGenerationCount:{get:function(){return this.Wb},set:function(e){this.Wb!==e&&(this.Wb=e)}},comments:{get:function(){return this.Xc},set:function(e){if(this.Xc!==e){if(null!==e)for(var t=e.length,i=0;i<t;i++);this.Xc=e}}},sorting:{get:function(){return this.Qc},set:function(e){this.Qc!==e&&(this.Qc=e)}},comparer:{get:function(){return this.Mc},set:function(e){this.Mc!==e&&(this.Mc=e)}},angle:{get:function(){return this.zc},set:function(e){this.zc!==e&&(this.zc=e)}},alignment:{get:function(){return this.wb},set:function(e){this.wb!==e&&(this.wb=e)}},nodeIndent:{get:function(){return this.Wr},set:function(e){this.Wr!==e&&(this.Wr=e)}},nodeIndentPastParent:{get:function(){return this.Xr},set:function(e){this.Xr!==e&&(this.Xr=e)}},nodeSpacing:{get:function(){return this.Zr},set:function(e){this.Zr!==e&&(this.Zr=e)}},layerSpacing:{get:function(){return this.ke},set:function(e){this.ke!==e&&(this.ke=e)}},layerSpacingParentOverlap:{get:function(){return this.Ir},set:function(e){this.Ir!==e&&(this.Ir=e)}},compaction:{get:function(){return this.Pq},set:function(e){this.Pq!==e&&(this.Pq=e)}},breadthLimit:{get:function(){return this.Iq},set:function(e){this.Iq!==e&&(this.Iq=e)}},rowSpacing:{get:function(){return this.ls},set:function(e){this.ls!==e&&(this.ls=e)}},rowIndent:{get:function(){return this.ks},set:function(e){this.ks!==e&&(this.ks=e)}},commentSpacing:{get:function(){return this.Oq},set:function(e){this.Oq!==e&&(this.Oq=e)}},commentMargin:{get:function(){return this.Nq},set:function(e){this.Nq!==e&&(this.Nq=e)}},setsPortSpot:{get:function(){return this.vs},set:function(e){this.vs!==e&&(this.vs=e)}},portSpot:{get:function(){return this.gs},set:function(e){this.gs.A(e)||(this.gs=e)}},setsChildPortSpot:{get:function(){return this.us},set:function(e){this.us!==e&&(this.us=e)}},childPortSpot:{get:function(){return this.Lq},set:function(e){this.Lq.A(e)||(this.Lq=e)}},childrenCount:{get:function(){return this.children.length}},relativePosition:{get:function(){return this.T},set:function(e){this.T.set(e)}},subtreeSize:{get:function(){return this.ua},set:function(e){this.ua.set(e)}},subtreeOffset:{get:function(){return this.ia},set:function(e){this.ia.set(e)}}}),wd.className="TreeVertex",y(rf,uc),rf.prototype.commit=function(){var e=this.link;if(null!==e&&!e.isAvoiding){var t=this.network.layout,i=null,r=null;switch(t.Zc){case Nf:i=this.fromVertex,r=this.toVertex;break;case $_:i=this.toVertex,r=this.fromVertex;break;default:z("Unhandled path value "+t.Zc.toString())}if(null!==i&&null!==r)if(0!==(t=this.ou).x||0!==t.y||i.Qz){r=i.bounds;var c=pc(i),h=T_(i),v=i.rowSpacing;e.Yi();var Z,W=e.curve===lc,X=e.isOrthogonal;if(e.Bh(),X||W){for(Z=2;4<e.pointsCount;)e.zv(2);var ge=e.i(1),ye=e.i(2)}else{for(Z=1;3<e.pointsCount;)e.zv(1);ge=e.i(0),ye=e.i(e.pointsCount-1)}var We=e.i(e.pointsCount-1);0===c?(i.alignment===Ld?(c=r.bottom+t.y,0===t.y&&ge.y>We.y+i.rowIndent&&(c=Math.min(c,Math.max(ge.y,c-xm(i))))):i.alignment===tf?(c=r.top+t.y,0===t.y&&ge.y<We.y-i.rowIndent&&(c=Math.max(c,Math.min(ge.y,c+xm(i))))):c=i.tm||i.um&&1===i.maxGenerationCount?r.top-i.ia.y+t.y:r.y+r.height/2+t.y,W?(e.m(Z,ge.x,c),Z++,e.m(Z,r.right+h,c),Z++,e.m(Z,r.right+h+(t.x-v)/3,c),Z++,e.m(Z,r.right+h+2*(t.x-v)/3,c),Z++,e.m(Z,r.right+h+(t.x-v),c),Z++,e.m(Z,ye.x,c)):(X&&(e.m(Z,r.right+h/2,ge.y),Z++),e.m(Z,r.right+h/2,c),Z++,e.m(Z,r.right+h+t.x-(X?v/2:v),c),Z++,X&&e.m(Z,e.i(Z-1).x,ye.y))):90===c?(i.alignment===Ld?(c=r.right+t.x,0===t.x&&ge.x>We.x+i.rowIndent&&(c=Math.min(c,Math.max(ge.x,c-xm(i))))):i.alignment===tf?(c=r.left+t.x,0===t.x&&ge.x<We.x-i.rowIndent&&(c=Math.max(c,Math.min(ge.x,c+xm(i))))):c=i.tm||i.um&&1===i.maxGenerationCount?r.left-i.ia.x+t.x:r.x+r.width/2+t.x,W?(e.m(Z,c,ge.y),Z++,e.m(Z,c,r.bottom+h),Z++,e.m(Z,c,r.bottom+h+(t.y-v)/3),Z++,e.m(Z,c,r.bottom+h+2*(t.y-v)/3),Z++,e.m(Z,c,r.bottom+h+(t.y-v)),Z++,e.m(Z,c,ye.y)):(X&&(e.m(Z,ge.x,r.bottom+h/2),Z++),e.m(Z,c,r.bottom+h/2),Z++,e.m(Z,c,r.bottom+h+t.y-(X?v/2:v)),Z++,X&&e.m(Z,ye.x,e.i(Z-1).y))):180===c?(i.alignment===Ld?(c=r.bottom+t.y,0===t.y&&ge.y>We.y+i.rowIndent&&(c=Math.min(c,Math.max(ge.y,c-xm(i))))):i.alignment===tf?(c=r.top+t.y,0===t.y&&ge.y<We.y-i.rowIndent&&(c=Math.max(c,Math.min(ge.y,c+xm(i))))):c=i.tm||i.um&&1===i.maxGenerationCount?r.top-i.ia.y+t.y:r.y+r.height/2+t.y,W?(e.m(Z,ge.x,c),Z++,e.m(Z,r.left-h,c),Z++,e.m(Z,r.left-h+(t.x+v)/3,c),Z++,e.m(Z,r.left-h+2*(t.x+v)/3,c),Z++,e.m(Z,r.left-h+(t.x+v),c),Z++,e.m(Z,ye.x,c)):(X&&(e.m(Z,r.left-h/2,ge.y),Z++),e.m(Z,r.left-h/2,c),Z++,e.m(Z,r.left-h+t.x+(X?v/2:v),c),Z++,X&&e.m(Z,e.i(Z-1).x,ye.y))):270===c?(i.alignment===Ld?(c=r.right+t.x,0===t.x&&ge.x>We.x+i.rowIndent&&(c=Math.min(c,Math.max(ge.x,c-xm(i))))):i.alignment===tf?(c=r.left+t.x,0===t.x&&ge.x<We.x-i.rowIndent&&(c=Math.max(c,Math.min(ge.x,c+xm(i))))):c=i.tm||i.um&&1===i.maxGenerationCount?r.left-i.ia.x+t.x:r.x+r.width/2+t.x,W?(e.m(Z,c,ge.y),Z++,e.m(Z,c,r.top-h),Z++,e.m(Z,c,r.top-h+(t.y+v)/3),Z++,e.m(Z,c,r.top-h+2*(t.y+v)/3),Z++,e.m(Z,c,r.top-h+(t.y+v)),Z++,e.m(Z,c,ye.y)):(X&&(e.m(Z,ge.x,r.top-h/2),Z++),e.m(Z,c,r.top-h/2),Z++,e.m(Z,c,r.top-h+t.y+(X?v/2:v)),Z++,X&&e.m(Z,ye.x,e.i(Z-1).y))):z("Invalid angle "+c),e.kf()}else e=this.link,(h=pc(i))!==pc(r)&&(v=T_(i),W=i.bounds,i=r.bounds,0===h&&i.left-W.right<v+1||90===h&&i.top-W.bottom<v+1||180===h&&W.left-i.right<v+1||270===h&&W.top-i.bottom<v+1||(e.Yi(),i=e.curve===lc,t=e.isOrthogonal,r=Lf(this.fromVertex.alignment),e.Bh(),0===h?(h=W.right+v/2,i?4===e.pointsCount&&(i=e.i(3).y,e.M(1,h-20,e.i(1).y),e.m(2,h-20,i),e.m(3,h,i),e.m(4,h+20,i),e.M(5,e.i(5).x,i)):t?r?e.M(3,e.i(2).x,e.i(4).y):6===e.pointsCount&&(e.M(2,h,e.i(2).y),e.M(3,h,e.i(3).y)):4===e.pointsCount?e.m(2,h,e.i(2).y):3===e.pointsCount?e.M(1,h,e.i(2).y):2===e.pointsCount&&e.m(1,h,e.i(1).y)):90===h?(h=W.bottom+v/2,i?4===e.pointsCount&&(i=e.i(3).x,e.M(1,e.i(1).x,h-20),e.m(2,i,h-20),e.m(3,i,h),e.m(4,i,h+20),e.M(5,i,e.i(5).y)):t?r?e.M(3,e.i(2).x,e.i(4).y):6===e.pointsCount&&(e.M(2,e.i(2).x,h),e.M(3,e.i(3).x,h)):4===e.pointsCount?e.m(2,e.i(2).x,h):3===e.pointsCount?e.M(1,e.i(2).x,h):2===e.pointsCount&&e.m(1,e.i(1).x,h)):180===h?(h=W.left-v/2,i?4===e.pointsCount&&(i=e.i(3).y,e.M(1,h+20,e.i(1).y),e.m(2,h+20,i),e.m(3,h,i),e.m(4,h-20,i),e.M(5,e.i(5).x,i)):t?r?e.M(3,e.i(2).x,e.i(4).y):6===e.pointsCount&&(e.M(2,h,e.i(2).y),e.M(3,h,e.i(3).y)):4===e.pointsCount?e.m(2,h,e.i(2).y):3===e.pointsCount?e.M(1,h,e.i(2).y):2===e.pointsCount&&e.m(1,h,e.i(1).y)):270===h&&(h=W.top-v/2,i?4===e.pointsCount&&(i=e.i(3).x,e.M(1,e.i(1).x,h+20),e.m(2,i,h+20),e.m(3,i,h),e.m(4,i,h-20),e.M(5,i,e.i(5).y)):t?r?e.M(3,e.i(2).x,e.i(4).y):6===e.pointsCount&&(e.M(2,e.i(2).x,h),e.M(3,e.i(3).x,h)):4===e.pointsCount?e.m(2,e.i(2).x,h):3===e.pointsCount?e.M(1,e.i(2).x,h):2===e.pointsCount&&e.m(1,e.i(1).x,h)),e.kf()))}},I.Object.defineProperties(rf.prototype,{relativePoint:{get:function(){return this.ou},set:function(e){this.ou.set(e)}}}),rf.className="TreeEdge",mo.prototype.initializeStandardTools=function(){ea(this,"Action",new or,this.mouseDownTools),ea(this,"Relinking",new I0,this.mouseDownTools),ea(this,"LinkReshaping",new Yr,this.mouseDownTools),ea(this,"Rotating",new vs,this.mouseDownTools),ea(this,"Resizing",new ss,this.mouseDownTools),ea(this,"Linking",new ba,this.mouseMoveTools),ea(this,"Dragging",new Dr,this.mouseMoveTools),ea(this,"DragSelecting",new Y0,this.mouseMoveTools),ea(this,"Panning",new R0,this.mouseMoveTools),ea(this,"ContextMenu",new o0,this.mouseUpTools),ea(this,"TextEditing",new br,this.mouseUpTools),ea(this,"ClickCreating",new wr,this.mouseUpTools),ea(this,"ClickSelecting",new Us,this.mouseUpTools)},mu("Horizontal",new rh),mu("Spot",new mp),mu("Table",new Ku),mu("Viewbox",new rc),mu("TableRow",new Bp),mu("TableColumn",new Xd),mu("Graduated",new gp),Bo.add(Do.type,sl),Bo.add(dc.type,nd);var jg=o.go,gg={get licenseKey(){return ii.licenseKey},set licenseKey(e){ii.licenseKey=e},get version(){return ii.version},Group:Fe,EnumValue:Pe,List:gt,Set:Se,Map:Kt,Point:Ze,Size:Ue,Rect:sn,Margin:ei,Spot:Si,Geometry:so,PathFigure:Ta,PathSegment:Ao,InputEvent:Zr,DiagramEvent:Ur,ChangedEvent:Co,Model:Is,GraphLinksModel:Do,TreeModel:dc,Binding:V0,Transaction:Uo,UndoManager:sr,CommandHandler:zo,Tool:uo,DraggingTool:Dr,DraggingInfo:U1,LinkingBaseTool:So,LinkingTool:ba,RelinkingTool:I0,LinkReshapingTool:Yr,ResizingTool:ss,RotatingTool:vs,ClickSelectingTool:Us,ActionTool:or,ClickCreatingTool:wr,HTMLInfo:$a,ContextMenuTool:o0,DragSelectingTool:Y0,PanningTool:R0,TextEditingTool:br,ToolManager:mo,AnimationManager:si,Layer:ir,Diagram:ii,Palette:Zc,Overview:U0,Brush:cr,GraphObject:As,Panel:Vi,RowColumnDefinition:Z0,Shape:io,TextBlock:tt,TextBlockMetrics:iu,Picture:Wl,Part:Os,Adornment:Zo,Node:as,Link:Zt,Placeholder:xn,Layout:er,LayoutNetwork:jo,LayoutVertex:S1,LayoutEdge:uc,GridLayout:R1,PanelLayout:na,CircularLayout:wa,CircularNetwork:Zh,CircularVertex:r_,CircularEdge:cm,ForceDirectedLayout:gl,ForceDirectedNetwork:If,ForceDirectedVertex:Rm,ForceDirectedEdge:Lm,LayeredDigraphLayout:Qr,LayeredDigraphNetwork:ug,LayeredDigraphVertex:Nm,LayeredDigraphEdge:dg,TreeLayout:Ho,TreeNetwork:Wm,TreeVertex:wd,TreeEdge:rf};jg&&jg.version!==gg.version&&z("WARNING: a `go` object on the root object is already defined with a version mismatch."+jg.version+". Replaced with version: "+gg.version),o.go=gg,(typeof o>"u"||typeof o.module>"u"||"object"!=typeof o.module.exports)&&o.define&&"function"==typeof o.define&&o.define.amd&&o.define(gg),"object"==typeof at.exports&&(at.exports=typeof global<"u"?global.go:self.go)}()},86391:function(at,N,s){var n;at=s.nmd(at),function(){"object"==typeof global&&global;var O=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,D=/[\x01-\x7F]/g,E=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,y=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,I={"\xad":"shy","\u200c":"zwnj","\u200d":"zwj","\u200e":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200f":"rlm","\u200b":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20db":"tdot","\u20dc":"DotDot","\t":"Tab","\n":"NewLine","\u2008":"puncsp","\u205f":"MediumSpace","\u2009":"thinsp","\u200a":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xa0":"nbsp","\u205f\u200a":"ThickSpace","\u203e":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204f":"bsemi",":":"colon","\u2a74":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xb7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201a":"sbquo","\u2039":"lsaquo","\u203a":"rsaquo",'"':"quot","\u201c":"ldquo","\u201d":"rdquo","\u201e":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230a":"lfloor","\u230b":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298b":"lbrke","\u298c":"rbrke","\u298d":"lbrkslu","\u298e":"rbrksld","\u298f":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27e6":"lobrk","\u27e7":"robrk","\u27e8":"lang","\u27e9":"rang","\u27ea":"Lang","\u27eb":"Rang","\u27ec":"loang","\u27ed":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xb4":"acute","\u02dc":"tilde","^":"Hat","\xaf":"macr","\u02d8":"breve","\u02d9":"dot","\xa8":"die","\u02da":"ring","\u02dd":"dblac","\xb8":"cedil","\u02db":"ogon",\u02c6:"circ",\u02c7:"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","\u2117":"copysr",\u2118:"wp","\u211e":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219a":"nlarr","\u2192":"rarr","\u219b":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21ae":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219d":"rarrw","\u219d\u0338":"nrarrw","\u219e":"Larr","\u219f":"Uarr","\u21a0":"Rarr","\u21a1":"Darr","\u21a2":"larrtl","\u21a3":"rarrtl","\u21a4":"mapstoleft","\u21a5":"mapstoup","\u21a6":"map","\u21a7":"mapstodown","\u21a9":"larrhk","\u21aa":"rarrhk","\u21ab":"larrlp","\u21ac":"rarrlp","\u21ad":"harrw","\u21b0":"lsh","\u21b1":"rsh","\u21b2":"ldsh","\u21b3":"rdsh","\u21b5":"crarr","\u21b6":"cularr","\u21b7":"curarr","\u21ba":"olarr","\u21bb":"orarr","\u21bc":"lharu","\u21bd":"lhard","\u21be":"uharr","\u21bf":"uharl","\u21c0":"rharu","\u21c1":"rhard","\u21c2":"dharr","\u21c3":"dharl","\u21c4":"rlarr","\u21c5":"udarr","\u21c6":"lrarr","\u21c7":"llarr","\u21c8":"uuarr","\u21c9":"rrarr","\u21ca":"ddarr","\u21cb":"lrhar","\u21cc":"rlhar","\u21d0":"lArr","\u21cd":"nlArr","\u21d1":"uArr","\u21d2":"rArr","\u21cf":"nrArr","\u21d3":"dArr","\u21d4":"iff","\u21ce":"nhArr","\u21d5":"vArr","\u21d6":"nwArr","\u21d7":"neArr","\u21d8":"seArr","\u21d9":"swArr","\u21da":"lAarr","\u21db":"rAarr","\u21dd":"zigrarr","\u21e4":"larrb","\u21e5":"rarrb","\u21f5":"duarr","\u21fd":"loarr","\u21fe":"roarr","\u21ff":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220b":"ni","\u220c":"notni","\u03f6":"bepsi","\u220f":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","\u226e":"nlt","<\u20d2":"nvlt","=":"equals","\u2260":"ne","=\u20e5":"bne","\u2a75":"Equal",">":"gt","\u226f":"ngt",">\u20d2":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221a":"Sqrt","\u221d":"prop","\u221e":"infin","\u221f":"angrt","\u2220":"ang","\u2220\u20d2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\ufe00":"caps","\u222a":"cup","\u222a\ufe00":"cups","\u222b":"int","\u222c":"Int","\u222d":"tint","\u2a0c":"qint","\u222e":"oint","\u222f":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223a":"mDDot","\u223b":"homtht","\u223c":"sim","\u2241":"nsim","\u223c\u20d2":"nvsim","\u223d":"bsim","\u223d\u0331":"race","\u223e":"ac","\u223e\u0333":"acE","\u223f":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224a":"ape","\u224b":"apid","\u224b\u0338":"napid","\u224c":"bcong","\u224d":"CupCap","\u226d":"NotCupCap","\u224d\u20d2":"nvap","\u224e":"bump","\u224e\u0338":"nbump","\u224f":"bumpe","\u224f\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225a":"veeeq","\u225c":"trie","\u225f":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20e5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20d2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20d2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\ufe00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\ufe00":"gvnE","\u226a":"ll","\u226a\u0338":"nLtv","\u226a\u20d2":"nLt","\u226b":"gg","\u226b\u0338":"nGtv","\u226b\u20d2":"nGt","\u226c":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227a":"pr","\u2280":"npr","\u227b":"sc","\u2281":"nsc","\u227c":"prcue","\u22e0":"nprcue","\u227d":"sccue","\u22e1":"nsccue","\u227e":"prsim","\u227f":"scsim","\u227f\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20d2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20d2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228a\ufe00":"vsubne","\u228a":"subne","\u228b\ufe00":"vsupne","\u228b":"supne","\u228d":"cupdot","\u228e":"uplus","\u228f":"sqsub","\u228f\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22e2":"nsqsube","\u2292":"sqsupe","\u22e3":"nsqsupe","\u2293":"sqcap","\u2293\ufe00":"sqcaps","\u2294":"sqcup","\u2294\ufe00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229a":"ocir","\u229b":"oast","\u229d":"odash","\u229e":"plusb","\u229f":"minusb","\u22a0":"timesb","\u22a1":"sdotb","\u22a2":"vdash","\u22ac":"nvdash","\u22a3":"dashv","\u22a4":"top","\u22a5":"bot","\u22a7":"models","\u22a8":"vDash","\u22ad":"nvDash","\u22a9":"Vdash","\u22ae":"nVdash","\u22aa":"Vvdash","\u22ab":"VDash","\u22af":"nVDash","\u22b0":"prurel","\u22b2":"vltri","\u22ea":"nltri","\u22b3":"vrtri","\u22eb":"nrtri","\u22b4":"ltrie","\u22ec":"nltrie","\u22b4\u20d2":"nvltrie","\u22b5":"rtrie","\u22ed":"nrtrie","\u22b5\u20d2":"nvrtrie","\u22b6":"origof","\u22b7":"imof","\u22b8":"mumap","\u22b9":"hercon","\u22ba":"intcal","\u22bb":"veebar","\u22bd":"barvee","\u22be":"angrtvb","\u22bf":"lrtri","\u22c0":"Wedge","\u22c1":"Vee","\u22c2":"xcap","\u22c3":"xcup","\u22c4":"diam","\u22c5":"sdot","\u22c6":"Star","\u22c7":"divonx","\u22c8":"bowtie","\u22c9":"ltimes","\u22ca":"rtimes","\u22cb":"lthree","\u22cc":"rthree","\u22cd":"bsime","\u22ce":"cuvee","\u22cf":"cuwed","\u22d0":"Sub","\u22d1":"Sup","\u22d2":"Cap","\u22d3":"Cup","\u22d4":"fork","\u22d5":"epar","\u22d6":"ltdot","\u22d7":"gtdot","\u22d8":"Ll","\u22d8\u0338":"nLl","\u22d9":"Gg","\u22d9\u0338":"nGg","\u22da\ufe00":"lesg","\u22da":"leg","\u22db":"gel","\u22db\ufe00":"gesl","\u22de":"cuepr","\u22df":"cuesc","\u22e6":"lnsim","\u22e7":"gnsim","\u22e8":"prnsim","\u22e9":"scnsim","\u22ee":"vellip","\u22ef":"ctdot","\u22f0":"utdot","\u22f1":"dtdot","\u22f2":"disin","\u22f3":"isinsv","\u22f4":"isins","\u22f5":"isindot","\u22f5\u0338":"notindot","\u22f6":"notinvc","\u22f7":"notinvb","\u22f9":"isinE","\u22f9\u0338":"notinE","\u22fa":"nisd","\u22fb":"xnis","\u22fc":"nis","\u22fd":"notnivc","\u22fe":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230c":"drcrop","\u230d":"dlcrop","\u230e":"urcrop","\u230f":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231c":"ulcorn","\u231d":"urcorn","\u231e":"dlcorn","\u231f":"drcorn","\u2322":"frown","\u2323":"smile","\u232d":"cylcty","\u232e":"profalar","\u2336":"topbot","\u233d":"ovbar","\u233f":"solbar","\u237c":"angzarr","\u23b0":"lmoust","\u23b1":"rmoust","\u23b4":"tbrk","\u23b5":"bbrk","\u23b6":"bbrktbrk","\u23dc":"OverParenthesis","\u23dd":"UnderParenthesis","\u23de":"OverBrace","\u23df":"UnderBrace","\u23e2":"trpezium","\u23e7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250c":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251c":"boxvr","\u2524":"boxvl","\u252c":"boxhd","\u2534":"boxhu","\u253c":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255a":"boxUR","\u255b":"boxuL","\u255c":"boxUl","\u255d":"boxUL","\u255e":"boxvR","\u255f":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256a":"boxvH","\u256b":"boxVh","\u256c":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25a1":"squ","\u25aa":"squf","\u25ab":"EmptyVerySmallSquare","\u25ad":"rect","\u25ae":"marker","\u25b1":"fltns","\u25b3":"xutri","\u25b4":"utrif","\u25b5":"utri","\u25b8":"rtrif","\u25b9":"rtri","\u25bd":"xdtri","\u25be":"dtrif","\u25bf":"dtri","\u25c2":"ltrif","\u25c3":"ltri","\u25ca":"loz","\u25cb":"cir","\u25ec":"tridot","\u25ef":"xcirc","\u25f8":"ultri","\u25f9":"urtri","\u25fa":"lltri","\u25fb":"EmptySmallSquare","\u25fc":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260e":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266a":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27c8":"bsolhsub","\u27c9":"suphsol","\u27f5":"xlarr","\u27f6":"xrarr","\u27f7":"xharr","\u27f8":"xlArr","\u27f9":"xrArr","\u27fa":"xhArr","\u27fc":"xmap","\u27ff":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290c":"lbarr","\u290d":"rbarr","\u290e":"lBarr","\u290f":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291a":"ratail","\u291b":"lAtail","\u291c":"rAtail","\u291d":"larrfs","\u291e":"rarrfs","\u291f":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292a":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293c":"curarrm","\u293d":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294a":"lurdshar","\u294b":"ldrushar","\u294e":"LeftRightVector","\u294f":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295a":"LeftTeeVector","\u295b":"RightTeeVector","\u295c":"RightUpTeeVector","\u295d":"RightDownTeeVector","\u295e":"DownLeftTeeVector","\u295f":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296a":"lharul","\u296b":"llhard","\u296c":"rharul","\u296d":"lrhard","\u296e":"udhar","\u296f":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297b":"suplarr","\u297c":"lfisht","\u297d":"rfisht","\u297e":"ufisht","\u297f":"dfisht","\u299a":"vzigzag","\u299c":"vangrt","\u299d":"angrtvbd","\u29a4":"ange","\u29a5":"range","\u29a6":"dwangle","\u29a7":"uwangle","\u29a8":"angmsdaa","\u29a9":"angmsdab","\u29aa":"angmsdac","\u29ab":"angmsdad","\u29ac":"angmsdae","\u29ad":"angmsdaf","\u29ae":"angmsdag","\u29af":"angmsdah","\u29b0":"bemptyv","\u29b1":"demptyv","\u29b2":"cemptyv","\u29b3":"raemptyv","\u29b4":"laemptyv","\u29b5":"ohbar","\u29b6":"omid","\u29b7":"opar","\u29b9":"operp","\u29bb":"olcross","\u29bc":"odsold","\u29be":"olcir","\u29bf":"ofcir","\u29c0":"olt","\u29c1":"ogt","\u29c2":"cirscir","\u29c3":"cirE","\u29c4":"solb","\u29c5":"bsolb","\u29c9":"boxbox","\u29cd":"trisb","\u29ce":"rtriltri","\u29cf":"LeftTriangleBar","\u29cf\u0338":"NotLeftTriangleBar","\u29d0":"RightTriangleBar","\u29d0\u0338":"NotRightTriangleBar","\u29dc":"iinfin","\u29dd":"infintie","\u29de":"nvinfin","\u29e3":"eparsl","\u29e4":"smeparsl","\u29e5":"eqvparsl","\u29eb":"lozf","\u29f4":"RuleDelayed","\u29f6":"dsol","\u2a00":"xodot","\u2a01":"xoplus","\u2a02":"xotime","\u2a04":"xuplus","\u2a06":"xsqcup","\u2a0d":"fpartint","\u2a10":"cirfnint","\u2a11":"awint","\u2a12":"rppolint","\u2a13":"scpolint","\u2a14":"npolint","\u2a15":"pointint","\u2a16":"quatint","\u2a17":"intlarhk","\u2a22":"pluscir","\u2a23":"plusacir","\u2a24":"simplus","\u2a25":"plusdu","\u2a26":"plussim","\u2a27":"plustwo","\u2a29":"mcomma","\u2a2a":"minusdu","\u2a2d":"loplus","\u2a2e":"roplus","\u2a2f":"Cross","\u2a30":"timesd","\u2a31":"timesbar","\u2a33":"smashp","\u2a34":"lotimes","\u2a35":"rotimes","\u2a36":"otimesas","\u2a37":"Otimes","\u2a38":"odiv","\u2a39":"triplus","\u2a3a":"triminus","\u2a3b":"tritime","\u2a3c":"iprod","\u2a3f":"amalg","\u2a40":"capdot","\u2a42":"ncup","\u2a43":"ncap","\u2a44":"capand","\u2a45":"cupor","\u2a46":"cupcap","\u2a47":"capcup","\u2a48":"cupbrcap","\u2a49":"capbrcup","\u2a4a":"cupcup","\u2a4b":"capcap","\u2a4c":"ccups","\u2a4d":"ccaps","\u2a50":"ccupssm","\u2a53":"And","\u2a54":"Or","\u2a55":"andand","\u2a56":"oror","\u2a57":"orslope","\u2a58":"andslope","\u2a5a":"andv","\u2a5b":"orv","\u2a5c":"andd","\u2a5d":"ord","\u2a5f":"wedbar","\u2a66":"sdote","\u2a6a":"simdot","\u2a6d":"congdot","\u2a6d\u0338":"ncongdot","\u2a6e":"easter","\u2a6f":"apacir","\u2a70":"apE","\u2a70\u0338":"napE","\u2a71":"eplus","\u2a72":"pluse","\u2a73":"Esim","\u2a77":"eDDot","\u2a78":"equivDD","\u2a79":"ltcir","\u2a7a":"gtcir","\u2a7b":"ltquest","\u2a7c":"gtquest","\u2a7d":"les","\u2a7d\u0338":"nles","\u2a7e":"ges","\u2a7e\u0338":"nges","\u2a7f":"lesdot","\u2a80":"gesdot","\u2a81":"lesdoto","\u2a82":"gesdoto","\u2a83":"lesdotor","\u2a84":"gesdotol","\u2a85":"lap","\u2a86":"gap","\u2a87":"lne","\u2a88":"gne","\u2a89":"lnap","\u2a8a":"gnap","\u2a8b":"lEg","\u2a8c":"gEl","\u2a8d":"lsime","\u2a8e":"gsime","\u2a8f":"lsimg","\u2a90":"gsiml","\u2a91":"lgE","\u2a92":"glE","\u2a93":"lesges","\u2a94":"gesles","\u2a95":"els","\u2a96":"egs","\u2a97":"elsdot","\u2a98":"egsdot","\u2a99":"el","\u2a9a":"eg","\u2a9d":"siml","\u2a9e":"simg","\u2a9f":"simlE","\u2aa0":"simgE","\u2aa1":"LessLess","\u2aa1\u0338":"NotNestedLessLess","\u2aa2":"GreaterGreater","\u2aa2\u0338":"NotNestedGreaterGreater","\u2aa4":"glj","\u2aa5":"gla","\u2aa6":"ltcc","\u2aa7":"gtcc","\u2aa8":"lescc","\u2aa9":"gescc","\u2aaa":"smt","\u2aab":"lat","\u2aac":"smte","\u2aac\ufe00":"smtes","\u2aad":"late","\u2aad\ufe00":"lates","\u2aae":"bumpE","\u2aaf":"pre","\u2aaf\u0338":"npre","\u2ab0":"sce","\u2ab0\u0338":"nsce","\u2ab3":"prE","\u2ab4":"scE","\u2ab5":"prnE","\u2ab6":"scnE","\u2ab7":"prap","\u2ab8":"scap","\u2ab9":"prnap","\u2aba":"scnap","\u2abb":"Pr","\u2abc":"Sc","\u2abd":"subdot","\u2abe":"supdot","\u2abf":"subplus","\u2ac0":"supplus","\u2ac1":"submult","\u2ac2":"supmult","\u2ac3":"subedot","\u2ac4":"supedot","\u2ac5":"subE","\u2ac5\u0338":"nsubE","\u2ac6":"supE","\u2ac6\u0338":"nsupE","\u2ac7":"subsim","\u2ac8":"supsim","\u2acb\ufe00":"vsubnE","\u2acb":"subnE","\u2acc\ufe00":"vsupnE","\u2acc":"supnE","\u2acf":"csub","\u2ad0":"csup","\u2ad1":"csube","\u2ad2":"csupe","\u2ad3":"subsup","\u2ad4":"supsub","\u2ad5":"subsub","\u2ad6":"supsup","\u2ad7":"suphsub","\u2ad8":"supdsub","\u2ad9":"forkv","\u2ada":"topfork","\u2adb":"mlcp","\u2ae4":"Dashv","\u2ae6":"Vdashl","\u2ae7":"Barv","\u2ae8":"vBar","\u2ae9":"vBarv","\u2aeb":"Vbar","\u2aec":"Not","\u2aed":"bNot","\u2aee":"rnmid","\u2aef":"cirmid","\u2af0":"midcir","\u2af1":"topcir","\u2af2":"nhpar","\u2af3":"parsim","\u2afd":"parsl","\u2afd\u20e5":"nparsl","\u266d":"flat","\u266e":"natur","\u266f":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","\u20ac":"euro","\xb9":"sup1","\xbd":"half","\u2153":"frac13","\xbc":"frac14","\u2155":"frac15","\u2159":"frac16","\u215b":"frac18","\xb2":"sup2","\u2154":"frac23","\u2156":"frac25","\xb3":"sup3","\xbe":"frac34","\u2157":"frac35","\u215c":"frac38","\u2158":"frac45","\u215a":"frac56","\u215d":"frac58","\u215e":"frac78",\u{1d4b6}:"ascr",\u{1d552}:"aopf",\u{1d51e}:"afr",\u{1d538}:"Aopf",\u{1d504}:"Afr",\u{1d49c}:"Ascr",\u00aa:"ordf",\u00e1:"aacute",\u00c1:"Aacute",\u00e0:"agrave",\u00c0:"Agrave",\u0103:"abreve",\u0102:"Abreve",\u00e2:"acirc",\u00c2:"Acirc",\u00e5:"aring",\u00c5:"angst",\u00e4:"auml",\u00c4:"Auml",\u00e3:"atilde",\u00c3:"Atilde",\u0105:"aogon",\u0104:"Aogon",\u0101:"amacr",\u0100:"Amacr",\u00e6:"aelig",\u00c6:"AElig",\u{1d4b7}:"bscr",\u{1d553}:"bopf",\u{1d51f}:"bfr",\u{1d539}:"Bopf",\u212c:"Bscr",\u{1d505}:"Bfr",\u{1d520}:"cfr",\u{1d4b8}:"cscr",\u{1d554}:"copf",\u212d:"Cfr",\u{1d49e}:"Cscr",\u2102:"Copf",\u0107:"cacute",\u0106:"Cacute",\u0109:"ccirc",\u0108:"Ccirc",\u010d:"ccaron",\u010c:"Ccaron",\u010b:"cdot",\u010a:"Cdot",\u00e7:"ccedil",\u00c7:"Ccedil","\u2105":"incare",\u{1d521}:"dfr",\u2146:"dd",\u{1d555}:"dopf",\u{1d4b9}:"dscr",\u{1d49f}:"Dscr",\u{1d507}:"Dfr",\u2145:"DD",\u{1d53b}:"Dopf",\u010f:"dcaron",\u010e:"Dcaron",\u0111:"dstrok",\u0110:"Dstrok",\u00f0:"eth",\u00d0:"ETH",\u2147:"ee",\u212f:"escr",\u{1d522}:"efr",\u{1d556}:"eopf",\u2130:"Escr",\u{1d508}:"Efr",\u{1d53c}:"Eopf",\u00e9:"eacute",\u00c9:"Eacute",\u00e8:"egrave",\u00c8:"Egrave",\u00ea:"ecirc",\u00ca:"Ecirc",\u011b:"ecaron",\u011a:"Ecaron",\u00eb:"euml",\u00cb:"Euml",\u0117:"edot",\u0116:"Edot",\u0119:"eogon",\u0118:"Eogon",\u0113:"emacr",\u0112:"Emacr",\u{1d523}:"ffr",\u{1d557}:"fopf",\u{1d4bb}:"fscr",\u{1d509}:"Ffr",\u{1d53d}:"Fopf",\u2131:"Fscr",\ufb00:"fflig",\ufb03:"ffilig",\ufb04:"ffllig",\ufb01:"filig",fj:"fjlig",\ufb02:"fllig",\u0192:"fnof",\u210a:"gscr",\u{1d558}:"gopf",\u{1d524}:"gfr",\u{1d4a2}:"Gscr",\u{1d53e}:"Gopf",\u{1d50a}:"Gfr",\u01f5:"gacute",\u011f:"gbreve",\u011e:"Gbreve",\u011d:"gcirc",\u011c:"Gcirc",\u0121:"gdot",\u0120:"Gdot",\u0122:"Gcedil",\u{1d525}:"hfr",\u210e:"planckh",\u{1d4bd}:"hscr",\u{1d559}:"hopf",\u210b:"Hscr",\u210c:"Hfr",\u210d:"Hopf",\u0125:"hcirc",\u0124:"Hcirc",\u210f:"hbar",\u0127:"hstrok",\u0126:"Hstrok",\u{1d55a}:"iopf",\u{1d526}:"ifr",\u{1d4be}:"iscr",\u2148:"ii",\u{1d540}:"Iopf",\u2110:"Iscr",\u2111:"Im",\u00ed:"iacute",\u00cd:"Iacute",\u00ec:"igrave",\u00cc:"Igrave",\u00ee:"icirc",\u00ce:"Icirc",\u00ef:"iuml",\u00cf:"Iuml",\u0129:"itilde",\u0128:"Itilde",\u0130:"Idot",\u012f:"iogon",\u012e:"Iogon",\u012b:"imacr",\u012a:"Imacr",\u0133:"ijlig",\u0132:"IJlig",\u0131:"imath",\u{1d4bf}:"jscr",\u{1d55b}:"jopf",\u{1d527}:"jfr",\u{1d4a5}:"Jscr",\u{1d50d}:"Jfr",\u{1d541}:"Jopf",\u0135:"jcirc",\u0134:"Jcirc",\u0237:"jmath",\u{1d55c}:"kopf",\u{1d4c0}:"kscr",\u{1d528}:"kfr",\u{1d4a6}:"Kscr",\u{1d542}:"Kopf",\u{1d50e}:"Kfr",\u0137:"kcedil",\u0136:"Kcedil",\u{1d529}:"lfr",\u{1d4c1}:"lscr",\u2113:"ell",\u{1d55d}:"lopf",\u2112:"Lscr",\u{1d50f}:"Lfr",\u{1d543}:"Lopf",\u013a:"lacute",\u0139:"Lacute",\u013e:"lcaron",\u013d:"Lcaron",\u013c:"lcedil",\u013b:"Lcedil",\u0142:"lstrok",\u0141:"Lstrok",\u0140:"lmidot",\u013f:"Lmidot",\u{1d52a}:"mfr",\u{1d55e}:"mopf",\u{1d4c2}:"mscr",\u{1d510}:"Mfr",\u{1d544}:"Mopf",\u2133:"Mscr",\u{1d52b}:"nfr",\u{1d55f}:"nopf",\u{1d4c3}:"nscr",\u2115:"Nopf",\u{1d4a9}:"Nscr",\u{1d511}:"Nfr",\u0144:"nacute",\u0143:"Nacute",\u0148:"ncaron",\u0147:"Ncaron",\u00f1:"ntilde",\u00d1:"Ntilde",\u0146:"ncedil",\u0145:"Ncedil","\u2116":"numero",\u014b:"eng",\u014a:"ENG",\u{1d560}:"oopf",\u{1d52c}:"ofr",\u2134:"oscr",\u{1d4aa}:"Oscr",\u{1d512}:"Ofr",\u{1d546}:"Oopf",\u00ba:"ordm",\u00f3:"oacute",\u00d3:"Oacute",\u00f2:"ograve",\u00d2:"Ograve",\u00f4:"ocirc",\u00d4:"Ocirc",\u00f6:"ouml",\u00d6:"Ouml",\u0151:"odblac",\u0150:"Odblac",\u00f5:"otilde",\u00d5:"Otilde",\u00f8:"oslash",\u00d8:"Oslash",\u014d:"omacr",\u014c:"Omacr",\u0153:"oelig",\u0152:"OElig",\u{1d52d}:"pfr",\u{1d4c5}:"pscr",\u{1d561}:"popf",\u2119:"Popf",\u{1d513}:"Pfr",\u{1d4ab}:"Pscr",\u{1d562}:"qopf",\u{1d52e}:"qfr",\u{1d4c6}:"qscr",\u{1d4ac}:"Qscr",\u{1d514}:"Qfr",\u211a:"Qopf",\u0138:"kgreen",\u{1d52f}:"rfr",\u{1d563}:"ropf",\u{1d4c7}:"rscr",\u211b:"Rscr",\u211c:"Re",\u211d:"Ropf",\u0155:"racute",\u0154:"Racute",\u0159:"rcaron",\u0158:"Rcaron",\u0157:"rcedil",\u0156:"Rcedil",\u{1d564}:"sopf",\u{1d4c8}:"sscr",\u{1d530}:"sfr",\u{1d54a}:"Sopf",\u{1d516}:"Sfr",\u{1d4ae}:"Sscr","\u24c8":"oS",\u015b:"sacute",\u015a:"Sacute",\u015d:"scirc",\u015c:"Scirc",\u0161:"scaron",\u0160:"Scaron",\u015f:"scedil",\u015e:"Scedil",\u00df:"szlig",\u{1d531}:"tfr",\u{1d4c9}:"tscr",\u{1d565}:"topf",\u{1d4af}:"Tscr",\u{1d517}:"Tfr",\u{1d54b}:"Topf",\u0165:"tcaron",\u0164:"Tcaron",\u0163:"tcedil",\u0162:"Tcedil","\u2122":"trade",\u0167:"tstrok",\u0166:"Tstrok",\u{1d4ca}:"uscr",\u{1d566}:"uopf",\u{1d532}:"ufr",\u{1d54c}:"Uopf",\u{1d518}:"Ufr",\u{1d4b0}:"Uscr",\u00fa:"uacute",\u00da:"Uacute",\u00f9:"ugrave",\u00d9:"Ugrave",\u016d:"ubreve",\u016c:"Ubreve",\u00fb:"ucirc",\u00db:"Ucirc",\u016f:"uring",\u016e:"Uring",\u00fc:"uuml",\u00dc:"Uuml",\u0171:"udblac",\u0170:"Udblac",\u0169:"utilde",\u0168:"Utilde",\u0173:"uogon",\u0172:"Uogon",\u016b:"umacr",\u016a:"Umacr",\u{1d533}:"vfr",\u{1d567}:"vopf",\u{1d4cb}:"vscr",\u{1d519}:"Vfr",\u{1d54d}:"Vopf",\u{1d4b1}:"Vscr",\u{1d568}:"wopf",\u{1d4cc}:"wscr",\u{1d534}:"wfr",\u{1d4b2}:"Wscr",\u{1d54e}:"Wopf",\u{1d51a}:"Wfr",\u0175:"wcirc",\u0174:"Wcirc",\u{1d535}:"xfr",\u{1d4cd}:"xscr",\u{1d569}:"xopf",\u{1d54f}:"Xopf",\u{1d51b}:"Xfr",\u{1d4b3}:"Xscr",\u{1d536}:"yfr",\u{1d4ce}:"yscr",\u{1d56a}:"yopf",\u{1d4b4}:"Yscr",\u{1d51c}:"Yfr",\u{1d550}:"Yopf",\u00fd:"yacute",\u00dd:"Yacute",\u0177:"ycirc",\u0176:"Ycirc",\u00ff:"yuml",\u0178:"Yuml",\u{1d4cf}:"zscr",\u{1d537}:"zfr",\u{1d56b}:"zopf",\u2128:"Zfr",\u2124:"Zopf",\u{1d4b5}:"Zscr",\u017a:"zacute",\u0179:"Zacute",\u017e:"zcaron",\u017d:"Zcaron",\u017c:"zdot",\u017b:"Zdot",\u01b5:"imped",\u00fe:"thorn",\u00de:"THORN",\u0149:"napos",\u03b1:"alpha",\u0391:"Alpha",\u03b2:"beta",\u0392:"Beta",\u03b3:"gamma",\u0393:"Gamma",\u03b4:"delta",\u0394:"Delta",\u03b5:"epsi",\u03f5:"epsiv",\u0395:"Epsilon",\u03dd:"gammad",\u03dc:"Gammad",\u03b6:"zeta",\u0396:"Zeta",\u03b7:"eta",\u0397:"Eta",\u03b8:"theta",\u03d1:"thetav",\u0398:"Theta",\u03b9:"iota",\u0399:"Iota",\u03ba:"kappa",\u03f0:"kappav",\u039a:"Kappa",\u03bb:"lambda",\u039b:"Lambda",\u03bc:"mu",\u00b5:"micro",\u039c:"Mu",\u03bd:"nu",\u039d:"Nu",\u03be:"xi",\u039e:"Xi",\u03bf:"omicron",\u039f:"Omicron",\u03c0:"pi",\u03d6:"piv",\u03a0:"Pi",\u03c1:"rho",\u03f1:"rhov",\u03a1:"Rho",\u03c3:"sigma",\u03a3:"Sigma",\u03c2:"sigmaf",\u03c4:"tau",\u03a4:"Tau",\u03c5:"upsi",\u03a5:"Upsilon",\u03d2:"Upsi",\u03c6:"phi",\u03d5:"phiv",\u03a6:"Phi",\u03c7:"chi",\u03a7:"Chi",\u03c8:"psi",\u03a8:"Psi",\u03c9:"omega",\u03a9:"ohm",\u0430:"acy",\u0410:"Acy",\u0431:"bcy",\u0411:"Bcy",\u0432:"vcy",\u0412:"Vcy",\u0433:"gcy",\u0413:"Gcy",\u0453:"gjcy",\u0403:"GJcy",\u0434:"dcy",\u0414:"Dcy",\u0452:"djcy",\u0402:"DJcy",\u0435:"iecy",\u0415:"IEcy",\u0451:"iocy",\u0401:"IOcy",\u0454:"jukcy",\u0404:"Jukcy",\u0436:"zhcy",\u0416:"ZHcy",\u0437:"zcy",\u0417:"Zcy",\u0455:"dscy",\u0405:"DScy",\u0438:"icy",\u0418:"Icy",\u0456:"iukcy",\u0406:"Iukcy",\u0457:"yicy",\u0407:"YIcy",\u0439:"jcy",\u0419:"Jcy",\u0458:"jsercy",\u0408:"Jsercy",\u043a:"kcy",\u041a:"Kcy",\u045c:"kjcy",\u040c:"KJcy",\u043b:"lcy",\u041b:"Lcy",\u0459:"ljcy",\u0409:"LJcy",\u043c:"mcy",\u041c:"Mcy",\u043d:"ncy",\u041d:"Ncy",\u045a:"njcy",\u040a:"NJcy",\u043e:"ocy",\u041e:"Ocy",\u043f:"pcy",\u041f:"Pcy",\u0440:"rcy",\u0420:"Rcy",\u0441:"scy",\u0421:"Scy",\u0442:"tcy",\u0422:"Tcy",\u045b:"tshcy",\u040b:"TSHcy",\u0443:"ucy",\u0423:"Ucy",\u045e:"ubrcy",\u040e:"Ubrcy",\u0444:"fcy",\u0424:"Fcy",\u0445:"khcy",\u0425:"KHcy",\u0446:"tscy",\u0426:"TScy",\u0447:"chcy",\u0427:"CHcy",\u045f:"dzcy",\u040f:"DZcy",\u0448:"shcy",\u0428:"SHcy",\u0449:"shchcy",\u0429:"SHCHcy",\u044a:"hardcy",\u042a:"HARDcy",\u044b:"ycy",\u042b:"Ycy",\u044c:"softcy",\u042c:"SOFTcy",\u044d:"ecy",\u042d:"Ecy",\u044e:"yucy",\u042e:"YUcy",\u044f:"yacy",\u042f:"YAcy",\u2135:"aleph",\u2136:"beth",\u2137:"gimel",\u2138:"daleth"},b=/["&'<>`]/g,L={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},o=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,C=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,w=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,M={aacute:"\xe1",Aacute:"\xc1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"\u0430",Acy:"\u0410",aelig:"\xe6",AElig:"\xc6",af:"\u2061",afr:"\u{1d51e}",Afr:"\u{1d504}",agrave:"\xe0",Agrave:"\xc0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2a3f",amp:"&",AMP:"&",and:"\u2227",And:"\u2a53",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",Aogon:"\u0104",aopf:"\u{1d552}",Aopf:"\u{1d538}",ap:"\u2248",apacir:"\u2a6f",ape:"\u224a",apE:"\u2a70",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",aring:"\xe5",Aring:"\xc5",ascr:"\u{1d4b6}",Ascr:"\u{1d49c}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",beta:"\u03b2",Beta:"\u0392",beth:"\u2136",between:"\u226c",bfr:"\u{1d51f}",Bfr:"\u{1d505}",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bNot:"\u2aed",bopf:"\u{1d553}",Bopf:"\u{1d539}",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\u{1d4b7}",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpe:"\u224f",bumpE:"\u2aae",bumpeq:"\u224f",Bumpeq:"\u224e",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22d2",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",ccaron:"\u010d",Ccaron:"\u010c",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",Cdot:"\u010a",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\u{1d520}",Cfr:"\u212d",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",Chi:"\u03a7",cir:"\u25cb",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29c3",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2a74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\u{1d554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",cscr:"\u{1d4b8}",Cscr:"\u{1d49e}",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",Cup:"\u22d3",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21d3",Darr:"\u21a1",dash:"\u2010",dashv:"\u22a3",Dashv:"\u2ae4",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",Dcaron:"\u010e",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",delta:"\u03b4",Delta:"\u0394",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\u{1d521}",Dfr:"\u{1d507}",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\u{1d555}",Dopf:"\u{1d53b}",dot:"\u02d9",Dot:"\xa8",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21d3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\u{1d4b9}",Dscr:"\u{1d49f}",dscy:"\u0455",DScy:"\u0405",dsol:"\u29f6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",DZcy:"\u040f",dzigrarr:"\u27ff",eacute:"\xe9",Eacute:"\xc9",easter:"\u2a6e",ecaron:"\u011b",Ecaron:"\u011a",ecir:"\u2256",ecirc:"\xea",Ecirc:"\xca",ecolon:"\u2255",ecy:"\u044d",Ecy:"\u042d",eDDot:"\u2a77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\u{1d522}",Efr:"\u{1d508}",eg:"\u2a9a",egrave:"\xe8",Egrave:"\xc8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014b",ENG:"\u014a",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\u{1d556}",Eopf:"\u{1d53c}",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",Epsilon:"\u0395",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2a73",eta:"\u03b7",Eta:"\u0397",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\u{1d523}",Ffr:"\u{1d509}",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\u{1d557}",Fopf:"\u{1d53d}",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\u{1d4bb}",Fscr:"\u2131",gacute:"\u01f5",gamma:"\u03b3",Gamma:"\u0393",gammad:"\u03dd",Gammad:"\u03dc",gap:"\u2a86",gbreve:"\u011f",Gbreve:"\u011e",Gcedil:"\u0122",gcirc:"\u011d",Gcirc:"\u011c",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22db",gEl:"\u2a8c",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\u{1d524}",Gfr:"\u{1d50a}",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\u{1d558}",Gopf:"\u{1d53e}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",gscr:"\u210a",Gscr:"\u{1d4a2}",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gt:">",Gt:"\u226b",GT:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",HARDcy:"\u042a",harr:"\u2194",hArr:"\u21d4",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\u{1d525}",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\u{1d559}",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1d4bd}",Hscr:"\u210b",hslash:"\u210f",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",iacute:"\xed",Iacute:"\xcd",ic:"\u2063",icirc:"\xee",Icirc:"\xce",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xa1",iff:"\u21d4",ifr:"\u{1d526}",Ifr:"\u2111",igrave:"\xec",Igrave:"\xcc",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012b",Imacr:"\u012a",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",Int:"\u222c",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012f",Iogon:"\u012e",iopf:"\u{1d55a}",Iopf:"\u{1d540}",iota:"\u03b9",Iota:"\u0399",iprod:"\u2a3c",iquest:"\xbf",iscr:"\u{1d4be}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xef",Iuml:"\xcf",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\u{1d527}",Jfr:"\u{1d50d}",jmath:"\u0237",jopf:"\u{1d55b}",Jopf:"\u{1d541}",jscr:"\u{1d4bf}",Jscr:"\u{1d4a5}",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03ba",Kappa:"\u039a",kappav:"\u03f0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043a",Kcy:"\u041a",kfr:"\u{1d528}",Kfr:"\u{1d50e}",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045c",KJcy:"\u040c",kopf:"\u{1d55c}",Kopf:"\u{1d542}",kscr:"\u{1d4c0}",Kscr:"\u{1d4a6}",lAarr:"\u21da",lacute:"\u013a",Lacute:"\u0139",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",Lambda:"\u039b",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",Larr:"\u219e",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",lAtail:"\u291b",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",Lcaron:"\u013d",lcedil:"\u013c",Lcedil:"\u013b",lceil:"\u2308",lcub:"{",lcy:"\u043b",Lcy:"\u041b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",leftarrow:"\u2190",Leftarrow:"\u21d0",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",Leftrightarrow:"\u21d4",LeftRightArrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",leg:"\u22da",lEg:"\u2a8b",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\u{1d529}",Lfr:"\u{1d50f}",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226a",Ll:"\u22d8",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",Lmidot:"\u013f",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",Longleftarrow:"\u27f8",LongLeftArrow:"\u27f5",longleftrightarrow:"\u27f7",Longleftrightarrow:"\u27fa",LongLeftRightArrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",Longrightarrow:"\u27f9",LongRightArrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\u{1d55d}",Lopf:"\u{1d543}",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\u{1d4c1}",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226a",LT:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",Map:"\u2905",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",Mcy:"\u041c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",mfr:"\u{1d52a}",Mfr:"\u{1d510}",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\u{1d55e}",Mopf:"\u{1d544}",mp:"\u2213",mscr:"\u{1d4c2}",Mscr:"\u2133",mstpos:"\u223e",mu:"\u03bc",Mu:"\u039c",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",Ncy:"\u041d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1d52b}",Nfr:"\u{1d511}",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",ngt:"\u226f",nGt:"\u226b\u20d2",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",NJcy:"\u040a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nlt:"\u226e",nLt:"\u226a\u20d2",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\u{1d55f}",Nopf:"\u2115",not:"\xac",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\u{1d4c3}",Nscr:"\u{1d4a9}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2ac5\u0338",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2ac6\u0338",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",Nu:"\u039d",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xf3",Oacute:"\xd3",oast:"\u229b",ocir:"\u229a",ocirc:"\xf4",Ocirc:"\xd4",ocy:"\u043e",Ocy:"\u041e",odash:"\u229d",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29bf",ofr:"\u{1d52c}",Ofr:"\u{1d512}",ogon:"\u02db",ograve:"\xf2",Ograve:"\xd2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",Omacr:"\u014c",omega:"\u03c9",Omega:"\u03a9",omicron:"\u03bf",Omicron:"\u039f",omid:"\u29b6",ominus:"\u2296",oopf:"\u{1d560}",Oopf:"\u{1d546}",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",or:"\u2228",Or:"\u2a54",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",oscr:"\u2134",Oscr:"\u{1d4aa}",oslash:"\xf8",Oslash:"\xd8",osol:"\u2298",otilde:"\xf5",Otilde:"\xd5",otimes:"\u2297",Otimes:"\u2a37",otimesas:"\u2a36",ouml:"\xf6",Ouml:"\xd6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",pcy:"\u043f",Pcy:"\u041f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\u{1d52d}",Pfr:"\u{1d513}",phi:"\u03c6",Phi:"\u03a6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",Pi:"\u03a0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\u{1d561}",Popf:"\u2119",pound:"\xa3",pr:"\u227a",Pr:"\u2abb",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prE:"\u2ab3",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\u{1d4c5}",Pscr:"\u{1d4ab}",psi:"\u03c8",Psi:"\u03a8",puncsp:"\u2008",qfr:"\u{1d52e}",Qfr:"\u{1d514}",qint:"\u2a0c",qopf:"\u{1d562}",Qopf:"\u211a",qprime:"\u2057",qscr:"\u{1d4c6}",Qscr:"\u{1d4ac}",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",Rarr:"\u21a0",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",Rarrtl:"\u2916",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\u{1d52f}",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",Rho:"\u03a1",rhov:"\u03f1",RightAngleBracket:"\u27e9",rightarrow:"\u2192",Rightarrow:"\u21d2",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\u{1d563}",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\u{1d4c7}",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",Sacute:"\u015a",sbquo:"\u201a",sc:"\u227b",Sc:"\u2abc",scap:"\u2ab8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",scedil:"\u015f",Scedil:"\u015e",scirc:"\u015d",Scirc:"\u015c",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",Scy:"\u0421",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1d530}",Sfr:"\u{1d516}",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",sigma:"\u03c3",Sigma:"\u03a3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",SOFTcy:"\u042c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\u{1d564}",Sopf:"\u{1d54a}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\u{1d4c8}",Sscr:"\u{1d4ae}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",Star:"\u22c6",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",sube:"\u2286",subE:"\u2ac5",subedot:"\u2ac3",submult:"\u2ac1",subne:"\u228a",subnE:"\u2acb",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup:"\u2283",Sup:"\u22d1",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supE:"\u2ac6",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supne:"\u228b",supnE:"\u2acc",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",tau:"\u03c4",Tau:"\u03a4",tbrk:"\u23b4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20db",telrec:"\u2315",tfr:"\u{1d531}",Tfr:"\u{1d517}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03b8",Theta:"\u0398",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",thorn:"\xfe",THORN:"\xde",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\u{1d565}",Topf:"\u{1d54b}",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\u{1d4c9}",Tscr:"\u{1d4af}",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045b",TSHcy:"\u040b",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uacute:"\xfa",Uacute:"\xda",uarr:"\u2191",uArr:"\u21d1",Uarr:"\u219f",Uarrocir:"\u2949",ubrcy:"\u045e",Ubrcy:"\u040e",ubreve:"\u016d",Ubreve:"\u016c",ucirc:"\xfb",Ucirc:"\xdb",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21c5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296e",ufisht:"\u297e",ufr:"\u{1d532}",Ufr:"\u{1d518}",ugrave:"\xf9",Ugrave:"\xd9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",Umacr:"\u016a",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",uogon:"\u0173",Uogon:"\u0172",uopf:"\u{1d566}",Uopf:"\u{1d54c}",uparrow:"\u2191",Uparrow:"\u21d1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",Updownarrow:"\u21d5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",upsilon:"\u03c5",Upsilon:"\u03a5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",Uring:"\u016e",urtri:"\u25f9",uscr:"\u{1d4ca}",Uscr:"\u{1d4b0}",utdot:"\u22f0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uuml:"\xfc",Uuml:"\xdc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",vee:"\u2228",Vee:"\u22c1",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",vfr:"\u{1d533}",Vfr:"\u{1d519}",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\u{1d567}",Vopf:"\u{1d54d}",vprop:"\u221d",vrtri:"\u22b3",vscr:"\u{1d4cb}",Vscr:"\u{1d4b1}",vsubne:"\u228a\ufe00",vsubnE:"\u2acb\ufe00",vsupne:"\u228b\ufe00",vsupnE:"\u2acc\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1d534}",Wfr:"\u{1d51a}",wopf:"\u{1d568}",Wopf:"\u{1d54e}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1d4cc}",Wscr:"\u{1d4b2}",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\u{1d535}",Xfr:"\u{1d51b}",xharr:"\u27f7",xhArr:"\u27fa",xi:"\u03be",Xi:"\u039e",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\u{1d569}",Xopf:"\u{1d54f}",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",xscr:"\u{1d4cd}",Xscr:"\u{1d4b3}",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacute:"\xfd",Yacute:"\xdd",yacy:"\u044f",YAcy:"\u042f",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044b",Ycy:"\u042b",yen:"\xa5",yfr:"\u{1d536}",Yfr:"\u{1d51c}",yicy:"\u0457",YIcy:"\u0407",yopf:"\u{1d56a}",Yopf:"\u{1d550}",yscr:"\u{1d4ce}",Yscr:"\u{1d4b4}",yucy:"\u044e",YUcy:"\u042e",yuml:"\xff",Yuml:"\u0178",zacute:"\u017a",Zacute:"\u0179",zcaron:"\u017e",Zcaron:"\u017d",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017c",Zdot:"\u017b",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",zeta:"\u03b6",Zeta:"\u0396",zfr:"\u{1d537}",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21dd",zopf:"\u{1d56b}",Zopf:"\u2124",zscr:"\u{1d4cf}",Zscr:"\u{1d4b5}",zwj:"\u200d",zwnj:"\u200c"},q={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},z={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},F=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],U=String.fromCharCode,Y={}.hasOwnProperty,x=function(K,de){return Y.call(K,de)},j=function(K,de){if(!K)return de;var me,Me={};for(me in de)Me[me]=x(K,me)?K[me]:de[me];return Me},$=function(K,de){var Me="";return K>=55296&&K<=57343||K>1114111?(de&&ne("character reference outside the permissible Unicode range"),"\ufffd"):x(z,K)?(de&&ne("disallowed character reference"),z[K]):(de&&function(K,de){for(var Me=-1,me=K.length;++Me<me;)if(K[Me]==de)return!0;return!1}(F,K)&&ne("disallowed character reference"),K>65535&&(Me+=U((K-=65536)>>>10&1023|55296),K=56320|1023&K),Me+=U(K))},H=function(K){return"&#x"+K.toString(16).toUpperCase()+";"},ie=function(K){return"&#"+K+";"},ne=function(K){throw Error("Parse error: "+K)},Q=function(K,de){(de=j(de,Q.options)).strict&&C.test(K)&&ne("forbidden code point");var be=de.useNamedReferences,Le=de.allowUnsafeSymbols,Ae=de.decimal?ie:H,Oe=function(Xe){return Ae(Xe.charCodeAt(0))};return de.encodeEverything?(K=K.replace(D,function(Xe){return be&&x(I,Xe)?"&"+I[Xe]+";":Oe(Xe)}),be&&(K=K.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),be&&(K=K.replace(y,function(Xe){return"&"+I[Xe]+";"}))):be?(Le||(K=K.replace(b,function(Xe){return"&"+I[Xe]+";"})),K=(K=K.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(y,function(Xe){return"&"+I[Xe]+";"})):Le||(K=K.replace(b,Oe)),K.replace(O,function(Xe){var Pe=Xe.charCodeAt(0),$e=Xe.charCodeAt(1);return Ae(1024*(Pe-55296)+$e-56320+65536)}).replace(E,Oe)};Q.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var le=function(K,de){var Me=(de=j(de,le.options)).strict;return Me&&o.test(K)&&ne("malformed character reference"),K.replace(w,function(me,be,Le,Ae,Oe,Xe,Pe,$e,ze){var Be,Ye,Ct,Lt,Vt,ht;return be?M[Vt=be]:Le?(Vt=Le,(ht=Ae)&&de.isAttributeValue?(Me&&"="==ht&&ne("`&` did not start a character reference"),me):(Me&&ne("named character reference was not terminated by a semicolon"),q[Vt]+(ht||""))):Oe?(Ct=Oe,Ye=Xe,Me&&!Ye&&ne("character reference was not terminated by a semicolon"),Be=parseInt(Ct,10),$(Be,Me)):Pe?(Lt=Pe,Ye=$e,Me&&!Ye&&ne("character reference was not terminated by a semicolon"),Be=parseInt(Lt,16),$(Be,Me)):(Me&&ne("named character reference was not terminated by a semicolon"),me)})};le.options={isAttributeValue:!1,strict:!1};var te={version:"1.2.0",encode:Q,decode:le,escape:function(K){return K.replace(b,function(de){return L[de]})},unescape:le};void 0!==(n=function(){return te}.call(N,s,N,at))&&(at.exports=n)}()},92880:at=>{window,at.exports=function(N){var s={};function n(a){if(s[a])return s[a].exports;var g=s[a]={i:a,l:!1,exports:{}};return N[a].call(g.exports,g,g.exports,n),g.l=!0,g.exports}return n.m=N,n.c=s,n.d=function(a,g,m){n.o(a,g)||Object.defineProperty(a,g,{enumerable:!0,get:m})},n.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},n.t=function(a,g){if(1&g&&(a=n(a)),8&g||4&g&&"object"==typeof a&&a&&a.__esModule)return a;var m=Object.create(null);if(n.r(m),Object.defineProperty(m,"default",{enumerable:!0,value:a}),2&g&&"string"!=typeof a)for(var T in a)n.d(m,T,function(O){return a[O]}.bind(null,T));return m},n.n=function(a){var g=a&&a.__esModule?function(){return a.default}:function(){return a};return n.d(g,"a",g),g},n.o=function(a,g){return Object.prototype.hasOwnProperty.call(a,g)},n.p="",n(n.s=1)}([function(N,s,n){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a,O,g={idleTimeoutTime:1e4,localStorageKey:"inactivity_logout_local_storage",resetEvents:["click","mousemove","keypress"],windowResetEvents:["load"],throttleDuration:0};(O=a=s.InactivityCountdownTimerStatus||(s.InactivityCountdownTimerStatus={})).started="started",O.stopped="stopped";var m=function(){function O(D,E){this.params=D,this.deps=E,this.resetEvents=[],this.windowResetEvents=[],this.countingDown=!1,this.status=a.stopped,this.logger=E&&E.logger||console,this.window=E&&E.window||window,this.document=E&&E.document||document,this.localStorage=this.detectAndAssignLocalStorage(E&&E.localStorage),D&&this.setup(D)}return Object.defineProperty(O.prototype,"started",{get:function(){return this.status===a.started},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"stopped",{get:function(){return this.status===a.stopped},enumerable:!0,configurable:!0}),O.prototype.setup=function(D){var E=this;return this.cleanup(),Object.assign(this,g,D),this.ensureReasonableTimings(D),this.attacheEventListeners(),{start:function(){return E.start()}}},O.prototype.handleEvent=function(D){var E=(new Date).getTime();this.setLastResetTimeStamp(E),this.throttle()},O.prototype.start=function(){this.setLastResetTimeStamp((new Date).getTime()),this.startPrivate(this.internalTimeoutTime),this.status=a.started},O.prototype.stop=function(){this.window.clearInterval(this.idleIntervalId),this.status=a.stopped},O.prototype.cleanup=function(){this.detachEventListeners(),this.window.removeEventListener("storage",function(){}),this.window.clearTimeout(this.throttleTimeoutId),this.stop()},O.prototype.ensureReasonableTimings=function(D){if(D&&void 0!==D.idleTimeoutTime&&!T(D.idleTimeoutTime)&&(this.logger.log("idleTimeoutTime passed was not a number, setting to 30 minutes"),this.idleTimeoutTime=18e5),D&&T(D.startCountDownTimerAt)?D.startCountDownTimerAt<this.idleTimeoutTime?(this.startCountDownTimerAt=D.startCountDownTimerAt,this.internalTimeoutTime=this.idleTimeoutTime-this.startCountDownTimerAt):(this.logger.log("startCountdown time must be smaller than idleTimeoutTime, setting to idleTimeoutTime"),this.startCountDownTimerAt=this.idleTimeoutTime,this.internalTimeoutTime=1e3):(this.startCountDownTimerAt=0,this.internalTimeoutTime=this.idleTimeoutTime),D&&T(D.throttleDuration)){var E=Math.floor(this.internalTimeoutTime/5);D.throttleDuration>E&&(this.logger.log("throttle time must be smaller than 1/5th timeout time: "+this.internalTimeoutTime+" setting to "+E+"ms"),this.throttleDuration=E)}},O.prototype.throttle=function(){var D=this;this.throttleDuration>0&&(this.detachEventListeners(),this.throttleTimeoutId=this.window.setTimeout(function(){D.attacheEventListeners()},this.throttleDuration))},O.prototype.attacheEventListeners=function(){for(var D=0;D<this.resetEvents.length;D++)this.document.addEventListener(this.resetEvents[D],this,!1);for(D=0;D<this.windowResetEvents.length;D++)this.window.addEventListener(this.windowResetEvents[D],this,!1)},O.prototype.detachEventListeners=function(){for(var D=0;D<this.resetEvents.length;D++)this.document.removeEventListener(this.resetEvents[D],this,!1);for(D=0;D<this.windowResetEvents.length;D++)this.window.removeEventListener(this.windowResetEvents[D],this,!1)},O.prototype.startPrivate=function(D){var E=this;this.currentTimerPrecision=D,this.idleIntervalId=this.window.setInterval(function(){E.checkIdleTime()},D)},O.prototype.resetTimer=function(D){this.stop(),this.startPrivate(D)},O.prototype.timeout=function(){this.cleanup(),this.timeoutCallback&&this.timeoutCallback()},O.prototype.checkIdleTime=function(){var D=(new Date).getTime()-this.getLastResetTimeStamp(),E=this.idleTimeoutTime-D;this.checkTimerPrecision(E),this.handleCountDown(E),D>=this.idleTimeoutTime&&this.timeout()},O.prototype.handleCountDown=function(D){var E=D<=this.startCountDownTimerAt;E&&this.countDownCallback?(this.countingDown=!0,this.countDownCallback(Math.abs(Math.ceil(D/1e3)))):!E&&this.countingDown&&(this.countDownCancelledCallback&&this.countDownCancelledCallback(),this.countingDown=!1)},O.prototype.checkTimerPrecision=function(D){D<=this.startCountDownTimerAt?1e3!==this.currentTimerPrecision&&this.resetTimer(1e3):this.resetTimer(D-this.startCountDownTimerAt)},O.prototype.getLastResetTimeStamp=function(){if(this.localStorage){var D=this.localStorage.getItem(this.localStorageKey),E=parseInt(D,10);if(E)return E}return this.lastResetTimeStamp},O.prototype.setLastResetTimeStamp=function(D){this.localStorage&&this.localStorage.setItem(this.localStorageKey,D.toString()),this.lastResetTimeStamp=D},O.prototype.detectAndAssignLocalStorage=function(D){if(function(b){return null===b||!!b}(D))return D;this.window.addEventListener("storage",function(){});var E,y=(new Date).getTime().toString()+"detectAndAssignLocalStorage",I=localStorage;try{return I.setItem(y,y),E=I.getItem(y)===y,I.removeItem(y),E&&I}catch(b){return this.logger.log("LOCAL STORAGE IS NOT AVAILABLE FOR SYNCING TIMEOUT ACROSS TABS",b),null}},O}();function T(O){return"number"==typeof O&&!isNaN(O)}s.InactivityCountdownTimer=m,s.isNumberNotNan=T},function(N,s,n){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=n(0);s.InactivityCountdownTimer=a.InactivityCountdownTimer;var g=n(0);s.InactivityCountdownTimerStatus=g.InactivityCountdownTimerStatus}])},14646:at=>{var N=function(s){"use strict";var m,n=Object.prototype,a=n.hasOwnProperty,g=Object.defineProperty||function(te,ae,K){te[ae]=K.value},T="function"==typeof Symbol?Symbol:{},O=T.iterator||"@@iterator",D=T.asyncIterator||"@@asyncIterator",E=T.toStringTag||"@@toStringTag";function y(te,ae,K){return Object.defineProperty(te,ae,{value:K,enumerable:!0,configurable:!0,writable:!0}),te[ae]}try{y({},"")}catch{y=function(ae,K,de){return ae[K]=de}}function I(te,ae,K,de){var me=Object.create((ae&&ae.prototype instanceof q?ae:q).prototype),be=new Q(de||[]);return g(me,"_invoke",{value:$(te,K,be)}),me}function b(te,ae,K){try{return{type:"normal",arg:te.call(ae,K)}}catch(de){return{type:"throw",arg:de}}}s.wrap=I;var L="suspendedStart",o="suspendedYield",C="executing",w="completed",M={};function q(){}function z(){}function F(){}var U={};y(U,O,function(){return this});var k=Object.getPrototypeOf,Y=k&&k(k(le([])));Y&&Y!==n&&a.call(Y,O)&&(U=Y);var x=F.prototype=q.prototype=Object.create(U);function B(te){["next","throw","return"].forEach(function(ae){y(te,ae,function(K){return this._invoke(ae,K)})})}function j(te,ae){function K(me,be,Le,Ae){var Oe=b(te[me],te,be);if("throw"!==Oe.type){var Xe=Oe.arg,Pe=Xe.value;return Pe&&"object"==typeof Pe&&a.call(Pe,"__await")?ae.resolve(Pe.__await).then(function($e){K("next",$e,Le,Ae)},function($e){K("throw",$e,Le,Ae)}):ae.resolve(Pe).then(function($e){Xe.value=$e,Le(Xe)},function($e){return K("throw",$e,Le,Ae)})}Ae(Oe.arg)}var de;g(this,"_invoke",{value:function Me(me,be){function Le(){return new ae(function(Ae,Oe){K(me,be,Ae,Oe)})}return de=de?de.then(Le,Le):Le()}})}function $(te,ae,K){var de=L;return function(me,be){if(de===C)throw new Error("Generator is already running");if(de===w){if("throw"===me)throw be;return function pe(){return{value:m,done:!0}}()}for(K.method=me,K.arg=be;;){var Le=K.delegate;if(Le){var Ae=H(Le,K);if(Ae){if(Ae===M)continue;return Ae}}if("next"===K.method)K.sent=K._sent=K.arg;else if("throw"===K.method){if(de===L)throw de=w,K.arg;K.dispatchException(K.arg)}else"return"===K.method&&K.abrupt("return",K.arg);de=C;var Oe=b(te,ae,K);if("normal"===Oe.type){if(de=K.done?w:o,Oe.arg===M)continue;return{value:Oe.arg,done:K.done}}"throw"===Oe.type&&(de=w,K.method="throw",K.arg=Oe.arg)}}}function H(te,ae){var K=ae.method,de=te.iterator[K];if(de===m)return ae.delegate=null,"throw"===K&&te.iterator.return&&(ae.method="return",ae.arg=m,H(te,ae),"throw"===ae.method)||"return"!==K&&(ae.method="throw",ae.arg=new TypeError("The iterator does not provide a '"+K+"' method")),M;var Me=b(de,te.iterator,ae.arg);if("throw"===Me.type)return ae.method="throw",ae.arg=Me.arg,ae.delegate=null,M;var me=Me.arg;return me?me.done?(ae[te.resultName]=me.value,ae.next=te.nextLoc,"return"!==ae.method&&(ae.method="next",ae.arg=m),ae.delegate=null,M):me:(ae.method="throw",ae.arg=new TypeError("iterator result is not an object"),ae.delegate=null,M)}function ie(te){var ae={tryLoc:te[0]};1 in te&&(ae.catchLoc=te[1]),2 in te&&(ae.finallyLoc=te[2],ae.afterLoc=te[3]),this.tryEntries.push(ae)}function ne(te){var ae=te.completion||{};ae.type="normal",delete ae.arg,te.completion=ae}function Q(te){this.tryEntries=[{tryLoc:"root"}],te.forEach(ie,this),this.reset(!0)}function le(te){if(null!=te){var ae=te[O];if(ae)return ae.call(te);if("function"==typeof te.next)return te;if(!isNaN(te.length)){var K=-1,de=function Me(){for(;++K<te.length;)if(a.call(te,K))return Me.value=te[K],Me.done=!1,Me;return Me.value=m,Me.done=!0,Me};return de.next=de}}throw new TypeError(typeof te+" is not iterable")}return z.prototype=F,g(x,"constructor",{value:F,configurable:!0}),g(F,"constructor",{value:z,configurable:!0}),z.displayName=y(F,E,"GeneratorFunction"),s.isGeneratorFunction=function(te){var ae="function"==typeof te&&te.constructor;return!!ae&&(ae===z||"GeneratorFunction"===(ae.displayName||ae.name))},s.mark=function(te){return Object.setPrototypeOf?Object.setPrototypeOf(te,F):(te.__proto__=F,y(te,E,"GeneratorFunction")),te.prototype=Object.create(x),te},s.awrap=function(te){return{__await:te}},B(j.prototype),y(j.prototype,D,function(){return this}),s.AsyncIterator=j,s.async=function(te,ae,K,de,Me){void 0===Me&&(Me=Promise);var me=new j(I(te,ae,K,de),Me);return s.isGeneratorFunction(ae)?me:me.next().then(function(be){return be.done?be.value:me.next()})},B(x),y(x,E,"Generator"),y(x,O,function(){return this}),y(x,"toString",function(){return"[object Generator]"}),s.keys=function(te){var ae=Object(te),K=[];for(var de in ae)K.push(de);return K.reverse(),function Me(){for(;K.length;){var me=K.pop();if(me in ae)return Me.value=me,Me.done=!1,Me}return Me.done=!0,Me}},s.values=le,Q.prototype={constructor:Q,reset:function(te){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(ne),!te)for(var ae in this)"t"===ae.charAt(0)&&a.call(this,ae)&&!isNaN(+ae.slice(1))&&(this[ae]=m)},stop:function(){this.done=!0;var ae=this.tryEntries[0].completion;if("throw"===ae.type)throw ae.arg;return this.rval},dispatchException:function(te){if(this.done)throw te;var ae=this;function K(Ae,Oe){return me.type="throw",me.arg=te,ae.next=Ae,Oe&&(ae.method="next",ae.arg=m),!!Oe}for(var de=this.tryEntries.length-1;de>=0;--de){var Me=this.tryEntries[de],me=Me.completion;if("root"===Me.tryLoc)return K("end");if(Me.tryLoc<=this.prev){var be=a.call(Me,"catchLoc"),Le=a.call(Me,"finallyLoc");if(be&&Le){if(this.prev<Me.catchLoc)return K(Me.catchLoc,!0);if(this.prev<Me.finallyLoc)return K(Me.finallyLoc)}else if(be){if(this.prev<Me.catchLoc)return K(Me.catchLoc,!0)}else{if(!Le)throw new Error("try statement without catch or finally");if(this.prev<Me.finallyLoc)return K(Me.finallyLoc)}}}},abrupt:function(te,ae){for(var K=this.tryEntries.length-1;K>=0;--K){var de=this.tryEntries[K];if(de.tryLoc<=this.prev&&a.call(de,"finallyLoc")&&this.prev<de.finallyLoc){var Me=de;break}}Me&&("break"===te||"continue"===te)&&Me.tryLoc<=ae&&ae<=Me.finallyLoc&&(Me=null);var me=Me?Me.completion:{};return me.type=te,me.arg=ae,Me?(this.method="next",this.next=Me.finallyLoc,M):this.complete(me)},complete:function(te,ae){if("throw"===te.type)throw te.arg;return"break"===te.type||"continue"===te.type?this.next=te.arg:"return"===te.type?(this.rval=this.arg=te.arg,this.method="return",this.next="end"):"normal"===te.type&&ae&&(this.next=ae),M},finish:function(te){for(var ae=this.tryEntries.length-1;ae>=0;--ae){var K=this.tryEntries[ae];if(K.finallyLoc===te)return this.complete(K.completion,K.afterLoc),ne(K),M}},catch:function(te){for(var ae=this.tryEntries.length-1;ae>=0;--ae){var K=this.tryEntries[ae];if(K.tryLoc===te){var de=K.completion;if("throw"===de.type){var Me=de.arg;ne(K)}return Me}}throw new Error("illegal catch attempt")},delegateYield:function(te,ae,K){return this.delegate={iterator:le(te),resultName:ae,nextLoc:K},"next"===this.method&&(this.arg=m),M}},s}(at.exports);try{regeneratorRuntime=N}catch{"object"==typeof globalThis?globalThis.regeneratorRuntime=N:Function("r","regeneratorRuntime = r")(N)}Number.isInteger=Number.isInteger||function(s){return"number"==typeof s&&isFinite(s)&&Math.floor(s)===s},String.fromCodePoint||function(s){var n=function(a){for(var g=[],T="",O=0,D=arguments.length;O!==D;++O){var E=+arguments[O];if(!(E<1114111&&E>>>0===E))throw RangeError("Invalid code point: "+E);(E<=65535?g.push(E):g.push(55296+((E-=65536)>>10),E%1024+56320))>=16383&&(T+=s.apply(null,g),g.length=0)}return T+s.apply(null,g)};try{Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0})}catch{String.fromCodePoint=n}}(String.fromCharCode),Object.is||(Object.is=function(s,n){return s===n?0!==s||1/s==1/n:s!=s&&n!=n}),String.prototype.codePointAt||function(){"use strict";var s=function(){try{var a={},g=Object.defineProperty,m=g(a,a,a)&&g}catch{}return m}(),n=function(a){if(null==this)throw TypeError();var g=String(this),m=g.length,T=a?Number(a):0;if(T!=T&&(T=0),!(T<0||T>=m)){var D,O=g.charCodeAt(T);return O>=55296&&O<=56319&&m>T+1&&(D=g.charCodeAt(T+1))>=56320&&D<=57343?1024*(O-55296)+D-56320+65536:O}};s?s(String.prototype,"codePointAt",{value:n,configurable:!0,writable:!0}):String.prototype.codePointAt=n}(),Math.log10=Math.log10||function(s){return Math.log(s)*Math.LOG10E},at.exports=function(){return function g(m,T,O){function D(I,b){if(!T[I]){if(!m[I]){if(E)return E(I,!0);var o=new Error("Cannot find module '"+I+"'");throw o.code="MODULE_NOT_FOUND",o}var C=T[I]={exports:{}};m[I][0].call(C.exports,function(w){return D(m[I][1][w]||w)},C,C.exports,g,m,T,O)}return T[I].exports}for(var E=void 0,y=0;y<O.length;y++)D(O[y]);return D}}()({1:[function(g,m,T){"use strict";var O=g("./utils"),D=function(){var E=O.stringToArray,y=["Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten","Eleven","Twelve","Thirteen","Fourteen","Fifteen","Sixteen","Seventeen","Eighteen","Nineteen"],I=["Zeroth","First","Second","Third","Fourth","Fifth","Sixth","Seventh","Eighth","Ninth","Tenth","Eleventh","Twelfth","Thirteenth","Fourteenth","Fifteenth","Sixteenth","Seventeenth","Eighteenth","Nineteenth"],b=["Twenty","Thirty","Forty","Fifty","Sixty","Seventy","Eighty","Ninety","Hundred"],L=["Thousand","Million","Billion","Trillion"];var C={};y.forEach(function($e,ze){C[$e.toLowerCase()]=ze}),I.forEach(function($e,ze){C[$e.toLowerCase()]=ze}),b.forEach(function($e,ze){var Be=$e.toLowerCase();C[Be]=10*(ze+2),C[Be.substring(0,$e.length-1)+"ieth"]=C[Be]}),C.hundredth=100,L.forEach(function($e,ze){var Be=$e.toLowerCase(),Ye=Math.pow(10,3*(ze+1));C[Be]=Ye,C[Be+"th"]=Ye});var M=[[1e3,"m"],[900,"cm"],[500,"d"],[400,"cd"],[100,"c"],[90,"xc"],[50,"l"],[40,"xl"],[10,"x"],[9,"ix"],[5,"v"],[4,"iv"],[1,"i"]],q={M:1e3,D:500,C:100,L:50,X:10,V:5,I:1};function z($e){for(var ze=0;ze<M.length;ze++){var Be=M[ze];if($e>=Be[0])return Be[1]+z($e-Be[0])}return""}function Y($e,ze){if(!(typeof $e>"u"))return j($e=Math.floor($e),H(ze))}var x={DECIMAL:"decimal",LETTERS:"letters",ROMAN:"roman",WORDS:"words",SEQUENCE:"sequence"},B={UPPER:"upper",LOWER:"lower",TITLE:"title"};function j($e,ze){var Be,Ye=$e<0;switch($e=Math.abs($e),ze.primary){case x.LETTERS:Be=function U($e,ze){for(var Be=[],Ye=ze.charCodeAt(0);$e>0;)Be.unshift(String.fromCharCode(($e-1)%26+Ye)),$e=Math.floor(($e-1)/26);return Be.join("")}($e,ze.case===B.UPPER?"A":"a");break;case x.ROMAN:Be=z($e),ze.case===B.UPPER&&(Be=Be.toUpperCase());break;case x.WORDS:Be=function o($e,ze){return function Ct(Lt,Vt,ht){var gt="";if(Lt<=19)gt=(Vt?" and ":"")+(ht?I[Lt]:y[Lt]);else if(Lt<100){var Ge=Math.floor(Lt/10),Se=Lt%10;gt=(Vt?" and ":"")+b[Ge-2],Se>0?gt+="-"+Ct(Se,!1,ht):ht&&(gt=gt.substring(0,gt.length-1)+"ieth")}else if(Lt<1e3){var ke=Math.floor(Lt/100),Ne=Lt%100;gt=(Vt?", ":"")+y[ke]+" Hundred",Ne>0?gt+=Ct(Ne,!0,ht):ht&&(gt+="th")}else{var Je=Math.floor(Math.log10(Lt)/3);Je>L.length&&(Je=L.length);var Qe=Math.pow(10,3*Je),rt=Math.floor(Lt/Qe),ft=Lt-rt*Qe;gt=(Vt?", ":"")+Ct(rt,!1,!1)+" "+L[Je-1],ft>0?gt+=Ct(ft,!0,ht):ht&&(gt+="th")}return gt}($e,!1,ze)}($e,ze.ordinal),ze.case===B.UPPER?Be=Be.toUpperCase():ze.case===B.LOWER&&(Be=Be.toLowerCase());break;case x.DECIMAL:var Ct=ze.mandatoryDigits-(Be=""+$e).length;if(Ct>0){var Lt=new Array(Ct+1).join("0");Be=Lt+Be}if(48!==ze.zeroCode&&(Be=E(Be).map(function(Ne){return String.fromCodePoint(Ne.codePointAt(0)+ze.zeroCode-48)}).join("")),ze.regular)for(var ht=Math.floor((Be.length-1)/ze.groupingSeparators.position);ht>0;ht--){var gt=Be.length-ht*ze.groupingSeparators.position;Be=Be.substr(0,gt)+ze.groupingSeparators.character+Be.substr(gt)}else ze.groupingSeparators.reverse().forEach(function(Ne){var Je=Be.length-Ne.position;Be=Be.substr(0,Je)+Ne.character+Be.substr(Je)});if(ze.ordinal){var ke={1:"st",2:"nd",3:"rd"}[Be[Be.length-1]];(!ke||Be.length>1&&"1"===Be[Be.length-2])&&(ke="th"),Be+=ke}break;case x.SEQUENCE:throw{code:"D3130",value:ze.token}}return Ye&&(Be="-"+Be),Be}var $=[48,1632,1776,1984,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,42528,43216,43264,43472,43504,43600,44016,65296];function H($e){var Be,ze={type:"integer",primary:x.DECIMAL,case:B.LOWER,ordinal:!1},Ct=$e.lastIndexOf(";");switch(-1===Ct?Be=$e:(Be=$e.substring(0,Ct),"o"===$e.substring(Ct+1)[0]&&(ze.ordinal=!0)),Be){case"A":ze.case=B.UPPER;case"a":ze.primary=x.LETTERS;break;case"I":ze.case=B.UPPER;case"i":ze.primary=x.ROMAN;break;case"W":ze.case=B.UPPER,ze.primary=x.WORDS;break;case"Ww":ze.case=B.TITLE,ze.primary=x.WORDS;break;case"w":ze.primary=x.WORDS;break;default:var Lt=null,Vt=0,ht=0,gt=[],Ge=0;if(E(Be).map(function(Je){return Je.codePointAt(0)}).reverse().forEach(function(Je){for(var Qe=!1,rt=0;rt<$.length;rt++){var ft=$[rt];if(Je>=ft&&Je<=ft+9){if(Qe=!0,Vt++,Ge++,null===Lt)Lt=ft;else if(ft!==Lt)throw{code:"D3131"};break}}Qe||(35===Je?(Ge++,ht++):gt.push({position:Ge,character:String.fromCodePoint(Je)}))}),Vt>0){ze.primary=x.DECIMAL,ze.zeroCode=Lt,ze.mandatoryDigits=Vt,ze.optionalDigits=ht;var Ne=function(Qe){if(0===Qe.length)return 0;for(var rt=Qe[0].character,ft=1;ft<Qe.length;ft++)if(Qe[ft].character!==rt)return 0;for(var Xt=Qe.map(function(Ze){return Ze.position}),In=Xt.reduce(function Ze(wn,zn){return 0===zn?wn:Ze(zn,wn%zn)}),Kt=1;Kt<=Xt.length;Kt++)if(-1===Xt.indexOf(Kt*In))return 0;return In}(gt);Ne>0?(ze.regular=!0,ze.groupingSeparators={position:Ne,character:gt[0].character}):(ze.regular=!1,ze.groupingSeparators=gt)}else ze.primary=x.SEQUENCE,ze.token=Be}return ze}var ie={Y:"1",M:"1",D:"1",d:"1",F:"n",W:"1",w:"1",X:"1",x:"1",H:"1",h:"1",P:"n",m:"01",s:"01",f:"1",Z:"01:01",z:"01:01",C:"n",E:"n"};function ne($e){for(var ze=[],Be={type:"datetime",parts:ze},Ye=function(Kt,Ze){if(Ze>Kt){var wn=$e.substring(Kt,Ze);wn=wn.split("]]").join("]"),ze.push({type:"literal",value:wn})}},Ct=0,Lt=0;Lt<$e.length;){if("["===$e.charAt(Lt)){if("["===$e.charAt(Lt+1)){Ye(Ct,Lt),ze.push({type:"literal",value:"["}),Ct=Lt+=2;continue}if(Ye(Ct,Lt),-1===(Lt=$e.indexOf("]",Ct=Lt)))throw{code:"D3135"};var Ge,Vt=$e.substring(Ct+1,Lt),ht={type:"marker",component:(Vt=Vt.split(/\s+/).join("")).charAt(0)},gt=Vt.lastIndexOf(",");if(-1!==gt){var Se=Vt.substring(gt+1),ke=Se.indexOf("-"),Ne=void 0,Je=void 0,Qe=function(Kt){if(!(typeof Kt>"u"||"*"===Kt))return parseInt(Kt)};-1===ke?Ne=Se:(Ne=Se.substring(0,ke),Je=Se.substring(ke+1));var rt={min:Qe(Ne),max:Qe(Je)};ht.width=rt,Ge=Vt.substring(1,gt)}else Ge=Vt.substring(1);if(1===Ge.length)ht.presentation1=Ge;else if(Ge.length>1){var ft=Ge.charAt(Ge.length-1);-1!=="atco".indexOf(ft)?(ht.presentation2=ft,"o"===ft&&(ht.ordinal=!0),ht.presentation1=Ge.substring(0,Ge.length-1)):ht.presentation1=Ge}else ht.presentation1=ie[ht.component];if(typeof ht.presentation1>"u")throw{code:"D3132",value:ht.component};if("n"===ht.presentation1[0])ht.names=B.LOWER;else if("N"===ht.presentation1[0])ht.names="n"===ht.presentation1[1]?B.TITLE:B.UPPER;else if(-1!=="YMDdFWwXxHhmsf".indexOf(ht.component)){var Xt=ht.presentation1;if(ht.presentation2&&(Xt+=";"+ht.presentation2),ht.integerFormat=H(Xt),ht.width&&void 0!==ht.width.min&&ht.integerFormat.mandatoryDigits<ht.width.min&&(ht.integerFormat.mandatoryDigits=ht.width.min),-1!=="YMD".indexOf(ht.component))if(ht.n=-1,ht.width&&void 0!==ht.width.max)ht.n=ht.width.max,ht.integerFormat.mandatoryDigits=ht.n;else{var It=ht.integerFormat.mandatoryDigits+ht.integerFormat.optionalDigits;It>=2&&(ht.n=It)}}("Z"===ht.component||"z"===ht.component)&&(ht.integerFormat=H(ht.presentation1)),ze.push(ht),Ct=Lt+1}Lt++}return Ye(Ct,Lt),Be}var Q=["","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],le=["January","February","March","April","May","June","July","August","September","October","November","December"],pe=864e5,te=function(ze){var Be=Date.UTC(ze.year,ze.month),Ye=new Date(Be).getUTCDay();return 0===Ye&&(Ye=7),Ye>4?Be+(8-Ye)*pe:Be-(Ye-1)*pe},ae=function $e(ze,Be){return{year:ze,month:Be,nextMonth:function(){return 11===Be?$e(ze+1,0):$e(ze,Be+1)},previousMonth:function(){return 0===Be?$e(ze-1,11):$e(ze,Be-1)},nextYear:function(){return $e(ze+1,Be)},previousYear:function(){return $e(ze-1,Be)}}},K=function(ze,Be){return(Be-ze)/(7*pe)+1},de=function(ze,Be){var Ye;switch(Be){case"Y":Ye=ze.getUTCFullYear();break;case"M":Ye=ze.getUTCMonth()+1;break;case"D":Ye=ze.getUTCDate();break;case"d":Ye=(Date.UTC(ze.getUTCFullYear(),ze.getUTCMonth(),ze.getUTCDate())-Date.UTC(ze.getUTCFullYear(),0))/pe+1;break;case"F":0===(Ye=ze.getUTCDay())&&(Ye=7);break;case"W":var Vt=ae(ze.getUTCFullYear(),0),ht=te(Vt),gt=Date.UTC(Vt.year,ze.getUTCMonth(),ze.getUTCDate()),Ge=K(ht,gt);if(Ge>52)gt>=te(Vt.nextYear())&&(Ge=1);else if(Ge<1){var ke=te(Vt.previousYear());Ge=K(ke,gt)}Ye=Math.floor(Ge);break;case"w":var Ne=ae(ze.getUTCFullYear(),ze.getUTCMonth()),Je=te(Ne),Qe=Date.UTC(Ne.year,Ne.month,ze.getUTCDate()),rt=K(Je,Qe);if(rt>4)Qe>=te(Ne.nextMonth())&&(rt=1);else if(rt<1){var Xt=te(Ne.previousMonth());rt=K(Xt,Qe)}Ye=Math.floor(rt);break;case"X":var It=ae(ze.getUTCFullYear(),0),In=te(It),Kt=te(It.nextYear()),Ze=ze.getTime();Ye=Ze<In?It.year-1:Ze>=Kt?It.year+1:It.year;break;case"x":var wn=ae(ze.getUTCFullYear(),ze.getUTCMonth()),zn=te(wn),di=wn.nextMonth(),jn=te(di),Di=ze.getTime();Ye=Di<zn?wn.previousMonth().month+1:Di>=jn?di.month+1:wn.month+1;break;case"H":Ye=ze.getUTCHours();break;case"h":Ye=ze.getUTCHours(),0==(Ye%=12)&&(Ye=12);break;case"P":Ye=ze.getUTCHours()>=12?"pm":"am";break;case"m":Ye=ze.getUTCMinutes();break;case"s":Ye=ze.getUTCSeconds();break;case"f":Ye=ze.getUTCMilliseconds();break;case"Z":case"z":break;case"C":case"E":Ye="ISO"}return Ye},Me=null;function me($e,ze,Be){var Ye=0,Ct=0;if(typeof Be<"u"){var Lt=parseInt(Be);Ye=Math.floor(Lt/100),Ct=Lt%100}var ht;typeof ze>"u"?(null===Me&&(Me=ne("[Y0001]-[M01]-[D01]T[H01]:[m01]:[s01].[f001][Z01:01t]")),ht=Me):ht=ne(ze);var Ge=new Date($e+60*(60*Ye+Ct)*1e3),Se="";return ht.parts.forEach(function(ke){Se+="literal"===ke.type?ke.value:function(Ne,Je){var Qe=de(Ne,Je.component);if(-1!=="YMDdFWwXxHhms".indexOf(Je.component))if("Y"===Je.component&&-1!==Je.n&&(Qe%=Math.pow(10,Je.n)),Je.names){if("M"===Je.component||"x"===Je.component)Qe=le[Qe-1];else{if("F"!==Je.component)throw{code:"D3133",value:Je.component};Qe=Q[Qe]}Je.names===B.UPPER?Qe=Qe.toUpperCase():Je.names===B.LOWER&&(Qe=Qe.toLowerCase()),Je.width&&Qe.length>Je.width.max&&(Qe=Qe.substring(0,Je.width.max))}else Qe=j(Qe,Je.integerFormat);else if("f"===Je.component)Qe=j(Qe,Je.integerFormat);else if("Z"===Je.component||"z"===Je.component){var rt=100*Ye+Ct;if(Je.integerFormat.regular)Qe=j(rt,Je.integerFormat);else{var ft=Je.integerFormat.mandatoryDigits;if(1===ft||2===ft)Qe=j(Ye,Je.integerFormat),0!==Ct&&(Qe+=":"+Y(Ct,"00"));else{if(3!==ft&&4!==ft)throw{code:"D3134",value:ft};Qe=j(rt,Je.integerFormat)}}rt>=0&&(Qe="+"+Qe),"z"===Je.component&&(Qe="GMT"+Qe),0===rt&&"t"===Je.presentation2&&(Qe="Z")}return Qe}(Ge,ke)}),Se}function be($e){var ze={};if("datetime"===$e.type)ze.type="datetime",ze.parts=$e.parts.map(function(Ct){var Lt={};if("literal"===Ct.type)Lt.regex=Ct.value.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");else if("Z"===Ct.component||"z"===Ct.component){var Vt;Array.isArray(Ct.integerFormat.groupingSeparators)||(Vt=Ct.integerFormat.groupingSeparators),Lt.regex="","z"===Ct.component&&(Lt.regex="GMT"),Lt.regex+="[-+][0-9]+",Vt&&(Lt.regex+=Vt.character+"[0-9]+"),Lt.parse=function(gt){"z"===Ct.component&&(gt=gt.substring(3));var Ge=0,Se=0;return Vt?(Ge=Number.parseInt(gt.substring(0,gt.indexOf(Vt.character))),Se=Number.parseInt(gt.substring(gt.indexOf(Vt.character)+1))):gt.length-1<=2?Ge=Number.parseInt(gt):(Ge=Number.parseInt(gt.substring(0,3)),Se=Number.parseInt(gt.substring(3))),60*Ge+Se}}else if(Ct.integerFormat)Ct.integerFormat.n=Ct.n,Lt=be(Ct.integerFormat);else{Lt.regex="[a-zA-Z]+";var ht={};if("M"===Ct.component||"x"===Ct.component)le.forEach(function(gt,Ge){Ct.width&&Ct.width.max?ht[gt.substring(0,Ct.width.max)]=Ge+1:ht[gt]=Ge+1});else if("F"===Ct.component)Q.forEach(function(gt,Ge){Ge>0&&(Ct.width&&Ct.width.max?ht[gt.substring(0,Ct.width.max)]=Ge:ht[gt]=Ge)});else{if("P"!==Ct.component)throw{code:"D3133",value:Ct.component};ht={am:0,AM:0,pm:1,PM:1}}Lt.parse=function(gt){return ht[gt]}}return Lt.component=Ct.component,Lt});else{ze.type="integer";var Ye,Be=$e.case===B.UPPER;switch(Ye=$e.n&&$e.n>0?0===$e.optionalDigits?"{".concat($e.n,"}"):"{".concat($e.n-$e.optionalDigits,",").concat($e.n,"}"):"+",$e.primary){case x.LETTERS:ze.regex=Be?"[A-Z]+":"[a-z]+",ze.parse=function(Ct){return function k($e,ze){for(var Be=ze.charCodeAt(0),Ye=0,Ct=0;Ct<$e.length;Ct++)Ye+=($e.charCodeAt($e.length-Ct-1)-Be+1)*Math.pow(26,Ct);return Ye}(Ct,Be?"A":"a")};break;case x.ROMAN:ze.regex=Be?"[MDCLXVI]+":"[mdclxvi]+",ze.parse=function(Ct){return function F($e){for(var ze=0,Be=1,Ye=$e.length-1;Ye>=0;Ye--){var Lt=q[$e[Ye]];Lt<Be?ze-=Lt:(Be=Lt,ze+=Lt)}return ze}(Be?Ct:Ct.toUpperCase())};break;case x.WORDS:ze.regex="(?:"+Object.keys(C).concat("and","[\\-, ]").join("|")+")+",ze.parse=function(Ct){return function w($e){var Be=$e.split(/,\s|\sand\s|[\s\\-]/).map(function(Lt){return C[Lt]}),Ye=[0];return Be.forEach(function(Lt){if(Lt<100){var Vt=Ye.pop();Vt>=1e3&&(Ye.push(Vt),Vt=0),Ye.push(Vt+Lt)}else Ye.push(Ye.pop()*Lt)}),Ye.reduce(function(Lt,Vt){return Lt+Vt},0)}(Ct.toLowerCase())};break;case x.DECIMAL:ze.regex="[0-9]".concat(Ye),$e.ordinal&&(ze.regex+="(?:th|st|nd|rd)"),ze.parse=function(Ct){var Lt=Ct;return $e.ordinal&&(Lt=Ct.substring(0,Ct.length-2)),$e.regular?Lt=Lt.split(",").join(""):$e.groupingSeparators.forEach(function(Vt){Lt=Lt.split(Vt.character).join("")}),48!==$e.zeroCode&&(Lt=Lt.split("").map(function(Vt){return String.fromCodePoint(Vt.codePointAt(0)-$e.zeroCode+48)}).join("")),parseInt(Lt)};break;case x.SEQUENCE:throw{code:"D3130",value:$e.token}}}return ze}function Ae($e,ze){var Ye=be(ne(ze)),Ct="^"+Ye.parts.map(function(Ue){return"("+Ue.regex+")"}).join("")+"$",Vt=new RegExp(Ct,"i").exec($e);if(null!==Vt){for(var Je={},Qe=1;Qe<Vt.length;Qe++){var rt=Ye.parts[Qe-1];rt.parse&&(Je[rt.component]=rt.parse(Vt[Qe]))}if(0===Object.getOwnPropertyNames(Je).length)return;var ft=0,Xt=function(Un){ft<<=1,ft+=Un?1:0},It=function(Un){return!(~Un&ft||!(Un&ft))};"YXMxWwdD".split("").forEach(function(Ue){return Xt(Je[Ue])});var Kt=!It(161)&&It(130),Ze=It(84),wn=!Ze&&It(72);ft=0,"PHhmsf".split("").forEach(function(Ue){return Xt(Je[Ue])});var di=!It(23)&&It(47),ms=this.environment.timestamp,Rn=!1,Qt=!1;if(((Kt?"YD":Ze?"XxwF":wn?"XWF":"YMD")+(di?"Phmsf":"Hmsf")).split("").forEach(function(Ue){if(typeof Je[Ue]>"u")Rn?(Je[Ue]=-1!=="MDd".indexOf(Ue)?1:0,Qt=!0):Je[Ue]=de(ms,Ue);else if(Rn=!0,Qt)throw{code:"D3136"}}),Je.M>0?Je.M-=1:Je.M=0,Kt){var Wt=Date.UTC(Je.Y,0),Mn=new Date(Wt+1e3*(Je.d-1)*60*60*24);Je.M=Mn.getUTCMonth(),Je.D=Mn.getUTCDate()}if(Ze)throw{code:"D3136"};if(wn)throw{code:"D3136"};di&&(Je.H=12===Je.h?0:Je.h,1===Je.P&&(Je.H+=12));var ci=Date.UTC(Je.Y,Je.M,Je.D,Je.H,Je.m,Je.s,Je.f);return(Je.Z||Je.z)&&(ci-=60*(Je.Z||Je.z)*1e3),ci}}var Oe=new RegExp("^\\d{4}(-[01]\\d)*(-[0-3]\\d)*(T[0-2]\\d:[0-5]\\d:[0-5]\\d)*(\\.\\d+)?([+-][0-2]\\d:?[0-5]\\d|Z)?$");return{formatInteger:Y,parseInteger:function Le($e,ze){if(!(typeof $e>"u"))return be(H(ze)).parse($e)},fromMillis:function Pe($e,ze,Be){if(!(typeof $e>"u"))return me.call(this,$e,ze,Be)},toMillis:function Xe($e,ze){if(!(typeof $e>"u")){if(typeof ze>"u"){if(!Oe.test($e))throw{stack:(new Error).stack,code:"D3110",value:$e};return Date.parse($e)}return Ae.call(this,$e,ze)}}}}();m.exports=D},{"./utils":6}],2:[function(g,m,T){(function(O){(function(){"use strict";function D(b){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(L){return typeof L}:function(L){return L&&"function"==typeof Symbol&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L})(b)}function E(){E=function(){return L};var b,L={},o=Object.prototype,C=o.hasOwnProperty,w=Object.defineProperty||function(Xe,Pe,$e){Xe[Pe]=$e.value},M="function"==typeof Symbol?Symbol:{},q=M.iterator||"@@iterator",z=M.asyncIterator||"@@asyncIterator",F=M.toStringTag||"@@toStringTag";function U(Xe,Pe,$e){return Object.defineProperty(Xe,Pe,{value:$e,enumerable:!0,configurable:!0,writable:!0}),Xe[Pe]}try{U({},"")}catch{U=function($e,ze,Be){return $e[ze]=Be}}function k(Xe,Pe,$e,ze){var Ye=Object.create((Pe&&Pe.prototype instanceof ie?Pe:ie).prototype),Ct=new Ae(ze||[]);return w(Ye,"_invoke",{value:Me(Xe,$e,Ct)}),Ye}function Y(Xe,Pe,$e){try{return{type:"normal",arg:Xe.call(Pe,$e)}}catch(ze){return{type:"throw",arg:ze}}}L.wrap=k;var x="suspendedStart",B="suspendedYield",j="executing",$="completed",H={};function ie(){}function ne(){}function Q(){}var le={};U(le,q,function(){return this});var pe=Object.getPrototypeOf,te=pe&&pe(pe(Oe([])));te&&te!==o&&C.call(te,q)&&(le=te);var ae=Q.prototype=ie.prototype=Object.create(le);function K(Xe){["next","throw","return"].forEach(function(Pe){U(Xe,Pe,function($e){return this._invoke(Pe,$e)})})}function de(Xe,Pe){function $e(Be,Ye,Ct,Lt){var Vt=Y(Xe[Be],Xe,Ye);if("throw"!==Vt.type){var ht=Vt.arg,gt=ht.value;return gt&&"object"==D(gt)&&C.call(gt,"__await")?Pe.resolve(gt.__await).then(function(Ge){$e("next",Ge,Ct,Lt)},function(Ge){$e("throw",Ge,Ct,Lt)}):Pe.resolve(gt).then(function(Ge){ht.value=Ge,Ct(ht)},function(Ge){return $e("throw",Ge,Ct,Lt)})}Lt(Vt.arg)}var ze;w(this,"_invoke",{value:function(Ye,Ct){function Lt(){return new Pe(function(Vt,ht){$e(Ye,Ct,Vt,ht)})}return ze=ze?ze.then(Lt,Lt):Lt()}})}function Me(Xe,Pe,$e){var ze=x;return function(Be,Ye){if(ze===j)throw new Error("Generator is already running");if(ze===$){if("throw"===Be)throw Ye;return{value:b,done:!0}}for($e.method=Be,$e.arg=Ye;;){var Ct=$e.delegate;if(Ct){var Lt=me(Ct,$e);if(Lt){if(Lt===H)continue;return Lt}}if("next"===$e.method)$e.sent=$e._sent=$e.arg;else if("throw"===$e.method){if(ze===x)throw ze=$,$e.arg;$e.dispatchException($e.arg)}else"return"===$e.method&&$e.abrupt("return",$e.arg);ze=j;var Vt=Y(Xe,Pe,$e);if("normal"===Vt.type){if(ze=$e.done?$:B,Vt.arg===H)continue;return{value:Vt.arg,done:$e.done}}"throw"===Vt.type&&(ze=$,$e.method="throw",$e.arg=Vt.arg)}}}function me(Xe,Pe){var $e=Pe.method,ze=Xe.iterator[$e];if(ze===b)return Pe.delegate=null,"throw"===$e&&Xe.iterator.return&&(Pe.method="return",Pe.arg=b,me(Xe,Pe),"throw"===Pe.method)||"return"!==$e&&(Pe.method="throw",Pe.arg=new TypeError("The iterator does not provide a '"+$e+"' method")),H;var Be=Y(ze,Xe.iterator,Pe.arg);if("throw"===Be.type)return Pe.method="throw",Pe.arg=Be.arg,Pe.delegate=null,H;var Ye=Be.arg;return Ye?Ye.done?(Pe[Xe.resultName]=Ye.value,Pe.next=Xe.nextLoc,"return"!==Pe.method&&(Pe.method="next",Pe.arg=b),Pe.delegate=null,H):Ye:(Pe.method="throw",Pe.arg=new TypeError("iterator result is not an object"),Pe.delegate=null,H)}function be(Xe){var Pe={tryLoc:Xe[0]};1 in Xe&&(Pe.catchLoc=Xe[1]),2 in Xe&&(Pe.finallyLoc=Xe[2],Pe.afterLoc=Xe[3]),this.tryEntries.push(Pe)}function Le(Xe){var Pe=Xe.completion||{};Pe.type="normal",delete Pe.arg,Xe.completion=Pe}function Ae(Xe){this.tryEntries=[{tryLoc:"root"}],Xe.forEach(be,this),this.reset(!0)}function Oe(Xe){if(Xe||""===Xe){var Pe=Xe[q];if(Pe)return Pe.call(Xe);if("function"==typeof Xe.next)return Xe;if(!isNaN(Xe.length)){var $e=-1,ze=function Be(){for(;++$e<Xe.length;)if(C.call(Xe,$e))return Be.value=Xe[$e],Be.done=!1,Be;return Be.value=b,Be.done=!0,Be};return ze.next=ze}}throw new TypeError(D(Xe)+" is not iterable")}return ne.prototype=Q,w(ae,"constructor",{value:Q,configurable:!0}),w(Q,"constructor",{value:ne,configurable:!0}),ne.displayName=U(Q,F,"GeneratorFunction"),L.isGeneratorFunction=function(Xe){var Pe="function"==typeof Xe&&Xe.constructor;return!!Pe&&(Pe===ne||"GeneratorFunction"===(Pe.displayName||Pe.name))},L.mark=function(Xe){return Object.setPrototypeOf?Object.setPrototypeOf(Xe,Q):(Xe.__proto__=Q,U(Xe,F,"GeneratorFunction")),Xe.prototype=Object.create(ae),Xe},L.awrap=function(Xe){return{__await:Xe}},K(de.prototype),U(de.prototype,z,function(){return this}),L.AsyncIterator=de,L.async=function(Xe,Pe,$e,ze,Be){void 0===Be&&(Be=Promise);var Ye=new de(k(Xe,Pe,$e,ze),Be);return L.isGeneratorFunction(Pe)?Ye:Ye.next().then(function(Ct){return Ct.done?Ct.value:Ye.next()})},K(ae),U(ae,F,"Generator"),U(ae,q,function(){return this}),U(ae,"toString",function(){return"[object Generator]"}),L.keys=function(Xe){var Pe=Object(Xe),$e=[];for(var ze in Pe)$e.push(ze);return $e.reverse(),function Be(){for(;$e.length;){var Ye=$e.pop();if(Ye in Pe)return Be.value=Ye,Be.done=!1,Be}return Be.done=!0,Be}},L.values=Oe,Ae.prototype={constructor:Ae,reset:function(Pe){if(this.prev=0,this.next=0,this.sent=this._sent=b,this.done=!1,this.delegate=null,this.method="next",this.arg=b,this.tryEntries.forEach(Le),!Pe)for(var $e in this)"t"===$e.charAt(0)&&C.call(this,$e)&&!isNaN(+$e.slice(1))&&(this[$e]=b)},stop:function(){this.done=!0;var Pe=this.tryEntries[0].completion;if("throw"===Pe.type)throw Pe.arg;return this.rval},dispatchException:function(Pe){if(this.done)throw Pe;var $e=this;function ze(ht,gt){return Ct.type="throw",Ct.arg=Pe,$e.next=ht,gt&&($e.method="next",$e.arg=b),!!gt}for(var Be=this.tryEntries.length-1;Be>=0;--Be){var Ye=this.tryEntries[Be],Ct=Ye.completion;if("root"===Ye.tryLoc)return ze("end");if(Ye.tryLoc<=this.prev){var Lt=C.call(Ye,"catchLoc"),Vt=C.call(Ye,"finallyLoc");if(Lt&&Vt){if(this.prev<Ye.catchLoc)return ze(Ye.catchLoc,!0);if(this.prev<Ye.finallyLoc)return ze(Ye.finallyLoc)}else if(Lt){if(this.prev<Ye.catchLoc)return ze(Ye.catchLoc,!0)}else{if(!Vt)throw new Error("try statement without catch or finally");if(this.prev<Ye.finallyLoc)return ze(Ye.finallyLoc)}}}},abrupt:function(Pe,$e){for(var ze=this.tryEntries.length-1;ze>=0;--ze){var Be=this.tryEntries[ze];if(Be.tryLoc<=this.prev&&C.call(Be,"finallyLoc")&&this.prev<Be.finallyLoc){var Ye=Be;break}}Ye&&("break"===Pe||"continue"===Pe)&&Ye.tryLoc<=$e&&$e<=Ye.finallyLoc&&(Ye=null);var Ct=Ye?Ye.completion:{};return Ct.type=Pe,Ct.arg=$e,Ye?(this.method="next",this.next=Ye.finallyLoc,H):this.complete(Ct)},complete:function(Pe,$e){if("throw"===Pe.type)throw Pe.arg;return"break"===Pe.type||"continue"===Pe.type?this.next=Pe.arg:"return"===Pe.type?(this.rval=this.arg=Pe.arg,this.method="return",this.next="end"):"normal"===Pe.type&&$e&&(this.next=$e),H},finish:function(Pe){for(var $e=this.tryEntries.length-1;$e>=0;--$e){var ze=this.tryEntries[$e];if(ze.finallyLoc===Pe)return this.complete(ze.completion,ze.afterLoc),Le(ze),H}},catch:function(Pe){for(var $e=this.tryEntries.length-1;$e>=0;--$e){var ze=this.tryEntries[$e];if(ze.tryLoc===Pe){var Be=ze.completion;if("throw"===Be.type){var Ye=Be.arg;Le(ze)}return Ye}}throw new Error("illegal catch attempt")},delegateYield:function(Pe,$e,ze){return this.delegate={iterator:Oe(Pe),resultName:$e,nextLoc:ze},"next"===this.method&&(this.arg=b),H}},L}var y=g("./utils"),I=function(){var b=E().mark(Ye),L=E().mark(Ct),o=E().mark(Lt),C=E().mark(Vt),w=E().mark(Je),M=E().mark(ms),q=E().mark(Rn),z=E().mark(Qt),F=E().mark(Yt),U=E().mark(En),k=E().mark(os),Y=E().mark(oi),x=y.isNumeric,B=y.isArrayOfStrings,j=y.isArrayOfNumbers,$=y.createSequence,H=y.isSequence,ie=y.isFunction,ne=y.isLambda,Q=y.isIterable,le=y.getFunctionArity,pe=y.isDeepEqual,te=y.stringToArray;function Le(pt,cn,Tn){if(!(typeof pt>"u")){var vi=te(pt),ui=vi.length;return ui+cn<0&&(cn=0),typeof Tn<"u"?Tn<=0?"":vi.slice(cn,cn>=0?cn+Tn:ui+cn+Tn).join(""):vi.slice(cn).join("")}}function $e(pt){if(!(typeof pt>"u"))return te(pt).length}function Ye(pt,cn){var Tn;return E().wrap(function(ui){for(;;)switch(ui.prev=ui.next){case 0:if(Tn=pt.apply(this,[cn]),!Q(Tn)){ui.next=4;break}return ui.delegateYield(Tn,"t0",3);case 3:Tn=ui.t0;case 4:if(!Tn||"number"==typeof Tn.start||"number"===Tn.end||Array.isArray(Tn.groups)||ie(Tn.next)){ui.next=6;break}throw{code:"T1010",stack:(new Error).stack};case 6:return ui.abrupt("return",Tn);case 7:case"end":return ui.stop()}},b,this)}function Ct(pt,cn){var Tn;return E().wrap(function($i){for(;;)switch($i.prev=$i.next){case 0:if(!(typeof pt>"u")){$i.next=2;break}return $i.abrupt("return",void 0);case 2:if("string"!=typeof cn){$i.next=6;break}Tn=-1!==pt.indexOf(cn),$i.next=9;break;case 6:return $i.delegateYield(Ye(cn,pt),"t0",7);case 7:Tn=typeof $i.t0<"u";case 9:return $i.abrupt("return",Tn);case 10:case"end":return $i.stop()}},L)}function Lt(pt,cn,Tn){var vi,ui,$i;return E().wrap(function(Hn){for(;;)switch(Hn.prev=Hn.next){case 0:if(!(typeof pt>"u")){Hn.next=2;break}return Hn.abrupt("return",void 0);case 2:if(!(Tn<0)){Hn.next=4;break}throw{stack:(new Error).stack,value:Tn,code:"D3040",index:3};case 4:if(vi=$(),!(typeof Tn>"u"||Tn>0)){Hn.next=17;break}return ui=0,Hn.delegateYield(Ye(cn,pt),"t0",8);case 8:if(!(typeof($i=Hn.t0)<"u")){Hn.next=17;break}case 10:if(!(typeof $i<"u"&&(typeof Tn>"u"||ui<Tn))){Hn.next=17;break}return vi.push({match:$i.match,index:$i.start,groups:$i.groups}),Hn.delegateYield(Ye($i.next),"t1",13);case 13:$i=Hn.t1,ui++,Hn.next=10;break;case 17:return Hn.abrupt("return",vi);case 18:case"end":return Hn.stop()}},o)}function Vt(pt,cn,Tn,vi){var ui,$i,Nn,Hn,Qn,ri,li,Fi;return E().wrap(function(Hi){for(;;)switch(Hi.prev=Hi.next){case 0:if(!(typeof pt>"u")){Hi.next=2;break}return Hi.abrupt("return",void 0);case 2:if(ui=this,""!==cn){Hi.next=5;break}throw{code:"D3010",stack:(new Error).stack,value:cn,index:2};case 5:if(!(vi<0)){Hi.next=7;break}throw{code:"D3011",stack:(new Error).stack,value:vi,index:4};case 7:if($i="string"==typeof Tn?function(yn){for(var hn="",Bn=0,mi=Tn.indexOf("$",Bn);-1!==mi&&Bn<Tn.length;){hn+=Tn.substring(Bn,mi);var wi=Tn.charAt(Bn=mi+1);if("$"===wi)hn+="$",Bn++;else if("0"===wi)hn+=yn.match,Bn++;else{var Si;if(Si=0===yn.groups.length?1:Math.floor(Math.log(yn.groups.length)*Math.LOG10E)+1,mi=parseInt(Tn.substring(Bn,Bn+Si),10),Si>1&&mi>yn.groups.length&&(mi=parseInt(Tn.substring(Bn,Bn+Si-1),10)),isNaN(mi))hn+="$";else{if(yn.groups.length>0){var Cn=yn.groups[mi-1];typeof Cn<"u"&&(hn+=Cn)}Bn+=mi.toString().length}}mi=Tn.indexOf("$",Bn)}return hn+Tn.substring(Bn)}:Tn,Nn="",Hn=0,!(typeof vi>"u"||vi>0)){Hi.next=44;break}if(Qn=0,"string"!=typeof cn){Hi.next=18;break}for(ri=pt.indexOf(cn,Hn);-1!==ri&&(typeof vi>"u"||Qn<vi);)Nn+=pt.substring(Hn,ri),Nn+=Tn,Qn++,ri=pt.indexOf(cn,Hn=ri+cn.length);Nn+=pt.substring(Hn),Hi.next=42;break;case 18:return Hi.delegateYield(Ye(cn,pt),"t0",19);case 19:if(!(typeof(li=Hi.t0)<"u")){Hi.next=41;break}case 21:if(!(typeof li<"u"&&(typeof vi>"u"||Qn<vi))){Hi.next=38;break}if(Nn+=pt.substring(Hn,li.start),Fi=$i.apply(ui,[li]),!Q(Fi)){Hi.next=27;break}return Hi.delegateYield(Fi,"t1",26);case 26:Fi=Hi.t1;case 27:if("string"!=typeof Fi){Hi.next=31;break}Nn+=Fi,Hi.next=32;break;case 31:throw{code:"D3012",stack:(new Error).stack,value:Fi};case 32:return Hn=li.start+li.match.length,Qn++,Hi.delegateYield(Ye(li.next),"t2",35);case 35:li=Hi.t2,Hi.next=21;break;case 38:Nn+=pt.substring(Hn),Hi.next=42;break;case 41:Nn=pt;case 42:Hi.next=45;break;case 44:Nn=pt;case 45:return Hi.abrupt("return",Nn);case 46:case"end":return Hi.stop()}},C,this)}function Je(pt,cn,Tn){var vi,ui,$i,Nn;return E().wrap(function(Qn){for(;;)switch(Qn.prev=Qn.next){case 0:if(!(typeof pt>"u")){Qn.next=2;break}return Qn.abrupt("return",void 0);case 2:if(!(Tn<0)){Qn.next=4;break}throw{code:"D3020",stack:(new Error).stack,value:Tn,index:3};case 4:if(vi=[],!(typeof Tn>"u"||Tn>0)){Qn.next=27;break}if("string"!=typeof cn){Qn.next=10;break}vi=pt.split(cn,Tn),Qn.next=27;break;case 10:return ui=0,Qn.delegateYield(Ye(cn,pt),"t0",12);case 12:if(!(typeof($i=Qn.t0)<"u")){Qn.next=26;break}Nn=0;case 15:if(!(typeof $i<"u"&&(typeof Tn>"u"||ui<Tn))){Qn.next=23;break}return vi.push(pt.substring(Nn,$i.start)),Nn=$i.end,Qn.delegateYield(Ye($i.next),"t1",19);case 19:$i=Qn.t1,ui++,Qn.next=15;break;case 23:(typeof Tn>"u"||ui<Tn)&&vi.push(pt.substring(Nn)),Qn.next=27;break;case 26:vi.push(pt);case 27:return Qn.abrupt("return",vi);case 28:case"end":return Qn.stop()}},w)}function Ze(pt,cn){var Tn;if(!(typeof pt>"u")){if(cn){var vi=pt.toString().split("e");pt=+(vi[0]+"e"+(vi[1]?+vi[1]+cn:cn))}return Tn=Math.round(pt),.5===Math.abs(Tn-pt)&&1===Math.abs(Tn%2)&&(Tn-=1),cn&&(vi=Tn.toString().split("e"),Tn=+(vi[0]+"e"+(vi[1]?+vi[1]-cn:-cn))),Object.is(Tn,-0)&&(Tn=0),Tn}}function jn(pt){if(!(typeof pt>"u")){var cn=!1;return Array.isArray(pt)?1===pt.length?cn=jn(pt[0]):pt.length>1&&(cn=pt.filter(function(vi){return jn(vi)}).length>0):"string"==typeof pt?pt.length>0&&(cn=!0):x(pt)?0!==pt&&(cn=!0):null!==pt&&"object"===D(pt)?Object.keys(pt).length>0&&(cn=!0):"boolean"==typeof pt&&!0===pt&&(cn=!0),cn}}function Li(pt,cn,Tn,vi){var ui=[cn],$i=le(pt);return $i>=2&&ui.push(Tn),$i>=3&&ui.push(vi),ui}function ms(pt,cn){var Tn,vi,ui,$i;return E().wrap(function(Hn){for(;;)switch(Hn.prev=Hn.next){case 0:if(!(typeof pt>"u")){Hn.next=2;break}return Hn.abrupt("return",void 0);case 2:Tn=$(),vi=0;case 4:if(!(vi<pt.length)){Hn.next=12;break}return ui=Li(cn,pt[vi],vi,pt),Hn.delegateYield(cn.apply(this,ui),"t0",7);case 7:typeof($i=Hn.t0)<"u"&&Tn.push($i);case 9:vi++,Hn.next=4;break;case 12:return Hn.abrupt("return",Tn);case 13:case"end":return Hn.stop()}},M,this)}function Rn(pt,cn){var Tn,vi,ui,$i;return E().wrap(function(Qn){for(;;)switch(Qn.prev=Qn.next){case 0:if(!(typeof pt>"u")){Qn.next=2;break}return Qn.abrupt("return",void 0);case 2:Tn=$(),vi=0;case 4:if(!(vi<pt.length)){Qn.next=13;break}return $i=Li(cn,ui=pt[vi],vi,pt),Qn.delegateYield(cn.apply(this,$i),"t0",8);case 8:jn(Qn.t0)&&Tn.push(ui);case 10:vi++,Qn.next=4;break;case 13:return Qn.abrupt("return",Tn);case 14:case"end":return Qn.stop()}},q,this)}function Qt(pt,cn){var Tn,vi,ui,$i,Nn,Hn;return E().wrap(function(li){for(;;)switch(li.prev=li.next){case 0:if(!(typeof pt>"u")){li.next=2;break}return li.abrupt("return",void 0);case 2:Tn=!1,ui=0;case 4:if(!(ui<pt.length)){li.next=22;break}if($i=pt[ui],Nn=!0,!(typeof cn<"u")){li.next=12;break}return Hn=Li(cn,$i,ui,pt),li.delegateYield(cn.apply(this,Hn),"t0",10);case 10:Nn=jn(li.t0);case 12:if(!Nn){li.next=19;break}if(Tn){li.next=18;break}vi=$i,Tn=!0,li.next=19;break;case 18:throw{stack:(new Error).stack,code:"D3138",index:ui};case 19:ui++,li.next=4;break;case 22:if(Tn){li.next=24;break}throw{stack:(new Error).stack,code:"D3139"};case 24:return li.abrupt("return",vi);case 25:case"end":return li.stop()}},z,this)}function Yt(pt,cn,Tn){var vi,ui,$i,Nn;return E().wrap(function(Qn){for(;;)switch(Qn.prev=Qn.next){case 0:if(!(typeof pt>"u")){Qn.next=2;break}return Qn.abrupt("return",void 0);case 2:if(!((ui=le(cn))<2)){Qn.next=5;break}throw{stack:(new Error).stack,code:"D3050",index:1};case 5:typeof Tn>"u"&&pt.length>0?(vi=pt[0],$i=1):(vi=Tn,$i=0);case 6:if(!($i<pt.length)){Qn.next=15;break}return Nn=[vi,pt[$i]],ui>=3&&Nn.push($i),ui>=4&&Nn.push(pt),Qn.delegateYield(cn.apply(this,Nn),"t0",11);case 11:vi=Qn.t0,$i++,Qn.next=6;break;case 15:return Qn.abrupt("return",vi);case 16:case"end":return Qn.stop()}},F,this)}function Ue(pt,cn){return typeof pt>"u"?cn:typeof cn>"u"?pt:(Array.isArray(pt)||(pt=$(pt)),Array.isArray(cn)||(cn=[cn]),pt.concat(cn))}function En(pt,cn){var Tn,vi,ui,$i;return E().wrap(function(Hn){for(;;)switch(Hn.prev=Hn.next){case 0:Tn=$(),Hn.t0=E().keys(pt);case 2:if((Hn.t1=Hn.t0()).done){Hn.next=10;break}return ui=Li(cn,pt[vi=Hn.t1.value],vi,pt),Hn.delegateYield(cn.apply(this,ui),"t2",6);case 6:typeof($i=Hn.t2)<"u"&&Tn.push($i),Hn.next=2;break;case 10:return Hn.abrupt("return",Tn);case 11:case"end":return Hn.stop()}},U,this)}function os(pt,cn){var Tn,vi;return E().wrap(function(Hn){for(;;)switch(Hn.prev=Hn.next){case 0:if(!(typeof pt>"u")){Hn.next=2;break}return Hn.abrupt("return",void 0);case 2:if(!(pt.length<=1)){Hn.next=4;break}return Hn.abrupt("return",pt);case 4:if(!(typeof cn>"u")){Hn.next=10;break}if(j(pt)||B(pt)){Hn.next=7;break}throw{stack:(new Error).stack,code:"D3070",index:1};case 7:Tn=E().mark(function Qn(ri,li){return E().wrap(function(ei){for(;;)switch(ei.prev=ei.next){case 0:return ei.abrupt("return",ri>li);case 1:case"end":return ei.stop()}},Qn)}),Hn.next=11;break;case 10:Tn=cn;case 11:return vi=E().mark(function Qn(ri,li){var ei;return E().wrap(function(gn){for(;;)switch(gn.prev=gn.next){case 0:return gn.delegateYield(E().mark(function yn(hn,Bn,mi){return E().wrap(function(Si){for(;;)switch(Si.prev=Si.next){case 0:if(0!==Bn.length){Si.next=4;break}Array.prototype.push.apply(hn,mi),Si.next=16;break;case 4:if(0!==mi.length){Si.next=8;break}Array.prototype.push.apply(hn,Bn),Si.next=16;break;case 8:return Si.delegateYield(Tn(Bn[0],mi[0]),"t0",9);case 9:if(!Si.t0){Si.next=14;break}return hn.push(mi[0]),Si.delegateYield(yn(hn,Bn,mi.slice(1)),"t1",12);case 12:Si.next=16;break;case 14:return hn.push(Bn[0]),Si.delegateYield(yn(hn,Bn.slice(1),mi),"t2",16);case 16:case"end":return Si.stop()}},yn)})(ei=[],ri,li),"t0",3);case 3:return gn.abrupt("return",ei);case 4:case"end":return gn.stop()}},Qn)}),Hn.delegateYield(E().mark(function Qn(ri){var li,Fi,ei;return E().wrap(function(gn){for(;;)switch(gn.prev=gn.next){case 0:if(Array.isArray(ri)&&!(ri.length<=1)){gn.next=4;break}return gn.abrupt("return",ri);case 4:return li=Math.floor(ri.length/2),Fi=ri.slice(0,li),ei=ri.slice(li),gn.delegateYield(Qn(Fi),"t0",8);case 8:return Fi=gn.t0,gn.delegateYield(Qn(ei),"t1",10);case 10:return gn.delegateYield(vi(Fi,ei=gn.t1),"t2",12);case 12:return gn.abrupt("return",gn.t2);case 13:case"end":return gn.stop()}},Qn)})(pt),"t0",14);case 14:return Hn.abrupt("return",Hn.t0);case 16:case"end":return Hn.stop()}},k)}function oi(pt,cn){var Tn,vi,ui,$i;return E().wrap(function(Qn){for(;;)switch(Qn.prev=Qn.next){case 0:Tn={},Qn.t0=E().keys(pt);case 2:if((Qn.t1=Qn.t0()).done){Qn.next=11;break}return $i=Li(cn,ui=pt[vi=Qn.t1.value],vi,pt),Qn.delegateYield(cn.apply(this,$i),"t2",7);case 7:jn(Qn.t2)&&(Tn[vi]=ui),Qn.next=2;break;case 11:return 0===Object.keys(Tn).length&&(Tn=void 0),Qn.abrupt("return",Tn);case 13:case"end":return Qn.stop()}},Y,this)}return{sum:function ae(pt){if(!(typeof pt>"u")){var cn=0;return pt.forEach(function(Tn){cn+=Tn}),cn}},count:function K(pt){return typeof pt>"u"?0:pt.length},max:function de(pt){if(!(typeof pt>"u"||0===pt.length))return Math.max.apply(Math,pt)},min:function Me(pt){if(!(typeof pt>"u"||0===pt.length))return Math.min.apply(Math,pt)},average:function me(pt){if(!(typeof pt>"u"||0===pt.length)){var cn=0;return pt.forEach(function(Tn){cn+=Tn}),cn/pt.length}},string:function be(pt){var cn=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(typeof pt>"u")){var Tn;if("string"==typeof pt)Tn=pt;else if(ie(pt))Tn="";else{if("number"==typeof pt&&!isFinite(pt))throw{code:"D3001",value:pt,stack:(new Error).stack};var vi=cn?2:0;Array.isArray(pt)&&pt.outerWrapper&&(pt=pt[0]),Tn=JSON.stringify(pt,function(ui,$i){return typeof $i<"u"&&null!==$i&&$i.toPrecision&&x($i)?Number($i.toPrecision(15)):$i&&ie($i)?"":$i},vi)}return Tn}},substring:Le,substringBefore:function Ae(pt,cn){if(!(typeof pt>"u")){var Tn=pt.indexOf(cn);return Tn>-1?pt.substr(0,Tn):pt}},substringAfter:function Oe(pt,cn){if(!(typeof pt>"u")){var Tn=pt.indexOf(cn);return Tn>-1?pt.substr(Tn+cn.length):pt}},lowercase:function Xe(pt){if(!(typeof pt>"u"))return pt.toLowerCase()},uppercase:function Pe(pt){if(!(typeof pt>"u"))return pt.toUpperCase()},length:$e,trim:function ze(pt){if(!(typeof pt>"u")){var cn=pt.replace(/[ \t\n\r]+/gm," ");return" "===cn.charAt(0)&&(cn=cn.substring(1))," "===cn.charAt(cn.length-1)&&(cn=cn.substring(0,cn.length-1)),cn}},pad:function Be(pt,cn,Tn){if(!(typeof pt>"u")){(typeof Tn>"u"||0===Tn.length)&&(Tn=" ");var vi,ui=Math.abs(cn)-$e(pt);if(ui>0){var $i=new Array(ui+1).join(Tn);Tn.length>1&&($i=Le($i,0,ui)),vi=cn>0?pt+$i:$i+pt}else vi=pt;return vi}},match:Lt,contains:Ct,replace:Vt,split:Je,join:function Qe(pt,cn){if(!(typeof pt>"u"))return typeof cn>"u"&&(cn=""),pt.join(cn)},formatNumber:function rt(pt,cn,Tn){if(!(typeof pt>"u")){var ui={"decimal-separator":".","grouping-separator":",","exponent-separator":"e",infinity:"Infinity","minus-sign":"-",NaN:"NaN",percent:"%","per-mille":"\u2030","zero-digit":"0",digit:"#","pattern-separator":";"};typeof Tn<"u"&&Object.keys(Tn).forEach(function(Ci){ui[Ci]=Tn[Ci]});for(var $i=[],Nn=ui["zero-digit"].charCodeAt(0),Hn=Nn;Hn<Nn+10;Hn++)$i.push(String.fromCharCode(Hn));var Qn=$i.concat([ui["decimal-separator"],ui["exponent-separator"],ui["grouping-separator"],ui.digit,ui["pattern-separator"]]),ri=cn.split(ui["pattern-separator"]);if(ri.length>2)throw{code:"D3080",stack:(new Error).stack};var Hi=ri.map(function(Ui){var js,es,zs,Gi,ps=function(){for(var ao,wo=0;wo<Ui.length;wo++)if(ao=Ui.charAt(wo),-1!==Qn.indexOf(ao)&&ao!==ui["exponent-separator"])return Ui.substring(0,wo)}(),Ji=function(){for(var ao,wo=Ui.length-1;wo>=0;wo--)if(ao=Ui.charAt(wo),-1!==Qn.indexOf(ao)&&ao!==ui["exponent-separator"])return Ui.substring(wo+1)}(),_s=Ui.substring(ps.length,Ui.length-Ji.length),ds=Ui.indexOf(ui["exponent-separator"],ps.length);-1===ds||ds>Ui.length-Ji.length?(js=_s,es=void 0):(js=_s.substring(0,ds),es=_s.substring(ds+1));var rs=js.indexOf(ui["decimal-separator"]);return-1===rs?(zs=js,Gi=Ji):(zs=js.substring(0,rs),Gi=js.substring(rs+1)),{prefix:ps,suffix:Ji,activePart:_s,mantissaPart:js,exponentPart:es,integerPart:zs,fractionalPart:Gi,subpicture:Ui}});Hi.forEach(function(Ui){var ps,Ji,_s=Ui.subpicture,js=_s.indexOf(ui["decimal-separator"]);js!==_s.lastIndexOf(ui["decimal-separator"])&&(ps="D3081"),_s.indexOf(ui.percent)!==_s.lastIndexOf(ui.percent)&&(ps="D3082"),_s.indexOf(ui["per-mille"])!==_s.lastIndexOf(ui["per-mille"])&&(ps="D3083"),-1!==_s.indexOf(ui.percent)&&-1!==_s.indexOf(ui["per-mille"])&&(ps="D3084");var es=!1;for(Ji=0;Ji<Ui.mantissaPart.length;Ji++){var zs=Ui.mantissaPart.charAt(Ji);if(-1!==$i.indexOf(zs)||zs===ui.digit){es=!0;break}}es||(ps="D3085"),-1!==Ui.activePart.split("").map(function(ao){return-1===Qn.indexOf(ao)?"p":"a"}).join("").indexOf("p")&&(ps="D3086"),-1!==js?(_s.charAt(js-1)===ui["grouping-separator"]||_s.charAt(js+1)===ui["grouping-separator"])&&(ps="D3087"):Ui.integerPart.charAt(Ui.integerPart.length-1)===ui["grouping-separator"]&&(ps="D3088"),-1!==_s.indexOf(ui["grouping-separator"]+ui["grouping-separator"])&&(ps="D3089");var ds=Ui.integerPart.indexOf(ui.digit);-1!==ds&&Ui.integerPart.substring(0,ds).split("").filter(function(ao){return $i.indexOf(ao)>-1}).length>0&&(ps="D3090"),-1!==(ds=Ui.fractionalPart.lastIndexOf(ui.digit))&&Ui.fractionalPart.substring(ds).split("").filter(function(ao){return $i.indexOf(ao)>-1}).length>0&&(ps="D3091");var rs="string"==typeof Ui.exponentPart;if(rs&&Ui.exponentPart.length>0&&(-1!==_s.indexOf(ui.percent)||-1!==_s.indexOf(ui["per-mille"]))&&(ps="D3092"),rs&&(0===Ui.exponentPart.length||Ui.exponentPart.split("").filter(function(ao){return-1===$i.indexOf(ao)}).length>0)&&(ps="D3093"),ps)throw{code:ps,stack:(new Error).stack}});var wi,Si,Cn,ut,gn=Hi.map(function(Ui){var ps=function(Rr,A0){for(var oa=[],bi=Rr.indexOf(ui["grouping-separator"]);-1!==bi;){var Po=(A0?Rr.substring(0,bi):Rr.substring(bi)).split("").filter(function(Pn){return-1!==$i.indexOf(Pn)||Pn===ui.digit}).length;oa.push(Po),bi=Ui.integerPart.indexOf(ui["grouping-separator"],bi+1)}return oa},Ji=ps(Ui.integerPart),js=function(Rr){if(0===Rr.length)return 0;for(var oa=Rr.reduce(function Po(Pn,Ei){return 0===Ei?Pn:Po(Ei,Pn%Ei)}),bi=1;bi<=Rr.length;bi++)if(-1===Rr.indexOf(bi*oa))return 0;return oa}(Ji),es=ps(Ui.fractionalPart,!0),zs=Ui.integerPart.split("").filter(function(Ea){return-1!==$i.indexOf(Ea)}).length,Gi=zs,ds=Ui.fractionalPart.split(""),rs=ds.filter(function(Ea){return-1!==$i.indexOf(Ea)}).length,ao=ds.filter(function(Ea){return-1!==$i.indexOf(Ea)||Ea===ui.digit}).length,wo="string"==typeof Ui.exponentPart;0===zs&&0===ao&&(wo?(rs=1,ao=1):zs=1),wo&&0===zs&&-1!==Ui.integerPart.indexOf(ui.digit)&&(zs=1),0===zs&&0===rs&&(rs=1);var zr=0;return wo&&(zr=Ui.exponentPart.split("").filter(function(Ea){return-1!==$i.indexOf(Ea)}).length),{integerPartGroupingPositions:Ji,regularGrouping:js,minimumIntegerPartSize:zs,scalingFactor:Gi,prefix:Ui.prefix,fractionalPartGroupingPositions:es,minimumFactionalPartSize:rs,maximumFactionalPartSize:ao,minimumExponentSize:zr,suffix:Ui.suffix,picture:Ui.subpicture}}),yn=ui["minus-sign"],hn=ui["zero-digit"],Bn=ui["decimal-separator"],mi=ui["grouping-separator"];if(1===gn.length&&(gn.push(JSON.parse(JSON.stringify(gn[0]))),gn[1].prefix=yn+gn[1].prefix),Si=-1!==(wi=pt>=0?gn[0]:gn[1]).picture.indexOf(ui.percent)?100*pt:-1!==wi.picture.indexOf(ui["per-mille"])?1e3*pt:pt,0===wi.minimumExponentSize)Cn=Si;else{var Mt=Math.pow(10,wi.scalingFactor),Bt=Math.pow(10,wi.scalingFactor-1);for(Cn=Si,ut=0;Cn<Bt;)Cn*=10,ut-=1;for(;Cn>Mt;)Cn/=10,ut+=1}var Jt=function(Ui,ps){var Ji=Math.abs(Ui).toFixed(ps);return"0"!==hn&&(Ji=Ji.split("").map(function(_s){return _s>="0"&&_s<="9"?$i[_s.charCodeAt(0)-48]:_s}).join("")),Ji},He=Jt(Ze(Cn,wi.maximumFactionalPartSize),wi.maximumFactionalPartSize),fe=He.indexOf(".");for(-1===fe?He+=Bn:He=He.replace(".",Bn);He.charAt(0)===hn;)He=He.substring(1);for(;He.charAt(He.length-1)===hn;)He=He.substring(0,He.length-1);fe=He.indexOf(Bn);var nt=wi.minimumIntegerPartSize-fe,Ot=wi.minimumFactionalPartSize-(He.length-fe-1);if(He=(nt>0?new Array(nt+1).join(hn):"")+He,He+=Ot>0?new Array(Ot+1).join(hn):"",fe=He.indexOf(Bn),wi.regularGrouping>0)for(var rn=Math.floor((fe-1)/wi.regularGrouping),Jn=1;Jn<=rn;Jn++)He=[He.slice(0,fe-Jn*wi.regularGrouping),mi,He.slice(fe-Jn*wi.regularGrouping)].join("");else wi.integerPartGroupingPositions.forEach(function(Ci){He=[He.slice(0,fe-Ci),mi,He.slice(fe-Ci)].join(""),fe++});if(fe=He.indexOf(Bn),wi.fractionalPartGroupingPositions.forEach(function(Ci){He=[He.slice(0,Ci+fe+1),mi,He.slice(Ci+fe+1)].join("")}),fe=He.indexOf(Bn),(-1===wi.picture.indexOf(Bn)||fe===He.length-1)&&(He=He.substring(0,He.length-1)),typeof ut<"u"){var Oi=Jt(ut,0);(nt=wi.minimumExponentSize-Oi.length)>0&&(Oi=new Array(nt+1).join(hn)+Oi),He=He+ui["exponent-separator"]+(ut<0?yn:"")+Oi}return He=wi.prefix+He+wi.suffix}},formatBase:function ft(pt,cn){if(!(typeof pt>"u")){if(pt=Ze(pt),(cn=typeof cn>"u"?10:Ze(cn))<2||cn>36)throw{code:"D3100",stack:(new Error).stack,value:cn};return pt.toString(cn)}},number:function Xt(pt){var cn;if(!(typeof pt>"u")){if("number"==typeof pt)cn=pt;else if("string"==typeof pt&&/^-?[0-9]+(\.[0-9]+)?([Ee][-+]?[0-9]+)?$/.test(pt)&&!isNaN(parseFloat(pt))&&isFinite(pt))cn=parseFloat(pt);else if(!0===pt)cn=1;else{if(!1!==pt)throw{code:"D3030",value:pt,stack:(new Error).stack,index:1};cn=0}return cn}},floor:function In(pt){if(!(typeof pt>"u"))return Math.floor(pt)},ceil:function Kt(pt){if(!(typeof pt>"u"))return Math.ceil(pt)},round:Ze,abs:function It(pt){if(!(typeof pt>"u"))return Math.abs(pt)},sqrt:function wn(pt){if(!(typeof pt>"u")){if(pt<0)throw{stack:(new Error).stack,code:"D3060",index:1,value:pt};return Math.sqrt(pt)}},power:function zn(pt,cn){var Tn;if(!(typeof pt>"u")){if(Tn=Math.pow(pt,cn),!isFinite(Tn))throw{stack:(new Error).stack,code:"D3061",index:1,value:pt,exp:cn};return Tn}},random:function di(){return Math.random()},boolean:jn,not:function Di(pt){if(!(typeof pt>"u"))return!jn(pt)},map:ms,zip:function Wt(){for(var pt=[],cn=Array.prototype.slice.call(arguments),Tn=Math.min.apply(Math,cn.map(function($i){return Array.isArray($i)?$i.length:0})),vi=0;vi<Tn;vi++){var ui=cn.map(function($i){return $i[vi]});pt.push(ui)}return pt},filter:Rn,single:Qt,foldLeft:Yt,sift:oi,keys:function Mn(pt){var cn=$();if(Array.isArray(pt)){var Tn={};pt.forEach(function(vi){Mn(vi).forEach(function($i){Tn[$i]=!0})}),cn=Mn(Tn)}else null!==pt&&"object"===D(pt)&&!ne(pt)&&Object.keys(pt).forEach(function(vi){return cn.push(vi)});return cn},lookup:function ci(pt,cn){var Tn;if(Array.isArray(pt)){Tn=$();for(var vi=0;vi<pt.length;vi++){var ui=ci(pt[vi],cn);typeof ui<"u"&&(Array.isArray(ui)?ui.forEach(function($i){return Tn.push($i)}):Tn.push(ui))}}else null!==pt&&"object"===D(pt)&&(Tn=pt[cn]);return Tn},append:Ue,exists:function Un(pt){return!(typeof pt>"u")},spread:function _n(pt){var cn=$();if(Array.isArray(pt))pt.forEach(function(ui){cn=Ue(cn,_n(ui))});else if(null===pt||"object"!==D(pt)||ne(pt))cn=pt;else for(var Tn in pt){var vi={};vi[Tn]=pt[Tn],cn.push(vi)}return cn},merge:function Xn(pt){if(!(typeof pt>"u")){var cn={};return pt.forEach(function(Tn){for(var vi in Tn)cn[vi]=Tn[vi]}),cn}},reverse:function Ii(pt){if(!(typeof pt>"u")){if(pt.length<=1)return pt;for(var cn=pt.length,Tn=new Array(cn),vi=0;vi<cn;vi++)Tn[cn-vi-1]=pt[vi];return Tn}},each:En,error:function ln(pt){throw{code:"D3137",stack:(new Error).stack,message:pt||"$error() function evaluated"}},assert:function Dn(pt,cn){if(!pt)throw{code:"D3141",stack:(new Error).stack,message:cn||"$assert() statement failed"}},type:function Ai(pt){if(void 0!==pt)return null===pt?"null":x(pt)?"number":"string"==typeof pt?"string":"boolean"==typeof pt?"boolean":Array.isArray(pt)?"array":ie(pt)?"function":"object"},sort:os,shuffle:function Fs(pt){if(!(typeof pt>"u")){if(pt.length<=1)return pt;for(var cn=new Array(pt.length),Tn=0;Tn<pt.length;Tn++){var vi=Math.floor(Math.random()*(Tn+1));Tn!==vi&&(cn[Tn]=cn[vi]),cn[vi]=pt[Tn]}return cn}},distinct:function sn(pt){if(!(typeof pt>"u")){if(!Array.isArray(pt)||pt.length<=1)return pt;for(var cn=H(pt)?$():[],Tn=0;Tn<pt.length;Tn++){for(var vi=pt[Tn],ui=!1,$i=0;$i<cn.length;$i++)if(pe(vi,cn[$i])){ui=!0;break}ui||cn.push(vi)}return cn}},base64encode:function ht(pt){if(!(typeof pt>"u"))return(typeof window<"u"?window.btoa:function(Tn){return new O.Buffer.from(Tn,"binary").toString("base64")})(pt)},base64decode:function gt(pt){if(!(typeof pt>"u"))return(typeof window<"u"?window.atob:function(Tn){return new O.Buffer.from(Tn,"base64").toString("binary")})(pt)},encodeUrlComponent:function Ge(pt){if(!(typeof pt>"u")){var cn;try{cn=encodeURIComponent(pt)}catch{throw{code:"D3140",stack:(new Error).stack,value:pt,functionName:"encodeUrlComponent"}}return cn}},encodeUrl:function Se(pt){if(!(typeof pt>"u")){var cn;try{cn=encodeURI(pt)}catch{throw{code:"D3140",stack:(new Error).stack,value:pt,functionName:"encodeUrl"}}return cn}},decodeUrlComponent:function ke(pt){if(!(typeof pt>"u")){var cn;try{cn=decodeURIComponent(pt)}catch{throw{code:"D3140",stack:(new Error).stack,value:pt,functionName:"decodeUrlComponent"}}return cn}},decodeUrl:function Ne(pt){if(!(typeof pt>"u")){var cn;try{cn=decodeURI(pt)}catch{throw{code:"D3140",stack:(new Error).stack,value:pt,functionName:"decodeUrl"}}return cn}}}}();m.exports=I}).call(this)}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./utils":6}],3:[function(g,m,T){"use strict";function O(C){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(w){return typeof w}:function(w){return w&&"function"==typeof Symbol&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w})(C)}function D(){D=function(){return w};var C,w={},M=Object.prototype,q=M.hasOwnProperty,z=Object.defineProperty||function(ze,Be,Ye){ze[Be]=Ye.value},F="function"==typeof Symbol?Symbol:{},U=F.iterator||"@@iterator",k=F.asyncIterator||"@@asyncIterator",Y=F.toStringTag||"@@toStringTag";function x(ze,Be,Ye){return Object.defineProperty(ze,Be,{value:Ye,enumerable:!0,configurable:!0,writable:!0}),ze[Be]}try{x({},"")}catch{x=function(Ye,Ct,Lt){return Ye[Ct]=Lt}}function B(ze,Be,Ye,Ct){var Vt=Object.create((Be&&Be.prototype instanceof le?Be:le).prototype),ht=new Pe(Ct||[]);return z(Vt,"_invoke",{value:Le(ze,Ye,ht)}),Vt}function j(ze,Be,Ye){try{return{type:"normal",arg:ze.call(Be,Ye)}}catch(Ct){return{type:"throw",arg:Ct}}}w.wrap=B;var $="suspendedStart",H="suspendedYield",ie="executing",ne="completed",Q={};function le(){}function pe(){}function te(){}var ae={};x(ae,U,function(){return this});var K=Object.getPrototypeOf,de=K&&K(K($e([])));de&&de!==M&&q.call(de,U)&&(ae=de);var Me=te.prototype=le.prototype=Object.create(ae);function me(ze){["next","throw","return"].forEach(function(Be){x(ze,Be,function(Ye){return this._invoke(Be,Ye)})})}function be(ze,Be){function Ye(Lt,Vt,ht,gt){var Ge=j(ze[Lt],ze,Vt);if("throw"!==Ge.type){var Se=Ge.arg,ke=Se.value;return ke&&"object"==O(ke)&&q.call(ke,"__await")?Be.resolve(ke.__await).then(function(Ne){Ye("next",Ne,ht,gt)},function(Ne){Ye("throw",Ne,ht,gt)}):Be.resolve(ke).then(function(Ne){Se.value=Ne,ht(Se)},function(Ne){return Ye("throw",Ne,ht,gt)})}gt(Ge.arg)}var Ct;z(this,"_invoke",{value:function(Vt,ht){function gt(){return new Be(function(Ge,Se){Ye(Vt,ht,Ge,Se)})}return Ct=Ct?Ct.then(gt,gt):gt()}})}function Le(ze,Be,Ye){var Ct=$;return function(Lt,Vt){if(Ct===ie)throw new Error("Generator is already running");if(Ct===ne){if("throw"===Lt)throw Vt;return{value:C,done:!0}}for(Ye.method=Lt,Ye.arg=Vt;;){var ht=Ye.delegate;if(ht){var gt=Ae(ht,Ye);if(gt){if(gt===Q)continue;return gt}}if("next"===Ye.method)Ye.sent=Ye._sent=Ye.arg;else if("throw"===Ye.method){if(Ct===$)throw Ct=ne,Ye.arg;Ye.dispatchException(Ye.arg)}else"return"===Ye.method&&Ye.abrupt("return",Ye.arg);Ct=ie;var Ge=j(ze,Be,Ye);if("normal"===Ge.type){if(Ct=Ye.done?ne:H,Ge.arg===Q)continue;return{value:Ge.arg,done:Ye.done}}"throw"===Ge.type&&(Ct=ne,Ye.method="throw",Ye.arg=Ge.arg)}}}function Ae(ze,Be){var Ye=Be.method,Ct=ze.iterator[Ye];if(Ct===C)return Be.delegate=null,"throw"===Ye&&ze.iterator.return&&(Be.method="return",Be.arg=C,Ae(ze,Be),"throw"===Be.method)||"return"!==Ye&&(Be.method="throw",Be.arg=new TypeError("The iterator does not provide a '"+Ye+"' method")),Q;var Lt=j(Ct,ze.iterator,Be.arg);if("throw"===Lt.type)return Be.method="throw",Be.arg=Lt.arg,Be.delegate=null,Q;var Vt=Lt.arg;return Vt?Vt.done?(Be[ze.resultName]=Vt.value,Be.next=ze.nextLoc,"return"!==Be.method&&(Be.method="next",Be.arg=C),Be.delegate=null,Q):Vt:(Be.method="throw",Be.arg=new TypeError("iterator result is not an object"),Be.delegate=null,Q)}function Oe(ze){var Be={tryLoc:ze[0]};1 in ze&&(Be.catchLoc=ze[1]),2 in ze&&(Be.finallyLoc=ze[2],Be.afterLoc=ze[3]),this.tryEntries.push(Be)}function Xe(ze){var Be=ze.completion||{};Be.type="normal",delete Be.arg,ze.completion=Be}function Pe(ze){this.tryEntries=[{tryLoc:"root"}],ze.forEach(Oe,this),this.reset(!0)}function $e(ze){if(ze||""===ze){var Be=ze[U];if(Be)return Be.call(ze);if("function"==typeof ze.next)return ze;if(!isNaN(ze.length)){var Ye=-1,Ct=function Lt(){for(;++Ye<ze.length;)if(q.call(ze,Ye))return Lt.value=ze[Ye],Lt.done=!1,Lt;return Lt.value=C,Lt.done=!0,Lt};return Ct.next=Ct}}throw new TypeError(O(ze)+" is not iterable")}return pe.prototype=te,z(Me,"constructor",{value:te,configurable:!0}),z(te,"constructor",{value:pe,configurable:!0}),pe.displayName=x(te,Y,"GeneratorFunction"),w.isGeneratorFunction=function(ze){var Be="function"==typeof ze&&ze.constructor;return!!Be&&(Be===pe||"GeneratorFunction"===(Be.displayName||Be.name))},w.mark=function(ze){return Object.setPrototypeOf?Object.setPrototypeOf(ze,te):(ze.__proto__=te,x(ze,Y,"GeneratorFunction")),ze.prototype=Object.create(Me),ze},w.awrap=function(ze){return{__await:ze}},me(be.prototype),x(be.prototype,k,function(){return this}),w.AsyncIterator=be,w.async=function(ze,Be,Ye,Ct,Lt){void 0===Lt&&(Lt=Promise);var Vt=new be(B(ze,Be,Ye,Ct),Lt);return w.isGeneratorFunction(Be)?Vt:Vt.next().then(function(ht){return ht.done?ht.value:Vt.next()})},me(Me),x(Me,Y,"Generator"),x(Me,U,function(){return this}),x(Me,"toString",function(){return"[object Generator]"}),w.keys=function(ze){var Be=Object(ze),Ye=[];for(var Ct in Be)Ye.push(Ct);return Ye.reverse(),function Lt(){for(;Ye.length;){var Vt=Ye.pop();if(Vt in Be)return Lt.value=Vt,Lt.done=!1,Lt}return Lt.done=!0,Lt}},w.values=$e,Pe.prototype={constructor:Pe,reset:function(Be){if(this.prev=0,this.next=0,this.sent=this._sent=C,this.done=!1,this.delegate=null,this.method="next",this.arg=C,this.tryEntries.forEach(Xe),!Be)for(var Ye in this)"t"===Ye.charAt(0)&&q.call(this,Ye)&&!isNaN(+Ye.slice(1))&&(this[Ye]=C)},stop:function(){this.done=!0;var Be=this.tryEntries[0].completion;if("throw"===Be.type)throw Be.arg;return this.rval},dispatchException:function(Be){if(this.done)throw Be;var Ye=this;function Ct(Se,ke){return ht.type="throw",ht.arg=Be,Ye.next=Se,ke&&(Ye.method="next",Ye.arg=C),!!ke}for(var Lt=this.tryEntries.length-1;Lt>=0;--Lt){var Vt=this.tryEntries[Lt],ht=Vt.completion;if("root"===Vt.tryLoc)return Ct("end");if(Vt.tryLoc<=this.prev){var gt=q.call(Vt,"catchLoc"),Ge=q.call(Vt,"finallyLoc");if(gt&&Ge){if(this.prev<Vt.catchLoc)return Ct(Vt.catchLoc,!0);if(this.prev<Vt.finallyLoc)return Ct(Vt.finallyLoc)}else if(gt){if(this.prev<Vt.catchLoc)return Ct(Vt.catchLoc,!0)}else{if(!Ge)throw new Error("try statement without catch or finally");if(this.prev<Vt.finallyLoc)return Ct(Vt.finallyLoc)}}}},abrupt:function(Be,Ye){for(var Ct=this.tryEntries.length-1;Ct>=0;--Ct){var Lt=this.tryEntries[Ct];if(Lt.tryLoc<=this.prev&&q.call(Lt,"finallyLoc")&&this.prev<Lt.finallyLoc){var Vt=Lt;break}}Vt&&("break"===Be||"continue"===Be)&&Vt.tryLoc<=Ye&&Ye<=Vt.finallyLoc&&(Vt=null);var ht=Vt?Vt.completion:{};return ht.type=Be,ht.arg=Ye,Vt?(this.method="next",this.next=Vt.finallyLoc,Q):this.complete(ht)},complete:function(Be,Ye){if("throw"===Be.type)throw Be.arg;return"break"===Be.type||"continue"===Be.type?this.next=Be.arg:"return"===Be.type?(this.rval=this.arg=Be.arg,this.method="return",this.next="end"):"normal"===Be.type&&Ye&&(this.next=Ye),Q},finish:function(Be){for(var Ye=this.tryEntries.length-1;Ye>=0;--Ye){var Ct=this.tryEntries[Ye];if(Ct.finallyLoc===Be)return this.complete(Ct.completion,Ct.afterLoc),Xe(Ct),Q}},catch:function(Be){for(var Ye=this.tryEntries.length-1;Ye>=0;--Ye){var Ct=this.tryEntries[Ye];if(Ct.tryLoc===Be){var Lt=Ct.completion;if("throw"===Lt.type){var Vt=Lt.arg;Xe(Ct)}return Vt}}throw new Error("illegal catch attempt")},delegateYield:function(Be,Ye,Ct){return this.delegate={iterator:$e(Be),resultName:Ye,nextLoc:Ct},"next"===this.method&&(this.arg=C),Q}},w}var E=g("./datetime"),y=g("./functions"),I=g("./utils"),b=g("./parser"),L=g("./signature"),o=function(){var C=D().mark(Be),w=D().mark(Ye),M=D().mark(Lt),q=D().mark(Vt),z=D().mark(ht),F=D().mark(gt),U=D().mark(Ge),k=D().mark(Se),Y=D().mark(Ze),x=D().mark(di),B=D().mark(Li),j=D().mark(ms),$=D().mark(Rn),H=D().mark(Yt),ie=D().mark(Ue),ne=D().mark(Un),Q=D().mark(_n),le=D().mark(Xn),pe=D().mark(En),te=D().mark(Dn),ae=D().mark(Fs),K=D().mark(pt),de=I.isNumeric,Me=I.isArrayOfStrings,me=I.isArrayOfNumbers,be=I.createSequence,Le=I.isSequence,Ae=I.isFunction,Oe=I.isLambda,Xe=I.isIterable,Pe=I.getFunctionArity,$e=I.isDeepEqual,ze=Tn(null);function Be(Nn,Hn,Qn){var ri,li,Fi,ei;return D().wrap(function(gn){for(;;)switch(gn.prev=gn.next){case 0:(li=Qn.lookup("__evaluate_entry"))&&li(Nn,Hn,Qn),gn.t0=Nn.type,gn.next="path"===gn.t0?5:"binary"===gn.t0?8:"unary"===gn.t0?11:"name"===gn.t0?14:"string"===gn.t0||"number"===gn.t0||"value"===gn.t0?16:"wildcard"===gn.t0?18:"descendant"===gn.t0?20:"parent"===gn.t0?22:"condition"===gn.t0?24:"block"===gn.t0?27:"bind"===gn.t0?30:"regex"===gn.t0?33:"function"===gn.t0?35:"variable"===gn.t0?38:"lambda"===gn.t0?40:"partial"===gn.t0?42:"apply"===gn.t0?45:"transform"===gn.t0?48:50;break;case 5:return gn.delegateYield(Ye(Nn,Hn,Qn),"t1",6);case 6:return ri=gn.t1,gn.abrupt("break",50);case 8:return gn.delegateYield(Ge(Nn,Hn,Qn),"t2",9);case 9:return ri=gn.t2,gn.abrupt("break",50);case 11:return gn.delegateYield(Se(Nn,Hn,Qn),"t3",12);case 12:return ri=gn.t3,gn.abrupt("break",50);case 14:return ri=ke(Nn,Hn),gn.abrupt("break",50);case 16:return ri=Ne(Nn),gn.abrupt("break",50);case 18:return ri=Je(0,Hn),gn.abrupt("break",50);case 20:return ri=rt(0,Hn),gn.abrupt("break",50);case 22:return ri=Qn.lookup(Nn.slot.label),gn.abrupt("break",50);case 24:return gn.delegateYield(ms(Nn,Hn,Qn),"t4",25);case 25:return ri=gn.t4,gn.abrupt("break",50);case 27:return gn.delegateYield(Rn(Nn,Hn,Qn),"t5",28);case 28:return ri=gn.t5,gn.abrupt("break",50);case 30:return gn.delegateYield(Li(Nn,Hn,Qn),"t6",31);case 31:return ri=gn.t6,gn.abrupt("break",50);case 33:return ri=Qt(Nn),gn.abrupt("break",50);case 35:return gn.delegateYield(Un(Nn,Hn,Qn),"t7",36);case 36:return ri=gn.t7,gn.abrupt("break",50);case 38:return ri=Wt(Nn,Hn,Qn),gn.abrupt("break",50);case 40:return ri=Ii(Nn,Hn,Qn),gn.abrupt("break",50);case 42:return gn.delegateYield(En(Nn,Hn,Qn),"t8",43);case 43:return ri=gn.t8,gn.abrupt("break",50);case 45:return gn.delegateYield(Ue(Nn,Hn,Qn),"t9",46);case 46:return ri=gn.t9,gn.abrupt("break",50);case 48:return ri=Mn(Nn,0,Qn),gn.abrupt("break",50);case 50:if(Qn.async&&(typeof ri>"u"||null===ri||"function"!=typeof ri.then)&&(ri=Promise.resolve(ri)),!Qn.async||"function"!=typeof ri.then||!Nn.nextFunction||"function"!=typeof ri[Nn.nextFunction]){gn.next=54;break}gn.next=57;break;case 54:return gn.next=56,ri;case 56:ri=gn.sent;case 57:if(!Object.prototype.hasOwnProperty.call(Nn,"predicate")){gn.next=65;break}Fi=0;case 59:if(!(Fi<Nn.predicate.length)){gn.next=65;break}return gn.delegateYield(gt(Nn.predicate[Fi].expr,ri,Qn),"t10",61);case 61:ri=gn.t10;case 62:Fi++,gn.next=59;break;case 65:if("path"===Nn.type||!Object.prototype.hasOwnProperty.call(Nn,"group")){gn.next=68;break}return gn.delegateYield(di(Nn.group,ri,Qn),"t11",67);case 67:ri=gn.t11;case 68:return(ei=Qn.lookup("__evaluate_exit"))&&ei(Nn,Hn,Qn,ri),ri&&Le(ri)&&!ri.tupleStream&&(Nn.keepArray&&(ri.keepSingleton=!0),0===ri.length?ri=void 0:1===ri.length&&(ri=ri.keepSingleton?ri:ri[0])),gn.abrupt("return",ri);case 72:case"end":return gn.stop()}},C)}function Ye(Nn,Hn,Qn){var ri,li,Fi,ei,Hi,gn;return D().wrap(function(hn){for(;;)switch(hn.prev=hn.next){case 0:ri=Array.isArray(Hn)&&"variable"!==Nn.steps[0].type?Hn:be(Hn),Fi=!1,ei=void 0,Hi=0;case 4:if(!(Hi<Nn.steps.length)){hn.next=25;break}if((gn=Nn.steps[Hi]).tuple&&(Fi=!0),0!==Hi||!gn.consarray){hn.next=12;break}return hn.delegateYield(Be(gn,ri,Qn),"t0",9);case 9:li=hn.t0,hn.next=19;break;case 12:if(!Fi){hn.next=17;break}return hn.delegateYield(ht(gn,ri,ei,Qn),"t1",14);case 14:ei=hn.t1,hn.next=19;break;case 17:return hn.delegateYield(Lt(gn,ri,Qn,Hi===Nn.steps.length-1),"t2",18);case 18:li=hn.t2;case 19:if(Fi||!(typeof li>"u"||0===li.length)){hn.next=21;break}return hn.abrupt("break",25);case 21:typeof gn.focus>"u"&&(ri=li);case 22:Hi++,hn.next=4;break;case 25:if(Fi)if(Nn.tuple)li=ei;else for(li=be(),Hi=0;Hi<ei.length;Hi++)li.push(ei[Hi]["@"]);if(Nn.keepSingletonArray&&(Array.isArray(li)&&li.cons&&!li.sequence&&(li=be(li)),li.keepSingleton=!0),!Nn.hasOwnProperty("group")){hn.next=30;break}return hn.delegateYield(di(Nn.group,Fi?ei:li,Qn),"t3",29);case 29:li=hn.t3;case 30:return hn.abrupt("return",li);case 31:case"end":return hn.stop()}},w)}function Ct(Nn,Hn){var Qn=Tn(Nn);for(var ri in Hn)Qn.bind(ri,Hn[ri]);return Qn}function Lt(Nn,Hn,Qn,ri){var li,Fi,ei,Hi,gn;return D().wrap(function(hn){for(;;)switch(hn.prev=hn.next){case 0:if("sort"!==Nn.type){hn.next=7;break}return hn.delegateYield(Yt(Nn,Hn,Qn),"t0",2);case 2:if(li=hn.t0,!Nn.stages){hn.next=6;break}return hn.delegateYield(Vt(Nn.stages,li,Qn),"t1",5);case 5:li=hn.t1;case 6:return hn.abrupt("return",li);case 7:li=be(),Fi=0;case 9:if(!(Fi<Hn.length)){hn.next=24;break}return hn.delegateYield(Be(Nn,Hn[Fi],Qn),"t2",11);case 11:if(ei=hn.t2,!Nn.stages){hn.next=20;break}Hi=0;case 14:if(!(Hi<Nn.stages.length)){hn.next=20;break}return hn.delegateYield(gt(Nn.stages[Hi].expr,ei,Qn),"t3",16);case 16:ei=hn.t3;case 17:Hi++,hn.next=14;break;case 20:typeof ei<"u"&&li.push(ei);case 21:Fi++,hn.next=9;break;case 24:return gn=be(),ri&&1===li.length&&Array.isArray(li[0])&&!Le(li[0])?gn=li[0]:li.forEach(function(Bn){!Array.isArray(Bn)||Bn.cons?gn.push(Bn):Bn.forEach(function(mi){return gn.push(mi)})}),hn.abrupt("return",gn);case 27:case"end":return hn.stop()}},M)}function Vt(Nn,Hn,Qn){var ri,li,Fi,ei;return D().wrap(function(yn){for(;;)switch(yn.prev=yn.next){case 0:ri=Hn,li=0;case 2:if(!(li<Nn.length)){yn.next=15;break}yn.t0=(Fi=Nn[li]).type,yn.next="filter"===yn.t0?7:"index"===yn.t0?10:12;break;case 7:return yn.delegateYield(gt(Fi.expr,ri,Qn),"t1",8);case 8:return ri=yn.t1,yn.abrupt("break",12);case 10:for(ei=0;ei<ri.length;ei++)ri[ei][Fi.value]=ei;return yn.abrupt("break",12);case 12:li++,yn.next=2;break;case 15:return yn.abrupt("return",ri);case 16:case"end":return yn.stop()}},q)}function ht(Nn,Hn,Qn,ri){var li,Fi,ei,Hi,gn,yn,hn,Bn;return D().wrap(function(wi){for(;;)switch(wi.prev=wi.next){case 0:if("sort"!==Nn.type){wi.next=15;break}if(!Qn){wi.next=6;break}return wi.delegateYield(Yt(Nn,Qn,ri),"t0",3);case 3:li=wi.t0,wi.next=11;break;case 6:return wi.delegateYield(Yt(Nn,Hn,ri),"t1",7);case 7:for(Fi=wi.t1,(li=be()).tupleStream=!0,ei=0;ei<Fi.length;ei++)(Hi={"@":Fi[ei]})[Nn.index]=ei,li.push(Hi);case 11:if(!Nn.stages){wi.next=14;break}return wi.delegateYield(Vt(Nn.stages,li,ri),"t2",13);case 13:li=wi.t2;case 14:return wi.abrupt("return",li);case 15:(li=be()).tupleStream=!0,gn=ri,void 0===Qn&&(Qn=Hn.map(function(Si){return{"@":Si}})),yn=0;case 20:if(!(yn<Qn.length)){wi.next=28;break}return gn=Ct(ri,Qn[yn]),wi.delegateYield(Be(Nn,Qn[yn]["@"],gn),"t3",23);case 23:if(typeof(hn=wi.t3)<"u")for(Array.isArray(hn)||(hn=[hn]),Bn=0;Bn<hn.length;Bn++)Hi={},Object.assign(Hi,Qn[yn]),hn.tupleStream?Object.assign(Hi,hn[Bn]):(Nn.focus?(Hi[Nn.focus]=hn[Bn],Hi["@"]=Qn[yn]["@"]):Hi["@"]=hn[Bn],Nn.index&&(Hi[Nn.index]=Bn),Nn.ancestor&&(Hi[Nn.ancestor.label]=Qn[yn]["@"])),li.push(Hi);case 25:yn++,wi.next=20;break;case 28:if(!Nn.stages){wi.next=31;break}return wi.delegateYield(Vt(Nn.stages,li,ri),"t4",30);case 30:li=wi.t4;case 31:return wi.abrupt("return",li);case 32:case"end":return wi.stop()}},z)}function gt(Nn,Hn,Qn){var ri,li,Fi,ei,Hi,gn;return D().wrap(function(hn){for(;;)switch(hn.prev=hn.next){case 0:if(ri=be(),Hn&&Hn.tupleStream&&(ri.tupleStream=!0),Array.isArray(Hn)||(Hn=be(Hn)),"number"!==Nn.type){hn.next=10;break}(li=Math.floor(Nn.value))<0&&(li=Hn.length+li),typeof(Fi=Hn[li])<"u"&&(Array.isArray(Fi)?ri=Fi:ri.push(Fi)),hn.next=23;break;case 10:li=0;case 11:if(!(li<Hn.length)){hn.next=23;break}return ei=Fi=Hn[li],Hi=Qn,Hn.tupleStream&&(ei=Fi["@"],Hi=Ct(Qn,Fi)),hn.delegateYield(Be(Nn,ei,Hi),"t0",17);case 17:de(gn=hn.t0)&&(gn=[gn]),me(gn)?gn.forEach(function(Bn){var mi=Math.floor(Bn);mi<0&&(mi=Hn.length+mi),mi===li&&ri.push(Fi)}):y.boolean(gn)&&ri.push(Fi);case 20:li++,hn.next=11;break;case 23:return hn.abrupt("return",ri);case 24:case"end":return hn.stop()}},F)}function Ge(Nn,Hn,Qn){var ri,li,Fi,ei,Hi;return D().wrap(function(yn){for(;;)switch(yn.prev=yn.next){case 0:return yn.delegateYield(Be(Nn.lhs,Hn,Qn),"t0",1);case 1:if(li=yn.t0,Fi=Nn.value,ei=D().mark(function hn(){return D().wrap(function(mi){for(;;)switch(mi.prev=mi.next){case 0:return mi.delegateYield(Be(Nn.rhs,Hn,Qn),"t0",1);case 1:return mi.abrupt("return",mi.t0);case 2:case"end":return mi.stop()}},hn)}),"and"!==Fi&&"or"!==Fi){yn.next=15;break}return yn.prev=5,yn.delegateYield(Ze(li,ei,Fi),"t1",7);case 7:return yn.abrupt("return",yn.t1);case 10:throw yn.prev=10,yn.t2=yn.catch(5),yn.t2.position=Nn.position,yn.t2.token=Fi,yn.t2;case 15:return yn.delegateYield(ei(),"t3",16);case 16:Hi=yn.t3,yn.prev=17,yn.t4=Fi,yn.next="+"===yn.t4||"-"===yn.t4||"*"===yn.t4||"/"===yn.t4||"%"===yn.t4?21:"="===yn.t4||"!="===yn.t4?23:"<"===yn.t4||"<="===yn.t4||">"===yn.t4||">="===yn.t4?25:"&"===yn.t4?27:".."===yn.t4?29:"in"===yn.t4?31:33;break;case 21:return ri=Xt(li,Hi,Fi),yn.abrupt("break",33);case 23:return ri=It(li,Hi,Fi),yn.abrupt("break",33);case 25:return ri=In(li,Hi,Fi),yn.abrupt("break",33);case 27:return ri=zn(li,Hi),yn.abrupt("break",33);case 29:return ri=Di(li,Hi),yn.abrupt("break",33);case 31:return ri=Kt(li,Hi),yn.abrupt("break",33);case 33:yn.next=40;break;case 35:throw yn.prev=35,yn.t5=yn.catch(17),yn.t5.position=Nn.position,yn.t5.token=Fi,yn.t5;case 40:return yn.abrupt("return",ri);case 41:case"end":return yn.stop()}},U,null,[[5,10],[17,35]])}function Se(Nn,Hn,Qn){var ri,li,Fi,ei;return D().wrap(function(gn){for(;;)switch(gn.prev=gn.next){case 0:gn.t0=Nn.value,gn.next="-"===gn.t0?3:"["===gn.t0?15:"{"===gn.t0?27:30;break;case 3:return gn.delegateYield(Be(Nn.expression,Hn,Qn),"t1",4);case 4:if(!(typeof(ri=gn.t1)>"u")){gn.next=9;break}ri=void 0,gn.next=14;break;case 9:if(!de(ri)){gn.next=13;break}ri=-ri,gn.next=14;break;case 13:throw{code:"D1002",stack:(new Error).stack,position:Nn.position,token:Nn.value,value:ri};case 14:return gn.abrupt("break",30);case 15:ri=[],li=0;case 17:if(!(li<Nn.expressions.length)){gn.next=25;break}return gn.delegateYield(Be(Fi=Nn.expressions[li],Hn,Qn),"t2",20);case 20:typeof(ei=gn.t2)<"u"&&("["===Fi.value?ri.push(ei):ri=y.append(ri,ei));case 22:li++,gn.next=17;break;case 25:return Nn.consarray&&Object.defineProperty(ri,"cons",{enumerable:!1,configurable:!1,value:!0}),gn.abrupt("break",30);case 27:return gn.delegateYield(di(Nn,Hn,Qn),"t3",28);case 28:return ri=gn.t3,gn.abrupt("break",30);case 30:return gn.abrupt("return",ri);case 31:case"end":return gn.stop()}},k)}function ke(Nn,Hn,Qn){return y.lookup(Hn,Nn.value)}function Ne(Nn){return Nn.value}function Je(Nn,Hn){var Qn=be();return Array.isArray(Hn)&&Hn.outerWrapper&&Hn.length>0&&(Hn=Hn[0]),null!==Hn&&"object"===O(Hn)&&Object.keys(Hn).forEach(function(ri){var li=Hn[ri];Array.isArray(li)?(li=Qe(li),Qn=y.append(Qn,li)):Qn.push(li)}),Qn}function Qe(Nn,Hn){return typeof Hn>"u"&&(Hn=[]),Array.isArray(Nn)?Nn.forEach(function(Qn){Qe(Qn,Hn)}):Hn.push(Nn),Hn}function rt(Nn,Hn){var Qn,ri=be();return typeof Hn<"u"&&(ft(Hn,ri),Qn=1===ri.length?ri[0]:ri),Qn}function ft(Nn,Hn){Array.isArray(Nn)||Hn.push(Nn),Array.isArray(Nn)?Nn.forEach(function(Qn){ft(Qn,Hn)}):null!==Nn&&"object"===O(Nn)&&Object.keys(Nn).forEach(function(Qn){ft(Nn[Qn],Hn)})}function Xt(Nn,Hn,Qn){var ri;if(typeof Nn<"u"&&!de(Nn))throw{code:"T2001",stack:(new Error).stack,value:Nn};if(typeof Hn<"u"&&!de(Hn))throw{code:"T2002",stack:(new Error).stack,value:Hn};if(typeof Nn>"u"||typeof Hn>"u")return ri;switch(Qn){case"+":ri=Nn+Hn;break;case"-":ri=Nn-Hn;break;case"*":ri=Nn*Hn;break;case"/":ri=Nn/Hn;break;case"%":ri=Nn%Hn}return ri}function It(Nn,Hn,Qn){var ri,li=O(Nn),Fi=O(Hn);if("undefined"===li||"undefined"===Fi)return!1;switch(Qn){case"=":ri=$e(Nn,Hn);break;case"!=":ri=!$e(Nn,Hn)}return ri}function In(Nn,Hn,Qn){var ri,li=O(Nn),Fi=O(Hn);if("undefined"!==li&&"string"!==li&&"number"!==li||"undefined"!==Fi&&"string"!==Fi&&"number"!==Fi)throw{code:"T2010",stack:(new Error).stack,value:"string"===li||"number"===li?Hn:Nn};if("undefined"!==li&&"undefined"!==Fi){if(li!==Fi)throw{code:"T2009",stack:(new Error).stack,value:Nn,value2:Hn};switch(Qn){case"<":ri=Nn<Hn;break;case"<=":ri=Nn<=Hn;break;case">":ri=Nn>Hn;break;case">=":ri=Nn>=Hn}return ri}}function Kt(Nn,Hn){var Qn=!1;if(typeof Nn>"u"||typeof Hn>"u")return!1;Array.isArray(Hn)||(Hn=[Hn]);for(var ri=0;ri<Hn.length;ri++)if(Hn[ri]===Nn){Qn=!0;break}return Qn}function Ze(Nn,Hn,Qn){var ri,li;return D().wrap(function(ei){for(;;)switch(ei.prev=ei.next){case 0:li=wn(Nn),ei.t0=Qn,ei.next="and"===ei.t0?4:"or"===ei.t0?12:20;break;case 4:if(ei.t1=li,!ei.t1){ei.next=10;break}return ei.t2=wn,ei.delegateYield(Hn(),"t3",8);case 8:ei.t4=ei.t3,ei.t1=(0,ei.t2)(ei.t4);case 10:return ri=ei.t1,ei.abrupt("break",20);case 12:if(ei.t5=li,ei.t5){ei.next=18;break}return ei.t6=wn,ei.delegateYield(Hn(),"t7",16);case 16:ei.t8=ei.t7,ei.t5=(0,ei.t6)(ei.t8);case 18:return ri=ei.t5,ei.abrupt("break",20);case 20:return ei.abrupt("return",ri);case 21:case"end":return ei.stop()}},Y)}function wn(Nn){var Hn=y.boolean(Nn);return!(typeof Hn>"u")&&Hn}function zn(Nn,Hn){var ri="",li="";return typeof Nn<"u"&&(ri=y.string(Nn)),typeof Hn<"u"&&(li=y.string(Hn)),ri.concat(li)}function di(Nn,Hn,Qn){var ri,li,Fi,ei,Hi,gn,yn,Bn,mi,wi,Si,Cn;return D().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:ri={},li={},Fi=!(!Hn||!Hn.tupleStream),Array.isArray(Hn)||(Hn=be(Hn)),0===Hn.length&&Hn.push(void 0),ei=0;case 6:if(!(ei<Hn.length)){Mt.next=31;break}Hi=Hn[ei],gn=Fi?Ct(Qn,Hi):Qn,yn=0;case 10:if(!(yn<Nn.lhs.length)){Mt.next=28;break}return Mt.delegateYield(Be(Nn.lhs[yn][0],Fi?Hi["@"]:Hi,gn),"t0",13);case 13:if("string"==typeof(Bn=Mt.t0)||void 0===Bn){Mt.next=16;break}throw{code:"T1003",stack:(new Error).stack,position:Nn.position,value:Bn};case 16:if(void 0===Bn){Mt.next=25;break}if(mi={data:Hi,exprIndex:yn},!li.hasOwnProperty(Bn)){Mt.next=24;break}if(li[Bn].exprIndex===yn){Mt.next=21;break}throw{code:"D1009",stack:(new Error).stack,position:Nn.position,value:Bn};case 21:li[Bn].data=y.append(li[Bn].data,Hi),Mt.next=25;break;case 24:li[Bn]=mi;case 25:yn++,Mt.next=10;break;case 28:ei++,Mt.next=6;break;case 31:Mt.t1=D().keys(li);case 32:if((Mt.t2=Mt.t1()).done){Mt.next=43;break}return wi=(mi=li[Bn=Mt.t2.value]).data,gn=Qn,Fi&&(Si=jn(mi.data),wi=Si["@"],delete Si["@"],gn=Ct(Qn,Si)),Mt.delegateYield(Be(Nn.lhs[mi.exprIndex][1],wi,gn),"t3",39);case 39:typeof(Cn=Mt.t3)<"u"&&(ri[Bn]=Cn),Mt.next=32;break;case 43:return Mt.abrupt("return",ri);case 44:case"end":return Mt.stop()}},x)}function jn(Nn){if(!Array.isArray(Nn))return Nn;var Hn={};Object.assign(Hn,Nn[0]);for(var Qn=1;Qn<Nn.length;Qn++)for(var ri in Nn[Qn])Hn[ri]=y.append(Hn[ri],Nn[Qn][ri]);return Hn}function Di(Nn,Hn){var Qn;if(typeof Nn<"u"&&!Number.isInteger(Nn))throw{code:"T2003",stack:(new Error).stack,value:Nn};if(typeof Hn<"u"&&!Number.isInteger(Hn))throw{code:"T2004",stack:(new Error).stack,value:Hn};if(typeof Nn>"u"||typeof Hn>"u"||Nn>Hn)return Qn;var ri=Hn-Nn+1;if(ri>1e7)throw{code:"D2014",stack:(new Error).stack,value:ri};Qn=new Array(ri);for(var li=Nn,Fi=0;li<=Hn;li++,Fi++)Qn[Fi]=li;return Qn.sequence=!0,Qn}function Li(Nn,Hn,Qn){var ri;return D().wrap(function(Fi){for(;;)switch(Fi.prev=Fi.next){case 0:return Fi.delegateYield(Be(Nn.rhs,Hn,Qn),"t0",1);case 1:return Qn.bind(Nn.lhs.value,ri=Fi.t0),Fi.abrupt("return",ri);case 4:case"end":return Fi.stop()}},B)}function ms(Nn,Hn,Qn){var ri;return D().wrap(function(ei){for(;;)switch(ei.prev=ei.next){case 0:return ei.delegateYield(Be(Nn.condition,Hn,Qn),"t0",1);case 1:if(!y.boolean(ei.t0)){ei.next=7;break}return ei.delegateYield(Be(Nn.then,Hn,Qn),"t1",4);case 4:ri=ei.t1,ei.next=10;break;case 7:if(!(typeof Nn.else<"u")){ei.next=10;break}return ei.delegateYield(Be(Nn.else,Hn,Qn),"t2",9);case 9:ri=ei.t2;case 10:return ei.abrupt("return",ri);case 11:case"end":return ei.stop()}},j)}function Rn(Nn,Hn,Qn){var ri,li,Fi;return D().wrap(function(Hi){for(;;)switch(Hi.prev=Hi.next){case 0:li=Tn(Qn),Fi=0;case 2:if(!(Fi<Nn.expressions.length)){Hi.next=8;break}return Hi.delegateYield(Be(Nn.expressions[Fi],Hn,li),"t0",4);case 4:ri=Hi.t0;case 5:Fi++,Hi.next=2;break;case 8:return Hi.abrupt("return",ri);case 9:case"end":return Hi.stop()}},$)}function Qt(Nn){var Hn=new $i.RegexEngine(Nn.value);return function ri(li,Fi){var ei;Hn.lastIndex=Fi||0;var Hi=Hn.exec(li);if(null!==Hi){if(ei={match:Hi[0],start:Hi.index,end:Hi.index+Hi[0].length,groups:[]},Hi.length>1)for(var gn=1;gn<Hi.length;gn++)ei.groups.push(Hi[gn]);ei.next=function(){if(!(Hn.lastIndex>=li.length)){var yn=ri(li,Hn.lastIndex);if(yn&&""===yn.match)throw{code:"D1004",stack:(new Error).stack,position:Nn.position,value:Nn.value.source};return yn}}}return ei}}function Wt(Nn,Hn,Qn){return""===Nn.value?Hn&&Hn.outerWrapper?Hn[0]:Hn:Qn.lookup(Nn.value)}function Yt(Nn,Hn,Qn){var Fi;return D().wrap(function(yn){for(;;)switch(yn.prev=yn.next){case 0:return Fi=!!Hn.tupleStream,yn.delegateYield(y.sort.apply({environment:Qn,input:Hn},[Hn,D().mark(function hn(Bn,mi){var wi,Si,Cn,ut,Mt,Bt,Rt,Jt,He;return D().wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:wi=0,Si=0;case 2:if(!(0===wi&&Si<Nn.terms.length)){nt.next=35;break}return Cn=Nn.terms[Si],ut=Bn,Mt=Qn,Fi&&(ut=Bn["@"],Mt=Ct(Qn,Bn)),nt.delegateYield(Be(Cn.expression,ut,Mt),"t0",8);case 8:return Bt=nt.t0,ut=mi,Mt=Qn,Fi&&(ut=mi["@"],Mt=Ct(Qn,mi)),nt.delegateYield(Be(Cn.expression,ut,Mt),"t1",13);case 13:if(Rt=nt.t1,Jt=O(Bt),He=O(Rt),"undefined"!==Jt){nt.next=19;break}return wi="undefined"===He?0:1,nt.abrupt("continue",32);case 19:if("undefined"!==He){nt.next=22;break}return wi=-1,nt.abrupt("continue",32);case 22:if(!("string"!==Jt&&"number"!==Jt||"string"!==He&&"number"!==He)){nt.next=24;break}throw{code:"T2008",stack:(new Error).stack,position:Nn.position,value:"string"===Jt||"number"===Jt?Rt:Bt};case 24:if(Jt===He){nt.next=26;break}throw{code:"T2007",stack:(new Error).stack,position:Nn.position,value:Bt,value2:Rt};case 26:if(Bt!==Rt){nt.next=30;break}return nt.abrupt("continue",32);case 30:wi=Bt<Rt?-1:1;case 31:!0===Cn.descending&&(wi=-wi);case 32:Si++,nt.next=2;break;case 35:return nt.abrupt("return",1===wi);case 36:case"end":return nt.stop()}},hn)})]),"t0",5);case 5:return yn.abrupt("return",yn.t0);case 7:case"end":return yn.stop()}},H)}function Mn(Nn,Hn,Qn){return oi(D().mark(function li(Fi){var ei,Hi,gn,yn,hn,Bn,mi,wi,Si,Cn,ut;return D().wrap(function(Bt){for(;;)switch(Bt.prev=Bt.next){case 0:if(!(typeof Fi>"u")){Bt.next=2;break}return Bt.abrupt("return",void 0);case 2:if(ei=Qn.lookup("clone"),Ae(ei)){Bt.next=5;break}throw{code:"T2013",stack:(new Error).stack,position:Nn.position};case 5:return Bt.delegateYield(_n(ei,[Fi],null,Qn),"t0",6);case 6:return Bt.delegateYield(Be(Nn.pattern,Hi=Bt.t0,Qn),"t1",8);case 8:if(!(typeof(gn=Bt.t1)<"u")){Bt.next=35;break}Array.isArray(gn)||(gn=[gn]),yn=0;case 12:if(!(yn<gn.length)){Bt.next=35;break}if(!(hn=gn[yn])||!(hn.isPrototypeOf(Hi)||hn instanceof Object.constructor)){Bt.next=16;break}throw{code:"D1010",stack:(new Error).stack,position:Nn.position};case 16:return Bt.delegateYield(Be(Nn.update,hn,Qn),"t2",17);case 17:if("undefined"===(mi=O(Bn=Bt.t2))){Bt.next=23;break}if("object"===mi&&null!==Bn&&!Array.isArray(Bn)){Bt.next=22;break}throw{code:"T2011",stack:(new Error).stack,position:Nn.update.position,value:Bn};case 22:for(wi in Bn)hn[wi]=Bn[wi];case 23:if(!(typeof Nn.delete<"u")){Bt.next=32;break}return Bt.delegateYield(Be(Nn.delete,hn,Qn),"t3",25);case 25:if(!(typeof(Si=Bt.t3)<"u")){Bt.next=32;break}if(Cn=Si,Array.isArray(Si)||(Si=[Si]),Me(Si)){Bt.next=31;break}throw{code:"T2012",stack:(new Error).stack,position:Nn.delete.position,value:Cn};case 31:for(ut=0;ut<Si.length;ut++)"object"===O(hn)&&null!==hn&&delete hn[Si[ut]];case 32:yn++,Bt.next=12;break;case 35:return Bt.abrupt("return",Hi);case 36:case"end":return Bt.stop()}},li)}),"<(oa):o>")}var ci=b("function($f, $g) { function($x){ $g($f($x)) } }");function Ue(Nn,Hn,Qn){var ri,li,Fi;return D().wrap(function(gn){for(;;)switch(gn.prev=gn.next){case 0:return gn.delegateYield(Be(Nn.lhs,Hn,Qn),"t0",1);case 1:if(li=gn.t0,"function"!==Nn.rhs.type){gn.next=7;break}return gn.delegateYield(Un(Nn.rhs,Hn,Qn,{context:li}),"t1",4);case 4:ri=gn.t1,gn.next=20;break;case 7:return gn.delegateYield(Be(Nn.rhs,Hn,Qn),"t2",8);case 8:if(Ae(Fi=gn.t2)){gn.next=11;break}throw{code:"T2006",stack:(new Error).stack,position:Nn.position,value:Fi};case 11:if(!Ae(li)){gn.next=18;break}return gn.delegateYield(Be(ci,null,Qn),"t3",13);case 13:return gn.delegateYield(_n(gn.t3,[li,Fi],null,Qn),"t4",15);case 15:ri=gn.t4,gn.next=20;break;case 18:return gn.delegateYield(_n(Fi,[li],null,Qn),"t5",19);case 19:ri=gn.t5;case 20:return gn.abrupt("return",ri);case 21:case"end":return gn.stop()}},ie)}function Un(Nn,Hn,Qn,ri){var li,Fi,ei,Hi,gn,yn;return D().wrap(function(Bn){for(;;)switch(Bn.prev=Bn.next){case 0:return Bn.delegateYield(Be(Nn.procedure,Hn,Qn),"t0",1);case 1:if(!(typeof(Fi=Bn.t0)>"u"&&"path"===Nn.procedure.type&&Qn.lookup(Nn.procedure.steps[0].value))){Bn.next=4;break}throw{code:"T1005",stack:(new Error).stack,position:Nn.position,token:Nn.procedure.steps[0].value};case 4:ei=[],typeof ri<"u"&&ei.push(ri.context),Hi=D().mark(function mi(){var wi,Si;return D().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:return ut.delegateYield(Be(Nn.arguments[gn],Hn,Qn),"t0",1);case 1:Ae(wi=ut.t0)?(Si=D().mark(function Mt(){var Bt,Rt,Jt,He=arguments;return D().wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:for(Bt=He.length,Rt=new Array(Bt),Jt=0;Jt<Bt;Jt++)Rt[Jt]=He[Jt];return nt.delegateYield(_n(wi,Rt,null,Qn),"t0",2);case 2:return nt.abrupt("return",nt.t0);case 3:case"end":return nt.stop()}},Mt)}),Si.arity=Pe(wi),ei.push(Si)):ei.push(wi);case 3:case"end":return ut.stop()}},mi)}),gn=0;case 8:if(!(gn<Nn.arguments.length)){Bn.next=13;break}return Bn.delegateYield(Hi(),"t1",10);case 10:gn++,Bn.next=8;break;case 13:return yn="path"===Nn.procedure.type?Nn.procedure.steps[0].value:Nn.procedure.value,Bn.prev=14,"object"===O(Fi)&&(Fi.token=yn,Fi.position=Nn.position),Bn.delegateYield(_n(Fi,ei,Hn,Qn),"t2",17);case 17:li=Bn.t2,Bn.next=25;break;case 20:throw Bn.prev=20,Bn.t3=Bn.catch(14),Bn.t3.position||(Bn.t3.position=Nn.position),Bn.t3.token||(Bn.t3.token=yn),Bn.t3;case 25:return Bn.abrupt("return",li);case 26:case"end":return Bn.stop()}},ne,null,[[14,20]])}function _n(Nn,Hn,Qn,ri){var li,Fi,ei,Hi;return D().wrap(function(yn){for(;;)switch(yn.prev=yn.next){case 0:return yn.delegateYield(Xn(Nn,Hn,Qn,ri),"t0",1);case 1:li=yn.t0;case 2:if(!Oe(li)||!0!==li.thunk){yn.next=21;break}return yn.delegateYield(Be(li.body.procedure,li.input,li.environment),"t1",4);case 4:Fi=yn.t1,"variable"===li.body.procedure.type&&(Fi.token=li.body.procedure.value),Fi.position=li.body.procedure.position,ei=[],Hi=0;case 9:if(!(Hi<li.body.arguments.length)){yn.next=17;break}return yn.t2=ei,yn.delegateYield(Be(li.body.arguments[Hi],li.input,li.environment),"t3",12);case 12:yn.t4=yn.t3,yn.t2.push.call(yn.t2,yn.t4);case 14:Hi++,yn.next=9;break;case 17:return yn.delegateYield(Xn(Fi,ei,Qn,ri),"t5",18);case 18:li=yn.t5,yn.next=2;break;case 21:return yn.abrupt("return",li);case 22:case"end":return yn.stop()}},Q)}function Xn(Nn,Hn,Qn,ri){var li,Fi;return D().wrap(function(gn){for(;;)switch(gn.prev=gn.next){case 0:if(gn.prev=0,Fi=Hn,Nn&&(Fi=ln(Nn.signature,Hn,Qn)),!Oe(Nn)){gn.next=8;break}return gn.delegateYield(Dn(Nn,Fi),"t0",5);case 5:li=gn.t0,gn.next=24;break;case 8:if(!Nn||!0!==Nn._jsonata_function){gn.next=16;break}if(li=Nn.implementation.apply({environment:ri,input:Qn},Fi),!Xe(li)){gn.next=14;break}return gn.delegateYield(li,"t1",13);case 13:li=gn.t1;case 14:gn.next=24;break;case 16:if("function"!=typeof Nn){gn.next=23;break}if(li=Nn.apply(Qn,Fi),!Xe(li)){gn.next=21;break}return gn.delegateYield(li,"t2",20);case 20:li=gn.t2;case 21:gn.next=24;break;case 23:throw{code:"T1006",stack:(new Error).stack};case 24:gn.next=30;break;case 26:throw gn.prev=26,gn.t3=gn.catch(0),Nn&&(typeof gn.t3.token>"u"&&typeof Nn.token<"u"&&(gn.t3.token=Nn.token),gn.t3.position=Nn.position||gn.t3.position),gn.t3;case 30:return gn.abrupt("return",li);case 31:case"end":return gn.stop()}},le,null,[[0,26]])}function Ii(Nn,Hn,Qn){var ri={_jsonata_lambda:!0,input:Hn,environment:Qn,arguments:Nn.arguments,signature:Nn.signature,body:Nn.body};return!0===Nn.thunk&&(ri.thunk=!0),ri.apply=D().mark(function li(Fi,ei){return D().wrap(function(gn){for(;;)switch(gn.prev=gn.next){case 0:return gn.delegateYield(_n(ri,ei,Hn,Fi.environment),"t0",1);case 1:return gn.abrupt("return",gn.t0);case 2:case"end":return gn.stop()}},li)}),ri}function En(Nn,Hn,Qn){var ri,li,Fi,ei,Hi;return D().wrap(function(yn){for(;;)switch(yn.prev=yn.next){case 0:li=[],Fi=0;case 2:if(!(Fi<Nn.arguments.length)){yn.next=15;break}if("operator"!==(ei=Nn.arguments[Fi]).type||"?"!==ei.value){yn.next=8;break}li.push(ei),yn.next=12;break;case 8:return yn.t0=li,yn.delegateYield(Be(ei,Hn,Qn),"t1",10);case 10:yn.t2=yn.t1,yn.t0.push.call(yn.t0,yn.t2);case 12:Fi++,yn.next=2;break;case 15:return yn.delegateYield(Be(Nn.procedure,Hn,Qn),"t3",16);case 16:if(!(typeof(Hi=yn.t3)>"u"&&"path"===Nn.procedure.type&&Qn.lookup(Nn.procedure.steps[0].value))){yn.next=19;break}throw{code:"T1007",stack:(new Error).stack,position:Nn.position,token:Nn.procedure.steps[0].value};case 19:if(!Oe(Hi)){yn.next=23;break}ri=Ai(Hi,li),yn.next=32;break;case 23:if(!Hi||!0!==Hi._jsonata_function){yn.next=27;break}ri=os(Hi.implementation,li),yn.next=32;break;case 27:if("function"!=typeof Hi){yn.next=31;break}ri=os(Hi,li),yn.next=32;break;case 31:throw{code:"T1008",stack:(new Error).stack,position:Nn.position,token:"path"===Nn.procedure.type?Nn.procedure.steps[0].value:Nn.procedure.value};case 32:return yn.abrupt("return",ri);case 33:case"end":return yn.stop()}},pe)}function ln(Nn,Hn,Qn){return typeof Nn>"u"?Hn:Nn.validate(Hn,Qn)}function Dn(Nn,Hn){var Qn,ri;return D().wrap(function(Fi){for(;;)switch(Fi.prev=Fi.next){case 0:if(ri=Tn(Nn.environment),Nn.arguments.forEach(function(ei,Hi){ri.bind(ei.value,Hn[Hi])}),"function"!=typeof Nn.body){Fi.next=7;break}return Fi.delegateYield(Fs(Nn.body,ri),"t0",4);case 4:Qn=Fi.t0,Fi.next=9;break;case 7:return Fi.delegateYield(Be(Nn.body,Nn.input,ri),"t1",8);case 8:Qn=Fi.t1;case 9:return Fi.abrupt("return",Qn);case 10:case"end":return Fi.stop()}},te)}function Ai(Nn,Hn){var Qn=Tn(Nn.environment),ri=[];return Nn.arguments.forEach(function(Fi,ei){var Hi=Hn[ei];Hi&&"operator"===Hi.type&&"?"===Hi.value?ri.push(Fi):Qn.bind(Fi.value,Hi)}),{_jsonata_lambda:!0,input:Nn.input,environment:Qn,arguments:ri,body:Nn.body}}function os(Nn,Hn){var Qn=sn(Nn),ri="function("+(Qn=Qn.map(function(ei){return"$"+ei.trim()})).join(", ")+"){ _ }",li=b(ri);return li.body=Nn,Ai(li,Hn)}function Fs(Nn,Hn){var Qn,ri,Fi;return D().wrap(function(Hi){for(;;)switch(Hi.prev=Hi.next){case 0:if(Qn=sn(Nn),ri=Qn.map(function(gn){return Hn.lookup(gn.trim())}),Fi=Nn.apply({environment:Hn},ri),!Xe(Fi)){Hi.next=7;break}return Hi.delegateYield(Fi,"t0",6);case 6:Fi=Hi.t0;case 7:return Hi.abrupt("return",Fi);case 8:case"end":return Hi.stop()}},ae)}function sn(Nn){var Hn=Nn.toString();return/\(([^)]*)\)/.exec(Hn)[1].split(",")}function oi(Nn,Hn){var Qn={_jsonata_function:!0,implementation:Nn};return typeof Hn<"u"&&(Qn.signature=L(Hn)),Qn}function pt(Nn,Hn){var Qn,ri,li;return D().wrap(function(ei){for(;;)switch(ei.prev=ei.next){case 0:if(!(typeof Nn>"u")){ei.next=2;break}return ei.abrupt("return",void 0);case 2:Qn=this.input,typeof Hn<"u"&&(Qn=Hn,Array.isArray(Qn)&&!Le(Qn)&&((Qn=be(Qn)).outerWrapper=!0)),ei.prev=4,ri=b(Nn,!1),ei.next=12;break;case 8:throw ei.prev=8,ei.t0=ei.catch(4),ui(ei.t0),{stack:(new Error).stack,code:"D3120",value:ei.t0.message,error:ei.t0};case 12:return ei.prev=12,ei.delegateYield(Be(ri,Qn,this.environment),"t1",14);case 14:li=ei.t1,ei.next=21;break;case 17:throw ei.prev=17,ei.t2=ei.catch(12),ui(ei.t2),{stack:(new Error).stack,code:"D3121",value:ei.t2.message,error:ei.t2};case 21:return ei.abrupt("return",li);case 22:case"end":return ei.stop()}},K,this,[[4,8],[12,17]])}function Tn(Nn){var Hn={};return{bind:function(ri,li){Hn[ri]=li},lookup:function(ri){var li;return Hn.hasOwnProperty(ri)?li=Hn[ri]:Nn&&(li=Nn.lookup(ri)),li},timestamp:Nn?Nn.timestamp:null,async:!!Nn&&Nn.async,global:Nn?Nn.global:{ancestry:[null]}}}ze.bind("sum",oi(y.sum,"<a<n>:n>")),ze.bind("count",oi(y.count,"<a:n>")),ze.bind("max",oi(y.max,"<a<n>:n>")),ze.bind("min",oi(y.min,"<a<n>:n>")),ze.bind("average",oi(y.average,"<a<n>:n>")),ze.bind("string",oi(y.string,"<x-b?:s>")),ze.bind("substring",oi(y.substring,"<s-nn?:s>")),ze.bind("substringBefore",oi(y.substringBefore,"<s-s:s>")),ze.bind("substringAfter",oi(y.substringAfter,"<s-s:s>")),ze.bind("lowercase",oi(y.lowercase,"<s-:s>")),ze.bind("uppercase",oi(y.uppercase,"<s-:s>")),ze.bind("length",oi(y.length,"<s-:n>")),ze.bind("trim",oi(y.trim,"<s-:s>")),ze.bind("pad",oi(y.pad,"<s-ns?:s>")),ze.bind("match",oi(y.match,"<s-f<s:o>n?:a<o>>")),ze.bind("contains",oi(y.contains,"<s-(sf):b>")),ze.bind("replace",oi(y.replace,"<s-(sf)(sf)n?:s>")),ze.bind("split",oi(y.split,"<s-(sf)n?:a<s>>")),ze.bind("join",oi(y.join,"<a<s>s?:s>")),ze.bind("formatNumber",oi(y.formatNumber,"<n-so?:s>")),ze.bind("formatBase",oi(y.formatBase,"<n-n?:s>")),ze.bind("formatInteger",oi(E.formatInteger,"<n-s:s>")),ze.bind("parseInteger",oi(E.parseInteger,"<s-s:n>")),ze.bind("number",oi(y.number,"<(nsb)-:n>")),ze.bind("floor",oi(y.floor,"<n-:n>")),ze.bind("ceil",oi(y.ceil,"<n-:n>")),ze.bind("round",oi(y.round,"<n-n?:n>")),ze.bind("abs",oi(y.abs,"<n-:n>")),ze.bind("sqrt",oi(y.sqrt,"<n-:n>")),ze.bind("power",oi(y.power,"<n-n:n>")),ze.bind("random",oi(y.random,"<:n>")),ze.bind("boolean",oi(y.boolean,"<x-:b>")),ze.bind("not",oi(y.not,"<x-:b>")),ze.bind("map",oi(y.map,"<af>")),ze.bind("zip",oi(y.zip,"<a+>")),ze.bind("filter",oi(y.filter,"<af>")),ze.bind("single",oi(y.single,"<af?>")),ze.bind("reduce",oi(y.foldLeft,"<afj?:j>")),ze.bind("sift",oi(y.sift,"<o-f?:o>")),ze.bind("keys",oi(y.keys,"<x-:a<s>>")),ze.bind("lookup",oi(y.lookup,"<x-s:x>")),ze.bind("append",oi(y.append,"<xx:a>")),ze.bind("exists",oi(y.exists,"<x:b>")),ze.bind("spread",oi(y.spread,"<x-:a<o>>")),ze.bind("merge",oi(y.merge,"<a<o>:o>")),ze.bind("reverse",oi(y.reverse,"<a:a>")),ze.bind("each",oi(y.each,"<o-f:a>")),ze.bind("error",oi(y.error,"<s?:x>")),ze.bind("assert",oi(y.assert,"<bs?:x>")),ze.bind("type",oi(y.type,"<x:s>")),ze.bind("sort",oi(y.sort,"<af?:a>")),ze.bind("shuffle",oi(y.shuffle,"<a:a>")),ze.bind("distinct",oi(y.distinct,"<x:x>")),ze.bind("base64encode",oi(y.base64encode,"<s-:s>")),ze.bind("base64decode",oi(y.base64decode,"<s-:s>")),ze.bind("encodeUrlComponent",oi(y.encodeUrlComponent,"<s-:s>")),ze.bind("encodeUrl",oi(y.encodeUrl,"<s-:s>")),ze.bind("decodeUrlComponent",oi(y.decodeUrlComponent,"<s-:s>")),ze.bind("decodeUrl",oi(y.decodeUrl,"<s-:s>")),ze.bind("eval",oi(pt,"<sx?:x>")),ze.bind("toMillis",oi(E.toMillis,"<s-s?:n>")),ze.bind("fromMillis",oi(E.fromMillis,"<n-s?s?:s>")),ze.bind("clone",oi(function cn(Nn){if(!(typeof Nn>"u"))return JSON.parse(y.string(Nn))},"<(oa)-:o>"));var vi={S0101:"String literal must be terminated by a matching quote",S0102:"Number out of range: {{token}}",S0103:"Unsupported escape sequence: \\{{token}}",S0104:"The escape sequence \\u must be followed by 4 hex digits",S0105:"Quoted property name must be terminated with a backquote (`)",S0106:"Comment has no closing tag",S0201:"Syntax error: {{token}}",S0202:"Expected {{value}}, got {{token}}",S0203:"Expected {{value}} before end of expression",S0204:"Unknown operator: {{token}}",S0205:"Unexpected token: {{token}}",S0206:"Unknown expression type: {{token}}",S0207:"Unexpected end of expression",S0208:"Parameter {{value}} of function definition must be a variable name (start with $)",S0209:"A predicate cannot follow a grouping expression in a step",S0210:"Each step can only have one grouping expression",S0211:"The symbol {{token}} cannot be used as a unary operator",S0212:"The left side of := must be a variable name (start with $)",S0213:"The literal value {{value}} cannot be used as a step within a path expression",S0214:"The right side of {{token}} must be a variable name (start with $)",S0215:"A context variable binding must precede any predicates on a step",S0216:"A context variable binding must precede the 'order-by' clause on a step",S0217:"The object representing the 'parent' cannot be derived from this expression",S0301:"Empty regular expressions are not allowed",S0302:"No terminating / in regular expression",S0402:"Choice groups containing parameterized types are not supported",S0401:"Type parameters can only be applied to functions and arrays",S0500:"Attempted to evaluate an expression containing syntax error(s)",T0410:"Argument {{index}} of function {{token}} does not match function signature",T0411:"Context value is not a compatible type with argument {{index}} of function {{token}}",T0412:"Argument {{index}} of function {{token}} must be an array of {{type}}",D1001:"Number out of range: {{value}}",D1002:"Cannot negate a non-numeric value: {{value}}",T1003:"Key in object structure must evaluate to a string; got: {{value}}",D1004:"Regular expression matches zero length string",T1005:"Attempted to invoke a non-function. Did you mean ${{{token}}}?",T1006:"Attempted to invoke a non-function",T1007:"Attempted to partially apply a non-function. Did you mean ${{{token}}}?",T1008:"Attempted to partially apply a non-function",D1009:"Multiple key definitions evaluate to same key: {{value}}",D1010:"Attempted to access the Javascript object prototype",T1010:"The matcher function argument passed to function {{token}} does not return the correct object structure",T2001:"The left side of the {{token}} operator must evaluate to a number",T2002:"The right side of the {{token}} operator must evaluate to a number",T2003:"The left side of the range operator (..) must evaluate to an integer",T2004:"The right side of the range operator (..) must evaluate to an integer",D2005:"The left side of := must be a variable name (start with $)",T2006:"The right side of the function application operator ~> must be a function",T2007:"Type mismatch when comparing values {{value}} and {{value2}} in order-by clause",T2008:"The expressions within an order-by clause must evaluate to numeric or string values",T2009:"The values {{value}} and {{value2}} either side of operator {{token}} must be of the same data type",T2010:"The expressions either side of operator {{token}} must evaluate to numeric or string values",T2011:"The insert/update clause of the transform expression must evaluate to an object: {{value}}",T2012:"The delete clause of the transform expression must evaluate to a string or array of strings: {{value}}",T2013:"The transform expression clones the input object using the $clone() function.  This has been overridden in the current scope by a non-function.",D2014:"The size of the sequence allocated by the range operator (..) must not exceed 1e6.  Attempted to allocate {{value}}.",D3001:"Attempting to invoke string function on Infinity or NaN",D3010:"Second argument of replace function cannot be an empty string",D3011:"Fourth argument of replace function must evaluate to a positive number",D3012:"Attempted to replace a matched string with a non-string value",D3020:"Third argument of split function must evaluate to a positive number",D3030:"Unable to cast value to a number: {{value}}",D3040:"Third argument of match function must evaluate to a positive number",D3050:"The second argument of reduce function must be a function with at least two arguments",D3060:"The sqrt function cannot be applied to a negative number: {{value}}",D3061:"The power function has resulted in a value that cannot be represented as a JSON number: base={{value}}, exponent={{exp}}",D3070:"The single argument form of the sort function can only be applied to an array of strings or an array of numbers.  Use the second argument to specify a comparison function",D3080:"The picture string must only contain a maximum of two sub-pictures",D3081:"The sub-picture must not contain more than one instance of the 'decimal-separator' character",D3082:"The sub-picture must not contain more than one instance of the 'percent' character",D3083:"The sub-picture must not contain more than one instance of the 'per-mille' character",D3084:"The sub-picture must not contain both a 'percent' and a 'per-mille' character",D3085:"The mantissa part of a sub-picture must contain at least one character that is either an 'optional digit character' or a member of the 'decimal digit family'",D3086:"The sub-picture must not contain a passive character that is preceded by an active character and that is followed by another active character",D3087:"The sub-picture must not contain a 'grouping-separator' character that appears adjacent to a 'decimal-separator' character",D3088:"The sub-picture must not contain a 'grouping-separator' at the end of the integer part",D3089:"The sub-picture must not contain two adjacent instances of the 'grouping-separator' character",D3090:"The integer part of the sub-picture must not contain a member of the 'decimal digit family' that is followed by an instance of the 'optional digit character'",D3091:"The fractional part of the sub-picture must not contain an instance of the 'optional digit character' that is followed by a member of the 'decimal digit family'",D3092:"A sub-picture that contains a 'percent' or 'per-mille' character must not contain a character treated as an 'exponent-separator'",D3093:"The exponent part of the sub-picture must comprise only of one or more characters that are members of the 'decimal digit family'",D3100:"The radix of the formatBase function must be between 2 and 36.  It was given {{value}}",D3110:"The argument of the toMillis function must be an ISO 8601 formatted timestamp. Given {{value}}",D3120:"Syntax error in expression passed to function eval: {{value}}",D3121:"Dynamic error evaluating the expression passed to function eval: {{value}}",D3130:"Formatting or parsing an integer as a sequence starting with {{value}} is not supported by this implementation",D3131:"In a decimal digit pattern, all digits must be from the same decimal group",D3132:"Unknown component specifier {{value}} in date/time picture string",D3133:"The 'name' modifier can only be applied to months and days in the date/time picture string, not {{value}}",D3134:"The timezone integer format specifier cannot have more than four digits",D3135:"No matching closing bracket ']' in date/time picture string",D3136:"The date/time picture string is missing specifiers required to parse the timestamp",D3137:"{{{message}}}",D3138:"The $single() function expected exactly 1 matching result.  Instead it matched more.",D3139:"The $single() function expected exactly 1 matching result.  Instead it matched 0.",D3140:"Malformed URL passed to ${{{functionName}}}(): {{value}}",D3141:"{{{message}}}"};function ui(Nn){var Hn=vi[Nn.code];if(typeof Hn<"u"){var Qn=Hn.replace(/\{\{\{([^}]+)}}}/g,function(){return Nn[arguments[1]]});Qn=Qn.replace(/\{\{([^}]+)}}/g,function(){return JSON.stringify(Nn[arguments[1]])}),Nn.message=Qn}}function $i(Nn,Hn){var Qn,ri;try{Qn=b(Nn,Hn&&Hn.recover),ri=Qn.errors,delete Qn.errors}catch(ei){throw ui(ei),ei}var li=Tn(ze),Fi=new Date;return li.bind("now",oi(function(ei,Hi){return E.fromMillis(Fi.getTime(),ei,Hi)},"<s?s?:s>")),li.bind("millis",oi(function(){return Fi.getTime()},"<:n>")),$i.RegexEngine=Hn&&Hn.RegexEngine?Hn.RegexEngine:RegExp,{evaluate:function(Hi,gn,yn){if(typeof ri<"u"){var hn={code:"S0500",position:0};throw ui(hn),hn}var Bn,wi,Si;if(typeof gn<"u")for(var mi in Bn=Tn(li),gn)Bn.bind(mi,gn[mi]);else Bn=li;if(Bn.bind("$",Hi),Bn.timestamp=Fi=new Date,Array.isArray(Hi)&&!Le(Hi)&&((Hi=be(Hi)).outerWrapper=!0),"function"==typeof yn){Bn.async=!0;var Cn=function(Bt){ui(Bt),yn(Bt,null)};Si=Be(Qn,Hi,Bn),(wi=Si.next()).value.then(function Mt(Bt){(wi=Si.next(Bt)).done?yn(null,wi.value):wi.value.then(Mt).catch(Cn)}).catch(Cn)}else try{for(Si=Be(Qn,Hi,Bn),wi=Si.next();!wi.done;)wi=Si.next(wi.value);return wi.value}catch(Mt){throw ui(Mt),Mt}},assign:function(Hi,gn){li.bind(Hi,gn)},registerFunction:function(Hi,gn,yn){var hn=oi(gn,yn);li.bind(Hi,hn)},ast:function(){return Qn},errors:function(){return ri}}}return $i.parser=b,$i}();m.exports=o},{"./datetime":1,"./functions":2,"./parser":4,"./signature":5,"./utils":6}],4:[function(g,m,T){"use strict";var E,y,I,O=g("./signature"),D=(E={".":75,"[":80,"]":0,"{":70,"}":0,"(":80,")":0,",":0,"@":80,"#":80,";":80,":":80,"?":20,"+":50,"-":50,"*":60,"/":60,"%":60,"|":20,"=":40,"<":40,">":40,"^":40,"**":60,"..":20,":=":10,"!=":40,"<=":40,">=":40,"~>":40,and:30,or:25,in:40,"&":50,"!":0,"~":0},y={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},I=function(o){var C=0,w=o.length,M=function(U,k){return{type:U,value:k,position:C}};return function F(U){if(C>=w)return null;for(var k=o.charAt(C);C<w&&" \t\n\r\v".indexOf(k)>-1;)C++,k=o.charAt(C);if("/"===k&&"*"===o.charAt(C+1)){var Y=C;for(k=o.charAt(C+=2);"*"!==k||"/"!==o.charAt(C+1);)if(k=o.charAt(++C),C>=w)throw{code:"S0106",stack:(new Error).stack,position:Y};return k=o.charAt(C+=2),F(U)}if(!0!==U&&"/"===k)return C++,M("regex",function(){for(var Y,x,U=C,k=0;C<w;){var B=o.charAt(C);if("/"===B&&"\\"!==o.charAt(C-1)&&0===k){if(""===(Y=o.substring(U,C)))throw{code:"S0301",stack:(new Error).stack,position:C};for(C++,B=o.charAt(C),U=C;"i"===B||"m"===B;)C++,B=o.charAt(C);return x=o.substring(U,C)+"g",new RegExp(Y,x)}("("===B||"["===B||"{"===B)&&"\\"!==o.charAt(C-1)&&k++,(")"===B||"]"===B||"}"===B)&&"\\"!==o.charAt(C-1)&&k--,C++}throw{code:"S0302",stack:(new Error).stack,position:C}}());if("."===k&&"."===o.charAt(C+1))return C+=2,M("operator","..");if(":"===k&&"="===o.charAt(C+1))return C+=2,M("operator",":=");if("!"===k&&"="===o.charAt(C+1))return C+=2,M("operator","!=");if(">"===k&&"="===o.charAt(C+1))return C+=2,M("operator",">=");if("<"===k&&"="===o.charAt(C+1))return C+=2,M("operator","<=");if("*"===k&&"*"===o.charAt(C+1))return C+=2,M("operator","**");if("~"===k&&">"===o.charAt(C+1))return C+=2,M("operator","~>");if(Object.prototype.hasOwnProperty.call(E,k))return C++,M("operator",k);if('"'===k||"'"===k){var x=k;C++;for(var B="";C<w;){if("\\"===(k=o.charAt(C)))if(C++,k=o.charAt(C),Object.prototype.hasOwnProperty.call(y,k))B+=y[k];else{if("u"!==k)throw{code:"S0103",stack:(new Error).stack,position:C,token:k};var j=o.substr(C+1,4);if(!/^[0-9a-fA-F]+$/.test(j))throw{code:"S0104",stack:(new Error).stack,position:C};var $=parseInt(j,16);B+=String.fromCharCode($),C+=4}else{if(k===x)return C++,M("string",B);B+=k}C++}throw{code:"S0101",stack:(new Error).stack,position:C}}var Q,ie=/^-?(0|([1-9][0-9]*))(\.[0-9]+)?([Ee][-+]?[0-9]+)?/.exec(o.substring(C));if(null!==ie){var ne=parseFloat(ie[0]);if(!isNaN(ne)&&isFinite(ne))return C+=ie[0].length,M("number",ne);throw{code:"S0102",stack:(new Error).stack,position:C,token:ie[0]}}if("`"===k){C++;var le=o.indexOf("`",C);if(-1!==le)return Q=o.substring(C,le),C=le+1,M("name",Q);throw C=w,{code:"S0105",stack:(new Error).stack,position:C}}for(var te,pe=C;;)if(te=o.charAt(pe),pe===w||" \t\n\r\v".indexOf(te)>-1||Object.prototype.hasOwnProperty.call(E,te)){if("$"===o.charAt(C))return Q=o.substring(C+1,pe),C=pe,M("variable",Q);switch(Q=o.substring(C,pe),C=pe,Q){case"or":case"in":case"and":return M("operator",Q);case"true":return M("value",!0);case"false":return M("value",!1);case"null":return M("value",null);default:return C===w&&""===Q?null:M("name",Q)}}else pe++}},function(o,C){var w,M,q={},z=[],F=function(){var Ae=[];"(end)"!==w.id&&Ae.push({type:w.type,value:w.value,position:w.position});for(var Oe=M();null!==Oe;)Ae.push(Oe),Oe=M();return Ae},U={nud:function(){var Ae={code:"S0211",token:this.value,position:this.position};if(C)return Ae.remaining=F(),Ae.type="error",z.push(Ae),Ae;throw Ae.stack=(new Error).stack,Ae}},k=function(Ae,Oe){var Xe=q[Ae];return Oe=Oe||0,Xe?Oe>=Xe.lbp&&(Xe.lbp=Oe):((Xe=Object.create(U)).id=Xe.value=Ae,Xe.lbp=Oe,q[Ae]=Xe),Xe},Y=function(Ae){if(C)return Ae.remaining=F(),z.push(Ae),(w=Object.create(q["(error)"])).error=Ae,w.type="(error)",w;throw Ae.stack=(new Error).stack,Ae},x=function(Ae,Oe){if(Ae&&w.id!==Ae)return Y({code:"(end)"===w.id?"S0203":"S0202",position:w.position,token:w.value,value:Ae});var $e=M(Oe);if(null===$e)return(w=q["(end)"]).position=o.length,w;var Ye,ze=$e.value,Be=$e.type;switch(Be){case"name":case"variable":Ye=q["(name)"];break;case"operator":if(!(Ye=q[ze]))return Y({code:"S0204",stack:(new Error).stack,position:$e.position,token:ze});break;case"string":case"number":case"value":Ye=q["(literal)"];break;case"regex":Be="regex",Ye=q["(regex)"];break;default:return Y({code:"S0205",stack:(new Error).stack,position:$e.position,token:ze})}return(w=Object.create(Ye)).value=ze,w.type=Be,w.position=$e.position,w},B=function(Ae){var Oe,Xe=w;for(x(null,!0),Oe=Xe.nud();Ae<w.lbp;)Xe=w,x(),Oe=Xe.led(Oe);return Oe},j=function(Ae){k(Ae,0).nud=function(){return this}},$=function(Ae,Oe,Xe){var Pe=Oe||E[Ae],$e=k(Ae,Pe);return $e.led=Xe||function(ze){return this.lhs=ze,this.rhs=B(Pe),this.type="binary",this},$e},H=function(Ae,Oe,Xe){var Pe=k(Ae,Oe);return Pe.led=Xe,Pe},ie=function(Ae,Oe){var Xe=k(Ae);return Xe.nud=Oe||function(){return this.expression=B(70),this.type="unary",this},Xe};j("(end)"),j("(name)"),j("(literal)"),j("(regex)"),k(":"),k(";"),k(","),k(")"),k("]"),k("}"),k(".."),$("."),$("+"),$("-"),$("*"),$("/"),$("%"),$("="),$("<"),$(">"),$("!="),$("<="),$(">="),$("&"),$("and"),$("or"),$("in"),j("and"),j("or"),j("in"),ie("-"),$("~>"),H("(error)",10,function(Le){return this.lhs=Le,this.error=w.error,this.remaining=F(),this.type="error",this}),ie("*",function(){return this.type="wildcard",this}),ie("**",function(){return this.type="descendant",this}),ie("%",function(){return this.type="parent",this}),$("(",E["("],function(Le){if(this.procedure=Le,this.type="function",this.arguments=[],")"!==w.id)for(;"operator"===w.type&&"?"===w.id?(this.type="partial",this.arguments.push(w),x("?")):this.arguments.push(B(0)),","===w.id;)x(",");if(x(")",!0),"name"===Le.type&&("function"===Le.value||"\u03bb"===Le.value)){if(this.arguments.forEach(function($e,ze){if("variable"!==$e.type)return Y({code:"S0208",stack:(new Error).stack,position:$e.position,token:$e.value,value:ze+1})}),this.type="lambda","<"===w.id){for(var Ae=w.position,Oe=1,Xe="<";Oe>0&&"{"!==w.id&&"(end)"!==w.id;){var Pe=x();">"===Pe.id?Oe--:"<"===Pe.id&&Oe++,Xe+=Pe.value}x(">");try{this.signature=O(Xe)}catch($e){return $e.position=Ae+$e.offset,Y($e)}}x("{"),this.body=B(0),x("}")}return this}),ie("(",function(){for(var Le=[];")"!==w.id&&(Le.push(B(0)),";"===w.id);)x(";");return x(")",!0),this.type="block",this.expressions=Le,this}),ie("[",function(){var Le=[];if("]"!==w.id)for(;;){var Ae=B(0);if(".."===w.id){var Oe={type:"binary",value:"..",position:w.position,lhs:Ae};x(".."),Oe.rhs=B(0),Ae=Oe}if(Le.push(Ae),","!==w.id)break;x(",")}return x("]",!0),this.expressions=Le,this.type="unary",this}),$("[",E["["],function(Le){if("]"===w.id){for(var Ae=Le;Ae&&"binary"===Ae.type&&"["===Ae.value;)Ae=Ae.lhs;return Ae.keepArray=!0,x("]"),Le}return this.lhs=Le,this.rhs=B(E["]"]),this.type="binary",x("]",!0),this}),$("^",E["^"],function(Le){x("(");for(var Ae=[];;){var Oe={descending:!1};if("<"===w.id?x("<"):">"===w.id&&(Oe.descending=!0,x(">")),Oe.expression=B(0),Ae.push(Oe),","!==w.id)break;x(",")}return x(")"),this.lhs=Le,this.rhs=Ae,this.type="binary",this});var ne=function(Ae){var Oe=[];if("}"!==w.id)for(;;){var Xe=B(0);x(":");var Pe=B(0);if(Oe.push([Xe,Pe]),","!==w.id)break;x(",")}return x("}",!0),typeof Ae>"u"?(this.lhs=Oe,this.type="unary"):(this.lhs=Ae,this.rhs=Oe,this.type="binary"),this};ie("{",ne),$("{",E["{"],ne),H(":=",E[":="],function(Le){return"variable"!==Le.type?Y({code:"S0212",stack:(new Error).stack,position:Le.position,token:Le.value}):(this.lhs=Le,this.rhs=B(E[":="]-1),this.type="binary",this)}),$("@",E["@"],function(Le){return this.lhs=Le,this.rhs=B(E["@"]),"variable"!==this.rhs.type?Y({code:"S0214",stack:(new Error).stack,position:this.rhs.position,token:"@"}):(this.type="binary",this)}),$("#",E["#"],function(Le){return this.lhs=Le,this.rhs=B(E["#"]),"variable"!==this.rhs.type?Y({code:"S0214",stack:(new Error).stack,position:this.rhs.position,token:"#"}):(this.type="binary",this)}),$("?",E["?"],function(Le){return this.type="condition",this.condition=Le,this.then=B(0),":"===w.id&&(x(":"),this.else=B(0)),this}),ie("|",function(){return this.type="transform",this.pattern=B(0),x("|"),this.update=B(0),","===w.id&&(x(","),this.delete=B(0)),x("|"),this});var Q=function Le(Ae){var Oe;if("function"!==Ae.type||Ae.predicate)if("condition"===Ae.type)Ae.then=Le(Ae.then),typeof Ae.else<"u"&&(Ae.else=Le(Ae.else)),Oe=Ae;else if("block"===Ae.type){var Pe=Ae.expressions.length;Pe>0&&(Ae.expressions[Pe-1]=Le(Ae.expressions[Pe-1])),Oe=Ae}else Oe=Ae;else{var Xe={type:"lambda",thunk:!0,arguments:[],position:Ae.position};Xe.body=Ae,Oe=Xe}return Oe},le=0,pe=0,te=[],ae=function Le(Ae,Oe){switch(Ae.type){case"name":case"wildcard":Oe.level--,0===Oe.level&&(typeof Ae.ancestor>"u"||(te[Oe.index].slot.label=Ae.ancestor.label),Ae.ancestor=Oe,Ae.tuple=!0);break;case"parent":Oe.level++;break;case"block":Ae.expressions.length>0&&(Ae.tuple=!0,Oe=Le(Ae.expressions[Ae.expressions.length-1],Oe));break;case"path":Ae.tuple=!0;var Xe=Ae.steps.length-1;for(Oe=Le(Ae.steps[Xe--],Oe);Oe.level>0&&Xe>=0;)Oe=Le(Ae.steps[Xe--],Oe);break;default:throw{code:"S0217",token:Ae.type,position:Ae.position}}return Oe},K=function(Ae,Oe){if(typeof Oe.seekingParent<"u"||"parent"===Oe.type){var Xe=typeof Oe.seekingParent<"u"?Oe.seekingParent:[];"parent"===Oe.type&&Xe.push(Oe.slot),typeof Ae.seekingParent>"u"?Ae.seekingParent=Xe:Array.prototype.push.apply(Ae.seekingParent,Xe)}},de=function(Ae){var Oe=Ae.steps.length-1,Xe=Ae.steps[Oe],Pe=typeof Xe.seekingParent<"u"?Xe.seekingParent:[];"parent"===Xe.type&&Pe.push(Xe.slot);for(var $e=0;$e<Pe.length;$e++){var ze=Pe[$e];for(Oe=Ae.steps.length-2;ze.level>0;){if(Oe<0){typeof Ae.seekingParent>"u"?Ae.seekingParent=[ze]:Ae.seekingParent.push(ze);break}for(var Be=Ae.steps[Oe--];Oe>=0&&Be.focus&&Ae.steps[Oe].focus;)Be=Ae.steps[Oe--];ze=ae(Be,ze)}}};M=I(o),x();var me=B(0);if("(end)"!==w.id&&Y({code:"S0201",position:w.position,token:w.value}),"parent"===(me=function Le(Ae){var Oe;switch(Ae.type){case"binary":switch(Ae.value){case".":var Xe=Le(Ae.lhs);Oe="path"===Xe.type?Xe:{type:"path",steps:[Xe]},"parent"===Xe.type&&(Oe.seekingParent=[Xe.slot]);var Pe=Le(Ae.rhs);"function"===Pe.type&&"path"===Pe.procedure.type&&1===Pe.procedure.steps.length&&"name"===Pe.procedure.steps[0].type&&"function"===Oe.steps[Oe.steps.length-1].type&&(Oe.steps[Oe.steps.length-1].nextFunction=Pe.procedure.steps[0].value),"path"===Pe.type?Array.prototype.push.apply(Oe.steps,Pe.steps):(typeof Pe.predicate<"u"&&(Pe.stages=Pe.predicate,delete Pe.predicate),Oe.steps.push(Pe)),Oe.steps.filter(function(Ge){if("number"===Ge.type||"value"===Ge.type)throw{code:"S0213",stack:(new Error).stack,position:Ge.position,value:Ge.value};return"string"===Ge.type}).forEach(function(Ge){Ge.type="name"}),Oe.steps.filter(function(Ge){return!0===Ge.keepArray}).length>0&&(Oe.keepSingletonArray=!0);var $e=Oe.steps[0];"unary"===$e.type&&"["===$e.value&&($e.consarray=!0);var ze=Oe.steps[Oe.steps.length-1];"unary"===ze.type&&"["===ze.value&&(ze.consarray=!0),de(Oe);break;case"[":var Be=Oe=Le(Ae.lhs),Ye="predicate";if("path"===Oe.type&&(Be=Oe.steps[Oe.steps.length-1],Ye="stages"),typeof Be.group<"u")throw{code:"S0209",stack:(new Error).stack,position:Ae.position};typeof Be[Ye]>"u"&&(Be[Ye]=[]);var Ct=Le(Ae.rhs);typeof Ct.seekingParent<"u"&&(Ct.seekingParent.forEach(function(Ge){1===Ge.level?ae(Be,Ge):Ge.level--}),K(Be,Ct)),Be[Ye].push({type:"filter",expr:Ct,position:Ae.position});break;case"{":if(typeof(Oe=Le(Ae.lhs)).group<"u")throw{code:"S0210",stack:(new Error).stack,position:Ae.position};Oe.group={lhs:Ae.rhs.map(function(Ge){return[Le(Ge[0]),Le(Ge[1])]}),position:Ae.position};break;case"^":"path"!==(Oe=Le(Ae.lhs)).type&&(Oe={type:"path",steps:[Oe]});var Lt={type:"sort",position:Ae.position};Lt.terms=Ae.rhs.map(function(Ge){var Se=Le(Ge.expression);return K(Lt,Se),{descending:Ge.descending,expression:Se}}),Oe.steps.push(Lt),de(Oe);break;case":=":(Oe={type:"bind",value:Ae.value,position:Ae.position}).lhs=Le(Ae.lhs),Oe.rhs=Le(Ae.rhs),K(Oe,Oe.rhs);break;case"@":if(Oe=Le(Ae.lhs),Be=Oe,"path"===Oe.type&&(Be=Oe.steps[Oe.steps.length-1]),typeof Be.stages<"u"||typeof Be.predicate<"u")throw{code:"S0215",stack:(new Error).stack,position:Ae.position};if("sort"===Be.type)throw{code:"S0216",stack:(new Error).stack,position:Ae.position};Ae.keepArray&&(Be.keepArray=!0),Be.focus=Ae.rhs.value,Be.tuple=!0;break;case"#":Oe=Le(Ae.lhs),Be=Oe,"path"===Oe.type?Be=Oe.steps[Oe.steps.length-1]:(Oe={type:"path",steps:[Oe]},typeof Be.predicate<"u"&&(Be.stages=Be.predicate,delete Be.predicate)),typeof Be.stages>"u"?Be.index=Ae.rhs.value:Be.stages.push({type:"index",value:Ae.rhs.value,position:Ae.position}),Be.tuple=!0;break;case"~>":(Oe={type:"apply",value:Ae.value,position:Ae.position}).lhs=Le(Ae.lhs),Oe.rhs=Le(Ae.rhs);break;default:(Oe={type:Ae.type,value:Ae.value,position:Ae.position}).lhs=Le(Ae.lhs),Oe.rhs=Le(Ae.rhs),K(Oe,Oe.lhs),K(Oe,Oe.rhs)}break;case"unary":Oe={type:Ae.type,value:Ae.value,position:Ae.position},"["===Ae.value?Oe.expressions=Ae.expressions.map(function(Ge){var Se=Le(Ge);return K(Oe,Se),Se}):"{"===Ae.value?Oe.lhs=Ae.lhs.map(function(Ge){var Se=Le(Ge[0]);K(Oe,Se);var ke=Le(Ge[1]);return K(Oe,ke),[Se,ke]}):(Oe.expression=Le(Ae.expression),"-"===Ae.value&&"number"===Oe.expression.type?(Oe=Oe.expression).value=-Oe.value:K(Oe,Oe.expression));break;case"function":case"partial":(Oe={type:Ae.type,name:Ae.name,value:Ae.value,position:Ae.position}).arguments=Ae.arguments.map(function(Ge){var Se=Le(Ge);return K(Oe,Se),Se}),Oe.procedure=Le(Ae.procedure);break;case"lambda":Oe={type:Ae.type,arguments:Ae.arguments,signature:Ae.signature,position:Ae.position};var Vt=Le(Ae.body);Oe.body=Q(Vt);break;case"condition":(Oe={type:Ae.type,position:Ae.position}).condition=Le(Ae.condition),K(Oe,Oe.condition),Oe.then=Le(Ae.then),K(Oe,Oe.then),typeof Ae.else<"u"&&(Oe.else=Le(Ae.else),K(Oe,Oe.else));break;case"transform":(Oe={type:Ae.type,position:Ae.position}).pattern=Le(Ae.pattern),Oe.update=Le(Ae.update),typeof Ae.delete<"u"&&(Oe.delete=Le(Ae.delete));break;case"block":(Oe={type:Ae.type,position:Ae.position}).expressions=Ae.expressions.map(function(Ge){var Se=Le(Ge);return K(Oe,Se),(Se.consarray||"path"===Se.type&&Se.steps[0].consarray)&&(Oe.consarray=!0),Se});break;case"name":Oe={type:"path",steps:[Ae]},Ae.keepArray&&(Oe.keepSingletonArray=!0);break;case"parent":Oe={type:"parent",slot:{label:"!"+le++,level:1,index:pe++}},te.push(Oe);break;case"string":case"number":case"value":case"wildcard":case"descendant":case"variable":case"regex":Oe=Ae;break;case"operator":if("and"===Ae.value||"or"===Ae.value||"in"===Ae.value)Ae.type="name",Oe=Le(Ae);else{if("?"!==Ae.value)throw{code:"S0201",stack:(new Error).stack,position:Ae.position,token:Ae.value};Oe=Ae}break;case"error":Oe=Ae,Ae.lhs&&(Oe=Le(Ae.lhs));break;default:var ht="S0206";"(end)"===Ae.id&&(ht="S0207");var gt={code:ht,position:Ae.position,token:Ae.value};if(C)return z.push(gt),{type:"error",error:gt};throw gt.stack=(new Error).stack,gt}return Ae.keepArray&&(Oe.keepArray=!0),Oe}(me)).type||typeof me.seekingParent<"u")throw{code:"S0217",token:me.type,position:me.position};return z.length>0&&(me.errors=z),me});m.exports=D},{"./signature":5}],5:[function(g,m,T){"use strict";function O(y){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(I){return typeof I}:function(I){return I&&"function"==typeof Symbol&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I})(y)}var y,D=g("./utils"),E=(y={a:"arrays",b:"booleans",f:"functions",n:"numbers",o:"objects",s:"strings"},function I(b){for(var L=1,o=[],C={},w=C;L<b.length;){var M=b.charAt(L);if(":"===M)break;var q=function(){o.push(C),w=C,C={}},z=function(H,ie,ne,Q){for(var le=1,pe=ie;pe<H.length;)if(pe++,(M=H.charAt(pe))===Q){if(0==--le)break}else M===ne&&le++;return pe};switch(M){case"s":case"n":case"b":case"l":case"o":C.regex="["+M+"m]",C.type=M,q();break;case"a":C.regex="[asnblfom]",C.type=M,C.array=!0,q();break;case"f":C.regex="f",C.type=M,q();break;case"j":C.regex="[asnblom]",C.type=M,q();break;case"x":C.regex="[asnblfom]",C.type=M,q();break;case"-":w.context=!0,w.contextRegex=new RegExp(w.regex),w.regex+="?";break;case"?":case"+":w.regex+=M;break;case"(":var F=z(b,L,"(",")"),U=b.substring(L+1,F);if(-1!==U.indexOf("<"))throw{code:"S0402",stack:(new Error).stack,value:U,offset:L};C.regex="["+U+"m]",C.type="("+U+")",L=F,q();break;case"<":if("a"!==w.type&&"f"!==w.type)throw{code:"S0401",stack:(new Error).stack,value:w.type,offset:L};var k=z(b,L,"<",">");w.subtype=b.substring(L+1,k),L=k}L++}var Y="^"+o.map(function($){return"("+$.regex+")"}).join("")+"$",x=new RegExp(Y),B=function(H){var ie;if(D.isFunction(H))ie="f";else switch(O(H)){case"string":ie="s";break;case"number":ie="n";break;case"boolean":ie="b";break;case"object":ie=null===H?"l":Array.isArray(H)?"a":"o";break;default:ie="m"}return ie};return{definition:b,validate:function(H,ie){var ne="";H.forEach(function(te){ne+=B(te)});var Q=x.exec(ne);if(Q){var le=[],pe=0;return o.forEach(function(te,ae){var K=H[pe],de=Q[ae+1];if(""===de)if(te.context&&te.contextRegex){var Me=B(ie);if(!te.contextRegex.test(Me))throw{code:"T0411",stack:(new Error).stack,value:ie,index:pe+1};le.push(ie)}else le.push(K),pe++;else de.split("").forEach(function(me){if("a"===te.type){if("m"===me)K=void 0;else{K=H[pe];var be=!0;if(typeof te.subtype<"u")if("a"!==me&&de!==te.subtype)be=!1;else if("a"===me&&K.length>0){var Le=B(K[0]);be=Le===te.subtype.charAt(0)&&0===K.filter(function(Oe){return B(Oe)!==Le}).length}if(!be)throw{code:"T0412",stack:(new Error).stack,value:K,index:pe+1,type:y[te.subtype]};"a"!==me&&(K=[K])}le.push(K),pe++}else le.push(K),pe++})}),le}!function(H,ie){for(var ne="^",Q=0,le=0;le<o.length;le++){var pe=ie.match(ne+=o[le].regex);if(null===pe)throw{code:"T0410",stack:(new Error).stack,value:H[Q],index:Q+1};Q=pe[0].length}throw{code:"T0410",stack:(new Error).stack,value:H[Q],index:Q+1}}(H,ne)}}});m.exports=E},{"./utils":6}],6:[function(g,m,T){"use strict";function O(b,L){var o=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(!o){if(Array.isArray(b)||(o=function D(b,L){if(b){if("string"==typeof b)return E(b,L);var o=Object.prototype.toString.call(b).slice(8,-1);if("Object"===o&&b.constructor&&(o=b.constructor.name),"Map"===o||"Set"===o)return Array.from(b);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return E(b,L)}}(b))||L&&b&&"number"==typeof b.length){o&&(b=o);var C=0,w=function(){};return{s:w,n:function(){return C>=b.length?{done:!0}:{done:!1,value:b[C++]}},e:function(U){throw U},f:w}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var z,M=!0,q=!1;return{s:function(){o=o.call(b)},n:function(){var U=o.next();return M=U.done,U},e:function(U){q=!0,z=U},f:function(){try{!M&&null!=o.return&&o.return()}finally{if(q)throw z}}}}function E(b,L){(null==L||L>b.length)&&(L=b.length);for(var o=0,C=new Array(L);o<L;o++)C[o]=b[o];return C}function y(b){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(L){return typeof L}:function(L){return L&&"function"==typeof Symbol&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L})(b)}var I=function(){function b(B){var j=!1;if("number"==typeof B&&(j=!isNaN(B))&&!isFinite(B))throw{code:"D1001",value:B,stack:(new Error).stack};return j}var U=("function"==typeof Symbol?Symbol:{}).iterator||"@@iterator";return{isNumeric:b,isArrayOfStrings:function L(B){var j=!1;return Array.isArray(B)&&(j=0===B.filter(function($){return"string"!=typeof $}).length),j},isArrayOfNumbers:function o(B){var j=!1;return Array.isArray(B)&&(j=0===B.filter(function($){return!b($)}).length),j},createSequence:function C(){var B=[];return B.sequence=!0,1===arguments.length&&B.push(arguments[0]),B},isSequence:function w(B){return!0===B.sequence&&Array.isArray(B)},isFunction:function M(B){return B&&(!0===B._jsonata_function||!0===B._jsonata_lambda)||"function"==typeof B},isLambda:function z(B){return B&&!0===B._jsonata_lambda},isIterable:function k(B){return"object"===y(B)&&null!==B&&U in B&&"next"in B&&"function"==typeof B.next},getFunctionArity:function q(B){return"number"==typeof B.arity?B.arity:"function"==typeof B.implementation?B.implementation.length:"number"==typeof B.length?B.length:B.arguments.length},isDeepEqual:function Y(B,j){if(B===j)return!0;if("object"===y(B)&&"object"===y(j)&&null!==B&&null!==j){if(Array.isArray(B)&&Array.isArray(j)){if(B.length!==j.length)return!1;for(var $=0;$<B.length;$++)if(!Y(B[$],j[$]))return!1;return!0}var H=Object.getOwnPropertyNames(B),ie=Object.getOwnPropertyNames(j);if(H.length!==ie.length)return!1;for(H=H.sort(),ie=ie.sort(),$=0;$<H.length;$++)if(H[$]!==ie[$])return!1;for($=0;$<H.length;$++){var ne=H[$];if(!Y(B[ne],j[ne]))return!1}return!0}return!1},stringToArray:function x(B){var H,j=[],$=O(B);try{for($.s();!(H=$.n()).done;)j.push(H.value)}catch(ne){$.e(ne)}finally{$.f()}return j}}}();m.exports=I},{}]},{},[3])(3)},61027:(at,N,s)=>{var n=s(71978).runInContext();at.exports=s(64869)(n,n)},64869:(at,N,s)=>{var n=s(41339),a=s(47497),g=Array.prototype.push;function T(b,L){return 2==L?function(o,C){return b(o,C)}:function(o){return b(o)}}function O(b){for(var L=b?b.length:0,o=Array(L);L--;)o[L]=b[L];return o}function y(b,L){return function(){var o=arguments.length;if(o){for(var C=Array(o);o--;)C[o]=arguments[o];var w=C[0]=L.apply(void 0,C);return b.apply(void 0,C),w}}}at.exports=function I(b,L,o,C){var w="function"==typeof L,M=L===Object(L);if(M&&(C=o,o=L,L=void 0),null==o)throw new TypeError;C||(C={});var q={cap:!("cap"in C)||C.cap,curry:!("curry"in C)||C.curry,fixed:!("fixed"in C)||C.fixed,immutable:!("immutable"in C)||C.immutable,rearg:!("rearg"in C)||C.rearg},z=w?o:a,F="curry"in C&&C.curry,U="fixed"in C&&C.fixed,k="rearg"in C&&C.rearg,Y=w?o.runInContext():void 0,x=w?o:{ary:b.ary,assign:b.assign,clone:b.clone,curry:b.curry,forEach:b.forEach,isArray:b.isArray,isError:b.isError,isFunction:b.isFunction,isWeakMap:b.isWeakMap,iteratee:b.iteratee,keys:b.keys,rearg:b.rearg,toInteger:b.toInteger,toPath:b.toPath},B=x.ary,j=x.assign,$=x.clone,H=x.curry,ie=x.forEach,ne=x.isArray,Q=x.isError,le=x.isFunction,pe=x.isWeakMap,te=x.keys,ae=x.rearg,K=x.toInteger,de=x.toPath,Me=te(n.aryMethod),me={castArray:function(ht){return function(){var gt=arguments[0];return ne(gt)?ht(O(gt)):ht.apply(void 0,arguments)}},iteratee:function(ht){return function(){var Ge=arguments[1],Se=ht(arguments[0],Ge),ke=Se.length;return q.cap&&"number"==typeof Ge?(Ge=Ge>2?Ge-2:1,ke&&ke<=Ge?Se:T(Se,Ge)):Se}},mixin:function(ht){return function(gt){var Ge=this;if(!le(Ge))return ht(Ge,Object(gt));var Se=[];return ie(te(gt),function(ke){le(gt[ke])&&Se.push([ke,Ge.prototype[ke]])}),ht(Ge,Object(gt)),ie(Se,function(ke){var Ne=ke[1];le(Ne)?Ge.prototype[ke[0]]=Ne:delete Ge.prototype[ke[0]]}),Ge}},nthArg:function(ht){return function(gt){var Ge=gt<0?1:K(gt)+1;return H(ht(gt),Ge)}},rearg:function(ht){return function(gt,Ge){var Se=Ge?Ge.length:0;return H(ht(gt,Ge),Se)}},runInContext:function(ht){return function(gt){return I(b,ht(gt),C)}}};function Ae(ht,gt,Ge){if(q.fixed&&(U||!n.skipFixed[ht])){var Se=n.methodSpread[ht],ke=Se&&Se.start;return void 0===ke?B(gt,Ge):function E(b,L){return function(){for(var o=arguments.length,C=o-1,w=Array(o);o--;)w[o]=arguments[o];var M=w[L],q=w.slice(0,L);return M&&g.apply(q,M),L!=C&&g.apply(q,w.slice(L+1)),b.apply(this,q)}}(gt,ke)}return gt}function Oe(ht,gt,Ge){return q.rearg&&Ge>1&&(k||!n.skipRearg[ht])?ae(gt,n.methodRearg[ht]||n.aryRearg[Ge]):gt}function Xe(ht,gt){for(var Ge=-1,Se=(gt=de(gt)).length,ke=Se-1,Ne=$(Object(ht)),Je=Ne;null!=Je&&++Ge<Se;){var Qe=gt[Ge],rt=Je[Qe];null!=rt&&!(le(rt)||Q(rt)||pe(rt))&&(Je[Qe]=$(Ge==ke?rt:Object(rt))),Je=Je[Qe]}return Ne}function $e(ht,gt){var Ge=n.aliasToReal[ht]||ht,Se=n.remap[Ge]||Ge,ke=C;return function(Ne){var Je=w?Y:x,Qe=w?Y[Se]:gt,rt=j(j({},ke),Ne);return I(Je,Ge,Qe,rt)}}function Ye(ht,gt){return function(){var Ge=arguments.length;if(!Ge)return ht();for(var Se=Array(Ge);Ge--;)Se[Ge]=arguments[Ge];var ke=q.rearg?0:Ge-1;return Se[ke]=gt(Se[ke]),ht.apply(void 0,Se)}}function Ct(ht,gt,Ge){var Se,ke=n.aliasToReal[ht]||ht,Ne=gt,Je=me[ke];return Je?Ne=Je(gt):q.immutable&&(n.mutate.array[ke]?Ne=y(gt,O):n.mutate.object[ke]?Ne=y(gt,function D(b){return function(L){return b({},L)}}(gt)):n.mutate.set[ke]&&(Ne=y(gt,Xe))),ie(Me,function(Qe){return ie(n.aryMethod[Qe],function(rt){if(ke==rt){var ft=n.methodSpread[ke];return Se=ft&&ft.afterRearg?Ae(ke,Oe(ke,Ne,Qe),Qe):Oe(ke,Ae(ke,Ne,Qe),Qe),Se=function Le(ht,gt,Ge){return F||q.curry&&Ge>1?H(gt,Ge):gt}(0,Se=function be(ht,gt){if(q.cap){var Ge=n.iterateeRearg[ht];if(Ge)return function Be(ht,gt){return Ye(ht,function(Ge){var Se=gt.length;return function m(b,L){return 2==L?function(o,C){return b.apply(void 0,arguments)}:function(o){return b.apply(void 0,arguments)}}(ae(T(Ge,Se),gt),Se)})}(gt,Ge);var Se=!w&&n.iterateeAry[ht];if(Se)return function ze(ht,gt){return Ye(ht,function(Ge){return"function"==typeof Ge?T(Ge,gt):Ge})}(gt,Se)}return gt}(ke,Se),Qe),!1}}),!Se}),Se||(Se=Ne),Se==gt&&(Se=F?H(Se,1):function(){return gt.apply(this,arguments)}),Se.convert=$e(ke,gt),Se.placeholder=gt.placeholder=Ge,Se}if(!M)return Ct(L,o,z);var Lt=o,Vt=[];return ie(Me,function(ht){ie(n.aryMethod[ht],function(gt){var Ge=Lt[n.remap[gt]||gt];Ge&&Vt.push([gt,Ct(gt,Ge,Lt)])})}),ie(te(Lt),function(ht){var gt=Lt[ht];if("function"==typeof gt){for(var Ge=Vt.length;Ge--;)if(Vt[Ge][0]==ht)return;gt.convert=$e(ht,gt),Vt.push([ht,gt])}}),ie(Vt,function(ht){Lt[ht[0]]=ht[1]}),Lt.convert=function Pe(ht){return Lt.runInContext.convert(ht)(void 0)},Lt.placeholder=Lt,ie(te(Lt),function(ht){ie(n.realToAlias[ht]||[],function(gt){Lt[gt]=Lt[ht]})}),Lt}},41339:(at,N)=>{N.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},N.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},N.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},N.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},N.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},N.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},N.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},N.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},N.realToAlias=function(){var s=Object.prototype.hasOwnProperty,n=N.aliasToReal,a={};for(var g in n){var m=n[g];s.call(a,m)?a[m].push(g):a[m]=[g]}return a}(),N.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},N.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},N.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},47497:at=>{at.exports={}},67376:function(at,N,s){var n;at=s.nmd(at),function(){var a,O="Expected a function",E="__lodash_hash_undefined__",I="__lodash_placeholder__",k=32,x=128,te=1/0,ae=9007199254740991,Me=4294967295,Le=[["ary",x],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",k],["partialRight",64],["rearg",256]],Ae="[object Arguments]",Oe="[object Array]",Pe="[object Boolean]",$e="[object Date]",Be="[object Error]",Ye="[object Function]",Ct="[object GeneratorFunction]",Lt="[object Map]",Vt="[object Number]",gt="[object Object]",Ge="[object Promise]",ke="[object RegExp]",Ne="[object Set]",Je="[object String]",Qe="[object Symbol]",ft="[object WeakMap]",It="[object ArrayBuffer]",In="[object DataView]",Kt="[object Float32Array]",Ze="[object Float64Array]",wn="[object Int8Array]",zn="[object Int16Array]",di="[object Int32Array]",jn="[object Uint8Array]",Di="[object Uint8ClampedArray]",Li="[object Uint16Array]",ms="[object Uint32Array]",Rn=/\b__p \+= '';/g,Qt=/\b(__p \+=) '' \+/g,Wt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Yt=/&(?:amp|lt|gt|quot|#39);/g,Mn=/[&<>"']/g,ci=RegExp(Yt.source),Ue=RegExp(Mn.source),Un=/<%-([\s\S]+?)%>/g,_n=/<%([\s\S]+?)%>/g,Xn=/<%=([\s\S]+?)%>/g,Ii=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,En=/^\w*$/,ln=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Dn=/[\\^$.*+?()[\]{}|]/g,Ai=RegExp(Dn.source),os=/^\s+/,Fs=/\s/,sn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,oi=/\{\n\/\* \[wrapped with (.+)\] \*/,pt=/,? & /,cn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Tn=/[()=,{}\[\]\/\s]/,vi=/\\(\\)?/g,ui=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$i=/\w*$/,Nn=/^[-+]0x[0-9a-f]+$/i,Hn=/^0b[01]+$/i,Qn=/^\[object .+?Constructor\]$/,ri=/^0o[0-7]+$/i,li=/^(?:0|[1-9]\d*)$/,Fi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ei=/($^)/,Hi=/['\n\r\u2028\u2029\\]/g,gn="\\ud800-\\udfff",mi="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",wi="\\u2700-\\u27bf",Si="a-z\\xdf-\\xf6\\xf8-\\xff",Rt="A-Z\\xc0-\\xd6\\xd8-\\xde",Jt="\\ufe0e\\ufe0f",He="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nt="["+gn+"]",Ot="["+He+"]",rn="["+mi+"]",Jn="\\d+",Oi="["+wi+"]",Ci="["+Si+"]",Ui="[^"+gn+He+Jn+wi+Si+Rt+"]",ps="\\ud83c[\\udffb-\\udfff]",_s="[^"+gn+"]",js="(?:\\ud83c[\\udde6-\\uddff]){2}",es="[\\ud800-\\udbff][\\udc00-\\udfff]",zs="["+Rt+"]",ds="(?:"+Ci+"|"+Ui+")",rs="(?:"+zs+"|"+Ui+")",ao="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",wo="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",zr="(?:"+rn+"|"+ps+")?",Ea="["+Jt+"]?",bi=Ea+zr+"(?:\\u200d(?:"+[_s,js,es].join("|")+")"+Ea+zr+")*",Po="(?:"+[Oi,js,es].join("|")+")"+bi,Pn="(?:"+[_s+rn+"?",rn,js,es,nt].join("|")+")",Ei=RegExp("['\u2019]","g"),fi=RegExp(rn,"g"),Ks=RegExp(ps+"(?="+ps+")|"+Pn+bi,"g"),fa=RegExp([zs+"?"+Ci+"+"+ao+"(?="+[Ot,zs,"$"].join("|")+")",rs+"+"+wo+"(?="+[Ot,zs+ds,"$"].join("|")+")",zs+"?"+ds+"+"+ao,zs+"+"+wo,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Jn,Po].join("|"),"g"),za=RegExp("[\\u200d"+gn+mi+Jt+"]"),l1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Yn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],so=-1,Hr={};Hr[Kt]=Hr[Ze]=Hr[wn]=Hr[zn]=Hr[di]=Hr[jn]=Hr[Di]=Hr[Li]=Hr[ms]=!0,Hr[Ae]=Hr[Oe]=Hr[It]=Hr[Pe]=Hr[In]=Hr[$e]=Hr[Be]=Hr[Ye]=Hr[Lt]=Hr[Vt]=Hr[gt]=Hr[ke]=Hr[Ne]=Hr[Je]=Hr[ft]=!1;var vr={};vr[Ae]=vr[Oe]=vr[It]=vr[In]=vr[Pe]=vr[$e]=vr[Kt]=vr[Ze]=vr[wn]=vr[zn]=vr[di]=vr[Lt]=vr[Vt]=vr[gt]=vr[ke]=vr[Ne]=vr[Je]=vr[Qe]=vr[jn]=vr[Di]=vr[Li]=vr[ms]=!0,vr[Be]=vr[Ye]=vr[ft]=!1;var K1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ga=parseFloat,cl=parseInt,Ol="object"==typeof global&&global&&global.Object===Object&&global,Wa="object"==typeof self&&self&&self.Object===Object&&self,Jr=Ol||Wa||Function("return this")(),p0=N&&!N.nodeType&&N,Tr=p0&&at&&!at.nodeType&&at,Ta=Tr&&Tr.exports===p0,Ao=Ta&&Ol.process,Da=function(){try{return Tr&&Tr.require&&Tr.require("util").types||Ao&&Ao.binding&&Ao.binding("util")}catch{}}(),y0=Da&&Da.isArrayBuffer,ma=Da&&Da.isDate,Lr=Da&&Da.isMap,Ia=Da&&Da.isRegExp,Vs=Da&&Da.isSet,Ar=Da&&Da.isTypedArray;function gr(Wn,yi,Ut){switch(Ut.length){case 0:return Wn.call(yi);case 1:return Wn.call(yi,Ut[0]);case 2:return Wn.call(yi,Ut[0],Ut[1]);case 3:return Wn.call(yi,Ut[0],Ut[1],Ut[2])}return Wn.apply(yi,Ut)}function Zr(Wn,yi,Ut,ss){for(var vs=-1,Us=null==Wn?0:Wn.length;++vs<Us;){var or=Wn[vs];yi(ss,or,Ut(or),Wn)}return ss}function Ur(Wn,yi){for(var Ut=-1,ss=null==Wn?0:Wn.length;++Ut<ss&&!1!==yi(Wn[Ut],Ut,Wn););return Wn}function Co(Wn,yi){for(var Ut=null==Wn?0:Wn.length;Ut--&&!1!==yi(Wn[Ut],Ut,Wn););return Wn}function Ka(Wn,yi){for(var Ut=-1,ss=null==Wn?0:Wn.length;++Ut<ss;)if(!yi(Wn[Ut],Ut,Wn))return!1;return!0}function tr(Wn,yi){for(var Ut=-1,ss=null==Wn?0:Wn.length,vs=0,Us=[];++Ut<ss;){var or=Wn[Ut];yi(or,Ut,Wn)&&(Us[vs++]=or)}return Us}function yr(Wn,yi){return!(null==Wn||!Wn.length)&&ra(Wn,yi,0)>-1}function kr(Wn,yi,Ut){for(var ss=-1,vs=null==Wn?0:Wn.length;++ss<vs;)if(Ut(yi,Wn[ss]))return!0;return!1}function Uo(Wn,yi){for(var Ut=-1,ss=null==Wn?0:Wn.length,vs=Array(ss);++Ut<ss;)vs[Ut]=yi(Wn[Ut],Ut,Wn);return vs}function sr(Wn,yi){for(var Ut=-1,ss=yi.length,vs=Wn.length;++Ut<ss;)Wn[vs+Ut]=yi[Ut];return Wn}function J1(Wn,yi,Ut,ss){var vs=-1,Us=null==Wn?0:Wn.length;for(ss&&Us&&(Ut=Wn[++vs]);++vs<Us;)Ut=yi(Ut,Wn[vs],vs,Wn);return Ut}function uo(Wn,yi,Ut,ss){var vs=null==Wn?0:Wn.length;for(ss&&vs&&(Ut=Wn[--vs]);vs--;)Ut=yi(Ut,Wn[vs],vs,Wn);return Ut}function Dl(Wn,yi){for(var Ut=-1,ss=null==Wn?0:Wn.length;++Ut<ss;)if(yi(Wn[Ut],Ut,Wn))return!0;return!1}var mo=Dr("length");function Nr(Wn,yi,Ut){var ss;return Ut(Wn,function(vs,Us,or){if(yi(vs,Us,or))return ss=Us,!1}),ss}function Pl(Wn,yi,Ut,ss){for(var vs=Wn.length,Us=Ut+(ss?1:-1);ss?Us--:++Us<vs;)if(yi(Wn[Us],Us,Wn))return Us;return-1}function ra(Wn,yi,Ut){return yi==yi?function jl(Wn,yi,Ut){for(var ss=Ut-1,vs=Wn.length;++ss<vs;)if(Wn[ss]===yi)return ss;return-1}(Wn,yi,Ut):Pl(Wn,g1,Ut)}function ul(Wn,yi,Ut,ss){for(var vs=Ut-1,Us=Wn.length;++vs<Us;)if(ss(Wn[vs],yi))return vs;return-1}function g1(Wn){return Wn!=Wn}function hc(Wn,yi){var Ut=null==Wn?0:Wn.length;return Ut?_a(Wn,yi)/Ut:NaN}function Dr(Wn){return function(yi){return null==yi?a:yi[Wn]}}function Jo(Wn){return function(yi){return null==Wn?a:Wn[yi]}}function W1(Wn,yi,Ut,ss,vs){return vs(Wn,function(Us,or,wr){Ut=ss?(ss=!1,Us):yi(Ut,Us,or,wr)}),Ut}function _a(Wn,yi){for(var Ut,ss=-1,vs=Wn.length;++ss<vs;){var Us=yi(Wn[ss]);Us!==a&&(Ut=Ut===a?Us:Ut+Us)}return Ut}function L1(Wn,yi){for(var Ut=-1,ss=Array(Wn);++Ut<Wn;)ss[Ut]=yi(Ut);return ss}function z1(Wn){return Wn&&Wn.slice(0,Pr(Wn)+1).replace(os,"")}function un(Wn){return function(yi){return Wn(yi)}}function tn(Wn,yi){return Uo(yi,function(Ut){return Wn[Ut]})}function Dt(Wn,yi){return Wn.has(yi)}function qn(Wn,yi){for(var Ut=-1,ss=Wn.length;++Ut<ss&&ra(yi,Wn[Ut],0)>-1;);return Ut}function zi(Wn,yi){for(var Ut=Wn.length;Ut--&&ra(yi,Wn[Ut],0)>-1;);return Ut}var xr=Jo({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),Al=Jo({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function P0(Wn){return"\\"+K1[Wn]}function Ac(Wn){return za.test(Wn)}function ur(Wn){var yi=-1,Ut=Array(Wn.size);return Wn.forEach(function(ss,vs){Ut[++yi]=[vs,ss]}),Ut}function w1(Wn,yi){return function(Ut){return Wn(yi(Ut))}}function So(Wn,yi){for(var Ut=-1,ss=Wn.length,vs=0,Us=[];++Ut<ss;){var or=Wn[Ut];(or===yi||or===I)&&(Wn[Ut]=I,Us[vs++]=Ut)}return Us}function s0(Wn){var yi=-1,Ut=Array(Wn.size);return Wn.forEach(function(ss){Ut[++yi]=ss}),Ut}function ba(Wn){return Ac(Wn)?function I0(Wn){for(var yi=Ks.lastIndex=0;Ks.test(Wn);)++yi;return yi}(Wn):mo(Wn)}function qa(Wn){return Ac(Wn)?function Il(Wn){return Wn.match(Ks)||[]}(Wn):function vl(Wn){return Wn.split("")}(Wn)}function Pr(Wn){for(var yi=Wn.length;yi--&&Fs.test(Wn.charAt(yi)););return yi}var fc=Jo({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),b1=function Wn(yi){var p,Ut=(yi=null==yi?Jr:b1.defaults(Jr.Object(),yi,b1.pick(Jr,Yn))).Array,ss=yi.Date,vs=yi.Error,Us=yi.Function,or=yi.Math,wr=yi.Object,Y0=yi.RegExp,R0=yi.String,$a=yi.TypeError,Ra=Ut.prototype,pl=wr.prototype,B0=yi["__core-js_shared__"],M1=Us.prototype.toString,Gr=pl.hasOwnProperty,xo=0,rr=(p=/[^.]+$/.exec(B0&&B0.keys&&B0.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"",aa=pl.toString,B1=M1.call(wr),Q1=Jr._,br=Y0("^"+M1.call(Gr).replace(Dn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Rl=Ta?yi.Buffer:a,hl=yi.Symbol,hr=yi.Uint8Array,Ul=Rl?Rl.allocUnsafe:a,t1=w1(wr.getPrototypeOf,wr),L0=wr.create,Ll=pl.propertyIsEnumerable,k0=Ra.splice,Gl=hl?hl.isConcatSpreadable:a,fl=hl?hl.iterator:a,N1=hl?hl.toStringTag:a,bt=function(){try{var p=_0(wr,"defineProperty");return p({},"",{}),p}catch{}}(),Ln=yi.clearTimeout!==Jr.clearTimeout&&yi.clearTimeout,kt=ss&&ss.now!==Jr.Date.now&&ss.now,dn=yi.setTimeout!==Jr.setTimeout&&yi.setTimeout,si=or.ceil,is=or.floor,bs=wr.getOwnPropertySymbols,Xs=Rl?Rl.isBuffer:a,jr=yi.isFinite,Mr=Ra.join,Ma=w1(wr.keys,wr),Rs=or.max,fr=or.min,Fo=ss.now,Va=yi.parseInt,E0=or.random,k1=Ra.reverse,n1=_0(yi,"DataView"),ta=_0(yi,"Map"),Ja=_0(yi,"Promise"),ir=_0(yi,"Set"),la=_0(yi,"WeakMap"),c1=_0(wr,"create"),j1=la&&new la,ii={},S0=zd(n1),ql=zd(ta),Z1=zd(Ja),el=zd(ir),wl=zd(la),Oa=hl?hl.prototype:a,j0=Oa?Oa.valueOf:a,ec=Oa?Oa.toString:a;function Zn(p){if(p1(p)&&!fo(p)&&!(p instanceof dr)){if(p instanceof X0)return p;if(Gr.call(p,"__wrapped__"))return kh(p)}return new X0(p)}var s1=function(){function p(){}return function(A){if(!Hl(A))return{};if(L0)return L0(A);p.prototype=A;var ee=new p;return p.prototype=a,ee}}();function $l(){}function X0(p,A){this.__wrapped__=p,this.__actions__=[],this.__chain__=!!A,this.__index__=0,this.__values__=a}function dr(p){this.__wrapped__=p,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Me,this.__views__=[]}function a0(p){var A=-1,ee=null==p?0:p.length;for(this.clear();++A<ee;){var Re=p[A];this.set(Re[0],Re[1])}}function D1(p){var A=-1,ee=null==p?0:p.length;for(this.clear();++A<ee;){var Re=p[A];this.set(Re[0],Re[1])}}function o1(p){var A=-1,ee=null==p?0:p.length;for(this.clear();++A<ee;){var Re=p[A];this.set(Re[0],Re[1])}}function T0(p){var A=-1,ee=null==p?0:p.length;for(this.__data__=new o1;++A<ee;)this.add(p[A])}function ot(p){var A=this.__data__=new D1(p);this.size=A.size}function je(p,A){var ee=fo(p),Re=!ee&&Vr(p),_t=!ee&&!Re&&Ya(p),Gt=!ee&&!Re&&!_t&&Md(p),vn=ee||Re||_t||Gt,kn=vn?L1(p.length,R0):[],ni=kn.length;for(var ji in p)(A||Gr.call(p,ji))&&(!vn||!("length"==ji||_t&&("offset"==ji||"parent"==ji)||Gt&&("buffer"==ji||"byteLength"==ji||"byteOffset"==ji)||rc(ji,ni)))&&kn.push(ji);return kn}function Kn(p){var A=p.length;return A?p[Zs(0,A-1)]:a}function De(p,A){return d1(Lc(p),C0(A,0,p.length))}function Pt(p){return d1(Lc(p))}function mt(p,A,ee){(ee!==a&&!Or(p[A],ee)||ee===a&&!(A in p))&&Er(p,A,ee)}function pi(p,A,ee){var Re=p[A];(!Gr.call(p,A)||!Or(Re,ee)||ee===a&&!(A in p))&&Er(p,A,ee)}function Ls(p,A){for(var ee=p.length;ee--;)if(Or(p[ee][0],A))return ee;return-1}function lo(p,A,ee,Re){return Ke(p,function(_t,Gt,vn){A(Re,_t,ee(_t),vn)}),Re}function Ro(p,A){return p&&G1(A,Jc(A),p)}function Er(p,A,ee){"__proto__"==A&&bt?bt(p,A,{configurable:!0,enumerable:!0,value:ee,writable:!0}):p[A]=ee}function Xr(p,A){for(var ee=-1,Re=A.length,_t=Ut(Re),Gt=null==p;++ee<Re;)_t[ee]=Gt?a:tp(p,A[ee]);return _t}function C0(p,A,ee){return p==p&&(ee!==a&&(p=p<=ee?p:ee),A!==a&&(p=p>=A?p:A)),p}function S(p,A,ee,Re,_t,Gt){var vn,kn=1&A,ni=2&A,ji=4&A;if(ee&&(vn=_t?ee(p,Re,_t,Gt):ee(p)),vn!==a)return vn;if(!Hl(p))return p;var Wi=fo(p);if(Wi){if(vn=function mp(p){var A=p.length,ee=new p.constructor(A);return A&&"string"==typeof p[0]&&Gr.call(p,"index")&&(ee.index=p.index,ee.input=p.input),ee}(p),!kn)return Lc(p,vn)}else{var Qi=na(p),ys=Qi==Ye||Qi==Ct;if(Ya(p))return ud(p,kn);if(Qi==gt||Qi==Ae||ys&&!_t){if(vn=ni||ys?{}:_p(p),!kn)return ni?function vu(p,A){return G1(p,Wp(p),A)}(p,function to(p,A){return p&&G1(A,td(A),p)}(vn,p)):function Uf(p,A){return G1(p,fu(p),A)}(p,Ro(vn,p))}else{if(!vr[Qi])return _t?p:{};vn=function Ku(p,A,ee){var Re=p.constructor;switch(A){case It:return t0(p);case Pe:case $e:return new Re(+p);case In:return function $c(p,A){var ee=A?t0(p.buffer):p.buffer;return new p.constructor(ee,p.byteOffset,p.byteLength)}(p,ee);case Kt:case Ze:case wn:case zn:case di:case jn:case Di:case Li:case ms:return ic(p,ee);case Lt:return new Re;case Vt:case Je:return new Re(p);case ke:return function Hu(p){var A=new p.constructor(p.source,$i.exec(p));return A.lastIndex=p.lastIndex,A}(p);case Ne:return new Re;case Qe:return function eu(p){return j0?wr(j0.call(p)):{}}(p)}}(p,Qi,kn)}}Gt||(Gt=new ot);var qs=Gt.get(p);if(qs)return qs;Gt.set(p,vn),Hf(p)?p.forEach(function(co){vn.add(S(co,A,ee,co,p,Gt))}):Su(p)&&p.forEach(function(co,Ko){vn.set(Ko,S(co,A,ee,Ko,p,Gt))});var To=Wi?a:(ji?ni?_o:oh:ni?td:Jc)(p);return Ur(To||p,function(co,Ko){To&&(co=p[Ko=co]),pi(vn,Ko,S(co,A,ee,Ko,p,Gt))}),vn}function se(p,A,ee){var Re=ee.length;if(null==p)return!Re;for(p=wr(p);Re--;){var _t=ee[Re],vn=p[_t];if(vn===a&&!(_t in p)||!(0,A[_t])(vn))return!1}return!0}function ue(p,A,ee){if("function"!=typeof p)throw new $a(O);return Ju(function(){p.apply(a,ee)},A)}function Te(p,A,ee,Re){var _t=-1,Gt=yr,vn=!0,kn=p.length,ni=[],ji=A.length;if(!kn)return ni;ee&&(A=Uo(A,un(ee))),Re?(Gt=kr,vn=!1):A.length>=200&&(Gt=Dt,vn=!1,A=new T0(A));e:for(;++_t<kn;){var Wi=p[_t],Qi=null==ee?Wi:ee(Wi);if(Wi=Re||0!==Wi?Wi:0,vn&&Qi==Qi){for(var ys=ji;ys--;)if(A[ys]===Qi)continue e;ni.push(Wi)}else Gt(A,Qi,Re)||ni.push(Wi)}return ni}Zn.templateSettings={escape:Un,evaluate:_n,interpolate:Xn,variable:"",imports:{_:Zn}},(Zn.prototype=$l.prototype).constructor=Zn,(X0.prototype=s1($l.prototype)).constructor=X0,(dr.prototype=s1($l.prototype)).constructor=dr,a0.prototype.clear=function Ru(){this.__data__=c1?c1(null):{},this.size=0},a0.prototype.delete=function Uc(p){var A=this.has(p)&&delete this.__data__[p];return this.size-=A?1:0,A},a0.prototype.get=function f0(p){var A=this.__data__;if(c1){var ee=A[p];return ee===E?a:ee}return Gr.call(A,p)?A[p]:a},a0.prototype.has=function qr(p){var A=this.__data__;return c1?A[p]!==a:Gr.call(A,p)},a0.prototype.set=function tc(p,A){var ee=this.__data__;return this.size+=this.has(p)?0:1,ee[p]=c1&&A===a?E:A,this},D1.prototype.clear=function Gc(){this.__data__=[],this.size=0},D1.prototype.delete=function P1(p){var A=this.__data__,ee=Ls(A,p);return!(ee<0||(ee==A.length-1?A.pop():k0.call(A,ee,1),--this.size,0))},D1.prototype.get=function xl(p){var A=this.__data__,ee=Ls(A,p);return ee<0?a:A[ee][1]},D1.prototype.has=function mc(p){return Ls(this.__data__,p)>-1},D1.prototype.set=function nc(p,A){var ee=this.__data__,Re=Ls(ee,p);return Re<0?(++this.size,ee.push([p,A])):ee[Re][1]=A,this},o1.prototype.clear=function yl(){this.size=0,this.__data__={hash:new a0,map:new(ta||D1),string:new a0}},o1.prototype.delete=function _c(p){var A=Hc(this,p).delete(p);return this.size-=A?1:0,A},o1.prototype.get=function l0(p){return Hc(this,p).get(p)},o1.prototype.has=function qc(p){return Hc(this,p).has(p)},o1.prototype.set=function cu(p,A){var ee=Hc(this,p),Re=ee.size;return ee.set(p,A),this.size+=ee.size==Re?0:1,this},T0.prototype.add=T0.prototype.push=function Js(p){return this.__data__.set(p,E),this},T0.prototype.has=function Vl(p){return this.__data__.has(p)},ot.prototype.clear=function wt(){this.__data__=new D1,this.size=0},ot.prototype.delete=function ct(p){var A=this.__data__,ee=A.delete(p);return this.size=A.size,ee},ot.prototype.get=function Nt(p){return this.__data__.get(p)},ot.prototype.has=function pn(p){return this.__data__.has(p)},ot.prototype.set=function Vn(p,A){var ee=this.__data__;if(ee instanceof D1){var Re=ee.__data__;if(!ta||Re.length<199)return Re.push([p,A]),this.size=++ee.size,this;ee=this.__data__=new o1(Re)}return ee.set(p,A),this.size=ee.size,this};var Ke=Fh(Ri),lt=Fh(Bi,!0);function xt(p,A){var ee=!0;return Ke(p,function(Re,_t,Gt){return ee=!!A(Re,_t,Gt)}),ee}function vt(p,A,ee){for(var Re=-1,_t=p.length;++Re<_t;){var Gt=p[Re],vn=A(Gt);if(null!=vn&&(kn===a?vn==vn&&!gu(vn):ee(vn,kn)))var kn=vn,ni=Gt}return ni}function an(p,A){var ee=[];return Ke(p,function(Re,_t,Gt){A(Re,_t,Gt)&&ee.push(Re)}),ee}function fn(p,A,ee,Re,_t){var Gt=-1,vn=p.length;for(ee||(ee=Xd),_t||(_t=[]);++Gt<vn;){var kn=p[Gt];A>0&&ee(kn)?A>1?fn(kn,A-1,ee,Re,_t):sr(_t,kn):Re||(_t[_t.length]=kn)}return _t}var ti=dd(),Ti=dd(!0);function Ri(p,A){return p&&ti(p,A,Jc)}function Bi(p,A){return p&&Ti(p,A,Jc)}function ts(p,A){return tr(A,function(ee){return ed(p[ee])})}function Ws(p,A){for(var ee=0,Re=(A=tl(A,p)).length;null!=p&&ee<Re;)p=p[wc(A[ee++])];return ee&&ee==Re?p:a}function Wo(p,A,ee){var Re=A(p);return fo(p)?Re:sr(Re,ee(p))}function ro(p){return null==p?p===a?"[object Undefined]":"[object Null]":N1&&N1 in wr(p)?function Yd(p){var A=Gr.call(p,N1),ee=p[N1];try{p[N1]=a;var Re=!0}catch{}var _t=aa.call(p);return Re&&(A?p[N1]=ee:delete p[N1]),_t}(p):function gf(p){return aa.call(p)}(p)}function Bo(p,A){return p>A}function Xo(p,A){return null!=p&&Gr.call(p,A)}function ar(p,A){return null!=p&&A in wr(p)}function mr(p,A,ee){for(var Re=ee?kr:yr,_t=p[0].length,Gt=p.length,vn=Gt,kn=Ut(Gt),ni=1/0,ji=[];vn--;){var Wi=p[vn];vn&&A&&(Wi=Uo(Wi,un(A))),ni=fr(Wi.length,ni),kn[vn]=!ee&&(A||_t>=120&&Wi.length>=120)?new T0(vn&&Wi):a}Wi=p[0];var Qi=-1,ys=kn[0];e:for(;++Qi<_t&&ji.length<ni;){var qs=Wi[Qi],Ys=A?A(qs):qs;if(qs=ee||0!==qs?qs:0,!(ys?Dt(ys,Ys):Re(ji,Ys,ee))){for(vn=Gt;--vn;){var To=kn[vn];if(!(To?Dt(To,Ys):Re(p[vn],Ys,ee)))continue e}ys&&ys.push(Ys),ji.push(qs)}}return ji}function va(p,A,ee){var Re=null==(p=qf(p,A=tl(A,p)))?p:p[wc(Xi(A))];return null==Re?a:gr(Re,p,ee)}function r1(p){return p1(p)&&ro(p)==Ae}function it(p,A,ee,Re,_t){return p===A||(null==p||null==A||!p1(p)&&!p1(A)?p!=p&&A!=A:function we(p,A,ee,Re,_t,Gt){var vn=fo(p),kn=fo(A),ni=vn?Oe:na(p),ji=kn?Oe:na(A),Wi=(ni=ni==Ae?gt:ni)==gt,Qi=(ji=ji==Ae?gt:ji)==gt,ys=ni==ji;if(ys&&Ya(p)){if(!Ya(A))return!1;vn=!0,Wi=!1}if(ys&&!Wi)return Gt||(Gt=new ot),vn||Md(p)?Hd(p,A,ee,Re,_t,Gt):function Gf(p,A,ee,Re,_t,Gt,vn){switch(ee){case In:if(p.byteLength!=A.byteLength||p.byteOffset!=A.byteOffset)return!1;p=p.buffer,A=A.buffer;case It:return!(p.byteLength!=A.byteLength||!Gt(new hr(p),new hr(A)));case Pe:case $e:case Vt:return Or(+p,+A);case Be:return p.name==A.name&&p.message==A.message;case ke:case Je:return p==A+"";case Lt:var kn=ur;case Ne:if(kn||(kn=s0),p.size!=A.size&&!(1&Re))return!1;var ji=vn.get(p);if(ji)return ji==A;Re|=2,vn.set(p,A);var Wi=Hd(kn(p),kn(A),Re,_t,Gt,vn);return vn.delete(p),Wi;case Qe:if(j0)return j0.call(p)==j0.call(A)}return!1}(p,A,ni,ee,Re,_t,Gt);if(!(1&ee)){var qs=Wi&&Gr.call(p,"__wrapped__"),Ys=Qi&&Gr.call(A,"__wrapped__");if(qs||Ys){var To=qs?p.value():p,co=Ys?A.value():A;return Gt||(Gt=new ot),_t(To,co,ee,Re,Gt)}}return!!ys&&(Gt||(Gt=new ot),function hu(p,A,ee,Re,_t,Gt){var vn=1&ee,kn=oh(p),ni=kn.length;if(ni!=oh(A).length&&!vn)return!1;for(var Qi=ni;Qi--;){var ys=kn[Qi];if(!(vn?ys in A:Gr.call(A,ys)))return!1}var qs=Gt.get(p),Ys=Gt.get(A);if(qs&&Ys)return qs==A&&Ys==p;var To=!0;Gt.set(p,A),Gt.set(A,p);for(var co=vn;++Qi<ni;){var Ko=p[ys=kn[Qi]],nr=A[ys];if(Re)var ol=vn?Re(nr,Ko,ys,A,p,Gt):Re(Ko,nr,ys,p,A,Gt);if(!(ol===a?Ko===nr||_t(Ko,nr,ee,Re,Gt):ol)){To=!1;break}co||(co="constructor"==ys)}if(To&&!co){var rl=p.constructor,Wc=A.constructor;rl!=Wc&&"constructor"in p&&"constructor"in A&&!("function"==typeof rl&&rl instanceof rl&&"function"==typeof Wc&&Wc instanceof Wc)&&(To=!1)}return Gt.delete(p),Gt.delete(A),To}(p,A,ee,Re,_t,Gt))}(p,A,ee,Re,it,_t))}function qt(p,A,ee,Re){var _t=ee.length,Gt=_t,vn=!Re;if(null==p)return!Gt;for(p=wr(p);_t--;){var kn=ee[_t];if(vn&&kn[2]?kn[1]!==p[kn[0]]:!(kn[0]in p))return!1}for(;++_t<Gt;){var ni=(kn=ee[_t])[0],ji=p[ni],Wi=kn[1];if(vn&&kn[2]){if(ji===a&&!(ni in p))return!1}else{var Qi=new ot;if(Re)var ys=Re(ji,Wi,ni,p,A,Qi);if(!(ys===a?it(Wi,ji,3,Re,Qi):ys))return!1}}return!0}function An(p){return!(!Hl(p)||function Vi(p){return!!rr&&rr in p}(p))&&(ed(p)?br:Qn).test(zd(p))}function Ft(p){return"function"==typeof p?p:null==p?H0:"object"==typeof p?fo(p)?ho(p[0],p[1]):Ds(p):Zh(p)}function Sn(p){if(!Kd(p))return Ma(p);var A=[];for(var ee in wr(p))Gr.call(p,ee)&&"constructor"!=ee&&A.push(ee);return A}function Yi(p,A){return p<A}function Bs(p,A){var ee=-1,Re=Ec(p)?Ut(p.length):[];return Ke(p,function(_t,Gt,vn){Re[++ee]=A(_t,Gt,vn)}),Re}function Ds(p){var A=oc(p);return 1==A.length&&A[0][2]?lh(A[0][0],A[0][1]):function(ee){return ee===p||qt(ee,p,A)}}function ho(p,A){return Cd(p)&&bp(A)?lh(wc(p),A):function(ee){var Re=tp(ee,p);return Re===a&&Re===A?Xf(ee,p):it(A,Re,3)}}function Aa(p,A,ee,Re,_t){p!==A&&ti(A,function(Gt,vn){if(_t||(_t=new ot),Hl(Gt))!function Ba(p,A,ee,Re,_t,Gt,vn){var kn=La(p,ee),ni=La(A,ee),ji=vn.get(ni);if(ji)mt(p,ee,ji);else{var Wi=Gt?Gt(kn,ni,ee+"",p,A,vn):a,Qi=Wi===a;if(Qi){var ys=fo(ni),qs=!ys&&Ya(ni),Ys=!ys&&!qs&&Md(ni);Wi=ni,ys||qs||Ys?fo(kn)?Wi=kn:nl(kn)?Wi=Lc(kn):qs?(Qi=!1,Wi=ud(ni,!0)):Ys?(Qi=!1,Wi=ic(ni,!0)):Wi=[]:cc(ni)||Vr(ni)?(Wi=kn,Vr(kn)?Wi=Eh(kn):(!Hl(kn)||ed(kn))&&(Wi=_p(ni))):Qi=!1}Qi&&(vn.set(ni,Wi),_t(Wi,ni,Re,Gt,vn),vn.delete(ni)),mt(p,ee,Wi)}}(p,A,vn,ee,Aa,Re,_t);else{var kn=Re?Re(La(p,vn),Gt,vn+"",p,A,_t):a;kn===a&&(kn=Gt),mt(p,vn,kn)}},td)}function J0(p,A){var ee=p.length;if(ee)return rc(A+=A<0?ee:0,ee)?p[A]:a}function U1(p,A,ee){A=A.length?Uo(A,function(Gt){return fo(Gt)?function(vn){return Ws(vn,1===Gt.length?Gt[0]:Gt)}:Gt}):[H0];var Re=-1;return A=Uo(A,un(Br())),function W0(Wn,yi){var Ut=Wn.length;for(Wn.sort(yi);Ut--;)Wn[Ut]=Wn[Ut].value;return Wn}(Bs(p,function(Gt,vn,kn){return{criteria:Uo(A,function(ji){return ji(Gt)}),index:++Re,value:Gt}}),function(Gt,vn){return function I1(p,A,ee){for(var Re=-1,_t=p.criteria,Gt=A.criteria,vn=_t.length,kn=ee.length;++Re<vn;){var ni=Q0(_t[Re],Gt[Re]);if(ni)return Re>=kn?ni:ni*("desc"==ee[Re]?-1:1)}return p.index-A.index}(Gt,vn,ee)})}function Vu(p,A,ee){for(var Re=-1,_t=A.length,Gt={};++Re<_t;){var vn=A[Re],kn=Ws(p,vn);ee(kn,vn)&&Kr(Gt,tl(vn,p),kn)}return Gt}function U0(p,A,ee,Re){var _t=Re?ul:ra,Gt=-1,vn=A.length,kn=p;for(p===A&&(A=Lc(A)),ee&&(kn=Uo(p,un(ee)));++Gt<vn;)for(var ni=0,ji=A[Gt],Wi=ee?ee(ji):ji;(ni=_t(kn,Wi,ni,Re))>-1;)kn!==p&&k0.call(kn,ni,1),k0.call(p,ni,1);return p}function ca(p,A){for(var ee=p?A.length:0,Re=ee-1;ee--;){var _t=A[ee];if(ee==Re||_t!==Gt){var Gt=_t;rc(_t)?k0.call(p,_t,1):Za(p,_t)}}return p}function Zs(p,A){return p+is(E0()*(A-p+1))}function zo(p,A){var ee="";if(!p||A<1||A>ae)return ee;do{A%2&&(ee+=p),(A=is(A/2))&&(p+=p)}while(A);return ee}function lr(p,A){return q0(Wh(p,A,H0),p+"")}function Vo(p){return Kn(b0(p))}function As(p,A){var ee=b0(p);return d1(ee,C0(A,0,ee.length))}function Kr(p,A,ee,Re){if(!Hl(p))return p;for(var _t=-1,Gt=(A=tl(A,p)).length,vn=Gt-1,kn=p;null!=kn&&++_t<Gt;){var ni=wc(A[_t]),ji=ee;if("__proto__"===ni||"constructor"===ni||"prototype"===ni)return p;if(_t!=vn){var Wi=kn[ni];(ji=Re?Re(Wi,ni,kn):a)===a&&(ji=Hl(Wi)?Wi:rc(A[_t+1])?[]:{})}pi(kn,ni,ji),kn=kn[ni]}return p}var Ns=j1?function(p,A){return j1.set(p,A),p}:H0,Mo=bt?function(p,A){return bt(p,"toString",{configurable:!0,enumerable:!1,value:om(A),writable:!0})}:H0;function Qo(p){return d1(b0(p))}function Hs(p,A,ee){var Re=-1,_t=p.length;A<0&&(A=-A>_t?0:_t+A),(ee=ee>_t?_t:ee)<0&&(ee+=_t),_t=A>ee?0:ee-A>>>0,A>>>=0;for(var Gt=Ut(_t);++Re<_t;)Gt[Re]=p[Re+A];return Gt}function ua(p,A){var ee;return Ke(p,function(Re,_t,Gt){return!(ee=A(Re,_t,Gt))}),!!ee}function bc(p,A,ee){var Re=0,_t=null==p?Re:p.length;if("number"==typeof A&&A==A&&_t<=2147483647){for(;Re<_t;){var Gt=Re+_t>>>1,vn=p[Gt];null!==vn&&!gu(vn)&&(ee?vn<=A:vn<A)?Re=Gt+1:_t=Gt}return _t}return O1(p,A,H0,ee)}function O1(p,A,ee,Re){var _t=0,Gt=null==p?0:p.length;if(0===Gt)return 0;for(var vn=(A=ee(A))!=A,kn=null===A,ni=gu(A),ji=A===a;_t<Gt;){var Wi=is((_t+Gt)/2),Qi=ee(p[Wi]),ys=Qi!==a,qs=null===Qi,Ys=Qi==Qi,To=gu(Qi);if(vn)var co=Re||Ys;else co=ji?Ys&&(Re||ys):kn?Ys&&ys&&(Re||!qs):ni?Ys&&ys&&!qs&&(Re||!To):!qs&&!To&&(Re?Qi<=A:Qi<A);co?_t=Wi+1:Gt=Wi}return fr(Gt,4294967294)}function r0(p,A){for(var ee=-1,Re=p.length,_t=0,Gt=[];++ee<Re;){var vn=p[ee],kn=A?A(vn):vn;if(!ee||!Or(kn,ni)){var ni=kn;Gt[_t++]=0===vn?0:vn}}return Gt}function c0(p){return"number"==typeof p?p:gu(p)?NaN:+p}function Qa(p){if("string"==typeof p)return p;if(fo(p))return Uo(p,Qa)+"";if(gu(p))return ec?ec.call(p):"";var A=p+"";return"0"==A&&1/p==-te?"-0":A}function w0(p,A,ee){var Re=-1,_t=yr,Gt=p.length,vn=!0,kn=[],ni=kn;if(ee)vn=!1,_t=kr;else if(Gt>=200){var ji=A?null:dp(p);if(ji)return s0(ji);vn=!1,_t=Dt,ni=new T0}else ni=A?[]:kn;e:for(;++Re<Gt;){var Wi=p[Re],Qi=A?A(Wi):Wi;if(Wi=ee||0!==Wi?Wi:0,vn&&Qi==Qi){for(var ys=ni.length;ys--;)if(ni[ys]===Qi)continue e;A&&ni.push(Qi),kn.push(Wi)}else _t(ni,Qi,ee)||(ni!==kn&&ni.push(Qi),kn.push(Wi))}return kn}function Za(p,A){return null==(p=qf(p,A=tl(A,p)))||delete p[wc(Xi(A))]}function Fl(p,A,ee,Re){return Kr(p,A,ee(Ws(p,A)),Re)}function ml(p,A,ee,Re){for(var _t=p.length,Gt=Re?_t:-1;(Re?Gt--:++Gt<_t)&&A(p[Gt],Gt,p););return ee?Hs(p,Re?0:Gt,Re?Gt+1:_t):Hs(p,Re?Gt+1:0,Re?_t:Gt)}function Ou(p,A){var ee=p;return ee instanceof dr&&(ee=ee.value()),J1(A,function(Re,_t){return _t.func.apply(_t.thisArg,sr([Re],_t.args))},ee)}function _l(p,A,ee){var Re=p.length;if(Re<2)return Re?w0(p[0]):[];for(var _t=-1,Gt=Ut(Re);++_t<Re;)for(var vn=p[_t],kn=-1;++kn<Re;)kn!=_t&&(Gt[_t]=Te(Gt[_t]||vn,p[kn],A,ee));return w0(fn(Gt,1),A,ee)}function vo(p,A,ee){for(var Re=-1,_t=p.length,Gt=A.length,vn={};++Re<_t;)ee(vn,p[Re],Re<Gt?A[Re]:a);return vn}function Lu(p){return nl(p)?p:[]}function cd(p){return"function"==typeof p?p:H0}function tl(p,A){return fo(p)?p:Cd(p,A)?[p]:Mp(E1(p))}var Rc=lr;function a1(p,A,ee){var Re=p.length;return ee=ee===a?Re:ee,!A&&ee>=Re?p:Hs(p,A,ee)}var z0=Ln||function(p){return Jr.clearTimeout(p)};function ud(p,A){if(A)return p.slice();var ee=p.length,Re=Ul?Ul(ee):new p.constructor(ee);return p.copy(Re),Re}function t0(p){var A=new p.constructor(p.byteLength);return new hr(A).set(new hr(p)),A}function ic(p,A){var ee=A?t0(p.buffer):p.buffer;return new p.constructor(ee,p.byteOffset,p.length)}function Q0(p,A){if(p!==A){var ee=p!==a,Re=null===p,_t=p==p,Gt=gu(p),vn=A!==a,kn=null===A,ni=A==A,ji=gu(A);if(!kn&&!ji&&!Gt&&p>A||Gt&&vn&&ni&&!kn&&!ji||Re&&vn&&ni||!ee&&ni||!_t)return 1;if(!Re&&!Gt&&!ji&&p<A||ji&&ee&&_t&&!Re&&!Gt||kn&&ee&&_t||!vn&&_t||!ni)return-1}return 0}function uu(p,A,ee,Re){for(var _t=-1,Gt=p.length,vn=ee.length,kn=-1,ni=A.length,ji=Rs(Gt-vn,0),Wi=Ut(ni+ji),Qi=!Re;++kn<ni;)Wi[kn]=A[kn];for(;++_t<vn;)(Qi||_t<Gt)&&(Wi[ee[_t]]=p[_t]);for(;ji--;)Wi[kn++]=p[_t++];return Wi}function wu(p,A,ee,Re){for(var _t=-1,Gt=p.length,vn=-1,kn=ee.length,ni=-1,ji=A.length,Wi=Rs(Gt-kn,0),Qi=Ut(Wi+ji),ys=!Re;++_t<Wi;)Qi[_t]=p[_t];for(var qs=_t;++ni<ji;)Qi[qs+ni]=A[ni];for(;++vn<kn;)(ys||_t<Gt)&&(Qi[qs+ee[vn]]=p[_t++]);return Qi}function Lc(p,A){var ee=-1,Re=p.length;for(A||(A=Ut(Re));++ee<Re;)A[ee]=p[ee];return A}function G1(p,A,ee,Re){var _t=!ee;ee||(ee={});for(var Gt=-1,vn=A.length;++Gt<vn;){var kn=A[Gt],ni=Re?Re(ee[kn],p[kn],kn,ee,p):a;ni===a&&(ni=p[kn]),_t?Er(ee,kn,ni):pi(ee,kn,ni)}return ee}function nh(p,A){return function(ee,Re){var _t=fo(ee)?Zr:lo,Gt=A?A():{};return _t(ee,p,Br(Re,2),Gt)}}function Vd(p){return lr(function(A,ee){var Re=-1,_t=ee.length,Gt=_t>1?ee[_t-1]:a,vn=_t>2?ee[2]:a;for(Gt=p.length>3&&"function"==typeof Gt?(_t--,Gt):a,vn&&_r(ee[0],ee[1],vn)&&(Gt=_t<3?a:Gt,_t=1),A=wr(A);++Re<_t;){var kn=ee[Re];kn&&p(A,kn,Re,Gt)}return A})}function Fh(p,A){return function(ee,Re){if(null==ee)return ee;if(!Ec(ee))return p(ee,Re);for(var _t=ee.length,Gt=A?_t:-1,vn=wr(ee);(A?Gt--:++Gt<_t)&&!1!==Re(vn[Gt],Gt,vn););return ee}}function dd(p){return function(A,ee,Re){for(var _t=-1,Gt=wr(A),vn=Re(A),kn=vn.length;kn--;){var ni=vn[p?kn:++_t];if(!1===ee(Gt[ni],ni,Gt))break}return A}}function Nu(p){return function(A){var ee=Ac(A=E1(A))?qa(A):a,Re=ee?ee[0]:A.charAt(0),_t=ee?a1(ee,1).join(""):A.slice(1);return Re[p]()+_t}}function Yu(p){return function(A){return J1(Sf(Vp(A).replace(Ei,"")),p,"")}}function Xu(p){return function(){var A=arguments;switch(A.length){case 0:return new p;case 1:return new p(A[0]);case 2:return new p(A[0],A[1]);case 3:return new p(A[0],A[1],A[2]);case 4:return new p(A[0],A[1],A[2],A[3]);case 5:return new p(A[0],A[1],A[2],A[3],A[4]);case 6:return new p(A[0],A[1],A[2],A[3],A[4],A[5]);case 7:return new p(A[0],A[1],A[2],A[3],A[4],A[5],A[6])}var ee=s1(p.prototype),Re=p.apply(ee,A);return Hl(Re)?Re:ee}}function xu(p){return function(A,ee,Re){var _t=wr(A);if(!Ec(A)){var Gt=Br(ee,3);A=Jc(A),ee=function(kn){return Gt(_t[kn],kn,_t)}}var vn=p(A,ee,Re);return vn>-1?_t[Gt?A[vn]:vn]:a}}function pd(p){return yc(function(A){var ee=A.length,Re=ee,_t=X0.prototype.thru;for(p&&A.reverse();Re--;){var Gt=A[Re];if("function"!=typeof Gt)throw new $a(O);if(_t&&!vn&&"wrapper"==m0(Gt))var vn=new X0([],!0)}for(Re=vn?Re:ee;++Re<ee;){var kn=m0(Gt=A[Re]),ni="wrapper"==kn?G0(Gt):a;vn=ni&&gp(ni[0])&&424==ni[1]&&!ni[4].length&&1==ni[9]?vn[m0(ni[0])].apply(vn,ni[3]):1==Gt.length&&gp(Gt)?vn[kn]():vn.thru(Gt)}return function(){var ji=arguments,Wi=ji[0];if(vn&&1==ji.length&&fo(Wi))return vn.plant(Wi).value();for(var Qi=0,ys=ee?A[Qi].apply(this,ji):Wi;++Qi<ee;)ys=A[Qi].call(this,ys);return ys}})}function Fu(p,A,ee,Re,_t,Gt,vn,kn,ni,ji){var Wi=A&x,Qi=1&A,ys=2&A,qs=24&A,Ys=512&A,To=ys?a:Xu(p);return function co(){for(var Ko=arguments.length,nr=Ut(Ko),ol=Ko;ol--;)nr[ol]=arguments[ol];if(qs)var rl=N0(co),Wc=function yo(Wn,yi){for(var Ut=Wn.length,ss=0;Ut--;)Wn[Ut]===yi&&++ss;return ss}(nr,rl);if(Re&&(nr=uu(nr,Re,_t,qs)),Gt&&(nr=wu(nr,Gt,vn,qs)),Ko-=Wc,qs&&Ko<ji){var ja=So(nr,rl);return Fp(p,A,Fu,co.placeholder,ee,nr,ja,kn,ni,ji-Ko)}var T1=Qi?ee:this,zc=ys?T1[p]:p;return Ko=nr.length,kn?nr=function ws(p,A){for(var ee=p.length,Re=fr(A.length,ee),_t=Lc(p);Re--;){var Gt=A[Re];p[Re]=rc(Gt,ee)?_t[Gt]:a}return p}(nr,kn):Ys&&Ko>1&&nr.reverse(),Wi&&ni<Ko&&(nr.length=ni),this&&this!==Jr&&this instanceof co&&(zc=To||Xu(zc)),zc.apply(T1,nr)}}function Vc(p,A){return function(ee,Re){return function $r(p,A,ee,Re){return Ri(p,function(_t,Gt,vn){A(Re,ee(_t),Gt,vn)}),Re}(ee,p,A(Re),{})}}function tu(p,A){return function(ee,Re){var _t;if(ee===a&&Re===a)return A;if(ee!==a&&(_t=ee),Re!==a){if(_t===a)return Re;"string"==typeof ee||"string"==typeof Re?(ee=Qa(ee),Re=Qa(Re)):(ee=c0(ee),Re=c0(Re)),_t=p(ee,Re)}return _t}}function hd(p){return yc(function(A){return A=Uo(A,un(Br())),lr(function(ee){var Re=this;return p(A,function(_t){return gr(_t,Re,ee)})})})}function sc(p,A){var ee=(A=A===a?" ":Qa(A)).length;if(ee<2)return ee?zo(A,p):A;var Re=zo(A,si(p/ba(A)));return Ac(A)?a1(qa(Re),0,p).join(""):Re.slice(0,p)}function xp(p){return function(A,ee,Re){return Re&&"number"!=typeof Re&&_r(A,ee,Re)&&(ee=Re=a),A=er(A),ee===a?(ee=A,A=0):ee=er(ee),function Go(p,A,ee,Re){for(var _t=-1,Gt=Rs(si((A-p)/(ee||1)),0),vn=Ut(Gt);Gt--;)vn[Re?Gt:++_t]=p,p+=ee;return vn}(A,ee,Re=Re===a?A<ee?1:-1:er(Re),p)}}function sh(p){return function(A,ee){return"string"==typeof A&&"string"==typeof ee||(A=jo(A),ee=jo(ee)),p(A,ee)}}function Fp(p,A,ee,Re,_t,Gt,vn,kn,ni,ji){var Wi=8&A;A|=Wi?k:64,4&(A&=~(Wi?64:k))||(A&=-4);var To=[p,A,_t,Wi?Gt:a,Wi?vn:a,Wi?a:Gt,Wi?a:vn,kn,ni,ji],co=ee.apply(a,To);return gp(p)&&Bh(co,To),co.placeholder=Re,kp(co,p,A)}function Sd(p){var A=or[p];return function(ee,Re){if(ee=jo(ee),(Re=null==Re?0:fr(Ir(Re),292))&&jr(ee)){var _t=(E1(ee)+"e").split("e");return+((_t=(E1(A(_t[0]+"e"+(+_t[1]+Re)))+"e").split("e"))[0]+"e"+(+_t[1]-Re))}return A(ee)}}var dp=ir&&1/s0(new ir([,-0]))[1]==te?function(p){return new ir(p)}:zf;function du(p){return function(A){var ee=na(A);return ee==Lt?ur(A):ee==Ne?function e1(Wn){var yi=-1,Ut=Array(Wn.size);return Wn.forEach(function(ss){Ut[++yi]=[ss,ss]}),Ut}(A):function h0(Wn,yi){return Uo(yi,function(Ut){return[Ut,Wn[Ut]]})}(A,p(A))}}function pu(p,A,ee,Re,_t,Gt,vn,kn){var ni=2&A;if(!ni&&"function"!=typeof p)throw new $a(O);var ji=Re?Re.length:0;if(ji||(A&=-97,Re=_t=a),vn=vn===a?vn:Rs(Ir(vn),0),kn=kn===a?kn:Ir(kn),ji-=_t?_t.length:0,64&A){var Wi=Re,Qi=_t;Re=_t=a}var ys=ni?a:G0(p),qs=[p,A,ee,Re,_t,Wi,Qi,Gt,vn,kn];if(ys&&function fd(p,A){var ee=p[1],Re=A[1],_t=ee|Re;if(!(_t<131)&&!(Re==x&&8==ee||Re==x&&256==ee&&p[7].length<=A[8]||384==Re&&A[7].length<=A[8]&&8==ee))return p;1&Re&&(p[2]=A[2],_t|=1&ee?0:4);var kn=A[3];if(kn){var ni=p[3];p[3]=ni?uu(ni,kn,A[4]):kn,p[4]=ni?So(p[3],I):A[4]}(kn=A[5])&&(p[5]=(ni=p[5])?wu(ni,kn,A[6]):kn,p[6]=ni?So(p[5],I):A[6]),(kn=A[7])&&(p[7]=kn),Re&x&&(p[8]=null==p[8]?A[8]:fr(p[8],A[8])),null==p[9]&&(p[9]=A[9]),p[0]=A[0],p[1]=_t}(qs,ys),p=qs[0],A=qs[1],ee=qs[2],Re=qs[3],_t=qs[4],!(kn=qs[9]=qs[9]===a?ni?0:p.length:Rs(qs[9]-ji,0))&&24&A&&(A&=-25),A&&1!=A)Ys=8==A||16==A?function _m(p,A,ee){var Re=Xu(p);return function _t(){for(var Gt=arguments.length,vn=Ut(Gt),kn=Gt,ni=N0(_t);kn--;)vn[kn]=arguments[kn];var ji=Gt<3&&vn[0]!==ni&&vn[Gt-1]!==ni?[]:So(vn,ni);return(Gt-=ji.length)<ee?Fp(p,A,Fu,_t.placeholder,a,vn,ji,a,a,ee-Gt):gr(this&&this!==Jr&&this instanceof _t?Re:p,this,vn)}}(p,A,kn):A!=k&&33!=A||_t.length?Fu.apply(a,qs):function cr(p,A,ee,Re){var _t=1&A,Gt=Xu(p);return function vn(){for(var kn=-1,ni=arguments.length,ji=-1,Wi=Re.length,Qi=Ut(Wi+ni),ys=this&&this!==Jr&&this instanceof vn?Gt:p;++ji<Wi;)Qi[ji]=Re[ji];for(;ni--;)Qi[ji++]=arguments[++kn];return gr(ys,_t?ee:this,Qi)}}(p,A,ee,Re);else var Ys=function ih(p,A,ee){var Re=1&A,_t=Xu(p);return function Gt(){return(this&&this!==Jr&&this instanceof Gt?_t:p).apply(Re?ee:this,arguments)}}(p,A,ee);return kp((ys?Ns:Bh)(Ys,qs),p,A)}function pp(p,A,ee,Re){return p===a||Or(p,pl[ee])&&!Gr.call(Re,ee)?A:p}function hp(p,A,ee,Re,_t,Gt){return Hl(p)&&Hl(A)&&(Gt.set(A,p),Aa(p,A,a,hp,Gt),Gt.delete(A)),p}function _f(p){return cc(p)?a:p}function Hd(p,A,ee,Re,_t,Gt){var vn=1&ee,kn=p.length,ni=A.length;if(kn!=ni&&!(vn&&ni>kn))return!1;var ji=Gt.get(p),Wi=Gt.get(A);if(ji&&Wi)return ji==A&&Wi==p;var Qi=-1,ys=!0,qs=2&ee?new T0:a;for(Gt.set(p,A),Gt.set(A,p);++Qi<kn;){var Ys=p[Qi],To=A[Qi];if(Re)var co=vn?Re(To,Ys,Qi,A,p,Gt):Re(Ys,To,Qi,p,A,Gt);if(co!==a){if(co)continue;ys=!1;break}if(qs){if(!Dl(A,function(Ko,nr){if(!Dt(qs,nr)&&(Ys===Ko||_t(Ys,Ko,ee,Re,Gt)))return qs.push(nr)})){ys=!1;break}}else if(Ys!==To&&!_t(Ys,To,ee,Re,Gt)){ys=!1;break}}return Gt.delete(p),Gt.delete(A),ys}function yc(p){return q0(Wh(p,a,Sl),p+"")}function oh(p){return Wo(p,Jc,fu)}function _o(p){return Wo(p,td,Wp)}var G0=j1?function(p){return j1.get(p)}:zf;function m0(p){for(var A=p.name+"",ee=ii[A],Re=Gr.call(ii,A)?ee.length:0;Re--;){var _t=ee[Re],Gt=_t.func;if(null==Gt||Gt==p)return _t.name}return A}function N0(p){return(Gr.call(Zn,"placeholder")?Zn:p).placeholder}function Br(){var p=Zn.iteratee||Xl;return p=p===Xl?Ft:p,arguments.length?p(arguments[0],arguments[1]):p}function Hc(p,A){var ee=p.__data__;return function ah(p){var A=typeof p;return"string"==A||"number"==A||"symbol"==A||"boolean"==A?"__proto__"!==p:null===p}(A)?ee["string"==typeof A?"string":"hash"]:ee.map}function oc(p){for(var A=Jc(p),ee=A.length;ee--;){var Re=A[ee],_t=p[Re];A[ee]=[Re,_t,bp(_t)]}return A}function _0(p,A){var ee=function Eo(Wn,yi){return null==Wn?a:Wn[yi]}(p,A);return An(ee)?ee:a}var fu=bs?function(p){return null==p?[]:(p=wr(p),tr(bs(p),function(A){return Ll.call(p,A)}))}:gl,Wp=bs?function(p){for(var A=[];p;)sr(A,fu(p)),p=t1(p);return A}:gl,na=ro;function Td(p,A,ee){for(var Re=-1,_t=(A=tl(A,p)).length,Gt=!1;++Re<_t;){var vn=wc(A[Re]);if(!(Gt=null!=p&&ee(p,vn)))break;p=p[vn]}return Gt||++Re!=_t?Gt:!!(_t=null==p?0:p.length)&&Am(_t)&&rc(vn,_t)&&(fo(p)||Vr(p))}function _p(p){return"function"!=typeof p.constructor||Kd(p)?{}:s1(t1(p))}function Xd(p){return fo(p)||Vr(p)||!!(Gl&&p&&p[Gl])}function rc(p,A){var ee=typeof p;return!!(A=A??ae)&&("number"==ee||"symbol"!=ee&&li.test(p))&&p>-1&&p%1==0&&p<A}function _r(p,A,ee){if(!Hl(ee))return!1;var Re=typeof A;return!!("number"==Re?Ec(ee)&&rc(A,ee.length):"string"==Re&&A in ee)&&Or(ee[A],p)}function Cd(p,A){if(fo(p))return!1;var ee=typeof p;return!("number"!=ee&&"symbol"!=ee&&"boolean"!=ee&&null!=p&&!gu(p))||En.test(p)||!Ii.test(p)||null!=A&&p in wr(A)}function gp(p){var A=m0(p),ee=Zn[A];if("function"!=typeof ee||!(A in dr.prototype))return!1;if(p===ee)return!0;var Re=G0(ee);return!!Re&&p===Re[0]}(n1&&na(new n1(new ArrayBuffer(1)))!=In||ta&&na(new ta)!=Lt||Ja&&na(Ja.resolve())!=Ge||ir&&na(new ir)!=Ne||la&&na(new la)!=ft)&&(na=function(p){var A=ro(p),ee=A==gt?p.constructor:a,Re=ee?zd(ee):"";if(Re)switch(Re){case S0:return In;case ql:return Lt;case Z1:return Ge;case el:return Ne;case wl:return ft}return A});var gm=B0?ed:Im;function Kd(p){var A=p&&p.constructor;return p===("function"==typeof A&&A.prototype||pl)}function bp(p){return p==p&&!Hl(p)}function lh(p,A){return function(ee){return null!=ee&&ee[p]===A&&(A!==a||p in wr(ee))}}function Wh(p,A,ee){return A=Rs(A===a?p.length-1:A,0),function(){for(var Re=arguments,_t=-1,Gt=Rs(Re.length-A,0),vn=Ut(Gt);++_t<Gt;)vn[_t]=Re[A+_t];_t=-1;for(var kn=Ut(A+1);++_t<A;)kn[_t]=Re[_t];return kn[A]=ee(vn),gr(p,this,kn)}}function qf(p,A){return A.length<2?p:Ws(p,Hs(A,0,-1))}function La(p,A){if(("constructor"!==A||"function"!=typeof p[A])&&"__proto__"!=A)return p[A]}var Bh=Qd(Ns),Ju=dn||function(p,A){return Jr.setTimeout(p,A)},q0=Qd(Mo);function kp(p,A,ee){var Re=A+"";return q0(p,function Bp(p,A){var ee=A.length;if(!ee)return p;var Re=ee-1;return A[Re]=(ee>1?"& ":"")+A[Re],A=A.join(ee>2?", ":" "),p.replace(sn,"{\n/* [wrapped with "+A+"] */\n")}(Re,function ch(p,A){return Ur(Le,function(ee){var Re="_."+ee[0];A&ee[1]&&!yr(p,Re)&&p.push(Re)}),p.sort()}(function rh(p){var A=p.match(oi);return A?A[1].split(pt):[]}(Re),ee)))}function Qd(p){var A=0,ee=0;return function(){var Re=Fo(),_t=16-(Re-ee);if(ee=Re,_t>0){if(++A>=800)return arguments[0]}else A=0;return p.apply(a,arguments)}}function d1(p,A){var ee=-1,Re=p.length,_t=Re-1;for(A=A===a?Re:A;++ee<A;){var Gt=Zs(ee,_t),vn=p[Gt];p[Gt]=p[ee],p[ee]=vn}return p.length=A,p}var Mp=function Au(p){var A=bn(p,function(Re){return 500===ee.size&&ee.clear(),Re}),ee=A.cache;return A}(function(p){var A=[];return 46===p.charCodeAt(0)&&A.push(""),p.replace(ln,function(ee,Re,_t,Gt){A.push(_t?Gt.replace(vi,"$1"):Re||ee)}),A});function wc(p){if("string"==typeof p||gu(p))return p;var A=p+"";return"0"==A&&1/p==-te?"-0":A}function zd(p){if(null!=p){try{return M1.call(p)}catch{}try{return p+""}catch{}}return""}function kh(p){if(p instanceof dr)return p.clone();var A=new X0(p.__wrapped__,p.__chain__);return A.__actions__=Lc(p.__actions__),A.__index__=p.__index__,A.__values__=p.__values__,A}var Nc=lr(function(p,A){return nl(p)?Te(p,fn(A,1,nl,!0)):[]}),El=lr(function(p,A){var ee=Xi(A);return nl(ee)&&(ee=a),nl(p)?Te(p,fn(A,1,nl,!0),Br(ee,2)):[]}),Z0=lr(function(p,A){var ee=Xi(A);return nl(ee)&&(ee=a),nl(p)?Te(p,fn(A,1,nl,!0),a,ee):[]});function jp(p,A,ee){var Re=null==p?0:p.length;if(!Re)return-1;var _t=null==ee?0:Ir(ee);return _t<0&&(_t=Rs(Re+_t,0)),Pl(p,Br(A,3),_t)}function nu(p,A,ee){var Re=null==p?0:p.length;if(!Re)return-1;var _t=Re-1;return ee!==a&&(_t=Ir(ee),_t=ee<0?Rs(Re+_t,0):fr(_t,Re-1)),Pl(p,Br(A,3),_t,!0)}function Sl(p){return null!=p&&p.length?fn(p,1):[]}function At(p){return p&&p.length?p[0]:a}var tt=lr(function(p){var A=Uo(p,Lu);return A.length&&A[0]===p[0]?mr(A):[]}),mn=lr(function(p){var A=Xi(p),ee=Uo(p,Lu);return A===Xi(ee)?A=a:ee.pop(),ee.length&&ee[0]===p[0]?mr(ee,Br(A,2)):[]}),$n=lr(function(p){var A=Xi(p),ee=Uo(p,Lu);return(A="function"==typeof A?A:a)&&ee.pop(),ee.length&&ee[0]===p[0]?mr(ee,a,A):[]});function Xi(p){var A=null==p?0:p.length;return A?p[A-1]:a}var eo=lr(po);function po(p,A){return p&&p.length&&A&&A.length?U0(p,A):p}var Sr=yc(function(p,A){var ee=null==p?0:p.length,Re=Xr(p,A);return ca(p,Uo(A,function(_t){return rc(_t,ee)?+_t:_t}).sort(Q0)),Re});function Ha(p){return null==p?p:k1.call(p)}var pa=lr(function(p){return w0(fn(p,1,nl,!0))}),Yc=lr(function(p){var A=Xi(p);return nl(A)&&(A=a),w0(fn(p,1,nl,!0),Br(A,2))}),ph=lr(function(p){var A=Xi(p);return A="function"==typeof A?A:a,w0(fn(p,1,nl,!0),a,A)});function _u(p){if(!p||!p.length)return[];var A=0;return p=tr(p,function(ee){if(nl(ee))return A=Rs(ee.length,A),!0}),L1(A,function(ee){return Uo(p,Dr(ee))})}function Dd(p,A){if(!p||!p.length)return[];var ee=_u(p);return null==A?ee:Uo(ee,function(Re){return gr(A,a,Re)})}var Qu=lr(function(p,A){return nl(p)?Te(p,A):[]}),Bu=lr(function(p){return _l(tr(p,nl))}),Kc=lr(function(p){var A=Xi(p);return nl(A)&&(A=a),_l(tr(p,nl),Br(A,2))}),Uh=lr(function(p){var A=Xi(p);return A="function"==typeof A?A:a,_l(tr(p,nl),a,A)}),ac=lr(_u),Up=lr(function(p){var A=p.length,ee=A>1?p[A-1]:a;return ee="function"==typeof ee?(p.pop(),ee):a,Dd(p,ee)});function Pd(p){var A=Zn(p);return A.__chain__=!0,A}function Os(p,A){return A(p)}var Gh=yc(function(p){var A=p.length,ee=A?p[0]:0,Re=this.__wrapped__,_t=function(Gt){return Xr(Gt,p)};return!(A>1||this.__actions__.length)&&Re instanceof dr&&rc(ee)?((Re=Re.slice(ee,+ee+(A?1:0))).__actions__.push({func:Os,args:[_t],thisArg:a}),new X0(Re,this.__chain__).thru(function(Gt){return A&&!Gt.length&&Gt.push(a),Gt})):this.thru(_t)}),_h=nh(function(p,A,ee){Gr.call(p,ee)?++p[ee]:Er(p,ee,1)}),qh=xu(jp),su=xu(nu);function gh(p,A){return(fo(p)?Ur:Ke)(p,Br(A,3))}function vp(p,A){return(fo(p)?Co:lt)(p,Br(A,3))}var bh=nh(function(p,A,ee){Gr.call(p,ee)?p[ee].push(A):Er(p,ee,[A])}),$m=lr(function(p,A,ee){var Re=-1,_t="function"==typeof A,Gt=Ec(p)?Ut(p.length):[];return Ke(p,function(vn){Gt[++Re]=_t?gr(A,vn,ee):va(vn,A,ee)}),Gt}),Zd=nh(function(p,A,ee){Er(p,ee,A)});function Mh(p,A){return(fo(p)?Uo:Bs)(p,Br(A,3))}var as=nh(function(p,A,ee){p[ee?0:1].push(A)},function(){return[[],[]]}),Om=lr(function(p,A){if(null==p)return[];var ee=A.length;return ee>1&&_r(p,A[0],A[1])?A=[]:ee>2&&_r(A[0],A[1],A[2])&&(A=[A[0]]),U1(p,fn(A,1),[])}),qe=kt||function(){return Jr.Date.now()};function f(p,A,ee){return A=ee?a:A,pu(p,x,a,a,a,a,A=p&&null==A?p.length:A)}function R(p,A){var ee;if("function"!=typeof A)throw new $a(O);return p=Ir(p),function(){return--p>0&&(ee=A.apply(this,arguments)),p<=1&&(A=a),ee}}var J=lr(function(p,A,ee){var Re=1;if(ee.length){var _t=So(ee,N0(J));Re|=k}return pu(p,Re,A,ee,_t)}),re=lr(function(p,A,ee){var Re=3;if(ee.length){var _t=So(ee,N0(re));Re|=k}return pu(A,Re,p,ee,_t)});function Fe(p,A,ee){var Re,_t,Gt,vn,kn,ni,ji=0,Wi=!1,Qi=!1,ys=!0;if("function"!=typeof p)throw new $a(O);function qs(ja){var T1=Re,zc=_t;return Re=_t=a,ji=ja,vn=p.apply(zc,T1)}function co(ja){var T1=ja-ni;return ni===a||T1>=A||T1<0||Qi&&ja-ji>=Gt}function Ko(){var ja=qe();if(co(ja))return nr(ja);kn=Ju(Ko,function To(ja){var ef=A-(ja-ni);return Qi?fr(ef,Gt-(ja-ji)):ef}(ja))}function nr(ja){return kn=a,ys&&Re?qs(ja):(Re=_t=a,vn)}function Wc(){var ja=qe(),T1=co(ja);if(Re=arguments,_t=this,ni=ja,T1){if(kn===a)return function Ys(ja){return ji=ja,kn=Ju(Ko,A),Wi?qs(ja):vn}(ni);if(Qi)return z0(kn),kn=Ju(Ko,A),qs(ni)}return kn===a&&(kn=Ju(Ko,A)),vn}return A=jo(A)||0,Hl(ee)&&(Wi=!!ee.leading,Gt=(Qi="maxWait"in ee)?Rs(jo(ee.maxWait)||0,A):Gt,ys="trailing"in ee?!!ee.trailing:ys),Wc.cancel=function ol(){kn!==a&&z0(kn),ji=0,Re=ni=_t=kn=a},Wc.flush=function rl(){return kn===a?vn:nr(qe())},Wc}var St=lr(function(p,A){return ue(p,1,A)}),zt=lr(function(p,A,ee){return ue(p,jo(A)||0,ee)});function bn(p,A){if("function"!=typeof p||null!=A&&"function"!=typeof A)throw new $a(O);var ee=function(){var Re=arguments,_t=A?A.apply(this,Re):Re[0],Gt=ee.cache;if(Gt.has(_t))return Gt.get(_t);var vn=p.apply(this,Re);return ee.cache=Gt.set(_t,vn)||Gt,vn};return ee.cache=new(bn.Cache||o1),ee}function xn(p){if("function"!=typeof p)throw new $a(O);return function(){var A=arguments;switch(A.length){case 0:return!p.call(this);case 1:return!p.call(this,A[0]);case 2:return!p.call(this,A[0],A[1]);case 3:return!p.call(this,A[0],A[1],A[2])}return!p.apply(this,A)}}bn.Cache=o1;var Mi=Rc(function(p,A){var ee=(A=1==A.length&&fo(A[0])?Uo(A[0],un(Br())):Uo(fn(A,1),un(Br()))).length;return lr(function(Re){for(var _t=-1,Gt=fr(Re.length,ee);++_t<Gt;)Re[_t]=A[_t].call(this,Re[_t]);return gr(p,this,Re)})}),Ki=lr(function(p,A){var ee=So(A,N0(Ki));return pu(p,k,a,A,ee)}),Pi=lr(function(p,A){var ee=So(A,N0(Pi));return pu(p,64,a,A,ee)}),hs=yc(function(p,A){return pu(p,256,a,a,a,A)});function Or(p,A){return p===A||p!=p&&A!=A}var x1=sh(Bo),Fc=sh(function(p,A){return p>=A}),Vr=r1(function(){return arguments}())?r1:function(p){return p1(p)&&Gr.call(p,"callee")&&!Ll.call(p,"callee")},fo=Ut.isArray,y1=y0?un(y0):function K0(p){return p1(p)&&ro(p)==It};function Ec(p){return null!=p&&Am(p.length)&&!ed(p)}function nl(p){return p1(p)&&Ec(p)}var Ya=Xs||Im,lc=ma?un(ma):function yt(p){return p1(p)&&ro(p)==$e};function $h(p){if(!p1(p))return!1;var A=ro(p);return A==Be||"[object DOMException]"==A||"string"==typeof p.message&&"string"==typeof p.name&&!cc(p)}function ed(p){if(!Hl(p))return!1;var A=ro(p);return A==Ye||A==Ct||"[object AsyncFunction]"==A||"[object Proxy]"==A}function vm(p){return"number"==typeof p&&p==Ir(p)}function Am(p){return"number"==typeof p&&p>-1&&p%1==0&&p<=ae}function Hl(p){var A=typeof p;return null!=p&&("object"==A||"function"==A)}function p1(p){return null!=p&&"object"==typeof p}var Su=Lr?un(Lr):function dt(p){return p1(p)&&na(p)==Lt};function Vf(p){return"number"==typeof p||p1(p)&&ro(p)==Vt}function cc(p){if(!p1(p)||ro(p)!=gt)return!1;var A=t1(p);if(null===A)return!0;var ee=Gr.call(A,"constructor")&&A.constructor;return"function"==typeof ee&&ee instanceof ee&&M1.call(ee)==B1}var ju=Ia?un(Ia):function he(p){return p1(p)&&ro(p)==ke},Hf=Vs?un(Vs):function xe(p){return p1(p)&&na(p)==Ne};function ep(p){return"string"==typeof p||!fo(p)&&p1(p)&&ro(p)==Je}function gu(p){return"symbol"==typeof p||p1(p)&&ro(p)==Qe}var Md=Ar?un(Ar):function Et(p){return p1(p)&&Am(p.length)&&!!Hr[ro(p)]},Uu=sh(Yi),Em=sh(function(p,A){return p<=A});function vf(p){if(!p)return[];if(Ec(p))return ep(p)?qa(p):Lc(p);if(fl&&p[fl])return function dl(Wn){for(var yi,Ut=[];!(yi=Wn.next()).done;)Ut.push(yi.value);return Ut}(p[fl]());var A=na(p);return(A==Lt?ur:A==Ne?s0:b0)(p)}function er(p){return p?(p=jo(p))===te||p===-te?17976931348623157e292*(p<0?-1:1):p==p?p:0:0===p?p:0}function Ir(p){var A=er(p),ee=A%1;return A==A?ee?A-ee:A:0}function Xm(p){return p?C0(Ir(p),0,Me):0}function jo(p){if("number"==typeof p)return p;if(gu(p))return NaN;if(Hl(p)){var A="function"==typeof p.valueOf?p.valueOf():p;p=Hl(A)?A+"":A}if("string"!=typeof p)return 0===p?p:+p;p=z1(p);var ee=Hn.test(p);return ee||ri.test(p)?cl(p.slice(2),ee?2:8):Nn.test(p)?NaN:+p}function Eh(p){return G1(p,td(p))}function E1(p){return null==p?"":Qa(p)}var Af=Vd(function(p,A){if(Kd(A)||Ec(A))G1(A,Jc(A),p);else for(var ee in A)Gr.call(A,ee)&&pi(p,ee,A[ee])}),S1=Vd(function(p,A){G1(A,td(A),p)}),Tp=Vd(function(p,A,ee,Re){G1(A,td(A),p,Re)}),uc=Vd(function(p,A,ee,Re){G1(A,Jc(A),p,Re)}),R1=yc(Xr),Sh=lr(function(p,A){p=wr(p);var ee=-1,Re=A.length,_t=Re>2?A[2]:a;for(_t&&_r(A[0],A[1],_t)&&(Re=1);++ee<Re;)for(var Gt=A[ee],vn=td(Gt),kn=-1,ni=vn.length;++kn<ni;){var ji=vn[kn],Wi=p[ji];(Wi===a||Or(Wi,pl[ji])&&!Gr.call(p,ji))&&(p[ji]=Gt[ji])}return p}),Sm=lr(function(p){return p.push(a,hp),gr(O_,a,p)});function tp(p,A,ee){var Re=null==p?a:Ws(p,A);return Re===a?ee:Re}function Xf(p,A){return null!=p&&Td(p,A,ar)}var Zm=Vc(function(p,A,ee){null!=A&&"function"!=typeof A.toString&&(A=aa.call(A)),p[A]=ee},om(H0)),e_=Vc(function(p,A,ee){null!=A&&"function"!=typeof A.toString&&(A=aa.call(A)),Gr.call(p,A)?p[A].push(ee):p[A]=[ee]},Br),t_=lr(va);function Jc(p){return Ec(p)?je(p):Sn(p)}function td(p){return Ec(p)?je(p,!0):function _i(p){if(!Hl(p))return function Jd(p){var A=[];if(null!=p)for(var ee in wr(p))A.push(ee);return A}(p);var A=Kd(p),ee=[];for(var Re in p)"constructor"==Re&&(A||!Gr.call(p,Re))||ee.push(Re);return ee}(p)}var n_=Vd(function(p,A,ee){Aa(p,A,ee)}),O_=Vd(function(p,A,ee,Re){Aa(p,A,ee,Re)}),Tu=yc(function(p,A){var ee={};if(null==p)return ee;var Re=!1;A=Uo(A,function(Gt){return Gt=tl(Gt,p),Re||(Re=Gt.length>1),Gt}),G1(p,_o(p),ee),Re&&(ee=S(ee,7,_f));for(var _t=A.length;_t--;)Za(ee,A[_t]);return ee}),yf=yc(function(p,A){return null==p?{}:function gc(p,A){return Vu(p,A,function(ee,Re){return Xf(p,Re)})}(p,A)});function Is(p,A){if(null==p)return{};var ee=Uo(_o(p),function(Re){return[Re]});return A=Br(A),Vu(p,ee,function(Re,_t){return A(Re,_t[0])})}var $p=du(Jc),ou=du(td);function b0(p){return null==p?[]:tn(p,Jc(p))}var Gu=Yu(function(p,A,ee){return A=A.toLowerCase(),p+(ee?Kh(A):A)});function Kh(p){return Hp(E1(p).toLowerCase())}function Vp(p){return(p=E1(p))&&p.replace(Fi,xr).replace(fi,"")}var ha=Yu(function(p,A,ee){return p+(ee?"-":"")+A.toLowerCase()}),Ef=Yu(function(p,A,ee){return p+(ee?" ":"")+A.toLowerCase()}),Tc=Nu("toLowerCase"),Qh=Yu(function(p,A,ee){return p+(ee?"_":"")+A.toLowerCase()}),tm=Yu(function(p,A,ee){return p+(ee?" ":"")+Hp(A)}),ag=Yu(function(p,A,ee){return p+(ee?" ":"")+A.toUpperCase()}),Hp=Nu("toUpperCase");function Sf(p,A,ee){return p=E1(p),(A=ee?a:A)===a?function ga(Wn){return l1.test(Wn)}(p)?function Yr(Wn){return Wn.match(fa)||[]}(p):function ea(Wn){return Wn.match(cn)||[]}(p):p.match(A)||[]}var o_=lr(function(p,A){try{return gr(p,a,A)}catch(ee){return $h(ee)?ee:new vs(ee)}}),Tf=yc(function(p,A){return Ur(A,function(ee){ee=wc(ee),Er(p,ee,J(p[ee],p))}),p});function om(p){return function(){return p}}var zp=pd(),ip=pd(!0);function H0(p){return p}function Xl(p){return Ft("function"==typeof p?p:S(p,1))}var Cf=lr(function(p,A){return function(ee){return va(ee,p,A)}}),Pm=lr(function(p,A){return function(ee){return va(p,ee,A)}});function zh(p,A,ee){var Re=Jc(A),_t=ts(A,Re);null==ee&&(!Hl(A)||!_t.length&&Re.length)&&(ee=A,A=p,p=this,_t=ts(A,Jc(A)));var Gt=!(Hl(ee)&&"chain"in ee&&!ee.chain),vn=ed(p);return Ur(_t,function(kn){var ni=A[kn];p[kn]=ni,vn&&(p.prototype[kn]=function(){var ji=this.__chain__;if(Gt||ji){var Wi=p(this.__wrapped__);return(Wi.__actions__=Lc(this.__actions__)).push({func:ni,args:arguments,thisArg:p}),Wi.__chain__=ji,Wi}return ni.apply(p,sr([this.value()],arguments))})}),p}function zf(){}var am=hd(Uo),op=hd(Ka),lm=hd(Dl);function Zh(p){return Cd(p)?Dr(wc(p)):function Zc(p){return function(A){return Ws(A,p)}}(p)}var rp=xp(),cm=xp(!0);function gl(){return[]}function Im(){return!1}var j_=tu(function(p,A){return p+A},0),Dh=Sd("ceil"),Pf=tu(function(p,A){return p/A},1),If=Sd("floor"),Cu=tu(function(p,A){return p*A},1),U_=Sd("round"),l_=tu(function(p,A){return p-A},0);return Zn.after=function d(p,A){if("function"!=typeof A)throw new $a(O);return p=Ir(p),function(){if(--p<1)return A.apply(this,arguments)}},Zn.ary=f,Zn.assign=Af,Zn.assignIn=S1,Zn.assignInWith=Tp,Zn.assignWith=uc,Zn.at=R1,Zn.before=R,Zn.bind=J,Zn.bindAll=Tf,Zn.bindKey=re,Zn.castArray=function no(){if(!arguments.length)return[];var p=arguments[0];return fo(p)?p:[p]},Zn.chain=Pd,Zn.chunk=function jh(p,A,ee){A=(ee?_r(p,A,ee):A===a)?1:Rs(Ir(A),0);var Re=null==p?0:p.length;if(!Re||A<1)return[];for(var _t=0,Gt=0,vn=Ut(si(Re/A));_t<Re;)vn[Gt++]=Hs(p,_t,_t+=A);return vn},Zn.compact=function mu(p){for(var A=-1,ee=null==p?0:p.length,Re=0,_t=[];++A<ee;){var Gt=p[A];Gt&&(_t[Re++]=Gt)}return _t},Zn.concat=function bf(){var p=arguments.length;if(!p)return[];for(var A=Ut(p-1),ee=arguments[0],Re=p;Re--;)A[Re-1]=arguments[Re];return sr(fo(ee)?Lc(ee):[ee],fn(A,1))},Zn.cond=function sm(p){var A=null==p?0:p.length,ee=Br();return p=A?Uo(p,function(Re){if("function"!=typeof Re[1])throw new $a(O);return[ee(Re[0]),Re[1]]}):[],lr(function(Re){for(var _t=-1;++_t<A;){var Gt=p[_t];if(gr(Gt[0],this,Re))return gr(Gt[1],this,Re)}})},Zn.conforms=function Yp(p){return function G(p){var A=Jc(p);return function(ee){return se(ee,p,A)}}(S(p,1))},Zn.constant=om,Zn.countBy=_h,Zn.create=function Yf(p,A){var ee=s1(p);return null==A?ee:Ro(ee,A)},Zn.curry=function ve(p,A,ee){var Re=pu(p,8,a,a,a,a,a,A=ee?a:A);return Re.placeholder=ve.placeholder,Re},Zn.curryRight=function Ie(p,A,ee){var Re=pu(p,16,a,a,a,a,a,A=ee?a:A);return Re.placeholder=Ie.placeholder,Re},Zn.debounce=Fe,Zn.defaults=Sh,Zn.defaultsDeep=Sm,Zn.defer=St,Zn.delay=zt,Zn.difference=Nc,Zn.differenceBy=El,Zn.differenceWith=Z0,Zn.drop=function yu(p,A,ee){var Re=null==p?0:p.length;return Re?Hs(p,(A=ee||A===a?1:Ir(A))<0?0:A,Re):[]},Zn.dropRight=function md(p,A,ee){var Re=null==p?0:p.length;return Re?Hs(p,0,(A=Re-(A=ee||A===a?1:Ir(A)))<0?0:A):[]},Zn.dropRightWhile=function uh(p,A){return p&&p.length?ml(p,Br(A,3),!0,!0):[]},Zn.dropWhile=function dh(p,A){return p&&p.length?ml(p,Br(A,3),!0):[]},Zn.fill=function io(p,A,ee,Re){var _t=null==p?0:p.length;return _t?(ee&&"number"!=typeof ee&&_r(p,A,ee)&&(ee=0,Re=_t),function $t(p,A,ee,Re){var _t=p.length;for((ee=Ir(ee))<0&&(ee=-ee>_t?0:_t+ee),(Re=Re===a||Re>_t?_t:Ir(Re))<0&&(Re+=_t),Re=ee>Re?0:Xm(Re);ee<Re;)p[ee++]=A;return p}(p,A,ee,Re)):[]},Zn.filter=function qp(p,A){return(fo(p)?tr:an)(p,Br(A,3))},Zn.flatMap=function Zu(p,A){return fn(Mh(p,A),1)},Zn.flatMapDeep=function bm(p,A){return fn(Mh(p,A),te)},Zn.flatMapDepth=function ku(p,A,ee){return ee=ee===a?1:Ir(ee),fn(Mh(p,A),ee)},Zn.flatten=Sl,Zn.flattenDeep=function q1(p){return null!=p&&p.length?fn(p,te):[]},Zn.flattenDepth=function Wu(p,A){return null!=p&&p.length?fn(p,A=A===a?1:Ir(A)):[]},Zn.flip=function Ht(p){return pu(p,512)},Zn.flow=zp,Zn.flowRight=ip,Zn.fromPairs=function _e(p){for(var A=-1,ee=null==p?0:p.length,Re={};++A<ee;){var _t=p[A];Re[_t[0]]=_t[1]}return Re},Zn.functions=function Cr(p){return null==p?[]:ts(p,Jc(p))},Zn.functionsIn=function Yh(p){return null==p?[]:ts(p,td(p))},Zn.groupBy=bh,Zn.initial=function Ee(p){return null!=p&&p.length?Hs(p,0,-1):[]},Zn.intersection=tt,Zn.intersectionBy=mn,Zn.intersectionWith=$n,Zn.invert=Zm,Zn.invertBy=e_,Zn.invokeMap=$m,Zn.iteratee=Xl,Zn.keyBy=Zd,Zn.keys=Jc,Zn.keysIn=td,Zn.map=Mh,Zn.mapKeys=function M_(p,A){var ee={};return A=Br(A,3),Ri(p,function(Re,_t,Gt){Er(ee,A(Re,_t,Gt),Re)}),ee},Zn.mapValues=function sl(p,A){var ee={};return A=Br(A,3),Ri(p,function(Re,_t,Gt){Er(ee,_t,A(Re,_t,Gt))}),ee},Zn.matches=function sp(p){return Ds(S(p,1))},Zn.matchesProperty=function Ch(p,A){return ho(p,S(A,1))},Zn.memoize=bn,Zn.merge=n_,Zn.mergeWith=O_,Zn.method=Cf,Zn.methodOf=Pm,Zn.mixin=zh,Zn.negate=xn,Zn.nthArg=function Xp(p){return p=Ir(p),lr(function(A){return J0(A,p)})},Zn.omit=Tu,Zn.omitBy=function nd(p,A){return Is(p,xn(Br(A)))},Zn.once=function Zt(p){return R(2,p)},Zn.orderBy=function Zo(p,A,ee,Re){return null==p?[]:(fo(A)||(A=null==A?[]:[A]),fo(ee=Re?a:ee)||(ee=null==ee?[]:[ee]),U1(p,A,ee))},Zn.over=am,Zn.overArgs=Mi,Zn.overEvery=op,Zn.overSome=lm,Zn.partial=Ki,Zn.partialRight=Pi,Zn.partition=as,Zn.pick=yf,Zn.pickBy=Is,Zn.property=Zh,Zn.propertyOf=function r_(p){return function(A){return null==p?a:Ws(p,A)}},Zn.pull=eo,Zn.pullAll=po,Zn.pullAllBy=function Lo(p,A,ee){return p&&p.length&&A&&A.length?U0(p,A,Br(ee,2)):p},Zn.pullAllWith=function ya(p,A,ee){return p&&p.length&&A&&A.length?U0(p,A,a,ee):p},Zn.pullAt=Sr,Zn.range=rp,Zn.rangeRight=cm,Zn.rearg=hs,Zn.reject=function Mm(p,A){return(fo(p)?tr:an)(p,xn(Br(A,3)))},Zn.remove=function ka(p,A){var ee=[];if(!p||!p.length)return ee;var Re=-1,_t=[],Gt=p.length;for(A=Br(A,3);++Re<Gt;){var vn=p[Re];A(vn,Re,p)&&(ee.push(vn),_t.push(Re))}return ca(p,_t),ee},Zn.rest=function Cs(p,A){if("function"!=typeof p)throw new $a(O);return lr(p,A=A===a?A:Ir(A))},Zn.reverse=Ha,Zn.sampleSize=function Ap(p,A,ee){return A=(ee?_r(p,A,ee):A===a)?1:Ir(A),(fo(p)?De:As)(p,A)},Zn.set=function Kf(p,A,ee){return null==p?p:Kr(p,A,ee)},Zn.setWith=function Jf(p,A,ee,Re){return Re="function"==typeof Re?Re:a,null==p?p:Kr(p,A,ee,Re)},Zn.shuffle=function yp(p){return(fo(p)?Pt:Qo)(p)},Zn.slice=function da(p,A,ee){var Re=null==p?0:p.length;return Re?(ee&&"number"!=typeof ee&&_r(p,A,ee)?(A=0,ee=Re):(A=null==A?0:Ir(A),ee=ee===a?Re:Ir(ee)),Hs(p,A,ee)):[]},Zn.sortBy=Om,Zn.sortedUniq=function Ps(p){return p&&p.length?r0(p):[]},Zn.sortedUniqBy=function F0(p,A){return p&&p.length?r0(p,Br(A,2)):[]},Zn.split=function em(p,A,ee){return ee&&"number"!=typeof ee&&_r(p,A,ee)&&(A=ee=a),(ee=ee===a?Me:ee>>>0)?(p=E1(p))&&("string"==typeof A||null!=A&&!ju(A))&&!(A=Qa(A))&&Ac(p)?a1(qa(p),0,ee):p.split(A,ee):[]},Zn.spread=function Es(p,A){if("function"!=typeof p)throw new $a(O);return A=null==A?0:Rs(Ir(A),0),lr(function(ee){var Re=ee[A],_t=a1(ee,0,A);return Re&&sr(_t,Re),gr(p,this,_t)})},Zn.tail=function pr(p){var A=null==p?0:p.length;return A?Hs(p,1,A):[]},Zn.take=function g0(p,A,ee){return p&&p.length?Hs(p,0,(A=ee||A===a?1:Ir(A))<0?0:A):[]},Zn.takeRight=function $0(p,A,ee){var Re=null==p?0:p.length;return Re?Hs(p,(A=Re-(A=ee||A===a?1:Ir(A)))<0?0:A,Re):[]},Zn.takeRightWhile=function iu(p,A){return p&&p.length?ml(p,Br(A,3),!1,!0):[]},Zn.takeWhile=function Wl(p,A){return p&&p.length?ml(p,Br(A,3)):[]},Zn.tap=function Bl(p,A){return A(p),p},Zn.throttle=function Ts(p,A,ee){var Re=!0,_t=!0;if("function"!=typeof p)throw new $a(O);return Hl(ee)&&(Re="leading"in ee?!!ee.leading:Re,_t="trailing"in ee?!!ee.trailing:_t),Fe(p,A,{leading:Re,maxWait:A,trailing:_t})},Zn.thru=Os,Zn.toArray=vf,Zn.toPairs=$p,Zn.toPairsIn=ou,Zn.toPath=function B_(p){return fo(p)?Uo(p,wc):gu(p)?[p]:Lc(Mp(E1(p)))},Zn.toPlainObject=Eh,Zn.transform=function v_(p,A,ee){var Re=fo(p),_t=Re||Ya(p)||Md(p);if(A=Br(A,4),null==ee){var Gt=p&&p.constructor;ee=_t?Re?new Gt:[]:Hl(p)&&ed(Gt)?s1(t1(p)):{}}return(_t?Ur:Ri)(p,function(vn,kn,ni){return A(ee,vn,kn,ni)}),ee},Zn.unary=function xs(p){return f(p,1)},Zn.union=pa,Zn.unionBy=Yc,Zn.unionWith=ph,Zn.uniq=function Xc(p){return p&&p.length?w0(p):[]},Zn.uniqBy=function Op(p,A){return p&&p.length?w0(p,Br(A,2)):[]},Zn.uniqWith=function hh(p,A){return A="function"==typeof A?A:a,p&&p.length?w0(p,a,A):[]},Zn.unset=function Sc(p,A){return null==p||Za(p,A)},Zn.unzip=_u,Zn.unzipWith=Dd,Zn.update=function N_(p,A,ee){return null==p?p:Fl(p,A,cd(ee))},Zn.updateWith=function vc(p,A,ee,Re){return Re="function"==typeof Re?Re:a,null==p?p:Fl(p,A,cd(ee),Re)},Zn.values=b0,Zn.valuesIn=function Xh(p){return null==p?[]:tn(p,td(p))},Zn.without=Qu,Zn.words=Sf,Zn.wrap=function Gs(p,A){return Ki(cd(A),p)},Zn.xor=Bu,Zn.xorBy=Kc,Zn.xorWith=Uh,Zn.zip=ac,Zn.zipObject=function $1(p,A){return vo(p||[],A||[],pi)},Zn.zipObjectDeep=function Eu(p,A){return vo(p||[],A||[],Kr)},Zn.zipWith=Up,Zn.entries=$p,Zn.entriesIn=ou,Zn.extend=S1,Zn.extendWith=Tp,zh(Zn,Zn),Zn.add=j_,Zn.attempt=o_,Zn.camelCase=Gu,Zn.capitalize=Kh,Zn.ceil=Dh,Zn.clamp=function rg(p,A,ee){return ee===a&&(ee=A,A=a),ee!==a&&(ee=(ee=jo(ee))==ee?ee:0),A!==a&&(A=(A=jo(A))==A?A:0),C0(jo(p),A,ee)},Zn.clone=function gs(p){return S(p,4)},Zn.cloneDeep=function ko(p){return S(p,5)},Zn.cloneDeepWith=function A1(p,A){return S(p,5,A="function"==typeof A?A:a)},Zn.cloneWith=function oo(p,A){return S(p,4,A="function"==typeof A?A:a)},Zn.conformsTo=function sa(p,A){return null==A||se(p,A,Jc(A))},Zn.deburr=Vp,Zn.defaultTo=function qu(p,A){return null==p||p!=p?A:p},Zn.divide=Pf,Zn.endsWith=function Qf(p,A,ee){p=E1(p),A=Qa(A);var Re=p.length,_t=ee=ee===a?Re:C0(Ir(ee),0,Re);return(ee-=A.length)>=0&&p.slice(ee,_t)==A},Zn.eq=Or,Zn.escape=function Jh(p){return(p=E1(p))&&Ue.test(p)?p.replace(Mn,Al):p},Zn.escapeRegExp=function M0(p){return(p=E1(p))&&Ai.test(p)?p.replace(Dn,"\\$&"):p},Zn.every=function bd(p,A,ee){var Re=fo(p)?Ka:xt;return ee&&_r(p,A,ee)&&(A=a),Re(p,Br(A,3))},Zn.find=qh,Zn.findIndex=jp,Zn.findKey=function Jm(p,A){return Nr(p,Br(A,3),Ri)},Zn.findLast=su,Zn.findLastIndex=nu,Zn.findLastKey=function Od(p,A){return Nr(p,Br(A,3),Bi)},Zn.floor=If,Zn.forEach=gh,Zn.forEachRight=vp,Zn.forIn=function Qm(p,A){return null==p?p:ti(p,Br(A,3),td)},Zn.forInRight=function Tm(p,A){return null==p?p:Ti(p,Br(A,3),td)},Zn.forOwn=function Th(p,A){return p&&Ri(p,Br(A,3))},Zn.forOwnRight=function Cp(p,A){return p&&Bi(p,Br(A,3))},Zn.get=tp,Zn.gt=x1,Zn.gte=Fc,Zn.has=function Cm(p,A){return null!=p&&Td(p,A,Xo)},Zn.hasIn=Xf,Zn.head=At,Zn.identity=H0,Zn.includes=function Mc(p,A,ee,Re){p=Ec(p)?p:b0(p),ee=ee&&!Re?Ir(ee):0;var _t=p.length;return ee<0&&(ee=Rs(_t+ee,0)),ep(p)?ee<=_t&&p.indexOf(A,ee)>-1:!!_t&&ra(p,A,ee)>-1},Zn.indexOf=function oe(p,A,ee){var Re=null==p?0:p.length;if(!Re)return-1;var _t=null==ee?0:Ir(ee);return _t<0&&(_t=Rs(Re+_t,0)),ra(p,A,_t)},Zn.inRange=function zm(p,A,ee){return A=er(A),ee===a?(ee=A,A=0):ee=er(ee),function Wr(p,A,ee){return p>=fr(A,ee)&&p<Rs(A,ee)}(p=jo(p),A,ee)},Zn.invoke=t_,Zn.isArguments=Vr,Zn.isArray=fo,Zn.isArrayBuffer=y1,Zn.isArrayLike=Ec,Zn.isArrayLikeObject=nl,Zn.isBoolean=function il(p){return!0===p||!1===p||p1(p)&&ro(p)==Pe},Zn.isBuffer=Ya,Zn.isDate=lc,Zn.isElement=function Oc(p){return p1(p)&&1===p.nodeType&&!cc(p)},Zn.isEmpty=function kl(p){if(null==p)return!0;if(Ec(p)&&(fo(p)||"string"==typeof p||"function"==typeof p.splice||Ya(p)||Md(p)||Vr(p)))return!p.length;var A=na(p);if(A==Lt||A==Ne)return!p.size;if(Kd(p))return!Sn(p).length;for(var ee in p)if(Gr.call(p,ee))return!1;return!0},Zn.isEqual=function Tl(p,A){return it(p,A)},Zn.isEqualWith=function n0(p,A,ee){var Re=(ee="function"==typeof ee?ee:a)?ee(p,A):a;return Re===a?it(p,A,a,ee):!!Re},Zn.isError=$h,Zn.isFinite=function Ym(p){return"number"==typeof p&&jr(p)},Zn.isFunction=ed,Zn.isInteger=vm,Zn.isLength=Am,Zn.isMap=Su,Zn.isMatch=function Vh(p,A){return p===A||qt(p,A,oc(A))},Zn.isMatchWith=function ym(p,A,ee){return ee="function"==typeof ee?ee:a,qt(p,A,oc(A),ee)},Zn.isNaN=function Ep(p){return Vf(p)&&p!=+p},Zn.isNative=function Sp(p){if(gm(p))throw new vs("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return An(p)},Zn.isNil=function Ah(p){return null==p},Zn.isNull=function vh(p){return null===p},Zn.isNumber=Vf,Zn.isObject=Hl,Zn.isObjectLike=p1,Zn.isPlainObject=cc,Zn.isRegExp=ju,Zn.isSafeInteger=function Hh(p){return vm(p)&&p>=-ae&&p<=ae},Zn.isSet=Hf,Zn.isString=ep,Zn.isSymbol=gu,Zn.isTypedArray=Md,Zn.isUndefined=function Of(p){return p===a},Zn.isWeakMap=function yh(p){return p1(p)&&na(p)==ft},Zn.isWeakSet=function og(p){return p1(p)&&"[object WeakSet]"==ro(p)},Zn.join=function qi(p,A){return null==p?"":Mr.call(p,A)},Zn.kebabCase=ha,Zn.last=Xi,Zn.lastIndexOf=function Zi(p,A,ee){var Re=null==p?0:p.length;if(!Re)return-1;var _t=Re;return ee!==a&&(_t=(_t=Ir(ee))<0?Rs(Re+_t,0):fr(_t,Re-1)),A==A?function Zl(Wn,yi,Ut){for(var ss=Ut+1;ss--;)if(Wn[ss]===yi)return ss;return ss}(p,A,_t):Pl(p,g1,_t,!0)},Zn.lowerCase=Ef,Zn.lowerFirst=Tc,Zn.lt=Uu,Zn.lte=Em,Zn.max=function Rm(p){return p&&p.length?vt(p,H0,Bo):a},Zn.maxBy=function Lm(p,A){return p&&p.length?vt(p,Br(A,2),Bo):a},Zn.mean=function a_(p){return hc(p,H0)},Zn.meanBy=function Qr(p,A){return hc(p,Br(A,2))},Zn.min=function E_(p){return p&&p.length?vt(p,H0,Yi):a},Zn.minBy=function Cc(p,A){return p&&p.length?vt(p,Br(A,2),Yi):a},Zn.stubArray=gl,Zn.stubFalse=Im,Zn.stubObject=function F_(){return{}},Zn.stubString=function Df(){return""},Zn.stubTrue=function y_(){return!0},Zn.multiply=Cu,Zn.nth=function fs(p,A){return p&&p.length?J0(p,Ir(A)):a},Zn.noConflict=function rm(){return Jr._===this&&(Jr._=Q1),this},Zn.noop=zf,Zn.now=qe,Zn.pad=function V0(p,A,ee){p=E1(p);var Re=(A=Ir(A))?ba(p):0;if(!A||Re>=A)return p;var _t=(A-Re)/2;return sc(is(_t),ee)+p+sc(si(_t),ee)},Zn.padEnd=function Zf(p,A,ee){p=E1(p);var Re=(A=Ir(A))?ba(p):0;return A&&Re<A?p+sc(A-Re,ee):p},Zn.padStart=function i_(p,A,ee){p=E1(p);var Re=(A=Ir(A))?ba(p):0;return A&&Re<A?sc(A-Re,ee)+p:p},Zn.parseInt=function A_(p,A,ee){return ee||null==A?A=0:A&&(A=+A),Va(E1(p).replace(os,""),A||0)},Zn.random=function vd(p,A,ee){if(ee&&"boolean"!=typeof ee&&_r(p,A,ee)&&(A=ee=a),ee===a&&("boolean"==typeof A?(ee=A,A=a):"boolean"==typeof p&&(ee=p,p=a)),p===a&&A===a?(p=0,A=1):(p=er(p),A===a?(A=p,p=0):A=er(A)),p>A){var Re=p;p=A,A=Re}if(ee||p%1||A%1){var _t=E0();return fr(p+_t*(A-p+Ga("1e-"+((_t+"").length-1))),A)}return Zs(p,A)},Zn.reduce=function Mf(p,A,ee){var Re=fo(p)?J1:W1,_t=arguments.length<3;return Re(p,Br(A,4),ee,_t,Ke)},Zn.reduceRight=function Vm(p,A,ee){var Re=fo(p)?uo:W1,_t=arguments.length<3;return Re(p,Br(A,4),ee,_t,lt)},Zn.repeat=function Do(p,A,ee){return A=(ee?_r(p,A,ee):A===a)?1:Ir(A),zo(E1(p),A)},Zn.replace=function Yl(){var p=arguments,A=E1(p[0]);return p.length<3?A:A.replace(p[1],p[2])},Zn.result=function np(p,A,ee){var Re=-1,_t=(A=tl(A,p)).length;for(_t||(_t=1,p=a);++Re<_t;){var Gt=null==p?a:p[wc(A[Re])];Gt===a&&(Re=_t,Gt=ee),p=ed(Gt)?Gt.call(p):Gt}return p},Zn.round=U_,Zn.runInContext=Wn,Zn.sample=function xc(p){return(fo(p)?Kn:Vo)(p)},Zn.size=function Oh(p){if(null==p)return 0;if(Ec(p))return ep(p)?ba(p):p.length;var A=na(p);return A==Lt||A==Ne?p.size:Sn(p).length},Zn.snakeCase=Qh,Zn.some=function Hm(p,A,ee){var Re=fo(p)?Dl:ua;return ee&&_r(p,A,ee)&&(A=a),Re(p,Br(A,3))},Zn.sortedIndex=function u0(p,A){return bc(p,A)},Zn.sortedIndexBy=function Ca(p,A,ee){return O1(p,A,Br(ee,2))},Zn.sortedIndexOf=function ia(p,A){var ee=null==p?0:p.length;if(ee){var Re=bc(p,A);if(Re<ee&&Or(p[Re],A))return Re}return-1},Zn.sortedLastIndex=function d0(p,A){return bc(p,A,!0)},Zn.sortedLastIndexBy=function v1(p,A,ee){return O1(p,A,Br(ee,2),!0)},Zn.sortedLastIndexOf=function x0(p,A){if(null!=p&&p.length){var Re=bc(p,A,!0)-1;if(Or(p[Re],A))return Re}return-1},Zn.startCase=tm,Zn.startsWith=function x_(p,A,ee){return p=E1(p),ee=null==ee?0:C0(Ir(ee),0,p.length),A=Qa(A),p.slice(ee,ee+A.length)==A},Zn.subtract=l_,Zn.sum=function S_(p){return p&&p.length?_a(p,H0):0},Zn.sumBy=function wm(p,A){return p&&p.length?_a(p,Br(A,2)):0},Zn.template=function s_(p,A,ee){var Re=Zn.templateSettings;ee&&_r(p,A,ee)&&(A=a),p=E1(p),A=Tp({},A,Re,pp);var kn,ni,_t=Tp({},A.imports,Re.imports,pp),Gt=Jc(_t),vn=tn(_t,Gt),ji=0,Wi=A.interpolate||ei,Qi="__p += '",ys=Y0((A.escape||ei).source+"|"+Wi.source+"|"+(Wi===Xn?ui:ei).source+"|"+(A.evaluate||ei).source+"|$","g"),qs="//# sourceURL="+(Gr.call(A,"sourceURL")?(A.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++so+"]")+"\n";p.replace(ys,function(co,Ko,nr,ol,rl,Wc){return nr||(nr=ol),Qi+=p.slice(ji,Wc).replace(Hi,P0),Ko&&(kn=!0,Qi+="' +\n__e("+Ko+") +\n'"),rl&&(ni=!0,Qi+="';\n"+rl+";\n__p += '"),nr&&(Qi+="' +\n((__t = ("+nr+")) == null ? '' : __t) +\n'"),ji=Wc+co.length,co}),Qi+="';\n";var Ys=Gr.call(A,"variable")&&A.variable;if(Ys){if(Tn.test(Ys))throw new vs("Invalid `variable` option passed into `_.template`")}else Qi="with (obj) {\n"+Qi+"\n}\n";Qi=(ni?Qi.replace(Rn,""):Qi).replace(Qt,"$1").replace(Wt,"$1;"),Qi="function("+(Ys||"obj")+") {\n"+(Ys?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(kn?", __e = _.escape":"")+(ni?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Qi+"return __p\n}";var To=o_(function(){return Us(Gt,qs+"return "+Qi).apply(a,vn)});if(To.source=Qi,$h(To))throw To;return To},Zn.times=function W_(p,A){if((p=Ir(p))<1||p>ae)return[];var ee=Me,Re=fr(p,Me);A=Br(A),p-=Me;for(var _t=L1(Re,A);++ee<p;)A(ee);return _t},Zn.toFinite=er,Zn.toInteger=Ir,Zn.toLength=Xm,Zn.toLower=function nm(p){return E1(p).toLowerCase()},Zn.toNumber=jo,Zn.toSafeInteger=function Km(p){return p?C0(Ir(p),-ae,ae):0===p?p:0},Zn.toString=E1,Zn.toUpper=function Dm(p){return E1(p).toUpperCase()},Zn.trim=function dc(p,A,ee){if((p=E1(p))&&(ee||A===a))return z1(p);if(!p||!(A=Qa(A)))return p;var Re=qa(p),_t=qa(A);return a1(Re,qn(Re,_t),zi(Re,_t)+1).join("")},Zn.trimEnd=function wa(p,A,ee){if((p=E1(p))&&(ee||A===a))return p.slice(0,Pr(p)+1);if(!p||!(A=Qa(A)))return p;var Re=qa(p);return a1(Re,0,zi(Re,qa(A))+1).join("")},Zn.trimStart=function im(p,A,ee){if((p=E1(p))&&(ee||A===a))return p.replace(os,"");if(!p||!(A=Qa(A)))return p;var Re=qa(p);return a1(Re,qn(Re,qa(A))).join("")},Zn.truncate=function Rd(p,A){var ee=30,Re="...";if(Hl(A)){var _t="separator"in A?A.separator:_t;ee="length"in A?Ir(A.length):ee,Re="omission"in A?Qa(A.omission):Re}var Gt=(p=E1(p)).length;if(Ac(p)){var vn=qa(p);Gt=vn.length}if(ee>=Gt)return p;var kn=ee-ba(Re);if(kn<1)return Re;var ni=vn?a1(vn,0,kn).join(""):p.slice(0,kn);if(_t===a)return ni+Re;if(vn&&(kn+=ni.length-kn),ju(_t)){if(p.slice(kn).search(_t)){var ji,Wi=ni;for(_t.global||(_t=Y0(_t.source,E1($i.exec(_t))+"g")),_t.lastIndex=0;ji=_t.exec(Wi);)var Qi=ji.index;ni=ni.slice(0,Qi===a?kn:Qi)}}else if(p.indexOf(Qa(_t),kn)!=kn){var ys=ni.lastIndexOf(_t);ys>-1&&(ni=ni.slice(0,ys))}return ni+Re},Zn.unescape=function Na(p){return(p=E1(p))&&ci.test(p)?p.replace(Yt,fc):p},Zn.uniqueId=function k_(p){var A=++xo;return E1(p)+A},Zn.upperCase=ag,Zn.upperFirst=Hp,Zn.each=gh,Zn.eachRight=vp,Zn.first=At,zh(Zn,function(){var p={};return Ri(Zn,function(A,ee){Gr.call(Zn.prototype,ee)||(p[ee]=A)}),p}(),{chain:!1}),Zn.VERSION="4.17.21",Ur(["bind","bindKey","curry","curryRight","partial","partialRight"],function(p){Zn[p].placeholder=Zn}),Ur(["drop","take"],function(p,A){dr.prototype[p]=function(ee){ee=ee===a?1:Rs(Ir(ee),0);var Re=this.__filtered__&&!A?new dr(this):this.clone();return Re.__filtered__?Re.__takeCount__=fr(ee,Re.__takeCount__):Re.__views__.push({size:fr(ee,Me),type:p+(Re.__dir__<0?"Right":"")}),Re},dr.prototype[p+"Right"]=function(ee){return this.reverse()[p](ee).reverse()}}),Ur(["filter","map","takeWhile"],function(p,A){var ee=A+1,Re=1==ee||3==ee;dr.prototype[p]=function(_t){var Gt=this.clone();return Gt.__iteratees__.push({iteratee:Br(_t,3),type:ee}),Gt.__filtered__=Gt.__filtered__||Re,Gt}}),Ur(["head","last"],function(p,A){var ee="take"+(A?"Right":"");dr.prototype[p]=function(){return this[ee](1).value()[0]}}),Ur(["initial","tail"],function(p,A){var ee="drop"+(A?"":"Right");dr.prototype[p]=function(){return this.__filtered__?new dr(this):this[ee](1)}}),dr.prototype.compact=function(){return this.filter(H0)},dr.prototype.find=function(p){return this.filter(p).head()},dr.prototype.findLast=function(p){return this.reverse().find(p)},dr.prototype.invokeMap=lr(function(p,A){return"function"==typeof p?new dr(this):this.map(function(ee){return va(ee,p,A)})}),dr.prototype.reject=function(p){return this.filter(xn(Br(p)))},dr.prototype.slice=function(p,A){p=Ir(p);var ee=this;return ee.__filtered__&&(p>0||A<0)?new dr(ee):(p<0?ee=ee.takeRight(-p):p&&(ee=ee.drop(p)),A!==a&&(ee=(A=Ir(A))<0?ee.dropRight(-A):ee.take(A-p)),ee)},dr.prototype.takeRightWhile=function(p){return this.reverse().takeWhile(p).reverse()},dr.prototype.toArray=function(){return this.take(Me)},Ri(dr.prototype,function(p,A){var ee=/^(?:filter|find|map|reject)|While$/.test(A),Re=/^(?:head|last)$/.test(A),_t=Zn[Re?"take"+("last"==A?"Right":""):A],Gt=Re||/^find/.test(A);_t&&(Zn.prototype[A]=function(){var vn=this.__wrapped__,kn=Re?[1]:arguments,ni=vn instanceof dr,ji=kn[0],Wi=ni||fo(vn),Qi=function(Ko){var nr=_t.apply(Zn,sr([Ko],kn));return Re&&ys?nr[0]:nr};Wi&&ee&&"function"==typeof ji&&1!=ji.length&&(ni=Wi=!1);var ys=this.__chain__,Ys=Gt&&!ys,To=ni&&!this.__actions__.length;if(!Gt&&Wi){vn=To?vn:new dr(this);var co=p.apply(vn,kn);return co.__actions__.push({func:Os,args:[Qi],thisArg:a}),new X0(co,ys)}return Ys&&To?p.apply(this,kn):(co=this.thru(Qi),Ys?Re?co.value()[0]:co.value():co)})}),Ur(["pop","push","shift","sort","splice","unshift"],function(p){var A=Ra[p],ee=/^(?:push|sort|unshift)$/.test(p)?"tap":"thru",Re=/^(?:pop|shift)$/.test(p);Zn.prototype[p]=function(){var _t=arguments;if(Re&&!this.__chain__){var Gt=this.value();return A.apply(fo(Gt)?Gt:[],_t)}return this[ee](function(vn){return A.apply(fo(vn)?vn:[],_t)})}}),Ri(dr.prototype,function(p,A){var ee=Zn[A];if(ee){var Re=ee.name+"";Gr.call(ii,Re)||(ii[Re]=[]),ii[Re].push({name:A,func:ee})}}),ii[Fu(a,2).name]=[{name:"wrapper",func:a}],dr.prototype.clone=function Nl(){var p=new dr(this.__wrapped__);return p.__actions__=Lc(this.__actions__),p.__dir__=this.__dir__,p.__filtered__=this.__filtered__,p.__iteratees__=Lc(this.__iteratees__),p.__takeCount__=this.__takeCount__,p.__views__=Lc(this.__views__),p},dr.prototype.reverse=function u1(){if(this.__filtered__){var p=new dr(this);p.__dir__=-1,p.__filtered__=!0}else(p=this.clone()).__dir__*=-1;return p},dr.prototype.value=function Fr(){var p=this.__wrapped__.value(),A=this.__dir__,ee=fo(p),Re=A<0,_t=ee?p.length:0,Gt=function fp(p,A,ee){for(var Re=-1,_t=ee.length;++Re<_t;){var Gt=ee[Re],vn=Gt.size;switch(Gt.type){case"drop":p+=vn;break;case"dropRight":A-=vn;break;case"take":A=fr(A,p+vn);break;case"takeRight":p=Rs(p,A-vn)}}return{start:p,end:A}}(0,_t,this.__views__),vn=Gt.start,kn=Gt.end,ni=kn-vn,ji=Re?kn:vn-1,Wi=this.__iteratees__,Qi=Wi.length,ys=0,qs=fr(ni,this.__takeCount__);if(!ee||!Re&&_t==ni&&qs==ni)return Ou(p,this.__actions__);var Ys=[];e:for(;ni--&&ys<qs;){for(var To=-1,co=p[ji+=A];++To<Qi;){var Ko=Wi[To],ol=Ko.type,rl=(0,Ko.iteratee)(co);if(2==ol)co=rl;else if(!rl){if(1==ol)continue e;break e}}Ys[ys++]=co}return Ys},Zn.prototype.at=Gh,Zn.prototype.chain=function fh(){return Pd(this)},Zn.prototype.commit=function Gp(){return new X0(this.value(),this.__chain__)},Zn.prototype.next=function $f(){this.__values__===a&&(this.__values__=vf(this.value()));var p=this.__index__>=this.__values__.length;return{done:p,value:p?a:this.__values__[this.__index__++]}},Zn.prototype.plant=function gd(p){for(var A,ee=this;ee instanceof $l;){var Re=kh(ee);Re.__index__=0,Re.__values__=a,A?_t.__wrapped__=Re:A=Re;var _t=Re;ee=ee.__wrapped__}return _t.__wrapped__=p,A},Zn.prototype.reverse=function mh(){var p=this.__wrapped__;if(p instanceof dr){var A=p;return this.__actions__.length&&(A=new dr(this)),(A=A.reverse()).__actions__.push({func:Os,args:[Ha],thisArg:a}),new X0(A,this.__chain__)}return this.thru(Ha)},Zn.prototype.toJSON=Zn.prototype.valueOf=Zn.prototype.value=function Id(){return Ou(this.__wrapped__,this.__actions__)},Zn.prototype.first=Zn.prototype.head,fl&&(Zn.prototype[fl]=function _d(){return this}),Zn}();Jr._=b1,(n=function(){return b1}.call(N,s,N,at))!==a&&(at.exports=n)}.call(this)},71978:function(at,N,s){var n;at=s.nmd(at),function(){function a(Wn,yi,Ut){switch(Ut.length){case 0:return Wn.call(yi);case 1:return Wn.call(yi,Ut[0]);case 2:return Wn.call(yi,Ut[0],Ut[1]);case 3:return Wn.call(yi,Ut[0],Ut[1],Ut[2])}return Wn.apply(yi,Ut)}function g(Wn,yi,Ut,ss){for(var vs=-1,Us=null==Wn?0:Wn.length;++vs<Us;){var or=Wn[vs];yi(ss,or,Ut(or),Wn)}return ss}function m(Wn,yi){for(var Ut=-1,ss=null==Wn?0:Wn.length;++Ut<ss&&!1!==yi(Wn[Ut],Ut,Wn););return Wn}function T(Wn,yi){for(var Ut=null==Wn?0:Wn.length;Ut--&&!1!==yi(Wn[Ut],Ut,Wn););return Wn}function O(Wn,yi){for(var Ut=-1,ss=null==Wn?0:Wn.length;++Ut<ss;)if(!yi(Wn[Ut],Ut,Wn))return!1;return!0}function D(Wn,yi){for(var Ut=-1,ss=null==Wn?0:Wn.length,vs=0,Us=[];++Ut<ss;){var or=Wn[Ut];yi(or,Ut,Wn)&&(Us[vs++]=or)}return Us}function E(Wn,yi){return!(null==Wn||!Wn.length)&&F(Wn,yi,0)>-1}function y(Wn,yi,Ut){for(var ss=-1,vs=null==Wn?0:Wn.length;++ss<vs;)if(Ut(yi,Wn[ss]))return!0;return!1}function I(Wn,yi){for(var Ut=-1,ss=null==Wn?0:Wn.length,vs=Array(ss);++Ut<ss;)vs[Ut]=yi(Wn[Ut],Ut,Wn);return vs}function b(Wn,yi){for(var Ut=-1,ss=yi.length,vs=Wn.length;++Ut<ss;)Wn[vs+Ut]=yi[Ut];return Wn}function L(Wn,yi,Ut,ss){var vs=-1,Us=null==Wn?0:Wn.length;for(ss&&Us&&(Ut=Wn[++vs]);++vs<Us;)Ut=yi(Ut,Wn[vs],vs,Wn);return Ut}function o(Wn,yi,Ut,ss){var vs=null==Wn?0:Wn.length;for(ss&&vs&&(Ut=Wn[--vs]);vs--;)Ut=yi(Ut,Wn[vs],vs,Wn);return Ut}function C(Wn,yi){for(var Ut=-1,ss=null==Wn?0:Wn.length;++Ut<ss;)if(yi(Wn[Ut],Ut,Wn))return!0;return!1}function q(Wn,yi,Ut){var ss;return Ut(Wn,function(vs,Us,or){if(yi(vs,Us,or))return ss=Us,!1}),ss}function z(Wn,yi,Ut,ss){for(var vs=Wn.length,Us=Ut+(ss?1:-1);ss?Us--:++Us<vs;)if(yi(Wn[Us],Us,Wn))return Us;return-1}function F(Wn,yi,Ut){return yi==yi?function Be(Wn,yi,Ut){for(var ss=Ut-1,vs=Wn.length;++ss<vs;)if(Wn[ss]===yi)return ss;return-1}(Wn,yi,Ut):z(Wn,k,Ut)}function U(Wn,yi,Ut,ss){for(var vs=Ut-1,Us=Wn.length;++vs<Us;)if(ss(Wn[vs],yi))return vs;return-1}function k(Wn){return Wn!=Wn}function Y(Wn,yi){var Ut=null==Wn?0:Wn.length;return Ut?H(Wn,yi)/Ut:os}function x(Wn){return function(yi){return null==yi?Se:yi[Wn]}}function B(Wn){return function(yi){return null==Wn?Se:Wn[yi]}}function j(Wn,yi,Ut,ss,vs){return vs(Wn,function(Us,or,wr){Ut=ss?(ss=!1,Us):yi(Ut,Us,or,wr)}),Ut}function H(Wn,yi){for(var Ut,ss=-1,vs=Wn.length;++ss<vs;){var Us=yi(Wn[ss]);Us!==Se&&(Ut=Ut===Se?Us:Ut+Us)}return Ut}function ie(Wn,yi){for(var Ut=-1,ss=Array(Wn);++Ut<Wn;)ss[Ut]=yi(Ut);return ss}function Q(Wn){return Wn&&Wn.slice(0,Vt(Wn)+1).replace(Rr,"")}function le(Wn){return function(yi){return Wn(yi)}}function pe(Wn,yi){return I(yi,function(Ut){return Wn[Ut]})}function te(Wn,yi){return Wn.has(yi)}function ae(Wn,yi){for(var Ut=-1,ss=Wn.length;++Ut<ss&&F(yi,Wn[Ut],0)>-1;);return Ut}function K(Wn,yi){for(var Ut=Wn.length;Ut--&&F(yi,Wn[Ut],0)>-1;);return Ut}function Me(Wn){return"\\"+xr[Wn]}function be(Wn){return L1.test(Wn)}function Oe(Wn){var yi=-1,Ut=Array(Wn.size);return Wn.forEach(function(ss,vs){Ut[++yi]=[vs,ss]}),Ut}function Xe(Wn,yi){return function(Ut){return Wn(yi(Ut))}}function Pe(Wn,yi){for(var Ut=-1,ss=Wn.length,vs=0,Us=[];++Ut<ss;){var or=Wn[Ut];or!==yi&&or!==It||(Wn[Ut]=It,Us[vs++]=Ut)}return Us}function $e(Wn){var yi=-1,Ut=Array(Wn.size);return Wn.forEach(function(ss){Ut[++yi]=ss}),Ut}function Ct(Wn){return be(Wn)?function ht(Wn){for(var yi=W0.lastIndex=0;W0.test(Wn);)++yi;return yi}(Wn):fc(Wn)}function Lt(Wn){return be(Wn)?function gt(Wn){return Wn.match(W0)||[]}(Wn):function w(Wn){return Wn.split("")}(Wn)}function Vt(Wn){for(var yi=Wn.length;yi--&&A0.test(Wn.charAt(yi)););return yi}var Se,Qe="Expected a function",ft="__lodash_hash_undefined__",It="__lodash_placeholder__",ln=1/0,Dn=9007199254740991,os=NaN,Fs=4294967295,pt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],cn="[object Arguments]",Tn="[object Array]",ui="[object Boolean]",$i="[object Date]",Hn="[object Error]",Qn="[object Function]",ri="[object GeneratorFunction]",li="[object Map]",Fi="[object Number]",Hi="[object Object]",gn="[object Promise]",hn="[object RegExp]",Bn="[object Set]",mi="[object String]",wi="[object Symbol]",Cn="[object WeakMap]",Mt="[object ArrayBuffer]",Bt="[object DataView]",Rt="[object Float32Array]",Jt="[object Float64Array]",He="[object Int8Array]",fe="[object Int16Array]",nt="[object Int32Array]",Ot="[object Uint8Array]",rn="[object Uint8ClampedArray]",Jn="[object Uint16Array]",Oi="[object Uint32Array]",Ci=/\b__p \+= '';/g,Ui=/\b(__p \+=) '' \+/g,ps=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ji=/&(?:amp|lt|gt|quot|#39);/g,_s=/[&<>"']/g,js=RegExp(Ji.source),es=RegExp(_s.source),zs=/<%-([\s\S]+?)%>/g,Gi=/<%([\s\S]+?)%>/g,ds=/<%=([\s\S]+?)%>/g,rs=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ao=/^\w*$/,wo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zr=/[\\^$.*+?()[\]{}|]/g,Ea=RegExp(zr.source),Rr=/^\s+/,A0=/\s/,oa=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,bi=/\{\n\/\* \[wrapped with (.+)\] \*/,Po=/,? & /,Pn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ei=/[()=,{}\[\]\/\s]/,fi=/\\(\\)?/g,Ks=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fa=/\w*$/,za=/^[-+]0x[0-9a-f]+$/i,l1=/^0b[01]+$/i,Yn=/^\[object .+?Constructor\]$/,so=/^0o[0-7]+$/i,Hr=/^(?:0|[1-9]\d*)$/,vr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Sa=/($^)/,X1=/['\n\r\u2028\u2029\\]/g,_1="\\ud800-\\udfff",Ol="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Wa="\\u2700-\\u27bf",Jr="a-z\\xdf-\\xf6\\xf8-\\xff",Da="A-Z\\xc0-\\xd6\\xd8-\\xde",y0="\\ufe0e\\ufe0f",ma="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ia="["+_1+"]",Vs="["+ma+"]",Ar="["+Ol+"]",gr="\\d+",Zr="["+Wa+"]",Ur="["+Jr+"]",Co="[^"+_1+ma+gr+Wa+Jr+Da+"]",Ka="\\ud83c[\\udffb-\\udfff]",yr="[^"+_1+"]",kr="(?:\\ud83c[\\udde6-\\uddff]){2}",Uo="[\\ud800-\\udbff][\\udc00-\\udfff]",sr="["+Da+"]",uo="(?:"+Ur+"|"+Co+")",Dl="(?:"+sr+"|"+Co+")",mo="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",vl="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ea="(?:"+Ar+"|"+Ka+")?",Nr="["+y0+"]?",g1=Nr+ea+"(?:\\u200d(?:"+[yr,kr,Uo].join("|")+")"+Nr+ea+")*",hc="(?:"+[Zr,kr,Uo].join("|")+")"+g1,Dr="(?:"+[yr+Ar+"?",Ar,kr,Uo,Ia].join("|")+")",Jo=RegExp("['\u2019]","g"),W1=RegExp(Ar,"g"),W0=RegExp(Ka+"(?="+Ka+")|"+Dr+g1,"g"),_a=RegExp([sr+"?"+Ur+"+"+mo+"(?="+[Vs,sr,"$"].join("|")+")",Dl+"+"+vl+"(?="+[Vs,sr+uo,"$"].join("|")+")",sr+"?"+uo+"+"+mo,sr+"+"+vl,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gr,hc].join("|"),"g"),L1=RegExp("[\\u200d"+_1+Ol+y0+"]"),h0=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,z1=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],un=-1,tn={};tn[Rt]=tn[Jt]=tn[He]=tn[fe]=tn[nt]=tn[Ot]=tn[rn]=tn[Jn]=tn[Oi]=!0,tn[cn]=tn[Tn]=tn[Mt]=tn[ui]=tn[Bt]=tn[$i]=tn[Hn]=tn[Qn]=tn[li]=tn[Fi]=tn[Hi]=tn[hn]=tn[Bn]=tn[mi]=tn[Cn]=!1;var Dt={};Dt[cn]=Dt[Tn]=Dt[Mt]=Dt[Bt]=Dt[ui]=Dt[$i]=Dt[Rt]=Dt[Jt]=Dt[He]=Dt[fe]=Dt[nt]=Dt[li]=Dt[Fi]=Dt[Hi]=Dt[hn]=Dt[Bn]=Dt[mi]=Dt[wi]=Dt[Ot]=Dt[rn]=Dt[Jn]=Dt[Oi]=!0,Dt[Hn]=Dt[Qn]=Dt[Cn]=!1;var xr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Al=parseFloat,P0=parseInt,Eo="object"==typeof global&&global&&global.Object===Object&&global,Ac="object"==typeof self&&self&&self.Object===Object&&self,ga=Eo||Ac||Function("return this")(),dl=N&&!N.nodeType&&N,ur=dl&&at&&!at.nodeType&&at,w1=ur&&ur.exports===dl,So=w1&&Eo.process,s0=function(){try{return ur&&ur.require&&ur.require("util").types||So&&So.binding&&So.binding("util")}catch{}}(),e1=s0&&s0.isArrayBuffer,jl=s0&&s0.isDate,Zl=s0&&s0.isMap,ba=s0&&s0.isRegExp,qa=s0&&s0.isSet,Pr=s0&&s0.isTypedArray,fc=x("length"),I0=B({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),Il=B({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),Yr=B({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),b1=function Wn(yi){function Ut(p){if(fs(p)&&!Na(p)&&!(p instanceof Us)){if(p instanceof vs)return p;if(n0.call(p,"__wrapped__"))return Lc(p)}return new vs(p)}function ss(){}function vs(p,A){this.__wrapped__=p,this.__actions__=[],this.__chain__=!!A,this.__index__=0,this.__values__=Se}function Us(p){this.__wrapped__=p,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Fs,this.__views__=[]}function R0(p){var A=-1,ee=null==p?0:p.length;for(this.clear();++A<ee;){var Re=p[A];this.set(Re[0],Re[1])}}function M1(p){var A=-1,ee=null==p?0:p.length;for(this.clear();++A<ee;){var Re=p[A];this.set(Re[0],Re[1])}}function Q1(p){var A=-1,ee=null==p?0:p.length;for(this.clear();++A<ee;){var Re=p[A];this.set(Re[0],Re[1])}}function t1(p){var A=-1,ee=null==p?0:p.length;for(this.__data__=new Q1;++A<ee;)this.add(p[A])}function k0(p){this.size=(this.__data__=new M1(p)).size}function kt(p,A){var ee=Na(p),Re=!ee&&Rd(p),_t=!ee&&!Re&&Hp(p),Gt=!ee&&!Re&&!_t&&Yp(p),vn=ee||Re||_t||Gt,kn=vn?ie(p.length,nl):[],ni=kn.length;for(var ji in p)!A&&!n0.call(p,ji)||vn&&("length"==ji||_t&&("offset"==ji||"parent"==ji)||Gt&&("buffer"==ji||"byteLength"==ji||"byteOffset"==ji)||w0(ji,ni))||kn.push(ji);return kn}function dn(p){var A=p.length;return A?p[Nt(0,A-1)]:Se}function si(p,A){return Q0(Bo(p),Va(A,0,p.length))}function is(p){return Q0(Bo(p))}function bs(p,A,ee){(ee===Se||nu(p[A],ee))&&(ee!==Se||A in p)||fr(p,A,ee)}function Xs(p,A,ee){var Re=p[A];n0.call(p,A)&&nu(Re,ee)&&(ee!==Se||A in p)||fr(p,A,ee)}function jr(p,A){for(var ee=p.length;ee--;)if(nu(p[ee][0],A))return ee;return-1}function Mr(p,A,ee,Re){return tp(p,function(_t,Gt,vn){A(Re,_t,ee(_t),vn)}),Re}function Ma(p,A){return p&&Xo(A,$1(A),p)}function fr(p,A,ee){"__proto__"==A&&Hh?Hh(p,A,{configurable:!0,enumerable:!0,value:ee,writable:!0}):p[A]=ee}function Fo(p,A){for(var ee=-1,Re=A.length,_t=Or(Re),Gt=null==p;++ee<Re;)_t[ee]=Gt?Se:Kc(p,A[ee]);return _t}function Va(p,A,ee){return p==p&&(ee!==Se&&(p=p<=ee?p:ee),A!==Se&&(p=p>=A?p:A)),p}function E0(p,A,ee,Re,_t,Gt){var vn,kn=1&A,ni=2&A,ji=4&A;if(ee&&(vn=_t?ee(p,Re,_t,Gt):ee(p)),vn!==Se)return vn;if(!Zi(p))return p;var Wi=Na(p);if(Wi){if(vn=function bc(p){var A=p.length,ee=new p.constructor(A);return A&&"string"==typeof p[0]&&n0.call(p,"index")&&(ee.index=p.index,ee.input=p.input),ee}(p),!kn)return Bo(p,vn)}else{var Qi=Tu(p),ys=Qi==Qn||Qi==ri;if(Hp(p))return an(p,kn);if(Qi==Hi||Qi==cn||ys&&!_t){if(vn=ni||ys?{}:O1(p),!kn)return ni?function Wr(p,A){return Xo(p,O_(p),A)}(p,function Rs(p,A){return p&&Xo(A,Eu(A),p)}(vn,p)):function ar(p,A){return Xo(p,n_(p),A)}(p,Ma(vn,p))}else{if(!Dt[Qi])return _t?p:{};vn=function r0(p,A,ee){var Re=p.constructor;switch(A){case Mt:return fn(p);case ui:case $i:return new Re(+p);case Bt:return function ti(p,A){return new p.constructor(A?fn(p.buffer):p.buffer,p.byteOffset,p.byteLength)}(p,ee);case Rt:case Jt:case He:case fe:case nt:case Ot:case rn:case Jn:case Oi:return Bi(p,ee);case li:return new Re;case Fi:case mi:return new Re(p);case hn:return function Ti(p){var A=new p.constructor(p.source,fa.exec(p));return A.lastIndex=p.lastIndex,A}(p);case Bn:return new Re;case wi:return function Ri(p){return Cp?y1(Cp.call(p)):{}}(p)}}(p,Qi,kn)}}Gt||(Gt=new k0);var qs=Gt.get(p);if(qs)return qs;Gt.set(p,vn),sm(p)?p.forEach(function(co){vn.add(E0(co,A,ee,co,p,Gt))}):o_(p)&&p.forEach(function(co,Ko){vn.set(Ko,E0(co,A,ee,Ko,p,Gt))});var To=Wi?Se:(ji?ni?Go:Zs:ni?Eu:$1)(p);return m(To||p,function(co,Ko){To&&(co=p[Ko=co]),Xs(vn,Ko,E0(co,A,ee,Ko,p,Gt))}),vn}function n1(p,A,ee){var Re=ee.length;if(null==p)return!Re;for(p=y1(p);Re--;){var _t=ee[Re],vn=p[_t];if(vn===Se&&!(_t in p)||!(0,A[_t])(vn))return!1}return!0}function ta(p,A,ee){if("function"!=typeof p)throw new il(Qe);return Is(function(){p.apply(Se,ee)},A)}function Ja(p,A,ee,Re){var _t=-1,Gt=E,vn=!0,kn=p.length,ni=[],ji=A.length;if(!kn)return ni;ee&&(A=I(A,le(ee))),Re?(Gt=y,vn=!1):A.length>=200&&(Gt=te,vn=!1,A=new t1(A));e:for(;++_t<kn;){var Wi=p[_t],Qi=null==ee?Wi:ee(Wi);if(Wi=Re||0!==Wi?Wi:0,vn&&Qi==Qi){for(var ys=ji;ys--;)if(A[ys]===Qi)continue e;ni.push(Wi)}else Gt(A,Qi,Re)||ni.push(Wi)}return ni}function ir(p,A){var ee=!0;return tp(p,function(Re,_t,Gt){return ee=!!A(Re,_t,Gt)}),ee}function la(p,A,ee){for(var Re=-1,_t=p.length;++Re<_t;){var Gt=p[Re],vn=A(Gt);if(null!=vn&&(kn===Se?vn==vn&&!ia(vn):ee(vn,kn)))var kn=vn,ni=Gt}return ni}function j1(p,A){var ee=[];return tp(p,function(Re,_t,Gt){A(Re,_t,Gt)&&ee.push(Re)}),ee}function ii(p,A,ee,Re,_t){var Gt=-1,vn=p.length;for(ee||(ee=Qa),_t||(_t=[]);++Gt<vn;){var kn=p[Gt];A>0&&ee(kn)?A>1?ii(kn,A-1,ee,Re,_t):b(_t,kn):Re||(_t[_t.length]=kn)}return _t}function S0(p,A){return p&&Xf(p,A,$1)}function ql(p,A){return p&&Zm(p,A,$1)}function Z1(p,A){return D(A,function(ee){return $n(p[ee])})}function el(p,A){for(var ee=0,Re=(A=vt(A,p)).length;null!=p&&ee<Re;)p=p[I1(A[ee++])];return ee&&ee==Re?p:Se}function wl(p,A,ee){var Re=A(p);return Na(p)?Re:b(Re,ee(p))}function Oa(p){return null==p?p===Se?"[object Undefined]":"[object Null]":ju&&ju in y1(p)?function Mo(p){var A=n0.call(p,ju),ee=p[ju];try{p[ju]=Se;var Re=!0}catch{}var _t=ed.call(p);return Re&&(A?p[ju]=ee:delete p[ju]),_t}(p):function z0(p){return ed.call(p)}(p)}function j0(p,A){return p>A}function ec(p,A){return null!=p&&n0.call(p,A)}function Zn(p,A){return null!=p&&A in y1(p)}function $l(p,A,ee){for(var Re=ee?y:E,_t=p[0].length,Gt=p.length,vn=Gt,kn=Or(Gt),ni=1/0,ji=[];vn--;){var Wi=p[vn];vn&&A&&(Wi=I(Wi,le(A))),ni=Ir(Wi.length,ni),kn[vn]=!ee&&(A||_t>=120&&Wi.length>=120)?new t1(vn&&Wi):Se}Wi=p[0];var Qi=-1,ys=kn[0];e:for(;++Qi<_t&&ji.length<ni;){var qs=Wi[Qi],Ys=A?A(qs):qs;if(qs=ee||0!==qs?qs:0,!(ys?te(ys,Ys):Re(ji,Ys,ee))){for(vn=Gt;--vn;){var To=kn[vn];if(!(To?te(To,Ys):Re(p[vn],Ys,ee)))continue e}ys&&ys.push(Ys),ji.push(qs)}}return ji}function dr(p,A,ee){var Re=null==(p=t0(p,A=vt(A,p)))?p:p[I1(sc(A))];return null==Re?Se:a(Re,p,ee)}function Nl(p){return fs(p)&&Oa(p)==cn}function a0(p,A,ee,Re,_t){return p===A||(null==p||null==A||!fs(p)&&!fs(A)?p!=p&&A!=A:function Ru(p,A,ee,Re,_t,Gt){var vn=Na(p),kn=Na(A),ni=vn?Tn:Tu(p),ji=kn?Tn:Tu(A),Wi=(ni=ni==cn?Hi:ni)==Hi,Qi=(ji=ji==cn?Hi:ji)==Hi,ys=ni==ji;if(ys&&Hp(p)){if(!Hp(A))return!1;vn=!0,Wi=!1}if(ys&&!Wi)return Gt||(Gt=new k0),vn||Yp(p)?Vu(p,A,ee,Re,_t,Gt):function Zc(p,A,ee,Re,_t,Gt,vn){switch(ee){case Bt:if(p.byteLength!=A.byteLength||p.byteOffset!=A.byteOffset)return!1;p=p.buffer,A=A.buffer;case Mt:return!(p.byteLength!=A.byteLength||!Gt(new Vh(p),new Vh(A)));case ui:case $i:case Fi:return nu(+p,+A);case Hn:return p.name==A.name&&p.message==A.message;case hn:case mi:return p==A+"";case li:var kn=Oe;case Bn:if(kn||(kn=$e),p.size!=A.size&&!(1&Re))return!1;var ji=vn.get(p);if(ji)return ji==A;Re|=2,vn.set(p,A);var Wi=Vu(kn(p),kn(A),Re,_t,Gt,vn);return vn.delete(p),Wi;case wi:if(Cp)return Cp.call(p)==Cp.call(A)}return!1}(p,A,ni,ee,Re,_t,Gt);if(!(1&ee)){var qs=Wi&&n0.call(p,"__wrapped__"),Ys=Qi&&n0.call(A,"__wrapped__");if(qs||Ys){var To=qs?p.value():p,co=Ys?A.value():A;return Gt||(Gt=new k0),_t(To,co,ee,Re,Gt)}}return!!ys&&(Gt||(Gt=new k0),function U0(p,A,ee,Re,_t,Gt){var vn=1&ee,kn=Zs(p),ni=kn.length;if(ni!=Zs(A).length&&!vn)return!1;for(var ji=ni;ji--;){var Wi=kn[ji];if(!(vn?Wi in A:n0.call(A,Wi)))return!1}var Qi=Gt.get(p),ys=Gt.get(A);if(Qi&&ys)return Qi==A&&ys==p;var qs=!0;Gt.set(p,A),Gt.set(A,p);for(var Ys=vn;++ji<ni;){var To=p[Wi=kn[ji]],co=A[Wi];if(Re)var Ko=vn?Re(co,To,Wi,A,p,Gt):Re(To,co,Wi,p,A,Gt);if(!(Ko===Se?To===co||_t(To,co,ee,Re,Gt):Ko)){qs=!1;break}Ys||(Ys="constructor"==Wi)}if(qs&&!Ys){var nr=p.constructor,ol=A.constructor;nr!=ol&&"constructor"in p&&"constructor"in A&&!("function"==typeof nr&&nr instanceof nr&&"function"==typeof ol&&ol instanceof ol)&&(qs=!1)}return Gt.delete(p),Gt.delete(A),qs}(p,A,ee,Re,_t,Gt))}(p,A,ee,Re,a0,_t))}function f0(p,A,ee,Re){var _t=ee.length,Gt=_t,vn=!Re;if(null==p)return!Gt;for(p=y1(p);_t--;){var kn=ee[_t];if(vn&&kn[2]?kn[1]!==p[kn[0]]:!(kn[0]in p))return!1}for(;++_t<Gt;){var ni=(kn=ee[_t])[0],ji=p[ni],Wi=kn[1];if(vn&&kn[2]){if(ji===Se&&!(ni in p))return!1}else{var Qi=new k0;if(Re)var ys=Re(ji,Wi,ni,p,A,Qi);if(!(ys===Se?a0(Wi,ji,3,Re,Qi):ys))return!1}}return!0}function qr(p){return!(!Zi(p)||function _l(p){return!!Ym&&Ym in p}(p))&&($n(p)?Hl:Yn).test(uu(p))}function P1(p){return"function"==typeof p?p:null==p?J:"object"==typeof p?Na(p)?_c(p[0],p[1]):yl(p):bn(p)}function xl(p){if(!vo(p))return vf(p);var A=[];for(var ee in y1(p))n0.call(p,ee)&&"constructor"!=ee&&A.push(ee);return A}function nc(p,A){return p<A}function o1(p,A){var ee=-1,Re=Sl(p)?Or(p.length):[];return tp(p,function(_t,Gt,vn){Re[++ee]=A(_t,Gt,vn)}),Re}function yl(p){var A=Kr(p);return 1==A.length&&A[0][2]?cd(A[0][0],A[0][1]):function(ee){return ee===p||f0(ee,p,A)}}function _c(p,A){return Fl(p)&&Lu(A)?cd(I1(p),A):function(ee){var Re=Kc(ee,p);return Re===Se&&Re===A?ac(ee,p):a0(A,Re,3)}}function l0(p,A,ee,Re,_t){p!==A&&Xf(A,function(Gt,vn){if(_t||(_t=new k0),Zi(Gt))!function qc(p,A,ee,Re,_t,Gt,vn){var kn=Hu(p,ee),ni=Hu(A,ee),ji=vn.get(ni);if(ji)return bs(p,ee,ji),Se;var Wi=Gt?Gt(kn,ni,ee+"",p,A,vn):Se,Qi=Wi===Se;if(Qi){var ys=Na(ni),qs=!ys&&Hp(ni),Ys=!ys&&!qs&&Yp(ni);Wi=ni,ys||qs||Ys?Na(kn)?Wi=kn:q1(kn)?Wi=Bo(kn):qs?(Qi=!1,Wi=an(ni,!0)):Ys?(Qi=!1,Wi=Bi(ni,!0)):Wi=[]:da(ni)||Rd(ni)?(Wi=kn,Rd(kn)?Wi=iu(kn):Zi(kn)&&!$n(kn)||(Wi=O1(ni))):Qi=!1}Qi&&(vn.set(ni,Wi),_t(Wi,ni,Re,Gt,vn),vn.delete(ni)),bs(p,ee,Wi)}(p,A,vn,ee,l0,Re,_t);else{var kn=Re?Re(Hu(p,vn),Gt,vn+"",p,A,_t):Se;kn===Se&&(kn=Gt),bs(p,vn,kn)}},Eu)}function cu(p,A){var ee=p.length;if(ee)return w0(A+=A<0?ee:0,ee)?p[A]:Se}function T0(p,A,ee){A=A.length?I(A,function(_t){return Na(_t)?function(Gt){return el(Gt,1===_t.length?_t[0]:_t)}:_t}):[J];var Re=-1;return A=I(A,le(Vo())),function $(Wn,yi){var Ut=Wn.length;for(Wn.sort(yi);Ut--;)Wn[Ut]=Wn[Ut].value;return Wn}(o1(p,function(_t,Gt,vn){return{criteria:I(A,function(kn){return kn(_t)}),index:++Re,value:_t}}),function(_t,Gt){return function Ws(p,A,ee){for(var Re=-1,_t=p.criteria,Gt=A.criteria,vn=_t.length,kn=ee.length;++Re<vn;){var ni=ts(_t[Re],Gt[Re]);if(ni)return Re>=kn?ni:ni*("desc"==ee[Re]?-1:1)}return p.index-A.index}(_t,Gt,ee)})}function Vl(p,A,ee){for(var Re=-1,_t=A.length,Gt={};++Re<_t;){var vn=A[Re],kn=el(p,vn);ee(kn,vn)&&Pt(Gt,vt(vn,p),kn)}return Gt}function wt(p,A,ee,Re){var _t=Re?U:F,Gt=-1,vn=A.length,kn=p;for(p===A&&(A=Bo(A)),ee&&(kn=I(p,le(ee)));++Gt<vn;)for(var ni=0,ji=A[Gt],Wi=ee?ee(ji):ji;(ni=_t(kn,Wi,ni,Re))>-1;)kn!==p&&Ah.call(kn,ni,1),Ah.call(p,ni,1);return p}function ct(p,A){for(var ee=p?A.length:0,Re=ee-1;ee--;){var _t=A[ee];if(ee==Re||_t!==Gt){var Gt=_t;w0(_t)?Ah.call(p,_t,1):S(p,_t)}}return p}function Nt(p,A){return p+Of(Eh()*(A-p+1))}function Vn(p,A){var ee="";if(!p||A<1||A>Dn)return ee;do{A%2&&(ee+=p),(A=Of(A/2))&&(p+=p)}while(A);return ee}function je(p,A){return np(ud(p,A,J),p+"")}function Kn(p){return dn(Id(p))}function De(p,A){var ee=Id(p);return Q0(ee,Va(A,0,ee.length))}function Pt(p,A,ee,Re){if(!Zi(p))return p;for(var _t=-1,Gt=(A=vt(A,p)).length,vn=Gt-1,kn=p;null!=kn&&++_t<Gt;){var ni=I1(A[_t]),ji=ee;if("__proto__"===ni||"constructor"===ni||"prototype"===ni)return p;if(_t!=vn){var Wi=kn[ni];(ji=Re?Re(Wi,ni,kn):Se)===Se&&(ji=Zi(Wi)?Wi:w0(A[_t+1])?[]:{})}Xs(kn,ni,ji),kn=kn[ni]}return p}function mt(p){return Q0(Id(p))}function pi(p,A,ee){var Re=-1,_t=p.length;A<0&&(A=-A>_t?0:_t+A),(ee=ee>_t?_t:ee)<0&&(ee+=_t),_t=A>ee?0:ee-A>>>0,A>>>=0;for(var Gt=Or(_t);++Re<_t;)Gt[Re]=p[Re+A];return Gt}function Ls(p,A){var ee;return tp(p,function(Re,_t,Gt){return!(ee=A(Re,_t,Gt))}),!!ee}function lo(p,A,ee){var Re=0,_t=null==p?Re:p.length;if("number"==typeof A&&A==A&&_t<=2147483647){for(;Re<_t;){var Gt=Re+_t>>>1,vn=p[Gt];null!==vn&&!ia(vn)&&(ee?vn<=A:vn<A)?Re=Gt+1:_t=Gt}return _t}return Ro(p,A,J,ee)}function Ro(p,A,ee,Re){var _t=0,Gt=null==p?0:p.length;if(0===Gt)return 0;for(var vn=(A=ee(A))!=A,kn=null===A,ni=ia(A),ji=A===Se;_t<Gt;){var Wi=Of((_t+Gt)/2),Qi=ee(p[Wi]),ys=Qi!==Se,qs=null===Qi,Ys=Qi==Qi,To=ia(Qi);if(vn)var co=Re||Ys;else co=ji?Ys&&(Re||ys):kn?Ys&&ys&&(Re||!qs):ni?Ys&&ys&&!qs&&(Re||!To):!qs&&!To&&(Re?Qi<=A:Qi<A);co?_t=Wi+1:Gt=Wi}return Ir(Gt,4294967294)}function to(p,A){for(var ee=-1,Re=p.length,_t=0,Gt=[];++ee<Re;){var vn=p[ee],kn=A?A(vn):vn;if(!ee||!nu(kn,ni)){var ni=kn;Gt[_t++]=0===vn?0:vn}}return Gt}function Er(p){return"number"==typeof p?p:ia(p)?os:+p}function Xr(p){if("string"==typeof p)return p;if(Na(p))return I(p,Xr)+"";if(ia(p))return Cr?Cr.call(p):"";var A=p+"";return"0"==A&&1/p==-ln?"-0":A}function C0(p,A,ee){var Re=-1,_t=E,Gt=p.length,vn=!0,kn=[],ni=kn;if(ee)vn=!1,_t=y;else if(Gt>=200){var ji=A?null:M_(p);if(ji)return $e(ji);vn=!1,_t=te,ni=new t1}else ni=A?[]:kn;e:for(;++Re<Gt;){var Wi=p[Re],Qi=A?A(Wi):Wi;if(Wi=ee||0!==Wi?Wi:0,vn&&Qi==Qi){for(var ys=ni.length;ys--;)if(ni[ys]===Qi)continue e;A&&ni.push(Qi),kn.push(Wi)}else _t(ni,Qi,ee)||(ni!==kn&&ni.push(Qi),kn.push(Wi))}return kn}function S(p,A){return null==(p=t0(p,A=vt(A,p)))||delete p[I1(sc(A))]}function G(p,A,ee,Re){return Pt(p,A,ee(el(p,A)),Re)}function se(p,A,ee,Re){for(var _t=p.length,Gt=Re?_t:-1;(Re?Gt--:++Gt<_t)&&A(p[Gt],Gt,p););return ee?pi(p,Re?0:Gt,Re?Gt+1:_t):pi(p,Re?Gt+1:0,Re?_t:Gt)}function ue(p,A){var ee=p;return ee instanceof Us&&(ee=ee.value()),L(A,function(Re,_t){return _t.func.apply(_t.thisArg,b([Re],_t.args))},ee)}function Te(p,A,ee){var Re=p.length;if(Re<2)return Re?C0(p[0]):[];for(var _t=-1,Gt=Or(Re);++_t<Re;)for(var vn=p[_t],kn=-1;++kn<Re;)kn!=_t&&(Gt[_t]=Ja(Gt[_t]||vn,p[kn],A,ee));return C0(ii(Gt,1),A,ee)}function Ke(p,A,ee){for(var Re=-1,_t=p.length,Gt=A.length,vn={};++Re<_t;)ee(vn,p[Re],Re<Gt?A[Re]:Se);return vn}function lt(p){return q1(p)?p:[]}function xt(p){return"function"==typeof p?p:J}function vt(p,A){return Na(p)?p:Fl(p,A)?[p]:Kf(pa(p))}function $t(p,A,ee){var Re=p.length;return ee=ee===Se?Re:ee,!A&&ee>=Re?p:pi(p,A,ee)}function an(p,A){if(A)return p.slice();var ee=p.length,Re=ym?ym(ee):new p.constructor(ee);return p.copy(Re),Re}function fn(p){var A=new p.constructor(p.byteLength);return new Vh(A).set(new Vh(p)),A}function Bi(p,A){return new p.constructor(A?fn(p.buffer):p.buffer,p.byteOffset,p.length)}function ts(p,A){if(p!==A){var ee=p!==Se,Re=null===p,_t=p==p,Gt=ia(p),vn=A!==Se,kn=null===A,ni=A==A,ji=ia(A);if(!kn&&!ji&&!Gt&&p>A||Gt&&vn&&ni&&!kn&&!ji||Re&&vn&&ni||!ee&&ni||!_t)return 1;if(!Re&&!Gt&&!ji&&p<A||ji&&ee&&_t&&!Re&&!Gt||kn&&ee&&_t||!vn&&_t||!ni)return-1}return 0}function Wo(p,A,ee,Re){for(var _t=-1,Gt=p.length,vn=ee.length,kn=-1,ni=A.length,ji=er(Gt-vn,0),Wi=Or(ni+ji),Qi=!Re;++kn<ni;)Wi[kn]=A[kn];for(;++_t<vn;)(Qi||_t<Gt)&&(Wi[ee[_t]]=p[_t]);for(;ji--;)Wi[kn++]=p[_t++];return Wi}function ro(p,A,ee,Re){for(var _t=-1,Gt=p.length,vn=-1,kn=ee.length,ni=-1,ji=A.length,Wi=er(Gt-kn,0),Qi=Or(Wi+ji),ys=!Re;++_t<Wi;)Qi[_t]=p[_t];for(var qs=_t;++ni<ji;)Qi[qs+ni]=A[ni];for(;++vn<kn;)(ys||_t<Gt)&&(Qi[qs+ee[vn]]=p[_t++]);return Qi}function Bo(p,A){var ee=-1,Re=p.length;for(A||(A=Or(Re));++ee<Re;)A[ee]=p[ee];return A}function Xo(p,A,ee,Re){var _t=!ee;ee||(ee={});for(var Gt=-1,vn=A.length;++Gt<vn;){var kn=A[Gt],ni=Re?Re(ee[kn],p[kn],kn,ee,p):Se;ni===Se&&(ni=p[kn]),_t?fr(ee,kn,ni):Xs(ee,kn,ni)}return ee}function mr(p,A){return function(ee,Re){var _t=Na(ee)?g:Mr,Gt=A?A():{};return _t(ee,p,Vo(Re,2),Gt)}}function $r(p){return je(function(A,ee){var Re=-1,_t=ee.length,Gt=_t>1?ee[_t-1]:Se,vn=_t>2?ee[2]:Se;for(Gt=p.length>3&&"function"==typeof Gt?(_t--,Gt):Se,vn&&Za(ee[0],ee[1],vn)&&(Gt=_t<3?Se:Gt,_t=1),A=y1(A);++Re<_t;){var kn=ee[Re];kn&&p(A,kn,Re,Gt)}return A})}function va(p,A){return function(ee,Re){if(null==ee)return ee;if(!Sl(ee))return p(ee,Re);for(var _t=ee.length,Gt=A?_t:-1,vn=y1(ee);(A?Gt--:++Gt<_t)&&!1!==Re(vn[Gt],Gt,vn););return ee}}function r1(p){return function(A,ee,Re){for(var _t=-1,Gt=y1(A),vn=Re(A),kn=vn.length;kn--;){var ni=vn[p?kn:++_t];if(!1===ee(Gt[ni],ni,Gt))break}return A}}function yt(p){return function(A){var ee=be(A=pa(A))?Lt(A):Se,Re=ee?ee[0]:A.charAt(0),_t=ee?$t(ee,1).join(""):A.slice(1);return Re[p]()+_t}}function it(p){return function(A){return L(Om(Zu(A).replace(Jo,"")),p,"")}}function we(p){return function(){var A=arguments;switch(A.length){case 0:return new p;case 1:return new p(A[0]);case 2:return new p(A[0],A[1]);case 3:return new p(A[0],A[1],A[2]);case 4:return new p(A[0],A[1],A[2],A[3]);case 5:return new p(A[0],A[1],A[2],A[3],A[4]);case 6:return new p(A[0],A[1],A[2],A[3],A[4],A[5]);case 7:return new p(A[0],A[1],A[2],A[3],A[4],A[5],A[6])}var ee=Yh(p.prototype),Re=p.apply(ee,A);return Zi(Re)?Re:ee}}function qt(p){return function(A,ee,Re){var _t=y1(A);if(!Sl(A)){var Gt=Vo(ee,3);A=$1(A),ee=function(kn){return Gt(_t[kn],kn,_t)}}var vn=p(A,ee,Re);return vn>-1?_t[Gt?A[vn]:vn]:Se}}function An(p){return ca(function(A){var ee=A.length,Re=ee,_t=vs.prototype.thru;for(p&&A.reverse();Re--;){var Gt=A[Re];if("function"!=typeof Gt)throw new il(Qe);if(_t&&!vn&&"wrapper"==zo(Gt))var vn=new vs([],!0)}for(Re=vn?Re:ee;++Re<ee;){var kn=zo(Gt=A[Re]),ni="wrapper"==kn?sl(Gt):Se;vn=ni&&Ou(ni[0])&&424==ni[1]&&!ni[4].length&&1==ni[9]?vn[zo(ni[0])].apply(vn,ni[3]):1==Gt.length&&Ou(Gt)?vn[kn]():vn.thru(Gt)}return function(){var ji=arguments,Wi=ji[0];if(vn&&1==ji.length&&Na(Wi))return vn.plant(Wi).value();for(var Qi=0,ys=ee?A[Qi].apply(this,ji):Wi;++Qi<ee;)ys=A[Qi].call(this,ys);return ys}})}function he(p,A,ee,Re,_t,Gt,vn,kn,ni,ji){var Qi=128&A,ys=1&A,qs=2&A,Ys=24&A,To=512&A,co=qs?Se:we(p);return function Wi(){for(var Ko=arguments.length,nr=Or(Ko),ol=Ko;ol--;)nr[ol]=arguments[ol];if(Ys)var rl=lr(Wi),Wc=function de(Wn,yi){for(var Ut=Wn.length,ss=0;Ut--;)Wn[Ut]===yi&&++ss;return ss}(nr,rl);if(Re&&(nr=Wo(nr,Re,_t,Ys)),Gt&&(nr=ro(nr,Gt,vn,Ys)),Ko-=Wc,Ys&&Ko<ji)return Ds(p,A,he,Wi.placeholder,ee,nr,Pe(nr,rl),kn,ni,ji-Ko);var ja=ys?ee:this,T1=qs?ja[p]:p;return Ko=nr.length,kn?nr=function $c(p,A){for(var ee=p.length,Re=Ir(A.length,ee),_t=Bo(p);Re--;){var Gt=A[Re];p[Re]=w0(Gt,ee)?_t[Gt]:Se}return p}(nr,kn):To&&Ko>1&&nr.reverse(),Qi&&ni<Ko&&(nr.length=ni),this&&this!==ga&&this instanceof Wi&&(T1=co||we(T1)),T1.apply(ja,nr)}}function xe(p,A){return function(ee,Re){return function X0(p,A,ee,Re){return S0(p,function(_t,Gt,vn){A(Re,ee(_t),Gt,vn)}),Re}(ee,p,A(Re),{})}}function Et(p,A){return function(ee,Re){var _t;if(ee===Se&&Re===Se)return A;if(ee!==Se&&(_t=ee),Re!==Se){if(_t===Se)return Re;"string"==typeof ee||"string"==typeof Re?(ee=Xr(ee),Re=Xr(Re)):(ee=Er(ee),Re=Er(Re)),_t=p(ee,Re)}return _t}}function Ft(p){return ca(function(A){return A=I(A,le(Vo())),je(function(ee){var Re=this;return p(A,function(_t){return a(_t,Re,ee)})})})}function Sn(p,A){var ee=(A=A===Se?" ":Xr(A)).length;if(ee<2)return ee?Vn(A,p):A;var Re=Vn(A,Md(p/Ct(A)));return be(A)?$t(Lt(Re),0,p).join(""):Re.slice(0,p)}function Yi(p){return function(A,ee,Re){return Re&&"number"!=typeof Re&&Za(A,ee,Re)&&(ee=Re=Se),A=F0(A),ee===Se?(ee=A,A=0):ee=F0(ee),function pn(p,A,ee,Re){for(var _t=-1,Gt=er(Md((A-p)/(ee||1)),0),vn=Or(Gt);Gt--;)vn[Re?Gt:++_t]=p,p+=ee;return vn}(A,ee,Re=Re===Se?A<ee?1:-1:F0(Re),p)}}function Bs(p){return function(A,ee){return"string"==typeof A&&"string"==typeof ee||(A=$0(A),ee=$0(ee)),p(A,ee)}}function Ds(p,A,ee,Re,_t,Gt,vn,kn,ni,ji){var Wi=8&A;A|=Wi?32:64,4&(A&=~(Wi?64:32))||(A&=-4);var To=[p,A,_t,Wi?Gt:Se,Wi?vn:Se,Wi?Se:Gt,Wi?Se:vn,kn,ni,ji],co=ee.apply(Se,To);return Ou(p)&&yf(co,To),co.placeholder=Re,eu(co,p,A)}function ho(p){var A=fo[p];return function(ee,Re){if(ee=$0(ee),(Re=null==Re?0:Ir(pr(Re),292))&&Uu(ee)){var _t=(pa(ee)+"e").split("e");return+((_t=(pa(A(_t[0]+"e"+(+_t[1]+Re)))+"e").split("e"))[0]+"e"+(+_t[1]-Re))}return A(ee)}}function Aa(p){return function(A){var ee=Tu(A);return ee==li?Oe(A):ee==Bn?function ze(Wn){var yi=-1,Ut=Array(Wn.size);return Wn.forEach(function(ss){Ut[++yi]=[ss,ss]}),Ut}(A):function ne(Wn,yi){return I(yi,function(Ut){return[Ut,Wn[Ut]]})}(A,p(A))}}function Ba(p,A,ee,Re,_t,Gt,vn,kn){var ni=2&A;if(!ni&&"function"!=typeof p)throw new il(Qe);var ji=Re?Re.length:0;if(ji||(A&=-97,Re=_t=Se),vn=vn===Se?vn:er(pr(vn),0),kn=kn===Se?kn:pr(kn),ji-=_t?_t.length:0,64&A){var Wi=Re,Qi=_t;Re=_t=Se}var ys=ni?Se:sl(p),qs=[p,A,ee,Re,_t,Wi,Qi,Gt,vn,kn];if(ys&&function Rc(p,A){var ee=p[1],Re=A[1],_t=ee|Re;if(!(_t<131)&&!(128==Re&&8==ee||128==Re&&256==ee&&p[7].length<=A[8]||384==Re&&A[7].length<=A[8]&&8==ee))return p;1&Re&&(p[2]=A[2],_t|=1&ee?0:4);var kn=A[3];if(kn){var ni=p[3];p[3]=ni?Wo(ni,kn,A[4]):kn,p[4]=ni?Pe(p[3],It):A[4]}(kn=A[5])&&(p[5]=(ni=p[5])?ro(ni,kn,A[6]):kn,p[6]=ni?Pe(p[5],It):A[6]),(kn=A[7])&&(p[7]=kn),128&Re&&(p[8]=null==p[8]?A[8]:Ir(p[8],A[8])),null==p[9]&&(p[9]=A[9]),p[0]=A[0],p[1]=_t}(qs,ys),p=qs[0],A=qs[1],ee=qs[2],Re=qs[3],_t=qs[4],!(kn=qs[9]=qs[9]===Se?ni?0:p.length:er(qs[9]-ji,0))&&24&A&&(A&=-25),A&&1!=A)Ys=8==A||16==A?function dt(p,A,ee){var _t=we(p);return function Re(){for(var Gt=arguments.length,vn=Or(Gt),kn=Gt,ni=lr(Re);kn--;)vn[kn]=arguments[kn];var ji=Gt<3&&vn[0]!==ni&&vn[Gt-1]!==ni?[]:Pe(vn,ni);return(Gt-=ji.length)<ee?Ds(p,A,he,Re.placeholder,Se,vn,ji,Se,Se,ee-Gt):a(this&&this!==ga&&this instanceof Re?_t:p,this,vn)}}(p,A,kn):32!=A&&33!=A||_t.length?he.apply(Se,qs):function _i(p,A,ee,Re){var Gt=1&A,vn=we(p);return function _t(){for(var kn=-1,ni=arguments.length,ji=-1,Wi=Re.length,Qi=Or(Wi+ni),ys=this&&this!==ga&&this instanceof _t?vn:p;++ji<Wi;)Qi[ji]=Re[ji];for(;ni--;)Qi[ji++]=arguments[++kn];return a(ys,Gt?ee:this,Qi)}}(p,A,ee,Re);else var Ys=function K0(p,A,ee){var _t=1&A,Gt=we(p);return function Re(){return(this&&this!==ga&&this instanceof Re?Gt:p).apply(_t?ee:this,arguments)}}(p,A,ee);return eu((ys?e_:yf)(Ys,qs),p,A)}function J0(p,A,ee,Re){return p===Se||nu(p,Oc[ee])&&!n0.call(Re,ee)?A:p}function U1(p,A,ee,Re,_t,Gt){return Zi(p)&&Zi(A)&&(Gt.set(A,p),l0(p,A,Se,U1,Gt),Gt.delete(A)),p}function gc(p){return da(p)?Se:p}function Vu(p,A,ee,Re,_t,Gt){var vn=1&ee,kn=p.length,ni=A.length;if(kn!=ni&&!(vn&&ni>kn))return!1;var ji=Gt.get(p),Wi=Gt.get(A);if(ji&&Wi)return ji==A&&Wi==p;var Qi=-1,ys=!0,qs=2&ee?new t1:Se;for(Gt.set(p,A),Gt.set(A,p);++Qi<kn;){var Ys=p[Qi],To=A[Qi];if(Re)var co=vn?Re(To,Ys,Qi,A,p,Gt):Re(Ys,To,Qi,p,A,Gt);if(co!==Se){if(co)continue;ys=!1;break}if(qs){if(!C(A,function(Ko,nr){if(!te(qs,nr)&&(Ys===Ko||_t(Ys,Ko,ee,Re,Gt)))return qs.push(nr)})){ys=!1;break}}else if(Ys!==To&&!_t(Ys,To,ee,Re,Gt)){ys=!1;break}}return Gt.delete(p),Gt.delete(A),ys}function ca(p){return np(ud(p,Se,Xu),p+"")}function Zs(p){return wl(p,$1,n_)}function Go(p){return wl(p,Eu,O_)}function zo(p){for(var A=p.name+"",ee=Sh[A],Re=n0.call(Sh,A)?ee.length:0;Re--;){var _t=ee[Re],Gt=_t.func;if(null==Gt||Gt==p)return _t.name}return A}function lr(p){return(n0.call(Ut,"placeholder")?Ut:p).placeholder}function Vo(){var p=Ut.iteratee||re;return p=p===re?P1:p,arguments.length?p(arguments[0],arguments[1]):p}function As(p,A){var ee=p.__data__;return function ml(p){var A=typeof p;return"string"==A||"number"==A||"symbol"==A||"boolean"==A?"__proto__"!==p:null===p}(A)?ee["string"==typeof A?"string":"hash"]:ee.map}function Kr(p){for(var A=$1(p),ee=A.length;ee--;){var Re=A[ee],_t=p[Re];A[ee]=[Re,_t,Lu(_t)]}return A}function Ns(p,A){var ee=function me(Wn,yi){return null==Wn?Se:Wn[yi]}(p,A);return qr(ee)?ee:Se}function ua(p,A,ee){for(var Re=-1,_t=(A=vt(A,p)).length,Gt=!1;++Re<_t;){var vn=I1(A[Re]);if(!(Gt=null!=p&&ee(p,vn)))break;p=p[vn]}return Gt||++Re!=_t?Gt:!!(_t=null==p?0:p.length)&&Xi(_t)&&w0(vn,_t)&&(Na(p)||Rd(p))}function O1(p){return"function"!=typeof p.constructor||vo(p)?{}:Yh(Ep(p))}function Qa(p){return Na(p)||Rd(p)||!!(Vf&&p&&p[Vf])}function w0(p,A){var ee=typeof p;return!!(A=A??Dn)&&("number"==ee||"symbol"!=ee&&Hr.test(p))&&p>-1&&p%1==0&&p<A}function Za(p,A,ee){if(!Zi(ee))return!1;var Re=typeof A;return!!("number"==Re?Sl(ee)&&w0(A,ee.length):"string"==Re&&A in ee)&&nu(ee[A],p)}function Fl(p,A){if(Na(p))return!1;var ee=typeof p;return!("number"!=ee&&"symbol"!=ee&&"boolean"!=ee&&null!=p&&!ia(p))||ao.test(p)||!rs.test(p)||null!=A&&p in y1(A)}function Ou(p){var A=zo(p),ee=Ut[A];if("function"!=typeof ee||!(A in Us.prototype))return!1;if(p===ee)return!0;var Re=sl(ee);return!!Re&&p===Re[0]}function vo(p){var A=p&&p.constructor;return p===("function"==typeof A&&A.prototype||Oc)}function Lu(p){return p==p&&!Zi(p)}function cd(p,A){return function(ee){return null!=ee&&ee[p]===A&&(A!==Se||p in y1(ee))}}function ud(p,A,ee){return A=er(A===Se?p.length-1:A,0),function(){for(var Re=arguments,_t=-1,Gt=er(Re.length-A,0),vn=Or(Gt);++_t<Gt;)vn[_t]=Re[A+_t];_t=-1;for(var kn=Or(A+1);++_t<A;)kn[_t]=Re[_t];return kn[A]=ee(vn),a(p,this,kn)}}function t0(p,A){return A.length<2?p:el(p,pi(A,0,-1))}function Hu(p,A){if(("constructor"!==A||"function"!=typeof p[A])&&"__proto__"!=A)return p[A]}function eu(p,A,ee){var Re=A+"";return np(p,function c0(p,A){var ee=A.length;if(!ee)return p;var Re=ee-1;return A[Re]=(ee>1?"& ":"")+A[Re],A=A.join(ee>2?", ":" "),p.replace(oa,"{\n/* [wrapped with "+A+"] */\n")}(Re,function wu(p,A){return m(pt,function(ee){var Re="_."+ee[0];A&ee[1]&&!E(p,Re)&&p.push(Re)}),p.sort()}(function Hs(p){var A=p.match(bi);return A?A[1].split(Po):[]}(Re),ee)))}function ic(p){var A=0,ee=0;return function(){var Re=Xm(),_t=16-(Re-ee);if(ee=Re,_t>0){if(++A>=800)return arguments[0]}else A=0;return p.apply(Se,arguments)}}function Q0(p,A){var ee=-1,Re=p.length,_t=Re-1;for(A=A===Se?Re:A;++ee<A;){var Gt=Nt(ee,_t),vn=p[Gt];p[Gt]=p[ee],p[ee]=vn}return p.length=A,p}function I1(p){if("string"==typeof p||ia(p))return p;var A=p+"";return"0"==A&&1/p==-ln?"-0":A}function uu(p){if(null!=p){try{return Tl.call(p)}catch{}try{return p+""}catch{}}return""}function Lc(p){if(p instanceof Us)return p.clone();var A=new vs(p.__wrapped__,p.__chain__);return A.__actions__=Bo(p.__actions__),A.__index__=p.__index__,A.__values__=p.__values__,A}function Nu(p,A,ee){var Re=null==p?0:p.length;if(!Re)return-1;var _t=null==ee?0:pr(ee);return _t<0&&(_t=er(Re+_t,0)),z(p,Vo(A,3),_t)}function Yu(p,A,ee){var Re=null==p?0:p.length;if(!Re)return-1;var _t=Re-1;return ee!==Se&&(_t=pr(ee),_t=ee<0?er(Re+_t,0):Ir(_t,Re-1)),z(p,Vo(A,3),_t,!0)}function Xu(p){return null!=p&&p.length?ii(p,1):[]}function Fu(p){return p&&p.length?p[0]:Se}function sc(p){var A=null==p?0:p.length;return A?p[A-1]:Se}function sh(p,A){return p&&p.length&&A&&A.length?wt(p,A):p}function du(p){return null==p?p:Km.call(p)}function Yd(p){if(!p||!p.length)return[];var A=0;return p=D(p,function(ee){if(q1(ee))return A=er(ee.length,A),!0}),ie(A,function(ee){return I(p,x(ee))})}function fu(p,A){if(!p||!p.length)return[];var ee=Yd(p);return null==A?ee:I(ee,function(Re){return a(A,Se,Re)})}function fp(p){var A=Ut(p);return A.__chain__=!0,A}function Td(p,A){return A(p)}function Kd(p,A){return(Na(p)?m:tp)(p,Vo(A,3))}function bp(p,A){return(Na(p)?T:Cm)(p,Vo(A,3))}function Au(p,A){return(Na(p)?I:o1)(p,Vo(A,3))}function kp(p,A,ee){return A=ee?Se:A,Ba(p,128,Se,Se,Se,Se,A=p&&null==A?p.length:A)}function Qd(p,A){var ee;if("function"!=typeof A)throw new il(Qe);return p=pr(p),function(){return--p>0&&(ee=A.apply(this,arguments)),p<=1&&(A=Se),ee}}function wc(p,A,ee){function Re(ja){var T1=ys,zc=qs;return ys=qs=Se,nr=ja,To=p.apply(zc,T1)}function vn(ja){var T1=ja-Ko;return Ko===Se||T1>=A||T1<0||rl&&ja-nr>=Ys}function kn(){var ja=Yl();return vn(ja)?ni(ja):(co=Is(kn,function Gt(ja){var ef=A-(ja-Ko);return rl?Ir(ef,Ys-(ja-nr)):ef}(ja)),Se)}function ni(ja){return co=Se,Wc&&ys?Re(ja):(ys=qs=Se,To)}function Qi(){var ja=Yl(),T1=vn(ja);if(ys=arguments,qs=this,Ko=ja,T1){if(co===Se)return function _t(ja){return nr=ja,co=Is(kn,A),ol?Re(ja):To}(Ko);if(rl)return td(co),co=Is(kn,A),Re(Ko)}return co===Se&&(co=Is(kn,A)),To}var ys,qs,Ys,To,co,Ko,nr=0,ol=!1,rl=!1,Wc=!0;if("function"!=typeof p)throw new il(Qe);return A=$0(A)||0,Zi(ee)&&(ol=!!ee.leading,Ys=(rl="maxWait"in ee)?er($0(ee.maxWait)||0,A):Ys,Wc="trailing"in ee?!!ee.trailing:Wc),Qi.cancel=function ji(){co!==Se&&td(co),nr=0,ys=Ko=qs=co=Se},Qi.flush=function Wi(){return co===Se?To:ni(Yl())},Qi}function ch(p,A){if("function"!=typeof p||null!=A&&"function"!=typeof A)throw new il(Qe);var ee=function(){var Re=arguments,_t=A?A.apply(this,Re):Re[0],Gt=ee.cache;if(Gt.has(_t))return Gt.get(_t);var vn=p.apply(this,Re);return ee.cache=Gt.set(_t,vn)||Gt,vn};return ee.cache=new(ch.Cache||Q1),ee}function kh(p){if("function"!=typeof p)throw new il(Qe);return function(){var A=arguments;switch(A.length){case 0:return!p.call(this);case 1:return!p.call(this,A[0]);case 2:return!p.call(this,A[0],A[1]);case 3:return!p.call(this,A[0],A[1],A[2])}return!p.apply(this,A)}}function nu(p,A){return p===A||p!=p&&A!=A}function Sl(p){return null!=p&&Xi(p.length)&&!$n(p)}function q1(p){return fs(p)&&Sl(p)}function tt(p){if(!fs(p))return!1;var A=Oa(p);return A==Hn||"[object DOMException]"==A||"string"==typeof p.message&&"string"==typeof p.name&&!da(p)}function $n(p){if(!Zi(p))return!1;var A=Oa(p);return A==Qn||A==ri||"[object AsyncFunction]"==A||"[object Proxy]"==A}function qi(p){return"number"==typeof p&&p==pr(p)}function Xi(p){return"number"==typeof p&&p>-1&&p%1==0&&p<=Dn}function Zi(p){var A=typeof p;return null!=p&&("object"==A||"function"==A)}function fs(p){return null!=p&&"object"==typeof p}function Ha(p){return"number"==typeof p||fs(p)&&Oa(p)==Fi}function da(p){if(!fs(p)||Oa(p)!=Hi)return!1;var A=Ep(p);if(null===A)return!0;var ee=n0.call(A,"constructor")&&A.constructor;return"function"==typeof ee&&ee instanceof ee&&Tl.call(ee)==vm}function Ca(p){return"string"==typeof p||!Na(p)&&fs(p)&&Oa(p)==mi}function ia(p){return"symbol"==typeof p||fs(p)&&Oa(p)==wi}function Ps(p){if(!p)return[];if(Sl(p))return Ca(p)?Lt(p):Bo(p);if(cc&&p[cc])return function Ae(Wn){for(var yi,Ut=[];!(yi=Wn.next()).done;)Ut.push(yi.value);return Ut}(p[cc]());var A=Tu(p);return(A==li?Oe:A==Bn?$e:Id)(p)}function F0(p){return p?(p=$0(p))===ln||p===-ln?17976931348623157e292*(p<0?-1:1):p==p?p:0:0===p?p:0}function pr(p){var A=F0(p),ee=A%1;return A==A?ee?A-ee:A:0}function g0(p){return p?Va(pr(p),0,Fs):0}function $0(p){if("number"==typeof p)return p;if(ia(p))return os;if(Zi(p)){var A="function"==typeof p.valueOf?p.valueOf():p;p=Zi(A)?A+"":A}if("string"!=typeof p)return 0===p?p:+p;p=Q(p);var ee=l1.test(p);return ee||so.test(p)?P0(p.slice(2),ee?2:8):za.test(p)?os:+p}function iu(p){return Xo(p,Eu(p))}function pa(p){return null==p?"":Xr(p)}function Kc(p,A,ee){var Re=null==p?Se:el(p,A);return Re===Se?ee:Re}function ac(p,A){return null!=p&&ua(p,A,Zn)}function $1(p){return Sl(p)?kt(p):xl(p)}function Eu(p){return Sl(p)?kt(p,!0):function mc(p){if(!Zi(p))return function a1(p){var A=[];if(null!=p)for(var ee in y1(p))A.push(ee);return A}(p);var A=vo(p),ee=[];for(var Re in p)("constructor"!=Re||!A&&n0.call(p,Re))&&ee.push(Re);return ee}(p)}function Os(p,A){if(null==p)return{};var ee=I(Go(p),function(Re){return[Re]});return A=Vo(A),Vl(p,ee,function(Re,_t){return A(Re,_t[0])})}function Id(p){return null==p?[]:pe(p,$1(p))}function su(p){return y_(pa(p).toLowerCase())}function Zu(p){return(p=pa(p))&&p.replace(vr,I0).replace(W1,"")}function Om(p,A,ee){return p=pa(p),(A=ee?Se:A)===Se?function Le(Wn){return h0.test(Wn)}(p)?function Ge(Wn){return Wn.match(_a)||[]}(p):function M(Wn){return Wn.match(Pn)||[]}(p):p.match(A)||[]}function f(p){return function(){return p}}function J(p){return p}function re(p){return P1("function"==typeof p?p:E0(p,1))}function Fe(p,A,ee){var Re=$1(A),_t=Z1(A,Re);null!=ee||Zi(A)&&(_t.length||!Re.length)||(ee=A,A=p,p=this,_t=Z1(A,$1(A)));var Gt=!(Zi(ee)&&"chain"in ee&&!ee.chain),vn=$n(p);return m(_t,function(kn){var ni=A[kn];p[kn]=ni,vn&&(p.prototype[kn]=function(){var ji=this.__chain__;if(Gt||ji){var Wi=p(this.__wrapped__);return(Wi.__actions__=Bo(this.__actions__)).push({func:ni,args:arguments,thisArg:p}),Wi.__chain__=ji,Wi}return ni.apply(p,b([this.value()],arguments))})}),p}function zt(){}function bn(p){return Fl(p)?x(I1(p)):function ot(p){return function(A){return el(A,p)}}(p)}function Zt(){return[]}function Mi(){return!1}var p,Or=(yi=null==yi?ga:b1.defaults(ga.Object(),yi,b1.pick(ga,z1))).Array,x1=yi.Date,Fc=yi.Error,Vr=yi.Function,fo=yi.Math,y1=yi.Object,Ec=yi.RegExp,nl=yi.String,il=yi.TypeError,Ya=Or.prototype,Oc=y1.prototype,kl=yi["__core-js_shared__"],Tl=Vr.prototype.toString,n0=Oc.hasOwnProperty,$h=0,Ym=(p=/[^.]+$/.exec(kl&&kl.keys&&kl.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"",ed=Oc.toString,vm=Tl.call(y1),Am=ga._,Hl=Ec("^"+Tl.call(n0).replace(zr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),p1=w1?yi.Buffer:Se,Su=yi.Symbol,Vh=yi.Uint8Array,ym=p1?p1.allocUnsafe:Se,Ep=Xe(y1.getPrototypeOf,y1),Sp=y1.create,vh=Oc.propertyIsEnumerable,Ah=Ya.splice,Vf=Su?Su.isConcatSpreadable:Se,cc=Su?Su.iterator:Se,ju=Su?Su.toStringTag:Se,Hh=function(){try{var p=Ns(y1,"defineProperty");return p({},"",{}),p}catch{}}(),Hf=yi.clearTimeout!==ga.clearTimeout&&yi.clearTimeout,ep=x1&&x1.now!==ga.Date.now&&x1.now,gu=yi.setTimeout!==ga.setTimeout&&yi.setTimeout,Md=fo.ceil,Of=fo.floor,yh=y1.getOwnPropertySymbols,og=p1?p1.isBuffer:Se,Uu=yi.isFinite,Em=Ya.join,vf=Xe(y1.keys,y1),er=fo.max,Ir=fo.min,Xm=x1.now,jo=yi.parseInt,Eh=fo.random,Km=Ya.reverse,E1=Ns(yi,"DataView"),Af=Ns(yi,"Map"),S1=Ns(yi,"Promise"),Tp=Ns(yi,"Set"),uc=Ns(yi,"WeakMap"),R1=Ns(y1,"create"),Yf=uc&&new uc,Sh={},Sm=uu(E1),Jm=uu(Af),Od=uu(S1),Qm=uu(Tp),Tm=uu(uc),Th=Su?Su.prototype:Se,Cp=Th?Th.valueOf:Se,Cr=Th?Th.toString:Se,Yh=function(){function p(){}return function(A){if(!Zi(A))return{};if(Sp)return Sp(A);p.prototype=A;var ee=new p;return p.prototype=Se,ee}}();Ut.templateSettings={escape:zs,evaluate:Gi,interpolate:ds,variable:"",imports:{_:Ut}},(Ut.prototype=ss.prototype).constructor=Ut,(vs.prototype=Yh(ss.prototype)).constructor=vs,(Us.prototype=Yh(ss.prototype)).constructor=Us,R0.prototype.clear=function $a(){this.__data__=R1?R1(null):{},this.size=0},R0.prototype.delete=function Ra(p){var A=this.has(p)&&delete this.__data__[p];return this.size-=A?1:0,A},R0.prototype.get=function o0(p){var A=this.__data__;if(R1){var ee=A[p];return ee===ft?Se:ee}return n0.call(A,p)?A[p]:Se},R0.prototype.has=function pl(p){var A=this.__data__;return R1?A[p]!==Se:n0.call(A,p)},R0.prototype.set=function B0(p,A){var ee=this.__data__;return this.size+=this.has(p)?0:1,ee[p]=R1&&A===Se?ft:A,this},M1.prototype.clear=function Gr(){this.__data__=[],this.size=0},M1.prototype.delete=function xo(p){var A=this.__data__,ee=jr(A,p);return!(ee<0||(ee==A.length-1?A.pop():Ah.call(A,ee,1),--this.size,0))},M1.prototype.get=function rr(p){var A=this.__data__,ee=jr(A,p);return ee<0?Se:A[ee][1]},M1.prototype.has=function aa(p){return jr(this.__data__,p)>-1},M1.prototype.set=function B1(p,A){var ee=this.__data__,Re=jr(ee,p);return Re<0?(++this.size,ee.push([p,A])):ee[Re][1]=A,this},Q1.prototype.clear=function br(){this.size=0,this.__data__={hash:new R0,map:new(Af||M1),string:new R0}},Q1.prototype.delete=function Rl(p){var A=As(this,p).delete(p);return this.size-=A?1:0,A},Q1.prototype.get=function hl(p){return As(this,p).get(p)},Q1.prototype.has=function hr(p){return As(this,p).has(p)},Q1.prototype.set=function Ul(p,A){var ee=As(this,p),Re=ee.size;return ee.set(p,A),this.size+=ee.size==Re?0:1,this},t1.prototype.add=t1.prototype.push=function L0(p){return this.__data__.set(p,ft),this},t1.prototype.has=function Ll(p){return this.__data__.has(p)},k0.prototype.clear=function Gl(){this.__data__=new M1,this.size=0},k0.prototype.delete=function fl(p){var A=this.__data__,ee=A.delete(p);return this.size=A.size,ee},k0.prototype.get=function N1(p){return this.__data__.get(p)},k0.prototype.has=function bt(p){return this.__data__.has(p)},k0.prototype.set=function Ln(p,A){var ee=this.__data__;if(ee instanceof M1){var Re=ee.__data__;if(!Af||Re.length<199)return Re.push([p,A]),this.size=++ee.size,this;ee=this.__data__=new Q1(Re)}return ee.set(p,A),this.size=ee.size,this};var tp=va(S0),Cm=va(ql,!0),Xf=r1(),Zm=r1(!0),e_=Yf?function(p,A){return Yf.set(p,A),p}:J,t_=Hh?function(p,A){return Hh(p,"toString",{configurable:!0,enumerable:!1,value:f(A),writable:!0})}:J,Jc=je,td=Hf||function(p){return ga.clearTimeout(p)},M_=Tp&&1/$e(new Tp([,-0]))[1]==ln?function(p){return new Tp(p)}:zt,sl=Yf?function(p){return Yf.get(p)}:zt,n_=yh?function(p){return null==p?[]:(p=y1(p),D(yh(p),function(A){return vh.call(p,A)}))}:Zt,O_=yh?function(p){for(var A=[];p;)b(A,n_(p)),p=Ep(p);return A}:Zt,Tu=Oa;(E1&&Tu(new E1(new ArrayBuffer(1)))!=Bt||Af&&Tu(new Af)!=li||S1&&Tu(S1.resolve())!=gn||Tp&&Tu(new Tp)!=Bn||uc&&Tu(new uc)!=Cn)&&(Tu=function(p){var A=Oa(p),ee=A==Hi?p.constructor:Se,Re=ee?uu(ee):"";if(Re)switch(Re){case Sm:return Bt;case Jm:return li;case Od:return gn;case Qm:return Bn;case Tm:return Cn}return A});var nd=kl?$n:Mi,yf=ic(e_),Is=gu||function(p,A){return ga.setTimeout(p,A)},np=ic(t_),Kf=function tl(p){var A=ch(p,function(Re){return 500===ee.size&&ee.clear(),Re}),ee=A.cache;return A}(function(p){var A=[];return 46===p.charCodeAt(0)&&A.push(""),p.replace(wo,function(ee,Re,_t,Gt){A.push(_t?Gt.replace(fi,"$1"):Re||ee)}),A}),Jf=je(function(p,A){return q1(p)?Ja(p,ii(A,1,q1,!0)):[]}),$p=je(function(p,A){var ee=sc(A);return q1(ee)&&(ee=Se),q1(p)?Ja(p,ii(A,1,q1,!0),Vo(ee,2)):[]}),ou=je(function(p,A){var ee=sc(A);return q1(ee)&&(ee=Se),q1(p)?Ja(p,ii(A,1,q1,!0),Se,ee):[]}),v_=je(function(p){var A=I(p,lt);return A.length&&A[0]===p[0]?$l(A):[]}),Sc=je(function(p){var A=sc(p),ee=I(p,lt);return A===sc(ee)?A=Se:ee.pop(),ee.length&&ee[0]===p[0]?$l(ee,Vo(A,2)):[]}),N_=je(function(p){var A=sc(p),ee=I(p,lt);return(A="function"==typeof A?A:Se)&&ee.pop(),ee.length&&ee[0]===p[0]?$l(ee,Se,A):[]}),vc=je(sh),b0=ca(function(p,A){var ee=null==p?0:p.length,Re=Fo(p,A);return ct(p,I(A,function(_t){return w0(_t,ee)?+_t:_t}).sort(ts)),Re}),Xh=je(function(p){return C0(ii(p,1,q1,!0))}),rg=je(function(p){var A=sc(p);return q1(A)&&(A=Se),C0(ii(p,1,q1,!0),Vo(A,2))}),zm=je(function(p){var A=sc(p);return A="function"==typeof A?A:Se,C0(ii(p,1,q1,!0),Se,A)}),vd=je(function(p,A){return q1(p)?Ja(p,A):[]}),Gu=je(function(p){return Te(D(p,q1))}),Kh=je(function(p){var A=sc(p);return q1(A)&&(A=Se),Te(D(p,q1),Vo(A,2))}),Vp=je(function(p){var A=sc(p);return A="function"==typeof A?A:Se,Te(D(p,q1),Se,A)}),Qf=je(Yd),Jh=je(function(p){var A=p.length,ee=A>1?p[A-1]:Se;return ee="function"==typeof ee?(p.pop(),ee):Se,fu(p,ee)}),M0=ca(function(p){var A=p.length,ee=A?p[0]:0,Re=this.__wrapped__,_t=function(Gt){return Fo(Gt,p)};return!(A>1||this.__actions__.length)&&Re instanceof Us&&w0(ee)?((Re=Re.slice(ee,+ee+(A?1:0))).__actions__.push({func:Td,args:[_t],thisArg:Se}),new vs(Re,this.__chain__).thru(function(Gt){return A&&!Gt.length&&Gt.push(Se),Gt})):this.thru(_t)}),ha=mr(function(p,A,ee){n0.call(p,ee)?++p[ee]:fr(p,ee,1)}),Ef=qt(Nu),Tc=qt(Yu),V0=mr(function(p,A,ee){n0.call(p,ee)?p[ee].push(A):fr(p,ee,[A])}),Zf=je(function(p,A,ee){var Re=-1,_t="function"==typeof A,Gt=Sl(p)?Or(p.length):[];return tp(p,function(vn){Gt[++Re]=_t?a(A,vn,ee):dr(vn,A,ee)}),Gt}),i_=mr(function(p,A,ee){fr(p,ee,A)}),A_=mr(function(p,A,ee){p[ee?0:1].push(A)},function(){return[[],[]]}),Do=je(function(p,A){if(null==p)return[];var ee=A.length;return ee>1&&Za(p,A[0],A[1])?A=[]:ee>2&&Za(A[0],A[1],A[2])&&(A=[A[0]]),T0(p,ii(A,1),[])}),Yl=ep||function(){return ga.Date.now()},Qh=je(function(p,A,ee){var Re=1;if(ee.length){var _t=Pe(ee,lr(Qh));Re|=32}return Ba(p,Re,A,ee,_t)}),em=je(function(p,A,ee){var Re=3;if(ee.length){var _t=Pe(ee,lr(em));Re|=32}return Ba(A,Re,p,ee,_t)}),tm=je(function(p,A){return ta(p,1,A)}),x_=je(function(p,A,ee){return ta(p,$0(A)||0,ee)});ch.Cache=Q1;var s_=Jc(function(p,A){var ee=(A=1==A.length&&Na(A[0])?I(A[0],le(Vo())):I(ii(A,1),le(Vo()))).length;return je(function(Re){for(var _t=-1,Gt=Ir(Re.length,ee);++_t<Gt;)Re[_t]=A[_t].call(this,Re[_t]);return a(p,this,Re)})}),nm=je(function(p,A){return Ba(p,32,Se,A,Pe(A,lr(nm)))}),Dm=je(function(p,A){return Ba(p,64,Se,A,Pe(A,lr(Dm)))}),dc=ca(function(p,A){return Ba(p,256,Se,Se,Se,A)}),wa=Bs(j0),im=Bs(function(p,A){return p>=A}),Rd=Nl(function(){return arguments}())?Nl:function(p){return fs(p)&&n0.call(p,"callee")&&!vh.call(p,"callee")},Na=Or.isArray,ag=e1?le(e1):function u1(p){return fs(p)&&Oa(p)==Mt},Hp=og||Mi,Sf=jl?le(jl):function Fr(p){return fs(p)&&Oa(p)==$i},o_=Zl?le(Zl):function Uc(p){return fs(p)&&Tu(p)==li},Tf=ba?le(ba):function tc(p){return fs(p)&&Oa(p)==hn},sm=qa?le(qa):function D1(p){return fs(p)&&Tu(p)==Bn},Yp=Pr?le(Pr):function Gc(p){return fs(p)&&Xi(p.length)&&!!tn[Oa(p)]},om=Bs(nc),qu=Bs(function(p,A){return p<=A}),zp=$r(function(p,A){if(vo(A)||Sl(A))return Xo(A,$1(A),p),Se;for(var ee in A)n0.call(A,ee)&&Xs(p,ee,A[ee])}),ip=$r(function(p,A){Xo(A,Eu(A),p)}),H0=$r(function(p,A,ee,Re){Xo(A,Eu(A),p,Re)}),Xl=$r(function(p,A,ee,Re){Xo(A,$1(A),p,Re)}),sp=ca(Fo),Ch=je(function(p,A){p=y1(p);var ee=-1,Re=A.length,_t=Re>2?A[2]:Se;for(_t&&Za(A[0],A[1],_t)&&(Re=1);++ee<Re;)for(var Gt=A[ee],vn=Eu(Gt),kn=-1,ni=vn.length;++kn<ni;){var ji=vn[kn],Wi=p[ji];(Wi===Se||nu(Wi,Oc[ji])&&!n0.call(p,ji))&&(p[ji]=Gt[ji])}return p}),Cf=je(function(p){return p.push(Se,U1),a(Xp,Se,p)}),Pm=xe(function(p,A,ee){null!=A&&"function"!=typeof A.toString&&(A=ed.call(A)),p[A]=ee},f(J)),zh=xe(function(p,A,ee){null!=A&&"function"!=typeof A.toString&&(A=ed.call(A)),n0.call(p,A)?p[A].push(ee):p[A]=[ee]},Vo),rm=je(dr),zf=$r(function(p,A,ee){l0(p,A,ee)}),Xp=$r(function(p,A,ee,Re){l0(p,A,ee,Re)}),am=ca(function(p,A){var ee={};if(null==p)return ee;var Re=!1;A=I(A,function(Gt){return Gt=vt(Gt,p),Re||(Re=Gt.length>1),Gt}),Xo(p,Go(p),ee),Re&&(ee=E0(ee,7,gc));for(var _t=A.length;_t--;)S(ee,A[_t]);return ee}),op=ca(function(p,A){return null==p?{}:function Js(p,A){return Vl(p,A,function(ee,Re){return ac(p,Re)})}(p,A)}),lm=Aa($1),Zh=Aa(Eu),r_=it(function(p,A,ee){return A=A.toLowerCase(),p+(ee?su(A):A)}),rp=it(function(p,A,ee){return p+(ee?"-":"")+A.toLowerCase()}),cm=it(function(p,A,ee){return p+(ee?" ":"")+A.toLowerCase()}),gl=yt("toLowerCase"),Im=it(function(p,A,ee){return p+(ee?"_":"")+A.toLowerCase()}),F_=it(function(p,A,ee){return p+(ee?" ":"")+y_(A)}),Df=it(function(p,A,ee){return p+(ee?" ":"")+A.toUpperCase()}),y_=yt("toUpperCase"),W_=je(function(p,A){try{return a(p,Se,A)}catch(ee){return tt(ee)?ee:new Fc(ee)}}),B_=ca(function(p,A){return m(A,function(ee){ee=I1(ee),fr(p,ee,Qh(p[ee],p))}),p}),k_=An(),j_=An(!0),Dh=je(function(p,A){return function(ee){return dr(ee,p,A)}}),Pf=je(function(p,A){return function(ee){return dr(p,ee,A)}}),If=Ft(I),Rm=Ft(O),Lm=Ft(C),a_=Yi(),Qr=Yi(!0),E_=Et(function(p,A){return p+A},0),Cc=ho("ceil"),Cu=Et(function(p,A){return p/A},1),U_=ho("floor"),l_=Et(function(p,A){return p*A},1),S_=ho("round"),wm=Et(function(p,A){return p-A},0);return Ut.after=function q0(p,A){if("function"!=typeof A)throw new il(Qe);return p=pr(p),function(){if(--p<1)return A.apply(this,arguments)}},Ut.ary=kp,Ut.assign=zp,Ut.assignIn=ip,Ut.assignInWith=H0,Ut.assignWith=Xl,Ut.at=sp,Ut.before=Qd,Ut.bind=Qh,Ut.bindAll=B_,Ut.bindKey=em,Ut.castArray=function yu(){if(!arguments.length)return[];var p=arguments[0];return Na(p)?p:[p]},Ut.chain=fp,Ut.chunk=function G1(p,A,ee){A=(ee?Za(p,A,ee):A===Se)?1:er(pr(A),0);var Re=null==p?0:p.length;if(!Re||A<1)return[];for(var _t=0,Gt=0,vn=Or(Md(Re/A));_t<Re;)vn[Gt++]=pi(p,_t,_t+=A);return vn},Ut.compact=function Uf(p){for(var A=-1,ee=null==p?0:p.length,Re=0,_t=[];++A<ee;){var Gt=p[A];Gt&&(_t[Re++]=Gt)}return _t},Ut.concat=function vu(){var p=arguments.length;if(!p)return[];for(var A=Or(p-1),ee=arguments[0],Re=p;Re--;)A[Re-1]=arguments[Re];return b(Na(ee)?Bo(ee):[ee],ii(A,1))},Ut.cond=function qe(p){var A=null==p?0:p.length,ee=Vo();return p=A?I(p,function(Re){if("function"!=typeof Re[1])throw new il(Qe);return[ee(Re[0]),Re[1]]}):[],je(function(Re){for(var _t=-1;++_t<A;){var Gt=p[_t];if(a(Gt[0],this,Re))return a(Gt[1],this,Re)}})},Ut.conforms=function d(p){return function k1(p){var A=$1(p);return function(ee){return n1(ee,p,A)}}(E0(p,1))},Ut.constant=f,Ut.countBy=ha,Ut.create=function Yc(p,A){var ee=Yh(p);return null==A?ee:Ma(ee,A)},Ut.curry=function d1(p,A,ee){var Re=Ba(p,8,Se,Se,Se,Se,Se,A=ee?Se:A);return Re.placeholder=d1.placeholder,Re},Ut.curryRight=function Mp(p,A,ee){var Re=Ba(p,16,Se,Se,Se,Se,Se,A=ee?Se:A);return Re.placeholder=Mp.placeholder,Re},Ut.debounce=wc,Ut.defaults=Ch,Ut.defaultsDeep=Cf,Ut.defer=tm,Ut.delay=x_,Ut.difference=Jf,Ut.differenceBy=$p,Ut.differenceWith=ou,Ut.drop=function nh(p,A,ee){var Re=null==p?0:p.length;return Re?pi(p,(A=ee||A===Se?1:pr(A))<0?0:A,Re):[]},Ut.dropRight=function Vd(p,A,ee){var Re=null==p?0:p.length;return Re?pi(p,0,(A=Re-(A=ee||A===Se?1:pr(A)))<0?0:A):[]},Ut.dropRightWhile=function Fh(p,A){return p&&p.length?se(p,Vo(A,3),!0,!0):[]},Ut.dropWhile=function dd(p,A){return p&&p.length?se(p,Vo(A,3),!0):[]},Ut.fill=function ih(p,A,ee,Re){var _t=null==p?0:p.length;return _t?(ee&&"number"!=typeof ee&&Za(p,A,ee)&&(ee=0,Re=_t),function c1(p,A,ee,Re){var _t=p.length;for((ee=pr(ee))<0&&(ee=-ee>_t?0:_t+ee),(Re=Re===Se||Re>_t?_t:pr(Re))<0&&(Re+=_t),Re=ee>Re?0:g0(Re);ee<Re;)p[ee++]=A;return p}(p,A,ee,Re)):[]},Ut.filter=function ah(p,A){return(Na(p)?D:j1)(p,Vo(A,3))},Ut.flatMap=function gp(p,A){return ii(Au(p,A),1)},Ut.flatMapDeep=function Vi(p,A){return ii(Au(p,A),ln)},Ut.flatMapDepth=function gm(p,A,ee){return ee=ee===Se?1:pr(ee),ii(Au(p,A),ee)},Ut.flatten=Xu,Ut.flattenDeep=function _m(p){return null!=p&&p.length?ii(p,ln):[]},Ut.flattenDepth=function xu(p,A){return null!=p&&p.length?ii(p,A=A===Se?1:pr(A)):[]},Ut.flip=function zd(p){return Ba(p,512)},Ut.flow=k_,Ut.flowRight=j_,Ut.fromPairs=function pd(p){for(var A=-1,ee=null==p?0:p.length,Re={};++A<ee;){var _t=p[A];Re[_t[0]]=_t[1]}return Re},Ut.functions=function Qu(p){return null==p?[]:Z1(p,$1(p))},Ut.functionsIn=function Bu(p){return null==p?[]:Z1(p,Eu(p))},Ut.groupBy=V0,Ut.initial=function tu(p){return null!=p&&p.length?pi(p,0,-1):[]},Ut.intersection=v_,Ut.intersectionBy=Sc,Ut.intersectionWith=N_,Ut.invert=Pm,Ut.invertBy=zh,Ut.invokeMap=Zf,Ut.iteratee=re,Ut.keyBy=i_,Ut.keys=$1,Ut.keysIn=Eu,Ut.map=Au,Ut.mapKeys=function Up(p,A){var ee={};return A=Vo(A,3),S0(p,function(Re,_t,Gt){fr(ee,A(Re,_t,Gt),Re)}),ee},Ut.mapValues=function Pd(p,A){var ee={};return A=Vo(A,3),S0(p,function(Re,_t,Gt){fr(ee,_t,A(Re,_t,Gt))}),ee},Ut.matches=function ve(p){return yl(E0(p,1))},Ut.matchesProperty=function Ie(p,A){return _c(p,E0(A,1))},Ut.memoize=ch,Ut.merge=zf,Ut.mergeWith=Xp,Ut.method=Dh,Ut.methodOf=Pf,Ut.mixin=Fe,Ut.negate=kh,Ut.nthArg=function Ht(p){return p=pr(p),je(function(A){return cu(A,p)})},Ut.omit=am,Ut.omitBy=function Bl(p,A){return Os(p,kh(Vo(A)))},Ut.once=function jh(p){return Qd(2,p)},Ut.orderBy=function fd(p,A,ee,Re){return null==p?[]:(Na(A)||(A=null==A?[]:[A]),Na(ee=Re?Se:ee)||(ee=null==ee?[]:[ee]),T0(p,A,ee))},Ut.over=If,Ut.overArgs=s_,Ut.overEvery=Rm,Ut.overSome=Lm,Ut.partial=nm,Ut.partialRight=Dm,Ut.partition=A_,Ut.pick=op,Ut.pickBy=Os,Ut.property=bn,Ut.propertyOf=function xn(p){return function(A){return null==p?Se:el(p,A)}},Ut.pull=vc,Ut.pullAll=sh,Ut.pullAllBy=function Fp(p,A,ee){return p&&p.length&&A&&A.length?wt(p,A,Vo(ee,2)):p},Ut.pullAllWith=function Sd(p,A,ee){return p&&p.length&&A&&A.length?wt(p,A,Se,ee):p},Ut.pullAt=b0,Ut.range=a_,Ut.rangeRight=Qr,Ut.rearg=dc,Ut.reject=function Wh(p,A){return(Na(p)?D:j1)(p,kh(Vo(A,3)))},Ut.remove=function dp(p,A){var ee=[];if(!p||!p.length)return ee;var Re=-1,_t=[],Gt=p.length;for(A=Vo(A,3);++Re<Gt;){var vn=p[Re];A(vn,Re,p)&&(ee.push(vn),_t.push(Re))}return ct(p,_t),ee},Ut.rest=function mu(p,A){if("function"!=typeof p)throw new il(Qe);return je(p,A=A===Se?A:pr(A))},Ut.reverse=du,Ut.sampleSize=function ws(p,A,ee){return A=(ee?Za(p,A,ee):A===Se)?1:pr(A),(Na(p)?si:De)(p,A)},Ut.set=function fh(p,A,ee){return null==p?p:Pt(p,A,ee)},Ut.setWith=function Gp(p,A,ee,Re){return Re="function"==typeof Re?Re:Se,null==p?p:Pt(p,A,ee,Re)},Ut.shuffle=function La(p){return(Na(p)?is:mt)(p)},Ut.slice=function pu(p,A,ee){var Re=null==p?0:p.length;return Re?(ee&&"number"!=typeof ee&&Za(p,A,ee)?(A=0,ee=Re):(A=null==A?0:pr(A),ee=ee===Se?Re:pr(ee)),pi(p,A,ee)):[]},Ut.sortBy=Do,Ut.sortedUniq=function yc(p){return p&&p.length?to(p):[]},Ut.sortedUniqBy=function oh(p,A){return p&&p.length?to(p,Vo(A,2)):[]},Ut.split=function Zo(p,A,ee){return ee&&"number"!=typeof ee&&Za(p,A,ee)&&(A=ee=Se),(ee=ee===Se?Fs:ee>>>0)?(p=pa(p))&&("string"==typeof A||null!=A&&!Tf(A))&&!(A=Xr(A))&&be(p)?$t(Lt(p),0,ee):p.split(A,ee):[]},Ut.spread=function bf(p,A){if("function"!=typeof p)throw new il(Qe);return A=null==A?0:er(pr(A),0),je(function(ee){var Re=ee[A],_t=$t(ee,0,A);return Re&&b(_t,Re),a(p,this,_t)})},Ut.tail=function _o(p){var A=null==p?0:p.length;return A?pi(p,1,A):[]},Ut.take=function G0(p,A,ee){return p&&p.length?pi(p,0,(A=ee||A===Se?1:pr(A))<0?0:A):[]},Ut.takeRight=function m0(p,A,ee){var Re=null==p?0:p.length;return Re?pi(p,(A=Re-(A=ee||A===Se?1:pr(A)))<0?0:A,Re):[]},Ut.takeRightWhile=function N0(p,A){return p&&p.length?se(p,Vo(A,3),!1,!0):[]},Ut.takeWhile=function Br(p,A){return p&&p.length?se(p,Vo(A,3)):[]},Ut.tap=function rh(p,A){return A(p),p},Ut.throttle=function Nc(p,A,ee){var Re=!0,_t=!0;if("function"!=typeof p)throw new il(Qe);return Zi(ee)&&(Re="leading"in ee?!!ee.leading:Re,_t="trailing"in ee?!!ee.trailing:_t),wc(p,A,{leading:Re,maxWait:A,trailing:_t})},Ut.thru=Td,Ut.toArray=Ps,Ut.toPairs=lm,Ut.toPairsIn=Zh,Ut.toPath=function Es(p){return Na(p)?I(p,I1):ia(p)?[p]:Bo(Kf(pa(p)))},Ut.toPlainObject=iu,Ut.transform=function $f(p,A,ee){var Re=Na(p),_t=Re||Hp(p)||Yp(p);if(A=Vo(A,4),null==ee){var Gt=p&&p.constructor;ee=_t?Re?new Gt:[]:Zi(p)&&$n(Gt)?Yh(Ep(p)):{}}return(_t?m:S0)(p,function(vn,kn,ni){return A(ee,vn,kn,ni)}),ee},Ut.unary=function El(p){return kp(p,1)},Ut.union=Xh,Ut.unionBy=rg,Ut.unionWith=zm,Ut.uniq=function Hc(p){return p&&p.length?C0(p):[]},Ut.uniqBy=function oc(p,A){return p&&p.length?C0(p,Vo(A,2)):[]},Ut.uniqWith=function _0(p,A){return A="function"==typeof A?A:Se,p&&p.length?C0(p,Se,A):[]},Ut.unset=function _d(p,A){return null==p||S(p,A)},Ut.unzip=Yd,Ut.unzipWith=fu,Ut.update=function gd(p,A,ee){return null==p?p:G(p,A,xt(ee))},Ut.updateWith=function mh(p,A,ee,Re){return Re="function"==typeof Re?Re:Se,null==p?p:G(p,A,xt(ee),Re)},Ut.values=Id,Ut.valuesIn=function _h(p){return null==p?[]:pe(p,Eu(p))},Ut.without=vd,Ut.words=Om,Ut.wrap=function Z0(p,A){return nm(xt(A),p)},Ut.xor=Gu,Ut.xorBy=Kh,Ut.xorWith=Vp,Ut.zip=Qf,Ut.zipObject=function Wp(p,A){return Ke(p||[],A||[],Xs)},Ut.zipObjectDeep=function na(p,A){return Ke(p||[],A||[],Pt)},Ut.zipWith=Jh,Ut.entries=lm,Ut.entriesIn=Zh,Ut.extend=ip,Ut.extendWith=H0,Fe(Ut,Ut),Ut.add=E_,Ut.attempt=W_,Ut.camelCase=r_,Ut.capitalize=su,Ut.ceil=Cc,Ut.clamp=function bd(p,A,ee){return ee===Se&&(ee=A,A=Se),ee!==Se&&(ee=(ee=$0(ee))==ee?ee:0),A!==Se&&(A=(A=$0(A))==A?A:0),Va($0(p),A,ee)},Ut.clone=function md(p){return E0(p,4)},Ut.cloneDeep=function dh(p){return E0(p,5)},Ut.cloneDeepWith=function io(p,A){return E0(p,5,A="function"==typeof A?A:Se)},Ut.cloneWith=function uh(p,A){return E0(p,4,A="function"==typeof A?A:Se)},Ut.conformsTo=function jp(p,A){return null==A||n1(p,A,$1(A))},Ut.deburr=Zu,Ut.defaultTo=function R(p,A){return null==p||p!=p?A:p},Ut.divide=Cu,Ut.endsWith=function bm(p,A,ee){p=pa(p),A=Xr(A);var Re=p.length,_t=ee=ee===Se?Re:Va(pr(ee),0,Re);return(ee-=A.length)>=0&&p.slice(ee,_t)==A},Ut.eq=nu,Ut.escape=function ku(p){return(p=pa(p))&&es.test(p)?p.replace(_s,Il):p},Ut.escapeRegExp=function gh(p){return(p=pa(p))&&Ea.test(p)?p.replace(zr,"\\$&"):p},Ut.every=function Cd(p,A,ee){var Re=Na(p)?O:ir;return ee&&Za(p,A,ee)&&(A=Se),Re(p,Vo(A,3))},Ut.find=Ef,Ut.findIndex=Nu,Ut.findKey=function ph(p,A){return q(p,Vo(A,3),S0)},Ut.findLast=Tc,Ut.findLastIndex=Yu,Ut.findLastKey=function Xc(p,A){return q(p,Vo(A,3),ql)},Ut.floor=U_,Ut.forEach=Kd,Ut.forEachRight=bp,Ut.forIn=function Op(p,A){return null==p?p:Xf(p,Vo(A,3),Eu)},Ut.forInRight=function hh(p,A){return null==p?p:Zm(p,Vo(A,3),Eu)},Ut.forOwn=function _u(p,A){return p&&S0(p,Vo(A,3))},Ut.forOwnRight=function Dd(p,A){return p&&ql(p,Vo(A,3))},Ut.get=Kc,Ut.gt=wa,Ut.gte=im,Ut.has=function Uh(p,A){return null!=p&&ua(p,A,ec)},Ut.hasIn=ac,Ut.head=Fu,Ut.identity=J,Ut.includes=function lh(p,A,ee,Re){p=Sl(p)?p:Id(p),ee=ee&&!Re?pr(ee):0;var _t=p.length;return ee<0&&(ee=er(_t+ee,0)),Ca(p)?ee<=_t&&p.indexOf(A,ee)>-1:!!_t&&F(p,A,ee)>-1},Ut.indexOf=function Vc(p,A,ee){var Re=null==p?0:p.length;if(!Re)return-1;var _t=null==ee?0:pr(ee);return _t<0&&(_t=er(Re+_t,0)),F(p,A,_t)},Ut.inRange=function qp(p,A,ee){return A=F0(A),ee===Se?(ee=A,A=0):ee=F0(ee),function s1(p,A,ee){return p>=Ir(A,ee)&&p<er(A,ee)}(p=$0(p),A,ee)},Ut.invoke=rm,Ut.isArguments=Rd,Ut.isArray=Na,Ut.isArrayBuffer=ag,Ut.isArrayLike=Sl,Ut.isArrayLikeObject=q1,Ut.isBoolean=function Wu(p){return!0===p||!1===p||fs(p)&&Oa(p)==ui},Ut.isBuffer=Hp,Ut.isDate=Sf,Ut.isElement=function _e(p){return fs(p)&&1===p.nodeType&&!da(p)},Ut.isEmpty=function At(p){if(null==p)return!0;if(Sl(p)&&(Na(p)||"string"==typeof p||"function"==typeof p.splice||Hp(p)||Yp(p)||Rd(p)))return!p.length;var A=Tu(p);if(A==li||A==Bn)return!p.size;if(vo(p))return!xl(p).length;for(var ee in p)if(n0.call(p,ee))return!1;return!0},Ut.isEqual=function oe(p,A){return a0(p,A)},Ut.isEqualWith=function Ee(p,A,ee){var Re=(ee="function"==typeof ee?ee:Se)?ee(p,A):Se;return Re===Se?a0(p,A,Se,ee):!!Re},Ut.isError=tt,Ut.isFinite=function mn(p){return"number"==typeof p&&Uu(p)},Ut.isFunction=$n,Ut.isInteger=qi,Ut.isLength=Xi,Ut.isMap=o_,Ut.isMatch=function eo(p,A){return p===A||f0(p,A,Kr(A))},Ut.isMatchWith=function po(p,A,ee){return ee="function"==typeof ee?ee:Se,f0(p,A,Kr(A),ee)},Ut.isNaN=function Lo(p){return Ha(p)&&p!=+p},Ut.isNative=function ya(p){if(nd(p))throw new Fc("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return qr(p)},Ut.isNil=function ka(p){return null==p},Ut.isNull=function Sr(p){return null===p},Ut.isNumber=Ha,Ut.isObject=Zi,Ut.isObjectLike=fs,Ut.isPlainObject=da,Ut.isRegExp=Tf,Ut.isSafeInteger=function u0(p){return qi(p)&&p>=-Dn&&p<=Dn},Ut.isSet=sm,Ut.isString=Ca,Ut.isSymbol=ia,Ut.isTypedArray=Yp,Ut.isUndefined=function d0(p){return p===Se},Ut.isWeakMap=function v1(p){return fs(p)&&Tu(p)==Cn},Ut.isWeakSet=function x0(p){return fs(p)&&"[object WeakSet]"==Oa(p)},Ut.join=function hd(p,A){return null==p?"":Em.call(p,A)},Ut.kebabCase=rp,Ut.last=sc,Ut.lastIndexOf=function cr(p,A,ee){var Re=null==p?0:p.length;if(!Re)return-1;var _t=Re;return ee!==Se&&(_t=(_t=pr(ee))<0?er(Re+_t,0):Ir(_t,Re-1)),A==A?function Ye(Wn,yi,Ut){for(var ss=Ut+1;ss--;)if(Wn[ss]===yi)return ss;return ss}(p,A,_t):z(p,k,_t,!0)},Ut.lowerCase=cm,Ut.lowerFirst=gl,Ut.lt=om,Ut.lte=qu,Ut.max=function xs(p){return p&&p.length?la(p,J,j0):Se},Ut.maxBy=function Gs(p,A){return p&&p.length?la(p,Vo(A,2),j0):Se},Ut.mean=function no(p){return Y(p,J)},Ut.meanBy=function gs(p,A){return Y(p,Vo(A,2))},Ut.min=function oo(p){return p&&p.length?la(p,J,nc):Se},Ut.minBy=function ko(p,A){return p&&p.length?la(p,Vo(A,2),nc):Se},Ut.stubArray=Zt,Ut.stubFalse=Mi,Ut.stubObject=function Ki(){return{}},Ut.stubString=function Pi(){return""},Ut.stubTrue=function hs(){return!0},Ut.multiply=l_,Ut.nth=function xp(p,A){return p&&p.length?cu(p,pr(A)):Se},Ut.noConflict=function St(){return ga._===this&&(ga._=Am),this},Ut.noop=zt,Ut.now=Yl,Ut.pad=function vp(p,A,ee){p=pa(p);var Re=(A=pr(A))?Ct(p):0;if(!A||Re>=A)return p;var _t=(A-Re)/2;return Sn(Of(_t),ee)+p+Sn(Md(_t),ee)},Ut.padEnd=function bh(p,A,ee){p=pa(p);var Re=(A=pr(A))?Ct(p):0;return A&&Re<A?p+Sn(A-Re,ee):p},Ut.padStart=function Mc(p,A,ee){p=pa(p);var Re=(A=pr(A))?Ct(p):0;return A&&Re<A?Sn(A-Re,ee)+p:p},Ut.parseInt=function $m(p,A,ee){return ee||null==A?A=0:A&&(A=+A),jo(pa(p).replace(Rr,""),A||0)},Ut.random=function qh(p,A,ee){if(ee&&"boolean"!=typeof ee&&Za(p,A,ee)&&(A=ee=Se),ee===Se&&("boolean"==typeof A?(ee=A,A=Se):"boolean"==typeof p&&(ee=p,p=Se)),p===Se&&A===Se?(p=0,A=1):(p=F0(p),A===Se?(A=p,p=0):A=F0(A)),p>A){var Re=p;p=A,A=Re}if(ee||p%1||A%1){var _t=Eh();return Ir(p+_t*(A-p+Al("1e-"+((_t+"").length-1))),A)}return Nt(p,A)},Ut.reduce=function Jd(p,A,ee){var Re=Na(p)?L:j,_t=arguments.length<3;return Re(p,Vo(A,4),ee,_t,tp)},Ut.reduceRight=function gf(p,A,ee){var Re=Na(p)?o:j,_t=arguments.length<3;return Re(p,Vo(A,4),ee,_t,Cm)},Ut.repeat=function Zd(p,A,ee){return A=(ee?Za(p,A,ee):A===Se)?1:pr(A),Vn(pa(p),A)},Ut.replace=function Mh(){var p=arguments,A=pa(p[0]);return p.length<3?A:A.replace(p[1],p[2])},Ut.result=function Gh(p,A,ee){var Re=-1,_t=(A=vt(A,p)).length;for(_t||(_t=1,p=Se);++Re<_t;){var Gt=null==p?Se:p[I1(A[Re])];Gt===Se&&(Re=_t,Gt=ee),p=$n(Gt)?Gt.call(p):Gt}return p},Ut.round=S_,Ut.runInContext=Wn,Ut.sample=function qf(p){return(Na(p)?dn:Kn)(p)},Ut.size=function Bh(p){if(null==p)return 0;if(Sl(p))return Ca(p)?Ct(p):p.length;var A=Tu(p);return A==li||A==Bn?p.size:xl(p).length},Ut.snakeCase=Im,Ut.some=function Ju(p,A,ee){var Re=Na(p)?C:Ls;return ee&&Za(p,A,ee)&&(A=Se),Re(p,Vo(A,3))},Ut.sortedIndex=function pp(p,A){return lo(p,A)},Ut.sortedIndexBy=function hp(p,A,ee){return Ro(p,A,Vo(ee,2))},Ut.sortedIndexOf=function _f(p,A){var ee=null==p?0:p.length;if(ee){var Re=lo(p,A);if(Re<ee&&nu(p[Re],A))return Re}return-1},Ut.sortedLastIndex=function Hd(p,A){return lo(p,A,!0)},Ut.sortedLastIndexBy=function Gf(p,A,ee){return Ro(p,A,Vo(ee,2),!0)},Ut.sortedLastIndexOf=function hu(p,A){if(null!=p&&p.length){var ee=lo(p,A,!0)-1;if(nu(p[ee],A))return ee}return-1},Ut.startCase=F_,Ut.startsWith=function as(p,A,ee){return p=pa(p),ee=null==ee?0:Va(pr(ee),0,p.length),A=Xr(A),p.slice(ee,ee+A.length)==A},Ut.subtract=wm,Ut.sum=function A1(p){return p&&p.length?H(p,J):0},Ut.sumBy=function sa(p,A){return p&&p.length?H(p,Vo(A,2)):0},Ut.template=function Mf(p,A,ee){var Re=Ut.templateSettings;ee&&Za(p,A,ee)&&(A=Se),p=pa(p),A=H0({},A,Re,J0);var _t,Gt,vn=H0({},A.imports,Re.imports,J0),kn=$1(vn),ni=pe(vn,kn),ji=0,Wi=A.interpolate||Sa,Qi="__p += '",ys=Ec((A.escape||Sa).source+"|"+Wi.source+"|"+(Wi===ds?Ks:Sa).source+"|"+(A.evaluate||Sa).source+"|$","g"),qs="//# sourceURL="+(n0.call(A,"sourceURL")?(A.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++un+"]")+"\n";p.replace(ys,function(co,Ko,nr,ol,rl,Wc){return nr||(nr=ol),Qi+=p.slice(ji,Wc).replace(X1,Me),Ko&&(_t=!0,Qi+="' +\n__e("+Ko+") +\n'"),rl&&(Gt=!0,Qi+="';\n"+rl+";\n__p += '"),nr&&(Qi+="' +\n((__t = ("+nr+")) == null ? '' : __t) +\n'"),ji=Wc+co.length,co}),Qi+="';\n";var Ys=n0.call(A,"variable")&&A.variable;if(Ys){if(Ei.test(Ys))throw new Fc("Invalid `variable` option passed into `_.template`")}else Qi="with (obj) {\n"+Qi+"\n}\n";Qi=(Gt?Qi.replace(Ci,""):Qi).replace(Ui,"$1").replace(ps,"$1;"),Qi="function("+(Ys||"obj")+") {\n"+(Ys?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(_t?", __e = _.escape":"")+(Gt?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Qi+"return __p\n}";var To=W_(function(){return Vr(kn,qs+"return "+Qi).apply(Se,ni)});if(To.source=Qi,tt(To))throw To;return To},Ut.times=function Cs(p,A){if((p=pr(p))<1||p>Dn)return[];var ee=Fs,Re=Ir(p,Fs);A=Vo(A),p-=Fs;for(var _t=ie(Re,A);++ee<p;)A(ee);return _t},Ut.toFinite=F0,Ut.toInteger=pr,Ut.toLength=g0,Ut.toLower=function Vm(p){return pa(p).toLowerCase()},Ut.toNumber=$0,Ut.toSafeInteger=function Wl(p){return p?Va(pr(p),-Dn,Dn):0===p?p:0},Ut.toString=pa,Ut.toUpper=function Mm(p){return pa(p).toUpperCase()},Ut.trim=function xc(p,A,ee){if((p=pa(p))&&(ee||A===Se))return Q(p);if(!p||!(A=Xr(A)))return p;var Re=Lt(p),_t=Lt(A);return $t(Re,ae(Re,_t),K(Re,_t)+1).join("")},Ut.trimEnd=function Ap(p,A,ee){if((p=pa(p))&&(ee||A===Se))return p.slice(0,Vt(p)+1);if(!p||!(A=Xr(A)))return p;var Re=Lt(p);return $t(Re,0,K(Re,Lt(A))+1).join("")},Ut.trimStart=function yp(p,A,ee){if((p=pa(p))&&(ee||A===Se))return p.replace(Rr,"");if(!p||!(A=Xr(A)))return p;var Re=Lt(p);return $t(Re,ae(Re,Lt(A))).join("")},Ut.truncate=function Oh(p,A){var ee=30,Re="...";if(Zi(A)){var _t="separator"in A?A.separator:_t;ee="length"in A?pr(A.length):ee,Re="omission"in A?Xr(A.omission):Re}var Gt=(p=pa(p)).length;if(be(p)){var vn=Lt(p);Gt=vn.length}if(ee>=Gt)return p;var kn=ee-Ct(Re);if(kn<1)return Re;var ni=vn?$t(vn,0,kn).join(""):p.slice(0,kn);if(_t===Se)return ni+Re;if(vn&&(kn+=ni.length-kn),Tf(_t)){if(p.slice(kn).search(_t)){var ji,Wi=ni;for(_t.global||(_t=Ec(_t.source,pa(fa.exec(_t))+"g")),_t.lastIndex=0;ji=_t.exec(Wi);)var Qi=ji.index;ni=ni.slice(0,Qi===Se?kn:Qi)}}else if(p.indexOf(Xr(_t),kn)!=kn){var ys=ni.lastIndexOf(_t);ys>-1&&(ni=ni.slice(0,ys))}return ni+Re},Ut.unescape=function Hm(p){return(p=pa(p))&&js.test(p)?p.replace(Ji,Yr):p},Ut.uniqueId=function Ts(p){var A=++$h;return pa(p)+A},Ut.upperCase=Df,Ut.upperFirst=y_,Ut.each=Kd,Ut.eachRight=bp,Ut.first=Fu,Fe(Ut,function(){var p={};return S0(Ut,function(A,ee){n0.call(Ut.prototype,ee)||(p[ee]=A)}),p}(),{chain:!1}),Ut.VERSION="4.17.21",m(["bind","bindKey","curry","curryRight","partial","partialRight"],function(p){Ut[p].placeholder=Ut}),m(["drop","take"],function(p,A){Us.prototype[p]=function(ee){ee=ee===Se?1:er(pr(ee),0);var Re=this.__filtered__&&!A?new Us(this):this.clone();return Re.__filtered__?Re.__takeCount__=Ir(ee,Re.__takeCount__):Re.__views__.push({size:Ir(ee,Fs),type:p+(Re.__dir__<0?"Right":"")}),Re},Us.prototype[p+"Right"]=function(ee){return this.reverse()[p](ee).reverse()}}),m(["filter","map","takeWhile"],function(p,A){var ee=A+1,Re=1==ee||3==ee;Us.prototype[p]=function(_t){var Gt=this.clone();return Gt.__iteratees__.push({iteratee:Vo(_t,3),type:ee}),Gt.__filtered__=Gt.__filtered__||Re,Gt}}),m(["head","last"],function(p,A){var ee="take"+(A?"Right":"");Us.prototype[p]=function(){return this[ee](1).value()[0]}}),m(["initial","tail"],function(p,A){var ee="drop"+(A?"":"Right");Us.prototype[p]=function(){return this.__filtered__?new Us(this):this[ee](1)}}),Us.prototype.compact=function(){return this.filter(J)},Us.prototype.find=function(p){return this.filter(p).head()},Us.prototype.findLast=function(p){return this.reverse().find(p)},Us.prototype.invokeMap=je(function(p,A){return"function"==typeof p?new Us(this):this.map(function(ee){return dr(ee,p,A)})}),Us.prototype.reject=function(p){return this.filter(kh(Vo(p)))},Us.prototype.slice=function(p,A){p=pr(p);var ee=this;return ee.__filtered__&&(p>0||A<0)?new Us(ee):(p<0?ee=ee.takeRight(-p):p&&(ee=ee.drop(p)),A!==Se&&(ee=(A=pr(A))<0?ee.dropRight(-A):ee.take(A-p)),ee)},Us.prototype.takeRightWhile=function(p){return this.reverse().takeWhile(p).reverse()},Us.prototype.toArray=function(){return this.take(Fs)},S0(Us.prototype,function(p,A){var ee=/^(?:filter|find|map|reject)|While$/.test(A),Re=/^(?:head|last)$/.test(A),_t=Ut[Re?"take"+("last"==A?"Right":""):A],Gt=Re||/^find/.test(A);_t&&(Ut.prototype[A]=function(){var vn=this.__wrapped__,kn=Re?[1]:arguments,ni=vn instanceof Us,ji=kn[0],Wi=ni||Na(vn),Qi=function(Ko){var nr=_t.apply(Ut,b([Ko],kn));return Re&&ys?nr[0]:nr};Wi&&ee&&"function"==typeof ji&&1!=ji.length&&(ni=Wi=!1);var ys=this.__chain__,Ys=Gt&&!ys,To=ni&&!this.__actions__.length;if(!Gt&&Wi){vn=To?vn:new Us(this);var co=p.apply(vn,kn);return co.__actions__.push({func:Td,args:[Qi],thisArg:Se}),new vs(co,ys)}return Ys&&To?p.apply(this,kn):(co=this.thru(Qi),Ys?Re?co.value()[0]:co.value():co)})}),m(["pop","push","shift","sort","splice","unshift"],function(p){var A=Ya[p],ee=/^(?:push|sort|unshift)$/.test(p)?"tap":"thru",Re=/^(?:pop|shift)$/.test(p);Ut.prototype[p]=function(){var _t=arguments;if(Re&&!this.__chain__){var Gt=this.value();return A.apply(Na(Gt)?Gt:[],_t)}return this[ee](function(vn){return A.apply(Na(vn)?vn:[],_t)})}}),S0(Us.prototype,function(p,A){var ee=Ut[A];if(ee){var Re=ee.name+"";n0.call(Sh,Re)||(Sh[Re]=[]),Sh[Re].push({name:A,func:ee})}}),Sh[he(Se,2).name]=[{name:"wrapper",func:Se}],Us.prototype.clone=function or(){var p=new Us(this.__wrapped__);return p.__actions__=Bo(this.__actions__),p.__dir__=this.__dir__,p.__filtered__=this.__filtered__,p.__iteratees__=Bo(this.__iteratees__),p.__takeCount__=this.__takeCount__,p.__views__=Bo(this.__views__),p},Us.prototype.reverse=function wr(){if(this.__filtered__){var p=new Us(this);p.__dir__=-1,p.__filtered__=!0}else(p=this.clone()).__dir__*=-1;return p},Us.prototype.value=function Y0(){var p=this.__wrapped__.value(),A=this.__dir__,ee=Na(p),Re=A<0,_t=ee?p.length:0,Gt=function Qo(p,A,ee){for(var Re=-1,_t=ee.length;++Re<_t;){var Gt=ee[Re],vn=Gt.size;switch(Gt.type){case"drop":p+=vn;break;case"dropRight":A-=vn;break;case"take":A=Ir(A,p+vn);break;case"takeRight":p=er(p,A-vn)}}return{start:p,end:A}}(0,_t,this.__views__),vn=Gt.start,kn=Gt.end,ni=kn-vn,ji=Re?kn:vn-1,Wi=this.__iteratees__,Qi=Wi.length,ys=0,qs=Ir(ni,this.__takeCount__);if(!ee||!Re&&_t==ni&&qs==ni)return ue(p,this.__actions__);var Ys=[];e:for(;ni--&&ys<qs;){for(var To=-1,co=p[ji+=A];++To<Qi;){var Ko=Wi[To],ol=Ko.type,rl=(0,Ko.iteratee)(co);if(2==ol)co=rl;else if(!rl){if(1==ol)continue e;break e}}Ys[ys++]=co}return Ys},Ut.prototype.at=M0,Ut.prototype.chain=function mp(){return fp(this)},Ut.prototype.commit=function _p(){return new vs(this.value(),this.__chain__)},Ut.prototype.next=function Ku(){this.__values__===Se&&(this.__values__=Ps(this.value()));var p=this.__index__>=this.__values__.length;return{done:p,value:p?Se:this.__values__[this.__index__++]}},Ut.prototype.plant=function Xd(p){for(var A,ee=this;ee instanceof ss;){var Re=Lc(ee);Re.__index__=0,Re.__values__=Se,A?_t.__wrapped__=Re:A=Re;var _t=Re;ee=ee.__wrapped__}return _t.__wrapped__=p,A},Ut.prototype.reverse=function rc(){var p=this.__wrapped__;if(p instanceof Us){var A=p;return this.__actions__.length&&(A=new Us(this)),(A=A.reverse()).__actions__.push({func:Td,args:[du],thisArg:Se}),new vs(A,this.__chain__)}return this.thru(du)},Ut.prototype.toJSON=Ut.prototype.valueOf=Ut.prototype.value=function _r(){return ue(this.__wrapped__,this.__actions__)},Ut.prototype.first=Ut.prototype.head,cc&&(Ut.prototype[cc]=function Bp(){return this}),Ut}();ga._=b1,void 0!==(n=function(){return b1}.call(N,s,N,at))&&(at.exports=n)}.call(this)},96508:(at,N,s)=>{(at.exports=s(13524)).tz.load(s(21681))},13524:function(at,N,s){var n,a,g;!function(m,T){"use strict";at.exports?at.exports=T(s(97586)):(a=[s(97586)],void 0!==(g="function"==typeof(n=T)?n.apply(N,a):n)&&(at.exports=g))}(0,function(m){"use strict";void 0===m.version&&m.default&&(m=m.default);var b,O={},D={},E={},y={},I={};(!m||"string"!=typeof m.version)&&$e("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var L=m.version.split("."),o=+L[0],C=+L[1];function w(ht){return ht>96?ht-87:ht>64?ht-29:ht-48}function M(ht){var gt=0,Ge=ht.split("."),Se=Ge[0],ke=Ge[1]||"",Ne=1,Qe=0,rt=1;for(45===ht.charCodeAt(0)&&(gt=1,rt=-1);gt<Se.length;gt++)Qe=60*Qe+w(Se.charCodeAt(gt));for(gt=0;gt<ke.length;gt++)Ne/=60,Qe+=w(ke.charCodeAt(gt))*Ne;return Qe*rt}function q(ht){for(var gt=0;gt<ht.length;gt++)ht[gt]=M(ht[gt])}function F(ht,gt){var Se,Ge=[];for(Se=0;Se<gt.length;Se++)Ge[Se]=ht[gt[Se]];return Ge}function U(ht){var gt=ht.split("|"),Ge=gt[2].split(" "),Se=gt[3].split(""),ke=gt[4].split(" ");return q(Ge),q(Se),q(ke),function z(ht,gt){for(var Ge=0;Ge<gt;Ge++)ht[Ge]=Math.round((ht[Ge-1]||0)+6e4*ht[Ge]);ht[gt-1]=1/0}(ke,Se.length),{name:gt[0],abbrs:F(gt[1].split(" "),Se),offsets:F(Ge,Se),untils:ke,population:0|gt[5]}}function k(ht){ht&&this._set(U(ht))}function x(ht,gt){this.name=ht,this.zones=gt}function B(ht){var gt=ht.toTimeString(),Ge=gt.match(/\([a-z ]+\)/i);"GMT"===(Ge=Ge&&Ge[0]?(Ge=Ge[0].match(/[A-Z]/g))?Ge.join(""):void 0:(Ge=gt.match(/[A-Z]{3,5}/g))?Ge[0]:void 0)&&(Ge=void 0),this.at=+ht,this.abbr=Ge,this.offset=ht.getTimezoneOffset()}function j(ht){this.zone=ht,this.offsetScore=0,this.abbrScore=0}function $(ht,gt){for(var Ge,Se;Se=6e4*((gt.at-ht.at)/12e4|0);)(Ge=new B(new Date(ht.at+Se))).offset===ht.offset?ht=Ge:gt=Ge;return ht}function ie(ht,gt){return ht.offsetScore!==gt.offsetScore?ht.offsetScore-gt.offsetScore:ht.abbrScore!==gt.abbrScore?ht.abbrScore-gt.abbrScore:ht.zone.population!==gt.zone.population?gt.zone.population-ht.zone.population:gt.zone.name.localeCompare(ht.zone.name)}function ne(ht,gt){var Ge,Se;for(q(gt),Ge=0;Ge<gt.length;Ge++)I[Se=gt[Ge]]=I[Se]||{},I[Se][ht]=!0}function te(ht){return(ht||"").toLowerCase().replace(/\//g,"_")}function ae(ht){var gt,Ge,Se,ke;for("string"==typeof ht&&(ht=[ht]),gt=0;gt<ht.length;gt++)ke=te(Ge=(Se=ht[gt].split("|"))[0]),O[ke]=ht[gt],y[ke]=Ge,ne(ke,Se[2].split(" "))}function K(ht,gt){ht=te(ht);var Se,Ge=O[ht];return Ge instanceof k?Ge:"string"==typeof Ge?(Ge=new k(Ge),O[ht]=Ge,Ge):D[ht]&&gt!==K&&(Se=K(D[ht],K))?((Ge=O[ht]=new k)._set(Se),Ge.name=y[ht],Ge):null}function me(ht){var gt,Ge,Se,ke;for("string"==typeof ht&&(ht=[ht]),gt=0;gt<ht.length;gt++)Se=te((Ge=ht[gt].split("|"))[0]),ke=te(Ge[1]),D[Se]=ke,y[Se]=Ge[0],D[ke]=Se,y[ke]=Ge[1]}function Pe(ht){return!(!ht._a||void 0!==ht._tzm||"X"===ht._f||"x"===ht._f)}function $e(ht){typeof console<"u"&&"function"==typeof console.error&&console.error(ht)}function ze(ht){var ke,gt=Array.prototype.slice.call(arguments,0,-1),Ge=arguments[arguments.length-1],Se=m.utc.apply(null,gt);return!m.isMoment(ht)&&Pe(Se)&&(ke=K(Ge))&&Se.add(ke.parse(Se),"minutes"),Se.tz(Ge),Se}(o<2||2===o&&C<6)&&$e("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+m.version+". See momentjs.com"),k.prototype={_set:function(ht){this.name=ht.name,this.abbrs=ht.abbrs,this.untils=ht.untils,this.offsets=ht.offsets,this.population=ht.population},_index:function(ht){var Se;if(Se=function Y(ht,gt){var Ge=gt.length;if(ht<gt[0])return 0;if(Ge>1&&gt[Ge-1]===1/0&&ht>=gt[Ge-2])return Ge-1;if(ht>=gt[Ge-1])return-1;for(var Se,ke=0,Ne=Ge-1;Ne-ke>1;)gt[Se=Math.floor((ke+Ne)/2)]<=ht?ke=Se:Ne=Se;return Ne}(+ht,this.untils),Se>=0)return Se},countries:function(){var ht=this.name;return Object.keys(E).filter(function(gt){return-1!==E[gt].zones.indexOf(ht)})},parse:function(ht){var Ne,Je,Qe,rt,gt=+ht,Ge=this.offsets,Se=this.untils,ke=Se.length-1;for(rt=0;rt<ke;rt++)if(Qe=Ge[rt&&rt-1],(Ne=Ge[rt])<(Je=Ge[rt+1])&&ze.moveAmbiguousForward?Ne=Je:Ne>Qe&&ze.moveInvalidForward&&(Ne=Qe),gt<Se[rt]-6e4*Ne)return Ge[rt];return Ge[ke]},abbr:function(ht){return this.abbrs[this._index(ht)]},offset:function(ht){return $e("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(ht)]},utcOffset:function(ht){return this.offsets[this._index(ht)]}},j.prototype.scoreOffsetAt=function(ht){this.offsetScore+=Math.abs(this.zone.utcOffset(ht.at)-ht.offset),this.zone.abbr(ht.at).replace(/[^A-Z]/g,"")!==ht.abbr&&this.abbrScore++},ze.version="0.5.45",ze.dataVersion="",ze._zones=O,ze._links=D,ze._names=y,ze._countries=E,ze.add=ae,ze.link=me,ze.load=function Oe(ht){ae(ht.zones),me(ht.links),function be(ht){var gt,Ge,Se,ke;if(ht&&ht.length)for(gt=0;gt<ht.length;gt++)Ge=(ke=ht[gt].split("|"))[0].toUpperCase(),Se=ke[1].split(" "),E[Ge]=new x(Ge,Se)}(ht.countries),ze.dataVersion=ht.version},ze.zone=K,ze.zoneExists=function Xe(ht){return Xe.didShowError||(Xe.didShowError=!0,$e("moment.tz.zoneExists('"+ht+"') has been deprecated in favor of !moment.tz.zone('"+ht+"')")),!!K(ht)},ze.guess=function pe(ht){return(!b||ht)&&(b=function le(){try{var ht=Intl.DateTimeFormat().resolvedOptions().timeZone;if(ht&&ht.length>3){var gt=y[te(ht)];if(gt)return gt;$e("Moment Timezone found "+ht+" from the Intl api, but did not have that data loaded.")}}catch{}var Je,Qe,rt,Ge=function H(){var ke,Ne,Je,Qe,ht=(new Date).getFullYear()-2,gt=new B(new Date(ht,0,1)),Ge=gt.offset,Se=[gt];for(Qe=1;Qe<48;Qe++)(Je=new Date(ht,Qe,1).getTimezoneOffset())!==Ge&&(ke=$(gt,Ne=new B(new Date(ht,Qe,1))),Se.push(ke),Se.push(new B(new Date(ke.at+6e4))),gt=Ne,Ge=Je);for(Qe=0;Qe<4;Qe++)Se.push(new B(new Date(ht+Qe,0,1))),Se.push(new B(new Date(ht+Qe,6,1)));return Se}(),Se=Ge.length,ke=function Q(ht){var Ne,Je,Qe,rt,gt=ht.length,Ge={},Se=[],ke={};for(Ne=0;Ne<gt;Ne++)if(!ke.hasOwnProperty(Qe=ht[Ne].offset)){for(Je in rt=I[Qe]||{})rt.hasOwnProperty(Je)&&(Ge[Je]=!0);ke[Qe]=!0}for(Ne in Ge)Ge.hasOwnProperty(Ne)&&Se.push(y[Ne]);return Se}(Ge),Ne=[];for(Qe=0;Qe<ke.length;Qe++){for(Je=new j(K(ke[Qe]),Se),rt=0;rt<Se;rt++)Je.scoreOffsetAt(Ge[rt]);Ne.push(Je)}return Ne.sort(ie),Ne.length>0?Ne[0].zone.name:void 0}()),b},ze.names=function de(){var ht,gt=[];for(ht in y)y.hasOwnProperty(ht)&&(O[ht]||O[D[ht]])&&y[ht]&&gt.push(y[ht]);return gt.sort()},ze.Zone=k,ze.unpack=U,ze.unpackBase60=M,ze.needsOffset=Pe,ze.moveInvalidForward=!0,ze.moveAmbiguousForward=!1,ze.countries=function Me(){return Object.keys(E)},ze.zonesForCountry=function Ae(ht,gt){if(!(ht=function Le(ht){return ht=ht.toUpperCase(),E[ht]||null}(ht)))return null;var Ge=ht.zones.sort();return gt?Ge.map(function(Se){return{name:Se,offset:K(Se).utcOffset(new Date)}}):Ge};var Be=m.fn;function Ye(ht){return function(){return this._z?this._z.abbr(this):ht.call(this)}}function Ct(ht){return function(){return this._z=null,ht.apply(this,arguments)}}m.tz=ze,m.defaultZone=null,m.updateOffset=function(ht,gt){var Se,Ge=m.defaultZone;if(void 0===ht._z&&(Ge&&Pe(ht)&&!ht._isUTC&&ht.isValid()&&(ht._d=m.utc(ht._a)._d,ht.utc().add(Ge.parse(ht),"minutes")),ht._z=Ge),ht._z)if(Se=ht._z.utcOffset(ht),Math.abs(Se)<16&&(Se/=60),void 0!==ht.utcOffset){var ke=ht._z;ht.utcOffset(-Se,gt),ht._z=ke}else ht.zone(Se,gt)},Be.tz=function(ht,gt){if(ht){if("string"!=typeof ht)throw new Error("Time zone name must be a string, got "+ht+" ["+typeof ht+"]");return this._z=K(ht),this._z?m.updateOffset(this,gt):$e("Moment Timezone has no data for "+ht+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},Be.zoneName=Ye(Be.zoneName),Be.zoneAbbr=Ye(Be.zoneAbbr),Be.utc=Ct(Be.utc),Be.local=Ct(Be.local),Be.utcOffset=function Lt(ht){return function(){return arguments.length>0&&(this._z=null),ht.apply(this,arguments)}}(Be.utcOffset),m.tz.setDefault=function(ht){return(o<2||2===o&&C<9)&&$e("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+m.version+"."),m.defaultZone=ht?K(ht):null,m};var Vt=m.momentProperties;return"[object Array]"===Object.prototype.toString.call(Vt)?(Vt.push("_z"),Vt.push("_a")):Vt&&(Vt._z=null),m})},11544:function(at,N,s){!function(n){"use strict";n.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(g){return/^nm$/i.test(g)},meridiem:function(g,m,T){return g<12?T?"vm":"VM":T?"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(g){return g+(1===g||8===g||g>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(97586))},52155:function(at,N,s){!function(n){"use strict";var a=function(D){return 0===D?0:1===D?1:2===D?2:D%100>=3&&D%100<=10?3:D%100>=11?4:5},g={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(D){return function(E,y,I,b){var L=a(E),o=g[D][a(E)];return 2===L&&(o=o[y?0:1]),o.replace(/%d/i,E)}},T=["\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"];n.defineLocale("ar-dz",{months:T,monthsShort:T,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(D){return"\u0645"===D},meridiem:function(D,E,y){return D<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")},postformat:function(D){return D.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(s(97586))},53583:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},41638:function(at,N,s){!function(n){"use strict";var a={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},g=function(E){return 0===E?0:1===E?1:2===E?2:E%100>=3&&E%100<=10?3:E%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"]},T=function(E){return function(y,I,b,L){var o=g(y),C=m[E][g(y)];return 2===o&&(C=C[I?0:1]),C.replace(/%d/i,y)}},O=["\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"];n.defineLocale("ar-ly",{months:O,monthsShort:O,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(E){return"\u0645"===E},meridiem:function(E,y,I){return E<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:T("s"),ss:T("s"),m:T("m"),mm:T("m"),h:T("h"),hh:T("h"),d:T("d"),dd:T("d"),M:T("M"),MM:T("M"),y:T("y"),yy:T("y")},preparse:function(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(y){return a[y]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(s(97586))},87823:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},7712:function(at,N,s){!function(n){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},g={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".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(T){return"\u0645"===T},meridiem:function(T,O,D){return T<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(T){return T.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(O){return g[O]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(O){return g[O]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(s(97586))},78261:function(at,N,s){!function(n){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},g={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.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(T){return"\u0645"===T},meridiem:function(T,O,D){return T<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(T){return T.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(O){return g[O]}).replace(/\u060c/g,",")},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(s(97586))},56703:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},33108:function(at,N,s){!function(n){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},g={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},m=function(y){return 0===y?0:1===y?1:2===y?2:y%100>=3&&y%100<=10?3:y%100>=11?4:5},T={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"]},O=function(y){return function(I,b,L,o){var C=m(I),w=T[y][m(I)];return 2===C&&(w=w[b?0:1]),w.replace(/%d/i,I)}},D=["\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"];n.defineLocale("ar",{months:D,monthsShort:D,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,I,b){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:O("s"),ss:O("s"),m:O("m"),mm:O("m"),h:O("h"),hh:O("h"),d:O("d"),dd:O("d"),M:O("M"),MM:O("M"),y:O("y"),yy:O("y")},preparse:function(y){return y.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(I){return g[I]}).replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(I){return a[I]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(s(97586))},46508:function(at,N,s){!function(n){"use strict";var a={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"};n.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(m){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(m)},meridiem:function(m,T,O){return m<4?"gec\u0259":m<12?"s\u0259h\u0259r":m<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(m){if(0===m)return m+"-\u0131nc\u0131";var T=m%10;return m+(a[T]||a[m%100-T]||a[m>=100?100:null])},week:{dow:1,doy:7}})}(s(97586))},16766:function(at,N,s){!function(n){"use strict";function g(T,O,D){return"m"===D?O?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===D?O?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":T+" "+function a(T,O){var D=T.split("_");return O%10==1&&O%100!=11?D[0]:O%10>=2&&O%10<=4&&(O%100<10||O%100>=20)?D[1]:D[2]}({ss:O?"\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:O?"\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:O?"\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"}[D],+T)}n.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:g,mm:g,h:g,hh:g,d:"\u0434\u0437\u0435\u043d\u044c",dd:g,M:"\u043c\u0435\u0441\u044f\u0446",MM:g,y:"\u0433\u043e\u0434",yy:g},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(T){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(T)},meridiem:function(T,O,D){return T<4?"\u043d\u043e\u0447\u044b":T<12?"\u0440\u0430\u043d\u0456\u0446\u044b":T<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(T,O){switch(O){case"M":case"d":case"DDD":case"w":case"W":return T%10!=2&&T%10!=3||T%100==12||T%100==13?T+"-\u044b":T+"-\u0456";case"D":return T+"-\u0433\u0430";default:return T}},week:{dow:1,doy:7}})}(s(97586))},28564:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10,T=g%100;return 0===g?g+"-\u0435\u0432":0===T?g+"-\u0435\u043d":T>10&&T<20?g+"-\u0442\u0438":1===m?g+"-\u0432\u0438":2===m?g+"-\u0440\u0438":7===m||8===m?g+"-\u043c\u0438":g+"-\u0442\u0438"},week:{dow:1,doy:7}})}(s(97586))},97462:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},43438:function(at,N,s){!function(n){"use strict";var a={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},g={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.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(T){return T.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(O){return g[O]})},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]})},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(T,O){return 12===T&&(T=0),"\u09b0\u09be\u09a4"===O?T<4?T:T+12:"\u09ad\u09cb\u09b0"===O||"\u09b8\u0995\u09be\u09b2"===O?T:"\u09a6\u09c1\u09aa\u09c1\u09b0"===O?T>=3?T:T+12:"\u09ac\u09bf\u0995\u09be\u09b2"===O||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===O?T+12:void 0},meridiem:function(T,O,D){return T<4?"\u09b0\u09be\u09a4":T<6?"\u09ad\u09cb\u09b0":T<12?"\u09b8\u0995\u09be\u09b2":T<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":T<18?"\u09ac\u09bf\u0995\u09be\u09b2":T<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(s(97586))},17107:function(at,N,s){!function(n){"use strict";var a={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},g={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.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(T){return T.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(O){return g[O]})},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(T,O){return 12===T&&(T=0),"\u09b0\u09be\u09a4"===O&&T>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===O&&T<5||"\u09ac\u09bf\u0995\u09be\u09b2"===O?T+12:T},meridiem:function(T,O,D){return T<4?"\u09b0\u09be\u09a4":T<10?"\u09b8\u0995\u09be\u09b2":T<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":T<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(s(97586))},9004:function(at,N,s){!function(n){"use strict";var a={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},g={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};n.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(T){return T.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(O){return g[O]})},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]})},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(T,O){return 12===T&&(T=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===O&&T>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===O&&T<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===O?T+12:T},meridiem:function(T,O,D){return T<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":T<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":T<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":T<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(s(97586))},50927:function(at,N,s){!function(n){"use strict";function a(w,M,q){return w+" "+function T(w,M){return 2===M?function O(w){var M={m:"v",b:"v",d:"z"};return void 0===M[w.charAt(0)]?w:M[w.charAt(0)]+w.substring(1)}(w):w}({mm:"munutenn",MM:"miz",dd:"devezh"}[q],w)}function m(w){return w>9?m(w%10):w}var D=[/^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],E=/^(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,o=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];n.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:o,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:o,monthsRegex:E,monthsShortRegex:E,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:D,longMonthsParse:D,shortMonthsParse:D,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:a,h:"un eur",hh:"%d eur",d:"un devezh",dd:a,M:"ur miz",MM:a,y:"ur bloaz",yy:function g(w){switch(m(w)){case 1:case 3:case 4:case 5:case 9:return w+" bloaz";default:return w+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(w){return w+(1===w?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(w){return"g.m."===w},meridiem:function(w,M,q){return w<12?"a.m.":"g.m."}})}(s(97586))},87768:function(at,N,s){!function(n){"use strict";function g(T,O,D){var E=T+" ";switch(D){case"ss":return E+(1===T?"sekunda":2===T||3===T||4===T?"sekunde":"sekundi");case"mm":return E+(1===T?"minuta":2===T||3===T||4===T?"minute":"minuta");case"h":return"jedan sat";case"hh":return E+(1===T?"sat":2===T||3===T||4===T?"sata":"sati");case"dd":return E+(1===T?"dan":"dana");case"MM":return E+(1===T?"mjesec":2===T||3===T||4===T?"mjeseca":"mjeseci");case"yy":return E+(1===T?"godina":2===T||3===T||4===T?"godine":"godina")}}n.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:g,m:function a(T,O,D,E){if("m"===D)return O?"jedna minuta":E?"jednu minutu":"jedne minute"},mm:g,h:g,hh:g,d:"dan",dd:g,M:"mjesec",MM:g,y:"godinu",yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(97586))},56291:function(at,N,s){!function(n){"use strict";n.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(g,m){var T=1===g?"r":2===g?"n":3===g?"r":4===g?"t":"\xe8";return("w"===m||"W"===m)&&(T="a"),g+T},week:{dow:1,doy:4}})}(s(97586))},85301:function(at,N,s){!function(n){"use strict";var a={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},g="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),m=[/^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],T=/^(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 O(y){return y>1&&y<5&&1!=~~(y/10)}function D(y,I,b,L){var o=y+" ";switch(b){case"s":return I||L?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return I||L?o+(O(y)?"sekundy":"sekund"):o+"sekundami";case"m":return I?"minuta":L?"minutu":"minutou";case"mm":return I||L?o+(O(y)?"minuty":"minut"):o+"minutami";case"h":return I?"hodina":L?"hodinu":"hodinou";case"hh":return I||L?o+(O(y)?"hodiny":"hodin"):o+"hodinami";case"d":return I||L?"den":"dnem";case"dd":return I||L?o+(O(y)?"dny":"dn\xed"):o+"dny";case"M":return I||L?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return I||L?o+(O(y)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):o+"m\u011bs\xedci";case"y":return I||L?"rok":"rokem";case"yy":return I||L?o+(O(y)?"roky":"let"):o+"lety"}}n.defineLocale("cs",{months:a,monthsShort:g,monthsRegex:T,monthsShortRegex:T,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:m,longMonthsParse:m,shortMonthsParse:m,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: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}})}(s(97586))},66666:function(at,N,s){!function(n){"use strict";n.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(g){return g+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(g)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(g)?"\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}})}(s(97586))},55163:function(at,N,s){!function(n){"use strict";n.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(g){var T="";return g>20?T=40===g||50===g||60===g||80===g||100===g?"fed":"ain":g>0&&(T=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][g]),g+T},week:{dow:1,doy:4}})}(s(97586))},87360:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},43248:function(at,N,s){!function(n){"use strict";function a(m,T,O,D){var E={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[m+" Tage",m+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[m+" Monate",m+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[m+" Jahre",m+" Jahren"]};return T?E[O][0]:E[O][1]}n.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:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},83222:function(at,N,s){!function(n){"use strict";function a(m,T,O,D){var E={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[m+" Tage",m+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[m+" Monate",m+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[m+" Jahre",m+" Jahren"]};return T?E[O][0]:E[O][1]}n.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:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},45932:function(at,N,s){!function(n){"use strict";function a(m,T,O,D){var E={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[m+" Tage",m+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[m+" Monate",m+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[m+" Jahre",m+" Jahren"]};return T?E[O][0]:E[O][1]}n.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:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},6405:function(at,N,s){!function(n){"use strict";var a=["\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"],g=["\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"];n.defineLocale("dv",{months:a,monthsShort:a,weekdays:g,weekdaysShort:g,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(T){return"\u0789\u078a"===T},meridiem:function(T,O,D){return T<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(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(s(97586))},60718:function(at,N,s){!function(n){"use strict";n.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(m,T){return m?"string"==typeof T&&/D/.test(T.substring(0,T.indexOf("MMMM")))?this._monthsGenitiveEl[m.month()]:this._monthsNominativeEl[m.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(m,T,O){return m>11?O?"\u03bc\u03bc":"\u039c\u039c":O?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(m){return"\u03bc"===(m+"").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(m,T){var O=this._calendarEl[m],D=T&&T.hours();return function a(m){return typeof Function<"u"&&m instanceof Function||"[object Function]"===Object.prototype.toString.call(m)}(O)&&(O=O.apply(T)),O.replace("{}",D%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}})}(s(97586))},36319:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10;return g+(1==~~(g%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:0,doy:4}})}(s(97586))},80597:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10;return g+(1==~~(g%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")}})}(s(97586))},51800:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10;return g+(1==~~(g%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:1,doy:4}})}(s(97586))},807:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10;return g+(1==~~(g%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:1,doy:4}})}(s(97586))},95960:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10;return g+(1==~~(g%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")}})}(s(97586))},84418:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10;return g+(1==~~(g%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:0,doy:6}})}(s(97586))},46865:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10;return g+(1==~~(g%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:1,doy:4}})}(s(97586))},32647:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10;return g+(1==~~(g%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:1,doy:4}})}(s(97586))},61931:function(at,N,s){!function(n){"use strict";n.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(g){return"p"===g.charAt(0).toLowerCase()},meridiem:function(g,m,T){return g>11?T?"p.t.m.":"P.T.M.":T?"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}})}(s(97586))},41805:function(at,N,s){!function(n){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),m=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],T=/^(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;n.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(D,E){return D?/-MMM-/.test(E)?g[D.month()]:a[D.month()]:a},monthsRegex:T,monthsShortRegex:T,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:m,longMonthsParse:m,shortMonthsParse:m,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}})}(s(97586))},83445:function(at,N,s){!function(n){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),m=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],T=/^(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;n.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(D,E){return D?/-MMM-/.test(E)?g[D.month()]:a[D.month()]:a},monthsRegex:T,monthsShortRegex:T,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:m,longMonthsParse:m,shortMonthsParse:m,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"})}(s(97586))},81516:function(at,N,s){!function(n){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),m=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],T=/^(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;n.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(D,E){return D?/-MMM-/.test(E)?g[D.month()]:a[D.month()]:a},monthsRegex:T,monthsShortRegex:T,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:m,longMonthsParse:m,shortMonthsParse:m,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}})}(s(97586))},46679:function(at,N,s){!function(n){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),g="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),m=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],T=/^(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;n.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(D,E){return D?/-MMM-/.test(E)?g[D.month()]:a[D.month()]:a},monthsRegex:T,monthsShortRegex:T,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:m,longMonthsParse:m,shortMonthsParse:m,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"})}(s(97586))},88150:function(at,N,s){!function(n){"use strict";function a(m,T,O,D){var E={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[m+"sekundi",m+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[m+" minuti",m+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[m+" tunni",m+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[m+" kuu",m+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[m+" aasta",m+" aastat"]};return T?E[O][2]?E[O][2]:E[O][1]:D?E[O][0]:E[O][1]}n.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:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d p\xe4eva",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},80757:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},65742:function(at,N,s){!function(n){"use strict";var a={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},g={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};n.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(T){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(T)},meridiem:function(T,O,D){return T<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(T){return T.replace(/[\u06f0-\u06f9]/g,function(O){return g[O]}).replace(/\u060c/g,",")},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(s(97586))},33958:function(at,N,s){!function(n){"use strict";var a="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),g=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",a[7],a[8],a[9]];function m(D,E,y,I){var b="";switch(y){case"s":return I?"muutaman sekunnin":"muutama sekunti";case"ss":b=I?"sekunnin":"sekuntia";break;case"m":return I?"minuutin":"minuutti";case"mm":b=I?"minuutin":"minuuttia";break;case"h":return I?"tunnin":"tunti";case"hh":b=I?"tunnin":"tuntia";break;case"d":return I?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":b=I?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return I?"kuukauden":"kuukausi";case"MM":b=I?"kuukauden":"kuukautta";break;case"y":return I?"vuoden":"vuosi";case"yy":b=I?"vuoden":"vuotta"}return function T(D,E){return D<10?E?g[D]:a[D]:D}(D,I)+" "+b}n.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:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},46720:function(at,N,s){!function(n){"use strict";n.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(g){return g},week:{dow:1,doy:4}})}(s(97586))},98352:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},42096:function(at,N,s){!function(n){"use strict";n.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(g,m){switch(m){default:case"M":case"Q":case"D":case"DDD":case"d":return g+(1===g?"er":"e");case"w":case"W":return g+(1===g?"re":"e")}}})}(s(97586))},95759:function(at,N,s){!function(n){"use strict";n.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(g,m){switch(m){default:case"M":case"Q":case"D":case"DDD":case"d":return g+(1===g?"er":"e");case"w":case"W":return g+(1===g?"re":"e")}},week:{dow:1,doy:4}})}(s(97586))},4059:function(at,N,s){!function(n){"use strict";var m=/(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,T=[/^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];n.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:m,monthsShortRegex:m,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:T,longMonthsParse:T,shortMonthsParse:T,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(D,E){switch(E){case"D":return D+(1===D?"er":"");default:case"M":case"Q":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}})}(s(97586))},15958:function(at,N,s){!function(n){"use strict";var a="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),g="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");n.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(T,O){return T?/-MMM-/.test(O)?g[T.month()]:a[T.month()]:a},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(T){return T+(1===T||8===T||T>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(97586))},94143:function(at,N,s){!function(n){"use strict";n.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(E){return E+(1===E?"d":E%10==2?"na":"mh")},week:{dow:1,doy:4}})}(s(97586))},67028:function(at,N,s){!function(n){"use strict";n.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(E){return E+(1===E?"d":E%10==2?"na":"mh")},week:{dow:1,doy:4}})}(s(97586))},80428:function(at,N,s){!function(n){"use strict";n.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(g){return 0===g.indexOf("un")?"n"+g:"en "+g},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}})}(s(97586))},76861:function(at,N,s){!function(n){"use strict";function a(m,T,O,D){var E={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:[m+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",m+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[m+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",m+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[m+" \u0935\u0930\u093e\u0902\u0928\u0940",m+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[m+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",m+" \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:[m+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",m+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[m+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",m+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return D?E[O][0]:E[O][1]}n.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:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(m,T){return"D"===T?m+"\u0935\u0947\u0930":m},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(m,T){return 12===m&&(m=0),"\u0930\u093e\u0924\u0940"===T?m<4?m:m+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===T?m:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===T?m>12?m:m+12:"\u0938\u093e\u0902\u091c\u0947"===T?m+12:void 0},meridiem:function(m,T,O){return m<4?"\u0930\u093e\u0924\u0940":m<12?"\u0938\u0915\u093e\u0933\u0940\u0902":m<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":m<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(s(97586))},57718:function(at,N,s){!function(n){"use strict";function a(m,T,O,D){var E={s:["thoddea sekondamni","thodde sekond"],ss:[m+" sekondamni",m+" sekond"],m:["eka mintan","ek minut"],mm:[m+" mintamni",m+" mintam"],h:["eka voran","ek vor"],hh:[m+" voramni",m+" voram"],d:["eka disan","ek dis"],dd:[m+" disamni",m+" dis"],M:["eka mhoinean","ek mhoino"],MM:[m+" mhoineamni",m+" mhoine"],y:["eka vorsan","ek voros"],yy:[m+" vorsamni",m+" vorsam"]};return D?E[O][0]:E[O][1]}n.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:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(m,T){return"D"===T?m+"er":m},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(m,T){return 12===m&&(m=0),"rati"===T?m<4?m:m+12:"sokallim"===T?m:"donparam"===T?m>12?m:m+12:"sanje"===T?m+12:void 0},meridiem:function(m,T,O){return m<4?"rati":m<12?"sokallim":m<16?"donparam":m<20?"sanje":"rati"}})}(s(97586))},26827:function(at,N,s){!function(n){"use strict";var a={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},g={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};n.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(T){return T.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(O){return g[O]})},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(T,O){return 12===T&&(T=0),"\u0ab0\u0abe\u0aa4"===O?T<4?T:T+12:"\u0ab8\u0ab5\u0abe\u0ab0"===O?T:"\u0aac\u0aaa\u0acb\u0ab0"===O?T>=10?T:T+12:"\u0ab8\u0abe\u0a82\u0a9c"===O?T+12:void 0},meridiem:function(T,O,D){return T<4?"\u0ab0\u0abe\u0aa4":T<10?"\u0ab8\u0ab5\u0abe\u0ab0":T<17?"\u0aac\u0aaa\u0acb\u0ab0":T<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(s(97586))},21936:function(at,N,s){!function(n){"use strict";n.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(g){return 2===g?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":g+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(g){return 2===g?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":g+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(g){return 2===g?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":g+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(g){return 2===g?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":g%10==0&&10!==g?g+" \u05e9\u05e0\u05d4":g+" \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(g){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(g)},meridiem:function(g,m,T){return g<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":g<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":g<12?T?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":g<18?T?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(s(97586))},31332:function(at,N,s){!function(n){"use strict";var a={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},g={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},m=[/^\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];n.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:m,longMonthsParse:m,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(D){return D.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(E){return g[E]})},postformat:function(D){return D.replace(/\d/g,function(E){return a[E]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(D,E){return 12===D&&(D=0),"\u0930\u093e\u0924"===E?D<4?D:D+12:"\u0938\u0941\u092c\u0939"===E?D:"\u0926\u094b\u092a\u0939\u0930"===E?D>=10?D:D+12:"\u0936\u093e\u092e"===E?D+12:void 0},meridiem:function(D,E,y){return D<4?"\u0930\u093e\u0924":D<10?"\u0938\u0941\u092c\u0939":D<17?"\u0926\u094b\u092a\u0939\u0930":D<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(s(97586))},91957:function(at,N,s){!function(n){"use strict";function a(m,T,O){var D=m+" ";switch(O){case"ss":return D+(1===m?"sekunda":2===m||3===m||4===m?"sekunde":"sekundi");case"m":return T?"jedna minuta":"jedne minute";case"mm":return D+(1===m?"minuta":2===m||3===m||4===m?"minute":"minuta");case"h":return T?"jedan sat":"jednog sata";case"hh":return D+(1===m?"sat":2===m||3===m||4===m?"sata":"sati");case"dd":return D+(1===m?"dan":"dana");case"MM":return D+(1===m?"mjesec":2===m||3===m||4===m?"mjeseca":"mjeseci");case"yy":return D+(1===m?"godina":2===m||3===m||4===m?"godine":"godina")}}n.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:a,m:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(97586))},48928:function(at,N,s){!function(n){"use strict";var a="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function g(O,D,E,y){var I=O;switch(E){case"s":return y||D?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return I+(y||D)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(y||D?" perc":" perce");case"mm":return I+(y||D?" perc":" perce");case"h":return"egy"+(y||D?" \xf3ra":" \xf3r\xe1ja");case"hh":return I+(y||D?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(y||D?" nap":" napja");case"dd":return I+(y||D?" nap":" napja");case"M":return"egy"+(y||D?" h\xf3nap":" h\xf3napja");case"MM":return I+(y||D?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(y||D?" \xe9v":" \xe9ve");case"yy":return I+(y||D?" \xe9v":" \xe9ve")}return""}function m(O){return(O?"":"[m\xfalt] ")+"["+a[this.day()]+"] LT[-kor]"}n.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(O){return"u"===O.charAt(1).toLowerCase()},meridiem:function(O,D,E){return O<12?!0===E?"de":"DE":!0===E?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return m.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return m.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},56215:function(at,N,s){!function(n){"use strict";n.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(g){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(g)},meridiem:function(g){return g<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":g<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":g<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(g,m){switch(m){case"DDD":case"w":case"W":case"DDDo":return 1===g?g+"-\u056b\u0576":g+"-\u0580\u0564";default:return g}},week:{dow:1,doy:7}})}(s(97586))},586:function(at,N,s){!function(n){"use strict";n.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(g,m){return 12===g&&(g=0),"pagi"===m?g:"siang"===m?g>=11?g:g+12:"sore"===m||"malam"===m?g+12:void 0},meridiem:function(g,m,T){return g<11?"pagi":g<15?"siang":g<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}})}(s(97586))},90211:function(at,N,s){!function(n){"use strict";function a(T){return T%100==11||T%10!=1}function g(T,O,D,E){var y=T+" ";switch(D){case"s":return O||E?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return a(T)?y+(O||E?"sek\xfandur":"sek\xfandum"):y+"sek\xfanda";case"m":return O?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return a(T)?y+(O||E?"m\xedn\xfatur":"m\xedn\xfatum"):O?y+"m\xedn\xfata":y+"m\xedn\xfatu";case"hh":return a(T)?y+(O||E?"klukkustundir":"klukkustundum"):y+"klukkustund";case"d":return O?"dagur":E?"dag":"degi";case"dd":return a(T)?O?y+"dagar":y+(E?"daga":"d\xf6gum"):O?y+"dagur":y+(E?"dag":"degi");case"M":return O?"m\xe1nu\xf0ur":E?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return a(T)?O?y+"m\xe1nu\xf0ir":y+(E?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):O?y+"m\xe1nu\xf0ur":y+(E?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return O||E?"\xe1r":"\xe1ri";case"yy":return a(T)?y+(O||E?"\xe1r":"\xe1rum"):y+(O||E?"\xe1r":"\xe1ri")}}n.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:g,ss:g,m:g,mm:g,h:"klukkustund",hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},22340:function(at,N,s){!function(n){"use strict";n.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(g){return(/^[0-9].+$/.test(g)?"tra":"in")+" "+g},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}})}(s(97586))},70170:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},39770:function(at,N,s){!function(n){"use strict";n.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(g,m){return"\u5143"===m[1]?1:parseInt(m[1]||g,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(g){return"\u5348\u5f8c"===g},meridiem:function(g,m,T){return g<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(g){return g.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(g){return this.week()!==g.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(g,m){switch(m){case"y":return 1===g?"\u5143\u5e74":g+"\u5e74";case"d":case"D":case"DDD":return g+"\u65e5";default:return g}},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"}})}(s(97586))},73875:function(at,N,s){!function(n){"use strict";n.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(g,m){return 12===g&&(g=0),"enjing"===m?g:"siyang"===m?g>=11?g:g+12:"sonten"===m||"ndalu"===m?g+12:void 0},meridiem:function(g,m,T){return g<11?"enjing":g<15?"siyang":g<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}})}(s(97586))},79499:function(at,N,s){!function(n){"use strict";n.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(g){return g.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(m,T,O){return"\u10d8"===O?T+"\u10e8\u10d8":T+O+"\u10e8\u10d8"})},past:function(g){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(g)?g.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(g)?g.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):g},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(g){return 0===g?g:1===g?g+"-\u10da\u10d8":g<20||g<=100&&g%20==0||g%100==0?"\u10db\u10d4-"+g:g+"-\u10d4"},week:{dow:1,doy:7}})}(s(97586))},93573:function(at,N,s){!function(n){"use strict";var a={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"};n.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(m){return m+(a[m]||a[m%10]||a[m>=100?100:null])},week:{dow:1,doy:7}})}(s(97586))},68807:function(at,N,s){!function(n){"use strict";var a={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},g={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};n.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(T){return"\u179b\u17d2\u1784\u17b6\u1785"===T},meridiem:function(T,O,D){return T<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(T){return T.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(O){return g[O]})},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]})},week:{dow:1,doy:4}})}(s(97586))},65082:function(at,N,s){!function(n){"use strict";var a={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},g={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};n.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(T){return T.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(O){return g[O]})},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]})},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(T,O){return 12===T&&(T=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===O?T<4?T:T+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===O?T:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===O?T>=10?T:T+12:"\u0cb8\u0c82\u0c9c\u0cc6"===O?T+12:void 0},meridiem:function(T,O,D){return T<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":T<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":T<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":T<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(T){return T+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(s(97586))},20137:function(at,N,s){!function(n){"use strict";n.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(g,m){switch(m){case"d":case"D":case"DDD":return g+"\uc77c";case"M":return g+"\uc6d4";case"w":case"W":return g+"\uc8fc";default:return g}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(g){return"\uc624\ud6c4"===g},meridiem:function(g,m,T){return g<12?"\uc624\uc804":"\uc624\ud6c4"}})}(s(97586))},63744:function(at,N,s){!function(n){"use strict";function a(T,O,D,E){var y={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[T+" san\xeeye",T+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[T+" deq\xeeqe",T+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[T+" saet",T+" saetan"],d:["rojek","rojek\xea"],dd:[T+" roj",T+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[T+" hefte",T+" hefteyan"],M:["mehek","mehek\xea"],MM:[T+" meh",T+" mehan"],y:["salek","salek\xea"],yy:[T+" sal",T+" salan"]};return O?y[D][0]:y[D][1]}n.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(T,O,D){return T<12?D?"bn":"BN":D?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,w:a,ww:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(T,O){var D=O.toLowerCase();return D.includes("w")||D.includes("m")?T+".":T+function g(T){var O=(T=""+T).substring(T.length-1),D=T.length>1?T.substring(T.length-2):"";return 12==D||13==D||"2"!=O&&"3"!=O&&"50"!=D&&"70"!=O&&"80"!=O?"\xea":"y\xea"}(T)},week:{dow:1,doy:4}})}(s(97586))},70111:function(at,N,s){!function(n){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},g={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},m=["\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"];n.defineLocale("ku",{months:m,monthsShort:m,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(O){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(O)},meridiem:function(O,D,E){return O<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(O){return O.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(D){return g[D]}).replace(/\u060c/g,",")},postformat:function(O){return O.replace(/\d/g,function(D){return a[D]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(s(97586))},99187:function(at,N,s){!function(n){"use strict";var a={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"};n.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(m){return m+(a[m]||a[m%10]||a[m>=100?100:null])},week:{dow:1,doy:7}})}(s(97586))},35969:function(at,N,s){!function(n){"use strict";function a(D,E,y,I){var b={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 E?b[y][0]:b[y][1]}function T(D){if(D=parseInt(D,10),isNaN(D))return!1;if(D<0)return!0;if(D<10)return 4<=D&&D<=7;if(D<100){var E=D%10;return T(0===E?D/10:E)}if(D<1e4){for(;D>=10;)D/=10;return T(D)}return T(D/=1e3)}n.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 g(D){return T(D.substr(0,D.indexOf(" ")))?"a "+D:"an "+D},past:function m(D){return T(D.substr(0,D.indexOf(" ")))?"viru "+D:"virun "+D},s:"e puer Sekonnen",ss:"%d Sekonnen",m:a,mm:"%d Minutten",h:a,hh:"%d Stonnen",d:a,dd:"%d Deeg",M:a,MM:"%d M\xe9int",y:a,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},33526:function(at,N,s){!function(n){"use strict";n.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(g){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===g},meridiem:function(g,m,T){return g<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(g){return"\u0e97\u0eb5\u0ec8"+g}})}(s(97586))},90411:function(at,N,s){!function(n){"use strict";var a={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 m(y,I,b,L){return I?O(b)[0]:L?O(b)[1]:O(b)[2]}function T(y){return y%10==0||y>10&&y<20}function O(y){return a[y].split("_")}function D(y,I,b,L){var o=y+" ";return 1===y?o+m(0,I,b[0],L):I?o+(T(y)?O(b)[1]:O(b)[0]):L?o+O(b)[1]:o+(T(y)?O(b)[1]:O(b)[2])}n.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 g(y,I,b,L){return I?"kelios sekund\u0117s":L?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:D,m,mm:D,h:m,hh:D,d:m,dd:D,M:m,MM:D,y:m,yy:D},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(y){return y+"-oji"},week:{dow:1,doy:4}})}(s(97586))},32621:function(at,N,s){!function(n){"use strict";var a={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 g(E,y,I){return I?y%10==1&&y%100!=11?E[2]:E[3]:y%10==1&&y%100!=11?E[0]:E[1]}function m(E,y,I){return E+" "+g(a[I],E,y)}function T(E,y,I){return g(a[I],E,y)}n.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 O(E,y){return y?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:m,m:T,mm:m,h:T,hh:m,d:T,dd:m,M:T,MM:m,y:T,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},85869:function(at,N,s){!function(n){"use strict";var a={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(m,T){return 1===m?T[0]:m>=2&&m<=4?T[1]:T[2]},translate:function(m,T,O){var D=a.words[O];return 1===O.length?T?D[0]:D[1]:m+" "+a.correctGrammaticalCase(m,D)}};n.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:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"dan",dd:a.translate,M:"mjesec",MM:a.translate,y:"godinu",yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(97586))},35881:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},92391:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10,T=g%100;return 0===g?g+"-\u0435\u0432":0===T?g+"-\u0435\u043d":T>10&&T<20?g+"-\u0442\u0438":1===m?g+"-\u0432\u0438":2===m?g+"-\u0440\u0438":7===m||8===m?g+"-\u043c\u0438":g+"-\u0442\u0438"},week:{dow:1,doy:7}})}(s(97586))},21126:function(at,N,s){!function(n){"use strict";n.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(g,m){return 12===g&&(g=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===m&&g>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===m||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===m?g+12:g},meridiem:function(g,m,T){return g<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":g<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":g<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":g<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(s(97586))},44892:function(at,N,s){!function(n){"use strict";function a(m,T,O,D){switch(O){case"s":return T?"\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 m+(T?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return m+(T?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return m+(T?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return m+(T?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return m+(T?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return m+(T?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return m}}n.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(m){return"\u04ae\u0425"===m},meridiem:function(m,T,O){return m<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:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(m,T){switch(T){case"d":case"D":case"DDD":return m+" \u04e9\u0434\u04e9\u0440";default:return m}}})}(s(97586))},59080:function(at,N,s){!function(n){"use strict";var a={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},g={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function m(O,D,E,y){var I="";if(D)switch(E){case"s":I="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":I="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":I="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":I="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":I="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":I="%d \u0924\u093e\u0938";break;case"d":I="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":I="%d \u0926\u093f\u0935\u0938";break;case"M":I="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":I="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":I="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":I="%d \u0935\u0930\u094d\u0937\u0947"}else switch(E){case"s":I="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":I="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":I="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":I="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":I="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":I="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":I="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":I="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":I="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":I="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":I="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":I="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return I.replace(/%d/i,O)}n.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:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},preparse:function(O){return O.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(D){return g[D]})},postformat:function(O){return O.replace(/\d/g,function(D){return a[D]})},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(O,D){return 12===O&&(O=0),"\u092a\u0939\u093e\u091f\u0947"===D||"\u0938\u0915\u093e\u0933\u0940"===D?O:"\u0926\u0941\u092a\u093e\u0930\u0940"===D||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===D||"\u0930\u093e\u0924\u094d\u0930\u0940"===D?O>=12?O:O+12:void 0},meridiem:function(O,D,E){return O>=0&&O<6?"\u092a\u0939\u093e\u091f\u0947":O<12?"\u0938\u0915\u093e\u0933\u0940":O<17?"\u0926\u0941\u092a\u093e\u0930\u0940":O<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(s(97586))},25950:function(at,N,s){!function(n){"use strict";n.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(g,m){return 12===g&&(g=0),"pagi"===m?g:"tengahari"===m?g>=11?g:g+12:"petang"===m||"malam"===m?g+12:void 0},meridiem:function(g,m,T){return g<11?"pagi":g<15?"tengahari":g<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}})}(s(97586))},70399:function(at,N,s){!function(n){"use strict";n.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(g,m){return 12===g&&(g=0),"pagi"===m?g:"tengahari"===m?g>=11?g:g+12:"petang"===m||"malam"===m?g+12:void 0},meridiem:function(g,m,T){return g<11?"pagi":g<15?"tengahari":g<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}})}(s(97586))},79902:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},72985:function(at,N,s){!function(n){"use strict";var a={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},g={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};n.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(T){return T.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(O){return g[O]})},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]})},week:{dow:1,doy:4}})}(s(97586))},67859:function(at,N,s){!function(n){"use strict";n.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:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},13642:function(at,N,s){!function(n){"use strict";var a={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},g={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};n.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(T){return T.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(O){return g[O]})},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(T,O){return 12===T&&(T=0),"\u0930\u093e\u0924\u093f"===O?T<4?T:T+12:"\u092c\u093f\u0939\u093e\u0928"===O?T:"\u0926\u093f\u0909\u0901\u0938\u094b"===O?T>=10?T:T+12:"\u0938\u093e\u0901\u091d"===O?T+12:void 0},meridiem:function(T,O,D){return T<3?"\u0930\u093e\u0924\u093f":T<12?"\u092c\u093f\u0939\u093e\u0928":T<16?"\u0926\u093f\u0909\u0901\u0938\u094b":T<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}})}(s(97586))},99875:function(at,N,s){!function(n){"use strict";var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),g="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),m=[/^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],T=/^(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;n.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(D,E){return D?/-MMM-/.test(E)?g[D.month()]:a[D.month()]:a},monthsRegex:T,monthsShortRegex:T,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:m,longMonthsParse:m,shortMonthsParse:m,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(D){return D+(1===D||8===D||D>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(97586))},65441:function(at,N,s){!function(n){"use strict";var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),g="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),m=[/^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],T=/^(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;n.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(D,E){return D?/-MMM-/.test(E)?g[D.month()]:a[D.month()]:a},monthsRegex:T,monthsShortRegex:T,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:m,longMonthsParse:m,shortMonthsParse:m,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(D){return D+(1===D||8===D||D>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(97586))},81311:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},72567:function(at,N,s){!function(n){"use strict";n.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(g,m){var T=1===g?"r":2===g?"n":3===g?"r":4===g?"t":"\xe8";return("w"===m||"W"===m)&&(T="a"),g+T},week:{dow:1,doy:4}})}(s(97586))},56962:function(at,N,s){!function(n){"use strict";var a={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},g={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};n.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(T){return T.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(O){return g[O]})},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(T,O){return 12===T&&(T=0),"\u0a30\u0a3e\u0a24"===O?T<4?T:T+12:"\u0a38\u0a35\u0a47\u0a30"===O?T:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===O?T>=10?T:T+12:"\u0a38\u0a3c\u0a3e\u0a2e"===O?T+12:void 0},meridiem:function(T,O,D){return T<4?"\u0a30\u0a3e\u0a24":T<10?"\u0a38\u0a35\u0a47\u0a30":T<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":T<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(s(97586))},61063:function(at,N,s){!function(n){"use strict";var a="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),g="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),m=[/^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 T(E){return E%10<5&&E%10>1&&~~(E/10)%10!=1}function O(E,y,I){var b=E+" ";switch(I){case"ss":return b+(T(E)?"sekundy":"sekund");case"m":return y?"minuta":"minut\u0119";case"mm":return b+(T(E)?"minuty":"minut");case"h":return y?"godzina":"godzin\u0119";case"hh":return b+(T(E)?"godziny":"godzin");case"ww":return b+(T(E)?"tygodnie":"tygodni");case"MM":return b+(T(E)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return b+(T(E)?"lata":"lat")}}n.defineLocale("pl",{months:function(E,y){return E?/D MMMM/.test(y)?g[E.month()]:a[E.month()]:a},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:m,longMonthsParse:m,shortMonthsParse:m,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:O,m:O,mm:O,h:O,hh:O,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:O,M:"miesi\u0105c",MM:O,y:"rok",yy:O},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},97476:function(at,N,s){!function(n){"use strict";n.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"})}(s(97586))},78719:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},51004:function(at,N,s){!function(n){"use strict";function a(m,T,O){var E=" ";return(m%100>=20||m>=100&&m%100==0)&&(E=" de "),m+E+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[O]}n.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:a,m:"un minut",mm:a,h:"o or\u0103",hh:a,d:"o zi",dd:a,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:a,M:"o lun\u0103",MM:a,y:"un an",yy:a},week:{dow:1,doy:7}})}(s(97586))},51326:function(at,N,s){!function(n){"use strict";function g(O,D,E){return"m"===E?D?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":O+" "+function a(O,D){var E=O.split("_");return D%10==1&&D%100!=11?E[0]:D%10>=2&&D%10<=4&&(D%100<10||D%100>=20)?E[1]:E[2]}({ss:D?"\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:D?"\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"}[E],+O)}var m=[/^\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];n.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:m,longMonthsParse:m,shortMonthsParse:m,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(O){if(O.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(O){if(O.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:g,m:g,mm:g,h:"\u0447\u0430\u0441",hh:g,d:"\u0434\u0435\u043d\u044c",dd:g,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:g,M:"\u043c\u0435\u0441\u044f\u0446",MM:g,y:"\u0433\u043e\u0434",yy:g},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(O){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(O)},meridiem:function(O,D,E){return O<4?"\u043d\u043e\u0447\u0438":O<12?"\u0443\u0442\u0440\u0430":O<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(O,D){switch(D){case"M":case"d":case"DDD":return O+"-\u0439";case"D":return O+"-\u0433\u043e";case"w":case"W":return O+"-\u044f";default:return O}},week:{dow:1,doy:4}})}(s(97586))},72608:function(at,N,s){!function(n){"use strict";var a=["\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"],g=["\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"];n.defineLocale("sd",{months:a,monthsShort:a,weekdays:g,weekdaysShort:g,weekdaysMin:g,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(T){return"\u0634\u0627\u0645"===T},meridiem:function(T,O,D){return T<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(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(s(97586))},13911:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},25147:function(at,N,s){!function(n){"use strict";n.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(g){return g+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(g){return"\u0db4.\u0dc0."===g||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===g},meridiem:function(g,m,T){return g>11?T?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":T?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(s(97586))},23741:function(at,N,s){!function(n){"use strict";var a="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),g="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function m(D){return D>1&&D<5}function T(D,E,y,I){var b=D+" ";switch(y){case"s":return E||I?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return E||I?b+(m(D)?"sekundy":"sek\xfand"):b+"sekundami";case"m":return E?"min\xfata":I?"min\xfatu":"min\xfatou";case"mm":return E||I?b+(m(D)?"min\xfaty":"min\xfat"):b+"min\xfatami";case"h":return E?"hodina":I?"hodinu":"hodinou";case"hh":return E||I?b+(m(D)?"hodiny":"hod\xedn"):b+"hodinami";case"d":return E||I?"de\u0148":"d\u0148om";case"dd":return E||I?b+(m(D)?"dni":"dn\xed"):b+"d\u0148ami";case"M":return E||I?"mesiac":"mesiacom";case"MM":return E||I?b+(m(D)?"mesiace":"mesiacov"):b+"mesiacmi";case"y":return E||I?"rok":"rokom";case"yy":return E||I?b+(m(D)?"roky":"rokov"):b+"rokmi"}}n.defineLocale("sk",{months:a,monthsShort:g,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:T,ss:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},93e3:function(at,N,s){!function(n){"use strict";function a(m,T,O,D){var E=m+" ";switch(O){case"s":return T||D?"nekaj sekund":"nekaj sekundami";case"ss":return E+(1===m?T?"sekundo":"sekundi":2===m?T||D?"sekundi":"sekundah":m<5?T||D?"sekunde":"sekundah":"sekund");case"m":return T?"ena minuta":"eno minuto";case"mm":return E+(1===m?T?"minuta":"minuto":2===m?T||D?"minuti":"minutama":m<5?T||D?"minute":"minutami":T||D?"minut":"minutami");case"h":return T?"ena ura":"eno uro";case"hh":return E+(1===m?T?"ura":"uro":2===m?T||D?"uri":"urama":m<5?T||D?"ure":"urami":T||D?"ur":"urami");case"d":return T||D?"en dan":"enim dnem";case"dd":return E+(1===m?T||D?"dan":"dnem":2===m?T||D?"dni":"dnevoma":T||D?"dni":"dnevi");case"M":return T||D?"en mesec":"enim mesecem";case"MM":return E+(1===m?T||D?"mesec":"mesecem":2===m?T||D?"meseca":"mesecema":m<5?T||D?"mesece":"meseci":T||D?"mesecev":"meseci");case"y":return T||D?"eno leto":"enim letom";case"yy":return E+(1===m?T||D?"leto":"letom":2===m?T||D?"leti":"letoma":m<5?T||D?"leta":"leti":T||D?"let":"leti")}}n.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:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(97586))},60451:function(at,N,s){!function(n){"use strict";n.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(g){return"M"===g.charAt(0)},meridiem:function(g,m,T){return g<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}})}(s(97586))},40905:function(at,N,s){!function(n){"use strict";var a={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(m,T){return m%10>=1&&m%10<=4&&(m%100<10||m%100>=20)?m%10==1?T[0]:T[1]:T[2]},translate:function(m,T,O,D){var y,E=a.words[O];return 1===O.length?"y"===O&&T?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":D||T?E[0]:E[1]:(y=a.correctGrammaticalCase(m,E),"yy"===O&&T&&"\u0433\u043e\u0434\u0438\u043d\u0443"===y?m+" \u0433\u043e\u0434\u0438\u043d\u0430":m+" "+y)}};n.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:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:a.translate,dd:a.translate,M:a.translate,MM:a.translate,y:a.translate,yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(97586))},55046:function(at,N,s){!function(n){"use strict";var a={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(m,T){return m%10>=1&&m%10<=4&&(m%100<10||m%100>=20)?m%10==1?T[0]:T[1]:T[2]},translate:function(m,T,O,D){var y,E=a.words[O];return 1===O.length?"y"===O&&T?"jedna godina":D||T?E[0]:E[1]:(y=a.correctGrammaticalCase(m,E),"yy"===O&&T&&"godinu"===y?m+" godina":m+" "+y)}};n.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:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:a.translate,dd:a.translate,M:a.translate,MM:a.translate,y:a.translate,yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(97586))},85765:function(at,N,s){!function(n){"use strict";n.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(g,m,T){return g<11?"ekuseni":g<15?"emini":g<19?"entsambama":"ebusuku"},meridiemHour:function(g,m){return 12===g&&(g=0),"ekuseni"===m?g:"emini"===m?g>=11?g:g+12:"entsambama"===m||"ebusuku"===m?0===g?0:g+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(s(97586))},99290:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10;return g+(1==~~(g%100/10)?":e":1===m||2===m?":a":":e")},week:{dow:1,doy:4}})}(s(97586))},53449:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},72688:function(at,N,s){!function(n){"use strict";var a={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},g={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};n.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(T){return T+"\u0bb5\u0ba4\u0bc1"},preparse:function(T){return T.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(O){return g[O]})},postformat:function(T){return T.replace(/\d/g,function(O){return a[O]})},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(T,O,D){return T<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":T<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":T<10?" \u0b95\u0bbe\u0bb2\u0bc8":T<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":T<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":T<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(T,O){return 12===T&&(T=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===O?T<2?T:T+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===O||"\u0b95\u0bbe\u0bb2\u0bc8"===O||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===O&&T>=10?T:T+12},week:{dow:0,doy:6}})}(s(97586))},32060:function(at,N,s){!function(n){"use strict";n.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(g,m){return 12===g&&(g=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===m?g<4?g:g+12:"\u0c09\u0c26\u0c2f\u0c02"===m?g:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===m?g>=10?g:g+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===m?g+12:void 0},meridiem:function(g,m,T){return g<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":g<10?"\u0c09\u0c26\u0c2f\u0c02":g<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":g<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(s(97586))},93290:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10;return g+(1==~~(g%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:1,doy:4}})}(s(97586))},8294:function(at,N,s){!function(n){"use strict";var a={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"};n.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(m,T){return 12===m&&(m=0),"\u0448\u0430\u0431"===T?m<4?m:m+12:"\u0441\u0443\u0431\u04b3"===T?m:"\u0440\u04ef\u0437"===T?m>=11?m:m+12:"\u0431\u0435\u0433\u043e\u04b3"===T?m+12:void 0},meridiem:function(m,T,O){return m<4?"\u0448\u0430\u0431":m<11?"\u0441\u0443\u0431\u04b3":m<16?"\u0440\u04ef\u0437":m<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(m){return m+(a[m]||a[m%10]||a[m>=100?100:null])},week:{dow:1,doy:7}})}(s(97586))},1231:function(at,N,s){!function(n){"use strict";n.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(g){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===g},meridiem:function(g,m,T){return g<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"}})}(s(97586))},3746:function(at,N,s){!function(n){"use strict";var a={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"};n.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(m,T){switch(T){case"d":case"D":case"Do":case"DD":return m;default:if(0===m)return m+"'unjy";var O=m%10;return m+(a[O]||a[m%100-O]||a[m>=100?100:null])}},week:{dow:1,doy:7}})}(s(97586))},49040:function(at,N,s){!function(n){"use strict";n.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(g){return g},week:{dow:1,doy:4}})}(s(97586))},17187:function(at,N,s){!function(n){"use strict";var a="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function T(E,y,I,b){var L=function O(E){var y=Math.floor(E%1e3/100),I=Math.floor(E%100/10),b=E%10,L="";return y>0&&(L+=a[y]+"vatlh"),I>0&&(L+=(""!==L?" ":"")+a[I]+"maH"),b>0&&(L+=(""!==L?" ":"")+a[b]),""===L?"pagh":L}(E);switch(I){case"ss":return L+" lup";case"mm":return L+" tup";case"hh":return L+" rep";case"dd":return L+" jaj";case"MM":return L+" jar";case"yy":return L+" DIS"}}n.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 g(E){var y=E;return-1!==E.indexOf("jaj")?y.slice(0,-3)+"leS":-1!==E.indexOf("jar")?y.slice(0,-3)+"waQ":-1!==E.indexOf("DIS")?y.slice(0,-3)+"nem":y+" pIq"},past:function m(E){var y=E;return-1!==E.indexOf("jaj")?y.slice(0,-3)+"Hu\u2019":-1!==E.indexOf("jar")?y.slice(0,-3)+"wen":-1!==E.indexOf("DIS")?y.slice(0,-3)+"ben":y+" ret"},s:"puS lup",ss:T,m:"wa\u2019 tup",mm:T,h:"wa\u2019 rep",hh:T,d:"wa\u2019 jaj",dd:T,M:"wa\u2019 jar",MM:T,y:"wa\u2019 DIS",yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},60153:function(at,N,s){!function(n){"use strict";var a={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"};n.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(m,T,O){return m<12?O?"\xf6\xf6":"\xd6\xd6":O?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(m){return"\xf6s"===m||"\xd6S"===m},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(m,T){switch(T){case"d":case"D":case"Do":case"DD":return m;default:if(0===m)return m+"'\u0131nc\u0131";var O=m%10;return m+(a[O]||a[m%100-O]||a[m>=100?100:null])}},week:{dow:1,doy:7}})}(s(97586))},88521:function(at,N,s){!function(n){"use strict";function g(m,T,O,D){var E={s:["viensas secunds","'iensas secunds"],ss:[m+" secunds",m+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[m+" m\xeduts",m+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[m+" \xfeoras",m+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[m+" ziuas",m+" ziuas"],M:["'n mes","'iens mes"],MM:[m+" mesen",m+" mesen"],y:["'n ar","'iens ar"],yy:[m+" ars",m+" ars"]};return D||T?E[O][0]:E[O][1]}n.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(m){return"d'o"===m.toLowerCase()},meridiem:function(m,T,O){return m>11?O?"d'o":"D'O":O?"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:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(97586))},22234:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},18010:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},63349:function(at,N,s){!function(n){"use strict";n.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(g,m){return 12===g&&(g=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===m||"\u0633\u06d5\u06be\u06d5\u0631"===m||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===m?g:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===m||"\u0643\u06d5\u0686"===m?g+12:g>=11?g:g+12},meridiem:function(g,m,T){var O=100*g+m;return O<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":O<900?"\u0633\u06d5\u06be\u06d5\u0631":O<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":O<1230?"\u0686\u06c8\u0634":O<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(g,m){switch(m){case"d":case"D":case"DDD":return g+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return g+"-\u06be\u06d5\u067e\u062a\u06d5";default:return g}},preparse:function(g){return g.replace(/\u060c/g,",")},postformat:function(g){return g.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(s(97586))},68479:function(at,N,s){!function(n){"use strict";function g(D,E,y){return"m"===y?E?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===y?E?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":D+" "+function a(D,E){var y=D.split("_");return E%10==1&&E%100!=11?y[0]:E%10>=2&&E%10<=4&&(E%100<10||E%100>=20)?y[1]:y[2]}({ss:E?"\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:E?"\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:E?"\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"}[y],+D)}function T(D){return function(){return D+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}n.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 m(D,E){var y={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===D?y.nominative.slice(1,7).concat(y.nominative.slice(0,1)):D?y[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(E)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(E)?"genitive":"nominative"][D.day()]:y.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:T("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:T("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:T("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:T("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return T("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return T("[\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:g,m:g,mm:g,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:g,d:"\u0434\u0435\u043d\u044c",dd:g,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:g,y:"\u0440\u0456\u043a",yy:g},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(D){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(D)},meridiem:function(D,E,y){return D<4?"\u043d\u043e\u0447\u0456":D<12?"\u0440\u0430\u043d\u043a\u0443":D<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(D,E){switch(E){case"M":case"d":case"DDD":case"w":case"W":return D+"-\u0439";case"D":return D+"-\u0433\u043e";default:return D}},week:{dow:1,doy:7}})}(s(97586))},43024:function(at,N,s){!function(n){"use strict";var a=["\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"],g=["\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"];n.defineLocale("ur",{months:a,monthsShort:a,weekdays:g,weekdaysShort:g,weekdaysMin:g,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(T){return"\u0634\u0627\u0645"===T},meridiem:function(T,O,D){return T<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(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(s(97586))},72376:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},19800:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},89366:function(at,N,s){!function(n){"use strict";n.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(g){return/^ch$/i.test(g)},meridiem:function(g,m,T){return g<12?T?"sa":"SA":T?"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(g){return g},week:{dow:1,doy:4}})}(s(97586))},69702:function(at,N,s){!function(n){"use strict";n.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(g){var m=g%10;return g+(1==~~(g%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:1,doy:4}})}(s(97586))},72655:function(at,N,s){!function(n){"use strict";n.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}})}(s(97586))},575:function(at,N,s){!function(n){"use strict";n.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(g,m){return 12===g&&(g=0),"\u51cc\u6668"===m||"\u65e9\u4e0a"===m||"\u4e0a\u5348"===m?g:"\u4e0b\u5348"===m||"\u665a\u4e0a"===m?g+12:g>=11?g:g+12},meridiem:function(g,m,T){var O=100*g+m;return O<600?"\u51cc\u6668":O<900?"\u65e9\u4e0a":O<1130?"\u4e0a\u5348":O<1230?"\u4e2d\u5348":O<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(g){return g.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(g){return this.week()!==g.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(g,m){switch(m){case"d":case"D":case"DDD":return g+"\u65e5";case"M":return g+"\u6708";case"w":case"W":return g+"\u5468";default:return g}},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}})}(s(97586))},18351:function(at,N,s){!function(n){"use strict";n.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(g,m){return 12===g&&(g=0),"\u51cc\u6668"===m||"\u65e9\u4e0a"===m||"\u4e0a\u5348"===m?g:"\u4e2d\u5348"===m?g>=11?g:g+12:"\u4e0b\u5348"===m||"\u665a\u4e0a"===m?g+12:void 0},meridiem:function(g,m,T){var O=100*g+m;return O<600?"\u51cc\u6668":O<900?"\u65e9\u4e0a":O<1200?"\u4e0a\u5348":1200===O?"\u4e2d\u5348":O<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(g,m){switch(m){case"d":case"D":case"DDD":return g+"\u65e5";case"M":return g+"\u6708";case"w":case"W":return g+"\u9031";default:return g}},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"}})}(s(97586))},51626:function(at,N,s){!function(n){"use strict";n.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(g,m){return 12===g&&(g=0),"\u51cc\u6668"===m||"\u65e9\u4e0a"===m||"\u4e0a\u5348"===m?g:"\u4e2d\u5348"===m?g>=11?g:g+12:"\u4e0b\u5348"===m||"\u665a\u4e0a"===m?g+12:void 0},meridiem:function(g,m,T){var O=100*g+m;return O<600?"\u51cc\u6668":O<900?"\u65e9\u4e0a":O<1130?"\u4e0a\u5348":O<1230?"\u4e2d\u5348":O<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(g,m){switch(m){case"d":case"D":case"DDD":return g+"\u65e5";case"M":return g+"\u6708";case"w":case"W":return g+"\u9031";default:return g}},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"}})}(s(97586))},8887:function(at,N,s){!function(n){"use strict";n.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(g,m){return 12===g&&(g=0),"\u51cc\u6668"===m||"\u65e9\u4e0a"===m||"\u4e0a\u5348"===m?g:"\u4e2d\u5348"===m?g>=11?g:g+12:"\u4e0b\u5348"===m||"\u665a\u4e0a"===m?g+12:void 0},meridiem:function(g,m,T){var O=100*g+m;return O<600?"\u51cc\u6668":O<900?"\u65e9\u4e0a":O<1130?"\u4e0a\u5348":O<1230?"\u4e2d\u5348":O<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(g,m){switch(m){case"d":case"D":case"DDD":return g+"\u65e5";case"M":return g+"\u6708";case"w":case"W":return g+"\u9031";default:return g}},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"}})}(s(97586))},97586:function(at,N,s){(at=s.nmd(at)).exports=function(){"use strict";var n,M;function a(){return n.apply(null,arguments)}function m(he){return he instanceof Array||"[object Array]"===Object.prototype.toString.call(he)}function T(he){return null!=he&&"[object Object]"===Object.prototype.toString.call(he)}function O(he,xe){return Object.prototype.hasOwnProperty.call(he,xe)}function D(he){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(he).length;var xe;for(xe in he)if(O(he,xe))return!1;return!0}function E(he){return void 0===he}function y(he){return"number"==typeof he||"[object Number]"===Object.prototype.toString.call(he)}function I(he){return he instanceof Date||"[object Date]"===Object.prototype.toString.call(he)}function b(he,xe){var Ft,Et=[],Sn=he.length;for(Ft=0;Ft<Sn;++Ft)Et.push(xe(he[Ft],Ft));return Et}function L(he,xe){for(var Et in xe)O(xe,Et)&&(he[Et]=xe[Et]);return O(xe,"toString")&&(he.toString=xe.toString),O(xe,"valueOf")&&(he.valueOf=xe.valueOf),he}function o(he,xe,Et,Ft){return tn(he,xe,Et,Ft,!0).utc()}function w(he){return null==he._pf&&(he._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),he._pf}function q(he){var xe=null,Et=!1,Ft=he._d&&!isNaN(he._d.getTime());return Ft&&(xe=w(he),Et=M.call(xe.parsedDateParts,function(Sn){return null!=Sn}),Ft=xe.overflow<0&&!xe.empty&&!xe.invalidEra&&!xe.invalidMonth&&!xe.invalidWeekday&&!xe.weekdayMismatch&&!xe.nullInput&&!xe.invalidFormat&&!xe.userInvalidated&&(!xe.meridiem||xe.meridiem&&Et),he._strict&&(Ft=Ft&&0===xe.charsLeftOver&&0===xe.unusedTokens.length&&void 0===xe.bigHour)),null!=Object.isFrozen&&Object.isFrozen(he)?Ft:(he._isValid=Ft,he._isValid)}function z(he){var xe=o(NaN);return null!=he?L(w(xe),he):w(xe).userInvalidated=!0,xe}M=Array.prototype.some?Array.prototype.some:function(he){var Ft,xe=Object(this),Et=xe.length>>>0;for(Ft=0;Ft<Et;Ft++)if(Ft in xe&&he.call(this,xe[Ft],Ft,xe))return!0;return!1};var F=a.momentProperties=[],U=!1;function k(he,xe){var Et,Ft,Sn,_i=F.length;if(E(xe._isAMomentObject)||(he._isAMomentObject=xe._isAMomentObject),E(xe._i)||(he._i=xe._i),E(xe._f)||(he._f=xe._f),E(xe._l)||(he._l=xe._l),E(xe._strict)||(he._strict=xe._strict),E(xe._tzm)||(he._tzm=xe._tzm),E(xe._isUTC)||(he._isUTC=xe._isUTC),E(xe._offset)||(he._offset=xe._offset),E(xe._pf)||(he._pf=w(xe)),E(xe._locale)||(he._locale=xe._locale),_i>0)for(Et=0;Et<_i;Et++)E(Sn=xe[Ft=F[Et]])||(he[Ft]=Sn);return he}function Y(he){k(this,he),this._d=new Date(null!=he._d?he._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===U&&(U=!0,a.updateOffset(this),U=!1)}function x(he){return he instanceof Y||null!=he&&null!=he._isAMomentObject}function B(he){!1===a.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+he)}function j(he,xe){var Et=!0;return L(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,he),Et){var Sn,_i,Yi,Ft=[],Bs=arguments.length;for(_i=0;_i<Bs;_i++){if(Sn="","object"==typeof arguments[_i]){for(Yi in Sn+="\n["+_i+"] ",arguments[0])O(arguments[0],Yi)&&(Sn+=Yi+": "+arguments[0][Yi]+", ");Sn=Sn.slice(0,-2)}else Sn=arguments[_i];Ft.push(Sn)}B(he+"\nArguments: "+Array.prototype.slice.call(Ft).join("")+"\n"+(new Error).stack),Et=!1}return xe.apply(this,arguments)},xe)}var pe,$={};function H(he,xe){null!=a.deprecationHandler&&a.deprecationHandler(he,xe),$[he]||(B(xe),$[he]=!0)}function ie(he){return typeof Function<"u"&&he instanceof Function||"[object Function]"===Object.prototype.toString.call(he)}function Q(he,xe){var Ft,Et=L({},he);for(Ft in xe)O(xe,Ft)&&(T(he[Ft])&&T(xe[Ft])?(Et[Ft]={},L(Et[Ft],he[Ft]),L(Et[Ft],xe[Ft])):null!=xe[Ft]?Et[Ft]=xe[Ft]:delete Et[Ft]);for(Ft in he)O(he,Ft)&&!O(xe,Ft)&&T(he[Ft])&&(Et[Ft]=L({},Et[Ft]));return Et}function le(he){null!=he&&this.set(he)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,pe=Object.keys?Object.keys:function(he){var xe,Et=[];for(xe in he)O(he,xe)&&Et.push(xe);return Et};function K(he,xe,Et){var Ft=""+Math.abs(he);return(he>=0?Et?"+":"":"-")+Math.pow(10,Math.max(0,xe-Ft.length)).toString().substr(1)+Ft}var de=/(\[[^\[]*\])|(\\)?([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,Me=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,me={},be={};function Le(he,xe,Et,Ft){var Sn=Ft;"string"==typeof Ft&&(Sn=function(){return this[Ft]()}),he&&(be[he]=Sn),xe&&(be[xe[0]]=function(){return K(Sn.apply(this,arguments),xe[1],xe[2])}),Et&&(be[Et]=function(){return this.localeData().ordinal(Sn.apply(this,arguments),he)})}function Ae(he){return he.match(/\[[\s\S]/)?he.replace(/^\[|\]$/g,""):he.replace(/\\/g,"")}function Xe(he,xe){return he.isValid()?(xe=Pe(xe,he.localeData()),me[xe]=me[xe]||function Oe(he){var Et,Ft,xe=he.match(de);for(Et=0,Ft=xe.length;Et<Ft;Et++)xe[Et]=be[xe[Et]]?be[xe[Et]]:Ae(xe[Et]);return function(Sn){var Yi,_i="";for(Yi=0;Yi<Ft;Yi++)_i+=ie(xe[Yi])?xe[Yi].call(Sn,he):xe[Yi];return _i}}(xe),me[xe](he)):he.localeData().invalidDate()}function Pe(he,xe){var Et=5;function Ft(Sn){return xe.longDateFormat(Sn)||Sn}for(Me.lastIndex=0;Et>=0&&Me.test(he);)he=he.replace(Me,Ft),Me.lastIndex=0,Et-=1;return he}var Se={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ke(he){return"string"==typeof he?Se[he]||Se[he.toLowerCase()]:void 0}function Ne(he){var Et,Ft,xe={};for(Ft in he)O(he,Ft)&&(Et=ke(Ft))&&(xe[Et]=he[Ft]);return xe}var Je={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var ci,rt=/\d/,ft=/\d\d/,Xt=/\d{3}/,It=/\d{4}/,In=/[+-]?\d{6}/,Kt=/\d\d?/,Ze=/\d\d\d\d?/,wn=/\d\d\d\d\d\d?/,zn=/\d{1,3}/,di=/\d{1,4}/,jn=/[+-]?\d{1,6}/,Di=/\d+/,Li=/[+-]?\d+/,ms=/Z|[+-]\d\d:?\d\d/gi,Rn=/Z|[+-]\d\d(?::?\d\d)?/gi,Wt=/[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,Yt=/^[1-9]\d?/,Mn=/^([1-9]\d|\d)/;function Ue(he,xe,Et){ci[he]=ie(xe)?xe:function(Ft,Sn){return Ft&&Et?Et:xe}}function Un(he,xe){return O(ci,he)?ci[he](xe._strict,xe._locale):new RegExp(function _n(he){return Xn(he.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(xe,Et,Ft,Sn,_i){return Et||Ft||Sn||_i}))}(he))}function Xn(he){return he.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ii(he){return he<0?Math.ceil(he)||0:Math.floor(he)}function En(he){var xe=+he,Et=0;return 0!==xe&&isFinite(xe)&&(Et=Ii(xe)),Et}ci={};var ln={};function Dn(he,xe){var Et,Sn,Ft=xe;for("string"==typeof he&&(he=[he]),y(xe)&&(Ft=function(_i,Yi){Yi[xe]=En(_i)}),Sn=he.length,Et=0;Et<Sn;Et++)ln[he[Et]]=Ft}function Ai(he,xe){Dn(he,function(Et,Ft,Sn,_i){Sn._w=Sn._w||{},xe(Et,Sn._w,Sn,_i)})}function os(he,xe,Et){null!=xe&&O(ln,he)&&ln[he](xe,Et._a,Et,he)}function Fs(he){return he%4==0&&he%100!=0||he%400==0}var sn=0,oi=1,pt=2,cn=3,Tn=4,vi=5,ui=6,$i=7,Nn=8;function Hn(he){return Fs(he)?366:365}Le("Y",0,0,function(){var he=this.year();return he<=9999?K(he,4):"+"+he}),Le(0,["YY",2],0,function(){return this.year()%100}),Le(0,["YYYY",4],0,"year"),Le(0,["YYYYY",5],0,"year"),Le(0,["YYYYYY",6,!0],0,"year"),Ue("Y",Li),Ue("YY",Kt,ft),Ue("YYYY",di,It),Ue("YYYYY",jn,In),Ue("YYYYYY",jn,In),Dn(["YYYYY","YYYYYY"],sn),Dn("YYYY",function(he,xe){xe[sn]=2===he.length?a.parseTwoDigitYear(he):En(he)}),Dn("YY",function(he,xe){xe[sn]=a.parseTwoDigitYear(he)}),Dn("Y",function(he,xe){xe[sn]=parseInt(he,10)}),a.parseTwoDigitYear=function(he){return En(he)+(En(he)>68?1900:2e3)};var hn,Qn=li("FullYear",!0);function li(he,xe){return function(Et){return null!=Et?(ei(this,he,Et),a.updateOffset(this,xe),this):Fi(this,he)}}function Fi(he,xe){if(!he.isValid())return NaN;var Et=he._d,Ft=he._isUTC;switch(xe){case"Milliseconds":return Ft?Et.getUTCMilliseconds():Et.getMilliseconds();case"Seconds":return Ft?Et.getUTCSeconds():Et.getSeconds();case"Minutes":return Ft?Et.getUTCMinutes():Et.getMinutes();case"Hours":return Ft?Et.getUTCHours():Et.getHours();case"Date":return Ft?Et.getUTCDate():Et.getDate();case"Day":return Ft?Et.getUTCDay():Et.getDay();case"Month":return Ft?Et.getUTCMonth():Et.getMonth();case"FullYear":return Ft?Et.getUTCFullYear():Et.getFullYear();default:return NaN}}function ei(he,xe,Et){var Ft,Sn,_i,Yi,Bs;if(he.isValid()&&!isNaN(Et)){switch(Ft=he._d,Sn=he._isUTC,xe){case"Milliseconds":return void(Sn?Ft.setUTCMilliseconds(Et):Ft.setMilliseconds(Et));case"Seconds":return void(Sn?Ft.setUTCSeconds(Et):Ft.setSeconds(Et));case"Minutes":return void(Sn?Ft.setUTCMinutes(Et):Ft.setMinutes(Et));case"Hours":return void(Sn?Ft.setUTCHours(Et):Ft.setHours(Et));case"Date":return void(Sn?Ft.setUTCDate(Et):Ft.setDate(Et));case"FullYear":break;default:return}_i=Et,Yi=he.month(),Bs=29!==(Bs=he.date())||1!==Yi||Fs(_i)?Bs:28,Sn?Ft.setUTCFullYear(_i,Yi,Bs):Ft.setFullYear(_i,Yi,Bs)}}function Bn(he,xe){if(isNaN(he)||isNaN(xe))return NaN;var Et=function yn(he,xe){return(he%xe+xe)%xe}(xe,12);return he+=(xe-Et)/12,1===Et?Fs(he)?29:28:31-Et%7%2}hn=Array.prototype.indexOf?Array.prototype.indexOf:function(he){var xe;for(xe=0;xe<this.length;++xe)if(this[xe]===he)return xe;return-1},Le("M",["MM",2],"Mo",function(){return this.month()+1}),Le("MMM",0,0,function(he){return this.localeData().monthsShort(this,he)}),Le("MMMM",0,0,function(he){return this.localeData().months(this,he)}),Ue("M",Kt,Yt),Ue("MM",Kt,ft),Ue("MMM",function(he,xe){return xe.monthsShortRegex(he)}),Ue("MMMM",function(he,xe){return xe.monthsRegex(he)}),Dn(["M","MM"],function(he,xe){xe[oi]=En(he)-1}),Dn(["MMM","MMMM"],function(he,xe,Et,Ft){var Sn=Et._locale.monthsParse(he,Ft,Et._strict);null!=Sn?xe[oi]=Sn:w(Et).invalidMonth=he});var mi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),wi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Si=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Cn=Wt,ut=Wt;function Rt(he,xe,Et){var Ft,Sn,_i,Yi=he.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],Ft=0;Ft<12;++Ft)_i=o([2e3,Ft]),this._shortMonthsParse[Ft]=this.monthsShort(_i,"").toLocaleLowerCase(),this._longMonthsParse[Ft]=this.months(_i,"").toLocaleLowerCase();return Et?"MMM"===xe?-1!==(Sn=hn.call(this._shortMonthsParse,Yi))?Sn:null:-1!==(Sn=hn.call(this._longMonthsParse,Yi))?Sn:null:"MMM"===xe?-1!==(Sn=hn.call(this._shortMonthsParse,Yi))||-1!==(Sn=hn.call(this._longMonthsParse,Yi))?Sn:null:-1!==(Sn=hn.call(this._longMonthsParse,Yi))||-1!==(Sn=hn.call(this._shortMonthsParse,Yi))?Sn:null}function He(he,xe){if(!he.isValid())return he;if("string"==typeof xe)if(/^\d+$/.test(xe))xe=En(xe);else if(!y(xe=he.localeData().monthsParse(xe)))return he;var Et=xe,Ft=he.date();return Ft=Ft<29?Ft:Math.min(Ft,Bn(he.year(),Et)),he._isUTC?he._d.setUTCMonth(Et,Ft):he._d.setMonth(Et,Ft),he}function fe(he){return null!=he?(He(this,he),a.updateOffset(this,!0),this):Fi(this,"Month")}function Jn(){function he(Ds,ho){return ho.length-Ds.length}var Sn,_i,Yi,Bs,xe=[],Et=[],Ft=[];for(Sn=0;Sn<12;Sn++)_i=o([2e3,Sn]),Yi=Xn(this.monthsShort(_i,"")),Bs=Xn(this.months(_i,"")),xe.push(Yi),Et.push(Bs),Ft.push(Bs),Ft.push(Yi);xe.sort(he),Et.sort(he),Ft.sort(he),this._monthsRegex=new RegExp("^("+Ft.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+Et.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+xe.join("|")+")","i")}function Oi(he,xe,Et,Ft,Sn,_i,Yi){var Bs;return he<100&&he>=0?(Bs=new Date(he+400,xe,Et,Ft,Sn,_i,Yi),isFinite(Bs.getFullYear())&&Bs.setFullYear(he)):Bs=new Date(he,xe,Et,Ft,Sn,_i,Yi),Bs}function Ci(he){var xe,Et;return he<100&&he>=0?((Et=Array.prototype.slice.call(arguments))[0]=he+400,xe=new Date(Date.UTC.apply(null,Et)),isFinite(xe.getUTCFullYear())&&xe.setUTCFullYear(he)):xe=new Date(Date.UTC.apply(null,arguments)),xe}function Ui(he,xe,Et){var Ft=7+xe-Et;return-(7+Ci(he,0,Ft).getUTCDay()-xe)%7+Ft-1}function ps(he,xe,Et,Ft,Sn){var Ds,ho,Bs=1+7*(xe-1)+(7+Et-Ft)%7+Ui(he,Ft,Sn);return Bs<=0?ho=Hn(Ds=he-1)+Bs:Bs>Hn(he)?(Ds=he+1,ho=Bs-Hn(he)):(Ds=he,ho=Bs),{year:Ds,dayOfYear:ho}}function Ji(he,xe,Et){var _i,Yi,Ft=Ui(he.year(),xe,Et),Sn=Math.floor((he.dayOfYear()-Ft-1)/7)+1;return Sn<1?_i=Sn+_s(Yi=he.year()-1,xe,Et):Sn>_s(he.year(),xe,Et)?(_i=Sn-_s(he.year(),xe,Et),Yi=he.year()+1):(Yi=he.year(),_i=Sn),{week:_i,year:Yi}}function _s(he,xe,Et){var Ft=Ui(he,xe,Et),Sn=Ui(he+1,xe,Et);return(Hn(he)-Ft+Sn)/7}Le("w",["ww",2],"wo","week"),Le("W",["WW",2],"Wo","isoWeek"),Ue("w",Kt,Yt),Ue("ww",Kt,ft),Ue("W",Kt,Yt),Ue("WW",Kt,ft),Ai(["w","ww","W","WW"],function(he,xe,Et,Ft){xe[Ft.substr(0,1)]=En(he)});function zr(he,xe){return he.slice(xe,7).concat(he.slice(0,xe))}Le("d",0,"do","day"),Le("dd",0,0,function(he){return this.localeData().weekdaysMin(this,he)}),Le("ddd",0,0,function(he){return this.localeData().weekdaysShort(this,he)}),Le("dddd",0,0,function(he){return this.localeData().weekdays(this,he)}),Le("e",0,0,"weekday"),Le("E",0,0,"isoWeekday"),Ue("d",Kt),Ue("e",Kt),Ue("E",Kt),Ue("dd",function(he,xe){return xe.weekdaysMinRegex(he)}),Ue("ddd",function(he,xe){return xe.weekdaysShortRegex(he)}),Ue("dddd",function(he,xe){return xe.weekdaysRegex(he)}),Ai(["dd","ddd","dddd"],function(he,xe,Et,Ft){var Sn=Et._locale.weekdaysParse(he,Ft,Et._strict);null!=Sn?xe.d=Sn:w(Et).invalidWeekday=he}),Ai(["d","e","E"],function(he,xe,Et,Ft){xe[Ft]=En(he)});var Ea="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),A0="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),oa=Wt,bi=Wt,Po=Wt;function Ks(he,xe,Et){var Ft,Sn,_i,Yi=he.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Ft=0;Ft<7;++Ft)_i=o([2e3,1]).day(Ft),this._minWeekdaysParse[Ft]=this.weekdaysMin(_i,"").toLocaleLowerCase(),this._shortWeekdaysParse[Ft]=this.weekdaysShort(_i,"").toLocaleLowerCase(),this._weekdaysParse[Ft]=this.weekdays(_i,"").toLocaleLowerCase();return Et?"dddd"===xe?-1!==(Sn=hn.call(this._weekdaysParse,Yi))?Sn:null:"ddd"===xe?-1!==(Sn=hn.call(this._shortWeekdaysParse,Yi))?Sn:null:-1!==(Sn=hn.call(this._minWeekdaysParse,Yi))?Sn:null:"dddd"===xe?-1!==(Sn=hn.call(this._weekdaysParse,Yi))||-1!==(Sn=hn.call(this._shortWeekdaysParse,Yi))||-1!==(Sn=hn.call(this._minWeekdaysParse,Yi))?Sn:null:"ddd"===xe?-1!==(Sn=hn.call(this._shortWeekdaysParse,Yi))||-1!==(Sn=hn.call(this._weekdaysParse,Yi))||-1!==(Sn=hn.call(this._minWeekdaysParse,Yi))?Sn:null:-1!==(Sn=hn.call(this._minWeekdaysParse,Yi))||-1!==(Sn=hn.call(this._weekdaysParse,Yi))||-1!==(Sn=hn.call(this._shortWeekdaysParse,Yi))?Sn:null}function Sa(){function he(Aa,Ba){return Ba.length-Aa.length}var _i,Yi,Bs,Ds,ho,xe=[],Et=[],Ft=[],Sn=[];for(_i=0;_i<7;_i++)Yi=o([2e3,1]).day(_i),Bs=Xn(this.weekdaysMin(Yi,"")),Ds=Xn(this.weekdaysShort(Yi,"")),ho=Xn(this.weekdays(Yi,"")),xe.push(Bs),Et.push(Ds),Ft.push(ho),Sn.push(Bs),Sn.push(Ds),Sn.push(ho);xe.sort(he),Et.sort(he),Ft.sort(he),Sn.sort(he),this._weekdaysRegex=new RegExp("^("+Sn.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Ft.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Et.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+xe.join("|")+")","i")}function X1(){return this.hours()%12||12}function K1(he,xe){Le(he,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),xe)})}function Ga(he,xe){return xe._meridiemParse}Le("H",["HH",2],0,"hour"),Le("h",["hh",2],0,X1),Le("k",["kk",2],0,function _1(){return this.hours()||24}),Le("hmm",0,0,function(){return""+X1.apply(this)+K(this.minutes(),2)}),Le("hmmss",0,0,function(){return""+X1.apply(this)+K(this.minutes(),2)+K(this.seconds(),2)}),Le("Hmm",0,0,function(){return""+this.hours()+K(this.minutes(),2)}),Le("Hmmss",0,0,function(){return""+this.hours()+K(this.minutes(),2)+K(this.seconds(),2)}),K1("a",!0),K1("A",!1),Ue("a",Ga),Ue("A",Ga),Ue("H",Kt,Mn),Ue("h",Kt,Yt),Ue("k",Kt,Yt),Ue("HH",Kt,ft),Ue("hh",Kt,ft),Ue("kk",Kt,ft),Ue("hmm",Ze),Ue("hmmss",wn),Ue("Hmm",Ze),Ue("Hmmss",wn),Dn(["H","HH"],cn),Dn(["k","kk"],function(he,xe,Et){var Ft=En(he);xe[cn]=24===Ft?0:Ft}),Dn(["a","A"],function(he,xe,Et){Et._isPm=Et._locale.isPM(he),Et._meridiem=he}),Dn(["h","hh"],function(he,xe,Et){xe[cn]=En(he),w(Et).bigHour=!0}),Dn("hmm",function(he,xe,Et){var Ft=he.length-2;xe[cn]=En(he.substr(0,Ft)),xe[Tn]=En(he.substr(Ft)),w(Et).bigHour=!0}),Dn("hmmss",function(he,xe,Et){var Ft=he.length-4,Sn=he.length-2;xe[cn]=En(he.substr(0,Ft)),xe[Tn]=En(he.substr(Ft,2)),xe[vi]=En(he.substr(Sn)),w(Et).bigHour=!0}),Dn("Hmm",function(he,xe,Et){var Ft=he.length-2;xe[cn]=En(he.substr(0,Ft)),xe[Tn]=En(he.substr(Ft))}),Dn("Hmmss",function(he,xe,Et){var Ft=he.length-4,Sn=he.length-2;xe[cn]=En(he.substr(0,Ft)),xe[Tn]=En(he.substr(Ft,2)),xe[vi]=En(he.substr(Sn))});var Wa=li("Hours",!0);var Ao,p0={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:mi,monthsShort:wi,week:{dow:0,doy:6},weekdays:Ea,weekdaysMin:A0,weekdaysShort:Rr,meridiemParse:/[ap]\.?m?\.?/i},Tr={},Ta={};function Da(he,xe){var Et,Ft=Math.min(he.length,xe.length);for(Et=0;Et<Ft;Et+=1)if(he[Et]!==xe[Et])return Et;return Ft}function y0(he){return he&&he.toLowerCase().replace("_","-")}function Ia(he){var xe=null;if(void 0===Tr[he]&&at&&at.exports&&function Lr(he){return!(!he||!he.match("^[^/\\\\]*$"))}(he))try{xe=Ao._abbr,s(35358)("./"+he),Vs(xe)}catch{Tr[he]=null}return Tr[he]}function Vs(he,xe){var Et;return he&&((Et=E(xe)?Zr(he):Ar(he,xe))?Ao=Et:typeof console<"u"&&console.warn&&console.warn("Locale "+he+" not found. Did you forget to load it?")),Ao._abbr}function Ar(he,xe){if(null!==xe){var Et,Ft=p0;if(xe.abbr=he,null!=Tr[he])H("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),Ft=Tr[he]._config;else if(null!=xe.parentLocale)if(null!=Tr[xe.parentLocale])Ft=Tr[xe.parentLocale]._config;else{if(null==(Et=Ia(xe.parentLocale)))return Ta[xe.parentLocale]||(Ta[xe.parentLocale]=[]),Ta[xe.parentLocale].push({name:he,config:xe}),null;Ft=Et._config}return Tr[he]=new le(Q(Ft,xe)),Ta[he]&&Ta[he].forEach(function(Sn){Ar(Sn.name,Sn.config)}),Vs(he),Tr[he]}return delete Tr[he],null}function Zr(he){var xe;if(he&&he._locale&&he._locale._abbr&&(he=he._locale._abbr),!he)return Ao;if(!m(he)){if(xe=Ia(he))return xe;he=[he]}return function ma(he){for(var Et,Ft,Sn,_i,xe=0;xe<he.length;){for(Et=(_i=y0(he[xe]).split("-")).length,Ft=(Ft=y0(he[xe+1]))?Ft.split("-"):null;Et>0;){if(Sn=Ia(_i.slice(0,Et).join("-")))return Sn;if(Ft&&Ft.length>=Et&&Da(_i,Ft)>=Et-1)break;Et--}xe++}return Ao}(he)}function Co(he){var xe,Et=he._a;return Et&&-2===w(he).overflow&&(xe=Et[oi]<0||Et[oi]>11?oi:Et[pt]<1||Et[pt]>Bn(Et[sn],Et[oi])?pt:Et[cn]<0||Et[cn]>24||24===Et[cn]&&(0!==Et[Tn]||0!==Et[vi]||0!==Et[ui])?cn:Et[Tn]<0||Et[Tn]>59?Tn:Et[vi]<0||Et[vi]>59?vi:Et[ui]<0||Et[ui]>999?ui:-1,w(he)._overflowDayOfYear&&(xe<sn||xe>pt)&&(xe=pt),w(he)._overflowWeeks&&-1===xe&&(xe=$i),w(he)._overflowWeekday&&-1===xe&&(xe=Nn),w(he).overflow=xe),he}var Ka=/^\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)?)?$/,tr=/^\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)?)?$/,yr=/Z|[+-]\d\d(?::?\d\d)?/,kr=[["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]],Uo=[["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/]],sr=/^\/?Date\((-?\d+)/i,J1=/^(?:(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}))$/,uo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dl(he){var xe,Et,_i,Yi,Bs,Ds,Ft=he._i,Sn=Ka.exec(Ft)||tr.exec(Ft),ho=kr.length,Aa=Uo.length;if(Sn){for(w(he).iso=!0,xe=0,Et=ho;xe<Et;xe++)if(kr[xe][1].exec(Sn[1])){Yi=kr[xe][0],_i=!1!==kr[xe][2];break}if(null==Yi)return void(he._isValid=!1);if(Sn[3]){for(xe=0,Et=Aa;xe<Et;xe++)if(Uo[xe][1].exec(Sn[3])){Bs=(Sn[2]||" ")+Uo[xe][0];break}if(null==Bs)return void(he._isValid=!1)}if(!_i&&null!=Bs)return void(he._isValid=!1);if(Sn[4]){if(!yr.exec(Sn[4]))return void(he._isValid=!1);Ds="Z"}he._f=Yi+(Bs||"")+(Ds||""),W1(he)}else he._isValid=!1}function vl(he){var xe=parseInt(he,10);return xe<=49?2e3+xe:xe<=999?1900+xe:xe}function ra(he){var Et,xe=J1.exec(function ea(he){return he.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(he._i));if(xe){if(Et=function mo(he,xe,Et,Ft,Sn,_i){var Yi=[vl(he),wi.indexOf(xe),parseInt(Et,10),parseInt(Ft,10),parseInt(Sn,10)];return _i&&Yi.push(parseInt(_i,10)),Yi}(xe[4],xe[3],xe[2],xe[5],xe[6],xe[7]),!function Nr(he,xe,Et){return!he||Rr.indexOf(he)===new Date(xe[0],xe[1],xe[2]).getDay()||(w(Et).weekdayMismatch=!0,Et._isValid=!1,!1)}(xe[1],Et,he))return;he._a=Et,he._tzm=function Pl(he,xe,Et){if(he)return uo[he];if(xe)return 0;var Ft=parseInt(Et,10),Sn=Ft%100;return(Ft-Sn)/100*60+Sn}(xe[8],xe[9],xe[10]),he._d=Ci.apply(null,he._a),he._d.setUTCMinutes(he._d.getUTCMinutes()-he._tzm),w(he).rfc2822=!0}else he._isValid=!1}function g1(he,xe,Et){return he??xe??Et}function Dr(he){var xe,Et,Sn,_i,Yi,Ft=[];if(!he._d){for(Sn=function hc(he){var xe=new Date(a.now());return he._useUTC?[xe.getUTCFullYear(),xe.getUTCMonth(),xe.getUTCDate()]:[xe.getFullYear(),xe.getMonth(),xe.getDate()]}(he),he._w&&null==he._a[pt]&&null==he._a[oi]&&function Jo(he){var xe,Et,Ft,Sn,_i,Yi,Bs,Ds,ho;null!=(xe=he._w).GG||null!=xe.W||null!=xe.E?(_i=1,Yi=4,Et=g1(xe.GG,he._a[sn],Ji(Dt(),1,4).year),Ft=g1(xe.W,1),((Sn=g1(xe.E,1))<1||Sn>7)&&(Ds=!0)):(_i=he._locale._week.dow,Yi=he._locale._week.doy,ho=Ji(Dt(),_i,Yi),Et=g1(xe.gg,he._a[sn],ho.year),Ft=g1(xe.w,ho.week),null!=xe.d?((Sn=xe.d)<0||Sn>6)&&(Ds=!0):null!=xe.e?(Sn=xe.e+_i,(xe.e<0||xe.e>6)&&(Ds=!0)):Sn=_i),Ft<1||Ft>_s(Et,_i,Yi)?w(he)._overflowWeeks=!0:null!=Ds?w(he)._overflowWeekday=!0:(Bs=ps(Et,Ft,Sn,_i,Yi),he._a[sn]=Bs.year,he._dayOfYear=Bs.dayOfYear)}(he),null!=he._dayOfYear&&(Yi=g1(he._a[sn],Sn[sn]),(he._dayOfYear>Hn(Yi)||0===he._dayOfYear)&&(w(he)._overflowDayOfYear=!0),Et=Ci(Yi,0,he._dayOfYear),he._a[oi]=Et.getUTCMonth(),he._a[pt]=Et.getUTCDate()),xe=0;xe<3&&null==he._a[xe];++xe)he._a[xe]=Ft[xe]=Sn[xe];for(;xe<7;xe++)he._a[xe]=Ft[xe]=null==he._a[xe]?2===xe?1:0:he._a[xe];24===he._a[cn]&&0===he._a[Tn]&&0===he._a[vi]&&0===he._a[ui]&&(he._nextDay=!0,he._a[cn]=0),he._d=(he._useUTC?Ci:Oi).apply(null,Ft),_i=he._useUTC?he._d.getUTCDay():he._d.getDay(),null!=he._tzm&&he._d.setUTCMinutes(he._d.getUTCMinutes()-he._tzm),he._nextDay&&(he._a[cn]=24),he._w&&typeof he._w.d<"u"&&he._w.d!==_i&&(w(he).weekdayMismatch=!0)}}function W1(he){if(he._f!==a.ISO_8601)if(he._f!==a.RFC_2822){he._a=[],w(he).empty=!0;var Et,Ft,Sn,_i,Yi,ho,Aa,xe=""+he._i,Bs=xe.length,Ds=0;for(Aa=(Sn=Pe(he._f,he._locale).match(de)||[]).length,Et=0;Et<Aa;Et++)(Ft=(xe.match(Un(_i=Sn[Et],he))||[])[0])&&((Yi=xe.substr(0,xe.indexOf(Ft))).length>0&&w(he).unusedInput.push(Yi),xe=xe.slice(xe.indexOf(Ft)+Ft.length),Ds+=Ft.length),be[_i]?(Ft?w(he).empty=!1:w(he).unusedTokens.push(_i),os(_i,Ft,he)):he._strict&&!Ft&&w(he).unusedTokens.push(_i);w(he).charsLeftOver=Bs-Ds,xe.length>0&&w(he).unusedInput.push(xe),he._a[cn]<=12&&!0===w(he).bigHour&&he._a[cn]>0&&(w(he).bigHour=void 0),w(he).parsedDateParts=he._a.slice(0),w(he).meridiem=he._meridiem,he._a[cn]=function W0(he,xe,Et){var Ft;return null==Et?xe:null!=he.meridiemHour?he.meridiemHour(xe,Et):(null!=he.isPM&&((Ft=he.isPM(Et))&&xe<12&&(xe+=12),!Ft&&12===xe&&(xe=0)),xe)}(he._locale,he._a[cn],he._meridiem),null!==(ho=w(he).era)&&(he._a[sn]=he._locale.erasConvertYear(ho,he._a[sn])),Dr(he),Co(he)}else ra(he);else Dl(he)}function z1(he){var xe=he._i,Et=he._f;return he._locale=he._locale||Zr(he._l),null===xe||void 0===Et&&""===xe?z({nullInput:!0}):("string"==typeof xe&&(he._i=xe=he._locale.preparse(xe)),x(xe)?new Y(Co(xe)):(I(xe)?he._d=xe:m(Et)?function _a(he){var xe,Et,Ft,Sn,_i,Yi,Bs=!1,Ds=he._f.length;if(0===Ds)return w(he).invalidFormat=!0,void(he._d=new Date(NaN));for(Sn=0;Sn<Ds;Sn++)_i=0,Yi=!1,xe=k({},he),null!=he._useUTC&&(xe._useUTC=he._useUTC),xe._f=he._f[Sn],W1(xe),q(xe)&&(Yi=!0),_i+=w(xe).charsLeftOver,_i+=10*w(xe).unusedTokens.length,w(xe).score=_i,Bs?_i<Ft&&(Ft=_i,Et=xe):(null==Ft||_i<Ft||Yi)&&(Ft=_i,Et=xe,Yi&&(Bs=!0));L(he,Et||xe)}(he):Et?W1(he):function un(he){var xe=he._i;E(xe)?he._d=new Date(a.now()):I(xe)?he._d=new Date(xe.valueOf()):"string"==typeof xe?function ul(he){var xe=sr.exec(he._i);null===xe?(Dl(he),!1===he._isValid&&(delete he._isValid,ra(he),!1===he._isValid&&(delete he._isValid,he._strict?he._isValid=!1:a.createFromInputFallback(he)))):he._d=new Date(+xe[1])}(he):m(xe)?(he._a=b(xe.slice(0),function(Et){return parseInt(Et,10)}),Dr(he)):T(xe)?function L1(he){if(!he._d){var xe=Ne(he._i);he._a=b([xe.year,xe.month,void 0===xe.day?xe.date:xe.day,xe.hour,xe.minute,xe.second,xe.millisecond],function(Ft){return Ft&&parseInt(Ft,10)}),Dr(he)}}(he):y(xe)?he._d=new Date(xe):a.createFromInputFallback(he)}(he),q(he)||(he._d=null),he))}function tn(he,xe,Et,Ft,Sn){var _i={};return(!0===xe||!1===xe)&&(Ft=xe,xe=void 0),(!0===Et||!1===Et)&&(Ft=Et,Et=void 0),(T(he)&&D(he)||m(he)&&0===he.length)&&(he=void 0),_i._isAMomentObject=!0,_i._useUTC=_i._isUTC=Sn,_i._l=Et,_i._i=he,_i._f=xe,_i._strict=Ft,function h0(he){var xe=new Y(Co(z1(he)));return xe._nextDay&&(xe.add(1,"d"),xe._nextDay=void 0),xe}(_i)}function Dt(he,xe,Et,Ft){return tn(he,xe,Et,Ft,!1)}a.createFromInputFallback=j("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(he){he._d=new Date(he._i+(he._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var qn=j("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var he=Dt.apply(null,arguments);return this.isValid()&&he.isValid()?he<this?this:he:z()}),zi=j("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var he=Dt.apply(null,arguments);return this.isValid()&&he.isValid()?he>this?this:he:z()});function yo(he,xe){var Et,Ft;if(1===xe.length&&m(xe[0])&&(xe=xe[0]),!xe.length)return Dt();for(Et=xe[0],Ft=1;Ft<xe.length;++Ft)(!xe[Ft].isValid()||xe[Ft][he](Et))&&(Et=xe[Ft]);return Et}var Eo=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ur(he){var xe=Ne(he),Et=xe.year||0,Ft=xe.quarter||0,Sn=xe.month||0,_i=xe.week||xe.isoWeek||0,Yi=xe.day||0,Bs=xe.hour||0,Ds=xe.minute||0,ho=xe.second||0,Aa=xe.millisecond||0;this._isValid=function Ac(he){var xe,Ft,Et=!1,Sn=Eo.length;for(xe in he)if(O(he,xe)&&(-1===hn.call(Eo,xe)||null!=he[xe]&&isNaN(he[xe])))return!1;for(Ft=0;Ft<Sn;++Ft)if(he[Eo[Ft]]){if(Et)return!1;parseFloat(he[Eo[Ft]])!==En(he[Eo[Ft]])&&(Et=!0)}return!0}(xe),this._milliseconds=+Aa+1e3*ho+6e4*Ds+1e3*Bs*60*60,this._days=+Yi+7*_i,this._months=+Sn+3*Ft+12*Et,this._data={},this._locale=Zr(),this._bubble()}function w1(he){return he instanceof ur}function So(he){return he<0?-1*Math.round(-1*he):Math.round(he)}function e1(he,xe){Le(he,0,0,function(){var Et=this.utcOffset(),Ft="+";return Et<0&&(Et=-Et,Ft="-"),Ft+K(~~(Et/60),2)+xe+K(~~Et%60,2)})}e1("Z",":"),e1("ZZ",""),Ue("Z",Rn),Ue("ZZ",Rn),Dn(["Z","ZZ"],function(he,xe,Et){Et._useUTC=!0,Et._tzm=Zl(Rn,he)});var jl=/([\+\-]|\d\d)/gi;function Zl(he,xe){var Sn,_i,Et=(xe||"").match(he);return null===Et?null:0===(_i=60*(Sn=((Et[Et.length-1]||[])+"").match(jl)||["-",0,0])[1]+En(Sn[2]))?0:"+"===Sn[0]?_i:-_i}function ba(he,xe){var Et,Ft;return xe._isUTC?(Et=xe.clone(),Ft=(x(he)||I(he)?he.valueOf():Dt(he).valueOf())-Et.valueOf(),Et._d.setTime(Et._d.valueOf()+Ft),a.updateOffset(Et,!1),Et):Dt(he).local()}function qa(he){return-Math.round(he._d.getTimezoneOffset())}function ss(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var vs=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Us=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function or(he,xe){var Sn,_i,Yi,Et=he,Ft=null;return w1(he)?Et={ms:he._milliseconds,d:he._days,M:he._months}:y(he)||!isNaN(+he)?(Et={},xe?Et[xe]=+he:Et.milliseconds=+he):(Ft=vs.exec(he))?(Sn="-"===Ft[1]?-1:1,Et={y:0,d:En(Ft[pt])*Sn,h:En(Ft[cn])*Sn,m:En(Ft[Tn])*Sn,s:En(Ft[vi])*Sn,ms:En(So(1e3*Ft[ui]))*Sn}):(Ft=Us.exec(he))?Et={y:wr(Ft[2],Sn="-"===Ft[1]?-1:1),M:wr(Ft[3],Sn),w:wr(Ft[4],Sn),d:wr(Ft[5],Sn),h:wr(Ft[6],Sn),m:wr(Ft[7],Sn),s:wr(Ft[8],Sn)}:null==Et?Et={}:"object"==typeof Et&&("from"in Et||"to"in Et)&&(Yi=function R0(he,xe){var Et;return he.isValid()&&xe.isValid()?(xe=ba(xe,he),he.isBefore(xe)?Et=Y0(he,xe):((Et=Y0(xe,he)).milliseconds=-Et.milliseconds,Et.months=-Et.months),Et):{milliseconds:0,months:0}}(Dt(Et.from),Dt(Et.to)),(Et={}).ms=Yi.milliseconds,Et.M=Yi.months),_i=new ur(Et),w1(he)&&O(he,"_locale")&&(_i._locale=he._locale),w1(he)&&O(he,"_isValid")&&(_i._isValid=he._isValid),_i}function wr(he,xe){var Et=he&&parseFloat(he.replace(",","."));return(isNaN(Et)?0:Et)*xe}function Y0(he,xe){var Et={};return Et.months=xe.month()-he.month()+12*(xe.year()-he.year()),he.clone().add(Et.months,"M").isAfter(xe)&&--Et.months,Et.milliseconds=+xe-+he.clone().add(Et.months,"M"),Et}function $a(he,xe){return function(Et,Ft){var _i;return null!==Ft&&!isNaN(+Ft)&&(H(xe,"moment()."+xe+"(period, number) is deprecated. Please use moment()."+xe+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),_i=Et,Et=Ft,Ft=_i),Ra(this,or(Et,Ft),he),this}}function Ra(he,xe,Et,Ft){var Sn=xe._milliseconds,_i=So(xe._days),Yi=So(xe._months);he.isValid()&&(Ft=Ft??!0,Yi&&He(he,Fi(he,"Month")+Yi*Et),_i&&ei(he,"Date",Fi(he,"Date")+_i*Et),Sn&&he._d.setTime(he._d.valueOf()+Sn*Et),Ft&&a.updateOffset(he,_i||Yi))}or.fn=ur.prototype,or.invalid=function dl(){return or(NaN)};var o0=$a(1,"add"),pl=$a(-1,"subtract");function B0(he){return"string"==typeof he||he instanceof String}function M1(he){return x(he)||I(he)||B0(he)||y(he)||function xo(he){var xe=m(he),Et=!1;return xe&&(Et=0===he.filter(function(Ft){return!y(Ft)&&B0(he)}).length),xe&&Et}(he)||function Gr(he){var Sn,xe=T(he)&&!D(he),Et=!1,Ft=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Yi=Ft.length;for(Sn=0;Sn<Yi;Sn+=1)Et=Et||O(he,Ft[Sn]);return xe&&Et}(he)||null==he}function Ll(he,xe){if(he.date()<xe.date())return-Ll(xe,he);var Et=12*(xe.year()-he.year())+(xe.month()-he.month()),Ft=he.clone().add(Et,"months");return-(Et+(xe-Ft<0?(xe-Ft)/(Ft-he.clone().add(Et-1,"months")):(xe-Ft)/(he.clone().add(Et+1,"months")-Ft)))||0}function si(he){var xe;return void 0===he?this._locale._abbr:(null!=(xe=Zr(he))&&(this._locale=xe),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var is=j("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(he){return void 0===he?this.localeData():this.locale(he)});function bs(){return this._locale}var jr=6e4,Mr=60*jr,Ma=3506328*Mr;function Rs(he,xe){return(he%xe+xe)%xe}function fr(he,xe,Et){return he<100&&he>=0?new Date(he+400,xe,Et)-Ma:new Date(he,xe,Et).valueOf()}function Fo(he,xe,Et){return he<100&&he>=0?Date.UTC(he+400,xe,Et)-Ma:Date.UTC(he,xe,Et)}function X0(he,xe){return xe.erasAbbrRegex(he)}function Fr(){var Sn,_i,Yi,Bs,Ds,he=[],xe=[],Et=[],Ft=[],ho=this.eras();for(Sn=0,_i=ho.length;Sn<_i;++Sn)Yi=Xn(ho[Sn].name),Bs=Xn(ho[Sn].abbr),Ds=Xn(ho[Sn].narrow),xe.push(Yi),he.push(Bs),Et.push(Ds),Ft.push(Yi),Ft.push(Bs),Ft.push(Ds);this._erasRegex=new RegExp("^("+Ft.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+xe.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+he.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+Et.join("|")+")","i")}function a0(he,xe){Le(0,[he,he.length],0,xe)}function Gc(he,xe,Et,Ft,Sn){var _i;return null==he?Ji(this,Ft,Sn).year:(xe>(_i=_s(he,Ft,Sn))&&(xe=_i),P1.call(this,he,xe,Et,Ft,Sn))}function P1(he,xe,Et,Ft,Sn){var _i=ps(he,xe,Et,Ft,Sn),Yi=Ci(_i.year,0,_i.dayOfYear);return this.year(Yi.getUTCFullYear()),this.month(Yi.getUTCMonth()),this.date(Yi.getUTCDate()),this}Le("N",0,0,"eraAbbr"),Le("NN",0,0,"eraAbbr"),Le("NNN",0,0,"eraAbbr"),Le("NNNN",0,0,"eraName"),Le("NNNNN",0,0,"eraNarrow"),Le("y",["y",1],"yo","eraYear"),Le("y",["yy",2],0,"eraYear"),Le("y",["yyy",3],0,"eraYear"),Le("y",["yyyy",4],0,"eraYear"),Ue("N",X0),Ue("NN",X0),Ue("NNN",X0),Ue("NNNN",function dr(he,xe){return xe.erasNameRegex(he)}),Ue("NNNNN",function Nl(he,xe){return xe.erasNarrowRegex(he)}),Dn(["N","NN","NNN","NNNN","NNNNN"],function(he,xe,Et,Ft){var Sn=Et._locale.erasParse(he,Ft,Et._strict);Sn?w(Et).era=Sn:w(Et).invalidEra=he}),Ue("y",Di),Ue("yy",Di),Ue("yyy",Di),Ue("yyyy",Di),Ue("yo",function u1(he,xe){return xe._eraYearOrdinalRegex||Di}),Dn(["y","yy","yyy","yyyy"],sn),Dn(["yo"],function(he,xe,Et,Ft){var Sn;Et._locale._eraYearOrdinalRegex&&(Sn=he.match(Et._locale._eraYearOrdinalRegex)),xe[sn]=Et._locale.eraYearOrdinalParse?Et._locale.eraYearOrdinalParse(he,Sn):parseInt(he,10)}),Le(0,["gg",2],0,function(){return this.weekYear()%100}),Le(0,["GG",2],0,function(){return this.isoWeekYear()%100}),a0("gggg","weekYear"),a0("ggggg","weekYear"),a0("GGGG","isoWeekYear"),a0("GGGGG","isoWeekYear"),Ue("G",Li),Ue("g",Li),Ue("GG",Kt,ft),Ue("gg",Kt,ft),Ue("GGGG",di,It),Ue("gggg",di,It),Ue("GGGGG",jn,In),Ue("ggggg",jn,In),Ai(["gggg","ggggg","GGGG","GGGGG"],function(he,xe,Et,Ft){xe[Ft.substr(0,2)]=En(he)}),Ai(["gg","GG"],function(he,xe,Et,Ft){xe[Ft]=a.parseTwoDigitYear(he)}),Le("Q",0,"Qo","quarter"),Ue("Q",rt),Dn("Q",function(he,xe){xe[oi]=3*(En(he)-1)}),Le("D",["DD",2],"Do","date"),Ue("D",Kt,Yt),Ue("DD",Kt,ft),Ue("Do",function(he,xe){return he?xe._dayOfMonthOrdinalParse||xe._ordinalParse:xe._dayOfMonthOrdinalParseLenient}),Dn(["D","DD"],pt),Dn("Do",function(he,xe){xe[pt]=En(he.match(Kt)[0])});var mc=li("Date",!0);Le("DDD",["DDDD",3],"DDDo","dayOfYear"),Ue("DDD",zn),Ue("DDDD",Xt),Dn(["DDD","DDDD"],function(he,xe,Et){Et._dayOfYear=En(he)}),Le("m",["mm",2],0,"minute"),Ue("m",Kt,Mn),Ue("mm",Kt,ft),Dn(["m","mm"],Tn);var o1=li("Minutes",!1);Le("s",["ss",2],0,"second"),Ue("s",Kt,Mn),Ue("ss",Kt,ft),Dn(["s","ss"],vi);var _c,l0,yl=li("Seconds",!1);for(Le("S",0,0,function(){return~~(this.millisecond()/100)}),Le(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Le(0,["SSS",3],0,"millisecond"),Le(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Le(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Le(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Le(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Le(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Le(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Ue("S",zn,rt),Ue("SS",zn,ft),Ue("SSS",zn,Xt),_c="SSSS";_c.length<=9;_c+="S")Ue(_c,Di);function qc(he,xe){xe[ui]=En(1e3*("0."+he))}for(_c="S";_c.length<=9;_c+="S")Dn(_c,qc);l0=li("Milliseconds",!1),Le("z",0,0,"zoneAbbr"),Le("zz",0,0,"zoneName");var Js=Y.prototype;function wt(he){return he}Js.add=o0,Js.calendar=function B1(he,xe){1===arguments.length&&(arguments[0]?M1(arguments[0])?(he=arguments[0],xe=void 0):function rr(he){var Sn,xe=T(he)&&!D(he),Et=!1,Ft=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(Sn=0;Sn<Ft.length;Sn+=1)Et=Et||O(he,Ft[Sn]);return xe&&Et}(arguments[0])&&(xe=arguments[0],he=void 0):(he=void 0,xe=void 0));var Et=he||Dt(),Ft=ba(Et,this).startOf("day"),Sn=a.calendarFormat(this,Ft)||"sameElse",_i=xe&&(ie(xe[Sn])?xe[Sn].call(this,Et):xe[Sn]);return this.format(_i||this.localeData().calendar(Sn,this,Dt(Et)))},Js.clone=function Q1(){return new Y(this)},Js.diff=function L0(he,xe,Et){var Ft,Sn,_i;if(!this.isValid())return NaN;if(!(Ft=ba(he,this)).isValid())return NaN;switch(Sn=6e4*(Ft.utcOffset()-this.utcOffset()),xe=ke(xe)){case"year":_i=Ll(this,Ft)/12;break;case"month":_i=Ll(this,Ft);break;case"quarter":_i=Ll(this,Ft)/3;break;case"second":_i=(this-Ft)/1e3;break;case"minute":_i=(this-Ft)/6e4;break;case"hour":_i=(this-Ft)/36e5;break;case"day":_i=(this-Ft-Sn)/864e5;break;case"week":_i=(this-Ft-Sn)/6048e5;break;default:_i=this-Ft}return Et?_i:Ii(_i)},Js.endOf=function E0(he){var xe,Et;if(void 0===(he=ke(he))||"millisecond"===he||!this.isValid())return this;switch(Et=this._isUTC?Fo:fr,he){case"year":xe=Et(this.year()+1,0,1)-1;break;case"quarter":xe=Et(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":xe=Et(this.year(),this.month()+1,1)-1;break;case"week":xe=Et(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":xe=Et(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":xe=Et(this.year(),this.month(),this.date()+1)-1;break;case"hour":xe=this._d.valueOf(),xe+=Mr-Rs(xe+(this._isUTC?0:this.utcOffset()*jr),Mr)-1;break;case"minute":xe=this._d.valueOf(),xe+=jr-Rs(xe,jr)-1;break;case"second":xe=this._d.valueOf(),xe+=1e3-Rs(xe,1e3)-1}return this._d.setTime(xe),a.updateOffset(this,!0),this},Js.format=function N1(he){he||(he=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var xe=Xe(this,he);return this.localeData().postformat(xe)},Js.from=function bt(he,xe){return this.isValid()&&(x(he)&&he.isValid()||Dt(he).isValid())?or({to:this,from:he}).locale(this.locale()).humanize(!xe):this.localeData().invalidDate()},Js.fromNow=function Ln(he){return this.from(Dt(),he)},Js.to=function kt(he,xe){return this.isValid()&&(x(he)&&he.isValid()||Dt(he).isValid())?or({from:this,to:he}).locale(this.locale()).humanize(!xe):this.localeData().invalidDate()},Js.toNow=function dn(he){return this.to(Dt(),he)},Js.get=function Hi(he){return ie(this[he=ke(he)])?this[he]():this},Js.invalidAt=function ii(){return w(this).overflow},Js.isAfter=function br(he,xe){var Et=x(he)?he:Dt(he);return!(!this.isValid()||!Et.isValid())&&("millisecond"===(xe=ke(xe)||"millisecond")?this.valueOf()>Et.valueOf():Et.valueOf()<this.clone().startOf(xe).valueOf())},Js.isBefore=function Rl(he,xe){var Et=x(he)?he:Dt(he);return!(!this.isValid()||!Et.isValid())&&("millisecond"===(xe=ke(xe)||"millisecond")?this.valueOf()<Et.valueOf():this.clone().endOf(xe).valueOf()<Et.valueOf())},Js.isBetween=function hl(he,xe,Et,Ft){var Sn=x(he)?he:Dt(he),_i=x(xe)?xe:Dt(xe);return!!(this.isValid()&&Sn.isValid()&&_i.isValid())&&("("===(Ft=Ft||"()")[0]?this.isAfter(Sn,Et):!this.isBefore(Sn,Et))&&(")"===Ft[1]?this.isBefore(_i,Et):!this.isAfter(_i,Et))},Js.isSame=function hr(he,xe){var Ft,Et=x(he)?he:Dt(he);return!(!this.isValid()||!Et.isValid())&&("millisecond"===(xe=ke(xe)||"millisecond")?this.valueOf()===Et.valueOf():(Ft=Et.valueOf(),this.clone().startOf(xe).valueOf()<=Ft&&Ft<=this.clone().endOf(xe).valueOf()))},Js.isSameOrAfter=function Ul(he,xe){return this.isSame(he,xe)||this.isAfter(he,xe)},Js.isSameOrBefore=function t1(he,xe){return this.isSame(he,xe)||this.isBefore(he,xe)},Js.isValid=function c1(){return q(this)},Js.lang=is,Js.locale=si,Js.localeData=bs,Js.max=zi,Js.min=qn,Js.parsingFlags=function j1(){return L({},w(this))},Js.set=function gn(he,xe){if("object"==typeof he){var Ft,Et=function Qe(he){var Et,xe=[];for(Et in he)O(he,Et)&&xe.push({unit:Et,priority:Je[Et]});return xe.sort(function(Ft,Sn){return Ft.priority-Sn.priority}),xe}(he=Ne(he)),Sn=Et.length;for(Ft=0;Ft<Sn;Ft++)this[Et[Ft].unit](he[Et[Ft].unit])}else if(ie(this[he=ke(he)]))return this[he](xe);return this},Js.startOf=function Va(he){var xe,Et;if(void 0===(he=ke(he))||"millisecond"===he||!this.isValid())return this;switch(Et=this._isUTC?Fo:fr,he){case"year":xe=Et(this.year(),0,1);break;case"quarter":xe=Et(this.year(),this.month()-this.month()%3,1);break;case"month":xe=Et(this.year(),this.month(),1);break;case"week":xe=Et(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":xe=Et(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":xe=Et(this.year(),this.month(),this.date());break;case"hour":xe=this._d.valueOf(),xe-=Rs(xe+(this._isUTC?0:this.utcOffset()*jr),Mr);break;case"minute":xe=this._d.valueOf(),xe-=Rs(xe,jr);break;case"second":xe=this._d.valueOf(),xe-=Rs(xe,1e3)}return this._d.setTime(xe),a.updateOffset(this,!0),this},Js.subtract=pl,Js.toArray=function Ja(){var he=this;return[he.year(),he.month(),he.date(),he.hour(),he.minute(),he.second(),he.millisecond()]},Js.toObject=function ir(){var he=this;return{years:he.year(),months:he.month(),date:he.date(),hours:he.hours(),minutes:he.minutes(),seconds:he.seconds(),milliseconds:he.milliseconds()}},Js.toDate=function ta(){return new Date(this.valueOf())},Js.toISOString=function Gl(he){if(!this.isValid())return null;var xe=!0!==he,Et=xe?this.clone().utc():this;return Et.year()<0||Et.year()>9999?Xe(Et,xe?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ie(Date.prototype.toISOString)?xe?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Xe(Et,"Z")):Xe(Et,xe?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Js.inspect=function fl(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var Et,Ft,he="moment",xe="";return this.isLocal()||(he=0===this.utcOffset()?"moment.utc":"moment.parseZone",xe="Z"),Et="["+he+'("]',Ft=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(Et+Ft+"-MM-DD[T]HH:mm:ss.SSS"+xe+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Js[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Js.toJSON=function la(){return this.isValid()?this.toISOString():null},Js.toString=function k0(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Js.unix=function n1(){return Math.floor(this.valueOf()/1e3)},Js.valueOf=function k1(){return this._d.valueOf()-6e4*(this._offset||0)},Js.creationData=function S0(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Js.eraName=function wl(){var he,xe,Et,Ft=this.localeData().eras();for(he=0,xe=Ft.length;he<xe;++he)if(Et=this.clone().startOf("day").valueOf(),Ft[he].since<=Et&&Et<=Ft[he].until||Ft[he].until<=Et&&Et<=Ft[he].since)return Ft[he].name;return""},Js.eraNarrow=function Oa(){var he,xe,Et,Ft=this.localeData().eras();for(he=0,xe=Ft.length;he<xe;++he)if(Et=this.clone().startOf("day").valueOf(),Ft[he].since<=Et&&Et<=Ft[he].until||Ft[he].until<=Et&&Et<=Ft[he].since)return Ft[he].narrow;return""},Js.eraAbbr=function j0(){var he,xe,Et,Ft=this.localeData().eras();for(he=0,xe=Ft.length;he<xe;++he)if(Et=this.clone().startOf("day").valueOf(),Ft[he].since<=Et&&Et<=Ft[he].until||Ft[he].until<=Et&&Et<=Ft[he].since)return Ft[he].abbr;return""},Js.eraYear=function ec(){var he,xe,Et,Ft,Sn=this.localeData().eras();for(he=0,xe=Sn.length;he<xe;++he)if(Et=Sn[he].since<=Sn[he].until?1:-1,Ft=this.clone().startOf("day").valueOf(),Sn[he].since<=Ft&&Ft<=Sn[he].until||Sn[he].until<=Ft&&Ft<=Sn[he].since)return(this.year()-a(Sn[he].since).year())*Et+Sn[he].offset;return this.year()},Js.year=Qn,Js.isLeapYear=function ri(){return Fs(this.year())},Js.weekYear=function Ru(he){return Gc.call(this,he,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},Js.isoWeekYear=function Uc(he){return Gc.call(this,he,this.isoWeek(),this.isoWeekday(),1,4)},Js.quarter=Js.quarters=function xl(he){return null==he?Math.ceil((this.month()+1)/3):this.month(3*(he-1)+this.month()%3)},Js.month=fe,Js.daysInMonth=function nt(){return Bn(this.year(),this.month())},Js.week=Js.weeks=function ds(he){var xe=this.localeData().week(this);return null==he?xe:this.add(7*(he-xe),"d")},Js.isoWeek=Js.isoWeeks=function rs(he){var xe=Ji(this,1,4).week;return null==he?xe:this.add(7*(he-xe),"d")},Js.weeksInYear=function tc(){var he=this.localeData()._week;return _s(this.year(),he.dow,he.doy)},Js.weeksInWeekYear=function D1(){var he=this.localeData()._week;return _s(this.weekYear(),he.dow,he.doy)},Js.isoWeeksInYear=function f0(){return _s(this.year(),1,4)},Js.isoWeeksInISOWeekYear=function qr(){return _s(this.isoWeekYear(),1,4)},Js.date=mc,Js.day=Js.days=function za(he){if(!this.isValid())return null!=he?this:NaN;var xe=Fi(this,"Day");return null!=he?(he=function ao(he,xe){return"string"!=typeof he?he:isNaN(he)?"number"==typeof(he=xe.weekdaysParse(he))?he:null:parseInt(he,10)}(he,this.localeData()),this.add(he-xe,"d")):xe},Js.weekday=function l1(he){if(!this.isValid())return null!=he?this:NaN;var xe=(this.day()+7-this.localeData()._week.dow)%7;return null==he?xe:this.add(he-xe,"d")},Js.isoWeekday=function Yn(he){if(!this.isValid())return null!=he?this:NaN;if(null!=he){var xe=function wo(he,xe){return"string"==typeof he?xe.weekdaysParse(he)%7||7:isNaN(he)?null:he}(he,this.localeData());return this.day(this.day()%7?xe:xe-7)}return this.day()||7},Js.dayOfYear=function nc(he){var xe=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==he?xe:this.add(he-xe,"d")},Js.hour=Js.hours=Wa,Js.minute=Js.minutes=o1,Js.second=Js.seconds=yl,Js.millisecond=Js.milliseconds=l0,Js.utcOffset=function Pr(he,xe,Et){var Sn,Ft=this._offset||0;if(!this.isValid())return null!=he?this:NaN;if(null!=he){if("string"==typeof he){if(null===(he=Zl(Rn,he)))return this}else Math.abs(he)<16&&!Et&&(he*=60);return!this._isUTC&&xe&&(Sn=qa(this)),this._offset=he,this._isUTC=!0,null!=Sn&&this.add(Sn,"m"),Ft!==he&&(!xe||this._changeInProgress?Ra(this,or(he-Ft,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?Ft:qa(this)},Js.utc=function I0(he){return this.utcOffset(0,he)},Js.local=function Il(he){return this._isUTC&&(this.utcOffset(0,he),this._isUTC=!1,he&&this.subtract(qa(this),"m")),this},Js.parseZone=function Yr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var he=Zl(ms,this._i);null!=he?this.utcOffset(he):this.utcOffset(0,!0)}return this},Js.hasAlignedHourOffset=function Io(he){return!!this.isValid()&&(he=he?Dt(he).utcOffset():0,(this.utcOffset()-he)%60==0)},Js.isDST=function b1(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Js.isLocal=function yi(){return!!this.isValid()&&!this._isUTC},Js.isUtcOffset=function Ut(){return!!this.isValid()&&this._isUTC},Js.isUtc=ss,Js.isUTC=ss,Js.zoneAbbr=function cu(){return this._isUTC?"UTC":""},Js.zoneName=function T0(){return this._isUTC?"Coordinated Universal Time":""},Js.dates=j("dates accessor is deprecated. Use date instead.",mc),Js.months=j("months accessor is deprecated. Use month instead",fe),Js.years=j("years accessor is deprecated. Use year instead",Qn),Js.zone=j("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function fc(he,xe){return null!=he?("string"!=typeof he&&(he=-he),this.utcOffset(he,xe),this):-this.utcOffset()}),Js.isDSTShifted=j("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Wn(){if(!E(this._isDSTShifted))return this._isDSTShifted;var xe,he={};return k(he,this),(he=z1(he))._a?(xe=he._isUTC?o(he._a):Dt(he._a),this._isDSTShifted=this.isValid()&&function s0(he,xe,Et){var Yi,Ft=Math.min(he.length,xe.length),Sn=Math.abs(he.length-xe.length),_i=0;for(Yi=0;Yi<Ft;Yi++)(Et&&he[Yi]!==xe[Yi]||!Et&&En(he[Yi])!==En(xe[Yi]))&&_i++;return _i+Sn}(he._a,xe.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var ct=le.prototype;function Nt(he,xe,Et,Ft){var Sn=Zr(),_i=o().set(Ft,xe);return Sn[Et](_i,he)}function pn(he,xe,Et){if(y(he)&&(xe=he,he=void 0),he=he||"",null!=xe)return Nt(he,xe,Et,"month");var Ft,Sn=[];for(Ft=0;Ft<12;Ft++)Sn[Ft]=Nt(he,Ft,Et,"month");return Sn}function Vn(he,xe,Et,Ft){"boolean"==typeof he?(y(xe)&&(Et=xe,xe=void 0),xe=xe||""):(Et=xe=he,he=!1,y(xe)&&(Et=xe,xe=void 0),xe=xe||"");var Yi,Sn=Zr(),_i=he?Sn._week.dow:0,Bs=[];if(null!=Et)return Nt(xe,(Et+_i)%7,Ft,"day");for(Yi=0;Yi<7;Yi++)Bs[Yi]=Nt(xe,(Yi+_i)%7,Ft,"day");return Bs}ct.calendar=function ae(he,xe,Et){var Ft=this._calendar[he]||this._calendar.sameElse;return ie(Ft)?Ft.call(xe,Et):Ft},ct.longDateFormat=function ze(he){var xe=this._longDateFormat[he],Et=this._longDateFormat[he.toUpperCase()];return xe||!Et?xe:(this._longDateFormat[he]=Et.match(de).map(function(Ft){return"MMMM"===Ft||"MM"===Ft||"DD"===Ft||"dddd"===Ft?Ft.slice(1):Ft}).join(""),this._longDateFormat[he])},ct.invalidDate=function Ye(){return this._invalidDate},ct.ordinal=function Vt(he){return this._ordinal.replace("%d",he)},ct.preparse=wt,ct.postformat=wt,ct.relativeTime=function gt(he,xe,Et,Ft){var Sn=this._relativeTime[Et];return ie(Sn)?Sn(he,xe,Et,Ft):Sn.replace(/%d/i,he)},ct.pastFuture=function Ge(he,xe){var Et=this._relativeTime[he>0?"future":"past"];return ie(Et)?Et(xe):Et.replace(/%s/i,xe)},ct.set=function ne(he){var xe,Et;for(Et in he)O(he,Et)&&(ie(xe=he[Et])?this[Et]=xe:this["_"+Et]=xe);this._config=he,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ct.eras=function ql(he,xe){var Et,Ft,Sn,_i=this._eras||Zr("en")._eras;for(Et=0,Ft=_i.length;Et<Ft;++Et)switch("string"==typeof _i[Et].since&&(Sn=a(_i[Et].since).startOf("day"),_i[Et].since=Sn.valueOf()),typeof _i[Et].until){case"undefined":_i[Et].until=1/0;break;case"string":Sn=a(_i[Et].until).startOf("day").valueOf(),_i[Et].until=Sn.valueOf()}return _i},ct.erasParse=function Z1(he,xe,Et){var Ft,Sn,Yi,Bs,Ds,_i=this.eras();for(he=he.toUpperCase(),Ft=0,Sn=_i.length;Ft<Sn;++Ft)if(Yi=_i[Ft].name.toUpperCase(),Bs=_i[Ft].abbr.toUpperCase(),Ds=_i[Ft].narrow.toUpperCase(),Et)switch(xe){case"N":case"NN":case"NNN":if(Bs===he)return _i[Ft];break;case"NNNN":if(Yi===he)return _i[Ft];break;case"NNNNN":if(Ds===he)return _i[Ft]}else if([Yi,Bs,Ds].indexOf(he)>=0)return _i[Ft]},ct.erasConvertYear=function el(he,xe){var Et=he.since<=he.until?1:-1;return void 0===xe?a(he.since).year():a(he.since).year()+(xe-he.offset)*Et},ct.erasAbbrRegex=function s1(he){return O(this,"_erasAbbrRegex")||Fr.call(this),he?this._erasAbbrRegex:this._erasRegex},ct.erasNameRegex=function Zn(he){return O(this,"_erasNameRegex")||Fr.call(this),he?this._erasNameRegex:this._erasRegex},ct.erasNarrowRegex=function $l(he){return O(this,"_erasNarrowRegex")||Fr.call(this),he?this._erasNarrowRegex:this._erasRegex},ct.months=function Mt(he,xe){return he?m(this._months)?this._months[he.month()]:this._months[(this._months.isFormat||Si).test(xe)?"format":"standalone"][he.month()]:m(this._months)?this._months:this._months.standalone},ct.monthsShort=function Bt(he,xe){return he?m(this._monthsShort)?this._monthsShort[he.month()]:this._monthsShort[Si.test(xe)?"format":"standalone"][he.month()]:m(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ct.monthsParse=function Jt(he,xe,Et){var Ft,Sn,_i;if(this._monthsParseExact)return Rt.call(this,he,xe,Et);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Ft=0;Ft<12;Ft++){if(Sn=o([2e3,Ft]),Et&&!this._longMonthsParse[Ft]&&(this._longMonthsParse[Ft]=new RegExp("^"+this.months(Sn,"").replace(".","")+"$","i"),this._shortMonthsParse[Ft]=new RegExp("^"+this.monthsShort(Sn,"").replace(".","")+"$","i")),!Et&&!this._monthsParse[Ft]&&(_i="^"+this.months(Sn,"")+"|^"+this.monthsShort(Sn,""),this._monthsParse[Ft]=new RegExp(_i.replace(".",""),"i")),Et&&"MMMM"===xe&&this._longMonthsParse[Ft].test(he))return Ft;if(Et&&"MMM"===xe&&this._shortMonthsParse[Ft].test(he))return Ft;if(!Et&&this._monthsParse[Ft].test(he))return Ft}},ct.monthsRegex=function rn(he){return this._monthsParseExact?(O(this,"_monthsRegex")||Jn.call(this),he?this._monthsStrictRegex:this._monthsRegex):(O(this,"_monthsRegex")||(this._monthsRegex=ut),this._monthsStrictRegex&&he?this._monthsStrictRegex:this._monthsRegex)},ct.monthsShortRegex=function Ot(he){return this._monthsParseExact?(O(this,"_monthsRegex")||Jn.call(this),he?this._monthsShortStrictRegex:this._monthsShortRegex):(O(this,"_monthsShortRegex")||(this._monthsShortRegex=Cn),this._monthsShortStrictRegex&&he?this._monthsShortStrictRegex:this._monthsShortRegex)},ct.week=function js(he){return Ji(he,this._week.dow,this._week.doy).week},ct.firstDayOfYear=function Gi(){return this._week.doy},ct.firstDayOfWeek=function zs(){return this._week.dow},ct.weekdays=function Pn(he,xe){var Et=m(this._weekdays)?this._weekdays:this._weekdays[he&&!0!==he&&this._weekdays.isFormat.test(xe)?"format":"standalone"];return!0===he?zr(Et,this._week.dow):he?Et[he.day()]:Et},ct.weekdaysMin=function fi(he){return!0===he?zr(this._weekdaysMin,this._week.dow):he?this._weekdaysMin[he.day()]:this._weekdaysMin},ct.weekdaysShort=function Ei(he){return!0===he?zr(this._weekdaysShort,this._week.dow):he?this._weekdaysShort[he.day()]:this._weekdaysShort},ct.weekdaysParse=function fa(he,xe,Et){var Ft,Sn,_i;if(this._weekdaysParseExact)return Ks.call(this,he,xe,Et);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Ft=0;Ft<7;Ft++){if(Sn=o([2e3,1]).day(Ft),Et&&!this._fullWeekdaysParse[Ft]&&(this._fullWeekdaysParse[Ft]=new RegExp("^"+this.weekdays(Sn,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Ft]=new RegExp("^"+this.weekdaysShort(Sn,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Ft]=new RegExp("^"+this.weekdaysMin(Sn,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Ft]||(_i="^"+this.weekdays(Sn,"")+"|^"+this.weekdaysShort(Sn,"")+"|^"+this.weekdaysMin(Sn,""),this._weekdaysParse[Ft]=new RegExp(_i.replace(".",""),"i")),Et&&"dddd"===xe&&this._fullWeekdaysParse[Ft].test(he))return Ft;if(Et&&"ddd"===xe&&this._shortWeekdaysParse[Ft].test(he))return Ft;if(Et&&"dd"===xe&&this._minWeekdaysParse[Ft].test(he))return Ft;if(!Et&&this._weekdaysParse[Ft].test(he))return Ft}},ct.weekdaysRegex=function so(he){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||Sa.call(this),he?this._weekdaysStrictRegex:this._weekdaysRegex):(O(this,"_weekdaysRegex")||(this._weekdaysRegex=oa),this._weekdaysStrictRegex&&he?this._weekdaysStrictRegex:this._weekdaysRegex)},ct.weekdaysShortRegex=function Hr(he){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||Sa.call(this),he?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(O(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=bi),this._weekdaysShortStrictRegex&&he?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ct.weekdaysMinRegex=function vr(he){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||Sa.call(this),he?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(O(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Po),this._weekdaysMinStrictRegex&&he?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ct.isPM=function cl(he){return"p"===(he+"").toLowerCase().charAt(0)},ct.meridiem=function Jr(he,xe,Et){return he>11?Et?"pm":"PM":Et?"am":"AM"},Vs("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(he){var xe=he%10;return he+(1===En(he%100/10)?"th":1===xe?"st":2===xe?"nd":3===xe?"rd":"th")}}),a.lang=j("moment.lang is deprecated. Use moment.locale instead.",Vs),a.langData=j("moment.langData is deprecated. Use moment.localeData instead.",Zr);var pi=Math.abs;function lo(he,xe,Et,Ft){var Sn=or(xe,Et);return he._milliseconds+=Ft*Sn._milliseconds,he._days+=Ft*Sn._days,he._months+=Ft*Sn._months,he._bubble()}function Er(he){return he<0?Math.floor(he):Math.ceil(he)}function C0(he){return 4800*he/146097}function S(he){return 146097*he/4800}function se(he){return function(){return this.as(he)}}var ue=se("ms"),Te=se("s"),Ke=se("m"),lt=se("h"),xt=se("d"),vt=se("w"),$t=se("M"),an=se("Q"),fn=se("y"),ti=ue;function Bi(he){return function(){return this.isValid()?this._data[he]:NaN}}var ts=Bi("milliseconds"),Ws=Bi("seconds"),Wo=Bi("minutes"),ro=Bi("hours"),Bo=Bi("days"),Xo=Bi("months"),ar=Bi("years");var mr=Math.round,$r={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function va(he,xe,Et,Ft,Sn){return Sn.relativeTime(xe||1,!!Et,he,Ft)}var we=Math.abs;function dt(he){return(he>0)-(he<0)||+he}function qt(){if(!this.isValid())return this.localeData().invalidDate();var Ft,Sn,_i,Yi,Ds,ho,Aa,Ba,he=we(this._milliseconds)/1e3,xe=we(this._days),Et=we(this._months),Bs=this.asSeconds();return Bs?(Ft=Ii(he/60),Sn=Ii(Ft/60),he%=60,Ft%=60,_i=Ii(Et/12),Et%=12,Yi=he?he.toFixed(3).replace(/\.?0+$/,""):"",Ds=Bs<0?"-":"",ho=dt(this._months)!==dt(Bs)?"-":"",Aa=dt(this._days)!==dt(Bs)?"-":"",Ba=dt(this._milliseconds)!==dt(Bs)?"-":"",Ds+"P"+(_i?ho+_i+"Y":"")+(Et?ho+Et+"M":"")+(xe?Aa+xe+"D":"")+(Sn||Ft||he?"T":"")+(Sn?Ba+Sn+"H":"")+(Ft?Ba+Ft+"M":"")+(he?Ba+Yi+"S":"")):"P0D"}var An=ur.prototype;return An.isValid=function ga(){return this._isValid},An.abs=function Ls(){var he=this._data;return this._milliseconds=pi(this._milliseconds),this._days=pi(this._days),this._months=pi(this._months),he.milliseconds=pi(he.milliseconds),he.seconds=pi(he.seconds),he.minutes=pi(he.minutes),he.hours=pi(he.hours),he.months=pi(he.months),he.years=pi(he.years),this},An.add=function Ro(he,xe){return lo(this,he,xe,1)},An.subtract=function to(he,xe){return lo(this,he,xe,-1)},An.as=function G(he){if(!this.isValid())return NaN;var xe,Et,Ft=this._milliseconds;if("month"===(he=ke(he))||"quarter"===he||"year"===he)switch(xe=this._days+Ft/864e5,Et=this._months+C0(xe),he){case"month":return Et;case"quarter":return Et/3;case"year":return Et/12}else switch(xe=this._days+Math.round(S(this._months)),he){case"week":return xe/7+Ft/6048e5;case"day":return xe+Ft/864e5;case"hour":return 24*xe+Ft/36e5;case"minute":return 1440*xe+Ft/6e4;case"second":return 86400*xe+Ft/1e3;case"millisecond":return Math.floor(864e5*xe)+Ft;default:throw new Error("Unknown unit "+he)}},An.asMilliseconds=ue,An.asSeconds=Te,An.asMinutes=Ke,An.asHours=lt,An.asDays=xt,An.asWeeks=vt,An.asMonths=$t,An.asQuarters=an,An.asYears=fn,An.valueOf=ti,An._bubble=function Xr(){var Sn,_i,Yi,Bs,Ds,he=this._milliseconds,xe=this._days,Et=this._months,Ft=this._data;return he>=0&&xe>=0&&Et>=0||he<=0&&xe<=0&&Et<=0||(he+=864e5*Er(S(Et)+xe),xe=0,Et=0),Ft.milliseconds=he%1e3,Sn=Ii(he/1e3),Ft.seconds=Sn%60,_i=Ii(Sn/60),Ft.minutes=_i%60,Yi=Ii(_i/60),Ft.hours=Yi%24,xe+=Ii(Yi/24),Et+=Ds=Ii(C0(xe)),xe-=Er(S(Ds)),Bs=Ii(Et/12),Et%=12,Ft.days=xe,Ft.months=Et,Ft.years=Bs,this},An.clone=function Ti(){return or(this)},An.get=function Ri(he){return he=ke(he),this.isValid()?this[he+"s"]():NaN},An.milliseconds=ts,An.seconds=Ws,An.minutes=Wo,An.hours=ro,An.days=Bo,An.weeks=function Wr(){return Ii(this.days()/7)},An.months=Xo,An.years=ar,An.humanize=function it(he,xe){if(!this.isValid())return this.localeData().invalidDate();var Sn,_i,Et=!1,Ft=$r;return"object"==typeof he&&(xe=he,he=!1),"boolean"==typeof he&&(Et=he),"object"==typeof xe&&(Ft=Object.assign({},$r,xe),null!=xe.s&&null==xe.ss&&(Ft.ss=xe.s-1)),_i=function r1(he,xe,Et,Ft){var Sn=or(he).abs(),_i=mr(Sn.as("s")),Yi=mr(Sn.as("m")),Bs=mr(Sn.as("h")),Ds=mr(Sn.as("d")),ho=mr(Sn.as("M")),Aa=mr(Sn.as("w")),Ba=mr(Sn.as("y")),J0=_i<=Et.ss&&["s",_i]||_i<Et.s&&["ss",_i]||Yi<=1&&["m"]||Yi<Et.m&&["mm",Yi]||Bs<=1&&["h"]||Bs<Et.h&&["hh",Bs]||Ds<=1&&["d"]||Ds<Et.d&&["dd",Ds];return null!=Et.w&&(J0=J0||Aa<=1&&["w"]||Aa<Et.w&&["ww",Aa]),(J0=J0||ho<=1&&["M"]||ho<Et.M&&["MM",ho]||Ba<=1&&["y"]||["yy",Ba])[2]=xe,J0[3]=+he>0,J0[4]=Ft,va.apply(null,J0)}(this,!Et,Ft,Sn=this.localeData()),Et&&(_i=Sn.pastFuture(+this,_i)),Sn.postformat(_i)},An.toISOString=qt,An.toString=qt,An.toJSON=qt,An.locale=si,An.localeData=bs,An.toIsoString=j("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qt),An.lang=is,Le("X",0,0,"unix"),Le("x",0,0,"valueOf"),Ue("x",Li),Ue("X",/[+-]?\d+(\.\d{1,3})?/),Dn("X",function(he,xe,Et){Et._d=new Date(1e3*parseFloat(he))}),Dn("x",function(he,xe,Et){Et._d=new Date(En(he))}),a.version="2.30.1",function g(he){n=he}(Dt),a.fn=Js,a.min=function xr(){return yo("isBefore",[].slice.call(arguments,0))},a.max=function Al(){return yo("isAfter",[].slice.call(arguments,0))},a.now=function(){return Date.now?Date.now():+new Date},a.utc=o,a.unix=function Vl(he){return Dt(1e3*he)},a.months=function je(he,xe){return pn(he,xe,"months")},a.isDate=I,a.locale=Vs,a.invalid=z,a.duration=or,a.isMoment=x,a.weekdays=function De(he,xe,Et){return Vn(he,xe,Et,"weekdays")},a.parseZone=function ot(){return Dt.apply(null,arguments).parseZone()},a.localeData=Zr,a.isDuration=w1,a.monthsShort=function Kn(he,xe){return pn(he,xe,"monthsShort")},a.weekdaysMin=function mt(he,xe,Et){return Vn(he,xe,Et,"weekdaysMin")},a.defineLocale=Ar,a.updateLocale=function gr(he,xe){if(null!=xe){var Et,Ft,Sn=p0;null!=Tr[he]&&null!=Tr[he].parentLocale?Tr[he].set(Q(Tr[he]._config,xe)):(null!=(Ft=Ia(he))&&(Sn=Ft._config),xe=Q(Sn,xe),null==Ft&&(xe.abbr=he),(Et=new le(xe)).parentLocale=Tr[he],Tr[he]=Et),Vs(he)}else null!=Tr[he]&&(null!=Tr[he].parentLocale?(Tr[he]=Tr[he].parentLocale,he===Vs()&&Vs(he)):null!=Tr[he]&&delete Tr[he]);return Tr[he]},a.locales=function Ur(){return pe(Tr)},a.weekdaysShort=function Pt(he,xe,Et){return Vn(he,xe,Et,"weekdaysShort")},a.normalizeUnits=ke,a.relativeTimeRounding=function K0(he){return void 0===he?mr:"function"==typeof he&&(mr=he,!0)},a.relativeTimeThreshold=function yt(he,xe){return void 0!==$r[he]&&(void 0===xe?$r[he]:($r[he]=xe,"s"===he&&($r.ss=xe-1),!0))},a.calendarFormat=function aa(he,xe){var Et=he.diff(xe,"days",!0);return Et<-6?"sameElse":Et<-1?"lastWeek":Et<0?"lastDay":Et<1?"sameDay":Et<2?"nextDay":Et<7?"nextWeek":"sameElse"},a.prototype=Js,a.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"},a}()},77783:at=>{at.exports=function N(s,n,a){function g(O,D){if(!n[O]){if(!s[O]){if(m)return m(O,!0);throw new Error("Cannot find module '"+O+"'")}D=n[O]={exports:{}},s[O][0].call(D.exports,function(y){return g(s[O][1][y]||y)},D,D.exports,N,s,n,a)}return n[O].exports}for(var m=void 0,T=0;T<a.length;T++)g(a[T]);return g}({1:[function(N,s,n){(function(a,g,m,T,O,D,E,y,I){"use strict";var b=N("crypto");function L(F,U){var k;return void 0===(k="passthrough"!==(U=w(F,U)).algorithm?b.createHash(U.algorithm):new z).write&&(k.write=k.update,k.end=k.update),q(U,k).dispatch(F),k.update||k.end(""),k.digest?k.digest("buffer"===U.encoding?void 0:U.encoding):(F=k.read(),"buffer"!==U.encoding?F.toString(U.encoding):F)}(n=s.exports=L).sha1=function(F){return L(F)},n.keys=function(F){return L(F,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},n.MD5=function(F){return L(F,{algorithm:"md5",encoding:"hex"})},n.keysMD5=function(F){return L(F,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var o=b.getHashes?b.getHashes().slice():["sha1","md5"],C=(o.push("passthrough"),["buffer","hex","binary","base64"]);function w(F,U){var k={};if(k.algorithm=(U=U||{}).algorithm||"sha1",k.encoding=U.encoding||"hex",k.excludeValues=!!U.excludeValues,k.algorithm=k.algorithm.toLowerCase(),k.encoding=k.encoding.toLowerCase(),k.ignoreUnknown=!0===U.ignoreUnknown,k.respectType=!1!==U.respectType,k.respectFunctionNames=!1!==U.respectFunctionNames,k.respectFunctionProperties=!1!==U.respectFunctionProperties,k.unorderedArrays=!0===U.unorderedArrays,k.unorderedSets=!1!==U.unorderedSets,k.unorderedObjects=!1!==U.unorderedObjects,k.replacer=U.replacer||void 0,k.excludeKeys=U.excludeKeys||void 0,void 0===F)throw new Error("Object argument required.");for(var Y=0;Y<o.length;++Y)o[Y].toLowerCase()===k.algorithm.toLowerCase()&&(k.algorithm=o[Y]);if(-1===o.indexOf(k.algorithm))throw new Error('Algorithm "'+k.algorithm+'"  not supported. supported values: '+o.join(", "));if(-1===C.indexOf(k.encoding)&&"passthrough"!==k.algorithm)throw new Error('Encoding "'+k.encoding+'"  not supported. supported values: '+C.join(", "));return k}function M(F){if("function"==typeof F)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(F))}function q(F,U,k){function Y(x){return U.update?U.update(x,"utf8"):U.write(x,"utf8")}return k=k||[],{dispatch:function(x){return this["_"+(null===(x=F.replacer?F.replacer(x):x)?"null":typeof x)](x)},_object:function(x){var B,j=Object.prototype.toString.call(x),$=/\[object (.*)\]/i.exec(j);if($=($=$?$[1]:"unknown:["+j+"]").toLowerCase(),0<=(j=k.indexOf(x)))return this.dispatch("[CIRCULAR:"+j+"]");if(k.push(x),void 0!==m&&m.isBuffer&&m.isBuffer(x))return Y("buffer:"),Y(x);if("object"===$||"function"===$||"asyncfunction"===$)return j=Object.keys(x),F.unorderedObjects&&(j=j.sort()),!1===F.respectType||M(x)||j.splice(0,0,"prototype","__proto__","constructor"),F.excludeKeys&&(j=j.filter(function(H){return!F.excludeKeys(H)})),Y("object:"+j.length+":"),B=this,j.forEach(function(H){B.dispatch(H),Y(":"),F.excludeValues||B.dispatch(x[H]),Y(",")});if(!this["_"+$]){if(F.ignoreUnknown)return Y("["+$+"]");throw new Error('Unknown object type "'+$+'"')}this["_"+$](x)},_array:function(x,H){H=void 0!==H?H:!1!==F.unorderedArrays;var j=this;if(Y("array:"+x.length+":"),!H||x.length<=1)return x.forEach(function(ie){return j.dispatch(ie)});var $=[];return H=x.map(function(ie){var ne=new z,Q=k.slice();return q(F,ne,Q).dispatch(ie),$=$.concat(Q.slice(k.length)),ne.read().toString()}),k=k.concat($),H.sort(),this._array(H,!1)},_date:function(x){return Y("date:"+x.toJSON())},_symbol:function(x){return Y("symbol:"+x.toString())},_error:function(x){return Y("error:"+x.toString())},_boolean:function(x){return Y("bool:"+x.toString())},_string:function(x){Y("string:"+x.length+":"),Y(x.toString())},_function:function(x){Y("fn:"),M(x)?this.dispatch("[native]"):this.dispatch(x.toString()),!1!==F.respectFunctionNames&&this.dispatch("function-name:"+String(x.name)),F.respectFunctionProperties&&this._object(x)},_number:function(x){return Y("number:"+x.toString())},_xml:function(x){return Y("xml:"+x.toString())},_null:function(){return Y("Null")},_undefined:function(){return Y("Undefined")},_regexp:function(x){return Y("regex:"+x.toString())},_uint8array:function(x){return Y("uint8array:"),this.dispatch(Array.prototype.slice.call(x))},_uint8clampedarray:function(x){return Y("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(x))},_int8array:function(x){return Y("int8array:"),this.dispatch(Array.prototype.slice.call(x))},_uint16array:function(x){return Y("uint16array:"),this.dispatch(Array.prototype.slice.call(x))},_int16array:function(x){return Y("int16array:"),this.dispatch(Array.prototype.slice.call(x))},_uint32array:function(x){return Y("uint32array:"),this.dispatch(Array.prototype.slice.call(x))},_int32array:function(x){return Y("int32array:"),this.dispatch(Array.prototype.slice.call(x))},_float32array:function(x){return Y("float32array:"),this.dispatch(Array.prototype.slice.call(x))},_float64array:function(x){return Y("float64array:"),this.dispatch(Array.prototype.slice.call(x))},_arraybuffer:function(x){return Y("arraybuffer:"),this.dispatch(new Uint8Array(x))},_url:function(x){return Y("url:"+x.toString())},_map:function(x){return Y("map:"),x=Array.from(x),this._array(x,!1!==F.unorderedSets)},_set:function(x){return Y("set:"),x=Array.from(x),this._array(x,!1!==F.unorderedSets)},_file:function(x){return Y("file:"),this.dispatch([x.name,x.size,x.type,x.lastModfied])},_blob:function(){if(F.ignoreUnknown)return Y("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return Y("domwindow")},_bigint:function(x){return Y("bigint:"+x.toString())},_process:function(){return Y("process")},_timer:function(){return Y("timer")},_pipe:function(){return Y("pipe")},_tcp:function(){return Y("tcp")},_udp:function(){return Y("udp")},_tty:function(){return Y("tty")},_statwatcher:function(){return Y("statwatcher")},_securecontext:function(){return Y("securecontext")},_connection:function(){return Y("connection")},_zlib:function(){return Y("zlib")},_context:function(){return Y("context")},_nodescript:function(){return Y("nodescript")},_httpparser:function(){return Y("httpparser")},_dataview:function(){return Y("dataview")},_signal:function(){return Y("signal")},_fsevent:function(){return Y("fsevent")},_tlswrap:function(){return Y("tlswrap")}}}function z(){return{buf:"",write:function(F){this.buf+=F},end:function(F){this.buf+=F},read:function(){return this.buf}}}n.writeToStream=function(F,U,k){return void 0===k&&(k=U,U={}),q(U=w(F,U),k).dispatch(F)}}).call(this,N("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},N("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(N,s,n){(function(a,g,m,T,O,D,E,y,I){!function(b){"use strict";var L=typeof Uint8Array<"u"?Uint8Array:Array;function U(k){return 43===(k=k.charCodeAt(0))||45===k?62:47===k||95===k?63:k<48?-1:k<58?k-48+26+26:k<91?k-65:k<123?k-97+26:void 0}b.toByteArray=function(k){var Y,x;if(0<k.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var B="="===k.charAt((B=k.length)-2)?2:"="===k.charAt(B-1)?1:0,j=new L(3*k.length/4-B),$=0<B?k.length-4:k.length,H=0;function ie(ne){j[H++]=ne}for(Y=0;Y<$;Y+=4,0)ie((16711680&(x=U(k.charAt(Y))<<18|U(k.charAt(Y+1))<<12|U(k.charAt(Y+2))<<6|U(k.charAt(Y+3))))>>16),ie((65280&x)>>8),ie(255&x);return 2==B?ie(255&(x=U(k.charAt(Y))<<2|U(k.charAt(Y+1))>>4)):1==B&&(ie((x=U(k.charAt(Y))<<10|U(k.charAt(Y+1))<<4|U(k.charAt(Y+2))>>2)>>8&255),ie(255&x)),j},b.fromByteArray=function(k){var Y,x,B,j,$=k.length%3,H="";function ie(ne){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(ne)}for(Y=0,B=k.length-$;Y<B;Y+=3)H+=ie((j=x=(k[Y]<<16)+(k[Y+1]<<8)+k[Y+2])>>18&63)+ie(j>>12&63)+ie(j>>6&63)+ie(63&j);switch($){case 1:H=(H+=ie((x=k[k.length-1])>>2))+ie(x<<4&63)+"==";break;case 2:H=(H=(H+=ie((x=(k[k.length-2]<<8)+k[k.length-1])>>10))+ie(x>>4&63))+ie(x<<2&63)+"="}return H}}(void 0===n?this.base64js={}:n)}).call(this,N("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},N("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(N,s,n){(function(a,g,o,T,O,D,E,y,I){var b=N("base64-js"),L=N("ieee754");function o(Oe,Xe,Pe){if(!(this instanceof o))return new o(Oe,Xe,Pe);var $e,ze,Be,Ye,Ct=typeof Oe;if("base64"===Xe&&"string"==Ct)for(Oe=(Ye=Oe).trim?Ye.trim():Ye.replace(/^\s+|\s+$/g,"");Oe.length%4!=0;)Oe+="=";if("number"==Ct)$e=le(Oe);else if("string"==Ct)$e=o.byteLength(Oe,Xe);else{if("object"!=Ct)throw new Error("First argument needs to be a number, array or string.");$e=le(Oe.length)}if(o._useTypedArrays?ze=o._augment(new Uint8Array($e)):((ze=this).length=$e,ze._isBuffer=!0),o._useTypedArrays&&"number"==typeof Oe.byteLength)ze._set(Oe);else if(pe(Ye=Oe)||o.isBuffer(Ye)||Ye&&"object"==typeof Ye&&"number"==typeof Ye.length)for(Be=0;Be<$e;Be++)ze[Be]=o.isBuffer(Oe)?Oe.readUInt8(Be):Oe[Be];else if("string"==Ct)ze.write(Oe,0,Xe);else if("number"==Ct&&!o._useTypedArrays&&!Pe)for(Be=0;Be<$e;Be++)ze[Be]=0;return ze}function q(Oe,Xe,Pe,Be){var ze;if(Be||(Ae("boolean"==typeof Pe,"missing or invalid endian"),Ae(null!=Xe,"missing offset"),Ae(Xe+1<Oe.length,"Trying to read beyond buffer length")),!((Be=Oe.length)<=Xe))return Pe?(ze=Oe[Xe],Xe+1<Be&&(ze|=Oe[Xe+1]<<8)):(ze=Oe[Xe]<<8,Xe+1<Be&&(ze|=Oe[Xe+1])),ze}function z(Oe,Xe,Pe,Be){var ze;if(Be||(Ae("boolean"==typeof Pe,"missing or invalid endian"),Ae(null!=Xe,"missing offset"),Ae(Xe+3<Oe.length,"Trying to read beyond buffer length")),!((Be=Oe.length)<=Xe))return Pe?(Xe+2<Be&&(ze=Oe[Xe+2]<<16),Xe+1<Be&&(ze|=Oe[Xe+1]<<8),ze|=Oe[Xe],Xe+3<Be&&(ze+=Oe[Xe+3]<<24>>>0)):(Xe+1<Be&&(ze=Oe[Xe+1]<<16),Xe+2<Be&&(ze|=Oe[Xe+2]<<8),Xe+3<Be&&(ze|=Oe[Xe+3]),ze+=Oe[Xe]<<24>>>0),ze}function F(Oe,Xe,Pe,$e){if($e||(Ae("boolean"==typeof Pe,"missing or invalid endian"),Ae(null!=Xe,"missing offset"),Ae(Xe+1<Oe.length,"Trying to read beyond buffer length")),!(Oe.length<=Xe))return 32768&($e=q(Oe,Xe,Pe,!0))?-1*(65535-$e+1):$e}function U(Oe,Xe,Pe,$e){if($e||(Ae("boolean"==typeof Pe,"missing or invalid endian"),Ae(null!=Xe,"missing offset"),Ae(Xe+3<Oe.length,"Trying to read beyond buffer length")),!(Oe.length<=Xe))return 2147483648&($e=z(Oe,Xe,Pe,!0))?-1*(4294967295-$e+1):$e}function k(Oe,Xe,Pe,$e){return $e||(Ae("boolean"==typeof Pe,"missing or invalid endian"),Ae(Xe+3<Oe.length,"Trying to read beyond buffer length")),L.read(Oe,Xe,Pe,23,4)}function Y(Oe,Xe,Pe,$e){return $e||(Ae("boolean"==typeof Pe,"missing or invalid endian"),Ae(Xe+7<Oe.length,"Trying to read beyond buffer length")),L.read(Oe,Xe,Pe,52,8)}function x(Oe,Xe,Pe,$e,ze){if(ze||(Ae(null!=Xe,"missing value"),Ae("boolean"==typeof $e,"missing or invalid endian"),Ae(null!=Pe,"missing offset"),Ae(Pe+1<Oe.length,"trying to write beyond buffer length"),me(Xe,65535)),!((ze=Oe.length)<=Pe))for(var Be=0,Ye=Math.min(ze-Pe,2);Be<Ye;Be++)Oe[Pe+Be]=(Xe&255<<8*($e?Be:1-Be))>>>8*($e?Be:1-Be)}function B(Oe,Xe,Pe,$e,ze){if(ze||(Ae(null!=Xe,"missing value"),Ae("boolean"==typeof $e,"missing or invalid endian"),Ae(null!=Pe,"missing offset"),Ae(Pe+3<Oe.length,"trying to write beyond buffer length"),me(Xe,4294967295)),!((ze=Oe.length)<=Pe))for(var Be=0,Ye=Math.min(ze-Pe,4);Be<Ye;Be++)Oe[Pe+Be]=Xe>>>8*($e?Be:3-Be)&255}function j(Oe,Xe,Pe,$e,ze){ze||(Ae(null!=Xe,"missing value"),Ae("boolean"==typeof $e,"missing or invalid endian"),Ae(null!=Pe,"missing offset"),Ae(Pe+1<Oe.length,"Trying to write beyond buffer length"),be(Xe,32767,-32768)),Oe.length<=Pe||x(Oe,0<=Xe?Xe:65535+Xe+1,Pe,$e,ze)}function $(Oe,Xe,Pe,$e,ze){ze||(Ae(null!=Xe,"missing value"),Ae("boolean"==typeof $e,"missing or invalid endian"),Ae(null!=Pe,"missing offset"),Ae(Pe+3<Oe.length,"Trying to write beyond buffer length"),be(Xe,2147483647,-2147483648)),Oe.length<=Pe||B(Oe,0<=Xe?Xe:4294967295+Xe+1,Pe,$e,ze)}function H(Oe,Xe,Pe,$e,ze){ze||(Ae(null!=Xe,"missing value"),Ae("boolean"==typeof $e,"missing or invalid endian"),Ae(null!=Pe,"missing offset"),Ae(Pe+3<Oe.length,"Trying to write beyond buffer length"),Le(Xe,34028234663852886e22,-34028234663852886e22)),Oe.length<=Pe||L.write(Oe,Xe,Pe,$e,23,4)}function ie(Oe,Xe,Pe,$e,ze){ze||(Ae(null!=Xe,"missing value"),Ae("boolean"==typeof $e,"missing or invalid endian"),Ae(null!=Pe,"missing offset"),Ae(Pe+7<Oe.length,"Trying to write beyond buffer length"),Le(Xe,17976931348623157e292,-17976931348623157e292)),Oe.length<=Pe||L.write(Oe,Xe,Pe,$e,52,8)}n.Buffer=o,n.SlowBuffer=o,n.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var Oe=new ArrayBuffer(0),Xe=new Uint8Array(Oe);return Xe.foo=function(){return 42},42===Xe.foo()&&"function"==typeof Xe.subarray}catch{return!1}}(),o.isEncoding=function(Oe){switch(String(Oe).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(Oe){return!(null==Oe||!Oe._isBuffer)},o.byteLength=function(Oe,Xe){var Pe;switch(Oe+="",Xe||"utf8"){case"hex":Pe=Oe.length/2;break;case"utf8":case"utf-8":Pe=ae(Oe).length;break;case"ascii":case"binary":case"raw":Pe=Oe.length;break;case"base64":Pe=K(Oe).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":Pe=2*Oe.length;break;default:throw new Error("Unknown encoding")}return Pe},o.concat=function(Oe,Xe){if(Ae(pe(Oe),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===Oe.length)return new o(0);if(1===Oe.length)return Oe[0];if("number"!=typeof Xe)for(ze=Xe=0;ze<Oe.length;ze++)Xe+=Oe[ze].length;for(var Pe=new o(Xe),$e=0,ze=0;ze<Oe.length;ze++){var Be=Oe[ze];Be.copy(Pe,$e),$e+=Be.length}return Pe},o.prototype.write=function(Oe,Xe,Pe,$e){isFinite(Xe)?isFinite(Pe)||($e=Pe,Pe=void 0):(Lt=$e,$e=Xe,Xe=Pe,Pe=Lt),Xe=Number(Xe)||0;var ze,Be,Ye,Ct,Lt=this.length-Xe;switch((!Pe||Lt<(Pe=Number(Pe)))&&(Pe=Lt),$e=String($e||"utf8").toLowerCase()){case"hex":ze=function(Vt,ht,gt,Ge){gt=Number(gt)||0;var Se=Vt.length-gt;(!Ge||Se<(Ge=Number(Ge)))&&(Ge=Se),Ae((Se=ht.length)%2==0,"Invalid hex string"),Se/2<Ge&&(Ge=Se/2);for(var ke=0;ke<Ge;ke++){var Ne=parseInt(ht.substr(2*ke,2),16);Ae(!isNaN(Ne),"Invalid hex string"),Vt[gt+ke]=Ne}return o._charsWritten=2*ke,ke}(this,Oe,Xe,Pe);break;case"utf8":case"utf-8":Be=this,Ye=Xe,Ct=Pe,ze=o._charsWritten=de(ae(Oe),Be,Ye,Ct);break;case"ascii":case"binary":ze=function C(Oe,Xe,Pe,$e){return o._charsWritten=de(function(ze){for(var Be=[],Ye=0;Ye<ze.length;Ye++)Be.push(255&ze.charCodeAt(Ye));return Be}(Xe),Oe,Pe,$e)}(this,Oe,Xe,Pe);break;case"base64":Be=this,Ye=Xe,Ct=Pe,ze=o._charsWritten=de(K(Oe),Be,Ye,Ct);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":ze=function w(Oe,Xe,Pe,$e){return o._charsWritten=de(function(ze){for(var Be,Ye,Ct=[],Lt=0;Lt<ze.length;Lt++)Be=(Ye=ze.charCodeAt(Lt))>>8,Ct.push(Ye%=256),Ct.push(Be);return Ct}(Xe),Oe,Pe,$e)}(this,Oe,Xe,Pe);break;default:throw new Error("Unknown encoding")}return ze},o.prototype.toString=function(Oe,Xe,Pe){var $e,ze,Be,Ye,Ct=this;if(Oe=String(Oe||"utf8").toLowerCase(),Xe=Number(Xe)||0,(Pe=void 0!==Pe?Number(Pe):Ct.length)===Xe)return"";switch(Oe){case"hex":$e=function(Lt,Vt,ht){var gt=Lt.length;(!Vt||Vt<0)&&(Vt=0),(!ht||ht<0||gt<ht)&&(ht=gt);for(var Ge="",Se=Vt;Se<ht;Se++)Ge+=te(Lt[Se]);return Ge}(Ct,Xe,Pe);break;case"utf8":case"utf-8":$e=function(Lt,Vt,ht){var gt="",Ge="";ht=Math.min(Lt.length,ht);for(var Se=Vt;Se<ht;Se++)Lt[Se]<=127?(gt+=Me(Ge)+String.fromCharCode(Lt[Se]),Ge=""):Ge+="%"+Lt[Se].toString(16);return gt+Me(Ge)}(Ct,Xe,Pe);break;case"ascii":case"binary":$e=function M(Oe,Xe,Pe){var $e="";Pe=Math.min(Oe.length,Pe);for(var ze=Xe;ze<Pe;ze++)$e+=String.fromCharCode(Oe[ze]);return $e}(Ct,Xe,Pe);break;case"base64":ze=Ct,Ye=Pe,$e=0===(Be=Xe)&&Ye===ze.length?b.fromByteArray(ze):b.fromByteArray(ze.slice(Be,Ye));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":$e=function(Lt,Vt,ht){for(var gt=Lt.slice(Vt,ht),Ge="",Se=0;Se<gt.length;Se+=2)Ge+=String.fromCharCode(gt[Se]+256*gt[Se+1]);return Ge}(Ct,Xe,Pe);break;default:throw new Error("Unknown encoding")}return $e},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(Oe,Xe,Pe,$e){if(Xe=Xe||0,($e=$e||0===$e?$e:this.length)!==(Pe=Pe||0)&&0!==Oe.length&&0!==this.length){Ae(Pe<=$e,"sourceEnd < sourceStart"),Ae(0<=Xe&&Xe<Oe.length,"targetStart out of bounds"),Ae(0<=Pe&&Pe<this.length,"sourceStart out of bounds"),Ae(0<=$e&&$e<=this.length,"sourceEnd out of bounds"),$e>this.length&&($e=this.length);var ze=($e=Oe.length-Xe<$e-Pe?Oe.length-Xe+Pe:$e)-Pe;if(ze<100||!o._useTypedArrays)for(var Be=0;Be<ze;Be++)Oe[Be+Xe]=this[Be+Pe];else Oe._set(this.subarray(Pe,Pe+ze),Xe)}},o.prototype.slice=function(Oe,Xe){var Pe=this.length;if(Oe=Q(Oe,Pe,0),Xe=Q(Xe,Pe,Pe),o._useTypedArrays)return o._augment(this.subarray(Oe,Xe));for(var $e=Xe-Oe,ze=new o($e,void 0,!0),Be=0;Be<$e;Be++)ze[Be]=this[Be+Oe];return ze},o.prototype.get=function(Oe){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(Oe)},o.prototype.set=function(Oe,Xe){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(Oe,Xe)},o.prototype.readUInt8=function(Oe,Xe){if(Xe||(Ae(null!=Oe,"missing offset"),Ae(Oe<this.length,"Trying to read beyond buffer length")),!(Oe>=this.length))return this[Oe]},o.prototype.readUInt16LE=function(Oe,Xe){return q(this,Oe,!0,Xe)},o.prototype.readUInt16BE=function(Oe,Xe){return q(this,Oe,!1,Xe)},o.prototype.readUInt32LE=function(Oe,Xe){return z(this,Oe,!0,Xe)},o.prototype.readUInt32BE=function(Oe,Xe){return z(this,Oe,!1,Xe)},o.prototype.readInt8=function(Oe,Xe){if(Xe||(Ae(null!=Oe,"missing offset"),Ae(Oe<this.length,"Trying to read beyond buffer length")),!(Oe>=this.length))return 128&this[Oe]?-1*(255-this[Oe]+1):this[Oe]},o.prototype.readInt16LE=function(Oe,Xe){return F(this,Oe,!0,Xe)},o.prototype.readInt16BE=function(Oe,Xe){return F(this,Oe,!1,Xe)},o.prototype.readInt32LE=function(Oe,Xe){return U(this,Oe,!0,Xe)},o.prototype.readInt32BE=function(Oe,Xe){return U(this,Oe,!1,Xe)},o.prototype.readFloatLE=function(Oe,Xe){return k(this,Oe,!0,Xe)},o.prototype.readFloatBE=function(Oe,Xe){return k(this,Oe,!1,Xe)},o.prototype.readDoubleLE=function(Oe,Xe){return Y(this,Oe,!0,Xe)},o.prototype.readDoubleBE=function(Oe,Xe){return Y(this,Oe,!1,Xe)},o.prototype.writeUInt8=function(Oe,Xe,Pe){Pe||(Ae(null!=Oe,"missing value"),Ae(null!=Xe,"missing offset"),Ae(Xe<this.length,"trying to write beyond buffer length"),me(Oe,255)),Xe>=this.length||(this[Xe]=Oe)},o.prototype.writeUInt16LE=function(Oe,Xe,Pe){x(this,Oe,Xe,!0,Pe)},o.prototype.writeUInt16BE=function(Oe,Xe,Pe){x(this,Oe,Xe,!1,Pe)},o.prototype.writeUInt32LE=function(Oe,Xe,Pe){B(this,Oe,Xe,!0,Pe)},o.prototype.writeUInt32BE=function(Oe,Xe,Pe){B(this,Oe,Xe,!1,Pe)},o.prototype.writeInt8=function(Oe,Xe,Pe){Pe||(Ae(null!=Oe,"missing value"),Ae(null!=Xe,"missing offset"),Ae(Xe<this.length,"Trying to write beyond buffer length"),be(Oe,127,-128)),Xe>=this.length||this.writeUInt8(0<=Oe?Oe:255+Oe+1,Xe,Pe)},o.prototype.writeInt16LE=function(Oe,Xe,Pe){j(this,Oe,Xe,!0,Pe)},o.prototype.writeInt16BE=function(Oe,Xe,Pe){j(this,Oe,Xe,!1,Pe)},o.prototype.writeInt32LE=function(Oe,Xe,Pe){$(this,Oe,Xe,!0,Pe)},o.prototype.writeInt32BE=function(Oe,Xe,Pe){$(this,Oe,Xe,!1,Pe)},o.prototype.writeFloatLE=function(Oe,Xe,Pe){H(this,Oe,Xe,!0,Pe)},o.prototype.writeFloatBE=function(Oe,Xe,Pe){H(this,Oe,Xe,!1,Pe)},o.prototype.writeDoubleLE=function(Oe,Xe,Pe){ie(this,Oe,Xe,!0,Pe)},o.prototype.writeDoubleBE=function(Oe,Xe,Pe){ie(this,Oe,Xe,!1,Pe)},o.prototype.fill=function(Oe,Xe,Pe){if(Xe=Xe||0,Pe=Pe||this.length,Ae("number"==typeof(Oe="string"==typeof(Oe=Oe||0)?Oe.charCodeAt(0):Oe)&&!isNaN(Oe),"value is not a number"),Ae(Xe<=Pe,"end < start"),Pe!==Xe&&0!==this.length){Ae(0<=Xe&&Xe<this.length,"start out of bounds"),Ae(0<=Pe&&Pe<=this.length,"end out of bounds");for(var $e=Xe;$e<Pe;$e++)this[$e]=Oe}},o.prototype.inspect=function(){for(var Oe=[],Xe=this.length,Pe=0;Pe<Xe;Pe++)if(Oe[Pe]=te(this[Pe]),Pe===n.INSPECT_MAX_BYTES){Oe[Pe+1]="...";break}return"<Buffer "+Oe.join(" ")+">"},o.prototype.toArrayBuffer=function(){if(typeof Uint8Array>"u")throw new Error("Buffer.toArrayBuffer not supported in this browser");if(o._useTypedArrays)return new o(this).buffer;for(var Oe=new Uint8Array(this.length),Xe=0,Pe=Oe.length;Xe<Pe;Xe+=1)Oe[Xe]=this[Xe];return Oe.buffer};var ne=o.prototype;function Q(Oe,Xe,Pe){return"number"!=typeof Oe?Pe:Xe<=(Oe=~~Oe)?Xe:0<=Oe||0<=(Oe+=Xe)?Oe:0}function le(Oe){return(Oe=~~Math.ceil(+Oe))<0?0:Oe}function pe(Oe){return(Array.isArray||function(Xe){return"[object Array]"===Object.prototype.toString.call(Xe)})(Oe)}function te(Oe){return Oe<16?"0"+Oe.toString(16):Oe.toString(16)}function ae(Oe){for(var Xe=[],Pe=0;Pe<Oe.length;Pe++){var $e=Oe.charCodeAt(Pe);if($e<=127)Xe.push(Oe.charCodeAt(Pe));else for(var ze=Pe,Be=(55296<=$e&&$e<=57343&&Pe++,encodeURIComponent(Oe.slice(ze,Pe+1)).substr(1).split("%")),Ye=0;Ye<Be.length;Ye++)Xe.push(parseInt(Be[Ye],16))}return Xe}function K(Oe){return b.toByteArray(Oe)}function de(Oe,Xe,Pe,$e){for(var ze=0;ze<$e&&!(ze+Pe>=Xe.length||ze>=Oe.length);ze++)Xe[ze+Pe]=Oe[ze];return ze}function Me(Oe){try{return decodeURIComponent(Oe)}catch{return"\ufffd"}}function me(Oe,Xe){Ae("number"==typeof Oe,"cannot write a non-number as a number"),Ae(0<=Oe,"specified a negative value for writing an unsigned value"),Ae(Oe<=Xe,"value is larger than maximum value for type"),Ae(Math.floor(Oe)===Oe,"value has a fractional component")}function be(Oe,Xe,Pe){Ae("number"==typeof Oe,"cannot write a non-number as a number"),Ae(Oe<=Xe,"value larger than maximum allowed value"),Ae(Pe<=Oe,"value smaller than minimum allowed value"),Ae(Math.floor(Oe)===Oe,"value has a fractional component")}function Le(Oe,Xe,Pe){Ae("number"==typeof Oe,"cannot write a non-number as a number"),Ae(Oe<=Xe,"value larger than maximum allowed value"),Ae(Pe<=Oe,"value smaller than minimum allowed value")}function Ae(Oe,Xe){if(!Oe)throw new Error(Xe||"Failed assertion")}o._augment=function(Oe){return Oe._isBuffer=!0,Oe._get=Oe.get,Oe._set=Oe.set,Oe.get=ne.get,Oe.set=ne.set,Oe.write=ne.write,Oe.toString=ne.toString,Oe.toLocaleString=ne.toString,Oe.toJSON=ne.toJSON,Oe.copy=ne.copy,Oe.slice=ne.slice,Oe.readUInt8=ne.readUInt8,Oe.readUInt16LE=ne.readUInt16LE,Oe.readUInt16BE=ne.readUInt16BE,Oe.readUInt32LE=ne.readUInt32LE,Oe.readUInt32BE=ne.readUInt32BE,Oe.readInt8=ne.readInt8,Oe.readInt16LE=ne.readInt16LE,Oe.readInt16BE=ne.readInt16BE,Oe.readInt32LE=ne.readInt32LE,Oe.readInt32BE=ne.readInt32BE,Oe.readFloatLE=ne.readFloatLE,Oe.readFloatBE=ne.readFloatBE,Oe.readDoubleLE=ne.readDoubleLE,Oe.readDoubleBE=ne.readDoubleBE,Oe.writeUInt8=ne.writeUInt8,Oe.writeUInt16LE=ne.writeUInt16LE,Oe.writeUInt16BE=ne.writeUInt16BE,Oe.writeUInt32LE=ne.writeUInt32LE,Oe.writeUInt32BE=ne.writeUInt32BE,Oe.writeInt8=ne.writeInt8,Oe.writeInt16LE=ne.writeInt16LE,Oe.writeInt16BE=ne.writeInt16BE,Oe.writeInt32LE=ne.writeInt32LE,Oe.writeInt32BE=ne.writeInt32BE,Oe.writeFloatLE=ne.writeFloatLE,Oe.writeFloatBE=ne.writeFloatBE,Oe.writeDoubleLE=ne.writeDoubleLE,Oe.writeDoubleBE=ne.writeDoubleBE,Oe.fill=ne.fill,Oe.inspect=ne.inspect,Oe.toArrayBuffer=ne.toArrayBuffer,Oe}}).call(this,N("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},N("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(N,s,n){(function(a,g,b,T,O,D,E,y,I){b=N("buffer").Buffer;var o=new b(4);o.fill(0),s.exports={hash:function(C,w,M,q){for(var z=w(function(x,B){x.length%4!=0&&(x=b.concat([x,o],x.length+(4-x.length%4)));for(var $=[],H=B?x.readInt32BE:x.readInt32LE,ie=0;ie<x.length;ie+=4)$.push(H.call(x,ie));return $}(C=b.isBuffer(C)?C:new b(C),q),8*C.length),F=(w=q,new b(M)),U=w?F.writeInt32BE:F.writeInt32LE,k=0;k<z.length;k++)U.call(F,z[k],4*k,!0);return F}}}).call(this,N("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},N("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(N,s,n){(function(a,g,b,T,O,D,E,y,I){b=N("buffer").Buffer;var L=N("./sha"),o=N("./sha256"),C=N("./rng"),w={sha1:L,sha256:o,md5:N("./md5")},M=64,q=new b(M);function z(x,B){var j=w[x=x||"sha1"],$=[];return j||F("algorithm:",x,"is not yet supported"),{update:function(H){return b.isBuffer(H)||(H=new b(H)),$.push(H),this},digest:function(H){var ie=b.concat($);return ie=B?function(ne,Q,le){b.isBuffer(Q)||(Q=new b(Q)),b.isBuffer(le)||(le=new b(le)),Q.length>M?Q=ne(Q):Q.length<M&&(Q=b.concat([Q,q],M));for(var pe=new b(M),te=new b(M),ae=0;ae<M;ae++)pe[ae]=54^Q[ae],te[ae]=92^Q[ae];return le=ne(b.concat([pe,le])),ne(b.concat([te,le]))}(j,B,ie):j(ie),$=null,H?ie.toString(H):ie}}}function F(){var x=[].slice.call(arguments).join(" ");throw new Error([x,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}q.fill(0),n.createHash=function(x){return z(x)},n.createHmac=z,n.randomBytes=function(x,B){if(!B||!B.call)return new b(C(x));try{B.call(this,void 0,new b(C(x)))}catch(j){B(j)}};var U,k=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],Y=function(x){n[x]=function(){F("sorry,",x,"is not implemented yet")}};for(U in k)Y(k[U])}).call(this,N("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},N("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(N,s,n){(function(a,g,m,T,O,D,E,y,I){var b=N("./helpers");function L(F,U){F[U>>5]|=128<<U%32,F[14+(U+64>>>9<<4)]=U;for(var k=1732584193,Y=-271733879,x=-1732584194,B=271733878,j=0;j<F.length;j+=16){var $=k,H=Y,ie=x,ne=B;k=C(k,Y,x,B,F[j+0],7,-680876936),B=C(B,k,Y,x,F[j+1],12,-389564586),x=C(x,B,k,Y,F[j+2],17,606105819),Y=C(Y,x,B,k,F[j+3],22,-1044525330),k=C(k,Y,x,B,F[j+4],7,-176418897),B=C(B,k,Y,x,F[j+5],12,1200080426),x=C(x,B,k,Y,F[j+6],17,-1473231341),Y=C(Y,x,B,k,F[j+7],22,-45705983),k=C(k,Y,x,B,F[j+8],7,1770035416),B=C(B,k,Y,x,F[j+9],12,-1958414417),x=C(x,B,k,Y,F[j+10],17,-42063),Y=C(Y,x,B,k,F[j+11],22,-1990404162),k=C(k,Y,x,B,F[j+12],7,1804603682),B=C(B,k,Y,x,F[j+13],12,-40341101),x=C(x,B,k,Y,F[j+14],17,-1502002290),k=w(k,Y=C(Y,x,B,k,F[j+15],22,1236535329),x,B,F[j+1],5,-165796510),B=w(B,k,Y,x,F[j+6],9,-1069501632),x=w(x,B,k,Y,F[j+11],14,643717713),Y=w(Y,x,B,k,F[j+0],20,-373897302),k=w(k,Y,x,B,F[j+5],5,-701558691),B=w(B,k,Y,x,F[j+10],9,38016083),x=w(x,B,k,Y,F[j+15],14,-660478335),Y=w(Y,x,B,k,F[j+4],20,-405537848),k=w(k,Y,x,B,F[j+9],5,568446438),B=w(B,k,Y,x,F[j+14],9,-1019803690),x=w(x,B,k,Y,F[j+3],14,-187363961),Y=w(Y,x,B,k,F[j+8],20,1163531501),k=w(k,Y,x,B,F[j+13],5,-1444681467),B=w(B,k,Y,x,F[j+2],9,-51403784),x=w(x,B,k,Y,F[j+7],14,1735328473),k=M(k,Y=w(Y,x,B,k,F[j+12],20,-1926607734),x,B,F[j+5],4,-378558),B=M(B,k,Y,x,F[j+8],11,-2022574463),x=M(x,B,k,Y,F[j+11],16,1839030562),Y=M(Y,x,B,k,F[j+14],23,-35309556),k=M(k,Y,x,B,F[j+1],4,-1530992060),B=M(B,k,Y,x,F[j+4],11,1272893353),x=M(x,B,k,Y,F[j+7],16,-155497632),Y=M(Y,x,B,k,F[j+10],23,-1094730640),k=M(k,Y,x,B,F[j+13],4,681279174),B=M(B,k,Y,x,F[j+0],11,-358537222),x=M(x,B,k,Y,F[j+3],16,-722521979),Y=M(Y,x,B,k,F[j+6],23,76029189),k=M(k,Y,x,B,F[j+9],4,-640364487),B=M(B,k,Y,x,F[j+12],11,-421815835),x=M(x,B,k,Y,F[j+15],16,530742520),k=q(k,Y=M(Y,x,B,k,F[j+2],23,-995338651),x,B,F[j+0],6,-198630844),B=q(B,k,Y,x,F[j+7],10,1126891415),x=q(x,B,k,Y,F[j+14],15,-1416354905),Y=q(Y,x,B,k,F[j+5],21,-57434055),k=q(k,Y,x,B,F[j+12],6,1700485571),B=q(B,k,Y,x,F[j+3],10,-1894986606),x=q(x,B,k,Y,F[j+10],15,-1051523),Y=q(Y,x,B,k,F[j+1],21,-2054922799),k=q(k,Y,x,B,F[j+8],6,1873313359),B=q(B,k,Y,x,F[j+15],10,-30611744),x=q(x,B,k,Y,F[j+6],15,-1560198380),Y=q(Y,x,B,k,F[j+13],21,1309151649),k=q(k,Y,x,B,F[j+4],6,-145523070),B=q(B,k,Y,x,F[j+11],10,-1120210379),x=q(x,B,k,Y,F[j+2],15,718787259),Y=q(Y,x,B,k,F[j+9],21,-343485551),k=z(k,$),Y=z(Y,H),x=z(x,ie),B=z(B,ne)}return Array(k,Y,x,B)}function o(F,U,k,Y,x,B){return z((U=z(z(U,F),z(Y,B)))<<x|U>>>32-x,k)}function C(F,U,k,Y,x,B,j){return o(U&k|~U&Y,F,U,x,B,j)}function w(F,U,k,Y,x,B,j){return o(U&Y|k&~Y,F,U,x,B,j)}function M(F,U,k,Y,x,B,j){return o(U^k^Y,F,U,x,B,j)}function q(F,U,k,Y,x,B,j){return o(k^(U|~Y),F,U,x,B,j)}function z(F,U){var k=(65535&F)+(65535&U);return(F>>16)+(U>>16)+(k>>16)<<16|65535&k}s.exports=function(F){return b.hash(F,L,16)}}).call(this,N("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},N("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(N,s,n){(function(a,g,m,T,O,D,E,y,I){s.exports=function(L){for(var o,C=new Array(L),w=0;w<L;w++)!(3&w)&&(o=4294967296*Math.random()),C[w]=o>>>((3&w)<<3)&255;return C}}).call(this,N("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},N("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(N,s,n){(function(a,g,m,T,O,D,E,y,I){var b=N("./helpers");function L(w,M){w[M>>5]|=128<<24-M%32,w[15+(M+64>>9<<4)]=M;for(var q,z,F,U=Array(80),k=1732584193,Y=-271733879,x=-1732584194,B=271733878,j=-1009589776,$=0;$<w.length;$+=16){for(var H=k,ie=Y,ne=x,Q=B,le=j,pe=0;pe<80;pe++){U[pe]=pe<16?w[$+pe]:C(U[pe-3]^U[pe-8]^U[pe-14]^U[pe-16],1);var te=o(o(C(k,5),(te=Y,z=x,F=B,(q=pe)<20?te&z|~te&F:!(q<40)&&q<60?te&z|te&F|z&F:te^z^F)),o(o(j,U[pe]),(q=pe)<20?1518500249:q<40?1859775393:q<60?-1894007588:-899497514));j=B,B=x,x=C(Y,30),Y=k,k=te}k=o(k,H),Y=o(Y,ie),x=o(x,ne),B=o(B,Q),j=o(j,le)}return Array(k,Y,x,B,j)}function o(w,M){var q=(65535&w)+(65535&M);return(w>>16)+(M>>16)+(q>>16)<<16|65535&q}function C(w,M){return w<<M|w>>>32-M}s.exports=function(w){return b.hash(w,L,20,!0)}}).call(this,N("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},N("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(N,s,n){(function(a,g,m,T,O,D,E,y,I){function b(M,q){var z=(65535&M)+(65535&q);return(M>>16)+(q>>16)+(z>>16)<<16|65535&z}function L(M,q){var z,F=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),U=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),k=new Array(64);M[q>>5]|=128<<24-q%32,M[15+(q+64>>9<<4)]=q;for(var Y,x,B=0;B<M.length;B+=16){for(var j=U[0],$=U[1],H=U[2],ie=U[3],ne=U[4],Q=U[5],le=U[6],pe=U[7],te=0;te<64;te++)k[te]=te<16?M[te+B]:b(b(b(C(x=k[te-2],17)^C(x,19)^w(x,10),k[te-7]),C(x=k[te-15],7)^C(x,18)^w(x,3)),k[te-16]),z=b(b(b(b(pe,C(x=ne,6)^C(x,11)^C(x,25)),ne&Q^~ne&le),F[te]),k[te]),Y=b(C(Y=j,2)^C(Y,13)^C(Y,22),j&$^j&H^$&H),pe=le,le=Q,Q=ne,ne=b(ie,z),ie=H,H=$,$=j,j=b(z,Y);U[0]=b(j,U[0]),U[1]=b($,U[1]),U[2]=b(H,U[2]),U[3]=b(ie,U[3]),U[4]=b(ne,U[4]),U[5]=b(Q,U[5]),U[6]=b(le,U[6]),U[7]=b(pe,U[7])}return U}var o=N("./helpers"),C=function(M,q){return M>>>q|M<<32-q},w=function(M,q){return M>>>q};s.exports=function(M){return o.hash(M,L,32,!0)}}).call(this,N("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},N("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(N,s,n){(function(a,g,m,T,O,D,E,y,I){n.read=function(b,L,o,C,B){var M,q,z=8*B-C-1,F=(1<<z)-1,U=F>>1,k=-7,Y=o?B-1:0,x=o?-1:1;for(B=b[L+Y],Y+=x,M=B&(1<<-k)-1,B>>=-k,k+=z;0<k;M=256*M+b[L+Y],Y+=x,k-=8);for(q=M&(1<<-k)-1,M>>=-k,k+=C;0<k;q=256*q+b[L+Y],Y+=x,k-=8);if(0===M)M=1-U;else{if(M===F)return q?NaN:1/0*(B?-1:1);q+=Math.pow(2,C),M-=U}return(B?-1:1)*q*Math.pow(2,M-C)},n.write=function(b,L,o,C,w,j){var q,z,F=8*j-w-1,U=(1<<F)-1,k=U>>1,Y=23===w?Math.pow(2,-24)-Math.pow(2,-77):0,x=C?0:j-1,B=C?1:-1;for(j=L<0||0===L&&1/L<0?1:0,L=Math.abs(L),isNaN(L)||L===1/0?(z=isNaN(L)?1:0,q=U):(q=Math.floor(Math.log(L)/Math.LN2),L*(C=Math.pow(2,-q))<1&&(q--,C*=2),2<=(L+=1<=q+k?Y/C:Y*Math.pow(2,1-k))*C&&(q++,C/=2),U<=q+k?(z=0,q=U):1<=q+k?(z=(L*C-1)*Math.pow(2,w),q+=k):(z=L*Math.pow(2,k-1)*Math.pow(2,w),q=0));8<=w;b[o+x]=255&z,x+=B,z/=256,w-=8);for(q=q<<w|z,F+=w;0<F;b[o+x]=255&q,x+=B,q/=256,F-=8);b[o+x-B]|=128*j}}).call(this,N("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},N("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(N,s,n){(function(a,g,m,T,O,D,E,y,I){var b,L,o;function C(){}(a=s.exports={}).nextTick=(L=typeof window<"u"&&window.setImmediate,o=typeof window<"u"&&window.postMessage&&window.addEventListener,L?function(w){return window.setImmediate(w)}:o?(b=[],window.addEventListener("message",function(w){var M=w.source;M!==window&&null!==M||"process-tick"!==w.data||(w.stopPropagation(),0<b.length&&b.shift()())},!0),function(w){b.push(w),window.postMessage("process-tick","*")}):function(w){setTimeout(w,0)}),a.title="browser",a.browser=!0,a.env={},a.argv=[],a.on=C,a.addListener=C,a.once=C,a.off=C,a.removeListener=C,a.removeAllListeners=C,a.emit=C,a.binding=function(w){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(w){throw new Error("process.chdir is not supported")}}).call(this,N("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},N("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)},84412:(at,N,s)=>{"use strict";s.d(N,{t:()=>a});var n=s(21413);class a extends n.B{constructor(m){super(),this._value=m}get value(){return this.getValue()}_subscribe(m){const T=super._subscribe(m);return!T.closed&&m.next(this._value),T}getValue(){const{hasError:m,thrownError:T,_value:O}=this;if(m)throw T;return this._throwIfClosed(),O}next(m){super.next(this._value=m)}}},71985:(at,N,s)=>{"use strict";s.d(N,{c:()=>E});var n=s(47707),a=s(18359),g=s(3494),m=s(71203),T=s(41026),O=s(98071),D=s(49786);let E=(()=>{class L{constructor(C){C&&(this._subscribe=C)}lift(C){const w=new L;return w.source=this,w.operator=C,w}subscribe(C,w,M){const q=function b(L){return L&&L instanceof n.vU||function I(L){return L&&(0,O.T)(L.next)&&(0,O.T)(L.error)&&(0,O.T)(L.complete)}(L)&&(0,a.Uv)(L)}(C)?C:new n.Ms(C,w,M);return(0,D.Y)(()=>{const{operator:z,source:F}=this;q.add(z?z.call(q,F):F?this._subscribe(q):this._trySubscribe(q))}),q}_trySubscribe(C){try{return this._subscribe(C)}catch(w){C.error(w)}}forEach(C,w){return new(w=y(w))((M,q)=>{const z=new n.Ms({next:F=>{try{C(F)}catch(U){q(U),z.unsubscribe()}},error:q,complete:M});this.subscribe(z)})}_subscribe(C){var w;return null===(w=this.source)||void 0===w?void 0:w.subscribe(C)}[g.s](){return this}pipe(...C){return(0,m.m)(C)(this)}toPromise(C){return new(C=y(C))((w,M)=>{let q;this.subscribe(z=>q=z,z=>M(z),()=>w(q))})}}return L.create=o=>new L(o),L})();function y(L){var o;return null!==(o=L??T.$.Promise)&&void 0!==o?o:Promise}},92771:(at,N,s)=>{"use strict";s.d(N,{m:()=>g});var n=s(21413),a=s(86129);class g extends n.B{constructor(T=1/0,O=1/0,D=a.U){super(),this._bufferSize=T,this._windowTime=O,this._timestampProvider=D,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=O===1/0,this._bufferSize=Math.max(1,T),this._windowTime=Math.max(1,O)}next(T){const{isStopped:O,_buffer:D,_infiniteTimeWindow:E,_timestampProvider:y,_windowTime:I}=this;O||(D.push(T),!E&&D.push(y.now()+I)),this._trimBuffer(),super.next(T)}_subscribe(T){this._throwIfClosed(),this._trimBuffer();const O=this._innerSubscribe(T),{_infiniteTimeWindow:D,_buffer:E}=this,y=E.slice();for(let I=0;I<y.length&&!T.closed;I+=D?1:2)T.next(y[I]);return this._checkFinalizedStatuses(T),O}_trimBuffer(){const{_bufferSize:T,_timestampProvider:O,_buffer:D,_infiniteTimeWindow:E}=this,y=(E?1:2)*T;if(T<1/0&&y<D.length&&D.splice(0,D.length-y),!E){const I=O.now();let b=0;for(let L=1;L<D.length&&D[L]<=I;L+=2)b=L;b&&D.splice(0,b+1)}}}},21413:(at,N,s)=>{"use strict";s.d(N,{B:()=>D});var n=s(71985),a=s(18359);const m=(0,s(81853).L)(y=>function(){y(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var T=s(57908),O=s(49786);let D=(()=>{class y extends n.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(b){const L=new E(this,this);return L.operator=b,L}_throwIfClosed(){if(this.closed)throw new m}next(b){(0,O.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const L of this.currentObservers)L.next(b)}})}error(b){(0,O.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=b;const{observers:L}=this;for(;L.length;)L.shift().error(b)}})}complete(){(0,O.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:b}=this;for(;b.length;)b.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var b;return(null===(b=this.observers)||void 0===b?void 0:b.length)>0}_trySubscribe(b){return this._throwIfClosed(),super._trySubscribe(b)}_subscribe(b){return this._throwIfClosed(),this._checkFinalizedStatuses(b),this._innerSubscribe(b)}_innerSubscribe(b){const{hasError:L,isStopped:o,observers:C}=this;return L||o?a.Kn:(this.currentObservers=null,C.push(b),new a.yU(()=>{this.currentObservers=null,(0,T.o)(C,b)}))}_checkFinalizedStatuses(b){const{hasError:L,thrownError:o,isStopped:C}=this;L?b.error(o):C&&b.complete()}asObservable(){const b=new n.c;return b.source=this,b}}return y.create=(I,b)=>new E(I,b),y})();class E extends D{constructor(I,b){super(),this.destination=I,this.source=b}next(I){var b,L;null===(L=null===(b=this.destination)||void 0===b?void 0:b.next)||void 0===L||L.call(b,I)}error(I){var b,L;null===(L=null===(b=this.destination)||void 0===b?void 0:b.error)||void 0===L||L.call(b,I)}complete(){var I,b;null===(b=null===(I=this.destination)||void 0===I?void 0:I.complete)||void 0===b||b.call(I)}_subscribe(I){var b,L;return null!==(L=null===(b=this.source)||void 0===b?void 0:b.subscribe(I))&&void 0!==L?L:a.Kn}}},47707:(at,N,s)=>{"use strict";s.d(N,{Ms:()=>M,vU:()=>L});var n=s(98071),a=s(18359),g=s(41026),m=s(45334),T=s(85343);const O=y("C",void 0,void 0);function y(k,Y,x){return{kind:k,value:Y,error:x}}var I=s(19270),b=s(49786);class L extends a.yU{constructor(Y){super(),this.isStopped=!1,Y?(this.destination=Y,(0,a.Uv)(Y)&&Y.add(this)):this.destination=U}static create(Y,x,B){return new M(Y,x,B)}next(Y){this.isStopped?F(function E(k){return y("N",k,void 0)}(Y),this):this._next(Y)}error(Y){this.isStopped?F(function D(k){return y("E",void 0,k)}(Y),this):(this.isStopped=!0,this._error(Y))}complete(){this.isStopped?F(O,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Y){this.destination.next(Y)}_error(Y){try{this.destination.error(Y)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const o=Function.prototype.bind;function C(k,Y){return o.call(k,Y)}class w{constructor(Y){this.partialObserver=Y}next(Y){const{partialObserver:x}=this;if(x.next)try{x.next(Y)}catch(B){q(B)}}error(Y){const{partialObserver:x}=this;if(x.error)try{x.error(Y)}catch(B){q(B)}else q(Y)}complete(){const{partialObserver:Y}=this;if(Y.complete)try{Y.complete()}catch(x){q(x)}}}class M extends L{constructor(Y,x,B){let j;if(super(),(0,n.T)(Y)||!Y)j={next:Y??void 0,error:x??void 0,complete:B??void 0};else{let $;this&&g.$.useDeprecatedNextContext?($=Object.create(Y),$.unsubscribe=()=>this.unsubscribe(),j={next:Y.next&&C(Y.next,$),error:Y.error&&C(Y.error,$),complete:Y.complete&&C(Y.complete,$)}):j=Y}this.destination=new w(j)}}function q(k){g.$.useDeprecatedSynchronousErrorHandling?(0,b.l)(k):(0,m.m)(k)}function F(k,Y){const{onStoppedNotification:x}=g.$;x&&I.f.setTimeout(()=>x(k,Y))}const U={closed:!0,next:T.l,error:function z(k){throw k},complete:T.l}},18359:(at,N,s)=>{"use strict";s.d(N,{Kn:()=>O,yU:()=>T,Uv:()=>D});var n=s(98071);const g=(0,s(81853).L)(y=>function(b){y(this),this.message=b?`${b.length} errors occurred during unsubscription:\n${b.map((L,o)=>`${o+1}) ${L.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=b});var m=s(57908);class T{constructor(I){this.initialTeardown=I,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let I;if(!this.closed){this.closed=!0;const{_parentage:b}=this;if(b)if(this._parentage=null,Array.isArray(b))for(const C of b)C.remove(this);else b.remove(this);const{initialTeardown:L}=this;if((0,n.T)(L))try{L()}catch(C){I=C instanceof g?C.errors:[C]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const C of o)try{E(C)}catch(w){I=I??[],w instanceof g?I=[...I,...w.errors]:I.push(w)}}if(I)throw new g(I)}}add(I){var b;if(I&&I!==this)if(this.closed)E(I);else{if(I instanceof T){if(I.closed||I._hasParent(this))return;I._addParent(this)}(this._finalizers=null!==(b=this._finalizers)&&void 0!==b?b:[]).push(I)}}_hasParent(I){const{_parentage:b}=this;return b===I||Array.isArray(b)&&b.includes(I)}_addParent(I){const{_parentage:b}=this;this._parentage=Array.isArray(b)?(b.push(I),b):b?[b,I]:I}_removeParent(I){const{_parentage:b}=this;b===I?this._parentage=null:Array.isArray(b)&&(0,m.o)(b,I)}remove(I){const{_finalizers:b}=this;b&&(0,m.o)(b,I),I instanceof T&&I._removeParent(this)}}T.EMPTY=(()=>{const y=new T;return y.closed=!0,y})();const O=T.EMPTY;function D(y){return y instanceof T||y&&"closed"in y&&(0,n.T)(y.remove)&&(0,n.T)(y.add)&&(0,n.T)(y.unsubscribe)}function E(y){(0,n.T)(y)?y():y.unsubscribe()}},41026:(at,N,s)=>{"use strict";s.d(N,{$:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},30017:(at,N,s)=>{"use strict";s.d(N,{G:()=>O});var n=s(71985),a=s(18359),g=s(99898),m=s(54360),T=s(39974);class O extends n.c{constructor(E,y){super(),this.source=E,this.subjectFactory=y,this._subject=null,this._refCount=0,this._connection=null,(0,T.S)(E)&&(this.lift=E.lift)}_subscribe(E){return this.getSubject().subscribe(E)}getSubject(){const E=this._subject;return(!E||E.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:E}=this;this._subject=this._connection=null,E?.unsubscribe()}connect(){let E=this._connection;if(!E){E=this._connection=new a.yU;const y=this.getSubject();E.add(this.source.subscribe((0,m._)(y,void 0,()=>{this._teardown(),y.complete()},I=>{this._teardown(),y.error(I)},()=>this._teardown()))),E.closed&&(this._connection=null,E=a.yU.EMPTY)}return E}refCount(){return(0,g.B)()(this)}}},84572:(at,N,s)=>{"use strict";s.d(N,{P:()=>b,z:()=>I});var n=s(71985),a=s(93073),g=s(22806),m=s(33669),T=s(6450),O=s(9326),D=s(58496),E=s(54360),y=s(45225);function I(...o){const C=(0,O.lI)(o),w=(0,O.ms)(o),{args:M,keys:q}=(0,a.D)(o);if(0===M.length)return(0,g.H)([],C);const z=new n.c(b(M,C,q?F=>(0,D.e)(q,F):m.D));return w?z.pipe((0,T.I)(w)):z}function b(o,C,w=m.D){return M=>{L(C,()=>{const{length:q}=o,z=new Array(q);let F=q,U=q;for(let k=0;k<q;k++)L(C,()=>{const Y=(0,g.H)(o[k],C);let x=!1;Y.subscribe((0,E._)(M,B=>{z[k]=B,x||(x=!0,U--),U||M.next(w(z.slice()))},()=>{--F||M.complete()}))},M)},M)}}function L(o,C,w){o?(0,y.N)(w,o,C):C()}},28793:(at,N,s)=>{"use strict";s.d(N,{x:()=>T});var n=s(26365),g=s(9326),m=s(22806);function T(...O){return function a(){return(0,n.U)(1)}()((0,m.H)(O,(0,g.lI)(O)))}},59030:(at,N,s)=>{"use strict";s.d(N,{v:()=>g});var n=s(71985),a=s(58750);function g(m){return new n.c(T=>{(0,a.Tg)(m()).subscribe(T)})}},983:(at,N,s)=>{"use strict";s.d(N,{w:()=>a});const a=new(s(71985).c)(T=>T.complete())},27468:(at,N,s)=>{"use strict";s.d(N,{p:()=>E});var n=s(71985),a=s(93073),g=s(58750),m=s(9326),T=s(54360),O=s(6450),D=s(58496);function E(...y){const I=(0,m.ms)(y),{args:b,keys:L}=(0,a.D)(y),o=new n.c(C=>{const{length:w}=b;if(!w)return void C.complete();const M=new Array(w);let q=w,z=w;for(let F=0;F<w;F++){let U=!1;(0,g.Tg)(b[F]).subscribe((0,T._)(C,k=>{U||(U=!0,z--),M[F]=k},()=>q--,void 0,()=>{(!q||!U)&&(z||C.next(L?(0,D.e)(L,M):M),C.complete())}))}});return I?o.pipe((0,O.I)(I)):o}},22806:(at,N,s)=>{"use strict";s.d(N,{H:()=>x});var n=s(58750),a=s(40941),g=s(39974);function m(B,j=0){return(0,g.N)(($,H)=>{H.add(B.schedule(()=>$.subscribe(H),j))})}var D=s(71985),y=s(4761),I=s(98071),b=s(45225);function o(B,j){if(!B)throw new Error("Iterable cannot be null");return new D.c($=>{(0,b.N)($,j,()=>{const H=B[Symbol.asyncIterator]();(0,b.N)($,j,()=>{H.next().then(ie=>{ie.done?$.complete():$.next(ie.value)})},0,!0)})})}var C=s(55055),w=s(59858),M=s(47441),q=s(85397),z=s(37953),F=s(50591),U=s(15196);function x(B,j){return j?function Y(B,j){if(null!=B){if((0,C.l)(B))return function T(B,j){return(0,n.Tg)(B).pipe(m(j),(0,a.Q)(j))}(B,j);if((0,M.X)(B))return function E(B,j){return new D.c($=>{let H=0;return j.schedule(function(){H===B.length?$.complete():($.next(B[H++]),$.closed||this.schedule())})})}(B,j);if((0,w.y)(B))return function O(B,j){return(0,n.Tg)(B).pipe(m(j),(0,a.Q)(j))}(B,j);if((0,z.T)(B))return o(B,j);if((0,q.x)(B))return function L(B,j){return new D.c($=>{let H;return(0,b.N)($,j,()=>{H=B[y.l](),(0,b.N)($,j,()=>{let ie,ne;try{({value:ie,done:ne}=H.next())}catch(Q){return void $.error(Q)}ne?$.complete():$.next(ie)},0,!0)}),()=>(0,I.T)(H?.return)&&H.return()})}(B,j);if((0,U.U)(B))return function k(B,j){return o((0,U.C)(B),j)}(B,j)}throw(0,F.L)(B)}(B,j):(0,n.Tg)(B)}},33726:(at,N,s)=>{"use strict";s.d(N,{R:()=>I});var n=s(58750),a=s(71985),g=s(31397),m=s(47441),T=s(98071),O=s(6450);const D=["addListener","removeListener"],E=["addEventListener","removeEventListener"],y=["on","off"];function I(w,M,q,z){if((0,T.T)(q)&&(z=q,q=void 0),z)return I(w,M,q).pipe((0,O.I)(z));const[F,U]=function C(w){return(0,T.T)(w.addEventListener)&&(0,T.T)(w.removeEventListener)}(w)?E.map(k=>Y=>w[k](M,Y,q)):function L(w){return(0,T.T)(w.addListener)&&(0,T.T)(w.removeListener)}(w)?D.map(b(w,M)):function o(w){return(0,T.T)(w.on)&&(0,T.T)(w.off)}(w)?y.map(b(w,M)):[];if(!F&&(0,m.X)(w))return(0,g.Z)(k=>I(k,M,q))((0,n.Tg)(w));if(!F)throw new TypeError("Invalid event target");return new a.c(k=>{const Y=(...x)=>k.next(1<x.length?x:x[0]);return F(Y),()=>U(Y)})}function b(w,M){return q=>z=>w[q](M,z)}},58750:(at,N,s)=>{"use strict";s.d(N,{Tg:()=>o});var n=s(31635),a=s(47441),g=s(59858),m=s(71985),T=s(55055),O=s(37953),D=s(50591),E=s(85397),y=s(15196),I=s(98071),b=s(45334),L=s(3494);function o(k){if(k instanceof m.c)return k;if(null!=k){if((0,T.l)(k))return function C(k){return new m.c(Y=>{const x=k[L.s]();if((0,I.T)(x.subscribe))return x.subscribe(Y);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(k);if((0,a.X)(k))return function w(k){return new m.c(Y=>{for(let x=0;x<k.length&&!Y.closed;x++)Y.next(k[x]);Y.complete()})}(k);if((0,g.y)(k))return function M(k){return new m.c(Y=>{k.then(x=>{Y.closed||(Y.next(x),Y.complete())},x=>Y.error(x)).then(null,b.m)})}(k);if((0,O.T)(k))return z(k);if((0,E.x)(k))return function q(k){return new m.c(Y=>{for(const x of k)if(Y.next(x),Y.closed)return;Y.complete()})}(k);if((0,y.U)(k))return function F(k){return z((0,y.C)(k))}(k)}throw(0,D.L)(k)}function z(k){return new m.c(Y=>{(function U(k,Y){var x,B,j,$;return(0,n.sH)(this,void 0,void 0,function*(){try{for(x=(0,n.xN)(k);!(B=yield x.next()).done;)if(Y.next(B.value),Y.closed)return}catch(H){j={error:H}}finally{try{B&&!B.done&&($=x.return)&&(yield $.call(x))}finally{if(j)throw j.error}}Y.complete()})})(k,Y).catch(x=>Y.error(x))})}},40605:(at,N,s)=>{"use strict";s.d(N,{Y:()=>g});var n=s(43236),a=s(1807);function g(m=0,T=n.E){return m<0&&(m=0),(0,a.O)(m,m,T)}},57786:(at,N,s)=>{"use strict";s.d(N,{h:()=>O});var n=s(26365),a=s(58750),g=s(983),m=s(9326),T=s(22806);function O(...D){const E=(0,m.lI)(D),y=(0,m.R0)(D,1/0),I=D;return I.length?1===I.length?(0,a.Tg)(I[0]):(0,n.U)(y)((0,T.H)(I,E)):g.w}},7673:(at,N,s)=>{"use strict";s.d(N,{of:()=>g});var n=s(9326),a=s(22806);function g(...m){const T=(0,n.lI)(m);return(0,a.H)(m,T)}},1033:(at,N,s)=>{"use strict";s.d(N,{O:()=>T});var n=s(71985),a=s(58750),g=s(42326),m=s(54360);function T(...D){return 1===(D=(0,g.K)(D)).length?(0,a.Tg)(D[0]):new n.c(function O(D){return E=>{let y=[];for(let I=0;y&&!E.closed&&I<D.length;I++)y.push((0,a.Tg)(D[I]).subscribe((0,m._)(E,b=>{if(y){for(let L=0;L<y.length;L++)L!==I&&y[L].unsubscribe();y=null}E.next(b)})))}}(D))}},18810:(at,N,s)=>{"use strict";s.d(N,{$:()=>g});var n=s(71985),a=s(98071);function g(m,T){const O=(0,a.T)(m)?m:()=>m,D=E=>E.error(O());return new n.c(T?E=>T.schedule(D,0,E):D)}},1807:(at,N,s)=>{"use strict";s.d(N,{O:()=>T});var n=s(71985),a=s(43236),g=s(79470),m=s(28211);function T(O=0,D,E=a.b){let y=-1;return null!=D&&((0,g.m)(D)?E=D:y=D),new n.c(I=>{let b=(0,m.v)(O)?+O-E.now():O;b<0&&(b=0);let L=0;return E.schedule(function(){I.closed||(I.next(L++),0<=y?this.schedule(void 0,y):I.complete())},b)})}},44437:(at,N,s)=>{"use strict";s.d(N,{y:()=>D});var n=s(71985),a=s(58750),g=s(42326),m=s(983),T=s(54360),O=s(9326);function D(...E){const y=(0,O.ms)(E),I=(0,g.K)(E);return I.length?new n.c(b=>{let L=I.map(()=>[]),o=I.map(()=>!1);b.add(()=>{L=o=null});for(let C=0;!b.closed&&C<I.length;C++)(0,a.Tg)(I[C]).subscribe((0,T._)(b,w=>{if(L[C].push(w),L.every(M=>M.length)){const M=L.map(q=>q.shift());b.next(y?y(...M):M),L.some((q,z)=>!q.length&&o[z])&&b.complete()}},()=>{o[C]=!0,!L[C].length&&b.complete()}));return()=>{L=o=null}}):m.w}},54360:(at,N,s)=>{"use strict";s.d(N,{_:()=>a});var n=s(47707);function a(m,T,O,D,E){return new g(m,T,O,D,E)}class g extends n.vU{constructor(T,O,D,E,y,I){super(T),this.onFinalize=y,this.shouldUnsubscribe=I,this._next=O?function(b){try{O(b)}catch(L){T.error(L)}}:super._next,this._error=E?function(b){try{E(b)}catch(L){T.error(L)}finally{this.unsubscribe()}}:super._error,this._complete=D?function(){try{D()}catch(b){T.error(b)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var T;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:O}=this;super.unsubscribe(),!O&&(null===(T=this.onFinalize)||void 0===T||T.call(this))}}}},13798:(at,N,s)=>{"use strict";s.d(N,{Z:()=>D});var n=s(43236),a=s(39974),g=s(58750),m=s(54360),O=s(1807);function D(E,y=n.E){return function T(E){return(0,a.N)((y,I)=>{let b=!1,L=null,o=null,C=!1;const w=()=>{if(o?.unsubscribe(),o=null,b){b=!1;const q=L;L=null,I.next(q)}C&&I.complete()},M=()=>{o=null,C&&I.complete()};y.subscribe((0,m._)(I,q=>{b=!0,L=q,o||(0,g.Tg)(E(q)).subscribe(o=(0,m._)(I,w,M))},()=>{C=!0,(!b||!o||o.closed)&&I.complete()}))})}(()=>(0,O.O)(E,y))}},99437:(at,N,s)=>{"use strict";s.d(N,{W:()=>m});var n=s(58750),a=s(54360),g=s(39974);function m(T){return(0,g.N)((O,D)=>{let I,E=null,y=!1;E=O.subscribe((0,a._)(D,void 0,void 0,b=>{I=(0,n.Tg)(T(b,m(T)(O))),E?(E.unsubscribe(),E=null,I.subscribe(D)):y=!0})),y&&(E.unsubscribe(),E=null,I.subscribe(D))})}},20140:(at,N,s)=>{"use strict";s.d(N,{v:()=>E});var n=s(84572),a=s(39974),g=s(42326),m=s(6450),T=s(71203),O=s(9326);function D(...y){const I=(0,O.ms)(y);return I?(0,T.F)(D(...y),(0,m.I)(I)):(0,a.N)((b,L)=>{(0,n.P)([b,...(0,g.K)(y)])(L)})}function E(...y){return D(...y)}},70274:(at,N,s)=>{"use strict";s.d(N,{H:()=>g});var n=s(31397),a=s(98071);function g(m,T){return(0,a.T)(T)?(0,n.Z)(m,T,1):(0,n.Z)(m,1)}},70152:(at,N,s)=>{"use strict";s.d(N,{B:()=>m});var n=s(43236),a=s(39974),g=s(54360);function m(T,O=n.E){return(0,a.N)((D,E)=>{let y=null,I=null,b=null;const L=()=>{if(y){y.unsubscribe(),y=null;const C=I;I=null,E.next(C)}};function o(){const C=b+T,w=O.now();if(w<C)return y=this.schedule(void 0,C-w),void E.add(y);L()}D.subscribe((0,g._)(E,C=>{I=C,b=O.now(),y||(y=O.schedule(o,T),E.add(y))},()=>{L(),E.complete()},void 0,()=>{I=y=null}))})}},39901:(at,N,s)=>{"use strict";s.d(N,{U:()=>g});var n=s(39974),a=s(54360);function g(m){return(0,n.N)((T,O)=>{let D=!1;T.subscribe((0,a._)(O,E=>{D=!0,O.next(E)},()=>{D||O.next(m),O.complete()}))})}},91986:(at,N,s)=>{"use strict";s.d(N,{c:()=>o});var n=s(43236),a=s(28793),g=s(96697),m=s(39974),T=s(54360),O=s(85343),E=s(73703),y=s(31397),I=s(58750);function b(C,w){return w?M=>(0,a.x)(w.pipe((0,g.s)(1),function D(){return(0,m.N)((C,w)=>{C.subscribe((0,T._)(w,O.l))})}()),M.pipe(b(C))):(0,y.Z)((M,q)=>(0,I.Tg)(C(M,q)).pipe((0,g.s)(1),(0,E.u)(M)))}var L=s(1807);function o(C,w=n.E){const M=(0,L.O)(C,w);return b(()=>M)}},23294:(at,N,s)=>{"use strict";s.d(N,{F:()=>m});var n=s(33669),a=s(39974),g=s(54360);function m(O,D=n.D){return O=O??T,(0,a.N)((E,y)=>{let I,b=!0;E.subscribe((0,g._)(y,L=>{const o=D(L);(b||!O(I,o))&&(b=!1,I=o,y.next(L))}))})}function T(O,D){return O===D}},11765:(at,N,s)=>{"use strict";s.d(N,{w:()=>a});var n=s(23294);function a(g,m){return(0,n.F)((T,O)=>m?m(T[g],O[g]):T[g]===O[g])}},5964:(at,N,s)=>{"use strict";s.d(N,{p:()=>g});var n=s(39974),a=s(54360);function g(m,T){return(0,n.N)((O,D)=>{let E=0;O.subscribe((0,a._)(D,y=>m.call(T,y,E++)&&D.next(y)))})}},70980:(at,N,s)=>{"use strict";s.d(N,{j:()=>a});var n=s(39974);function a(g){return(0,n.N)((m,T)=>{try{m.subscribe(T)}finally{T.add(g)}})}},61594:(at,N,s)=>{"use strict";s.d(N,{$:()=>D});var n=s(9350),a=s(5964),g=s(96697),m=s(39901),T=s(93774),O=s(33669);function D(E,y){const I=arguments.length>=2;return b=>b.pipe(E?(0,a.p)((L,o)=>E(L,o,b)):O.D,(0,g.s)(1),I?(0,m.U)(y):(0,T.v)(()=>new n.G))}},58523:(at,N,s)=>{"use strict";s.d(N,{q:()=>a});const a=s(31397).Z},96354:(at,N,s)=>{"use strict";s.d(N,{T:()=>g});var n=s(39974),a=s(54360);function g(m,T){return(0,n.N)((O,D)=>{let E=0;O.subscribe((0,a._)(D,y=>{D.next(m.call(T,y,E++))}))})}},73703:(at,N,s)=>{"use strict";s.d(N,{u:()=>a});var n=s(96354);function a(g){return(0,n.T)(()=>g)}},26365:(at,N,s)=>{"use strict";s.d(N,{U:()=>g});var n=s(31397),a=s(33669);function g(m=1/0){return(0,n.Z)(a.D,m)}},31397:(at,N,s)=>{"use strict";s.d(N,{Z:()=>E});var n=s(96354),a=s(58750),g=s(39974),m=s(45225),T=s(54360),D=s(98071);function E(y,I,b=1/0){return(0,D.T)(I)?E((L,o)=>(0,n.T)((C,w)=>I(L,C,o,w))((0,a.Tg)(y(L,o))),b):("number"==typeof I&&(b=I),(0,g.N)((L,o)=>function O(y,I,b,L,o,C,w,M){const q=[];let z=0,F=0,U=!1;const k=()=>{U&&!q.length&&!z&&I.complete()},Y=B=>z<L?x(B):q.push(B),x=B=>{C&&I.next(B),z++;let j=!1;(0,a.Tg)(b(B,F++)).subscribe((0,T._)(I,$=>{o?.($),C?Y($):I.next($)},()=>{j=!0},void 0,()=>{if(j)try{for(z--;q.length&&z<L;){const $=q.shift();w?(0,m.N)(I,w,()=>x($)):x($)}k()}catch($){I.error($)}}))};return y.subscribe((0,T._)(I,Y,()=>{U=!0,k()})),()=>{M?.()}}(L,o,y,b)))}},40941:(at,N,s)=>{"use strict";s.d(N,{Q:()=>m});var n=s(45225),a=s(39974),g=s(54360);function m(T,O=0){return(0,a.N)((D,E)=>{D.subscribe((0,g._)(E,y=>(0,n.N)(E,T,()=>E.next(y),O),()=>(0,n.N)(E,T,()=>E.complete(),O),y=>(0,n.N)(E,T,()=>E.error(y),O)))})}},13946:(at,N,s)=>{"use strict";s.d(N,{J:()=>g});var n=s(39974),a=s(54360);function g(){return(0,n.N)((m,T)=>{let O,D=!1;m.subscribe((0,a._)(T,E=>{const y=O;O=E,D&&T.next([y,E]),D=!0}))})}},55972:(at,N,s)=>{"use strict";s.d(N,{H:()=>L});var n=s(92771),a=s(30017),g=s(98071),m=s(21413),T=s(58750),O=s(39974),D=s(71985);const y={connector:()=>new m.B};function L(o,C,w,M){w&&!(0,g.T)(w)&&(M=w);const q=(0,g.T)(w)?w:void 0;return z=>function b(o,C){const w=(0,g.T)(o)?o:()=>o;return(0,g.T)(C)?function I(o,C=y){const{connector:w}=C;return(0,O.N)((M,q)=>{const z=w();(0,T.Tg)(o(function E(o){return new D.c(C=>o.subscribe(C))}(z))).subscribe(q),q.add(M.subscribe(z))})}(C,{connector:w}):M=>new a.G(M,w)}(new n.m(o,C,M),q)(z)}},99898:(at,N,s)=>{"use strict";s.d(N,{B:()=>g});var n=s(39974),a=s(54360);function g(){return(0,n.N)((m,T)=>{let O=null;m._refCount++;const D=(0,a._)(T,void 0,void 0,void 0,()=>{if(!m||m._refCount<=0||0<--m._refCount)return void(O=null);const E=m._connection,y=O;O=null,E&&(!y||E===y)&&E.unsubscribe(),T.unsubscribe()});m.subscribe(D),D.closed||(O=m.connect())})}},12498:(at,N,s)=>{"use strict";s.d(N,{L:()=>O});var n=s(39974),a=s(54360),g=s(33669),m=s(1807),T=s(58750);function O(D=1/0){let E;E=D&&"object"==typeof D?D:{count:D};const{count:y=1/0,delay:I,resetOnSuccess:b=!1}=E;return y<=0?g.D:(0,n.N)((L,o)=>{let w,C=0;const M=()=>{let q=!1;w=L.subscribe((0,a._)(o,z=>{b&&(C=0),o.next(z)},void 0,z=>{if(C++<y){const F=()=>{w?(w.unsubscribe(),w=null,M()):q=!0};if(null!=I){const U="number"==typeof I?(0,m.O)(I):(0,T.Tg)(I(z,C)),k=(0,a._)(o,()=>{k.unsubscribe(),F()},()=>{o.complete()});U.subscribe(k)}else F()}else o.error(z)})),q&&(w.unsubscribe(),w=null,M())};M()})}},46649:(at,N,s)=>{"use strict";s.d(N,{S:()=>a});var n=s(54360);function a(g,m,T,O,D){return(E,y)=>{let I=T,b=m,L=0;E.subscribe((0,n._)(y,o=>{const C=L++;b=I?g(b,o,C):(I=!0,o),O&&y.next(b)},D&&(()=>{I&&y.next(b),y.complete()})))}}},97647:(at,N,s)=>{"use strict";s.d(N,{u:()=>T});var n=s(58750),a=s(21413),g=s(47707),m=s(39974);function T(D={}){const{connector:E=()=>new a.B,resetOnError:y=!0,resetOnComplete:I=!0,resetOnRefCountZero:b=!0}=D;return L=>{let o,C,w,M=0,q=!1,z=!1;const F=()=>{C?.unsubscribe(),C=void 0},U=()=>{F(),o=w=void 0,q=z=!1},k=()=>{const Y=o;U(),Y?.unsubscribe()};return(0,m.N)((Y,x)=>{M++,!z&&!q&&F();const B=w=w??E();x.add(()=>{M--,0===M&&!z&&!q&&(C=O(k,b))}),B.subscribe(x),!o&&M>0&&(o=new g.Ms({next:j=>B.next(j),error:j=>{z=!0,F(),C=O(U,y,j),B.error(j)},complete:()=>{q=!0,F(),C=O(U,I),B.complete()}}),(0,n.Tg)(Y).subscribe(o))})(L)}}function O(D,E,...y){if(!0===E)return void D();if(!1===E)return;const I=new g.Ms({next:()=>{I.unsubscribe(),D()}});return(0,n.Tg)(E(...y)).subscribe(I)}},44668:(at,N,s)=>{"use strict";s.d(N,{t:()=>g});var n=s(92771),a=s(97647);function g(m,T,O){let D,E=!1;return m&&"object"==typeof m?({bufferSize:D=1/0,windowTime:T=1/0,refCount:E=!1,scheduler:O}=m):D=m??1/0,(0,a.u)({connector:()=>new n.m(D,T,O),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:E})}},65245:(at,N,s)=>{"use strict";s.d(N,{i:()=>a});var n=s(5964);function a(g){return(0,n.p)((m,T)=>g<=T)}},99172:(at,N,s)=>{"use strict";s.d(N,{Z:()=>m});var n=s(28793),a=s(9326),g=s(39974);function m(...T){const O=(0,a.lI)(T);return(0,g.N)((D,E)=>{(O?(0,n.x)(T,D,O):(0,n.x)(T,D)).subscribe(E)})}},25558:(at,N,s)=>{"use strict";s.d(N,{n:()=>m});var n=s(58750),a=s(39974),g=s(54360);function m(T,O){return(0,a.N)((D,E)=>{let y=null,I=0,b=!1;const L=()=>b&&!y&&E.complete();D.subscribe((0,g._)(E,o=>{y?.unsubscribe();let C=0;const w=I++;(0,n.Tg)(T(o,w)).subscribe(y=(0,g._)(E,M=>E.next(O?O(o,M,w,C++):M),()=>{y=null,L()}))},()=>{b=!0,L()}))})}},96697:(at,N,s)=>{"use strict";s.d(N,{s:()=>m});var n=s(983),a=s(39974),g=s(54360);function m(T){return T<=0?()=>n.w:(0,a.N)((O,D)=>{let E=0;O.subscribe((0,g._)(D,y=>{++E<=T&&(D.next(y),T<=E&&D.complete())}))})}},56977:(at,N,s)=>{"use strict";s.d(N,{Q:()=>T});var n=s(39974),a=s(54360),g=s(58750),m=s(85343);function T(O){return(0,n.N)((D,E)=>{(0,g.Tg)(O).subscribe((0,a._)(E,()=>E.complete(),m.l)),!E.closed&&D.subscribe(E)})}},77048:(at,N,s)=>{"use strict";s.d(N,{v:()=>g});var n=s(39974),a=s(54360);function g(m,T=!1){return(0,n.N)((O,D)=>{let E=0;O.subscribe((0,a._)(D,y=>{const I=m(y,E++);(I||T)&&D.next(y),!I&&D.complete()}))})}},88141:(at,N,s)=>{"use strict";s.d(N,{M:()=>T});var n=s(98071),a=s(39974),g=s(54360),m=s(33669);function T(O,D,E){const y=(0,n.T)(O)||D||E?{next:O,error:D,complete:E}:O;return y?(0,a.N)((I,b)=>{var L;null===(L=y.subscribe)||void 0===L||L.call(y);let o=!0;I.subscribe((0,g._)(b,C=>{var w;null===(w=y.next)||void 0===w||w.call(y,C),b.next(C)},()=>{var C;o=!1,null===(C=y.complete)||void 0===C||C.call(y),b.complete()},C=>{var w;o=!1,null===(w=y.error)||void 0===w||w.call(y,C),b.error(C)},()=>{var C,w;o&&(null===(C=y.unsubscribe)||void 0===C||C.call(y)),null===(w=y.finalize)||void 0===w||w.call(y)}))}):m.D}},93774:(at,N,s)=>{"use strict";s.d(N,{v:()=>m});var n=s(9350),a=s(39974),g=s(54360);function m(O=T){return(0,a.N)((D,E)=>{let y=!1;D.subscribe((0,g._)(E,I=>{y=!0,E.next(I)},()=>y?E.complete():E.error(O())))})}function T(){return new n.G}},64058:(at,N,s)=>{"use strict";s.d(N,{$:()=>T});var n=s(46649),a=s(39974);const m=(O,D)=>(O.push(D),O);function T(){return(0,a.N)((O,D)=>{(function g(O,D){return(0,a.N)((0,n.S)(O,D,arguments.length>=2,!1,!0))})(m,[])(O).subscribe(D)})}},53993:(at,N,s)=>{"use strict";s.d(N,{E:()=>D});var n=s(39974),a=s(54360),g=s(58750),m=s(33669),T=s(85343),O=s(9326);function D(...E){const y=(0,O.ms)(E);return(0,n.N)((I,b)=>{const L=E.length,o=new Array(L);let C=E.map(()=>!1),w=!1;for(let M=0;M<L;M++)(0,g.Tg)(E[M]).subscribe((0,a._)(b,q=>{o[M]=q,!w&&!C[M]&&(C[M]=!0,(w=C.every(m.D))&&(C=null))},T.l));I.subscribe((0,a._)(b,M=>{if(w){const q=[M,...o];b.next(y?y(...q):q)}}))})}},96780:(at,N,s)=>{"use strict";s.d(N,{R:()=>T});var n=s(18359);class a extends n.yU{constructor(D,E){super()}schedule(D,E=0){return this}}const g={setInterval(O,D,...E){const{delegate:y}=g;return y?.setInterval?y.setInterval(O,D,...E):setInterval(O,D,...E)},clearInterval(O){const{delegate:D}=g;return(D?.clearInterval||clearInterval)(O)},delegate:void 0};var m=s(57908);class T extends a{constructor(D,E){super(D,E),this.scheduler=D,this.work=E,this.pending=!1}schedule(D,E=0){var y;if(this.closed)return this;this.state=D;const I=this.id,b=this.scheduler;return null!=I&&(this.id=this.recycleAsyncId(b,I,E)),this.pending=!0,this.delay=E,this.id=null!==(y=this.id)&&void 0!==y?y:this.requestAsyncId(b,this.id,E),this}requestAsyncId(D,E,y=0){return g.setInterval(D.flush.bind(D,this),y)}recycleAsyncId(D,E,y=0){if(null!=y&&this.delay===y&&!1===this.pending)return E;null!=E&&g.clearInterval(E)}execute(D,E){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const y=this._execute(D,E);if(y)return y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(D,E){let I,y=!1;try{this.work(D)}catch(b){y=!0,I=b||new Error("Scheduled action threw falsy error")}if(y)return this.unsubscribe(),I}unsubscribe(){if(!this.closed){const{id:D,scheduler:E}=this,{actions:y}=E;this.work=this.state=this.scheduler=null,this.pending=!1,(0,m.o)(y,this),null!=D&&(this.id=this.recycleAsyncId(E,D,null)),this.delay=null,super.unsubscribe()}}}},39687:(at,N,s)=>{"use strict";s.d(N,{q:()=>g});var n=s(86129);class a{constructor(T,O=a.now){this.schedulerActionCtor=T,this.now=O}schedule(T,O=0,D){return new this.schedulerActionCtor(this,T).schedule(D,O)}}a.now=n.U.now;class g extends a{constructor(T,O=a.now){super(T,O),this.actions=[],this._active=!1}flush(T){const{actions:O}=this;if(this._active)return void O.push(T);let D;this._active=!0;do{if(D=T.execute(T.state,T.delay))break}while(T=O.shift());if(this._active=!1,D){for(;T=O.shift();)T.unsubscribe();throw D}}}},30536:(at,N,s)=>{"use strict";s.d(N,{X:()=>D});var n=s(96780),a=s(18359);const g={schedule(y){let I=requestAnimationFrame,b=cancelAnimationFrame;const{delegate:L}=g;L&&(I=L.requestAnimationFrame,b=L.cancelAnimationFrame);const o=I(C=>{b=void 0,y(C)});return new a.yU(()=>b?.(o))},requestAnimationFrame(...y){const{delegate:I}=g;return(I?.requestAnimationFrame||requestAnimationFrame)(...y)},cancelAnimationFrame(...y){const{delegate:I}=g;return(I?.cancelAnimationFrame||cancelAnimationFrame)(...y)},delegate:void 0};var T=s(39687);const D=new class O extends T.q{flush(I){this._active=!0;const b=this._scheduled;this._scheduled=void 0;const{actions:L}=this;let o;I=I||L.shift();do{if(o=I.execute(I.state,I.delay))break}while((I=L[0])&&I.id===b&&L.shift());if(this._active=!1,o){for(;(I=L[0])&&I.id===b&&L.shift();)I.unsubscribe();throw o}}}(class m extends n.R{constructor(I,b){super(I,b),this.scheduler=I,this.work=b}requestAsyncId(I,b,L=0){return null!==L&&L>0?super.requestAsyncId(I,b,L):(I.actions.push(this),I._scheduled||(I._scheduled=g.requestAnimationFrame(()=>I.flush(void 0))))}recycleAsyncId(I,b,L=0){var o;if(null!=L?L>0:this.delay>0)return super.recycleAsyncId(I,b,L);const{actions:C}=I;null!=b&&(null===(o=C[C.length-1])||void 0===o?void 0:o.id)!==b&&(g.cancelAnimationFrame(b),I._scheduled=void 0)}})},25007:(at,N,s)=>{"use strict";s.d(N,{$:()=>C});var n=s(96780);let g,a=1;const m={};function T(M){return M in m&&(delete m[M],!0)}const O={setImmediate(M){const q=a++;return m[q]=!0,g||(g=Promise.resolve()),g.then(()=>T(q)&&M()),q},clearImmediate(M){T(M)}},{setImmediate:E,clearImmediate:y}=O,I={setImmediate(...M){const{delegate:q}=I;return(q?.setImmediate||E)(...M)},clearImmediate(M){const{delegate:q}=I;return(q?.clearImmediate||y)(M)},delegate:void 0};var L=s(39687);const C=new class o extends L.q{flush(q){this._active=!0;const z=this._scheduled;this._scheduled=void 0;const{actions:F}=this;let U;q=q||F.shift();do{if(U=q.execute(q.state,q.delay))break}while((q=F[0])&&q.id===z&&F.shift());if(this._active=!1,U){for(;(q=F[0])&&q.id===z&&F.shift();)q.unsubscribe();throw U}}}(class b extends n.R{constructor(q,z){super(q,z),this.scheduler=q,this.work=z}requestAsyncId(q,z,F=0){return null!==F&&F>0?super.requestAsyncId(q,z,F):(q.actions.push(this),q._scheduled||(q._scheduled=I.setImmediate(q.flush.bind(q,void 0))))}recycleAsyncId(q,z,F=0){var U;if(null!=F?F>0:this.delay>0)return super.recycleAsyncId(q,z,F);const{actions:k}=q;null!=z&&(null===(U=k[k.length-1])||void 0===U?void 0:U.id)!==z&&(I.clearImmediate(z),q._scheduled===z&&(q._scheduled=void 0))}})},43236:(at,N,s)=>{"use strict";s.d(N,{E:()=>g,b:()=>m});var n=s(96780);const g=new(s(39687).q)(n.R),m=g},86129:(at,N,s)=>{"use strict";s.d(N,{U:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},19270:(at,N,s)=>{"use strict";s.d(N,{f:()=>n});const n={setTimeout(a,g,...m){const{delegate:T}=n;return T?.setTimeout?T.setTimeout(a,g,...m):setTimeout(a,g,...m)},clearTimeout(a){const{delegate:g}=n;return(g?.clearTimeout||clearTimeout)(a)},delegate:void 0}},4761:(at,N,s)=>{"use strict";s.d(N,{l:()=>a});const a=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(at,N,s)=>{"use strict";s.d(N,{s:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(at,N,s)=>{"use strict";s.d(N,{G:()=>a});const a=(0,s(81853).L)(g=>function(){g(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(at,N,s)=>{"use strict";s.d(N,{R0:()=>O,lI:()=>T,ms:()=>m});var n=s(98071),a=s(79470);function g(D){return D[D.length-1]}function m(D){return(0,n.T)(g(D))?D.pop():void 0}function T(D){return(0,a.m)(g(D))?D.pop():void 0}function O(D,E){return"number"==typeof g(D)?D.pop():E}},93073:(at,N,s)=>{"use strict";s.d(N,{D:()=>T});const{isArray:n}=Array,{getPrototypeOf:a,prototype:g,keys:m}=Object;function T(D){if(1===D.length){const E=D[0];if(n(E))return{args:E,keys:null};if(function O(D){return D&&"object"==typeof D&&a(D)===g}(E)){const y=m(E);return{args:y.map(I=>E[I]),keys:y}}}return{args:D,keys:null}}},42326:(at,N,s)=>{"use strict";s.d(N,{K:()=>a});const{isArray:n}=Array;function a(g){return 1===g.length&&n(g[0])?g[0]:g}},57908:(at,N,s)=>{"use strict";function n(a,g){if(a){const m=a.indexOf(g);0<=m&&a.splice(m,1)}}s.d(N,{o:()=>n})},81853:(at,N,s)=>{"use strict";function n(a){const m=a(T=>{Error.call(T),T.stack=(new Error).stack});return m.prototype=Object.create(Error.prototype),m.prototype.constructor=m,m}s.d(N,{L:()=>n})},58496:(at,N,s)=>{"use strict";function n(a,g){return a.reduce((m,T,O)=>(m[T]=g[O],m),{})}s.d(N,{e:()=>n})},49786:(at,N,s)=>{"use strict";s.d(N,{Y:()=>g,l:()=>m});var n=s(41026);let a=null;function g(T){if(n.$.useDeprecatedSynchronousErrorHandling){const O=!a;if(O&&(a={errorThrown:!1,error:null}),T(),O){const{errorThrown:D,error:E}=a;if(a=null,D)throw E}}else T()}function m(T){n.$.useDeprecatedSynchronousErrorHandling&&a&&(a.errorThrown=!0,a.error=T)}},45225:(at,N,s)=>{"use strict";function n(a,g,m,T=0,O=!1){const D=g.schedule(function(){m(),O?a.add(this.schedule(null,T)):this.unsubscribe()},T);if(a.add(D),!O)return D}s.d(N,{N:()=>n})},33669:(at,N,s)=>{"use strict";function n(a){return a}s.d(N,{D:()=>n})},47441:(at,N,s)=>{"use strict";s.d(N,{X:()=>n});const n=a=>a&&"number"==typeof a.length&&"function"!=typeof a},37953:(at,N,s)=>{"use strict";s.d(N,{T:()=>a});var n=s(98071);function a(g){return Symbol.asyncIterator&&(0,n.T)(g?.[Symbol.asyncIterator])}},28211:(at,N,s)=>{"use strict";function n(a){return a instanceof Date&&!isNaN(a)}s.d(N,{v:()=>n})},98071:(at,N,s)=>{"use strict";function n(a){return"function"==typeof a}s.d(N,{T:()=>n})},55055:(at,N,s)=>{"use strict";s.d(N,{l:()=>g});var n=s(3494),a=s(98071);function g(m){return(0,a.T)(m[n.s])}},85397:(at,N,s)=>{"use strict";s.d(N,{x:()=>g});var n=s(4761),a=s(98071);function g(m){return(0,a.T)(m?.[n.l])}},74402:(at,N,s)=>{"use strict";s.d(N,{A:()=>g});var n=s(71985),a=s(98071);function g(m){return!!m&&(m instanceof n.c||(0,a.T)(m.lift)&&(0,a.T)(m.subscribe))}},59858:(at,N,s)=>{"use strict";s.d(N,{y:()=>a});var n=s(98071);function a(g){return(0,n.T)(g?.then)}},15196:(at,N,s)=>{"use strict";s.d(N,{C:()=>g,U:()=>m});var n=s(31635),a=s(98071);function g(T){return(0,n.AQ)(this,arguments,function*(){const D=T.getReader();try{for(;;){const{value:E,done:y}=yield(0,n.N3)(D.read());if(y)return yield(0,n.N3)(void 0);yield yield(0,n.N3)(E)}}finally{D.releaseLock()}})}function m(T){return(0,a.T)(T?.getReader)}},79470:(at,N,s)=>{"use strict";s.d(N,{m:()=>a});var n=s(98071);function a(g){return g&&(0,n.T)(g.schedule)}},39974:(at,N,s)=>{"use strict";s.d(N,{N:()=>g,S:()=>a});var n=s(98071);function a(m){return(0,n.T)(m?.lift)}function g(m){return T=>{if(a(T))return T.lift(function(O){try{return m(O,this)}catch(D){this.error(D)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(at,N,s)=>{"use strict";s.d(N,{I:()=>m});var n=s(96354);const{isArray:a}=Array;function m(T){return(0,n.T)(O=>function g(T,O){return a(O)?T(...O):T(O)}(T,O))}},85343:(at,N,s)=>{"use strict";function n(){}s.d(N,{l:()=>n})},71203:(at,N,s)=>{"use strict";s.d(N,{F:()=>a,m:()=>g});var n=s(33669);function a(...m){return g(m)}function g(m){return 0===m.length?n.D:1===m.length?m[0]:function(O){return m.reduce((D,E)=>E(D),O)}}},45334:(at,N,s)=>{"use strict";s.d(N,{m:()=>g});var n=s(41026),a=s(19270);function g(m){a.f.setTimeout(()=>{const{onUnhandledError:T}=n.$;if(!T)throw m;T(m)})}},50591:(at,N,s)=>{"use strict";function n(a){return new TypeError(`You provided ${null!==a&&"object"==typeof a?"an invalid object":`'${a}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}s.d(N,{L:()=>n})},54489:at=>{var N="function"==typeof setImmediate;at.exports=N?function(n){setImmediate(n)}:function(n){setTimeout(n,0)}},3579:at=>{at.exports=function(){var N=document.getSelection();if(!N.rangeCount)return function(){};for(var s=document.activeElement,n=[],a=0;a<N.rangeCount;a++)n.push(N.getRangeAt(a));switch(s.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":s.blur();break;default:s=null}return N.removeAllRanges(),function(){"Caret"===N.type&&N.removeAllRanges(),N.rangeCount||n.forEach(function(g){N.addRange(g)}),s&&s.focus()}}},46421:(at,N,s)=>{"use strict";s.d(N,{A:()=>L});const a={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};var g,m=new Uint8Array(16);function T(){if(!g&&!(g=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return g(m)}for(var O=[],D=0;D<256;++D)O.push((D+256).toString(16).slice(1));const L=function b(o,C,w){if(a.randomUUID&&!C&&!o)return a.randomUUID();var M=(o=o||{}).random||(o.rng||T)();if(M[6]=15&M[6]|64,M[8]=63&M[8]|128,C){w=w||0;for(var q=0;q<16;++q)C[w+q]=M[q];return C}return function E(o,C=0){return(O[o[C+0]]+O[o[C+1]]+O[o[C+2]]+O[o[C+3]]+"-"+O[o[C+4]]+O[o[C+5]]+"-"+O[o[C+6]]+O[o[C+7]]+"-"+O[o[C+8]]+O[o[C+9]]+"-"+O[o[C+10]]+O[o[C+11]]+O[o[C+12]]+O[o[C+13]]+O[o[C+14]]+O[o[C+15]]).toLowerCase()}(M)}},35358:(at,N,s)=>{var n={"./af":11544,"./af.js":11544,"./ar":33108,"./ar-dz":52155,"./ar-dz.js":52155,"./ar-kw":53583,"./ar-kw.js":53583,"./ar-ly":41638,"./ar-ly.js":41638,"./ar-ma":87823,"./ar-ma.js":87823,"./ar-ps":7712,"./ar-ps.js":7712,"./ar-sa":78261,"./ar-sa.js":78261,"./ar-tn":56703,"./ar-tn.js":56703,"./ar.js":33108,"./az":46508,"./az.js":46508,"./be":16766,"./be.js":16766,"./bg":28564,"./bg.js":28564,"./bm":97462,"./bm.js":97462,"./bn":17107,"./bn-bd":43438,"./bn-bd.js":43438,"./bn.js":17107,"./bo":9004,"./bo.js":9004,"./br":50927,"./br.js":50927,"./bs":87768,"./bs.js":87768,"./ca":56291,"./ca.js":56291,"./cs":85301,"./cs.js":85301,"./cv":66666,"./cv.js":66666,"./cy":55163,"./cy.js":55163,"./da":87360,"./da.js":87360,"./de":45932,"./de-at":43248,"./de-at.js":43248,"./de-ch":83222,"./de-ch.js":83222,"./de.js":45932,"./dv":6405,"./dv.js":6405,"./el":60718,"./el.js":60718,"./en-au":36319,"./en-au.js":36319,"./en-ca":80597,"./en-ca.js":80597,"./en-gb":51800,"./en-gb.js":51800,"./en-ie":807,"./en-ie.js":807,"./en-il":95960,"./en-il.js":95960,"./en-in":84418,"./en-in.js":84418,"./en-nz":46865,"./en-nz.js":46865,"./en-sg":32647,"./en-sg.js":32647,"./eo":61931,"./eo.js":61931,"./es":46679,"./es-do":41805,"./es-do.js":41805,"./es-mx":83445,"./es-mx.js":83445,"./es-us":81516,"./es-us.js":81516,"./es.js":46679,"./et":88150,"./et.js":88150,"./eu":80757,"./eu.js":80757,"./fa":65742,"./fa.js":65742,"./fi":33958,"./fi.js":33958,"./fil":46720,"./fil.js":46720,"./fo":98352,"./fo.js":98352,"./fr":4059,"./fr-ca":42096,"./fr-ca.js":42096,"./fr-ch":95759,"./fr-ch.js":95759,"./fr.js":4059,"./fy":15958,"./fy.js":15958,"./ga":94143,"./ga.js":94143,"./gd":67028,"./gd.js":67028,"./gl":80428,"./gl.js":80428,"./gom-deva":76861,"./gom-deva.js":76861,"./gom-latn":57718,"./gom-latn.js":57718,"./gu":26827,"./gu.js":26827,"./he":21936,"./he.js":21936,"./hi":31332,"./hi.js":31332,"./hr":91957,"./hr.js":91957,"./hu":48928,"./hu.js":48928,"./hy-am":56215,"./hy-am.js":56215,"./id":586,"./id.js":586,"./is":90211,"./is.js":90211,"./it":70170,"./it-ch":22340,"./it-ch.js":22340,"./it.js":70170,"./ja":39770,"./ja.js":39770,"./jv":73875,"./jv.js":73875,"./ka":79499,"./ka.js":79499,"./kk":93573,"./kk.js":93573,"./km":68807,"./km.js":68807,"./kn":65082,"./kn.js":65082,"./ko":20137,"./ko.js":20137,"./ku":70111,"./ku-kmr":63744,"./ku-kmr.js":63744,"./ku.js":70111,"./ky":99187,"./ky.js":99187,"./lb":35969,"./lb.js":35969,"./lo":33526,"./lo.js":33526,"./lt":90411,"./lt.js":90411,"./lv":32621,"./lv.js":32621,"./me":85869,"./me.js":85869,"./mi":35881,"./mi.js":35881,"./mk":92391,"./mk.js":92391,"./ml":21126,"./ml.js":21126,"./mn":44892,"./mn.js":44892,"./mr":59080,"./mr.js":59080,"./ms":70399,"./ms-my":25950,"./ms-my.js":25950,"./ms.js":70399,"./mt":79902,"./mt.js":79902,"./my":72985,"./my.js":72985,"./nb":67859,"./nb.js":67859,"./ne":13642,"./ne.js":13642,"./nl":65441,"./nl-be":99875,"./nl-be.js":99875,"./nl.js":65441,"./nn":81311,"./nn.js":81311,"./oc-lnc":72567,"./oc-lnc.js":72567,"./pa-in":56962,"./pa-in.js":56962,"./pl":61063,"./pl.js":61063,"./pt":78719,"./pt-br":97476,"./pt-br.js":97476,"./pt.js":78719,"./ro":51004,"./ro.js":51004,"./ru":51326,"./ru.js":51326,"./sd":72608,"./sd.js":72608,"./se":13911,"./se.js":13911,"./si":25147,"./si.js":25147,"./sk":23741,"./sk.js":23741,"./sl":93e3,"./sl.js":93e3,"./sq":60451,"./sq.js":60451,"./sr":55046,"./sr-cyrl":40905,"./sr-cyrl.js":40905,"./sr.js":55046,"./ss":85765,"./ss.js":85765,"./sv":99290,"./sv.js":99290,"./sw":53449,"./sw.js":53449,"./ta":72688,"./ta.js":72688,"./te":32060,"./te.js":32060,"./tet":93290,"./tet.js":93290,"./tg":8294,"./tg.js":8294,"./th":1231,"./th.js":1231,"./tk":3746,"./tk.js":3746,"./tl-ph":49040,"./tl-ph.js":49040,"./tlh":17187,"./tlh.js":17187,"./tr":60153,"./tr.js":60153,"./tzl":88521,"./tzl.js":88521,"./tzm":18010,"./tzm-latn":22234,"./tzm-latn.js":22234,"./tzm.js":18010,"./ug-cn":63349,"./ug-cn.js":63349,"./uk":68479,"./uk.js":68479,"./ur":43024,"./ur.js":43024,"./uz":19800,"./uz-latn":72376,"./uz-latn.js":72376,"./uz.js":19800,"./vi":89366,"./vi.js":89366,"./x-pseudo":69702,"./x-pseudo.js":69702,"./yo":72655,"./yo.js":72655,"./zh-cn":575,"./zh-cn.js":575,"./zh-hk":18351,"./zh-hk.js":18351,"./zh-mo":51626,"./zh-mo.js":51626,"./zh-tw":8887,"./zh-tw.js":8887};function a(m){var T=g(m);return s(T)}function g(m){if(!s.o(n,m)){var T=new Error("Cannot find module '"+m+"'");throw T.code="MODULE_NOT_FOUND",T}return n[m]}a.keys=function(){return Object.keys(n)},a.resolve=g,at.exports=a,a.id=35358},50477:()=>{},49969:(at,N,s)=>{"use strict";s.d(N,{FX:()=>$,If:()=>n,K2:()=>O,MA:()=>L,Os:()=>T,P:()=>C,hZ:()=>g,i0:()=>m,i7:()=>y,iF:()=>D,kY:()=>I,kp:()=>a,sf:()=>B,ui:()=>j,wk:()=>E});var n=function(H){return H[H.State=0]="State",H[H.Transition=1]="Transition",H[H.Sequence=2]="Sequence",H[H.Group=3]="Group",H[H.Animate=4]="Animate",H[H.Keyframes=5]="Keyframes",H[H.Style=6]="Style",H[H.Trigger=7]="Trigger",H[H.Reference=8]="Reference",H[H.AnimateChild=9]="AnimateChild",H[H.AnimateRef=10]="AnimateRef",H[H.Query=11]="Query",H[H.Stagger=12]="Stagger",H}(n||{});const a="*";function g(H,ie){return{type:n.Trigger,name:H,definitions:ie,options:{}}}function m(H,ie=null){return{type:n.Animate,styles:ie,timings:H}}function T(H,ie=null){return{type:n.Group,steps:H,options:ie}}function O(H,ie=null){return{type:n.Sequence,steps:H,options:ie}}function D(H){return{type:n.Style,styles:H,offset:null}}function E(H,ie,ne){return{type:n.State,name:H,styles:ie,options:ne}}function y(H){return{type:n.Keyframes,steps:H}}function I(H,ie,ne=null){return{type:n.Transition,expr:H,animation:ie,options:ne}}function L(H=null){return{type:n.AnimateChild,options:H}}function C(H,ie,ne=null){return{type:n.Query,selector:H,animation:ie,options:ne}}class B{constructor(ie=0,ne=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=ie+ne}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ie=>ie()),this._onDoneFns=[])}onStart(ie){this._originalOnStartFns.push(ie),this._onStartFns.push(ie)}onDone(ie){this._originalOnDoneFns.push(ie),this._onDoneFns.push(ie)}onDestroy(ie){this._onDestroyFns.push(ie)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ie=>ie()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ie=>ie()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ie){this._position=this.totalTime?ie*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ie){const ne="start"==ie?this._onStartFns:this._onDoneFns;ne.forEach(Q=>Q()),ne.length=0}}class j{constructor(ie){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ie;let ne=0,Q=0,le=0;const pe=this.players.length;0==pe?queueMicrotask(()=>this._onFinish()):this.players.forEach(te=>{te.onDone(()=>{++ne==pe&&this._onFinish()}),te.onDestroy(()=>{++Q==pe&&this._onDestroy()}),te.onStart(()=>{++le==pe&&this._onStart()})}),this.totalTime=this.players.reduce((te,ae)=>Math.max(te,ae.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ie=>ie()),this._onDoneFns=[])}init(){this.players.forEach(ie=>ie.init())}onStart(ie){this._onStartFns.push(ie)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ie=>ie()),this._onStartFns=[])}onDone(ie){this._onDoneFns.push(ie)}onDestroy(ie){this._onDestroyFns.push(ie)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ie=>ie.play())}pause(){this.players.forEach(ie=>ie.pause())}restart(){this.players.forEach(ie=>ie.restart())}finish(){this._onFinish(),this.players.forEach(ie=>ie.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ie=>ie.destroy()),this._onDestroyFns.forEach(ie=>ie()),this._onDestroyFns=[])}reset(){this.players.forEach(ie=>ie.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ie){const ne=ie*this.totalTime;this.players.forEach(Q=>{const le=Q.totalTime?Math.min(1,ne/Q.totalTime):1;Q.setPosition(le)})}getPosition(){const ie=this.players.reduce((ne,Q)=>null===ne||Q.totalTime>ne.totalTime?Q:ne,null);return null!=ie?ie.getPosition():0}beforeDestroy(){this.players.forEach(ie=>{ie.beforeDestroy&&ie.beforeDestroy()})}triggerCallback(ie){const ne="start"==ie?this._onStartFns:this._onDoneFns;ne.forEach(Q=>Q()),ne.length=0}}const $="!"},5640:(at,N,s)=>{"use strict";s.d(N,{Pd:()=>Hi,vR:()=>Hn,kB:()=>Yt,Bu:()=>gt,FN:()=>Nn,GX:()=>Wt,Q_:()=>ei,Uc:()=>os,Z7:()=>Xt,_G:()=>Xn,w6:()=>Ii});var n=s(60177),a=s(93953),g=s(36860),m=s(21413),T=s(18359),D=(s(74402),s(7673)),E=s(84412),y=s(67336),I=s(88141),b=s(70152),L=s(5964),o=s(96354),C=s(96697),w=s(65245),M=s(23294),q=s(56977);let U=(()=>{class gn{create(hn){return typeof MutationObserver>"u"?null:new MutationObserver(hn)}static#e=this.\u0275fac=function(Bn){return new(Bn||gn)};static#t=this.\u0275prov=a.jDH({token:gn,factory:gn.\u0275fac,providedIn:"root"})}return gn})(),x=(()=>{class gn{static#e=this.\u0275fac=function(Bn){return new(Bn||gn)};static#t=this.\u0275mod=a.$C({type:gn});static#n=this.\u0275inj=a.G2t({providers:[U]})}return gn})();var B=s(14085),j=s(84572),$=s(28793),H=s(71985),ie=s(99172);const Q=new Set;let le,pe=(()=>{class gn{constructor(hn,Bn){this._platform=hn,this._nonce=Bn,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ae}matchMedia(hn){return(this._platform.WEBKIT||this._platform.BLINK)&&function te(gn,yn){if(!Q.has(gn))try{le||(le=document.createElement("style"),yn&&le.setAttribute("nonce",yn),le.setAttribute("type","text/css"),document.head.appendChild(le)),le.sheet&&(le.sheet.insertRule(`@media ${gn} {body{ }}`,0),Q.add(gn))}catch(hn){console.error(hn)}}(hn,this._nonce),this._matchMedia(hn)}static#e=this.\u0275fac=function(Bn){return new(Bn||gn)(a.KVO(g.OD),a.KVO(a.BIS,8))};static#t=this.\u0275prov=a.jDH({token:gn,factory:gn.\u0275fac,providedIn:"root"})}return gn})();function ae(gn){return{matches:"all"===gn||""===gn,media:gn,addListener:()=>{},removeListener:()=>{}}}let K=(()=>{class gn{constructor(hn,Bn){this._mediaMatcher=hn,this._zone=Bn,this._queries=new Map,this._destroySubject=new m.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(hn){return de((0,B.FG)(hn)).some(mi=>this._registerQuery(mi).mql.matches)}observe(hn){const mi=de((0,B.FG)(hn)).map(Si=>this._registerQuery(Si).observable);let wi=(0,j.z)(mi);return wi=(0,$.x)(wi.pipe((0,C.s)(1)),wi.pipe((0,w.i)(1),(0,b.B)(0))),wi.pipe((0,o.T)(Si=>{const Cn={matches:!1,breakpoints:{}};return Si.forEach(({matches:ut,query:Mt})=>{Cn.matches=Cn.matches||ut,Cn.breakpoints[Mt]=ut}),Cn}))}_registerQuery(hn){if(this._queries.has(hn))return this._queries.get(hn);const Bn=this._mediaMatcher.matchMedia(hn),wi={observable:new H.c(Si=>{const Cn=ut=>this._zone.run(()=>Si.next(ut));return Bn.addListener(Cn),()=>{Bn.removeListener(Cn)}}).pipe((0,ie.Z)(Bn),(0,o.T)(({matches:Si})=>({query:hn,matches:Si})),(0,q.Q)(this._destroySubject)),mql:Bn};return this._queries.set(hn,wi),wi}static#e=this.\u0275fac=function(Bn){return new(Bn||gn)(a.KVO(pe),a.KVO(a.SKi))};static#t=this.\u0275prov=a.jDH({token:gn,factory:gn.\u0275fac,providedIn:"root"})}return gn})();function de(gn){return gn.map(yn=>yn.split(",")).reduce((yn,hn)=>yn.concat(hn)).map(yn=>yn.trim())}class Lt{constructor(yn,hn){this._letterKeyStream=new m.B,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new m.B,this.selectedItem=this._selectedItem;const Bn="number"==typeof hn?.debounceInterval?hn.debounceInterval:200;hn?.skipPredicate&&(this._skipPredicateFn=hn.skipPredicate),this.setItems(yn),this._setupKeyHandler(Bn)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(yn){this._selectedItemIndex=yn}setItems(yn){this._items=yn}handleKey(yn){const hn=yn.keyCode;yn.key&&1===yn.key.length?this._letterKeyStream.next(yn.key.toLocaleUpperCase()):(hn>=y.A&&hn<=y.Z||hn>=y.f2&&hn<=y.bn)&&this._letterKeyStream.next(String.fromCharCode(hn))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(yn){this._letterKeyStream.pipe((0,I.M)(hn=>this._pressedLetters.push(hn)),(0,b.B)(yn),(0,L.p)(()=>this._pressedLetters.length>0),(0,o.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(hn=>{for(let Bn=1;Bn<this._items.length+1;Bn++){const wi=this._items[(this._selectedItemIndex+Bn)%this._items.length];if(!this._skipPredicateFn?.(wi)&&0===wi.getLabel?.().toLocaleUpperCase().trim().indexOf(hn)){this._selectedItem.next(wi);break}}this._pressedLetters=[]})}}class Vt{constructor(yn,hn){this._items=yn,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._typeaheadSubscription=T.yU.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=Bn=>Bn.disabled,this.tabOut=new m.B,this.change=new m.B,yn instanceof a.rOR?this._itemChangesSubscription=yn.changes.subscribe(Bn=>this._itemsChanged(Bn.toArray())):(0,a.Hps)(yn)&&(this._effectRef=(0,a.QZP)(()=>this._itemsChanged(yn()),{injector:hn}))}skipPredicate(yn){return this._skipPredicateFn=yn,this}withWrap(yn=!0){return this._wrap=yn,this}withVerticalOrientation(yn=!0){return this._vertical=yn,this}withHorizontalOrientation(yn){return this._horizontal=yn,this}withAllowedModifierKeys(yn){return this._allowedModifierKeys=yn,this}withTypeAhead(yn=200){this._typeaheadSubscription.unsubscribe();const hn=this._getItemsArray();return this._typeahead=new Lt(hn,{debounceInterval:"number"==typeof yn?yn:void 0,skipPredicate:Bn=>this._skipPredicateFn(Bn)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(Bn=>{this.setActiveItem(Bn)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(yn=!0){return this._homeAndEnd=yn,this}withPageUpDown(yn=!0,hn=10){return this._pageUpAndDown={enabled:yn,delta:hn},this}setActiveItem(yn){const hn=this._activeItem;this.updateActiveItem(yn),this._activeItem!==hn&&this.change.next(this._activeItemIndex)}onKeydown(yn){const hn=yn.keyCode,mi=["altKey","ctrlKey","metaKey","shiftKey"].every(wi=>!yn[wi]||this._allowedModifierKeys.indexOf(wi)>-1);switch(hn){case y.wn:return void this.tabOut.next();case y.n6:if(this._vertical&&mi){this.setNextItemActive();break}return;case y.i7:if(this._vertical&&mi){this.setPreviousItemActive();break}return;case y.LE:if(this._horizontal&&mi){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case y.UQ:if(this._horizontal&&mi){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case y.yZ:if(this._homeAndEnd&&mi){this.setFirstItemActive();break}return;case y.Kp:if(this._homeAndEnd&&mi){this.setLastItemActive();break}return;case y.w_:if(this._pageUpAndDown.enabled&&mi){const wi=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(wi>0?wi:0,1);break}return;case y.dB:if(this._pageUpAndDown.enabled&&mi){const wi=this._activeItemIndex+this._pageUpAndDown.delta,Si=this._getItemsArray().length;this._setActiveItemByIndex(wi<Si?wi:Si-1,-1);break}return;default:return void((mi||(0,y.rp)(yn,"shiftKey"))&&this._typeahead?.handleKey(yn))}this._typeahead?.reset(),yn.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(yn){const hn=this._getItemsArray(),Bn="number"==typeof yn?yn:hn.indexOf(yn);this._activeItem=hn[Bn]??null,this._activeItemIndex=Bn,this._typeahead?.setCurrentSelectedItemIndex(Bn)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(yn){this._wrap?this._setActiveInWrapMode(yn):this._setActiveInDefaultMode(yn)}_setActiveInWrapMode(yn){const hn=this._getItemsArray();for(let Bn=1;Bn<=hn.length;Bn++){const mi=(this._activeItemIndex+yn*Bn+hn.length)%hn.length;if(!this._skipPredicateFn(hn[mi]))return void this.setActiveItem(mi)}}_setActiveInDefaultMode(yn){this._setActiveItemByIndex(this._activeItemIndex+yn,yn)}_setActiveItemByIndex(yn,hn){const Bn=this._getItemsArray();if(Bn[yn]){for(;this._skipPredicateFn(Bn[yn]);)if(!Bn[yn+=hn])return;this.setActiveItem(yn)}}_getItemsArray(){return(0,a.Hps)(this._items)?this._items():this._items instanceof a.rOR?this._items.toArray():this._items}_itemsChanged(yn){if(this._typeahead?.setItems(yn),this._activeItem){const hn=yn.indexOf(this._activeItem);hn>-1&&hn!==this._activeItemIndex&&(this._activeItemIndex=hn,this._typeahead?.setCurrentSelectedItemIndex(hn))}}}class gt extends Vt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(yn){return this._origin=yn,this}setActiveItem(yn){super.setActiveItem(yn),this.activeItem&&this.activeItem.focus(this._origin)}}let Xt=(()=>{class gn{constructor(hn){this._platform=hn}isDisabled(hn){return hn.hasAttribute("disabled")}isVisible(hn){return function In(gn){return!!(gn.offsetWidth||gn.offsetHeight||"function"==typeof gn.getClientRects&&gn.getClientRects().length)}(hn)&&"visible"===getComputedStyle(hn).visibility}isTabbable(hn){if(!this._platform.isBrowser)return!1;const Bn=function It(gn){try{return gn.frameElement}catch{return null}}(function Rn(gn){return gn.ownerDocument&&gn.ownerDocument.defaultView||window}(hn));if(Bn&&(-1===Di(Bn)||!this.isVisible(Bn)))return!1;let mi=hn.nodeName.toLowerCase(),wi=Di(hn);return hn.hasAttribute("contenteditable")?-1!==wi:!("iframe"===mi||"object"===mi||this._platform.WEBKIT&&this._platform.IOS&&!function Li(gn){let yn=gn.nodeName.toLowerCase(),hn="input"===yn&&gn.type;return"text"===hn||"password"===hn||"select"===yn||"textarea"===yn}(hn))&&("audio"===mi?!!hn.hasAttribute("controls")&&-1!==wi:"video"===mi?-1!==wi&&(null!==wi||this._platform.FIREFOX||hn.hasAttribute("controls")):hn.tabIndex>=0)}isFocusable(hn,Bn){return function ms(gn){return!function Ze(gn){return function zn(gn){return"input"==gn.nodeName.toLowerCase()}(gn)&&"hidden"==gn.type}(gn)&&(function Kt(gn){let yn=gn.nodeName.toLowerCase();return"input"===yn||"select"===yn||"button"===yn||"textarea"===yn}(gn)||function wn(gn){return function di(gn){return"a"==gn.nodeName.toLowerCase()}(gn)&&gn.hasAttribute("href")}(gn)||gn.hasAttribute("contenteditable")||jn(gn))}(hn)&&!this.isDisabled(hn)&&(Bn?.ignoreVisibility||this.isVisible(hn))}static#e=this.\u0275fac=function(Bn){return new(Bn||gn)(a.KVO(g.OD))};static#t=this.\u0275prov=a.jDH({token:gn,factory:gn.\u0275fac,providedIn:"root"})}return gn})();function jn(gn){if(!gn.hasAttribute("tabindex")||void 0===gn.tabIndex)return!1;let yn=gn.getAttribute("tabindex");return!(!yn||isNaN(parseInt(yn,10)))}function Di(gn){if(!jn(gn))return null;const yn=parseInt(gn.getAttribute("tabindex")||"",10);return isNaN(yn)?-1:yn}class Qt{get enabled(){return this._enabled}set enabled(yn){this._enabled=yn,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(yn,this._startAnchor),this._toggleAnchorTabIndex(yn,this._endAnchor))}constructor(yn,hn,Bn,mi,wi=!1,Si){this._element=yn,this._checker=hn,this._ngZone=Bn,this._document=mi,this._injector=Si,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,wi||this.attachAnchors()}destroy(){const yn=this._startAnchor,hn=this._endAnchor;yn&&(yn.removeEventListener("focus",this.startAnchorListener),yn.remove()),hn&&(hn.removeEventListener("focus",this.endAnchorListener),hn.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(yn){return new Promise(hn=>{this._executeOnStable(()=>hn(this.focusInitialElement(yn)))})}focusFirstTabbableElementWhenReady(yn){return new Promise(hn=>{this._executeOnStable(()=>hn(this.focusFirstTabbableElement(yn)))})}focusLastTabbableElementWhenReady(yn){return new Promise(hn=>{this._executeOnStable(()=>hn(this.focusLastTabbableElement(yn)))})}_getRegionBoundary(yn){const hn=this._element.querySelectorAll(`[cdk-focus-region-${yn}], [cdkFocusRegion${yn}], [cdk-focus-${yn}]`);return"start"==yn?hn.length?hn[0]:this._getFirstTabbableElement(this._element):hn.length?hn[hn.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(yn){const hn=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(hn){if(!this._checker.isFocusable(hn)){const Bn=this._getFirstTabbableElement(hn);return Bn?.focus(yn),!!Bn}return hn.focus(yn),!0}return this.focusFirstTabbableElement(yn)}focusFirstTabbableElement(yn){const hn=this._getRegionBoundary("start");return hn&&hn.focus(yn),!!hn}focusLastTabbableElement(yn){const hn=this._getRegionBoundary("end");return hn&&hn.focus(yn),!!hn}hasAttached(){return this._hasAttached}_getFirstTabbableElement(yn){if(this._checker.isFocusable(yn)&&this._checker.isTabbable(yn))return yn;const hn=yn.children;for(let Bn=0;Bn<hn.length;Bn++){const mi=hn[Bn].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(hn[Bn]):null;if(mi)return mi}return null}_getLastTabbableElement(yn){if(this._checker.isFocusable(yn)&&this._checker.isTabbable(yn))return yn;const hn=yn.children;for(let Bn=hn.length-1;Bn>=0;Bn--){const mi=hn[Bn].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(hn[Bn]):null;if(mi)return mi}return null}_createAnchor(){const yn=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,yn),yn.classList.add("cdk-visually-hidden"),yn.classList.add("cdk-focus-trap-anchor"),yn.setAttribute("aria-hidden","true"),yn}_toggleAnchorTabIndex(yn,hn){yn?hn.setAttribute("tabindex","0"):hn.removeAttribute("tabindex")}toggleAnchors(yn){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(yn,this._startAnchor),this._toggleAnchorTabIndex(yn,this._endAnchor))}_executeOnStable(yn){this._injector?(0,a.mal)(yn,{injector:this._injector}):setTimeout(yn)}}let Wt=(()=>{class gn{constructor(hn,Bn,mi){this._checker=hn,this._ngZone=Bn,this._injector=(0,a.WQX)(a.zZn),this._document=mi}create(hn,Bn=!1){return new Qt(hn,this._checker,this._ngZone,this._document,Bn,this._injector)}static#e=this.\u0275fac=function(Bn){return new(Bn||gn)(a.KVO(Xt),a.KVO(a.SKi),a.KVO(n.qQ))};static#t=this.\u0275prov=a.jDH({token:gn,factory:gn.\u0275fac,providedIn:"root"})}return gn})(),Yt=(()=>{class gn{get enabled(){return this.focusTrap?.enabled||!1}set enabled(hn){this.focusTrap&&(this.focusTrap.enabled=hn)}constructor(hn,Bn,mi){this._elementRef=hn,this._focusTrapFactory=Bn,this._previouslyFocusedElement=null,(0,a.WQX)(g.OD).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(hn){const Bn=hn.autoCapture;Bn&&!Bn.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,g.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(Bn){return new(Bn||gn)(a.rXU(a.aKT),a.rXU(Wt),a.rXU(n.qQ))};static#t=this.\u0275dir=a.FsC({type:gn,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",a.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",a.L39]},exportAs:["cdkTrapFocus"],standalone:!0,features:[a.GFd,a.OA$]})}return gn})();function Xn(gn){return 0===gn.buttons||0===gn.detail}function Ii(gn){const yn=gn.touches&&gn.touches[0]||gn.changedTouches&&gn.changedTouches[0];return!(!yn||-1!==yn.identifier||null!=yn.radiusX&&1!==yn.radiusX||null!=yn.radiusY&&1!==yn.radiusY)}const En=new a.nKC("cdk-input-modality-detector-options"),ln={ignoreKeys:[y.A$,y.W3,y.eg,y.Ge,y.FX]},Ai=(0,g.BQ)({passive:!0,capture:!0});let os=(()=>{class gn{get mostRecentModality(){return this._modality.value}constructor(hn,Bn,mi,wi){this._platform=hn,this._mostRecentTarget=null,this._modality=new E.t(null),this._lastTouchMs=0,this._onKeydown=Si=>{this._options?.ignoreKeys?.some(Cn=>Cn===Si.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.Fb)(Si))},this._onMousedown=Si=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Xn(Si)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.Fb)(Si))},this._onTouchstart=Si=>{Ii(Si)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.Fb)(Si))},this._options={...ln,...wi},this.modalityDetected=this._modality.pipe((0,w.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,M.F)()),hn.isBrowser&&Bn.runOutsideAngular(()=>{mi.addEventListener("keydown",this._onKeydown,Ai),mi.addEventListener("mousedown",this._onMousedown,Ai),mi.addEventListener("touchstart",this._onTouchstart,Ai)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ai),document.removeEventListener("mousedown",this._onMousedown,Ai),document.removeEventListener("touchstart",this._onTouchstart,Ai))}static#e=this.\u0275fac=function(Bn){return new(Bn||gn)(a.KVO(g.OD),a.KVO(a.SKi),a.KVO(n.qQ),a.KVO(En,8))};static#t=this.\u0275prov=a.jDH({token:gn,factory:gn.\u0275fac,providedIn:"root"})}return gn})();var vi=function(gn){return gn[gn.IMMEDIATE=0]="IMMEDIATE",gn[gn.EVENTUAL=1]="EVENTUAL",gn}(vi||{});const ui=new a.nKC("cdk-focus-monitor-default-options"),$i=(0,g.BQ)({passive:!0,capture:!0});let Nn=(()=>{class gn{constructor(hn,Bn,mi,wi,Si){this._ngZone=hn,this._platform=Bn,this._inputModalityDetector=mi,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 m.B,this._rootNodeFocusAndBlurListener=Cn=>{for(let Mt=(0,g.Fb)(Cn);Mt;Mt=Mt.parentElement)"focus"===Cn.type?this._onFocus(Cn,Mt):this._onBlur(Cn,Mt)},this._document=wi,this._detectionMode=Si?.detectionMode||vi.IMMEDIATE}monitor(hn,Bn=!1){const mi=(0,B.i8)(hn);if(!this._platform.isBrowser||1!==mi.nodeType)return(0,D.of)();const wi=(0,g.KT)(mi)||this._getDocument(),Si=this._elementInfo.get(mi);if(Si)return Bn&&(Si.checkChildren=!0),Si.subject;const Cn={checkChildren:Bn,subject:new m.B,rootNode:wi};return this._elementInfo.set(mi,Cn),this._registerGlobalListeners(Cn),Cn.subject}stopMonitoring(hn){const Bn=(0,B.i8)(hn),mi=this._elementInfo.get(Bn);mi&&(mi.subject.complete(),this._setClasses(Bn),this._elementInfo.delete(Bn),this._removeGlobalListeners(mi))}focusVia(hn,Bn,mi){const wi=(0,B.i8)(hn);wi===this._getDocument().activeElement?this._getClosestElementsInfo(wi).forEach(([Cn,ut])=>this._originChanged(Cn,Bn,ut)):(this._setOrigin(Bn),"function"==typeof wi.focus&&wi.focus(mi))}ngOnDestroy(){this._elementInfo.forEach((hn,Bn)=>this.stopMonitoring(Bn))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(hn){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(hn)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:hn&&this._isLastInteractionFromInputLabel(hn)?"mouse":"program"}_shouldBeAttributedToTouch(hn){return this._detectionMode===vi.EVENTUAL||!!hn?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(hn,Bn){hn.classList.toggle("cdk-focused",!!Bn),hn.classList.toggle("cdk-touch-focused","touch"===Bn),hn.classList.toggle("cdk-keyboard-focused","keyboard"===Bn),hn.classList.toggle("cdk-mouse-focused","mouse"===Bn),hn.classList.toggle("cdk-program-focused","program"===Bn)}_setOrigin(hn,Bn=!1){this._ngZone.runOutsideAngular(()=>{this._origin=hn,this._originFromTouchInteraction="touch"===hn&&Bn,this._detectionMode===vi.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(hn,Bn){const mi=this._elementInfo.get(Bn),wi=(0,g.Fb)(hn);!mi||!mi.checkChildren&&Bn!==wi||this._originChanged(Bn,this._getFocusOrigin(wi),mi)}_onBlur(hn,Bn){const mi=this._elementInfo.get(Bn);!mi||mi.checkChildren&&hn.relatedTarget instanceof Node&&Bn.contains(hn.relatedTarget)||(this._setClasses(Bn),this._emitOrigin(mi,null))}_emitOrigin(hn,Bn){hn.subject.observers.length&&this._ngZone.run(()=>hn.subject.next(Bn))}_registerGlobalListeners(hn){if(!this._platform.isBrowser)return;const Bn=hn.rootNode,mi=this._rootNodeFocusListenerCount.get(Bn)||0;mi||this._ngZone.runOutsideAngular(()=>{Bn.addEventListener("focus",this._rootNodeFocusAndBlurListener,$i),Bn.addEventListener("blur",this._rootNodeFocusAndBlurListener,$i)}),this._rootNodeFocusListenerCount.set(Bn,mi+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,q.Q)(this._stopInputModalityDetector)).subscribe(wi=>{this._setOrigin(wi,!0)}))}_removeGlobalListeners(hn){const Bn=hn.rootNode;if(this._rootNodeFocusListenerCount.has(Bn)){const mi=this._rootNodeFocusListenerCount.get(Bn);mi>1?this._rootNodeFocusListenerCount.set(Bn,mi-1):(Bn.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$i),Bn.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$i),this._rootNodeFocusListenerCount.delete(Bn))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(hn,Bn,mi){this._setClasses(hn,Bn),this._emitOrigin(mi,Bn),this._lastFocusOrigin=Bn}_getClosestElementsInfo(hn){const Bn=[];return this._elementInfo.forEach((mi,wi)=>{(wi===hn||mi.checkChildren&&wi.contains(hn))&&Bn.push([wi,mi])}),Bn}_isLastInteractionFromInputLabel(hn){const{_mostRecentTarget:Bn,mostRecentModality:mi}=this._inputModalityDetector;if("mouse"!==mi||!Bn||Bn===hn||"INPUT"!==hn.nodeName&&"TEXTAREA"!==hn.nodeName||hn.disabled)return!1;const wi=hn.labels;if(wi)for(let Si=0;Si<wi.length;Si++)if(wi[Si].contains(Bn))return!0;return!1}static#e=this.\u0275fac=function(Bn){return new(Bn||gn)(a.KVO(a.SKi),a.KVO(g.OD),a.KVO(os),a.KVO(n.qQ,8),a.KVO(ui,8))};static#t=this.\u0275prov=a.jDH({token:gn,factory:gn.\u0275fac,providedIn:"root"})}return gn})(),Hn=(()=>{class gn{constructor(hn,Bn){this._elementRef=hn,this._focusMonitor=Bn,this._focusOrigin=null,this.cdkFocusChange=new a.bkB}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const hn=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(hn,1===hn.nodeType&&hn.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Bn=>{this._focusOrigin=Bn,this.cdkFocusChange.emit(Bn)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(Bn){return new(Bn||gn)(a.rXU(a.aKT),a.rXU(Nn))};static#t=this.\u0275dir=a.FsC({type:gn,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}return gn})();var Qn=function(gn){return gn[gn.NONE=0]="NONE",gn[gn.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",gn[gn.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",gn}(Qn||{});const ri="cdk-high-contrast-black-on-white",li="cdk-high-contrast-white-on-black",Fi="cdk-high-contrast-active";let ei=(()=>{class gn{constructor(hn,Bn){this._platform=hn,this._document=Bn,this._breakpointSubscription=(0,a.WQX)(K).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Qn.NONE;const hn=this._document.createElement("div");hn.style.backgroundColor="rgb(1,2,3)",hn.style.position="absolute",this._document.body.appendChild(hn);const Bn=this._document.defaultView||window,mi=Bn&&Bn.getComputedStyle?Bn.getComputedStyle(hn):null,wi=(mi&&mi.backgroundColor||"").replace(/ /g,"");switch(hn.remove(),wi){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Qn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Qn.BLACK_ON_WHITE}return Qn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const hn=this._document.body.classList;hn.remove(Fi,ri,li),this._hasCheckedHighContrastMode=!0;const Bn=this.getHighContrastMode();Bn===Qn.BLACK_ON_WHITE?hn.add(Fi,ri):Bn===Qn.WHITE_ON_BLACK&&hn.add(Fi,li)}}static#e=this.\u0275fac=function(Bn){return new(Bn||gn)(a.KVO(g.OD),a.KVO(n.qQ))};static#t=this.\u0275prov=a.jDH({token:gn,factory:gn.\u0275fac,providedIn:"root"})}return gn})(),Hi=(()=>{class gn{constructor(hn){hn._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(Bn){return new(Bn||gn)(a.KVO(ei))};static#t=this.\u0275mod=a.$C({type:gn});static#n=this.\u0275inj=a.G2t({imports:[x]})}return gn})()},28203:(at,N,s)=>{"use strict";s.d(N,{dS:()=>D,jI:()=>y});var n=s(93953),a=s(60177);const g=new n.nKC("cdk-dir-doc",{providedIn:"root",factory:function m(){return(0,n.WQX)(a.qQ)}}),T=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let D=(()=>{class I{constructor(L){this.value="ltr",this.change=new n.bkB,L&&(this.value=function O(I){const b=I?.toLowerCase()||"";return"auto"===b&&typeof navigator<"u"&&navigator?.language?T.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}((L.body?L.body.dir:null)||(L.documentElement?L.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(o){return new(o||I)(n.KVO(g,8))};static#t=this.\u0275prov=n.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})(),y=(()=>{class I{static#e=this.\u0275fac=function(o){return new(o||I)};static#t=this.\u0275mod=n.$C({type:I});static#n=this.\u0275inj=n.G2t({})}return I})()},14085:(at,N,s)=>{"use strict";s.d(N,{FG:()=>T,OE:()=>g,a1:()=>O,he:()=>a,i8:()=>D});var n=s(93953);function a(y){return null!=y&&"false"!=`${y}`}function g(y,I=0){return function m(y){return!isNaN(parseFloat(y))&&!isNaN(Number(y))}(y)?Number(y):2===arguments.length?I:0}function T(y){return Array.isArray(y)?y:[y]}function O(y){return null==y?"":"string"==typeof y?y:`${y}px`}function D(y){return y instanceof n.aKT?y.nativeElement:y}},67336:(at,N,s)=>{"use strict";s.d(N,{A:()=>be,A$:()=>E,FX:()=>O,Fm:()=>T,G_:()=>a,Ge:()=>Kt,Kp:()=>w,LE:()=>F,SJ:()=>B,UQ:()=>q,W3:()=>D,Z:()=>In,_f:()=>b,bn:()=>ae,dB:()=>C,eg:()=>Jt,f2:()=>j,i7:()=>z,n6:()=>U,rp:()=>He,t6:()=>L,w_:()=>o,wn:()=>g,yZ:()=>M});const a=8,g=9,T=13,O=16,D=17,E=18,b=27,L=32,o=33,C=34,w=35,M=36,q=37,z=38,F=39,U=40,B=46,j=48,ae=57,be=65,In=90,Kt=91,Jt=224;function He(fe,...nt){return nt.length?nt.some(Ot=>fe[Ot]):fe.altKey||fe.shiftKey||fe.ctrlKey||fe.metaKey}},47987:(at,N,s)=>{"use strict";s.d(N,{EB:()=>Oe,Sf:()=>pe,hJ:()=>Be,pq:()=>Ae,rR:()=>Y,t0:()=>q,z_:()=>Ge});var n=s(65478),a=s(60177),g=s(93953),m=s(14085),T=s(36860),O=s(5964),D=s(56977),E=s(28203),y=s(76939),I=s(21413),b=s(18359),L=s(57786);const o=(0,T.CZ)();class C{constructor(Ne,Je){this._viewportRuler=Ne,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Je}attach(){}enable(){if(this._canBeEnabled()){const Ne=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Ne.style.left||"",this._previousHTMLStyles.top=Ne.style.top||"",Ne.style.left=(0,m.a1)(-this._previousScrollPosition.left),Ne.style.top=(0,m.a1)(-this._previousScrollPosition.top),Ne.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Ne=this._document.documentElement,Qe=Ne.style,rt=this._document.body.style,ft=Qe.scrollBehavior||"",Xt=rt.scrollBehavior||"";this._isEnabled=!1,Qe.left=this._previousHTMLStyles.left,Qe.top=this._previousHTMLStyles.top,Ne.classList.remove("cdk-global-scrollblock"),o&&(Qe.scrollBehavior=rt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),o&&(Qe.scrollBehavior=ft,rt.scrollBehavior=Xt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Je=this._document.body,Qe=this._viewportRuler.getViewportSize();return Je.scrollHeight>Qe.height||Je.scrollWidth>Qe.width}}class M{constructor(Ne,Je,Qe,rt){this._scrollDispatcher=Ne,this._ngZone=Je,this._viewportRuler=Qe,this._config=rt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Ne){this._overlayRef=Ne}enable(){if(this._scrollSubscription)return;const Ne=this._scrollDispatcher.scrolled(0).pipe((0,O.p)(Je=>!Je||!this._overlayRef.overlayElement.contains(Je.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Ne.subscribe(()=>{const Je=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Je-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Ne.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class q{enable(){}disable(){}attach(){}}function z(ke,Ne){return Ne.some(Je=>ke.bottom<Je.top||ke.top>Je.bottom||ke.right<Je.left||ke.left>Je.right)}function F(ke,Ne){return Ne.some(Je=>ke.top<Je.top||ke.bottom>Je.bottom||ke.left<Je.left||ke.right>Je.right)}class U{constructor(Ne,Je,Qe,rt){this._scrollDispatcher=Ne,this._viewportRuler=Je,this._ngZone=Qe,this._config=rt,this._scrollSubscription=null}attach(Ne){this._overlayRef=Ne}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 Je=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Qe,height:rt}=this._viewportRuler.getViewportSize();z(Je,[{width:Qe,height:rt,bottom:rt,right:Qe,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 k=(()=>{class ke{constructor(Je,Qe,rt,ft){this._scrollDispatcher=Je,this._viewportRuler=Qe,this._ngZone=rt,this.noop=()=>new q,this.close=Xt=>new M(this._scrollDispatcher,this._ngZone,this._viewportRuler,Xt),this.block=()=>new C(this._viewportRuler,this._document),this.reposition=Xt=>new U(this._scrollDispatcher,this._viewportRuler,this._ngZone,Xt),this._document=ft}static#e=this.\u0275fac=function(Qe){return new(Qe||ke)(g.KVO(n.R),g.KVO(n.Xj),g.KVO(g.SKi),g.KVO(a.qQ))};static#t=this.\u0275prov=g.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})();class Y{constructor(Ne){if(this.scrollStrategy=new q,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Ne){const Je=Object.keys(Ne);for(const Qe of Je)void 0!==Ne[Qe]&&(this[Qe]=Ne[Qe])}}}class j{constructor(Ne,Je){this.connectionPair=Ne,this.scrollableViewProperties=Je}}let ie=(()=>{class ke{constructor(Je){this._attachedOverlays=[],this._document=Je}ngOnDestroy(){this.detach()}add(Je){this.remove(Je),this._attachedOverlays.push(Je)}remove(Je){const Qe=this._attachedOverlays.indexOf(Je);Qe>-1&&this._attachedOverlays.splice(Qe,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Qe){return new(Qe||ke)(g.KVO(a.qQ))};static#t=this.\u0275prov=g.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})(),ne=(()=>{class ke extends ie{constructor(Je,Qe){super(Je),this._ngZone=Qe,this._keydownListener=rt=>{const ft=this._attachedOverlays;for(let Xt=ft.length-1;Xt>-1;Xt--)if(ft[Xt]._keydownEvents.observers.length>0){const It=ft[Xt]._keydownEvents;this._ngZone?this._ngZone.run(()=>It.next(rt)):It.next(rt);break}}}add(Je){super.add(Je),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)}static#e=this.\u0275fac=function(Qe){return new(Qe||ke)(g.KVO(a.qQ),g.KVO(g.SKi,8))};static#t=this.\u0275prov=g.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})(),Q=(()=>{class ke extends ie{constructor(Je,Qe,rt){super(Je),this._platform=Qe,this._ngZone=rt,this._cursorStyleIsSet=!1,this._pointerDownListener=ft=>{this._pointerDownEventTarget=(0,T.Fb)(ft)},this._clickListener=ft=>{const Xt=(0,T.Fb)(ft),It="click"===ft.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Xt;this._pointerDownEventTarget=null;const In=this._attachedOverlays.slice();for(let Kt=In.length-1;Kt>-1;Kt--){const Ze=In[Kt];if(Ze._outsidePointerEvents.observers.length<1||!Ze.hasAttached())continue;if(le(Ze.overlayElement,Xt)||le(Ze.overlayElement,It))break;const wn=Ze._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>wn.next(ft)):wn.next(ft)}}}add(Je){if(super.add(Je),!this._isAttached){const Qe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Qe)):this._addEventListeners(Qe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Qe.style.cursor,Qe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Je=this._document.body;Je.removeEventListener("pointerdown",this._pointerDownListener,!0),Je.removeEventListener("click",this._clickListener,!0),Je.removeEventListener("auxclick",this._clickListener,!0),Je.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Je.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Je){Je.addEventListener("pointerdown",this._pointerDownListener,!0),Je.addEventListener("click",this._clickListener,!0),Je.addEventListener("auxclick",this._clickListener,!0),Je.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Qe){return new(Qe||ke)(g.KVO(a.qQ),g.KVO(T.OD),g.KVO(g.SKi,8))};static#t=this.\u0275prov=g.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})();function le(ke,Ne){const Je=typeof ShadowRoot<"u"&&ShadowRoot;let Qe=Ne;for(;Qe;){if(Qe===ke)return!0;Qe=Je&&Qe instanceof ShadowRoot?Qe.host:Qe.parentNode}return!1}let pe=(()=>{class ke{constructor(Je,Qe){this._platform=Qe,this._document=Je}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Je="cdk-overlay-container";if(this._platform.isBrowser||(0,T.v8)()){const rt=this._document.querySelectorAll(`.${Je}[platform="server"], .${Je}[platform="test"]`);for(let ft=0;ft<rt.length;ft++)rt[ft].remove()}const Qe=this._document.createElement("div");Qe.classList.add(Je),(0,T.v8)()?Qe.setAttribute("platform","test"):this._platform.isBrowser||Qe.setAttribute("platform","server"),this._document.body.appendChild(Qe),this._containerElement=Qe}static#e=this.\u0275fac=function(Qe){return new(Qe||ke)(g.KVO(a.qQ),g.KVO(T.OD))};static#t=this.\u0275prov=g.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})();class te{constructor(Ne,Je,Qe,rt,ft,Xt,It,In,Kt,Ze=!1,wn){this._portalOutlet=Ne,this._host=Je,this._pane=Qe,this._config=rt,this._ngZone=ft,this._keyboardDispatcher=Xt,this._document=It,this._location=In,this._outsideClickDispatcher=Kt,this._animationsDisabled=Ze,this._injector=wn,this._backdropElement=null,this._backdropClick=new I.B,this._attachments=new I.B,this._detachments=new I.B,this._locationChanges=b.yU.EMPTY,this._backdropClickHandler=zn=>this._backdropClick.next(zn),this._backdropTransitionendHandler=zn=>{this._disposeBackdrop(zn.target)},this._keydownEvents=new I.B,this._outsidePointerEvents=new I.B,this._renders=new I.B,rt.scrollStrategy&&(this._scrollStrategy=rt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=rt.positionStrategy,this._afterRenderRef=(0,g.O8t)(()=>(0,g.Tzd)(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Ne){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Je=this._portalOutlet.attach(Ne);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),(0,g.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Je?.onDestroy&&Je.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Je}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Ne=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Ne}dispose(){const Ne=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,Ne&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Ne){Ne!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Ne,this.hasAttached()&&(Ne.attach(this),this.updatePosition()))}updateSize(Ne){this._config={...this._config,...Ne},this._updateElementSize()}setDirection(Ne){this._config={...this._config,direction:Ne},this._updateElementDirection()}addPanelClass(Ne){this._pane&&this._toggleClasses(this._pane,Ne,!0)}removePanelClass(Ne){this._pane&&this._toggleClasses(this._pane,Ne,!1)}getDirection(){const Ne=this._config.direction;return Ne?"string"==typeof Ne?Ne:Ne.value:"ltr"}updateScrollStrategy(Ne){Ne!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Ne,this.hasAttached()&&(Ne.attach(this),Ne.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Ne=this._pane.style;Ne.width=(0,m.a1)(this._config.width),Ne.height=(0,m.a1)(this._config.height),Ne.minWidth=(0,m.a1)(this._config.minWidth),Ne.minHeight=(0,m.a1)(this._config.minHeight),Ne.maxWidth=(0,m.a1)(this._config.maxWidth),Ne.maxHeight=(0,m.a1)(this._config.maxHeight)}_togglePointerEvents(Ne){this._pane.style.pointerEvents=Ne?"":"none"}_attachBackdrop(){const Ne="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(Ne)})}):this._backdropElement.classList.add(Ne)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Ne=this._backdropElement;if(Ne){if(this._animationsDisabled)return void this._disposeBackdrop(Ne);Ne.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Ne.addEventListener("transitionend",this._backdropTransitionendHandler)}),Ne.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Ne)},500))}}_toggleClasses(Ne,Je,Qe){const rt=(0,m.FG)(Je||[]).filter(ft=>!!ft);rt.length&&(Qe?Ne.classList.add(...rt):Ne.classList.remove(...rt))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const Ne=this._renders.pipe((0,D.Q)((0,L.h)(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()),Ne.unsubscribe())})})}_disposeScrollStrategy(){const Ne=this._scrollStrategy;Ne&&(Ne.disable(),Ne.detach&&Ne.detach())}_disposeBackdrop(Ne){Ne&&(Ne.removeEventListener("click",this._backdropClickHandler),Ne.removeEventListener("transitionend",this._backdropTransitionendHandler),Ne.remove(),this._backdropElement===Ne&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const ae="cdk-overlay-connected-position-bounding-box",K=/([A-Za-z%]+)$/;class de{get positions(){return this._preferredPositions}constructor(Ne,Je,Qe,rt,ft){this._viewportRuler=Je,this._document=Qe,this._platform=rt,this._overlayContainer=ft,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 I.B,this._resizeSubscription=b.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Ne)}attach(Ne){this._validatePositions(),Ne.hostElement.classList.add(ae),this._overlayRef=Ne,this._boundingBox=Ne.hostElement,this._pane=Ne.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 Ne=this._originRect,Je=this._overlayRect,Qe=this._viewportRect,rt=this._containerRect,ft=[];let Xt;for(let It of this._preferredPositions){let In=this._getOriginPoint(Ne,rt,It),Kt=this._getOverlayPoint(In,Je,It),Ze=this._getOverlayFit(Kt,Je,Qe,It);if(Ze.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(It,In);this._canFitWithFlexibleDimensions(Ze,Kt,Qe)?ft.push({position:It,origin:In,overlayRect:Je,boundingBoxRect:this._calculateBoundingBoxRect(In,It)}):(!Xt||Xt.overlayFit.visibleArea<Ze.visibleArea)&&(Xt={overlayFit:Ze,overlayPoint:Kt,originPoint:In,position:It,overlayRect:Je})}if(ft.length){let It=null,In=-1;for(const Kt of ft){const Ze=Kt.boundingBoxRect.width*Kt.boundingBoxRect.height*(Kt.position.weight||1);Ze>In&&(In=Ze,It=Kt)}return this._isPushed=!1,void this._applyPosition(It.position,It.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Xt.position,Xt.originPoint);this._applyPosition(Xt.position,Xt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Me(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ae),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Ne=this._lastPosition;if(Ne){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Je=this._getOriginPoint(this._originRect,this._containerRect,Ne);this._applyPosition(Ne,Je)}else this.apply()}withScrollableContainers(Ne){return this._scrollables=Ne,this}withPositions(Ne){return this._preferredPositions=Ne,-1===Ne.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Ne){return this._viewportMargin=Ne,this}withFlexibleDimensions(Ne=!0){return this._hasFlexibleDimensions=Ne,this}withGrowAfterOpen(Ne=!0){return this._growAfterOpen=Ne,this}withPush(Ne=!0){return this._canPush=Ne,this}withLockedPosition(Ne=!0){return this._positionLocked=Ne,this}setOrigin(Ne){return this._origin=Ne,this}withDefaultOffsetX(Ne){return this._offsetX=Ne,this}withDefaultOffsetY(Ne){return this._offsetY=Ne,this}withTransformOriginOn(Ne){return this._transformOriginSelector=Ne,this}_getOriginPoint(Ne,Je,Qe){let rt,ft;if("center"==Qe.originX)rt=Ne.left+Ne.width/2;else{const Xt=this._isRtl()?Ne.right:Ne.left,It=this._isRtl()?Ne.left:Ne.right;rt="start"==Qe.originX?Xt:It}return Je.left<0&&(rt-=Je.left),ft="center"==Qe.originY?Ne.top+Ne.height/2:"top"==Qe.originY?Ne.top:Ne.bottom,Je.top<0&&(ft-=Je.top),{x:rt,y:ft}}_getOverlayPoint(Ne,Je,Qe){let rt,ft;return rt="center"==Qe.overlayX?-Je.width/2:"start"===Qe.overlayX?this._isRtl()?-Je.width:0:this._isRtl()?0:-Je.width,ft="center"==Qe.overlayY?-Je.height/2:"top"==Qe.overlayY?0:-Je.height,{x:Ne.x+rt,y:Ne.y+ft}}_getOverlayFit(Ne,Je,Qe,rt){const ft=be(Je);let{x:Xt,y:It}=Ne,In=this._getOffset(rt,"x"),Kt=this._getOffset(rt,"y");In&&(Xt+=In),Kt&&(It+=Kt);let zn=0-It,di=It+ft.height-Qe.height,jn=this._subtractOverflows(ft.width,0-Xt,Xt+ft.width-Qe.width),Di=this._subtractOverflows(ft.height,zn,di),Li=jn*Di;return{visibleArea:Li,isCompletelyWithinViewport:ft.width*ft.height===Li,fitsInViewportVertically:Di===ft.height,fitsInViewportHorizontally:jn==ft.width}}_canFitWithFlexibleDimensions(Ne,Je,Qe){if(this._hasFlexibleDimensions){const rt=Qe.bottom-Je.y,ft=Qe.right-Je.x,Xt=me(this._overlayRef.getConfig().minHeight),It=me(this._overlayRef.getConfig().minWidth);return(Ne.fitsInViewportVertically||null!=Xt&&Xt<=rt)&&(Ne.fitsInViewportHorizontally||null!=It&&It<=ft)}return!1}_pushOverlayOnScreen(Ne,Je,Qe){if(this._previousPushAmount&&this._positionLocked)return{x:Ne.x+this._previousPushAmount.x,y:Ne.y+this._previousPushAmount.y};const rt=be(Je),ft=this._viewportRect,Xt=Math.max(Ne.x+rt.width-ft.width,0),It=Math.max(Ne.y+rt.height-ft.height,0),In=Math.max(ft.top-Qe.top-Ne.y,0),Kt=Math.max(ft.left-Qe.left-Ne.x,0);let Ze=0,wn=0;return Ze=rt.width<=ft.width?Kt||-Xt:Ne.x<this._viewportMargin?ft.left-Qe.left-Ne.x:0,wn=rt.height<=ft.height?In||-It:Ne.y<this._viewportMargin?ft.top-Qe.top-Ne.y:0,this._previousPushAmount={x:Ze,y:wn},{x:Ne.x+Ze,y:Ne.y+wn}}_applyPosition(Ne,Je){if(this._setTransformOrigin(Ne),this._setOverlayElementStyles(Je,Ne),this._setBoundingBoxStyles(Je,Ne),Ne.panelClass&&this._addPanelClasses(Ne.panelClass),this._positionChanges.observers.length){const Qe=this._getScrollVisibility();if(Ne!==this._lastPosition||!this._lastScrollVisibility||!function Le(ke,Ne){return ke===Ne||ke.isOriginClipped===Ne.isOriginClipped&&ke.isOriginOutsideView===Ne.isOriginOutsideView&&ke.isOverlayClipped===Ne.isOverlayClipped&&ke.isOverlayOutsideView===Ne.isOverlayOutsideView}(this._lastScrollVisibility,Qe)){const rt=new j(Ne,Qe);this._positionChanges.next(rt)}this._lastScrollVisibility=Qe}this._lastPosition=Ne,this._isInitialRender=!1}_setTransformOrigin(Ne){if(!this._transformOriginSelector)return;const Je=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Qe,rt=Ne.overlayY;Qe="center"===Ne.overlayX?"center":this._isRtl()?"start"===Ne.overlayX?"right":"left":"start"===Ne.overlayX?"left":"right";for(let ft=0;ft<Je.length;ft++)Je[ft].style.transformOrigin=`${Qe} ${rt}`}_calculateBoundingBoxRect(Ne,Je){const Qe=this._viewportRect,rt=this._isRtl();let ft,Xt,It,Ze,wn,zn;if("top"===Je.overlayY)Xt=Ne.y,ft=Qe.height-Xt+this._viewportMargin;else if("bottom"===Je.overlayY)It=Qe.height-Ne.y+2*this._viewportMargin,ft=Qe.height-It+this._viewportMargin;else{const di=Math.min(Qe.bottom-Ne.y+Qe.top,Ne.y),jn=this._lastBoundingBoxSize.height;ft=2*di,Xt=Ne.y-di,ft>jn&&!this._isInitialRender&&!this._growAfterOpen&&(Xt=Ne.y-jn/2)}if("end"===Je.overlayX&&!rt||"start"===Je.overlayX&&rt)zn=Qe.width-Ne.x+2*this._viewportMargin,Ze=Ne.x-this._viewportMargin;else if("start"===Je.overlayX&&!rt||"end"===Je.overlayX&&rt)wn=Ne.x,Ze=Qe.right-Ne.x;else{const di=Math.min(Qe.right-Ne.x+Qe.left,Ne.x),jn=this._lastBoundingBoxSize.width;Ze=2*di,wn=Ne.x-di,Ze>jn&&!this._isInitialRender&&!this._growAfterOpen&&(wn=Ne.x-jn/2)}return{top:Xt,left:wn,bottom:It,right:zn,width:Ze,height:ft}}_setBoundingBoxStyles(Ne,Je){const Qe=this._calculateBoundingBoxRect(Ne,Je);!this._isInitialRender&&!this._growAfterOpen&&(Qe.height=Math.min(Qe.height,this._lastBoundingBoxSize.height),Qe.width=Math.min(Qe.width,this._lastBoundingBoxSize.width));const rt={};if(this._hasExactPosition())rt.top=rt.left="0",rt.bottom=rt.right=rt.maxHeight=rt.maxWidth="",rt.width=rt.height="100%";else{const ft=this._overlayRef.getConfig().maxHeight,Xt=this._overlayRef.getConfig().maxWidth;rt.height=(0,m.a1)(Qe.height),rt.top=(0,m.a1)(Qe.top),rt.bottom=(0,m.a1)(Qe.bottom),rt.width=(0,m.a1)(Qe.width),rt.left=(0,m.a1)(Qe.left),rt.right=(0,m.a1)(Qe.right),rt.alignItems="center"===Je.overlayX?"center":"end"===Je.overlayX?"flex-end":"flex-start",rt.justifyContent="center"===Je.overlayY?"center":"bottom"===Je.overlayY?"flex-end":"flex-start",ft&&(rt.maxHeight=(0,m.a1)(ft)),Xt&&(rt.maxWidth=(0,m.a1)(Xt))}this._lastBoundingBoxSize=Qe,Me(this._boundingBox.style,rt)}_resetBoundingBoxStyles(){Me(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Me(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Ne,Je){const Qe={},rt=this._hasExactPosition(),ft=this._hasFlexibleDimensions,Xt=this._overlayRef.getConfig();if(rt){const Ze=this._viewportRuler.getViewportScrollPosition();Me(Qe,this._getExactOverlayY(Je,Ne,Ze)),Me(Qe,this._getExactOverlayX(Je,Ne,Ze))}else Qe.position="static";let It="",In=this._getOffset(Je,"x"),Kt=this._getOffset(Je,"y");In&&(It+=`translateX(${In}px) `),Kt&&(It+=`translateY(${Kt}px)`),Qe.transform=It.trim(),Xt.maxHeight&&(rt?Qe.maxHeight=(0,m.a1)(Xt.maxHeight):ft&&(Qe.maxHeight="")),Xt.maxWidth&&(rt?Qe.maxWidth=(0,m.a1)(Xt.maxWidth):ft&&(Qe.maxWidth="")),Me(this._pane.style,Qe)}_getExactOverlayY(Ne,Je,Qe){let rt={top:"",bottom:""},ft=this._getOverlayPoint(Je,this._overlayRect,Ne);return this._isPushed&&(ft=this._pushOverlayOnScreen(ft,this._overlayRect,Qe)),"bottom"===Ne.overlayY?rt.bottom=this._document.documentElement.clientHeight-(ft.y+this._overlayRect.height)+"px":rt.top=(0,m.a1)(ft.y),rt}_getExactOverlayX(Ne,Je,Qe){let Xt,rt={left:"",right:""},ft=this._getOverlayPoint(Je,this._overlayRect,Ne);return this._isPushed&&(ft=this._pushOverlayOnScreen(ft,this._overlayRect,Qe)),Xt=this._isRtl()?"end"===Ne.overlayX?"left":"right":"end"===Ne.overlayX?"right":"left","right"===Xt?rt.right=this._document.documentElement.clientWidth-(ft.x+this._overlayRect.width)+"px":rt.left=(0,m.a1)(ft.x),rt}_getScrollVisibility(){const Ne=this._getOriginRect(),Je=this._pane.getBoundingClientRect(),Qe=this._scrollables.map(rt=>rt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:F(Ne,Qe),isOriginOutsideView:z(Ne,Qe),isOverlayClipped:F(Je,Qe),isOverlayOutsideView:z(Je,Qe)}}_subtractOverflows(Ne,...Je){return Je.reduce((Qe,rt)=>Qe-Math.max(rt,0),Ne)}_getNarrowedViewportRect(){const Ne=this._document.documentElement.clientWidth,Je=this._document.documentElement.clientHeight,Qe=this._viewportRuler.getViewportScrollPosition();return{top:Qe.top+this._viewportMargin,left:Qe.left+this._viewportMargin,right:Qe.left+Ne-this._viewportMargin,bottom:Qe.top+Je-this._viewportMargin,width:Ne-2*this._viewportMargin,height:Je-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Ne,Je){return"x"===Je?null==Ne.offsetX?this._offsetX:Ne.offsetX:null==Ne.offsetY?this._offsetY:Ne.offsetY}_validatePositions(){}_addPanelClasses(Ne){this._pane&&(0,m.FG)(Ne).forEach(Je=>{""!==Je&&-1===this._appliedPanelClasses.indexOf(Je)&&(this._appliedPanelClasses.push(Je),this._pane.classList.add(Je))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Ne=>{this._pane.classList.remove(Ne)}),this._appliedPanelClasses=[])}_getOriginRect(){const Ne=this._origin;if(Ne instanceof g.aKT)return Ne.nativeElement.getBoundingClientRect();if(Ne instanceof Element)return Ne.getBoundingClientRect();const Je=Ne.width||0,Qe=Ne.height||0;return{top:Ne.y,bottom:Ne.y+Qe,left:Ne.x,right:Ne.x+Je,height:Qe,width:Je}}}function Me(ke,Ne){for(let Je in Ne)Ne.hasOwnProperty(Je)&&(ke[Je]=Ne[Je]);return ke}function me(ke){if("number"!=typeof ke&&null!=ke){const[Ne,Je]=ke.split(K);return Je&&"px"!==Je?null:parseFloat(Ne)}return ke||null}function be(ke){return{top:Math.floor(ke.top),right:Math.floor(ke.right),bottom:Math.floor(ke.bottom),left:Math.floor(ke.left),width:Math.floor(ke.width),height:Math.floor(ke.height)}}const Ae=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],Oe=[{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom"},{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom"}],Xe="cdk-global-overlay-wrapper";class Pe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Ne){const Je=Ne.getConfig();this._overlayRef=Ne,this._width&&!Je.width&&Ne.updateSize({width:this._width}),this._height&&!Je.height&&Ne.updateSize({height:this._height}),Ne.hostElement.classList.add(Xe),this._isDisposed=!1}top(Ne=""){return this._bottomOffset="",this._topOffset=Ne,this._alignItems="flex-start",this}left(Ne=""){return this._xOffset=Ne,this._xPosition="left",this}bottom(Ne=""){return this._topOffset="",this._bottomOffset=Ne,this._alignItems="flex-end",this}right(Ne=""){return this._xOffset=Ne,this._xPosition="right",this}start(Ne=""){return this._xOffset=Ne,this._xPosition="start",this}end(Ne=""){return this._xOffset=Ne,this._xPosition="end",this}width(Ne=""){return this._overlayRef?this._overlayRef.updateSize({width:Ne}):this._width=Ne,this}height(Ne=""){return this._overlayRef?this._overlayRef.updateSize({height:Ne}):this._height=Ne,this}centerHorizontally(Ne=""){return this.left(Ne),this._xPosition="center",this}centerVertically(Ne=""){return this.top(Ne),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Ne=this._overlayRef.overlayElement.style,Je=this._overlayRef.hostElement.style,Qe=this._overlayRef.getConfig(),{width:rt,height:ft,maxWidth:Xt,maxHeight:It}=Qe,In=!("100%"!==rt&&"100vw"!==rt||Xt&&"100%"!==Xt&&"100vw"!==Xt),Kt=!("100%"!==ft&&"100vh"!==ft||It&&"100%"!==It&&"100vh"!==It),Ze=this._xPosition,wn=this._xOffset,zn="rtl"===this._overlayRef.getConfig().direction;let di="",jn="",Di="";In?Di="flex-start":"center"===Ze?(Di="center",zn?jn=wn:di=wn):zn?"left"===Ze||"end"===Ze?(Di="flex-end",di=wn):("right"===Ze||"start"===Ze)&&(Di="flex-start",jn=wn):"left"===Ze||"start"===Ze?(Di="flex-start",di=wn):("right"===Ze||"end"===Ze)&&(Di="flex-end",jn=wn),Ne.position=this._cssPosition,Ne.marginLeft=In?"0":di,Ne.marginTop=Kt?"0":this._topOffset,Ne.marginBottom=this._bottomOffset,Ne.marginRight=In?"0":jn,Je.justifyContent=Di,Je.alignItems=Kt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Ne=this._overlayRef.overlayElement.style,Je=this._overlayRef.hostElement,Qe=Je.style;Je.classList.remove(Xe),Qe.justifyContent=Qe.alignItems=Ne.marginTop=Ne.marginBottom=Ne.marginLeft=Ne.marginRight=Ne.position="",this._overlayRef=null,this._isDisposed=!0}}let $e=(()=>{class ke{constructor(Je,Qe,rt,ft){this._viewportRuler=Je,this._document=Qe,this._platform=rt,this._overlayContainer=ft}global(){return new Pe}flexibleConnectedTo(Je){return new de(Je,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Qe){return new(Qe||ke)(g.KVO(n.Xj),g.KVO(a.qQ),g.KVO(T.OD),g.KVO(pe))};static#t=this.\u0275prov=g.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})(),ze=0,Be=(()=>{class ke{constructor(Je,Qe,rt,ft,Xt,It,In,Kt,Ze,wn,zn,di){this.scrollStrategies=Je,this._overlayContainer=Qe,this._componentFactoryResolver=rt,this._positionBuilder=ft,this._keyboardDispatcher=Xt,this._injector=It,this._ngZone=In,this._document=Kt,this._directionality=Ze,this._location=wn,this._outsideClickDispatcher=zn,this._animationsModuleType=di}create(Je){const Qe=this._createHostElement(),rt=this._createPaneElement(Qe),ft=this._createPortalOutlet(rt),Xt=new Y(Je);return Xt.direction=Xt.direction||this._directionality.value,new te(ft,Qe,rt,Xt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(g.uvJ))}position(){return this._positionBuilder}_createPaneElement(Je){const Qe=this._document.createElement("div");return Qe.id="cdk-overlay-"+ze++,Qe.classList.add("cdk-overlay-pane"),Je.appendChild(Qe),Qe}_createHostElement(){const Je=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Je),Je}_createPortalOutlet(Je){return this._appRef||(this._appRef=this._injector.get(g.o8S)),new y.aI(Je,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Qe){return new(Qe||ke)(g.KVO(k),g.KVO(pe),g.KVO(g.OM3),g.KVO($e),g.KVO(ne),g.KVO(g.zZn),g.KVO(g.SKi),g.KVO(a.qQ),g.KVO(E.dS),g.KVO(a.aZ),g.KVO(Q),g.KVO(g.bc$,8))};static#t=this.\u0275prov=g.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})();const gt={provide:new g.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const ke=(0,g.WQX)(Be);return()=>ke.scrollStrategies.reposition()}}),deps:[Be],useFactory:function ht(ke){return()=>ke.scrollStrategies.reposition()}};let Ge=(()=>{class ke{static#e=this.\u0275fac=function(Qe){return new(Qe||ke)};static#t=this.\u0275mod=g.$C({type:ke});static#n=this.\u0275inj=g.G2t({providers:[Be,gt],imports:[E.jI,y.jc,n.E9,n.E9]})}return ke})()},36860:(at,N,s)=>{"use strict";s.d(N,{BD:()=>M,BQ:()=>b,CZ:()=>w,Fb:()=>k,IK:()=>T,KT:()=>F,OD:()=>m,r5:()=>L,v8:()=>Y,vc:()=>U});var n=s(93953),a=s(60177);let g;try{g=typeof Intl<"u"&&Intl.v8BreakIterator}catch{g=!1}let y,m=(()=>{class x{constructor(j){this._platformId=j,this.isBrowser=this._platformId?(0,a.UE)(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&&!g)&&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}static#e=this.\u0275fac=function($){return new($||x)(n.KVO(n.Agw))};static#t=this.\u0275prov=n.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})(),T=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=n.$C({type:x});static#n=this.\u0275inj=n.G2t({})}return x})();function b(x){return function I(){if(null==y&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>y=!0}))}finally{y=y||!1}return y}()?x:!!x.capture}var L=function(x){return x[x.NORMAL=0]="NORMAL",x[x.NEGATED=1]="NEGATED",x[x.INVERTED=2]="INVERTED",x}(L||{});let o,C,q;function w(){if(null==C){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return C=!1,C;if("scrollBehavior"in document.documentElement.style)C=!0;else{const x=Element.prototype.scrollTo;C=!!x&&!/\{\s*\[native code\]\s*\}/.test(x.toString())}}return C}function M(){if("object"!=typeof document||!document)return L.NORMAL;if(null==o){const x=document.createElement("div"),B=x.style;x.dir="rtl",B.width="1px",B.overflow="auto",B.visibility="hidden",B.pointerEvents="none",B.position="absolute";const j=document.createElement("div"),$=j.style;$.width="2px",$.height="1px",x.appendChild(j),document.body.appendChild(x),o=L.NORMAL,0===x.scrollLeft&&(x.scrollLeft=1,o=0===x.scrollLeft?L.NEGATED:L.INVERTED),x.remove()}return o}function F(x){if(function z(){if(null==q){const x=typeof document<"u"?document.head:null;q=!(!x||!x.createShadowRoot&&!x.attachShadow)}return q}()){const B=x.getRootNode?x.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&B instanceof ShadowRoot)return B}return null}function U(){let x=typeof document<"u"&&document?document.activeElement:null;for(;x&&x.shadowRoot;){const B=x.shadowRoot.activeElement;if(B===x)break;x=B}return x}function k(x){return x.composedPath?x.composedPath()[0]:x.target}function Y(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},76939:(at,N,s)=>{"use strict";s.d(N,{A8:()=>I,I3:()=>F,JP:()=>Y,VA:()=>b,aI:()=>w,jc:()=>k,lb:()=>o});var n=s(93953),a=s(60177);class y{attach(B){return this._attachedHost=B,B.attach(this)}detach(){let B=this._attachedHost;null!=B&&(this._attachedHost=null,B.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(B){this._attachedHost=B}}class I extends y{constructor(B,j,$,H,ie){super(),this.component=B,this.viewContainerRef=j,this.injector=$,this.componentFactoryResolver=H,this.projectableNodes=ie}}class b extends y{constructor(B,j,$,H){super(),this.templateRef=B,this.viewContainerRef=j,this.context=$,this.injector=H}get origin(){return this.templateRef.elementRef}attach(B,j=this.context){return this.context=j,super.attach(B)}detach(){return this.context=void 0,super.detach()}}class L extends y{constructor(B){super(),this.element=B instanceof n.aKT?B.nativeElement:B}}class o{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(B){return B instanceof I?(this._attachedPortal=B,this.attachComponentPortal(B)):B instanceof b?(this._attachedPortal=B,this.attachTemplatePortal(B)):this.attachDomPortal&&B instanceof L?(this._attachedPortal=B,this.attachDomPortal(B)):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(B){this._disposeFn=B}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class w extends o{constructor(B,j,$,H,ie){super(),this.outletElement=B,this._componentFactoryResolver=j,this._appRef=$,this._defaultInjector=H,this.attachDomPortal=ne=>{const Q=ne.element,le=this._document.createComment("dom-portal");Q.parentNode.insertBefore(le,Q),this.outletElement.appendChild(Q),this._attachedPortal=ne,super.setDisposeFn(()=>{le.parentNode&&le.parentNode.replaceChild(Q,le)})},this._document=ie}attachComponentPortal(B){const $=(B.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(B.component);let H;return B.viewContainerRef?(H=B.viewContainerRef.createComponent($,B.viewContainerRef.length,B.injector||B.viewContainerRef.injector,B.projectableNodes||void 0),this.setDisposeFn(()=>H.destroy())):(H=$.create(B.injector||this._defaultInjector||n.zZn.NULL),this._appRef.attachView(H.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(H.hostView),H.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(H)),this._attachedPortal=B,H}attachTemplatePortal(B){let j=B.viewContainerRef,$=j.createEmbeddedView(B.templateRef,B.context,{injector:B.injector});return $.rootNodes.forEach(H=>this.outletElement.appendChild(H)),$.detectChanges(),this.setDisposeFn(()=>{let H=j.indexOf($);-1!==H&&j.remove(H)}),this._attachedPortal=B,$}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(B){return B.hostView.rootNodes[0]}}let F=(()=>{class x extends o{constructor(j,$,H){super(),this._componentFactoryResolver=j,this._viewContainerRef=$,this._isInitialized=!1,this.attached=new n.bkB,this.attachDomPortal=ie=>{const ne=ie.element,Q=this._document.createComment("dom-portal");ie.setAttachedHost(this),ne.parentNode.insertBefore(Q,ne),this._getRootNode().appendChild(ne),this._attachedPortal=ie,super.setDisposeFn(()=>{Q.parentNode&&Q.parentNode.replaceChild(ne,Q)})},this._document=H}get portal(){return this._attachedPortal}set portal(j){this.hasAttached()&&!j&&!this._isInitialized||(this.hasAttached()&&super.detach(),j&&super.attach(j),this._attachedPortal=j||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(j){j.setAttachedHost(this);const $=null!=j.viewContainerRef?j.viewContainerRef:this._viewContainerRef,ie=(j.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(j.component),ne=$.createComponent(ie,$.length,j.injector||$.injector,j.projectableNodes||void 0);return $!==this._viewContainerRef&&this._getRootNode().appendChild(ne.hostView.rootNodes[0]),super.setDisposeFn(()=>ne.destroy()),this._attachedPortal=j,this._attachedRef=ne,this.attached.emit(ne),ne}attachTemplatePortal(j){j.setAttachedHost(this);const $=this._viewContainerRef.createEmbeddedView(j.templateRef,j.context,{injector:j.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=j,this._attachedRef=$,this.attached.emit($),$}_getRootNode(){const j=this._viewContainerRef.element.nativeElement;return j.nodeType===j.ELEMENT_NODE?j:j.parentNode}static#e=this.\u0275fac=function($){return new($||x)(n.rXU(n.OM3),n.rXU(n.c1b),n.rXU(a.qQ))};static#t=this.\u0275dir=n.FsC({type:x,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[n.Vt3]})}return x})(),k=(()=>{class x{static#e=this.\u0275fac=function($){return new($||x)};static#t=this.\u0275mod=n.$C({type:x});static#n=this.\u0275inj=n.G2t({})}return x})();class Y{constructor(B,j){this._parentInjector=B,this._customTokens=j}get(B,j){const $=this._customTokens.get(B);return typeof $<"u"?$:this._parentInjector.get(B,j)}}},65478:(at,N,s)=>{"use strict";s.d(N,{E9:()=>de,Gj:()=>K,R:()=>Y,Xj:()=>j,uv:()=>x});var n=s(14085),a=s(93953),g=s(21413),m=s(7673),T=s(71985),O=s(33726),y=(s(30536),s(25007),s(13798)),I=s(5964),b=s(56977),L=s(36860),o=s(60177),C=s(28203);let Y=(()=>{class Me{constructor(be,Le,Ae){this._ngZone=be,this._platform=Le,this._scrolled=new g.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ae}register(be){this.scrollContainers.has(be)||this.scrollContainers.set(be,be.elementScrolled().subscribe(()=>this._scrolled.next(be)))}deregister(be){const Le=this.scrollContainers.get(be);Le&&(Le.unsubscribe(),this.scrollContainers.delete(be))}scrolled(be=20){return this._platform.isBrowser?new T.c(Le=>{this._globalSubscription||this._addGlobalListener();const Ae=be>0?this._scrolled.pipe((0,y.Z)(be)).subscribe(Le):this._scrolled.subscribe(Le);return this._scrolledCount++,()=>{Ae.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,m.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((be,Le)=>this.deregister(Le)),this._scrolled.complete()}ancestorScrolled(be,Le){const Ae=this.getAncestorScrollContainers(be);return this.scrolled(Le).pipe((0,I.p)(Oe=>!Oe||Ae.indexOf(Oe)>-1))}getAncestorScrollContainers(be){const Le=[];return this.scrollContainers.forEach((Ae,Oe)=>{this._scrollableContainsElement(Oe,be)&&Le.push(Oe)}),Le}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(be,Le){let Ae=(0,n.i8)(Le),Oe=be.getElementRef().nativeElement;do{if(Ae==Oe)return!0}while(Ae=Ae.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const be=this._getWindow();return(0,O.R)(be.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(Le){return new(Le||Me)(a.KVO(a.SKi),a.KVO(L.OD),a.KVO(o.qQ,8))};static#t=this.\u0275prov=a.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})(),x=(()=>{class Me{constructor(be,Le,Ae,Oe){this.elementRef=be,this.scrollDispatcher=Le,this.ngZone=Ae,this.dir=Oe,this._destroyed=new g.B,this._elementScrolled=new T.c(Xe=>this.ngZone.runOutsideAngular(()=>(0,O.R)(this.elementRef.nativeElement,"scroll").pipe((0,b.Q)(this._destroyed)).subscribe(Xe)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(be){const Le=this.elementRef.nativeElement,Ae=this.dir&&"rtl"==this.dir.value;null==be.left&&(be.left=Ae?be.end:be.start),null==be.right&&(be.right=Ae?be.start:be.end),null!=be.bottom&&(be.top=Le.scrollHeight-Le.clientHeight-be.bottom),Ae&&(0,L.BD)()!=L.r5.NORMAL?(null!=be.left&&(be.right=Le.scrollWidth-Le.clientWidth-be.left),(0,L.BD)()==L.r5.INVERTED?be.left=be.right:(0,L.BD)()==L.r5.NEGATED&&(be.left=be.right?-be.right:be.right)):null!=be.right&&(be.left=Le.scrollWidth-Le.clientWidth-be.right),this._applyScrollToOptions(be)}_applyScrollToOptions(be){const Le=this.elementRef.nativeElement;(0,L.CZ)()?Le.scrollTo(be):(null!=be.top&&(Le.scrollTop=be.top),null!=be.left&&(Le.scrollLeft=be.left))}measureScrollOffset(be){const Le="left",Oe=this.elementRef.nativeElement;if("top"==be)return Oe.scrollTop;if("bottom"==be)return Oe.scrollHeight-Oe.clientHeight-Oe.scrollTop;const Xe=this.dir&&"rtl"==this.dir.value;return"start"==be?be=Xe?"right":Le:"end"==be&&(be=Xe?Le:"right"),Xe&&(0,L.BD)()==L.r5.INVERTED?be==Le?Oe.scrollWidth-Oe.clientWidth-Oe.scrollLeft:Oe.scrollLeft:Xe&&(0,L.BD)()==L.r5.NEGATED?be==Le?Oe.scrollLeft+Oe.scrollWidth-Oe.clientWidth:-Oe.scrollLeft:be==Le?Oe.scrollLeft:Oe.scrollWidth-Oe.clientWidth-Oe.scrollLeft}static#e=this.\u0275fac=function(Le){return new(Le||Me)(a.rXU(a.aKT),a.rXU(Y),a.rXU(a.SKi),a.rXU(C.dS,8))};static#t=this.\u0275dir=a.FsC({type:Me,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return Me})(),j=(()=>{class Me{constructor(be,Le,Ae){this._platform=be,this._change=new g.B,this._changeListener=Oe=>{this._change.next(Oe)},this._document=Ae,Le.runOutsideAngular(()=>{if(be.isBrowser){const Oe=this._getWindow();Oe.addEventListener("resize",this._changeListener),Oe.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const be=this._getWindow();be.removeEventListener("resize",this._changeListener),be.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const be={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),be}getViewportRect(){const be=this.getViewportScrollPosition(),{width:Le,height:Ae}=this.getViewportSize();return{top:be.top,left:be.left,bottom:be.top+Ae,right:be.left+Le,height:Ae,width:Le}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const be=this._document,Le=this._getWindow(),Ae=be.documentElement,Oe=Ae.getBoundingClientRect();return{top:-Oe.top||be.body.scrollTop||Le.scrollY||Ae.scrollTop||0,left:-Oe.left||be.body.scrollLeft||Le.scrollX||Ae.scrollLeft||0}}change(be=20){return be>0?this._change.pipe((0,y.Z)(be)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const be=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:be.innerWidth,height:be.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(Le){return new(Le||Me)(a.KVO(L.OD),a.KVO(a.SKi),a.KVO(o.qQ,8))};static#t=this.\u0275prov=a.jDH({token:Me,factory:Me.\u0275fac,providedIn:"root"})}return Me})(),K=(()=>{class Me{static#e=this.\u0275fac=function(Le){return new(Le||Me)};static#t=this.\u0275mod=a.$C({type:Me});static#n=this.\u0275inj=a.G2t({})}return Me})(),de=(()=>{class Me{static#e=this.\u0275fac=function(Le){return new(Le||Me)};static#t=this.\u0275mod=a.$C({type:Me});static#n=this.\u0275inj=a.G2t({imports:[C.jI,K,C.jI,K]})}return Me})()},60177:(at,N,s)=>{"use strict";s.d(N,{AJ:()=>Ol,B3:()=>js,GH:()=>Ea,Jj:()=>zr,MD:()=>cl,N0:()=>ma,P9:()=>K1,PV:()=>A0,Pc:()=>oa,QT:()=>m,QX:()=>Hr,Sm:()=>q,Sq:()=>Rt,T3:()=>es,TG:()=>za,UE:()=>Jr,VF:()=>O,Vy:()=>p0,XO:()=>ae,Xr:()=>Ta,YU:()=>Cn,Yq:()=>In,ZD:()=>T,ZV:()=>Qn,_b:()=>mi,aZ:()=>F,bT:()=>fe,cH:()=>ie,e1:()=>Oi,fG:()=>Ci,fw:()=>z,hb:()=>w,hj:()=>I,jo:()=>Ks,kB:()=>M,kt:()=>ss,lG:()=>Yn,oV:()=>H,pM:()=>Rt,qQ:()=>E,tL:()=>K,ux:()=>Jn,vh:()=>Ei,xv:()=>Tr,yo:()=>Me}),s(10467);var a=s(93953);let g=null;function m(){return g}function T(bt){g??=bt}class O{}const E=new a.nKC("");let y=(()=>{class bt{historyGo(kt){throw new Error("")}static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275prov=a.jDH({token:bt,factory:()=>(0,a.WQX)(b),providedIn:"platform"})}return bt})();const I=new a.nKC("");let b=(()=>{class bt extends y{constructor(){super(),this._doc=(0,a.WQX)(E),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return m().getBaseHref(this._doc)}onPopState(kt){const dn=m().getGlobalEventTarget(this._doc,"window");return dn.addEventListener("popstate",kt,!1),()=>dn.removeEventListener("popstate",kt)}onHashChange(kt){const dn=m().getGlobalEventTarget(this._doc,"window");return dn.addEventListener("hashchange",kt,!1),()=>dn.removeEventListener("hashchange",kt)}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(kt){this._location.pathname=kt}pushState(kt,dn,si){this._history.pushState(kt,dn,si)}replaceState(kt,dn,si){this._history.replaceState(kt,dn,si)}forward(){this._history.forward()}back(){this._history.back()}historyGo(kt=0){this._history.go(kt)}getState(){return this._history.state}static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275prov=a.jDH({token:bt,factory:()=>new bt,providedIn:"platform"})}return bt})();function L(bt,Ln){if(0==bt.length)return Ln;if(0==Ln.length)return bt;let kt=0;return bt.endsWith("/")&&kt++,Ln.startsWith("/")&&kt++,2==kt?bt+Ln.substring(1):1==kt?bt+Ln:bt+"/"+Ln}function o(bt){const Ln=bt.match(/#|\?|$/),kt=Ln&&Ln.index||bt.length;return bt.slice(0,kt-("/"===bt[kt-1]?1:0))+bt.slice(kt)}function C(bt){return bt&&"?"!==bt[0]?"?"+bt:bt}let w=(()=>{class bt{historyGo(kt){throw new Error("")}static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275prov=a.jDH({token:bt,factory:()=>(0,a.WQX)(q),providedIn:"root"})}return bt})();const M=new a.nKC("");let q=(()=>{class bt extends w{constructor(kt,dn){super(),this._platformLocation=kt,this._removeListenerFns=[],this._baseHref=dn??this._platformLocation.getBaseHrefFromDOM()??(0,a.WQX)(E).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(kt){this._removeListenerFns.push(this._platformLocation.onPopState(kt),this._platformLocation.onHashChange(kt))}getBaseHref(){return this._baseHref}prepareExternalUrl(kt){return L(this._baseHref,kt)}path(kt=!1){const dn=this._platformLocation.pathname+C(this._platformLocation.search),si=this._platformLocation.hash;return si&&kt?`${dn}${si}`:dn}pushState(kt,dn,si,is){const bs=this.prepareExternalUrl(si+C(is));this._platformLocation.pushState(kt,dn,bs)}replaceState(kt,dn,si,is){const bs=this.prepareExternalUrl(si+C(is));this._platformLocation.replaceState(kt,dn,bs)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(kt=0){this._platformLocation.historyGo?.(kt)}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.KVO(y),a.KVO(M,8))};static#t=this.\u0275prov=a.jDH({token:bt,factory:bt.\u0275fac,providedIn:"root"})}return bt})(),z=(()=>{class bt extends w{constructor(kt,dn){super(),this._platformLocation=kt,this._baseHref="",this._removeListenerFns=[],null!=dn&&(this._baseHref=dn)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(kt){this._removeListenerFns.push(this._platformLocation.onPopState(kt),this._platformLocation.onHashChange(kt))}getBaseHref(){return this._baseHref}path(kt=!1){const dn=this._platformLocation.hash??"#";return dn.length>0?dn.substring(1):dn}prepareExternalUrl(kt){const dn=L(this._baseHref,kt);return dn.length>0?"#"+dn:dn}pushState(kt,dn,si,is){let bs=this.prepareExternalUrl(si+C(is));0==bs.length&&(bs=this._platformLocation.pathname),this._platformLocation.pushState(kt,dn,bs)}replaceState(kt,dn,si,is){let bs=this.prepareExternalUrl(si+C(is));0==bs.length&&(bs=this._platformLocation.pathname),this._platformLocation.replaceState(kt,dn,bs)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(kt=0){this._platformLocation.historyGo?.(kt)}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.KVO(y),a.KVO(M,8))};static#t=this.\u0275prov=a.jDH({token:bt,factory:bt.\u0275fac})}return bt})(),F=(()=>{class bt{constructor(kt){this._subject=new a.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=kt;const dn=this._locationStrategy.getBaseHref();this._basePath=function x(bt){if(new RegExp("^(https?:)?//").test(bt)){const[,kt]=bt.split(/\/\/[^\/]+/);return kt}return bt}(o(Y(dn))),this._locationStrategy.onPopState(si=>{this._subject.emit({url:this.path(!0),pop:!0,state:si.state,type:si.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(kt=!1){return this.normalize(this._locationStrategy.path(kt))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(kt,dn=""){return this.path()==this.normalize(kt+C(dn))}normalize(kt){return bt.stripTrailingSlash(function k(bt,Ln){if(!bt||!Ln.startsWith(bt))return Ln;const kt=Ln.substring(bt.length);return""===kt||["/",";","?","#"].includes(kt[0])?kt:Ln}(this._basePath,Y(kt)))}prepareExternalUrl(kt){return kt&&"/"!==kt[0]&&(kt="/"+kt),this._locationStrategy.prepareExternalUrl(kt)}go(kt,dn="",si=null){this._locationStrategy.pushState(si,"",kt,dn),this._notifyUrlChangeListeners(this.prepareExternalUrl(kt+C(dn)),si)}replaceState(kt,dn="",si=null){this._locationStrategy.replaceState(si,"",kt,dn),this._notifyUrlChangeListeners(this.prepareExternalUrl(kt+C(dn)),si)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(kt=0){this._locationStrategy.historyGo?.(kt)}onUrlChange(kt){return this._urlChangeListeners.push(kt),this._urlChangeSubscription??=this.subscribe(dn=>{this._notifyUrlChangeListeners(dn.url,dn.state)}),()=>{const dn=this._urlChangeListeners.indexOf(kt);this._urlChangeListeners.splice(dn,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(kt="",dn){this._urlChangeListeners.forEach(si=>si(kt,dn))}subscribe(kt,dn,si){return this._subject.subscribe({next:kt,error:dn,complete:si})}static#e=this.normalizeQueryParams=C;static#t=this.joinWithSlash=L;static#n=this.stripTrailingSlash=o;static#i=this.\u0275fac=function(dn){return new(dn||bt)(a.KVO(w))};static#s=this.\u0275prov=a.jDH({token:bt,factory:()=>function U(){return new F((0,a.KVO)(w))}(),providedIn:"root"})}return bt})();function Y(bt){return bt.replace(/\/index.html$/,"")}var j=function(bt){return bt[bt.Decimal=0]="Decimal",bt[bt.Percent=1]="Percent",bt[bt.Currency=2]="Currency",bt[bt.Scientific=3]="Scientific",bt}(j||{}),$=function(bt){return bt[bt.Zero=0]="Zero",bt[bt.One=1]="One",bt[bt.Two=2]="Two",bt[bt.Few=3]="Few",bt[bt.Many=4]="Many",bt[bt.Other=5]="Other",bt}($||{}),H=function(bt){return bt[bt.Format=0]="Format",bt[bt.Standalone=1]="Standalone",bt}(H||{}),ie=function(bt){return bt[bt.Narrow=0]="Narrow",bt[bt.Abbreviated=1]="Abbreviated",bt[bt.Wide=2]="Wide",bt[bt.Short=3]="Short",bt}(ie||{}),ne=function(bt){return bt[bt.Short=0]="Short",bt[bt.Medium=1]="Medium",bt[bt.Long=2]="Long",bt[bt.Full=3]="Full",bt}(ne||{});const Q={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function ae(bt,Ln,kt){const dn=(0,a.H5H)(bt),is=gt([dn[a.KH2.DaysFormat],dn[a.KH2.DaysStandalone]],Ln);return gt(is,kt)}function K(bt,Ln,kt){const dn=(0,a.H5H)(bt),is=gt([dn[a.KH2.MonthsFormat],dn[a.KH2.MonthsStandalone]],Ln);return gt(is,kt)}function Me(bt){return(0,a.H5H)(bt)[a.KH2.FirstDayOfWeek]}function be(bt,Ln){return gt((0,a.H5H)(bt)[a.KH2.DateFormat],Ln)}function Le(bt,Ln){return gt((0,a.H5H)(bt)[a.KH2.TimeFormat],Ln)}function Ae(bt,Ln){return gt((0,a.H5H)(bt)[a.KH2.DateTimeFormat],Ln)}function Oe(bt,Ln){const kt=(0,a.H5H)(bt),dn=kt[a.KH2.NumberSymbols][Ln];if(typeof dn>"u"){if(Ln===Q.CurrencyDecimal)return kt[a.KH2.NumberSymbols][Q.Decimal];if(Ln===Q.CurrencyGroup)return kt[a.KH2.NumberSymbols][Q.Group]}return dn}const Ye=a.mq5;function Ct(bt){if(!bt[a.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${bt[a.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function gt(bt,Ln){for(let kt=Ln;kt>-1;kt--)if(typeof bt[kt]<"u")return bt[kt];throw new Error("Locale data API: locale data undefined")}function Ge(bt){const[Ln,kt]=bt.split(":");return{hours:+Ln,minutes:+kt}}const Je=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qe={},rt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ft=function(bt){return bt[bt.Short=0]="Short",bt[bt.ShortGMT=1]="ShortGMT",bt[bt.Long=2]="Long",bt[bt.Extended=3]="Extended",bt}(ft||{}),Xt=function(bt){return bt[bt.FullYear=0]="FullYear",bt[bt.Month=1]="Month",bt[bt.Date=2]="Date",bt[bt.Hours=3]="Hours",bt[bt.Minutes=4]="Minutes",bt[bt.Seconds=5]="Seconds",bt[bt.FractionalSeconds=6]="FractionalSeconds",bt[bt.Day=7]="Day",bt}(Xt||{}),It=function(bt){return bt[bt.DayPeriods=0]="DayPeriods",bt[bt.Days=1]="Days",bt[bt.Months=2]="Months",bt[bt.Eras=3]="Eras",bt}(It||{});function In(bt,Ln,kt,dn){let si=function ln(bt){if(Ai(bt))return bt;if("number"==typeof bt&&!isNaN(bt))return new Date(bt);if("string"==typeof bt){if(bt=bt.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(bt)){const[si,is=1,bs=1]=bt.split("-").map(Xs=>+Xs);return Kt(si,is-1,bs)}const kt=parseFloat(bt);if(!isNaN(bt-kt))return new Date(kt);let dn;if(dn=bt.match(Je))return function Dn(bt){const Ln=new Date(0);let kt=0,dn=0;const si=bt[8]?Ln.setUTCFullYear:Ln.setFullYear,is=bt[8]?Ln.setUTCHours:Ln.setHours;bt[9]&&(kt=Number(bt[9]+bt[10]),dn=Number(bt[9]+bt[11])),si.call(Ln,Number(bt[1]),Number(bt[2])-1,Number(bt[3]));const bs=Number(bt[4]||0)-kt,Xs=Number(bt[5]||0)-dn,jr=Number(bt[6]||0),Mr=Math.floor(1e3*parseFloat("0."+(bt[7]||0)));return is.call(Ln,bs,Xs,jr,Mr),Ln}(dn)}const Ln=new Date(bt);if(!Ai(Ln))throw new Error(`Unable to convert "${bt}" into a date`);return Ln}(bt);Ln=Ze(kt,Ln)||Ln;let Xs,bs=[];for(;Ln;){if(Xs=rt.exec(Ln),!Xs){bs.push(Ln);break}{bs=bs.concat(Xs.slice(1));const Ma=bs.pop();if(!Ma)break;Ln=Ma}}let jr=si.getTimezoneOffset();dn&&(jr=Xn(dn,jr),si=function En(bt,Ln,kt){const dn=kt?-1:1,si=bt.getTimezoneOffset();return function Ii(bt,Ln){return(bt=new Date(bt.getTime())).setMinutes(bt.getMinutes()+Ln),bt}(bt,dn*(Xn(Ln,si)-si))}(si,dn,!0));let Mr="";return bs.forEach(Ma=>{const Rs=function _n(bt){if(Un[bt])return Un[bt];let Ln;switch(bt){case"G":case"GG":case"GGG":Ln=Li(It.Eras,ie.Abbreviated);break;case"GGGG":Ln=Li(It.Eras,ie.Wide);break;case"GGGGG":Ln=Li(It.Eras,ie.Narrow);break;case"y":Ln=jn(Xt.FullYear,1,0,!1,!0);break;case"yy":Ln=jn(Xt.FullYear,2,0,!0,!0);break;case"yyy":Ln=jn(Xt.FullYear,3,0,!1,!0);break;case"yyyy":Ln=jn(Xt.FullYear,4,0,!1,!0);break;case"Y":Ln=Ue(1);break;case"YY":Ln=Ue(2,!0);break;case"YYY":Ln=Ue(3);break;case"YYYY":Ln=Ue(4);break;case"M":case"L":Ln=jn(Xt.Month,1,1);break;case"MM":case"LL":Ln=jn(Xt.Month,2,1);break;case"MMM":Ln=Li(It.Months,ie.Abbreviated);break;case"MMMM":Ln=Li(It.Months,ie.Wide);break;case"MMMMM":Ln=Li(It.Months,ie.Narrow);break;case"LLL":Ln=Li(It.Months,ie.Abbreviated,H.Standalone);break;case"LLLL":Ln=Li(It.Months,ie.Wide,H.Standalone);break;case"LLLLL":Ln=Li(It.Months,ie.Narrow,H.Standalone);break;case"w":Ln=ci(1);break;case"ww":Ln=ci(2);break;case"W":Ln=ci(1,!0);break;case"d":Ln=jn(Xt.Date,1);break;case"dd":Ln=jn(Xt.Date,2);break;case"c":case"cc":Ln=jn(Xt.Day,1);break;case"ccc":Ln=Li(It.Days,ie.Abbreviated,H.Standalone);break;case"cccc":Ln=Li(It.Days,ie.Wide,H.Standalone);break;case"ccccc":Ln=Li(It.Days,ie.Narrow,H.Standalone);break;case"cccccc":Ln=Li(It.Days,ie.Short,H.Standalone);break;case"E":case"EE":case"EEE":Ln=Li(It.Days,ie.Abbreviated);break;case"EEEE":Ln=Li(It.Days,ie.Wide);break;case"EEEEE":Ln=Li(It.Days,ie.Narrow);break;case"EEEEEE":Ln=Li(It.Days,ie.Short);break;case"a":case"aa":case"aaa":Ln=Li(It.DayPeriods,ie.Abbreviated);break;case"aaaa":Ln=Li(It.DayPeriods,ie.Wide);break;case"aaaaa":Ln=Li(It.DayPeriods,ie.Narrow);break;case"b":case"bb":case"bbb":Ln=Li(It.DayPeriods,ie.Abbreviated,H.Standalone,!0);break;case"bbbb":Ln=Li(It.DayPeriods,ie.Wide,H.Standalone,!0);break;case"bbbbb":Ln=Li(It.DayPeriods,ie.Narrow,H.Standalone,!0);break;case"B":case"BB":case"BBB":Ln=Li(It.DayPeriods,ie.Abbreviated,H.Format,!0);break;case"BBBB":Ln=Li(It.DayPeriods,ie.Wide,H.Format,!0);break;case"BBBBB":Ln=Li(It.DayPeriods,ie.Narrow,H.Format,!0);break;case"h":Ln=jn(Xt.Hours,1,-12);break;case"hh":Ln=jn(Xt.Hours,2,-12);break;case"H":Ln=jn(Xt.Hours,1);break;case"HH":Ln=jn(Xt.Hours,2);break;case"m":Ln=jn(Xt.Minutes,1);break;case"mm":Ln=jn(Xt.Minutes,2);break;case"s":Ln=jn(Xt.Seconds,1);break;case"ss":Ln=jn(Xt.Seconds,2);break;case"S":Ln=jn(Xt.FractionalSeconds,1);break;case"SS":Ln=jn(Xt.FractionalSeconds,2);break;case"SSS":Ln=jn(Xt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ln=Rn(ft.Short);break;case"ZZZZZ":Ln=Rn(ft.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ln=Rn(ft.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ln=Rn(ft.Long);break;default:return null}return Un[bt]=Ln,Ln}(Ma);Mr+=Rs?Rs(si,kt,jr):"''"===Ma?"'":Ma.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Mr}function Kt(bt,Ln,kt){const dn=new Date(0);return dn.setFullYear(bt,Ln,kt),dn.setHours(0,0,0),dn}function Ze(bt,Ln){const kt=function pe(bt){return(0,a.H5H)(bt)[a.KH2.LocaleId]}(bt);if(Qe[kt]??={},Qe[kt][Ln])return Qe[kt][Ln];let dn="";switch(Ln){case"shortDate":dn=be(bt,ne.Short);break;case"mediumDate":dn=be(bt,ne.Medium);break;case"longDate":dn=be(bt,ne.Long);break;case"fullDate":dn=be(bt,ne.Full);break;case"shortTime":dn=Le(bt,ne.Short);break;case"mediumTime":dn=Le(bt,ne.Medium);break;case"longTime":dn=Le(bt,ne.Long);break;case"fullTime":dn=Le(bt,ne.Full);break;case"short":const si=Ze(bt,"shortTime"),is=Ze(bt,"shortDate");dn=wn(Ae(bt,ne.Short),[si,is]);break;case"medium":const bs=Ze(bt,"mediumTime"),Xs=Ze(bt,"mediumDate");dn=wn(Ae(bt,ne.Medium),[bs,Xs]);break;case"long":const jr=Ze(bt,"longTime"),Mr=Ze(bt,"longDate");dn=wn(Ae(bt,ne.Long),[jr,Mr]);break;case"full":const Ma=Ze(bt,"fullTime"),Rs=Ze(bt,"fullDate");dn=wn(Ae(bt,ne.Full),[Ma,Rs])}return dn&&(Qe[kt][Ln]=dn),dn}function wn(bt,Ln){return Ln&&(bt=bt.replace(/\{([^}]+)}/g,function(kt,dn){return null!=Ln&&dn in Ln?Ln[dn]:kt})),bt}function zn(bt,Ln,kt="-",dn,si){let is="";(bt<0||si&&bt<=0)&&(si?bt=1-bt:(bt=-bt,is=kt));let bs=String(bt);for(;bs.length<Ln;)bs="0"+bs;return dn&&(bs=bs.slice(bs.length-Ln)),is+bs}function jn(bt,Ln,kt=0,dn=!1,si=!1){return function(is,bs){let Xs=function Di(bt,Ln){switch(bt){case Xt.FullYear:return Ln.getFullYear();case Xt.Month:return Ln.getMonth();case Xt.Date:return Ln.getDate();case Xt.Hours:return Ln.getHours();case Xt.Minutes:return Ln.getMinutes();case Xt.Seconds:return Ln.getSeconds();case Xt.FractionalSeconds:return Ln.getMilliseconds();case Xt.Day:return Ln.getDay();default:throw new Error(`Unknown DateType value "${bt}".`)}}(bt,is);if((kt>0||Xs>-kt)&&(Xs+=kt),bt===Xt.Hours)0===Xs&&-12===kt&&(Xs=12);else if(bt===Xt.FractionalSeconds)return function di(bt,Ln){return zn(bt,3).substring(0,Ln)}(Xs,Ln);const jr=Oe(bs,Q.MinusSign);return zn(Xs,Ln,jr,dn,si)}}function Li(bt,Ln,kt=H.Format,dn=!1){return function(si,is){return function ms(bt,Ln,kt,dn,si,is){switch(kt){case It.Months:return K(Ln,si,dn)[bt.getMonth()];case It.Days:return ae(Ln,si,dn)[bt.getDay()];case It.DayPeriods:const bs=bt.getHours(),Xs=bt.getMinutes();if(is){const Mr=function Lt(bt){const Ln=(0,a.H5H)(bt);return Ct(Ln),(Ln[a.KH2.ExtraData][2]||[]).map(dn=>"string"==typeof dn?Ge(dn):[Ge(dn[0]),Ge(dn[1])])}(Ln),Ma=function Vt(bt,Ln,kt){const dn=(0,a.H5H)(bt);Ct(dn);const is=gt([dn[a.KH2.ExtraData][0],dn[a.KH2.ExtraData][1]],Ln)||[];return gt(is,kt)||[]}(Ln,si,dn),Rs=Mr.findIndex(fr=>{if(Array.isArray(fr)){const[Fo,Va]=fr,E0=bs>=Fo.hours&&Xs>=Fo.minutes,k1=bs<Va.hours||bs===Va.hours&&Xs<Va.minutes;if(Fo.hours<Va.hours){if(E0&&k1)return!0}else if(E0||k1)return!0}else if(fr.hours===bs&&fr.minutes===Xs)return!0;return!1});if(-1!==Rs)return Ma[Rs]}return function te(bt,Ln,kt){const dn=(0,a.H5H)(bt),is=gt([dn[a.KH2.DayPeriodsFormat],dn[a.KH2.DayPeriodsStandalone]],Ln);return gt(is,kt)}(Ln,si,dn)[bs<12?0:1];case It.Eras:return function de(bt,Ln){return gt((0,a.H5H)(bt)[a.KH2.Eras],Ln)}(Ln,dn)[bt.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${kt}`)}}(si,is,bt,Ln,kt,dn)}}function Rn(bt){return function(Ln,kt,dn){const si=-1*dn,is=Oe(kt,Q.MinusSign),bs=si>0?Math.floor(si/60):Math.ceil(si/60);switch(bt){case ft.Short:return(si>=0?"+":"")+zn(bs,2,is)+zn(Math.abs(si%60),2,is);case ft.ShortGMT:return"GMT"+(si>=0?"+":"")+zn(bs,1,is);case ft.Long:return"GMT"+(si>=0?"+":"")+zn(bs,2,is)+":"+zn(Math.abs(si%60),2,is);case ft.Extended:return 0===dn?"Z":(si>=0?"+":"")+zn(bs,2,is)+":"+zn(Math.abs(si%60),2,is);default:throw new Error(`Unknown zone width "${bt}"`)}}}const Qt=0,Wt=4;function Mn(bt){const Ln=bt.getDay(),kt=0===Ln?-3:Wt-Ln;return Kt(bt.getFullYear(),bt.getMonth(),bt.getDate()+kt)}function ci(bt,Ln=!1){return function(kt,dn){let si;if(Ln){const is=new Date(kt.getFullYear(),kt.getMonth(),1).getDay()-1,bs=kt.getDate();si=1+Math.floor((bs+is)/7)}else{const is=Mn(kt),bs=function Yt(bt){const Ln=Kt(bt,Qt,1).getDay();return Kt(bt,0,1+(Ln<=Wt?Wt:Wt+7)-Ln)}(is.getFullYear()),Xs=is.getTime()-bs.getTime();si=1+Math.round(Xs/6048e5)}return zn(si,bt,Oe(dn,Q.MinusSign))}}function Ue(bt,Ln=!1){return function(kt,dn){return zn(Mn(kt).getFullYear(),bt,Oe(dn,Q.MinusSign),Ln)}}const Un={};function Xn(bt,Ln){bt=bt.replace(/:/g,"");const kt=Date.parse("Jan 01, 1970 00:00:00 "+bt)/6e4;return isNaN(kt)?Ln:kt}function Ai(bt){return bt instanceof Date&&!isNaN(bt.valueOf())}const os=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Fs=22,sn=".",oi="0",pt=";",cn=",",Tn="#";function Qn(bt,Ln,kt){return function $i(bt,Ln,kt,dn,si,is,bs=!1){let Xs="",jr=!1;if(isFinite(bt)){let Mr=function Fi(bt){let dn,si,is,bs,Xs,Ln=Math.abs(bt)+"",kt=0;for((si=Ln.indexOf(sn))>-1&&(Ln=Ln.replace(sn,"")),(is=Ln.search(/e/i))>0?(si<0&&(si=is),si+=+Ln.slice(is+1),Ln=Ln.substring(0,is)):si<0&&(si=Ln.length),is=0;Ln.charAt(is)===oi;is++);if(is===(Xs=Ln.length))dn=[0],si=1;else{for(Xs--;Ln.charAt(Xs)===oi;)Xs--;for(si-=is,dn=[],bs=0;is<=Xs;is++,bs++)dn[bs]=Number(Ln.charAt(is))}return si>Fs&&(dn=dn.splice(0,Fs-1),kt=si-1,si=1),{digits:dn,exponent:kt,integerLen:si}}(bt);bs&&(Mr=function li(bt){if(0===bt.digits[0])return bt;const Ln=bt.digits.length-bt.integerLen;return bt.exponent?bt.exponent+=2:(0===Ln?bt.digits.push(0,0):1===Ln&&bt.digits.push(0),bt.integerLen+=2),bt}(Mr));let Ma=Ln.minInt,Rs=Ln.minFrac,fr=Ln.maxFrac;if(is){const ta=is.match(os);if(null===ta)throw new Error(`${is} is not a valid digit info`);const Ja=ta[1],ir=ta[3],la=ta[5];null!=Ja&&(Ma=Hi(Ja)),null!=ir&&(Rs=Hi(ir)),null!=la?fr=Hi(la):null!=ir&&Rs>fr&&(fr=Rs)}!function ei(bt,Ln,kt){if(Ln>kt)throw new Error(`The minimum number of digits after fraction (${Ln}) is higher than the maximum (${kt}).`);let dn=bt.digits,si=dn.length-bt.integerLen;const is=Math.min(Math.max(Ln,si),kt);let bs=is+bt.integerLen,Xs=dn[bs];if(bs>0){dn.splice(Math.max(bt.integerLen,bs));for(let Rs=bs;Rs<dn.length;Rs++)dn[Rs]=0}else{si=Math.max(0,si),bt.integerLen=1,dn.length=Math.max(1,bs=is+1),dn[0]=0;for(let Rs=1;Rs<bs;Rs++)dn[Rs]=0}if(Xs>=5)if(bs-1<0){for(let Rs=0;Rs>bs;Rs--)dn.unshift(0),bt.integerLen++;dn.unshift(1),bt.integerLen++}else dn[bs-1]++;for(;si<Math.max(0,is);si++)dn.push(0);let jr=0!==is;const Mr=Ln+bt.integerLen,Ma=dn.reduceRight(function(Rs,fr,Fo,Va){return Va[Fo]=(fr+=Rs)<10?fr:fr-10,jr&&(0===Va[Fo]&&Fo>=Mr?Va.pop():jr=!1),fr>=10?1:0},0);Ma&&(dn.unshift(Ma),bt.integerLen++)}(Mr,Rs,fr);let Fo=Mr.digits,Va=Mr.integerLen;const E0=Mr.exponent;let k1=[];for(jr=Fo.every(ta=>!ta);Va<Ma;Va++)Fo.unshift(0);for(;Va<0;Va++)Fo.unshift(0);Va>0?k1=Fo.splice(Va,Fo.length):(k1=Fo,Fo=[0]);const n1=[];for(Fo.length>=Ln.lgSize&&n1.unshift(Fo.splice(-Ln.lgSize,Fo.length).join(""));Fo.length>Ln.gSize;)n1.unshift(Fo.splice(-Ln.gSize,Fo.length).join(""));Fo.length&&n1.unshift(Fo.join("")),Xs=n1.join(Oe(kt,dn)),k1.length&&(Xs+=Oe(kt,si)+k1.join("")),E0&&(Xs+=Oe(kt,Q.Exponential)+"+"+E0)}else Xs=Oe(kt,Q.Infinity);return Xs=bt<0&&!jr?Ln.negPre+Xs+Ln.negSuf:Ln.posPre+Xs+Ln.posSuf,Xs}(bt,function ri(bt,Ln="-"){const kt={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},dn=bt.split(pt),si=dn[0],is=dn[1],bs=-1!==si.indexOf(sn)?si.split(sn):[si.substring(0,si.lastIndexOf(oi)+1),si.substring(si.lastIndexOf(oi)+1)],Xs=bs[0],jr=bs[1]||"";kt.posPre=Xs.substring(0,Xs.indexOf(Tn));for(let Ma=0;Ma<jr.length;Ma++){const Rs=jr.charAt(Ma);Rs===oi?kt.minFrac=kt.maxFrac=Ma+1:Rs===Tn?kt.maxFrac=Ma+1:kt.posSuf+=Rs}const Mr=Xs.split(cn);if(kt.gSize=Mr[1]?Mr[1].length:0,kt.lgSize=Mr[2]||Mr[1]?(Mr[2]||Mr[1]).length:0,is){const Ma=si.length-kt.posPre.length-kt.posSuf.length,Rs=is.indexOf(Tn);kt.negPre=is.substring(0,Rs).replace(/'/g,""),kt.negSuf=is.slice(Rs+Ma).replace(/'/g,"")}else kt.negPre=Ln+kt.posPre,kt.negSuf=kt.posSuf;return kt}(function Xe(bt,Ln){return(0,a.H5H)(bt)[a.KH2.NumberFormats][Ln]}(Ln,j.Decimal),Oe(Ln,Q.MinusSign)),Ln,Q.Group,Q.Decimal,kt)}function Hi(bt){const Ln=parseInt(bt);if(isNaN(Ln))throw new Error("Invalid integer literal when parsing "+bt);return Ln}let gn=(()=>{class bt{static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275prov=a.jDH({token:bt,factory:function(dn){let si=null;return dn?si=new dn:(is=a.KVO(a.xe9),si=new hn(is)),si;var is},providedIn:"root"})}return bt})();let hn=(()=>{class bt extends gn{constructor(kt){super(),this.locale=kt}getPluralCategory(kt,dn){switch(Ye(dn||this.locale)(kt)){case $.Zero:return"zero";case $.One:return"one";case $.Two:return"two";case $.Few:return"few";case $.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.KVO(a.xe9))};static#t=this.\u0275prov=a.jDH({token:bt,factory:bt.\u0275fac})}return bt})();function mi(bt,Ln){Ln=encodeURIComponent(Ln);for(const kt of bt.split(";")){const dn=kt.indexOf("="),[si,is]=-1==dn?[kt,""]:[kt.slice(0,dn),kt.slice(dn+1)];if(si.trim()===Ln)return decodeURIComponent(is)}return null}const wi=/\s+/,Si=[];let Cn=(()=>{class bt{constructor(kt,dn){this._ngEl=kt,this._renderer=dn,this.initialClasses=Si,this.stateMap=new Map}set klass(kt){this.initialClasses=null!=kt?kt.trim().split(wi):Si}set ngClass(kt){this.rawClass="string"==typeof kt?kt.trim().split(wi):kt}ngDoCheck(){for(const dn of this.initialClasses)this._updateState(dn,!0);const kt=this.rawClass;if(Array.isArray(kt)||kt instanceof Set)for(const dn of kt)this._updateState(dn,!0);else if(null!=kt)for(const dn of Object.keys(kt))this._updateState(dn,!!kt[dn]);this._applyStateDiff()}_updateState(kt,dn){const si=this.stateMap.get(kt);void 0!==si?(si.enabled!==dn&&(si.changed=!0,si.enabled=dn),si.touched=!0):this.stateMap.set(kt,{enabled:dn,changed:!0,touched:!0})}_applyStateDiff(){for(const kt of this.stateMap){const dn=kt[0],si=kt[1];si.changed?(this._toggleClass(dn,si.enabled),si.changed=!1):si.touched||(si.enabled&&this._toggleClass(dn,!1),this.stateMap.delete(dn)),si.touched=!1}}_toggleClass(kt,dn){(kt=kt.trim()).length>0&&kt.split(wi).forEach(si=>{dn?this._renderer.addClass(this._ngEl.nativeElement,si):this._renderer.removeClass(this._ngEl.nativeElement,si)})}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.rXU(a.aKT),a.rXU(a.sFG))};static#t=this.\u0275dir=a.FsC({type:bt,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return bt})();class Bt{constructor(Ln,kt,dn,si){this.$implicit=Ln,this.ngForOf=kt,this.index=dn,this.count=si}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 Rt=(()=>{class bt{set ngForOf(kt){this._ngForOf=kt,this._ngForOfDirty=!0}set ngForTrackBy(kt){this._trackByFn=kt}get ngForTrackBy(){return this._trackByFn}constructor(kt,dn,si){this._viewContainer=kt,this._template=dn,this._differs=si,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(kt){kt&&(this._template=kt)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const kt=this._ngForOf;!this._differ&&kt&&(this._differ=this._differs.find(kt).create(this.ngForTrackBy))}if(this._differ){const kt=this._differ.diff(this._ngForOf);kt&&this._applyChanges(kt)}}_applyChanges(kt){const dn=this._viewContainer;kt.forEachOperation((si,is,bs)=>{if(null==si.previousIndex)dn.createEmbeddedView(this._template,new Bt(si.item,this._ngForOf,-1,-1),null===bs?void 0:bs);else if(null==bs)dn.remove(null===is?void 0:is);else if(null!==is){const Xs=dn.get(is);dn.move(Xs,bs),Jt(Xs,si)}});for(let si=0,is=dn.length;si<is;si++){const Xs=dn.get(si).context;Xs.index=si,Xs.count=is,Xs.ngForOf=this._ngForOf}kt.forEachIdentityChange(si=>{Jt(dn.get(si.currentIndex),si)})}static ngTemplateContextGuard(kt,dn){return!0}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.rXU(a.c1b),a.rXU(a.C4Q),a.rXU(a._q3))};static#t=this.\u0275dir=a.FsC({type:bt,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return bt})();function Jt(bt,Ln){bt.context.$implicit=Ln.item}let fe=(()=>{class bt{constructor(kt,dn){this._viewContainer=kt,this._context=new nt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=dn}set ngIf(kt){this._context.$implicit=this._context.ngIf=kt,this._updateView()}set ngIfThen(kt){Ot("ngIfThen",kt),this._thenTemplateRef=kt,this._thenViewRef=null,this._updateView()}set ngIfElse(kt){Ot("ngIfElse",kt),this._elseTemplateRef=kt,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(kt,dn){return!0}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.rXU(a.c1b),a.rXU(a.C4Q))};static#t=this.\u0275dir=a.FsC({type:bt,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return bt})();class nt{constructor(){this.$implicit=null,this.ngIf=null}}function Ot(bt,Ln){if(Ln&&!Ln.createEmbeddedView)throw new Error(`${bt} must be a TemplateRef, but received '${(0,a.Tbb)(Ln)}'.`)}class rn{constructor(Ln,kt){this._viewContainerRef=Ln,this._templateRef=kt,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ln){Ln&&!this._created?this.create():!Ln&&this._created&&this.destroy()}}let Jn=(()=>{class bt{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(kt){this._ngSwitch=kt,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(kt){this._defaultViews.push(kt)}_matchCase(kt){const dn=kt===this._ngSwitch;return this._lastCasesMatched||=dn,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),dn}_updateDefaultCases(kt){if(this._defaultViews.length>0&&kt!==this._defaultUsed){this._defaultUsed=kt;for(const dn of this._defaultViews)dn.enforceState(kt)}}static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275dir=a.FsC({type:bt,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return bt})(),Oi=(()=>{class bt{constructor(kt,dn,si){this.ngSwitch=si,si._addCase(),this._view=new rn(kt,dn)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.rXU(a.c1b),a.rXU(a.C4Q),a.rXU(Jn,9))};static#t=this.\u0275dir=a.FsC({type:bt,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return bt})(),Ci=(()=>{class bt{constructor(kt,dn,si){si._addDefault(new rn(kt,dn))}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.rXU(a.c1b),a.rXU(a.C4Q),a.rXU(Jn,9))};static#t=this.\u0275dir=a.FsC({type:bt,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return bt})(),js=(()=>{class bt{constructor(kt,dn,si){this._ngEl=kt,this._differs=dn,this._renderer=si,this._ngStyle=null,this._differ=null}set ngStyle(kt){this._ngStyle=kt,!this._differ&&kt&&(this._differ=this._differs.find(kt).create())}ngDoCheck(){if(this._differ){const kt=this._differ.diff(this._ngStyle);kt&&this._applyChanges(kt)}}_setStyle(kt,dn){const[si,is]=kt.split("."),bs=-1===si.indexOf("-")?void 0:a.czy.DashCase;null!=dn?this._renderer.setStyle(this._ngEl.nativeElement,si,is?`${dn}${is}`:dn,bs):this._renderer.removeStyle(this._ngEl.nativeElement,si,bs)}_applyChanges(kt){kt.forEachRemovedItem(dn=>this._setStyle(dn.key,null)),kt.forEachAddedItem(dn=>this._setStyle(dn.key,dn.currentValue)),kt.forEachChangedItem(dn=>this._setStyle(dn.key,dn.currentValue))}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.rXU(a.aKT),a.rXU(a.MKu),a.rXU(a.sFG))};static#t=this.\u0275dir=a.FsC({type:bt,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return bt})(),es=(()=>{class bt{constructor(kt){this._viewContainerRef=kt,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(kt){if(this._shouldRecreateView(kt)){const dn=this._viewContainerRef;if(this._viewRef&&dn.remove(dn.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const si=this._createContextForwardProxy();this._viewRef=dn.createEmbeddedView(this.ngTemplateOutlet,si,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(kt){return!!kt.ngTemplateOutlet||!!kt.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(kt,dn,si)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,dn,si),get:(kt,dn,si)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,dn,si)}})}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.rXU(a.c1b))};static#t=this.\u0275dir=a.FsC({type:bt,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[a.OA$]})}return bt})();function Gi(bt,Ln){return new a.wOt(2100,!1)}class ds{createSubscription(Ln,kt){return(0,a.O8t)(()=>Ln.subscribe({next:kt,error:dn=>{throw dn}}))}dispose(Ln){(0,a.O8t)(()=>Ln.unsubscribe())}}class rs{createSubscription(Ln,kt){return Ln.then(kt,dn=>{throw dn})}dispose(Ln){}}const ao=new rs,wo=new ds;let zr=(()=>{class bt{constructor(kt){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=kt}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(kt){if(!this._obj){if(kt)try{this.markForCheckOnValueUpdate=!1,this._subscribe(kt)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return kt!==this._obj?(this._dispose(),this.transform(kt)):this._latestValue}_subscribe(kt){this._obj=kt,this._strategy=this._selectStrategy(kt),this._subscription=this._strategy.createSubscription(kt,dn=>this._updateLatestValue(kt,dn))}_selectStrategy(kt){if((0,a.jNT)(kt))return ao;if((0,a.zjR)(kt))return wo;throw Gi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(kt,dn){kt===this._obj&&(this._latestValue=dn,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.rXU(a.gRc,16))};static#t=this.\u0275pipe=a.EJ8({name:"async",type:bt,pure:!1,standalone:!0})}return bt})(),Ea=(()=>{class bt{transform(kt){if(null==kt)return null;if("string"!=typeof kt)throw Gi();return kt.toLowerCase()}static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275pipe=a.EJ8({name:"lowercase",type:bt,pure:!0,standalone:!0})}return bt})();const Rr=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let A0=(()=>{class bt{transform(kt){if(null==kt)return null;if("string"!=typeof kt)throw Gi();return kt.replace(Rr,dn=>dn[0].toUpperCase()+dn.slice(1).toLowerCase())}static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275pipe=a.EJ8({name:"titlecase",type:bt,pure:!0,standalone:!0})}return bt})(),oa=(()=>{class bt{transform(kt){if(null==kt)return null;if("string"!=typeof kt)throw Gi();return kt.toUpperCase()}static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275pipe=a.EJ8({name:"uppercase",type:bt,pure:!0,standalone:!0})}return bt})();const Po=new a.nKC(""),Pn=new a.nKC("");let Ei=(()=>{class bt{constructor(kt,dn,si){this.locale=kt,this.defaultTimezone=dn,this.defaultOptions=si}transform(kt,dn,si,is){if(null==kt||""===kt||kt!=kt)return null;try{return In(kt,dn??this.defaultOptions?.dateFormat??"mediumDate",is||this.locale,si??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(bs){throw Gi()}}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.rXU(a.xe9,16),a.rXU(Po,24),a.rXU(Pn,24))};static#t=this.\u0275pipe=a.EJ8({name:"date",type:bt,pure:!0,standalone:!0})}return bt})();const fi=/#/g;let Ks=(()=>{class bt{constructor(kt){this._localization=kt}transform(kt,dn,si){if(null==kt)return"";if("object"!=typeof dn||null===dn)throw Gi();return dn[function yn(bt,Ln,kt,dn){let si=`=${bt}`;if(Ln.indexOf(si)>-1||(si=kt.getPluralCategory(bt,dn),Ln.indexOf(si)>-1))return si;if(Ln.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${bt}"`)}(kt,Object.keys(dn),this._localization,si)].replace(fi,kt.toString())}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.rXU(gn,16))};static#t=this.\u0275pipe=a.EJ8({name:"i18nPlural",type:bt,pure:!0,standalone:!0})}return bt})(),za=(()=>{class bt{transform(kt){return JSON.stringify(kt,null,2)}static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275pipe=a.EJ8({name:"json",type:bt,pure:!1,standalone:!0})}return bt})(),Yn=(()=>{class bt{constructor(kt){this.differs=kt,this.keyValues=[],this.compareFn=so}transform(kt,dn=so){if(!kt||!(kt instanceof Map)&&"object"!=typeof kt)return null;this.differ??=this.differs.find(kt).create();const si=this.differ.diff(kt),is=dn!==this.compareFn;return si&&(this.keyValues=[],si.forEachItem(bs=>{this.keyValues.push(function l1(bt,Ln){return{key:bt,value:Ln}}(bs.key,bs.currentValue))})),(si||is)&&(this.keyValues.sort(dn),this.compareFn=dn),this.keyValues}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.rXU(a.MKu,16))};static#t=this.\u0275pipe=a.EJ8({name:"keyvalue",type:bt,pure:!1,standalone:!0})}return bt})();function so(bt,Ln){const kt=bt.key,dn=Ln.key;if(kt===dn)return 0;if(void 0===kt)return 1;if(void 0===dn)return-1;if(null===kt)return 1;if(null===dn)return-1;if("string"==typeof kt&&"string"==typeof dn)return kt<dn?-1:1;if("number"==typeof kt&&"number"==typeof dn)return kt-dn;if("boolean"==typeof kt&&"boolean"==typeof dn)return kt<dn?-1:1;const si=String(kt),is=String(dn);return si==is?0:si<is?-1:1}let Hr=(()=>{class bt{constructor(kt){this._locale=kt}transform(kt,dn,si){if(!function X1(bt){return!(null==bt||""===bt||bt!=bt)}(kt))return null;si||=this._locale;try{return Qn(function _1(bt){if("string"==typeof bt&&!isNaN(Number(bt)-parseFloat(bt)))return Number(bt);if("number"!=typeof bt)throw new Error(`${bt} is not a number`);return bt}(kt),si,dn)}catch(is){throw Gi()}}static#e=this.\u0275fac=function(dn){return new(dn||bt)(a.rXU(a.xe9,16))};static#t=this.\u0275pipe=a.EJ8({name:"number",type:bt,pure:!0,standalone:!0})}return bt})();let K1=(()=>{class bt{transform(kt,dn,si){if(null==kt)return null;if(!this.supports(kt))throw Gi();return kt.slice(dn,si)}supports(kt){return"string"==typeof kt||Array.isArray(kt)}static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275pipe=a.EJ8({name:"slice",type:bt,pure:!1,standalone:!0})}return bt})(),cl=(()=>{class bt{static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275mod=a.$C({type:bt});static#n=this.\u0275inj=a.G2t({})}return bt})();const Ol="browser",Wa="server";function Jr(bt){return bt===Ol}function p0(bt){return bt===Wa}const Tr=new a.RxE("18.2.0");let Ta=(()=>{class bt{static#e=this.\u0275prov=(0,a.jDH)({token:bt,providedIn:"root",factory:()=>Jr((0,a.WQX)(a.Agw))?new Ao((0,a.WQX)(E),window):new y0})}return bt})();class Ao{constructor(Ln,kt){this.document=Ln,this.window=kt,this.offset=()=>[0,0]}setOffset(Ln){this.offset=Array.isArray(Ln)?()=>Ln:Ln}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ln){this.window.scrollTo(Ln[0],Ln[1])}scrollToAnchor(Ln){const kt=function Da(bt,Ln){const kt=bt.getElementById(Ln)||bt.getElementsByName(Ln)[0];if(kt)return kt;if("function"==typeof bt.createTreeWalker&&bt.body&&"function"==typeof bt.body.attachShadow){const dn=bt.createTreeWalker(bt.body,NodeFilter.SHOW_ELEMENT);let si=dn.currentNode;for(;si;){const is=si.shadowRoot;if(is){const bs=is.getElementById(Ln)||is.querySelector(`[name="${Ln}"]`);if(bs)return bs}si=dn.nextNode()}}return null}(this.document,Ln);kt&&(this.scrollToElement(kt),kt.focus())}setHistoryScrollRestoration(Ln){this.window.history.scrollRestoration=Ln}scrollToElement(Ln){const kt=Ln.getBoundingClientRect(),dn=kt.left+this.window.pageXOffset,si=kt.top+this.window.pageYOffset,is=this.offset();this.window.scrollTo(dn-is[0],si-is[1])}}class y0{setOffset(Ln){}getScrollPosition(){return[0,0]}scrollToPosition(Ln){}scrollToAnchor(Ln){}setHistoryScrollRestoration(Ln){}}class ma{}const Co=bt=>bt.src,Ka=new a.nKC("",{providedIn:"root",factory:()=>Co}),ga=new a.nKC("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let dl=(()=>{class bt{constructor(){this.preloadedImages=(0,a.WQX)(ga),this.document=(0,a.WQX)(E)}createPreloadLinkTag(kt,dn,si,is){if(this.preloadedImages.has(dn))return;this.preloadedImages.add(dn);const bs=kt.createElement("link");kt.setAttribute(bs,"as","image"),kt.setAttribute(bs,"href",dn),kt.setAttribute(bs,"rel","preload"),kt.setAttribute(bs,"fetchpriority","high"),is&&kt.setAttribute(bs,"imageSizes",is),si&&kt.setAttribute(bs,"imageSrcset",si),kt.appendChild(this.document.head,bs)}static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275prov=a.jDH({token:bt,factory:bt.\u0275fac,providedIn:"root"})}return bt})();const w1=/^((\s*\d+w\s*(,|$)){1,})$/,jl=[1,2];let ss=(()=>{class bt{constructor(){this.imageLoader=(0,a.WQX)(Ka),this.config=function vs(bt){let Ln={};return bt.breakpoints&&(Ln.breakpoints=bt.breakpoints.sort((kt,dn)=>kt-dn)),Object.assign({},a.PUk,bt,Ln)}((0,a.WQX)(a.GGh)),this.renderer=(0,a.WQX)(a.sFG),this.imgElement=(0,a.WQX)(a.aKT).nativeElement,this.injector=(0,a.WQX)(a.zZn),this.isServer=p0((0,a.WQX)(a.Agw)),this.preloadLinkCreator=(0,a.WQX)(dl),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,a.ngT)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const kt=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),kt,this.sizes)}ngOnChanges(kt){if(kt.ngSrc&&!kt.ngSrc.isFirstChange()){const dn=this._renderedSrc;this.updateSrcAndSrcset(!0);const si=this._renderedSrc;null!==this.lcpObserver&&dn&&si&&dn!==si&&this.injector.get(a.SKi).runOutsideAngular(()=>{this.lcpObserver?.updateImage(dn,si)})}}callImageLoader(kt){let dn=kt;return this.loaderParams&&(dn.loaderParams=this.loaderParams),this.imageLoader(dn)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const kt=w1.test(this.ngSrcset);return this.ngSrcset.split(",").filter(si=>""!==si).map(si=>{si=si.trim();const is=kt?parseFloat(si):parseFloat(si)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:is})} ${si}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:kt}=this.config;let dn=kt;return"100vw"===this.sizes?.trim()&&(dn=kt.filter(is=>is>=640)),dn.map(is=>`${this.callImageLoader({src:this.ngSrc,width:is})} ${is}w`).join(", ")}updateSrcAndSrcset(kt=!1){kt&&(this._renderedSrc=null);const dn=this.getRewrittenSrc();let si;return this.setHostAttribute("src",dn),this.ngSrcset?si=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(si=this.getAutomaticSrcset()),si&&this.setHostAttribute("srcset",si),si}getFixedSrcset(){return jl.map(dn=>`${this.callImageLoader({src:this.ngSrc,width:this.width*dn})} ${dn}x`).join(", ")}shouldGenerateAutomaticSrcset(){let kt=!1;return this.sizes||(kt=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Co&&!kt}generatePlaceholder(kt){const{placeholderResolution:dn}=this.config;return!0===kt?`url(${this.callImageLoader({src:this.ngSrc,width:dn,isPlaceholder:!0})})`:"string"==typeof kt?`url(${kt})`:null}shouldBlurPlaceholder(kt){return!kt||!kt.hasOwnProperty("blur")||!!kt.blur}removePlaceholderOnLoad(kt){const dn=()=>{const bs=this.injector.get(a.gRc);si(),is(),this.placeholder=!1,bs.markForCheck()},si=this.renderer.listen(kt,"load",dn),is=this.renderer.listen(kt,"error",dn)}ngOnDestroy(){}setHostAttribute(kt,dn){this.renderer.setAttribute(this.imgElement,kt,dn)}static#e=this.\u0275fac=function(dn){return new(dn||bt)};static#t=this.\u0275dir=a.FsC({type:bt,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(dn,si){2&dn&&a.xc7("position",si.fill?"absolute":null)("width",si.fill?"100%":null)("height",si.fill?"100%":null)("inset",si.fill?"0":null)("background-size",si.placeholder?"cover":null)("background-position",si.placeholder?"50% 50%":null)("background-repeat",si.placeholder?"no-repeat":null)("background-image",si.placeholder?si.generatePlaceholder(si.placeholder):null)("filter",si.placeholder&&si.shouldBlurPlaceholder(si.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",fl],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",a.Udg],height:[2,"height","height",a.Udg],loading:"loading",priority:[2,"priority","priority",a.L39],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",a.L39],fill:[2,"fill","fill",a.L39],placeholder:[2,"placeholder","placeholder",N1],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[a.GFd,a.OA$]})}return bt})();function fl(bt){return"string"==typeof bt?bt:(0,a.rcV)(bt)}function N1(bt){return"string"==typeof bt&&"true"!==bt&&"false"!==bt&&""!==bt?bt:(0,a.L39)(bt)}},21626:(at,N,s)=>{"use strict";s.d(N,{$R:()=>Ii,Lr:()=>C,Qq:()=>Le,Sx:()=>Dn,a7:()=>Vt,yz:()=>K});var n=s(10467),a=s(93953),g=s(7673),m=s(71985),T=s(22806),O=s(70274),D=s(5964),E=s(96354),y=s(70980),I=s(25558),b=s(60177);class L{}class o{}class C{constructor(Mt){this.normalizedNames=new Map,this.lazyUpdate=null,Mt?"string"==typeof Mt?this.lazyInit=()=>{this.headers=new Map,Mt.split("\n").forEach(Bt=>{const Rt=Bt.indexOf(":");if(Rt>0){const Jt=Bt.slice(0,Rt),He=Jt.toLowerCase(),fe=Bt.slice(Rt+1).trim();this.maybeSetNormalizedName(Jt,He),this.headers.has(He)?this.headers.get(He).push(fe):this.headers.set(He,[fe])}})}:typeof Headers<"u"&&Mt instanceof Headers?(this.headers=new Map,Mt.forEach((Bt,Rt)=>{this.setHeaderEntries(Rt,Bt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Mt).forEach(([Bt,Rt])=>{this.setHeaderEntries(Bt,Rt)})}:this.headers=new Map}has(Mt){return this.init(),this.headers.has(Mt.toLowerCase())}get(Mt){this.init();const Bt=this.headers.get(Mt.toLowerCase());return Bt&&Bt.length>0?Bt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Mt){return this.init(),this.headers.get(Mt.toLowerCase())||null}append(Mt,Bt){return this.clone({name:Mt,value:Bt,op:"a"})}set(Mt,Bt){return this.clone({name:Mt,value:Bt,op:"s"})}delete(Mt,Bt){return this.clone({name:Mt,value:Bt,op:"d"})}maybeSetNormalizedName(Mt,Bt){this.normalizedNames.has(Bt)||this.normalizedNames.set(Bt,Mt)}init(){this.lazyInit&&(this.lazyInit instanceof C?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Mt=>this.applyUpdate(Mt)),this.lazyUpdate=null))}copyFrom(Mt){Mt.init(),Array.from(Mt.headers.keys()).forEach(Bt=>{this.headers.set(Bt,Mt.headers.get(Bt)),this.normalizedNames.set(Bt,Mt.normalizedNames.get(Bt))})}clone(Mt){const Bt=new C;return Bt.lazyInit=this.lazyInit&&this.lazyInit instanceof C?this.lazyInit:this,Bt.lazyUpdate=(this.lazyUpdate||[]).concat([Mt]),Bt}applyUpdate(Mt){const Bt=Mt.name.toLowerCase();switch(Mt.op){case"a":case"s":let Rt=Mt.value;if("string"==typeof Rt&&(Rt=[Rt]),0===Rt.length)return;this.maybeSetNormalizedName(Mt.name,Bt);const Jt=("a"===Mt.op?this.headers.get(Bt):void 0)||[];Jt.push(...Rt),this.headers.set(Bt,Jt);break;case"d":const He=Mt.value;if(He){let fe=this.headers.get(Bt);if(!fe)return;fe=fe.filter(nt=>-1===He.indexOf(nt)),0===fe.length?(this.headers.delete(Bt),this.normalizedNames.delete(Bt)):this.headers.set(Bt,fe)}else this.headers.delete(Bt),this.normalizedNames.delete(Bt)}}setHeaderEntries(Mt,Bt){const Rt=(Array.isArray(Bt)?Bt:[Bt]).map(He=>He.toString()),Jt=Mt.toLowerCase();this.headers.set(Jt,Rt),this.maybeSetNormalizedName(Mt,Jt)}forEach(Mt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Bt=>Mt(this.normalizedNames.get(Bt),this.headers.get(Bt)))}}class M{encodeKey(Mt){return U(Mt)}encodeValue(Mt){return U(Mt)}decodeKey(Mt){return decodeURIComponent(Mt)}decodeValue(Mt){return decodeURIComponent(Mt)}}const z=/%(\d[a-f0-9])/gi,F={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function U(ut){return encodeURIComponent(ut).replace(z,(Mt,Bt)=>F[Bt]??Mt)}function k(ut){return`${ut}`}class Y{constructor(Mt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Mt.encoder||new M,Mt.fromString){if(Mt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function q(ut,Mt){const Bt=new Map;return ut.length>0&&ut.replace(/^\?/,"").split("&").forEach(Jt=>{const He=Jt.indexOf("="),[fe,nt]=-1==He?[Mt.decodeKey(Jt),""]:[Mt.decodeKey(Jt.slice(0,He)),Mt.decodeValue(Jt.slice(He+1))],Ot=Bt.get(fe)||[];Ot.push(nt),Bt.set(fe,Ot)}),Bt}(Mt.fromString,this.encoder)}else Mt.fromObject?(this.map=new Map,Object.keys(Mt.fromObject).forEach(Bt=>{const Rt=Mt.fromObject[Bt],Jt=Array.isArray(Rt)?Rt.map(k):[k(Rt)];this.map.set(Bt,Jt)})):this.map=null}has(Mt){return this.init(),this.map.has(Mt)}get(Mt){this.init();const Bt=this.map.get(Mt);return Bt?Bt[0]:null}getAll(Mt){return this.init(),this.map.get(Mt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Mt,Bt){return this.clone({param:Mt,value:Bt,op:"a"})}appendAll(Mt){const Bt=[];return Object.keys(Mt).forEach(Rt=>{const Jt=Mt[Rt];Array.isArray(Jt)?Jt.forEach(He=>{Bt.push({param:Rt,value:He,op:"a"})}):Bt.push({param:Rt,value:Jt,op:"a"})}),this.clone(Bt)}set(Mt,Bt){return this.clone({param:Mt,value:Bt,op:"s"})}delete(Mt,Bt){return this.clone({param:Mt,value:Bt,op:"d"})}toString(){return this.init(),this.keys().map(Mt=>{const Bt=this.encoder.encodeKey(Mt);return this.map.get(Mt).map(Rt=>Bt+"="+this.encoder.encodeValue(Rt)).join("&")}).filter(Mt=>""!==Mt).join("&")}clone(Mt){const Bt=new Y({encoder:this.encoder});return Bt.cloneFrom=this.cloneFrom||this,Bt.updates=(this.updates||[]).concat(Mt),Bt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Mt=>this.map.set(Mt,this.cloneFrom.map.get(Mt))),this.updates.forEach(Mt=>{switch(Mt.op){case"a":case"s":const Bt=("a"===Mt.op?this.map.get(Mt.param):void 0)||[];Bt.push(k(Mt.value)),this.map.set(Mt.param,Bt);break;case"d":if(void 0===Mt.value){this.map.delete(Mt.param);break}{let Rt=this.map.get(Mt.param)||[];const Jt=Rt.indexOf(k(Mt.value));-1!==Jt&&Rt.splice(Jt,1),Rt.length>0?this.map.set(Mt.param,Rt):this.map.delete(Mt.param)}}}),this.cloneFrom=this.updates=null)}}class B{constructor(){this.map=new Map}set(Mt,Bt){return this.map.set(Mt,Bt),this}get(Mt){return this.map.has(Mt)||this.map.set(Mt,Mt.defaultValue()),this.map.get(Mt)}delete(Mt){return this.map.delete(Mt),this}has(Mt){return this.map.has(Mt)}keys(){return this.map.keys()}}function $(ut){return typeof ArrayBuffer<"u"&&ut instanceof ArrayBuffer}function H(ut){return typeof Blob<"u"&&ut instanceof Blob}function ie(ut){return typeof FormData<"u"&&ut instanceof FormData}class Q{constructor(Mt,Bt,Rt,Jt){let He;if(this.url=Bt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Mt.toUpperCase(),function j(ut){switch(ut){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Jt?(this.body=void 0!==Rt?Rt:null,He=Jt):He=Rt,He&&(this.reportProgress=!!He.reportProgress,this.withCredentials=!!He.withCredentials,He.responseType&&(this.responseType=He.responseType),He.headers&&(this.headers=He.headers),He.context&&(this.context=He.context),He.params&&(this.params=He.params),this.transferCache=He.transferCache),this.headers??=new C,this.context??=new B,this.params){const fe=this.params.toString();if(0===fe.length)this.urlWithParams=Bt;else{const nt=Bt.indexOf("?");this.urlWithParams=Bt+(-1===nt?"?":nt<Bt.length-1?"&":"")+fe}}else this.params=new Y,this.urlWithParams=Bt}serializeBody(){return null===this.body?null:"string"==typeof this.body||$(this.body)||H(this.body)||ie(this.body)||function ne(ut){return typeof URLSearchParams<"u"&&ut instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Y?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||ie(this.body)?null:H(this.body)?this.body.type||null:$(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Y?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Mt={}){const Bt=Mt.method||this.method,Rt=Mt.url||this.url,Jt=Mt.responseType||this.responseType,He=Mt.transferCache??this.transferCache,fe=void 0!==Mt.body?Mt.body:this.body,nt=Mt.withCredentials??this.withCredentials,Ot=Mt.reportProgress??this.reportProgress;let rn=Mt.headers||this.headers,Jn=Mt.params||this.params;const Oi=Mt.context??this.context;return void 0!==Mt.setHeaders&&(rn=Object.keys(Mt.setHeaders).reduce((Ci,Ui)=>Ci.set(Ui,Mt.setHeaders[Ui]),rn)),Mt.setParams&&(Jn=Object.keys(Mt.setParams).reduce((Ci,Ui)=>Ci.set(Ui,Mt.setParams[Ui]),Jn)),new Q(Bt,Rt,fe,{params:Jn,headers:rn,context:Oi,reportProgress:Ot,responseType:Jt,withCredentials:nt,transferCache:He})}}var le=function(ut){return ut[ut.Sent=0]="Sent",ut[ut.UploadProgress=1]="UploadProgress",ut[ut.ResponseHeader=2]="ResponseHeader",ut[ut.DownloadProgress=3]="DownloadProgress",ut[ut.Response=4]="Response",ut[ut.User=5]="User",ut}(le||{});class pe{constructor(Mt,Bt=200,Rt="OK"){this.headers=Mt.headers||new C,this.status=void 0!==Mt.status?Mt.status:Bt,this.statusText=Mt.statusText||Rt,this.url=Mt.url||null,this.ok=this.status>=200&&this.status<300}}class te extends pe{constructor(Mt={}){super(Mt),this.type=le.ResponseHeader}clone(Mt={}){return new te({headers:Mt.headers||this.headers,status:void 0!==Mt.status?Mt.status:this.status,statusText:Mt.statusText||this.statusText,url:Mt.url||this.url||void 0})}}class ae extends pe{constructor(Mt={}){super(Mt),this.type=le.Response,this.body=void 0!==Mt.body?Mt.body:null}clone(Mt={}){return new ae({body:void 0!==Mt.body?Mt.body:this.body,headers:Mt.headers||this.headers,status:void 0!==Mt.status?Mt.status:this.status,statusText:Mt.statusText||this.statusText,url:Mt.url||this.url||void 0})}}class K extends pe{constructor(Mt){super(Mt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Mt.url||"(unknown url)"}`:`Http failure response for ${Mt.url||"(unknown url)"}: ${Mt.status} ${Mt.statusText}`,this.error=Mt.error||null}}function be(ut,Mt){return{body:Mt,headers:ut.headers,context:ut.context,observe:ut.observe,params:ut.params,reportProgress:ut.reportProgress,responseType:ut.responseType,withCredentials:ut.withCredentials,transferCache:ut.transferCache}}let Le=(()=>{class ut{constructor(Bt){this.handler=Bt}request(Bt,Rt,Jt={}){let He;if(Bt instanceof Q)He=Bt;else{let Ot,rn;Ot=Jt.headers instanceof C?Jt.headers:new C(Jt.headers),Jt.params&&(rn=Jt.params instanceof Y?Jt.params:new Y({fromObject:Jt.params})),He=new Q(Bt,Rt,void 0!==Jt.body?Jt.body:null,{headers:Ot,context:Jt.context,params:rn,reportProgress:Jt.reportProgress,responseType:Jt.responseType||"json",withCredentials:Jt.withCredentials,transferCache:Jt.transferCache})}const fe=(0,g.of)(He).pipe((0,O.H)(Ot=>this.handler.handle(Ot)));if(Bt instanceof Q||"events"===Jt.observe)return fe;const nt=fe.pipe((0,D.p)(Ot=>Ot instanceof ae));switch(Jt.observe||"body"){case"body":switch(He.responseType){case"arraybuffer":return nt.pipe((0,E.T)(Ot=>{if(null!==Ot.body&&!(Ot.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ot.body}));case"blob":return nt.pipe((0,E.T)(Ot=>{if(null!==Ot.body&&!(Ot.body instanceof Blob))throw new Error("Response is not a Blob.");return Ot.body}));case"text":return nt.pipe((0,E.T)(Ot=>{if(null!==Ot.body&&"string"!=typeof Ot.body)throw new Error("Response is not a string.");return Ot.body}));default:return nt.pipe((0,E.T)(Ot=>Ot.body))}case"response":return nt;default:throw new Error(`Unreachable: unhandled observe type ${Jt.observe}}`)}}delete(Bt,Rt={}){return this.request("DELETE",Bt,Rt)}get(Bt,Rt={}){return this.request("GET",Bt,Rt)}head(Bt,Rt={}){return this.request("HEAD",Bt,Rt)}jsonp(Bt,Rt){return this.request("JSONP",Bt,{params:(new Y).append(Rt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Bt,Rt={}){return this.request("OPTIONS",Bt,Rt)}patch(Bt,Rt,Jt={}){return this.request("PATCH",Bt,be(Jt,Rt))}post(Bt,Rt,Jt={}){return this.request("POST",Bt,be(Jt,Rt))}put(Bt,Rt,Jt={}){return this.request("PUT",Bt,be(Jt,Rt))}static#e=this.\u0275fac=function(Rt){return new(Rt||ut)(a.KVO(L))};static#t=this.\u0275prov=a.jDH({token:ut,factory:ut.\u0275fac})}return ut})();const Ae=/^\)\]\}',?\n/;function Xe(ut){if(ut.url)return ut.url;const Mt="X-Request-URL".toLocaleLowerCase();return ut.headers.get(Mt)}let Pe=(()=>{class ut{constructor(){this.fetchImpl=(0,a.WQX)($e,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,a.WQX)(a.SKi)}handle(Bt){return new m.c(Rt=>{const Jt=new AbortController;return this.doRequest(Bt,Jt.signal,Rt).then(ze,He=>Rt.error(new K({error:He}))),()=>Jt.abort()})}doRequest(Bt,Rt,Jt){var He=this;return(0,n.A)(function*(){const fe=He.createRequestInit(Bt);let nt;try{const ps=He.ngZone.runOutsideAngular(()=>He.fetchImpl(Bt.urlWithParams,{signal:Rt,...fe}));(function Be(ut){ut.then(ze,ze)})(ps),Jt.next({type:le.Sent}),nt=yield ps}catch(ps){return void Jt.error(new K({error:ps,status:ps.status??0,statusText:ps.statusText,url:Bt.urlWithParams,headers:ps.headers}))}const Ot=new C(nt.headers),rn=nt.statusText,Jn=Xe(nt)??Bt.urlWithParams;let Oi=nt.status,Ci=null;if(Bt.reportProgress&&Jt.next(new te({headers:Ot,status:Oi,statusText:rn,url:Jn})),nt.body){const ps=nt.headers.get("content-length"),Ji=[],_s=nt.body.getReader();let es,zs,js=0;const Gi=typeof Zone<"u"&&Zone.current;yield He.ngZone.runOutsideAngular((0,n.A)(function*(){for(;;){const{done:rs,value:ao}=yield _s.read();if(rs)break;if(Ji.push(ao),js+=ao.length,Bt.reportProgress){zs="text"===Bt.responseType?(zs??"")+(es??=new TextDecoder).decode(ao,{stream:!0}):void 0;const wo=()=>Jt.next({type:le.DownloadProgress,total:ps?+ps:void 0,loaded:js,partialText:zs});Gi?Gi.run(wo):wo()}}}));const ds=He.concatChunks(Ji,js);try{const rs=nt.headers.get("Content-Type")??"";Ci=He.parseBody(Bt,ds,rs)}catch(rs){return void Jt.error(new K({error:rs,headers:new C(nt.headers),status:nt.status,statusText:nt.statusText,url:Xe(nt)??Bt.urlWithParams}))}}0===Oi&&(Oi=Ci?200:0),Oi>=200&&Oi<300?(Jt.next(new ae({body:Ci,headers:Ot,status:Oi,statusText:rn,url:Jn})),Jt.complete()):Jt.error(new K({error:Ci,headers:Ot,status:Oi,statusText:rn,url:Jn}))})()}parseBody(Bt,Rt,Jt){switch(Bt.responseType){case"json":const He=(new TextDecoder).decode(Rt).replace(Ae,"");return""===He?null:JSON.parse(He);case"text":return(new TextDecoder).decode(Rt);case"blob":return new Blob([Rt],{type:Jt});case"arraybuffer":return Rt.buffer}}createRequestInit(Bt){const Rt={},Jt=Bt.withCredentials?"include":void 0;if(Bt.headers.forEach((He,fe)=>Rt[He]=fe.join(",")),Bt.headers.has("Accept")||(Rt.Accept="application/json, text/plain, */*"),!Bt.headers.has("Content-Type")){const He=Bt.detectContentTypeHeader();null!==He&&(Rt["Content-Type"]=He)}return{body:Bt.serializeBody(),method:Bt.method,headers:Rt,credentials:Jt}}concatChunks(Bt,Rt){const Jt=new Uint8Array(Rt);let He=0;for(const fe of Bt)Jt.set(fe,He),He+=fe.length;return Jt}static#e=this.\u0275fac=function(Rt){return new(Rt||ut)};static#t=this.\u0275prov=a.jDH({token:ut,factory:ut.\u0275fac})}return ut})();class $e{}function ze(){}function Ye(ut,Mt){return Mt(ut)}function Ct(ut,Mt){return(Bt,Rt)=>Mt.intercept(Bt,{handle:Jt=>ut(Jt,Rt)})}const Vt=new a.nKC(""),ht=new a.nKC(""),gt=new a.nKC(""),Ge=new a.nKC("",{providedIn:"root",factory:()=>!0});function Se(){let ut=null;return(Mt,Bt)=>{null===ut&&(ut=((0,a.WQX)(Vt,{optional:!0})??[]).reduceRight(Ct,Ye));const Rt=(0,a.WQX)(a.TgB);if((0,a.WQX)(Ge)){const He=Rt.add();return ut(Mt,Bt).pipe((0,y.j)(()=>Rt.remove(He)))}return ut(Mt,Bt)}}let Je=(()=>{class ut extends L{constructor(Bt,Rt){super(),this.backend=Bt,this.injector=Rt,this.chain=null,this.pendingTasks=(0,a.WQX)(a.TgB),this.contributeToStability=(0,a.WQX)(Ge)}handle(Bt){if(null===this.chain){const Rt=Array.from(new Set([...this.injector.get(ht),...this.injector.get(gt,[])]));this.chain=Rt.reduceRight((Jt,He)=>function Lt(ut,Mt,Bt){return(Rt,Jt)=>(0,a.N4e)(Bt,()=>Mt(Rt,He=>ut(He,Jt)))}(Jt,He,this.injector),Ye)}if(this.contributeToStability){const Rt=this.pendingTasks.add();return this.chain(Bt,Jt=>this.backend.handle(Jt)).pipe((0,y.j)(()=>this.pendingTasks.remove(Rt)))}return this.chain(Bt,Rt=>this.backend.handle(Rt))}static#e=this.\u0275fac=function(Rt){return new(Rt||ut)(a.KVO(o),a.KVO(a.uvJ))};static#t=this.\u0275prov=a.jDH({token:ut,factory:ut.\u0275fac})}return ut})();const jn=/^\)\]\}',?\n/;let Li=(()=>{class ut{constructor(Bt){this.xhrFactory=Bt}handle(Bt){if("JSONP"===Bt.method)throw new a.wOt(-2800,!1);const Rt=this.xhrFactory;return(Rt.\u0275loadImpl?(0,T.H)(Rt.\u0275loadImpl()):(0,g.of)(null)).pipe((0,I.n)(()=>new m.c(He=>{const fe=Rt.build();if(fe.open(Bt.method,Bt.urlWithParams),Bt.withCredentials&&(fe.withCredentials=!0),Bt.headers.forEach((Ji,_s)=>fe.setRequestHeader(Ji,_s.join(","))),Bt.headers.has("Accept")||fe.setRequestHeader("Accept","application/json, text/plain, */*"),!Bt.headers.has("Content-Type")){const Ji=Bt.detectContentTypeHeader();null!==Ji&&fe.setRequestHeader("Content-Type",Ji)}if(Bt.responseType){const Ji=Bt.responseType.toLowerCase();fe.responseType="json"!==Ji?Ji:"text"}const nt=Bt.serializeBody();let Ot=null;const rn=()=>{if(null!==Ot)return Ot;const Ji=fe.statusText||"OK",_s=new C(fe.getAllResponseHeaders()),js=function Di(ut){return"responseURL"in ut&&ut.responseURL?ut.responseURL:/^X-Request-URL:/m.test(ut.getAllResponseHeaders())?ut.getResponseHeader("X-Request-URL"):null}(fe)||Bt.url;return Ot=new te({headers:_s,status:fe.status,statusText:Ji,url:js}),Ot},Jn=()=>{let{headers:Ji,status:_s,statusText:js,url:es}=rn(),zs=null;204!==_s&&(zs=typeof fe.response>"u"?fe.responseText:fe.response),0===_s&&(_s=zs?200:0);let Gi=_s>=200&&_s<300;if("json"===Bt.responseType&&"string"==typeof zs){const ds=zs;zs=zs.replace(jn,"");try{zs=""!==zs?JSON.parse(zs):null}catch(rs){zs=ds,Gi&&(Gi=!1,zs={error:rs,text:zs})}}Gi?(He.next(new ae({body:zs,headers:Ji,status:_s,statusText:js,url:es||void 0})),He.complete()):He.error(new K({error:zs,headers:Ji,status:_s,statusText:js,url:es||void 0}))},Oi=Ji=>{const{url:_s}=rn(),js=new K({error:Ji,status:fe.status||0,statusText:fe.statusText||"Unknown Error",url:_s||void 0});He.error(js)};let Ci=!1;const Ui=Ji=>{Ci||(He.next(rn()),Ci=!0);let _s={type:le.DownloadProgress,loaded:Ji.loaded};Ji.lengthComputable&&(_s.total=Ji.total),"text"===Bt.responseType&&fe.responseText&&(_s.partialText=fe.responseText),He.next(_s)},ps=Ji=>{let _s={type:le.UploadProgress,loaded:Ji.loaded};Ji.lengthComputable&&(_s.total=Ji.total),He.next(_s)};return fe.addEventListener("load",Jn),fe.addEventListener("error",Oi),fe.addEventListener("timeout",Oi),fe.addEventListener("abort",Oi),Bt.reportProgress&&(fe.addEventListener("progress",Ui),null!==nt&&fe.upload&&fe.upload.addEventListener("progress",ps)),fe.send(nt),He.next({type:le.Sent}),()=>{fe.removeEventListener("error",Oi),fe.removeEventListener("abort",Oi),fe.removeEventListener("load",Jn),fe.removeEventListener("timeout",Oi),Bt.reportProgress&&(fe.removeEventListener("progress",Ui),null!==nt&&fe.upload&&fe.upload.removeEventListener("progress",ps)),fe.readyState!==fe.DONE&&fe.abort()}})))}static#e=this.\u0275fac=function(Rt){return new(Rt||ut)(a.KVO(b.N0))};static#t=this.\u0275prov=a.jDH({token:ut,factory:ut.\u0275fac})}return ut})();const ms=new a.nKC(""),Qt=new a.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Yt=new a.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Mn{}let ci=(()=>{class ut{constructor(Bt,Rt,Jt){this.doc=Bt,this.platform=Rt,this.cookieName=Jt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Bt=this.doc.cookie||"";return Bt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,b._b)(Bt,this.cookieName),this.lastCookieString=Bt),this.lastToken}static#e=this.\u0275fac=function(Rt){return new(Rt||ut)(a.KVO(b.qQ),a.KVO(a.Agw),a.KVO(Qt))};static#t=this.\u0275prov=a.jDH({token:ut,factory:ut.\u0275fac})}return ut})();function Ue(ut,Mt){const Bt=ut.url.toLowerCase();if(!(0,a.WQX)(ms)||"GET"===ut.method||"HEAD"===ut.method||Bt.startsWith("http://")||Bt.startsWith("https://"))return Mt(ut);const Rt=(0,a.WQX)(Mn).getToken(),Jt=(0,a.WQX)(Yt);return null!=Rt&&!ut.headers.has(Jt)&&(ut=ut.clone({headers:ut.headers.set(Jt,Rt)})),Mt(ut)}var _n=function(ut){return ut[ut.Interceptors=0]="Interceptors",ut[ut.LegacyInterceptors=1]="LegacyInterceptors",ut[ut.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ut[ut.NoXsrfProtection=3]="NoXsrfProtection",ut[ut.JsonpSupport=4]="JsonpSupport",ut[ut.RequestsMadeViaParent=5]="RequestsMadeViaParent",ut[ut.Fetch=6]="Fetch",ut}(_n||{});function Ii(...ut){const Mt=[Le,Li,Je,{provide:L,useExisting:Je},{provide:o,useFactory:()=>(0,a.WQX)(Pe,{optional:!0})??(0,a.WQX)(Li)},{provide:ht,useValue:Ue,multi:!0},{provide:ms,useValue:!0},{provide:Mn,useClass:ci}];for(const Bt of ut)Mt.push(...Bt.\u0275providers);return(0,a.EmA)(Mt)}const ln=new a.nKC("");function Dn(){return function Xn(ut,Mt){return{\u0275kind:ut,\u0275providers:Mt}}(_n.LegacyInterceptors,[{provide:ln,useFactory:Se},{provide:ht,useExisting:ln,multi:!0}])}},93953:(at,N,s)=>{"use strict";function n(l,u){return Object.is(l,u)}s.d(N,{bc$:()=>Sc,iLQ:()=>Hb,sZ2:()=>Kf,hnV:()=>fS,wjH:()=>th,Hbi:()=>hI,o8S:()=>qm,BIS:()=>N_,gRc:()=>DS,Ql9:()=>NP,OM3:()=>F2,rjb:()=>_v,Ocv:()=>UP,abz:()=>Mi,WLR:()=>tP,Z63:()=>a0,aKT:()=>Su,uvJ:()=>mr,zcH:()=>kl,bkB:()=>Ts,y_5:()=>ta,$GK:()=>hr,nKC:()=>Io,zZn:()=>Fe,pde:()=>nP,_q3:()=>YO,MKu:()=>XO,xe9:()=>jO,Co$:()=>rA,Vns:()=>Tg,SKi:()=>sa,Xx1:()=>Ja,Agw:()=>ou,PLl:()=>$p,rOR:()=>Ep,sFG:()=>KT,_9s:()=>_M,czy:()=>h_,WPN:()=>Rf,kdw:()=>la,C4Q:()=>jd,NYb:()=>zP,giA:()=>pS,ZUJ:()=>Ds,RxE:()=>sS,c1b:()=>Ob,gXe:()=>tc,mal:()=>Av,Tzd:()=>vv,Af3:()=>Et,L39:()=>$I,EWP:()=>YI,a0P:()=>eR,Ol2:()=>wM,w6W:()=>G3,oH4:()=>SS,QZP:()=>uT,SmG:()=>QP,Rfq:()=>Dr,WQX:()=>Rs,naY:()=>JP,Hps:()=>DM,QuC:()=>C0,EmA:()=>lt,Udg:()=>VI,fpN:()=>pI,HJs:()=>tR,N4e:()=>he,vPA:()=>jv,O8t:()=>XI,H3F:()=>oS,zAP:()=>eT,GGh:()=>b0,PUk:()=>vc,H8p:()=>ro,KH2:()=>f2,FOc:()=>nl,TgB:()=>hs,wOt:()=>Vs,WHO:()=>uS,e01:()=>dS,lNU:()=>Ia,h9k:()=>zc,$MX:()=>wm,ZF7:()=>Pf,Kcf:()=>Rm,e5t:()=>E_,UyX:()=>a_,cWb:()=>Lm,osQ:()=>Qr,H5H:()=>cO,Zy3:()=>Ar,mq5:()=>hy,JZv:()=>mo,LfX:()=>Zl,plB:()=>eg,jNT:()=>xO,zjR:()=>hS,ngT:()=>eh,TL$:()=>Is,Tbb:()=>ra,rcV:()=>Dh,zuW:()=>FO,nM4:()=>tA,Vt3:()=>IM,GFd:()=>oA,OA$:()=>Sd,Jv_:()=>OE,aNF:()=>vE,R7$:()=>ns,BMQ:()=>HM,HbH:()=>HA,ZvI:()=>ey,AVh:()=>eO,BUC:()=>ty,vxM:()=>oy,wni:()=>Xy,VBU:()=>De,FsC:()=>lo,jDH:()=>So,G2t:()=>e1,$C:()=>pi,EJ8:()=>Ro,rXU:()=>ks,nrm:()=>oO,eu8:()=>rO,bVm:()=>xb,qex:()=>Nb,k0s:()=>wb,j41:()=>Lb,RV6:()=>py,xGo:()=>Zd,Mr5:()=>aO,pXf:()=>Py,nnv:()=>Ry,ehv:()=>Iy,YFu:()=>hO,uP7:()=>fO,k04:()=>Ly,PLo:()=>pO,KVO:()=>Mr,kS0:()=>Mf,QTQ:()=>Ms,bIt:()=>mO,lsd:()=>Qy,joV:()=>ya,qSk:()=>po,XpG:()=>Wy,nI1:()=>FE,bMT:()=>WE,i5U:()=>BE,brH:()=>kE,SdG:()=>ky,NAR:()=>By,Y8G:()=>JM,FS9:()=>bO,Mz_:()=>jb,lJ4:()=>SE,eq3:()=>TE,l_i:()=>CE,sMw:()=>zE,ziG:()=>DE,s1E:()=>PE,lV:()=>IE,mGM:()=>Jy,sdS:()=>Zy,Dyx:()=>cy,Z7z:()=>ly,fX1:()=>ay,Vm6:()=>ry,Njj:()=>Ju,EBC:()=>zu,tSv:()=>C2,eBV:()=>Bh,npT:()=>lg,f$h:()=>G_,B4B:()=>cg,n$t:()=>Lg,wjB:()=>AE,xc7:()=>ZM,Kam:()=>_O,zvX:()=>lO,DNE:()=>xM,C5r:()=>jE,EFF:()=>cE,JRh:()=>OO,SpI:()=>Ub,Lme:()=>vO,E5c:()=>AO,LHq:()=>yO,DH7:()=>_E,mxI:()=>SO,R50:()=>EO,GBs:()=>Ky});let a=null,g=!1,m=1;const T=Symbol("SIGNAL");function O(l){const u=a;return a=l,u}const I={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function b(l){if(g)throw new Error("");if(null===a)return;a.consumerOnSignalRead(l);const u=a.nextProducerIndex++;B(a),u<a.producerNode.length&&a.producerNode[u]!==l&&x(a)&&Y(a.producerNode[u],a.producerIndexOfThis[u]),a.producerNode[u]!==l&&(a.producerNode[u]=l,a.producerIndexOfThis[u]=x(a)?k(l,a,u):0),a.producerLastReadVersion[u]=l.version}function o(l){if((!x(l)||l.dirty)&&(l.dirty||l.lastCleanEpoch!==m)){if(!l.producerMustRecompute(l)&&!F(l))return l.dirty=!1,void(l.lastCleanEpoch=m);l.producerRecomputeValue(l),l.dirty=!1,l.lastCleanEpoch=m}}function C(l){if(void 0===l.liveConsumerNode)return;const u=g;g=!0;try{for(const _ of l.liveConsumerNode)_.dirty||M(_)}finally{g=u}}function w(){return!1!==a?.consumerAllowSignalWrites}function M(l){l.dirty=!0,C(l),l.consumerMarkedDirty?.(l)}function q(l){return l&&(l.nextProducerIndex=0),O(l)}function z(l,u){if(O(u),l&&void 0!==l.producerNode&&void 0!==l.producerIndexOfThis&&void 0!==l.producerLastReadVersion){if(x(l))for(let _=l.nextProducerIndex;_<l.producerNode.length;_++)Y(l.producerNode[_],l.producerIndexOfThis[_]);for(;l.producerNode.length>l.nextProducerIndex;)l.producerNode.pop(),l.producerLastReadVersion.pop(),l.producerIndexOfThis.pop()}}function F(l){B(l);for(let u=0;u<l.producerNode.length;u++){const _=l.producerNode[u],P=l.producerLastReadVersion[u];if(P!==_.version||(o(_),P!==_.version))return!0}return!1}function U(l){if(B(l),x(l))for(let u=0;u<l.producerNode.length;u++)Y(l.producerNode[u],l.producerIndexOfThis[u]);l.producerNode.length=l.producerLastReadVersion.length=l.producerIndexOfThis.length=0,l.liveConsumerNode&&(l.liveConsumerNode.length=l.liveConsumerIndexOfThis.length=0)}function k(l,u,_){if(j(l),0===l.liveConsumerNode.length&&$(l))for(let P=0;P<l.producerNode.length;P++)l.producerIndexOfThis[P]=k(l.producerNode[P],l,P);return l.liveConsumerIndexOfThis.push(_),l.liveConsumerNode.push(u)-1}function Y(l,u){if(j(l),1===l.liveConsumerNode.length&&$(l))for(let P=0;P<l.producerNode.length;P++)Y(l.producerNode[P],l.producerIndexOfThis[P]);const _=l.liveConsumerNode.length-1;if(l.liveConsumerNode[u]=l.liveConsumerNode[_],l.liveConsumerIndexOfThis[u]=l.liveConsumerIndexOfThis[_],l.liveConsumerNode.length--,l.liveConsumerIndexOfThis.length--,u<l.liveConsumerNode.length){const P=l.liveConsumerIndexOfThis[u],V=l.liveConsumerNode[u];B(V),V.producerIndexOfThis[P]=u}}function x(l){return l.consumerIsAlwaysLive||(l?.liveConsumerNode?.length??0)>0}function B(l){l.producerNode??=[],l.producerIndexOfThis??=[],l.producerLastReadVersion??=[]}function j(l){l.liveConsumerNode??=[],l.liveConsumerIndexOfThis??=[]}function $(l){return void 0!==l.producerNode}const ie=Symbol("UNSET"),ne=Symbol("COMPUTING"),Q=Symbol("ERRORED"),le={...I,value:ie,dirty:!0,error:null,equal:n,producerMustRecompute:l=>l.value===ie||l.value===ne,producerRecomputeValue(l){if(l.value===ne)throw new Error("Detected cycle in computations.");const u=l.value;l.value=ne;const _=q(l);let P;try{P=l.computation()}catch(V){P=Q,l.error=V}finally{z(l,_)}u!==ie&&u!==Q&&P!==Q&&l.equal(u,P)?l.value=u:(l.value=P,l.version++)}};let te=function pe(){throw new Error};function ae(){te()}let de=null;function Le(l,u){w()||ae(),l.equal(l.value,u)||(l.value=u,function Pe(l){l.version++,function L(){m++}(),C(l),de?.()}(l))}const Xe={...I,equal:n,value:void 0};const ze=()=>{},Be={...I,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:l=>{null!==l.schedule&&l.schedule(l.ref)},hasRun:!1,cleanupFn:ze};var Ct=s(84412),Lt=s(21413),Vt=s(18359),ht=s(96354),gt=s(61594);typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Ia="https://g.co/ng/security#xss";class Vs extends Error{constructor(u,_){super(Ar(u,_)),this.code=u}}function Ar(l,u){return`NG0${Math.abs(l)}${u?": "+u:""}`}function tr(l){return{toString:l}.toString()}const yr="__annotations__",kr="__parameters__",Uo="__prop__metadata__";function sr(l,u,_,P,V){return tr(()=>{const ce=J1(u);function Ce(...et){if(this instanceof Ce)return ce.call(this,...et),this;const Tt=new Ce(...et);return function(On){return V&&V(On,...et),(On.hasOwnProperty(yr)?On[yr]:Object.defineProperty(On,yr,{value:[]})[yr]).push(Tt),P&&P(On),On}}return _&&(Ce.prototype=Object.create(_.prototype)),Ce.prototype.ngMetadataName=l,Ce.annotationCls=Ce,Ce})}function J1(l){return function(..._){if(l){const P=l(..._);for(const V in P)this[V]=P[V]}}}function uo(l,u,_){return tr(()=>{const P=J1(u);function V(...ce){if(this instanceof V)return P.apply(this,ce),this;const Ce=new V(...ce);return et.annotation=Ce,et;function et(Tt,en,On){const ai=Tt.hasOwnProperty(kr)?Tt[kr]:Object.defineProperty(Tt,kr,{value:[]})[kr];for(;ai.length<=On;)ai.push(null);return(ai[On]=ai[On]||[]).push(Ce),Tt}}return _&&(V.prototype=Object.create(_.prototype)),V.prototype.ngMetadataName=l,V.annotationCls=V,V})}function Dl(l,u,_,P){return tr(()=>{const V=J1(u);function ce(...Ce){if(this instanceof ce)return V.apply(this,Ce),this;const et=new ce(...Ce);return function Tt(en,On){if(void 0===en)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const ai=en.constructor,Ni=ai.hasOwnProperty(Uo)?ai[Uo]:Object.defineProperty(ai,Uo,{value:{}})[Uo];Ni[On]=Ni.hasOwnProperty(On)&&Ni[On]||[],Ni[On].unshift(et),P&&P(en,On,...Ce)}}return _&&(ce.prototype=Object.create(_.prototype)),ce.prototype.ngMetadataName=l,ce.annotationCls=ce,ce})}const mo=globalThis;function Nr(l){for(let u in l)if(l[u]===Nr)return u;throw Error("Could not find renamed property on target object.")}function Pl(l,u){for(const _ in u)u.hasOwnProperty(_)&&!l.hasOwnProperty(_)&&(l[_]=u[_])}function ra(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(ra).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return`${l.overriddenName}`;if(l.name)return`${l.name}`;const u=l.toString();if(null==u)return""+u;const _=u.indexOf("\n");return-1===_?u:u.substring(0,_)}function ul(l,u){return null==l||""===l?null===u?"":u:null==u||""===u?l:l+" "+u}const hc=Nr({__forward_ref__:Nr});function Dr(l){return l.__forward_ref__=Dr,l.toString=function(){return ra(this())},l}function Jo(l){return W1(l)?l():l}function W1(l){return"function"==typeof l&&l.hasOwnProperty(hc)&&l.__forward_ref__===Dr}function z1(l,u,_){l!=u&&function Eo(l,u,_,P){throw new Error(`ASSERTION ERROR: ${l}`+(null==P?"":` [Expected=> ${_} ${P} ${u} <=Actual]`))}(_,l,u,"==")}function So(l){return{token:l.token,providedIn:l.providedIn||null,factory:l.factory,value:void 0}}function e1(l){return{providers:l.providers||[],imports:l.imports||[]}}function jl(l){return ba(l,fc)||ba(l,Il)}function Zl(l){return null!==jl(l)}function ba(l,u){return l.hasOwnProperty(u)?l[u]:null}function Pr(l){return l&&(l.hasOwnProperty(I0)||l.hasOwnProperty(Yr))?l[I0]:null}const fc=Nr({\u0275prov:Nr}),I0=Nr({\u0275inj:Nr}),Il=Nr({ngInjectableDef:Nr}),Yr=Nr({ngInjectorDef:Nr});class Io{constructor(u,_){this._desc=u,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof _?this.__NG_ELEMENT_ID__=_:void 0!==_&&(this.\u0275prov=So({token:this,providedIn:_.providedIn||"root",factory:_.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function R0(l){return l&&!!l.\u0275providers}const $a=Nr({\u0275cmp:Nr}),Ra=Nr({\u0275dir:Nr}),o0=Nr({\u0275pipe:Nr}),pl=Nr({\u0275mod:Nr}),B0=Nr({\u0275fac:Nr}),M1=Nr({__NG_ELEMENT_ID__:Nr}),Gr=Nr({__NG_ENV_ID__:Nr});function xo(l){return"string"==typeof l?l:null==l?"":String(l)}function rr(l){return"function"==typeof l?l.name||l.toString():"object"==typeof l&&null!=l&&"function"==typeof l.type?l.type.name||l.type.toString():xo(l)}function hl(l,u){throw new Vs(-201,!1)}var hr=function(l){return l[l.Default=0]="Default",l[l.Host=1]="Host",l[l.Self=2]="Self",l[l.SkipSelf=4]="SkipSelf",l[l.Optional=8]="Optional",l}(hr||{});let Ul;function t1(){return Ul}function L0(l){const u=Ul;return Ul=l,u}function Ll(l,u,_){const P=jl(l);return P&&"root"==P.providedIn?void 0===P.value?P.value=P.factory():P.value:_&hr.Optional?null:void 0!==u?u:void hl()}const fl={},N1="__NG_DI_FLAG__",bt="ngTempTokenPath",kt=/\n/gm,si="__source";let is;function Xs(l){const u=is;return is=l,u}function jr(l,u=hr.Default){if(void 0===is)throw new Vs(-203,!1);return null===is?Ll(l,void 0,u):is.get(l,u&hr.Optional?null:void 0,u)}function Mr(l,u=hr.Default){return(t1()||jr)(Jo(l),u)}function Rs(l,u=hr.Default){return Mr(l,fr(u))}function fr(l){return typeof l>"u"||"number"==typeof l?l:(l.optional&&8)|(l.host&&1)|(l.self&&2)|(l.skipSelf&&4)}function Fo(l){const u=[];for(let _=0;_<l.length;_++){const P=Jo(l[_]);if(Array.isArray(P)){if(0===P.length)throw new Vs(900,!1);let V,ce=hr.Default;for(let Ce=0;Ce<P.length;Ce++){const et=P[Ce],Tt=E0(et);"number"==typeof Tt?-1===Tt?V=et.token:ce|=Tt:V=et}u.push(Mr(V,ce))}else u.push(Mr(P))}return u}function Va(l,u){return l[N1]=u,l.prototype[N1]=u,l}function E0(l){return l[N1]}const ta=Va(uo("Inject",l=>({token:l})),-1),Ja=Va(uo("Optional"),8),ir=Va(uo("Self"),2),la=Va(uo("SkipSelf"),4),c1=Va(uo("Host"),1);function j1(l,u){return l.hasOwnProperty(B0)?l[B0]:null}function S0(l){return l.flat(Number.POSITIVE_INFINITY)}function ql(l,u){l.forEach(_=>Array.isArray(_)?ql(_,u):u(_))}function Z1(l,u,_){u>=l.length?l.push(_):l.splice(u,0,_)}function el(l,u){return u>=l.length-1?l.pop():l.splice(u,1)[0]}function wl(l,u){const _=[];for(let P=0;P<l;P++)_.push(u);return _}function Oa(l,u,_){const P=l.length-_;for(;u<P;)l[u]=l[u+_],u++;for(;_--;)l.pop()}function ec(l,u,_,P){let V=l.length;if(V==u)l.push(_,P);else if(1===V)l.push(P,l[0]),l[0]=_;else{for(V--,l.push(l[V-1],l[V]);V>u;)l[V]=l[V-2],V--;l[u]=_,l[u+1]=P}}function s1(l,u,_){let P=X0(l,u);return P>=0?l[1|P]=_:(P=~P,ec(l,P,u,_)),P}function $l(l,u){const _=X0(l,u);if(_>=0)return l[1|_]}function X0(l,u){return function Nl(l,u,_){let P=0,V=l.length>>_;for(;V!==P;){const ce=P+(V-P>>1),Ce=l[ce<<_];if(u===Ce)return ce<<_;Ce>u?V=ce:P=ce+1}return~(V<<_)}(l,u,1)}const u1={},Fr=[],a0=new Io(""),Ru=new Io("",-1),Uc=new Io("");class f0{get(u,_=fl){if(_===fl){const P=new Error(`NullInjectorError: No provider for ${ra(u)}!`);throw P.name="NullInjectorError",P}return _}}var qr=function(l){return l[l.OnPush=0]="OnPush",l[l.Default=1]="Default",l}(qr||{}),tc=function(l){return l[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",l}(tc||{}),D1=function(l){return l[l.None=0]="None",l[l.SignalBased=1]="SignalBased",l[l.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",l}(D1||{});function Gc(l,u,_){let P=l.length;for(;;){const V=l.indexOf(u,_);if(-1===V)return V;if(0===V||l.charCodeAt(V-1)<=32){const ce=u.length;if(V+ce===P||l.charCodeAt(V+ce)<=32)return V}_=V+1}}function P1(l,u,_){let P=0;for(;P<_.length;){const V=_[P];if("number"==typeof V){if(0!==V)break;P++;const ce=_[P++],Ce=_[P++],et=_[P++];l.setAttribute(u,Ce,et,ce)}else{const ce=V,Ce=_[++P];mc(ce)?l.setProperty(u,ce,Ce):l.setAttribute(u,ce,Ce),P++}}return P}function xl(l){return 3===l||4===l||6===l}function mc(l){return 64===l.charCodeAt(0)}function nc(l,u){if(null!==u&&0!==u.length)if(null===l||0===l.length)l=u.slice();else{let _=-1;for(let P=0;P<u.length;P++){const V=u[P];"number"==typeof V?_=V:0===_||o1(l,_,V,null,-1===_||2===_?u[++P]:null)}}return l}function o1(l,u,_,P,V){let ce=0,Ce=l.length;if(-1===u)Ce=-1;else for(;ce<l.length;){const et=l[ce++];if("number"==typeof et){if(et===u){Ce=-1;break}if(et>u){Ce=ce-1;break}}}for(;ce<l.length;){const et=l[ce];if("number"==typeof et)break;if(et===_){if(null===P)return void(null!==V&&(l[ce+1]=V));if(P===l[ce+1])return void(l[ce+2]=V)}ce++,null!==P&&ce++,null!==V&&ce++}-1!==Ce&&(l.splice(Ce,0,u),ce=Ce+1),l.splice(ce++,0,_),null!==P&&l.splice(ce++,0,P),null!==V&&l.splice(ce++,0,V)}const yl="ng-template";function _c(l,u,_,P){let V=0;if(P){for(;V<u.length&&"string"==typeof u[V];V+=2)if("class"===u[V]&&-1!==Gc(u[V+1].toLowerCase(),_,0))return!0}else if(l0(l))return!1;if(V=u.indexOf(1,V),V>-1){let ce;for(;++V<u.length&&"string"==typeof(ce=u[V]);)if(ce.toLowerCase()===_)return!0}return!1}function l0(l){return 4===l.type&&l.value!==yl}function qc(l,u,_){return u===(4!==l.type||_?l.value:yl)}function cu(l,u,_){let P=4;const V=l.attrs,ce=null!==V?function wt(l){for(let u=0;u<l.length;u++)if(xl(l[u]))return u;return l.length}(V):0;let Ce=!1;for(let et=0;et<u.length;et++){const Tt=u[et];if("number"!=typeof Tt){if(!Ce)if(4&P){if(P=2|1&P,""!==Tt&&!qc(l,Tt,_)||""===Tt&&1===u.length){if(T0(P))return!1;Ce=!0}}else if(8&P){if(null===V||!_c(l,V,Tt,_)){if(T0(P))return!1;Ce=!0}}else{const en=u[++et],On=Js(Tt,V,l0(l),_);if(-1===On){if(T0(P))return!1;Ce=!0;continue}if(""!==en){let ai;if(ai=On>ce?"":V[On+1].toLowerCase(),2&P&&en!==ai){if(T0(P))return!1;Ce=!0}}}}else{if(!Ce&&!T0(P)&&!T0(Tt))return!1;if(Ce&&T0(Tt))continue;Ce=!1,P=Tt|1&P}}return T0(P)||Ce}function T0(l){return!(1&l)}function Js(l,u,_,P){if(null===u)return-1;let V=0;if(P||!_){let ce=!1;for(;V<u.length;){const Ce=u[V];if(Ce===l)return V;if(3===Ce||6===Ce)ce=!0;else{if(1===Ce||2===Ce){let et=u[++V];for(;"string"==typeof et;)et=u[++V];continue}if(4===Ce)break;if(0===Ce){V+=4;continue}}V+=ce?1:2}return-1}return function ct(l,u){let _=l.indexOf(4);if(_>-1)for(_++;_<l.length;){const P=l[_];if("number"==typeof P)return-1;if(P===u)return _;_++}return-1}(u,l)}function Vl(l,u,_=!1){for(let P=0;P<u.length;P++)if(cu(l,u[P],_))return!0;return!1}function Nt(l,u){e:for(let _=0;_<u.length;_++){const P=u[_];if(l.length===P.length){for(let V=0;V<l.length;V++)if(l[V]!==P[V])continue e;return!0}}return!1}function pn(l,u){return l?":not("+u.trim()+")":u}function Vn(l){let u=l[0],_=1,P=2,V="",ce=!1;for(;_<l.length;){let Ce=l[_];if("string"==typeof Ce)if(2&P){const et=l[++_];V+="["+Ce+(et.length>0?'="'+et+'"':"")+"]"}else 8&P?V+="."+Ce:4&P&&(V+=" "+Ce);else""!==V&&!T0(Ce)&&(u+=pn(ce,V),V=""),P=Ce,ce=ce||!T0(P);_++}return""!==V&&(u+=pn(ce,V)),u}function De(l){return tr(()=>{const u=G(l),_={...u,decls:l.decls,vars:l.vars,template:l.template,consts:l.consts||null,ngContentSelectors:l.ngContentSelectors,onPush:l.changeDetection===qr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:u.standalone&&l.dependencies||null,getStandaloneInjector:null,signals:l.signals??!1,data:l.data||{},encapsulation:l.encapsulation||tc.Emulated,styles:l.styles||Fr,_:null,schemas:l.schemas||null,tView:null,id:""};se(_);const P=l.dependencies;return _.directiveDefs=ue(P,!1),_.pipeDefs=ue(P,!0),_.id=function Ke(l){let u=0;const _=[l.selectors,l.ngContentSelectors,l.hostVars,l.hostAttrs,l.consts,l.vars,l.decls,l.encapsulation,l.standalone,l.signals,l.exportAs,JSON.stringify(l.inputs),JSON.stringify(l.outputs),Object.getOwnPropertyNames(l.type.prototype),!!l.contentQueries,!!l.viewQuery].join("|");for(const V of _)u=Math.imul(31,u)+V.charCodeAt(0)|0;return u+=2147483648,"c"+u}(_),_})}function Pt(l){return to(l)||Er(l)}function mt(l){return null!==l}function pi(l){return tr(()=>({type:l.type,bootstrap:l.bootstrap||Fr,declarations:l.declarations||Fr,imports:l.imports||Fr,exports:l.exports||Fr,transitiveCompileScopes:null,schemas:l.schemas||null,id:l.id||null}))}function Ls(l,u){if(null==l)return u1;const _={};for(const P in l)if(l.hasOwnProperty(P)){const V=l[P];let ce,Ce,et=D1.None;Array.isArray(V)?(et=V[0],ce=V[1],Ce=V[2]??ce):(ce=V,Ce=V),u?(_[ce]=et!==D1.None?[P,et]:P,u[ce]=Ce):_[ce]=P}return _}function lo(l){return tr(()=>{const u=G(l);return se(u),u})}function Ro(l){return{type:l.type,name:l.name,factory:null,pure:!1!==l.pure,standalone:!0===l.standalone,onDestroy:l.type.prototype.ngOnDestroy||null}}function to(l){return l[$a]||null}function Er(l){return l[Ra]||null}function Xr(l){return l[o0]||null}function C0(l){const u=to(l)||Er(l)||Xr(l);return null!==u&&u.standalone}function S(l,u){const _=l[pl]||null;if(!_&&!0===u)throw new Error(`Type ${ra(l)} does not have '\u0275mod' property.`);return _}function G(l){const u={};return{type:l.type,providersResolver:null,factory:null,hostBindings:l.hostBindings||null,hostVars:l.hostVars||0,hostAttrs:l.hostAttrs||null,contentQueries:l.contentQueries||null,declaredInputs:u,inputTransforms:null,inputConfig:l.inputs||u1,exportAs:l.exportAs||null,standalone:!0===l.standalone,signals:!0===l.signals,selectors:l.selectors||Fr,viewQuery:l.viewQuery||null,features:l.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ls(l.inputs,u),outputs:Ls(l.outputs),debugInfo:null}}function se(l){l.features?.forEach(u=>u(l))}function ue(l,u){if(!l)return null;const _=u?Xr:Pt;return()=>("function"==typeof l?l():l).map(P=>_(P)).filter(mt)}function lt(l){return{\u0275providers:l}}function xt(...l){return{\u0275providers:vt(0,l),\u0275fromNgModule:!0}}function vt(l,...u){const _=[],P=new Set;let V;const ce=Ce=>{_.push(Ce)};return ql(u,Ce=>{const et=Ce;an(et,ce,[],P)&&(V||=[],V.push(et))}),void 0!==V&&$t(V,ce),_}function $t(l,u){for(let _=0;_<l.length;_++){const{ngModule:P,providers:V}=l[_];ti(V,ce=>{u(ce,P)})}}function an(l,u,_,P){if(!(l=Jo(l)))return!1;let V=null,ce=Pr(l);const Ce=!ce&&to(l);if(ce||Ce){if(Ce&&!Ce.standalone)return!1;V=l}else{const Tt=l.ngModule;if(ce=Pr(Tt),!ce)return!1;V=Tt}const et=P.has(V);if(Ce){if(et)return!1;if(P.add(V),Ce.dependencies){const Tt="function"==typeof Ce.dependencies?Ce.dependencies():Ce.dependencies;for(const en of Tt)an(en,u,_,P)}}else{if(!ce)return!1;{if(null!=ce.imports&&!et){let en;P.add(V);try{ql(ce.imports,On=>{an(On,u,_,P)&&(en||=[],en.push(On))})}finally{}void 0!==en&&$t(en,u)}if(!et){const en=j1(V)||(()=>new V);u({provide:V,useFactory:en,deps:Fr},V),u({provide:Uc,useValue:V,multi:!0},V),u({provide:a0,useValue:()=>Mr(V),multi:!0},V)}const Tt=ce.providers;if(null!=Tt&&!et){const en=l;ti(Tt,On=>{u(On,en)})}}}return V!==l&&void 0!==l.providers}function ti(l,u){for(let _ of l)R0(_)&&(_=_.\u0275providers),Array.isArray(_)?ti(_,u):u(_)}const Ti=Nr({provide:String,useValue:Nr});function Ri(l){return null!==l&&"object"==typeof l&&Ti in l}function Ws(l){return"function"==typeof l}const ro=new Io(""),Bo={},Xo={};let ar;function Wr(){return void 0===ar&&(ar=new f0),ar}class mr{}class $r extends mr{get destroyed(){return this._destroyed}constructor(u,_,P,V){super(),this.parent=_,this.source=P,this.scopes=V,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,An(u,Ce=>this.processProvider(Ce)),this.records.set(Ru,it(void 0,this)),V.has("environment")&&this.records.set(mr,it(void 0,this));const ce=this.records.get(ro);null!=ce&&"string"==typeof ce.value&&this.scopes.add(ce.value),this.injectorDefTypes=new Set(this.get(Uc,Fr,hr.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const u=O(null);try{for(const P of this._ngOnDestroyHooks)P.ngOnDestroy();const _=this._onDestroyHooks;this._onDestroyHooks=[];for(const P of _)P()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),O(u)}}onDestroy(u){return this.assertNotDestroyed(),this._onDestroyHooks.push(u),()=>this.removeOnDestroy(u)}runInContext(u){this.assertNotDestroyed();const _=Xs(this),P=L0(void 0);try{return u()}finally{Xs(_),L0(P)}}get(u,_=fl,P=hr.Default){if(this.assertNotDestroyed(),u.hasOwnProperty(Gr))return u[Gr](this);P=fr(P);const ce=Xs(this),Ce=L0(void 0);try{if(!(P&hr.SkipSelf)){let Tt=this.records.get(u);if(void 0===Tt){const en=function qt(l){return"function"==typeof l||"object"==typeof l&&l instanceof Io}(u)&&jl(u);Tt=en&&this.injectableDefInScope(en)?it(va(u),Bo):null,this.records.set(u,Tt)}if(null!=Tt)return this.hydrate(u,Tt)}return(P&hr.Self?Wr():this.parent).get(u,_=P&hr.Optional&&_===fl?null:_)}catch(et){if("NullInjectorError"===et.name){if((et[bt]=et[bt]||[]).unshift(ra(u)),ce)throw et;return function k1(l,u,_,P){const V=l[bt];throw u[si]&&V.unshift(u[si]),l.message=function n1(l,u,_,P=null){l=l&&"\n"===l.charAt(0)&&"\u0275"==l.charAt(1)?l.slice(2):l;let V=ra(u);if(Array.isArray(u))V=u.map(ra).join(" -> ");else if("object"==typeof u){let ce=[];for(let Ce in u)if(u.hasOwnProperty(Ce)){let et=u[Ce];ce.push(Ce+":"+("string"==typeof et?JSON.stringify(et):ra(et)))}V=`{${ce.join(", ")}}`}return`${_}${P?"("+P+")":""}[${V}]: ${l.replace(kt,"\n  ")}`}("\n"+l.message,V,_,P),l.ngTokenPath=V,l[bt]=null,l}(et,u,"R3InjectorError",this.source)}throw et}finally{L0(Ce),Xs(ce)}}resolveInjectorInitializers(){const u=O(null),_=Xs(this),P=L0(void 0);try{const ce=this.get(a0,Fr,hr.Self);for(const Ce of ce)Ce()}finally{Xs(_),L0(P),O(u)}}toString(){const u=[],_=this.records;for(const P of _.keys())u.push(ra(P));return`R3Injector[${u.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Vs(205,!1)}processProvider(u){let _=Ws(u=Jo(u))?u:Jo(u&&u.provide);const P=function K0(l){return Ri(l)?it(void 0,l.useValue):it(yt(l),Bo)}(u);if(!Ws(u)&&!0===u.multi){let V=this.records.get(_);V||(V=it(void 0,Bo,!0),V.factory=()=>Fo(V.multi),this.records.set(_,V)),_=u,V.multi.push(u)}this.records.set(_,P)}hydrate(u,_){const P=O(null);try{return _.value===Bo&&(_.value=Xo,_.value=_.factory()),"object"==typeof _.value&&_.value&&function dt(l){return null!==l&&"object"==typeof l&&"function"==typeof l.ngOnDestroy}(_.value)&&this._ngOnDestroyHooks.add(_.value),_.value}finally{O(P)}}injectableDefInScope(u){if(!u.providedIn)return!1;const _=Jo(u.providedIn);return"string"==typeof _?"any"===_||this.scopes.has(_):this.injectorDefTypes.has(_)}removeOnDestroy(u){const _=this._onDestroyHooks.indexOf(u);-1!==_&&this._onDestroyHooks.splice(_,1)}}function va(l){const u=jl(l),_=null!==u?u.factory:j1(l);if(null!==_)return _;if(l instanceof Io)throw new Vs(204,!1);if(l instanceof Function)return function r1(l){if(l.length>0)throw new Vs(204,!1);const _=function qa(l){return l&&(l[fc]||l[Il])||null}(l);return null!==_?()=>_.factory(l):()=>new l}(l);throw new Vs(204,!1)}function yt(l,u,_){let P;if(Ws(l)){const V=Jo(l);return j1(V)||va(V)}if(Ri(l))P=()=>Jo(l.useValue);else if(function ts(l){return!(!l||!l.useFactory)}(l))P=()=>l.useFactory(...Fo(l.deps||[]));else if(function Bi(l){return!(!l||!l.useExisting)}(l))P=()=>Mr(Jo(l.useExisting));else{const V=Jo(l&&(l.useClass||l.provide));if(!function we(l){return!!l.deps}(l))return j1(V)||va(V);P=()=>new V(...Fo(l.deps))}return P}function it(l,u,_=!1){return{factory:l,value:u,multi:_?[]:void 0}}function An(l,u){for(const _ of l)Array.isArray(_)?An(_,u):_&&R0(_)?An(_.\u0275providers,u):u(_)}function he(l,u){l instanceof $r&&l.assertNotDestroyed();const P=Xs(l),V=L0(void 0);try{return u()}finally{Xs(P),L0(V)}}function xe(){return void 0!==t1()||null!=function bs(){return is}()}function Et(l){if(!xe())throw new Vs(-203,!1)}function Yi(l){const u=mo.ng;if(u&&u.\u0275compilerFacade)return u.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Ds=Function;function ho(l){return"function"==typeof l}const Aa=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Ba=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,J0=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,U1=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Vu{constructor(u){this._reflect=u||mo.Reflect}factory(u){return(..._)=>new u(..._)}_zipTypesAndAnnotations(u,_){let P;P=wl(typeof u>"u"?_.length:u.length);for(let V=0;V<P.length;V++)P[V]=typeof u>"u"?[]:u[V]&&u[V]!=Object?[u[V]]:[],_&&null!=_[V]&&(P[V]=P[V].concat(_[V]));return P}_ownParameters(u,_){if(function gc(l){return Aa.test(l)||U1.test(l)||Ba.test(l)&&!J0.test(l)}(u.toString()))return null;if(u.parameters&&u.parameters!==_.parameters)return u.parameters;const V=u.ctorParameters;if(V&&V!==_.ctorParameters){const et="function"==typeof V?V():V,Tt=et.map(On=>On&&On.type),en=et.map(On=>On&&Zc(On.decorators));return this._zipTypesAndAnnotations(Tt,en)}const ce=u.hasOwnProperty(kr)&&u[kr],Ce=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",u);return Ce||ce?this._zipTypesAndAnnotations(Ce,ce):wl(u.length)}parameters(u){if(!ho(u))return[];const _=U0(u);let P=this._ownParameters(u,_);return!P&&_!==Object&&(P=this.parameters(_)),P||[]}_ownAnnotations(u,_){if(u.annotations&&u.annotations!==_.annotations){let P=u.annotations;return"function"==typeof P&&P.annotations&&(P=P.annotations),P}return u.decorators&&u.decorators!==_.decorators?Zc(u.decorators):u.hasOwnProperty(yr)?u[yr]:null}annotations(u){if(!ho(u))return[];const _=U0(u),P=this._ownAnnotations(u,_)||[];return(_!==Object?this.annotations(_):[]).concat(P)}_ownPropMetadata(u,_){if(u.propMetadata&&u.propMetadata!==_.propMetadata){let P=u.propMetadata;return"function"==typeof P&&P.propMetadata&&(P=P.propMetadata),P}if(u.propDecorators&&u.propDecorators!==_.propDecorators){const P=u.propDecorators,V={};return Object.keys(P).forEach(ce=>{V[ce]=Zc(P[ce])}),V}return u.hasOwnProperty(Uo)?u[Uo]:null}propMetadata(u){if(!ho(u))return{};const _=U0(u),P={};if(_!==Object){const ce=this.propMetadata(_);Object.keys(ce).forEach(Ce=>{P[Ce]=ce[Ce]})}const V=this._ownPropMetadata(u,_);return V&&Object.keys(V).forEach(ce=>{const Ce=[];P.hasOwnProperty(ce)&&Ce.push(...P[ce]),Ce.push(...V[ce]),P[ce]=Ce}),P}ownPropMetadata(u){return ho(u)&&this._ownPropMetadata(u,U0(u))||{}}hasLifecycleHook(u,_){return u instanceof Ds&&_ in u.prototype}}function Zc(l){return l?l.map(u=>new(0,u.type.annotationCls)(...u.args?u.args:[])):[]}function U0(l){const u=l.prototype?Object.getPrototypeOf(l.prototype):null;return(u?u.constructor:null)||Object}const ca=0,Zs=1,Go=2,zo=3,lr=4,Vo=5,As=6,Kr=7,Ns=8,Mo=9,Qo=10,Hs=11,ua=12,bc=13,O1=14,r0=15,c0=16,Qa=17,w0=18,Za=19,Fl=20,ml=21,Ou=22,_l=23,vo=25,Lu=1,tl=7,a1=9,z0=10;var ud=function(l){return l[l.None=0]="None",l[l.HasTransplantedViews=2]="HasTransplantedViews",l}(ud||{});function t0(l){return Array.isArray(l)&&"object"==typeof l[Lu]}function $c(l){return Array.isArray(l)&&!0===l[Lu]}function Hu(l){return!!(4&l.flags)}function eu(l){return l.componentOffset>-1}function ic(l){return!(1&~l.flags)}function Q0(l){return!!l.template}function I1(l){return!!(512&l[Go])}function Lc(l){return!(256&~l[Go])}class sh{constructor(u,_,P){this.previousValue=u,this.currentValue=_,this.firstChange=P}isFirstChange(){return this.firstChange}}function Fp(l,u,_,P){null!==u?u.applyValueToInputSignal(u,P):l[_]=P}function Sd(){return dp}function dp(l){return l.type.prototype.ngOnChanges&&(l.setInput=pu),du}function du(){const l=hp(this),u=l?.current;if(u){const _=l.previous;if(_===u1)l.previous=u;else for(let P in u)_[P]=u[P];l.current=null,this.ngOnChanges(u)}}function pu(l,u,_,P,V){const ce=this.declaredInputs[P],Ce=hp(l)||function _f(l,u){return l[pp]=u}(l,{previous:u1,current:null}),et=Ce.current||(Ce.current={}),Tt=Ce.previous,en=Tt[ce];et[ce]=new sh(en&&en.currentValue,_,Tt===u1),Fp(l,u,V,_)}Sd.ngInherit=!0;const pp="__ngSimpleChanges__";function hp(l){return l[pp]||null}const hu=function(l,u,_){},yc="svg";function _o(l){for(;Array.isArray(l);)l=l[ca];return l}function m0(l,u){return _o(u[l])}function N0(l,u){return _o(u[l.index])}function Hc(l,u){return l.data[u]}function oc(l,u){return l[u]}function _0(l,u){const _=u[l];return t0(_)?_:_[ca]}function fu(l){return!(128&~l[Go])}function na(l,u){return null==u?null:l[u]}function fp(l){l[Qa]=0}function rh(l){1024&l[Go]||(l[Go]|=1024,fu(l)&&Ku(l))}function Td(l,u){for(;l>0;)u=u[O1],l--;return u}function mp(l){return!!(9216&l[Go]||l[_l]?.dirty)}function _p(l){l[Qo].changeDetectionScheduler?.notify(7),64&l[Go]&&(l[Go]|=1024),mp(l)&&Ku(l)}function Ku(l){l[Qo].changeDetectionScheduler?.notify(0);let u=rc(l);for(;null!==u&&!(8192&u[Go])&&(u[Go]|=8192,fu(u));)u=rc(u)}function Bp(l,u){if(!(256&~l[Go]))throw new Vs(911,!1);null===l[ml]&&(l[ml]=[]),l[ml].push(u)}function Xd(l,u){if(null===l[ml])return;const _=l[ml].indexOf(u);-1!==_&&l[ml].splice(_,1)}function rc(l){const u=l[zo];return $c(u)?u[zo]:u}const _r={lFrame:tt(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let gp=!1;function lh(){return _r.bindingsEnabled}function Au(){return null!==_r.skipHydrationRootTNode}function ws(){return _r.lFrame.lView}function La(){return _r.lFrame.tView}function Bh(l){return _r.lFrame.contextLView=l,l[Ns]}function Ju(l){return _r.lFrame.contextLView=null,l}function q0(){let l=kp();for(;null!==l&&64===l.type;)l=l.parent;return l}function kp(){return _r.lFrame.currentTNode}function Qd(){const l=_r.lFrame,u=l.currentTNode;return l.isParent?u:u.parent}function d1(l,u){const _=_r.lFrame;_.currentTNode=l,_.isParent=u}function Mp(){return _r.lFrame.isParent}function wc(){_r.lFrame.isParent=!1}function zd(){return _r.lFrame.contextLView}function mu(){return gp}function bf(l){gp=l}function Nc(){const l=_r.lFrame;let u=l.bindingRootIndex;return-1===u&&(u=l.bindingRootIndex=l.tView.bindingStartIndex),u}function El(){return _r.lFrame.bindingIndex}function Z0(l){return _r.lFrame.bindingIndex=l}function yu(){return _r.lFrame.bindingIndex++}function md(l){const u=_r.lFrame,_=u.bindingIndex;return u.bindingIndex=u.bindingIndex+l,_}function dh(l){_r.lFrame.inI18n=l}function io(l,u){const _=_r.lFrame;_.bindingIndex=_.bindingRootIndex=l,nu(u)}function nu(l){_r.lFrame.currentDirectiveIndex=l}function Sl(l){const u=_r.lFrame.currentDirectiveIndex;return-1===u?null:l[u]}function q1(){return _r.lFrame.currentQueryIndex}function Wu(l){_r.lFrame.currentQueryIndex=l}function _e(l){const u=l[Zs];return 2===u.type?u.declTNode:1===u.type?l[Vo]:null}function At(l,u,_){if(_&hr.SkipSelf){let V=u,ce=l;for(;!(V=V.parent,null!==V||_&hr.Host||(V=_e(ce),null===V||(ce=ce[O1],10&V.type))););if(null===V)return!1;u=V,l=ce}const P=_r.lFrame=Ee();return P.currentTNode=u,P.lView=l,!0}function oe(l){const u=Ee(),_=l[Zs];_r.lFrame=u,u.currentTNode=_.firstChild,u.lView=l,u.tView=_,u.contextLView=l,u.bindingIndex=_.bindingStartIndex,u.inI18n=!1}function Ee(){const l=_r.lFrame,u=null===l?null:l.child;return null===u?tt(l):u}function tt(l){const u={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:l,child:null,inI18n:!1};return null!==l&&(l.child=u),u}function mn(){const l=_r.lFrame;return _r.lFrame=l.parent,l.currentTNode=null,l.lView=null,l}const $n=mn;function qi(){const l=mn();l.isParent=!0,l.tView=null,l.selectedIndex=-1,l.contextLView=null,l.elementDepthCount=0,l.currentDirectiveIndex=-1,l.currentNamespace=null,l.bindingRootIndex=-1,l.bindingIndex=-1,l.currentQueryIndex=0}function Zi(){return _r.lFrame.selectedIndex}function fs(l){_r.lFrame.selectedIndex=l}function eo(){const l=_r.lFrame;return Hc(l.tView,l.selectedIndex)}function po(){_r.lFrame.currentNamespace=yc}function ya(){!function Sr(){_r.lFrame.currentNamespace=null}()}let Ha=!0;function da(){return Ha}function u0(l){Ha=l}function ia(l,u){for(let _=u.directiveStart,P=u.directiveEnd;_<P;_++){const ce=l.data[_].type.prototype,{ngAfterContentInit:Ce,ngAfterContentChecked:et,ngAfterViewInit:Tt,ngAfterViewChecked:en,ngOnDestroy:On}=ce;Ce&&(l.contentHooks??=[]).push(-_,Ce),et&&((l.contentHooks??=[]).push(_,et),(l.contentCheckHooks??=[]).push(_,et)),Tt&&(l.viewHooks??=[]).push(-_,Tt),en&&((l.viewHooks??=[]).push(_,en),(l.viewCheckHooks??=[]).push(_,en)),null!=On&&(l.destroyHooks??=[]).push(_,On)}}function d0(l,u,_){Ps(l,u,3,_)}function v1(l,u,_,P){(3&l[Go])===_&&Ps(l,u,_,P)}function x0(l,u){let _=l[Go];(3&_)===u&&(_&=16383,_+=1,l[Go]=_)}function Ps(l,u,_,P){const ce=P??-1,Ce=u.length-1;let et=0;for(let Tt=void 0!==P?65535&l[Qa]:0;Tt<Ce;Tt++)if("number"==typeof u[Tt+1]){if(et=u[Tt],null!=P&&et>=P)break}else u[Tt]<0&&(l[Qa]+=65536),(et<ce||-1==ce)&&(pr(l,_,u,Tt),l[Qa]=(4294901760&l[Qa])+Tt+2),Tt++}function F0(l,u){hu(4,l,u);const _=O(null);try{u.call(l)}finally{O(_),hu(5,l,u)}}function pr(l,u,_,P){const V=_[P]<0,ce=_[P+1],et=l[V?-_[P]:_[P]];V?l[Go]>>14<l[Qa]>>16&&(3&l[Go])===u&&(l[Go]+=16384,F0(et,ce)):F0(et,ce)}const g0=-1;class $0{constructor(u,_,P){this.factory=u,this.resolving=!1,this.canSeeViewProviders=_,this.injectImpl=P}}const hh={};class _u{constructor(u,_){this.injector=u,this.parentInjector=_}get(u,_,P){P=fr(P);const V=this.injector.get(u,hh,P);return V!==hh||_===hh?V:this.parentInjector.get(u,_,P)}}function Dd(l){return l!==g0}function Qu(l){return 32767&l}function Kc(l,u){let _=function Bu(l){return l>>16}(l),P=u;for(;_>0;)P=P[O1],_--;return P}let ac=!0;function $1(l){const u=ac;return ac=l,u}const Up=255,Pd=5;let Bl=0;const Os={};function fh(l,u){const _=$f(l,u);if(-1!==_)return _;const P=u[Zs];P.firstCreatePass&&(l.injectorIndex=u.length,Gp(P.data,l),Gp(u,null),Gp(P.blueprint,null));const V=_d(l,u),ce=l.injectorIndex;if(Dd(V)){const Ce=Qu(V),et=Kc(V,u),Tt=et[Zs].data;for(let en=0;en<8;en++)u[ce+en]=et[Ce+en]|Tt[Ce+en]}return u[ce+8]=V,ce}function Gp(l,u){l.push(0,0,0,0,0,0,0,0,u)}function $f(l,u){return-1===l.injectorIndex||l.parent&&l.parent.injectorIndex===l.injectorIndex||null===u[l.injectorIndex+8]?-1:l.injectorIndex}function _d(l,u){if(l.parent&&-1!==l.parent.injectorIndex)return l.parent.injectorIndex;let _=0,P=null,V=u;for(;null!==V;){if(P=as(V),null===P)return g0;if(_++,V=V[O1],-1!==P.injectorIndex)return P.injectorIndex|_<<16}return g0}function gd(l,u,_){!function Gh(l,u,_){let P;"string"==typeof _?P=_.charCodeAt(0)||0:_.hasOwnProperty(M1)&&(P=_[M1]),null==P&&(P=_[M1]=Bl++);const V=P&Up;u.data[l+(V>>Pd)]|=1<<V}(l,u,_)}function Id(l,u,_){if(_&hr.Optional||void 0!==l)return l;hl()}function _h(l,u,_,P){if(_&hr.Optional&&void 0===P&&(P=null),!(_&(hr.Self|hr.Host))){const V=l[Mo],ce=L0(void 0);try{return V?V.get(u,P,_&hr.Optional):Ll(u,P,_&hr.Optional)}finally{L0(ce)}}return Id(P,0,_)}function bd(l,u,_,P=hr.Default,V){if(null!==l){if(2048&u[Go]&&!(P&hr.Self)){const Ce=function Zo(l,u,_,P,V){let ce=l,Ce=u;for(;null!==ce&&null!==Ce&&2048&Ce[Go]&&!(512&Ce[Go]);){const et=qp(ce,Ce,_,P|hr.Self,Os);if(et!==Os)return et;let Tt=ce.parent;if(!Tt){const en=Ce[Fl];if(en){const On=en.get(_,Os,P);if(On!==Os)return On}Tt=as(Ce),Ce=Ce[O1]}ce=Tt}return V}(l,u,_,P,Os);if(Ce!==Os)return Ce}const ce=qp(l,u,_,P,Os);if(ce!==Os)return ce}return _h(u,_,P,V)}function qp(l,u,_,P,V){const ce=function bm(l){if("string"==typeof l)return l.charCodeAt(0)||0;const u=l.hasOwnProperty(M1)?l[M1]:void 0;return"number"==typeof u?u>=0?u&Up:$m:u}(_);if("function"==typeof ce){if(!At(u,l,P))return P&hr.Host?Id(V,0,P):_h(u,_,P,V);try{let Ce;if(Ce=ce(P),null!=Ce||P&hr.Optional)return Ce;hl()}finally{$n()}}else if("number"==typeof ce){let Ce=null,et=$f(l,u),Tt=g0,en=P&hr.Host?u[r0][Vo]:null;for((-1===et||P&hr.SkipSelf)&&(Tt=-1===et?_d(l,u):u[et+8],Tt!==g0&&gh(P,!1)?(Ce=u[Zs],et=Qu(Tt),u=Kc(Tt,u)):et=-1);-1!==et;){const On=u[Zs];if(ku(ce,et,On.data)){const ai=qh(et,u,_,Ce,P,en);if(ai!==Os)return ai}Tt=u[et+8],Tt!==g0&&gh(P,u[Zs].data[et+8]===en)&&ku(ce,et,u)?(Ce=On,et=Qu(Tt),u=Kc(Tt,u)):et=-1}}return V}function qh(l,u,_,P,V,ce){const Ce=u[Zs],et=Ce.data[l+8],On=su(et,Ce,_,null==P?eu(et)&&ac:P!=Ce&&!!(3&et.type),V&hr.Host&&ce===et);return null!==On?Zu(u,Ce,On,et):Os}function su(l,u,_,P,V){const ce=l.providerIndexes,Ce=u.data,et=1048575&ce,Tt=l.directiveStart,On=ce>>20,Ni=V?et+On:l.directiveEnd;for(let ki=P?et:et+On;ki<Ni;ki++){const cs=Ce[ki];if(ki<Tt&&_===cs||ki>=Tt&&cs.type===_)return ki}if(V){const ki=Ce[Tt];if(ki&&Q0(ki)&&ki.type===_)return Tt}return null}function Zu(l,u,_,P){let V=l[_];const ce=u.data;if(function iu(l){return l instanceof $0}(V)){const Ce=V;Ce.resolving&&function Q1(l,u){throw u&&u.join(" > "),new Vs(-200,l)}(rr(ce[_]));const et=$1(Ce.canSeeViewProviders);Ce.resolving=!0;const en=Ce.injectImpl?L0(Ce.injectImpl):null;At(l,P,hr.Default);try{V=l[_]=Ce.factory(void 0,ce,l,P),u.firstCreatePass&&_>=P.directiveStart&&function Ca(l,u,_){const{ngOnChanges:P,ngOnInit:V,ngDoCheck:ce}=u.type.prototype;if(P){const Ce=dp(u);(_.preOrderHooks??=[]).push(l,Ce),(_.preOrderCheckHooks??=[]).push(l,Ce)}V&&(_.preOrderHooks??=[]).push(0-l,V),ce&&((_.preOrderHooks??=[]).push(l,ce),(_.preOrderCheckHooks??=[]).push(l,ce))}(_,ce[_],u)}finally{null!==en&&L0(en),$1(et),Ce.resolving=!1,$n()}}return V}function ku(l,u,_){return!!(_[u+(l>>Pd)]&1<<l)}function gh(l,u){return!(l&hr.Self||l&hr.Host&&u)}class Mc{constructor(u,_){this._tNode=u,this._lView=_}get(u,_,P){return bd(this._tNode,this._lView,u,fr(P),_)}}function $m(){return new Mc(q0(),ws())}function Zd(l){return tr(()=>{const u=l.prototype.constructor,_=u[B0]||Mh(u),P=Object.prototype;let V=Object.getPrototypeOf(l.prototype).constructor;for(;V&&V!==P;){const ce=V[B0]||Mh(V);if(ce&&ce!==_)return ce;V=Object.getPrototypeOf(V)}return ce=>new ce})}function Mh(l){return W1(l)?()=>{const u=Mh(Jo(l));return u&&u()}:j1(l)}function as(l){const u=l[Zs],_=u.type;return 2===_?u.declTNode:1===_?l[Vo]:null}function Mf(l){return function mh(l,u){if("class"===u)return l.classes;if("style"===u)return l.styles;const _=l.attrs;if(_){const P=_.length;let V=0;for(;V<P;){const ce=_[V];if(xl(ce))break;if(0===ce)V+=2;else if("number"==typeof ce)for(V++;V<P&&"string"==typeof _[V];)V++;else{if(ce===u)return _[V+1];V+=2}}}return null}(q0(),l)}const Vm=uo("Attribute",l=>({attributeName:l,__NG_ELEMENT_ID__:()=>Mf(l)}));let Mm=null;function xc(){return Mm=Mm||new Vu}function Ap(l){return function yp(l){return l.map(u=>function Oh(l){const u={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(l)&&l.length>0)for(let _=0;_<l.length;_++){const P=l[_];if(void 0===P)continue;const V=Object.getPrototypeOf(P);if(P instanceof Ja||"Optional"===V.ngMetadataName)u.optional=!0;else if(P instanceof la||"SkipSelf"===V.ngMetadataName)u.skipSelf=!0;else if(P instanceof ir||"Self"===V.ngMetadataName)u.self=!0;else if(P instanceof c1||"Host"===V.ngMetadataName)u.host=!0;else if(P instanceof ta)u.token=P.token;else if(P instanceof Vm){if(void 0===P.attributeName)throw new Vs(204,!1);u.attribute=P.attributeName}else u.token=P}else u.token=void 0===l||Array.isArray(l)&&0===l.length?null:l;return u}(u))}(xc().parameters(l))}function ve(l,u=null,_=null,P){const V=Ie(l,u,_,P);return V.resolveInjectorInitializers(),V}function Ie(l,u=null,_=null,P,V=new Set){const ce=[_||Fr,xt(l)];return P=P||("object"==typeof l?void 0:ra(l)),new $r(ce,u||Wr(),P||null,V)}class Fe{static#e=this.THROW_IF_NOT_FOUND=fl;static#t=this.NULL=new f0;static create(u,_){if(Array.isArray(u))return ve({name:""},_,u,"");{const P=u.name??"";return ve({name:P},u.parent,u.providers,P)}}static#n=this.\u0275prov=So({token:Fe,providedIn:"any",factory:()=>Mr(Ru)});static#i=this.__NG_ELEMENT_ID__=-1}new Io("").__NG_ELEMENT_ID__=l=>{const u=q0();if(null===u)throw new Vs(204,!1);if(2&u.type)return u.value;if(l&hr.Optional)return null;throw new Vs(204,!1)};function Zt(l){return l.ngOriginalError}let Mi=(()=>{class l{static#e=this.__NG_ELEMENT_ID__=Pi;static#t=this.__NG_ENV_ID__=_=>_}return l})();class Ki extends Mi{constructor(u){super(),this._lView=u}onDestroy(u){return Bp(this._lView,u),()=>Xd(this._lView,u)}}function Pi(){return new Ki(ws())}let hs=(()=>{class l{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ct.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const _=this.taskId++;return this.pendingTasks.add(_),_}remove(_){this.pendingTasks.delete(_),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=So({token:l,providedIn:"root",factory:()=>new l})}return l})();const Ts=class Es extends Lt.B{constructor(u=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=u,xe()&&(this.destroyRef=Rs(Mi,{optional:!0})??void 0,this.pendingTasks=Rs(hs,{optional:!0})??void 0)}emit(u){const _=O(null);try{super.next(u)}finally{O(_)}}subscribe(u,_,P){let V=u,ce=_||(()=>null),Ce=P;if(u&&"object"==typeof u){const Tt=u;V=Tt.next?.bind(Tt),ce=Tt.error?.bind(Tt),Ce=Tt.complete?.bind(Tt)}this.__isAsync&&(ce=this.wrapInTimeout(ce),V&&(V=this.wrapInTimeout(V)),Ce&&(Ce=this.wrapInTimeout(Ce)));const et=super.subscribe({next:V,error:ce,complete:Ce});return u instanceof Vt.yU&&u.add(et),et}wrapInTimeout(u){return _=>{const P=this.pendingTasks?.add();setTimeout(()=>{u(_),void 0!==P&&this.pendingTasks?.remove(P)})}}};function xs(...l){}function Gs(l){let u,_;function P(){l=xs;try{void 0!==_&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(_),void 0!==u&&clearTimeout(u)}catch{}}return u=setTimeout(()=>{l(),P()}),"function"==typeof requestAnimationFrame&&(_=requestAnimationFrame(()=>{l(),P()})),()=>P()}function no(l){return queueMicrotask(()=>l()),()=>{l=xs}}const oo="isAngularZone",ko=oo+"_ID";let A1=0;class sa{constructor({enableLongStackTrace:u=!1,shouldCoalesceEventChangeDetection:_=!1,shouldCoalesceRunChangeDetection:P=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ts(!1),this.onMicrotaskEmpty=new Ts(!1),this.onStable=new Ts(!1),this.onError=new Ts(!1),typeof Zone>"u")throw new Vs(908,!1);Zone.assertZonePatched();const V=this;V._nesting=0,V._outer=V._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(V._inner=V._inner.fork(new Zone.TaskTrackingZoneSpec)),u&&Zone.longStackTraceZoneSpec&&(V._inner=V._inner.fork(Zone.longStackTraceZoneSpec)),V.shouldCoalesceEventChangeDetection=!P&&_,V.shouldCoalesceRunChangeDetection=P,V.callbackScheduled=!1,function Vr(l){const u=()=>{!function Fc(l){l.isCheckStableRunning||l.callbackScheduled||(l.callbackScheduled=!0,Zone.root.run(()=>{Gs(()=>{l.callbackScheduled=!1,fo(l),l.isCheckStableRunning=!0,x1(l),l.isCheckStableRunning=!1})}),fo(l))}(l)},_=A1++;l._inner=l._inner.fork({name:"angular",properties:{[oo]:!0,[ko]:_,[ko+_]:!0},onInvokeTask:(P,V,ce,Ce,et,Tt)=>{if(function il(l){return lc(l,"__ignore_ng_zone__")}(Tt))return P.invokeTask(ce,Ce,et,Tt);try{return y1(l),P.invokeTask(ce,Ce,et,Tt)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===Ce.type||l.shouldCoalesceRunChangeDetection)&&u(),Ec(l)}},onInvoke:(P,V,ce,Ce,et,Tt,en)=>{try{return y1(l),P.invoke(ce,Ce,et,Tt,en)}finally{l.shouldCoalesceRunChangeDetection&&!l.callbackScheduled&&!function Ya(l){return lc(l,"__scheduler_tick__")}(Tt)&&u(),Ec(l)}},onHasTask:(P,V,ce,Ce)=>{P.hasTask(ce,Ce),V===ce&&("microTask"==Ce.change?(l._hasPendingMicrotasks=Ce.microTask,fo(l),x1(l)):"macroTask"==Ce.change&&(l.hasPendingMacrotasks=Ce.macroTask))},onHandleError:(P,V,ce,Ce)=>(P.handleError(ce,Ce),l.runOutsideAngular(()=>l.onError.emit(Ce)),!1)})}(V)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(oo)}static assertInAngularZone(){if(!sa.isInAngularZone())throw new Vs(909,!1)}static assertNotInAngularZone(){if(sa.isInAngularZone())throw new Vs(909,!1)}run(u,_,P){return this._inner.run(u,_,P)}runTask(u,_,P,V){const ce=this._inner,Ce=ce.scheduleEventTask("NgZoneEvent: "+V,u,Or,xs,xs);try{return ce.runTask(Ce,_,P)}finally{ce.cancelTask(Ce)}}runGuarded(u,_,P){return this._inner.runGuarded(u,_,P)}runOutsideAngular(u){return this._outer.run(u)}}const Or={};function x1(l){if(0==l._nesting&&!l.hasPendingMicrotasks&&!l.isStable)try{l._nesting++,l.onMicrotaskEmpty.emit(null)}finally{if(l._nesting--,!l.hasPendingMicrotasks)try{l.runOutsideAngular(()=>l.onStable.emit(null))}finally{l.isStable=!0}}}function fo(l){l.hasPendingMicrotasks=!!(l._hasPendingMicrotasks||(l.shouldCoalesceEventChangeDetection||l.shouldCoalesceRunChangeDetection)&&!0===l.callbackScheduled)}function y1(l){l._nesting++,l.isStable&&(l.isStable=!1,l.onUnstable.emit(null))}function Ec(l){l._nesting--,x1(l)}class nl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ts,this.onMicrotaskEmpty=new Ts,this.onStable=new Ts,this.onError=new Ts}run(u,_,P){return u.apply(_,P)}runGuarded(u,_,P){return u.apply(_,P)}runOutsideAngular(u){return u()}runTask(u,_,P,V){return u.apply(_,P)}}function lc(l,u){return!(!Array.isArray(l)||1!==l.length)&&!0===l[0]?.data?.[u]}class kl{constructor(){this._console=console}handleError(u){const _=this._findOriginalError(u);this._console.error("ERROR",u),_&&this._console.error("ORIGINAL ERROR",_)}_findOriginalError(u){let _=u&&Zt(u);for(;_&&Zt(_);)_=Zt(_);return _||null}}const Tl=new Io("",{providedIn:"root",factory:()=>{const l=Rs(sa),u=Rs(kl);return _=>l.runOutsideAngular(()=>u.handleError(_))}});function Hl(){return p1(q0(),ws())}function p1(l,u){return new Su(N0(l,u))}let Su=(()=>{class l{constructor(_){this.nativeElement=_}static#e=this.__NG_ELEMENT_ID__=Hl}return l})();function Vh(l){return l instanceof Su?l.nativeElement:l}function ym(){return this._results[Symbol.iterator]()}class Ep{static#e=Symbol.iterator;get changes(){return this._changes??=new Ts}constructor(u=!1){this._emitDistinctChangesOnly=u,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const _=Ep.prototype;_[Symbol.iterator]||(_[Symbol.iterator]=ym)}get(u){return this._results[u]}map(u){return this._results.map(u)}filter(u){return this._results.filter(u)}find(u){return this._results.find(u)}reduce(u,_){return this._results.reduce(u,_)}forEach(u){this._results.forEach(u)}some(u){return this._results.some(u)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(u,_){this.dirty=!1;const P=S0(u);(this._changesDetected=!function ii(l,u,_){if(l.length!==u.length)return!1;for(let P=0;P<l.length;P++){let V=l[P],ce=u[P];if(_&&(V=_(V),ce=_(ce)),ce!==V)return!1}return!0}(this._results,P,_))&&(this._results=P,this.length=P.length,this.last=P[this.length-1],this.first=P[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(u){this._onDirty=u}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function cc(l){return!(128&~l.flags)}const Hf=new Map;let ep=0;const er="__ngContext__";function jo(l,u){t0(u)?(l[er]=u[Za],function Md(l){Hf.set(l[Za],l)}(u)):l[er]=u}function Qm(l){return Th(l[ua])}function Tm(l){return Th(l[lr])}function Th(l){for(;null!==l&&!$c(l);)l=l[lr];return l}let yf;function Is(l){yf=l}function np(){if(void 0!==yf)return yf;if(typeof document<"u")return document;throw new Vs(210,!1)}const Kf=new Io("",{providedIn:"root",factory:()=>Jf}),Jf="ng",$p=new Io(""),ou=new Io("",{providedIn:"platform",factory:()=>"unknown"}),Sc=new Io(""),N_=new Io("",{providedIn:"root",factory:()=>np().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),vc={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},b0=new Io("",{providedIn:"root",factory:()=>vc});let em=()=>null;function s_(l,u,_=!1){return em(l,u,_)}const Cf=new Io("",{providedIn:"root",factory:()=>!1});let Xp,rp;function am(){if(void 0===Xp&&(Xp=null,mo.trustedTypes))try{Xp=mo.trustedTypes.createPolicy("angular",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch{}return Xp}function op(l){return am()?.createHTML(l)||l}function cm(){if(void 0===rp&&(rp=null,mo.trustedTypes))try{rp=mo.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:l=>l,createScript:l=>l,createScriptURL:l=>l})}catch{}return rp}function gl(l){return cm()?.createHTML(l)||l}function Im(l){return cm()?.createScript(l)||l}function F_(l){return cm()?.createScriptURL(l)||l}class Df{constructor(u){this.changingThisBreaksApplicationSecurity=u}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ia})`}}class y_ extends Df{getTypeName(){return"HTML"}}class W_ extends Df{getTypeName(){return"Style"}}class B_ extends Df{getTypeName(){return"Script"}}class k_ extends Df{getTypeName(){return"URL"}}class j_ extends Df{getTypeName(){return"ResourceURL"}}function Dh(l){return l instanceof Df?l.changingThisBreaksApplicationSecurity:l}function Pf(l,u){const _=function If(l){return l instanceof Df&&l.getTypeName()||null}(l);if(null!=_&&_!==u){if("ResourceURL"===_&&"URL"===u)return!0;throw new Error(`Required a safe ${u}, got a ${_} (see ${Ia})`)}return _===u}function Rm(l){return new y_(l)}function Lm(l){return new W_(l)}function a_(l){return new B_(l)}function Qr(l){return new k_(l)}function E_(l){return new j_(l)}function Cc(l){const u=new U_(l);return function l_(){try{return!!(new window.DOMParser).parseFromString(op(""),"text/html")}catch{return!1}}()?new Cu(u):u}class Cu{constructor(u){this.inertDocumentHelper=u}getInertBodyElement(u){u="<body><remove></remove>"+u;try{const _=(new window.DOMParser).parseFromString(op(u),"text/html").body;return null===_?this.inertDocumentHelper.getInertBodyElement(u):(_.firstChild?.remove(),_)}catch{return null}}}class U_{constructor(u){this.defaultDoc=u,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(u){const _=this.inertDocument.createElement("template");return _.innerHTML=op(u),_}}const S_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function wm(l){return(l=String(l)).match(S_)?l:"unsafe:"+l}function p(l){const u={};for(const _ of l.split(","))u[_]=!0;return u}function A(...l){const u={};for(const _ of l)for(const P in _)_.hasOwnProperty(P)&&(u[P]=!0);return u}const ee=p("area,br,col,hr,img,wbr"),Re=p("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_t=p("rp,rt"),ni=A(ee,A(Re,p("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),A(_t,p("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),A(_t,Re)),ji=p("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ys=A(ji,p("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),p("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),qs=p("script,style,template");class Ys{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(u){let _=u.firstChild,P=!0,V=[];for(;_;)if(_.nodeType===Node.ELEMENT_NODE?P=this.startElement(_):_.nodeType===Node.TEXT_NODE?this.chars(_.nodeValue):this.sanitizedSomething=!0,P&&_.firstChild)V.push(_),_=Ko(_);else for(;_;){_.nodeType===Node.ELEMENT_NODE&&this.endElement(_);let ce=co(_);if(ce){_=ce;break}_=V.pop()}return this.buf.join("")}startElement(u){const _=nr(u).toLowerCase();if(!ni.hasOwnProperty(_))return this.sanitizedSomething=!0,!qs.hasOwnProperty(_);this.buf.push("<"),this.buf.push(_);const P=u.attributes;for(let V=0;V<P.length;V++){const ce=P.item(V),Ce=ce.name,et=Ce.toLowerCase();if(!ys.hasOwnProperty(et)){this.sanitizedSomething=!0;continue}let Tt=ce.value;ji[et]&&(Tt=wm(Tt)),this.buf.push(" ",Ce,'="',ja(Tt),'"')}return this.buf.push(">"),!0}endElement(u){const _=nr(u).toLowerCase();ni.hasOwnProperty(_)&&!ee.hasOwnProperty(_)&&(this.buf.push("</"),this.buf.push(_),this.buf.push(">"))}chars(u){this.buf.push(ja(u))}}function co(l){const u=l.nextSibling;if(u&&l!==u.previousSibling)throw ol(u);return u}function Ko(l){const u=l.firstChild;if(u&&function To(l,u){return(l.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(l,u))throw ol(u);return u}function nr(l){const u=l.nodeName;return"string"==typeof u?u:"FORM"}function ol(l){return new Error(`Failed to sanitize html because the element is clobbered: ${l.outerHTML}`)}const rl=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wc=/([^\#-~ |!])/g;function ja(l){return l.replace(/&/g,"&amp;").replace(rl,function(u){return"&#"+(1024*(u.charCodeAt(0)-55296)+(u.charCodeAt(1)-56320)+65536)+";"}).replace(Wc,function(u){return"&#"+u.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let T1;function zc(l,u){let _=null;try{T1=T1||Cc(l);let P=u?String(u):"";_=T1.getInertBodyElement(P);let V=5,ce=P;do{if(0===V)throw new Error("Failed to sanitize html because the input is unstable");V--,P=ce,ce=_.innerHTML,_=T1.getInertBodyElement(P)}while(P!==ce);return op((new Ys).sanitizeChildren(ef(_)||_))}finally{if(_){const P=ef(_)||_;for(;P.firstChild;)P.firstChild.remove()}}}function ef(l){return"content"in l&&function b2(l){return l.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===l.nodeName}(l)?l.content:null}var Rf=function(l){return l[l.NONE=0]="NONE",l[l.HTML=1]="HTML",l[l.STYLE=2]="STYLE",l[l.SCRIPT=3]="SCRIPT",l[l.URL=4]="URL",l[l.RESOURCE_URL=5]="RESOURCE_URL",l}(Rf||{});function lg(l){const u=Nm();return u?gl(u.sanitize(Rf.HTML,l)||""):Pf(l,"HTML")?gl(Dh(l)):zc(np(),xo(l))}function cg(l){const u=Nm();return u?u.sanitize(Rf.URL,l)||"":Pf(l,"URL")?Dh(l):wm(xo(l))}function G_(l){const u=Nm();if(u)return F_(u.sanitize(Rf.RESOURCE_URL,l)||"");if(Pf(l,"ResourceURL"))return F_(Dh(l));throw new Vs(904,!1)}function Lg(l,u,_){return function Rg(l,u){return"src"===u&&("embed"===l||"frame"===l||"iframe"===l||"media"===l||"script"===l)||"href"===u&&("base"===l||"link"===l)?G_:cg}(u,_)(l)}function Nm(){const l=ws();return l&&l[Qo].sanitizer}const dg=/^>|^->|<!--|-->|--!>|<!-$/g,Ho=/(<|>)/g,oM="\u200b$1\u200b";function C2(l){return l.ownerDocument.defaultView}function zu(l){return l.ownerDocument}function Kp(l){return l instanceof Function?l():l}function pc(l){return"browser"===(l??Rs(Fe)).get(ou)}var h_=function(l){return l[l.Important=1]="Important",l[l.DashCase=2]="DashCase",l}(h_||{});let f_;function Fm(l,u){return f_(l,u)}function Ld(l,u,_,P,V){if(null!=P){let ce,Ce=!1;$c(P)?ce=P:t0(P)&&(Ce=!0,P=P[ca]);const et=_o(P);0===l&&null!==_?null==V?jg(u,_,et):rf(u,_,et,V||null,!0):1===l&&null!==_?rf(u,_,et,V||null,!0):2===l?ye(u,et,Ce):3===l&&u.destroyNode(et),null!=ce&&function on(l,u,_,P,V){const ce=_[tl];ce!==_o(_)&&Ld(u,l,P,ce,V);for(let et=z0;et<_.length;et++){const Tt=_[et];st(Tt[Zs],Tt,l,u,P,ce)}}(u,l,ce,_,V)}}function nf(l,u){return l.createText(u)}function Ph(l,u,_){l.setValue(u,_)}function sf(l,u){return l.createComment(function y2(l){return l.replace(dg,u=>u.replace(Ho,oM))}(u))}function Jp(l,u,_){return l.createElement(u,_)}function mg(l,u){u[Qo].changeDetectionScheduler?.notify(8),st(l,u,u[Hs],2,null,null)}function Bg(l,u){const _=l[a1],P=u[zo];(t0(P)||u[r0]!==P[zo][r0])&&(l[Go]|=ud.HasTransplantedViews),null===_?l[a1]=[u]:_.push(u)}function H_(l,u){const _=l[a1],P=_.indexOf(u);_.splice(P,1)}function z_(l,u){if(l.length<=z0)return;const _=z0+u,P=l[_];if(P){const V=P[c0];null!==V&&V!==l&&H_(V,P),u>0&&(l[_-1][lr]=P[lr]);const ce=el(l,z0+u);!function Wg(l,u){mg(l,u),u[ca]=null,u[Vo]=null}(P[Zs],P);const Ce=ce[w0];null!==Ce&&Ce.detachView(ce[Zs]),P[zo]=null,P[lr]=null,P[Go]&=-129}return P}function D_(l,u){if(!(256&u[Go])){const _=u[Hs];_.destroyNode&&st(l,u,_,3,null,null),function z2(l){let u=l[ua];if(!u)return _g(l[Zs],l);for(;u;){let _=null;if(t0(u))_=u[ua];else{const P=u[z0];P&&(_=P)}if(!_){for(;u&&!u[lr]&&u!==l;)t0(u)&&_g(u[Zs],u),u=u[zo];null===u&&(u=l),t0(u)&&_g(u[Zs],u),_=u&&u[lr]}u=_}}(u)}}function _g(l,u){if(256&u[Go])return;const _=O(null);try{u[Go]&=-129,u[Go]|=256,u[_l]&&U(u[_l]),function kg(l,u){let _;if(null!=l&&null!=(_=l.destroyHooks))for(let P=0;P<_.length;P+=2){const V=u[_[P]];if(!(V instanceof $0)){const ce=_[P+1];if(Array.isArray(ce))for(let Ce=0;Ce<ce.length;Ce+=2){const et=V[ce[Ce]],Tt=ce[Ce+1];hu(4,et,Tt);try{Tt.call(et)}finally{hu(5,et,Tt)}}else{hu(4,V,ce);try{ce.call(V)}finally{hu(5,V,ce)}}}}}(l,u),function P2(l,u){const _=l.cleanup,P=u[Kr];if(null!==_)for(let ce=0;ce<_.length-1;ce+=2)if("string"==typeof _[ce]){const Ce=_[ce+3];Ce>=0?P[Ce]():P[-Ce].unsubscribe(),ce+=2}else _[ce].call(P[_[ce+1]]);null!==P&&(u[Kr]=null);const V=u[ml];if(null!==V){u[ml]=null;for(let ce=0;ce<V.length;ce++)(0,V[ce])()}}(l,u),1===u[Zs].type&&u[Hs].destroy();const P=u[c0];if(null!==P&&$c(u[zo])){P!==u[zo]&&H_(P,u);const V=u[w0];null!==V&&V.detachView(l)}!function yh(l){Hf.delete(l[Za])}(u)}finally{O(_)}}function Wm(l,u,_){return wd(l,u.parent,_)}function wd(l,u,_){let P=u;for(;null!==P&&168&P.type;)P=(u=P).parent;if(null===P)return _[ca];{const{componentOffset:V}=P;if(V>-1){const{encapsulation:ce}=l.data[P.directiveStart+V];if(ce===tc.None||ce===tc.Emulated)return null}return N0(P,_)}}function rf(l,u,_,P,V){l.insertBefore(u,_,P,V)}function jg(l,u,_){l.appendChild(u,_)}function gg(l,u,_,P,V){null!==P?rf(l,u,_,P,V):jg(l,u,_)}function e(l,u){return l.parentNode(u)}function i(l,u,_){return c(l,u,_)}function r(l,u,_){return 40&l.type?N0(l,_):null}let h,c=r;function v(l,u){c=l,h=u}function W(l,u,_,P){const V=Wm(l,P,u),ce=u[Hs],et=i(P.parent||u[Vo],P,u);if(null!=V)if(Array.isArray(_))for(let Tt=0;Tt<_.length;Tt++)gg(ce,V,_[Tt],et,!1);else gg(ce,V,_,et,!1);void 0!==h&&h(ce,P,u,_,V)}function X(l,u){if(null!==u){const _=u.type;if(3&_)return N0(u,l);if(4&_)return ge(-1,l[u.index]);if(8&_){const P=u.child;if(null!==P)return X(l,P);{const V=l[u.index];return $c(V)?ge(-1,V):_o(V)}}if(128&_)return X(l,u.next);if(32&_)return Fm(u,l)()||_o(l[u.index]);{const P=Z(l,u);return null!==P?Array.isArray(P)?P[0]:X(rc(l[r0]),P):X(l,u.next)}}return null}function Z(l,u){return null!==u?l[r0][Vo].projection[u.projection]:null}function ge(l,u){const _=z0+l+1;if(_<u.length){const P=u[_],V=P[Zs].firstChild;if(null!==V)return X(P,V)}return u[tl]}function ye(l,u,_){l.removeChild(null,u,_)}function Ve(l,u,_,P,V,ce,Ce){for(;null!=_;){if(128===_.type){_=_.next;continue}const et=P[_.index],Tt=_.type;if(Ce&&0===u&&(et&&jo(_o(et),P),_.flags|=2),32&~_.flags)if(8&Tt)Ve(l,u,_.child,P,V,ce,!1),Ld(u,l,V,et,ce);else if(32&Tt){const en=Fm(_,P);let On;for(;On=en();)Ld(u,l,V,On,ce);Ld(u,l,V,et,ce)}else 16&Tt?nn(l,u,P,_,V,ce):Ld(u,l,V,et,ce);_=Ce?_.projectionNext:_.next}}function st(l,u,_,P,V,ce){Ve(_,P,l.firstChild,u,V,ce,!1)}function nn(l,u,_,P,V,ce){const Ce=_[r0],Tt=Ce[Vo].projection[P.projection];if(Array.isArray(Tt))for(let en=0;en<Tt.length;en++)Ld(u,l,V,Tt[en],ce);else{let en=Tt;const On=Ce[zo];cc(P)&&(en.flags|=128),Ve(l,u,en,On,V,ce,!0)}}function hi(l,u,_){""===_?l.removeAttribute(u,"class"):l.setAttribute(u,"class",_)}function gi(l,u,_){const{mergedAttrs:P,classes:V,styles:ce}=_;null!==P&&P1(l,u,P),null!==V&&hi(l,u,V),null!==ce&&function Gn(l,u,_){l.setAttribute(u,"style",_)}(l,u,ce)}const xi={};function ns(l=1){ls(La(),ws(),Zi()+l,!1)}function ls(l,u,_,P){if(!P)if(3&~u[Go]){const ce=l.preOrderHooks;null!==ce&&v1(u,ce,0,_)}else{const ce=l.preOrderCheckHooks;null!==ce&&d0(u,ce,_)}fs(_)}function ks(l,u=hr.Default){const _=ws();return null===_?Mr(l,u):bd(q0(),_,Jo(l),u)}function Ms(){throw new Error("invalid")}function qo(l,u,_,P,V,ce){const Ce=O(null);try{let et=null;V&D1.SignalBased&&(et=u[P][T]),null!==et&&void 0!==et.transformFn&&(ce=et.transformFn(ce)),V&D1.HasDecoratorInputTransform&&(ce=l.inputTransforms[P].call(u,ce)),null!==l.setInput?l.setInput(u,et,ce,_,P):Fp(u,et,P,ce)}finally{O(Ce)}}function us(l,u,_,P,V,ce,Ce,et,Tt,en,On){const ai=u.blueprint.slice();return ai[ca]=V,ai[Go]=204|P,(null!==en||l&&2048&l[Go])&&(ai[Go]|=2048),fp(ai),ai[zo]=ai[O1]=l,ai[Ns]=_,ai[Qo]=Ce||l&&l[Qo],ai[Hs]=et||l&&l[Hs],ai[Mo]=Tt||l&&l[Mo]||null,ai[Vo]=ce,ai[Za]=function gu(){return ep++}(),ai[As]=On,ai[Fl]=en,ai[r0]=2==u.type?l[r0]:ai,ai}function Ss(l,u,_,P,V){let ce=l.data[u];if(null===ce)ce=Pa(l,u,_,P,V),function uh(){return _r.lFrame.inI18n}()&&(ce.flags|=32);else if(64&ce.type){ce.type=_,ce.value=P,ce.attrs=V;const Ce=Qd();ce.injectorIndex=null===Ce?-1:Ce.injectorIndex}return d1(ce,!0),ce}function Pa(l,u,_,P,V){const ce=kp(),Ce=Mp(),Tt=l.data[u]=function Ih(l,u,_,P,V,ce){let Ce=u?u.injectorIndex:-1,et=0;return Au()&&(et|=128),{type:_,index:P,insertBeforeIndex:null,injectorIndex:Ce,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:et,providerIndexes:0,value:V,attrs:ce,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:u,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,Ce?ce:ce&&ce.parent,_,u,P,V);return null===l.firstChild&&(l.firstChild=Tt),null!==ce&&(Ce?null==ce.child&&null!==Tt.parent&&(ce.child=Tt):null===ce.next&&(ce.next=Tt,Tt.prev=ce)),Tt}function V1(l,u,_,P){if(0===_)return-1;const V=u.length;for(let ce=0;ce<_;ce++)u.push(P),l.blueprint.push(P),l.data.push(null);return V}function e0(l,u,_,P,V){const ce=Zi(),Ce=2&P;try{fs(-1),Ce&&u.length>vo&&ls(l,u,vo,!1),hu(Ce?2:0,V),_(P,V)}finally{fs(ce),hu(Ce?3:1,V)}}function xa(l,u,_){if(Hu(u)){const P=O(null);try{const ce=u.directiveEnd;for(let Ce=u.directiveStart;Ce<ce;Ce++){const et=l.data[Ce];et.contentQueries&&et.contentQueries(1,_[Ce],Ce)}}finally{O(P)}}}function Ua(l,u,_){lh()&&(function um(l,u,_,P){const V=_.directiveStart,ce=_.directiveEnd;eu(_)&&function Pu(l,u,_){const P=N0(u,l),V=Qc(_);let Ce=16;_.signals?Ce=4096:_.onPush&&(Ce=64);const et=cf(l,us(l,V,null,Ce,P,u,null,l[Qo].rendererFactory.createRenderer(P,_),null,null,null));l[u.index]=et}(u,_,l.data[V+_.componentOffset]),l.firstCreatePass||fh(_,u),jo(P,u);const Ce=_.initialInputs;for(let et=V;et<ce;et++){const Tt=l.data[et],en=Zu(u,l,et,_);jo(en,u),null!==Ce&&Y_(0,et-V,en,Tt,0,Ce),Q0(Tt)&&(_0(_.index,u)[Ns]=Zu(u,l,et,_))}}(l,u,_,N0(_,u)),!(64&~_.flags)&&dm(l,u,_))}function D0(l,u,_=N0){const P=u.localNames;if(null!==P){let V=u.index+1;for(let ce=0;ce<P.length;ce+=2){const Ce=P[ce+1],et=-1===Ce?_(u,l):l[Ce];l[V++]=et}}}function Qc(l){const u=l.tView;return null===u||u.incompleteFirstPass?l.tView=h1(1,null,l.template,l.decls,l.vars,l.directiveDefs,l.pipeDefs,l.viewQuery,l.schemas,l.consts,l.id):u}function h1(l,u,_,P,V,ce,Ce,et,Tt,en,On){const ai=vo+P,Ni=ai+V,ki=function f1(l,u){const _=[];for(let P=0;P<u;P++)_.push(P<l?null:xi);return _}(ai,Ni),cs="function"==typeof en?en():en;return ki[Zs]={type:l,blueprint:ki,template:_,queries:null,viewQuery:et,declTNode:u,data:ki.slice().fill(null,ai),bindingStartIndex:ai,expandoStartIndex:Ni,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof ce?ce():ce,pipeRegistry:"function"==typeof Ce?Ce():Ce,firstChild:null,schemas:Tt,consts:cs,incompleteFirstPass:!1,ssrId:On}}let $o=()=>null;function Pp(l,u,_,P,V){for(let ce in u){if(!u.hasOwnProperty(ce))continue;const Ce=u[ce];if(void 0===Ce)continue;P??={};let et,Tt=D1.None;Array.isArray(Ce)?(et=Ce[0],Tt=Ce[1]):et=Ce;let en=ce;if(null!==V){if(!V.hasOwnProperty(ce))continue;en=V[ce]}0===l?Kl(P,_,en,et,Tt):Kl(P,_,en,et)}return P}function Kl(l,u,_,P,V){let ce;l.hasOwnProperty(_)?(ce=l[_]).push(u,P):ce=l[_]=[u,P],void 0!==V&&ce.push(V)}function Bc(l,u,_,P,V,ce,Ce,et){const Tt=N0(u,_);let On,en=u.inputs;!et&&null!=en&&(On=en[P])?(zl(l,_,On,P,V),eu(u)&&function Nd(l,u){const _=_0(u,l);16&_[Go]||(_[Go]|=64)}(_,u.index)):3&u.type&&(P=function Dc(l){return"class"===l?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l}(P),V=null!=Ce?Ce(V,u.value||"",P):V,ce.setProperty(Tt,P,V))}function Du(l,u,_,P){if(lh()){const V=null===P?null:{"":-1},ce=function C1(l,u){const _=l.directiveRegistry;let P=null,V=null;if(_)for(let ce=0;ce<_.length;ce++){const Ce=_[ce];if(Vl(u,Ce.selectors,!1))if(P||(P=[]),Q0(Ce))if(null!==Ce.findHostDirectiveDefs){const et=[];V=V||new Map,Ce.findHostDirectiveDefs(Ce,et,V),P.unshift(...et,Ce),m1(l,u,et.length)}else P.unshift(Ce),m1(l,u,0);else V=V||new Map,Ce.findHostDirectiveDefs?.(Ce,P,V),P.push(Ce)}return null===P?null:[P,V]}(l,_);let Ce,et;null===ce?Ce=et=null:[Ce,et]=ce,null!==Ce&&af(l,u,_,Ce,V,et),V&&function Ad(l,u,_){if(u){const P=l.localNames=[];for(let V=0;V<u.length;V+=2){const ce=_[u[V+1]];if(null==ce)throw new Vs(-301,!1);P.push(u[V],ce)}}}(_,P,V)}_.mergedAttrs=nc(_.mergedAttrs,_.attrs)}function af(l,u,_,P,V,ce){for(let en=0;en<P.length;en++)gd(fh(_,u),l,P[en].type);!function bu(l,u,_){l.flags|=1,l.directiveStart=u,l.directiveEnd=u+_,l.providerIndexes=u}(_,l.data.length,P.length);for(let en=0;en<P.length;en++){const On=P[en];On.providersResolver&&On.providersResolver(On)}let Ce=!1,et=!1,Tt=V1(l,u,P.length,null);for(let en=0;en<P.length;en++){const On=P[en];_.mergedAttrs=nc(_.mergedAttrs,On.hostAttrs),Qp(l,_,u,Tt,On),jm(Tt,On,V),null!==On.contentQueries&&(_.flags|=4),(null!==On.hostBindings||null!==On.hostAttrs||0!==On.hostVars)&&(_.flags|=64);const ai=On.type.prototype;!Ce&&(ai.ngOnChanges||ai.ngOnInit||ai.ngDoCheck)&&((l.preOrderHooks??=[]).push(_.index),Ce=!0),!et&&(ai.ngOnChanges||ai.ngDoCheck)&&((l.preOrderCheckHooks??=[]).push(_.index),et=!0),Tt++}!function Bm(l,u,_){const V=u.directiveEnd,ce=l.data,Ce=u.attrs,et=[];let Tt=null,en=null;for(let On=u.directiveStart;On<V;On++){const ai=ce[On],Ni=_?_.get(ai):null,cs=Ni?Ni.outputs:null;Tt=Pp(0,ai.inputs,On,Tt,Ni?Ni.inputs:null),en=Pp(1,ai.outputs,On,en,cs);const $s=null===Tt||null===Ce||l0(u)?null:X_(Tt,On,Ce);et.push($s)}null!==Tt&&(Tt.hasOwnProperty("class")&&(u.flags|=8),Tt.hasOwnProperty("style")&&(u.flags|=16)),u.initialInputs=et,u.inputs=Tt,u.outputs=en}(l,_,ce)}function dm(l,u,_){const P=_.directiveStart,V=_.directiveEnd,ce=_.index,Ce=function jp(){return _r.lFrame.currentDirectiveIndex}();try{fs(ce);for(let et=P;et<V;et++){const Tt=l.data[et],en=u[et];nu(et),(null!==Tt.hostBindings||0!==Tt.hostVars||null!==Tt.hostAttrs)&&au(Tt,en)}}finally{fs(-1),nu(Ce)}}function au(l,u){null!==l.hostBindings&&l.hostBindings(1,u)}function m1(l,u,_){u.componentOffset=_,(l.components??=[]).push(u.index)}function jm(l,u,_){if(_){if(u.exportAs)for(let P=0;P<u.exportAs.length;P++)_[u.exportAs[P]]=l;Q0(u)&&(_[""]=l)}}function Qp(l,u,_,P,V){l.data[P]=V;const ce=V.factory||(V.factory=j1(V.type)),Ce=new $0(ce,Q0(V),ks);l.blueprint[P]=Ce,_[P]=Ce,function xf(l,u,_,P,V){const ce=V.hostBindings;if(ce){let Ce=l.hostBindingOpCodes;null===Ce&&(Ce=l.hostBindingOpCodes=[]);const et=~u.index;(function km(l){let u=l.length;for(;u>0;){const _=l[--u];if("number"==typeof _&&_<0)return _}return 0})(Ce)!=et&&Ce.push(et),Ce.push(_,P,ce)}}(l,u,P,V1(l,_,V.hostVars,xi),V)}function lu(l,u,_,P,V,ce){const Ce=N0(l,u);kc(u[Hs],Ce,ce,l.value,_,P,V)}function kc(l,u,_,P,V,ce,Ce){if(null==ce)l.removeAttribute(u,V,_);else{const et=null==Ce?xo(ce):Ce(ce,P||"",V);l.setAttribute(u,V,et,_)}}function Y_(l,u,_,P,V,ce){const Ce=ce[u];if(null!==Ce)for(let et=0;et<Ce.length;)qo(P,_,Ce[et++],Ce[et++],Ce[et++],Ce[et++])}function X_(l,u,_){let P=null,V=0;for(;V<_.length;){const ce=_[V];if(0!==ce)if(5!==ce){if("number"==typeof ce)break;if(l.hasOwnProperty(ce)){null===P&&(P=[]);const Ce=l[ce];for(let et=0;et<Ce.length;et+=3)if(Ce[et]===u){P.push(ce,Ce[et+1],Ce[et+2],_[V+1]);break}}V+=2}else V+=2;else V+=4}return P}function lf(l,u,_,P){return[l,!0,0,u,null,P,null,_,null,null]}function Cl(l,u){const _=l.contentQueries;if(null!==_){const P=O(null);try{for(let V=0;V<_.length;V+=2){const Ce=_[V+1];if(-1!==Ce){const et=l.data[Ce];Wu(_[V]),et.contentQueries(2,u[Ce],Ce)}}}finally{O(P)}}}function cf(l,u){return l[ua]?l[bc][lr]=u:l[ua]=u,l[bc]=u,u}function Lh(l,u,_){Wu(0);const P=O(null);try{u(l,_)}finally{O(P)}}function uf(l){return l[Kr]??=[]}function id(l){return l.cleanup??=[]}function Y1(l,u,_){return(null===l||Q0(l))&&(_=function G0(l){for(;Array.isArray(l);){if("object"==typeof l[Lu])return l;l=l[ca]}return null}(_[u.index])),_[Hs]}function Zp(l,u){const _=l[Mo],P=_?_.get(kl,null):null;P&&P.handleError(u)}function zl(l,u,_,P,V){for(let ce=0;ce<_.length;){const Ce=_[ce++],et=_[ce++],Tt=_[ce++];qo(l.data[Ce],u[Ce],P,et,Tt,V)}}function Jl(l,u,_){const P=m0(u,l);Ph(l[Hs],P,_)}function ll(l,u){const _=_0(u,l),P=_[Zs];!function xd(l,u){for(let _=u.length;_<l.blueprint.length;_++)u.push(l.blueprint[_])}(P,_);const V=_[ca];null!==V&&null===_[As]&&(_[As]=s_(V,_[Mo])),sd(P,_,_[Ns])}function sd(l,u,_){oe(u);try{const P=l.viewQuery;null!==P&&Lh(1,P,_);const V=l.template;null!==V&&e0(l,u,V,1,_),l.firstCreatePass&&(l.firstCreatePass=!1),u[w0]?.finishViewCreation(l),l.staticContentQueries&&Cl(l,u),l.staticViewQueries&&Lh(2,l.viewQuery,_);const ce=l.components;null!==ce&&function Ip(l,u){for(let _=0;_<u.length;_++)ll(l,u[_])}(u,ce)}catch(P){throw l.firstCreatePass&&(l.incompleteFirstPass=!0,l.firstCreatePass=!1),P}finally{u[Go]&=-5,qi()}}function df(l,u,_,P){const V=O(null);try{const ce=u.tView,Tt=us(l,ce,_,4096&l[Go]?4096:16,null,u,null,null,P?.injector??null,P?.embeddedViewInjector??null,P?.dehydratedView??null);Tt[c0]=l[u.index];const On=l[w0];return null!==On&&(Tt[w0]=On.createEmbeddedView(ce)),sd(ce,Tt,_),Tt}finally{O(V)}}function pm(l,u){const _=z0+u;if(_<l.length)return l[_]}function Rp(l,u){return!u||null===u.firstChild||cc(l)}function Lp(l,u,_,P=!0){const V=u[Zs];if(function D2(l,u,_,P){const V=z0+P,ce=_.length;P>0&&(_[V-1][lr]=u),P<ce-z0?(u[lr]=_[V],Z1(_,z0+P,u)):(_.push(u),u[lr]=null),u[zo]=_;const Ce=u[c0];null!==Ce&&_!==Ce&&Bg(Ce,u);const et=u[w0];null!==et&&et.insertView(l),_p(u),u[Go]|=128}(V,u,l,_),P){const Ce=ge(_,l),et=u[Hs],Tt=e(et,l[tl]);null!==Tt&&function fg(l,u,_,P,V,ce){P[ca]=V,P[Vo]=u,st(l,P,_,1,V,ce)}(V,l[Vo],et,u,Tt,Ce)}const ce=u[As];null!==ce&&null!==ce.firstChild&&(ce.firstChild=null)}function yd(l,u){const _=z_(l,u);return void 0!==_&&D_(_[Zs],_),_}function Ed(l,u,_,P,V=!1){for(;null!==_;){if(128===_.type){_=V?_.projectionNext:_.next;continue}const ce=u[_.index];null!==ce&&P.push(_o(ce)),$c(ce)&&wp(ce,P);const Ce=_.type;if(8&Ce)Ed(l,u,_.child,P);else if(32&Ce){const et=Fm(_,u);let Tt;for(;Tt=et();)P.push(Tt)}else if(16&Ce){const et=Z(u,_);if(Array.isArray(et))P.push(...et);else{const Tt=rc(u[r0]);Ed(Tt[Zs],Tt,et,P,!0)}}_=V?_.projectionNext:_.next}return P}function wp(l,u){for(let _=z0;_<l.length;_++){const P=l[_],V=P[Zs].firstChild;null!==V&&Ed(P[Zs],P,V,u)}l[tl]!==l[ca]&&u.push(l[tl])}let Fd=[];const Wd={...I,consumerIsAlwaysLive:!0,consumerMarkedDirty:l=>{Ku(l.lView)},consumerOnSignalRead(){this.lView[_l]=this}},$u={...I,consumerIsAlwaysLive:!0,consumerMarkedDirty:l=>{let u=rc(l.lView);for(;u&&!Fa(u[Zs]);)u=rc(u);u&&rh(u)},consumerOnSignalRead(){this.lView[_l]=this}};function Fa(l){return 2!==l.type}const Bd=100;function Pc(l,u=!0,_=0){const P=l[Qo],V=P.rendererFactory;V.begin?.();try{!function wh(l,u){const _=mu();try{bf(!0),cp(l,u);let P=0;for(;mp(l);){if(P===Bd)throw new Vs(103,!1);P++,cp(l,1)}}finally{bf(_)}}(l,_)}catch(Ce){throw u&&Zp(l,Ce),Ce}finally{V.end?.(),P.inlineEffectRunner?.flush()}}function Nh(l,u,_,P){const V=u[Go];if(!(256&~V))return;u[Qo].inlineEffectRunner?.flush(),oe(u);let et=!0,Tt=null,en=null;Fa(l)?(en=function bl(l){return l[_l]??function F1(l){const u=Fd.pop()??Object.create(Wd);return u.lView=l,u}(l)}(u),Tt=q(en)):null===function D(){return a}()?(et=!1,en=function lp(l){const u=l[_l]??Object.create($u);return u.lView=l,u}(u),Tt=q(en)):u[_l]&&(U(u[_l]),u[_l]=null);try{fp(u),Z0(l.bindingStartIndex),null!==_&&e0(l,u,_,2,P);const On=!(3&~V);if(On){const ki=l.preOrderCheckHooks;null!==ki&&d0(u,ki,null)}else{const ki=l.preOrderHooks;null!==ki&&v1(u,ki,0,null),x0(u,0)}if(function hf(l){for(let u=Qm(l);null!==u;u=Tm(u)){if(!(u[Go]&ud.HasTransplantedViews))continue;const _=u[a1];for(let P=0;P<_.length;P++)rh(_[P])}}(u),Iu(u,0),null!==l.contentQueries&&Cl(l,u),On){const ki=l.contentCheckHooks;null!==ki&&d0(u,ki)}else{const ki=l.contentHooks;null!==ki&&v1(u,ki,1),x0(u,1)}!function bo(l,u){const _=l.hostBindingOpCodes;if(null!==_)try{for(let P=0;P<_.length;P++){const V=_[P];if(V<0)fs(~V);else{const ce=V,Ce=_[++P],et=_[++P];io(Ce,ce),et(2,u[ce])}}}finally{fs(-1)}}(l,u);const ai=l.components;null!==ai&&jc(u,ai,0);const Ni=l.viewQuery;if(null!==Ni&&Lh(2,Ni,P),On){const ki=l.viewCheckHooks;null!==ki&&d0(u,ki)}else{const ki=l.viewHooks;null!==ki&&v1(u,ki,2),x0(u,2)}if(!0===l.firstUpdatePass&&(l.firstUpdatePass=!1),u[Ou]){for(const ki of u[Ou])ki();u[Ou]=null}u[Go]&=-73}catch(On){throw Ku(u),On}finally{null!==en&&(z(en,Tt),et&&function ap(l){l.lView[_l]!==l&&(l.lView=null,Fd.push(l))}(en)),qi()}}function Iu(l,u){for(let _=Qm(l);null!==_;_=Tm(_))for(let P=z0;P<_.length;P++)Ql(_[P],u)}function kd(l,u,_){Ql(_0(u,l),_)}function Ql(l,u){fu(l)&&cp(l,u)}function cp(l,u){const P=l[Zs],V=l[Go],ce=l[_l];let Ce=!!(0===u&&16&V);if(Ce||=!!(64&V&&0===u),Ce||=!!(1024&V),Ce||=!(!ce?.dirty||!F(ce)),Ce||=!1,ce&&(ce.dirty=!1),l[Go]&=-9217,Ce)Nh(P,l,P.template,l[Ns]);else if(8192&V){Iu(l,1);const et=P.components;null!==et&&jc(l,et,1)}}function jc(l,u,_){for(let P=0;P<u.length;P++)kd(l,u[P],_)}function up(l,u){const _=mu()?64:1088;for(l[Qo].changeDetectionScheduler?.notify(u);l;){l[Go]|=_;const P=rc(l);if(I1(l)&&!P)return l;l=P}return null}class od{get rootNodes(){const u=this._lView,_=u[Zs];return Ed(_,u,_.firstChild,[])}constructor(u,_,P=!0){this._lView=u,this._cdRefInjectingView=_,this.notifyErrorHandler=P,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Ns]}set context(u){this._lView[Ns]=u}get destroyed(){return!(256&~this._lView[Go])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const u=this._lView[zo];if($c(u)){const _=u[8],P=_?_.indexOf(this):-1;P>-1&&(z_(u,P),el(_,P))}this._attachedToViewContainer=!1}D_(this._lView[Zs],this._lView)}onDestroy(u){Bp(this._lView,u)}markForCheck(){up(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Go]&=-129}reattach(){_p(this._lView),this._lView[Go]|=128}detectChanges(){this._lView[Go]|=1024,Pc(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Vs(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const u=I1(this._lView),_=this._lView[c0];null!==_&&!u&&H_(_,this._lView),mg(this._lView[Zs],this._lView)}attachToAppRef(u){if(this._attachedToViewContainer)throw new Vs(902,!1);this._appRef=u;const _=I1(this._lView),P=this._lView[c0];null!==P&&!_&&Bg(P,this._lView),_p(this._lView)}}let jd=(()=>{class l{static#e=this.__NG_ELEMENT_ID__=Ff}return l})();const P_=jd,Ud=class extends P_{constructor(u,_,P){super(),this._declarationLView=u,this._declarationTContainer=_,this.elementRef=P}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(u,_){return this.createEmbeddedViewImpl(u,_)}createEmbeddedViewImpl(u,_,P){const V=df(this._declarationLView,this._declarationTContainer,u,{embeddedViewInjector:_,dehydratedView:P});return new od(V)}};function Ff(){return hm(q0(),ws())}function hm(l,u){return 4&l.type?new Ud(u,l,p1(l,u)):null}function yg(l,u,_){const P=u.insertBeforeIndex,V=Array.isArray(P)?P[0]:P;return null===V?r(l,0,_):_o(_[V])}function qg(l,u,_,P,V){const ce=u.insertBeforeIndex;if(Array.isArray(ce)){let Ce=P,et=null;if(3&u.type||(et=Ce,Ce=V),null!==Ce&&-1===u.componentOffset)for(let Tt=1;Tt<ce.length;Tt++)rf(l,Ce,_[ce[Tt]],et,!1)}}function Np(l,u){if(l.push(u),l.length>1)for(let _=l.length-2;_>=0;_--){const P=l[_];$g(P)||I2(P,u)&&null===pT(P)&&hT(P,u.index)}}function $g(l){return!(64&l.type)}function I2(l,u){return $g(u)||l.index>u.index}function pT(l){const u=l.insertBeforeIndex;return Array.isArray(u)?u[0]:u}function hT(l,u){const _=l.insertBeforeIndex;Array.isArray(_)?_[0]=u:(v(yg,qg),l.insertBeforeIndex=u)}function R2(l,u){const _=l.data[u];return null===_||"string"==typeof _?null:_.hasOwnProperty("currentCaseLViewIndex")?_:_.value}function _T(l,u,_){const P=Pa(l,_,64,null,null);return Np(u,P),P}function hb(l,u){const _=u[l.currentCaseLViewIndex];return null===_?_:_<0?~_:_}function ev(l){return l>>>17}function tv(l){return(131070&l)>>>1}function cM(l,u,_){l.index=0;const P=hb(u,_);l.removes=null!==P?u.remove[P]:Fr}function fb(l){if(l.index<l.removes.length){const u=l.removes[l.index++];return u>0?l.lView[u]:(l.stack.push(l.index,l.removes),cM(l,l.lView[Zs].data[~u],l.lView),fb(l))}return 0===l.stack.length?null:(l.removes=l.stack.pop(),l.index=l.stack.pop(),fb(l))}function bT(){const l={stack:[],index:-1};return function u(_,P){for(l.lView=P;l.stack.length;)l.stack.pop();return cM(l,_.value,P),fb.bind(null,l)}}let cv=()=>{},dv=()=>{},fv=()=>null;function Sg(l,u){return fv(l,u)}class Hg{}const x2=new Io("",{providedIn:"root",factory:()=>!1}),mv=new Io("");class _v{}class gv{}class XT{resolveComponentFactory(u){throw function YT(l){const u=Error(`No component factory found for ${ra(l)}.`);return u.ngComponent=l,u}(u)}}class F2{static#e=this.NULL=new XT}class _M{}let KT=(()=>{class l{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function JT(){const l=ws(),_=_0(q0().index,l);return(t0(_)?_:l)[Hs]}()}return l})(),QT=(()=>{class l{static#e=this.\u0275prov=So({token:l,providedIn:"root",factory:()=>null})}return l})();const Mv=new Set;function eh(l){Mv.has(l)||(Mv.add(l),performance?.mark?.("mark_feature_usage",{detail:{feature:l}}))}var th=function(l){return l[l.EarlyRead=0]="EarlyRead",l[l.Write=1]="Write",l[l.MixedReadWrite=2]="MixedReadWrite",l[l.Read=3]="Read",l}(th||{});const Ov={destroy(){}};function gM(l,u){const _=u?.injector??Rs(Fe);(u?.runOnServer||pc(_))&&_.get(gb).internalCallbacks.push(l)}function vv(l,u){!u&&Et();const _=u?.injector??Rs(Fe);return pc(_)?(eh("NgAfterRender"),yv(l,_,!1,u?.phase??th.MixedReadWrite)):Ov}function Av(l,u){!u&&Et();const _=u?.injector??Rs(Fe);return pc(_)?(eh("NgAfterNextRender"),yv(l,_,!0,u?.phase??th.MixedReadWrite)):Ov}function yv(l,u,_,P){const V=function ZT(l,u){if(l instanceof Function)switch(u){case th.EarlyRead:return{earlyRead:l};case th.Write:return{write:l};case th.MixedReadWrite:return{mixedReadWrite:l};case th.Read:return{read:l}}return l}(l,P),ce=u.get(gb),Ce=ce.handler??=new t3,et=[],Tt=[],en=()=>{for(const ki of Tt)Ce.unregister(ki);On()},On=u.get(Mi).onDestroy(en);let ai=0;const Ni=(ki,cs)=>{if(!cs)return;const $s=_?(...No)=>(ai--,ai<1&&en(),cs(...No)):cs,Oo=he(u,()=>new e3(ki,et,$s));Ce.register(Oo),Tt.push(Oo),ai++};return Ni(th.EarlyRead,V.earlyRead),Ni(th.Write,V.write),Ni(th.MixedReadWrite,V.mixedReadWrite),Ni(th.Read,V.read),{destroy:en}}class e3{constructor(u,_,P){this.phase=u,this.pipelinedArgs=_,this.callbackFn=P,this.zone=Rs(sa),this.errorHandler=Rs(kl,{optional:!0}),Rs(Hg,{optional:!0})?.notify(6)}invoke(){try{const u=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,u)}catch(u){this.errorHandler?.handleError(u)}}}class t3{constructor(){this.executingCallbacks=!1,this.buckets={[th.EarlyRead]:new Set,[th.Write]:new Set,[th.MixedReadWrite]:new Set,[th.Read]:new Set},this.deferredCallbacks=new Set}register(u){(this.executingCallbacks?this.deferredCallbacks:this.buckets[u.phase]).add(u)}unregister(u){this.buckets[u.phase].delete(u),this.deferredCallbacks.delete(u)}execute(){this.executingCallbacks=!0;for(const u of Object.values(this.buckets))for(const _ of u)_.invoke();this.executingCallbacks=!1;for(const u of this.deferredCallbacks)this.buckets[u.phase].add(u);this.deferredCallbacks.clear()}destroy(){for(const u of Object.values(this.buckets))u.clear();this.deferredCallbacks.clear()}}let gb=(()=>{class l{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const _=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const P of _)P()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=So({token:l,providedIn:"root",factory:()=>new l})}return l})();function bM(l){return void 0!==l.ngModule}function eg(l){return!!S(l)}function bb(l){return!!Xr(l)}function Ev(l){return!!Er(l)}function W2(l){return!!to(l)}function i3(l,u){if(W1(l)&&!(l=Jo(l)))throw new Error(`Expected forwardRef function, imported from "${rr(u)}", to return a standalone entity or NgModule but got "${rr(l)||l}".`);if(null==S(l)){const _=to(l)||Er(l)||Xr(l);if(null==_)throw bM(l)?new Error(`A module with providers was imported from "${rr(u)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${rr(l)}" type, imported from "${rr(u)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!_.standalone)throw new Error(`The "${rr(l)}" ${function n3(l){return to(l)?"component":Er(l)?"directive":Xr(l)?"pipe":"type"}(l)}, imported from "${rr(u)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class Sv{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const u of this.ngModulesWithSomeUnresolvedDecls){const _=S(u);if(_?.declarations)for(const P of Kp(_.declarations))W2(P)&&this.ownerNgModule.set(P,u)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(u,_){this.resolveNgModulesDecls();const P=to(u);if(null===P)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${u}`);if(P.standalone){const V=this.getStandaloneComponentScope(u,_);return V.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...V.compilation.directives,...V.compilation.pipes,...V.compilation.ngModules]}}{if(!this.ownerNgModule.has(u))return{dependencies:[]};const V=this.getNgModuleScope(this.ownerNgModule.get(u));return V.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...V.compilation.directives,...V.compilation.pipes]}}}registerNgModule(u,_){if(!eg(u))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${u}`);this.ngModulesWithSomeUnresolvedDecls.add(u)}clearScopeCacheFor(u){this.ngModulesScopeCache.delete(u),this.standaloneComponentsScopeCache.delete(u)}getNgModuleScope(u){if(this.ngModulesScopeCache.has(u))return this.ngModulesScopeCache.get(u);const _=this.computeNgModuleScope(u);return this.ngModulesScopeCache.set(u,_),_}computeNgModuleScope(u){const _=S(u,!0),P={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const V of Kp(_.imports))if(eg(V)){const ce=this.getNgModuleScope(V);tg(ce.exported.directives,P.compilation.directives),tg(ce.exported.pipes,P.compilation.pipes)}else{if(!C0(V)){P.compilation.isPoisoned=!0;break}if(Ev(V)||W2(V))P.compilation.directives.add(V);else{if(!bb(V))throw new Vs(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");P.compilation.pipes.add(V)}}if(!P.compilation.isPoisoned)for(const V of Kp(_.declarations)){if(eg(V)||C0(V)){P.compilation.isPoisoned=!0;break}bb(V)?P.compilation.pipes.add(V):P.compilation.directives.add(V)}for(const V of Kp(_.exports))if(eg(V)){const ce=this.getNgModuleScope(V);tg(ce.exported.directives,P.exported.directives),tg(ce.exported.pipes,P.exported.pipes),tg(ce.exported.directives,P.compilation.directives),tg(ce.exported.pipes,P.compilation.pipes)}else bb(V)?P.exported.pipes.add(V):P.exported.directives.add(V);return P}getStandaloneComponentScope(u,_){if(this.standaloneComponentsScopeCache.has(u))return this.standaloneComponentsScopeCache.get(u);const P=this.computeStandaloneComponentScope(u,_);return this.standaloneComponentsScopeCache.set(u,P),P}computeStandaloneComponentScope(u,_){const P={compilation:{directives:new Set([u]),pipes:new Set,ngModules:new Set}};for(const V of S0(_??[])){const ce=Jo(V);try{i3(ce,u)}catch{return P.compilation.isPoisoned=!0,P}if(eg(ce)){P.compilation.ngModules.add(ce);const Ce=this.getNgModuleScope(ce);if(Ce.exported.isPoisoned)return P.compilation.isPoisoned=!0,P;tg(Ce.exported.directives,P.compilation.directives),tg(Ce.exported.pipes,P.compilation.pipes)}else if(bb(ce))P.compilation.pipes.add(ce);else{if(!Ev(ce)&&!W2(ce))return P.compilation.isPoisoned=!0,P;P.compilation.directives.add(ce)}}return P}isOrphanComponent(u){const _=to(u);return!(!_||_.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(u)))}}function tg(l,u){for(const _ of l)u.add(_)}const B2=new Sv;function Mb(l,u,_){let P=_?l.styles:null,V=_?l.classes:null,ce=0;if(null!==u)for(let Ce=0;Ce<u.length;Ce++){const et=u[Ce];"number"==typeof et?ce=et:1==ce?V=ul(V,et):2==ce&&(P=ul(P,et+": "+u[++Ce]+";"))}_?l.styles=P:l.stylesWithoutHost=P,_?l.classes=V:l.classesWithoutHost=V}class Tv extends F2{constructor(u){super(),this.ngModule=u}resolveComponentFactory(u){const _=to(u);return new k2(_,this.ngModule)}}function Cv(l,u){const _=[];for(const P in l){if(!l.hasOwnProperty(P))continue;const V=l[P];if(void 0===V)continue;const ce=Array.isArray(V),Ce=ce?V[0]:V;_.push(u?{propName:Ce,templateName:P,isSignal:!!((ce?V[1]:D1.None)&D1.SignalBased)}:{propName:Ce,templateName:P})}return _}class k2 extends gv{get inputs(){const u=this.componentDef,_=u.inputTransforms,P=Cv(u.inputs,!0);if(null!==_)for(const V of P)_.hasOwnProperty(V.propName)&&(V.transform=_[V.propName]);return P}get outputs(){return Cv(this.componentDef.outputs,!1)}constructor(u,_){super(),this.componentDef=u,this.ngModule=_,this.componentType=u.type,this.selector=function je(l){return l.map(Vn).join(",")}(u.selectors),this.ngContentSelectors=u.ngContentSelectors?u.ngContentSelectors:[],this.isBoundToModule=!!_}create(u,_,P,V){const ce=O(null);try{let Ce=(V=V||this.ngModule)instanceof mr?V:V?.injector;Ce&&null!==this.componentDef.getStandaloneInjector&&(Ce=this.componentDef.getStandaloneInjector(Ce)||Ce);const et=Ce?new _u(u,Ce):u,Tt=et.get(_M,null);if(null===Tt)throw new Vs(407,!1);const en=et.get(QT,null),Ni={rendererFactory:Tt,sanitizer:en,inlineEffectRunner:null,afterRenderEventManager:et.get(gb,null),changeDetectionScheduler:et.get(Hg,null)},ki=Tt.createRenderer(null,this.componentDef),cs=this.componentDef.selectors[0][0]||"div",$s=P?function O0(l,u,_,P){const ce=P.get(Cf,!1)||_===tc.ShadowDom,Ce=l.selectRootElement(u,ce);return function Yo(l){$o(l)}(Ce),Ce}(ki,P,this.componentDef.encapsulation,et):Jp(ki,cs,function s3(l){const u=l.toLowerCase();return"svg"===u?yc:"math"===u?"math":null}(cs));let Oo=512;this.componentDef.signals?Oo|=4096:this.componentDef.onPush||(Oo|=16);let No=null;null!==$s&&(No=s_($s,et,!0));const Qs=h1(0,null,null,1,0,null,null,null,null,null,null),Xa=us(null,Qs,null,Oo,null,null,Ni,ki,et,null,No);let Ml,Ic;oe(Xa);try{const $d=this.componentDef;let mf,g2=null;$d.findHostDirectiveDefs?(mf=[],g2=new Map,$d.findHostDirectiveDefs($d,mf,g2),mf.push($d)):mf=[$d];const dT=function r3(l,u){const _=l[Zs],P=vo;return l[P]=u,Ss(_,P,2,"#host",null)}(Xa,$s),nR=function a3(l,u,_,P,V,ce,Ce){const et=V[Zs];!function l3(l,u,_,P){for(const V of l)u.mergedAttrs=nc(u.mergedAttrs,V.hostAttrs);null!==u.mergedAttrs&&(Mb(u,u.mergedAttrs,!0),null!==_&&gi(P,_,u))}(P,l,u,Ce);let Tt=null;null!==u&&(Tt=s_(u,V[Mo]));const en=ce.rendererFactory.createRenderer(u,_);let On=16;_.signals?On=4096:_.onPush&&(On=64);const ai=us(V,Qc(_),null,On,V[l.index],l,ce,en,null,null,Tt);return et.firstCreatePass&&m1(et,l,P.length-1),cf(V,ai),V[l.index]=ai}(dT,$s,$d,mf,Xa,Ni,ki);Ic=Hc(Qs,vo),$s&&function u3(l,u,_,P){if(P)P1(l,_,["ng-version","18.2.0"]);else{const{attrs:V,classes:ce}=function Kn(l){const u=[],_=[];let P=1,V=2;for(;P<l.length;){let ce=l[P];if("string"==typeof ce)2===V?""!==ce&&u.push(ce,l[++P]):8===V&&_.push(ce);else{if(!T0(V))break;V=ce}P++}return{attrs:u,classes:_}}(u.selectors[0]);V&&P1(l,_,V),ce&&ce.length>0&&hi(l,_,ce.join(" "))}}(ki,$d,$s,P),void 0!==_&&function d3(l,u,_){const P=l.projection=[];for(let V=0;V<u.length;V++){const ce=_[V];P.push(null!=ce?Array.from(ce):null)}}(Ic,this.ngContentSelectors,_),Ml=function c3(l,u,_,P,V,ce){const Ce=q0(),et=V[Zs],Tt=N0(Ce,V);af(et,V,Ce,_,null,P);for(let On=0;On<_.length;On++)jo(Zu(V,et,Ce.directiveStart+On,Ce),V);dm(et,V,Ce),Tt&&jo(Tt,V);const en=Zu(V,et,Ce.directiveStart+Ce.componentOffset,Ce);if(l[Ns]=V[Ns]=en,null!==ce)for(const On of ce)On(en,u);return xa(et,Ce,V),en}(nR,$d,mf,g2,Xa,[p3]),sd(Qs,Xa,null)}finally{qi()}return new o3(this.componentType,Ml,p1(Ic,Xa),Xa,Ic)}finally{O(ce)}}}class o3 extends _v{constructor(u,_,P,V,ce){super(),this.location=P,this._rootLView=V,this._tNode=ce,this.previousInputValues=null,this.instance=_,this.hostView=this.changeDetectorRef=new od(V,void 0,!1),this.componentType=u}setInput(u,_){const P=this._tNode.inputs;let V;if(null!==P&&(V=P[u])){if(this.previousInputValues??=new Map,this.previousInputValues.has(u)&&Object.is(this.previousInputValues.get(u),_))return;const ce=this._rootLView;zl(ce[Zs],ce,V,u,_),this.previousInputValues.set(u,_),up(_0(this._tNode.index,ce),1)}}get injector(){return new Mc(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(u){this.hostView.onDestroy(u)}}function p3(){const l=q0();ia(ws()[Zs],l)}let Ob=(()=>{class l{static#e=this.__NG_ELEMENT_ID__=h3}return l})();function h3(){return Pv(q0(),ws())}const f3=Ob,zv=class extends f3{constructor(u,_,P){super(),this._lContainer=u,this._hostTNode=_,this._hostLView=P}get element(){return p1(this._hostTNode,this._hostLView)}get injector(){return new Mc(this._hostTNode,this._hostLView)}get parentInjector(){const u=_d(this._hostTNode,this._hostLView);if(Dd(u)){const _=Kc(u,this._hostLView),P=Qu(u);return new Mc(_[Zs].data[P+8],_)}return new Mc(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(u){const _=Dv(this._lContainer);return null!==_&&_[u]||null}get length(){return this._lContainer.length-z0}createEmbeddedView(u,_,P){let V,ce;"number"==typeof P?V=P:null!=P&&(V=P.index,ce=P.injector);const Ce=Sg(this._lContainer,u.ssrId),et=u.createEmbeddedViewImpl(_||{},ce,Ce);return this.insertImpl(et,V,Rp(this._hostTNode,Ce)),et}createComponent(u,_,P,V,ce){const Ce=u&&!ho(u);let et;if(Ce)et=_;else{const cs=_||{};et=cs.index,P=cs.injector,V=cs.projectableNodes,ce=cs.environmentInjector||cs.ngModuleRef}const Tt=Ce?u:new k2(to(u)),en=P||this.parentInjector;if(!ce&&null==Tt.ngModule){const $s=(Ce?en:this.parentInjector).get(mr,null);$s&&(ce=$s)}const On=to(Tt.componentType??{}),ai=Sg(this._lContainer,On?.id??null),ki=Tt.create(en,V,ai?.firstChild??null,ce);return this.insertImpl(ki.hostView,et,Rp(this._hostTNode,ai)),ki}insert(u,_){return this.insertImpl(u,_,!0)}insertImpl(u,_,P){const V=u._lView;if(function Wp(l){return $c(l[zo])}(V)){const et=this.indexOf(u);if(-1!==et)this.detach(et);else{const Tt=V[zo],en=new zv(Tt,Tt[Vo],Tt[zo]);en.detach(en.indexOf(u))}}const ce=this._adjustIndex(_),Ce=this._lContainer;return Lp(Ce,V,ce,P),u.attachToViewContainerRef(),Z1(OM(Ce),ce,u),u}move(u,_){return this.insert(u,_)}indexOf(u){const _=Dv(this._lContainer);return null!==_?_.indexOf(u):-1}remove(u){const _=this._adjustIndex(u,-1),P=z_(this._lContainer,_);P&&(el(OM(this._lContainer),_),D_(P[Zs],P))}detach(u){const _=this._adjustIndex(u,-1),P=z_(this._lContainer,_);return P&&null!=el(OM(this._lContainer),_)?new od(P):null}_adjustIndex(u,_=0){return u??this.length+_}};function Dv(l){return l[8]}function OM(l){return l[8]||(l[8]=[])}function Pv(l,u){let _;const P=u[l.index];return $c(P)?_=P:(_=lf(P,u,null,l),u[l.index]=_,cf(u,_)),Iv(_,u,l,P),new zv(_,l,u)}let Iv=function Lv(l,u,_,P){if(l[tl])return;let V;V=8&_.type?_o(P):function m3(l,u){const _=l[Hs],P=_.createComment(""),V=N0(u,l);return rf(_,e(_,V),P,function t(l,u){return l.nextSibling(u)}(_,V),!1),P}(u,_),l[tl]=V},vM=()=>!1;function Rv(l,u,_){return vM(l,u,_)}class AM{constructor(u){this.queryList=u,this.matches=null}clone(){return new AM(this.queryList)}setDirty(){this.queryList.setDirty()}}class yM{constructor(u=[]){this.queries=u}createEmbeddedView(u){const _=u.queries;if(null!==_){const P=null!==u.contentQueries?u.contentQueries[0]:_.length,V=[];for(let ce=0;ce<P;ce++){const Ce=_.getByIndex(ce);V.push(this.queries[Ce.indexInDeclarationView].clone())}return new yM(V)}return null}insertView(u){this.dirtyQueriesWithMatches(u)}detachView(u){this.dirtyQueriesWithMatches(u)}finishViewCreation(u){this.dirtyQueriesWithMatches(u)}dirtyQueriesWithMatches(u){for(let _=0;_<this.queries.length;_++)null!==zM(u,_).matches&&this.queries[_].setDirty()}}class wv{constructor(u,_,P=null){this.flags=_,this.read=P,this.predicate="string"==typeof u?function y3(l){return l.split(",").map(u=>u.trim())}(u):u}}class EM{constructor(u=[]){this.queries=u}elementStart(u,_){for(let P=0;P<this.queries.length;P++)this.queries[P].elementStart(u,_)}elementEnd(u){for(let _=0;_<this.queries.length;_++)this.queries[_].elementEnd(u)}embeddedTView(u){let _=null;for(let P=0;P<this.length;P++){const V=null!==_?_.length:0,ce=this.getByIndex(P).embeddedTView(u,V);ce&&(ce.indexInDeclarationView=P,null!==_?_.push(ce):_=[ce])}return null!==_?new EM(_):null}template(u,_){for(let P=0;P<this.queries.length;P++)this.queries[P].template(u,_)}getByIndex(u){return this.queries[u]}get length(){return this.queries.length}track(u){this.queries.push(u)}}class SM{constructor(u,_=-1){this.metadata=u,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=_}elementStart(u,_){this.isApplyingToNode(_)&&this.matchTNode(u,_)}elementEnd(u){this._declarationNodeIndex===u.index&&(this._appliesToNextNode=!1)}template(u,_){this.elementStart(u,_)}embeddedTView(u,_){return this.isApplyingToNode(u)?(this.crossesNgTemplate=!0,this.addMatch(-u.index,_),new SM(this.metadata)):null}isApplyingToNode(u){if(this._appliesToNextNode&&1&~this.metadata.flags){const _=this._declarationNodeIndex;let P=u.parent;for(;null!==P&&8&P.type&&P.index!==_;)P=P.parent;return _===(null!==P?P.index:-1)}return this._appliesToNextNode}matchTNode(u,_){const P=this.metadata.predicate;if(Array.isArray(P))for(let V=0;V<P.length;V++){const ce=P[V];this.matchTNodeWithReadOption(u,_,M3(_,ce)),this.matchTNodeWithReadOption(u,_,su(_,u,ce,!1,!1))}else P===jd?4&_.type&&this.matchTNodeWithReadOption(u,_,-1):this.matchTNodeWithReadOption(u,_,su(_,u,P,!1,!1))}matchTNodeWithReadOption(u,_,P){if(null!==P){const V=this.metadata.read;if(null!==V)if(V===Su||V===Ob||V===jd&&4&_.type)this.addMatch(_.index,-2);else{const ce=su(_,u,V,!1,!1);null!==ce&&this.addMatch(_.index,ce)}else this.addMatch(_.index,P)}}addMatch(u,_){null===this.matches?this.matches=[u,_]:this.matches.push(u,_)}}function M3(l,u){const _=l.localNames;if(null!==_)for(let P=0;P<_.length;P+=2)if(_[P]===u)return _[P+1];return null}function v3(l,u,_,P){return-1===_?function O3(l,u){return 11&l.type?p1(l,u):4&l.type?hm(l,u):null}(u,l):-2===_?function A3(l,u,_){return _===Su?p1(u,l):_===jd?hm(u,l):_===Ob?Pv(u,l):void 0}(l,u,P):Zu(l,l[Zs],_,u)}function Nv(l,u,_,P){const V=u[w0].queries[P];if(null===V.matches){const ce=l.data,Ce=_.matches,et=[];for(let Tt=0;null!==Ce&&Tt<Ce.length;Tt+=2){const en=Ce[Tt];et.push(en<0?null:v3(u,ce[en],Ce[Tt+1],_.metadata.read))}V.matches=et}return V.matches}function TM(l,u,_,P){const V=l.queries.getByIndex(_),ce=V.matches;if(null!==ce){const Ce=Nv(l,u,V,_);for(let et=0;et<ce.length;et+=2){const Tt=ce[et];if(Tt>0)P.push(Ce[et/2]);else{const en=ce[et+1],On=u[-Tt];for(let ai=z0;ai<On.length;ai++){const Ni=On[ai];Ni[c0]===Ni[zo]&&TM(Ni[Zs],Ni,en,P)}if(null!==On[a1]){const ai=On[a1];for(let Ni=0;Ni<ai.length;Ni++){const ki=ai[Ni];TM(ki[Zs],ki,en,P)}}}}}return P}function CM(l,u){return l[w0].queries[u].queryList}function xv(l,u,_){const P=new Ep(!(4&~_));return function v0(l,u,_,P){const V=uf(u);V.push(_),l.firstCreatePass&&id(l).push(P,V.length-1)}(l,u,P,P.destroy),(u[w0]??=new yM).queries.push(new AM(P))-1}function Fv(l,u,_){const P=La();return P.firstCreatePass&&(Bv(P,new wv(l,u,_),-1),!(2&~u)&&(P.staticViewQueries=!0)),xv(P,ws(),u)}function Wv(l,u,_,P){const V=La();if(V.firstCreatePass){const ce=q0();Bv(V,new wv(u,_,P),ce.index),function E3(l,u){const _=l.contentQueries||(l.contentQueries=[]);u!==(_.length?_[_.length-1]:-1)&&_.push(l.queries.length-1,u)}(V,l),!(2&~_)&&(V.staticContentQueries=!0)}return xv(V,ws(),_)}function Bv(l,u,_){null===l.queries&&(l.queries=new EM),l.queries.track(new SM(u,_))}function zM(l,u){return l.queries.getByIndex(u)}function kv(l,u){const _=l[Zs],P=zM(_,u);return P.crossesNgTemplate?TM(_,l,u,[]):Nv(_,l,P,u)}function DM(l){return"function"==typeof l&&void 0!==l[T]}function jv(l,u){eh("NgSignals");const _=function Me(l){const u=Object.create(Xe);u.value=l;const _=()=>(b(u),u.value);return _[T]=u,_}(l),P=_[T];return u?.equal&&(P.equal=u.equal),_.set=V=>Le(P,V),_.update=V=>function Ae(l,u){w()||ae(),Le(l,u(l.value))}(P,V),_.asReadonly=Uv.bind(_),_}function Uv(){const l=this[T];if(void 0===l.readonlyFn){const u=()=>this();u[T]=l,l.readonlyFn=u}return l.readonlyFn}function Gv(l){return DM(l)&&"function"==typeof l.set}function Hv(l,u){const _=l[T];_._lView=ws(),_._queryIndex=u,_._queryList=CM(_._lView,u),_._queryList.onDirty(()=>_._dirtyCounter.update(P=>P+1))}const vb=new Map;function eA(l){return Object.getPrototypeOf(l.prototype).constructor}function IM(l){let u=eA(l.type),_=!0;const P=[l];for(;u;){let V;if(Q0(l))V=u.\u0275cmp||u.\u0275dir;else{if(u.\u0275cmp)throw new Vs(903,!1);V=u.\u0275dir}if(V){if(_){P.push(V);const Ce=l;Ce.inputs=Ab(l.inputs),Ce.inputTransforms=Ab(l.inputTransforms),Ce.declaredInputs=Ab(l.declaredInputs),Ce.outputs=Ab(l.outputs);const et=V.hostBindings;et&&W3(l,et);const Tt=V.viewQuery,en=V.contentQueries;if(Tt&&x3(l,Tt),en&&F3(l,en),w3(l,V),Pl(l.outputs,V.outputs),Q0(V)&&V.data.animation){const On=l.data;On.animation=(On.animation||[]).concat(V.data.animation)}}const ce=V.features;if(ce)for(let Ce=0;Ce<ce.length;Ce++){const et=ce[Ce];et&&et.ngInherit&&et(l),et===IM&&(_=!1)}}u=Object.getPrototypeOf(u)}!function N3(l){let u=0,_=null;for(let P=l.length-1;P>=0;P--){const V=l[P];V.hostVars=u+=V.hostVars,V.hostAttrs=nc(V.hostAttrs,_=nc(_,V.hostAttrs))}}(P)}function w3(l,u){for(const _ in u.inputs){if(!u.inputs.hasOwnProperty(_)||l.inputs.hasOwnProperty(_))continue;const P=u.inputs[_];if(void 0!==P&&(l.inputs[_]=P,l.declaredInputs[_]=u.declaredInputs[_],null!==u.inputTransforms)){const V=Array.isArray(P)?P[0]:P;if(!u.inputTransforms.hasOwnProperty(V))continue;l.inputTransforms??={},l.inputTransforms[V]=u.inputTransforms[V]}}}function Ab(l){return l===u1?{}:l===Fr?[]:l}function x3(l,u){const _=l.viewQuery;l.viewQuery=_?(P,V)=>{u(P,V),_(P,V)}:u}function F3(l,u){const _=l.contentQueries;l.contentQueries=_?(P,V,ce)=>{u(P,V,ce),_(P,V,ce)}:u}function W3(l,u){const _=l.hostBindings;l.hostBindings=_?(P,V)=>{u(P,V),_(P,V)}:u}const B3=["providersResolver"],k3=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function tA(l){const u=_=>{const P=(Array.isArray(l)?l:l()).map(V=>"function"==typeof V?{directive:Jo(V),inputs:u1,outputs:u1}:{directive:Jo(V.directive),inputs:iA(V.inputs),outputs:iA(V.outputs)});null===_.hostDirectives?(_.findHostDirectiveDefs=nA,_.hostDirectives=P):_.hostDirectives.unshift(...P)};return u.ngInherit=!0,u}function nA(l,u,_){if(null!==l.hostDirectives)for(const P of l.hostDirectives){const V=Er(P.directive);U3(V.declaredInputs,P.inputs),nA(V,u,_),_.set(V,P),u.push(V)}}function iA(l){if(void 0===l||0===l.length)return u1;const u={};for(let _=0;_<l.length;_+=2)u[l[_]]=l[_+1];return u}function U3(l,u){for(const _ in u)u.hasOwnProperty(_)&&(l[u[_]]=l[_])}function oA(l){const u=l.inputConfig,_={};for(const P in u)if(u.hasOwnProperty(P)){const V=u[P];Array.isArray(V)&&V[3]&&(_[P]=V[3])}l.inputTransforms=_}class Tg{}class rA{}function G3(l,u){return new RM(l,u??null,[])}class RM extends Tg{constructor(u,_,P,V=!0){super(),this.ngModuleType=u,this._parent=_,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Tv(this);const ce=S(u);this._bootstrapComponents=Kp(ce.bootstrap),this._r3Injector=Ie(u,_,[{provide:Tg,useValue:this},{provide:F2,useValue:this.componentFactoryResolver},...P],ra(u),new Set(["environment"])),V&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const u=this._r3Injector;!u.destroyed&&u.destroy(),this.destroyCbs.forEach(_=>_()),this.destroyCbs=null}onDestroy(u){this.destroyCbs.push(u)}}class LM extends rA{constructor(u){super(),this.moduleType=u}create(u){return new RM(this.moduleType,u,[])}}class aA extends Tg{constructor(u){super(),this.componentFactoryResolver=new Tv(this),this.instance=null;const _=new $r([...u.providers,{provide:Tg,useValue:this},{provide:F2,useValue:this.componentFactoryResolver}],u.parent||Wr(),u.debugName,new Set(["environment"]));this.injector=_,u.runEnvironmentInitializers&&_.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(u){this.injector.onDestroy(u)}}function wM(l,u,_=null){return new aA({providers:l,parent:u,debugName:_,runEnvironmentInitializers:!0}).injector}let $3=(()=>{class l{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(_,P,V,ce){if(!this.cachedInjectors.has(_)){const Ce=V.length>0?wM(V,P,ce):null;this.cachedInjectors.set(_,Ce)}return this.cachedInjectors.get(_)}ngOnDestroy(){try{for(const _ of this.cachedInjectors.values())null!==_&&_.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=So({token:l,providedIn:"environment",factory:()=>new l})}return l})();function yb(l){return!!NM(l)&&(Array.isArray(l)||!(l instanceof Map)&&Symbol.iterator in l)}function NM(l){return null!==l&&("function"==typeof l||"object"==typeof l)}function __(l,u,_){return l[u]=_}function U2(l,u){return l[u]}function rd(l,u,_){return!Object.is(l[u],_)&&(l[u]=_,!0)}function Cg(l,u,_,P){const V=rd(l,u,_);return rd(l,u+1,P)||V}function Eb(l,u,_,P,V){const ce=Cg(l,u,_,P);return rd(l,u+2,V)||ce}function mm(l,u,_,P,V,ce){const Ce=Cg(l,u,_,P);return Cg(l,u+2,V,ce)||Ce}function G2(l,u,_,P,V,ce,Ce,et,Tt,en){const On=_+vo,ai=u.firstCreatePass?function X3(l,u,_,P,V,ce,Ce,et,Tt){const en=u.consts,On=Ss(u,l,4,Ce||null,et||null);Du(u,_,On,na(en,Tt)),ia(u,On);const ai=On.tView=h1(2,On,P,V,ce,u.directiveRegistry,u.pipeRegistry,null,u.schemas,en,null);return null!==u.queries&&(u.queries.template(u,On),ai.queries=u.queries.embeddedTView(On)),On}(On,u,l,P,V,ce,Ce,et,Tt):u.data[On];d1(ai,!1);const Ni=lA(u,l,ai,_);da()&&W(u,l,Ni,ai),jo(Ni,l);const ki=lf(Ni,l,Ni,ai);return l[On]=ki,cf(l,ki),Rv(ki,ai,l),ic(ai)&&Ua(u,l,ai),null!=Tt&&D0(l,ai,en),ai}function xM(l,u,_,P,V,ce,Ce,et){const Tt=ws(),en=La();return G2(Tt,en,l,u,_,P,V,na(en.consts,ce),Ce,et),xM}let lA=function cA(l,u,_,P){return u0(!0),u[Hs].createComment("")};var ad=function(l){return l[l.NOT_STARTED=0]="NOT_STARTED",l[l.IN_PROGRESS=1]="IN_PROGRESS",l[l.COMPLETE=2]="COMPLETE",l[l.FAILED=3]="FAILED",l}(ad||{});const uA=0,Q3=1;var ld=function(l){return l[l.Placeholder=0]="Placeholder",l[l.Loading=1]="Loading",l[l.Complete=2]="Complete",l[l.Error=3]="Error",l}(ld||{}),q2=function(l){return l[l.Initial=-1]="Initial",l}(q2||{});const Kg=0,Sb=1,$2=2,dA=4,pA=5;var hA=function(l){return l[l.Manual=0]="Manual",l[l.Playthrough=1]="Playthrough",l}(hA||{});function Cb(l,u,_){const P=1===l?pA:dA;null===u[P]&&(u[P]=[]),u[P].push(_)}function FM(l,u){const _=1===l?pA:dA,P=u[_];if(null!==P){for(const V of P)V();u[_]=null}}function fA(l){FM(1,l),FM(0,l)}function zb(l){return l+1}function zg(l,u){return l[zb(u.index)]}function jf(l,u){const _=zb(u.index);return l.data[_]}function WM(l,u){return u===ld.Placeholder?l.placeholderBlockConfig?.[uA]??null:u===ld.Loading?l.loadingBlockConfig?.[uA]??null:null}function mA(l){return l.loadingBlockConfig?.[Q3]??null}function _A(l,u){if(!l||0===l.length)return u;const _=new Set(l);for(const P of u)_.add(P);return l.length===_.size?l:Array.from(_)}const Db={passive:!0,capture:!0},BM=new WeakMap,kM=new WeakMap,Jg=new WeakMap,gA=["click","keydown"],bA=["mouseenter","focusin"];let Qg=null,jM=0;class UM{constructor(){this.callbacks=new Set,this.listener=()=>{for(const u of this.callbacks)u()}}}function MA(l,u){let _=kM.get(l);if(!_){_=new UM,kM.set(l,_);for(const P of gA)l.addEventListener(P,_.listener,Db)}return _.callbacks.add(u),()=>{const{callbacks:P,listener:V}=_;if(P.delete(u),0===P.size){kM.delete(l);for(const ce of gA)l.removeEventListener(ce,V,Db)}}}function OA(l,u){let _=BM.get(l);if(!_){_=new UM,BM.set(l,_);for(const P of bA)l.addEventListener(P,_.listener,Db)}return _.callbacks.add(u),()=>{const{callbacks:P,listener:V}=_;if(P.delete(u),0===P.size){for(const ce of bA)l.removeEventListener(ce,V,Db);BM.delete(l)}}}function vA(l,u,_){const P=_.get(sa);let V=Jg.get(l);return Qg=Qg||P.runOutsideAngular(()=>new IntersectionObserver(ce=>{for(const Ce of ce)Ce.isIntersecting&&Jg.has(Ce.target)&&P.run(Jg.get(Ce.target).listener)})),V||(V=new UM,P.runOutsideAngular(()=>Qg.observe(l)),Jg.set(l,V),jM++),V.callbacks.add(u),()=>{Jg.has(l)&&(V.callbacks.delete(u),0===V.callbacks.size&&(Qg?.unobserve(l),Jg.delete(l),jM--),0===jM&&(Qg?.disconnect(),Qg=null))}}function Zg(l,u,_,P,V,ce,Ce){const et=l[Mo];gM(function Tt(){if(Lc(l))return;const en=zg(l,u),On=en[Sb];if(On!==q2.Initial&&On!==ld.Placeholder)return;const ai=function sC(l,u,_){return null==_?l:_>=0?Td(_,l):l[u.index][z0]??null}(l,u,P);if(!ai)return void gM(Tt,{injector:et});if(Lc(ai))return;const Ni=function oC(l,u){return m0(vo+u,l)}(ai,_),ki=V(Ni,()=>{l!==ai&&Xd(ai,ki),ce()},et);l!==ai&&Bp(ai,ki),Cb(Ce,en,ki)},{injector:et})}function AA(l,u){const P=u[Mo].get(lC);return P.add(l),()=>P.remove(l)}let lC=(()=>{class l{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=Rs(sa),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(_){(this.executingCallbacks?this.deferred:this.current).add(_),null===this.idleId&&this.scheduleIdleCallback()}remove(_){const{current:P,deferred:V}=this;P.delete(_),V.delete(_),0===P.size&&0===V.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const _=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const P of this.current)P();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const P of this.deferred)this.current.add(P);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(_))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=So({token:l,providedIn:"root",factory:()=>new l})}return l})();function yA(l){return(u,_)=>EA(l,u,_)}function EA(l,u,_){const V=_[Mo].get(cC);return V.add(l,u),()=>V.remove(u)}let cC=(()=>{class l{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(_,P){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+_,P),this.scheduleTimer()}remove(_){const{current:P,deferred:V}=this;-1===this.removeFromQueue(P,_)&&this.removeFromQueue(V,_),0===P.length&&0===V.length&&this.clearTimeout()}addToQueue(_,P,V){let ce=_.length;for(let Ce=0;Ce<_.length;Ce+=2)if(_[Ce]>P){ce=Ce;break}ec(_,ce,P,V)}removeFromQueue(_,P){let V=-1;for(let ce=0;ce<_.length;ce+=2)if(_[ce+1]===P){V=ce;break}return V>-1&&Oa(_,V,2),V}scheduleTimer(){const _=()=>{this.clearTimeout(),this.executingCallbacks=!0;const V=[...this.current],ce=Date.now();for(let et=0;et<V.length;et+=2){const en=V[et+1];if(!(V[et]<=ce))break;en()}let Ce=-1;for(let et=0;et<this.current.length&&this.current[et]<=ce;et+=2)Ce=et+1;if(Ce>=0&&Oa(this.current,0,Ce+1),this.executingCallbacks=!1,this.deferred.length>0){for(let et=0;et<this.deferred.length;et+=2)this.addToQueue(this.current,this.deferred[et],this.deferred[et+1]);this.deferred.length=0}this.scheduleTimer()};if(this.current.length>0){const V=Date.now(),ce=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-ce>16){this.clearTimeout();const Ce=Math.max(ce-V,16);this.invokeTimerAt=ce,this.timeoutId=setTimeout(_,Ce)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static#e=this.\u0275prov=So({token:l,providedIn:"root",factory:()=>new l})}return l})();const uC=new Io("");function GM(l){return l.get(uC,null,{optional:!0})?.behavior!==hA.Manual&&pc(l)}let qM=null;function SA(l){const u=ws(),_=q0();if(e2(u,_),pc(u[Mo])){const P=l(()=>t2(u,_),u);Cb(0,zg(u,_),P)}}function TA(l){const u=ws();if(pc(u[Mo])){const _=q0(),V=jf(u[Zs],_);V.loadingState===ad.NOT_STARTED&&Cb(1,zg(u,_),l(()=>V2(V,u,_),u))}}function ng(l,u,_,P=!1){const V=_[zo],ce=V[Zs];if(Lc(V))return;const Ce=zg(V,u);if(DA(Ce[Sb],l)&&DA(Ce[Kg]??-1,l)){const Tt=V[Mo],en=jf(ce,u),ai=P||!pc(Tt)||null===mA(en)&&null===WM(en,ld.Loading)&&!WM(en,ld.Placeholder)?CA:qM;try{ai(l,Ce,_,u,V)}catch(Ni){Zp(V,Ni)}}}function $M(l,u,_){return l.get($3).getOrCreateInjector(u,l,_,"")}function CA(l,u,_,P,V){const ce=function tC(l,u,_){const V=jf(u[Zs],_);switch(l){case ld.Complete:return V.primaryTmplIndex;case ld.Loading:return V.loadingTmplIndex;case ld.Error:return V.errorTmplIndex;case ld.Placeholder:return V.placeholderTmplIndex;default:return null}}(l,V,P);if(null!==ce){u[Sb]=l;const Ce=V[Zs],Tt=Hc(Ce,ce+vo),en=0;let On;if(yd(_,en),l===ld.Complete){const ki=jf(Ce,P),cs=ki.providers;cs&&cs.length>0&&(On=function CC(l,u,_){if(l instanceof _u){const V=l.injector,Ce=$M(l.parentInjector,u,_);return new _u(V,Ce)}const P=l.get(mr);if(P!==l){const V=$M(P,u,_);return new _u(l,V)}return $M(l,u,_)}(V[Mo],ki,cs))}const ai=Sg(_,Tt.tView.ssrId),Ni=df(V,Tt,null,{dehydratedView:ai,injector:On});Lp(_,Ni,en,Rp(Tt,ai)),up(Ni,2)}}function zC(l,u,_,P,V){const ce=Date.now(),et=jf(V[Zs],P);if(null===u[$2]||u[$2]<=ce){u[$2]=null;const Tt=mA(et),en=null!==u[3];if(l!==ld.Loading||null===Tt||en){l>ld.Loading&&en&&(u[3](),u[3]=null,u[Kg]=null),CA(l,u,_,P,V);const On=WM(et,l);null!==On&&(u[$2]=ce+On,zA(On,u,P,_,V))}else{u[Kg]=l;const On=zA(Tt,u,P,_,V);u[3]=On}}else u[Kg]=l}function zA(l,u,_,P,V){return EA(l,()=>{const Ce=u[Kg];u[$2]=null,u[Kg]=null,null!==Ce&&ng(Ce,_,P)},V)}function DA(l,u){return l<u}function V2(l,u,_){u[Mo]&&GM(u[Mo])&&VM(l,u,_)}function VM(l,u,_){const P=u[Mo],V=u[Zs];if(l.loadingState!==ad.NOT_STARTED)return l.loadingPromise??Promise.resolve();const ce=zg(u,_),Ce=function nC(l,u){return Hc(l,u.primaryTmplIndex+vo)}(V,l);l.loadingState=ad.IN_PROGRESS,FM(1,ce);let et=l.dependencyResolverFn;const Tt=P.get(hs),en=Tt.add();return et?(l.loadingPromise=Promise.allSettled(et()).then(On=>{let ai=!1;const Ni=[],ki=[];for(const cs of On){if("fulfilled"!==cs.status){ai=!0;break}{const $s=cs.value,Oo=to($s)||Er($s);if(Oo)Ni.push(Oo);else{const No=Xr($s);No&&ki.push(No)}}}if(l.loadingPromise=null,Tt.remove(en),ai){if(l.loadingState=ad.FAILED,null===l.errorTmplIndex){const $s=new Vs(750,!1);Zp(u,$s)}}else{l.loadingState=ad.COMPLETE;const cs=Ce.tView;if(Ni.length>0){cs.directiveRegistry=_A(cs.directiveRegistry,Ni);const Oo=vt(!1,...Ni.map(No=>No.type));l.providers=Oo}ki.length>0&&(cs.pipeRegistry=_A(cs.pipeRegistry,ki))}}),l.loadingPromise):(l.loadingPromise=Promise.resolve().then(()=>{l.loadingPromise=null,l.loadingState=ad.COMPLETE,Tt.remove(en)}),l.loadingPromise)}function e2(l,u){ng(ld.Placeholder,u,l[u.index])}function PA(l,u,_){l.loadingPromise.then(()=>{l.loadingState===ad.COMPLETE?ng(ld.Complete,u,_):l.loadingState===ad.FAILED&&ng(ld.Error,u,_)})}function t2(l,u){const _=l[Zs],P=l[u.index];if(!GM(l[Mo]))return;const ce=zg(l,u),Ce=jf(_,u);switch(fA(ce),Ce.loadingState){case ad.NOT_STARTED:ng(ld.Loading,u,P),VM(Ce,l,u),Ce.loadingState===ad.IN_PROGRESS&&PA(Ce,u,P);break;case ad.IN_PROGRESS:ng(ld.Loading,u,P),PA(Ce,u,P);break;case ad.COMPLETE:ng(ld.Complete,u,P);break;case ad.FAILED:ng(ld.Error,u,P)}}function HM(l,u,_,P){const V=ws();return rd(V,yu(),u)&&(La(),lu(eo(),V,l,u,_,P)),HM}function n2(l,u){let _=!1,P=El();for(let ce=1;ce<u.length;ce+=2)_=rd(l,P++,u[ce])||_;if(Z0(P),!_)return xi;let V=u[0];for(let ce=1;ce<u.length;ce+=2)V+=xo(u[ce])+u[ce+1];return V}function s2(l,u,_,P){return rd(l,yu(),_)?u+xo(_)+P:xi}function o2(l,u,_,P,V,ce){const et=Cg(l,El(),_,V);return md(2),et?u+xo(_)+P+xo(V)+ce:xi}function r2(l,u,_,P,V,ce,Ce,et){const en=Eb(l,El(),_,V,Ce);return md(3),en?u+xo(_)+P+xo(V)+ce+xo(Ce)+et:xi}function a2(l,u,_,P,V,ce,Ce,et,Tt,en){const ai=mm(l,El(),_,V,Ce,Tt);return md(4),ai?u+xo(_)+P+xo(V)+ce+xo(Ce)+et+xo(Tt)+en:xi}function l2(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai){const Ni=El();let ki=mm(l,Ni,_,V,Ce,Tt);return ki=rd(l,Ni+4,On)||ki,md(5),ki?u+xo(_)+P+xo(V)+ce+xo(Ce)+et+xo(Tt)+en+xo(On)+ai:xi}function c2(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki){const cs=El();let $s=mm(l,cs,_,V,Ce,Tt);return $s=Cg(l,cs+4,On,Ni)||$s,md(6),$s?u+xo(_)+P+xo(V)+ce+xo(Ce)+et+xo(Tt)+en+xo(On)+ai+xo(Ni)+ki:xi}function u2(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s){const Oo=El();let No=mm(l,Oo,_,V,Ce,Tt);return No=Eb(l,Oo+4,On,Ni,cs)||No,md(7),No?u+xo(_)+P+xo(V)+ce+xo(Ce)+et+xo(Tt)+en+xo(On)+ai+xo(Ni)+ki+xo(cs)+$s:xi}function d2(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo,No){const Qs=El();let Xa=mm(l,Qs,_,V,Ce,Tt);return Xa=mm(l,Qs+4,On,Ni,cs,Oo)||Xa,md(8),Xa?u+xo(_)+P+xo(V)+ce+xo(Ce)+et+xo(Tt)+en+xo(On)+ai+xo(Ni)+ki+xo(cs)+$s+xo(Oo)+No:xi}function Pb(l,u){return l<<17|u<<2}function ig(l){return l>>17&32767}function YM(l){return 2|l}function Dg(l){return(131068&l)>>2}function XM(l,u){return-131069&l|u<<2}function KM(l){return 1|l}function kA(l,u,_,P){const V=l[_+1],ce=null===u;let Ce=P?ig(V):Dg(V),et=!1;for(;0!==Ce&&(!1===et||ce);){const en=l[Ce+1];wC(l[Ce],u)&&(et=!0,l[Ce+1]=P?KM(en):YM(en)),Ce=P?ig(en):Dg(en)}et&&(l[_+1]=P?YM(V):KM(V))}function wC(l,u){return null===l||null==u||(Array.isArray(l)?l[1]:l)===u||!(!Array.isArray(l)||"string"!=typeof u)&&X0(l,u)>=0}const Gd={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jA(l){return l.substring(Gd.key,Gd.keyEnd)}function NC(l){return l.substring(Gd.value,Gd.valueEnd)}function UA(l,u){const _=Gd.textEnd;return _===u?-1:(u=Gd.keyEnd=function WC(l,u,_){for(;u<_&&l.charCodeAt(u)>32;)u++;return u}(l,Gd.key=u,_),p2(l,u,_))}function GA(l,u){const _=Gd.textEnd;let P=Gd.key=p2(l,u,_);return _===P?-1:(P=Gd.keyEnd=function BC(l,u,_){let P;for(;u<_&&(45===(P=l.charCodeAt(u))||95===P||(-33&P)>=65&&(-33&P)<=90||P>=48&&P<=57);)u++;return u}(l,P,_),P=$A(l,P,_),P=Gd.value=p2(l,P,_),P=Gd.valueEnd=function kC(l,u,_){let P=-1,V=-1,ce=-1,Ce=u,et=Ce;for(;Ce<_;){const Tt=l.charCodeAt(Ce++);if(59===Tt)return et;34===Tt||39===Tt?et=Ce=VA(l,Tt,Ce,_):u===Ce-4&&85===ce&&82===V&&76===P&&40===Tt?et=Ce=VA(l,41,Ce,_):Tt>32&&(et=Ce),ce=V,V=P,P=-33&Tt}return et}(l,P,_),$A(l,P,_))}function qA(l){Gd.key=0,Gd.keyEnd=0,Gd.value=0,Gd.valueEnd=0,Gd.textEnd=l.length}function p2(l,u,_){for(;u<_&&l.charCodeAt(u)<=32;)u++;return u}function $A(l,u,_,P){return(u=p2(l,u,_))<_&&u++,u}function VA(l,u,_,P){let V=-1,ce=_;for(;ce<P;){const Ce=l.charCodeAt(ce++);if(Ce==u&&92!==V)return ce;V=92==Ce&&92===V?0:Ce}throw new Error}function JM(l,u,_){const P=ws();return rd(P,yu(),u)&&Bc(La(),eo(),P,l,u,P[Hs],_,!1),JM}function QM(l,u,_,P,V){const Ce=V?"class":"style";zl(l,_,u.inputs[Ce],Ce,P)}function ZM(l,u,_){return Um(l,u,_,!1),ZM}function eO(l,u){return Um(l,u,null,!0),eO}function g_(l){Gm(KA,jC,l,!1)}function jC(l,u){for(let _=function FC(l){return qA(l),GA(l,p2(l,0,Gd.textEnd))}(u);_>=0;_=GA(u,_))KA(l,jA(u),NC(u))}function HA(l){Gm(HC,b_,l,!0)}function b_(l,u){for(let _=function xC(l){return qA(l),UA(l,p2(l,0,Gd.textEnd))}(u);_>=0;_=UA(u,_))s1(l,jA(u),!0)}function Um(l,u,_,P){const V=ws(),ce=La(),Ce=md(2);ce.firstUpdatePass&&XA(ce,l,Ce,P),u!==xi&&rd(V,Ce,u)&&JA(ce,ce.data[Zi()],V,V[Hs],l,V[Ce+1]=function XC(l,u){return null==l||""===l||("string"==typeof u?l+=u:"object"==typeof l&&(l=ra(Dh(l)))),l}(u,_),P,Ce)}function Gm(l,u,_,P){const V=La(),ce=md(2);V.firstUpdatePass&&XA(V,null,ce,P);const Ce=ws();if(_!==xi&&rd(Ce,ce,_)){const et=V.data[Zi()];if(ZA(et,P)&&!YA(V,ce)){let Tt=P?et.classesWithoutHost:et.stylesWithoutHost;null!==Tt&&(_=ul(Tt,_||"")),QM(V,et,Ce,_,P)}else!function YC(l,u,_,P,V,ce,Ce,et){V===xi&&(V=Fr);let Tt=0,en=0,On=0<V.length?V[0]:null,ai=0<ce.length?ce[0]:null;for(;null!==On||null!==ai;){const Ni=Tt<V.length?V[Tt+1]:void 0,ki=en<ce.length?ce[en+1]:void 0;let $s,cs=null;On===ai?(Tt+=2,en+=2,Ni!==ki&&(cs=ai,$s=ki)):null===ai||null!==On&&On<ai?(Tt+=2,cs=On):(en+=2,cs=ai,$s=ki),null!==cs&&JA(l,u,_,P,cs,$s,Ce,et),On=Tt<V.length?V[Tt]:null,ai=en<ce.length?ce[en]:null}}(V,et,Ce,Ce[Hs],Ce[ce+1],Ce[ce+1]=function VC(l,u,_){if(null==_||""===_)return Fr;const P=[],V=Dh(_);if(Array.isArray(V))for(let ce=0;ce<V.length;ce++)l(P,V[ce],!0);else if("object"==typeof V)for(const ce in V)V.hasOwnProperty(ce)&&l(P,ce,V[ce]);else"string"==typeof V&&u(P,V);return P}(l,u,_),P,ce)}}function YA(l,u){return u>=l.expandoStartIndex}function XA(l,u,_,P){const V=l.data;if(null===V[_+1]){const ce=V[Zi()],Ce=YA(l,_);ZA(ce,P)&&null===u&&!Ce&&(u=!1),u=function UC(l,u,_,P){const V=Sl(l);let ce=P?u.residualClasses:u.residualStyles;if(null===V)0===(P?u.classBindings:u.styleBindings)&&(_=H2(_=tO(null,l,u,_,P),u.attrs,P),ce=null);else{const Ce=u.directiveStylingLast;if(-1===Ce||l[Ce]!==V)if(_=tO(V,l,u,_,P),null===ce){let Tt=function GC(l,u,_){const P=_?u.classBindings:u.styleBindings;if(0!==Dg(P))return l[ig(P)]}(l,u,P);void 0!==Tt&&Array.isArray(Tt)&&(Tt=tO(null,l,u,Tt[1],P),Tt=H2(Tt,u.attrs,P),function qC(l,u,_,P){l[ig(_?u.classBindings:u.styleBindings)]=P}(l,u,P,Tt))}else ce=function $C(l,u,_){let P;const V=u.directiveEnd;for(let ce=1+u.directiveStylingLast;ce<V;ce++)P=H2(P,l[ce].hostAttrs,_);return H2(P,u.attrs,_)}(l,u,P)}return void 0!==ce&&(P?u.residualClasses=ce:u.residualStyles=ce),_}(V,ce,u,P),function RC(l,u,_,P,V,ce){let Ce=ce?u.classBindings:u.styleBindings,et=ig(Ce),Tt=Dg(Ce);l[P]=_;let On,en=!1;if(Array.isArray(_)?(On=_[1],(null===On||X0(_,On)>0)&&(en=!0)):On=_,V)if(0!==Tt){const Ni=ig(l[et+1]);l[P+1]=Pb(Ni,et),0!==Ni&&(l[Ni+1]=XM(l[Ni+1],P)),l[et+1]=function PC(l,u){return 131071&l|u<<17}(l[et+1],P)}else l[P+1]=Pb(et,0),0!==et&&(l[et+1]=XM(l[et+1],P)),et=P;else l[P+1]=Pb(Tt,0),0===et?et=P:l[Tt+1]=XM(l[Tt+1],P),Tt=P;en&&(l[P+1]=YM(l[P+1])),kA(l,On,P,!0),kA(l,On,P,!1),function LC(l,u,_,P,V){const ce=V?l.residualClasses:l.residualStyles;null!=ce&&"string"==typeof u&&X0(ce,u)>=0&&(_[P+1]=KM(_[P+1]))}(u,On,l,P,ce),Ce=Pb(et,Tt),ce?u.classBindings=Ce:u.styleBindings=Ce}(V,ce,u,_,Ce,P)}}function tO(l,u,_,P,V){let ce=null;const Ce=_.directiveEnd;let et=_.directiveStylingLast;for(-1===et?et=_.directiveStart:et++;et<Ce&&(ce=u[et],P=H2(P,ce.hostAttrs,V),ce!==l);)et++;return null!==l&&(_.directiveStylingLast=et),P}function H2(l,u,_){const P=_?1:2;let V=-1;if(null!==u)for(let ce=0;ce<u.length;ce++){const Ce=u[ce];"number"==typeof Ce?V=Ce:V===P&&(Array.isArray(l)||(l=void 0===l?[]:["",l]),s1(l,Ce,!!_||u[++ce]))}return void 0===l?null:l}function KA(l,u,_){s1(l,u,Dh(_))}function HC(l,u,_){const P=String(u);""!==P&&!P.includes(" ")&&s1(l,P,_)}function JA(l,u,_,P,V,ce,Ce,et){if(!(3&u.type))return;const Tt=l.data,en=Tt[et+1],On=function IC(l){return!(1&~l)}(en)?QA(Tt,u,_,V,Dg(en),Ce):void 0;Ib(On)||(Ib(ce)||function DC(l){return!(2&~l)}(en)&&(ce=QA(Tt,null,_,V,et,Ce)),function Fn(l,u,_,P,V){if(u)V?l.addClass(_,P):l.removeClass(_,P);else{let ce=-1===P.indexOf("-")?void 0:h_.DashCase;null==V?l.removeStyle(_,P,ce):("string"==typeof V&&V.endsWith("!important")&&(V=V.slice(0,-10),ce|=h_.Important),l.setStyle(_,P,V,ce))}}(P,Ce,m0(Zi(),_),V,ce))}function QA(l,u,_,P,V,ce){const Ce=null===u;let et;for(;V>0;){const Tt=l[V],en=Array.isArray(Tt),On=en?Tt[1]:Tt,ai=null===On;let Ni=_[V+1];Ni===xi&&(Ni=ai?Fr:void 0);let ki=ai?$l(Ni,P):On===P?Ni:void 0;if(en&&!Ib(ki)&&(ki=$l(Tt,P)),Ib(ki)&&(et=ki,Ce))return et;const cs=l[V+1];V=Ce?ig(cs):Dg(cs)}if(null!==u){let Tt=ce?u.residualClasses:u.residualStyles;null!=Tt&&(et=$l(Tt,P))}return et}function Ib(l){return void 0!==l}function ZA(l,u){return!!(l.flags&(u?8:16))}function ey(l,u,_){Gm(s1,b_,s2(ws(),l,u,_),!0)}function ty(){return ws()[r0][Ns]}class sz{destroy(u){}updateValue(u,_){}swap(u,_){const P=Math.min(u,_),V=Math.max(u,_),ce=this.detach(V);if(V-P>1){const Ce=this.detach(P);this.attach(P,ce),this.attach(V,Ce)}else this.attach(P,ce)}move(u,_){this.attach(_,this.detach(u))}}function nO(l,u,_,P,V){return l===_&&Object.is(u,P)?1:Object.is(V(l,u),V(_,P))?-1:0}function iO(l,u,_,P){return!(void 0===u||!u.has(P)||(l.attach(_,u.get(P)),u.delete(P),0))}function ny(l,u,_,P,V){if(iO(l,u,P,_(P,V)))l.updateValue(P,V);else{const ce=l.create(P,V);l.attach(P,ce)}}function iy(l,u,_,P){const V=new Set;for(let ce=u;ce<=_;ce++)V.add(P(ce,l.at(ce)));return V}class sy{constructor(){this.kvMap=new Map,this._vMap=void 0}has(u){return this.kvMap.has(u)}delete(u){if(!this.has(u))return!1;const _=this.kvMap.get(u);return void 0!==this._vMap&&this._vMap.has(_)?(this.kvMap.set(u,this._vMap.get(_)),this._vMap.delete(_)):this.kvMap.delete(u),!0}get(u){return this.kvMap.get(u)}set(u,_){if(this.kvMap.has(u)){let P=this.kvMap.get(u);void 0===this._vMap&&(this._vMap=new Map);const V=this._vMap;for(;V.has(P);)P=V.get(P);V.set(P,_)}else this.kvMap.set(u,_)}forEach(u){for(let[_,P]of this.kvMap)if(u(P,_),void 0!==this._vMap){const V=this._vMap;for(;V.has(P);)P=V.get(P),u(P,_)}}}function oy(l,u){eh("NgControlFlow");const _=ws(),P=yu(),V=_[P]!==xi?_[P]:-1,ce=-1!==V?Rb(_,vo+V):void 0;if(rd(_,P,l)){const et=O(null);try{if(void 0!==ce&&yd(ce,0),-1!==l){const Tt=vo+l,en=Rb(_,Tt),On=sO(_[Zs],Tt),ai=Sg(en,On.tView.ssrId);Lp(en,df(_,On,u,{dehydratedView:ai}),0,Rp(On,ai))}}finally{O(et)}}else if(void 0!==ce){const et=pm(ce,0);void 0!==et&&(et[Ns]=u)}}class rz{constructor(u,_,P){this.lContainer=u,this.$implicit=_,this.$index=P}get $count(){return this.lContainer.length-z0}}function ry(l){return l}function ay(l,u){return u}class az{constructor(u,_,P){this.hasEmptyBlock=u,this.trackByFn=_,this.liveCollection=P}}function ly(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni){eh("NgControlFlow");const ki=ws(),cs=La(),$s=void 0!==Tt,Oo=ws(),No=et?Ce.bind(Oo[r0][Ns]):Ce,Qs=new az($s,No);Oo[vo+l]=Qs,G2(ki,cs,l+1,u,_,P,V,na(cs.consts,ce)),$s&&G2(ki,cs,l+2,Tt,en,On,ai,na(cs.consts,Ni))}class lz extends sz{constructor(u,_,P){super(),this.lContainer=u,this.hostLView=_,this.templateTNode=P,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-z0}at(u){return this.getLView(u)[Ns].$implicit}attach(u,_){const P=_[As];this.needsIndexUpdate||=u!==this.length,Lp(this.lContainer,_,u,Rp(this.templateTNode,P))}detach(u){return this.needsIndexUpdate||=u!==this.length-1,function cz(l,u){return z_(l,u)}(this.lContainer,u)}create(u,_){const P=Sg(this.lContainer,this.templateTNode.tView.ssrId),V=df(this.hostLView,this.templateTNode,new rz(this.lContainer,_,u),{dehydratedView:P});return this.operationsCounter?.recordCreate(),V}destroy(u){D_(u[Zs],u),this.operationsCounter?.recordDestroy()}updateValue(u,_){this.getLView(u)[Ns].$implicit=_}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let u=0;u<this.length;u++)this.getLView(u)[Ns].$index=u}getLView(u){return function uz(l,u){return pm(l,u)}(this.lContainer,u)}}function cy(l){const u=O(null),_=Zi();try{const P=ws(),V=P[Zs],ce=P[_],Ce=_+1,et=Rb(P,Ce);if(void 0===ce.liveCollection){const en=sO(V,Ce);ce.liveCollection=new lz(et,P,en)}else ce.liveCollection.reset();const Tt=ce.liveCollection;if(function oz(l,u,_){let P,V,ce=0,Ce=l.length-1;if(Array.isArray(u)){let Tt=u.length-1;for(;ce<=Ce&&ce<=Tt;){const en=l.at(ce),On=u[ce],ai=nO(ce,en,ce,On,_);if(0!==ai){ai<0&&l.updateValue(ce,On),ce++;continue}const Ni=l.at(Ce),ki=u[Tt],cs=nO(Ce,Ni,Tt,ki,_);if(0!==cs){cs<0&&l.updateValue(Ce,ki),Ce--,Tt--;continue}const $s=_(ce,en),Oo=_(Ce,Ni),No=_(ce,On);if(Object.is(No,Oo)){const Qs=_(Tt,ki);Object.is(Qs,$s)?(l.swap(ce,Ce),l.updateValue(Ce,ki),Tt--,Ce--):l.move(Ce,ce),l.updateValue(ce,On),ce++}else if(P??=new sy,V??=iy(l,ce,Ce,_),iO(l,P,ce,No))l.updateValue(ce,On),ce++,Ce++;else if(V.has(No))P.set($s,l.detach(ce)),Ce--;else{const Qs=l.create(ce,u[ce]);l.attach(ce,Qs),ce++,Ce++}}for(;ce<=Tt;)ny(l,P,_,ce,u[ce]),ce++}else if(null!=u){const Tt=u[Symbol.iterator]();let en=Tt.next();for(;!en.done&&ce<=Ce;){const On=l.at(ce),ai=en.value,Ni=nO(ce,On,ce,ai,_);if(0!==Ni)Ni<0&&l.updateValue(ce,ai),ce++,en=Tt.next();else{P??=new sy,V??=iy(l,ce,Ce,_);const ki=_(ce,ai);if(iO(l,P,ce,ki))l.updateValue(ce,ai),ce++,Ce++,en=Tt.next();else if(V.has(ki)){const cs=_(ce,On);P.set(cs,l.detach(ce)),Ce--}else l.attach(ce,l.create(ce,ai)),ce++,Ce++,en=Tt.next()}}for(;!en.done;)ny(l,P,_,l.length,en.value),en=Tt.next()}for(;ce<=Ce;)l.destroy(l.detach(Ce--));P?.forEach(Tt=>{l.destroy(Tt)})}(Tt,l,ce.trackByFn),Tt.updateIndexes(),ce.hasEmptyBlock){const en=yu(),On=0===Tt.length;if(rd(P,en,On)){const ai=_+2,Ni=Rb(P,ai);if(On){const ki=sO(V,ai),cs=Sg(Ni,ki.tView.ssrId);Lp(Ni,df(P,ki,void 0,{dehydratedView:cs}),0,Rp(ki,cs))}else yd(Ni,0)}}}finally{O(u)}}function Rb(l,u){return l[u]}function sO(l,u){return Hc(l,u)}function Lb(l,u,_,P){const V=ws(),ce=La(),Ce=vo+l,et=V[Hs],Tt=ce.firstCreatePass?function dz(l,u,_,P,V,ce){const Ce=u.consts,Tt=Ss(u,l,2,P,na(Ce,V));return Du(u,_,Tt,na(Ce,ce)),null!==Tt.attrs&&Mb(Tt,Tt.attrs,!1),null!==Tt.mergedAttrs&&Mb(Tt,Tt.mergedAttrs,!0),null!==u.queries&&u.queries.elementStart(u,Tt),Tt}(Ce,ce,V,u,_,P):ce.data[Ce],en=uy(ce,V,Tt,et,u,l);V[Ce]=en;const On=ic(Tt);return d1(Tt,!0),gi(et,en,Tt),!function Xg(l){return!(32&~l.flags)}(Tt)&&da()&&W(ce,V,en,Tt),0===function gm(){return _r.lFrame.elementDepthCount}()&&jo(en,V),function Kd(){_r.lFrame.elementDepthCount++}(),On&&(Ua(ce,V,Tt),xa(ce,Tt,V)),null!==P&&D0(V,Tt),Lb}function wb(){let l=q0();Mp()?wc():(l=l.parent,d1(l,!1));const u=l;(function fd(l){return _r.skipHydrationRootTNode===l})(u)&&function qf(){_r.skipHydrationRootTNode=null}(),function bp(){_r.lFrame.elementDepthCount--}();const _=La();return _.firstCreatePass&&(ia(_,l),Hu(l)&&_.queries.elementEnd(l)),null!=u.classesWithoutHost&&function Yc(l){return!!(8&l.flags)}(u)&&QM(_,u,ws(),u.classesWithoutHost,!0),null!=u.stylesWithoutHost&&function ph(l){return!!(16&l.flags)}(u)&&QM(_,u,ws(),u.stylesWithoutHost,!1),wb}function oO(l,u,_,P){return Lb(l,u,_,P),wb(),oO}let uy=(l,u,_,P,V,ce)=>(u0(!0),Jp(P,V,function ka(){return _r.lFrame.currentNamespace}()));function Nb(l,u,_){const P=ws(),V=La(),ce=l+vo,Ce=V.firstCreatePass?function fz(l,u,_,P,V){const ce=u.consts,Ce=na(ce,P),et=Ss(u,l,8,"ng-container",Ce);return null!==Ce&&Mb(et,Ce,!0),Du(u,_,et,na(ce,V)),null!==u.queries&&u.queries.elementStart(u,et),et}(ce,V,P,u,_):V.data[ce];d1(Ce,!0);const et=dy(V,P,Ce,l);return P[ce]=et,da()&&W(V,P,et,Ce),jo(et,P),ic(Ce)&&(Ua(V,P,Ce),xa(V,Ce,P)),null!=_&&D0(P,Ce),Nb}function xb(){let l=q0();const u=La();return Mp()?wc():(l=l.parent,d1(l,!1)),u.firstCreatePass&&(ia(u,l),Hu(l)&&u.queries.elementEnd(l)),xb}function rO(l,u,_){return Nb(l,u,_),xb(),rO}let dy=(l,u,_,P)=>(u0(!0),sf(u[Hs],""));function py(){return ws()}function aO(l,u,_){const P=ws();return rd(P,yu(),u)&&Bc(La(),eo(),P,l,u,P[Hs],_,!0),aO}function lO(l,u,_){const P=ws();if(rd(P,yu(),u)){const ce=La(),Ce=eo();Bc(ce,Ce,P,l,u,Y1(Sl(ce.data),Ce,P),_,!0)}return lO}const Pg=void 0;var bz=["en",[["a","p"],["AM","PM"],Pg],[["AM","PM"],Pg,Pg],[["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"]],Pg,[["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"]],Pg,[["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}",Pg,"{1} 'at' {0}",Pg],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function gz(l){const _=Math.floor(Math.abs(l)),P=l.toString().replace(/^[^.]*\.?/,"").length;return 1===_&&0===P?1:5}];let h2={};function cO(l){const u=function Mz(l){return l.toLowerCase().replace(/_/g,"-")}(l);let _=fy(u);if(_)return _;const P=u.split("-")[0];if(_=fy(P),_)return _;if("en"===P)return bz;throw new Vs(701,!1)}function hy(l){return cO(l)[f2.PluralCase]}function fy(l){return l in h2||(h2[l]=mo.ng&&mo.ng.common&&mo.ng.common.locales&&mo.ng.common.locales[l]),h2[l]}var f2=function(l){return l[l.LocaleId=0]="LocaleId",l[l.DayPeriodsFormat=1]="DayPeriodsFormat",l[l.DayPeriodsStandalone=2]="DayPeriodsStandalone",l[l.DaysFormat=3]="DaysFormat",l[l.DaysStandalone=4]="DaysStandalone",l[l.MonthsFormat=5]="MonthsFormat",l[l.MonthsStandalone=6]="MonthsStandalone",l[l.Eras=7]="Eras",l[l.FirstDayOfWeek=8]="FirstDayOfWeek",l[l.WeekendRange=9]="WeekendRange",l[l.DateFormat=10]="DateFormat",l[l.TimeFormat=11]="TimeFormat",l[l.DateTimeFormat=12]="DateTimeFormat",l[l.NumberSymbols=13]="NumberSymbols",l[l.NumberFormats=14]="NumberFormats",l[l.CurrencyCode=15]="CurrencyCode",l[l.CurrencySymbol=16]="CurrencySymbol",l[l.CurrencyName=17]="CurrencyName",l[l.Currencies=18]="Currencies",l[l.Directionality=19]="Directionality",l[l.PluralCase=20]="PluralCase",l[l.ExtraData=21]="ExtraData",l}(f2||{});const Oz=["zero","one","two","few","many"],Fb="en-US",Wb={marker:"element"},Bb={marker:"ICU"};var ff=function(l){return l[l.SHIFT=2]="SHIFT",l[l.APPEND_EAGERLY=1]="APPEND_EAGERLY",l[l.COMMENT=2]="COMMENT",l}(ff||{});let my=Fb,Y2=0,X2=0;let K2=(l,u,_,P)=>(u0(!0),function _y(l,u,_){const P=l[Hs];switch(_){case Node.COMMENT_NODE:return sf(P,u);case Node.TEXT_NODE:return nf(P,u);case Node.ELEMENT_NODE:return Jp(P,u,null)}}(l,_,P));function gy(l,u,_,P){const V=_[Hs];let Ce,ce=null;for(let et=0;et<u.length;et++){const Tt=u[et];if("string"==typeof Tt){const en=u[++et];null===_[en]&&(_[en]=K2(_,en,Tt,Node.TEXT_NODE))}else if("number"==typeof Tt)switch(1&Tt){case 0:const en=ev(Tt);let On,ai;if(null===ce&&(ce=en,Ce=e(V,P)),en===ce?(On=P,ai=Ce):(On=null,ai=_o(_[en])),null!==ai){const $s=tv(Tt);rf(V,ai,_[$s],On,!1);const No=R2(l,$s);if(null!==No&&"object"==typeof No){const Qs=hb(No,_);null!==Qs&&gy(l,No.create[Qs],_,_[No.anchorIdx])}}break;case 1:const ki=u[++et],cs=u[++et];kc(V,m0(Tt>>>1,_),null,null,ki,cs,null)}else switch(Tt){case Bb:const en=u[++et],On=u[++et];null===_[On]&&jo(_[On]=K2(_,On,en,Node.COMMENT_NODE),_);break;case Wb:const ai=u[++et],Ni=u[++et];null===_[Ni]&&jo(_[Ni]=K2(_,Ni,ai,Node.ELEMENT_NODE),_)}}}function by(l,u,_,P,V){for(let ce=0;ce<_.length;ce++){const Ce=_[ce],et=_[++ce];if(Ce&V){let Tt="";for(let en=ce+1;en<=ce+et;en++){const On=_[en];if("string"==typeof On)Tt+=On;else if("number"==typeof On)if(On<0)Tt+=xo(u[P-On]);else{const ai=On>>>2;switch(3&On){case 1:const Ni=_[++en],ki=_[++en],cs=l.data[ai];"string"==typeof cs?kc(u[Hs],u[ai],null,cs,Ni,Tt,ki):Bc(l,cs,u,Ni,Tt,u[Hs],ki,!1);break;case 0:const $s=u[ai];null!==$s&&Ph(u[Hs],$s,Tt);break;case 2:Pz(l,R2(l,ai),u,Tt);break;case 3:My(l,R2(l,ai),P,u)}}}}else{const Tt=_[ce+1];if(Tt>0&&!(3&~Tt)){const On=R2(l,Tt>>>2);u[On.currentCaseLViewIndex]<0&&My(l,On,P,u)}}ce+=et}}function My(l,u,_,P){let V=P[u.currentCaseLViewIndex];if(null!==V){let ce=Y2;V<0&&(V=P[u.currentCaseLViewIndex]=~V,ce=-1),by(l,P,u.update[V],_,ce)}}function Pz(l,u,_,P){const V=function Iz(l,u){let _=l.cases.indexOf(u);if(-1===_)switch(l.type){case 1:{const P=function vz(l,u){const _=hy(u)(parseInt(l,10)),P=Oz[_];return void 0!==P?P:"other"}(u,function Ez(){return my}());_=l.cases.indexOf(P),-1===_&&"other"!==P&&(_=l.cases.indexOf("other"));break}case 0:_=l.cases.indexOf("other")}return-1===_?null:_}(u,P);if(hb(u,_)!==V&&(Oy(l,u,_),_[u.currentCaseLViewIndex]=null===V?null:~V,null!==V)){const Ce=_[u.anchorIdx];Ce&&gy(l,u.create[V],_,Ce),function WT(l,u,_){dv(l,u,_)}(_,u.anchorIdx,V)}}function Oy(l,u,_){let P=hb(u,_);if(null!==P){const V=u.remove[P];for(let ce=0;ce<V.length;ce++){const Ce=V[ce];if(Ce>0){const et=m0(Ce,_);null!==et&&ye(_[Hs],et)}else Oy(l,R2(l,~Ce),_)}}}const kb=/\ufffd(\d+):?\d*\ufffd/gi,Rz=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Lz=/\ufffd(\d+)\ufffd/,Ay=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,J2="\ufffd",wz=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Nz=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,xz=/\uE500/g;function yy(l,u,_,P,V,ce,Ce){const et=V1(l,P,1,null);let Tt=et<<ff.SHIFT,en=Qd();u===en&&(en=null),null===en&&(Tt|=ff.APPEND_EAGERLY),Ce&&(Tt|=ff.COMMENT,function tf(l){void 0===f_&&(f_=l())}(bT)),V.push(Tt,null===ce?"":ce);const On=Pa(l,et,Ce?32:1,null===ce?"":ce,null);Np(_,On);const ai=On.index;return d1(On,!1),null!==en&&u!==en&&function mT(l,u){let _=l.insertBeforeIndex;null===_?(v(yg,qg),_=l.insertBeforeIndex=[null,u]):(z1(Array.isArray(_),!0,"Expecting array here"),_.push(u))}(en,ai),On}function Bz(l,u,_,P,V,ce,Ce,et){const Tt=et.match(kb),On=yy(u,_,P,Ce,V,Tt?null:et,!1).index;Tt&&Q2(ce,et,On,null,0,null),l.push({kind:0,index:On})}function Q2(l,u,_,P,V,ce){const Ce=l.length,et=Ce+1;l.push(null,null);const Tt=Ce+2,en=u.split(kb);let On=0;for(let ai=0;ai<en.length;ai++){const Ni=en[ai];if(1&ai){const ki=V+parseInt(Ni,10);l.push(-1-ki),On|=Ey(ki)}else""!==Ni&&l.push(Ni)}return l.push(_<<2|(P?1:0)),P&&l.push(P,ce),l[Ce]=On,l[et]=l.length-Tt,On}function jz(l){let u=0;for(let _=0;_<l.length;_++){const P=l[_];"number"==typeof P&&P<0&&u++}return u}function Ey(l){return 1<<Math.min(l,31)}function Sy(l){let u,ce,_="",P=0,V=!1;for(;null!==(u=wz.exec(l));)V?u[0]===`${J2}/*${ce}${J2}`&&(P=u.index,V=!1):(_+=l.substring(P,u.index+u[0].length),ce=u[1],V=!0);return _+=l.slice(P),_}function Ty(l,u,_,P,V,ce,Ce){let et=0;const Tt={type:ce.type,currentCaseLViewIndex:V1(u,_,1,null),anchorIdx:Ce,cases:[],create:[],remove:[],update:[]};(function Vz(l,u,_){l.push(Ey(u.mainBinding),2,-1-u.mainBinding,_<<2|2)})(P,ce,Ce),function fT(l,u,_){const P=l.data[u];null===P?l.data[u]=_:P.value=_}(u,Ce,Tt);const en=ce.values,On=[];for(let ai=0;ai<en.length;ai++){const Ni=en[ai],ki=[];for(let $s=0;$s<Ni.length;$s++){const Oo=Ni[$s];if("string"!=typeof Oo){const No=ki.push(Oo)-1;Ni[$s]=`\x3c!--\ufffd${No}\ufffd--\x3e`}}const cs=[];On.push(cs),et=qz(cs,u,Tt,_,P,V,ce.cases[ai],Ni.join(""),ki)|et}et&&function Hz(l,u,_){l.push(u,1,_<<2|3)}(P,et,Ce),l.push({kind:3,index:Ce,cases:On,currentCaseLViewIndex:Tt.currentCaseLViewIndex})}function Gz(l){const u=[],_=[];let P=1,V=0;const ce=uO(l=l.replace(Ay,function(Ce,et,Tt){return P="select"===Tt?0:1,V=parseInt(et.slice(1),10),""}));for(let Ce=0;Ce<ce.length;){let et=ce[Ce++].trim();1===P&&(et=et.replace(/\s*(?:=)?(\w+)\s*/,"$1")),et.length&&u.push(et);const Tt=uO(ce[Ce++]);u.length>_.length&&_.push(Tt)}return{type:P,mainBinding:V,cases:u,values:_}}function uO(l){if(!l)return[];let u=0;const _=[],P=[],V=/[{}]/g;let ce;for(V.lastIndex=0;ce=V.exec(l);){const et=ce.index;if("}"==ce[0]){if(_.pop(),0==_.length){const Tt=l.substring(u,et);Ay.test(Tt)?P.push(Gz(Tt)):P.push(Tt),u=et+1}}else{if(0==_.length){const Tt=l.substring(u,et);P.push(Tt),u=et+1}_.push("{")}}const Ce=l.substring(u);return P.push(Ce),P}function qz(l,u,_,P,V,ce,Ce,et,Tt){const en=[],On=[],ai=[];_.cases.push(Ce),_.create.push(en),_.remove.push(On),_.update.push(ai);const ki=Cc(np()).getInertBodyElement(et),cs=ef(ki)||ki;return cs?Cy(l,u,_,P,V,en,On,ai,cs,ce,Tt,0):0}function Cy(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai){let Ni=0,ki=Tt.firstChild;for(;ki;){const cs=V1(u,P,1,null);switch(ki.nodeType){case Node.ELEMENT_NODE:const $s=ki,Oo=$s.tagName.toLowerCase();if(ni.hasOwnProperty(Oo)){dO(ce,Wb,Oo,en,cs),u.data[cs]=Oo;const Ml=$s.attributes;for(let $d=0;$d<Ml.length;$d++){const mf=Ml.item($d),g2=mf.name.toLowerCase();mf.value.match(kb)?ys.hasOwnProperty(g2)&&Q2(et,mf.value,cs,mf.name,0,ji[g2]?wm:null):Yz(ce,cs,mf)}const Ic={kind:1,index:cs,children:[]};l.push(Ic),Ni=Cy(Ic.children,u,_,P,V,ce,Ce,et,ki,cs,On,ai+1)|Ni,zy(Ce,cs,ai)}break;case Node.TEXT_NODE:const No=ki.textContent||"",Qs=No.match(kb);dO(ce,null,Qs?"":No,en,cs),zy(Ce,cs,ai),Qs&&(Ni=Q2(et,No,cs,null,0,null)|Ni),l.push({kind:0,index:cs});break;case Node.COMMENT_NODE:const Xa=Lz.exec(ki.textContent||"");if(Xa){const Ic=On[parseInt(Xa[1],10)];dO(ce,Bb,"",en,cs),Ty(l,u,P,V,en,Ic,cs),$z(Ce,cs,ai)}}ki=ki.nextSibling}return Ni}function zy(l,u,_){0===_&&l.push(u)}function $z(l,u,_){0===_&&(l.push(~u),l.push(u))}function dO(l,u,_,P,V){null!==u&&l.push(u),l.push(_,V,function gT(l,u,_){return l|u<<17|_<<1}(0,P,V))}function Yz(l,u,_){l.push(u<<1|1,_.name,_.value)}const Dy=0,Xz=/\[(\ufffd.+?\ufffd?)\]/,Kz=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,Jz=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Qz=/{([A-Z0-9_]+)}/g,Zz=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,eD=/\/\*/,tD=/\d+\:(\d+)/;function pO(l,u,_=-1){const P=La(),V=ws(),ce=vo+l,Ce=na(P.consts,u),et=Qd();P.firstCreatePass&&function Wz(l,u,_,P,V,ce){const Ce=Qd(),et=[],Tt=[],en=[[]],On=[[]];V=function Uz(l,u){if(function iv(l){return-1===l}(u))return Sy(l);{const _=l.indexOf(`:${u}${J2}`)+2+u.toString().length,P=l.search(new RegExp(`${J2}\\/\\*\\d+:${u}${J2}`));return Sy(l.substring(_,P))}}(V,ce);const ai=function Fz(l){return l.replace(xz," ")}(V).split(Nz);for(let Ni=0;Ni<ai.length;Ni++){let ki=ai[Ni];if(1&Ni){const cs=47===ki.charCodeAt(0),$s=ki.charCodeAt(cs?1:0),Oo=vo+Number.parseInt(ki.substring(cs?2:1));if(cs)en.shift(),On.shift(),d1(Qd(),!1);else{const No=_T(l,en[0],Oo);en.unshift([]),d1(No,!0);const Qs={kind:2,index:Oo,children:[],type:35===$s?0:1};On[0].push(Qs),On.unshift(Qs.children)}}else{const cs=uO(ki);for(let $s=0;$s<cs.length;$s++){let Oo=cs[$s];if(1&$s){const No=Oo;if("object"!=typeof No)throw new Error(`Unable to parse ICU expression in "${V}" message.`);const Xa=yy(l,Ce,en[0],_,et,"",!0).index;Ty(On[0],l,_,Tt,u,No,Xa)}else""!==Oo&&Bz(On[0],l,Ce,en[0],et,Tt,_,Oo)}}}l.data[P]={create:et,update:Tt,ast:On[0],parentTNodeIndex:u}}(P,null===et?0:et.index,V,ce,Ce,_),2===P.type?V[r0][Go]|=32:V[Go]|=32;const Tt=P.data[ce],On=wd(P,et===V[Vo]?null:et,V),ai=et&&8&et.type?V[et.index]:null;(function zT(l,u,_,P){cv(l,u,_,P)})(V,ce,et,_),function Dz(l,u,_,P){const V=l[Hs];for(let ce=0;ce<u.length;ce++){const Ce=u[ce++],en=(Ce&ff.APPEND_EAGERLY)===ff.APPEND_EAGERLY,On=Ce>>>ff.SHIFT;let ai=l[On],Ni=!1;null===ai&&(ai=l[On]=K2(l,On,u[ce],(Ce&ff.COMMENT)===ff.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),Ni=da()),en&&null!==_&&Ni&&rf(V,_,ai,P,!1)}}(V,Tt.create,On,ai),dh(!0)}function hO(){dh(!1)}function Py(l,u,_){pO(l,u,_),hO()}function Iy(l,u){const _=La(),P=na(_.consts,u);!function kz(l,u,_){const V=q0().index,ce=[];if(l.firstCreatePass&&null===l.data[u]){for(let Ce=0;Ce<_.length;Ce+=2){const et=_[Ce],Tt=_[Ce+1];if(""!==Tt){if(Rz.test(Tt))throw new Error(`ICU expressions are not supported in attributes. Message: "${Tt}".`);Q2(ce,Tt,V,et,jz(ce),null)}}l.data[u]=ce}}(_,l+vo,P)}function fO(l){return function Sz(l){l&&(Y2|=1<<Math.min(X2,31)),X2++}(rd(ws(),yu(),l)),fO}function Ry(l){!function Tz(l,u,_){if(X2>0){const P=l.data[_];by(l,u,Array.isArray(P)?P:P.update,El()-X2-1,Y2)}Y2=0,X2=0}(La(),ws(),l+vo)}function Ly(l,u={}){return function nD(l,u={}){let _=l;if(Xz.test(l)){const P={},V=[Dy];_=_.replace(Kz,(ce,Ce,et)=>{const Tt=Ce||et,en=P[Tt]||[];if(en.length||(Tt.split("|").forEach($s=>{const Oo=$s.match(tD),No=Oo?parseInt(Oo[1],10):Dy,Qs=eD.test($s);en.push([No,Qs,$s])}),P[Tt]=en),!en.length)throw new Error(`i18n postprocess: unmatched placeholder - ${Tt}`);const On=V[V.length-1];let ai=0;for(let $s=0;$s<en.length;$s++)if(en[$s][0]===On){ai=$s;break}const[Ni,ki,cs]=en[ai];return ki?V.pop():On!==Ni&&V.push(Ni),en.splice(ai,1),cs})}return Object.keys(u).length&&(_=_.replace(Jz,(P,V,ce,Ce,et,Tt)=>u.hasOwnProperty(ce)?`${V}${u[ce]}${Tt}`:P),_=_.replace(Qz,(P,V)=>u.hasOwnProperty(V)?u[V]:P),_=_.replace(Zz,(P,V)=>{if(u.hasOwnProperty(V)){const ce=u[V];if(!ce.length)throw new Error(`i18n postprocess: unmatched ICU - ${P} with key: ${V}`);return ce.shift()}return P})),_}(l,u)}let wy=(l,u,_)=>{};function mO(l,u,_,P){const V=ws(),ce=La(),Ce=q0();return gO(ce,V,V[Hs],Ce,l,u,P),mO}function _O(l,u){const _=q0(),P=ws(),V=La();return gO(V,P,Y1(Sl(V.data),_,P),_,l,u),_O}function gO(l,u,_,P,V,ce,Ce){const et=ic(P),en=l.firstCreatePass&&id(l),On=u[Ns],ai=uf(u);let Ni=!0;if(3&P.type||Ce){const $s=N0(P,u),Oo=Ce?Ce($s):$s,No=ai.length,Qs=Ce?Ml=>Ce(_o(Ml[P.index])):P.index;let Xa=null;if(!Ce&&et&&(Xa=function iD(l,u,_,P){const V=l.cleanup;if(null!=V)for(let ce=0;ce<V.length-1;ce+=2){const Ce=V[ce];if(Ce===_&&V[ce+1]===P){const et=u[Kr],Tt=V[ce+2];return et.length>Tt?et[Tt]:null}"string"==typeof Ce&&(ce+=2)}return null}(l,u,V,P.index)),null!==Xa)(Xa.__ngLastListenerFn__||Xa).__ngNextListenerFn__=ce,Xa.__ngLastListenerFn__=ce,Ni=!1;else{ce=Fy(P,u,On,ce),wy($s,V,ce);const Ml=_.listen(Oo,V,ce);ai.push(ce,Ml),en&&en.push(V,Qs,No,No+1)}}else ce=Fy(P,u,On,ce);const ki=P.outputs;let cs;if(Ni&&null!==ki&&(cs=ki[V])){const $s=cs.length;if($s)for(let Oo=0;Oo<$s;Oo+=2){const Ic=u[cs[Oo]][cs[Oo+1]].subscribe(ce),$d=ai.length;ai.push(ce,Ic),en&&en.push(V,P.index,$d,-($d+1))}}}function xy(l,u,_,P){const V=O(null);try{return hu(6,u,_),!1!==_(P)}catch(ce){return Zp(l,ce),!1}finally{hu(7,u,_),O(V)}}function Fy(l,u,_,P){return function V(ce){if(ce===Function)return P;up(l.componentOffset>-1?_0(l.index,u):u,5);let et=xy(u,_,P,ce),Tt=V.__ngNextListenerFn__;for(;Tt;)et=xy(u,_,Tt,ce)&&et,Tt=Tt.__ngNextListenerFn__;return et}}function Wy(l=1){return function Xi(l){return(_r.lFrame.contextLView=Td(l,_r.lFrame.contextLView))[Ns]}(l)}function sD(l,u){let _=null;const P=function ot(l){const u=l.attrs;if(null!=u){const _=u.indexOf(5);if(!(1&_))return u[_+1]}return null}(l);for(let V=0;V<u.length;V++){const ce=u[V];if("*"!==ce){if(null===P?Vl(l,ce,!0):Nt(P,ce))return V}else _=V}return _}function By(l){const u=ws()[r0][Vo];if(!u.projection){const P=u.projection=wl(l?l.length:1,null),V=P.slice();let ce=u.child;for(;null!==ce;){if(128!==ce.type){const Ce=l?sD(ce,l):0;null!==Ce&&(V[Ce]?V[Ce].projectionNext=ce:P[Ce]=ce,V[Ce]=ce)}ce=ce.next}}}function ky(l,u=0,_,P,V,ce){const Ce=ws(),et=La(),Tt=P?l+1:null;null!==Tt&&G2(Ce,et,Tt,P,V,ce,null,_);const en=Ss(et,vo+l,16,null,_||null);null===en.projection&&(en.projection=u),wc();const ai=!Ce[As]||Au();null===Ce[r0][Vo].projection[en.projection]&&null!==Tt?function oD(l,u,_){const P=vo+_,V=u.data[P],ce=l[P],Ce=Sg(ce,V.tView.ssrId);Lp(ce,df(l,V,void 0,{dehydratedView:Ce}),0,Rp(V,Ce))}(Ce,et,Tt):ai&&32&~en.flags&&function jt(l,u,_){nn(u[Hs],0,u,_,Wm(l,_,u),i(_.parent||u[Vo],_,u))}(et,Ce,en)}function bO(l,u,_){return jb(l,"",u,"",_),bO}function jb(l,u,_,P,V){const ce=ws(),Ce=s2(ce,u,_,P);return Ce!==xi&&Bc(La(),eo(),ce,l,Ce,ce[Hs],V,!1),jb}function Xy(l,u,_,P){Wv(l,u,_,P)}function Ky(l,u,_){Fv(l,u,_)}function Jy(l){const u=ws(),_=La(),P=q1();Wu(P+1);const V=zM(_,P);if(l.dirty&&function Yd(l){return!(4&~l[Go])}(u)===!(2&~V.metadata.flags)){if(null===V.matches)l.reset([]);else{const ce=kv(u,P);l.reset(ce,Vh),l.notifyOnChanges()}return!0}return!1}function Qy(){return CM(ws(),q1())}function MO(l,u,_,P){_>=l.data.length&&(l.data[_]=null,l.blueprint[_]=null),u[_]=P}function Zy(l){return oc(zd(),vo+l)}function cE(l,u=""){const _=ws(),P=La(),V=l+vo,ce=P.firstCreatePass?Ss(P,V,1,u,null):P.data[V],Ce=uE(P,_,ce,u,l);_[V]=Ce,da()&&W(P,_,Ce,ce),d1(ce,!1)}let uE=(l,u,_,P,V)=>(u0(!0),nf(u[Hs],P));function OO(l){return Ub("",l,""),OO}function Ub(l,u,_){const P=ws(),V=s2(P,l,u,_);return V!==xi&&Jl(P,Zi(),V),Ub}function vO(l,u,_,P,V){const ce=ws(),Ce=o2(ce,l,u,_,P,V);return Ce!==xi&&Jl(ce,Zi(),Ce),vO}function AO(l,u,_,P,V,ce,Ce){const et=ws(),Tt=r2(et,l,u,_,P,V,ce,Ce);return Tt!==xi&&Jl(et,Zi(),Tt),AO}function yO(l,u,_,P,V,ce,Ce,et,Tt){const en=ws(),On=a2(en,l,u,_,P,V,ce,Ce,et,Tt);return On!==xi&&Jl(en,Zi(),On),yO}function EO(l,u,_){Gv(u)&&(u=u());const P=ws();return rd(P,yu(),u)&&Bc(La(),eo(),P,l,u,P[Hs],_,!1),EO}function _E(l,u){const _=Gv(l);return _&&l.set(u),_}function SO(l,u){const _=ws(),P=La(),V=q0();return gO(P,_,_[Hs],V,l,u),SO}const gE={};function TO(l,u,_,P,V){if(l=Jo(l),Array.isArray(l))for(let ce=0;ce<l.length;ce++)TO(l[ce],u,_,P,V);else{const ce=La(),Ce=ws(),et=q0();let Tt=Ws(l)?l:Jo(l.provide);const en=yt(l),On=1048575&et.providerIndexes,ai=et.directiveStart,Ni=et.providerIndexes>>20;if(Ws(l)||!l.multi){const ki=new $0(en,V,ks),cs=zO(Tt,u,V?On:On+Ni,ai);-1===cs?(gd(fh(et,Ce),ce,Tt),CO(ce,l,u.length),u.push(Tt),et.directiveStart++,et.directiveEnd++,V&&(et.providerIndexes+=1048576),_.push(ki),Ce.push(ki)):(_[cs]=ki,Ce[cs]=ki)}else{const ki=zO(Tt,u,On+Ni,ai),cs=zO(Tt,u,On,On+Ni),Oo=cs>=0&&_[cs];if(V&&!Oo||!V&&!(ki>=0&&_[ki])){gd(fh(et,Ce),ce,Tt);const No=function SD(l,u,_,P,V){const ce=new $0(l,_,ks);return ce.multi=[],ce.index=u,ce.componentProviders=0,ME(ce,V,P&&!_),ce}(V?ED:yD,_.length,V,P,en);!V&&Oo&&(_[cs].providerFactory=No),CO(ce,l,u.length,0),u.push(Tt),et.directiveStart++,et.directiveEnd++,V&&(et.providerIndexes+=1048576),_.push(No),Ce.push(No)}else CO(ce,l,ki>-1?ki:cs,ME(_[V?cs:ki],en,!V&&P));!V&&P&&Oo&&_[cs].componentProviders++}}}function CO(l,u,_,P){const V=Ws(u),ce=function Wo(l){return!!l.useClass}(u);if(V||ce){const Tt=(ce?Jo(u.useClass):u).prototype.ngOnDestroy;if(Tt){const en=l.destroyHooks||(l.destroyHooks=[]);if(!V&&u.multi){const On=en.indexOf(_);-1===On?en.push(_,[P,Tt]):en[On+1].push(P,Tt)}else en.push(_,Tt)}}}function ME(l,u,_){return _&&l.componentProviders++,l.multi.push(u)-1}function zO(l,u,_,P){for(let V=_;V<P;V++)if(u[V]===l)return V;return-1}function yD(l,u,_,P){return DO(this.multi,[])}function ED(l,u,_,P){const V=this.multi;let ce;if(this.providerFactory){const Ce=this.providerFactory.componentProviders,et=Zu(_,_[Zs],this.providerFactory.index,P);ce=et.slice(0,Ce),DO(V,ce);for(let Tt=Ce;Tt<et.length;Tt++)ce.push(et[Tt])}else ce=[],DO(V,ce);return ce}function DO(l,u){for(let _=0;_<l.length;_++)u.push((0,l[_])());return u}function OE(l,u=[]){return _=>{_.providersResolver=(P,V)=>function AD(l,u,_){const P=La();if(P.firstCreatePass){const V=Q0(l);TO(_,P.data,P.blueprint,V,!0),TO(u,P.data,P.blueprint,V,!1)}}(P,V?V(l):l,u)}}let TD=(()=>{class l{constructor(_){this._injector=_,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(_){if(!_.standalone)return null;if(!this.cachedInjectors.has(_)){const P=vt(0,_.type),V=P.length>0?wM([P],this._injector,`Standalone[${_.type.name}]`):null;this.cachedInjectors.set(_,V)}return this.cachedInjectors.get(_)}ngOnDestroy(){try{for(const _ of this.cachedInjectors.values())null!==_&&_.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=So({token:l,providedIn:"environment",factory:()=>new l(Mr(mr))})}return l})();function vE(l){eh("NgStandalone"),l.getStandaloneInjector=u=>u.get(TD).getOrCreateStandaloneInjector(l)}function AE(l,u,_){const P=l.\u0275cmp;P.directiveDefs=ue(u,!1),P.pipeDefs=ue(_,!0)}function Gb(l){if("function"==typeof l)return l;const u=S0(l);return u.some(W1)?()=>u.map(Jo).map(yE):u.map(yE)}function yE(l){return bM(l)?l.ngModule:l}function SE(l,u,_){const P=Nc()+l,V=ws();return V[P]===xi?__(V,P,_?u.call(_):u()):U2(V,P)}function TE(l,u,_,P){return RE(ws(),Nc(),l,u,_,P)}function CE(l,u,_,P,V){return LE(ws(),Nc(),l,u,_,P,V)}function zE(l,u,_,P,V,ce){return wE(ws(),Nc(),l,u,_,P,V,ce)}function DE(l,u,_,P,V,ce,Ce){return NE(ws(),Nc(),l,u,_,P,V,ce,Ce)}function PE(l,u,_,P,V,ce,Ce,et){const Tt=Nc()+l,en=ws(),On=mm(en,Tt,_,P,V,ce);return rd(en,Tt+4,Ce)||On?__(en,Tt+5,et?u.call(et,_,P,V,ce,Ce):u(_,P,V,ce,Ce)):U2(en,Tt+5)}function IE(l,u,_,P,V,ce,Ce,et,Tt,en,On){const ai=Nc()+l,Ni=ws(),ki=mm(Ni,ai,_,P,V,ce);return mm(Ni,ai+4,Ce,et,Tt,en)||ki?__(Ni,ai+8,On?u.call(On,_,P,V,ce,Ce,et,Tt,en):u(_,P,V,ce,Ce,et,Tt,en)):U2(Ni,ai+8)}function Z2(l,u){const _=l[u];return _===xi?void 0:_}function RE(l,u,_,P,V,ce){const Ce=u+_;return rd(l,Ce,V)?__(l,Ce+1,ce?P.call(ce,V):P(V)):Z2(l,Ce+1)}function LE(l,u,_,P,V,ce,Ce){const et=u+_;return Cg(l,et,V,ce)?__(l,et+2,Ce?P.call(Ce,V,ce):P(V,ce)):Z2(l,et+2)}function wE(l,u,_,P,V,ce,Ce,et){const Tt=u+_;return Eb(l,Tt,V,ce,Ce)?__(l,Tt+3,et?P.call(et,V,ce,Ce):P(V,ce,Ce)):Z2(l,Tt+3)}function NE(l,u,_,P,V,ce,Ce,et,Tt){const en=u+_;return mm(l,en,V,ce,Ce,et)?__(l,en+4,Tt?P.call(Tt,V,ce,Ce,et):P(V,ce,Ce,et)):Z2(l,en+4)}function xE(l,u,_,P,V,ce){let Ce=u+_,et=!1;for(let Tt=0;Tt<V.length;Tt++)rd(l,Ce++,V[Tt])&&(et=!0);return et?__(l,Ce,P.apply(ce,V)):Z2(l,Ce)}function FE(l,u){const _=La();let P;const V=l+vo;_.firstCreatePass?(P=function RD(l,u){if(u)for(let _=u.length-1;_>=0;_--){const P=u[_];if(l===P.name)return P}}(u,_.pipeRegistry),_.data[V]=P,P.onDestroy&&(_.destroyHooks??=[]).push(V,P.onDestroy)):P=_.data[V];const ce=P.factory||(P.factory=j1(P.type)),et=L0(ks);try{const Tt=$1(!1),en=ce();return $1(Tt),MO(_,ws(),V,en),en}finally{L0(et)}}function WE(l,u,_){const P=l+vo,V=ws(),ce=oc(V,P);return eb(V,P)?RE(V,Nc(),u,ce.transform,_,ce):ce.transform(_)}function BE(l,u,_,P){const V=l+vo,ce=ws(),Ce=oc(ce,V);return eb(ce,V)?LE(ce,Nc(),u,Ce.transform,_,P,Ce):Ce.transform(_,P)}function kE(l,u,_,P,V){const ce=l+vo,Ce=ws(),et=oc(Ce,ce);return eb(Ce,ce)?wE(Ce,Nc(),u,et.transform,_,P,V,et):et.transform(_,P,V)}function eb(l,u){return l[Zs].data[u].pure}function jE(l,u){return hm(l,u)}const xh={\u0275\u0275attribute:HM,\u0275\u0275attributeInterpolate1:function IA(l,u,_,P,V,ce){const Ce=ws(),et=s2(Ce,u,_,P);return et!==xi&&lu(eo(),Ce,l,et,V,ce),IA},\u0275\u0275attributeInterpolate2:function RA(l,u,_,P,V,ce,Ce,et){const Tt=ws(),en=o2(Tt,u,_,P,V,ce);return en!==xi&&lu(eo(),Tt,l,en,Ce,et),RA},\u0275\u0275attributeInterpolate3:function LA(l,u,_,P,V,ce,Ce,et,Tt,en){const On=ws(),ai=r2(On,u,_,P,V,ce,Ce,et);return ai!==xi&&lu(eo(),On,l,ai,Tt,en),LA},\u0275\u0275attributeInterpolate4:function wA(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai){const Ni=ws(),ki=a2(Ni,u,_,P,V,ce,Ce,et,Tt,en);return ki!==xi&&lu(eo(),Ni,l,ki,On,ai),wA},\u0275\u0275attributeInterpolate5:function NA(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki){const cs=ws(),$s=l2(cs,u,_,P,V,ce,Ce,et,Tt,en,On,ai);return $s!==xi&&lu(eo(),cs,l,$s,Ni,ki),NA},\u0275\u0275attributeInterpolate6:function xA(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s){const Oo=ws(),No=c2(Oo,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki);return No!==xi&&lu(eo(),Oo,l,No,cs,$s),xA},\u0275\u0275attributeInterpolate7:function FA(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo,No){const Qs=ws(),Xa=u2(Qs,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s);return Xa!==xi&&lu(eo(),Qs,l,Xa,Oo,No),FA},\u0275\u0275attributeInterpolate8:function WA(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo,No,Qs,Xa){const Ml=ws(),Ic=d2(Ml,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo,No);return Ic!==xi&&lu(eo(),Ml,l,Ic,Qs,Xa),WA},\u0275\u0275attributeInterpolateV:function BA(l,u,_,P){const V=ws(),ce=n2(V,u);return ce!==xi&&lu(eo(),V,l,ce,_,P),BA},\u0275\u0275defineComponent:De,\u0275\u0275defineDirective:lo,\u0275\u0275defineInjectable:So,\u0275\u0275defineInjector:e1,\u0275\u0275defineNgModule:pi,\u0275\u0275definePipe:Ro,\u0275\u0275directiveInject:ks,\u0275\u0275getInheritedFactory:Zd,\u0275\u0275inject:Mr,\u0275\u0275injectAttribute:Mf,\u0275\u0275invalidFactory:Ms,\u0275\u0275invalidFactoryDep:function Ma(l){throw new Vs(202,!1)},\u0275\u0275templateRefExtractor:jE,\u0275\u0275resetView:Ju,\u0275\u0275HostDirectivesFeature:tA,\u0275\u0275NgOnChangesFeature:Sd,\u0275\u0275ProvidersFeature:OE,\u0275\u0275CopyDefinitionFeature:function j3(l){let _,u=eA(l.type);_=Q0(l)?u.\u0275cmp:u.\u0275dir;const P=l;for(const V of B3)P[V]=_[V];if(Q0(_))for(const V of k3)P[V]=_[V]},\u0275\u0275InheritDefinitionFeature:IM,\u0275\u0275InputTransformsFeature:oA,\u0275\u0275StandaloneFeature:vE,\u0275\u0275nextContext:Wy,\u0275\u0275namespaceHTML:ya,\u0275\u0275namespaceMathML:function Lo(){_r.lFrame.currentNamespace="math"},\u0275\u0275namespaceSVG:po,\u0275\u0275enableBindings:function Jd(){_r.bindingsEnabled=!0},\u0275\u0275disableBindings:function Wh(){_r.bindingsEnabled=!1},\u0275\u0275elementStart:Lb,\u0275\u0275elementEnd:wb,\u0275\u0275element:oO,\u0275\u0275elementContainerStart:Nb,\u0275\u0275elementContainerEnd:xb,\u0275\u0275elementContainer:rO,\u0275\u0275pureFunction0:SE,\u0275\u0275pureFunction1:TE,\u0275\u0275pureFunction2:CE,\u0275\u0275pureFunction3:zE,\u0275\u0275pureFunction4:DE,\u0275\u0275pureFunction5:PE,\u0275\u0275pureFunction6:function DD(l,u,_,P,V,ce,Ce,et,Tt){const en=Nc()+l,On=ws(),ai=mm(On,en,_,P,V,ce);return Cg(On,en+4,Ce,et)||ai?__(On,en+6,Tt?u.call(Tt,_,P,V,ce,Ce,et):u(_,P,V,ce,Ce,et)):U2(On,en+6)},\u0275\u0275pureFunction7:function PD(l,u,_,P,V,ce,Ce,et,Tt,en){const On=Nc()+l,ai=ws();let Ni=mm(ai,On,_,P,V,ce);return Eb(ai,On+4,Ce,et,Tt)||Ni?__(ai,On+7,en?u.call(en,_,P,V,ce,Ce,et,Tt):u(_,P,V,ce,Ce,et,Tt)):U2(ai,On+7)},\u0275\u0275pureFunction8:IE,\u0275\u0275pureFunctionV:function ID(l,u,_,P){return xE(ws(),Nc(),l,u,_,P)},\u0275\u0275getCurrentView:py,\u0275\u0275restoreView:Bh,\u0275\u0275listener:mO,\u0275\u0275projection:ky,\u0275\u0275syntheticHostProperty:lO,\u0275\u0275syntheticHostListener:_O,\u0275\u0275pipeBind1:WE,\u0275\u0275pipeBind2:BE,\u0275\u0275pipeBind3:kE,\u0275\u0275pipeBind4:function LD(l,u,_,P,V,ce){const Ce=l+vo,et=ws(),Tt=oc(et,Ce);return eb(et,Ce)?NE(et,Nc(),u,Tt.transform,_,P,V,ce,Tt):Tt.transform(_,P,V,ce)},\u0275\u0275pipeBindV:function wD(l,u,_){const P=l+vo,V=ws(),ce=oc(V,P);return eb(V,P)?xE(V,Nc(),u,ce.transform,_,ce):ce.transform.apply(ce,_)},\u0275\u0275projectionDef:By,\u0275\u0275hostProperty:aO,\u0275\u0275property:JM,\u0275\u0275propertyInterpolate:bO,\u0275\u0275propertyInterpolate1:jb,\u0275\u0275propertyInterpolate2:function jy(l,u,_,P,V,ce,Ce){const et=ws(),Tt=o2(et,u,_,P,V,ce);return Tt!==xi&&Bc(La(),eo(),et,l,Tt,et[Hs],Ce,!1),jy},\u0275\u0275propertyInterpolate3:function Uy(l,u,_,P,V,ce,Ce,et,Tt){const en=ws(),On=r2(en,u,_,P,V,ce,Ce,et);return On!==xi&&Bc(La(),eo(),en,l,On,en[Hs],Tt,!1),Uy},\u0275\u0275propertyInterpolate4:function Gy(l,u,_,P,V,ce,Ce,et,Tt,en,On){const ai=ws(),Ni=a2(ai,u,_,P,V,ce,Ce,et,Tt,en);return Ni!==xi&&Bc(La(),eo(),ai,l,Ni,ai[Hs],On,!1),Gy},\u0275\u0275propertyInterpolate5:function qy(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni){const ki=ws(),cs=l2(ki,u,_,P,V,ce,Ce,et,Tt,en,On,ai);return cs!==xi&&Bc(La(),eo(),ki,l,cs,ki[Hs],Ni,!1),qy},\u0275\u0275propertyInterpolate6:function $y(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs){const $s=ws(),Oo=c2($s,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki);return Oo!==xi&&Bc(La(),eo(),$s,l,Oo,$s[Hs],cs,!1),$y},\u0275\u0275propertyInterpolate7:function Vy(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo){const No=ws(),Qs=u2(No,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s);return Qs!==xi&&Bc(La(),eo(),No,l,Qs,No[Hs],Oo,!1),Vy},\u0275\u0275propertyInterpolate8:function Hy(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo,No,Qs){const Xa=ws(),Ml=d2(Xa,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo,No);return Ml!==xi&&Bc(La(),eo(),Xa,l,Ml,Xa[Hs],Qs,!1),Hy},\u0275\u0275propertyInterpolateV:function Yy(l,u,_){const P=ws(),V=n2(P,u);return V!==xi&&Bc(La(),eo(),P,l,V,P[Hs],_,!1),Yy},\u0275\u0275pipe:FE,\u0275\u0275queryRefresh:Jy,\u0275\u0275queryAdvance:function lD(l=1){Wu(q1()+l)},\u0275\u0275viewQuery:Ky,\u0275\u0275viewQuerySignal:function aD(l,u,_,P){Hv(l,Fv(u,_,P))},\u0275\u0275loadQuery:Qy,\u0275\u0275contentQuery:Xy,\u0275\u0275contentQuerySignal:function rD(l,u,_,P,V){Hv(u,Wv(l,_,P,V))},\u0275\u0275reference:Zy,\u0275\u0275classMap:HA,\u0275\u0275classMapInterpolate1:ey,\u0275\u0275classMapInterpolate2:function KC(l,u,_,P,V){Gm(s1,b_,o2(ws(),l,u,_,P,V),!0)},\u0275\u0275classMapInterpolate3:function JC(l,u,_,P,V,ce,Ce){Gm(s1,b_,r2(ws(),l,u,_,P,V,ce,Ce),!0)},\u0275\u0275classMapInterpolate4:function QC(l,u,_,P,V,ce,Ce,et,Tt){Gm(s1,b_,a2(ws(),l,u,_,P,V,ce,Ce,et,Tt),!0)},\u0275\u0275classMapInterpolate5:function ZC(l,u,_,P,V,ce,Ce,et,Tt,en,On){Gm(s1,b_,l2(ws(),l,u,_,P,V,ce,Ce,et,Tt,en,On),!0)},\u0275\u0275classMapInterpolate6:function ez(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni){Gm(s1,b_,c2(ws(),l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni),!0)},\u0275\u0275classMapInterpolate7:function tz(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs){Gm(s1,b_,u2(ws(),l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs),!0)},\u0275\u0275classMapInterpolate8:function nz(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo){Gm(s1,b_,d2(ws(),l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo),!0)},\u0275\u0275classMapInterpolateV:function iz(l){Gm(s1,b_,n2(ws(),l),!0)},\u0275\u0275styleMap:g_,\u0275\u0275styleMapInterpolate1:function cD(l,u,_){g_(s2(ws(),l,u,_))},\u0275\u0275styleMapInterpolate2:function uD(l,u,_,P,V){g_(o2(ws(),l,u,_,P,V))},\u0275\u0275styleMapInterpolate3:function dD(l,u,_,P,V,ce,Ce){g_(r2(ws(),l,u,_,P,V,ce,Ce))},\u0275\u0275styleMapInterpolate4:function pD(l,u,_,P,V,ce,Ce,et,Tt){g_(a2(ws(),l,u,_,P,V,ce,Ce,et,Tt))},\u0275\u0275styleMapInterpolate5:function hD(l,u,_,P,V,ce,Ce,et,Tt,en,On){g_(l2(ws(),l,u,_,P,V,ce,Ce,et,Tt,en,On))},\u0275\u0275styleMapInterpolate6:function fD(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni){g_(c2(ws(),l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni))},\u0275\u0275styleMapInterpolate7:function mD(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs){g_(u2(ws(),l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs))},\u0275\u0275styleMapInterpolate8:function _D(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo){g_(d2(ws(),l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo))},\u0275\u0275styleMapInterpolateV:function gD(l){g_(n2(ws(),l))},\u0275\u0275styleProp:ZM,\u0275\u0275stylePropInterpolate1:function eE(l,u,_,P,V){return Um(l,s2(ws(),u,_,P),V,!1),eE},\u0275\u0275stylePropInterpolate2:function tE(l,u,_,P,V,ce,Ce){return Um(l,o2(ws(),u,_,P,V,ce),Ce,!1),tE},\u0275\u0275stylePropInterpolate3:function nE(l,u,_,P,V,ce,Ce,et,Tt){return Um(l,r2(ws(),u,_,P,V,ce,Ce,et),Tt,!1),nE},\u0275\u0275stylePropInterpolate4:function iE(l,u,_,P,V,ce,Ce,et,Tt,en,On){return Um(l,a2(ws(),u,_,P,V,ce,Ce,et,Tt,en),On,!1),iE},\u0275\u0275stylePropInterpolate5:function sE(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni){return Um(l,l2(ws(),u,_,P,V,ce,Ce,et,Tt,en,On,ai),Ni,!1),sE},\u0275\u0275stylePropInterpolate6:function oE(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs){return Um(l,c2(ws(),u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki),cs,!1),oE},\u0275\u0275stylePropInterpolate7:function rE(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo){return Um(l,u2(ws(),u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s),Oo,!1),rE},\u0275\u0275stylePropInterpolate8:function aE(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo,No,Qs){return Um(l,d2(ws(),u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo,No),Qs,!1),aE},\u0275\u0275stylePropInterpolateV:function lE(l,u,_){return Um(l,n2(ws(),u),_,!1),lE},\u0275\u0275classProp:eO,\u0275\u0275advance:ns,\u0275\u0275template:xM,\u0275\u0275conditional:oy,\u0275\u0275defer:function pC(l,u,_,P,V,ce,Ce,et,Tt){const en=ws(),On=La(),ai=l+vo,Ni=G2(en,On,l,null,0,0);if(On.firstCreatePass){eh("NgDefer");const Oo={primaryTmplIndex:u,loadingTmplIndex:P??null,placeholderTmplIndex:V??null,errorTmplIndex:ce??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:_??null,loadingState:ad.NOT_STARTED,loadingPromise:null,providers:null};Tt?.(On,Oo,et,Ce),function eC(l,u,_){const P=zb(u);l.data[P]=_}(On,ai,Oo)}Rv(en[ai],Ni,en);const cs=[null,q2.Initial,null,null,null,null];!function Z3(l,u,_){l[zb(u)]=_}(en,ai,cs);const $s=()=>fA(cs);Cb(0,cs,()=>Xd(en,$s)),Bp(en,$s)},\u0275\u0275deferWhen:function hC(l){const u=ws();if(rd(u,yu(),l)){const P=O(null);try{const V=!!l,ce=eo(),et=zg(u,ce)[Sb];!1===V&&et===q2.Initial?e2(u,ce):!0===V&&(et===q2.Initial||et===ld.Placeholder)&&t2(u,ce)}finally{O(P)}}},\u0275\u0275deferOnIdle:function mC(){SA(AA)},\u0275\u0275deferOnImmediate:function gC(){const l=ws(),u=q0(),P=l[Mo],V=jf(l[Zs],u);(!GM(P)||null===V.loadingTmplIndex)&&e2(l,u),t2(l,u)},\u0275\u0275deferOnTimer:function MC(l){SA(yA(l))},\u0275\u0275deferOnHover:function vC(l,u){const _=ws(),P=q0();e2(_,P),Zg(_,P,l,u,OA,()=>t2(_,P),0)},\u0275\u0275deferOnInteraction:function yC(l,u){const _=ws(),P=q0();e2(_,P),Zg(_,P,l,u,MA,()=>t2(_,P),0)},\u0275\u0275deferOnViewport:function SC(l,u){const _=ws(),P=q0();e2(_,P),Zg(_,P,l,u,vA,()=>t2(_,P),0)},\u0275\u0275deferPrefetchWhen:function fC(l){const u=ws();if(rd(u,yu(),l)){const P=O(null);try{const V=!!l,ce=u[Zs],Ce=eo(),et=jf(ce,Ce);!0===V&&et.loadingState===ad.NOT_STARTED&&V2(et,u,Ce)}finally{O(P)}}},\u0275\u0275deferPrefetchOnIdle:function _C(){TA(AA)},\u0275\u0275deferPrefetchOnImmediate:function bC(){const l=ws(),u=q0(),P=jf(l[Zs],u);P.loadingState===ad.NOT_STARTED&&VM(P,l,u)},\u0275\u0275deferPrefetchOnTimer:function OC(l){TA(yA(l))},\u0275\u0275deferPrefetchOnHover:function AC(l,u){const _=ws(),P=q0(),ce=jf(_[Zs],P);ce.loadingState===ad.NOT_STARTED&&Zg(_,P,l,u,OA,()=>V2(ce,_,P),1)},\u0275\u0275deferPrefetchOnInteraction:function EC(l,u){const _=ws(),P=q0(),ce=jf(_[Zs],P);ce.loadingState===ad.NOT_STARTED&&Zg(_,P,l,u,MA,()=>V2(ce,_,P),1)},\u0275\u0275deferPrefetchOnViewport:function TC(l,u){const _=ws(),P=q0(),ce=jf(_[Zs],P);ce.loadingState===ad.NOT_STARTED&&Zg(_,P,l,u,vA,()=>V2(ce,_,P),1)},\u0275\u0275deferEnableTimerScheduling:function dC(l,u,_,P){const V=l.consts;null!=_&&(u.placeholderBlockConfig=na(V,_)),null!=P&&(u.loadingBlockConfig=na(V,P)),null===qM&&(qM=zC)},\u0275\u0275repeater:cy,\u0275\u0275repeaterCreate:ly,\u0275\u0275repeaterTrackByIndex:ry,\u0275\u0275repeaterTrackByIdentity:ay,\u0275\u0275componentInstance:ty,\u0275\u0275text:cE,\u0275\u0275textInterpolate:OO,\u0275\u0275textInterpolate1:Ub,\u0275\u0275textInterpolate2:vO,\u0275\u0275textInterpolate3:AO,\u0275\u0275textInterpolate4:yO,\u0275\u0275textInterpolate5:function dE(l,u,_,P,V,ce,Ce,et,Tt,en,On){const ai=ws(),Ni=l2(ai,l,u,_,P,V,ce,Ce,et,Tt,en,On);return Ni!==xi&&Jl(ai,Zi(),Ni),dE},\u0275\u0275textInterpolate6:function pE(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni){const ki=ws(),cs=c2(ki,l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni);return cs!==xi&&Jl(ki,Zi(),cs),pE},\u0275\u0275textInterpolate7:function hE(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs){const $s=ws(),Oo=u2($s,l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs);return Oo!==xi&&Jl($s,Zi(),Oo),hE},\u0275\u0275textInterpolate8:function fE(l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo){const No=ws(),Qs=d2(No,l,u,_,P,V,ce,Ce,et,Tt,en,On,ai,Ni,ki,cs,$s,Oo);return Qs!==xi&&Jl(No,Zi(),Qs),fE},\u0275\u0275textInterpolateV:function mE(l){const u=ws(),_=n2(u,l);return _!==xi&&Jl(u,Zi(),_),mE},\u0275\u0275i18n:Py,\u0275\u0275i18nAttributes:Iy,\u0275\u0275i18nExp:fO,\u0275\u0275i18nStart:pO,\u0275\u0275i18nEnd:hO,\u0275\u0275i18nApply:Ry,\u0275\u0275i18nPostprocess:Ly,\u0275\u0275resolveWindow:C2,\u0275\u0275resolveDocument:zu,\u0275\u0275resolveBody:function Dp(l){return l.ownerDocument.body},\u0275\u0275setComponentScope:AE,\u0275\u0275setNgModuleScope:function CD(l,u){return tr(()=>{const _=S(l,!0);_.declarations=Gb(u.declarations||Fr),_.imports=Gb(u.imports||Fr),_.exports=Gb(u.exports||Fr),u.bootstrap&&(_.bootstrap=Gb(u.bootstrap)),B2.registerNgModule(l,u)})},\u0275\u0275registerNgModuleType:function Qv(l,u){(function R3(l,u,_){if(u&&u!==_)throw new Error(`Duplicate module registered for ${l} - ${ra(u)} vs ${ra(u.name)}`)})(u,vb.get(u)||null,l),vb.set(u,l)},\u0275\u0275getComponentDepsFactory:function ND(l,u){return()=>{try{return B2.getComponentDependencies(l,u).dependencies}catch(_){throw console.error(`Computing dependencies in local compilation mode for the component "${l.name}" failed with the exception:`,_),_}}},\u0275setClassDebugInfo:function xD(l,u){const _=to(l);null!==_&&(_.debugInfo=u)},\u0275\u0275declareLet:function bE(l){const u=La(),_=ws(),P=l+vo;return d1(Ss(u,P,128,null,null),!1),MO(u,_,P,gE),bE},\u0275\u0275storeLet:function OD(l){return eh("NgLet"),MO(La(),ws(),Zi(),l),l},\u0275\u0275readContextLet:function vD(l){const _=oc(zd(),vo+l);if(_===gE)throw new Vs(314,!1);return _},\u0275\u0275sanitizeHtml:lg,\u0275\u0275sanitizeStyle:function M2(l){const u=Nm();return u?u.sanitize(Rf.STYLE,l)||"":Pf(l,"Style")?Dh(l):xo(l)},\u0275\u0275sanitizeResourceUrl:G_,\u0275\u0275sanitizeScript:function O2(l){const u=Nm();if(u)return Im(u.sanitize(Rf.SCRIPT,l)||"");if(Pf(l,"Script"))return Im(Dh(l));throw new Vs(905,!1)},\u0275\u0275sanitizeUrl:cg,\u0275\u0275sanitizeUrlOrResourceUrl:Lg,\u0275\u0275trustConstantHtml:function v2(l){return op(l[0])},\u0275\u0275trustConstantResourceUrl:function A2(l){return function Zh(l){return am()?.createScriptURL(l)||l}(l[0])},\u0275\u0275validateIframeAttribute:function L3(l,u,_){const P=ws(),V=eo(),ce=N0(V,P);if(2===V.type&&"iframe"===u.toLowerCase()){const Ce=ce;throw Ce.src="",Ce.srcdoc=op(""),ye(P[Hs],Ce),new Vs(-910,!1)}return l},forwardRef:Dr,resolveForwardRef:Jo,\u0275\u0275twoWayProperty:EO,\u0275\u0275twoWayBindingSet:_E,\u0275\u0275twoWayListener:SO};function HE(l,u){let _=null;(function XE(l,u){let _=null;Object.defineProperty(l,B0,{get:()=>{if(null===_){const P=YE(l,u),V=Yi();_=V.compileFactory(xh,`ng:///${l.name}/\u0275fac.js`,{name:P.metadata.name,type:P.metadata.type,typeArgumentCount:0,deps:Ap(l),target:V.FactoryTarget.Directive})}return _},configurable:!1})})(l,u||{}),Object.defineProperty(l,Ra,{get:()=>{if(null===_){const P=YE(l,u||{});_=Yi().compileDirective(xh,P.sourceMapUrl,P.metadata)}return _},configurable:!1})}function YE(l,u){const _=l&&l.name,P=`ng:///${_}/\u0275dir.js`,V=Yi(),ce=function KE(l,u){const _=xc(),P=_.ownPropMetadata(l);return{name:l.name,type:l,selector:void 0!==u.selector?u.selector:null,host:u.host||u1,propMetadata:P,inputs:u.inputs||Fr,outputs:u.outputs||Fr,queries:QE(l,P,ZE),lifecycle:{usesOnChanges:_.hasLifecycleHook(l,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!XD(l),exportAs:QD(u.exportAs),providers:u.providers||null,viewQueries:QE(l,P,eS),isStandalone:!!u.standalone,isSignal:!!u.signals,hostDirectives:u.hostDirectives?.map(V=>"function"==typeof V?{directive:V}:V)||null}}(l,u);return ce.typeSourceSpan=V.createParseSourceSpan("Directive",_,P),ce.usesInheritance&&function JE(l){const u=Object.prototype;let _=Object.getPrototypeOf(l.prototype).constructor;for(;_&&_!==u;)!Er(_)&&!to(_)&&eP(_)&&HE(_,null),_=Object.getPrototypeOf(_)}(l),{metadata:ce,sourceMapUrl:P}}function XD(l){return Object.getPrototypeOf(l.prototype)===Object.prototype}function KD(l){return"string"==typeof l?nS(l):Jo(l)}function JD(l,u){return{propertyName:l,predicate:KD(u.selector),descendants:u.descendants,first:u.first,read:u.read?u.read:null,static:!!u.static,emitDistinctChangesOnly:!!u.emitDistinctChangesOnly,isSignal:!!u.isSignal}}function QE(l,u,_){const P=[];for(const V in u)if(u.hasOwnProperty(V)){const ce=u[V];ce.forEach(Ce=>{if(_(Ce)){if(!Ce.selector)throw new Error(`Can't construct a query for the property "${V}" of "${rr(l)}" since the query selector wasn't defined.`);if(ce.some(tS))throw new Error("Cannot combine @Input decorators with query decorators");P.push(JD(V,Ce))}})}return P}function QD(l){return void 0===l?null:nS(l)}function ZE(l){const u=l.ngMetadataName;return"ContentChild"===u||"ContentChildren"===u}function eS(l){const u=l.ngMetadataName;return"ViewChild"===u||"ViewChildren"===u}function tS(l){return"Input"===l.ngMetadataName}function nS(l){return l.split(",").map(u=>u.trim())}const ZD=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function eP(l){const u=xc();if(ZD.some(P=>u.hasLifecycleHook(l,P)))return!0;const _=u.propMetadata(l);for(const P in _){const V=_[P];for(let ce=0;ce<V.length;ce++){const Ce=V[ce],et=Ce.ngMetadataName;if(tS(Ce)||ZE(Ce)||eS(Ce)||"Output"===et||"HostBinding"===et||"HostListener"===et)return!0}}return!1}const tP=sr("Directive",(l={})=>l,void 0,void 0,(l,u)=>HE(l,u)),nP=Dl("Input",l=>l?"string"==typeof l?{alias:l}:l:{});class sS{constructor(u){this.full=u;const _=u.split(".");this.major=_[0],this.minor=_[1],this.patch=_.slice(2).join(".")}}let oS=(()=>{class l{log(_){console.log(_)}warn(_){console.warn(_)}static#e=this.\u0275fac=function(P){return new(P||l)};static#t=this.\u0275prov=So({token:l,factory:l.\u0275fac,providedIn:"platform"})}return l})();const uS=new Io(""),dS=new Io("");let NO,zP=(()=>{class l{constructor(_,P,V){this._ngZone=_,this.registry=P,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,NO||(function DP(l){NO=l}(V),V.addToWindow(P)),this._watchAngularEvents(),_.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{sa.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let _=this._callbacks.pop();clearTimeout(_.timeoutId),_.doneCb()}});else{let _=this.getPendingTasks();this._callbacks=this._callbacks.filter(P=>!P.updateCb||!P.updateCb(_)||(clearTimeout(P.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(_=>({source:_.source,creationLocation:_.creationLocation,data:_.data})):[]}addCallback(_,P,V){let ce=-1;P&&P>0&&(ce=setTimeout(()=>{this._callbacks=this._callbacks.filter(Ce=>Ce.timeoutId!==ce),_()},P)),this._callbacks.push({doneCb:_,timeoutId:ce,updateCb:V})}whenStable(_,P,V){if(V&&!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(_,P,V),this._runCallbacksIfReady()}registerApplication(_){this.registry.registerApplication(_,this)}unregisterApplication(_){this.registry.unregisterApplication(_)}findProviders(_,P,V){return[]}static#e=this.\u0275fac=function(P){return new(P||l)(Mr(sa),Mr(pS),Mr(dS))};static#t=this.\u0275prov=So({token:l,factory:l.\u0275fac})}return l})(),pS=(()=>{class l{constructor(){this._applications=new Map}registerApplication(_,P){this._applications.set(_,P)}unregisterApplication(_){this._applications.delete(_)}unregisterAllApplications(){this._applications.clear()}getTestability(_){return this._applications.get(_)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(_,P=!0){return NO?.findTestabilityInTree(this,_,P)??null}static#e=this.\u0275fac=function(P){return new(P||l)};static#t=this.\u0275prov=So({token:l,factory:l.\u0275fac,providedIn:"platform"})}return l})();function xO(l){return!!l&&"function"==typeof l.then}function hS(l){return!!l&&"function"==typeof l.subscribe}const fS=new Io("");let mS=(()=>{class l{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((_,P)=>{this.resolve=_,this.reject=P}),this.appInits=Rs(fS,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const _=[];for(const V of this.appInits){const ce=V();if(xO(ce))_.push(ce);else if(hS(ce)){const Ce=new Promise((et,Tt)=>{ce.subscribe({complete:et,error:Tt})});_.push(Ce)}}const P=()=>{this.done=!0,this.resolve()};Promise.all(_).then(()=>{P()}).catch(V=>{this.reject(V)}),0===_.length&&P(),this.initialized=!0}static#e=this.\u0275fac=function(P){return new(P||l)};static#t=this.\u0275prov=So({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();const Hb=new Io("");function gS(l,u){return Array.isArray(u)?u.reduce(gS,l):{...l,...u}}let Xb,qm=(()=>{class l{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Rs(Tl),this.afterRenderEffectManager=Rs(gb),this.zonelessEnabled=Rs(x2),this.externalTestViews=new Set,this.beforeRender=new Lt.B,this.afterTick=new Lt.B,this.componentTypes=[],this.components=[],this.isStable=Rs(hs).hasPendingTasks.pipe((0,ht.T)(_=>!_)),this._injector=Rs(mr)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let _;return new Promise(P=>{_=this.isStable.subscribe({next:V=>{V&&P()}})}).finally(()=>{_.unsubscribe()})}get injector(){return this._injector}bootstrap(_,P){const V=_ instanceof gv;if(!this._injector.get(mS).done)throw!V&&C0(_),new Vs(405,!1);let Ce;Ce=V?_:this._injector.get(F2).resolveComponentFactory(_),this.componentTypes.push(Ce.componentType);const et=function PP(l){return l.isBoundToModule}(Ce)?void 0:this._injector.get(Tg),en=Ce.create(Fe.NULL,[],P||Ce.selector,et),On=en.location.nativeElement,ai=en.injector.get(uS,null);return ai?.registerApplication(On),en.onDestroy(()=>{this.detachView(en.hostView),Yb(this.components,en),ai?.unregisterApplication(On)}),this._loadComponent(en),en}tick(){this._tick(!0)}_tick(_){if(this._runningTick)throw new Vs(101,!1);const P=O(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(_)}catch(V){this.internalErrorHandler(V)}finally{this._runningTick=!1,O(P),this.afterTick.next()}}detectChangesInAttachedViews(_){let P=null;this._injector.destroyed||(P=this._injector.get(_M,null,{optional:!0}));let V=0;const ce=this.afterRenderEffectManager;for(;V<10;){const Ce=0===V;if(_||!Ce){this.beforeRender.next(Ce);for(let{_lView:et,notifyErrorHandler:Tt}of this._views)LP(et,Tt,Ce,this.zonelessEnabled)}else P?.begin?.(),P?.end?.();if(V++,ce.executeInternalCallbacks(),!this.allViews.some(({_lView:et})=>mp(et))&&(ce.execute(),!this.allViews.some(({_lView:et})=>mp(et))))break}}attachView(_){const P=_;this._views.push(P),P.attachToAppRef(this)}detachView(_){const P=_;Yb(this._views,P),P.detachFromAppRef()}_loadComponent(_){this.attachView(_.hostView),this.tick(),this.components.push(_);const P=this._injector.get(Hb,[]);[...this._bootstrapListeners,...P].forEach(V=>V(_))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(_=>_()),this._views.slice().forEach(_=>_.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(_){return this._destroyListeners.push(_),()=>Yb(this._destroyListeners,_)}destroy(){if(this._destroyed)throw new Vs(406,!1);const _=this._injector;_.destroy&&!_.destroyed&&_.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(P){return new(P||l)};static#t=this.\u0275prov=So({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();function Yb(l,u){const _=l.indexOf(u);_>-1&&l.splice(_,1)}function FO(l){Xb??=new WeakMap;const u=Xb.get(l);if(u)return u;const _=l.isStable.pipe((0,gt.$)(P=>P)).toPromise().then(()=>{});return Xb.set(l,_),l.onDestroy(()=>Xb?.delete(l)),_}function LP(l,u,_,P){(_||mp(l))&&Pc(l,u,_&&!P?0:1)}class wP{constructor(u,_){this.ngModuleFactory=u,this.componentFactories=_}}let NP=(()=>{class l{compileModuleSync(_){return new LM(_)}compileModuleAsync(_){return Promise.resolve(this.compileModuleSync(_))}compileModuleAndAllComponentsSync(_){const P=this.compileModuleSync(_),ce=Kp(S(_).declarations).reduce((Ce,et)=>{const Tt=to(et);return Tt&&Ce.push(new k2(Tt)),Ce},[]);return new wP(P,ce)}compileModuleAndAllComponentsAsync(_){return Promise.resolve(this.compileModuleAndAllComponentsSync(_))}clearCache(){}clearCacheFor(_){}getModuleId(_){}static#e=this.\u0275fac=function(P){return new(P||l)};static#t=this.\u0275prov=So({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),WP=(()=>{class l{constructor(){this.zone=Rs(sa),this.changeDetectionScheduler=Rs(Hg),this.applicationRef=Rs(qm)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(P){return new(P||l)};static#t=this.\u0275prov=So({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();function WO({ngZoneFactory:l,ignoreChangesOutsideZone:u}){return l??=()=>new sa(BO()),[{provide:sa,useFactory:l},{provide:a0,multi:!0,useFactory:()=>{const _=Rs(WP,{optional:!0});return()=>_.initialize()}},{provide:a0,multi:!0,useFactory:()=>{const _=Rs(kP);return()=>{_.initialize()}}},!0===u?{provide:mv,useValue:!0}:[]]}function BO(l){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:l?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:l?.runCoalescing??!1}}let kP=(()=>{class l{constructor(){this.subscription=new Vt.yU,this.initialized=!1,this.zone=Rs(sa),this.pendingTasks=Rs(hs)}initialize(){if(this.initialized)return;this.initialized=!0;let _=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(_=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{sa.assertNotInAngularZone(),queueMicrotask(()=>{null!==_&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(_),_=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{sa.assertInAngularZone(),_??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(P){return new(P||l)};static#t=this.\u0275prov=So({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),ib=(()=>{class l{constructor(){this.appRef=Rs(qm),this.taskService=Rs(hs),this.ngZone=Rs(sa),this.zonelessEnabled=Rs(x2),this.disableScheduling=Rs(mv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Vt.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ko):null,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof nl||!this.zoneIsDefined)}notify(_){if(!this.zonelessEnabled&&5===_)return;switch(_){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const P=this.useMicrotaskScheduler?no:Gs;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=P(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=P(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ko+this.angularZoneId))}tick(_){if(this.runningTick||this.appRef.destroyed)return;const P=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(_)},void 0,this.schedulerTickApplyArgs)}catch(V){throw this.taskService.remove(P),V}finally{this.cleanup()}this.useMicrotaskScheduler=!0,no(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(P)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const _=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(_)}}static#e=this.\u0275fac=function(P){return new(P||l)};static#t=this.\u0275prov=So({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();const jO=new Io("",{providedIn:"root",factory:()=>Rs(jO,hr.Optional|hr.SkipSelf)||function jP(){return typeof $localize<"u"&&$localize.locale||Fb}()}),UP=new Io("",{providedIn:"root",factory:()=>"USD"}),UO=new Io("");function Kb(l){return!!l.platformInjector}let yS=(()=>{class l{constructor(_){this._injector=_,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(_,P){const ce=P?.ignoreChangesOutsideZone,Ce=[WO({ngZoneFactory:()=>function Oc(l="zone.js",u){return"noop"===l?new nl:"zone.js"===l?new sa(u):l}(P?.ngZone,BO({eventCoalescing:P?.ngZoneEventCoalescing,runCoalescing:P?.ngZoneRunCoalescing})),ignoreChangesOutsideZone:ce}),{provide:Hg,useExisting:ib}],et=function q3(l,u,_){return new RM(l,u,_,!1)}(_.moduleType,this.injector,Ce);return function AS(l){const u=Kb(l)?l.r3Injector:l.moduleRef.injector,_=u.get(sa);return _.run(()=>{Kb(l)?l.r3Injector.resolveInjectorInitializers():l.moduleRef.resolveInjectorInitializers();const P=u.get(kl,null);let V;if(_.runOutsideAngular(()=>{V=_.onError.subscribe({next:ce=>{P.handleError(ce)}})}),Kb(l)){const ce=()=>u.destroy(),Ce=l.platformInjector.get(UO);Ce.add(ce),u.onDestroy(()=>{V.unsubscribe(),Ce.delete(ce)})}else l.moduleRef.onDestroy(()=>{Yb(l.allPlatformModules,l.moduleRef),V.unsubscribe()});return function RP(l,u,_){try{const P=_();return xO(P)?P.catch(V=>{throw u.runOutsideAngular(()=>l.handleError(V)),V}):P}catch(P){throw u.runOutsideAngular(()=>l.handleError(P)),P}}(P,_,()=>{const ce=u.get(mS);return ce.runInitializers(),ce.donePromise.then(()=>{if(function yz(l){"string"==typeof l&&(my=l.toLowerCase().replace(/_/g,"-"))}(u.get(jO,Fb)||Fb),Kb(l)){const et=u.get(qm);return void 0!==l.rootComponent&&et.bootstrap(l.rootComponent),et}return function HP(l,u){const _=l.injector.get(qm);if(l._bootstrapComponents.length>0)l._bootstrapComponents.forEach(P=>_.bootstrap(P));else{if(!l.instance.ngDoBootstrap)throw new Vs(-403,!1);l.instance.ngDoBootstrap(_)}u.push(l)}(l.moduleRef,l.allPlatformModules),l.moduleRef})})})}({moduleRef:et,allPlatformModules:this._modules})}bootstrapModule(_,P=[]){const V=gS({},P);return function FP(l,u,_){const P=new LM(_);return Promise.resolve(P)}(0,0,_).then(ce=>this.bootstrapModuleFactory(ce,V))}onDestroy(_){this._destroyListeners.push(_)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Vs(404,!1);this._modules.slice().forEach(P=>P.destroy()),this._destroyListeners.forEach(P=>P());const _=this._injector.get(UO,null);_&&(_.forEach(P=>P()),_.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(P){return new(P||l)(Mr(Fe))};static#t=this.\u0275prov=So({token:l,factory:l.\u0275fac,providedIn:"platform"})}return l})(),sg=null;const ES=new Io("");function SS(l,u,_=[]){const P=`Platform: ${u}`,V=new Io(P);return(ce=[])=>{let Ce=GO();if(!Ce||Ce.injector.get(ES,!1)){const et=[..._,...ce,{provide:V,useValue:!0}];l?l(et):function YP(l){if(sg&&!sg.get(ES,!1))throw new Vs(400,!1);(function _S(){!function K(l){te=l}(()=>{throw new Vs(600,!1)})})(),sg=l;const u=l.get(yS);(function CS(l){l.get($p,null)?.forEach(_=>_())})(l)}(function TS(l=[],u){return Fe.create({name:u,providers:[{provide:ro,useValue:"platform"},{provide:UO,useValue:new Set([()=>sg=null])},...l]})}(et,P))}return function XP(){const u=GO();if(!u)throw new Vs(401,!1);return u}()}}function GO(){return sg?.get(yS)??null}function JP(){return!1}function QP(){}let DS=(()=>{class l{static#e=this.__NG_ELEMENT_ID__=ZP}return l})();function ZP(l){return function eI(l,u,_){if(eu(l)&&!_){const P=_0(l.index,u);return new od(P,P)}return 175&l.type?new od(u[r0],u):null}(q0(),ws(),!(16&~l))}class LS{constructor(){}supports(u){return yb(u)}create(u){return new oI(u)}}const sI=(l,u)=>u;class oI{constructor(u){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=u||sI}forEachItem(u){let _;for(_=this._itHead;null!==_;_=_._next)u(_)}forEachOperation(u){let _=this._itHead,P=this._removalsHead,V=0,ce=null;for(;_||P;){const Ce=!P||_&&_.currentIndex<NS(P,V,ce)?_:P,et=NS(Ce,V,ce),Tt=Ce.currentIndex;if(Ce===P)V--,P=P._nextRemoved;else if(_=_._next,null==Ce.previousIndex)V++;else{ce||(ce=[]);const en=et-V,On=Tt-V;if(en!=On){for(let Ni=0;Ni<en;Ni++){const ki=Ni<ce.length?ce[Ni]:ce[Ni]=0,cs=ki+Ni;On<=cs&&cs<en&&(ce[Ni]=ki+1)}ce[Ce.previousIndex]=On-en}}et!==Tt&&u(Ce,et,Tt)}}forEachPreviousItem(u){let _;for(_=this._previousItHead;null!==_;_=_._nextPrevious)u(_)}forEachAddedItem(u){let _;for(_=this._additionsHead;null!==_;_=_._nextAdded)u(_)}forEachMovedItem(u){let _;for(_=this._movesHead;null!==_;_=_._nextMoved)u(_)}forEachRemovedItem(u){let _;for(_=this._removalsHead;null!==_;_=_._nextRemoved)u(_)}forEachIdentityChange(u){let _;for(_=this._identityChangesHead;null!==_;_=_._nextIdentityChange)u(_)}diff(u){if(null==u&&(u=[]),!yb(u))throw new Vs(900,!1);return this.check(u)?this:null}onDestroy(){}check(u){this._reset();let V,ce,Ce,_=this._itHead,P=!1;if(Array.isArray(u)){this.length=u.length;for(let et=0;et<this.length;et++)ce=u[et],Ce=this._trackByFn(et,ce),null!==_&&Object.is(_.trackById,Ce)?(P&&(_=this._verifyReinsertion(_,ce,Ce,et)),Object.is(_.item,ce)||this._addIdentityChange(_,ce)):(_=this._mismatch(_,ce,Ce,et),P=!0),_=_._next}else V=0,function H3(l,u){if(Array.isArray(l))for(let _=0;_<l.length;_++)u(l[_]);else{const _=l[Symbol.iterator]();let P;for(;!(P=_.next()).done;)u(P.value)}}(u,et=>{Ce=this._trackByFn(V,et),null!==_&&Object.is(_.trackById,Ce)?(P&&(_=this._verifyReinsertion(_,et,Ce,V)),Object.is(_.item,et)||this._addIdentityChange(_,et)):(_=this._mismatch(_,et,Ce,V),P=!0),_=_._next,V++}),this.length=V;return this._truncate(_),this.collection=u,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let u;for(u=this._previousItHead=this._itHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._additionsHead;null!==u;u=u._nextAdded)u.previousIndex=u.currentIndex;for(this._additionsHead=this._additionsTail=null,u=this._movesHead;null!==u;u=u._nextMoved)u.previousIndex=u.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(u,_,P,V){let ce;return null===u?ce=this._itTail:(ce=u._prev,this._remove(u)),null!==(u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(P,null))?(Object.is(u.item,_)||this._addIdentityChange(u,_),this._reinsertAfter(u,ce,V)):null!==(u=null===this._linkedRecords?null:this._linkedRecords.get(P,V))?(Object.is(u.item,_)||this._addIdentityChange(u,_),this._moveAfter(u,ce,V)):u=this._addAfter(new rI(_,P),ce,V),u}_verifyReinsertion(u,_,P,V){let ce=null===this._unlinkedRecords?null:this._unlinkedRecords.get(P,null);return null!==ce?u=this._reinsertAfter(ce,u._prev,V):u.currentIndex!=V&&(u.currentIndex=V,this._addToMoves(u,V)),u}_truncate(u){for(;null!==u;){const _=u._next;this._addToRemovals(this._unlink(u)),u=_}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(u,_,P){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(u);const V=u._prevRemoved,ce=u._nextRemoved;return null===V?this._removalsHead=ce:V._nextRemoved=ce,null===ce?this._removalsTail=V:ce._prevRemoved=V,this._insertAfter(u,_,P),this._addToMoves(u,P),u}_moveAfter(u,_,P){return this._unlink(u),this._insertAfter(u,_,P),this._addToMoves(u,P),u}_addAfter(u,_,P){return this._insertAfter(u,_,P),this._additionsTail=null===this._additionsTail?this._additionsHead=u:this._additionsTail._nextAdded=u,u}_insertAfter(u,_,P){const V=null===_?this._itHead:_._next;return u._next=V,u._prev=_,null===V?this._itTail=u:V._prev=u,null===_?this._itHead=u:_._next=u,null===this._linkedRecords&&(this._linkedRecords=new wS),this._linkedRecords.put(u),u.currentIndex=P,u}_remove(u){return this._addToRemovals(this._unlink(u))}_unlink(u){null!==this._linkedRecords&&this._linkedRecords.remove(u);const _=u._prev,P=u._next;return null===_?this._itHead=P:_._next=P,null===P?this._itTail=_:P._prev=_,u}_addToMoves(u,_){return u.previousIndex===_||(this._movesTail=null===this._movesTail?this._movesHead=u:this._movesTail._nextMoved=u),u}_addToRemovals(u){return null===this._unlinkedRecords&&(this._unlinkedRecords=new wS),this._unlinkedRecords.put(u),u.currentIndex=null,u._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=u,u._prevRemoved=null):(u._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=u),u}_addIdentityChange(u,_){return u.item=_,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=u:this._identityChangesTail._nextIdentityChange=u,u}}class rI{constructor(u,_){this.item=u,this.trackById=_,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 aI{constructor(){this._head=null,this._tail=null}add(u){null===this._head?(this._head=this._tail=u,u._nextDup=null,u._prevDup=null):(this._tail._nextDup=u,u._prevDup=this._tail,u._nextDup=null,this._tail=u)}get(u,_){let P;for(P=this._head;null!==P;P=P._nextDup)if((null===_||_<=P.currentIndex)&&Object.is(P.trackById,u))return P;return null}remove(u){const _=u._prevDup,P=u._nextDup;return null===_?this._head=P:_._nextDup=P,null===P?this._tail=_:P._prevDup=_,null===this._head}}class wS{constructor(){this.map=new Map}put(u){const _=u.trackById;let P=this.map.get(_);P||(P=new aI,this.map.set(_,P)),P.add(u)}get(u,_){const V=this.map.get(u);return V?V.get(u,_):null}remove(u){const _=u.trackById;return this.map.get(_).remove(u)&&this.map.delete(_),u}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function NS(l,u,_){const P=l.previousIndex;if(null===P)return P;let V=0;return _&&P<_.length&&(V=_[P]),P+u+V}class xS{constructor(){}supports(u){return u instanceof Map||NM(u)}create(){return new lI}}class lI{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(u){let _;for(_=this._mapHead;null!==_;_=_._next)u(_)}forEachPreviousItem(u){let _;for(_=this._previousMapHead;null!==_;_=_._nextPrevious)u(_)}forEachChangedItem(u){let _;for(_=this._changesHead;null!==_;_=_._nextChanged)u(_)}forEachAddedItem(u){let _;for(_=this._additionsHead;null!==_;_=_._nextAdded)u(_)}forEachRemovedItem(u){let _;for(_=this._removalsHead;null!==_;_=_._nextRemoved)u(_)}diff(u){if(u){if(!(u instanceof Map||NM(u)))throw new Vs(900,!1)}else u=new Map;return this.check(u)?this:null}onDestroy(){}check(u){this._reset();let _=this._mapHead;if(this._appendAfter=null,this._forEach(u,(P,V)=>{if(_&&_.key===V)this._maybeAddToChanges(_,P),this._appendAfter=_,_=_._next;else{const ce=this._getOrCreateRecordForKey(V,P);_=this._insertBeforeOrAppend(_,ce)}}),_){_._prev&&(_._prev._next=null),this._removalsHead=_;for(let P=_;null!==P;P=P._nextRemoved)P===this._mapHead&&(this._mapHead=null),this._records.delete(P.key),P._nextRemoved=P._next,P.previousValue=P.currentValue,P.currentValue=null,P._prev=null,P._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(u,_){if(u){const P=u._prev;return _._next=u,_._prev=P,u._prev=_,P&&(P._next=_),u===this._mapHead&&(this._mapHead=_),this._appendAfter=u,u}return this._appendAfter?(this._appendAfter._next=_,_._prev=this._appendAfter):this._mapHead=_,this._appendAfter=_,null}_getOrCreateRecordForKey(u,_){if(this._records.has(u)){const V=this._records.get(u);this._maybeAddToChanges(V,_);const ce=V._prev,Ce=V._next;return ce&&(ce._next=Ce),Ce&&(Ce._prev=ce),V._next=null,V._prev=null,V}const P=new cI(u);return this._records.set(u,P),P.currentValue=_,this._addToAdditions(P),P}_reset(){if(this.isDirty){let u;for(this._previousMapHead=this._mapHead,u=this._previousMapHead;null!==u;u=u._next)u._nextPrevious=u._next;for(u=this._changesHead;null!==u;u=u._nextChanged)u.previousValue=u.currentValue;for(u=this._additionsHead;null!=u;u=u._nextAdded)u.previousValue=u.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(u,_){Object.is(_,u.currentValue)||(u.previousValue=u.currentValue,u.currentValue=_,this._addToChanges(u))}_addToAdditions(u){null===this._additionsHead?this._additionsHead=this._additionsTail=u:(this._additionsTail._nextAdded=u,this._additionsTail=u)}_addToChanges(u){null===this._changesHead?this._changesHead=this._changesTail=u:(this._changesTail._nextChanged=u,this._changesTail=u)}_forEach(u,_){u instanceof Map?u.forEach(_):Object.keys(u).forEach(P=>_(u[P],P))}}class cI{constructor(u){this.key=u,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 FS(){return new YO([new LS])}let YO=(()=>{class l{static#e=this.\u0275prov=So({token:l,providedIn:"root",factory:FS});constructor(_){this.factories=_}static create(_,P){if(null!=P){const V=P.factories.slice();_=_.concat(V)}return new l(_)}static extend(_){return{provide:l,useFactory:P=>l.create(_,P||FS()),deps:[[l,new la,new Ja]]}}find(_){const P=this.factories.find(V=>V.supports(_));if(null!=P)return P;throw new Vs(901,!1)}}return l})();function WS(){return new XO([new xS])}let XO=(()=>{class l{static#e=this.\u0275prov=So({token:l,providedIn:"root",factory:WS});constructor(_){this.factories=_}static create(_,P){if(P){const V=P.factories.slice();_=_.concat(V)}return new l(_)}static extend(_){return{provide:l,useFactory:P=>l.create(_,P||WS()),deps:[[l,new la,new Ja]]}}find(_){const P=this.factories.find(V=>V.supports(_));if(P)return P;throw new Vs(901,!1)}}return l})();const pI=SS(null,"core",[]);let hI=(()=>{class l{constructor(_){}static#e=this.\u0275fac=function(P){return new(P||l)(Mr(qm))};static#t=this.\u0275mod=pi({type:l});static#n=this.\u0275inj=e1({})}return l})();const eT=new Io("");function $I(l){return"boolean"==typeof l?l:null!=l&&"false"!==l}function VI(l,u=NaN){return isNaN(parseFloat(l))||isNaN(Number(l))?u:Number(l)}function YI(l,u){eh("NgSignals");const _=function H(l){const u=Object.create(le);u.computation=l;const _=()=>{if(o(u),b(u),u.value===Q)throw u.error;return u.value};return _[T]=u,_}(l);return u?.equal&&(_[T].equal=u.equal),_}function XI(l){const u=O(null);try{return l()}finally{O(u)}}const KI=new Io("",{providedIn:"root",factory:()=>Rs(JI)});let JI=(()=>{class l{static#e=this.\u0275prov=So({token:l,providedIn:"root",factory:()=>new QI})}return l})();class QI{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=Rs(hs),this.taskId=null}scheduleEffect(u){if(this.enqueue(u),null===this.taskId){const _=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(_),this.taskId=null})}}enqueue(u){const _=u.creationZone;this.queues.has(_)||this.queues.set(_,new Set);const P=this.queues.get(_);P.has(u)||(this.queuedEffectCount++,P.add(u))}flush(){for(;this.queuedEffectCount>0;)for(const[u,_]of this.queues)null===u?this.flushQueue(_):u.run(()=>this.flushQueue(_))}flushQueue(u){for(const _ of u)u.delete(_),this.queuedEffectCount--,_.run()}}class ZI{constructor(u,_,P,V,ce,Ce){this.scheduler=u,this.effectFn=_,this.creationZone=P,this.injector=ce,this.watcher=function $e(l,u,_){const P=Object.create(Be);_&&(P.consumerAllowSignalWrites=!0),P.fn=l,P.schedule=u;const V=Tt=>{P.cleanupFn=Tt};return P.ref={notify:()=>M(P),run:()=>{if(null===P.fn)return;if(function E(){return g}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(P.dirty=!1,P.hasRun&&!F(P))return;P.hasRun=!0;const Tt=q(P);try{P.cleanupFn(),P.cleanupFn=ze,P.fn(V)}finally{z(P,Tt)}},cleanup:()=>P.cleanupFn(),destroy:()=>function Ce(Tt){(function ce(Tt){return null===Tt.fn&&null===Tt.schedule})(Tt)||(U(Tt),Tt.cleanupFn(),Tt.fn=null,Tt.schedule=null,Tt.cleanupFn=ze)}(P),[T]:P},P.ref}(et=>this.runEffect(et),()=>this.schedule(),Ce),this.unregisterOnDestroy=V?.onDestroy(()=>this.destroy())}runEffect(u){try{this.effectFn(u)}catch(_){this.injector.get(kl,null,{optional:!0})?.handleError(_)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function uT(l,u){eh("NgSignals"),!u?.injector&&Et();const _=u?.injector??Rs(Fe),P=!0!==u?.manualCleanup?_.get(Mi):null,V=new ZI(_.get(KI),l,typeof Zone>"u"?null:Zone.current,P,_,u?.allowSignalWrites??!1),ce=_.get(DS,null,{optional:!0});return ce&&8&ce._lView[Go]?(ce._lView[Ou]??=[]).push(V.watcher.notify):V.watcher.notify(),V}function eR(l,u){const _=to(l),P=u.elementInjector||Wr();return new k2(_).create(P,u.projectableNodes,u.hostElement,u.environmentInjector)}function tR(l){const u=to(l);if(!u)return null;const _=new k2(u);return{get selector(){return _.selector},get type(){return _.componentType},get inputs(){return _.inputs},get outputs(){return _.outputs},get ngContentSelectors(){return _.ngContentSelectors},get isStandalone(){return u.standalone},get isSignal(){return u.signals}}}},89079:(at,N,s)=>{"use strict";s.d(N,{pQ:()=>m});var n=s(93953),a=s(71985),g=s(56977);function m(b){b||((0,n.Af3)(m),b=(0,n.WQX)(n.abz));const L=new a.c(o=>b.onDestroy(o.next.bind(o)));return o=>o.pipe((0,g.Q)(L))}},89417:(at,N,s)=>{"use strict";s.d(N,{$R:()=>Sa,BC:()=>Ge,EL:()=>oi,Fm:()=>fi,JD:()=>cl,MJ:()=>Ji,Q0:()=>bi,VZ:()=>Co,X1:()=>z1,YN:()=>h0,YS:()=>yr,Yp:()=>g1,Zm:()=>b,cV:()=>Ci,cb:()=>Se,cz:()=>z,gE:()=>pt,j4:()=>Hr,k0:()=>k,kq:()=>y,l_:()=>Yn,me:()=>w,ok:()=>W1,qT:()=>A0,tU:()=>mo,v8:()=>_1,vO:()=>Lt,vS:()=>Rr,wz:()=>p0,xH:()=>Tr,xq:()=>kr,y7:()=>Lr,zX:()=>Zr,ze:()=>_a});var n=s(93953),a=s(60177),g=s(22806),m=s(27468),T=s(21413),O=s(96354);let D=(()=>{class un{constructor(Dt,qn){this._renderer=Dt,this._elementRef=qn,this.onChange=zi=>{},this.onTouched=()=>{}}setProperty(Dt,qn){this._renderer.setProperty(this._elementRef.nativeElement,Dt,qn)}registerOnTouched(Dt){this.onTouched=Dt}registerOnChange(Dt){this.onChange=Dt}setDisabledState(Dt){this.setProperty("disabled",Dt)}static#e=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(n.sFG),n.rXU(n.aKT))};static#t=this.\u0275dir=n.FsC({type:un})}return un})(),E=(()=>{class un extends D{static#e=this.\u0275fac=(()=>{let Dt;return function(zi){return(Dt||(Dt=n.xGo(un)))(zi||un)}})();static#t=this.\u0275dir=n.FsC({type:un,features:[n.Vt3]})}return un})();const y=new n.nKC(""),I={provide:y,useExisting:(0,n.Rfq)(()=>b),multi:!0};let b=(()=>{class un extends E{writeValue(Dt){this.setProperty("checked",Dt)}static#e=this.\u0275fac=(()=>{let Dt;return function(zi){return(Dt||(Dt=n.xGo(un)))(zi||un)}})();static#t=this.\u0275dir=n.FsC({type:un,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(qn,zi){1&qn&&n.bIt("change",function(xr){return zi.onChange(xr.target.checked)})("blur",function(){return zi.onTouched()})},features:[n.Jv_([I]),n.Vt3]})}return un})();const L={provide:y,useExisting:(0,n.Rfq)(()=>w),multi:!0},C=new n.nKC("");let w=(()=>{class un extends D{constructor(Dt,qn,zi){super(Dt,qn),this._compositionMode=zi,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function o(){const un=(0,a.QT)()?(0,a.QT)().getUserAgent():"";return/android (\d+)/.test(un.toLowerCase())}())}writeValue(Dt){this.setProperty("value",Dt??"")}_handleInput(Dt){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Dt)}_compositionStart(){this._composing=!0}_compositionEnd(Dt){this._composing=!1,this._compositionMode&&this.onChange(Dt)}static#e=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(C,8))};static#t=this.\u0275dir=n.FsC({type:un,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(qn,zi){1&qn&&n.bIt("input",function(xr){return zi._handleInput(xr.target.value)})("blur",function(){return zi.onTouched()})("compositionstart",function(){return zi._compositionStart()})("compositionend",function(xr){return zi._compositionEnd(xr.target.value)})},features:[n.Jv_([L]),n.Vt3]})}return un})();function M(un){return null==un||("string"==typeof un||Array.isArray(un))&&0===un.length}function q(un){return null!=un&&"number"==typeof un.length}const z=new n.nKC(""),F=new n.nKC(""),U=/^(?=.{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 k{static min(tn){return Y(tn)}static max(tn){return x(tn)}static required(tn){return B(tn)}static requiredTrue(tn){return j(tn)}static email(tn){return function $(un){return M(un.value)||U.test(un.value)?null:{email:!0}}(tn)}static minLength(tn){return function H(un){return tn=>M(tn.value)||!q(tn.value)?null:tn.value.length<un?{minlength:{requiredLength:un,actualLength:tn.value.length}}:null}(tn)}static maxLength(tn){return ie(tn)}static pattern(tn){return function ne(un){if(!un)return Q;let tn,Dt;return"string"==typeof un?(Dt="","^"!==un.charAt(0)&&(Dt+="^"),Dt+=un,"$"!==un.charAt(un.length-1)&&(Dt+="$"),tn=new RegExp(Dt)):(Dt=un.toString(),tn=un),qn=>{if(M(qn.value))return null;const zi=qn.value;return tn.test(zi)?null:{pattern:{requiredPattern:Dt,actualValue:zi}}}}(tn)}static nullValidator(tn){return null}static compose(tn){return Me(tn)}static composeAsync(tn){return be(tn)}}function Y(un){return tn=>{if(M(tn.value)||M(un))return null;const Dt=parseFloat(tn.value);return!isNaN(Dt)&&Dt<un?{min:{min:un,actual:tn.value}}:null}}function x(un){return tn=>{if(M(tn.value)||M(un))return null;const Dt=parseFloat(tn.value);return!isNaN(Dt)&&Dt>un?{max:{max:un,actual:tn.value}}:null}}function B(un){return M(un.value)?{required:!0}:null}function j(un){return!0===un.value?null:{required:!0}}function ie(un){return tn=>q(tn.value)&&tn.value.length>un?{maxlength:{requiredLength:un,actualLength:tn.value.length}}:null}function Q(un){return null}function le(un){return null!=un}function pe(un){return(0,n.jNT)(un)?(0,g.H)(un):un}function te(un){let tn={};return un.forEach(Dt=>{tn=null!=Dt?{...tn,...Dt}:tn}),0===Object.keys(tn).length?null:tn}function ae(un,tn){return tn.map(Dt=>Dt(un))}function de(un){return un.map(tn=>function K(un){return!un.validate}(tn)?tn:Dt=>tn.validate(Dt))}function Me(un){if(!un)return null;const tn=un.filter(le);return 0==tn.length?null:function(Dt){return te(ae(Dt,tn))}}function me(un){return null!=un?Me(de(un)):null}function be(un){if(!un)return null;const tn=un.filter(le);return 0==tn.length?null:function(Dt){const qn=ae(Dt,tn).map(pe);return(0,m.p)(qn).pipe((0,O.T)(te))}}function Le(un){return null!=un?be(de(un)):null}function Ae(un,tn){return null===un?[tn]:Array.isArray(un)?[...un,tn]:[un,tn]}function Oe(un){return un._rawValidators}function Xe(un){return un._rawAsyncValidators}function Pe(un){return un?Array.isArray(un)?un:[un]:[]}function $e(un,tn){return Array.isArray(un)?un.includes(tn):un===tn}function ze(un,tn){const Dt=Pe(tn);return Pe(un).forEach(zi=>{$e(Dt,zi)||Dt.push(zi)}),Dt}function Be(un,tn){return Pe(tn).filter(Dt=>!$e(un,Dt))}class Ye{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(tn){this._rawValidators=tn||[],this._composedValidatorFn=me(this._rawValidators)}_setAsyncValidators(tn){this._rawAsyncValidators=tn||[],this._composedAsyncValidatorFn=Le(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(tn){this._onDestroyCallbacks.push(tn)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(tn=>tn()),this._onDestroyCallbacks=[]}reset(tn=void 0){this.control&&this.control.reset(tn)}hasError(tn,Dt){return!!this.control&&this.control.hasError(tn,Dt)}getError(tn,Dt){return this.control?this.control.getError(tn,Dt):null}}class Ct extends Ye{get formDirective(){return null}get path(){return null}}class Lt extends Ye{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Vt{constructor(tn){this._cd=tn}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Ge=(()=>{class un extends Vt{constructor(Dt){super(Dt)}static#e=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(Lt,2))};static#t=this.\u0275dir=n.FsC({type:un,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(qn,zi){2&qn&&n.AVh("ng-untouched",zi.isUntouched)("ng-touched",zi.isTouched)("ng-pristine",zi.isPristine)("ng-dirty",zi.isDirty)("ng-valid",zi.isValid)("ng-invalid",zi.isInvalid)("ng-pending",zi.isPending)},features:[n.Vt3]})}return un})(),Se=(()=>{class un extends Vt{constructor(Dt){super(Dt)}static#e=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(Ct,10))};static#t=this.\u0275dir=n.FsC({type:un,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(qn,zi){2&qn&&n.AVh("ng-untouched",zi.isUntouched)("ng-touched",zi.isTouched)("ng-pristine",zi.isPristine)("ng-dirty",zi.isDirty)("ng-valid",zi.isValid)("ng-invalid",zi.isInvalid)("ng-pending",zi.isPending)("ng-submitted",zi.isSubmitted)},features:[n.Vt3]})}return un})();const Rn="VALID",Qt="INVALID",Wt="PENDING",Yt="DISABLED";class Mn{}class ci extends Mn{constructor(tn,Dt){super(),this.value=tn,this.source=Dt}}class Ue extends Mn{constructor(tn,Dt){super(),this.pristine=tn,this.source=Dt}}class Un extends Mn{constructor(tn,Dt){super(),this.touched=tn,this.source=Dt}}class _n extends Mn{constructor(tn,Dt){super(),this.status=tn,this.source=Dt}}class Xn extends Mn{constructor(tn){super(),this.source=tn}}class Ii extends Mn{constructor(tn){super(),this.source=tn}}function En(un){return(os(un)?un.validators:un)||null}function Dn(un,tn){return(os(tn)?tn.asyncValidators:un)||null}function os(un){return null!=un&&!Array.isArray(un)&&"object"==typeof un}function Fs(un,tn,Dt){const qn=un.controls;if(!(tn?Object.keys(qn):qn).length)throw new n.wOt(1e3,"");if(!qn[Dt])throw new n.wOt(1001,"")}function sn(un,tn,Dt){un._forEachChild((qn,zi)=>{if(void 0===Dt[zi])throw new n.wOt(1002,"")})}class oi{constructor(tn,Dt){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,n.EWP)(()=>this.statusReactive()),this.statusReactive=(0,n.vPA)(void 0),this._pristine=(0,n.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,n.vPA)(!0),this._touched=(0,n.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,n.vPA)(!1),this._events=new T.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(tn),this._assignAsyncValidators(Dt)}get validator(){return this._composedValidatorFn}set validator(tn){this._rawValidators=this._composedValidatorFn=tn}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(tn){this._rawAsyncValidators=this._composedAsyncValidatorFn=tn}get parent(){return this._parent}get status(){return(0,n.O8t)(this.statusReactive)}set status(tn){(0,n.O8t)(()=>this.statusReactive.set(tn))}get valid(){return this.status===Rn}get invalid(){return this.status===Qt}get pending(){return this.status==Wt}get disabled(){return this.status===Yt}get enabled(){return this.status!==Yt}get pristine(){return(0,n.O8t)(this.pristineReactive)}set pristine(tn){(0,n.O8t)(()=>this.pristineReactive.set(tn))}get dirty(){return!this.pristine}get touched(){return(0,n.O8t)(this.touchedReactive)}set touched(tn){(0,n.O8t)(()=>this.touchedReactive.set(tn))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(tn){this._assignValidators(tn)}setAsyncValidators(tn){this._assignAsyncValidators(tn)}addValidators(tn){this.setValidators(ze(tn,this._rawValidators))}addAsyncValidators(tn){this.setAsyncValidators(ze(tn,this._rawAsyncValidators))}removeValidators(tn){this.setValidators(Be(tn,this._rawValidators))}removeAsyncValidators(tn){this.setAsyncValidators(Be(tn,this._rawAsyncValidators))}hasValidator(tn){return $e(this._rawValidators,tn)}hasAsyncValidator(tn){return $e(this._rawAsyncValidators,tn)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(tn={}){const Dt=!1===this.touched;this.touched=!0;const qn=tn.sourceControl??this;this._parent&&!tn.onlySelf&&this._parent.markAsTouched({...tn,sourceControl:qn}),Dt&&!1!==tn.emitEvent&&this._events.next(new Un(!0,qn))}markAllAsTouched(tn={}){this.markAsTouched({onlySelf:!0,emitEvent:tn.emitEvent,sourceControl:this}),this._forEachChild(Dt=>Dt.markAllAsTouched(tn))}markAsUntouched(tn={}){const Dt=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const qn=tn.sourceControl??this;this._forEachChild(zi=>{zi.markAsUntouched({onlySelf:!0,emitEvent:tn.emitEvent,sourceControl:qn})}),this._parent&&!tn.onlySelf&&this._parent._updateTouched(tn,qn),Dt&&!1!==tn.emitEvent&&this._events.next(new Un(!1,qn))}markAsDirty(tn={}){const Dt=!0===this.pristine;this.pristine=!1;const qn=tn.sourceControl??this;this._parent&&!tn.onlySelf&&this._parent.markAsDirty({...tn,sourceControl:qn}),Dt&&!1!==tn.emitEvent&&this._events.next(new Ue(!1,qn))}markAsPristine(tn={}){const Dt=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const qn=tn.sourceControl??this;this._forEachChild(zi=>{zi.markAsPristine({onlySelf:!0,emitEvent:tn.emitEvent})}),this._parent&&!tn.onlySelf&&this._parent._updatePristine(tn,qn),Dt&&!1!==tn.emitEvent&&this._events.next(new Ue(!0,qn))}markAsPending(tn={}){this.status=Wt;const Dt=tn.sourceControl??this;!1!==tn.emitEvent&&(this._events.next(new _n(this.status,Dt)),this.statusChanges.emit(this.status)),this._parent&&!tn.onlySelf&&this._parent.markAsPending({...tn,sourceControl:Dt})}disable(tn={}){const Dt=this._parentMarkedDirty(tn.onlySelf);this.status=Yt,this.errors=null,this._forEachChild(zi=>{zi.disable({...tn,onlySelf:!0})}),this._updateValue();const qn=tn.sourceControl??this;!1!==tn.emitEvent&&(this._events.next(new ci(this.value,qn)),this._events.next(new _n(this.status,qn)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...tn,skipPristineCheck:Dt},this),this._onDisabledChange.forEach(zi=>zi(!0))}enable(tn={}){const Dt=this._parentMarkedDirty(tn.onlySelf);this.status=Rn,this._forEachChild(qn=>{qn.enable({...tn,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:tn.emitEvent}),this._updateAncestors({...tn,skipPristineCheck:Dt},this),this._onDisabledChange.forEach(qn=>qn(!1))}_updateAncestors(tn,Dt){this._parent&&!tn.onlySelf&&(this._parent.updateValueAndValidity(tn),tn.skipPristineCheck||this._parent._updatePristine({},Dt),this._parent._updateTouched({},Dt))}setParent(tn){this._parent=tn}getRawValue(){return this.value}updateValueAndValidity(tn={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const qn=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Rn||this.status===Wt)&&this._runAsyncValidator(qn,tn.emitEvent)}const Dt=tn.sourceControl??this;!1!==tn.emitEvent&&(this._events.next(new ci(this.value,Dt)),this._events.next(new _n(this.status,Dt)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!tn.onlySelf&&this._parent.updateValueAndValidity({...tn,sourceControl:Dt})}_updateTreeValidity(tn={emitEvent:!0}){this._forEachChild(Dt=>Dt._updateTreeValidity(tn)),this.updateValueAndValidity({onlySelf:!0,emitEvent:tn.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Yt:Rn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(tn,Dt){if(this.asyncValidator){this.status=Wt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==Dt};const qn=pe(this.asyncValidator(this));this._asyncValidationSubscription=qn.subscribe(zi=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(zi,{emitEvent:Dt,shouldHaveEmitted:tn})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const tn=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,tn}return!1}setErrors(tn,Dt={}){this.errors=tn,this._updateControlsErrors(!1!==Dt.emitEvent,this,Dt.shouldHaveEmitted)}get(tn){let Dt=tn;return null==Dt||(Array.isArray(Dt)||(Dt=Dt.split(".")),0===Dt.length)?null:Dt.reduce((qn,zi)=>qn&&qn._find(zi),this)}getError(tn,Dt){const qn=Dt?this.get(Dt):this;return qn&&qn.errors?qn.errors[tn]:null}hasError(tn,Dt){return!!this.getError(tn,Dt)}get root(){let tn=this;for(;tn._parent;)tn=tn._parent;return tn}_updateControlsErrors(tn,Dt,qn){this.status=this._calculateStatus(),tn&&this.statusChanges.emit(this.status),(tn||qn)&&this._events.next(new _n(this.status,Dt)),this._parent&&this._parent._updateControlsErrors(tn,Dt,qn)}_initObservables(){this.valueChanges=new n.bkB,this.statusChanges=new n.bkB}_calculateStatus(){return this._allControlsDisabled()?Yt:this.errors?Qt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wt)?Wt:this._anyControlsHaveStatus(Qt)?Qt:Rn}_anyControlsHaveStatus(tn){return this._anyControls(Dt=>Dt.status===tn)}_anyControlsDirty(){return this._anyControls(tn=>tn.dirty)}_anyControlsTouched(){return this._anyControls(tn=>tn.touched)}_updatePristine(tn,Dt){const qn=!this._anyControlsDirty(),zi=this.pristine!==qn;this.pristine=qn,this._parent&&!tn.onlySelf&&this._parent._updatePristine(tn,Dt),zi&&this._events.next(new Ue(this.pristine,Dt))}_updateTouched(tn={},Dt){this.touched=this._anyControlsTouched(),this._events.next(new Un(this.touched,Dt)),this._parent&&!tn.onlySelf&&this._parent._updateTouched(tn,Dt)}_registerOnCollectionChange(tn){this._onCollectionChange=tn}_setUpdateStrategy(tn){os(tn)&&null!=tn.updateOn&&(this._updateOn=tn.updateOn)}_parentMarkedDirty(tn){return!tn&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(tn){return null}_assignValidators(tn){this._rawValidators=Array.isArray(tn)?tn.slice():tn,this._composedValidatorFn=function ln(un){return Array.isArray(un)?me(un):un||null}(this._rawValidators)}_assignAsyncValidators(tn){this._rawAsyncValidators=Array.isArray(tn)?tn.slice():tn,this._composedAsyncValidatorFn=function Ai(un){return Array.isArray(un)?Le(un):un||null}(this._rawAsyncValidators)}}class pt extends oi{constructor(tn,Dt,qn){super(En(Dt),Dn(qn,Dt)),this.controls=tn,this._initObservables(),this._setUpdateStrategy(Dt),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(tn,Dt){return this.controls[tn]?this.controls[tn]:(this.controls[tn]=Dt,Dt.setParent(this),Dt._registerOnCollectionChange(this._onCollectionChange),Dt)}addControl(tn,Dt,qn={}){this.registerControl(tn,Dt),this.updateValueAndValidity({emitEvent:qn.emitEvent}),this._onCollectionChange()}removeControl(tn,Dt={}){this.controls[tn]&&this.controls[tn]._registerOnCollectionChange(()=>{}),delete this.controls[tn],this.updateValueAndValidity({emitEvent:Dt.emitEvent}),this._onCollectionChange()}setControl(tn,Dt,qn={}){this.controls[tn]&&this.controls[tn]._registerOnCollectionChange(()=>{}),delete this.controls[tn],Dt&&this.registerControl(tn,Dt),this.updateValueAndValidity({emitEvent:qn.emitEvent}),this._onCollectionChange()}contains(tn){return this.controls.hasOwnProperty(tn)&&this.controls[tn].enabled}setValue(tn,Dt={}){sn(this,0,tn),Object.keys(tn).forEach(qn=>{Fs(this,!0,qn),this.controls[qn].setValue(tn[qn],{onlySelf:!0,emitEvent:Dt.emitEvent})}),this.updateValueAndValidity(Dt)}patchValue(tn,Dt={}){null!=tn&&(Object.keys(tn).forEach(qn=>{const zi=this.controls[qn];zi&&zi.patchValue(tn[qn],{onlySelf:!0,emitEvent:Dt.emitEvent})}),this.updateValueAndValidity(Dt))}reset(tn={},Dt={}){this._forEachChild((qn,zi)=>{qn.reset(tn?tn[zi]:null,{onlySelf:!0,emitEvent:Dt.emitEvent})}),this._updatePristine(Dt,this),this._updateTouched(Dt,this),this.updateValueAndValidity(Dt)}getRawValue(){return this._reduceChildren({},(tn,Dt,qn)=>(tn[qn]=Dt.getRawValue(),tn))}_syncPendingControls(){let tn=this._reduceChildren(!1,(Dt,qn)=>!!qn._syncPendingControls()||Dt);return tn&&this.updateValueAndValidity({onlySelf:!0}),tn}_forEachChild(tn){Object.keys(this.controls).forEach(Dt=>{const qn=this.controls[Dt];qn&&tn(qn,Dt)})}_setUpControls(){this._forEachChild(tn=>{tn.setParent(this),tn._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(tn){for(const[Dt,qn]of Object.entries(this.controls))if(this.contains(Dt)&&tn(qn))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Dt,qn,zi)=>((qn.enabled||this.disabled)&&(Dt[zi]=qn.value),Dt))}_reduceChildren(tn,Dt){let qn=tn;return this._forEachChild((zi,yo)=>{qn=Dt(qn,zi,yo)}),qn}_allControlsDisabled(){for(const tn of Object.keys(this.controls))if(this.controls[tn].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(tn){return this.controls.hasOwnProperty(tn)?this.controls[tn]:null}}class ui extends pt{}const Nn=new n.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Hn}),Hn="always";function Qn(un,tn){return[...tn.path,un]}function ri(un,tn,Dt=Hn){Hi(un,tn),tn.valueAccessor.writeValue(un.value),(un.disabled||"always"===Dt)&&tn.valueAccessor.setDisabledState?.(un.disabled),function yn(un,tn){tn.valueAccessor.registerOnChange(Dt=>{un._pendingValue=Dt,un._pendingChange=!0,un._pendingDirty=!0,"change"===un.updateOn&&Bn(un,tn)})}(un,tn),function mi(un,tn){const Dt=(qn,zi)=>{tn.valueAccessor.writeValue(qn),zi&&tn.viewToModelUpdate(qn)};un.registerOnChange(Dt),tn._registerOnDestroy(()=>{un._unregisterOnChange(Dt)})}(un,tn),function hn(un,tn){tn.valueAccessor.registerOnTouched(()=>{un._pendingTouched=!0,"blur"===un.updateOn&&un._pendingChange&&Bn(un,tn),"submit"!==un.updateOn&&un.markAsTouched()})}(un,tn),function ei(un,tn){if(tn.valueAccessor.setDisabledState){const Dt=qn=>{tn.valueAccessor.setDisabledState(qn)};un.registerOnDisabledChange(Dt),tn._registerOnDestroy(()=>{un._unregisterOnDisabledChange(Dt)})}}(un,tn)}function li(un,tn,Dt=!0){const qn=()=>{};tn.valueAccessor&&(tn.valueAccessor.registerOnChange(qn),tn.valueAccessor.registerOnTouched(qn)),gn(un,tn),un&&(tn._invokeOnDestroyCallbacks(),un._registerOnCollectionChange(()=>{}))}function Fi(un,tn){un.forEach(Dt=>{Dt.registerOnValidatorChange&&Dt.registerOnValidatorChange(tn)})}function Hi(un,tn){const Dt=Oe(un);null!==tn.validator?un.setValidators(Ae(Dt,tn.validator)):"function"==typeof Dt&&un.setValidators([Dt]);const qn=Xe(un);null!==tn.asyncValidator?un.setAsyncValidators(Ae(qn,tn.asyncValidator)):"function"==typeof qn&&un.setAsyncValidators([qn]);const zi=()=>un.updateValueAndValidity();Fi(tn._rawValidators,zi),Fi(tn._rawAsyncValidators,zi)}function gn(un,tn){let Dt=!1;if(null!==un){if(null!==tn.validator){const zi=Oe(un);if(Array.isArray(zi)&&zi.length>0){const yo=zi.filter(xr=>xr!==tn.validator);yo.length!==zi.length&&(Dt=!0,un.setValidators(yo))}}if(null!==tn.asyncValidator){const zi=Xe(un);if(Array.isArray(zi)&&zi.length>0){const yo=zi.filter(xr=>xr!==tn.asyncValidator);yo.length!==zi.length&&(Dt=!0,un.setAsyncValidators(yo))}}}const qn=()=>{};return Fi(tn._rawValidators,qn),Fi(tn._rawAsyncValidators,qn),Dt}function Bn(un,tn){un._pendingDirty&&un.markAsDirty(),un.setValue(un._pendingValue,{emitModelToViewChange:!1}),tn.viewToModelUpdate(un._pendingValue),un._pendingChange=!1}function wi(un,tn){Hi(un,tn)}function Jt(un,tn){if(!un.hasOwnProperty("model"))return!1;const Dt=un.model;return!!Dt.isFirstChange()||!Object.is(tn,Dt.currentValue)}function fe(un,tn){un._syncPendingControls(),tn.forEach(Dt=>{const qn=Dt.control;"submit"===qn.updateOn&&qn._pendingChange&&(Dt.viewToModelUpdate(qn._pendingValue),qn._pendingChange=!1)})}function nt(un,tn){if(!tn)return null;let Dt,qn,zi;return Array.isArray(tn),tn.forEach(yo=>{yo.constructor===w?Dt=yo:function He(un){return Object.getPrototypeOf(un.constructor)===E}(yo)?qn=yo:zi=yo}),zi||qn||Dt||null}const Jn={provide:Ct,useExisting:(0,n.Rfq)(()=>Ci)},Oi=Promise.resolve();let Ci=(()=>{class un extends Ct{get submitted(){return(0,n.O8t)(this.submittedReactive)}constructor(Dt,qn,zi){super(),this.callSetDisabledState=zi,this._submitted=(0,n.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,n.vPA)(!1),this._directives=new Set,this.ngSubmit=new n.bkB,this.form=new pt({},me(Dt),Le(qn))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Dt){Oi.then(()=>{const qn=this._findContainer(Dt.path);Dt.control=qn.registerControl(Dt.name,Dt.control),ri(Dt.control,Dt,this.callSetDisabledState),Dt.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Dt)})}getControl(Dt){return this.form.get(Dt.path)}removeControl(Dt){Oi.then(()=>{const qn=this._findContainer(Dt.path);qn&&qn.removeControl(Dt.name),this._directives.delete(Dt)})}addFormGroup(Dt){Oi.then(()=>{const qn=this._findContainer(Dt.path),zi=new pt({});wi(zi,Dt),qn.registerControl(Dt.name,zi),zi.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Dt){Oi.then(()=>{const qn=this._findContainer(Dt.path);qn&&qn.removeControl(Dt.name)})}getFormGroup(Dt){return this.form.get(Dt.path)}updateModel(Dt,qn){Oi.then(()=>{this.form.get(Dt.path).setValue(qn)})}setValue(Dt){this.control.setValue(Dt)}onSubmit(Dt){return this.submittedReactive.set(!0),fe(this.form,this._directives),this.ngSubmit.emit(Dt),"dialog"===Dt?.target?.method}onReset(){this.resetForm()}resetForm(Dt=void 0){this.form.reset(Dt),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Dt){return Dt.pop(),Dt.length?this.form.get(Dt):this.form}static#e=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(z,10),n.rXU(F,10),n.rXU(Nn,8))};static#t=this.\u0275dir=n.FsC({type:un,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(qn,zi){1&qn&&n.bIt("submit",function(xr){return zi.onSubmit(xr)})("reset",function(){return zi.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.Jv_([Jn]),n.Vt3]})}return un})();function Ui(un,tn){const Dt=un.indexOf(tn);Dt>-1&&un.splice(Dt,1)}function ps(un){return"object"==typeof un&&null!==un&&2===Object.keys(un).length&&"value"in un&&"disabled"in un}const Ji=class extends oi{constructor(tn=null,Dt,qn){super(En(Dt),Dn(qn,Dt)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(tn),this._setUpdateStrategy(Dt),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),os(Dt)&&(Dt.nonNullable||Dt.initialValueIsDefault)&&(this.defaultValue=ps(tn)?tn.value:tn)}setValue(tn,Dt={}){this.value=this._pendingValue=tn,this._onChange.length&&!1!==Dt.emitModelToViewChange&&this._onChange.forEach(qn=>qn(this.value,!1!==Dt.emitViewToModelChange)),this.updateValueAndValidity(Dt)}patchValue(tn,Dt={}){this.setValue(tn,Dt)}reset(tn=this.defaultValue,Dt={}){this._applyFormState(tn),this.markAsPristine(Dt),this.markAsUntouched(Dt),this.setValue(this.value,Dt),this._pendingChange=!1}_updateValue(){}_anyControls(tn){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(tn){this._onChange.push(tn)}_unregisterOnChange(tn){Ui(this._onChange,tn)}registerOnDisabledChange(tn){this._onDisabledChange.push(tn)}_unregisterOnDisabledChange(tn){Ui(this._onDisabledChange,tn)}_forEachChild(tn){}_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(tn){ps(tn)?(this.value=this._pendingValue=tn.value,tn.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=tn}};let es=(()=>{class un extends Ct{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Qn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let Dt;return function(zi){return(Dt||(Dt=n.xGo(un)))(zi||un)}})();static#t=this.\u0275dir=n.FsC({type:un,features:[n.Vt3]})}return un})();const zr={provide:Lt,useExisting:(0,n.Rfq)(()=>Rr)},Ea=Promise.resolve();let Rr=(()=>{class un extends Lt{constructor(Dt,qn,zi,yo,xr,Al){super(),this._changeDetectorRef=xr,this.callSetDisabledState=Al,this.control=new Ji,this._registered=!1,this.name="",this.update=new n.bkB,this._parent=Dt,this._setValidators(qn),this._setAsyncValidators(zi),this.valueAccessor=nt(0,yo)}ngOnChanges(Dt){if(this._checkForErrors(),!this._registered||"name"in Dt){if(this._registered&&(this._checkName(),this.formDirective)){const qn=Dt.name.previousValue;this.formDirective.removeControl({name:qn,path:this._getPath(qn)})}this._setUpControl()}"isDisabled"in Dt&&this._updateDisabled(Dt),Jt(Dt,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(Dt){this.viewModel=Dt,this.update.emit(Dt)}_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(){ri(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Dt){Ea.then(()=>{this.control.setValue(Dt,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Dt){const qn=Dt.isDisabled.currentValue,zi=0!==qn&&(0,n.L39)(qn);Ea.then(()=>{zi&&!this.control.disabled?this.control.disable():!zi&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Dt){return this._parent?Qn(Dt,this._parent):[Dt]}static#e=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(Ct,9),n.rXU(z,10),n.rXU(F,10),n.rXU(y,10),n.rXU(n.gRc,8),n.rXU(Nn,8))};static#t=this.\u0275dir=n.FsC({type:un,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.Jv_([zr]),n.Vt3,n.OA$]})}return un})(),A0=(()=>{class un{static#e=this.\u0275fac=function(qn){return new(qn||un)};static#t=this.\u0275dir=n.FsC({type:un,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return un})();const oa={provide:y,useExisting:(0,n.Rfq)(()=>bi),multi:!0};let bi=(()=>{class un extends E{writeValue(Dt){this.setProperty("value",Dt??"")}registerOnChange(Dt){this.onChange=qn=>{Dt(""==qn?null:parseFloat(qn))}}static#e=this.\u0275fac=(()=>{let Dt;return function(zi){return(Dt||(Dt=n.xGo(un)))(zi||un)}})();static#t=this.\u0275dir=n.FsC({type:un,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(qn,zi){1&qn&&n.bIt("input",function(xr){return zi.onChange(xr.target.value)})("blur",function(){return zi.onTouched()})},features:[n.Jv_([oa]),n.Vt3]})}return un})();const Po={provide:y,useExisting:(0,n.Rfq)(()=>fi),multi:!0};let Ei=(()=>{class un{constructor(){this._accessors=[]}add(Dt,qn){this._accessors.push([Dt,qn])}remove(Dt){for(let qn=this._accessors.length-1;qn>=0;--qn)if(this._accessors[qn][1]===Dt)return void this._accessors.splice(qn,1)}select(Dt){this._accessors.forEach(qn=>{this._isSameGroup(qn,Dt)&&qn[1]!==Dt&&qn[1].fireUncheck(Dt.value)})}_isSameGroup(Dt,qn){return!!Dt[0].control&&Dt[0]._parent===qn._control._parent&&Dt[1].name===qn.name}static#e=this.\u0275fac=function(qn){return new(qn||un)};static#t=this.\u0275prov=n.jDH({token:un,factory:un.\u0275fac,providedIn:"root"})}return un})(),fi=(()=>{class un extends E{constructor(Dt,qn,zi,yo){super(Dt,qn),this._registry=zi,this._injector=yo,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.WQX)(Nn,{optional:!0})??Hn}ngOnInit(){this._control=this._injector.get(Lt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(Dt){this._state=Dt===this.value,this.setProperty("checked",this._state)}registerOnChange(Dt){this._fn=Dt,this.onChange=()=>{Dt(this.value),this._registry.select(this)}}setDisabledState(Dt){(this.setDisabledStateFired||Dt||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",Dt),this.setDisabledStateFired=!0}fireUncheck(Dt){this.writeValue(Dt)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(Ei),n.rXU(n.zZn))};static#t=this.\u0275dir=n.FsC({type:un,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(qn,zi){1&qn&&n.bIt("change",function(){return zi.onChange()})("blur",function(){return zi.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.Jv_([Po]),n.Vt3]})}return un})();const za=new n.nKC(""),l1={provide:Lt,useExisting:(0,n.Rfq)(()=>Yn)};let Yn=(()=>{class un extends Lt{set isDisabled(Dt){}static#e=this._ngModelWarningSentOnce=!1;constructor(Dt,qn,zi,yo,xr){super(),this._ngModelWarningConfig=yo,this.callSetDisabledState=xr,this.update=new n.bkB,this._ngModelWarningSent=!1,this._setValidators(Dt),this._setAsyncValidators(qn),this.valueAccessor=nt(0,zi)}ngOnChanges(Dt){if(this._isControlChanged(Dt)){const qn=Dt.form.previousValue;qn&&li(qn,this,!1),ri(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Jt(Dt,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&li(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Dt){this.viewModel=Dt,this.update.emit(Dt)}_isControlChanged(Dt){return Dt.hasOwnProperty("form")}static#t=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(z,10),n.rXU(F,10),n.rXU(y,10),n.rXU(za,8),n.rXU(Nn,8))};static#n=this.\u0275dir=n.FsC({type:un,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.Jv_([l1]),n.Vt3,n.OA$]})}return un})();const so={provide:Ct,useExisting:(0,n.Rfq)(()=>Hr)};let Hr=(()=>{class un extends Ct{get submitted(){return(0,n.O8t)(this._submittedReactive)}set submitted(Dt){this._submittedReactive.set(Dt)}constructor(Dt,qn,zi){super(),this.callSetDisabledState=zi,this._submitted=(0,n.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,n.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.bkB,this._setValidators(Dt),this._setAsyncValidators(qn)}ngOnChanges(Dt){this._checkFormPresent(),Dt.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(gn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Dt){const qn=this.form.get(Dt.path);return ri(qn,Dt,this.callSetDisabledState),qn.updateValueAndValidity({emitEvent:!1}),this.directives.push(Dt),qn}getControl(Dt){return this.form.get(Dt.path)}removeControl(Dt){li(Dt.control||null,Dt,!1),function Ot(un,tn){const Dt=un.indexOf(tn);Dt>-1&&un.splice(Dt,1)}(this.directives,Dt)}addFormGroup(Dt){this._setUpFormContainer(Dt)}removeFormGroup(Dt){this._cleanUpFormContainer(Dt)}getFormGroup(Dt){return this.form.get(Dt.path)}addFormArray(Dt){this._setUpFormContainer(Dt)}removeFormArray(Dt){this._cleanUpFormContainer(Dt)}getFormArray(Dt){return this.form.get(Dt.path)}updateModel(Dt,qn){this.form.get(Dt.path).setValue(qn)}onSubmit(Dt){return this._submittedReactive.set(!0),fe(this.form,this.directives),this.ngSubmit.emit(Dt),this.form._events.next(new Xn(this.control)),"dialog"===Dt?.target?.method}onReset(){this.resetForm()}resetForm(Dt=void 0){this.form.reset(Dt),this._submittedReactive.set(!1),this.form._events.next(new Ii(this.form))}_updateDomValue(){this.directives.forEach(Dt=>{const qn=Dt.control,zi=this.form.get(Dt.path);qn!==zi&&(li(qn||null,Dt),(un=>un instanceof Ji)(zi)&&(ri(zi,Dt,this.callSetDisabledState),Dt.control=zi))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Dt){const qn=this.form.get(Dt.path);wi(qn,Dt),qn.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Dt){if(this.form){const qn=this.form.get(Dt.path);qn&&function Si(un,tn){return gn(un,tn)}(qn,Dt)&&qn.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Hi(this.form,this),this._oldForm&&gn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(z,10),n.rXU(F,10),n.rXU(Nn,8))};static#t=this.\u0275dir=n.FsC({type:un,selectors:[["","formGroup",""]],hostBindings:function(qn,zi){1&qn&&n.bIt("submit",function(xr){return zi.onSubmit(xr)})("reset",function(){return zi.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.Jv_([so]),n.Vt3,n.OA$]})}return un})();const vr={provide:Ct,useExisting:(0,n.Rfq)(()=>Sa)};let Sa=(()=>{class un extends es{constructor(Dt,qn,zi){super(),this.name=null,this._parent=Dt,this._setValidators(qn),this._setAsyncValidators(zi)}_checkParentType(){K1(this._parent)}static#e=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(Ct,13),n.rXU(z,10),n.rXU(F,10))};static#t=this.\u0275dir=n.FsC({type:un,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[n.Jv_([vr]),n.Vt3]})}return un})();const X1={provide:Ct,useExisting:(0,n.Rfq)(()=>_1)};let _1=(()=>{class un extends Ct{constructor(Dt,qn,zi){super(),this.name=null,this._parent=Dt,this._setValidators(qn),this._setAsyncValidators(zi)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Qn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){K1(this._parent)}static#e=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(Ct,13),n.rXU(z,10),n.rXU(F,10))};static#t=this.\u0275dir=n.FsC({type:un,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[n.Jv_([X1]),n.Vt3]})}return un})();function K1(un){return!(un instanceof Sa||un instanceof Hr||un instanceof _1)}const Ga={provide:Lt,useExisting:(0,n.Rfq)(()=>cl)};let cl=(()=>{class un extends Lt{set isDisabled(Dt){}static#e=this._ngModelWarningSentOnce=!1;constructor(Dt,qn,zi,yo,xr){super(),this._ngModelWarningConfig=xr,this._added=!1,this.name=null,this.update=new n.bkB,this._ngModelWarningSent=!1,this._parent=Dt,this._setValidators(qn),this._setAsyncValidators(zi),this.valueAccessor=nt(0,yo)}ngOnChanges(Dt){this._added||this._setUpControl(),Jt(Dt,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Dt){this.viewModel=Dt,this.update.emit(Dt)}get path(){return Qn(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}static#t=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(Ct,13),n.rXU(z,10),n.rXU(F,10),n.rXU(y,10),n.rXU(za,8))};static#n=this.\u0275dir=n.FsC({type:un,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.Jv_([Ga]),n.Vt3,n.OA$]})}return un})();const Ol={provide:y,useExisting:(0,n.Rfq)(()=>p0),multi:!0};function Wa(un,tn){return null==un?`${tn}`:(tn&&"object"==typeof tn&&(tn="Object"),`${un}: ${tn}`.slice(0,50))}let p0=(()=>{class un extends E{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Dt){this._compareWith=Dt}writeValue(Dt){this.value=Dt;const zi=Wa(this._getOptionId(Dt),Dt);this.setProperty("value",zi)}registerOnChange(Dt){this.onChange=qn=>{this.value=this._getOptionValue(qn),Dt(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(Dt){for(const qn of this._optionMap.keys())if(this._compareWith(this._optionMap.get(qn),Dt))return qn;return null}_getOptionValue(Dt){const qn=function Jr(un){return un.split(":")[0]}(Dt);return this._optionMap.has(qn)?this._optionMap.get(qn):Dt}static#e=this.\u0275fac=(()=>{let Dt;return function(zi){return(Dt||(Dt=n.xGo(un)))(zi||un)}})();static#t=this.\u0275dir=n.FsC({type:un,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(qn,zi){1&qn&&n.bIt("change",function(xr){return zi.onChange(xr.target.value)})("blur",function(){return zi.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.Jv_([Ol]),n.Vt3]})}return un})(),Tr=(()=>{class un{constructor(Dt,qn,zi){this._element=Dt,this._renderer=qn,this._select=zi,this._select&&(this.id=this._select._registerOption())}set ngValue(Dt){null!=this._select&&(this._select._optionMap.set(this.id,Dt),this._setElementValue(Wa(this.id,Dt)),this._select.writeValue(this._select.value))}set value(Dt){this._setElementValue(Dt),this._select&&this._select.writeValue(this._select.value)}_setElementValue(Dt){this._renderer.setProperty(this._element.nativeElement,"value",Dt)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(p0,9))};static#t=this.\u0275dir=n.FsC({type:un,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return un})();const Ta={provide:y,useExisting:(0,n.Rfq)(()=>ma),multi:!0};function Ao(un,tn){return null==un?`${tn}`:("string"==typeof tn&&(tn=`'${tn}'`),tn&&"object"==typeof tn&&(tn="Object"),`${un}: ${tn}`.slice(0,50))}let ma=(()=>{class un extends E{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Dt){this._compareWith=Dt}writeValue(Dt){let qn;if(this.value=Dt,Array.isArray(Dt)){const zi=Dt.map(yo=>this._getOptionId(yo));qn=(yo,xr)=>{yo._setSelected(zi.indexOf(xr.toString())>-1)}}else qn=(zi,yo)=>{zi._setSelected(!1)};this._optionMap.forEach(qn)}registerOnChange(Dt){this.onChange=qn=>{const zi=[],yo=qn.selectedOptions;if(void 0!==yo){const xr=yo;for(let Al=0;Al<xr.length;Al++){const Eo=this._getOptionValue(xr[Al].value);zi.push(Eo)}}else{const xr=qn.options;for(let Al=0;Al<xr.length;Al++){const P0=xr[Al];if(P0.selected){const Eo=this._getOptionValue(P0.value);zi.push(Eo)}}}this.value=zi,Dt(zi)}}_registerOption(Dt){const qn=(this._idCounter++).toString();return this._optionMap.set(qn,Dt),qn}_getOptionId(Dt){for(const qn of this._optionMap.keys())if(this._compareWith(this._optionMap.get(qn)._value,Dt))return qn;return null}_getOptionValue(Dt){const qn=function Da(un){return un.split(":")[0]}(Dt);return this._optionMap.has(qn)?this._optionMap.get(qn)._value:Dt}static#e=this.\u0275fac=(()=>{let Dt;return function(zi){return(Dt||(Dt=n.xGo(un)))(zi||un)}})();static#t=this.\u0275dir=n.FsC({type:un,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(qn,zi){1&qn&&n.bIt("change",function(xr){return zi.onChange(xr.target)})("blur",function(){return zi.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.Jv_([Ta]),n.Vt3]})}return un})(),Lr=(()=>{class un{constructor(Dt,qn,zi){this._element=Dt,this._renderer=qn,this._select=zi,this._select&&(this.id=this._select._registerOption(this))}set ngValue(Dt){null!=this._select&&(this._value=Dt,this._setElementValue(Ao(this.id,Dt)),this._select.writeValue(this._select.value))}set value(Dt){this._select?(this._value=Dt,this._setElementValue(Ao(this.id,Dt)),this._select.writeValue(this._select.value)):this._setElementValue(Dt)}_setElementValue(Dt){this._renderer.setProperty(this._element.nativeElement,"value",Dt)}_setSelected(Dt){this._renderer.setProperty(this._element.nativeElement,"selected",Dt)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(qn){return new(qn||un)(n.rXU(n.aKT),n.rXU(n.sFG),n.rXU(ma,9))};static#t=this.\u0275dir=n.FsC({type:un,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return un})();function Vs(un){return"number"==typeof un?un:parseFloat(un)}let Ar=(()=>{class un{constructor(){this._validator=Q}ngOnChanges(Dt){if(this.inputName in Dt){const qn=this.normalizeInput(Dt[this.inputName].currentValue);this._enabled=this.enabled(qn),this._validator=this._enabled?this.createValidator(qn):Q,this._onChange&&this._onChange()}}validate(Dt){return this._validator(Dt)}registerOnValidatorChange(Dt){this._onChange=Dt}enabled(Dt){return null!=Dt}static#e=this.\u0275fac=function(qn){return new(qn||un)};static#t=this.\u0275dir=n.FsC({type:un,features:[n.OA$]})}return un})();const gr={provide:z,useExisting:(0,n.Rfq)(()=>Zr),multi:!0};let Zr=(()=>{class un extends Ar{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Dt=>Vs(Dt),this.createValidator=Dt=>x(Dt)}static#e=this.\u0275fac=(()=>{let Dt;return function(zi){return(Dt||(Dt=n.xGo(un)))(zi||un)}})();static#t=this.\u0275dir=n.FsC({type:un,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(qn,zi){2&qn&&n.BMQ("max",zi._enabled?zi.max:null)},inputs:{max:"max"},features:[n.Jv_([gr]),n.Vt3]})}return un})();const Ur={provide:z,useExisting:(0,n.Rfq)(()=>Co),multi:!0};let Co=(()=>{class un extends Ar{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Dt=>Vs(Dt),this.createValidator=Dt=>Y(Dt)}static#e=this.\u0275fac=(()=>{let Dt;return function(zi){return(Dt||(Dt=n.xGo(un)))(zi||un)}})();static#t=this.\u0275dir=n.FsC({type:un,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(qn,zi){2&qn&&n.BMQ("min",zi._enabled?zi.min:null)},inputs:{min:"min"},features:[n.Jv_([Ur]),n.Vt3]})}return un})();const Ka={provide:z,useExisting:(0,n.Rfq)(()=>yr),multi:!0},tr={provide:z,useExisting:(0,n.Rfq)(()=>kr),multi:!0};let yr=(()=>{class un extends Ar{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.L39,this.createValidator=Dt=>B}enabled(Dt){return Dt}static#e=this.\u0275fac=(()=>{let Dt;return function(zi){return(Dt||(Dt=n.xGo(un)))(zi||un)}})();static#t=this.\u0275dir=n.FsC({type:un,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(qn,zi){2&qn&&n.BMQ("required",zi._enabled?"":null)},inputs:{required:"required"},features:[n.Jv_([Ka]),n.Vt3]})}return un})(),kr=(()=>{class un extends yr{constructor(){super(...arguments),this.createValidator=Dt=>j}static#e=this.\u0275fac=(()=>{let Dt;return function(zi){return(Dt||(Dt=n.xGo(un)))(zi||un)}})();static#t=this.\u0275dir=n.FsC({type:un,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(qn,zi){2&qn&&n.BMQ("required",zi._enabled?"":null)},features:[n.Jv_([tr]),n.Vt3]})}return un})();const Dl={provide:z,useExisting:(0,n.Rfq)(()=>mo),multi:!0};let mo=(()=>{class un extends Ar{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=Dt=>function Ia(un){return"number"==typeof un?un:parseInt(un,10)}(Dt),this.createValidator=Dt=>ie(Dt)}static#e=this.\u0275fac=(()=>{let Dt;return function(zi){return(Dt||(Dt=n.xGo(un)))(zi||un)}})();static#t=this.\u0275dir=n.FsC({type:un,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(qn,zi){2&qn&&n.BMQ("maxlength",zi._enabled?zi.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.Jv_([Dl]),n.Vt3]})}return un})(),ul=(()=>{class un{static#e=this.\u0275fac=function(qn){return new(qn||un)};static#t=this.\u0275mod=n.$C({type:un});static#n=this.\u0275inj=n.G2t({})}return un})();class g1 extends oi{constructor(tn,Dt,qn){super(En(Dt),Dn(qn,Dt)),this.controls=tn,this._initObservables(),this._setUpdateStrategy(Dt),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(tn){return this.controls[this._adjustIndex(tn)]}push(tn,Dt={}){this.controls.push(tn),this._registerControl(tn),this.updateValueAndValidity({emitEvent:Dt.emitEvent}),this._onCollectionChange()}insert(tn,Dt,qn={}){this.controls.splice(tn,0,Dt),this._registerControl(Dt),this.updateValueAndValidity({emitEvent:qn.emitEvent})}removeAt(tn,Dt={}){let qn=this._adjustIndex(tn);qn<0&&(qn=0),this.controls[qn]&&this.controls[qn]._registerOnCollectionChange(()=>{}),this.controls.splice(qn,1),this.updateValueAndValidity({emitEvent:Dt.emitEvent})}setControl(tn,Dt,qn={}){let zi=this._adjustIndex(tn);zi<0&&(zi=0),this.controls[zi]&&this.controls[zi]._registerOnCollectionChange(()=>{}),this.controls.splice(zi,1),Dt&&(this.controls.splice(zi,0,Dt),this._registerControl(Dt)),this.updateValueAndValidity({emitEvent:qn.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(tn,Dt={}){sn(this,0,tn),tn.forEach((qn,zi)=>{Fs(this,!1,zi),this.at(zi).setValue(qn,{onlySelf:!0,emitEvent:Dt.emitEvent})}),this.updateValueAndValidity(Dt)}patchValue(tn,Dt={}){null!=tn&&(tn.forEach((qn,zi)=>{this.at(zi)&&this.at(zi).patchValue(qn,{onlySelf:!0,emitEvent:Dt.emitEvent})}),this.updateValueAndValidity(Dt))}reset(tn=[],Dt={}){this._forEachChild((qn,zi)=>{qn.reset(tn[zi],{onlySelf:!0,emitEvent:Dt.emitEvent})}),this._updatePristine(Dt,this),this._updateTouched(Dt,this),this.updateValueAndValidity(Dt)}getRawValue(){return this.controls.map(tn=>tn.getRawValue())}clear(tn={}){this.controls.length<1||(this._forEachChild(Dt=>Dt._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:tn.emitEvent}))}_adjustIndex(tn){return tn<0?tn+this.length:tn}_syncPendingControls(){let tn=this.controls.reduce((Dt,qn)=>!!qn._syncPendingControls()||Dt,!1);return tn&&this.updateValueAndValidity({onlySelf:!0}),tn}_forEachChild(tn){this.controls.forEach((Dt,qn)=>{tn(Dt,qn)})}_updateValue(){this.value=this.controls.filter(tn=>tn.enabled||this.disabled).map(tn=>tn.value)}_anyControls(tn){return this.controls.some(Dt=>Dt.enabled&&tn(Dt))}_setUpControls(){this._forEachChild(tn=>this._registerControl(tn))}_allControlsDisabled(){for(const tn of this.controls)if(tn.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(tn){tn.setParent(this),tn._registerOnCollectionChange(this._onCollectionChange)}_find(tn){return this.at(tn)??null}}function Jo(un){return!!un&&(void 0!==un.asyncValidators||void 0!==un.validators||void 0!==un.updateOn)}let W1=(()=>{class un{constructor(){this.useNonNullable=!1}get nonNullable(){const Dt=new un;return Dt.useNonNullable=!0,Dt}group(Dt,qn=null){const zi=this._reduceControls(Dt);let yo={};return Jo(qn)?yo=qn:null!==qn&&(yo.validators=qn.validator,yo.asyncValidators=qn.asyncValidator),new pt(zi,yo)}record(Dt,qn=null){const zi=this._reduceControls(Dt);return new ui(zi,qn)}control(Dt,qn,zi){let yo={};return this.useNonNullable?(Jo(qn)?yo=qn:(yo.validators=qn,yo.asyncValidators=zi),new Ji(Dt,{...yo,nonNullable:!0})):new Ji(Dt,qn,zi)}array(Dt,qn,zi){const yo=Dt.map(xr=>this._createControl(xr));return new g1(yo,qn,zi)}_reduceControls(Dt){const qn={};return Object.keys(Dt).forEach(zi=>{qn[zi]=this._createControl(Dt[zi])}),qn}_createControl(Dt){return Dt instanceof Ji||Dt instanceof oi?Dt:Array.isArray(Dt)?this.control(Dt[0],Dt.length>1?Dt[1]:null,Dt.length>2?Dt[2]:null):this.control(Dt)}static#e=this.\u0275fac=function(qn){return new(qn||un)};static#t=this.\u0275prov=n.jDH({token:un,factory:un.\u0275fac,providedIn:"root"})}return un})(),_a=(()=>{class un extends W1{group(Dt,qn=null){return super.group(Dt,qn)}control(Dt,qn,zi){return super.control(Dt,qn,zi)}array(Dt,qn,zi){return super.array(Dt,qn,zi)}static#e=this.\u0275fac=(()=>{let Dt;return function(zi){return(Dt||(Dt=n.xGo(un)))(zi||un)}})();static#t=this.\u0275prov=n.jDH({token:un,factory:un.\u0275fac,providedIn:"root"})}return un})(),h0=(()=>{class un{static withConfig(Dt){return{ngModule:un,providers:[{provide:Nn,useValue:Dt.callSetDisabledState??Hn}]}}static#e=this.\u0275fac=function(qn){return new(qn||un)};static#t=this.\u0275mod=n.$C({type:un});static#n=this.\u0275inj=n.G2t({imports:[ul]})}return un})(),z1=(()=>{class un{static withConfig(Dt){return{ngModule:un,providers:[{provide:za,useValue:Dt.warnOnNgModelWithFormControl??"always"},{provide:Nn,useValue:Dt.callSetDisabledState??Hn}]}}static#e=this.\u0275fac=function(qn){return new(qn||un)};static#t=this.\u0275mod=n.$C({type:un});static#n=this.\u0275inj=n.G2t({imports:[ul]})}return un})()},86600:(at,N,s)=>{"use strict";s.d(N,{es:()=>ze,$E:()=>Xt,yE:()=>x,r6:()=>It,Ej:()=>Xn,pZ:()=>In,Ex:()=>Vt,X0:()=>le,tO:()=>Ii});var n=s(93953),a=s(5640),g=s(28203),T=s(60177),O=s(36860),D=s(14085);const M=["mat-internal-form-field",""],q=["*"],Y=new n.nKC("mat-sanity-checks",{providedIn:"root",factory:function k(){return!0}});let x=(()=>{class En{constructor(Dn,Ai,os){this._sanityChecks=Ai,this._document=os,this._hasDoneGlobalChecks=!1,Dn._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Dn){return!(0,O.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Dn])}static#e=this.\u0275fac=function(Ai){return new(Ai||En)(n.KVO(a.Q_),n.KVO(Y,8),n.KVO(T.qQ))};static#t=this.\u0275mod=n.$C({type:En});static#n=this.\u0275inj=n.G2t({imports:[g.jI,g.jI]})}return En})();class le{constructor(ln,Dn,Ai,os,Fs){this._defaultMatcher=ln,this.ngControl=Dn,this._parentFormGroup=Ai,this._parentForm=os,this._stateChanges=Fs,this.errorState=!1}updateErrorState(){const ln=this.errorState,Dn=this._parentFormGroup||this._parentForm,Ai=this.matcher||this._defaultMatcher,os=this.ngControl?this.ngControl.control:null,Fs=Ai?.isErrorState(os,Dn)??!1;Fs!==ln&&(this.errorState=Fs,this._stateChanges.next())}}let ze=(()=>{class En{isErrorState(Dn,Ai){return!!(Dn&&Dn.invalid&&(Dn.touched||Ai&&Ai.submitted))}static#e=this.\u0275fac=function(Ai){return new(Ai||En)};static#t=this.\u0275prov=n.jDH({token:En,factory:En.\u0275fac,providedIn:"root"})}return En})();var Vt=function(En){return En[En.FADING_IN=0]="FADING_IN",En[En.VISIBLE=1]="VISIBLE",En[En.FADING_OUT=2]="FADING_OUT",En[En.HIDDEN=3]="HIDDEN",En}(Vt||{});class ht{constructor(ln,Dn,Ai,os=!1){this._renderer=ln,this.element=Dn,this.config=Ai,this._animationForciblyDisabledThroughCss=os,this.state=Vt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const gt=(0,O.BQ)({passive:!0,capture:!0});class Ge{constructor(){this._events=new Map,this._delegateEventHandler=ln=>{const Dn=(0,O.Fb)(ln);Dn&&this._events.get(ln.type)?.forEach((Ai,os)=>{(os===Dn||os.contains(Dn))&&Ai.forEach(Fs=>Fs.handleEvent(ln))})}}addHandler(ln,Dn,Ai,os){const Fs=this._events.get(Dn);if(Fs){const sn=Fs.get(Ai);sn?sn.add(os):Fs.set(Ai,new Set([os]))}else this._events.set(Dn,new Map([[Ai,new Set([os])]])),ln.runOutsideAngular(()=>{document.addEventListener(Dn,this._delegateEventHandler,gt)})}removeHandler(ln,Dn,Ai){const os=this._events.get(ln);if(!os)return;const Fs=os.get(Dn);Fs&&(Fs.delete(Ai),0===Fs.size&&os.delete(Dn),0===os.size&&(this._events.delete(ln),document.removeEventListener(ln,this._delegateEventHandler,gt)))}}const Se={enterDuration:225,exitDuration:150},Ne=(0,O.BQ)({passive:!0,capture:!0}),Je=["mousedown","touchstart"],Qe=["mouseup","mouseleave","touchend","touchcancel"];class rt{static#e=this._eventManager=new Ge;constructor(ln,Dn,Ai,os){this._target=ln,this._ngZone=Dn,this._platform=os,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,os.isBrowser&&(this._containerElement=(0,D.i8)(Ai))}fadeInRipple(ln,Dn,Ai={}){const os=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Fs={...Se,...Ai.animation};Ai.centered&&(ln=os.left+os.width/2,Dn=os.top+os.height/2);const sn=Ai.radius||function ft(En,ln,Dn){const Ai=Math.max(Math.abs(En-Dn.left),Math.abs(En-Dn.right)),os=Math.max(Math.abs(ln-Dn.top),Math.abs(ln-Dn.bottom));return Math.sqrt(Ai*Ai+os*os)}(ln,Dn,os),oi=ln-os.left,pt=Dn-os.top,cn=Fs.enterDuration,Tn=document.createElement("div");Tn.classList.add("mat-ripple-element"),Tn.style.left=oi-sn+"px",Tn.style.top=pt-sn+"px",Tn.style.height=2*sn+"px",Tn.style.width=2*sn+"px",null!=Ai.color&&(Tn.style.backgroundColor=Ai.color),Tn.style.transitionDuration=`${cn}ms`,this._containerElement.appendChild(Tn);const vi=window.getComputedStyle(Tn),$i=vi.transitionDuration,Nn="none"===vi.transitionProperty||"0s"===$i||"0s, 0s"===$i||0===os.width&&0===os.height,Hn=new ht(this,Tn,Ai,Nn);Tn.style.transform="scale3d(1, 1, 1)",Hn.state=Vt.FADING_IN,Ai.persistent||(this._mostRecentTransientRipple=Hn);let Qn=null;return!Nn&&(cn||Fs.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ri=()=>{Qn&&(Qn.fallbackTimer=null),clearTimeout(Fi),this._finishRippleTransition(Hn)},li=()=>this._destroyRipple(Hn),Fi=setTimeout(li,cn+100);Tn.addEventListener("transitionend",ri),Tn.addEventListener("transitioncancel",li),Qn={onTransitionEnd:ri,onTransitionCancel:li,fallbackTimer:Fi}}),this._activeRipples.set(Hn,Qn),(Nn||!cn)&&this._finishRippleTransition(Hn),Hn}fadeOutRipple(ln){if(ln.state===Vt.FADING_OUT||ln.state===Vt.HIDDEN)return;const Dn=ln.element,Ai={...Se,...ln.config.animation};Dn.style.transitionDuration=`${Ai.exitDuration}ms`,Dn.style.opacity="0",ln.state=Vt.FADING_OUT,(ln._animationForciblyDisabledThroughCss||!Ai.exitDuration)&&this._finishRippleTransition(ln)}fadeOutAll(){this._getActiveRipples().forEach(ln=>ln.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(ln=>{ln.config.persistent||ln.fadeOut()})}setupTriggerEvents(ln){const Dn=(0,D.i8)(ln);!this._platform.isBrowser||!Dn||Dn===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Dn,Je.forEach(Ai=>{rt._eventManager.addHandler(this._ngZone,Ai,Dn,this)}))}handleEvent(ln){"mousedown"===ln.type?this._onMousedown(ln):"touchstart"===ln.type?this._onTouchStart(ln):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Qe.forEach(Dn=>{this._triggerElement.addEventListener(Dn,this,Ne)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(ln){ln.state===Vt.FADING_IN?this._startFadeOutTransition(ln):ln.state===Vt.FADING_OUT&&this._destroyRipple(ln)}_startFadeOutTransition(ln){const Dn=ln===this._mostRecentTransientRipple,{persistent:Ai}=ln.config;ln.state=Vt.VISIBLE,!Ai&&(!Dn||!this._isPointerDown)&&ln.fadeOut()}_destroyRipple(ln){const Dn=this._activeRipples.get(ln)??null;this._activeRipples.delete(ln),this._activeRipples.size||(this._containerRect=null),ln===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),ln.state=Vt.HIDDEN,null!==Dn&&(ln.element.removeEventListener("transitionend",Dn.onTransitionEnd),ln.element.removeEventListener("transitioncancel",Dn.onTransitionCancel),null!==Dn.fallbackTimer&&clearTimeout(Dn.fallbackTimer)),ln.element.remove()}_onMousedown(ln){const Dn=(0,a._G)(ln),Ai=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Dn&&!Ai&&(this._isPointerDown=!0,this.fadeInRipple(ln.clientX,ln.clientY,this._target.rippleConfig))}_onTouchStart(ln){if(!this._target.rippleDisabled&&!(0,a.w6)(ln)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const Dn=ln.changedTouches;if(Dn)for(let Ai=0;Ai<Dn.length;Ai++)this.fadeInRipple(Dn[Ai].clientX,Dn[Ai].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(ln=>{!ln.config.persistent&&(ln.state===Vt.VISIBLE||ln.config.terminateOnPointerUp&&ln.state===Vt.FADING_IN)&&ln.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const ln=this._triggerElement;ln&&(Je.forEach(Dn=>rt._eventManager.removeHandler(Dn,ln,this)),this._pointerUpEventsRegistered&&(Qe.forEach(Dn=>ln.removeEventListener(Dn,this,Ne)),this._pointerUpEventsRegistered=!1))}}const Xt=new n.nKC("mat-ripple-global-options");let It=(()=>{class En{get disabled(){return this._disabled}set disabled(Dn){Dn&&this.fadeOutAllNonPersistent(),this._disabled=Dn,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Dn){this._trigger=Dn,this._setupTriggerEventsIfEnabled()}constructor(Dn,Ai,os,Fs,sn){this._elementRef=Dn,this._animationMode=sn,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Fs||{},this._rippleRenderer=new rt(this,Ai,Dn,os)}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(Dn,Ai=0,os){return"number"==typeof Dn?this._rippleRenderer.fadeInRipple(Dn,Ai,{...this.rippleConfig,...os}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Dn})}static#e=this.\u0275fac=function(Ai){return new(Ai||En)(n.rXU(n.aKT),n.rXU(n.SKi),n.rXU(O.OD),n.rXU(Xt,8),n.rXU(n.bc$,8))};static#t=this.\u0275dir=n.FsC({type:En,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Ai,os){2&Ai&&n.AVh("mat-ripple-unbounded",os.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return En})(),In=(()=>{class En{static#e=this.\u0275fac=function(Ai){return new(Ai||En)};static#t=this.\u0275mod=n.$C({type:En});static#n=this.\u0275inj=n.G2t({imports:[x,x]})}return En})();const Yt={capture:!0},Mn=["focus","mousedown","mouseenter","touchstart"],ci="mat-ripple-loader-uninitialized",Ue="mat-ripple-loader-class-name",Un="mat-ripple-loader-centered",_n="mat-ripple-loader-disabled";let Xn=(()=>{class En{constructor(){this._document=(0,n.WQX)(T.qQ,{optional:!0}),this._animationMode=(0,n.WQX)(n.bc$,{optional:!0}),this._globalRippleOptions=(0,n.WQX)(Xt,{optional:!0}),this._platform=(0,n.WQX)(O.OD),this._ngZone=(0,n.WQX)(n.SKi),this._hosts=new Map,this._onInteraction=Dn=>{const Ai=(0,O.Fb)(Dn);if(Ai instanceof HTMLElement){const os=Ai.closest(`[${ci}="${this._globalRippleOptions?.namespace??""}"]`);os&&this._createRipple(os)}},this._ngZone.runOutsideAngular(()=>{for(const Dn of Mn)this._document?.addEventListener(Dn,this._onInteraction,Yt)})}ngOnDestroy(){const Dn=this._hosts.keys();for(const Ai of Dn)this.destroyRipple(Ai);for(const Ai of Mn)this._document?.removeEventListener(Ai,this._onInteraction,Yt)}configureRipple(Dn,Ai){Dn.setAttribute(ci,this._globalRippleOptions?.namespace??""),(Ai.className||!Dn.hasAttribute(Ue))&&Dn.setAttribute(Ue,Ai.className||""),Ai.centered&&Dn.setAttribute(Un,""),Ai.disabled&&Dn.setAttribute(_n,"")}getRipple(Dn){return this._hosts.get(Dn)||this._createRipple(Dn)}setDisabled(Dn,Ai){const os=this._hosts.get(Dn);os?os.disabled=Ai:Ai?Dn.setAttribute(_n,""):Dn.removeAttribute(_n)}_createRipple(Dn){if(!this._document)return;const Ai=this._hosts.get(Dn);if(Ai)return Ai;Dn.querySelector(".mat-ripple")?.remove();const os=this._document.createElement("span");os.classList.add("mat-ripple",Dn.getAttribute(Ue)),Dn.append(os);const Fs=new It(new n.aKT(os),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Fs._isInitialized=!0,Fs.trigger=Dn,Fs.centered=Dn.hasAttribute(Un),Fs.disabled=Dn.hasAttribute(_n),this.attachRipple(Dn,Fs),Fs}attachRipple(Dn,Ai){Dn.removeAttribute(ci),this._hosts.set(Dn,Ai)}destroyRipple(Dn){const Ai=this._hosts.get(Dn);Ai&&(Ai.ngOnDestroy(),this._hosts.delete(Dn))}static#e=this.\u0275fac=function(Ai){return new(Ai||En)};static#t=this.\u0275prov=n.jDH({token:En,factory:En.\u0275fac,providedIn:"root"})}return En})(),Ii=(()=>{class En{static#e=this.\u0275fac=function(Ai){return new(Ai||En)};static#t=this.\u0275cmp=n.VBU({type:En,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(Ai,os){2&Ai&&n.AVh("mdc-form-field--align-end","before"===os.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[n.aNF],attrs:M,ngContentSelectors:q,decls:1,vars:0,template:function(Ai,os){1&Ai&&(n.NAR(),n.SdG(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}return En})()},99213:(at,N,s)=>{"use strict";s.d(N,{An:()=>Me,m_:()=>me,tp:()=>j});var n=s(93953),a=s(86600),g=s(60177),m=s(7673),T=s(18810),O=s(27468),D=s(18359),E=s(88141),y=s(96354),I=s(99437),b=s(70980),L=s(97647),o=s(96697),C=s(21626),w=s(345);const M=["*"];let q;function F(be){return function z(){if(void 0===q&&(q=null,typeof window<"u")){const be=window;void 0!==be.trustedTypes&&(q=be.trustedTypes.createPolicy("angular#components",{createHTML:Le=>Le}))}return q}()?.createHTML(be)||be}function U(be){return Error(`Unable to find icon with the name "${be}"`)}function Y(be){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${be}".`)}function x(be){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${be}".`)}class B{constructor(Le,Ae,Oe){this.url=Le,this.svgText=Ae,this.options=Oe}}let j=(()=>{class be{constructor(Ae,Oe,Xe,Pe){this._httpClient=Ae,this._sanitizer=Oe,this._errorHandler=Pe,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=Xe}addSvgIcon(Ae,Oe,Xe){return this.addSvgIconInNamespace("",Ae,Oe,Xe)}addSvgIconLiteral(Ae,Oe,Xe){return this.addSvgIconLiteralInNamespace("",Ae,Oe,Xe)}addSvgIconInNamespace(Ae,Oe,Xe,Pe){return this._addSvgIconConfig(Ae,Oe,new B(Xe,null,Pe))}addSvgIconResolver(Ae){return this._resolvers.push(Ae),this}addSvgIconLiteralInNamespace(Ae,Oe,Xe,Pe){const $e=this._sanitizer.sanitize(n.WPN.HTML,Xe);if(!$e)throw x(Xe);const ze=F($e);return this._addSvgIconConfig(Ae,Oe,new B("",ze,Pe))}addSvgIconSet(Ae,Oe){return this.addSvgIconSetInNamespace("",Ae,Oe)}addSvgIconSetLiteral(Ae,Oe){return this.addSvgIconSetLiteralInNamespace("",Ae,Oe)}addSvgIconSetInNamespace(Ae,Oe,Xe){return this._addSvgIconSetConfig(Ae,new B(Oe,null,Xe))}addSvgIconSetLiteralInNamespace(Ae,Oe,Xe){const Pe=this._sanitizer.sanitize(n.WPN.HTML,Oe);if(!Pe)throw x(Oe);const $e=F(Pe);return this._addSvgIconSetConfig(Ae,new B("",$e,Xe))}registerFontClassAlias(Ae,Oe=Ae){return this._fontCssClassesByAlias.set(Ae,Oe),this}classNameForFontAlias(Ae){return this._fontCssClassesByAlias.get(Ae)||Ae}setDefaultFontSetClass(...Ae){return this._defaultFontSetClass=Ae,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ae){const Oe=this._sanitizer.sanitize(n.WPN.RESOURCE_URL,Ae);if(!Oe)throw Y(Ae);const Xe=this._cachedIconsByUrl.get(Oe);return Xe?(0,m.of)(ie(Xe)):this._loadSvgIconFromConfig(new B(Ae,null)).pipe((0,E.M)(Pe=>this._cachedIconsByUrl.set(Oe,Pe)),(0,y.T)(Pe=>ie(Pe)))}getNamedSvgIcon(Ae,Oe=""){const Xe=ne(Oe,Ae);let Pe=this._svgIconConfigs.get(Xe);if(Pe)return this._getSvgFromConfig(Pe);if(Pe=this._getIconConfigFromResolvers(Oe,Ae),Pe)return this._svgIconConfigs.set(Xe,Pe),this._getSvgFromConfig(Pe);const $e=this._iconSetConfigs.get(Oe);return $e?this._getSvgFromIconSetConfigs(Ae,$e):(0,T.$)(U(Xe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ae){return Ae.svgText?(0,m.of)(ie(this._svgElementFromConfig(Ae))):this._loadSvgIconFromConfig(Ae).pipe((0,y.T)(Oe=>ie(Oe)))}_getSvgFromIconSetConfigs(Ae,Oe){const Xe=this._extractIconWithNameFromAnySet(Ae,Oe);if(Xe)return(0,m.of)(Xe);const Pe=Oe.filter($e=>!$e.svgText).map($e=>this._loadSvgIconSetFromConfig($e).pipe((0,I.W)(ze=>{const Ye=`Loading icon set URL: ${this._sanitizer.sanitize(n.WPN.RESOURCE_URL,$e.url)} failed: ${ze.message}`;return this._errorHandler.handleError(new Error(Ye)),(0,m.of)(null)})));return(0,O.p)(Pe).pipe((0,y.T)(()=>{const $e=this._extractIconWithNameFromAnySet(Ae,Oe);if(!$e)throw U(Ae);return $e}))}_extractIconWithNameFromAnySet(Ae,Oe){for(let Xe=Oe.length-1;Xe>=0;Xe--){const Pe=Oe[Xe];if(Pe.svgText&&Pe.svgText.toString().indexOf(Ae)>-1){const $e=this._svgElementFromConfig(Pe),ze=this._extractSvgIconFromSet($e,Ae,Pe.options);if(ze)return ze}}return null}_loadSvgIconFromConfig(Ae){return this._fetchIcon(Ae).pipe((0,E.M)(Oe=>Ae.svgText=Oe),(0,y.T)(()=>this._svgElementFromConfig(Ae)))}_loadSvgIconSetFromConfig(Ae){return Ae.svgText?(0,m.of)(null):this._fetchIcon(Ae).pipe((0,E.M)(Oe=>Ae.svgText=Oe))}_extractSvgIconFromSet(Ae,Oe,Xe){const Pe=Ae.querySelector(`[id="${Oe}"]`);if(!Pe)return null;const $e=Pe.cloneNode(!0);if($e.removeAttribute("id"),"svg"===$e.nodeName.toLowerCase())return this._setSvgAttributes($e,Xe);if("symbol"===$e.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement($e),Xe);const ze=this._svgElementFromString(F("<svg></svg>"));return ze.appendChild($e),this._setSvgAttributes(ze,Xe)}_svgElementFromString(Ae){const Oe=this._document.createElement("DIV");Oe.innerHTML=Ae;const Xe=Oe.querySelector("svg");if(!Xe)throw Error("<svg> tag not found");return Xe}_toSvgElement(Ae){const Oe=this._svgElementFromString(F("<svg></svg>")),Xe=Ae.attributes;for(let Pe=0;Pe<Xe.length;Pe++){const{name:$e,value:ze}=Xe[Pe];"id"!==$e&&Oe.setAttribute($e,ze)}for(let Pe=0;Pe<Ae.childNodes.length;Pe++)Ae.childNodes[Pe].nodeType===this._document.ELEMENT_NODE&&Oe.appendChild(Ae.childNodes[Pe].cloneNode(!0));return Oe}_setSvgAttributes(Ae,Oe){return Ae.setAttribute("fit",""),Ae.setAttribute("height","100%"),Ae.setAttribute("width","100%"),Ae.setAttribute("preserveAspectRatio","xMidYMid meet"),Ae.setAttribute("focusable","false"),Oe&&Oe.viewBox&&Ae.setAttribute("viewBox",Oe.viewBox),Ae}_fetchIcon(Ae){const{url:Oe,options:Xe}=Ae,Pe=Xe?.withCredentials??!1;if(!this._httpClient)throw function k(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==Oe)throw Error(`Cannot fetch icon from URL "${Oe}".`);const $e=this._sanitizer.sanitize(n.WPN.RESOURCE_URL,Oe);if(!$e)throw Y(Oe);const ze=this._inProgressUrlFetches.get($e);if(ze)return ze;const Be=this._httpClient.get($e,{responseType:"text",withCredentials:Pe}).pipe((0,y.T)(Ye=>F(Ye)),(0,b.j)(()=>this._inProgressUrlFetches.delete($e)),(0,L.u)());return this._inProgressUrlFetches.set($e,Be),Be}_addSvgIconConfig(Ae,Oe,Xe){return this._svgIconConfigs.set(ne(Ae,Oe),Xe),this}_addSvgIconSetConfig(Ae,Oe){const Xe=this._iconSetConfigs.get(Ae);return Xe?Xe.push(Oe):this._iconSetConfigs.set(Ae,[Oe]),this}_svgElementFromConfig(Ae){if(!Ae.svgElement){const Oe=this._svgElementFromString(Ae.svgText);this._setSvgAttributes(Oe,Ae.options),Ae.svgElement=Oe}return Ae.svgElement}_getIconConfigFromResolvers(Ae,Oe){for(let Xe=0;Xe<this._resolvers.length;Xe++){const Pe=this._resolvers[Xe](Oe,Ae);if(Pe)return Q(Pe)?new B(Pe.url,null,Pe.options):new B(Pe,null)}}static#e=this.\u0275fac=function(Oe){return new(Oe||be)(n.KVO(C.Qq,8),n.KVO(w.up),n.KVO(g.qQ,8),n.KVO(n.zcH))};static#t=this.\u0275prov=n.jDH({token:be,factory:be.\u0275fac,providedIn:"root"})}return be})();function ie(be){return be.cloneNode(!0)}function ne(be,Le){return be+":"+Le}function Q(be){return!(!be.url||!be.options)}const le=new n.nKC("MAT_ICON_DEFAULT_OPTIONS"),pe=new n.nKC("mat-icon-location",{providedIn:"root",factory:function te(){const be=(0,n.WQX)(g.qQ),Le=be?be.location:null;return{getPathname:()=>Le?Le.pathname+Le.search:""}}}),ae=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],K=ae.map(be=>`[${be}]`).join(", "),de=/^url\(['"]?#(.*?)['"]?\)$/;let Me=(()=>{class be{get color(){return this._color||this._defaultColor}set color(Ae){this._color=Ae}get svgIcon(){return this._svgIcon}set svgIcon(Ae){Ae!==this._svgIcon&&(Ae?this._updateSvgIcon(Ae):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ae)}get fontSet(){return this._fontSet}set fontSet(Ae){const Oe=this._cleanupFontValue(Ae);Oe!==this._fontSet&&(this._fontSet=Oe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ae){const Oe=this._cleanupFontValue(Ae);Oe!==this._fontIcon&&(this._fontIcon=Oe,this._updateFontIconClasses())}constructor(Ae,Oe,Xe,Pe,$e,ze){this._elementRef=Ae,this._iconRegistry=Oe,this._location=Pe,this._errorHandler=$e,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=D.yU.EMPTY,ze&&(ze.color&&(this.color=this._defaultColor=ze.color),ze.fontSet&&(this.fontSet=ze.fontSet)),Xe||Ae.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ae){if(!Ae)return["",""];const Oe=Ae.split(":");switch(Oe.length){case 1:return["",Oe[0]];case 2:return Oe;default:throw Error(`Invalid icon name: "${Ae}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ae=this._elementsWithExternalReferences;if(Ae&&Ae.size){const Oe=this._location.getPathname();Oe!==this._previousPath&&(this._previousPath=Oe,this._prependPathToReferences(Oe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ae){this._clearSvgElement();const Oe=this._location.getPathname();this._previousPath=Oe,this._cacheChildrenWithExternalReferences(Ae),this._prependPathToReferences(Oe),this._elementRef.nativeElement.appendChild(Ae)}_clearSvgElement(){const Ae=this._elementRef.nativeElement;let Oe=Ae.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Oe--;){const Xe=Ae.childNodes[Oe];(1!==Xe.nodeType||"svg"===Xe.nodeName.toLowerCase())&&Xe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ae=this._elementRef.nativeElement,Oe=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Xe=>Xe.length>0);this._previousFontSetClass.forEach(Xe=>Ae.classList.remove(Xe)),Oe.forEach(Xe=>Ae.classList.add(Xe)),this._previousFontSetClass=Oe,this.fontIcon!==this._previousFontIconClass&&!Oe.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ae.classList.remove(this._previousFontIconClass),this.fontIcon&&Ae.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ae){return"string"==typeof Ae?Ae.trim().split(" ")[0]:Ae}_prependPathToReferences(Ae){const Oe=this._elementsWithExternalReferences;Oe&&Oe.forEach((Xe,Pe)=>{Xe.forEach($e=>{Pe.setAttribute($e.name,`url('${Ae}#${$e.value}')`)})})}_cacheChildrenWithExternalReferences(Ae){const Oe=Ae.querySelectorAll(K),Xe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Pe=0;Pe<Oe.length;Pe++)ae.forEach($e=>{const ze=Oe[Pe],Be=ze.getAttribute($e),Ye=Be?Be.match(de):null;if(Ye){let Ct=Xe.get(ze);Ct||(Ct=[],Xe.set(ze,Ct)),Ct.push({name:$e,value:Ye[1]})}})}_updateSvgIcon(Ae){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ae){const[Oe,Xe]=this._splitIconName(Ae);Oe&&(this._svgNamespace=Oe),Xe&&(this._svgName=Xe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Xe,Oe).pipe((0,o.s)(1)).subscribe(Pe=>this._setSvgElement(Pe),Pe=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Oe}:${Xe}! ${Pe.message}`))})}}static#e=this.\u0275fac=function(Oe){return new(Oe||be)(n.rXU(n.aKT),n.rXU(j),n.kS0("aria-hidden"),n.rXU(pe),n.rXU(n.zcH),n.rXU(le,8))};static#t=this.\u0275cmp=n.VBU({type:be,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(Oe,Xe){2&Oe&&(n.BMQ("data-mat-icon-type",Xe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Xe._svgName||Xe.fontIcon)("data-mat-icon-namespace",Xe._svgNamespace||Xe.fontSet)("fontIcon",Xe._usingFontIcon()?Xe.fontIcon:null),n.HbH(Xe.color?"mat-"+Xe.color:""),n.AVh("mat-icon-inline",Xe.inline)("mat-icon-no-color","primary"!==Xe.color&&"accent"!==Xe.color&&"warn"!==Xe.color))},inputs:{color:"color",inline:[2,"inline","inline",n.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[n.GFd,n.aNF],ngContentSelectors:M,decls:1,vars:0,template:function(Oe,Xe){1&Oe&&(n.NAR(),n.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return be})(),me=(()=>{class be{static#e=this.\u0275fac=function(Oe){return new(Oe||be)};static#t=this.\u0275mod=n.$C({type:be});static#n=this.\u0275inj=n.G2t({imports:[a.yE,a.yE]})}return be})()},90882:(at,N,s)=>{"use strict";s.d(N,{El:()=>Ae,LG:()=>Oe,US:()=>Xe,vg:()=>Pe});var n=s(65478),a=s(93953),g=s(86600),m=s(5640),T=s(28203),O=s(14085),D=s(67336),E=s(36860),y=s(60177),I=s(21413),b=s(33726),L=s(57786),o=s(5964),C=s(96354),w=s(73703),M=s(56977),q=s(23294),z=s(96697),F=s(99172),U=s(70152),k=s(49969);const Y=["*"],x=["content"],B=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],j=["mat-drawer","mat-drawer-content","*"];function $($e,ze){if(1&$e){const Be=a.RV6();a.j41(0,"div",1),a.bIt("click",function(){a.eBV(Be);const Ct=a.XpG();return a.Njj(Ct._onBackdropClicked())}),a.k0s()}if(2&$e){const Be=a.XpG();a.AVh("mat-drawer-shown",Be._isShowingBackdrop())}}function H($e,ze){1&$e&&(a.j41(0,"mat-drawer-content"),a.SdG(1,2),a.k0s())}const ie=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ne=["mat-sidenav","mat-sidenav-content","*"];function Q($e,ze){if(1&$e){const Be=a.RV6();a.j41(0,"div",1),a.bIt("click",function(){a.eBV(Be);const Ct=a.XpG();return a.Njj(Ct._onBackdropClicked())}),a.k0s()}if(2&$e){const Be=a.XpG();a.AVh("mat-drawer-shown",Be._isShowingBackdrop())}}function le($e,ze){1&$e&&(a.j41(0,"mat-sidenav-content"),a.SdG(1,2),a.k0s())}const te={transformDrawer:(0,k.hZ)("transform",[(0,k.wk)("open, open-instant",(0,k.iF)({transform:"none",visibility:"visible"})),(0,k.wk)("void",(0,k.iF)({"box-shadow":"none",visibility:"hidden"})),(0,k.kY)("void => open-instant",(0,k.i0)("0ms")),(0,k.kY)("void <=> open, open-instant => void",(0,k.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},K=new a.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Me(){return!1}}),de=new a.nKC("MAT_DRAWER_CONTAINER");let me=(()=>{class $e extends n.uv{constructor(Be,Ye,Ct,Lt,Vt){super(Ct,Lt,Vt),this._changeDetectorRef=Be,this._container=Ye}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(Ye){return new(Ye||$e)(a.rXU(a.gRc),a.rXU((0,a.Rfq)(()=>Le)),a.rXU(a.aKT),a.rXU(n.R),a.rXU(a.SKi))};static#t=this.\u0275cmp=a.VBU({type:$e,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(Ye,Ct){2&Ye&&a.xc7("margin-left",Ct._container._contentMargins.left,"px")("margin-right",Ct._container._contentMargins.right,"px")},standalone:!0,features:[a.Jv_([{provide:n.uv,useExisting:$e}]),a.Vt3,a.aNF],ngContentSelectors:Y,decls:1,vars:0,template:function(Ye,Ct){1&Ye&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0})}return $e})(),be=(()=>{class $e{get position(){return this._position}set position(Be){(Be="end"===Be?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(Be),this._position=Be,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(Be){this._mode=Be,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(Be){this._disableClose=(0,O.he)(Be)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(Be){("true"===Be||"false"===Be||null==Be)&&(Be=(0,O.he)(Be)),this._autoFocus=Be}get opened(){return this._opened}set opened(Be){this.toggle((0,O.he)(Be))}constructor(Be,Ye,Ct,Lt,Vt,ht,gt,Ge){this._elementRef=Be,this._focusTrapFactory=Ye,this._focusMonitor=Ct,this._platform=Lt,this._ngZone=Vt,this._interactivityChecker=ht,this._doc=gt,this._container=Ge,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new I.B,this._animationEnd=new I.B,this._animationState="void",this.openedChange=new a.bkB(!0),this._openedStream=this.openedChange.pipe((0,o.p)(Se=>Se),(0,C.T)(()=>{})),this.openedStart=this._animationStarted.pipe((0,o.p)(Se=>Se.fromState!==Se.toState&&0===Se.toState.indexOf("open")),(0,w.u)(void 0)),this._closedStream=this.openedChange.pipe((0,o.p)(Se=>!Se),(0,C.T)(()=>{})),this.closedStart=this._animationStarted.pipe((0,o.p)(Se=>Se.fromState!==Se.toState&&"void"===Se.toState),(0,w.u)(void 0)),this._destroyed=new I.B,this.onPositionChanged=new a.bkB,this._modeChanged=new I.B,this._injector=(0,a.WQX)(a.zZn),this._changeDetectorRef=(0,a.WQX)(a.gRc),this.openedChange.pipe((0,M.Q)(this._destroyed)).subscribe(Se=>{Se?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,b.R)(this._elementRef.nativeElement,"keydown").pipe((0,o.p)(Se=>Se.keyCode===D._f&&!this.disableClose&&!(0,D.rp)(Se)),(0,M.Q)(this._destroyed)).subscribe(Se=>this._ngZone.run(()=>{this.close(),Se.stopPropagation(),Se.preventDefault()}))}),this._animationEnd.pipe((0,q.F)((Se,ke)=>Se.fromState===ke.fromState&&Se.toState===ke.toState)).subscribe(Se=>{const{fromState:ke,toState:Ne}=Se;(0===Ne.indexOf("open")&&"void"===ke||"void"===Ne&&0===ke.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(Be,Ye){this._interactivityChecker.isFocusable(Be)||(Be.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ct=()=>{Be.removeEventListener("blur",Ct),Be.removeEventListener("mousedown",Ct),Be.removeAttribute("tabindex")};Be.addEventListener("blur",Ct),Be.addEventListener("mousedown",Ct)})),Be.focus(Ye)}_focusByCssSelector(Be,Ye){let Ct=this._elementRef.nativeElement.querySelector(Be);Ct&&this._forceFocus(Ct,Ye)}_takeFocus(){if(!this._focusTrap)return;const Be=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":(0,a.mal)(()=>{!this._focusTrap.focusInitialElement()&&"function"==typeof Be.focus&&Be.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(Be){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,Be):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const Be=this._doc.activeElement;return!!Be&&this._elementRef.nativeElement.contains(Be)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(Be){return this.toggle(!0,Be)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(Be=!this.opened,Ye){Be&&Ye&&(this._openedVia=Ye);const Ct=this._setOpen(Be,!Be&&this._isFocusWithinDrawer(),this._openedVia||"program");return Be||(this._openedVia=null),Ct}_setOpen(Be,Ye,Ct){return this._opened=Be,Be?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Ye&&this._restoreFocus(Ct)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(Lt=>{this.openedChange.pipe((0,z.s)(1)).subscribe(Vt=>Lt(Vt?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(Be){if(!this._platform.isBrowser)return;const Ye=this._elementRef.nativeElement,Ct=Ye.parentNode;"end"===Be?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Ct.insertBefore(this._anchor,Ye)),Ct.appendChild(Ye)):this._anchor&&this._anchor.parentNode.insertBefore(Ye,this._anchor)}static#e=this.\u0275fac=function(Ye){return new(Ye||$e)(a.rXU(a.aKT),a.rXU(m.GX),a.rXU(m.FN),a.rXU(E.OD),a.rXU(a.SKi),a.rXU(m.Z7),a.rXU(y.qQ,8),a.rXU(de,8))};static#t=this.\u0275cmp=a.VBU({type:$e,selectors:[["mat-drawer"]],viewQuery:function(Ye,Ct){if(1&Ye&&a.GBs(x,5),2&Ye){let Lt;a.mGM(Lt=a.lsd())&&(Ct._content=Lt.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(Ye,Ct){1&Ye&&a.Kam("@transform.start",function(Vt){return Ct._animationStarted.next(Vt)})("@transform.done",function(Vt){return Ct._animationEnd.next(Vt)}),2&Ye&&(a.zvX("@transform",Ct._animationState),a.BMQ("align",null),a.AVh("mat-drawer-end","end"===Ct.position)("mat-drawer-over","over"===Ct.mode)("mat-drawer-push","push"===Ct.mode)("mat-drawer-side","side"===Ct.mode)("mat-drawer-opened",Ct.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[a.aNF],ngContentSelectors:Y,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(Ye,Ct){1&Ye&&(a.NAR(),a.j41(0,"div",1,0),a.SdG(2),a.k0s())},dependencies:[n.uv],encapsulation:2,data:{animation:[te.transformDrawer]},changeDetection:0})}return $e})(),Le=(()=>{class $e{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(Be){this._autosize=(0,O.he)(Be)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(Be){this._backdropOverride=null==Be?null:(0,O.he)(Be)}get scrollable(){return this._userContent||this._content}constructor(Be,Ye,Ct,Lt,Vt,ht=!1,gt){this._dir=Be,this._element=Ye,this._ngZone=Ct,this._changeDetectorRef=Lt,this._animationMode=gt,this._drawers=new a.rOR,this.backdropClick=new a.bkB,this._destroyed=new I.B,this._doCheckSubject=new I.B,this._contentMargins={left:null,right:null},this._contentMarginChanges=new I.B,this._injector=(0,a.WQX)(a.zZn),Be&&Be.change.pipe((0,M.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Vt.change().pipe((0,M.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=ht}ngAfterContentInit(){this._allDrawers.changes.pipe((0,F.Z)(this._allDrawers),(0,M.Q)(this._destroyed)).subscribe(Be=>{this._drawers.reset(Be.filter(Ye=>!Ye._container||Ye._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,F.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(Be=>{this._watchDrawerToggle(Be),this._watchDrawerPosition(Be),this._watchDrawerMode(Be)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,U.B)(10),(0,M.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(Be=>Be.open())}close(){this._drawers.forEach(Be=>Be.close())}updateContentMargins(){let Be=0,Ye=0;if(this._left&&this._left.opened)if("side"==this._left.mode)Be+=this._left._getWidth();else if("push"==this._left.mode){const Ct=this._left._getWidth();Be+=Ct,Ye-=Ct}if(this._right&&this._right.opened)if("side"==this._right.mode)Ye+=this._right._getWidth();else if("push"==this._right.mode){const Ct=this._right._getWidth();Ye+=Ct,Be-=Ct}Be=Be||null,Ye=Ye||null,(Be!==this._contentMargins.left||Ye!==this._contentMargins.right)&&(this._contentMargins={left:Be,right:Ye},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(Be){Be._animationStarted.pipe((0,o.p)(Ye=>Ye.fromState!==Ye.toState),(0,M.Q)(this._drawers.changes)).subscribe(Ye=>{"open-instant"!==Ye.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==Be.mode&&Be.openedChange.pipe((0,M.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(Be.opened))}_watchDrawerPosition(Be){Be&&Be.onPositionChanged.pipe((0,M.Q)(this._drawers.changes)).subscribe(()=>{(0,a.mal)(()=>{this._validateDrawers()},{injector:this._injector,phase:a.wjH.Read})})}_watchDrawerMode(Be){Be&&Be._modeChanged.pipe((0,M.Q)((0,L.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(Be){const Ye=this._element.nativeElement.classList,Ct="mat-drawer-container-has-open";Be?Ye.add(Ct):Ye.remove(Ct)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(Be=>{"end"==Be.position?this._end=Be:this._start=Be}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(Be=>Be&&!Be.disableClose&&this._drawerHasBackdrop(Be)).forEach(Be=>Be._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(Be){return null!=Be&&Be.opened}_drawerHasBackdrop(Be){return null==this._backdropOverride?!!Be&&"side"!==Be.mode:this._backdropOverride}static#e=this.\u0275fac=function(Ye){return new(Ye||$e)(a.rXU(T.dS,8),a.rXU(a.aKT),a.rXU(a.SKi),a.rXU(a.gRc),a.rXU(n.Xj),a.rXU(K),a.rXU(a.bc$,8))};static#t=this.\u0275cmp=a.VBU({type:$e,selectors:[["mat-drawer-container"]],contentQueries:function(Ye,Ct,Lt){if(1&Ye&&(a.wni(Lt,me,5),a.wni(Lt,be,5)),2&Ye){let Vt;a.mGM(Vt=a.lsd())&&(Ct._content=Vt.first),a.mGM(Vt=a.lsd())&&(Ct._allDrawers=Vt)}},viewQuery:function(Ye,Ct){if(1&Ye&&a.GBs(me,5),2&Ye){let Lt;a.mGM(Lt=a.lsd())&&(Ct._userContent=Lt.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(Ye,Ct){2&Ye&&a.AVh("mat-drawer-container-explicit-backdrop",Ct._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[a.Jv_([{provide:de,useExisting:$e}]),a.aNF],ngContentSelectors:j,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Ye,Ct){1&Ye&&(a.NAR(B),a.DNE(0,$,1,2,"div",0),a.SdG(1),a.SdG(2,1),a.DNE(3,H,2,0,"mat-drawer-content")),2&Ye&&(a.vxM(Ct.hasBackdrop?0:-1),a.R7$(3),a.vxM(Ct._content?-1:3))},dependencies:[me],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return $e})(),Ae=(()=>{class $e extends me{constructor(Be,Ye,Ct,Lt,Vt){super(Be,Ye,Ct,Lt,Vt)}static#e=this.\u0275fac=function(Ye){return new(Ye||$e)(a.rXU(a.gRc),a.rXU((0,a.Rfq)(()=>Xe)),a.rXU(a.aKT),a.rXU(n.R),a.rXU(a.SKi))};static#t=this.\u0275cmp=a.VBU({type:$e,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(Ye,Ct){2&Ye&&a.xc7("margin-left",Ct._container._contentMargins.left,"px")("margin-right",Ct._container._contentMargins.right,"px")},standalone:!0,features:[a.Jv_([{provide:n.uv,useExisting:$e}]),a.Vt3,a.aNF],ngContentSelectors:Y,decls:1,vars:0,template:function(Ye,Ct){1&Ye&&(a.NAR(),a.SdG(0))},encapsulation:2,changeDetection:0})}return $e})(),Oe=(()=>{class $e extends be{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(Be){this._fixedInViewport=(0,O.he)(Be)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(Be){this._fixedTopGap=(0,O.OE)(Be)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(Be){this._fixedBottomGap=(0,O.OE)(Be)}static#e=this.\u0275fac=(()=>{let Be;return function(Ct){return(Be||(Be=a.xGo($e)))(Ct||$e)}})();static#t=this.\u0275cmp=a.VBU({type:$e,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(Ye,Ct){2&Ye&&(a.BMQ("align",null),a.xc7("top",Ct.fixedInViewport?Ct.fixedTopGap:null,"px")("bottom",Ct.fixedInViewport?Ct.fixedBottomGap:null,"px"),a.AVh("mat-drawer-end","end"===Ct.position)("mat-drawer-over","over"===Ct.mode)("mat-drawer-push","push"===Ct.mode)("mat-drawer-side","side"===Ct.mode)("mat-drawer-opened",Ct.opened)("mat-sidenav-fixed",Ct.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],standalone:!0,features:[a.Vt3,a.aNF],ngContentSelectors:Y,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(Ye,Ct){1&Ye&&(a.NAR(),a.j41(0,"div",1,0),a.SdG(2),a.k0s())},dependencies:[n.uv],encapsulation:2,data:{animation:[te.transformDrawer]},changeDetection:0})}return $e})(),Xe=(()=>{class $e extends Le{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static#e=this.\u0275fac=(()=>{let Be;return function(Ct){return(Be||(Be=a.xGo($e)))(Ct||$e)}})();static#t=this.\u0275cmp=a.VBU({type:$e,selectors:[["mat-sidenav-container"]],contentQueries:function(Ye,Ct,Lt){if(1&Ye&&(a.wni(Lt,Ae,5),a.wni(Lt,Oe,5)),2&Ye){let Vt;a.mGM(Vt=a.lsd())&&(Ct._content=Vt.first),a.mGM(Vt=a.lsd())&&(Ct._allDrawers=Vt)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(Ye,Ct){2&Ye&&a.AVh("mat-drawer-container-explicit-backdrop",Ct._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[a.Jv_([{provide:de,useExisting:$e}]),a.Vt3,a.aNF],ngContentSelectors:ne,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Ye,Ct){1&Ye&&(a.NAR(ie),a.DNE(0,Q,1,2,"div",0),a.SdG(1),a.SdG(2,1),a.DNE(3,le,2,0,"mat-sidenav-content")),2&Ye&&(a.vxM(Ct.hasBackdrop?0:-1),a.R7$(3),a.vxM(Ct._content?-1:3))},dependencies:[Ae],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return $e})(),Pe=(()=>{class $e{static#e=this.\u0275fac=function(Ye){return new(Ye||$e)};static#t=this.\u0275mod=a.$C({type:$e});static#n=this.\u0275inj=a.G2t({imports:[g.yE,n.Gj,n.Gj,g.yE]})}return $e})()},43881:(at,N,s)=>{"use strict";s.d(N,{Ez:()=>le,IV:()=>B,OU:()=>ne});var n=s(28203),a=s(36860),g=s(93953),m=s(86600),T=s(89417),O=s(21413);const D=["knob"],E=["valueIndicatorContainer"];function y(pe,te){if(1&pe&&(g.j41(0,"div",2,1)(2,"div",5)(3,"span",6),g.EFF(4),g.k0s()()()),2&pe){const ae=g.XpG();g.R7$(4),g.JRh(ae.valueIndicatorText)}}const I=["trackActive"],b=["*"];function L(pe,te){if(1&pe&&g.nrm(0,"div"),2&pe){const ae=te.$implicit,K=te.$index,de=g.XpG(3);g.HbH(0===ae?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),g.xc7("transform",de._calcTickMarkTransform(K))}}function o(pe,te){if(1&pe&&g.Z7z(0,L,1,4,"div",8,g.Vm6),2&pe){const ae=g.XpG(2);g.Dyx(ae._tickMarks)}}function C(pe,te){if(1&pe&&(g.j41(0,"div",6,1),g.DNE(2,o,2,0),g.k0s()),2&pe){const ae=g.XpG();g.R7$(2),g.vxM(ae._cachedWidth?2:-1)}}function w(pe,te){if(1&pe&&g.nrm(0,"mat-slider-visual-thumb",7),2&pe){const ae=g.XpG();g.Y8G("discrete",ae.discrete)("thumbPosition",1)("valueIndicatorText",ae.startValueIndicatorText)}}var M=function(pe){return pe[pe.START=1]="START",pe[pe.END=2]="END",pe}(M||{}),q=function(pe){return pe[pe.ACTIVE=0]="ACTIVE",pe[pe.INACTIVE=1]="INACTIVE",pe}(q||{});const z=new g.nKC("_MatSlider"),F=new g.nKC("_MatSliderThumb"),U=new g.nKC("_MatSliderRangeThumb"),k=new g.nKC("_MatSliderVisualThumb");let x=(()=>{class pe{constructor(ae,K,de,Me){this._cdr=ae,this._ngZone=K,this._slider=Me,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._platform=(0,g.WQX)(a.OD),this._onPointerMove=me=>{if(this._sliderInput._isFocused)return;const be=this._hostElement.getBoundingClientRect(),Le=this._slider._isCursorOnSliderThumb(me,be);this._isHovered=Le,Le?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=me=>{0===me.button&&(this._isActive=!0,this._showActiveRipple())},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef),this._platform.SAFARI&&this._showHoverRipple()},this._hostElement=de.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const ae=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{ae.addEventListener("pointermove",this._onPointerMove),ae.addEventListener("pointerdown",this._onDragStart),ae.addEventListener("pointerup",this._onDragEnd),ae.addEventListener("pointerleave",this._onMouseLeave),ae.addEventListener("focus",this._onFocus),ae.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const ae=this._sliderInputEl;ae&&(ae.removeEventListener("pointermove",this._onPointerMove),ae.removeEventListener("pointerdown",this._onDragStart),ae.removeEventListener("pointerup",this._onDragEnd),ae.removeEventListener("pointerleave",this._onMouseLeave),ae.removeEventListener("focus",this._onFocus),ae.removeEventListener("blur",this._onBlur))}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(ae){return ae?.state===m.Ex.FADING_IN||ae?.state===m.Ex.VISIBLE}_showRipple(ae,K){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(this.thumbPosition===M.START?M.END:M.START)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||K))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:ae,centered:!0,persistent:!0})}_hideRipple(ae){if(ae?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const K=this._getSibling();K._isShowingAnyRipple()||(this._hideValueIndicator(),K._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(this.thumbPosition===M.START?M.END:M.START)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}static#e=this.\u0275fac=function(K){return new(K||pe)(g.rXU(g.gRc),g.rXU(g.SKi),g.rXU(g.aKT),g.rXU(z))};static#t=this.\u0275cmp=g.VBU({type:pe,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(K,de){if(1&K&&(g.GBs(m.r6,5),g.GBs(D,5),g.GBs(E,5)),2&K){let Me;g.mGM(Me=g.lsd())&&(de._ripple=Me.first),g.mGM(Me=g.lsd())&&(de._knob=Me.first),g.mGM(Me=g.lsd())&&(de._valueIndicatorContainer=Me.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},standalone:!0,features:[g.Jv_([{provide:k,useExisting:pe}]),g.aNF],decls:4,vars:2,consts:[["knob",""],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator-container"],[1,"mdc-slider__thumb-knob"],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(K,de){1&K&&(g.DNE(0,y,5,1,"div",2),g.nrm(1,"div",3,0)(3,"div",4)),2&K&&(g.vxM(de.discrete?0:-1),g.R7$(3),g.Y8G("matRippleDisabled",!0))},dependencies:[m.r6],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0})}return pe})(),B=(()=>{class pe{get disabled(){return this._disabled}set disabled(ae){this._disabled=ae;const K=this._getInput(M.END),de=this._getInput(M.START);K&&(K.disabled=this._disabled),de&&(de.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(ae){this._discrete=ae,this._updateValueIndicatorUIs()}get min(){return this._min}set min(ae){const K=isNaN(ae)?this._min:ae;this._min!==K&&this._updateMin(K)}_updateMin(ae){const K=this._min;this._min=ae,this._isRange?this._updateMinRange({old:K,new:ae}):this._updateMinNonRange(ae),this._onMinMaxOrStepChange()}_updateMinRange(ae){const K=this._getInput(M.END),de=this._getInput(M.START),Me=K.value,me=de.value;de.min=ae.new,K.min=Math.max(ae.new,de.value),de.max=Math.min(K.max,K.value),de._updateWidthInactive(),K._updateWidthInactive(),ae.new<ae.old?this._onTranslateXChangeBySideEffect(K,de):this._onTranslateXChangeBySideEffect(de,K),Me!==K.value&&this._onValueChange(K),me!==de.value&&this._onValueChange(de)}_updateMinNonRange(ae){const K=this._getInput(M.END);if(K){const de=K.value;K.min=ae,K._updateThumbUIByValue(),this._updateTrackUI(K),de!==K.value&&this._onValueChange(K)}}get max(){return this._max}set max(ae){const K=isNaN(ae)?this._max:ae;this._max!==K&&this._updateMax(K)}_updateMax(ae){const K=this._max;this._max=ae,this._isRange?this._updateMaxRange({old:K,new:ae}):this._updateMaxNonRange(ae),this._onMinMaxOrStepChange()}_updateMaxRange(ae){const K=this._getInput(M.END),de=this._getInput(M.START),Me=K.value,me=de.value;K.max=ae.new,de.max=Math.min(ae.new,K.value),K.min=de.value,K._updateWidthInactive(),de._updateWidthInactive(),ae.new>ae.old?this._onTranslateXChangeBySideEffect(de,K):this._onTranslateXChangeBySideEffect(K,de),Me!==K.value&&this._onValueChange(K),me!==de.value&&this._onValueChange(de)}_updateMaxNonRange(ae){const K=this._getInput(M.END);if(K){const de=K.value;K.max=ae,K._updateThumbUIByValue(),this._updateTrackUI(K),de!==K.value&&this._onValueChange(K)}}get step(){return this._step}set step(ae){const K=isNaN(ae)?this._step:ae;this._step!==K&&this._updateStep(K)}_updateStep(ae){this._step=ae,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const ae=this._getInput(M.END),K=this._getInput(M.START),de=ae.value,Me=K.value,me=K.value;ae.min=this._min,K.max=this._max,ae.step=this._step,K.step=this._step,this._platform.SAFARI&&(ae.value=ae.value,K.value=K.value),ae.min=Math.max(this._min,K.value),K.max=Math.min(this._max,ae.value),K._updateWidthInactive(),ae._updateWidthInactive(),ae.value<me?this._onTranslateXChangeBySideEffect(K,ae):this._onTranslateXChangeBySideEffect(ae,K),de!==ae.value&&this._onValueChange(ae),Me!==K.value&&this._onValueChange(K)}_updateStepNonRange(){const ae=this._getInput(M.END);if(ae){const K=ae.value;ae.step=this._step,this._platform.SAFARI&&(ae.value=ae.value),ae._updateThumbUIByValue(),K!==ae.value&&this._onValueChange(ae)}}constructor(ae,K,de,Me,me,be){this._ngZone=ae,this._cdr=K,this._elementRef=de,this._dir=Me,this._globalRippleOptions=me,this._disabled=!1,this._discrete=!1,this.showTickMarks=!1,this._min=0,this.disableRipple=!1,this._max=100,this._step=1,this.displayWith=Le=>`${Le}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._platform=(0,g.WQX)(a.OD),this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===be,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const ae=this._getInput(M.END),K=this._getInput(M.START);this._isRange=!!ae&&!!K,this._cdr.detectChanges();const de=this._getThumb(M.END);this._rippleRadius=de._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._isRange?this._initUIRange(ae,K):this._initUINonRange(ae),this._updateTrackUI(ae),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(ae){ae.initProps(),ae.initUI(),this._updateValueIndicatorUI(ae),this._hasViewInitialized=!0,ae._updateThumbUIByValue()}_initUIRange(ae,K){ae.initProps(),ae.initUI(),K.initProps(),K.initUI(),ae._updateMinMax(),K._updateMinMax(),ae._updateStaticStyles(),K._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,ae._updateThumbUIByValue(),K._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const ae=this._getInput(M.END),K=this._getInput(M.START);ae._setIsLeftThumb(),K._setIsLeftThumb(),ae.translateX=ae._calcTranslateXByValue(),K.translateX=K._calcTranslateXByValue(),ae._updateStaticStyles(),K._updateStaticStyles(),ae._updateWidthInactive(),K._updateWidthInactive(),ae._updateThumbUIByValue(),K._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(M.END)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(M.START)._isActive||this._getThumb(M.END)._isActive}_getValue(ae=M.END){const K=this._getInput(ae);return K?K.value:this.min}_skipUpdate(){return!(!this._getInput(M.START)?._skipUIUpdate&&!this._getInput(M.END)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(ae){const K=this._trackActive.nativeElement.style;K.left=ae.left,K.right=ae.right,K.transformOrigin=ae.transformOrigin,K.transform=ae.transform}_calcTickMarkTransform(ae){return`translateX(${ae*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(ae){this._hasViewInitialized&&(this._updateThumbUI(ae),this._updateTrackUI(ae),this._updateOverlappingThumbUI(ae))}_onTranslateXChangeBySideEffect(ae,K){this._hasViewInitialized&&(ae._updateThumbUIByValue(),K._updateThumbUIByValue())}_onValueChange(ae){this._hasViewInitialized&&(this._updateValueIndicatorUI(ae),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const ae=this._getInput(M.END),K=this._getInput(M.START);ae._updateThumbUIByValue(),K._updateThumbUIByValue(),ae._updateStaticStyles(),K._updateStaticStyles(),ae._updateMinMax(),K._updateMinMax(),ae._updateWidthInactive(),K._updateWidthInactive()}else{const ae=this._getInput(M.END);ae&&ae._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const ae=this._getInput(M.START),K=this._getInput(M.END);return!(!ae||!K)&&K.translateX-ae.translateX<20}_updateOverlappingThumbClassNames(ae){const K=ae.getSibling(),de=this._getThumb(ae.thumbPosition);this._getThumb(K.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),de._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(ae){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(ae))}_updateThumbUI(ae){this._skipUpdate()||(this._getThumb(ae.thumbPosition===M.END?M.END:M.START)._hostElement.style.transform=`translateX(${ae.translateX}px)`)}_updateValueIndicatorUI(ae){if(this._skipUpdate())return;const K=this.displayWith(ae.value);if(this._hasViewInitialized?ae._valuetext.set(K):ae._hostElement.setAttribute("aria-valuetext",K),this.discrete){ae.thumbPosition===M.START?this.startValueIndicatorText=K:this.endValueIndicatorText=K;const de=this._getThumb(ae.thumbPosition);K.length<3?de._hostElement.classList.add("mdc-slider__thumb--short-value"):de._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const ae=this._getInput(M.END),K=this._getInput(M.START);ae&&this._updateValueIndicatorUI(ae),K&&this._updateValueIndicatorUI(K)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const ae=this._step&&this._step>0?this._step:1,de=(Math.floor(this.max/ae)*ae-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*de-6}_updateTrackUI(ae){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(ae):this._updateTrackUINonRange(ae))}_updateTrackUIRange(ae){const K=ae.getSibling();if(!K||!this._cachedWidth)return;const de=Math.abs(K.translateX-ae.translateX)/this._cachedWidth;this._setTrackActiveStyles(ae._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-K.translateX+"px",transformOrigin:"right",transform:`scaleX(${de})`}:{left:`${K.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${de})`})}_updateTrackUINonRange(ae){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-ae.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${ae.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const ae=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(ae):this._updateTickMarkUINonRange(ae),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(ae){const K=this._getValue();let de=Math.max(Math.round((K-this.min)/ae),0),Me=Math.max(Math.round((this.max-K)/ae),0);this._isRtl?de++:Me++,this._tickMarks=Array(de).fill(q.ACTIVE).concat(Array(Me).fill(q.INACTIVE))}_updateTickMarkUIRange(ae){const K=this._getValue(),de=this._getValue(M.START),Me=Math.max(Math.round((de-this.min)/ae),0),me=Math.max(Math.round((K-de)/ae)+1,0),be=Math.max(Math.round((this.max-K)/ae),0);this._tickMarks=Array(Me).fill(q.INACTIVE).concat(Array(me).fill(q.ACTIVE),Array(be).fill(q.INACTIVE))}_getInput(ae){return ae===M.END&&this._input?this._input:this._inputs?.length?ae===M.START?this._inputs.first:this._inputs.last:void 0}_getThumb(ae){return ae===M.END?this._thumbs?.last:this._thumbs?.first}_setTransition(ae){this._hasAnimation=!this._platform.IOS&&ae&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}_isCursorOnSliderThumb(ae,K){const de=K.width/2,Le=ae.clientY-(K.y+de);return Math.pow(ae.clientX-(K.x+de),2)+Math.pow(Le,2)<Math.pow(de,2)}static#e=this.\u0275fac=function(K){return new(K||pe)(g.rXU(g.SKi),g.rXU(g.gRc),g.rXU(g.aKT),g.rXU(n.dS,8),g.rXU(m.$E,8),g.rXU(g.bc$,8))};static#t=this.\u0275cmp=g.VBU({type:pe,selectors:[["mat-slider"]],contentQueries:function(K,de,Me){if(1&K&&(g.wni(Me,F,5),g.wni(Me,U,4)),2&K){let me;g.mGM(me=g.lsd())&&(de._input=me.first),g.mGM(me=g.lsd())&&(de._inputs=me)}},viewQuery:function(K,de){if(1&K&&(g.GBs(I,5),g.GBs(k,5)),2&K){let Me;g.mGM(Me=g.lsd())&&(de._trackActive=Me.first),g.mGM(Me=g.lsd())&&(de._thumbs=Me)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:12,hostBindings:function(K,de){2&K&&(g.HbH("mat-"+(de.color||"primary")),g.AVh("mdc-slider--range",de._isRange)("mdc-slider--disabled",de.disabled)("mdc-slider--discrete",de.discrete)("mdc-slider--tick-marks",de.showTickMarks)("_mat-animation-noopable",de._noopAnimations))},inputs:{disabled:[2,"disabled","disabled",g.L39],discrete:[2,"discrete","discrete",g.L39],showTickMarks:[2,"showTickMarks","showTickMarks",g.L39],min:[2,"min","min",g.Udg],color:"color",disableRipple:[2,"disableRipple","disableRipple",g.L39],max:[2,"max","max",g.Udg],step:[2,"step","step",g.Udg],displayWith:"displayWith"},exportAs:["matSlider"],standalone:!0,features:[g.Jv_([{provide:z,useExisting:pe}]),g.GFd,g.aNF],ngContentSelectors:b,decls:9,vars:5,consts:[["trackActive",""],["tickMarkContainer",""],[1,"mdc-slider__track"],[1,"mdc-slider__track--inactive"],[1,"mdc-slider__track--active"],[1,"mdc-slider__track--active_fill"],[1,"mdc-slider__tick-marks"],[3,"discrete","thumbPosition","valueIndicatorText"],[3,"class","transform"]],template:function(K,de){1&K&&(g.NAR(),g.SdG(0),g.j41(1,"div",2),g.nrm(2,"div",3),g.j41(3,"div",4),g.nrm(4,"div",5,0),g.k0s(),g.DNE(6,C,3,1,"div",6),g.k0s(),g.DNE(7,w,1,3,"mat-slider-visual-thumb",7),g.nrm(8,"mat-slider-visual-thumb",7)),2&K&&(g.R7$(6),g.vxM(de.showTickMarks?6:-1),g.R7$(),g.vxM(de._isRange?7:-1),g.R7$(),g.Y8G("discrete",de.discrete)("thumbPosition",2)("valueIndicatorText",de.endValueIndicatorText))},dependencies:[x],styles:['.mdc-slider__track{position:absolute;top:50%;transform:translateY(-50%);width:100%;pointer-events:none;height:var(--mdc-slider-inactive-track-height)}.mdc-slider__track--active,.mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider__track--active{overflow:hidden;border-radius:var(--mdc-slider-active-track-shape, var(--mat-app-corner-full));height:var(--mdc-slider-active-track-height);top:calc((var(--mdc-slider-inactive-track-height) - var(--mdc-slider-active-track-height))/2)}.mdc-slider__track--active_fill{border-top-style:solid;box-sizing:border-box;height:100%;width:100%;position:relative;transform-origin:left;transition:transform 80ms ease;border-color:var(--mdc-slider-active-track-color, var(--mat-app-primary));border-top-width:var(--mdc-slider-active-track-height)}.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:var(--mdc-slider-disabled-active-track-color, var(--mat-app-on-surface))}[dir=rtl] .mdc-slider__track--active_fill{-webkit-transform-origin:right;transform-origin:right}.mdc-slider__track--inactive{left:0;top:0;opacity:.24;background-color:var(--mdc-slider-inactive-track-color, var(--mat-app-surface-variant));height:var(--mdc-slider-inactive-track-height);border-radius:var(--mdc-slider-inactive-track-shape, var(--mat-app-corner-full))}.mdc-slider--disabled .mdc-slider__track--inactive{background-color:var(--mdc-slider-disabled-inactive-track-color, var(--mat-app-on-surface));opacity:.24}.mdc-slider__track--inactive::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.cdk-high-contrast-active .mdc-slider__track--inactive::before{border-color:CanvasText}.mdc-slider__value-indicator-container{bottom:44px;left:50%;pointer-events:none;position:absolute;transform:translateX(-50%);transform:var(--mat-slider-value-indicator-container-transform)}.mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider__value-indicator{display:flex;align-items:center;border-radius:4px;height:32px;padding:0 12px;transform:scale(0);transform-origin:bottom;opacity:1;transition:transform 100ms cubic-bezier(0.4, 0, 1, 1);word-break:normal;background-color:var(--mdc-slider-label-container-color, var(--mat-app-primary));color:var(--mdc-slider-label-label-text-color, var(--mat-app-on-primary));width:var(--mat-slider-value-indicator-width);height:var(--mat-slider-value-indicator-height);padding:var(--mat-slider-value-indicator-padding);opacity:var(--mat-slider-value-indicator-opacity);border-radius:var(--mat-slider-value-indicator-border-radius)}.mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}.mdc-slider__value-indicator::before{border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-top:6px solid;bottom:-5px;content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;display:var(--mat-slider-value-indicator-caret-display);border-top-color:var(--mdc-slider-label-container-color, var(--mat-app-primary))}.mdc-slider__value-indicator::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.cdk-high-contrast-active .mdc-slider__value-indicator::after{border-color:CanvasText}.mdc-slider__value-indicator-text{text-align:center;width:var(--mat-slider-value-indicator-width);transform:var(--mat-slider-value-indicator-text-transform);font-family:var(--mdc-slider-label-label-text-font, var(--mat-app-label-medium-font));font-size:var(--mdc-slider-label-label-text-size, var(--mat-app-label-medium-size));font-weight:var(--mdc-slider-label-label-text-weight, var(--mat-app-label-medium-weight));line-height:var(--mdc-slider-label-label-text-line-height, var(--mat-app-label-medium-line-height));letter-spacing:var(--mdc-slider-label-label-text-tracking, var(--mat-app-label-medium-tracking))}.mdc-slider__thumb{-webkit-user-select:none;user-select:none;display:flex;left:-24px;outline:none;position:absolute;height:48px;width:48px;pointer-events:none}.mdc-slider--discrete .mdc-slider__thumb{transition:transform 80ms ease}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__thumb--top{z-index:1}.mdc-slider__thumb-knob{position:absolute;box-sizing:border-box;left:50%;top:50%;transform:translate(-50%, -50%);border-style:solid;width:var(--mdc-slider-handle-width);height:var(--mdc-slider-handle-height);border-width:calc(var(--mdc-slider-handle-height)/2) calc(var(--mdc-slider-handle-width)/2);box-shadow:var(--mdc-slider-handle-elevation, var(--mat-app-level1));background-color:var(--mdc-slider-handle-color, var(--mat-app-primary));border-color:var(--mdc-slider-handle-color, var(--mat-app-primary));border-radius:var(--mdc-slider-handle-shape, var(--mat-app-corner-full))}.mdc-slider__thumb:hover .mdc-slider__thumb-knob{background-color:var(--mdc-slider-hover-handle-color, var(--mat-app-primary));border-color:var(--mdc-slider-hover-handle-color, var(--mat-app-primary))}.mdc-slider__thumb--focused .mdc-slider__thumb-knob{background-color:var(--mdc-slider-focus-handle-color, var(--mat-app-primary));border-color:var(--mdc-slider-focus-handle-color, var(--mat-app-primary))}.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:var(--mdc-slider-disabled-handle-color, var(--mat-app-on-surface));border-color:var(--mdc-slider-disabled-handle-color, var(--mat-app-on-surface))}.mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border:solid 1px #fff;box-sizing:content-box;border-color:var(--mdc-slider-with-overlap-handle-outline-color, var(--mat-app-on-primary));border-width:var(--mdc-slider-with-overlap-handle-outline-width)}.mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider__tick-mark--active,.mdc-slider__tick-mark--inactive{width:var(--mdc-slider-with-tick-marks-container-size);height:var(--mdc-slider-with-tick-marks-container-size);border-radius:var(--mdc-slider-with-tick-marks-container-shape, var(--mat-app-corner-full))}.mdc-slider__tick-mark--inactive{opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity);background-color:var(--mdc-slider-with-tick-marks-inactive-container-color, var(--mat-app-on-surface-variant))}.mdc-slider--disabled .mdc-slider__tick-mark--inactive{opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity);background-color:var(--mdc-slider-with-tick-marks-disabled-container-color, var(--mat-app-on-surface))}.mdc-slider__tick-mark--active{opacity:var(--mdc-slider-with-tick-marks-active-container-opacity);background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mat-app-on-primary))}.mdc-slider__input{cursor:pointer;left:2px;margin:0;height:44px;opacity:0;position:absolute;top:2px;width:44px;box-sizing:content-box}.mdc-slider__input.mat-mdc-slider-input-no-pointer-events{pointer-events:none}.mdc-slider__input.mat-slider__right-input{left:auto;right:0}.mat-mdc-slider{display:inline-block;box-sizing:border-box;outline:none;vertical-align:middle;cursor:pointer;height:48px;margin:0 8px;position:relative;touch-action:pan-y;width:auto;min-width:112px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-slider.mdc-slider--disabled{cursor:auto;opacity:.38}.mat-mdc-slider .mdc-slider__thumb,.mat-mdc-slider .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider.mdc-slider--discrete .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider .mat-ripple .mat-ripple-element{background-color:var(--mat-slider-ripple-color, var(--mat-app-primary))}.mat-mdc-slider .mat-ripple .mat-mdc-slider-hover-ripple{background-color:var(--mat-slider-hover-state-layer-color)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-focus-ripple,.mat-mdc-slider .mat-ripple .mat-mdc-slider-active-ripple{background-color:var(--mat-slider-focus-state-layer-color)}.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__track--active_fill,.mat-mdc-slider._mat-animation-noopable .mdc-slider__value-indicator{transition:none}.mat-mdc-slider .mat-mdc-focus-indicator::before{border-radius:50%}.mdc-slider__thumb--focused .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return pe})();const H={provide:T.kq,useExisting:(0,g.Rfq)(()=>ne),multi:!0};let ne=(()=>{class pe{get value(){return(0,g.Udg)(this._hostElement.value,0)}set value(ae){const K=(ae=isNaN(ae)?0:ae)+"";this._hasSetInitialValue?this._isActive||this._setValue(K):this._initialValue=K}_setValue(ae){this._hostElement.value=ae,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges(),this._slider._cdr.markForCheck()}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=this._tickMarkOffset,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(ae){this._translateX=ae}get min(){return(0,g.Udg)(this._hostElement.min,0)}set min(ae){this._hostElement.min=ae+"",this._cdr.detectChanges()}get max(){return(0,g.Udg)(this._hostElement.max,0)}set max(ae){this._hostElement.max=ae+"",this._cdr.detectChanges()}get step(){return(0,g.Udg)(this._hostElement.step,0)}set step(ae){this._hostElement.step=ae+"",this._cdr.detectChanges()}get disabled(){return(0,g.L39)(this._hostElement.disabled)}set disabled(ae){this._hostElement.disabled=ae,this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(ae){this._isFocused=ae}constructor(ae,K,de,Me){this._ngZone=ae,this._elementRef=K,this._cdr=de,this._slider=Me,this.valueChange=new g.bkB,this.dragStart=new g.bkB,this.dragEnd=new g.bkB,this.thumbPosition=M.END,this._valuetext=(0,g.vPA)(""),this._knobRadius=8,this._tickMarkOffset=3,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new O.B,this._skipUIUpdate=!1,this._onTouchedFn=()=>{},this._isControlInitialized=!1,this._platform=(0,g.WQX)(a.OD),this._hostElement=K.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._slider._setTransition(!1),this._slider._updateTrackUI(this),this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn?.(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(ae){if(!this.disabled&&0===ae.button){if(this._platform.IOS){const K=this._slider._isCursorOnSliderThumb(ae,this._slider._getThumb(this.thumbPosition)._hostElement.getBoundingClientRect());return this._isActive=K,this._updateWidthActive(),void this._slider._updateDimensions()}this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(ae,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(ae),this.dragStart.emit({source:this,parent:this._slider,value:this.value}))}}_handleValueCorrection(ae){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(ae)},0)}_fixValue(ae){const K=ae.clientX-this._slider._cachedLeft,de=this._slider._cachedWidth,Me=0===this._slider.step?1:this._slider.step,me=Math.floor((this._slider.max-this._slider.min)/Me),Ae=Math.round((this._slider._isRtl?1-K/de:K/de)*me)/me*(this._slider.max-this._slider.min)+this._slider.min,Oe=Math.round(Ae/Me)*Me;if(Oe===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(ae,{withAnimation:this._slider._hasAnimation}));this.value=Oe,this.valueChange.emit(this.value),this._onChangeFn?.(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(ae,{withAnimation:this._slider._hasAnimation})}_onPointerMove(ae){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(ae)}_onPointerUp(){this._isActive&&(this._isActive=!1,this._platform.SAFARI&&this._setIsFocused(!1),this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive(),this._platform.IOS?10:0))}_clamp(ae){const K=this._tickMarkOffset;return Math.max(Math.min(ae,this._slider._cachedWidth-this._tickMarkOffset),K)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*(this._slider._cachedWidth-2*this._tickMarkOffset)+this._tickMarkOffset:this.percentage*(this._slider._cachedWidth-2*this._tickMarkOffset)+this._tickMarkOffset}_calcTranslateXByPointerEvent(ae){return ae.clientX-this._slider._cachedLeft}_updateWidthActive(){}_updateWidthInactive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding-2*this._tickMarkOffset}px)`,this._hostElement.style.left=`-${this._slider._rippleRadius-this._tickMarkOffset}px`}_updateThumbUIByValue(ae){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(ae)}_updateThumbUIByPointerEvent(ae,K){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(ae)),this._updateThumbUI(K)}_updateThumbUI(ae){this._slider._setTransition(!!ae?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(ae){(this._isControlInitialized||null!==ae)&&(this.value=ae)}registerOnChange(ae){this._onChangeFn=ae,this._isControlInitialized=!0}registerOnTouched(ae){this._onTouchedFn=ae}setDisabledState(ae){this.disabled=ae}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}static#e=this.\u0275fac=function(K){return new(K||pe)(g.rXU(g.SKi),g.rXU(g.aKT),g.rXU(g.gRc),g.rXU(z))};static#t=this.\u0275dir=g.FsC({type:pe,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(K,de){1&K&&g.bIt("change",function(){return de._onChange()})("input",function(){return de._onInput()})("blur",function(){return de._onBlur()})("focus",function(){return de._onFocus()}),2&K&&g.BMQ("aria-valuetext",de._valuetext())},inputs:{value:[2,"value","value",g.Udg]},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],standalone:!0,features:[g.Jv_([H,{provide:F,useExisting:pe}]),g.GFd]})}return pe})(),le=(()=>{class pe{static#e=this.\u0275fac=function(K){return new(K||pe)};static#t=this.\u0275mod=g.$C({type:pe});static#n=this.\u0275inj=g.G2t({imports:[m.yE,m.pZ]})}return pe})()},345:(at,N,s)=>{"use strict";s.d(N,{B7:()=>j,Bb:()=>Vt,hE:()=>Ge,sG:()=>Be,up:()=>di});var n=s(60177),a=s(93953);class g extends n.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class m extends g{static makeCurrent(){(0,n.ZD)(new m)}onAndCancel(Un,_n,Xn){return Un.addEventListener(_n,Xn),()=>{Un.removeEventListener(_n,Xn)}}dispatchEvent(Un,_n){Un.dispatchEvent(_n)}remove(Un){Un.remove()}createElement(Un,_n){return(_n=_n||this.getDefaultDocument()).createElement(Un)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Un){return Un.nodeType===Node.ELEMENT_NODE}isShadowRoot(Un){return Un instanceof DocumentFragment}getGlobalEventTarget(Un,_n){return"window"===_n?window:"document"===_n?Un:"body"===_n?Un.body:null}getBaseHref(Un){const _n=function O(){return T=T||document.querySelector("base"),T?T.getAttribute("href"):null}();return null==_n?null:function D(Ue){return new URL(Ue,document.baseURI).pathname}(_n)}resetBaseElement(){T=null}getUserAgent(){return window.navigator.userAgent}getCookie(Un){return(0,n._b)(document.cookie,Un)}}let T=null,y=(()=>{class Ue{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Xn){return new(Xn||Ue)};static#t=this.\u0275prov=a.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();const I=new a.nKC("");let b=(()=>{class Ue{constructor(_n,Xn){this._zone=Xn,this._eventNameToPlugin=new Map,_n.forEach(Ii=>{Ii.manager=this}),this._plugins=_n.slice().reverse()}addEventListener(_n,Xn,Ii){return this._findPluginFor(Xn).addEventListener(_n,Xn,Ii)}getZone(){return this._zone}_findPluginFor(_n){let Xn=this._eventNameToPlugin.get(_n);if(Xn)return Xn;if(Xn=this._plugins.find(En=>En.supports(_n)),!Xn)throw new a.wOt(5101,!1);return this._eventNameToPlugin.set(_n,Xn),Xn}static#e=this.\u0275fac=function(Xn){return new(Xn||Ue)(a.KVO(I),a.KVO(a.SKi))};static#t=this.\u0275prov=a.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();class L{constructor(Un){this._doc=Un}}const o="ng-app-id";let C=(()=>{class Ue{constructor(_n,Xn,Ii,En={}){this.doc=_n,this.appId=Xn,this.nonce=Ii,this.platformId=En,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,n.Vy)(En),this.resetHostNodes()}addStyles(_n){for(const Xn of _n)1===this.changeUsageCount(Xn,1)&&this.onStyleAdded(Xn)}removeStyles(_n){for(const Xn of _n)this.changeUsageCount(Xn,-1)<=0&&this.onStyleRemoved(Xn)}ngOnDestroy(){const _n=this.styleNodesInDOM;_n&&(_n.forEach(Xn=>Xn.remove()),_n.clear());for(const Xn of this.getAllStyles())this.onStyleRemoved(Xn);this.resetHostNodes()}addHost(_n){this.hostNodes.add(_n);for(const Xn of this.getAllStyles())this.addStyleToHost(_n,Xn)}removeHost(_n){this.hostNodes.delete(_n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(_n){for(const Xn of this.hostNodes)this.addStyleToHost(Xn,_n)}onStyleRemoved(_n){const Xn=this.styleRef;Xn.get(_n)?.elements?.forEach(Ii=>Ii.remove()),Xn.delete(_n)}collectServerRenderedStyles(){const _n=this.doc.head?.querySelectorAll(`style[${o}="${this.appId}"]`);if(_n?.length){const Xn=new Map;return _n.forEach(Ii=>{null!=Ii.textContent&&Xn.set(Ii.textContent,Ii)}),Xn}return null}changeUsageCount(_n,Xn){const Ii=this.styleRef;if(Ii.has(_n)){const En=Ii.get(_n);return En.usage+=Xn,En.usage}return Ii.set(_n,{usage:Xn,elements:[]}),Xn}getStyleElement(_n,Xn){const Ii=this.styleNodesInDOM,En=Ii?.get(Xn);if(En?.parentNode===_n)return Ii.delete(Xn),En.removeAttribute(o),En;{const ln=this.doc.createElement("style");return this.nonce&&ln.setAttribute("nonce",this.nonce),ln.textContent=Xn,this.platformIsServer&&ln.setAttribute(o,this.appId),_n.appendChild(ln),ln}}addStyleToHost(_n,Xn){const Ii=this.getStyleElement(_n,Xn),En=this.styleRef,ln=En.get(Xn)?.elements;ln?ln.push(Ii):En.set(Xn,{elements:[Ii],usage:1})}resetHostNodes(){const _n=this.hostNodes;_n.clear(),_n.add(this.doc.head)}static#e=this.\u0275fac=function(Xn){return new(Xn||Ue)(a.KVO(n.qQ),a.KVO(a.sZ2),a.KVO(a.BIS,8),a.KVO(a.Agw))};static#t=this.\u0275prov=a.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();const w={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},M=/%COMP%/g,q="%COMP%",z=`_nghost-${q}`,F=`_ngcontent-${q}`,k=new a.nKC("",{providedIn:"root",factory:()=>!0});function B(Ue,Un){return Un.map(_n=>_n.replace(M,Ue))}let j=(()=>{class Ue{constructor(_n,Xn,Ii,En,ln,Dn,Ai,os=null){this.eventManager=_n,this.sharedStylesHost=Xn,this.appId=Ii,this.removeStylesOnCompDestroy=En,this.doc=ln,this.platformId=Dn,this.ngZone=Ai,this.nonce=os,this.rendererByCompId=new Map,this.platformIsServer=(0,n.Vy)(Dn),this.defaultRenderer=new $(_n,ln,Ai,this.platformIsServer)}createRenderer(_n,Xn){if(!_n||!Xn)return this.defaultRenderer;this.platformIsServer&&Xn.encapsulation===a.gXe.ShadowDom&&(Xn={...Xn,encapsulation:a.gXe.Emulated});const Ii=this.getOrCreateRenderer(_n,Xn);return Ii instanceof pe?Ii.applyToHost(_n):Ii instanceof le&&Ii.applyStyles(),Ii}getOrCreateRenderer(_n,Xn){const Ii=this.rendererByCompId;let En=Ii.get(Xn.id);if(!En){const ln=this.doc,Dn=this.ngZone,Ai=this.eventManager,os=this.sharedStylesHost,Fs=this.removeStylesOnCompDestroy,sn=this.platformIsServer;switch(Xn.encapsulation){case a.gXe.Emulated:En=new pe(Ai,os,Xn,this.appId,Fs,ln,Dn,sn);break;case a.gXe.ShadowDom:return new Q(Ai,os,_n,Xn,ln,Dn,this.nonce,sn);default:En=new le(Ai,os,Xn,Fs,ln,Dn,sn)}Ii.set(Xn.id,En)}return En}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Xn){return new(Xn||Ue)(a.KVO(b),a.KVO(C),a.KVO(a.sZ2),a.KVO(k),a.KVO(n.qQ),a.KVO(a.Agw),a.KVO(a.SKi),a.KVO(a.BIS))};static#t=this.\u0275prov=a.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();class ${constructor(Un,_n,Xn,Ii){this.eventManager=Un,this.doc=_n,this.ngZone=Xn,this.platformIsServer=Ii,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Un,_n){return _n?this.doc.createElementNS(w[_n]||_n,Un):this.doc.createElement(Un)}createComment(Un){return this.doc.createComment(Un)}createText(Un){return this.doc.createTextNode(Un)}appendChild(Un,_n){(ne(Un)?Un.content:Un).appendChild(_n)}insertBefore(Un,_n,Xn){Un&&(ne(Un)?Un.content:Un).insertBefore(_n,Xn)}removeChild(Un,_n){_n.remove()}selectRootElement(Un,_n){let Xn="string"==typeof Un?this.doc.querySelector(Un):Un;if(!Xn)throw new a.wOt(-5104,!1);return _n||(Xn.textContent=""),Xn}parentNode(Un){return Un.parentNode}nextSibling(Un){return Un.nextSibling}setAttribute(Un,_n,Xn,Ii){if(Ii){_n=Ii+":"+_n;const En=w[Ii];En?Un.setAttributeNS(En,_n,Xn):Un.setAttribute(_n,Xn)}else Un.setAttribute(_n,Xn)}removeAttribute(Un,_n,Xn){if(Xn){const Ii=w[Xn];Ii?Un.removeAttributeNS(Ii,_n):Un.removeAttribute(`${Xn}:${_n}`)}else Un.removeAttribute(_n)}addClass(Un,_n){Un.classList.add(_n)}removeClass(Un,_n){Un.classList.remove(_n)}setStyle(Un,_n,Xn,Ii){Ii&(a.czy.DashCase|a.czy.Important)?Un.style.setProperty(_n,Xn,Ii&a.czy.Important?"important":""):Un.style[_n]=Xn}removeStyle(Un,_n,Xn){Xn&a.czy.DashCase?Un.style.removeProperty(_n):Un.style[_n]=""}setProperty(Un,_n,Xn){null!=Un&&(Un[_n]=Xn)}setValue(Un,_n){Un.nodeValue=_n}listen(Un,_n,Xn){if("string"==typeof Un&&!(Un=(0,n.QT)().getGlobalEventTarget(this.doc,Un)))throw new Error(`Unsupported event target ${Un} for event ${_n}`);return this.eventManager.addEventListener(Un,_n,this.decoratePreventDefault(Xn))}decoratePreventDefault(Un){return _n=>{if("__ngUnwrap__"===_n)return Un;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Un(_n)):Un(_n))&&_n.preventDefault()}}}function ne(Ue){return"TEMPLATE"===Ue.tagName&&void 0!==Ue.content}class Q extends ${constructor(Un,_n,Xn,Ii,En,ln,Dn,Ai){super(Un,En,ln,Ai),this.sharedStylesHost=_n,this.hostEl=Xn,this.shadowRoot=Xn.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const os=B(Ii.id,Ii.styles);for(const Fs of os){const sn=document.createElement("style");Dn&&sn.setAttribute("nonce",Dn),sn.textContent=Fs,this.shadowRoot.appendChild(sn)}}nodeOrShadowRoot(Un){return Un===this.hostEl?this.shadowRoot:Un}appendChild(Un,_n){return super.appendChild(this.nodeOrShadowRoot(Un),_n)}insertBefore(Un,_n,Xn){return super.insertBefore(this.nodeOrShadowRoot(Un),_n,Xn)}removeChild(Un,_n){return super.removeChild(null,_n)}parentNode(Un){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Un)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class le extends ${constructor(Un,_n,Xn,Ii,En,ln,Dn,Ai){super(Un,En,ln,Dn),this.sharedStylesHost=_n,this.removeStylesOnCompDestroy=Ii,this.styles=Ai?B(Ai,Xn.styles):Xn.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class pe extends le{constructor(Un,_n,Xn,Ii,En,ln,Dn,Ai){const os=Ii+"-"+Xn.id;super(Un,_n,Xn,En,ln,Dn,Ai,os),this.contentAttr=function Y(Ue){return F.replace(M,Ue)}(os),this.hostAttr=function x(Ue){return z.replace(M,Ue)}(os)}applyToHost(Un){this.applyStyles(),this.setAttribute(Un,this.hostAttr,"")}createElement(Un,_n){const Xn=super.createElement(Un,_n);return super.setAttribute(Xn,this.contentAttr,""),Xn}}let te=(()=>{class Ue extends L{constructor(_n){super(_n)}supports(_n){return!0}addEventListener(_n,Xn,Ii){return _n.addEventListener(Xn,Ii,!1),()=>this.removeEventListener(_n,Xn,Ii)}removeEventListener(_n,Xn,Ii){return _n.removeEventListener(Xn,Ii)}static#e=this.\u0275fac=function(Xn){return new(Xn||Ue)(a.KVO(n.qQ))};static#t=this.\u0275prov=a.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})(),ae=(()=>{class Ue extends L{constructor(_n){super(_n),this.delegate=(0,a.WQX)(a.zAP,{optional:!0})}supports(_n){return!!this.delegate&&this.delegate.supports(_n)}addEventListener(_n,Xn,Ii){return this.delegate.addEventListener(_n,Xn,Ii)}removeEventListener(_n,Xn,Ii){return this.delegate.removeEventListener(_n,Xn,Ii)}static#e=this.\u0275fac=function(Xn){return new(Xn||Ue)(a.KVO(n.qQ))};static#t=this.\u0275prov=a.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();const K=["alt","control","meta","shift"],de={"\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"},Me={alt:Ue=>Ue.altKey,control:Ue=>Ue.ctrlKey,meta:Ue=>Ue.metaKey,shift:Ue=>Ue.shiftKey};let me=(()=>{class Ue extends L{constructor(_n){super(_n)}supports(_n){return null!=Ue.parseEventName(_n)}addEventListener(_n,Xn,Ii){const En=Ue.parseEventName(Xn),ln=Ue.eventCallback(En.fullKey,Ii,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.QT)().onAndCancel(_n,En.domEventName,ln))}static parseEventName(_n){const Xn=_n.toLowerCase().split("."),Ii=Xn.shift();if(0===Xn.length||"keydown"!==Ii&&"keyup"!==Ii)return null;const En=Ue._normalizeKey(Xn.pop());let ln="",Dn=Xn.indexOf("code");if(Dn>-1&&(Xn.splice(Dn,1),ln="code."),K.forEach(os=>{const Fs=Xn.indexOf(os);Fs>-1&&(Xn.splice(Fs,1),ln+=os+".")}),ln+=En,0!=Xn.length||0===En.length)return null;const Ai={};return Ai.domEventName=Ii,Ai.fullKey=ln,Ai}static matchEventFullKeyCode(_n,Xn){let Ii=de[_n.key]||_n.key,En="";return Xn.indexOf("code.")>-1&&(Ii=_n.code,En="code."),!(null==Ii||!Ii)&&(Ii=Ii.toLowerCase()," "===Ii?Ii="space":"."===Ii&&(Ii="dot"),K.forEach(ln=>{ln!==Ii&&(0,Me[ln])(_n)&&(En+=ln+".")}),En+=Ii,En===Xn)}static eventCallback(_n,Xn,Ii){return En=>{Ue.matchEventFullKeyCode(En,_n)&&Ii.runGuarded(()=>Xn(En))}}static _normalizeKey(_n){return"esc"===_n?"escape":_n}static#e=this.\u0275fac=function(Xn){return new(Xn||Ue)(a.KVO(n.qQ))};static#t=this.\u0275prov=a.jDH({token:Ue,factory:Ue.\u0275fac})}return Ue})();const Be=(0,a.oH4)(a.fpN,"browser",[{provide:a.Agw,useValue:n.AJ},{provide:a.PLl,useValue:function Xe(){m.makeCurrent()},multi:!0},{provide:n.qQ,useFactory:function $e(){return(0,a.TL$)(document),document},deps:[]}]),Ye=new a.nKC(""),Ct=[{provide:a.e01,useClass:class E{addToWindow(Un){a.JZv.getAngularTestability=(Xn,Ii=!0)=>{const En=Un.findTestabilityInTree(Xn,Ii);if(null==En)throw new a.wOt(5103,!1);return En},a.JZv.getAllAngularTestabilities=()=>Un.getAllTestabilities(),a.JZv.getAllAngularRootElements=()=>Un.getAllRootElements(),a.JZv.frameworkStabilizers||(a.JZv.frameworkStabilizers=[]),a.JZv.frameworkStabilizers.push(Xn=>{const Ii=a.JZv.getAllAngularTestabilities();let En=Ii.length;const ln=function(){En--,0==En&&Xn()};Ii.forEach(Dn=>{Dn.whenStable(ln)})})}findTestabilityInTree(Un,_n,Xn){return null==_n?null:Un.getTestability(_n)??(Xn?(0,n.QT)().isShadowRoot(_n)?this.findTestabilityInTree(Un,_n.host,!0):this.findTestabilityInTree(Un,_n.parentElement,!0):null)}},deps:[]},{provide:a.WHO,useClass:a.NYb,deps:[a.SKi,a.giA,a.e01]},{provide:a.NYb,useClass:a.NYb,deps:[a.SKi,a.giA,a.e01]}],Lt=[{provide:a.H8p,useValue:"root"},{provide:a.zcH,useFactory:function Pe(){return new a.zcH},deps:[]},{provide:I,useClass:te,multi:!0,deps:[n.qQ,a.SKi,a.Agw]},{provide:I,useClass:me,multi:!0,deps:[n.qQ]},{provide:I,useClass:ae,multi:!0},j,C,b,{provide:a._9s,useExisting:j},{provide:n.N0,useClass:y,deps:[]},[]];let Vt=(()=>{class Ue{constructor(_n){}static withServerTransition(_n){return{ngModule:Ue,providers:[{provide:a.sZ2,useValue:_n.appId}]}}static#e=this.\u0275fac=function(Xn){return new(Xn||Ue)(a.KVO(Ye,12))};static#t=this.\u0275mod=a.$C({type:Ue});static#n=this.\u0275inj=a.G2t({providers:[...Lt,...Ct],imports:[n.MD,a.Hbi]})}return Ue})(),Ge=(()=>{class Ue{constructor(_n){this._doc=_n}getTitle(){return this._doc.title}setTitle(_n){this._doc.title=_n||""}static#e=this.\u0275fac=function(Xn){return new(Xn||Ue)(a.KVO(n.qQ))};static#t=this.\u0275prov=a.jDH({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}return Ue})(),di=(()=>{class Ue{static#e=this.\u0275fac=function(Xn){return new(Xn||Ue)};static#t=this.\u0275prov=a.jDH({token:Ue,factory:function(Xn){let Ii=null;return Ii=Xn?new(Xn||Ue):a.KVO(jn),Ii},providedIn:"root"})}return Ue})(),jn=(()=>{class Ue extends di{constructor(_n){super(),this._doc=_n}sanitize(_n,Xn){if(null==Xn)return null;switch(_n){case a.WPN.NONE:return Xn;case a.WPN.HTML:return(0,a.ZF7)(Xn,"HTML")?(0,a.rcV)(Xn):(0,a.h9k)(this._doc,String(Xn)).toString();case a.WPN.STYLE:return(0,a.ZF7)(Xn,"Style")?(0,a.rcV)(Xn):Xn;case a.WPN.SCRIPT:if((0,a.ZF7)(Xn,"Script"))return(0,a.rcV)(Xn);throw new a.wOt(5200,!1);case a.WPN.URL:return(0,a.ZF7)(Xn,"URL")?(0,a.rcV)(Xn):(0,a.$MX)(String(Xn));case a.WPN.RESOURCE_URL:if((0,a.ZF7)(Xn,"ResourceURL"))return(0,a.rcV)(Xn);throw new a.wOt(5201,!1);default:throw new a.wOt(5202,!1)}}bypassSecurityTrustHtml(_n){return(0,a.Kcf)(_n)}bypassSecurityTrustStyle(_n){return(0,a.cWb)(_n)}bypassSecurityTrustScript(_n){return(0,a.UyX)(_n)}bypassSecurityTrustUrl(_n){return(0,a.osQ)(_n)}bypassSecurityTrustResourceUrl(_n){return(0,a.e5t)(_n)}static#e=this.\u0275fac=function(Xn){return new(Xn||Ue)(a.KVO(n.qQ))};static#t=this.\u0275prov=a.jDH({token:Ue,factory:Ue.\u0275fac,providedIn:"root"})}return Ue})()},52168:(at,N,s)=>{"use strict";s.d(N,{nX:()=>Ga,wF:()=>Jt,Z:()=>Rt,Ix:()=>Fo,Wk:()=>k1,iI:()=>Gc,n3:()=>Da,ld:()=>Jn,Xw:()=>In,yJ:()=>It});var n=s(93953),a=s(74402),g=s(22806),m=s(7673),T=s(84412),O=s(84572),D=s(9350),E=s(28793),y=s(59030),I=s(71203),b=s(18810),L=s(983),o=s(30017),C=s(21413),w=s(18359),M=s(60177),q=s(96354),z=s(25558),F=s(96697),U=s(99172),k=s(5964),Y=s(31397),x=s(61594),B=s(70274),j=s(88141),$=s(99437),H=s(39974),ie=s(46649),Q=s(39901),le=s(54360);function pe(ot){return ot<=0?()=>L.w:(0,H.N)((wt,ct)=>{let Nt=[];wt.subscribe((0,le._)(ct,pn=>{Nt.push(pn),ot<Nt.length&&Nt.shift()},()=>{for(const pn of Nt)ct.next(pn);ct.complete()},void 0,()=>{Nt=null}))})}var te=s(93774),ae=s(33669),de=s(73703),Me=s(70980),me=s(99898),be=s(56977),Le=s(26365),Ae=s(345);const Oe="primary",Xe=Symbol("RouteTitle");class Pe{constructor(wt){this.params=wt||{}}has(wt){return Object.prototype.hasOwnProperty.call(this.params,wt)}get(wt){if(this.has(wt)){const ct=this.params[wt];return Array.isArray(ct)?ct[0]:ct}return null}getAll(wt){if(this.has(wt)){const ct=this.params[wt];return Array.isArray(ct)?ct:[ct]}return[]}get keys(){return Object.keys(this.params)}}function $e(ot){return new Pe(ot)}function ze(ot,wt,ct){const Nt=ct.path.split("/");if(Nt.length>ot.length||"full"===ct.pathMatch&&(wt.hasChildren()||Nt.length<ot.length))return null;const pn={};for(let Vn=0;Vn<Nt.length;Vn++){const je=Nt[Vn],Kn=ot[Vn];if(":"===je[0])pn[je.substring(1)]=Kn;else if(je!==Kn.path)return null}return{consumed:ot.slice(0,Nt.length),posParams:pn}}function Ye(ot,wt){const ct=ot?Ct(ot):void 0,Nt=wt?Ct(wt):void 0;if(!ct||!Nt||ct.length!=Nt.length)return!1;let pn;for(let Vn=0;Vn<ct.length;Vn++)if(pn=ct[Vn],!Lt(ot[pn],wt[pn]))return!1;return!0}function Ct(ot){return[...Object.keys(ot),...Object.getOwnPropertySymbols(ot)]}function Lt(ot,wt){if(Array.isArray(ot)&&Array.isArray(wt)){if(ot.length!==wt.length)return!1;const ct=[...ot].sort(),Nt=[...wt].sort();return ct.every((pn,Vn)=>Nt[Vn]===pn)}return ot===wt}function Vt(ot){return ot.length>0?ot[ot.length-1]:null}function ht(ot){return(0,a.A)(ot)?ot:(0,n.jNT)(ot)?(0,g.H)(Promise.resolve(ot)):(0,m.of)(ot)}const gt={exact:function Ne(ot,wt,ct){if(!Ze(ot.segments,wt.segments)||!ft(ot.segments,wt.segments,ct)||ot.numberOfChildren!==wt.numberOfChildren)return!1;for(const Nt in wt.children)if(!ot.children[Nt]||!Ne(ot.children[Nt],wt.children[Nt],ct))return!1;return!0},subset:Qe},Ge={exact:function ke(ot,wt){return Ye(ot,wt)},subset:function Je(ot,wt){return Object.keys(wt).length<=Object.keys(ot).length&&Object.keys(wt).every(ct=>Lt(ot[ct],wt[ct]))},ignored:()=>!0};function Se(ot,wt,ct){return gt[ct.paths](ot.root,wt.root,ct.matrixParams)&&Ge[ct.queryParams](ot.queryParams,wt.queryParams)&&!("exact"===ct.fragment&&ot.fragment!==wt.fragment)}function Qe(ot,wt,ct){return rt(ot,wt,wt.segments,ct)}function rt(ot,wt,ct,Nt){if(ot.segments.length>ct.length){const pn=ot.segments.slice(0,ct.length);return!(!Ze(pn,ct)||wt.hasChildren()||!ft(pn,ct,Nt))}if(ot.segments.length===ct.length){if(!Ze(ot.segments,ct)||!ft(ot.segments,ct,Nt))return!1;for(const pn in wt.children)if(!ot.children[pn]||!Qe(ot.children[pn],wt.children[pn],Nt))return!1;return!0}{const pn=ct.slice(0,ot.segments.length),Vn=ct.slice(ot.segments.length);return!!(Ze(ot.segments,pn)&&ft(ot.segments,pn,Nt)&&ot.children[Oe])&&rt(ot.children[Oe],wt,Vn,Nt)}}function ft(ot,wt,ct){return wt.every((Nt,pn)=>Ge[ct](ot[pn].parameters,Nt.parameters))}class Xt{constructor(wt=new It([],{}),ct={},Nt=null){this.root=wt,this.queryParams=ct,this.fragment=Nt}get queryParamMap(){return this._queryParamMap??=$e(this.queryParams),this._queryParamMap}toString(){return jn.serialize(this)}}class It{constructor(wt,ct){this.segments=wt,this.children=ct,this.parent=null,Object.values(ct).forEach(Nt=>Nt.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Di(this)}}class In{constructor(wt,ct){this.path=wt,this.parameters=ct}get parameterMap(){return this._parameterMap??=$e(this.parameters),this._parameterMap}toString(){return ci(this)}}function Ze(ot,wt){return ot.length===wt.length&&ot.every((ct,Nt)=>ct.path===wt[Nt].path)}let zn=(()=>{class ot{static#e=this.\u0275fac=function(Nt){return new(Nt||ot)};static#t=this.\u0275prov=n.jDH({token:ot,factory:()=>new di,providedIn:"root"})}return ot})();class di{parse(wt){const ct=new Fs(wt);return new Xt(ct.parseRootSegment(),ct.parseQueryParams(),ct.parseFragment())}serialize(wt){const ct=`/${Li(wt.root,!0)}`,Nt=function Un(ot){const wt=Object.entries(ot).map(([ct,Nt])=>Array.isArray(Nt)?Nt.map(pn=>`${Rn(ct)}=${Rn(pn)}`).join("&"):`${Rn(ct)}=${Rn(Nt)}`).filter(ct=>ct);return wt.length?`?${wt.join("&")}`:""}(wt.queryParams);return`${ct}${Nt}${"string"==typeof wt.fragment?`#${function Qt(ot){return encodeURI(ot)}(wt.fragment)}`:""}`}}const jn=new di;function Di(ot){return ot.segments.map(wt=>ci(wt)).join("/")}function Li(ot,wt){if(!ot.hasChildren())return Di(ot);if(wt){const ct=ot.children[Oe]?Li(ot.children[Oe],!1):"",Nt=[];return Object.entries(ot.children).forEach(([pn,Vn])=>{pn!==Oe&&Nt.push(`${pn}:${Li(Vn,!1)}`)}),Nt.length>0?`${ct}(${Nt.join("//")})`:ct}{const ct=function wn(ot,wt){let ct=[];return Object.entries(ot.children).forEach(([Nt,pn])=>{Nt===Oe&&(ct=ct.concat(wt(pn,Nt)))}),Object.entries(ot.children).forEach(([Nt,pn])=>{Nt!==Oe&&(ct=ct.concat(wt(pn,Nt)))}),ct}(ot,(Nt,pn)=>pn===Oe?[Li(ot.children[Oe],!1)]:[`${pn}:${Li(Nt,!1)}`]);return 1===Object.keys(ot.children).length&&null!=ot.children[Oe]?`${Di(ot)}/${ct[0]}`:`${Di(ot)}/(${ct.join("//")})`}}function ms(ot){return encodeURIComponent(ot).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Rn(ot){return ms(ot).replace(/%3B/gi,";")}function Wt(ot){return ms(ot).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Yt(ot){return decodeURIComponent(ot)}function Mn(ot){return Yt(ot.replace(/\+/g,"%20"))}function ci(ot){return`${Wt(ot.path)}${function Ue(ot){return Object.entries(ot).map(([wt,ct])=>`;${Wt(wt)}=${Wt(ct)}`).join("")}(ot.parameters)}`}const _n=/^[^\/()?;#]+/;function Xn(ot){const wt=ot.match(_n);return wt?wt[0]:""}const Ii=/^[^\/()?;=#]+/,ln=/^[^=?&#]+/,Ai=/^[^&#]+/;class Fs{constructor(wt){this.url=wt,this.remaining=wt}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new It([],{}):new It([],this.parseChildren())}parseQueryParams(){const wt={};if(this.consumeOptional("?"))do{this.parseQueryParam(wt)}while(this.consumeOptional("&"));return wt}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const wt=[];for(this.peekStartsWith("(")||wt.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),wt.push(this.parseSegment());let ct={};this.peekStartsWith("/(")&&(this.capture("/"),ct=this.parseParens(!0));let Nt={};return this.peekStartsWith("(")&&(Nt=this.parseParens(!1)),(wt.length>0||Object.keys(ct).length>0)&&(Nt[Oe]=new It(wt,ct)),Nt}parseSegment(){const wt=Xn(this.remaining);if(""===wt&&this.peekStartsWith(";"))throw new n.wOt(4009,!1);return this.capture(wt),new In(Yt(wt),this.parseMatrixParams())}parseMatrixParams(){const wt={};for(;this.consumeOptional(";");)this.parseParam(wt);return wt}parseParam(wt){const ct=function En(ot){const wt=ot.match(Ii);return wt?wt[0]:""}(this.remaining);if(!ct)return;this.capture(ct);let Nt="";if(this.consumeOptional("=")){const pn=Xn(this.remaining);pn&&(Nt=pn,this.capture(Nt))}wt[Yt(ct)]=Yt(Nt)}parseQueryParam(wt){const ct=function Dn(ot){const wt=ot.match(ln);return wt?wt[0]:""}(this.remaining);if(!ct)return;this.capture(ct);let Nt="";if(this.consumeOptional("=")){const je=function os(ot){const wt=ot.match(Ai);return wt?wt[0]:""}(this.remaining);je&&(Nt=je,this.capture(Nt))}const pn=Mn(ct),Vn=Mn(Nt);if(wt.hasOwnProperty(pn)){let je=wt[pn];Array.isArray(je)||(je=[je],wt[pn]=je),je.push(Vn)}else wt[pn]=Vn}parseParens(wt){const ct={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Nt=Xn(this.remaining),pn=this.remaining[Nt.length];if("/"!==pn&&")"!==pn&&";"!==pn)throw new n.wOt(4010,!1);let Vn;Nt.indexOf(":")>-1?(Vn=Nt.slice(0,Nt.indexOf(":")),this.capture(Vn),this.capture(":")):wt&&(Vn=Oe);const je=this.parseChildren();ct[Vn]=1===Object.keys(je).length?je[Oe]:new It([],je),this.consumeOptional("//")}return ct}peekStartsWith(wt){return this.remaining.startsWith(wt)}consumeOptional(wt){return!!this.peekStartsWith(wt)&&(this.remaining=this.remaining.substring(wt.length),!0)}capture(wt){if(!this.consumeOptional(wt))throw new n.wOt(4011,!1)}}function sn(ot){return ot.segments.length>0?new It([],{[Oe]:ot}):ot}function oi(ot){const wt={};for(const[Nt,pn]of Object.entries(ot.children)){const Vn=oi(pn);if(Nt===Oe&&0===Vn.segments.length&&Vn.hasChildren())for(const[je,Kn]of Object.entries(Vn.children))wt[je]=Kn;else(Vn.segments.length>0||Vn.hasChildren())&&(wt[Nt]=Vn)}return function pt(ot){if(1===ot.numberOfChildren&&ot.children[Oe]){const wt=ot.children[Oe];return new It(ot.segments.concat(wt.segments),wt.children)}return ot}(new It(ot.segments,wt))}function cn(ot){return ot instanceof Xt}function vi(ot){let wt;const pn=sn(function ct(Vn){const je={};for(const De of Vn.children){const Pt=ct(De);je[De.outlet]=Pt}const Kn=new It(Vn.url,je);return Vn===ot&&(wt=Kn),Kn}(ot.root));return wt??pn}function ui(ot,wt,ct,Nt){let pn=ot;for(;pn.parent;)pn=pn.parent;if(0===wt.length)return Hn(pn,pn,pn,ct,Nt);const Vn=function li(ot){if("string"==typeof ot[0]&&1===ot.length&&"/"===ot[0])return new ri(!0,0,ot);let wt=0,ct=!1;const Nt=ot.reduce((pn,Vn,je)=>{if("object"==typeof Vn&&null!=Vn){if(Vn.outlets){const Kn={};return Object.entries(Vn.outlets).forEach(([De,Pt])=>{Kn[De]="string"==typeof Pt?Pt.split("/"):Pt}),[...pn,{outlets:Kn}]}if(Vn.segmentPath)return[...pn,Vn.segmentPath]}return"string"!=typeof Vn?[...pn,Vn]:0===je?(Vn.split("/").forEach((Kn,De)=>{0==De&&"."===Kn||(0==De&&""===Kn?ct=!0:".."===Kn?wt++:""!=Kn&&pn.push(Kn))}),pn):[...pn,Vn]},[]);return new ri(ct,wt,Nt)}(wt);if(Vn.toRoot())return Hn(pn,pn,new It([],{}),ct,Nt);const je=function ei(ot,wt,ct){if(ot.isAbsolute)return new Fi(wt,!0,0);if(!ct)return new Fi(wt,!1,NaN);if(null===ct.parent)return new Fi(ct,!0,0);const Nt=$i(ot.commands[0])?0:1;return function Hi(ot,wt,ct){let Nt=ot,pn=wt,Vn=ct;for(;Vn>pn;){if(Vn-=pn,Nt=Nt.parent,!Nt)throw new n.wOt(4005,!1);pn=Nt.segments.length}return new Fi(Nt,!1,pn-Vn)}(ct,ct.segments.length-1+Nt,ot.numberOfDoubleDots)}(Vn,pn,ot),Kn=je.processChildren?hn(je.segmentGroup,je.index,Vn.commands):yn(je.segmentGroup,je.index,Vn.commands);return Hn(pn,je.segmentGroup,Kn,ct,Nt)}function $i(ot){return"object"==typeof ot&&null!=ot&&!ot.outlets&&!ot.segmentPath}function Nn(ot){return"object"==typeof ot&&null!=ot&&ot.outlets}function Hn(ot,wt,ct,Nt,pn){let je,Vn={};Nt&&Object.entries(Nt).forEach(([De,Pt])=>{Vn[De]=Array.isArray(Pt)?Pt.map(mt=>`${mt}`):`${Pt}`}),je=ot===wt?ct:Qn(ot,wt,ct);const Kn=sn(oi(je));return new Xt(Kn,Vn,pn)}function Qn(ot,wt,ct){const Nt={};return Object.entries(ot.children).forEach(([pn,Vn])=>{Nt[pn]=Vn===wt?ct:Qn(Vn,wt,ct)}),new It(ot.segments,Nt)}class ri{constructor(wt,ct,Nt){if(this.isAbsolute=wt,this.numberOfDoubleDots=ct,this.commands=Nt,wt&&Nt.length>0&&$i(Nt[0]))throw new n.wOt(4003,!1);const pn=Nt.find(Nn);if(pn&&pn!==Vt(Nt))throw new n.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Fi{constructor(wt,ct,Nt){this.segmentGroup=wt,this.processChildren=ct,this.index=Nt}}function yn(ot,wt,ct){if(ot??=new It([],{}),0===ot.segments.length&&ot.hasChildren())return hn(ot,wt,ct);const Nt=function Bn(ot,wt,ct){let Nt=0,pn=wt;const Vn={match:!1,pathIndex:0,commandIndex:0};for(;pn<ot.segments.length;){if(Nt>=ct.length)return Vn;const je=ot.segments[pn],Kn=ct[Nt];if(Nn(Kn))break;const De=`${Kn}`,Pt=Nt<ct.length-1?ct[Nt+1]:null;if(pn>0&&void 0===De)break;if(De&&Pt&&"object"==typeof Pt&&void 0===Pt.outlets){if(!Cn(De,Pt,je))return Vn;Nt+=2}else{if(!Cn(De,{},je))return Vn;Nt++}pn++}return{match:!0,pathIndex:pn,commandIndex:Nt}}(ot,wt,ct),pn=ct.slice(Nt.commandIndex);if(Nt.match&&Nt.pathIndex<ot.segments.length){const Vn=new It(ot.segments.slice(0,Nt.pathIndex),{});return Vn.children[Oe]=new It(ot.segments.slice(Nt.pathIndex),ot.children),hn(Vn,0,pn)}return Nt.match&&0===pn.length?new It(ot.segments,{}):Nt.match&&!ot.hasChildren()?mi(ot,wt,ct):Nt.match?hn(ot,0,pn):mi(ot,wt,ct)}function hn(ot,wt,ct){if(0===ct.length)return new It(ot.segments,{});{const Nt=function gn(ot){return Nn(ot[0])?ot[0].outlets:{[Oe]:ot}}(ct),pn={};if(Object.keys(Nt).some(Vn=>Vn!==Oe)&&ot.children[Oe]&&1===ot.numberOfChildren&&0===ot.children[Oe].segments.length){const Vn=hn(ot.children[Oe],wt,ct);return new It(ot.segments,Vn.children)}return Object.entries(Nt).forEach(([Vn,je])=>{"string"==typeof je&&(je=[je]),null!==je&&(pn[Vn]=yn(ot.children[Vn],wt,je))}),Object.entries(ot.children).forEach(([Vn,je])=>{void 0===Nt[Vn]&&(pn[Vn]=je)}),new It(ot.segments,pn)}}function mi(ot,wt,ct){const Nt=ot.segments.slice(0,wt);let pn=0;for(;pn<ct.length;){const Vn=ct[pn];if(Nn(Vn)){const De=wi(Vn.outlets);return new It(Nt,De)}if(0===pn&&$i(ct[0])){Nt.push(new In(ot.segments[wt].path,Si(ct[0]))),pn++;continue}const je=Nn(Vn)?Vn.outlets[Oe]:`${Vn}`,Kn=pn<ct.length-1?ct[pn+1]:null;je&&Kn&&$i(Kn)?(Nt.push(new In(je,Si(Kn))),pn+=2):(Nt.push(new In(je,{})),pn++)}return new It(Nt,{})}function wi(ot){const wt={};return Object.entries(ot).forEach(([ct,Nt])=>{"string"==typeof Nt&&(Nt=[Nt]),null!==Nt&&(wt[ct]=mi(new It([],{}),0,Nt))}),wt}function Si(ot){const wt={};return Object.entries(ot).forEach(([ct,Nt])=>wt[ct]=`${Nt}`),wt}function Cn(ot,wt,ct){return ot==ct.path&&Ye(wt,ct.parameters)}const ut="imperative";var Mt=function(ot){return ot[ot.NavigationStart=0]="NavigationStart",ot[ot.NavigationEnd=1]="NavigationEnd",ot[ot.NavigationCancel=2]="NavigationCancel",ot[ot.NavigationError=3]="NavigationError",ot[ot.RoutesRecognized=4]="RoutesRecognized",ot[ot.ResolveStart=5]="ResolveStart",ot[ot.ResolveEnd=6]="ResolveEnd",ot[ot.GuardsCheckStart=7]="GuardsCheckStart",ot[ot.GuardsCheckEnd=8]="GuardsCheckEnd",ot[ot.RouteConfigLoadStart=9]="RouteConfigLoadStart",ot[ot.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",ot[ot.ChildActivationStart=11]="ChildActivationStart",ot[ot.ChildActivationEnd=12]="ChildActivationEnd",ot[ot.ActivationStart=13]="ActivationStart",ot[ot.ActivationEnd=14]="ActivationEnd",ot[ot.Scroll=15]="Scroll",ot[ot.NavigationSkipped=16]="NavigationSkipped",ot}(Mt||{});class Bt{constructor(wt,ct){this.id=wt,this.url=ct}}class Rt extends Bt{constructor(wt,ct,Nt="imperative",pn=null){super(wt,ct),this.type=Mt.NavigationStart,this.navigationTrigger=Nt,this.restoredState=pn}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Jt extends Bt{constructor(wt,ct,Nt){super(wt,ct),this.urlAfterRedirects=Nt,this.type=Mt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var He=function(ot){return ot[ot.Redirect=0]="Redirect",ot[ot.SupersededByNewNavigation=1]="SupersededByNewNavigation",ot[ot.NoDataFromResolver=2]="NoDataFromResolver",ot[ot.GuardRejected=3]="GuardRejected",ot}(He||{}),fe=function(ot){return ot[ot.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",ot[ot.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",ot}(fe||{});class nt extends Bt{constructor(wt,ct,Nt,pn){super(wt,ct),this.reason=Nt,this.code=pn,this.type=Mt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ot extends Bt{constructor(wt,ct,Nt,pn){super(wt,ct),this.reason=Nt,this.code=pn,this.type=Mt.NavigationSkipped}}class rn extends Bt{constructor(wt,ct,Nt,pn){super(wt,ct),this.error=Nt,this.target=pn,this.type=Mt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Jn extends Bt{constructor(wt,ct,Nt,pn){super(wt,ct),this.urlAfterRedirects=Nt,this.state=pn,this.type=Mt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Oi extends Bt{constructor(wt,ct,Nt,pn){super(wt,ct),this.urlAfterRedirects=Nt,this.state=pn,this.type=Mt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ci extends Bt{constructor(wt,ct,Nt,pn,Vn){super(wt,ct),this.urlAfterRedirects=Nt,this.state=pn,this.shouldActivate=Vn,this.type=Mt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ui extends Bt{constructor(wt,ct,Nt,pn){super(wt,ct),this.urlAfterRedirects=Nt,this.state=pn,this.type=Mt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ps extends Bt{constructor(wt,ct,Nt,pn){super(wt,ct),this.urlAfterRedirects=Nt,this.state=pn,this.type=Mt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ji{constructor(wt){this.route=wt,this.type=Mt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class _s{constructor(wt){this.route=wt,this.type=Mt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class js{constructor(wt){this.snapshot=wt,this.type=Mt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class es{constructor(wt){this.snapshot=wt,this.type=Mt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zs{constructor(wt){this.snapshot=wt,this.type=Mt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gi{constructor(wt){this.snapshot=wt,this.type=Mt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ds{constructor(wt,ct,Nt){this.routerEvent=wt,this.position=ct,this.anchor=Nt,this.type=Mt.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class rs{}class ao{constructor(wt,ct){this.url=wt,this.navigationBehaviorOptions=ct}}function fi(ot){return ot.outlet||Oe}function fa(ot){if(!ot)return null;if(ot.routeConfig?._injector)return ot.routeConfig._injector;for(let wt=ot.parent;wt;wt=wt.parent){const ct=wt.routeConfig;if(ct?._loadedInjector)return ct._loadedInjector;if(ct?._injector)return ct._injector}return null}class za{get injector(){return fa(this.route?.snapshot)??this.rootInjector}set injector(wt){}constructor(wt){this.rootInjector=wt,this.outlet=null,this.route=null,this.children=new l1(this.rootInjector),this.attachRef=null}}let l1=(()=>{class ot{constructor(ct){this.rootInjector=ct,this.contexts=new Map}onChildOutletCreated(ct,Nt){const pn=this.getOrCreateContext(ct);pn.outlet=Nt,this.contexts.set(ct,pn)}onChildOutletDestroyed(ct){const Nt=this.getContext(ct);Nt&&(Nt.outlet=null,Nt.attachRef=null)}onOutletDeactivated(){const ct=this.contexts;return this.contexts=new Map,ct}onOutletReAttached(ct){this.contexts=ct}getOrCreateContext(ct){let Nt=this.getContext(ct);return Nt||(Nt=new za(this.rootInjector),this.contexts.set(ct,Nt)),Nt}getContext(ct){return this.contexts.get(ct)||null}static#e=this.\u0275fac=function(Nt){return new(Nt||ot)(n.KVO(n.uvJ))};static#t=this.\u0275prov=n.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})();class Yn{constructor(wt){this._root=wt}get root(){return this._root.value}parent(wt){const ct=this.pathFromRoot(wt);return ct.length>1?ct[ct.length-2]:null}children(wt){const ct=so(wt,this._root);return ct?ct.children.map(Nt=>Nt.value):[]}firstChild(wt){const ct=so(wt,this._root);return ct&&ct.children.length>0?ct.children[0].value:null}siblings(wt){const ct=Hr(wt,this._root);return ct.length<2?[]:ct[ct.length-2].children.map(pn=>pn.value).filter(pn=>pn!==wt)}pathFromRoot(wt){return Hr(wt,this._root).map(ct=>ct.value)}}function so(ot,wt){if(ot===wt.value)return wt;for(const ct of wt.children){const Nt=so(ot,ct);if(Nt)return Nt}return null}function Hr(ot,wt){if(ot===wt.value)return[wt];for(const ct of wt.children){const Nt=Hr(ot,ct);if(Nt.length)return Nt.unshift(wt),Nt}return[]}class vr{constructor(wt,ct){this.value=wt,this.children=ct}toString(){return`TreeNode(${this.value})`}}function Sa(ot){const wt={};return ot&&ot.children.forEach(ct=>wt[ct.value.outlet]=ct),wt}class X1 extends Yn{constructor(wt,ct){super(wt),this.snapshot=ct,Jr(this,wt)}toString(){return this.snapshot.toString()}}function _1(ot){const wt=function K1(ot){const Vn=new Ol([],{},{},"",{},Oe,ot,null,{});return new Wa("",new vr(Vn,[]))}(ot),ct=new T.t([new In("",{})]),Nt=new T.t({}),pn=new T.t({}),Vn=new T.t({}),je=new T.t(""),Kn=new Ga(ct,Nt,Vn,je,pn,Oe,ot,wt.root);return Kn.snapshot=wt.root,new X1(new vr(Kn,[]),wt)}class Ga{constructor(wt,ct,Nt,pn,Vn,je,Kn,De){this.urlSubject=wt,this.paramsSubject=ct,this.queryParamsSubject=Nt,this.fragmentSubject=pn,this.dataSubject=Vn,this.outlet=je,this.component=Kn,this._futureSnapshot=De,this.title=this.dataSubject?.pipe((0,q.T)(Pt=>Pt[Xe]))??(0,m.of)(void 0),this.url=wt,this.params=ct,this.queryParams=Nt,this.fragment=pn,this.data=Vn}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,q.T)(wt=>$e(wt))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,q.T)(wt=>$e(wt))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function cl(ot,wt,ct="emptyOnly"){let Nt;const{routeConfig:pn}=ot;return Nt=null===wt||"always"!==ct&&""!==pn?.path&&(wt.component||wt.routeConfig?.loadComponent)?{params:{...ot.params},data:{...ot.data},resolve:{...ot.data,...ot._resolvedData??{}}}:{params:{...wt.params,...ot.params},data:{...wt.data,...ot.data},resolve:{...ot.data,...wt.data,...pn?.data,...ot._resolvedData}},pn&&Ao(pn)&&(Nt.resolve[Xe]=pn.title),Nt}class Ol{get title(){return this.data?.[Xe]}constructor(wt,ct,Nt,pn,Vn,je,Kn,De,Pt){this.url=wt,this.params=ct,this.queryParams=Nt,this.fragment=pn,this.data=Vn,this.outlet=je,this.component=Kn,this.routeConfig=De,this._resolve=Pt}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??=$e(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=$e(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Nt=>Nt.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Wa extends Yn{constructor(wt,ct){super(ct),this.url=wt,Jr(this,ct)}toString(){return p0(this._root)}}function Jr(ot,wt){wt.value._routerState=ot,wt.children.forEach(ct=>Jr(ot,ct))}function p0(ot){const wt=ot.children.length>0?` { ${ot.children.map(p0).join(", ")} } `:"";return`${ot.value}${wt}`}function Tr(ot){if(ot.snapshot){const wt=ot.snapshot,ct=ot._futureSnapshot;ot.snapshot=ct,Ye(wt.queryParams,ct.queryParams)||ot.queryParamsSubject.next(ct.queryParams),wt.fragment!==ct.fragment&&ot.fragmentSubject.next(ct.fragment),Ye(wt.params,ct.params)||ot.paramsSubject.next(ct.params),function Be(ot,wt){if(ot.length!==wt.length)return!1;for(let ct=0;ct<ot.length;++ct)if(!Ye(ot[ct],wt[ct]))return!1;return!0}(wt.url,ct.url)||ot.urlSubject.next(ct.url),Ye(wt.data,ct.data)||ot.dataSubject.next(ct.data)}else ot.snapshot=ot._futureSnapshot,ot.dataSubject.next(ot._futureSnapshot.data)}function Ta(ot,wt){const ct=Ye(ot.params,wt.params)&&function Kt(ot,wt){return Ze(ot,wt)&&ot.every((ct,Nt)=>Ye(ct.parameters,wt[Nt].parameters))}(ot.url,wt.url);return ct&&!(!ot.parent!=!wt.parent)&&(!ot.parent||Ta(ot.parent,wt.parent))}function Ao(ot){return"string"==typeof ot.title||null===ot.title}let Da=(()=>{class ot{constructor(){this.activated=null,this._activatedRoute=null,this.name=Oe,this.activateEvents=new n.bkB,this.deactivateEvents=new n.bkB,this.attachEvents=new n.bkB,this.detachEvents=new n.bkB,this.parentContexts=(0,n.WQX)(l1),this.location=(0,n.WQX)(n.c1b),this.changeDetector=(0,n.WQX)(n.gRc),this.inputBinder=(0,n.WQX)(ma,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(ct){if(ct.name){const{firstChange:Nt,previousValue:pn}=ct.name;if(Nt)return;this.isTrackedInParentContexts(pn)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(pn)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(ct){return this.parentContexts.getContext(ct)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const ct=this.parentContexts.getContext(this.name);ct?.route&&(ct.attachRef?this.attach(ct.attachRef,ct.route):this.activateWith(ct.route,ct.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.wOt(4012,!1);this.location.detach();const ct=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ct.instance),ct}attach(ct,Nt){this.activated=ct,this._activatedRoute=Nt,this.location.insert(ct.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(ct.instance)}deactivate(){if(this.activated){const ct=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ct)}}activateWith(ct,Nt){if(this.isActivated)throw new n.wOt(4013,!1);this._activatedRoute=ct;const pn=this.location,je=ct.snapshot.component,Kn=this.parentContexts.getOrCreateContext(this.name).children,De=new y0(ct,Kn,pn.injector);this.activated=pn.createComponent(je,{index:pn.length,injector:De,environmentInjector:Nt}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Nt){return new(Nt||ot)};static#t=this.\u0275dir=n.FsC({type:ot,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.OA$]})}return ot})();class y0{__ngOutletInjector(wt){return new y0(this.route,this.childContexts,wt)}constructor(wt,ct,Nt){this.route=wt,this.childContexts=ct,this.parent=Nt}get(wt,ct){return wt===Ga?this.route:wt===l1?this.childContexts:this.parent.get(wt,ct)}}const ma=new n.nKC("");let Lr=(()=>{class ot{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(ct){this.unsubscribeFromRouteData(ct),this.subscribeToRouteData(ct)}unsubscribeFromRouteData(ct){this.outletDataSubscriptions.get(ct)?.unsubscribe(),this.outletDataSubscriptions.delete(ct)}subscribeToRouteData(ct){const{activatedRoute:Nt}=ct,pn=(0,O.z)([Nt.queryParams,Nt.params,Nt.data]).pipe((0,z.n)(([Vn,je,Kn],De)=>(Kn={...Vn,...je,...Kn},0===De?(0,m.of)(Kn):Promise.resolve(Kn)))).subscribe(Vn=>{if(!ct.isActivated||!ct.activatedComponentRef||ct.activatedRoute!==Nt||null===Nt.component)return void this.unsubscribeFromRouteData(ct);const je=(0,n.HJs)(Nt.component);if(je)for(const{templateName:Kn}of je.inputs)ct.activatedComponentRef.setInput(Kn,Vn[Kn]);else this.unsubscribeFromRouteData(ct)});this.outletDataSubscriptions.set(ct,pn)}static#e=this.\u0275fac=function(Nt){return new(Nt||ot)};static#t=this.\u0275prov=n.jDH({token:ot,factory:ot.\u0275fac})}return ot})();function Vs(ot,wt,ct){if(ct&&ot.shouldReuseRoute(wt.value,ct.value.snapshot)){const Nt=ct.value;Nt._futureSnapshot=wt.value;const pn=function Ar(ot,wt,ct){return wt.children.map(Nt=>{for(const pn of ct.children)if(ot.shouldReuseRoute(Nt.value,pn.value.snapshot))return Vs(ot,Nt,pn);return Vs(ot,Nt)})}(ot,wt,ct);return new vr(Nt,pn)}{if(ot.shouldAttach(wt.value)){const Vn=ot.retrieve(wt.value);if(null!==Vn){const je=Vn.route;return je.value._futureSnapshot=wt.value,je.children=wt.children.map(Kn=>Vs(ot,Kn)),je}}const Nt=function gr(ot){return new Ga(new T.t(ot.url),new T.t(ot.params),new T.t(ot.queryParams),new T.t(ot.fragment),new T.t(ot.data),ot.outlet,ot.component,ot)}(wt.value),pn=wt.children.map(Vn=>Vs(ot,Vn));return new vr(Nt,pn)}}class Zr{constructor(wt,ct){this.redirectTo=wt,this.navigationBehaviorOptions=ct}}const Ur="ngNavigationCancelingError";function Co(ot,wt){const{redirectTo:ct,navigationBehaviorOptions:Nt}=cn(wt)?{redirectTo:wt,navigationBehaviorOptions:void 0}:wt,pn=Ka(!1,He.Redirect);return pn.url=ct,pn.navigationBehaviorOptions=Nt,pn}function Ka(ot,wt){const ct=new Error(`NavigationCancelingError: ${ot||""}`);return ct[Ur]=!0,ct.cancellationCode=wt,ct}function yr(ot){return!!ot&&ot[Ur]}class sr{constructor(wt,ct,Nt,pn,Vn){this.routeReuseStrategy=wt,this.futureState=ct,this.currState=Nt,this.forwardEvent=pn,this.inputBindingEnabled=Vn}activate(wt){const ct=this.futureState._root,Nt=this.currState?this.currState._root:null;this.deactivateChildRoutes(ct,Nt,wt),Tr(this.futureState.root),this.activateChildRoutes(ct,Nt,wt)}deactivateChildRoutes(wt,ct,Nt){const pn=Sa(ct);wt.children.forEach(Vn=>{const je=Vn.value.outlet;this.deactivateRoutes(Vn,pn[je],Nt),delete pn[je]}),Object.values(pn).forEach(Vn=>{this.deactivateRouteAndItsChildren(Vn,Nt)})}deactivateRoutes(wt,ct,Nt){const pn=wt.value,Vn=ct?ct.value:null;if(pn===Vn)if(pn.component){const je=Nt.getContext(pn.outlet);je&&this.deactivateChildRoutes(wt,ct,je.children)}else this.deactivateChildRoutes(wt,ct,Nt);else Vn&&this.deactivateRouteAndItsChildren(ct,Nt)}deactivateRouteAndItsChildren(wt,ct){wt.value.component&&this.routeReuseStrategy.shouldDetach(wt.value.snapshot)?this.detachAndStoreRouteSubtree(wt,ct):this.deactivateRouteAndOutlet(wt,ct)}detachAndStoreRouteSubtree(wt,ct){const Nt=ct.getContext(wt.value.outlet),pn=Nt&&wt.value.component?Nt.children:ct,Vn=Sa(wt);for(const je of Object.values(Vn))this.deactivateRouteAndItsChildren(je,pn);if(Nt&&Nt.outlet){const je=Nt.outlet.detach(),Kn=Nt.children.onOutletDeactivated();this.routeReuseStrategy.store(wt.value.snapshot,{componentRef:je,route:wt,contexts:Kn})}}deactivateRouteAndOutlet(wt,ct){const Nt=ct.getContext(wt.value.outlet),pn=Nt&&wt.value.component?Nt.children:ct,Vn=Sa(wt);for(const je of Object.values(Vn))this.deactivateRouteAndItsChildren(je,pn);Nt&&(Nt.outlet&&(Nt.outlet.deactivate(),Nt.children.onOutletDeactivated()),Nt.attachRef=null,Nt.route=null)}activateChildRoutes(wt,ct,Nt){const pn=Sa(ct);wt.children.forEach(Vn=>{this.activateRoutes(Vn,pn[Vn.value.outlet],Nt),this.forwardEvent(new Gi(Vn.value.snapshot))}),wt.children.length&&this.forwardEvent(new es(wt.value.snapshot))}activateRoutes(wt,ct,Nt){const pn=wt.value,Vn=ct?ct.value:null;if(Tr(pn),pn===Vn)if(pn.component){const je=Nt.getOrCreateContext(pn.outlet);this.activateChildRoutes(wt,ct,je.children)}else this.activateChildRoutes(wt,ct,Nt);else if(pn.component){const je=Nt.getOrCreateContext(pn.outlet);if(this.routeReuseStrategy.shouldAttach(pn.snapshot)){const Kn=this.routeReuseStrategy.retrieve(pn.snapshot);this.routeReuseStrategy.store(pn.snapshot,null),je.children.onOutletReAttached(Kn.contexts),je.attachRef=Kn.componentRef,je.route=Kn.route.value,je.outlet&&je.outlet.attach(Kn.componentRef,Kn.route.value),Tr(Kn.route.value),this.activateChildRoutes(wt,null,je.children)}else je.attachRef=null,je.route=pn,je.outlet&&je.outlet.activateWith(pn,je.injector),this.activateChildRoutes(wt,null,je.children)}else this.activateChildRoutes(wt,null,Nt)}}class J1{constructor(wt){this.path=wt,this.route=this.path[this.path.length-1]}}class uo{constructor(wt,ct){this.component=wt,this.route=ct}}function Dl(ot,wt,ct){const Nt=ot._root;return ea(Nt,wt?wt._root:null,ct,[Nt.value])}function vl(ot,wt){const ct=Symbol(),Nt=wt.get(ot,ct);return Nt===ct?"function"!=typeof ot||(0,n.LfX)(ot)?wt.get(ot):ot:Nt}function ea(ot,wt,ct,Nt,pn={canDeactivateChecks:[],canActivateChecks:[]}){const Vn=Sa(wt);return ot.children.forEach(je=>{(function Nr(ot,wt,ct,Nt,pn={canDeactivateChecks:[],canActivateChecks:[]}){const Vn=ot.value,je=wt?wt.value:null,Kn=ct?ct.getContext(ot.value.outlet):null;if(je&&Vn.routeConfig===je.routeConfig){const De=function Pl(ot,wt,ct){if("function"==typeof ct)return ct(ot,wt);switch(ct){case"pathParamsChange":return!Ze(ot.url,wt.url);case"pathParamsOrQueryParamsChange":return!Ze(ot.url,wt.url)||!Ye(ot.queryParams,wt.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ta(ot,wt)||!Ye(ot.queryParams,wt.queryParams);default:return!Ta(ot,wt)}}(je,Vn,Vn.routeConfig.runGuardsAndResolvers);De?pn.canActivateChecks.push(new J1(Nt)):(Vn.data=je.data,Vn._resolvedData=je._resolvedData),ea(ot,wt,Vn.component?Kn?Kn.children:null:ct,Nt,pn),De&&Kn&&Kn.outlet&&Kn.outlet.isActivated&&pn.canDeactivateChecks.push(new uo(Kn.outlet.component,je))}else je&&ra(wt,Kn,pn),pn.canActivateChecks.push(new J1(Nt)),ea(ot,null,Vn.component?Kn?Kn.children:null:ct,Nt,pn)})(je,Vn[je.value.outlet],ct,Nt.concat([je.value]),pn),delete Vn[je.value.outlet]}),Object.entries(Vn).forEach(([je,Kn])=>ra(Kn,ct.getContext(je),pn)),pn}function ra(ot,wt,ct){const Nt=Sa(ot),pn=ot.value;Object.entries(Nt).forEach(([Vn,je])=>{ra(je,pn.component?wt?wt.children.getContext(Vn):null:wt,ct)}),ct.canDeactivateChecks.push(new uo(pn.component&&wt&&wt.outlet&&wt.outlet.isActivated?wt.outlet.component:null,pn))}function ul(ot){return"function"==typeof ot}function _a(ot){return ot instanceof D.G||"EmptyError"===ot?.name}const L1=Symbol("INITIAL_VALUE");function h0(){return(0,z.n)(ot=>(0,O.z)(ot.map(wt=>wt.pipe((0,F.s)(1),(0,U.Z)(L1)))).pipe((0,q.T)(wt=>{for(const ct of wt)if(!0!==ct){if(ct===L1)return L1;if(!1===ct||z1(ct))return ct}return!0}),(0,k.p)(wt=>wt!==L1),(0,F.s)(1)))}function z1(ot){return cn(ot)||ot instanceof Zr}function Eo(ot){return(0,I.F)((0,j.M)(wt=>{if("boolean"!=typeof wt)throw Co(0,wt)}),(0,q.T)(wt=>!0===wt))}class ga{constructor(wt){this.segmentGroup=wt||null}}class dl extends Error{constructor(wt){super(),this.urlTree=wt}}function ur(ot){return(0,b.$)(new ga(ot))}class e1{constructor(wt,ct){this.urlSerializer=wt,this.urlTree=ct}lineralizeSegments(wt,ct){let Nt=[],pn=ct.root;for(;;){if(Nt=Nt.concat(pn.segments),0===pn.numberOfChildren)return(0,m.of)(Nt);if(pn.numberOfChildren>1||!pn.children[Oe])return(0,b.$)(new n.wOt(4e3,!1));pn=pn.children[Oe]}}applyRedirectCommands(wt,ct,Nt,pn,Vn){if("string"!=typeof ct){const Kn=ct,{queryParams:De,fragment:Pt,routeConfig:mt,url:pi,outlet:Ls,params:lo,data:Ro,title:to}=pn,Er=(0,n.N4e)(Vn,()=>Kn({params:lo,data:Ro,queryParams:De,fragment:Pt,routeConfig:mt,url:pi,outlet:Ls,title:to}));if(Er instanceof Xt)throw new dl(Er);ct=Er}const je=this.applyRedirectCreateUrlTree(ct,this.urlSerializer.parse(ct),wt,Nt);if("/"===ct[0])throw new dl(je);return je}applyRedirectCreateUrlTree(wt,ct,Nt,pn){const Vn=this.createSegmentGroup(wt,ct.root,Nt,pn);return new Xt(Vn,this.createQueryParams(ct.queryParams,this.urlTree.queryParams),ct.fragment)}createQueryParams(wt,ct){const Nt={};return Object.entries(wt).forEach(([pn,Vn])=>{if("string"==typeof Vn&&":"===Vn[0]){const Kn=Vn.substring(1);Nt[pn]=ct[Kn]}else Nt[pn]=Vn}),Nt}createSegmentGroup(wt,ct,Nt,pn){const Vn=this.createSegments(wt,ct.segments,Nt,pn);let je={};return Object.entries(ct.children).forEach(([Kn,De])=>{je[Kn]=this.createSegmentGroup(wt,De,Nt,pn)}),new It(Vn,je)}createSegments(wt,ct,Nt,pn){return ct.map(Vn=>":"===Vn.path[0]?this.findPosParam(wt,Vn,pn):this.findOrReturn(Vn,Nt))}findPosParam(wt,ct,Nt){const pn=Nt[ct.path.substring(1)];if(!pn)throw new n.wOt(4001,!1);return pn}findOrReturn(wt,ct){let Nt=0;for(const pn of ct){if(pn.path===wt.path)return ct.splice(Nt),pn;Nt++}return wt}}const jl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Zl(ot,wt,ct,Nt,pn){const Vn=ba(ot,wt,ct);return Vn.matched?(Nt=function zr(ot,wt){return ot.providers&&!ot._injector&&(ot._injector=(0,n.Ol2)(ot.providers,wt,`Route: ${ot.path}`)),ot._injector??wt}(wt,Nt),function Ac(ot,wt,ct,Nt){const pn=wt.canMatch;if(!pn||0===pn.length)return(0,m.of)(!0);const Vn=pn.map(je=>{const Kn=vl(je,ot);return ht(function W0(ot){return ot&&ul(ot.canMatch)}(Kn)?Kn.canMatch(wt,ct):(0,n.N4e)(ot,()=>Kn(wt,ct)))});return(0,m.of)(Vn).pipe(h0(),Eo())}(Nt,wt,ct).pipe((0,q.T)(je=>!0===je?Vn:{...jl}))):(0,m.of)(Vn)}function ba(ot,wt,ct){if("**"===wt.path)return function qa(ot){return{matched:!0,parameters:ot.length>0?Vt(ot).parameters:{},consumedSegments:ot,remainingSegments:[],positionalParamSegments:{}}}(ct);if(""===wt.path)return"full"===wt.pathMatch&&(ot.hasChildren()||ct.length>0)?{...jl}:{matched:!0,consumedSegments:[],remainingSegments:ct,parameters:{},positionalParamSegments:{}};const pn=(wt.matcher||ze)(ct,ot,wt);if(!pn)return{...jl};const Vn={};Object.entries(pn.posParams??{}).forEach(([Kn,De])=>{Vn[Kn]=De.path});const je=pn.consumed.length>0?{...Vn,...pn.consumed[pn.consumed.length-1].parameters}:Vn;return{matched:!0,consumedSegments:pn.consumed,remainingSegments:ct.slice(pn.consumed.length),parameters:je,positionalParamSegments:pn.posParams??{}}}function Pr(ot,wt,ct,Nt){return ct.length>0&&function Il(ot,wt,ct){return ct.some(Nt=>Io(ot,wt,Nt)&&fi(Nt)!==Oe)}(ot,ct,Nt)?{segmentGroup:new It(wt,I0(Nt,new It(ct,ot.children))),slicedSegments:[]}:0===ct.length&&function Yr(ot,wt,ct){return ct.some(Nt=>Io(ot,wt,Nt))}(ot,ct,Nt)?{segmentGroup:new It(ot.segments,fc(ot,ct,Nt,ot.children)),slicedSegments:ct}:{segmentGroup:new It(ot.segments,ot.children),slicedSegments:ct}}function fc(ot,wt,ct,Nt){const pn={};for(const Vn of ct)if(Io(ot,wt,Vn)&&!Nt[fi(Vn)]){const je=new It([],{});pn[fi(Vn)]=je}return{...Nt,...pn}}function I0(ot,wt){const ct={};ct[Oe]=wt;for(const Nt of ot)if(""===Nt.path&&fi(Nt)!==Oe){const pn=new It([],{});ct[fi(Nt)]=pn}return ct}function Io(ot,wt,ct){return(!(ot.hasChildren()||wt.length>0)||"full"!==ct.pathMatch)&&""===ct.path}class yi{}class vs{constructor(wt,ct,Nt,pn,Vn,je,Kn){this.injector=wt,this.configLoader=ct,this.rootComponentType=Nt,this.config=pn,this.urlTree=Vn,this.paramsInheritanceStrategy=je,this.urlSerializer=Kn,this.applyRedirects=new e1(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(wt){return new n.wOt(4002,`'${wt.segmentGroup}'`)}recognize(){const wt=Pr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(wt).pipe((0,q.T)(({children:ct,rootSnapshot:Nt})=>{const pn=new vr(Nt,ct),Vn=new Wa("",pn),je=function Tn(ot,wt,ct=null,Nt=null){return ui(vi(ot),wt,ct,Nt)}(Nt,[],this.urlTree.queryParams,this.urlTree.fragment);return je.queryParams=this.urlTree.queryParams,Vn.url=this.urlSerializer.serialize(je),{state:Vn,tree:je}}))}match(wt){const ct=new Ol([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Oe,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,wt,Oe,ct).pipe((0,q.T)(Nt=>({children:Nt,rootSnapshot:ct})),(0,$.W)(Nt=>{if(Nt instanceof dl)return this.urlTree=Nt.urlTree,this.match(Nt.urlTree.root);throw Nt instanceof ga?this.noMatchError(Nt):Nt}))}processSegmentGroup(wt,ct,Nt,pn,Vn){return 0===Nt.segments.length&&Nt.hasChildren()?this.processChildren(wt,ct,Nt,Vn):this.processSegment(wt,ct,Nt,Nt.segments,pn,!0,Vn).pipe((0,q.T)(je=>je instanceof vr?[je]:[]))}processChildren(wt,ct,Nt,pn){const Vn=[];for(const je of Object.keys(Nt.children))"primary"===je?Vn.unshift(je):Vn.push(je);return(0,g.H)(Vn).pipe((0,B.H)(je=>{const Kn=Nt.children[je],De=function Ks(ot,wt){const ct=ot.filter(Nt=>fi(Nt)===wt);return ct.push(...ot.filter(Nt=>fi(Nt)!==wt)),ct}(ct,je);return this.processSegmentGroup(wt,De,Kn,je,pn)}),function ne(ot,wt){return(0,H.N)((0,ie.S)(ot,wt,arguments.length>=2,!0))}((je,Kn)=>(je.push(...Kn),je)),(0,Q.U)(null),function K(ot,wt){const ct=arguments.length>=2;return Nt=>Nt.pipe(ot?(0,k.p)((pn,Vn)=>ot(pn,Vn,Nt)):ae.D,pe(1),ct?(0,Q.U)(wt):(0,te.v)(()=>new D.G))}(),(0,Y.Z)(je=>{if(null===je)return ur(Nt);const Kn=wr(je);return function Us(ot){ot.sort((wt,ct)=>wt.value.outlet===Oe?-1:ct.value.outlet===Oe?1:wt.value.outlet.localeCompare(ct.value.outlet))}(Kn),(0,m.of)(Kn)}))}processSegment(wt,ct,Nt,pn,Vn,je,Kn){return(0,g.H)(ct).pipe((0,B.H)(De=>this.processSegmentAgainstRoute(De._injector??wt,ct,De,Nt,pn,Vn,je,Kn).pipe((0,$.W)(Pt=>{if(Pt instanceof ga)return(0,m.of)(null);throw Pt}))),(0,x.$)(De=>!!De),(0,$.W)(De=>{if(_a(De))return function Wn(ot,wt,ct){return 0===wt.length&&!ot.children[ct]}(Nt,pn,Vn)?(0,m.of)(new yi):ur(Nt);throw De}))}processSegmentAgainstRoute(wt,ct,Nt,pn,Vn,je,Kn,De){return function b1(ot,wt,ct,Nt){return!!(fi(ot)===Nt||Nt!==Oe&&Io(wt,ct,ot))&&ba(wt,ot,ct).matched}(Nt,pn,Vn,je)?void 0===Nt.redirectTo?this.matchSegmentAgainstRoute(wt,pn,Nt,Vn,je,De):this.allowRedirects&&Kn?this.expandSegmentAgainstRouteUsingRedirect(wt,pn,ct,Nt,Vn,je,De):ur(pn):ur(pn)}expandSegmentAgainstRouteUsingRedirect(wt,ct,Nt,pn,Vn,je,Kn){const{matched:De,parameters:Pt,consumedSegments:mt,positionalParamSegments:pi,remainingSegments:Ls}=ba(ct,pn,Vn);if(!De)return ur(ct);"string"==typeof pn.redirectTo&&"/"===pn.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const lo=new Ol(Vn,Pt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,R0(pn),fi(pn),pn.component??pn._loadedComponent??null,pn,$a(pn)),Ro=cl(lo,Kn,this.paramsInheritanceStrategy);lo.params=Object.freeze(Ro.params),lo.data=Object.freeze(Ro.data);const to=this.applyRedirects.applyRedirectCommands(mt,pn.redirectTo,pi,lo,wt);return this.applyRedirects.lineralizeSegments(pn,to).pipe((0,Y.Z)(Er=>this.processSegment(wt,Nt,ct,Er.concat(Ls),je,!1,Kn)))}matchSegmentAgainstRoute(wt,ct,Nt,pn,Vn,je){const Kn=Zl(ct,Nt,pn,wt);return"**"===Nt.path&&(ct.children={}),Kn.pipe((0,z.n)(De=>De.matched?this.getChildConfig(wt=Nt._injector??wt,Nt,pn).pipe((0,z.n)(({routes:Pt})=>{const mt=Nt._loadedInjector??wt,{parameters:pi,consumedSegments:Ls,remainingSegments:lo}=De,Ro=new Ol(Ls,pi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,R0(Nt),fi(Nt),Nt.component??Nt._loadedComponent??null,Nt,$a(Nt)),to=cl(Ro,je,this.paramsInheritanceStrategy);Ro.params=Object.freeze(to.params),Ro.data=Object.freeze(to.data);const{segmentGroup:Er,slicedSegments:Xr}=Pr(ct,Ls,lo,Pt);if(0===Xr.length&&Er.hasChildren())return this.processChildren(mt,Pt,Er,Ro).pipe((0,q.T)(S=>new vr(Ro,S)));if(0===Pt.length&&0===Xr.length)return(0,m.of)(new vr(Ro,[]));const C0=fi(Nt)===Vn;return this.processSegment(mt,Pt,Er,Xr,C0?Oe:Vn,!0,Ro).pipe((0,q.T)(S=>new vr(Ro,S instanceof vr?[S]:[])))})):ur(ct)))}getChildConfig(wt,ct,Nt){return ct.children?(0,m.of)({routes:ct.children,injector:wt}):ct.loadChildren?void 0!==ct._loadedRoutes?(0,m.of)({routes:ct._loadedRoutes,injector:ct._loadedInjector}):function P0(ot,wt,ct,Nt){const pn=wt.canLoad;if(void 0===pn||0===pn.length)return(0,m.of)(!0);const Vn=pn.map(je=>{const Kn=vl(je,ot);return ht(function hc(ot){return ot&&ul(ot.canLoad)}(Kn)?Kn.canLoad(wt,ct):(0,n.N4e)(ot,()=>Kn(wt,ct)))});return(0,m.of)(Vn).pipe(h0(),Eo())}(wt,ct,Nt).pipe((0,Y.Z)(pn=>pn?this.configLoader.loadChildren(wt,ct).pipe((0,j.M)(Vn=>{ct._loadedRoutes=Vn.routes,ct._loadedInjector=Vn.injector})):function s0(){return(0,b.$)(Ka(!1,He.GuardRejected))}())):(0,m.of)({routes:[],injector:wt})}}function or(ot){const wt=ot.value.routeConfig;return wt&&""===wt.path}function wr(ot){const wt=[],ct=new Set;for(const Nt of ot){if(!or(Nt)){wt.push(Nt);continue}const pn=wt.find(Vn=>Nt.value.routeConfig===Vn.value.routeConfig);void 0!==pn?(pn.children.push(...Nt.children),ct.add(pn)):wt.push(Nt)}for(const Nt of ct){const pn=wr(Nt.children);wt.push(new vr(Nt.value,pn))}return wt.filter(Nt=>!ct.has(Nt))}function R0(ot){return ot.data||{}}function $a(ot){return ot.resolve||{}}function pl(ot){const wt=ot.children.map(ct=>pl(ct)).flat();return[ot,...wt]}function xo(ot){return(0,z.n)(wt=>{const ct=ot(wt);return ct?(0,g.H)(ct).pipe((0,q.T)(()=>wt)):(0,m.of)(wt)})}let rr=(()=>{class ot{buildTitle(ct){let Nt,pn=ct.root;for(;void 0!==pn;)Nt=this.getResolvedTitleForRoute(pn)??Nt,pn=pn.children.find(Vn=>Vn.outlet===Oe);return Nt}getResolvedTitleForRoute(ct){return ct.data[Xe]}static#e=this.\u0275fac=function(Nt){return new(Nt||ot)};static#t=this.\u0275prov=n.jDH({token:ot,factory:()=>(0,n.WQX)(aa),providedIn:"root"})}return ot})(),aa=(()=>{class ot extends rr{constructor(ct){super(),this.title=ct}updateTitle(ct){const Nt=this.buildTitle(ct);void 0!==Nt&&this.title.setTitle(Nt)}static#e=this.\u0275fac=function(Nt){return new(Nt||ot)(n.KVO(Ae.hE))};static#t=this.\u0275prov=n.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})();const B1=new n.nKC("",{providedIn:"root",factory:()=>({})});let Q1=(()=>{class ot{static#e=this.\u0275fac=function(Nt){return new(Nt||ot)};static#t=this.\u0275cmp=n.VBU({type:ot,selectors:[["ng-component"]],standalone:!0,features:[n.aNF],decls:1,vars:0,template:function(Nt,pn){1&Nt&&n.nrm(0,"router-outlet")},dependencies:[Da],encapsulation:2})}return ot})();function br(ot){const wt=ot.children&&ot.children.map(br),ct=wt?{...ot,children:wt}:{...ot};return!ct.component&&!ct.loadComponent&&(wt||ct.loadChildren)&&ct.outlet&&ct.outlet!==Oe&&(ct.component=Q1),ct}const Rl=new n.nKC("");let hl=(()=>{class ot{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.WQX)(n.Ql9)}loadComponent(ct){if(this.componentLoaders.get(ct))return this.componentLoaders.get(ct);if(ct._loadedComponent)return(0,m.of)(ct._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(ct);const Nt=ht(ct.loadComponent()).pipe((0,q.T)(t1),(0,j.M)(Vn=>{this.onLoadEndListener&&this.onLoadEndListener(ct),ct._loadedComponent=Vn}),(0,Me.j)(()=>{this.componentLoaders.delete(ct)})),pn=new o.G(Nt,()=>new C.B).pipe((0,me.B)());return this.componentLoaders.set(ct,pn),pn}loadChildren(ct,Nt){if(this.childrenLoaders.get(Nt))return this.childrenLoaders.get(Nt);if(Nt._loadedRoutes)return(0,m.of)({routes:Nt._loadedRoutes,injector:Nt._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Nt);const Vn=function hr(ot,wt,ct,Nt){return ht(ot.loadChildren()).pipe((0,q.T)(t1),(0,Y.Z)(pn=>pn instanceof n.Co$||Array.isArray(pn)?(0,m.of)(pn):(0,g.H)(wt.compileModuleAsync(pn))),(0,q.T)(pn=>{Nt&&Nt(ot);let Vn,je,Kn=!1;return Array.isArray(pn)?(je=pn,!0):(Vn=pn.create(ct).injector,je=Vn.get(Rl,[],{optional:!0,self:!0}).flat()),{routes:je.map(br),injector:Vn}}))}(Nt,this.compiler,ct,this.onLoadEndListener).pipe((0,Me.j)(()=>{this.childrenLoaders.delete(Nt)})),je=new o.G(Vn,()=>new C.B).pipe((0,me.B)());return this.childrenLoaders.set(Nt,je),je}static#e=this.\u0275fac=function(Nt){return new(Nt||ot)};static#t=this.\u0275prov=n.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})();function t1(ot){return function Ul(ot){return ot&&"object"==typeof ot&&"default"in ot}(ot)?ot.default:ot}let L0=(()=>{class ot{static#e=this.\u0275fac=function(Nt){return new(Nt||ot)};static#t=this.\u0275prov=n.jDH({token:ot,factory:()=>(0,n.WQX)(Ll),providedIn:"root"})}return ot})(),Ll=(()=>{class ot{shouldProcessUrl(ct){return!0}extract(ct){return ct}merge(ct,Nt){return ct}static#e=this.\u0275fac=function(Nt){return new(Nt||ot)};static#t=this.\u0275prov=n.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})();const k0=new n.nKC(""),Gl=new n.nKC("");function fl(ot,wt,ct){const Nt=ot.get(Gl),pn=ot.get(M.qQ);return ot.get(n.SKi).runOutsideAngular(()=>{if(!pn.startViewTransition||Nt.skipNextTransition)return Nt.skipNextTransition=!1,new Promise(Pt=>setTimeout(Pt));let Vn;const je=new Promise(Pt=>{Vn=Pt}),Kn=pn.startViewTransition(()=>(Vn(),function N1(ot){return new Promise(wt=>{(0,n.mal)({read:()=>setTimeout(wt)},{injector:ot})})}(ot))),{onViewTransitionCreated:De}=Nt;return De&&(0,n.N4e)(ot,()=>De({transition:Kn,from:wt,to:ct})),je})}const bt=new n.nKC("");let Ln=(()=>{class ot{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new C.B,this.transitionAbortSubject=new C.B,this.configLoader=(0,n.WQX)(hl),this.environmentInjector=(0,n.WQX)(n.uvJ),this.urlSerializer=(0,n.WQX)(zn),this.rootContexts=(0,n.WQX)(l1),this.location=(0,n.WQX)(M.aZ),this.inputBindingEnabled=null!==(0,n.WQX)(ma,{optional:!0}),this.titleStrategy=(0,n.WQX)(rr),this.options=(0,n.WQX)(B1,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.WQX)(L0),this.createViewTransition=(0,n.WQX)(k0,{optional:!0}),this.navigationErrorHandler=(0,n.WQX)(bt,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,m.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=pn=>this.events.next(new _s(pn)),this.configLoader.onLoadStartListener=pn=>this.events.next(new Ji(pn))}complete(){this.transitions?.complete()}handleNavigationRequest(ct){const Nt=++this.navigationId;this.transitions?.next({...this.transitions.value,...ct,id:Nt})}setupNavigations(ct,Nt,pn){return this.transitions=new T.t({id:0,currentUrlTree:Nt,currentRawUrl:Nt,extractedUrl:this.urlHandlingStrategy.extract(Nt),urlAfterRedirects:this.urlHandlingStrategy.extract(Nt),rawUrl:Nt,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:ut,restoredState:null,currentSnapshot:pn.snapshot,targetSnapshot:null,currentRouterState:pn,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,k.p)(Vn=>0!==Vn.id),(0,q.T)(Vn=>({...Vn,extractedUrl:this.urlHandlingStrategy.extract(Vn.rawUrl)})),(0,z.n)(Vn=>{let je=!1,Kn=!1;return(0,m.of)(Vn).pipe((0,z.n)(De=>{if(this.navigationId>Vn.id)return this.cancelNavigationTransition(Vn,"",He.SupersededByNewNavigation),L.w;this.currentTransition=Vn,this.currentNavigation={id:De.id,initialUrl:De.rawUrl,extractedUrl:De.extractedUrl,targetBrowserUrl:"string"==typeof De.extras.browserUrl?this.urlSerializer.parse(De.extras.browserUrl):De.extras.browserUrl,trigger:De.source,extras:De.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Pt=!ct.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Pt&&"reload"!==(De.extras.onSameUrlNavigation??ct.onSameUrlNavigation)){const pi="";return this.events.next(new Ot(De.id,this.urlSerializer.serialize(De.rawUrl),pi,fe.IgnoredSameUrlNavigation)),De.resolve(!1),L.w}if(this.urlHandlingStrategy.shouldProcessUrl(De.rawUrl))return(0,m.of)(De).pipe((0,z.n)(pi=>{const Ls=this.transitions?.getValue();return this.events.next(new Rt(pi.id,this.urlSerializer.serialize(pi.extractedUrl),pi.source,pi.restoredState)),Ls!==this.transitions?.getValue()?L.w:Promise.resolve(pi)}),function Ra(ot,wt,ct,Nt,pn,Vn){return(0,Y.Z)(je=>function Ut(ot,wt,ct,Nt,pn,Vn,je="emptyOnly"){return new vs(ot,wt,ct,Nt,pn,je,Vn).recognize()}(ot,wt,ct,Nt,je.extractedUrl,pn,Vn).pipe((0,q.T)(({state:Kn,tree:De})=>({...je,targetSnapshot:Kn,urlAfterRedirects:De}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,ct.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,j.M)(pi=>{Vn.targetSnapshot=pi.targetSnapshot,Vn.urlAfterRedirects=pi.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:pi.urlAfterRedirects};const Ls=new Jn(pi.id,this.urlSerializer.serialize(pi.extractedUrl),this.urlSerializer.serialize(pi.urlAfterRedirects),pi.targetSnapshot);this.events.next(Ls)}));if(Pt&&this.urlHandlingStrategy.shouldProcessUrl(De.currentRawUrl)){const{id:pi,extractedUrl:Ls,source:lo,restoredState:Ro,extras:to}=De,Er=new Rt(pi,this.urlSerializer.serialize(Ls),lo,Ro);this.events.next(Er);const Xr=_1(this.rootComponentType).snapshot;return this.currentTransition=Vn={...De,targetSnapshot:Xr,urlAfterRedirects:Ls,extras:{...to,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Ls,(0,m.of)(Vn)}{const pi="";return this.events.next(new Ot(De.id,this.urlSerializer.serialize(De.extractedUrl),pi,fe.IgnoredByUrlHandlingStrategy)),De.resolve(!1),L.w}}),(0,j.M)(De=>{const Pt=new Oi(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects),De.targetSnapshot);this.events.next(Pt)}),(0,q.T)(De=>(this.currentTransition=Vn={...De,guards:Dl(De.targetSnapshot,De.currentSnapshot,this.rootContexts)},Vn)),function un(ot,wt){return(0,Y.Z)(ct=>{const{targetSnapshot:Nt,currentSnapshot:pn,guards:{canActivateChecks:Vn,canDeactivateChecks:je}}=ct;return 0===je.length&&0===Vn.length?(0,m.of)({...ct,guardsResult:!0}):function tn(ot,wt,ct,Nt){return(0,g.H)(ot).pipe((0,Y.Z)(pn=>function Al(ot,wt,ct,Nt,pn){const Vn=wt&&wt.routeConfig?wt.routeConfig.canDeactivate:null;if(!Vn||0===Vn.length)return(0,m.of)(!0);const je=Vn.map(Kn=>{const De=fa(wt)??pn,Pt=vl(Kn,De);return ht(function W1(ot){return ot&&ul(ot.canDeactivate)}(Pt)?Pt.canDeactivate(ot,wt,ct,Nt):(0,n.N4e)(De,()=>Pt(ot,wt,ct,Nt))).pipe((0,x.$)())});return(0,m.of)(je).pipe(h0())}(pn.component,pn.route,ct,wt,Nt)),(0,x.$)(pn=>!0!==pn,!0))}(je,Nt,pn,ot).pipe((0,Y.Z)(Kn=>Kn&&function g1(ot){return"boolean"==typeof ot}(Kn)?function Dt(ot,wt,ct,Nt){return(0,g.H)(wt).pipe((0,B.H)(pn=>(0,E.x)(function zi(ot,wt){return null!==ot&&wt&&wt(new js(ot)),(0,m.of)(!0)}(pn.route.parent,Nt),function qn(ot,wt){return null!==ot&&wt&&wt(new zs(ot)),(0,m.of)(!0)}(pn.route,Nt),function xr(ot,wt,ct){const Nt=wt[wt.length-1],Vn=wt.slice(0,wt.length-1).reverse().map(je=>function mo(ot){const wt=ot.routeConfig?ot.routeConfig.canActivateChild:null;return wt&&0!==wt.length?{node:ot,guards:wt}:null}(je)).filter(je=>null!==je).map(je=>(0,y.v)(()=>{const Kn=je.guards.map(De=>{const Pt=fa(je.node)??ct,mt=vl(De,Pt);return ht(function Jo(ot){return ot&&ul(ot.canActivateChild)}(mt)?mt.canActivateChild(Nt,ot):(0,n.N4e)(Pt,()=>mt(Nt,ot))).pipe((0,x.$)())});return(0,m.of)(Kn).pipe(h0())}));return(0,m.of)(Vn).pipe(h0())}(ot,pn.path,ct),function yo(ot,wt,ct){const Nt=wt.routeConfig?wt.routeConfig.canActivate:null;if(!Nt||0===Nt.length)return(0,m.of)(!0);const pn=Nt.map(Vn=>(0,y.v)(()=>{const je=fa(wt)??ct,Kn=vl(Vn,je);return ht(function Dr(ot){return ot&&ul(ot.canActivate)}(Kn)?Kn.canActivate(wt,ot):(0,n.N4e)(je,()=>Kn(wt,ot))).pipe((0,x.$)())}));return(0,m.of)(pn).pipe(h0())}(ot,pn.route,ct))),(0,x.$)(pn=>!0!==pn,!0))}(Nt,Vn,ot,wt):(0,m.of)(Kn)),(0,q.T)(Kn=>({...ct,guardsResult:Kn})))})}(this.environmentInjector,De=>this.events.next(De)),(0,j.M)(De=>{if(Vn.guardsResult=De.guardsResult,De.guardsResult&&"boolean"!=typeof De.guardsResult)throw Co(0,De.guardsResult);const Pt=new Ci(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects),De.targetSnapshot,!!De.guardsResult);this.events.next(Pt)}),(0,k.p)(De=>!!De.guardsResult||(this.cancelNavigationTransition(De,"",He.GuardRejected),!1)),xo(De=>{if(De.guards.canActivateChecks.length)return(0,m.of)(De).pipe((0,j.M)(Pt=>{const mt=new Ui(Pt.id,this.urlSerializer.serialize(Pt.extractedUrl),this.urlSerializer.serialize(Pt.urlAfterRedirects),Pt.targetSnapshot);this.events.next(mt)}),(0,z.n)(Pt=>{let mt=!1;return(0,m.of)(Pt).pipe(function o0(ot,wt){return(0,Y.Z)(ct=>{const{targetSnapshot:Nt,guards:{canActivateChecks:pn}}=ct;if(!pn.length)return(0,m.of)(ct);const Vn=new Set(pn.map(De=>De.route)),je=new Set;for(const De of Vn)if(!je.has(De))for(const Pt of pl(De))je.add(Pt);let Kn=0;return(0,g.H)(je).pipe((0,B.H)(De=>Vn.has(De)?function B0(ot,wt,ct,Nt){const pn=ot.routeConfig,Vn=ot._resolve;return void 0!==pn?.title&&!Ao(pn)&&(Vn[Xe]=pn.title),function M1(ot,wt,ct,Nt){const pn=Ct(ot);if(0===pn.length)return(0,m.of)({});const Vn={};return(0,g.H)(pn).pipe((0,Y.Z)(je=>function Gr(ot,wt,ct,Nt){const pn=fa(wt)??Nt,Vn=vl(ot,pn);return ht(Vn.resolve?Vn.resolve(wt,ct):(0,n.N4e)(pn,()=>Vn(wt,ct)))}(ot[je],wt,ct,Nt).pipe((0,x.$)(),(0,j.M)(Kn=>{if(Kn instanceof Zr)throw Co(new di,Kn);Vn[je]=Kn}))),pe(1),(0,de.u)(Vn),(0,$.W)(je=>_a(je)?L.w:(0,b.$)(je)))}(Vn,ot,wt,Nt).pipe((0,q.T)(je=>(ot._resolvedData=je,ot.data=cl(ot,ot.parent,ct).resolve,null)))}(De,Nt,ot,wt):(De.data=cl(De,De.parent,ot).resolve,(0,m.of)(void 0))),(0,j.M)(()=>Kn++),pe(1),(0,Y.Z)(De=>Kn===je.size?(0,m.of)(ct):L.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,j.M)({next:()=>mt=!0,complete:()=>{mt||this.cancelNavigationTransition(Pt,"",He.NoDataFromResolver)}}))}),(0,j.M)(Pt=>{const mt=new ps(Pt.id,this.urlSerializer.serialize(Pt.extractedUrl),this.urlSerializer.serialize(Pt.urlAfterRedirects),Pt.targetSnapshot);this.events.next(mt)}))}),xo(De=>{const Pt=mt=>{const pi=[];mt.routeConfig?.loadComponent&&!mt.routeConfig._loadedComponent&&pi.push(this.configLoader.loadComponent(mt.routeConfig).pipe((0,j.M)(Ls=>{mt.component=Ls}),(0,q.T)(()=>{})));for(const Ls of mt.children)pi.push(...Pt(Ls));return pi};return(0,O.z)(Pt(De.targetSnapshot.root)).pipe((0,Q.U)(null),(0,F.s)(1))}),xo(()=>this.afterPreactivation()),(0,z.n)(()=>{const{currentSnapshot:De,targetSnapshot:Pt}=Vn,mt=this.createViewTransition?.(this.environmentInjector,De.root,Pt.root);return mt?(0,g.H)(mt).pipe((0,q.T)(()=>Vn)):(0,m.of)(Vn)}),(0,q.T)(De=>{const Pt=function Ia(ot,wt,ct){const Nt=Vs(ot,wt._root,ct?ct._root:void 0);return new X1(Nt,wt)}(ct.routeReuseStrategy,De.targetSnapshot,De.currentRouterState);return this.currentTransition=Vn={...De,targetRouterState:Pt},this.currentNavigation.targetRouterState=Pt,Vn}),(0,j.M)(()=>{this.events.next(new rs)}),((ot,wt,ct,Nt)=>(0,q.T)(pn=>(new sr(wt,pn.targetRouterState,pn.currentRouterState,ct,Nt).activate(ot),pn)))(this.rootContexts,ct.routeReuseStrategy,De=>this.events.next(De),this.inputBindingEnabled),(0,F.s)(1),(0,j.M)({next:De=>{je=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Jt(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects))),this.titleStrategy?.updateTitle(De.targetRouterState.snapshot),De.resolve(!0)},complete:()=>{je=!0}}),(0,be.Q)(this.transitionAbortSubject.pipe((0,j.M)(De=>{throw De}))),(0,Me.j)(()=>{!je&&!Kn&&this.cancelNavigationTransition(Vn,"",He.SupersededByNewNavigation),this.currentTransition?.id===Vn.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,$.W)(De=>{if(Kn=!0,yr(De))this.events.next(new nt(Vn.id,this.urlSerializer.serialize(Vn.extractedUrl),De.message,De.cancellationCode)),function tr(ot){return yr(ot)&&cn(ot.url)}(De)?this.events.next(new ao(De.url,De.navigationBehaviorOptions)):Vn.resolve(!1);else{const Pt=new rn(Vn.id,this.urlSerializer.serialize(Vn.extractedUrl),De,Vn.targetSnapshot??void 0);try{const mt=(0,n.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Pt));if(mt instanceof Zr){const{message:pi,cancellationCode:Ls}=Co(0,mt);this.events.next(new nt(Vn.id,this.urlSerializer.serialize(Vn.extractedUrl),pi,Ls)),this.events.next(new ao(mt.redirectTo,mt.navigationBehaviorOptions))}else{this.events.next(Pt);const pi=ct.errorHandler(De);Vn.resolve(!!pi)}}catch(mt){this.options.resolveNavigationPromiseOnError?Vn.resolve(!1):Vn.reject(mt)}}return L.w}))}))}cancelNavigationTransition(ct,Nt,pn){const Vn=new nt(ct.id,this.urlSerializer.serialize(ct.extractedUrl),Nt,pn);this.events.next(Vn),ct.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const ct=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),Nt=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return ct.toString()!==Nt?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static#e=this.\u0275fac=function(Nt){return new(Nt||ot)};static#t=this.\u0275prov=n.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})();function kt(ot){return ot!==ut}let dn=(()=>{class ot{static#e=this.\u0275fac=function(Nt){return new(Nt||ot)};static#t=this.\u0275prov=n.jDH({token:ot,factory:()=>(0,n.WQX)(is),providedIn:"root"})}return ot})();class si{shouldDetach(wt){return!1}store(wt,ct){}shouldAttach(wt){return!1}retrieve(wt){return null}shouldReuseRoute(wt,ct){return wt.routeConfig===ct.routeConfig}}let is=(()=>{class ot extends si{static#e=this.\u0275fac=(()=>{let ct;return function(pn){return(ct||(ct=n.xGo(ot)))(pn||ot)}})();static#t=this.\u0275prov=n.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})(),bs=(()=>{class ot{static#e=this.\u0275fac=function(Nt){return new(Nt||ot)};static#t=this.\u0275prov=n.jDH({token:ot,factory:()=>(0,n.WQX)(Xs),providedIn:"root"})}return ot})(),Xs=(()=>{class ot extends bs{constructor(){super(...arguments),this.location=(0,n.WQX)(M.aZ),this.urlSerializer=(0,n.WQX)(zn),this.options=(0,n.WQX)(B1,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.WQX)(L0),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Xt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=_1(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(ct){return this.location.subscribe(Nt=>{"popstate"===Nt.type&&ct(Nt.url,Nt.state)})}handleRouterEvent(ct,Nt){if(ct instanceof Rt)this.stateMemento=this.createStateMemento();else if(ct instanceof Ot)this.rawUrlTree=Nt.initialUrl;else if(ct instanceof Jn){if("eager"===this.urlUpdateStrategy&&!Nt.extras.skipLocationChange){const pn=this.urlHandlingStrategy.merge(Nt.finalUrl,Nt.initialUrl);this.setBrowserUrl(Nt.targetBrowserUrl??pn,Nt)}}else ct instanceof rs?(this.currentUrlTree=Nt.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Nt.finalUrl,Nt.initialUrl),this.routerState=Nt.targetRouterState,"deferred"===this.urlUpdateStrategy&&!Nt.extras.skipLocationChange&&this.setBrowserUrl(Nt.targetBrowserUrl??this.rawUrlTree,Nt)):ct instanceof nt&&(ct.code===He.GuardRejected||ct.code===He.NoDataFromResolver)?this.restoreHistory(Nt):ct instanceof rn?this.restoreHistory(Nt,!0):ct instanceof Jt&&(this.lastSuccessfulId=ct.id,this.currentPageId=this.browserPageId)}setBrowserUrl(ct,Nt){const pn=ct instanceof Xt?this.urlSerializer.serialize(ct):ct;if(this.location.isCurrentPathEqualTo(pn)||Nt.extras.replaceUrl){const je={...Nt.extras.state,...this.generateNgRouterState(Nt.id,this.browserPageId)};this.location.replaceState(pn,"",je)}else{const Vn={...Nt.extras.state,...this.generateNgRouterState(Nt.id,this.browserPageId+1)};this.location.go(pn,"",Vn)}}restoreHistory(ct,Nt=!1){if("computed"===this.canceledNavigationResolution){const Vn=this.currentPageId-this.browserPageId;0!==Vn?this.location.historyGo(Vn):this.currentUrlTree===ct.finalUrl&&0===Vn&&(this.resetState(ct),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Nt&&this.resetState(ct),this.resetUrlToCurrentUrlTree())}resetState(ct){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ct.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(ct,Nt){return"computed"===this.canceledNavigationResolution?{navigationId:ct,\u0275routerPageId:Nt}:{navigationId:ct}}static#e=this.\u0275fac=(()=>{let ct;return function(pn){return(ct||(ct=n.xGo(ot)))(pn||ot)}})();static#t=this.\u0275prov=n.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})();var jr=function(ot){return ot[ot.COMPLETE=0]="COMPLETE",ot[ot.FAILED=1]="FAILED",ot[ot.REDIRECTING=2]="REDIRECTING",ot}(jr||{});function Mr(ot,wt){ot.events.pipe((0,k.p)(ct=>ct instanceof Jt||ct instanceof nt||ct instanceof rn||ct instanceof Ot),(0,q.T)(ct=>ct instanceof Jt||ct instanceof Ot?jr.COMPLETE:ct instanceof nt&&(ct.code===He.Redirect||ct.code===He.SupersededByNewNavigation)?jr.REDIRECTING:jr.FAILED),(0,k.p)(ct=>ct!==jr.REDIRECTING),(0,F.s)(1)).subscribe(()=>{wt()})}function Ma(ot){throw ot}const Rs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},fr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Fo=(()=>{class ot{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,n.WQX)(n.H3F),this.stateManager=(0,n.WQX)(bs),this.options=(0,n.WQX)(B1,{optional:!0})||{},this.pendingTasks=(0,n.WQX)(n.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.WQX)(Ln),this.urlSerializer=(0,n.WQX)(zn),this.location=(0,n.WQX)(M.aZ),this.urlHandlingStrategy=(0,n.WQX)(L0),this._events=new C.B,this.errorHandler=this.options.errorHandler||Ma,this.navigated=!1,this.routeReuseStrategy=(0,n.WQX)(dn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.WQX)(Rl,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.WQX)(ma,{optional:!0}),this.eventsSubscription=new w.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:ct=>{this.console.warn(ct)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const ct=this.navigationTransitions.events.subscribe(Nt=>{try{const pn=this.navigationTransitions.currentTransition,Vn=this.navigationTransitions.currentNavigation;if(null!==pn&&null!==Vn)if(this.stateManager.handleRouterEvent(Nt,Vn),Nt instanceof nt&&Nt.code!==He.Redirect&&Nt.code!==He.SupersededByNewNavigation)this.navigated=!0;else if(Nt instanceof Jt)this.navigated=!0;else if(Nt instanceof ao){const je=Nt.navigationBehaviorOptions,Kn=this.urlHandlingStrategy.merge(Nt.url,pn.currentRawUrl),De={browserUrl:pn.extras.browserUrl,info:pn.extras.info,skipLocationChange:pn.extras.skipLocationChange,replaceUrl:pn.extras.replaceUrl||"eager"===this.urlUpdateStrategy||kt(pn.source),...je};this.scheduleNavigation(Kn,ut,null,De,{resolve:pn.resolve,reject:pn.reject,promise:pn.promise})}(function E0(ot){return!(ot instanceof rs||ot instanceof ao)})(Nt)&&this._events.next(Nt)}catch(pn){this.navigationTransitions.transitionAbortSubject.next(pn)}});this.eventsSubscription.add(ct)}resetRootComponentType(ct){this.routerState.root.component=ct,this.navigationTransitions.rootComponentType=ct}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ut,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((ct,Nt)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(ct,"popstate",Nt)},0)})}navigateToSyncWithBrowser(ct,Nt,pn){const Vn={replaceUrl:!0},je=pn?.navigationId?pn:null;if(pn){const De={...pn};delete De.navigationId,delete De.\u0275routerPageId,0!==Object.keys(De).length&&(Vn.state=De)}const Kn=this.parseUrl(ct);this.scheduleNavigation(Kn,Nt,je,Vn)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(ct){this.config=ct.map(br),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(ct,Nt={}){const{relativeTo:pn,queryParams:Vn,fragment:je,queryParamsHandling:Kn,preserveFragment:De}=Nt,Pt=De?this.currentUrlTree.fragment:je;let pi,mt=null;switch(Kn??this.options.defaultQueryParamsHandling){case"merge":mt={...this.currentUrlTree.queryParams,...Vn};break;case"preserve":mt=this.currentUrlTree.queryParams;break;default:mt=Vn||null}null!==mt&&(mt=this.removeEmptyProps(mt));try{pi=vi(pn?pn.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof ct[0]||"/"!==ct[0][0])&&(ct=[]),pi=this.currentUrlTree.root}return ui(pi,ct,mt,Pt??null)}navigateByUrl(ct,Nt={skipLocationChange:!1}){const pn=cn(ct)?ct:this.parseUrl(ct),Vn=this.urlHandlingStrategy.merge(pn,this.rawUrlTree);return this.scheduleNavigation(Vn,ut,null,Nt)}navigate(ct,Nt={skipLocationChange:!1}){return function Va(ot){for(let wt=0;wt<ot.length;wt++)if(null==ot[wt])throw new n.wOt(4008,!1)}(ct),this.navigateByUrl(this.createUrlTree(ct,Nt),Nt)}serializeUrl(ct){return this.urlSerializer.serialize(ct)}parseUrl(ct){try{return this.urlSerializer.parse(ct)}catch{return this.urlSerializer.parse("/")}}isActive(ct,Nt){let pn;if(pn=!0===Nt?{...Rs}:!1===Nt?{...fr}:Nt,cn(ct))return Se(this.currentUrlTree,ct,pn);const Vn=this.parseUrl(ct);return Se(this.currentUrlTree,Vn,pn)}removeEmptyProps(ct){return Object.entries(ct).reduce((Nt,[pn,Vn])=>(null!=Vn&&(Nt[pn]=Vn),Nt),{})}scheduleNavigation(ct,Nt,pn,Vn,je){if(this.disposed)return Promise.resolve(!1);let Kn,De,Pt;je?(Kn=je.resolve,De=je.reject,Pt=je.promise):Pt=new Promise((pi,Ls)=>{Kn=pi,De=Ls});const mt=this.pendingTasks.add();return Mr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(mt))}),this.navigationTransitions.handleNavigationRequest({source:Nt,restoredState:pn,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:ct,extras:Vn,resolve:Kn,reject:De,promise:Pt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Pt.catch(pi=>Promise.reject(pi))}static#e=this.\u0275fac=function(Nt){return new(Nt||ot)};static#t=this.\u0275prov=n.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})(),k1=(()=>{class ot{constructor(ct,Nt,pn,Vn,je,Kn){this.router=ct,this.route=Nt,this.tabIndexAttribute=pn,this.renderer=Vn,this.el=je,this.locationStrategy=Kn,this.href=null,this.onChanges=new C.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const De=je.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===De||"area"===De,this.isAnchorElement?this.subscription=ct.events.subscribe(Pt=>{Pt instanceof Jt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(ct){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ct)}ngOnChanges(ct){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(ct){null==ct?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=cn(ct)||Array.isArray(ct)?ct:[ct],this.setTabIndexIfNotOnNativeEl("0"))}onClick(ct,Nt,pn,Vn,je){const Kn=this.urlTree;return!!(null===Kn||this.isAnchorElement&&(0!==ct||Nt||pn||Vn||je||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Kn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const ct=this.urlTree;this.href=null!==ct&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(ct)):null;const Nt=null===this.href?null:(0,n.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Nt)}applyAttributeValue(ct,Nt){const pn=this.renderer,Vn=this.el.nativeElement;null!==Nt?pn.setAttribute(Vn,ct,Nt):pn.removeAttribute(Vn,ct)}get urlTree(){return null===this.routerLinkInput?null:cn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(Nt){return new(Nt||ot)(n.rXU(Fo),n.rXU(Ga),n.kS0("tabindex"),n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(M.hb))};static#t=this.\u0275dir=n.FsC({type:ot,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Nt,pn){1&Nt&&n.bIt("click",function(je){return pn.onClick(je.button,je.ctrlKey,je.shiftKey,je.altKey,je.metaKey)}),2&Nt&&n.BMQ("target",pn.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",n.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",n.L39],replaceUrl:[2,"replaceUrl","replaceUrl",n.L39],routerLink:"routerLink"},standalone:!0,features:[n.GFd,n.OA$]})}return ot})();class Ja{}let c1=(()=>{class ot{constructor(ct,Nt,pn,Vn,je){this.router=ct,this.injector=pn,this.preloadingStrategy=Vn,this.loader=je}setUpPreloading(){this.subscription=this.router.events.pipe((0,k.p)(ct=>ct instanceof Jt),(0,B.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ct,Nt){const pn=[];for(const Vn of Nt){Vn.providers&&!Vn._injector&&(Vn._injector=(0,n.Ol2)(Vn.providers,ct,`Route: ${Vn.path}`));const je=Vn._injector??ct,Kn=Vn._loadedInjector??je;(Vn.loadChildren&&!Vn._loadedRoutes&&void 0===Vn.canLoad||Vn.loadComponent&&!Vn._loadedComponent)&&pn.push(this.preloadConfig(je,Vn)),(Vn.children||Vn._loadedRoutes)&&pn.push(this.processRoutes(Kn,Vn.children??Vn._loadedRoutes))}return(0,g.H)(pn).pipe((0,Le.U)())}preloadConfig(ct,Nt){return this.preloadingStrategy.preload(Nt,()=>{let pn;pn=Nt.loadChildren&&void 0===Nt.canLoad?this.loader.loadChildren(ct,Nt):(0,m.of)(null);const Vn=pn.pipe((0,Y.Z)(je=>null===je?(0,m.of)(void 0):(Nt._loadedRoutes=je.routes,Nt._loadedInjector=je.injector,this.processRoutes(je.injector??ct,je.routes))));if(Nt.loadComponent&&!Nt._loadedComponent){const je=this.loader.loadComponent(Nt);return(0,g.H)([Vn,je]).pipe((0,Le.U)())}return Vn})}static#e=this.\u0275fac=function(Nt){return new(Nt||ot)(n.KVO(Fo),n.KVO(n.Ql9),n.KVO(n.uvJ),n.KVO(Ja),n.KVO(hl))};static#t=this.\u0275prov=n.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}return ot})();const j1=new n.nKC("");let ii=(()=>{class ot{constructor(ct,Nt,pn,Vn,je={}){this.urlSerializer=ct,this.transitions=Nt,this.viewportScroller=pn,this.zone=Vn,this.options=je,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},je.scrollPositionRestoration||="disabled",je.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(ct=>{ct instanceof Rt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ct.navigationTrigger,this.restoredId=ct.restoredState?ct.restoredState.navigationId:0):ct instanceof Jt?(this.lastId=ct.id,this.scheduleScrollEvent(ct,this.urlSerializer.parse(ct.urlAfterRedirects).fragment)):ct instanceof Ot&&ct.code===fe.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(ct,this.urlSerializer.parse(ct.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ct=>{ct instanceof ds&&(ct.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ct.position):ct.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ct.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ct,Nt){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ds(ct,"popstate"===this.lastSource?this.store[this.restoredId]:null,Nt))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Nt){n.QTQ()};static#t=this.\u0275prov=n.jDH({token:ot,factory:ot.\u0275fac})}return ot})();function Z1(ot,wt){return{\u0275kind:ot,\u0275providers:wt}}function ec(){const ot=(0,n.WQX)(n.zZn);return wt=>{const ct=ot.get(n.o8S);if(wt!==ct.components[0])return;const Nt=ot.get(Fo),pn=ot.get(Zn);1===ot.get(s1)&&Nt.initialNavigation(),ot.get(Nl,null,n.$GK.Optional)?.setUpPreloading(),ot.get(j1,null,n.$GK.Optional)?.init(),Nt.resetRootComponentType(ct.componentTypes[0]),pn.closed||(pn.next(),pn.complete(),pn.unsubscribe())}}const Zn=new n.nKC("",{factory:()=>new C.B}),s1=new n.nKC("",{providedIn:"root",factory:()=>1}),Nl=new n.nKC("");function u1(ot){return Z1(0,[{provide:Nl,useExisting:c1},{provide:Ja,useExisting:ot}])}function f0(ot){return Z1(9,[{provide:k0,useValue:fl},{provide:Gl,useValue:{skipNextTransition:!!ot?.skipInitialTransition,...ot}}])}const tc=new n.nKC("ROUTER_FORROOT_GUARD"),D1=[M.aZ,{provide:zn,useClass:di},Fo,l1,{provide:Ga,useFactory:function ql(ot){return ot.routerState.root},deps:[Fo]},hl,[]];let Gc=(()=>{class ot{constructor(ct){}static forRoot(ct,Nt){return{ngModule:ot,providers:[D1,[],{provide:Rl,multi:!0,useValue:ct},{provide:tc,useFactory:nc,deps:[[Fo,new n.Xx1,new n.kdw]]},{provide:B1,useValue:Nt||{}},Nt?.useHash?{provide:M.hb,useClass:M.fw}:{provide:M.hb,useClass:M.Sm},{provide:j1,useFactory:()=>{const ot=(0,n.WQX)(M.Xr),wt=(0,n.WQX)(n.SKi),ct=(0,n.WQX)(B1),Nt=(0,n.WQX)(Ln),pn=(0,n.WQX)(zn);return ct.scrollOffset&&ot.setOffset(ct.scrollOffset),new ii(pn,Nt,ot,wt,ct)}},Nt?.preloadingStrategy?u1(Nt.preloadingStrategy).\u0275providers:[],Nt?.initialNavigation?o1(Nt):[],Nt?.bindToComponentInputs?Z1(8,[Lr,{provide:ma,useExisting:Lr}]).\u0275providers:[],Nt?.enableViewTransitions?f0().\u0275providers:[],[{provide:yl,useFactory:ec},{provide:n.iLQ,multi:!0,useExisting:yl}]]}}static forChild(ct){return{ngModule:ot,providers:[{provide:Rl,multi:!0,useValue:ct}]}}static#e=this.\u0275fac=function(Nt){return new(Nt||ot)(n.KVO(tc,8))};static#t=this.\u0275mod=n.$C({type:ot});static#n=this.\u0275inj=n.G2t({})}return ot})();function nc(ot){return"guarded"}function o1(ot){return["disabled"===ot.initialNavigation?Z1(3,[{provide:n.hnV,multi:!0,useFactory:()=>{const wt=(0,n.WQX)(Fo);return()=>{wt.setUpLocationChangeListener()}}},{provide:s1,useValue:2}]).\u0275providers:[],"enabledBlocking"===ot.initialNavigation?Z1(2,[{provide:s1,useValue:0},{provide:n.hnV,multi:!0,deps:[n.zZn],useFactory:wt=>{const ct=wt.get(M.hj,Promise.resolve());return()=>ct.then(()=>new Promise(Nt=>{const pn=wt.get(Fo),Vn=wt.get(Zn);Mr(pn,()=>{Nt(!0)}),wt.get(Ln).afterPreactivation=()=>(Nt(!0),Vn.closed?(0,m.of)(void 0):Vn),pn.initialNavigation()}))}}]).\u0275providers:[]]}const yl=new n.nKC("")},17552:(at,N,s)=>{"use strict";s.d(N,{X7:()=>g});var n=s(93953);const a=new n.nKC("JWT_OPTIONS");let g=(()=>{class D{constructor(y=null){this.tokenGetter=y&&y.tokenGetter||function(){}}urlBase64Decode(y){let I=y.replace(/-/g,"+").replace(/_/g,"/");switch(I.length%4){case 0:break;case 2:I+="==";break;case 3:I+="=";break;default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(I)}b64decode(y){let b="";if((y=String(y).replace(/=+$/,"")).length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let o,C,L=0,w=0;C=y.charAt(w++);~C&&(o=L%4?64*o+C:C,L++%4)?b+=String.fromCharCode(255&o>>(-2*L&6)):0)C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(C);return b}b64DecodeUnicode(y){return decodeURIComponent(Array.prototype.map.call(this.b64decode(y),I=>"%"+("00"+I.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(y=this.tokenGetter()){return y instanceof Promise?y.then(I=>this._decodeToken(I)):this._decodeToken(y)}_decodeToken(y){if(!y||""===y)return null;const I=y.split(".");if(3!==I.length)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");const b=this.urlBase64Decode(I[1]);if(!b)throw new Error("Cannot decode the token.");return JSON.parse(b)}getTokenExpirationDate(y=this.tokenGetter()){return y instanceof Promise?y.then(I=>this._getTokenExpirationDate(I)):this._getTokenExpirationDate(y)}_getTokenExpirationDate(y){let I;if(I=this.decodeToken(y),!I||!I.hasOwnProperty("exp"))return null;const b=new Date(0);return b.setUTCSeconds(I.exp),b}isTokenExpired(y=this.tokenGetter(),I){return y instanceof Promise?y.then(b=>this._isTokenExpired(b,I)):this._isTokenExpired(y,I)}_isTokenExpired(y,I){if(!y||""===y)return!0;const b=this.getTokenExpirationDate(y);return I=I||0,null!==b&&!(b.valueOf()>(new Date).valueOf()+1e3*I)}getAuthScheme(y,I){return"function"==typeof y?y(I):y}}return D.\u0275fac=function(y){return new(y||D)(n.KVO(a))},D.\u0275prov=n.jDH({token:D,factory:D.\u0275fac}),D})()},62542:(at,N,s)=>{"use strict";s.d(N,{Hg:()=>I,Ud:()=>b});var n=s(93953),a=s(60177);const g=["*"];function m(L,o){if(1&L){const C=n.RV6();n.j41(0,"div",2),n.bIt("click",function(){n.eBV(C);const M=n.XpG();return n.Njj(M.toggleZoom())}),n.k0s()}if(2&L){const C=n.XpG();n.AVh("pz-zoom-button-out",C.isZoomedIn)}}const T={transitionDuration:200,doubleTap:!0,doubleTapScale:2,limitZoom:"original image size",autoZoomOut:!1,zoomControlScale:1,minPanScale:1.0001,minScale:0,listeners:"mouse and touch",wheel:!0,wheelZoomFactor:.2,draggableImage:!1},O={"transition-duration":"transitionDuration",transitionDurationBackwardCompatibility:"transitionDuration","double-tap":"doubleTap",doubleTapBackwardCompatibility:"doubleTap","double-tap-scale":"doubleTapScale",doubleTapScaleBackwardCompatibility:"doubleTapScale","auto-zoom-out":"autoZoomOut",autoZoomOutBackwardCompatibility:"autoZoomOut","limit-zoom":"limitZoom",limitZoomBackwardCompatibility:"limitZoom"};class D{get touchListeners(){return this.properties.touchListeners?this.properties.touchListeners:this._touchListeners}get mouseListeners(){return this.properties.mouseListeners?this.properties.mouseListeners:this._mouseListeners}get otherListeners(){return this.properties.otherListeners?this.properties.otherListeners:this._otherListeners}constructor(o){this.eventType=void 0,this.handlers={},this.startX=0,this.startY=0,this.lastTap=0,this.doubleTapMinTimeout=300,this.tapMinTimeout=200,this.touchstartTime=0,this.i=0,this.isMousedown=!1,this._touchListeners={touchstart:"handleTouchstart",touchmove:"handleTouchmove",touchend:"handleTouchend"},this._mouseListeners={mousedown:"handleMousedown",mousemove:"handleMousemove",mouseup:"handleMouseup",wheel:"handleWheel"},this._otherListeners={resize:"handleResize"},this.handleTouchstart=C=>{this.elementPosition=this.getElementPosition(),this.touchstartTime=(new Date).getTime(),void 0===this.eventType&&this.getTouchstartPosition(C),this.runHandler("touchstart",C)},this.handleTouchmove=C=>{this.detectPan(C.touches)&&this.runHandler("pan",C),this.detectPinch(C)&&this.runHandler("pinch",C)},this.handleTouchend=C=>{const w=C.touches;this.detectDoubleTap()&&this.runHandler("double-tap",C),this.detectTap(),this.runHandler("touchend",C),this.eventType="touchend",w&&0===w.length&&(this.eventType=void 0,this.i=0)},this.handleMousedown=C=>{this.isMousedown=!0,this.elementPosition=this.getElementPosition(),this.touchstartTime=(new Date).getTime(),void 0===this.eventType&&this.getMousedownPosition(C),this.runHandler("mousedown",C)},this.handleMousemove=C=>{if(this.isMousedown){switch(this.runHandler("pan",C),this.detectLinearSwipe(C)){case"horizontal-swipe":C.swipeType="horizontal-swipe",this.runHandler("horizontal-swipe",C);break;case"vertical-swipe":C.swipeType="vertical-swipe",this.runHandler("vertical-swipe",C)}(this.detectLinearSwipe(C)||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)&&this.handleLinearSwipe(C)}},this.handleMouseup=C=>{this.detectTap(),this.isMousedown=!1,this.runHandler("mouseup",C),this.eventType=void 0,this.i=0},this.handleWheel=C=>{this.runHandler("wheel",C)},this.handleResize=C=>{this.runHandler("resize",C)},this.properties=o,this.element=this.properties.element,this.elementPosition=this.getElementPosition(),this.toggleEventListeners("addEventListener")}destroy(){this.toggleEventListeners("removeEventListener")}toggleEventListeners(o){let C;for(var w in C="mouse and touch"===this.properties.listeners?Object.assign(this.touchListeners,this.mouseListeners):this.detectTouchScreen()?this.touchListeners:this.mouseListeners,this.properties.resize&&(C=Object.assign(C,this.otherListeners)),C){const M=C[w];"resize"===w?("addEventListener"===o&&window.addEventListener(w,this[M],!1),"removeEventListener"===o&&window.removeEventListener(w,this[M],!1)):"mouseup"===w||"mousemove"===w?("addEventListener"===o&&document.addEventListener(w,this[M],!1),"removeEventListener"===o&&document.removeEventListener(w,this[M],!1)):("addEventListener"===o&&this.element.addEventListener(w,this[M],!1),"removeEventListener"===o&&this.element.removeEventListener(w,this[M],!1))}}addEventListeners(o){window.addEventListener(o,this[this._mouseListeners[o]],!1)}removeEventListeners(o){window.removeEventListener(o,this[this._mouseListeners[o]],!1)}handleLinearSwipe(o){this.i++,this.i>3&&(this.eventType=this.getLinearSwipeType(o)),"horizontal-swipe"===this.eventType&&this.runHandler("horizontal-swipe",o),"vertical-swipe"===this.eventType&&this.runHandler("vertical-swipe",o)}runHandler(o,C){this.handlers[o]&&this.handlers[o](C)}detectPan(o){return 1===o.length&&!this.eventType||"pan"===this.eventType}detectDoubleTap(){if(null!=this.eventType)return;const o=(new Date).getTime(),C=o-this.lastTap;if(clearTimeout(this.doubleTapTimeout),C<this.doubleTapMinTimeout&&C>0)return!0;this.doubleTapTimeout=setTimeout(()=>{clearTimeout(this.doubleTapTimeout)},this.doubleTapMinTimeout),this.lastTap=o}detectTap(){if(null!=this.eventType)return;const C=(new Date).getTime()-this.touchstartTime;C>0&&this.runHandler(C<this.tapMinTimeout?"tap":"longtap",{})}detectPinch(o){return 2===o.touches.length&&void 0===this.eventType||"pinch"===this.eventType}detectLinearSwipe(o){const C=o.touches;if(C){if(1===C.length&&!this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)return this.getLinearSwipeType(o)}else if(!this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)return this.getLinearSwipeType(o)}getLinearSwipeType(o){if("horizontal-swipe"!==this.eventType&&"vertical-swipe"!==this.eventType){const C=Math.abs(this.moveLeft(0,o)-this.startX);return 3*Math.abs(this.moveTop(0,o)-this.startY)>C?"vertical-swipe":"horizontal-swipe"}return this.eventType}getElementPosition(){return this.element.getBoundingClientRect()}getTouchstartPosition(o){this.startX=o.touches[0].clientX-this.elementPosition.left,this.startY=o.touches[0].clientY-this.elementPosition.top}getMousedownPosition(o){this.startX=o.clientX-this.elementPosition.left,this.startY=o.clientY-this.elementPosition.top}moveLeft(o,C){const w=C.touches;return w?w[o].clientX-this.elementPosition.left:C.clientX-this.elementPosition.left}moveTop(o,C){const w=C.touches;return w?w[o].clientY-this.elementPosition.top:C.clientY-this.elementPosition.top}detectTouchScreen(){var o=" -webkit- -moz- -o- -ms- ".split(" ");if("ontouchstart"in window)return!0;var w=["(",o.join("touch-enabled),("),"heartz",")"].join("");return window.matchMedia(w).matches}on(o,C){o&&(this.handlers[o]=C)}}class E{get minPanScale(){return this.getPropertiesValue("minPanScale")}get fullImage(){return this.properties.fullImage}constructor(o){this.properties=T,this.i=0,this.scale=1,this.initialScale=1,this.startX=0,this.startY=0,this.moveX=0,this.moveY=0,this.initialMoveX=0,this.initialMoveY=0,this.moveXC=0,this.moveYC=0,this.lastTap=0,this.draggingMode=!1,this.distance=0,this.doubleTapTimeout=0,this.initialDistance=0,this.events={},this.defaultMaxScale=3,this.handleTouchstart=C=>{this.touches.addEventListeners("mousemove","handleMousemove"),this.getElementPosition(),void 0===this.eventType&&this.getTouchstartPosition(C)},this.handleTouchend=C=>{if("touchend"===C.type){this.i=0,this.draggingMode=!1;const w=C.touches;this.scale<1&&(this.scale=1),this.properties.autoZoomOut&&"pinch"===this.eventType&&(this.scale=1),("pinch"===this.eventType||"pan"===this.eventType&&this.scale>this.minPanScale)&&this.alignImage(),("pinch"===this.eventType||"pan"===this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)&&this.updateInitialValues(),this.eventType="touchend",w&&0===w.length&&(this.eventType=void 0)}"mouseup"===C.type&&(this.draggingMode=!1,this.updateInitialValues(),this.eventType=void 0),this.touches.removeEventListeners("mousemove","handleMousemove")},this.handlePan=C=>{if(this.scale<this.minPanScale||this.properties.disablePan)return;C.preventDefault();const{clientX:w,clientY:M}=this.getClientPosition(C);this.eventType||(this.startX=w-this.elementPosition.left,this.startY=M-this.elementPosition.top),this.eventType="pan",this.moveX=this.initialMoveX+(this.moveLeft(C,0)-this.startX),this.moveY=this.initialMoveY+(this.moveTop(C,0)-this.startY),this.properties.limitPan&&(this.limitPanY(),this.limitPanX()),"mousemove"===C.type&&this.scale>this.minPanScale&&this.centeringImage(),this.transformElement(0)},this.handleDoubleTap=C=>{this.toggleZoom(C)},this.handlePinch=C=>{if(C.preventDefault(),void 0===this.eventType||"pinch"===this.eventType){const w=C.touches;if(!this.eventType){this.initialDistance=this.getDistance(w);const M=this.moveLeft(C,0),q=this.moveLeft(C,1),z=this.moveTop(C,0),F=this.moveTop(C,1);this.moveXC=(M+q)/2-this.initialMoveX,this.moveYC=(z+F)/2-this.initialMoveY}this.eventType="pinch",this.distance=this.getDistance(w),this.scale=this.initialScale*(this.distance/this.initialDistance),this.moveX=this.initialMoveX-(this.distance/this.initialDistance*this.moveXC-this.moveXC),this.moveY=this.initialMoveY-(this.distance/this.initialDistance*this.moveYC-this.moveYC),this.handleLimitZoom(),this.properties.limitPan&&(this.limitPanY(),this.limitPanX()),this.transformElement(0)}},this.handleWheel=C=>{C.preventDefault();let w=this.properties.wheelZoomFactor||0,q=this.initialScale+(C.deltaY<0?w:-w);q<1+w?q=1:q<this.maxScale&&q>this.maxScale-w&&(q=this.maxScale),q<1||q>this.maxScale||q===this.scale||(this.getElementPosition(),this.scale=q,this.setZoom({scale:q,center:[C.clientX-this.elementPosition.left-this.initialMoveX,C.clientY-this.elementPosition.top-this.initialMoveY]}))},this.handleResize=C=>{this.setAutoHeight()},this.element=o.element,this.element&&("number"==typeof o.limitZoom&&(this.maxScale=o.limitZoom),this.elementTarget=this.element.querySelector("*").tagName,this.parentElement=this.element.parentElement,this.properties=Object.assign({},T,o),this.detectLimitZoom(),this.touches=new D({element:o.element,listeners:o.listeners,resize:o.autoHeight,mouseListeners:{mousedown:"handleMousedown",mouseup:"handleMouseup",wheel:"handleWheel"}}),this.setBasicStyles(),this.touches.on("touchstart",this.handleTouchstart),this.touches.on("touchend",this.handleTouchend),this.touches.on("mousedown",this.handleTouchstart),this.touches.on("mouseup",this.handleTouchend),this.touches.on("pan",this.handlePan),this.touches.on("mousemove",this.handlePan),this.touches.on("pinch",this.handlePinch),this.properties.wheel&&this.touches.on("wheel",this.handleWheel),this.properties.doubleTap&&this.touches.on("double-tap",this.handleDoubleTap),this.properties.autoHeight&&this.touches.on("resize",this.handleResize))}handleLimitZoom(){const o=this.maxScale,C=this.properties.minScale||0;if(this.scale>o||this.scale<=C){const w=this.getImageWidth(),M=this.getImageHeight(),F=this.moveX/(w*this.scale-w),U=this.moveY/(M*this.scale-M);this.scale>o&&(this.scale=o),this.scale<=C&&(this.scale=C);const Y=M*this.scale;this.moveX=-Math.abs(F*(w*this.scale-w)),this.moveY=-Math.abs(-U*(Y-M))}}moveLeft(o,C=0){return this.getClientPosition(o,C).clientX-this.elementPosition.left}moveTop(o,C=0){return this.getClientPosition(o,C).clientY-this.elementPosition.top}centeringImage(){const o=this.element.getElementsByTagName(this.elementTarget)[0],C=this.moveX,w=this.moveY;return this.moveY>0&&(this.moveY=0),this.moveX>0&&(this.moveX=0),o&&(this.limitPanY(),this.limitPanX()),o&&this.scale<1&&this.moveX<this.element.offsetWidth*(1-this.scale)&&(this.moveX=this.element.offsetWidth*(1-this.scale)),C!==this.moveX||w!==this.moveY}limitPanY(){const o=this.getImageHeight(),C=o*this.scale,w=this.parentElement.offsetHeight,M=this.element.offsetHeight;if(C<w)this.moveY=(w-M*this.scale)/2;else{const q=(o-M)*this.scale/2;this.moveY>q?this.moveY=q:C+Math.abs(q)-w+this.moveY<0&&(this.moveY=-(C+Math.abs(q)-w))}}limitPanX(){const o=this.getImageWidth(),C=o*this.scale,w=this.parentElement.offsetWidth,M=this.element.offsetWidth;if(C<w)this.moveX=(w-M*this.scale)/2;else{const q=(o-M)*this.scale/2;this.moveX>q?this.moveX=q:C+Math.abs(q)-w+this.moveX<0&&(this.moveX=-(o*this.scale+Math.abs(q)-w))}}setBasicStyles(){this.element.style.display="flex",this.element.style.alignItems="center",this.element.style.justifyContent="center",this.element.style.transformOrigin="0 0",this.setImageSize(),this.setDraggableImage()}removeBasicStyles(){this.element.style.display="",this.element.style.alignItems="",this.element.style.justifyContent="",this.element.style.transformOrigin="",this.removeImageSize(),this.removeDraggableImage()}setDraggableImage(){const o=this.getImageElement();o&&(o.draggable=this.properties.draggableImage)}removeDraggableImage(){const o=this.getImageElement();o&&(o.draggable=!0)}setImageSize(){const o=this.element.getElementsByTagName(this.elementTarget);o.length&&(o[0].style.maxWidth="100%",o[0].style.maxHeight="100%",this.setAutoHeight())}setAutoHeight(){const o=this.element.getElementsByTagName(this.elementTarget);if(!this.properties.autoHeight||!o.length)return;const C=o[0].getAttribute("width"),w=o[0].getAttribute("height");o[0].style.maxHeight=this.parentElement.offsetWidth/(C/w)+"px"}removeImageSize(){const o=this.element.getElementsByTagName(this.elementTarget);o.length&&(o[0].style.maxWidth="",o[0].style.maxHeight="")}getElementPosition(){this.elementPosition=this.element.parentElement.getBoundingClientRect()}getTouchstartPosition(o){const{clientX:C,clientY:w}=this.getClientPosition(o);this.startX=C-this.elementPosition.left,this.startY=w-this.elementPosition.top}getClientPosition(o,C=0){let w,M;return("touchstart"===o.type||"touchmove"===o.type)&&(w=o.touches[C].clientX,M=o.touches[C].clientY),("mousedown"===o.type||"mousemove"===o.type)&&(w=o.clientX,M=o.clientY),{clientX:w,clientY:M}}resetScale(){this.scale=1,this.moveX=0,this.moveY=0,this.updateInitialValues(),this.transformElement(this.properties.transitionDuration)}updateInitialValues(){this.initialScale=this.scale,this.initialMoveX=this.moveX,this.initialMoveY=this.moveY}getDistance(o){return Math.sqrt(Math.pow(o[0].pageX-o[1].pageX,2)+Math.pow(o[0].pageY-o[1].pageY,2))}getImageHeight(){return this.element.getElementsByTagName(this.elementTarget)[0].offsetHeight}getImageWidth(){return this.element.getElementsByTagName(this.elementTarget)[0].offsetWidth}transformElement(o){this.element.style.transition="all "+o+"ms",this.element.style.transform="matrix("+Number(this.scale)+", 0, 0, "+Number(this.scale)+", "+Number(this.moveX)+", "+Number(this.moveY)+")"}isTouchScreen(){const o=" -webkit- -moz- -o- -ms- ".split(" ");if("ontouchstart"in window)return!0;const C=["(",o.join("touch-enabled),("),"heartz",")"].join("");return this.getMatchMedia(C)}getMatchMedia(o){return window.matchMedia(o).matches}isDragging(){if(this.properties.disablePan)return!1;const o=this.getImageHeight(),C=this.getImageWidth();return this.scale>1?o*this.scale>this.parentElement.offsetHeight||C*this.scale>this.parentElement.offsetWidth:1===this.scale?o>this.parentElement.offsetHeight||C>this.parentElement.offsetWidth:void 0}detectLimitZoom(){this.maxScale??=this.defaultMaxScale,"original image size"===this.properties.limitZoom&&"IMG"===this.elementTarget&&this.pollLimitZoomForOriginalImage()}pollLimitZoomForOriginalImage(){let o=setInterval(()=>{let C=this.getMaxScaleForOriginalImage();"number"==typeof C&&(this.maxScale=C,clearInterval(o))},10)}getMaxScaleForOriginalImage(){let o,C=this.element.getElementsByTagName("img")[0];return C.naturalWidth&&C.offsetWidth&&(o=C.naturalWidth/C.offsetWidth),o}getImageElement(){const o=this.element.getElementsByTagName(this.elementTarget);if(o.length)return o[0]}toggleZoom(o=!1){if(1===this.initialScale){if(o&&o.changedTouches){if(void 0===this.properties.doubleTapScale)return;const C=o.changedTouches;this.scale=this.initialScale*this.properties.doubleTapScale,this.moveX=this.initialMoveX-(C[0].clientX-this.elementPosition.left)*(this.properties.doubleTapScale-1),this.moveY=this.initialMoveY-(C[0].clientY-this.elementPosition.top)*(this.properties.doubleTapScale-1)}else this.scale=this.initialScale*((this.properties.zoomControlScale||0)+1),this.moveX=this.initialMoveX-this.element.offsetWidth*(this.scale-1)/2,this.moveY=this.initialMoveY-this.element.offsetHeight*(this.scale-1)/2;this.centeringImage(),this.updateInitialValues(),this.transformElement(this.properties.transitionDuration)}else this.resetScale()}setZoom(o){this.scale=o.scale;let C,w,M=this.element.offsetWidth,z=M*this.scale/(M*this.initialScale);o.center?(C=o.center[0],w=o.center[1]):(C=M/2-this.initialMoveX,w=this.element.offsetHeight/2-this.initialMoveY),this.moveX=this.initialMoveX-(z*C-C),this.moveY=this.initialMoveY-(z*w-w),this.centeringImage(),this.updateInitialValues(),this.transformElement(this.properties.transitionDuration)}alignImage(){this.centeringImage()&&(this.updateInitialValues(),this.transformElement(this.properties.transitionDuration))}destroy(){this.removeBasicStyles(),this.touches.destroy()}getPropertiesValue(o){return this.properties&&this.properties[o]?this.properties[o]:T[o]}}const y={overflow:"hidden",disableZoomControl:"auto",backgroundColor:"rgba(0,0,0,0.85)"};let I=(()=>{class L{set properties(C){C&&(this._properties=C)}get properties(){return this._properties}set transitionDurationBackwardCompatibility(C){C&&(this._transitionDuration=C)}set transitionDuration(C){C&&(this._transitionDuration=C)}get transitionDuration(){return this._transitionDuration}set doubleTapBackwardCompatibility(C){C&&(this._doubleTap=C)}set doubleTap(C){C&&(this._doubleTap=C)}get doubleTap(){return this._doubleTap}set doubleTapScaleBackwardCompatibility(C){C&&(this._doubleTapScale=C)}set doubleTapScale(C){C&&(this._doubleTapScale=C)}get doubleTapScale(){return this._doubleTapScale}set autoZoomOutBackwardCompatibility(C){C&&(this._autoZoomOut=C)}set autoZoomOut(C){C&&(this._autoZoomOut=C)}get autoZoomOut(){return this._autoZoomOut}set limitZoomBackwardCompatibility(C){C&&(this._limitZoom=C)}set limitZoom(C){C&&(this._limitZoom=C)}get limitZoom(){return this._limitZoom}get hostOverflow(){return this.properties.overflow}get hostBackgroundColor(){return this.properties.backgroundColor}get isTouchScreen(){var C=" -webkit- -moz- -o- -ms- ".split(" ");if("ontouchstart"in window)return!0;var M=["(",C.join("touch-enabled),("),"heartz",")"].join("");return window.matchMedia(M).matches}get isDragging(){return this.pinchZoom?this.pinchZoom.isDragging():void 0}get isDisabled(){return this.properties.disabled}get scale(){return this.pinchZoom.scale}get isZoomedIn(){return this.scale>1}get scaleLevel(){return Math.round(this.scale/this._zoomControlScale)}get maxScale(){return this.pinchZoom.maxScale}get isZoomLimitReached(){return this.scale>=this.maxScale}get _zoomControlScale(){return this.getPropertiesValue("zoomControlScale")}constructor(C){this.elementRef=C,this.defaultComponentProperties=this.getDefaultComponentProperties(),this.applyPropertiesDefault(this.defaultComponentProperties,{})}ngOnInit(){this.initPinchZoom(),this.detectLimitZoom()}ngOnChanges(C){let w=this.getProperties(C);w=this.renameProperties(w),this.applyPropertiesDefault(this.defaultComponentProperties,w)}ngOnDestroy(){this.destroy()}initPinchZoom(){this.properties.disabled||(this.properties.limitZoom=this.limitZoom,this.properties.element=this.elementRef.nativeElement.querySelector(".pinch-zoom-content"),this.pinchZoom=new E(this.properties))}getProperties(C){let w={};for(var M in C)"properties"!==M&&(w[M]=C[M].currentValue),"properties"===M&&(w=C[M].currentValue);return w}renameProperties(C){for(var w in C)O[w]&&(C[O[w]]=C[w],delete C[w]);return C}applyPropertiesDefault(C,w){this.properties=Object.assign({},C,w)}toggleZoom(){this.pinchZoom.toggleZoom()}isControl(){return!(this.isDisabled||"disable"===this.properties.disableZoomControl||this.isTouchScreen&&"auto"===this.properties.disableZoomControl)}detectLimitZoom(){this.pinchZoom&&this.pinchZoom.detectLimitZoom()}destroy(){this.pinchZoom&&this.pinchZoom.destroy()}getPropertiesValue(C){return this.properties&&this.properties[C]?this.properties[C]:this.defaultComponentProperties[C]}getDefaultComponentProperties(){return{...T,...y}}static#e=this.\u0275fac=function(w){return new(w||L)(n.rXU(n.aKT))};static#t=this.\u0275cmp=n.VBU({type:L,selectors:[["pinch-zoom"],["","pinch-zoom",""]],hostVars:4,hostBindings:function(w,M){2&w&&n.xc7("overflow",M.hostOverflow)("background-color",M.hostBackgroundColor)},inputs:{properties:"properties",transitionDurationBackwardCompatibility:[0,"transition-duration","transitionDurationBackwardCompatibility"],transitionDuration:"transitionDuration",doubleTapBackwardCompatibility:[0,"double-tap","doubleTapBackwardCompatibility"],doubleTap:"doubleTap",doubleTapScaleBackwardCompatibility:[0,"double-tap-scale","doubleTapScaleBackwardCompatibility"],doubleTapScale:"doubleTapScale",autoZoomOutBackwardCompatibility:[0,"auto-zoom-out","autoZoomOutBackwardCompatibility"],autoZoomOut:"autoZoomOut",limitZoomBackwardCompatibility:[0,"limit-zoom","limitZoomBackwardCompatibility"],limitZoom:"limitZoom",disabled:"disabled",disablePan:"disablePan",overflow:"overflow",zoomControlScale:"zoomControlScale",disableZoomControl:"disableZoomControl",backgroundColor:"backgroundColor",limitPan:"limitPan",minPanScale:"minPanScale",minScale:"minScale",listeners:"listeners",wheel:"wheel",autoHeight:"autoHeight",wheelZoomFactor:"wheelZoomFactor",draggableImage:"draggableImage"},exportAs:["pinchZoom"],features:[n.OA$],ngContentSelectors:g,decls:3,vars:3,consts:[[1,"pinch-zoom-content"],["class","pz-zoom-button pz-zoom-control-position-bottom",3,"pz-zoom-button-out","click",4,"ngIf"],[1,"pz-zoom-button","pz-zoom-control-position-bottom",3,"click"]],template:function(w,M){1&w&&(n.NAR(),n.j41(0,"div",0),n.SdG(1),n.k0s(),n.DNE(2,m,1,2,"div",1)),2&w&&(n.AVh("pz-dragging",M.isDragging),n.R7$(2),n.Y8G("ngIf",M.isControl()))},dependencies:[a.bT],styles:["[_nghost-%COMP%]{position:relative;overflow:hidden;display:block}.pinch-zoom-content[_ngcontent-%COMP%]{height:inherit}.pz-dragging[_ngcontent-%COMP%]{cursor:all-scroll}.pz-zoom-button[_ngcontent-%COMP%]{position:absolute;z-index:1000;color:#fff;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE1LjUgMTRoLS43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSAxNiA5LjUgMTYgNS45MSAxMy4wOSAzIDkuNSAzUzMgNS45MSAzIDkuNSA1LjkxIDE2IDkuNSAxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6IiBpZD0ic3ZnXzEiIGNsYXNzPSIiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMSIvPjxwYXRoIGQ9Ik0xMiAxMGgtMnYySDl2LTJIN1Y5aDJWN2gxdjJoMnYxeiIgaWQ9InN2Z18zIiBjbGFzcz0iIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjEiLz48L2c+PC9zdmc+),url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE1LjUgMTRoLS43OWwtLjI4LS4yN0MxNS40MSAxMi41OSAxNiAxMS4xMSAxNiA5LjUgMTYgNS45MSAxMy4wOSAzIDkuNSAzUzMgNS45MSAzIDkuNSA1LjkxIDE2IDkuNSAxNmMxLjYxIDAgMy4wOS0uNTkgNC4yMy0xLjU3bC4yNy4yOHYuNzlsNSA0Ljk5TDIwLjQ5IDE5bC00Ljk5LTV6bS02IDBDNy4wMSAxNCA1IDExLjk5IDUgOS41UzcuMDEgNSA5LjUgNSAxNCA3LjAxIDE0IDkuNSAxMS45OSAxNCA5LjUgMTR6TTcgOWg1djFIN3oiIGlkPSJzdmdfMiIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==);background-color:#000c;background-position:center,-1000px;background-repeat:no-repeat,no-repeat;background-size:40px;width:56px;height:56px;border-radius:4px;opacity:.5;cursor:pointer;transition:opacity .1s;-webkit-user-select:none;user-select:none}.pz-zoom-button-out[_ngcontent-%COMP%]{background-position:-1000px,center}.pz-zoom-button[_ngcontent-%COMP%]:hover{opacity:.7}.pz-zoom-button.pz-zoom-control-position-right[_ngcontent-%COMP%]{right:16px;top:50%;margin-top:-28px}.pz-zoom-button.pz-zoom-control-position-right-bottom[_ngcontent-%COMP%]{right:16px;bottom:32px}.pz-zoom-button.pz-zoom-control-position-bottom[_ngcontent-%COMP%]{bottom:16px;left:50%;margin-left:-28px}.pz-zoom-control[_ngcontent-%COMP%]{position:absolute;background-color:#000c;border-radius:4px;overflow:hidden}.pz-zoom-control.pz-zoom-control-position-right[_ngcontent-%COMP%]{right:16px;top:50%;margin-top:-48px}.pz-zoom-control.pz-zoom-control-position-right-bottom[_ngcontent-%COMP%]{right:16px;bottom:32px}.pz-zoom-control.pz-zoom-control-position-bottom[_ngcontent-%COMP%]{bottom:16px;left:50%;margin-left:-48px}.pz-zoom-in[_ngcontent-%COMP%], .pz-zoom-out[_ngcontent-%COMP%]{width:48px;height:48px;background-position:center;background-repeat:no-repeat;opacity:1;cursor:pointer}.pz-zoom-in[_ngcontent-%COMP%]:hover, .pz-zoom-out[_ngcontent-%COMP%]:hover{background-color:#fff3}.pz-zoom-control-position-bottom[_ngcontent-%COMP%]   .pz-zoom-in[_ngcontent-%COMP%], .pz-zoom-control-position-bottom[_ngcontent-%COMP%]   .pz-zoom-out[_ngcontent-%COMP%]{float:right}.pz-disabled[_ngcontent-%COMP%]{opacity:.5;cursor:default}.pz-disabled[_ngcontent-%COMP%]:hover{background-color:#fff0}.pz-zoom-in[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgc3R5bGU9IiI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzaC02djZoLTJ2LTZINXYtMmg2VjVoMnY2aDZ2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgc3Ryb2tlPSJub25lIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjEiLz48cGF0aCBkPSJNLTE1LjgzNjczNDQyMDQ2MTY1Myw0NC41MzU0MDkzMDY3MTAxOCBoNTguMjA0MDgwODI3NTkzMDkgdi02LjU3NjIyNjcyMzM2OTIyMTUgSC0xNS44MzY3MzQ0MjA0NjE2NTMgeiIgZmlsbD0ibm9uZSIgaWQ9InN2Z18yIiBjbGFzcz0iIiBzdHJva2U9Im5vbmUiLz48L2c+PC9zdmc+)}.pz-zoom-out[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHJlY3QgaWQ9ImJhY2tncm91bmRyZWN0IiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4PSIwIiB5PSIwIiBmaWxsPSJub25lIiBzdHJva2U9Im5vbmUiLz48ZyBjbGFzcz0iY3VycmVudExheWVyIiBzdHlsZT0iIj48dGl0bGU+TGF5ZXIgMTwvdGl0bGU+PHBhdGggZD0iTTE5IDEzSDV2LTJoMTR2MnoiIGlkPSJzdmdfMSIgY2xhc3M9IiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIxIi8+PC9nPjwvc3ZnPg==)}"]})}return L})(),b=(()=>{class L{static#e=this.\u0275fac=function(w){return new(w||L)};static#t=this.\u0275mod=n.$C({type:L});static#n=this.\u0275inj=n.G2t({imports:[a.MD]})}return L})()},29968:(at,N,s)=>{"use strict";s.d(N,{_f:()=>N1,Lw:()=>wu,qV:()=>Yr,tg:()=>t0,Eu:()=>Rc,_H:()=>tl,U0:()=>a1,zH:()=>Hu,do:()=>ud,Qr:()=>wc,Bq:()=>Fh,XZ:()=>dd,UN:()=>Wu,X9:()=>pd,Um:()=>Xu,sy:()=>xu,Gx:()=>_m,Ri:()=>tu,WA:()=>Fu,Pv:()=>Fp,m_:()=>xp,VR:()=>Ju,md:()=>d1,n8:()=>Mp,$n:()=>Nc});var n=s(93953),a=s(89079),g=s(71985),m=s(983),T=s(7673),O=s(21413),D=s(33726),E=s(1807),y=s(1033),b=(s(57786),s(44437)),L=s(84412),o=s(28793),w=s(56977),M=s(5964),q=s(96697),z=s(88141),F=s(96354),U=s(53993),k=s(91986),Y=s(31397),x=s(25558),B=s(99172),j=s(23294),$=s(65245),H=s(60177),ie=s(89417),ne={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(_e){return _e.replace(/left|right|bottom|top/g,function(At){return ne[At]})}function le(_e){return _e.split("-")[0]}var pe={start:"end",end:"start"};function te(_e){return _e.replace(/start|end/g,function(At){return pe[At]})}var ae="top",K="bottom",de="right",Me="left",me="auto",be=[ae,K,de,Me],Le="start",Ae="end",Xe="viewport",Pe="popper",ze=be.reduce(function(_e,At){return _e.concat([At+"-"+Le,At+"-"+Ae])},[]),Be=[].concat(be,[me]).reduce(function(_e,At){return _e.concat([At,At+"-"+Le,At+"-"+Ae])},[]),Ne=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Je(_e){if(null==_e)return window;if("[object Window]"!==_e.toString()){var At=_e.ownerDocument;return At&&At.defaultView||window}return _e}function Qe(_e){return _e instanceof Je(_e).Element||_e instanceof Element}function rt(_e){return _e instanceof Je(_e).HTMLElement||_e instanceof HTMLElement}function ft(_e){return!(typeof ShadowRoot>"u")&&(_e instanceof Je(_e).ShadowRoot||_e instanceof ShadowRoot)}function Xt(_e){return((Qe(_e)?_e.ownerDocument:_e.document)||window.document).documentElement}var It=Math.max,In=Math.min,Kt=Math.round;function Ze(){var _e=navigator.userAgentData;return null!=_e&&_e.brands&&Array.isArray(_e.brands)?_e.brands.map(function(At){return At.brand+"/"+At.version}).join(" "):navigator.userAgent}function wn(){return!/^((?!chrome|android).)*safari/i.test(Ze())}function zn(_e,At,oe){void 0===At&&(At=!1),void 0===oe&&(oe=!1);var Ee=_e.getBoundingClientRect(),tt=1,mn=1;At&&rt(_e)&&(tt=_e.offsetWidth>0&&Kt(Ee.width)/_e.offsetWidth||1,mn=_e.offsetHeight>0&&Kt(Ee.height)/_e.offsetHeight||1);var qi=(Qe(_e)?Je(_e):window).visualViewport,Xi=!wn()&&oe,Zi=(Ee.left+(Xi&&qi?qi.offsetLeft:0))/tt,fs=(Ee.top+(Xi&&qi?qi.offsetTop:0))/mn,eo=Ee.width/tt,po=Ee.height/mn;return{width:eo,height:po,top:fs,right:Zi+eo,bottom:fs+po,left:Zi,x:Zi,y:fs}}function di(_e){var At=Je(_e);return{scrollLeft:At.pageXOffset,scrollTop:At.pageYOffset}}function jn(_e){return zn(Xt(_e)).left+di(_e).scrollLeft}function Li(_e){return Je(_e).getComputedStyle(_e)}function Rn(_e){return _e?(_e.nodeName||"").toLowerCase():null}function Qt(_e){return"html"===Rn(_e)?_e:_e.assignedSlot||_e.parentNode||(ft(_e)?_e.host:null)||Xt(_e)}function Wt(_e){var At=Li(_e);return/auto|scroll|overlay|hidden/.test(At.overflow+At.overflowY+At.overflowX)}function Yt(_e){return["html","body","#document"].indexOf(Rn(_e))>=0?_e.ownerDocument.body:rt(_e)&&Wt(_e)?_e:Yt(Qt(_e))}function Mn(_e,At){var oe;void 0===At&&(At=[]);var Ee=Yt(_e),tt=Ee===(null==(oe=_e.ownerDocument)?void 0:oe.body),mn=Je(Ee),$n=tt?[mn].concat(mn.visualViewport||[],Wt(Ee)?Ee:[]):Ee,qi=At.concat($n);return tt?qi:qi.concat(Mn(Qt($n)))}function ci(_e){return["table","td","th"].indexOf(Rn(_e))>=0}function Ue(_e){return rt(_e)&&"fixed"!==Li(_e).position?_e.offsetParent:null}function _n(_e){for(var At=Je(_e),oe=Ue(_e);oe&&ci(oe)&&"static"===Li(oe).position;)oe=Ue(oe);return oe&&("html"===Rn(oe)||"body"===Rn(oe)&&"static"===Li(oe).position)?At:oe||function Un(_e){var At=/firefox/i.test(Ze());if(/Trident/i.test(Ze())&&rt(_e)&&"fixed"===Li(_e).position)return null;var tt=Qt(_e);for(ft(tt)&&(tt=tt.host);rt(tt)&&["html","body"].indexOf(Rn(tt))<0;){var mn=Li(tt);if("none"!==mn.transform||"none"!==mn.perspective||"paint"===mn.contain||-1!==["transform","perspective"].indexOf(mn.willChange)||At&&"filter"===mn.willChange||At&&mn.filter&&"none"!==mn.filter)return tt;tt=tt.parentNode}return null}(_e)||At}function Xn(_e,At){var oe=At.getRootNode&&At.getRootNode();if(_e.contains(At))return!0;if(oe&&ft(oe)){var Ee=At;do{if(Ee&&_e.isSameNode(Ee))return!0;Ee=Ee.parentNode||Ee.host}while(Ee)}return!1}function Ii(_e){return Object.assign({},_e,{left:_e.x,top:_e.y,right:_e.x+_e.width,bottom:_e.y+_e.height})}function ln(_e,At,oe){return At===Xe?Ii(function Di(_e,At){var oe=Je(_e),Ee=Xt(_e),tt=oe.visualViewport,mn=Ee.clientWidth,$n=Ee.clientHeight,qi=0,Xi=0;if(tt){mn=tt.width,$n=tt.height;var Zi=wn();(Zi||!Zi&&"fixed"===At)&&(qi=tt.offsetLeft,Xi=tt.offsetTop)}return{width:mn,height:$n,x:qi+jn(_e),y:Xi}}(_e,oe)):Qe(At)?function En(_e,At){var oe=zn(_e,!1,"fixed"===At);return oe.top=oe.top+_e.clientTop,oe.left=oe.left+_e.clientLeft,oe.bottom=oe.top+_e.clientHeight,oe.right=oe.left+_e.clientWidth,oe.width=_e.clientWidth,oe.height=_e.clientHeight,oe.x=oe.left,oe.y=oe.top,oe}(At,oe):Ii(function ms(_e){var At,oe=Xt(_e),Ee=di(_e),tt=null==(At=_e.ownerDocument)?void 0:At.body,mn=It(oe.scrollWidth,oe.clientWidth,tt?tt.scrollWidth:0,tt?tt.clientWidth:0),$n=It(oe.scrollHeight,oe.clientHeight,tt?tt.scrollHeight:0,tt?tt.clientHeight:0),qi=-Ee.scrollLeft+jn(_e),Xi=-Ee.scrollTop;return"rtl"===Li(tt||oe).direction&&(qi+=It(oe.clientWidth,tt?tt.clientWidth:0)-mn),{width:mn,height:$n,x:qi,y:Xi}}(Xt(_e)))}function os(_e){return _e.split("-")[1]}function Fs(_e){return["top","bottom"].indexOf(_e)>=0?"x":"y"}function sn(_e){var Xi,At=_e.reference,oe=_e.element,Ee=_e.placement,tt=Ee?le(Ee):null,mn=Ee?os(Ee):null,$n=At.x+At.width/2-oe.width/2,qi=At.y+At.height/2-oe.height/2;switch(tt){case ae:Xi={x:$n,y:At.y-oe.height};break;case K:Xi={x:$n,y:At.y+At.height};break;case de:Xi={x:At.x+At.width,y:qi};break;case Me:Xi={x:At.x-oe.width,y:qi};break;default:Xi={x:At.x,y:At.y}}var Zi=tt?Fs(tt):null;if(null!=Zi){var fs="y"===Zi?"height":"width";switch(mn){case Le:Xi[Zi]=Xi[Zi]-(At[fs]/2-oe[fs]/2);break;case Ae:Xi[Zi]=Xi[Zi]+(At[fs]/2-oe[fs]/2)}}return Xi}function pt(_e){return Object.assign({},{top:0,right:0,bottom:0,left:0},_e)}function cn(_e,At){return At.reduce(function(oe,Ee){return oe[Ee]=_e,oe},{})}function Tn(_e,At){void 0===At&&(At={});var Ee=At.placement,tt=void 0===Ee?_e.placement:Ee,mn=At.strategy,$n=void 0===mn?_e.strategy:mn,qi=At.boundary,Xi=void 0===qi?"clippingParents":qi,Zi=At.rootBoundary,fs=void 0===Zi?Xe:Zi,eo=At.elementContext,po=void 0===eo?Pe:eo,Lo=At.altBoundary,ya=void 0!==Lo&&Lo,Sr=At.padding,ka=void 0===Sr?0:Sr,Ha=pt("number"!=typeof ka?ka:cn(ka,be)),u0=_e.rects.popper,Ca=_e.elements[ya?po===Pe?"reference":Pe:po],ia=function Ai(_e,At,oe,Ee){var tt="clippingParents"===At?function Dn(_e){var At=Mn(Qt(_e)),Ee=["absolute","fixed"].indexOf(Li(_e).position)>=0&&rt(_e)?_n(_e):_e;return Qe(Ee)?At.filter(function(tt){return Qe(tt)&&Xn(tt,Ee)&&"body"!==Rn(tt)}):[]}(_e):[].concat(At),mn=[].concat(tt,[oe]),qi=mn.reduce(function(Xi,Zi){var fs=ln(_e,Zi,Ee);return Xi.top=It(fs.top,Xi.top),Xi.right=In(fs.right,Xi.right),Xi.bottom=In(fs.bottom,Xi.bottom),Xi.left=It(fs.left,Xi.left),Xi},ln(_e,mn[0],Ee));return qi.width=qi.right-qi.left,qi.height=qi.bottom-qi.top,qi.x=qi.left,qi.y=qi.top,qi}(Qe(Ca)?Ca:Ca.contextElement||Xt(_e.elements.popper),Xi,fs,$n),d0=zn(_e.elements.reference),v1=sn({reference:d0,element:u0,strategy:"absolute",placement:tt}),x0=Ii(Object.assign({},u0,v1)),Ps=po===Pe?x0:d0,F0={top:ia.top-Ps.top+Ha.top,bottom:Ps.bottom-ia.bottom+Ha.bottom,left:ia.left-Ps.left+Ha.left,right:Ps.right-ia.right+Ha.right},pr=_e.modifiersData.offset;if(po===Pe&&pr){var g0=pr[tt];Object.keys(F0).forEach(function($0){var iu=[de,K].indexOf($0)>=0?1:-1,Wl=[ae,K].indexOf($0)>=0?"y":"x";F0[$0]+=g0[Wl]*iu})}return F0}const Nn={name:"flip",enabled:!0,phase:"main",fn:function $i(_e){var At=_e.state,oe=_e.options,Ee=_e.name;if(!At.modifiersData[Ee]._skip){for(var tt=oe.mainAxis,mn=void 0===tt||tt,$n=oe.altAxis,qi=void 0===$n||$n,Xi=oe.fallbackPlacements,Zi=oe.padding,fs=oe.boundary,eo=oe.rootBoundary,po=oe.altBoundary,Lo=oe.flipVariations,ya=void 0===Lo||Lo,Sr=oe.allowedAutoPlacements,ka=At.options.placement,Ha=le(ka),u0=Xi||(Ha!==ka&&ya?function ui(_e){if(le(_e)===me)return[];var At=Q(_e);return[te(_e),At,te(At)]}(ka):[Q(ka)]),Ca=[ka].concat(u0).reduce(function(Qu,Bu){return Qu.concat(le(Bu)===me?function vi(_e,At){void 0===At&&(At={});var tt=At.boundary,mn=At.rootBoundary,$n=At.padding,qi=At.flipVariations,Xi=At.allowedAutoPlacements,Zi=void 0===Xi?Be:Xi,fs=os(At.placement),eo=fs?qi?ze:ze.filter(function(ya){return os(ya)===fs}):be,po=eo.filter(function(ya){return Zi.indexOf(ya)>=0});0===po.length&&(po=eo);var Lo=po.reduce(function(ya,Sr){return ya[Sr]=Tn(_e,{placement:Sr,boundary:tt,rootBoundary:mn,padding:$n})[le(Sr)],ya},{});return Object.keys(Lo).sort(function(ya,Sr){return Lo[ya]-Lo[Sr]})}(At,{placement:Bu,boundary:fs,rootBoundary:eo,padding:Zi,flipVariations:ya,allowedAutoPlacements:Sr}):Bu)},[]),ia=At.rects.reference,d0=At.rects.popper,v1=new Map,x0=!0,Ps=Ca[0],F0=0;F0<Ca.length;F0++){var pr=Ca[F0],g0=le(pr),$0=os(pr)===Le,iu=[ae,K].indexOf(g0)>=0,Wl=iu?"width":"height",pa=Tn(At,{placement:pr,boundary:fs,rootBoundary:eo,altBoundary:po,padding:Zi}),Yc=iu?$0?de:Me:$0?K:ae;ia[Wl]>d0[Wl]&&(Yc=Q(Yc));var ph=Q(Yc),Xc=[];if(mn&&Xc.push(pa[g0]<=0),qi&&Xc.push(pa[Yc]<=0,pa[ph]<=0),Xc.every(function(Qu){return Qu})){Ps=pr,x0=!1;break}v1.set(pr,Xc)}if(x0)for(var hh=function(Bu){var Kc=Ca.find(function(Uh){var ac=v1.get(Uh);if(ac)return ac.slice(0,Bu).every(function($1){return $1})});if(Kc)return Ps=Kc,"break"},_u=ya?3:1;_u>0&&"break"!==hh(_u);_u--);At.placement!==Ps&&(At.modifiersData[Ee]._skip=!0,At.placement=Ps,At.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Qn(_e,At,oe){return It(_e,In(At,oe))}function li(_e){var At=zn(_e),oe=_e.offsetWidth,Ee=_e.offsetHeight;return Math.abs(At.width-oe)<=1&&(oe=At.width),Math.abs(At.height-Ee)<=1&&(Ee=At.height),{x:_e.offsetLeft,y:_e.offsetTop,width:oe,height:Ee}}const ei={name:"preventOverflow",enabled:!0,phase:"main",fn:function Fi(_e){var At=_e.state,oe=_e.options,Ee=_e.name,tt=oe.mainAxis,mn=void 0===tt||tt,$n=oe.altAxis,qi=void 0!==$n&&$n,po=oe.tether,Lo=void 0===po||po,ya=oe.tetherOffset,Sr=void 0===ya?0:ya,ka=Tn(At,{boundary:oe.boundary,rootBoundary:oe.rootBoundary,padding:oe.padding,altBoundary:oe.altBoundary}),Ha=le(At.placement),da=os(At.placement),u0=!da,Ca=Fs(Ha),ia=function Hn(_e){return"x"===_e?"y":"x"}(Ca),d0=At.modifiersData.popperOffsets,v1=At.rects.reference,x0=At.rects.popper,Ps="function"==typeof Sr?Sr(Object.assign({},At.rects,{placement:At.placement})):Sr,F0="number"==typeof Ps?{mainAxis:Ps,altAxis:Ps}:Object.assign({mainAxis:0,altAxis:0},Ps),pr=At.modifiersData.offset?At.modifiersData.offset[At.placement]:null,g0={x:0,y:0};if(d0){if(mn){var $0,iu="y"===Ca?ae:Me,Wl="y"===Ca?K:de,pa="y"===Ca?"height":"width",Yc=d0[Ca],ph=Yc+ka[iu],Xc=Yc-ka[Wl],Op=Lo?-x0[pa]/2:0,hh=da===Le?v1[pa]:x0[pa],_u=da===Le?-x0[pa]:-v1[pa],Dd=At.elements.arrow,Qu=Lo&&Dd?li(Dd):{width:0,height:0},Bu=At.modifiersData["arrow#persistent"]?At.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Kc=Bu[iu],Uh=Bu[Wl],ac=Qn(0,v1[pa],Qu[pa]),$1=u0?v1[pa]/2-Op-ac-Kc-F0.mainAxis:hh-ac-Kc-F0.mainAxis,Eu=u0?-v1[pa]/2+Op+ac+Uh+F0.mainAxis:_u+ac+Uh+F0.mainAxis,Up=At.elements.arrow&&_n(At.elements.arrow),Pd=Up?"y"===Ca?Up.clientTop||0:Up.clientLeft||0:0,Bl=null!=($0=pr?.[Ca])?$0:0,Gh=Yc+Eu-Bl,fh=Qn(Lo?In(ph,Yc+$1-Bl-Pd):ph,Yc,Lo?It(Xc,Gh):Xc);d0[Ca]=fh,g0[Ca]=fh-Yc}if(qi){var Gp,gd=d0[ia],mh="y"===ia?"height":"width",Id=gd+ka["x"===Ca?ae:Me],_h=gd-ka["x"===Ca?K:de],bd=-1!==[ae,Me].indexOf(Ha),qp=null!=(Gp=pr?.[ia])?Gp:0,qh=bd?Id:gd-v1[mh]-x0[mh]-qp+F0.altAxis,su=bd?gd+v1[mh]+x0[mh]-qp-F0.altAxis:_h,Zu=Lo&&bd?function ri(_e,At,oe){var Ee=Qn(_e,At,oe);return Ee>oe?oe:Ee}(qh,gd,su):Qn(Lo?qh:Id,gd,Lo?su:_h);d0[ia]=Zu,g0[ia]=Zu-gd}At.modifiersData[Ee]=g0}},requiresIfExists:["offset"]},hn={name:"arrow",enabled:!0,phase:"main",fn:function gn(_e){var At,oe=_e.state,Ee=_e.name,tt=_e.options,mn=oe.elements.arrow,$n=oe.modifiersData.popperOffsets,qi=le(oe.placement),Xi=Fs(qi),fs=[Me,de].indexOf(qi)>=0?"height":"width";if(mn&&$n){var eo=function(At,oe){return pt("number"!=typeof(At="function"==typeof At?At(Object.assign({},oe.rects,{placement:oe.placement})):At)?At:cn(At,be))}(tt.padding,oe),po=li(mn),Lo="y"===Xi?ae:Me,ya="y"===Xi?K:de,Sr=oe.rects.reference[fs]+oe.rects.reference[Xi]-$n[Xi]-oe.rects.popper[fs],ka=$n[Xi]-oe.rects.reference[Xi],Ha=_n(mn),da=Ha?"y"===Xi?Ha.clientHeight||0:Ha.clientWidth||0:0,d0=da/2-po[fs]/2+(Sr/2-ka/2),v1=Qn(eo[Lo],d0,da-po[fs]-eo[ya]);oe.modifiersData[Ee]=((At={})[Xi]=v1,At.centerOffset=v1-d0,At)}},effect:function yn(_e){var At=_e.state,Ee=_e.options.element,tt=void 0===Ee?"[data-popper-arrow]":Ee;null!=tt&&("string"==typeof tt&&!(tt=At.elements.popper.querySelector(tt))||Xn(At.elements.popper,tt)&&(At.elements.arrow=tt))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Si(_e,At,oe){void 0===oe&&(oe=!1);var Ee=rt(At),tt=rt(At)&&function wi(_e){var At=_e.getBoundingClientRect(),oe=Kt(At.width)/_e.offsetWidth||1,Ee=Kt(At.height)/_e.offsetHeight||1;return 1!==oe||1!==Ee}(At),mn=Xt(At),$n=zn(_e,tt,oe),qi={scrollLeft:0,scrollTop:0},Xi={x:0,y:0};return(Ee||!Ee&&!oe)&&(("body"!==Rn(At)||Wt(mn))&&(qi=function mi(_e){return _e!==Je(_e)&&rt(_e)?function Bn(_e){return{scrollLeft:_e.scrollLeft,scrollTop:_e.scrollTop}}(_e):di(_e)}(At)),rt(At)?((Xi=zn(At,!0)).x+=At.clientLeft,Xi.y+=At.clientTop):mn&&(Xi.x=jn(mn))),{x:$n.left+qi.scrollLeft-Xi.x,y:$n.top+qi.scrollTop-Xi.y,width:$n.width,height:$n.height}}function Cn(_e){var At=new Map,oe=new Set,Ee=[];function tt(mn){oe.add(mn.name),[].concat(mn.requires||[],mn.requiresIfExists||[]).forEach(function(qi){if(!oe.has(qi)){var Xi=At.get(qi);Xi&&tt(Xi)}}),Ee.push(mn)}return _e.forEach(function(mn){At.set(mn.name,mn)}),_e.forEach(function(mn){oe.has(mn.name)||tt(mn)}),Ee}function Mt(_e){var At;return function(){return At||(At=new Promise(function(oe){Promise.resolve().then(function(){At=void 0,oe(_e())})})),At}}var Rt={placement:"bottom",modifiers:[],strategy:"absolute"};function Jt(){for(var _e=arguments.length,At=new Array(_e),oe=0;oe<_e;oe++)At[oe]=arguments[oe];return!At.some(function(Ee){return!(Ee&&"function"==typeof Ee.getBoundingClientRect)})}function He(_e){void 0===_e&&(_e={});var oe=_e.defaultModifiers,Ee=void 0===oe?[]:oe,tt=_e.defaultOptions,mn=void 0===tt?Rt:tt;return function(qi,Xi,Zi){void 0===Zi&&(Zi=mn);var fs={placement:"bottom",orderedModifiers:[],options:Object.assign({},Rt,mn),modifiersData:{},elements:{reference:qi,popper:Xi},attributes:{},styles:{}},eo=[],po=!1,Lo={state:fs,setOptions:function(Ha){var da="function"==typeof Ha?Ha(fs.options):Ha;Sr(),fs.options=Object.assign({},mn,fs.options,da),fs.scrollParents={reference:Qe(qi)?Mn(qi):qi.contextElement?Mn(qi.contextElement):[],popper:Mn(Xi)};var u0=function ut(_e){var At=Cn(_e);return Ne.reduce(function(oe,Ee){return oe.concat(At.filter(function(tt){return tt.phase===Ee}))},[])}(function Bt(_e){var At=_e.reduce(function(oe,Ee){var tt=oe[Ee.name];return oe[Ee.name]=tt?Object.assign({},tt,Ee,{options:Object.assign({},tt.options,Ee.options),data:Object.assign({},tt.data,Ee.data)}):Ee,oe},{});return Object.keys(At).map(function(oe){return At[oe]})}([].concat(Ee,fs.options.modifiers)));return fs.orderedModifiers=u0.filter(function(Ca){return Ca.enabled}),function ya(){fs.orderedModifiers.forEach(function(ka){var da=ka.options,Ca=ka.effect;if("function"==typeof Ca){var ia=Ca({state:fs,name:ka.name,instance:Lo,options:void 0===da?{}:da});eo.push(ia||function(){})}})}(),Lo.update()},forceUpdate:function(){if(!po){var Ha=fs.elements,da=Ha.reference,u0=Ha.popper;if(Jt(da,u0)){fs.rects={reference:Si(da,_n(u0),"fixed"===fs.options.strategy),popper:li(u0)},fs.reset=!1,fs.placement=fs.options.placement,fs.orderedModifiers.forEach(function(F0){return fs.modifiersData[F0.name]=Object.assign({},F0.data)});for(var Ca=0;Ca<fs.orderedModifiers.length;Ca++)if(!0!==fs.reset){var ia=fs.orderedModifiers[Ca],d0=ia.fn,v1=ia.options;"function"==typeof d0&&(fs=d0({state:fs,options:void 0===v1?{}:v1,name:ia.name,instance:Lo})||fs)}else fs.reset=!1,Ca=-1}}},update:Mt(function(){return new Promise(function(ka){Lo.forceUpdate(),ka(fs)})}),destroy:function(){Sr(),po=!0}};if(!Jt(qi,Xi))return Lo;function Sr(){eo.forEach(function(ka){return ka()}),eo=[]}return Lo.setOptions(Zi).then(function(ka){!po&&Zi.onFirstUpdate&&Zi.onFirstUpdate(ka)}),Lo}}var nt={passive:!0},Ci={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ps(_e){var At,oe=_e.popper,Ee=_e.popperRect,tt=_e.placement,mn=_e.variation,$n=_e.offsets,qi=_e.position,Xi=_e.gpuAcceleration,Zi=_e.adaptive,fs=_e.roundOffsets,eo=_e.isFixed,po=$n.x,Lo=void 0===po?0:po,ya=$n.y,Sr=void 0===ya?0:ya,ka="function"==typeof fs?fs({x:Lo,y:Sr}):{x:Lo,y:Sr};Lo=ka.x,Sr=ka.y;var Ha=$n.hasOwnProperty("x"),da=$n.hasOwnProperty("y"),u0=Me,Ca=ae,ia=window;if(Zi){var d0=_n(oe),v1="clientHeight",x0="clientWidth";d0===Je(oe)&&"static"!==Li(d0=Xt(oe)).position&&"absolute"===qi&&(v1="scrollHeight",x0="scrollWidth"),(tt===ae||(tt===Me||tt===de)&&mn===Ae)&&(Ca=K,Sr-=(eo&&d0===ia&&ia.visualViewport?ia.visualViewport.height:d0[v1])-Ee.height,Sr*=Xi?1:-1),tt!==Me&&(tt!==ae&&tt!==K||mn!==Ae)||(u0=de,Lo-=(eo&&d0===ia&&ia.visualViewport?ia.visualViewport.width:d0[x0])-Ee.width,Lo*=Xi?1:-1)}var $0,pr=Object.assign({position:qi},Zi&&Ci),g0=!0===fs?function Ui(_e,At){var Ee=_e.y,tt=At.devicePixelRatio||1;return{x:Kt(_e.x*tt)/tt||0,y:Kt(Ee*tt)/tt||0}}({x:Lo,y:Sr},Je(oe)):{x:Lo,y:Sr};return Lo=g0.x,Sr=g0.y,Object.assign({},pr,Xi?(($0={})[Ca]=da?"0":"",$0[u0]=Ha?"0":"",$0.transform=(ia.devicePixelRatio||1)<=1?"translate("+Lo+"px, "+Sr+"px)":"translate3d("+Lo+"px, "+Sr+"px, 0)",$0):((At={})[Ca]=da?Sr+"px":"",At[u0]=Ha?Lo+"px":"",At.transform="",At))}var ds=He({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function Ot(_e){var At=_e.state,oe=_e.instance,Ee=_e.options,tt=Ee.scroll,mn=void 0===tt||tt,$n=Ee.resize,qi=void 0===$n||$n,Xi=Je(At.elements.popper),Zi=[].concat(At.scrollParents.reference,At.scrollParents.popper);return mn&&Zi.forEach(function(fs){fs.addEventListener("scroll",oe.update,nt)}),qi&&Xi.addEventListener("resize",oe.update,nt),function(){mn&&Zi.forEach(function(fs){fs.removeEventListener("scroll",oe.update,nt)}),qi&&Xi.removeEventListener("resize",oe.update,nt)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function Jn(_e){var At=_e.state;At.modifiersData[_e.name]=sn({reference:At.rects.reference,element:At.rects.popper,strategy:"absolute",placement:At.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function Ji(_e){var At=_e.state,oe=_e.options,Ee=oe.gpuAcceleration,tt=void 0===Ee||Ee,mn=oe.adaptive,$n=void 0===mn||mn,qi=oe.roundOffsets,Xi=void 0===qi||qi,Zi={placement:le(At.placement),variation:os(At.placement),popper:At.elements.popper,popperRect:At.rects.popper,gpuAcceleration:tt,isFixed:"fixed"===At.options.strategy};null!=At.modifiersData.popperOffsets&&(At.styles.popper=Object.assign({},At.styles.popper,ps(Object.assign({},Zi,{offsets:At.modifiersData.popperOffsets,position:At.options.strategy,adaptive:$n,roundOffsets:Xi})))),null!=At.modifiersData.arrow&&(At.styles.arrow=Object.assign({},At.styles.arrow,ps(Object.assign({},Zi,{offsets:At.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Xi})))),At.attributes.popper=Object.assign({},At.attributes.popper,{"data-popper-placement":At.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function js(_e){var At=_e.state;Object.keys(At.elements).forEach(function(oe){var Ee=At.styles[oe]||{},tt=At.attributes[oe]||{},mn=At.elements[oe];!rt(mn)||!Rn(mn)||(Object.assign(mn.style,Ee),Object.keys(tt).forEach(function($n){var qi=tt[$n];!1===qi?mn.removeAttribute($n):mn.setAttribute($n,!0===qi?"":qi)}))})},effect:function es(_e){var At=_e.state,oe={popper:{position:At.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(At.elements.popper.style,oe.popper),At.styles=oe,At.elements.arrow&&Object.assign(At.elements.arrow.style,oe.arrow),function(){Object.keys(At.elements).forEach(function(Ee){var tt=At.elements[Ee],mn=At.attributes[Ee]||{},qi=Object.keys(At.styles.hasOwnProperty(Ee)?At.styles[Ee]:oe[Ee]).reduce(function(Xi,Zi){return Xi[Zi]="",Xi},{});!rt(tt)||!Rn(tt)||(Object.assign(tt.style,qi),Object.keys(mn).forEach(function(Xi){tt.removeAttribute(Xi)}))})}},requires:["computeStyles"]}]});const wo={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function ao(_e){var At=_e.state,Ee=_e.name,tt=_e.options.offset,mn=void 0===tt?[0,0]:tt,$n=Be.reduce(function(fs,eo){return fs[eo]=function rs(_e,At,oe){var Ee=le(_e),tt=[Me,ae].indexOf(Ee)>=0?-1:1,mn="function"==typeof oe?oe(Object.assign({},At,{placement:_e})):oe,$n=mn[0],qi=mn[1];return $n=$n||0,qi=(qi||0)*tt,[Me,de].indexOf(Ee)>=0?{x:qi,y:$n}:{x:$n,y:qi}}(eo,At.rects,mn),fs},{}),qi=$n[At.placement],Zi=qi.y;null!=At.modifiersData.popperOffsets&&(At.modifiersData.popperOffsets.x+=qi.x,At.modifiersData.popperOffsets.y+=Zi),At.modifiersData[Ee]=$n}},zr=["*"],p0=_e=>({$implicit:_e}),Ia=["dialog"],Vs=["ngbNavOutlet",""];function Ar(_e,At){}function gr(_e,At){if(1&_e&&(n.j41(0,"div",0),n.DNE(1,Ar,0,0,"ng-template",1),n.k0s()),2&_e){const oe=n.XpG().$implicit,Ee=n.XpG();n.Y8G("item",oe)("nav",Ee.nav)("role",Ee.paneRole),n.R7$(),n.Y8G("ngTemplateOutlet",(null==oe.contentTpl?null:oe.contentTpl.templateRef)||null)("ngTemplateOutletContext",n.eq3(5,p0,oe.active||Ee.isPanelTransitioning(oe)))}}function Zr(_e,At){if(1&_e&&n.DNE(0,gr,2,7,"div",0),2&_e){const oe=At.$implicit,Ee=n.XpG();n.vxM(oe.isPanelInDom()||Ee.isPanelTransitioning(oe)?0:-1)}}function jl(_e,At){if(1&_e&&(n.j41(0,"span"),n.EFF(1),n.k0s()),2&_e){const oe=n.XpG().$implicit,Ee=n.XpG();n.HbH(Ee.highlightClass),n.R7$(),n.JRh(oe)}}function Zl(_e,At){if(1&_e&&(n.qex(0),n.EFF(1),n.bVm()),2&_e){const oe=n.XpG().$implicit;n.R7$(),n.JRh(oe)}}function ba(_e,At){1&_e&&n.DNE(0,jl,2,4,"span",0)(1,Zl,2,1,"ng-container"),2&_e&&n.vxM(At.$index%2!=0?0:1)}const qa=(_e,At,oe)=>({result:_e,term:At,formatter:oe});function Pr(_e,At){if(1&_e&&n.nrm(0,"ngb-highlight",2),2&_e){const Ee=At.term;n.Y8G("result",(0,At.formatter)(At.result))("term",Ee)}}function fc(_e,At){}function I0(_e,At){if(1&_e){const oe=n.RV6();n.j41(0,"button",3),n.bIt("mouseenter",function(){const tt=n.eBV(oe).$index,mn=n.XpG();return n.Njj(mn.markActive(tt))})("click",function(){const tt=n.eBV(oe).$implicit,mn=n.XpG();return n.Njj(mn.select(tt))}),n.DNE(1,fc,0,0,"ng-template",4),n.k0s()}if(2&_e){const oe=At.$implicit,Ee=At.$index,tt=n.XpG(),mn=n.sdS(1);n.AVh("active",Ee===tt.activeIdx),n.Y8G("id",tt.id+"-"+Ee),n.R7$(),n.Y8G("ngTemplateOutlet",tt.resultTemplate||mn)("ngTemplateOutletContext",n.sMw(5,qa,oe,tt.term,tt.formatter))}}const Il={animation:!0,transitionTimerDelayMs:5};let Yr=(()=>{class _e{constructor(){this.animation=Il.animation}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275prov=n.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})();function yi(_e){return null!=_e?`${_e}`:""}function ss(_e){return"string"==typeof _e}function or(_e){return null!=_e}function Ra(_e){return(_e||document.body).getBoundingClientRect()}function pl(_e){return _e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function B0(_e=document){const At=_e?.activeElement;return At?At.shadowRoot?B0(At.shadowRoot):At:null}const M1=()=>{},{transitionTimerDelayMs:Gr}=Il,xo=new Map,rr=(_e,At,oe,Ee)=>{let tt=Ee.context||{};const mn=xo.get(At);if(mn)switch(Ee.runningTransition){case"continue":return m.w;case"stop":_e.run(()=>mn.transition$.complete()),tt=Object.assign(mn.context,tt),xo.delete(At)}const $n=oe(At,Ee.animation,tt)||M1;if(!Ee.animation||"none"===window.getComputedStyle(At).transitionProperty)return _e.run(()=>$n()),(0,T.of)(void 0).pipe(function o0(_e){return At=>new g.c(oe=>At.subscribe({next:$n=>_e.run(()=>oe.next($n)),error:$n=>_e.run(()=>oe.error($n)),complete:()=>_e.run(()=>oe.complete())}))}(_e));const qi=new O.B,Xi=new O.B,Zi=qi.pipe(function C(..._e){return At=>(0,o.x)(At,(0,T.of)(..._e))}(!0));xo.set(At,{transition$:qi,complete:()=>{Xi.next(),Xi.complete()},context:tt});const fs=function b1(_e){const{transitionDelay:At,transitionDuration:oe}=window.getComputedStyle(_e);return 1e3*(parseFloat(At)+parseFloat(oe))}(At);return _e.runOutsideAngular(()=>{const eo=(0,D.R)(At,"transitionend").pipe((0,w.Q)(Zi),(0,M.p)(({target:Lo})=>Lo===At)),po=(0,E.O)(fs+Gr).pipe((0,w.Q)(Zi));(0,y.O)(po,eo,Xi).pipe((0,w.Q)(Zi)).subscribe(()=>{xo.delete(At),_e.run(()=>{$n(),qi.next(),qi.complete()})})}),qi.asObservable()};let N1=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),dn=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),k1=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),n1=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})();var qr=function(_e){return _e[_e.Tab=9]="Tab",_e[_e.Enter=13]="Enter",_e[_e.Escape=27]="Escape",_e[_e.Space=32]="Space",_e[_e.PageUp=33]="PageUp",_e[_e.PageDown=34]="PageDown",_e[_e.End=35]="End",_e[_e.Home=36]="Home",_e[_e.ArrowLeft=37]="ArrowLeft",_e[_e.ArrowUp=38]="ArrowUp",_e[_e.ArrowRight=39]="ArrowRight",_e[_e.ArrowDown=40]="ArrowDown",_e}(qr||{});const o1=(_e,At)=>!!At&&At.some(oe=>oe.contains(_e)),yl=(_e,At)=>!At||null!=function $a(_e,At){return!At||typeof _e.closest>"u"?null:_e.closest(At)}(_e,At),_c=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function qc(_e,At,oe,Ee,tt,mn,$n,qi){oe&&_e.runOutsideAngular((_e=>_c?()=>setTimeout(()=>_e(),100):_e)(()=>{const Zi=(0,D.R)(At,"keydown").pipe((0,w.Q)(tt),(0,M.p)(po=>po.which===qr.Escape),(0,z.M)(po=>po.preventDefault())),fs=(0,D.R)(At,"mousedown").pipe((0,F.T)(po=>{const Lo=po.target;return 2!==po.button&&!o1(Lo,$n)&&("inside"===oe?o1(Lo,mn)&&yl(Lo,qi):"outside"===oe?!o1(Lo,mn):yl(Lo,qi)||!o1(Lo,mn))}),(0,w.Q)(tt)),eo=(0,D.R)(At,"mouseup").pipe((0,U.E)(fs),(0,M.p)(([po,Lo])=>Lo),(0,k.c)(0),(0,w.Q)(tt));(0,y.O)([Zi.pipe((0,F.T)(po=>0)),eo.pipe((0,F.T)(po=>1))]).subscribe(po=>_e.run(()=>Ee(po)))}))}const cu=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function T0(_e){const At=Array.from(_e.querySelectorAll(cu)).filter(oe=>-1!==oe.tabIndex);return[At[0],At[At.length-1]]}let Vl=(()=>{class _e{constructor(){this._element=(0,n.WQX)(H.qQ).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275prov=n.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})();const ot=/\s+/,wt=/  +/gi,ct={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},pn=/^left/,Vn=/^right/,je=/^start/,Kn=/^end/;function Pt({placement:_e,baseClass:At},oe){let Ee=Array.isArray(_e)?_e:_e.split(ot),mn=Ee.findIndex(Zi=>"auto"===Zi);mn>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(Zi){null==Ee.find(fs=>-1!==fs.search("^"+Zi))&&Ee.splice(mn++,1,Zi)});const $n=Ee.map(Zi=>function Nt(_e,At){const[oe,Ee]=ct[_e];return At&&Ee||oe}(Zi,oe.isRTL()));return{placement:$n.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!At,phase:"write",fn({state:Zi}){const fs=new RegExp(At+"(-[a-z]+)*","gi"),eo=Zi.elements.popper,po=Zi.placement;let Lo=eo.className;Lo=Lo.replace(fs,""),Lo+=` ${function De(_e,At){let[oe,Ee]=At.split("-");const tt=oe.replace(pn,"start").replace(Vn,"end");let mn=[tt];if(Ee){let $n=Ee;("left"===oe||"right"===oe)&&($n=$n.replace(je,"top").replace(Kn,"bottom")),mn.push(`${tt}-${$n}`)}return _e&&(mn=mn.map($n=>`${_e}-${$n}`)),mn.join(" ")}(At,po)}`,Lo=Lo.trim().replace(wt," "),eo.className=Lo}},Nn,ei,hn,{enabled:!0,name:"flip",options:{fallbackPlacements:$n}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function mt(_e){return _e}function pi(){const _e=(0,n.WQX)(Vl);let At=null;return{createPopper(oe){if(!At){let tt=(oe.updatePopperOptions||mt)(Pt(oe,_e));At=ds(oe.hostElement,oe.targetElement,tt)}},update(){At&&At.update()},setOptions(oe){if(At){let tt=(oe.updatePopperOptions||mt)(Pt(oe,_e));At.setOptions(tt)}},destroy(){At&&(At.destroy(),At=null)}}}function Er(_e){return At=>(At.modifiers.push(wo,{name:"offset",options:{offset:()=>_e}}),At)}new Date(1882,10,12),new Date(2174,10,25);let Lu=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),cd=(()=>{class _e{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=oe=>oe,this.container=null}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275prov=n.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})(),tl=(()=>{class _e{constructor(){this._disabled=!1,this.nativeElement=(0,n.WQX)(n.aKT).nativeElement,this.tabindex=0}set disabled(oe){this._disabled=""===oe||!0===oe}get disabled(){return this._disabled}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(Ee,tt){2&Ee&&(n.Mr5("tabIndex",tt.disabled?-1:tt.tabindex),n.AVh("disabled",tt.disabled))},inputs:{tabindex:"tabindex",disabled:"disabled"},standalone:!0})}return _e})(),Rc=(()=>{class _e{constructor(){this.item=(0,n.WQX)(tl)}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["button","ngbDropdownItem",""]],hostVars:1,hostBindings:function(Ee,tt){2&Ee&&n.Mr5("disabled",tt.item.disabled)},standalone:!0})}return _e})(),a1=(()=>{class _e{constructor(){this.dropdown=(0,n.WQX)(t0),this.nativeElement=(0,n.WQX)(n.aKT).nativeElement}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(Ee,tt,mn){if(1&Ee&&n.wni(mn,tl,4),2&Ee){let $n;n.mGM($n=n.lsd())&&(tt.menuItems=$n)}},hostVars:4,hostBindings:function(Ee,tt){1&Ee&&n.bIt("keydown.ArrowUp",function($n){return tt.dropdown.onKeyDown($n)})("keydown.ArrowDown",function($n){return tt.dropdown.onKeyDown($n)})("keydown.Home",function($n){return tt.dropdown.onKeyDown($n)})("keydown.End",function($n){return tt.dropdown.onKeyDown($n)})("keydown.Enter",function($n){return tt.dropdown.onKeyDown($n)})("keydown.Space",function($n){return tt.dropdown.onKeyDown($n)})("keydown.Tab",function($n){return tt.dropdown.onKeyDown($n)})("keydown.Shift.Tab",function($n){return tt.dropdown.onKeyDown($n)}),2&Ee&&n.AVh("dropdown-menu",!0)("show",tt.dropdown.isOpen())},standalone:!0})}return _e})(),z0=(()=>{class _e{constructor(){this.dropdown=(0,n.WQX)(t0),this.nativeElement=(0,n.WQX)(n.aKT).nativeElement}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(Ee,tt){2&Ee&&(n.BMQ("aria-expanded",tt.dropdown.isOpen()),n.AVh("show",tt.dropdown.isOpen()))},standalone:!0})}return _e})(),ud=(()=>{class _e extends z0{static#e=this.\u0275fac=(()=>{let oe;return function(tt){return(oe||(oe=n.xGo(_e)))(tt||_e)}})();static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(Ee,tt){1&Ee&&n.bIt("click",function(){return tt.dropdown.toggle()})("keydown.ArrowUp",function($n){return tt.dropdown.onKeyDown($n)})("keydown.ArrowDown",function($n){return tt.dropdown.onKeyDown($n)})("keydown.Home",function($n){return tt.dropdown.onKeyDown($n)})("keydown.End",function($n){return tt.dropdown.onKeyDown($n)})("keydown.Tab",function($n){return tt.dropdown.onKeyDown($n)})("keydown.Shift.Tab",function($n){return tt.dropdown.onKeyDown($n)}),2&Ee&&(n.BMQ("aria-expanded",tt.dropdown.isOpen()),n.AVh("show",tt.dropdown.isOpen()))},standalone:!0,features:[n.Jv_([{provide:z0,useExisting:(0,n.Rfq)(()=>_e)}]),n.Vt3]})}return _e})(),t0=(()=>{class _e{constructor(){this._changeDetector=(0,n.WQX)(n.gRc),this._config=(0,n.WQX)(cd),this._document=(0,n.WQX)(H.qQ),this._ngZone=(0,n.WQX)(n.SKi),this._nativeElement=(0,n.WQX)(n.aKT).nativeElement,this._destroyCloseHandlers$=new O.B,this._bodyContainer=null,this._positioning=pi(),this.autoClose=this._config.autoClose,this._open=!1,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.openChange=new n.bkB}ngOnInit(){this.display||(this.display=this._nativeElement.closest(".navbar")?"static":"dynamic")}ngAfterContentInit(){this._ngZone.onStable.pipe((0,q.s)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(oe){if(oe.container&&this._open&&this._applyContainer(this.container),oe.placement&&!oe.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container}),this._applyPlacementClasses()),oe.dropdownClass){const{currentValue:Ee,previousValue:tt}=oe.dropdownClass;this._applyCustomDropdownClass(Ee,tt)}oe.autoClose&&this._open&&(this.autoClose=oe.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:oe=>this.popperOptions(Er([0,2])(oe))}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),qc(this._ngZone,this._document,this.autoClose,oe=>{this.close(),0===oe&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(oe){const Ee=oe.which,tt=this._getMenuElements();let mn=-1,$n=null;const qi=this._isEventFromToggle(oe);if(!qi&&tt.length&&tt.forEach((Xi,Zi)=>{Xi.contains(oe.target)&&($n=Xi),Xi===B0(this._document)&&(mn=Zi)}),Ee!==qr.Space&&Ee!==qr.Enter){if(Ee!==qr.Tab){if(qi||$n){if(this.open(),tt.length){switch(Ee){case qr.ArrowDown:mn=Math.min(mn+1,tt.length-1);break;case qr.ArrowUp:if(this._isDropup()&&-1===mn){mn=tt.length-1;break}mn=Math.max(mn-1,0);break;case qr.Home:mn=0;break;case qr.End:mn=tt.length-1}tt[mn].focus()}oe.preventDefault()}}else if(oe.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===oe.target)return void("body"!==this.container||oe.shiftKey?oe.shiftKey&&this.close():(this._menu.nativeElement.setAttribute("tabindex","0"),this._menu.nativeElement.focus(),this._menu.nativeElement.removeAttribute("tabindex")));if("body"===this.container){const Xi=this._menu.nativeElement.querySelectorAll(cu);oe.shiftKey&&oe.target===Xi[0]?(this._anchor.nativeElement.focus(),oe.preventDefault()):!oe.shiftKey&&oe.target===Xi[Xi.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else(0,D.R)(oe.target,"focusout").pipe((0,q.s)(1)).subscribe(({relatedTarget:Xi})=>{this._nativeElement.contains(Xi)||this.close()})}}else $n&&(!0===this.autoClose||"inside"===this.autoClose)&&(0,D.R)($n,"click").pipe((0,q.s)(1)).subscribe(()=>this.close())}_isDropup(){return this._nativeElement.classList.contains("dropup")}_isEventFromToggle(oe){return this._anchor.nativeElement.contains(oe.target)}_getMenuElements(){return this._menu?this._menu.menuItems.filter(({disabled:oe})=>!oe).map(({nativeElement:oe})=>oe):[]}_positionMenu(){const oe=this._menu;this.isOpen()&&oe&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(oe){return Array.isArray(oe)?oe[0]:oe.split(" ")[0]}_resetContainer(){this._menu&&this._nativeElement.appendChild(this._menu.nativeElement),this._bodyContainer&&(this._document.body.removeChild(this._bodyContainer),this._bodyContainer=null)}_applyContainer(oe=null){if(this._resetContainer(),"body"===oe){const Ee=this._menu.nativeElement,tt=this._bodyContainer=this._bodyContainer||this._document.createElement("div");tt.style.position="absolute",Ee.style.position="static",tt.style.zIndex="1055",tt.appendChild(Ee),this._document.body.appendChild(tt)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(oe,Ee){const tt="body"===this.container?this._bodyContainer:this._nativeElement;tt&&(Ee&&tt.classList.remove(Ee),oe&&tt.classList.add(oe))}_applyPlacementClasses(oe){if(this._menu){oe||(oe=this._getFirstPlacement(this.placement)),this._nativeElement.classList.remove("dropup","dropdown"),"static"===this.display?this._menu.nativeElement.setAttribute("data-bs-popper","static"):this._menu.nativeElement.removeAttribute("data-bs-popper");const Ee=-1!==oe.search("^top")?"dropup":"dropdown";this._nativeElement.classList.add(Ee),this._bodyContainer&&(this._bodyContainer.classList.remove("dropup","dropdown"),this._bodyContainer.classList.add(Ee))}}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["","ngbDropdown",""]],contentQueries:function(Ee,tt,mn){if(1&Ee&&(n.wni(mn,a1,5),n.wni(mn,z0,5)),2&Ee){let $n;n.mGM($n=n.lsd())&&(tt._menu=$n.first),n.mGM($n=n.lsd())&&(tt._anchor=$n.first)}},hostVars:2,hostBindings:function(Ee,tt){2&Ee&&n.AVh("show",tt.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:[0,"open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],standalone:!0,features:[n.OA$]})}return _e})(),Hu=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),eu=(()=>{class _e{constructor(){this._ngbConfig=(0,n.WQX)(Yr),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(oe){this._animation=oe}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275prov=n.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})();class ic{constructor(At,oe,Ee){this.nodes=At,this.viewRef=oe,this.componentRef=Ee}}class Q0{constructor(At){this._componentType=At,this._windowRef=null,this._contentRef=null,this._document=(0,n.WQX)(H.qQ),this._applicationRef=(0,n.WQX)(n.o8S),this._injector=(0,n.WQX)(n.zZn),this._viewContainerRef=(0,n.WQX)(n.c1b),this._ngZone=(0,n.WQX)(n.SKi)}open(At,oe,Ee=!1){this._windowRef||(this._contentRef=this._getContentRef(At,oe),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:tt}=this._windowRef.location,mn=this._ngZone.onStable.pipe((0,q.s)(1),(0,Y.Z)(()=>rr(this._ngZone,tt,({classList:$n})=>$n.add("show"),{animation:Ee,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:mn}}close(At=!1){return this._windowRef?rr(this._ngZone,this._windowRef.location.nativeElement,({classList:oe})=>oe.remove("show"),{animation:At,runningTransition:"stop"}).pipe((0,z.M)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,T.of)(void 0)}_getContentRef(At,oe){if(At){if(At instanceof n.C4Q){const Ee=At.createEmbeddedView(oe);return this._applicationRef.attachView(Ee),new ic([Ee.rootNodes],Ee)}return new ic([[this._document.createTextNode(`${At}`)]])}return new ic([])}}let I1=(()=>{class _e{constructor(){this._document=(0,n.WQX)(H.qQ)}hide(){const oe=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),Ee=this._document.body,tt=Ee.style,{overflow:mn,paddingRight:$n}=tt;if(oe>0){const qi=parseFloat(window.getComputedStyle(Ee).paddingRight);tt.paddingRight=`${qi+oe}px`}return tt.overflow="hidden",()=>{oe>0&&(tt.paddingRight=$n),tt.overflow=mn}}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275prov=n.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})(),uu=(()=>{class _e{constructor(){this._nativeElement=(0,n.WQX)(n.aKT).nativeElement,this._zone=(0,n.WQX)(n.SKi)}ngOnInit(){this._zone.onStable.asObservable().pipe((0,q.s)(1)).subscribe(()=>{rr(this._zone,this._nativeElement,(oe,Ee)=>{Ee&&Ra(oe),oe.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return rr(this._zone,this._nativeElement,({classList:oe})=>oe.remove("show"),{animation:this.animation,runningTransition:"stop"})}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275cmp=n.VBU({type:_e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(Ee,tt){2&Ee&&(n.HbH("modal-backdrop"+(tt.backdropClass?" "+tt.backdropClass:"")),n.AVh("show",!tt.animation)("fade",tt.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[n.aNF],decls:0,vars:0,template:function(Ee,tt){},encapsulation:2})}return _e})();class wu{update(At){}close(At){}dismiss(At){}}const Lc=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],G1=["animation","backdropClass"];class Uf{_applyWindowOptions(At,oe){Lc.forEach(Ee=>{or(oe[Ee])&&(At[Ee]=oe[Ee])})}_applyBackdropOptions(At,oe){G1.forEach(Ee=>{or(oe[Ee])&&(At[Ee]=oe[Ee])})}update(At){this._applyWindowOptions(this._windowCmptRef.instance,At),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,At)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,w.Q)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,w.Q)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(At,oe,Ee,tt){this._windowCmptRef=At,this._contentRef=oe,this._backdropCmptRef=Ee,this._beforeDismiss=tt,this._closed=new O.B,this._dismissed=new O.B,this._hidden=new O.B,At.instance.dismissEvent.subscribe(mn=>{this.dismiss(mn)}),this.result=new Promise((mn,$n)=>{this._resolve=mn,this._reject=$n}),this.result.then(null,()=>{})}close(At){this._windowCmptRef&&(this._closed.next(At),this._resolve(At),this._removeModalElements())}_dismiss(At){this._dismissed.next(At),this._reject(At),this._removeModalElements()}dismiss(At){if(this._windowCmptRef)if(this._beforeDismiss){const oe=this._beforeDismiss();!function wr(_e){return _e&&_e.then}(oe)?!1!==oe&&this._dismiss(At):oe.then(Ee=>{!1!==Ee&&this._dismiss(At)},()=>{})}else this._dismiss(At)}_removeModalElements(){const At=this._windowCmptRef.instance.hide(),oe=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,T.of)(void 0);At.subscribe(()=>{const{nativeElement:Ee}=this._windowCmptRef.location;Ee.parentNode.removeChild(Ee),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),oe.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:Ee}=this._backdropCmptRef.location;Ee.parentNode.removeChild(Ee),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),(0,b.y)(At,oe).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var vu=function(_e){return _e[_e.BACKDROP_CLICK=0]="BACKDROP_CLICK",_e[_e.ESC=1]="ESC",_e}(vu||{});let nh=(()=>{class _e{constructor(){this._document=(0,n.WQX)(H.qQ),this._elRef=(0,n.WQX)(n.aKT),this._zone=(0,n.WQX)(n.SKi),this._closed$=new O.B,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new n.bkB,this.shown=new O.B,this.hidden=new O.B}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":ss(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(oe){this.dismissEvent.emit(oe)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,q.s)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:oe}=this._elRef,Ee={animation:this.animation,runningTransition:"stop"},tt=rr(this._zone,oe,()=>oe.classList.remove("show"),Ee),mn=rr(this._zone,this._dialogEl.nativeElement,()=>{},Ee),$n=(0,b.y)(tt,mn);return $n.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),$n}_show(){const oe={animation:this.animation,runningTransition:"continue"},Ee=rr(this._zone,this._elRef.nativeElement,(mn,$n)=>{$n&&Ra(mn),mn.classList.add("show")},oe),tt=rr(this._zone,this._dialogEl.nativeElement,()=>{},oe);(0,b.y)(Ee,tt).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:oe}=this._elRef;this._zone.runOutsideAngular(()=>{(0,D.R)(oe,"keydown").pipe((0,w.Q)(this._closed$),(0,M.p)(tt=>tt.which===qr.Escape)).subscribe(tt=>{this.keyboard?requestAnimationFrame(()=>{tt.defaultPrevented||this._zone.run(()=>this.dismiss(vu.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let Ee=!1;(0,D.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,w.Q)(this._closed$),(0,z.M)(()=>Ee=!1),(0,x.n)(()=>(0,D.R)(oe,"mouseup").pipe((0,w.Q)(this._closed$),(0,q.s)(1))),(0,M.p)(({target:tt})=>oe===tt)).subscribe(()=>{Ee=!0}),(0,D.R)(oe,"click").pipe((0,w.Q)(this._closed$)).subscribe(({target:tt})=>{oe===tt&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!Ee&&this._zone.run(()=>this.dismiss(vu.BACKDROP_CLICK))),Ee=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:oe}=this._elRef;if(!oe.contains(document.activeElement)){const Ee=oe.querySelector("[ngbAutofocus]"),tt=T0(oe)[0];(Ee||tt||oe).focus()}}_restoreFocus(){const oe=this._document.body,Ee=this._elWithFocus;let tt;tt=Ee&&Ee.focus&&oe.contains(Ee)?Ee:oe,this._zone.runOutsideAngular(()=>{setTimeout(()=>tt.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&rr(this._zone,this._elRef.nativeElement,({classList:oe})=>(oe.add("modal-static"),()=>oe.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275cmp=n.VBU({type:_e,selectors:[["ngb-modal-window"]],viewQuery:function(Ee,tt){if(1&Ee&&n.GBs(Ia,7),2&Ee){let mn;n.mGM(mn=n.lsd())&&(tt._dialogEl=mn.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(Ee,tt){2&Ee&&(n.BMQ("aria-modal",!0)("aria-labelledby",tt.ariaLabelledBy)("aria-describedby",tt.ariaDescribedBy),n.HbH("modal d-block"+(tt.windowClass?" "+tt.windowClass:"")),n.AVh("fade",tt.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"},standalone:!0,features:[n.aNF],ngContentSelectors:zr,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(Ee,tt){1&Ee&&(n.NAR(),n.j41(0,"div",1,0)(2,"div",2),n.SdG(3),n.k0s()()),2&Ee&&n.HbH("modal-dialog"+(tt.size?" modal-"+tt.size:"")+(tt.centered?" modal-dialog-centered":"")+tt.fullscreenClass+(tt.scrollable?" modal-dialog-scrollable":"")+(tt.modalDialogClass?" "+tt.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2})}return _e})(),Vd=(()=>{class _e{constructor(){this._applicationRef=(0,n.WQX)(n.o8S),this._injector=(0,n.WQX)(n.zZn),this._environmentInjector=(0,n.WQX)(n.uvJ),this._document=(0,n.WQX)(H.qQ),this._scrollBar=(0,n.WQX)(I1),this._activeWindowCmptHasChanged=new O.B,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new n.bkB;const oe=(0,n.WQX)(n.SKi);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const Ee=this._windowCmpts[this._windowCmpts.length-1];((_e,At,oe,Ee=!1)=>{_e.runOutsideAngular(()=>{const tt=(0,D.R)(At,"focusin").pipe((0,w.Q)(oe),(0,F.T)(mn=>mn.target));(0,D.R)(At,"keydown").pipe((0,w.Q)(oe),(0,M.p)(mn=>mn.which===qr.Tab),(0,U.E)(tt)).subscribe(([mn,$n])=>{const[qi,Xi]=T0(At);($n===qi||$n===At)&&mn.shiftKey&&(Xi.focus(),mn.preventDefault()),$n===Xi&&!mn.shiftKey&&(qi.focus(),mn.preventDefault())}),Ee&&(0,D.R)(At,"click").pipe((0,w.Q)(oe),(0,U.E)(tt),(0,F.T)(mn=>mn[1])).subscribe(mn=>mn.focus())})})(oe,Ee.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(Ee.location.nativeElement)}})}_restoreScrollBar(){const oe=this._scrollBarRestoreFn;oe&&(this._scrollBarRestoreFn=null,oe())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(oe,Ee,tt){const mn=tt.container instanceof HTMLElement?tt.container:or(tt.container)?this._document.querySelector(tt.container):this._document.body;if(!mn)throw new Error(`The specified modal container "${tt.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const $n=new wu,qi=(oe=tt.injector||oe).get(n.uvJ,null)||this._environmentInjector,Xi=this._getContentRef(oe,qi,Ee,$n,tt);let Zi=!1!==tt.backdrop?this._attachBackdrop(mn):void 0,fs=this._attachWindowComponent(mn,Xi.nodes),eo=new Uf(fs,Xi,Zi,tt.beforeDismiss);return this._registerModalRef(eo),this._registerWindowCmpt(fs),eo.hidden.pipe((0,q.s)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),$n.close=po=>{eo.close(po)},$n.dismiss=po=>{eo.dismiss(po)},$n.update=po=>{eo.update(po)},eo.update(tt),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),Zi&&Zi.instance&&Zi.changeDetectorRef.detectChanges(),fs.changeDetectorRef.detectChanges(),eo}get activeInstances(){return this._activeInstances}dismissAll(oe){this._modalRefs.forEach(Ee=>Ee.dismiss(oe))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(oe){let Ee=(0,n.a0P)(uu,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(Ee.hostView),oe.appendChild(Ee.location.nativeElement),Ee}_attachWindowComponent(oe,Ee){let tt=(0,n.a0P)(nh,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:Ee});return this._applicationRef.attachView(tt.hostView),oe.appendChild(tt.location.nativeElement),tt}_getContentRef(oe,Ee,tt,mn,$n){return tt?tt instanceof n.C4Q?this._createFromTemplateRef(tt,mn):ss(tt)?this._createFromString(tt):this._createFromComponent(oe,Ee,tt,mn,$n):new ic([])}_createFromTemplateRef(oe,Ee){const mn=oe.createEmbeddedView({$implicit:Ee,close($n){Ee.close($n)},dismiss($n){Ee.dismiss($n)}});return this._applicationRef.attachView(mn),new ic([mn.rootNodes],mn)}_createFromString(oe){const Ee=this._document.createTextNode(`${oe}`);return new ic([[Ee]])}_createFromComponent(oe,Ee,tt,mn,$n){const qi=n.zZn.create({providers:[{provide:wu,useValue:mn}],parent:oe}),Xi=(0,n.a0P)(tt,{environmentInjector:Ee,elementInjector:qi}),Zi=Xi.location.nativeElement;return $n.scrollable&&Zi.classList.add("component-host-scrollable"),this._applicationRef.attachView(Xi.hostView),new ic([[Zi]],Xi.hostView,Xi)}_setAriaHidden(oe){const Ee=oe.parentElement;Ee&&oe!==this._document.body&&(Array.from(Ee.children).forEach(tt=>{tt!==oe&&"SCRIPT"!==tt.nodeName&&(this._ariaHiddenValues.set(tt,tt.getAttribute("aria-hidden")),tt.setAttribute("aria-hidden","true"))}),this._setAriaHidden(Ee))}_revertAriaHidden(){this._ariaHiddenValues.forEach((oe,Ee)=>{oe?Ee.setAttribute("aria-hidden",oe):Ee.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(oe){const Ee=()=>{const tt=this._modalRefs.indexOf(oe);tt>-1&&(this._modalRefs.splice(tt,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(oe),this._activeInstances.emit(this._modalRefs),oe.result.then(Ee,Ee)}_registerWindowCmpt(oe){this._windowCmpts.push(oe),this._activeWindowCmptHasChanged.next(),oe.onDestroy(()=>{const Ee=this._windowCmpts.indexOf(oe);Ee>-1&&(this._windowCmpts.splice(Ee,1),this._activeWindowCmptHasChanged.next())})}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275prov=n.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})(),Fh=(()=>{class _e{constructor(){this._injector=(0,n.WQX)(n.zZn),this._modalStack=(0,n.WQX)(Vd),this._config=(0,n.WQX)(eu)}open(oe,Ee={}){const tt={...this._config,animation:this._config.animation,...Ee};return this._modalStack.open(this._injector,oe,tt)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(oe){this._modalStack.dismissAll(oe)}hasOpenModals(){return this._modalStack.hasOpenModals()}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275prov=n.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})(),dd=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({providers:[Fh]})}return _e})(),ih=(()=>{class _e{constructor(){this._ngbConfig=(0,n.WQX)(Yr),this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}get animation(){return this._animation??this._ngbConfig.animation}set animation(oe){this._animation=oe}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275prov=n.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})();const Nu=_e=>or(_e)&&""!==_e;let Yu=0,Xu=(()=>{class _e{constructor(){this.templateRef=(0,n.WQX)(n.C4Q)}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["ng-template","ngbNavContent",""]],standalone:!0})}return _e})(),_m=(()=>{class _e{constructor(oe){this.role=oe,this.nav=(0,n.WQX)(pd)}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)(n.kS0("role"))};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["","ngbNavItem","",5,"ng-container"]],hostVars:1,hostBindings:function(Ee,tt){2&Ee&&n.BMQ("role",tt.role?tt.role:tt.nav.roles?"presentation":void 0)},standalone:!0})}return _e})(),xu=(()=>{class _e{constructor(){this._nav=(0,n.WQX)(pd),this._nativeElement=(0,n.WQX)(n.aKT).nativeElement,this.disabled=!1,this.shown=new n.bkB,this.hidden=new n.bkB}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){or(this.domId)||(this.domId="ngb-nav-"+Yu++)}get active(){return this._nav.activeId===this.id}get id(){return Nu(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(or(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}isNgContainer(){return this._nativeElement.nodeType===Node.COMMENT_NODE}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["","ngbNavItem",""]],contentQueries:function(Ee,tt,mn){if(1&Ee&&n.wni(mn,Xu,4),2&Ee){let $n;n.mGM($n=n.lsd())&&(tt.contentTpls=$n)}},hostVars:2,hostBindings:function(Ee,tt){2&Ee&&n.AVh("nav-item",!0)},inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:[0,"ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"],standalone:!0})}return _e})(),pd=(()=>{class _e{constructor(oe){this.role=oe,this._config=(0,n.WQX)(ih),this._cd=(0,n.WQX)(n.gRc),this._document=(0,n.WQX)(H.qQ),this.destroyRef=(0,n.WQX)(n.abz),this.activeIdChange=new n.bkB,this.animation=this._config.animation,this.destroyOnHide=this._config.destroyOnHide,this.orientation=this._config.orientation,this.roles=this._config.roles,this.keyboard=this._config.keyboard,this.shown=new n.bkB,this.hidden=new n.bkB,this.navItemChange$=new O.B,this.navChange=new n.bkB}click(oe){oe.disabled||this._updateActiveId(oe.id)}onKeyDown(oe){if("tablist"!==this.roles||!this.keyboard)return;const Ee=oe.which,tt=this.links.filter(qi=>!qi.navItem.disabled),{length:mn}=tt;let $n=-1;if(tt.forEach((qi,Xi)=>{qi.nativeElement===this._document.activeElement&&($n=Xi)}),mn){switch(Ee){case qr.ArrowLeft:if("vertical"===this.orientation)return;$n=($n-1+mn)%mn;break;case qr.ArrowRight:if("vertical"===this.orientation)return;$n=($n+1)%mn;break;case qr.ArrowDown:if("horizontal"===this.orientation)return;$n=($n+1)%mn;break;case qr.ArrowUp:if("horizontal"===this.orientation)return;$n=($n-1+mn)%mn;break;case qr.Home:$n=0;break;case qr.End:$n=mn-1}"changeWithArrows"===this.keyboard&&this.select(tt[$n].navItem.id),tt[$n].nativeElement.focus(),oe.preventDefault()}}select(oe){this._updateActiveId(oe,!1)}ngAfterContentInit(){if(!or(this.activeId)){const oe=this.items.first?this.items.first.id:null;Nu(oe)&&(this._updateActiveId(oe,!1),this._cd.detectChanges())}this.items.changes.pipe((0,a.pQ)(this.destroyRef)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:oe}){oe&&!oe.firstChange&&this._notifyItemChanged(oe.currentValue)}_updateActiveId(oe,Ee=!0){if(this.activeId!==oe){let tt=!1;Ee&&this.navChange.emit({activeId:this.activeId,nextId:oe,preventDefault:()=>{tt=!0}}),tt||(this.activeId=oe,this.activeIdChange.emit(oe),this._notifyItemChanged(oe))}}_notifyItemChanged(oe){this.navItemChange$.next(this._getItemById(oe))}_getItemById(oe){return this.items&&this.items.find(Ee=>Ee.id===oe)||null}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)(n.kS0("role"))};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["","ngbNav",""]],contentQueries:function(Ee,tt,mn){if(1&Ee&&(n.wni(mn,xu,4),n.wni(mn,Fu,5)),2&Ee){let $n;n.mGM($n=n.lsd())&&(tt.items=$n),n.mGM($n=n.lsd())&&(tt.links=$n)}},hostVars:6,hostBindings:function(Ee,tt){1&Ee&&n.bIt("keydown.arrowLeft",function($n){return tt.onKeyDown($n)})("keydown.arrowRight",function($n){return tt.onKeyDown($n)})("keydown.arrowDown",function($n){return tt.onKeyDown($n)})("keydown.arrowUp",function($n){return tt.onKeyDown($n)})("keydown.Home",function($n){return tt.onKeyDown($n)})("keydown.End",function($n){return tt.onKeyDown($n)}),2&Ee&&(n.BMQ("aria-orientation","vertical"===tt.orientation&&"tablist"===tt.roles?"vertical":void 0)("role",tt.role?tt.role:tt.roles?"tablist":void 0),n.AVh("nav",!0)("flex-column","vertical"===tt.orientation))},inputs:{activeId:"activeId",animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],standalone:!0,features:[n.OA$]})}return _e})(),Fu=(()=>{class _e{constructor(oe){this.role=oe,this.navItem=(0,n.WQX)(xu),this.nav=(0,n.WQX)(pd),this.nativeElement=(0,n.WQX)(n.aKT).nativeElement}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)(n.kS0("role"))};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["","ngbNavLink",""]],hostVars:14,hostBindings:function(Ee,tt){2&Ee&&(n.Mr5("id",tt.navItem.domId),n.BMQ("role",tt.role?tt.role:tt.nav.roles?"tab":void 0)("tabindex",tt.navItem.disabled?-1:void 0)("aria-controls",tt.navItem.isPanelInDom()?tt.navItem.panelDomId:null)("aria-selected",tt.navItem.active)("aria-disabled",tt.navItem.disabled),n.AVh("nav-link",!0)("nav-item",tt.navItem.isNgContainer())("active",tt.navItem.active)("disabled",tt.navItem.disabled))},standalone:!0})}return _e})(),tu=(()=>{class _e extends Fu{static#e=this.\u0275fac=(()=>{let oe;return function(tt){return(oe||(oe=n.xGo(_e)))(tt||_e)}})();static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostBindings:function(Ee,tt){1&Ee&&n.bIt("click",function($n){return tt.nav.click(tt.navItem),$n.preventDefault()})},standalone:!0,features:[n.Vt3]})}return _e})();const hd=({classList:_e})=>(_e.remove("show"),()=>_e.remove("active")),sc=(_e,At)=>{At&&Ra(_e),_e.classList.add("show")};let cr=(()=>{class _e{constructor(){this.nativeElement=(0,n.WQX)(n.aKT).nativeElement}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(Ee,tt){2&Ee&&(n.Mr5("id",tt.item.panelDomId),n.BMQ("role",tt.role?tt.role:tt.nav.roles?"tabpanel":void 0)("aria-labelledby",tt.item.domId),n.AVh("fade",tt.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"},standalone:!0})}return _e})(),xp=(()=>{class _e{constructor(){this._cd=(0,n.WQX)(n.gRc),this._ngZone=(0,n.WQX)(n.SKi),this._activePane=null}isPanelTransitioning(oe){return this._activePane?.item===oe}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe((0,a.pQ)(this.nav.destroyRef),(0,B.Z)(this._activePane?.item||null),(0,j.F)(),(0,$.i)(1)).subscribe(oe=>{const Ee={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?rr(this._ngZone,this._activePane.nativeElement,hd,Ee).subscribe(()=>{const tt=this._activePane?.item;this._activePane=this._getPaneForItem(oe),this._cd.markForCheck(),this._activePane&&(this._activePane.nativeElement.classList.add("active"),rr(this._ngZone,this._activePane.nativeElement,sc,Ee).subscribe(()=>{oe&&(oe.shown.emit(),this.nav.shown.emit(oe.id))})),tt&&(tt.hidden.emit(),this.nav.hidden.emit(tt.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.nativeElement.classList.add("show"),this._activePane?.nativeElement.classList.add("active")}_getPaneForItem(oe){return this._panes&&this._panes.find(Ee=>Ee.item===oe)||null}_getActivePane(){return this._panes&&this._panes.find(oe=>oe.item.active)||null}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275cmp=n.VBU({type:_e,selectors:[["","ngbNavOutlet",""]],viewQuery:function(Ee,tt){if(1&Ee&&n.GBs(cr,5),2&Ee){let mn;n.mGM(mn=n.lsd())&&(tt._panes=mn)}},hostVars:2,hostBindings:function(Ee,tt){2&Ee&&n.AVh("tab-content",!0)},inputs:{paneRole:"paneRole",nav:[0,"ngbNavOutlet","nav"]},standalone:!0,features:[n.aNF],attrs:Vs,decls:2,vars:0,consts:[["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(Ee,tt){1&Ee&&n.Z7z(0,Zr,1,1,null,null,n.fX1),2&Ee&&n.Dyx(tt.nav.items)},dependencies:[cr,H.T3],encapsulation:2,changeDetection:0})}return _e})(),Fp=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),yc=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})();const oh={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};let oc=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),fu=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),fp=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),ah=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),gf=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),Ju=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),q0=(()=>{class _e{constructor(){this._ngbConfig=(0,n.WQX)(Yr),this.autoClose=!0,this.placement="auto",this.popperOptions=oe=>oe,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(oe){this._animation=oe}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275prov=n.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})(),kp=0,Qd=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275cmp=n.VBU({type:_e,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(Ee,tt){2&Ee&&(n.Mr5("id",tt.id),n.HbH("tooltip"+(tt.tooltipClass?" "+tt.tooltipClass:"")),n.AVh("fade",tt.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},standalone:!0,features:[n.aNF],ngContentSelectors:zr,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(Ee,tt){1&Ee&&(n.NAR(),n.nrm(0,"div",0),n.j41(1,"div",1),n.SdG(2),n.k0s())},styles:["ngb-tooltip-window{pointer-events:none;position:absolute}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top,ngb-tooltip-window.bs-tooltip-bottom{padding-left:0;padding-right:0}ngb-tooltip-window.bs-tooltip-start,ngb-tooltip-window.bs-tooltip-end{padding-top:0;padding-bottom:0}\n"],encapsulation:2,changeDetection:0})}return _e})(),d1=(()=>{class _e{constructor(){this._config=(0,n.WQX)(q0),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disableTooltip=this._config.disableTooltip,this.tooltipClass=this._config.tooltipClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new n.bkB,this.hidden=new n.bkB,this._nativeElement=(0,n.WQX)(n.aKT).nativeElement,this._ngZone=(0,n.WQX)(n.SKi),this._document=(0,n.WQX)(H.qQ),this._changeDetector=(0,n.WQX)(n.gRc),this._ngbTooltipWindowId="ngb-tooltip-"+kp++,this._popupService=new Q0(Qd),this._windowRef=null,this._positioning=pi()}set ngbTooltip(oe){this._ngbTooltip=oe,!oe&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(oe){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:Ee,transition$:tt}=this._popupService.open(this._ngbTooltip,oe??this.tooltipContext,this.animation);this._windowRef=Ee,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-tooltip",updatePopperOptions:mn=>this.popperOptions(Er([0,6])(mn))}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),qc(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement],[this._nativeElement]),tt.subscribe(()=>this.shown.emit())}}close(oe=this.animation){null!=this._windowRef&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(oe).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=function G0(_e,At,oe,Ee,tt,mn=0,$n=0){const qi=function _o(_e){const At=(_e||"").trim();if(0===At.length)return[];const oe=At.split(/\s+/).map(tt=>tt.split(":")).map(tt=>oh[tt[0]]||tt),Ee=oe.filter(tt=>tt.includes("manual"));if(Ee.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===Ee.length&&oe.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return Ee.length?[]:oe}(At);if(0===qi.length)return()=>{};const Xi=new Set,Zi=[];let fs;function eo(Lo,ya){_e.addEventListener(Lo,ya),Zi.push(()=>_e.removeEventListener(Lo,ya))}function po(Lo,ya){clearTimeout(fs),ya>0?fs=setTimeout(Lo,ya):Lo()}for(const[Lo,ya]of qi)ya?(eo(Lo,()=>{Xi.add(Lo),po(()=>Xi.size>0&&Ee(),mn)}),eo(ya,()=>{Xi.delete(Lo),po(()=>0===Xi.size&&tt(),$n)})):eo(Lo,()=>oe()?po(tt,$n):po(Ee,mn));return()=>Zi.forEach(Lo=>Lo())}(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:oe}){oe&&this.isOpen()&&this._windowRef.setInput("tooltipClass",oe.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(ss(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],standalone:!0,features:[n.OA$]})}return _e})(),Mp=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),wc=(()=>{class _e{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(oe){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);const Ee=yi(this.result),tt=Array.isArray(this.term)?this.term:[this.term],mn=Zi=>this.accentSensitive?Zi:pl(Zi),$n=tt.map(Zi=>function R0(_e){return _e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(mn(yi(Zi)))).filter(Zi=>Zi),qi=this.accentSensitive?Ee:pl(Ee),Xi=$n.length?qi.split(new RegExp(`(${$n.join("|")})`,"gmi")):[Ee];if(this.accentSensitive)this.parts=Xi;else{let Zi=0;this.parts=Xi.map(fs=>Ee.substring(Zi,Zi+=fs.length))}}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275cmp=n.VBU({type:_e,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},standalone:!0,features:[n.OA$,n.aNF],decls:2,vars:0,consts:[[3,"class"]],template:function(Ee,tt){1&Ee&&n.Z7z(0,ba,2,1,null,null,n.fX1),2&Ee&&n.Dyx(tt.parts)},styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2,changeDetection:0})}return _e})();const zd=new n.nKC("live announcer delay",{providedIn:"root",factory:()=>100});function ch(_e,At=!1){let oe=_e.body.querySelector("#ngb-live");return null==oe&&At&&(oe=_e.createElement("div"),oe.setAttribute("id","ngb-live"),oe.setAttribute("aria-live","polite"),oe.setAttribute("aria-atomic","true"),oe.classList.add("visually-hidden"),_e.body.appendChild(oe)),oe}let kh=(()=>{class _e{constructor(){this._document=(0,n.WQX)(H.qQ),this._delay=(0,n.WQX)(zd)}ngOnDestroy(){const oe=ch(this._document);oe&&oe.parentElement.removeChild(oe)}say(oe){const Ee=ch(this._document,!0),tt=this._delay;if(null!=Ee){Ee.textContent="";const mn=()=>Ee.textContent=oe;null===tt?mn():setTimeout(mn,tt)}}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275prov=n.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})(),jh=(()=>{class _e{constructor(){this.editable=!0,this.focusFirst=!0,this.selectOnExact=!1,this.showHint=!1,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=oe=>oe}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275prov=n.jDH({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})(),mu=(()=>{class _e{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=yi,this.selectEvent=new n.bkB,this.activeChangeEvent=new n.bkB}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(oe){this.activeIdx=oe,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(oe){this.selectEvent.emit(oe)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275cmp=n.VBU({type:_e,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(Ee,tt){1&Ee&&n.bIt("mousedown",function($n){return $n.preventDefault()}),2&Ee&&(n.Mr5("id",tt.id),n.HbH("dropdown-menu show"+(tt.popupClass?" "+tt.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],standalone:!0,features:[n.aNF],decls:4,vars:0,consts:[["rt",""],["type","button","role","option",1,"dropdown-item",3,"id","active"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"mouseenter","click","id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(Ee,tt){1&Ee&&(n.DNE(0,Pr,1,2,"ng-template",null,0,n.C5r),n.Z7z(2,I0,2,9,"button",1,n.fX1)),2&Ee&&(n.R7$(2),n.Dyx(tt.results))},dependencies:[wc,H.T3],encapsulation:2})}return _e})(),bf=0,Nc=(()=>{class _e{constructor(){this._nativeElement=(0,n.WQX)(n.aKT).nativeElement,this._config=(0,n.WQX)(jh),this._live=(0,n.WQX)(kh),this._document=(0,n.WQX)(H.qQ),this._ngZone=(0,n.WQX)(n.SKi),this._changeDetector=(0,n.WQX)(n.gRc),this._popupService=new Q0(mu),this._positioning=pi(),this._subscription=null,this._closed$=new O.B,this._inputValueBackup=null,this._inputValueForSelectOnExact=null,this._valueChanges$=(0,D.R)(this._nativeElement,"input").pipe((0,F.T)(oe=>oe.target.value)),this._resubscribeTypeahead$=new L.t(null),this._windowRef=null,this.autocomplete="off",this.container=this._config.container,this.editable=this._config.editable,this.focusFirst=this._config.focusFirst,this.selectOnExact=this._config.selectOnExact,this.showHint=this._config.showHint,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.selectItem=new n.bkB,this.activeDescendant=null,this.popupId="ngb-typeahead-"+bf++,this._onTouched=()=>{},this._onChange=oe=>{}}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:oe}){oe&&!oe.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput()}registerOnChange(oe){this._onChange=oe}registerOnTouched(oe){this._onTouched=oe}writeValue(oe){this._writeInputValue(this._formatItemForInput(oe)),this.showHint&&(this._inputValueBackup=oe)}setDisabledState(oe){this._nativeElement.disabled=oe}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead$.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return null!=this._windowRef}handleBlur(){this._resubscribeTypeahead$.next(null),this._onTouched()}handleKeyDown(oe){if(this.isPopupOpen())switch(oe.which){case qr.ArrowDown:oe.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case qr.ArrowUp:oe.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case qr.Enter:case qr.Tab:{const Ee=this._windowRef.instance.getActive();or(Ee)&&(oe.preventDefault(),oe.stopPropagation(),this._selectResult(Ee)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._nativeElement.value;const{windowRef:oe}=this._popupService.open();this._windowRef=oe,this._windowRef.setInput("id",this.popupId),this._windowRef.setInput("popupClass",this.popupClass),this._windowRef.instance.selectEvent.subscribe(Ee=>this._selectResultClosePopup(Ee)),this._windowRef.instance.activeChangeEvent.subscribe(Ee=>this.activeDescendant=Ee),"body"===this.container&&(this._windowRef.location.nativeElement.style.zIndex="1055",this._document.body.appendChild(this._windowRef.location.nativeElement)),this._changeDetector.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._windowRef&&(this._positioning.createPopper({hostElement:this._nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:Ee=>this.popperOptions(Er([0,2])(Ee))}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),qc(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(oe){let Ee=!1;this.selectItem.emit({item:oe,preventDefault:()=>{Ee=!0}}),this._resubscribeTypeahead$.next(null),Ee||(this.writeValue(oe),this._onChange(oe))}_selectResultClosePopup(oe){this._selectResult(oe),this._closePopup()}_showHint(){if(this.showHint&&this._windowRef?.instance.hasActive()&&null!=this._inputValueBackup){const oe=this._inputValueBackup.toLowerCase(),Ee=this._formatItemForInput(this._windowRef.instance.getActive());oe===Ee.substring(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+Ee.substring(this._inputValueBackup.length)),this._nativeElement.setSelectionRange.apply(this._nativeElement,[this._inputValueBackup.length,Ee.length])):this._writeInputValue(Ee)}}_formatItemForInput(oe){return null!=oe&&this.inputFormatter?this.inputFormatter(oe):yi(oe)}_writeInputValue(oe){this._nativeElement.value=yi(oe)}_subscribeToUserInput(){const oe=this._valueChanges$.pipe((0,z.M)(Ee=>{this._inputValueBackup=this.showHint?Ee:null,this._inputValueForSelectOnExact=this.selectOnExact?Ee:null,this._onChange(this.editable?Ee:void 0)}),this.ngbTypeahead?this.ngbTypeahead:()=>(0,T.of)([]));this._subscription=this._resubscribeTypeahead$.pipe((0,x.n)(()=>oe)).subscribe(Ee=>{Ee&&0!==Ee.length?this.selectOnExact&&1===Ee.length&&this._formatItemForInput(Ee[0])===this._inputValueForSelectOnExact?(this._selectResult(Ee[0]),this._closePopup()):(this._openPopup(),this._windowRef.setInput("focusFirst",this.focusFirst),this._windowRef.setInput("results",Ee),this._windowRef.setInput("term",this._nativeElement.value),this.resultFormatter&&this._windowRef.setInput("formatter",this.resultFormatter),this.resultTemplate&&this._windowRef.setInput("resultTemplate",this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const tt=Ee?Ee.length:0;this._live.say(0===tt?"No results available":`${tt} result${1===tt?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275dir=n.FsC({type:_e,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox"],hostVars:7,hostBindings:function(Ee,tt){1&Ee&&n.bIt("blur",function(){return tt.handleBlur()})("keydown",function($n){return tt.handleKeyDown($n)}),2&Ee&&(n.Mr5("autocomplete",tt.autocomplete),n.BMQ("aria-autocomplete",tt.showHint?"both":"list")("aria-activedescendant",tt.activeDescendant)("aria-owns",tt.isPopupOpen()?tt.popupId:null)("aria-expanded",tt.isPopupOpen()),n.AVh("open",tt.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",selectOnExact:"selectOnExact",showHint:"showHint",placement:"placement",popperOptions:"popperOptions",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],standalone:!0,features:[n.Jv_([{provide:ie.kq,useExisting:(0,n.Rfq)(()=>_e),multi:!0}]),n.OA$]})}return _e})(),El=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})(),Sl=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({})}return _e})();const q1=[N1,dn,k1,n1,Lu,Hu,dd,Fp,Sl,yc,oc,fu,fp,ah,gf,Ju,Mp,El];let Wu=(()=>{class _e{static#e=this.\u0275fac=function(Ee){return new(Ee||_e)};static#t=this.\u0275mod=n.$C({type:_e});static#n=this.\u0275inj=n.G2t({imports:[q1,N1,dn,k1,n1,Lu,Hu,dd,Fp,Sl,yc,oc,fu,fp,ah,gf,Ju,Mp,El]})}return _e})()},72510:(at,N,s)=>{"use strict";s.d(N,{MQ:()=>Fs,vr:()=>Dn,xt:()=>Xn});var n=s(93953),a=s(89417),g=s(56977),m=s(13798),T=s(99172),O=s(88141),D=s(70152),E=s(5964),y=s(96354),I=s(30536),b=s(25007),L=s(21413),o=s(33726),C=s(57786),w=s(60177);const M=["content"],q=["scroll"],z=["padding"],F=["*"],U=sn=>({searchTerm:sn});function k(sn,oi){if(1&sn&&(n.j41(0,"div",3),n.eu8(1,6),n.k0s()),2&sn){const pt=n.XpG();n.R7$(),n.Y8G("ngTemplateOutlet",pt.headerTemplate)("ngTemplateOutletContext",n.eq3(2,U,pt.filterValue))}}function Y(sn,oi){if(1&sn&&(n.j41(0,"div",5),n.eu8(1,6),n.k0s()),2&sn){const pt=n.XpG();n.R7$(),n.Y8G("ngTemplateOutlet",pt.footerTemplate)("ngTemplateOutletContext",n.eq3(2,U,pt.filterValue))}}const x=["searchInput"],B=["clearButton"],j=(sn,oi,pt)=>({item:sn,clear:oi,label:pt}),$=(sn,oi)=>({items:sn,clear:oi}),H=(sn,oi,pt,cn)=>({item:sn,item$:oi,index:pt,searchTerm:cn});function ie(sn,oi){if(1&sn){const pt=n.RV6();n.j41(0,"span",21),n.bIt("click",function(){n.eBV(pt);const Tn=n.XpG().$implicit,vi=n.XpG(2);return n.Njj(vi.unselect(Tn))}),n.EFF(1,"\xd7"),n.k0s(),n.nrm(2,"span",22)}if(2&sn){const pt=n.XpG().$implicit,cn=n.XpG(2);n.R7$(2),n.Y8G("ngItemLabel",pt.label)("escape",cn.escapeHTML)}}function ne(sn,oi){}function Q(sn,oi){if(1&sn&&(n.j41(0,"div",20),n.DNE(1,ie,3,2,"ng-template",null,1,n.C5r)(3,ne,0,0,"ng-template",12),n.k0s()),2&sn){const pt=oi.$implicit,cn=n.sdS(2),Tn=n.XpG(2);n.AVh("ng-value-disabled",pt.disabled),n.R7$(3),n.Y8G("ngTemplateOutlet",Tn.labelTemplate||cn)("ngTemplateOutletContext",n.sMw(4,j,pt.value,Tn.clearItem,pt.label))}}function le(sn,oi){if(1&sn&&n.Z7z(0,Q,4,8,"div",19,n.BUC().trackByOption,!0),2&sn){const pt=n.XpG();n.Dyx(pt.selectedItems)}}function pe(sn,oi){}function te(sn,oi){if(1&sn&&n.DNE(0,pe,0,0,"ng-template",12),2&sn){const pt=n.XpG();n.Y8G("ngTemplateOutlet",pt.multiLabelTemplate)("ngTemplateOutletContext",n.l_i(2,$,pt.selectedValues,pt.clearItem))}}function ae(sn,oi){1&sn&&n.nrm(0,"div",24)}function K(sn,oi){}function de(sn,oi){if(1&sn&&n.DNE(0,ae,1,0,"ng-template",null,2,n.C5r)(2,K,0,0,"ng-template",23),2&sn){const pt=n.sdS(1),cn=n.XpG();n.R7$(2),n.Y8G("ngTemplateOutlet",cn.loadingSpinnerTemplate||pt)}}function Me(sn,oi){if(1&sn&&(n.j41(0,"span",15,3)(2,"span",25),n.EFF(3,"\xd7"),n.k0s()()),2&sn){const pt=n.XpG();n.FS9("title",pt.clearAllText)}}function me(sn,oi){if(1&sn&&n.nrm(0,"span",30),2&sn){const pt=n.XpG().$implicit,cn=n.XpG(2);n.Y8G("ngItemLabel",pt.label)("escape",cn.escapeHTML)}}function be(sn,oi){}function Le(sn,oi){if(1&sn){const pt=n.RV6();n.j41(0,"div",29),n.bIt("click",function(){const Tn=n.eBV(pt).$implicit,vi=n.XpG(2);return n.Njj(vi.toggleItem(Tn))})("mouseover",function(){const Tn=n.eBV(pt).$implicit,vi=n.XpG(2);return n.Njj(vi.onItemHover(Tn))}),n.DNE(1,me,1,2,"ng-template",null,4,n.C5r)(3,be,0,0,"ng-template",12),n.k0s()}if(2&sn){const pt=oi.$implicit,cn=n.sdS(2),Tn=n.XpG(2);n.AVh("ng-option-disabled",pt.disabled)("ng-option-selected",pt.selected)("ng-optgroup",pt.children)("ng-option",!pt.children)("ng-option-child",!!pt.parent)("ng-option-marked",pt===Tn.itemsList.markedItem),n.BMQ("role",pt.children?"group":"option")("aria-selected",pt.selected)("id",null==pt?null:pt.htmlId),n.R7$(3),n.Y8G("ngTemplateOutlet",pt.children?Tn.optgroupTemplate||cn:Tn.optionTemplate||cn)("ngTemplateOutletContext",n.ziG(17,H,pt.value,pt,pt.index,Tn.searchTerm))}}function Ae(sn,oi){if(1&sn&&(n.j41(0,"span")(1,"span",32),n.EFF(2),n.k0s(),n.EFF(3),n.k0s()),2&sn){const pt=n.XpG(3);n.R7$(2),n.JRh(pt.addTagText),n.R7$(),n.SpI('"',pt.searchTerm,'"')}}function Oe(sn,oi){}function Xe(sn,oi){if(1&sn){const pt=n.RV6();n.j41(0,"div",31),n.bIt("mouseover",function(){n.eBV(pt);const Tn=n.XpG(2);return n.Njj(Tn.itemsList.unmarkItem())})("click",function(){n.eBV(pt);const Tn=n.XpG(2);return n.Njj(Tn.selectTag())}),n.DNE(1,Ae,4,2,"ng-template",null,5,n.C5r)(3,Oe,0,0,"ng-template",12),n.k0s()}if(2&sn){const pt=n.sdS(2),cn=n.XpG(2);n.AVh("ng-option-marked",!cn.itemsList.markedItem),n.R7$(3),n.Y8G("ngTemplateOutlet",cn.tagTemplate||pt)("ngTemplateOutletContext",n.eq3(4,U,cn.searchTerm))}}function Pe(sn,oi){if(1&sn&&(n.j41(0,"div",33),n.EFF(1),n.k0s()),2&sn){const pt=n.XpG(3);n.R7$(),n.JRh(pt.notFoundText)}}function $e(sn,oi){}function ze(sn,oi){if(1&sn&&n.DNE(0,Pe,2,1,"ng-template",null,6,n.C5r)(2,$e,0,0,"ng-template",12),2&sn){const pt=n.sdS(1),cn=n.XpG(2);n.R7$(2),n.Y8G("ngTemplateOutlet",cn.notFoundTemplate||pt)("ngTemplateOutletContext",n.eq3(2,U,cn.searchTerm))}}function Be(sn,oi){if(1&sn&&(n.j41(0,"div",33),n.EFF(1),n.k0s()),2&sn){const pt=n.XpG(3);n.R7$(),n.JRh(pt.typeToSearchText)}}function Ye(sn,oi){}function Ct(sn,oi){if(1&sn&&n.DNE(0,Be,2,1,"ng-template",null,7,n.C5r)(2,Ye,0,0,"ng-template",23),2&sn){const pt=n.sdS(1),cn=n.XpG(2);n.R7$(2),n.Y8G("ngTemplateOutlet",cn.typeToSearchTemplate||pt)}}function Lt(sn,oi){if(1&sn&&(n.j41(0,"div",33),n.EFF(1),n.k0s()),2&sn){const pt=n.XpG(3);n.R7$(),n.JRh(pt.loadingText)}}function Vt(sn,oi){}function ht(sn,oi){if(1&sn&&n.DNE(0,Lt,2,1,"ng-template",null,8,n.C5r)(2,Vt,0,0,"ng-template",12),2&sn){const pt=n.sdS(1),cn=n.XpG(2);n.R7$(2),n.Y8G("ngTemplateOutlet",cn.loadingTextTemplate||pt)("ngTemplateOutletContext",n.eq3(2,U,cn.searchTerm))}}function gt(sn,oi){if(1&sn){const pt=n.RV6();n.j41(0,"ng-dropdown-panel",26),n.bIt("update",function(Tn){n.eBV(pt);const vi=n.XpG();return n.Njj(vi.viewPortItems=Tn)})("scroll",function(Tn){n.eBV(pt);const vi=n.XpG();return n.Njj(vi.scroll.emit(Tn))})("scrollToEnd",function(Tn){n.eBV(pt);const vi=n.XpG();return n.Njj(vi.scrollToEnd.emit(Tn))})("outsideClick",function(){n.eBV(pt);const Tn=n.XpG();return n.Njj(Tn.close())}),n.qex(1),n.Z7z(2,Le,4,22,"div",27,n.BUC().trackByOption,!0),n.DNE(4,Xe,4,6,"div",28),n.bVm(),n.DNE(5,ze,3,4)(6,Ct,3,1)(7,ht,3,4),n.k0s()}if(2&sn){const pt=n.XpG();n.HbH(pt.dropdownPanelStaticClasses),n.AVh("ng-select-multiple",pt.multiple),n.Y8G("virtualScroll",pt.virtualScroll)("bufferAmount",pt.bufferAmount)("appendTo",pt.appendTo)("position",pt.dropdownPosition)("headerTemplate",pt.headerTemplate)("footerTemplate",pt.footerTemplate)("filterValue",pt.searchTerm)("items",pt.itemsList.filteredItems)("markedItem",pt.itemsList.markedItem)("ngClass",pt.appendTo?pt.ngClass:null)("id",pt.dropdownId),n.R7$(2),n.Dyx(pt.viewPortItems),n.R7$(2),n.vxM(pt.showAddTag?4:-1),n.R7$(),n.vxM(pt.showNoItemsFound()?5:-1),n.R7$(),n.vxM(pt.showTypeToSearch()?6:-1),n.R7$(),n.vxM(pt.loading&&0===pt.itemsList.filteredItems.length?7:-1)}}const Ge=/[&<>"']/g,Se=RegExp(Ge.source),ke={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Je(sn){return null!=sn}function Qe(sn){return"object"==typeof sn&&Je(sn)}function ft(sn){return sn instanceof Function}let Xt=(()=>{class sn{constructor(pt){this.element=pt,this.escape=!0}ngOnChanges(pt){this.element.nativeElement.innerHTML=this.escape?function Ne(sn){return sn&&Se.test(sn)?sn.replace(Ge,oi=>ke[oi]):sn}(this.ngItemLabel):this.ngItemLabel}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.aKT))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[n.OA$]})}return sn})(),It=(()=>{class sn{constructor(pt){this.template=pt}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","ng-option-tmp",""]]})}return sn})(),In=(()=>{class sn{constructor(pt){this.template=pt}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","ng-optgroup-tmp",""]]})}return sn})(),Kt=(()=>{class sn{constructor(pt){this.template=pt}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","ng-label-tmp",""]]})}return sn})(),Ze=(()=>{class sn{constructor(pt){this.template=pt}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","ng-multi-label-tmp",""]]})}return sn})(),wn=(()=>{class sn{constructor(pt){this.template=pt}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","ng-header-tmp",""]]})}return sn})(),zn=(()=>{class sn{constructor(pt){this.template=pt}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","ng-footer-tmp",""]]})}return sn})(),di=(()=>{class sn{constructor(pt){this.template=pt}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","ng-notfound-tmp",""]]})}return sn})(),jn=(()=>{class sn{constructor(pt){this.template=pt}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","ng-typetosearch-tmp",""]]})}return sn})(),Di=(()=>{class sn{constructor(pt){this.template=pt}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","ng-loadingtext-tmp",""]]})}return sn})(),Li=(()=>{class sn{constructor(pt){this.template=pt}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","ng-tag-tmp",""]]})}return sn})(),ms=(()=>{class sn{constructor(pt){this.template=pt}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.C4Q))};static#t=this.\u0275dir=n.FsC({type:sn,selectors:[["","ng-loadingspinner-tmp",""]]})}return sn})();function Rn(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const Qt={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function Wt(sn){return sn.replace(/[^\u0000-\u007E]/g,pt=>Qt[pt]||pt)}class Yt{constructor(oi,pt){this._ngSelect=oi,this._selectionModel=pt,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let oi=this.selectedItems.length-1;for(;oi>=0;oi--){const pt=this.selectedItems[oi];if(!pt.disabled)return pt}return null}setItems(oi){this._items=oi.map((pt,cn)=>this.mapItem(pt,cn)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(oi){if(oi.selected||this.maxItemsSelected)return;const pt=this._ngSelect.multiple;pt||this.clearSelected(),this._selectionModel.select(oi,pt,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(oi)}unselect(oi){oi.selected&&(this._selectionModel.unselect(oi,this._ngSelect.multiple),this._ngSelect.hideSelected&&Je(oi.index)&&this._ngSelect.multiple&&this._showSelected(oi))}findItem(oi){let pt;return pt=this._ngSelect.compareWith?cn=>this._ngSelect.compareWith(cn.value,oi):this._ngSelect.bindValue?cn=>!cn.children&&this.resolveNested(cn.value,this._ngSelect.bindValue)===oi:cn=>cn.value===oi||!cn.children&&cn.label&&cn.label===this.resolveNested(oi,this._ngSelect.bindLabel),this._items.find(cn=>pt(cn))}addItem(oi){const pt=this.mapItem(oi,this._items.length);return this._items.push(pt),this._filteredItems.push(pt),pt}clearSelected(oi=!1){this._selectionModel.clear(oi),this._items.forEach(pt=>{pt.selected=oi&&pt.selected&&pt.disabled,pt.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(oi){return oi=Wt(oi).toLocaleLowerCase(),this.filteredItems.find(pt=>Wt(pt.label).toLocaleLowerCase().substr(0,oi.length)===oi)}filter(oi){if(!oi)return void this.resetFilteredItems();this._filteredItems=[],oi=this._ngSelect.searchFn?oi:Wt(oi).toLocaleLowerCase();const pt=this._ngSelect.searchFn||this._defaultSearchFn,cn=this._ngSelect.hideSelected;for(const Tn of Array.from(this._groups.keys())){const vi=[];for(const ui of this._groups.get(Tn))cn&&(ui.parent&&ui.parent.selected||ui.selected)||pt(oi,this._ngSelect.searchFn?ui.value:ui)&&vi.push(ui);if(vi.length>0){const[ui]=vi.slice(-1);if(ui.parent){const $i=this._items.find(Nn=>Nn===ui.parent);this._filteredItems.push($i)}this._filteredItems.push(...vi)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(oi=>!oi.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(oi){this._markedIndex=this._filteredItems.indexOf(oi)}markSelectedOrDefault(oi){if(0===this._filteredItems.length)return;const pt=this._getLastMarkedIndex();this._markedIndex=pt>-1?pt:oi?this.filteredItems.findIndex(cn=>!cn.disabled):-1}resolveNested(oi,pt){if(!Qe(oi))return oi;if(-1===pt.indexOf("."))return oi[pt];{const cn=pt.split(".");let Tn=oi;for(let vi=0,ui=cn.length;vi<ui;++vi){if(null==Tn)return null;Tn=Tn[cn[vi]]}return Tn}}mapItem(oi,pt){const cn=Je(oi.$ngOptionLabel)?oi.$ngOptionLabel:this.resolveNested(oi,this._ngSelect.bindLabel),Tn=Je(oi.$ngOptionValue)?oi.$ngOptionValue:oi;return{index:pt,label:Je(cn)?cn.toString():"",value:Tn,disabled:oi.disabled,htmlId:`${this._ngSelect.dropdownId}-${pt}`}}mapSelectedItems(){const oi=this._ngSelect.multiple;for(const pt of this.selectedItems){const cn=this._ngSelect.bindValue?this.resolveNested(pt.value,this._ngSelect.bindValue):pt.value,Tn=Je(cn)?this.findItem(cn):null;this._selectionModel.unselect(pt,oi),this._selectionModel.select(Tn||pt,oi,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(pt=>-1===this.selectedItems.indexOf(pt)))}_showSelected(oi){if(this._filteredItems.push(oi),oi.parent){const pt=oi.parent;this._filteredItems.find(Tn=>Tn===pt)||this._filteredItems.push(pt)}else if(oi.children)for(const pt of oi.children)pt.selected=!1,this._filteredItems.push(pt);this._filteredItems=[...this._filteredItems.sort((pt,cn)=>pt.index-cn.index)]}_hideSelected(oi){this._filteredItems=this._filteredItems.filter(pt=>pt!==oi),oi.parent?oi.parent.children.every(cn=>cn.selected)&&(this._filteredItems=this._filteredItems.filter(cn=>cn!==oi.parent)):oi.children&&(this._filteredItems=this.filteredItems.filter(pt=>pt.parent!==oi))}_defaultSearchFn(oi,pt){return Wt(pt.label).toLocaleLowerCase().indexOf(oi)>-1}_getNextItemIndex(oi){return oi>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(oi){0===this._filteredItems.length||this._filteredItems.every(pt=>pt.disabled)||(this._markedIndex=this._getNextItemIndex(oi),this.markedItem.disabled&&this._stepToItem(oi))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const oi=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&oi<0?-1:Math.max(this.markedIndex,oi)}_groupBy(oi,pt){const cn=new Map;if(0===oi.length)return cn;if(Array.isArray(oi[0].value[pt])){for(const ui of oi){const $i=(ui.value[pt]||[]).map((Nn,Hn)=>this.mapItem(Nn,Hn));cn.set(ui,$i)}return cn}const Tn=ft(this._ngSelect.groupBy),vi=ui=>{const $i=Tn?pt(ui.value):ui.value[pt];return Je($i)?$i:void 0};for(const ui of oi){const $i=vi(ui),Nn=cn.get($i);Nn?Nn.push(ui):cn.set($i,[ui])}return cn}_flatten(oi){const pt=ft(this._ngSelect.groupBy),cn=[];for(const Tn of Array.from(oi.keys())){let vi=cn.length;if(void 0===Tn){const ri=oi.get(void 0)||[];cn.push(...ri.map(li=>(li.index=vi++,li)));continue}const ui=Qe(Tn),$i={label:ui?"":String(Tn),children:void 0,parent:null,index:vi++,disabled:!this._ngSelect.selectableGroup,htmlId:Rn()},Nn=pt?this._ngSelect.bindLabel:this._ngSelect.groupBy,Hn=this._ngSelect.groupValue||(()=>ui?Tn.value:{[Nn]:Tn}),Qn=oi.get(Tn).map(ri=>(ri.parent=$i,ri.children=void 0,ri.index=vi++,ri));$i.children=Qn,$i.value=Hn(Tn,Qn.map(ri=>ri.value)),cn.push($i),cn.push(...Qn)}return cn}}var Mn=function(sn){return sn[sn.Tab=9]="Tab",sn[sn.Enter=13]="Enter",sn[sn.Esc=27]="Esc",sn[sn.Space=32]="Space",sn[sn.ArrowUp=38]="ArrowUp",sn[sn.ArrowDown=40]="ArrowDown",sn[sn.Backspace=8]="Backspace",sn}(Mn||{});let ci=(()=>{class sn{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(pt,cn,Tn){const vi=this._dimensions,ui=vi.itemHeight*cn,Nn=Math.max(0,pt)/ui*cn;let Hn=Math.min(cn,Math.ceil(Nn)+(vi.itemsPerViewport+1));const ri=Math.max(0,Hn-vi.itemsPerViewport);let li=Math.min(ri,Math.floor(Nn)),Fi=vi.itemHeight*Math.ceil(li)-vi.itemHeight*Math.min(li,Tn);return Fi=isNaN(Fi)?0:Fi,li=isNaN(li)?-1:li,Hn=isNaN(Hn)?-1:Hn,li-=Tn,li=Math.max(0,li),Hn+=Tn,Hn=Math.min(cn,Hn),{topPadding:Fi,scrollHeight:ui,start:li,end:Hn}}setDimensions(pt,cn){const Tn=Math.max(1,Math.floor(cn/pt));this._dimensions={itemHeight:pt,panelHeight:cn,itemsPerViewport:Tn}}getScrollTo(pt,cn,Tn){const{panelHeight:vi}=this.dimensions,ui=pt+cn,Nn=Tn+vi;return vi>=ui&&Tn===pt?null:ui>Nn?Tn+ui-Nn:pt<=Tn?pt:null}static#e=this.\u0275fac=function(cn){return new(cn||sn)};static#t=this.\u0275prov=n.jDH({token:sn,factory:sn.\u0275fac})}return sn})();const Ue=["top","right","bottom","left"],Un=typeof requestAnimationFrame<"u"?I.X:b.$;let _n=(()=>{class sn{constructor(pt,cn,Tn,vi,ui){this._renderer=pt,this._zone=cn,this._panelService=Tn,this._document=ui,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new n.bkB,this.scroll=new n.bkB,this.scrollToEnd=new n.bkB,this.outsideClick=new n.bkB,this._destroy$=new L.B,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=vi.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(pt){pt!==this._itemsLength&&(this._itemsLength=pt,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:pt,panelHeight:cn}=this._panelService.dimensions,Tn=this.markedItem.index*pt;return cn>Tn?0:Tn}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(pt){if(pt.items){const cn=pt.items;this._onItemsChange(cn.currentValue,cn.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(pt,cn=!1){if(!pt)return;const Tn=this.items.indexOf(pt);if(Tn<0||Tn>=this.itemsLength)return;let vi;if(this.virtualScroll){const ui=this._panelService.dimensions.itemHeight;vi=this._panelService.getScrollTo(Tn*ui,ui,this._lastScrollPosition)}else{const ui=this._dropdown.querySelector(`#${pt.htmlId}`);vi=this._panelService.getScrollTo(ui.offsetTop,ui.clientHeight,cn?ui.offsetTop:this._lastScrollPosition)}Je(vi)&&(this._scrollablePanel.scrollTop=vi)}scrollToTag(){const pt=this._scrollablePanel;pt.scrollTop=pt.scrollHeight-pt.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Ue.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(pt){Ue.forEach(Tn=>{const vi=`ng-select-${Tn}`;this._renderer.removeClass(this._dropdown,vi),this._renderer.removeClass(this._select,vi)});const cn=`ng-select-${pt}`;this._renderer.addClass(this._dropdown,cn),this._renderer.addClass(this._select,cn)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,o.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,g.Q)(this._destroy$),(0,m.Z)(0,Un)).subscribe(pt=>{const cn=pt.path||pt.composedPath&&pt.composedPath();cn&&(0!==cn.length||pt.target)&&this._onContentScrolled(cn&&0!==cn.length?cn[0].scrollTop:pt.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,C.h)((0,o.R)(this._document,"touchstart",{capture:!0}),(0,o.R)(this._document,"click",{capture:!0})).pipe((0,g.Q)(this._destroy$)).subscribe(pt=>this._checkToClose(pt))})}_checkToClose(pt){if(this._select.contains(pt.target)||this._dropdown.contains(pt.target))return;const cn=pt.path||pt.composedPath&&pt.composedPath();pt.target&&pt.target.shadowRoot&&cn&&cn[0]&&this._select.contains(cn[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(pt,cn){this.items=pt||[],this._scrollToEndFired=!1,this.itemsLength=pt.length,this.virtualScroll?this._updateItemsRange(cn):(this._setVirtualHeight(),this._updateItems(cn))}_updateItems(pt){this.update.emit(this.items),!1!==pt&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,pt)})})}_updateItemsRange(pt){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{pt?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(pt){this.virtualScroll&&this._renderItemsRange(pt),this._lastScrollPosition=pt,this._fireScrollToEnd(pt)}_updateVirtualHeight(pt){this._updateScrollHeight&&(this._virtualPadding.style.height=`${pt}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(pt=null){if(pt&&this._lastScrollPosition===pt)return;const cn=this._panelService.calculateItems(pt=pt||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(cn.scrollHeight),this._contentPanel.style.transform=`translateY(${cn.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(cn.start,cn.end)),this.scroll.emit({start:cn.start,end:cn.end})}),Je(pt)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=pt,this._lastScrollPosition=pt)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[pt]=this.items;return this.update.emit([pt]),Promise.resolve().then(()=>{const Tn=this._dropdown.querySelector(`#${pt.htmlId}`).clientHeight;return this._virtualPadding.style.height=Tn*this.itemsLength+"px",this._panelService.setDimensions(Tn,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(pt){this._scrollToEndFired||0===pt||pt+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(pt){if("auto"!==this.position)return this.position;const cn=this._select.getBoundingClientRect(),Tn=document.documentElement.scrollTop||document.body.scrollTop;return cn.top+window.pageYOffset+cn.height+pt.getBoundingClientRect().height>Tn+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const pt=this._select.getBoundingClientRect(),cn=this._parent.getBoundingClientRect();this._dropdown.style.left=pt.left-cn.left+"px",this._dropdown.style.width=pt.width+"px",this._dropdown.style.minWidth=pt.width+"px"}_updateYPosition(){const pt=this._select.getBoundingClientRect(),cn=this._parent.getBoundingClientRect(),Tn=pt.height;"top"===this._currentPosition?(this._dropdown.style.bottom=cn.bottom-pt.bottom+Tn+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=pt.top-cn.top+Tn+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,o.R)(this._dropdown,"mousedown").pipe((0,g.Q)(this._destroy$)).subscribe(pt=>{"INPUT"!==pt.target.tagName&&pt.preventDefault()})})}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.sFG),n.rXU(n.SKi),n.rXU(ci),n.rXU(n.aKT),n.rXU(w.qQ,8))};static#t=this.\u0275cmp=n.VBU({type:sn,selectors:[["ng-dropdown-panel"]],viewQuery:function(cn,Tn){if(1&cn&&(n.GBs(M,7,n.aKT),n.GBs(q,7,n.aKT),n.GBs(z,7,n.aKT)),2&cn){let vi;n.mGM(vi=n.lsd())&&(Tn.contentElementRef=vi.first),n.mGM(vi=n.lsd())&&(Tn.scrollElementRef=vi.first),n.mGM(vi=n.lsd())&&(Tn.paddingElementRef=vi.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",n.L39],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[n.GFd,n.OA$],ngContentSelectors:F,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(cn,Tn){1&cn&&(n.NAR(),n.DNE(0,k,2,4,"div",3),n.j41(1,"div",4,0),n.nrm(3,"div",null,1),n.j41(5,"div",null,2),n.SdG(7),n.k0s()(),n.DNE(8,Y,2,4,"div",5)),2&cn&&(n.vxM(Tn.headerTemplate?0:-1),n.R7$(3),n.AVh("total-padding",Tn.virtualScroll),n.R7$(2),n.AVh("scrollable-content",Tn.virtualScroll&&Tn.items.length),n.R7$(3),n.vxM(Tn.footerTemplate?8:-1))},dependencies:[w.T3],encapsulation:2,changeDetection:0})}return sn})(),Xn=(()=>{class sn{constructor(pt){this.elementRef=pt,this.disabled=!1,this.stateChange$=new L.B}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(pt){pt.disabled&&this.stateChange$.next({value:this.value,disabled:this.disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this.disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.rXU(n.aKT))};static#t=this.\u0275cmp=n.VBU({type:sn,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",n.L39]},features:[n.GFd,n.OA$],ngContentSelectors:F,decls:1,vars:0,template:function(cn,Tn){1&cn&&(n.NAR(),n.SdG(0))},encapsulation:2,changeDetection:0})}return sn})(),Ii=(()=>{class sn{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static#e=this.\u0275fac=function(cn){return new(cn||sn)};static#t=this.\u0275prov=n.jDH({token:sn,factory:sn.\u0275fac,providedIn:"root"})}return sn})(),En=(()=>{class sn{warn(pt){console.warn(pt)}static#e=this.\u0275fac=function(cn){return new(cn||sn)};static#t=this.\u0275prov=n.jDH({token:sn,factory:sn.\u0275fac,providedIn:"root"})}return sn})();const ln=new n.nKC("ng-select-selection-model");let Dn=(()=>{class sn{get items(){return this._items}set items(pt){this._itemsAreUsed=!0,this._items=pt??[]}get compareWith(){return this._compareWith}set compareWith(pt){if(null!=pt&&!ft(pt))throw Error("`compareWith` must be a function.");this._compareWith=pt}get clearSearchOnAdd(){return Je(this._clearSearchOnAdd)?this._clearSearchOnAdd:Je(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(pt){this._clearSearchOnAdd=pt}get deselectOnClick(){return Je(this._deselectOnClick)?this._deselectOnClick:Je(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(pt){this._deselectOnClick=pt}get dropdownPanelStaticClasses(){return this.appendTo&&this.classes?`ng-dropdown-panel ${this.classes}`:"ng-dropdown-panel"}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(pt,cn,Tn,vi,ui,$i,Nn){this.classes=pt,this.autoFocus=cn,this.config=Tn,this._cd=$i,this._console=Nn,this.markFirst=!0,this.preventToggleOnRightClick=!1,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=Hn=>!0,this.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new n.bkB,this.focusEvent=new n.bkB,this.changeEvent=new n.bkB,this.openEvent=new n.bkB,this.closeEvent=new n.bkB,this.searchEvent=new n.bkB,this.clearEvent=new n.bkB,this.addEvent=new n.bkB,this.removeEvent=new n.bkB,this.scroll=new n.bkB,this.scrollToEnd=new n.bkB,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Rn(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new L.B,this._keyPress$=new L.B,this._onChange=Hn=>{},this._onTouched=()=>{},this.clearItem=Hn=>{const Qn=this.selectedItems.find(ri=>ri.value===Hn);this.unselect(Qn)},this.trackByOption=(Hn,Qn)=>this.trackByFn?this.trackByFn(Qn.value):Qn,this._mergeGlobalConfig(Tn),this.itemsList=new Yt(this,vi()),this.element=ui.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(pt=>pt.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(pt){pt.multiple&&this.itemsList.clearSelected(),pt.items&&this._setItems(pt.items.currentValue||[]),pt.isOpen&&(this._manualOpen=Je(pt.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Je(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(pt){if(Mn[pt.which]){if(!1===this.keyDownFn(pt))return;this.handleKeyCode(pt)}else pt.key&&1===pt.key.length&&this._keyPress$.next(pt.key.toLocaleLowerCase())}handleKeyCode(pt){this.clearButton&&this.clearButton.nativeElement===pt.target?this.handleKeyCodeClear(pt):this.handleKeyCodeInput(pt)}handleKeyCodeInput(pt){switch(pt.which){case Mn.ArrowDown:this._handleArrowDown(pt);break;case Mn.ArrowUp:this._handleArrowUp(pt);break;case Mn.Space:this._handleSpace(pt);break;case Mn.Enter:this._handleEnter(pt);break;case Mn.Tab:this._handleTab(pt);break;case Mn.Esc:this.close(),pt.preventDefault();break;case Mn.Backspace:this._handleBackspace()}}handleKeyCodeClear(pt){pt.which===Mn.Enter&&(this.handleClearClick(),pt.preventDefault())}handleMousedown(pt){if(this.preventToggleOnRightClick&&2===pt.button)return!1;const cn=pt.target;"INPUT"!==cn.tagName&&pt.preventDefault(),cn.classList.contains("ng-clear-wrapper")?this.handleClearClick():cn.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():cn.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(pt){this.itemsList.clearSelected(),this._handleWriteValue(pt),this._cd.markForCheck()}registerOnChange(pt){this._onChange=pt}registerOnTouched(pt){this._onTouched=pt}setDisabledState(pt){this._disabled=pt,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(pt){!pt||pt.disabled||this.disabled||(this.deselectOnClick&&pt.selected?this.unselect(pt):this.select(pt),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(pt){pt.selected||(this.itemsList.select(pt),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(pt.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(pt){pt&&(this.itemsList.unselect(pt),this.focus(),this._updateNgModel(),this.removeEvent.emit(pt.value))}selectTag(){let pt;pt=ft(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const cn=Tn=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(Tn,null):this.itemsList.addItem(Tn);!function rt(sn){return sn instanceof Promise}(pt)?pt&&this.select(cn(pt)):pt.then(Tn=>this.select(cn(Tn))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}get showAddTag(){if(!this._validTerm)return!1;const pt=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(cn=>cn.label.toLowerCase()===pt)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(cn=>cn.label.toLowerCase()===pt))&&!this.loading}showNoItemsFound(){const pt=0===this.itemsList.filteredItems.length;return(pt&&!this._isTypeahead&&!this.loading||pt&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(pt){this._isComposing=!1,!this.searchWhileComposing&&this.filter(pt)}filter(pt){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=pt,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(pt),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:pt,items:this.itemsList.filteredItems.map(cn=>cn.value)}),this.open())}onInputFocus(pt){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(pt),this.focused=!0)}onInputBlur(pt){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(pt),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(pt){pt.disabled||this.itemsList.markItem(pt)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const pt=this.selectedItems&&this.selectedItems[0];this.searchTerm=pt&&pt.label||null}_setItems(pt){const cn=pt[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Je(cn)?!Qe(cn):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(pt),pt.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Je(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const pt=Tn=>{this.items=Tn.map(vi=>({$ngOptionValue:vi.value,$ngOptionLabel:vi.elementRef.nativeElement.innerHTML,disabled:vi.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},cn=()=>{const Tn=(0,C.h)(this.ngOptions.changes,this._destroy$);(0,C.h)(...this.ngOptions.map(vi=>vi.stateChange$)).pipe((0,g.Q)(Tn)).subscribe(vi=>{const ui=this.itemsList.findItem(vi.value);ui.disabled=vi.disabled,ui.label=vi.label||ui.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,T.Z)(this.ngOptions),(0,g.Q)(this._destroy$)).subscribe(Tn=>{this.bindLabel=this._defaultLabel,pt(Tn),cn()})}_isValidWriteValue(pt){if(!Je(pt)||this.multiple&&""===pt||Array.isArray(pt)&&0===pt.length)return!1;const cn=Tn=>!(!Je(this.compareWith)&&Qe(Tn)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(Tn)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(pt)?pt.every(Tn=>cn(Tn)):(this._console.warn("Multiple select ngModel should be array."),!1):cn(pt)}_handleWriteValue(pt){if(!this._isValidWriteValue(pt))return;const cn=Tn=>{let vi=this.itemsList.findItem(Tn);if(vi)this.itemsList.select(vi);else{const ui=Qe(Tn);ui||!ui&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(Tn,null)):this.bindValue&&(vi={[this.bindLabel]:null,[this.bindValue]:Tn},this.itemsList.select(this.itemsList.mapItem(vi,null)))}};this.multiple?pt.forEach(Tn=>cn(Tn)):cn(pt)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,g.Q)(this._destroy$),(0,O.M)(pt=>this._pressedKeys.push(pt)),(0,D.B)(200),(0,E.p)(()=>this._pressedKeys.length>0),(0,y.T)(()=>this._pressedKeys.join(""))).subscribe(pt=>{const cn=this.itemsList.findByLabel(pt);cn&&(this.isOpen?(this.itemsList.markItem(cn),this._scrollToMarked(),this._cd.markForCheck()):this.select(cn)),this._pressedKeys=[]})}_setInputAttributes(){const pt=this.searchInput.nativeElement,cn={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const Tn of Object.keys(cn))pt.setAttribute(Tn,cn[Tn])}_updateNgModel(){const pt=[];for(const Tn of this.selectedItems)if(this.bindValue){let vi=null;vi=Tn.children?Tn.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(Tn.value,this.bindValue),pt.push(vi)}else pt.push(Tn.value);const cn=this.selectedItems.map(Tn=>Tn.value);this.multiple?(this._onChange(pt),this.changeEvent.emit(cn)):(this._onChange(Je(pt[0])?pt[0]:null),this.changeEvent.emit(cn[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(pt){this.searchTerm=pt,this._isTypeahead&&this.typeahead.next(pt)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(pt){if(!1===this.isOpen)if(this.showClear()&&!pt.shiftKey)this.focusOnClear(),pt.preventDefault();else if(!this.addTag)return;this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),pt.preventDefault()):this.showAddTag?(this.selectTag(),pt.preventDefault()):this.close():this.close()}_handleEnter(pt){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}pt.preventDefault()}_handleSpace(pt){this.isOpen||this._manualOpen||(this.open(),pt.preventDefault())}_handleArrowDown(pt){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),pt.preventDefault()}_handleArrowUp(pt){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),pt.preventDefault())}_nextItemIsTag(pt){const cn=this.itemsList.markedIndex+pt;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(cn<0||cn===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const pt=this.searchTerm&&this.searchTerm.trim();return pt&&pt.length>=this.minTermLength}_mergeGlobalConfig(pt){this.placeholder=this.placeholder||pt.placeholder,this.notFoundText=this.notFoundText||pt.notFoundText,this.typeToSearchText=this.typeToSearchText||pt.typeToSearchText,this.addTagText=this.addTagText||pt.addTagText,this.loadingText=this.loadingText||pt.loadingText,this.clearAllText=this.clearAllText||pt.clearAllText,this.virtualScroll=Je(this.virtualScroll)?this.virtualScroll:!!Je(pt.disableVirtualScroll)&&!pt.disableVirtualScroll,this.openOnEnter=Je(this.openOnEnter)?this.openOnEnter:pt.openOnEnter,this.appendTo=this.appendTo||pt.appendTo,this.bindValue=this.bindValue||pt.bindValue,this.bindLabel=this.bindLabel||pt.bindLabel,this.appearance=this.appearance||pt.appearance}static#e=this.\u0275fac=function(cn){return new(cn||sn)(n.kS0("class"),n.kS0("autofocus"),n.rXU(Ii),n.rXU(ln),n.rXU(n.aKT),n.rXU(n.gRc),n.rXU(En))};static#t=this.\u0275cmp=n.VBU({type:sn,selectors:[["ng-select"]],contentQueries:function(cn,Tn,vi){if(1&cn&&(n.wni(vi,It,5,n.C4Q),n.wni(vi,In,5,n.C4Q),n.wni(vi,Kt,5,n.C4Q),n.wni(vi,Ze,5,n.C4Q),n.wni(vi,wn,5,n.C4Q),n.wni(vi,zn,5,n.C4Q),n.wni(vi,di,5,n.C4Q),n.wni(vi,jn,5,n.C4Q),n.wni(vi,Di,5,n.C4Q),n.wni(vi,Li,5,n.C4Q),n.wni(vi,ms,5,n.C4Q),n.wni(vi,Xn,5)),2&cn){let ui;n.mGM(ui=n.lsd())&&(Tn.optionTemplate=ui.first),n.mGM(ui=n.lsd())&&(Tn.optgroupTemplate=ui.first),n.mGM(ui=n.lsd())&&(Tn.labelTemplate=ui.first),n.mGM(ui=n.lsd())&&(Tn.multiLabelTemplate=ui.first),n.mGM(ui=n.lsd())&&(Tn.headerTemplate=ui.first),n.mGM(ui=n.lsd())&&(Tn.footerTemplate=ui.first),n.mGM(ui=n.lsd())&&(Tn.notFoundTemplate=ui.first),n.mGM(ui=n.lsd())&&(Tn.typeToSearchTemplate=ui.first),n.mGM(ui=n.lsd())&&(Tn.loadingTextTemplate=ui.first),n.mGM(ui=n.lsd())&&(Tn.tagTemplate=ui.first),n.mGM(ui=n.lsd())&&(Tn.loadingSpinnerTemplate=ui.first),n.mGM(ui=n.lsd())&&(Tn.ngOptions=ui)}},viewQuery:function(cn,Tn){if(1&cn&&(n.GBs(_n,5),n.GBs(x,7),n.GBs(B,5)),2&cn){let vi;n.mGM(vi=n.lsd())&&(Tn.dropdownPanel=vi.first),n.mGM(vi=n.lsd())&&(Tn.searchInput=vi.first),n.mGM(vi=n.lsd())&&(Tn.clearButton=vi.first)}},hostVars:20,hostBindings:function(cn,Tn){1&cn&&n.bIt("keydown",function(ui){return Tn.handleKeyDown(ui)}),2&cn&&n.AVh("ng-select-typeahead",Tn.typeahead)("ng-select-multiple",Tn.multiple)("ng-select-taggable",Tn.addTag)("ng-select-searchable",Tn.searchable)("ng-select-clearable",Tn.clearable)("ng-select-opened",Tn.isOpen)("ng-select",Tn.useDefaultClass)("ng-select-disabled",Tn.disabled)("ng-select-filtered",Tn.filtered)("ng-select-single",Tn.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:[2,"markFirst","markFirst",n.L39],placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",n.L39],closeOnSelect:[2,"closeOnSelect","closeOnSelect",n.L39],hideSelected:[2,"hideSelected","hideSelected",n.L39],selectOnTab:[2,"selectOnTab","selectOnTab",n.L39],openOnEnter:[2,"openOnEnter","openOnEnter",n.L39],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",n.Udg],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",n.Udg],virtualScroll:[2,"virtualScroll","virtualScroll",n.L39],selectableGroup:[2,"selectableGroup","selectableGroup",n.L39],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",n.L39],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",n.L39],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",n.Udg],readonly:[2,"readonly","readonly",n.L39],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",n.L39],minTermLength:[2,"minTermLength","minTermLength",n.Udg],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",n.L39],keyDownFn:"keyDownFn",ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",n.L39],addTag:"addTag",searchable:[2,"searchable","searchable",n.L39],clearable:[2,"clearable","clearable",n.L39],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[n.Jv_([{provide:a.kq,useExisting:(0,n.Rfq)(()=>sn),multi:!0},ci]),n.GFd,n.OA$],decls:14,vars:19,consts:[["searchInput",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"input","compositionstart","compositionend","focus","blur","change","readOnly","disabled","value"],["tabindex","0",1,"ng-clear-wrapper",3,"title"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["role","listbox","aria-label","Options list",3,"class","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(cn,Tn){if(1&cn){const vi=n.RV6();n.j41(0,"div",9),n.bIt("mousedown",function($i){return n.eBV(vi),n.Njj(Tn.handleMousedown($i))}),n.j41(1,"div",10)(2,"div",11),n.EFF(3),n.k0s(),n.DNE(4,le,2,0)(5,te,1,5,null,12),n.j41(6,"div",13)(7,"input",14,0),n.bIt("input",function(){n.eBV(vi);const $i=n.sdS(8);return n.Njj(Tn.filter($i.value))})("compositionstart",function(){return n.eBV(vi),n.Njj(Tn.onCompositionStart())})("compositionend",function(){n.eBV(vi);const $i=n.sdS(8);return n.Njj(Tn.onCompositionEnd($i.value))})("focus",function($i){return n.eBV(vi),n.Njj(Tn.onInputFocus($i))})("blur",function($i){return n.eBV(vi),n.Njj(Tn.onInputBlur($i))})("change",function($i){return n.eBV(vi),n.Njj($i.stopPropagation())}),n.k0s()()(),n.DNE(9,de,3,1)(10,Me,4,1,"span",15),n.j41(11,"span",16),n.nrm(12,"span",17),n.k0s()(),n.DNE(13,gt,8,19,"ng-dropdown-panel",18)}2&cn&&(n.AVh("ng-appearance-outline","outline"===Tn.appearance)("ng-has-value",Tn.hasValue),n.R7$(3),n.JRh(Tn.placeholder),n.R7$(),n.vxM(Tn.multiLabelTemplate&&Tn.multiple||!(Tn.selectedItems.length>0)?-1:4),n.R7$(),n.vxM(Tn.multiple&&Tn.multiLabelTemplate&&Tn.selectedValues.length>0?5:-1),n.R7$(),n.BMQ("aria-expanded",Tn.isOpen)("aria-owns",Tn.isOpen?Tn.dropdownId:null),n.R7$(),n.Y8G("readOnly",!Tn.searchable||Tn.itemsList.maxItemsSelected)("disabled",Tn.disabled)("value",Tn.searchTerm?Tn.searchTerm:""),n.BMQ("id",Tn.labelForId)("tabindex",Tn.tabIndex)("aria-activedescendant",Tn.isOpen?null==Tn.itemsList||null==Tn.itemsList.markedItem?null:Tn.itemsList.markedItem.htmlId:null)("aria-controls",Tn.isOpen?Tn.dropdownId:null),n.R7$(2),n.vxM(Tn.loading?9:-1),n.R7$(),n.vxM(Tn.showClear()?10:-1),n.R7$(3),n.vxM(Tn.isOpen?13:-1))},dependencies:[w.YU,w.T3,_n,Xt],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0})}return sn})();function Ai(){return new os}class os{constructor(){this._selected=[]}get value(){return this._selected}select(oi,pt,cn){if(oi.selected=!0,(!oi.children||!pt&&cn)&&this._selected.push(oi),pt)if(oi.parent){const Tn=oi.parent.children.length,vi=oi.parent.children.filter(ui=>ui.selected).length;oi.parent.selected=Tn===vi}else oi.children&&(this._setChildrenSelectedState(oi.children,!0),this._removeChildren(oi),this._selected=cn&&this._activeChildren(oi)?[...this._selected.filter(Tn=>Tn.parent!==oi),oi]:[...this._selected,...oi.children.filter(Tn=>!Tn.disabled)])}unselect(oi,pt){if(this._selected=this._selected.filter(cn=>cn!==oi),oi.selected=!1,pt)if(oi.parent&&oi.parent.selected){const cn=oi.parent.children;this._removeParent(oi.parent),this._removeChildren(oi.parent),this._selected.push(...cn.filter(Tn=>Tn!==oi&&!Tn.disabled)),oi.parent.selected=!1}else oi.children&&(this._setChildrenSelectedState(oi.children,!1),this._removeChildren(oi))}clear(oi){this._selected=oi?this._selected.filter(pt=>pt.disabled):[]}_setChildrenSelectedState(oi,pt){for(const cn of oi)cn.disabled||(cn.selected=pt)}_removeChildren(oi){this._selected=[...this._selected.filter(pt=>pt.parent!==oi),...oi.children.filter(pt=>pt.parent===oi&&pt.disabled&&pt.selected)]}_removeParent(oi){this._selected=this._selected.filter(pt=>pt!==oi)}_activeChildren(oi){return oi.children.every(pt=>!pt.disabled||pt.selected)}}let Fs=(()=>{class sn{static#e=this.\u0275fac=function(cn){return new(cn||sn)};static#t=this.\u0275mod=n.$C({type:sn});static#n=this.\u0275inj=n.G2t({providers:[{provide:ln,useValue:Ai}],imports:[w.MD]})}return sn})()},8524:(at,N,s)=>{"use strict";s.d(N,{Nc:()=>Xt,PU:()=>rt,aF:()=>Je,ch:()=>Qe,cm:()=>In,qy:()=>ms});var n=s(93953),a=s(89417),g=s(74402),m=s(7673),T=s(57786),O=s(71985),D=s(21413),E=s(23294),y=s(96354),I=s(99172),b=s(70152),L=s(5964),o=s(25558),C=s(96697),w=s(88141),M=s(60177),q=s(345);const z=["container"];function F(Rn,Qt){}const U=["*"];function k(Rn,Qt){1&Rn&&n.nrm(0,"formly-field",1),2&Rn&&n.Y8G("field",Qt.$implicit)}const Y=["fieldComponent"];function B(Rn,Qt,Wt){if(Qt.id)return Qt.id;let Yt=Qt.type;return!Yt&&Qt.template&&(Yt="template"),Yt instanceof n.ZUJ&&(Yt=Yt.prototype.constructor.name),[Rn,Yt,Qt.key,Wt].join("_")}function j(Rn){return!pe(Rn.key)&&""!==Rn.key&&(!Array.isArray(Rn.key)||Rn.key.length>0)}function $(Rn){if(!j(Rn))return[];if(Rn._keyPath?.key!==Rn.key){let Qt=[];if("string"==typeof Rn.key){const Wt=-1===Rn.key.indexOf("[")?Rn.key:Rn.key.replace(/\[(\w+)\]/g,".$1");Qt=-1!==Wt.indexOf(".")?Wt.split("."):[Wt]}else Qt=Array.isArray(Rn.key)?Rn.key.slice(0):[`${Rn.key}`];Le(Rn,"_keyPath",{key:Rn.key,path:Qt})}return Rn._keyPath.path.slice(0)}const H=["required","pattern","minLength","maxLength","min","max"];function ie(Rn,Qt){let Wt=$(Rn);if(0===Wt.length)return;let Yt=Rn;for(;Yt.parent;)Yt=Yt.parent,Wt=[...$(Yt),...Wt];if(void 0===Qt&&Rn.resetOnHide){const Mn=Wt.pop();delete Wt.reduce((Ue,Un)=>Ue[Un]||{},Yt.model)[Mn]}else!function ne(Rn,Qt,Wt){for(let Yt=0;Yt<Qt.length-1;Yt++){const Mn=Qt[Yt];(!Rn[Mn]||!Me(Rn[Mn]))&&(Rn[Mn]=/^\d+$/.test(Qt[Yt+1])?[]:{}),Rn=Rn[Mn]}Rn[Qt[Qt.length-1]]=be(Wt)}(Yt.model,Wt,Qt)}function Q(Rn){let Qt=Rn.parent?Rn.parent.model:Rn.model;for(const Wt of $(Rn)){if(!Qt)return Qt;Qt=Qt[Wt]}return Qt}function le(Rn,...Qt){return Qt.forEach(Wt=>{for(const Yt in Wt)pe(Rn[Yt])||ae(Rn[Yt])?Rn[Yt]=be(Wt[Yt]):de(Rn[Yt],Wt[Yt])&&le(Rn[Yt],Wt[Yt])}),Rn}function pe(Rn){return null==Rn}function te(Rn){return void 0===Rn}function ae(Rn){return""===Rn}function K(Rn){return"function"==typeof Rn}function de(Rn,Qt){return Me(Rn)&&Me(Qt)&&Object.getPrototypeOf(Rn)===Object.getPrototypeOf(Qt)&&!(Array.isArray(Rn)||Array.isArray(Qt))}function Me(Rn){return null!=Rn&&"object"==typeof Rn}function be(Rn){if(!Me(Rn)||(0,g.A)(Rn)||Rn instanceof n.C4Q||Rn.changingThisBreaksApplicationSecurity||-1!==["RegExp","FileList","File","Blob"].indexOf(Rn.constructor.name))return Rn;if(Rn instanceof Set)return new Set(Rn);if(Rn instanceof Map)return new Map(Rn);if(Rn instanceof Uint8Array)return new Uint8Array(Rn);if(Rn instanceof Uint16Array)return new Uint16Array(Rn);if(Rn instanceof Uint32Array)return new Uint32Array(Rn);if(Rn._isAMomentObject&&K(Rn.clone))return Rn.clone();if(Rn instanceof a.EL)return null;if(Rn instanceof Date)return new Date(Rn.getTime());if(Array.isArray(Rn))return Rn.slice(0).map(Yt=>be(Yt));const Qt=Object.getPrototypeOf(Rn);let Wt=Object.create(Qt);return Wt=Object.setPrototypeOf(Wt,Qt),Object.keys(Rn).reduce((Yt,Mn)=>{const ci=Object.getOwnPropertyDescriptor(Rn,Mn);return ci.get?Object.defineProperty(Yt,Mn,ci):Yt[Mn]=be(Rn[Mn]),Yt},Wt)}function Le(Rn,Qt,Wt){Object.defineProperty(Rn,Qt,{enumerable:!1,writable:!0,configurable:!0}),Rn[Qt]=Wt}function Ae(Rn,Qt,Wt){let Yt=[];const Mn=()=>{Yt.forEach(Ue=>Ue()),Yt=[]},ci=Oe(Rn,Qt,({firstChange:Ue,currentValue:Un})=>{!Ue&&Wt(),Mn(),Me(Un)&&"Object"===Un.constructor.name&&Object.keys(Un).forEach(_n=>{Yt.push(Ae(Rn,[...Qt,_n],Wt))})});return()=>{ci.unsubscribe(),Mn()}}function Oe(Rn,Qt,Wt){Rn._observers||Le(Rn,"_observers",{});let Yt=Rn;for(let Un=0;Un<Qt.length-1;Un++)(!Yt[Qt[Un]]||!Me(Yt[Qt[Un]]))&&(Yt[Qt[Un]]=/^\d+$/.test(Qt[Un+1])?[]:{}),Yt=Yt[Qt[Un]];const Mn=Qt[Qt.length-1],ci=Qt.join(".");Rn._observers[ci]||(Rn._observers[ci]={value:Yt[Mn],onChange:[]});const Ue=Rn._observers[ci];if(Yt[Mn]!==Ue.value&&(Ue.value=Yt[Mn]),Wt&&-1===Ue.onChange.indexOf(Wt)&&(Ue.onChange.push(Wt),Wt({currentValue:Ue.value,firstChange:!0}),Ue.onChange.length>=1&&Me(Yt))){const{enumerable:Un}=Object.getOwnPropertyDescriptor(Yt,Mn)||{enumerable:!0};Object.defineProperty(Yt,Mn,{enumerable:Un,configurable:!0,get:()=>Ue.value,set:_n=>{if(_n!==Ue.value){const Xn=Ue.value;Ue.value=_n,Ue.onChange.forEach(Ii=>Ii({previousValue:Xn,currentValue:_n,firstChange:!1}))}}})}return{setValue(Un,_n=!0){if(Un===Ue.value)return;const Xn=Ue.value;Ue.value=Un,Ue.onChange.forEach(Ii=>{Ii!==Wt&&_n&&Ii({previousValue:Xn,currentValue:Un,firstChange:!1})})},unsubscribe(){Ue.onChange=Ue.onChange.filter(Un=>Un!==Wt),0===Ue.onChange.length&&delete Rn._observers[ci]}}}function Xe(Rn,Qt){if(Qt=Array.isArray(Qt)?Qt.join("."):Qt,Rn.fieldGroup)for(let Wt=0,Yt=Rn.fieldGroup.length;Wt<Yt;Wt++){const Mn=Rn.fieldGroup[Wt],ci=Array.isArray(Mn.key)?Mn.key.join("."):Mn.key;if(ci===Qt)return Mn;if(Mn.fieldGroup&&(pe(ci)||0===Qt.indexOf(`${ci}.`))){const Ue=Xe(Mn,pe(ci)?Qt:Qt.slice(ci.length+1));if(Ue)return Ue}}}function Pe(Rn){Rn._componentRefs?.forEach(Qt=>{Qt instanceof n.rjb?Qt.injector.get(n.gRc).markForCheck():Qt.markForCheck()})}function ze(Rn){const Qt=Yt=>Yt.hide||Yt.expressions?.hide||Yt.hideExpression;let Wt=!Rn.resetOnHide||!Qt(Rn);if(!Qt(Rn)&&Rn.resetOnHide){let Yt=Rn.parent;for(;Yt&&!Qt(Yt);)Yt=Yt.parent;Wt=!Yt||!Qt(Yt)}return!Wt}const Be=new n.nKC("FORMLY_CONFIG");let Ye=(()=>{class Rn{constructor(){this.types={},this.validators={},this.wrappers={},this.messages={},this.extras={checkExpressionOn:"modelChange",lazyRender:!0,resetFieldOnHide:!0,renderFormlyFieldElement:!0,showError:Wt=>Wt.formControl?.invalid&&(Wt.formControl?.touched||Wt.options.parentForm?.submitted||!!Wt.field.validation?.show)},this.extensions={},this.presets={},this.extensionsByPriority={}}addConfig(Wt){Wt.types&&Wt.types.forEach(Yt=>this.setType(Yt)),Wt.validators&&Wt.validators.forEach(Yt=>this.setValidator(Yt)),Wt.wrappers&&Wt.wrappers.forEach(Yt=>this.setWrapper(Yt)),Wt.validationMessages&&Wt.validationMessages.forEach(Yt=>this.addValidatorMessage(Yt.name,Yt.message)),Wt.extensions&&this.setSortedExtensions(Wt.extensions),Wt.extras&&(this.extras={...this.extras,...Wt.extras}),Wt.presets&&(this.presets={...this.presets,...Wt.presets.reduce((Yt,Mn)=>({...Yt,[Mn.name]:Mn.config}),{})})}setType(Wt){Array.isArray(Wt)?Wt.forEach(Yt=>this.setType(Yt)):(this.types[Wt.name]||(this.types[Wt.name]={name:Wt.name}),["component","extends","defaultOptions","wrappers"].forEach(Yt=>{Wt.hasOwnProperty(Yt)&&(this.types[Wt.name][Yt]=Wt[Yt])}))}getType(Wt,Yt=!1){if(Wt instanceof n.ZUJ)return{component:Wt,name:Wt.prototype.constructor.name};if(!this.types[Wt]){if(Yt)throw new Error(`[Formly Error] The type "${Wt}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return null}return this.mergeExtendedType(Wt),this.types[Wt]}getMergedField(Wt={}){const Yt=this.getType(Wt.type);if(!Yt)return;Yt.defaultOptions&&le(Wt,Yt.defaultOptions);const Mn=Yt.extends&&this.getType(Yt.extends).defaultOptions;Mn&&le(Wt,Mn),Wt?.optionsTypes&&Wt.optionsTypes.forEach(Ue=>{const Un=this.getType(Ue).defaultOptions;Un&&le(Wt,Un)});const ci=this.resolveFieldTypeRef(Wt);ci?.instance?.defaultOptions&&le(Wt,ci.instance.defaultOptions),!Wt.wrappers&&Yt.wrappers&&(Wt.wrappers=[...Yt.wrappers])}resolveFieldTypeRef(Wt={}){const Yt=this.getType(Wt.type);if(!Yt)return null;if(!Yt.component||Yt._componentRef)return Yt._componentRef;const{_viewContainerRef:Mn,_injector:ci}=Wt.options;if(!Mn||!ci)return null;const Ue=Mn.createComponent(Yt.component,{injector:ci});Le(Yt,"_componentRef",Ue);try{Ue.destroy()}catch(Un){console.error(`An error occurred while destroying the Formly component type "${Wt.type}"`,Un)}return Yt._componentRef}setWrapper(Wt){this.wrappers[Wt.name]=Wt,Wt.types&&Wt.types.forEach(Yt=>{this.setTypeWrapper(Yt,Wt.name)})}getWrapper(Wt){if(Wt instanceof n.ZUJ)return{component:Wt,name:Wt.prototype.constructor.name};if(!this.wrappers[Wt])throw new Error(`[Formly Error] The wrapper "${Wt}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.wrappers[Wt]}setTypeWrapper(Wt,Yt){this.types[Wt]||(this.types[Wt]={}),this.types[Wt].wrappers||(this.types[Wt].wrappers=[]),-1===this.types[Wt].wrappers.indexOf(Yt)&&this.types[Wt].wrappers.push(Yt)}setValidator(Wt){this.validators[Wt.name]=Wt}getValidator(Wt){if(!this.validators[Wt])throw new Error(`[Formly Error] The validator "${Wt}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.validators[Wt]}addValidatorMessage(Wt,Yt){this.messages[Wt]=Yt}getValidatorMessage(Wt){return this.messages[Wt]}setSortedExtensions(Wt){Wt.forEach(Yt=>{const Mn=Yt.priority??1;this.extensionsByPriority[Mn]={...this.extensionsByPriority[Mn],[Yt.name]:Yt.extension}}),this.extensions=Object.keys(this.extensionsByPriority).map(Number).sort((Yt,Mn)=>Yt-Mn).reduce((Yt,Mn)=>({...Yt,...this.extensionsByPriority[Mn]}),{})}mergeExtendedType(Wt){if(!this.types[Wt].extends)return;const Yt=this.getType(this.types[Wt].extends);this.types[Wt].component||(this.types[Wt].component=Yt.component),this.types[Wt].wrappers||(this.types[Wt].wrappers=Yt.wrappers)}}return Rn.\u0275fac=function(Wt){return new(Wt||Rn)},Rn.\u0275prov=n.jDH({token:Rn,factory:Rn.\u0275fac,providedIn:"root"}),Rn})(),Ct=(()=>{class Rn{constructor(Wt,Yt,Mn,ci){this.config=Wt,this.injector=Yt,this.viewContainerRef=Mn,this.parentForm=ci}buildForm(Wt,Yt=[],Mn,ci){this.build({fieldGroup:Yt,model:Mn,form:Wt,options:ci})}build(Wt){if(!this.config.extensions.core)throw new Error("NgxFormly: missing `forRoot()` call. use `forRoot()` when registering the `FormlyModule`.");Wt.parent||this._setOptions(Wt),function x(Rn,Qt){const Wt=Rn._updateTreeValidity.bind(Rn);Rn._updateTreeValidity=()=>{},Qt(),Rn._updateTreeValidity=Wt}(Wt.form,()=>{if(this._build(Wt),!Wt.parent||Wt.fieldArray){const Yt=Wt.options;Wt.parent&&ze(Wt)&&Yt._hiddenFieldsForCheck?.push(Wt),Yt.checkExpressions?.(Wt,!0),Yt._detectChanges?.(Wt)}})}_build(Wt){if(!Wt)return;const Yt=Object.values(this.config.extensions);Yt.forEach(Mn=>Mn.prePopulate?.(Wt)),Yt.forEach(Mn=>Mn.onPopulate?.(Wt)),Wt.fieldGroup?.forEach(Mn=>this._build(Mn)),Yt.forEach(Mn=>Mn.postPopulate?.(Wt))}_setOptions(Wt){Wt.form=Wt.form||new a.gE({}),Wt.model=Wt.model||{},Wt.options=Wt.options||{};const Yt=Wt.options;Yt._viewContainerRef||Le(Yt,"_viewContainerRef",this.viewContainerRef),Yt._injector||Le(Yt,"_injector",this.injector),Yt.build||(Yt._buildForm=()=>{console.warn("Formly: 'options._buildForm' is deprecated since v6.0, use 'options.build' instead."),this.build(Wt)},Yt.build=(Mn=Wt)=>(this.build(Mn),Mn)),!Yt.parentForm&&this.parentForm&&(Le(Yt,"parentForm",this.parentForm),Oe(Yt,["parentForm","submitted"],({firstChange:Mn})=>{Mn||Yt.detectChanges(Wt)}))}}return Rn.\u0275fac=function(Wt){return new(Wt||Rn)(n.KVO(Ye),n.KVO(n.zZn),n.KVO(n.c1b,8),n.KVO(a.j4,8))},Rn.\u0275prov=n.jDH({token:Rn,factory:Rn.\u0275fac,providedIn:"root"}),Rn})();function ht(Rn,Qt,Wt=!1){if((Qt=Qt||Rn.formControl)._fields||Le(Qt,"_fields",[]),-1===Qt._fields.indexOf(Rn)&&Qt._fields.push(Rn),!Rn.formControl&&Qt){Le(Rn,"formControl",Qt),Qt.setValidators(null),Qt.setAsyncValidators(null),Rn.props.disabled=!!Rn.props.disabled;const Un=Oe(Rn,["props","disabled"],({firstChange:_n,currentValue:Xn})=>{_n||(Xn?Rn.formControl.disable():Rn.formControl.enable())});Qt instanceof a.MJ&&Qt.registerOnDisabledChange(Un.setValue)}if(!Rn.form||!j(Rn))return;let Yt=Rn.form;const Mn=$(Rn),ci=Q(Rn);(!pe(Qt.value)||!pe(ci))&&Qt.value!==ci&&Qt instanceof a.MJ&&Qt.patchValue(ci);for(let Un=0;Un<Mn.length-1;Un++){const _n=Mn[Un];Yt.get([_n])||Yt.setControl(_n,new a.gE({}),{emitEvent:Wt}),Yt=Yt.get([_n])}const Ue=Mn[Mn.length-1];!Rn._hide&&Yt.get([Ue])!==Qt&&Yt.setControl(Ue,Qt,{emitEvent:Wt})}function gt(Rn,Qt=!1){const Wt=Rn.status,Yt=Rn.value;Rn.updateValueAndValidity({emitEvent:!1,onlySelf:Qt}),Wt!==Rn.status&&Rn.statusChanges.emit(Rn.status),Yt!==Rn.value&&Rn.valueChanges.emit(Rn.value)}function Ge(Rn){delete Rn?._fields,Rn.setValidators(null),Rn.setAsyncValidators(null),(Rn instanceof a.gE||Rn instanceof a.Yp)&&Object.values(Rn.controls).forEach(Qt=>Ge(Qt))}let Se=(()=>{class Rn{constructor(Wt){this.ref=Wt}ngOnChanges(){this.name=this.name||"formly-group"}}return Rn.\u0275fac=function(Wt){return new(Wt||Rn)(n.rXU(n.C4Q))},Rn.\u0275dir=n.FsC({type:Rn,selectors:[["","formlyTemplate",""]],inputs:{name:[0,"formlyTemplate","name"]},features:[n.OA$]}),Rn})(),ke=(()=>{class Rn{}return Rn.\u0275fac=function(Wt){return new(Wt||Rn)},Rn.\u0275prov=n.jDH({token:Rn,factory:Rn.\u0275fac}),Rn})(),Ne=(()=>{class Rn{constructor(Wt,Yt,Mn,ci,Ue){this.config=Wt,this.renderer=Yt,this._elementRef=Mn,this.hostContainerRef=ci,this.form=Ue,this.hostObservers=[],this.componentRefs=[],this.hooksObservers=[],this.detectFieldBuild=!1,this.valueChangesUnsubscribe=()=>{}}get containerRef(){return this.config.extras.renderFormlyFieldElement?this.viewContainerRef:this.hostContainerRef}get elementRef(){return this.config.extras.renderFormlyFieldElement?this._elementRef:this.componentRefs?.[0]instanceof n.rjb?this.componentRefs[0].location:null}ngAfterContentInit(){this.triggerHook("afterContentInit")}ngAfterViewInit(){this.triggerHook("afterViewInit")}ngDoCheck(){this.detectFieldBuild&&this.field&&this.field.options&&this.render()}ngOnInit(){this.triggerHook("onInit")}ngOnChanges(Wt){this.triggerHook("onChanges",Wt)}ngOnDestroy(){this.resetRefs(this.field),this.hostObservers.forEach(Wt=>Wt.unsubscribe()),this.hooksObservers.forEach(Wt=>Wt()),this.valueChangesUnsubscribe(),this.triggerHook("onDestroy")}renderField(Wt,Yt,Mn=[]){if(this.containerRef===Wt&&(this.resetRefs(this.field),this.containerRef.clear(),Mn=this.field?.wrappers),Mn?.length>0){const[ci,...Ue]=Mn,{component:Un}=this.config.getWrapper(ci),_n=Wt.createComponent(Un);this.attachComponentRef(_n,Yt),Oe(_n.instance,["fieldComponent"],({currentValue:Xn,previousValue:Ii,firstChange:En})=>{if(Xn){if(Ii&&Ii._lContainer===Xn._lContainer)return;const ln=Ii?Ii.detach():null;ln&&!ln.destroyed?Xn.insert(ln):this.renderField(Xn,Yt,Ue),!En&&_n.changeDetectorRef.detectChanges()}})}else if(Yt?.type){const ci=this.form?.templates?.find(Un=>Un.name===Yt.type);let Ue;if(ci)Ue=Wt.createEmbeddedView(ci.ref,{$implicit:Yt});else{const{component:Un}=this.config.getType(Yt.type,!0);Ue=Wt.createComponent(Un)}this.attachComponentRef(Ue,Yt)}}triggerHook(Wt,Yt){if(("onInit"===Wt||"onChanges"===Wt&&Yt.field&&!Yt.field.firstChange)&&(this.valueChangesUnsubscribe(),this.valueChangesUnsubscribe=this.fieldChanges(this.field)),this.field?.hooks?.[Wt]&&(!Yt||Yt.field)){const Mn=this.field.hooks[Wt](this.field);if((0,g.A)(Mn)&&-1!==["onInit","afterContentInit","afterViewInit"].indexOf(Wt)){const ci=Mn.subscribe();this.hooksObservers.push(()=>ci.unsubscribe())}}"onChanges"===Wt&&Yt.field&&(this.resetRefs(Yt.field.previousValue),this.render())}attachComponentRef(Wt,Yt){this.componentRefs.push(Wt),Yt._componentRefs.push(Wt),Wt instanceof n.rjb&&Object.assign(Wt.instance,{field:Yt})}render(){if(this.field)if(this.field.options)if(this.detectFieldBuild=!1,this.hostObservers.forEach(Yt=>Yt.unsubscribe()),this.hostObservers=[Oe(this.field,["hide"],({firstChange:Yt,currentValue:Mn})=>{const ci=this.containerRef;!1===this.config.extras.lazyRender?(Yt&&this.renderField(ci,this.field),(!Yt||Yt&&Mn)&&this.elementRef&&this.renderer.setStyle(this.elementRef.nativeElement,"display",Mn?"none":"")):Mn?(ci.clear(),this.field.className&&this.renderer.removeAttribute(this.elementRef.nativeElement,"class")):(this.renderField(ci,this.field),this.field.className&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",this.field.className)),!Yt&&this.field.options.detectChanges(this.field)}),Oe(this.field,["className"],({firstChange:Yt,currentValue:Mn})=>{(!Yt||Yt&&Mn)&&(!this.config.extras.lazyRender||!0!==this.field.hide)&&this.elementRef&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",Mn)})],+M.xv.major>=18&&+M.xv.minor>=1){if(this.field.formControl){const Yt=this.field.formControl.statusChanges.pipe((0,E.F)()).subscribe(()=>Pe(this.field));this.hostObservers.push(Yt)}}else["touched","pristine","status"].forEach(Yt=>this.hostObservers.push(Oe(this.field,["formControl",Yt],({firstChange:Mn})=>!Mn&&Pe(this.field))));else this.detectFieldBuild=!0}resetRefs(Wt){Wt&&(Wt._localFields?Wt._localFields=[]:Le(this.field,"_localFields",[]),Wt._componentRefs?Wt._componentRefs=Wt._componentRefs.filter(Yt=>-1===this.componentRefs.indexOf(Yt)):Le(this.field,"_componentRefs",[])),this.componentRefs=[]}fieldChanges(Wt){if(!Wt)return()=>{};const Yt=[Ae(Wt,["props"],()=>Wt.options.detectChanges(Wt))];Wt.options&&Yt.push(Ae(Wt.options,["formState"],()=>Wt.options.detectChanges(Wt)));for(const ci of Object.keys(Wt._expressions||{})){const Ue=Oe(Wt,["_expressions",ci],({currentValue:Un,previousValue:_n})=>{_n?.subscription&&(_n.subscription.unsubscribe(),_n.subscription=null),(0,g.A)(Un.value$)&&(Un.subscription=Un.value$.subscribe())});Yt.push(()=>{Wt._expressions[ci]?.subscription&&Wt._expressions[ci].subscription.unsubscribe(),Ue.unsubscribe()})}for(const ci of[["focus"],["template"],["fieldGroupClassName"],["validation","show"]]){const Ue=Oe(Wt,ci,({firstChange:Un})=>!Un&&Wt.options.detectChanges(Wt));Yt.push(()=>Ue.unsubscribe())}if(Wt.formControl&&!Wt.fieldGroup){const ci=Wt.formControl;let Ue=ci.valueChanges.pipe((0,y.T)(Ii=>(Wt.parsers?.map(En=>Ii=En(Ii,Wt)),Object.is(Ii,Wt.formControl.value)||Wt.formControl.setValue(Ii),Ii)),(0,E.F)((Ii,En)=>!(Ii!==En||Array.isArray(Ii)||Me(Ii))));ci.value!==Q(Wt)&&(Ue=Ue.pipe((0,I.Z)(ci.value)));const{updateOn:Un,debounce:_n}=Wt.modelOptions;(!Un||"change"===Un)&&_n?.default>0&&(Ue=ci.valueChanges.pipe((0,b.B)(_n.default)));const Xn=Ue.subscribe(Ii=>{ci._fields?.length>1&&ci instanceof a.MJ&&ci.patchValue(Ii,{emitEvent:!1,onlySelf:!0}),j(Wt)&&ie(Wt,Ii),Wt.options.fieldChanges.next({value:Ii,field:Wt,type:"valueChanges"})});Yt.push(()=>Xn.unsubscribe())}let Mn=[];return Oe(Wt,["_localFields"],({currentValue:ci})=>{Mn.forEach(Ue=>Ue()),Mn=(ci||[]).map(Ue=>this.fieldChanges(Ue))}),()=>{Yt.forEach(ci=>ci()),Mn.forEach(ci=>ci())}}}return Rn.\u0275fac=function(Wt){return new(Wt||Rn)(n.rXU(Ye),n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(n.c1b),n.rXU(ke,8))},Rn.\u0275cmp=n.VBU({type:Rn,selectors:[["formly-field"]],viewQuery:function(Wt,Yt){if(1&Wt&&n.GBs(z,7,n.c1b),2&Wt){let Mn;n.mGM(Mn=n.lsd())&&(Yt.viewContainerRef=Mn.first)}},inputs:{field:"field"},features:[n.OA$],decls:2,vars:0,consts:[["container",""]],template:function(Wt,Yt){1&Wt&&n.DNE(0,F,0,0,"ng-template",null,0,n.C5r)},styles:["[_nghost-%COMP%]:empty{display:none}"]}),Rn})(),Je=(()=>{class Rn{constructor(Wt,Yt,Mn,ci){this.builder=Wt,this.config=Yt,this.ngZone=Mn,this.fieldTemplates=ci,this.modelChange=new n.bkB,this.field={type:"formly-group"},this._modelChangeValue={},this.valueChangesUnsubscribe=()=>{}}set form(Wt){this.field.form=Wt}get form(){return this.field.form}set model(Wt){this.config.extras.immutable&&this._modelChangeValue===Wt||this.setField({model:Wt})}get model(){return this.field.model}set fields(Wt){this.setField({fieldGroup:Wt})}get fields(){return this.field.fieldGroup}set options(Wt){this.setField({options:Wt})}get options(){return this.field.options}set templates(Wt){this.fieldTemplates.templates=Wt}ngDoCheck(){"changeDetectionCheck"===this.config.extras.checkExpressionOn&&this.checkExpressionChange()}ngOnChanges(Wt){Wt.fields&&this.form&&Ge(this.form),(Wt.fields||Wt.form||Wt.model&&this._modelChangeValue!==Wt.model.currentValue)&&(this.valueChangesUnsubscribe(),this.builder.build(this.field),this.valueChangesUnsubscribe=this.valueChanges())}ngOnDestroy(){this.valueChangesUnsubscribe()}checkExpressionChange(){this.field.options.checkExpressions?.(this.field)}valueChanges(){this.valueChangesUnsubscribe();const Wt=this.field.options.fieldChanges.pipe((0,L.p)(({field:Yt,type:Mn})=>j(Yt)&&"valueChanges"===Mn),(0,o.n)(()=>function $e(Rn){return Rn instanceof n.FOc}(this.ngZone)?(0,m.of)(null):this.ngZone.onStable.asObservable().pipe((0,C.s)(1)))).subscribe(()=>this.ngZone.runGuarded(()=>{this.checkExpressionChange(),this.modelChange.emit(this._modelChangeValue=be(this.model))}));return()=>Wt.unsubscribe()}setField(Wt){this.config.extras.immutable?this.field={...this.field,...be(Wt)}:Object.keys(Wt).forEach(Yt=>this.field[Yt]=Wt[Yt])}}return Rn.\u0275fac=function(Wt){return new(Wt||Rn)(n.rXU(Ct),n.rXU(Ye),n.rXU(n.SKi),n.rXU(ke))},Rn.\u0275cmp=n.VBU({type:Rn,selectors:[["formly-form"]],contentQueries:function(Wt,Yt,Mn){if(1&Wt&&n.wni(Mn,Se,4),2&Wt){let ci;n.mGM(ci=n.lsd())&&(Yt.templates=ci)}},inputs:{form:"form",model:"model",fields:"fields",options:"options"},outputs:{modelChange:"modelChange"},features:[n.Jv_([Ct,ke]),n.OA$],decls:1,vars:1,consts:[[3,"field"]],template:function(Wt,Yt){1&Wt&&n.nrm(0,"formly-field",0),2&Wt&&n.Y8G("field",Yt.field)},dependencies:[Ne],encapsulation:2,changeDetection:0}),Rn})(),Qe=(()=>{class Rn{constructor(Wt,Yt,Mn){this.renderer=Wt,this.elementRef=Yt,this.uiAttributesCache={},this.uiEvents={listeners:[],events:["click","keyup","keydown","keypress","focus","blur","change"],callback:(ci,Ue)=>{switch(ci){case"focus":return this.onFocus(Ue);case"blur":return this.onBlur(Ue);case"change":return this.onChange(Ue);default:return this.props[ci](this.field,Ue)}}},this.document=Mn}get props(){return this.field.props||{}}get fieldAttrElements(){return this.field?._elementRefs||[]}ngOnChanges(Wt){Wt.field&&(this.field.name&&this.setAttribute("name",this.field.name),this.uiEvents.listeners.forEach(Yt=>Yt()),this.uiEvents.events.forEach(Yt=>{(this.props?.[Yt]||-1!==["focus","blur","change"].indexOf(Yt))&&this.uiEvents.listeners.push(this.renderer.listen(this.elementRef.nativeElement,Yt,Mn=>this.uiEvents.callback(Yt,Mn)))}),this.props?.attributes&&Oe(this.field,["props","attributes"],({currentValue:Yt,previousValue:Mn})=>{Mn&&Object.keys(Mn).forEach(ci=>this.removeAttribute(ci)),Yt&&Object.keys(Yt).forEach(ci=>{null!=Yt[ci]&&this.setAttribute(ci,Yt[ci])})}),this.detachElementRef(Wt.field.previousValue),this.attachElementRef(Wt.field.currentValue),1===this.fieldAttrElements.length&&(!this.id&&this.field.id&&this.setAttribute("id",this.field.id),this.focusObserver=Oe(this.field,["focus"],({currentValue:Yt})=>{this.toggleFocus(Yt)}))),Wt.id&&this.setAttribute("id",this.id)}ngDoCheck(){if(!this.uiAttributes){const Wt=this.elementRef.nativeElement;this.uiAttributes=[...H,"tabindex","placeholder","readonly","disabled","step"].filter(Yt=>!Wt.hasAttribute||!Wt.hasAttribute(Yt))}for(let Wt=0;Wt<this.uiAttributes.length;Wt++){const Yt=this.uiAttributes[Wt],Mn=this.props[Yt];this.uiAttributesCache[Yt]!==Mn&&(!this.props.attributes||!this.props.attributes.hasOwnProperty(Yt.toLowerCase()))&&(this.uiAttributesCache[Yt]=Mn,Mn||0===Mn?this.setAttribute(Yt,!0===Mn?Yt:`${Mn}`):this.removeAttribute(Yt))}}ngOnDestroy(){this.uiEvents.listeners.forEach(Wt=>Wt()),this.detachElementRef(this.field),this.focusObserver?.unsubscribe()}toggleFocus(Wt){const Yt=this.fieldAttrElements?this.fieldAttrElements[0]:null;if(!Yt||!Yt.nativeElement.focus)return;const Mn=!!this.document.activeElement&&this.fieldAttrElements.some(({nativeElement:ci})=>this.document.activeElement===ci||ci.contains(this.document.activeElement));Wt&&!Mn?Promise.resolve().then(()=>Yt.nativeElement.focus()):!Wt&&Mn&&Promise.resolve().then(()=>Yt.nativeElement.blur())}onFocus(Wt){this.focusObserver?.setValue(!0),this.props.focus?.(this.field,Wt)}onBlur(Wt){this.focusObserver?.setValue(!1),this.props.blur?.(this.field,Wt)}onHostChange(Wt){Wt instanceof Event||this.onChange(Wt)}onChange(Wt){this.props.change?.(this.field,Wt),this.field.formControl?.markAsDirty()}attachElementRef(Wt){Wt&&(-1===Wt._elementRefs?.indexOf(this.elementRef)?Wt._elementRefs.push(this.elementRef):Le(Wt,"_elementRefs",[this.elementRef]))}detachElementRef(Wt){const Yt=Wt?._elementRefs?this.fieldAttrElements.indexOf(this.elementRef):-1;-1!==Yt&&Wt._elementRefs.splice(Yt,1)}setAttribute(Wt,Yt){this.renderer.setAttribute(this.elementRef.nativeElement,Wt,Yt)}removeAttribute(Wt){this.renderer.removeAttribute(this.elementRef.nativeElement,Wt)}}return Rn.\u0275fac=function(Wt){return new(Wt||Rn)(n.rXU(n.sFG),n.rXU(n.aKT),n.rXU(M.qQ))},Rn.\u0275dir=n.FsC({type:Rn,selectors:[["","formlyAttributes",""]],hostBindings:function(Wt,Yt){1&Wt&&n.bIt("change",function(ci){return Yt.onHostChange(ci)})},inputs:{field:[0,"formlyAttributes","field"],id:"id"},features:[n.OA$]}),Rn})(),rt=(()=>{class Rn{constructor(){this.field={}}set _formlyControls(Wt){this.field._localFields=Wt.map(Mn=>Mn.control._fields||[]).flat().filter(Mn=>Mn.formControl!==this.field.formControl)}get model(){return this.field.model}get form(){return this.field.form}get options(){return this.field.options}get key(){return this.field.key}get formControl(){return this.field.formControl}get props(){return this.field.props||{}}get to(){return this.props}get showError(){return this.options.showError(this)}get id(){return this.field.id}get formState(){return this.options?.formState||{}}}return Rn.\u0275fac=function(Wt){return new(Wt||Rn)},Rn.\u0275dir=n.FsC({type:Rn,viewQuery:function(Wt,Yt){if(1&Wt&&n.GBs(a.vO,5),2&Wt){let Mn;n.mGM(Mn=n.lsd())&&(Yt._formlyControls=Mn)}},inputs:{field:"field"}}),Rn})(),ft=(()=>{class Rn extends rt{}return Rn.\u0275fac=(()=>{let Qt;return function(Yt){return(Qt||(Qt=n.xGo(Rn)))(Yt||Rn)}})(),Rn.\u0275cmp=n.VBU({type:Rn,selectors:[["formly-group"]],hostVars:2,hostBindings:function(Wt,Yt){2&Wt&&n.HbH(Yt.field.fieldGroupClassName||"")},features:[n.Vt3],ngContentSelectors:U,decls:2,vars:1,consts:[[3,"field",4,"ngFor","ngForOf"],[3,"field"]],template:function(Wt,Yt){1&Wt&&(n.NAR(),n.DNE(0,k,1,1,"formly-field",0),n.SdG(1)),2&Wt&&n.Y8G("ngForOf",Yt.field.fieldGroup)},dependencies:[Ne,M.Sq],encapsulation:2,changeDetection:0}),Rn})(),Xt=(()=>{class Rn{constructor(Wt){this.config=Wt}ngOnChanges(){const Wt=H.map(Yt=>`templateOptions.${Yt}`);this.errorMessage$=(0,T.h)(this.field.formControl.statusChanges,this.field.options?this.field.options.fieldChanges.pipe((0,L.p)(({field:Yt,type:Mn,property:ci})=>Yt===this.field&&"expressionChanges"===Mn&&(-1!==ci.indexOf("validation")||-1!==Wt.indexOf(ci)))):(0,m.of)(null)).pipe((0,I.Z)(null),(0,o.n)(()=>(0,g.A)(this.errorMessage)?this.errorMessage:(0,m.of)(this.errorMessage)))}get errorMessage(){const Wt=this.field.formControl;for(const Yt in Wt.errors)if(Wt.errors.hasOwnProperty(Yt)){let Mn=this.config.getValidatorMessage(Yt);if(Me(Wt.errors[Yt])){if(Wt.errors[Yt].errorPath)return;Wt.errors[Yt].message&&(Mn=Wt.errors[Yt].message)}return this.field.validation?.messages?.[Yt]&&(Mn=this.field.validation.messages[Yt]),this.field.validators?.[Yt]?.message&&(Mn=this.field.validators[Yt].message),this.field.asyncValidators?.[Yt]?.message&&(Mn=this.field.asyncValidators[Yt].message),"function"==typeof Mn?Mn(Wt.errors[Yt],this.field):Mn}}}return Rn.\u0275fac=function(Wt){return new(Wt||Rn)(n.rXU(Ye))},Rn.\u0275cmp=n.VBU({type:Rn,selectors:[["formly-validation-message"]],inputs:{field:"field"},features:[n.OA$],decls:2,vars:3,template:function(Wt,Yt){1&Wt&&(n.EFF(0),n.nI1(1,"async")),2&Wt&&n.JRh(n.bMT(1,1,Yt.errorMessage$))},dependencies:[M.Jj],encapsulation:2,changeDetection:0}),Rn})(),In=(()=>{class Rn extends rt{set _formlyControls(Wt){}set _staticContent(Wt){this.fieldComponent=Wt}}return Rn.\u0275fac=(()=>{let Qt;return function(Yt){return(Qt||(Qt=n.xGo(Rn)))(Yt||Rn)}})(),Rn.\u0275dir=n.FsC({type:Rn,viewQuery:function(Wt,Yt){if(1&Wt&&(n.GBs(Y,5,n.c1b),n.GBs(Y,7,n.c1b)),2&Wt){let Mn;n.mGM(Mn=n.lsd())&&(Yt.fieldComponent=Mn.first),n.mGM(Mn=n.lsd())&&(Yt._staticContent=Mn.first)}},features:[n.Vt3]}),Rn})(),Kt=(()=>{class Rn extends rt{constructor(Wt){super(),this.sanitizer=Wt,this.innerHtml={}}get template(){return this.field&&this.field.template!==this.innerHtml.template&&(this.innerHtml={template:this.field.template,content:this.props.safeHtml?this.sanitizer.bypassSecurityTrustHtml(this.field.template):this.field.template}),this.innerHtml.content}}return Rn.\u0275fac=function(Wt){return new(Wt||Rn)(n.rXU(q.up))},Rn.\u0275cmp=n.VBU({type:Rn,selectors:[["formly-template"]],features:[n.Vt3],decls:1,vars:1,consts:[[3,"innerHtml"]],template:function(Wt,Yt){1&Wt&&n.nrm(0,"div",0),2&Wt&&n.Y8G("innerHtml",Yt.template,n.npT)},encapsulation:2,changeDetection:0}),Rn})();class zn{onPopulate(Qt){if(Qt._expressions)return;Le(Qt,"_expressions",{}),Oe(Qt,["hide"],({currentValue:Yt,firstChange:Mn})=>{Le(Qt,"_hide",!!Yt),(!Mn||Mn&&!0===Yt)&&(Qt.props.hidden=Yt,Qt.options._hiddenFieldsForCheck.push(Qt))}),Qt.hideExpression&&Oe(Qt,["hideExpression"],({currentValue:Yt})=>{Qt._expressions.hide=this.parseExpressions(Qt,"hide","boolean"==typeof Yt?()=>Yt:Yt)});const Wt=(Yt,Mn)=>{"string"==typeof Mn||K(Mn)?Qt._expressions[Yt]=this.parseExpressions(Qt,Yt,Mn):Mn instanceof O.c&&(Qt._expressions[Yt]={value$:Mn.pipe((0,w.M)(ci=>{this.evalExpr(Qt,Yt,ci),Qt.options._detectChanges(Qt)}))})};Qt.expressions=Qt.expressions||{};for(const Yt of Object.keys(Qt.expressions))Oe(Qt,["expressions",Yt],({currentValue:Mn})=>{Wt(Yt,K(Mn)?(...ci)=>Mn(Qt,ci[3]):Mn)});Qt.expressionProperties=Qt.expressionProperties||{};for(const Yt of Object.keys(Qt.expressionProperties))Oe(Qt,["expressionProperties",Yt],({currentValue:Mn})=>Wt(Yt,Mn))}postPopulate(Qt){if(!Qt.parent&&!Qt.options.checkExpressions){let Wt=!1;Qt.options.checkExpressions=(Yt,Mn)=>{if(Wt)return;Wt=!0;const ci=this.checkExpressions(Yt,Mn),Ue=Qt.options;Ue._hiddenFieldsForCheck.sort(Un=>Un.hide?-1:1).forEach(Un=>this.changeHideState(Un,Un.hide,!Mn)),Ue._hiddenFieldsForCheck=[],ci&&this.checkExpressions(Qt),Wt=!1},Qt.options._checkField=(Yt,Mn)=>{console.warn("Formly: 'options._checkField' is deprecated since v6.0, use 'options.checkExpressions' instead."),Qt.options.checkExpressions(Yt,Mn)}}}parseExpressions(Qt,Wt,Yt){let Mn,ci;if(Qt.parent&&["hide","props.disabled"].includes(Wt)){const Ue=Un=>"hide"===Wt?Un.hide:Un.props.disabled;Mn=()=>{let Un=Qt.parent;for(;Un.parent&&!Ue(Un);)Un=Un.parent;return Ue(Un)}}return"string"==typeof(Yt=Yt||(()=>!1))&&(Yt=function Ze(Rn,Qt){try{return Function(...Qt,`return ${Rn};`)}catch(Wt){console.error(Wt)}}(Yt,["model","formState","field"])),{callback:Ue=>{try{const Un=function wn(Rn,Qt,Wt){return"function"==typeof Rn?Rn.apply(Qt,Wt):!!Rn}(Mn?(..._n)=>Mn(Qt)||Yt(..._n):Yt,{field:Qt},[Qt.model,Qt.options.formState,Qt,Ue]);return!(!Ue&&(ci===Un||Me(Un)&&!(0,g.A)(Un)&&JSON.stringify(Un)===JSON.stringify(ci))||(ci=Un,this.evalExpr(Qt,Wt,Un),0))}catch(Un){throw Un.message=`[Formly Error] [Expression "${Wt}"] ${Un.message}`,Un}}}}checkExpressions(Qt,Wt=!1){if(!Qt)return!1;let Yt=!1;if(Qt._expressions)for(const Mn of Object.keys(Qt._expressions))Qt._expressions[Mn].callback?.(Wt)&&(Yt=!0);return Qt.fieldGroup?.forEach(Mn=>this.checkExpressions(Mn,Wt)&&(Yt=!0)),Yt}changeDisabledState(Qt,Wt){Qt.fieldGroup&&Qt.fieldGroup.filter(Yt=>!Yt._expressions.hasOwnProperty("props.disabled")).forEach(Yt=>this.changeDisabledState(Yt,Wt)),j(Qt)&&Qt.props.disabled!==Wt&&(Qt.props.disabled=Wt)}changeHideState(Qt,Wt,Yt){if(Qt.fieldGroup&&Qt.fieldGroup.filter(Mn=>Mn&&!Mn._expressions.hide).forEach(Mn=>this.changeHideState(Mn,Wt,Yt)),Qt.formControl&&j(Qt)){Le(Qt,"_hide",!(!Wt&&!Qt.hide));const Mn=Qt.formControl;Mn._fields?.length>1&&gt(Mn),!0!==Wt||Mn._fields&&!Mn._fields.every(ci=>!!ci._hide)?!1===Wt&&(Qt.resetOnHide&&!te(Qt.defaultValue)&&te(Q(Qt))&&ie(Qt,Qt.defaultValue),ht(Qt,void 0,!0),Qt.resetOnHide&&Qt.fieldArray&&Qt.fieldGroup?.length!==Qt.model?.length&&Qt.options.build(Qt)):(function Lt(Rn,Qt=!1){const Wt=Rn.formControl,Yt=Wt._fields?Wt._fields.indexOf(Rn):-1;-1!==Yt&&Wt._fields.splice(Yt,1);const Mn=Wt.parent;if(!Mn)return;const ci={emitEvent:Qt};if(Mn instanceof a.Yp){const Ue=Mn.controls.findIndex(Un=>Un===Wt);-1!==Ue&&Mn.removeAt(Ue,ci)}else if(Mn instanceof a.gE){const Ue=$(Rn),Un=Ue[Ue.length-1];Mn.get([Un])===Wt&&Mn.removeControl(Un,ci)}Wt.setParent(null)}(Qt,!0),Yt&&Qt.resetOnHide&&(ie(Qt,void 0),Qt.formControl.reset({value:void 0,disabled:Qt.formControl.disabled}),Qt.options.fieldChanges.next({value:void 0,field:Qt,type:"valueChanges"}),Qt.fieldGroup&&Qt.formControl instanceof a.Yp&&(Qt.fieldGroup.length=0)))}Qt.options.fieldChanges&&Qt.options.fieldChanges.next({field:Qt,type:"hidden",value:Wt})}evalExpr(Qt,Wt,Yt){if(0===Wt.indexOf("model.")){const Mn=Wt.replace(/^model\./,""),ci=Qt.fieldGroup?Qt:Qt.parent;let Ue=Qt?.key===Mn?Qt.formControl:Qt.form.get(Mn);!Ue&&Qt.get(Mn)&&(Ue=Qt.get(Mn).formControl),ie({key:Mn,parent:ci,model:Qt.model},Yt),Ue&&(!pe(Ue.value)||!pe(Yt))&&Ue.value!==Yt&&Ue.patchValue(Yt)}else{try{let Mn=Qt;const ci=this._evalExpressionPath(Qt,Wt),Ue=ci.length-1;for(let Un=0;Un<Ue;Un++)Mn=Mn[ci[Un]];Mn[ci[Ue]]=Yt}catch(Mn){throw Mn.message=`[Formly Error] [Expression "${Wt}"] ${Mn.message}`,Mn}["templateOptions.disabled","props.disabled"].includes(Wt)&&j(Qt)&&this.changeDisabledState(Qt,Yt)}this.emitExpressionChanges(Qt,Wt,Yt)}emitExpressionChanges(Qt,Wt,Yt){Qt.options.fieldChanges&&Qt.options.fieldChanges.next({field:Qt,type:"expressionChanges",property:Wt,value:Yt})}_evalExpressionPath(Qt,Wt){if(Qt._expressions[Wt]&&Qt._expressions[Wt].paths)return Qt._expressions[Wt].paths;let Yt=[];return-1===Wt.indexOf("[")?Yt=Wt.split("."):Wt.split(/[[\]]{1,2}/).filter(Mn=>Mn).forEach(Mn=>{const ci=Mn.match(/['|"](.*?)['|"]/);ci?Yt.push(ci[1]):Yt.push(...Mn.split(".").filter(Ue=>Ue))}),Qt._expressions[Wt]&&(Qt._expressions[Wt].paths=Yt),Yt}}class di{constructor(Qt){this.config=Qt}onPopulate(Qt){this.initFieldValidation(Qt,"validators"),this.initFieldValidation(Qt,"asyncValidators")}initFieldValidation(Qt,Wt){const Yt=[];if("validators"===Wt&&!(Qt.hasOwnProperty("fieldGroup")&&!j(Qt))&&Yt.push(this.getPredefinedFieldValidation(Qt)),Qt[Wt])for(const Mn of Object.keys(Qt[Wt]))"validation"===Mn?Yt.push(...Qt[Wt].validation.map(ci=>this.wrapNgValidatorFn(Qt,ci))):Yt.push(this.wrapNgValidatorFn(Qt,Qt[Wt][Mn],Mn));Le(Qt,"_"+Wt,Yt)}getPredefinedFieldValidation(Qt){let Wt=[];return H.forEach(Yt=>Oe(Qt,["props",Yt],({currentValue:Mn,firstChange:ci})=>{Wt=Wt.filter(Ue=>Ue!==Yt),"required"===Yt&&null!=Mn&&"boolean"!=typeof Mn&&console.warn(`Formly: Invalid prop 'required' of type '${typeof Mn}', expected 'boolean' (Field:${Qt.key}).`),null!=Mn&&!1!==Mn&&Wt.push(Yt),!ci&&Qt.formControl&&gt(Qt.formControl)})),Yt=>0===Wt.length?null:a.k0.compose(Wt.map(Mn=>()=>{const ci=Qt.props[Mn];switch(Mn){case"required":return a.k0.required(Yt);case"pattern":return a.k0.pattern(ci)(Yt);case"minLength":const Ue=a.k0.minLength(ci)(Yt),Un=this.config.getValidatorMessage("minlength")||Qt.validation?.messages?.minlength?"minlength":"minLength";return Ue?{[Un]:Ue.minlength}:null;case"maxLength":const _n=a.k0.maxLength(ci)(Yt),Xn=this.config.getValidatorMessage("maxlength")||Qt.validation?.messages?.maxlength?"maxlength":"maxLength";return _n?{[Xn]:_n.maxlength}:null;case"min":return a.k0.min(ci)(Yt);case"max":return a.k0.max(ci)(Yt);default:return null}}))(Yt)}wrapNgValidatorFn(Qt,Wt,Yt){let Mn;if("string"==typeof Wt&&(Mn=be(this.config.getValidator(Wt))),"object"==typeof Wt&&Wt.name&&(Mn=be(this.config.getValidator(Wt.name)),Wt.options&&(Mn.options=Wt.options)),"object"==typeof Wt&&Wt.expression){const{expression:ci,...Ue}=Wt;Mn={name:Yt,validation:ci,options:Object.keys(Ue).length>0?Ue:null}}return"function"==typeof Wt&&(Mn={name:Yt,validation:Wt}),ci=>{const Ue=Mn.validation(ci,Qt,Mn.options);return function me(Rn){return!!Rn&&"function"==typeof Rn.then}(Ue)?Ue.then(Un=>this.handleResult(Qt,Yt?!!Un:Un,Mn)):(0,g.A)(Ue)?Ue.pipe((0,y.T)(Un=>this.handleResult(Qt,Yt?!!Un:Un,Mn))):this.handleResult(Qt,Yt?!!Ue:Ue,Mn)}}handleResult(Qt,Wt,{name:Yt,options:Mn}){"boolean"==typeof Wt&&(Wt=Wt?null:{[Yt]:Mn||!0});const ci=Qt.formControl;return ci?._childrenErrors?.[Yt]?.(),Me(Wt)&&Object.keys(Wt).forEach(Ue=>{const Un=Wt[Ue].errorPath?Wt[Ue].errorPath:Mn?.errorPath,_n=Un?Qt.formControl.get(Un):null;if(_n){const{errorPath:Xn,...Ii}=Wt[Ue];_n.setErrors({..._n.errors||{},[Ue]:Ii}),!ci._childrenErrors&&Le(ci,"_childrenErrors",{}),ci._childrenErrors[Ue]=()=>{const{[Ue]:En,...ln}=_n.errors||{};_n.setErrors(0===Object.keys(ln).length?null:ln)}}}),Wt}}class jn{prePopulate(Qt){this.root||(this.root=Qt),Qt.parent&&Object.defineProperty(Qt,"form",{get:()=>Qt.parent.formControl,configurable:!0})}onPopulate(Qt){Qt.hasOwnProperty("fieldGroup")&&!j(Qt)?Le(Qt,"formControl",Qt.form):this.addFormControl(Qt)}postPopulate(Qt){if(this.root===Qt&&(this.root=null,this.setValidators(Qt)&&Qt.parent)){let Yt=Qt.parent;for(;Yt;)(j(Yt)||!Yt.parent)&&gt(Yt.formControl,!0),Yt=Yt.parent}}addFormControl(Qt){let Wt=function Vt(Rn){return Rn.formControl?Rn.formControl:!1===Rn.shareFormControl?null:Rn.form?.get($(Rn))}(Qt);if(!Qt.fieldArray){if(Wt){if(Wt instanceof a.MJ){const Yt=j(Qt)?Q(Qt):Qt.defaultValue;Wt.defaultValue=Yt}}else{const Yt={updateOn:Qt.modelOptions.updateOn};if(Qt.fieldGroup)Wt=new a.gE({},Yt);else{const Mn=j(Qt)?Q(Qt):Qt.defaultValue;Wt=new a.MJ({value:Mn,disabled:!!Qt.props.disabled},{...Yt,initialValueIsDefault:!0})}}ht(Qt,Wt)}}setValidators(Qt,Wt=!1){!1===Wt&&j(Qt)&&Qt.props?.disabled&&(Wt=!0);let Yt=!1;if(Qt.fieldGroup?.forEach(Mn=>Mn&&this.setValidators(Mn,Wt)&&(Yt=!0)),j(Qt)||!Qt.parent||!j(Qt)&&!Qt.fieldGroup){const{formControl:Mn}=Qt;if(Mn&&(j(Qt)&&Mn instanceof a.MJ&&(Wt&&Mn.enabled&&(Mn.disable({emitEvent:!1,onlySelf:!0}),Yt=!0),!Wt&&Mn.disabled&&(Mn.enable({emitEvent:!1,onlySelf:!0}),Yt=!0)),null===Mn.validator&&this.hasValidators(Qt,"_validators")&&(Mn.setValidators(()=>{const ci=a.k0.compose(this.mergeValidators(Qt,"_validators"));return ci?ci(Mn):null}),Yt=!0),null===Mn.asyncValidator&&this.hasValidators(Qt,"_asyncValidators")&&(Mn.setAsyncValidators(()=>{const ci=a.k0.composeAsync(this.mergeValidators(Qt,"_asyncValidators"));return ci?ci(Mn):(0,m.of)(null)}),Yt=!0),Yt)){gt(Mn,!0);let ci=Mn.parent;for(let Ue=1;Ue<$(Qt).length;Ue++)ci&&(gt(ci,!0),ci=ci.parent)}}return Yt}hasValidators(Qt,Wt){const Yt=Qt.formControl;return!!(Yt?._fields?.length>1&&Yt._fields.some(Mn=>Mn[Wt].length>0)||Qt[Wt].length>0)||Qt.fieldGroup?.some(Mn=>Mn?.fieldGroup&&!j(Mn)&&this.hasValidators(Mn,Wt))}mergeValidators(Qt,Wt){const Yt=[],Mn=Qt.formControl;return Mn?._fields?.length>1?Mn._fields.filter(ci=>!ci._hide).forEach(ci=>Yt.push(...ci[Wt])):Qt[Wt]&&Yt.push(...Qt[Wt]),Qt.fieldGroup&&Qt.fieldGroup.filter(ci=>ci?.fieldGroup&&!j(ci)).forEach(ci=>Yt.push(...this.mergeValidators(ci,Wt))),Yt}}class Di{constructor(Qt){this.config=Qt,this.formId=0}prePopulate(Qt){const Wt=Qt.parent;this.initRootOptions(Qt),this.initFieldProps(Qt),Wt&&(Object.defineProperty(Qt,"options",{get:()=>Wt.options,configurable:!0}),Object.defineProperty(Qt,"model",{get:()=>j(Qt)&&Qt.fieldGroup?Q(Qt):Wt.model,configurable:!0})),Object.defineProperty(Qt,"get",{value:Yt=>Xe(Qt,Yt),configurable:!0}),this.getFieldComponentInstance(Qt).prePopulate?.(Qt)}onPopulate(Qt){this.initFieldOptions(Qt),this.getFieldComponentInstance(Qt).onPopulate?.(Qt),Qt.fieldGroup&&Qt.fieldGroup.forEach((Wt,Yt)=>{Wt&&(Object.defineProperty(Wt,"parent",{get:()=>Qt,configurable:!0}),Object.defineProperty(Wt,"index",{get:()=>Yt,configurable:!0})),this.formId++})}postPopulate(Qt){this.getFieldComponentInstance(Qt).postPopulate?.(Qt)}initFieldProps(Qt){Qt.props??(Qt.props=Qt.templateOptions),Object.defineProperty(Qt,"templateOptions",{get:()=>Qt.props,set:Wt=>Qt.props=Wt,configurable:!0})}initRootOptions(Qt){if(Qt.parent)return;const Wt=Qt.options;Qt.options.formState=Qt.options.formState||{},Wt.showError||(Wt.showError=this.config.extras.showError),Wt.fieldChanges||Le(Wt,"fieldChanges",new D.B),Wt._hiddenFieldsForCheck||(Wt._hiddenFieldsForCheck=[]),Wt._markForCheck=Yt=>{console.warn("Formly: 'options._markForCheck' is deprecated since v6.0, use 'options.detectChanges' instead."),Wt.detectChanges(Yt)},Wt._detectChanges=Yt=>{Yt._componentRefs&&Pe(Yt),Yt.fieldGroup?.forEach(Mn=>Mn&&Wt._detectChanges(Mn))},Wt.detectChanges=Yt=>{Yt.options.checkExpressions?.(Yt),Wt._detectChanges(Yt)},Wt.resetModel=Yt=>{Yt=be(Yt??Wt._initialModel),Qt.model&&(Object.keys(Qt.model).forEach(Mn=>delete Qt.model[Mn]),Object.assign(Qt.model,Yt||{})),Oe(Wt,["parentForm","submitted"]).setValue(!1,!1),Wt.build(Qt),Qt.form.reset(Qt.model)},Wt.updateInitialValue=Yt=>Wt._initialModel=be(Yt??Qt.model),Qt.options.updateInitialValue()}initFieldOptions(Qt){le(Qt,{id:B(`formly_${this.formId}`,Qt,Qt.index),hooks:{},modelOptions:{},validation:{messages:{}},props:Qt.type&&j(Qt)?{label:"",placeholder:"",disabled:!1}:{}}),this.config.extras.resetFieldOnHide&&!1!==Qt.resetOnHide&&(Qt.resetOnHide=!0),"formly-template"!==Qt.type&&(Qt.template||Qt.expressions?.template||Qt.expressionProperties?.template)&&(Qt.type="formly-template"),!Qt.type&&Qt.fieldGroup&&(Qt.type="formly-group"),Qt.type&&this.config.getMergedField(Qt),j(Qt)&&!te(Qt.defaultValue)&&te(Q(Qt))&&!ze(Qt)&&ie(Qt,Qt.defaultValue),Qt.wrappers=Qt.wrappers||[]}getFieldComponentInstance(Qt){const Wt=()=>{let Yt=this.config.resolveFieldTypeRef(Qt);const Mn=Qt._componentRefs?.slice(-1)[0];return Mn instanceof n.rjb&&Mn?.componentType===Yt?.componentType&&(Yt=Mn),Yt?.instance};return Qt._proxyInstance||Le(Qt,"_proxyInstance",new Proxy({},{get:(Yt,Mn)=>Wt()?.[Mn],set:(Yt,Mn,ci)=>Wt()[Mn]=ci})),Qt._proxyInstance}}function Li(Rn){return{types:[{name:"formly-group",component:ft},{name:"formly-template",component:Kt}],extensions:[{name:"core",extension:new Di(Rn),priority:-250},{name:"field-validation",extension:new di(Rn),priority:-200},{name:"field-form",extension:new jn,priority:-150},{name:"field-expression",extension:new zn,priority:-100}]}}let ms=(()=>{class Rn{constructor(Wt,Yt=[]){Yt&&Yt.forEach(Mn=>Wt.addConfig(Mn))}static forRoot(Wt={}){return{ngModule:Rn,providers:[{provide:Be,multi:!0,useFactory:Li,deps:[Ye]},{provide:Be,useValue:Wt,multi:!0},Ye,Ct]}}static forChild(Wt={}){return{ngModule:Rn,providers:[{provide:Be,multi:!0,useFactory:Li,deps:[Ye]},{provide:Be,useValue:Wt,multi:!0},Ct]}}}return Rn.\u0275fac=function(Wt){return new(Wt||Rn)(n.KVO(Ye),n.KVO(Be,8))},Rn.\u0275mod=n.$C({type:Rn}),Rn.\u0275inj=n.G2t({imports:[[M.MD]]}),Rn})()},6806:(at,N,s)=>{"use strict";s.d(N,{AZ:()=>ie,I2:()=>j,IR:()=>H,V2:()=>pe,_n:()=>B});var n=s(49969),a=s(93953),g=s(21413),m=s(345),T=s(60177);const O=(te,ae,K,de,Me,me,be,Le)=>({alert:te,error:ae,warn:K,success:de,info:Me,bare:me,"rtl-mode":be,"has-icon":Le}),D=te=>({width:te});function E(te,ae){1&te&&a.eu8(0)}function y(te,ae){if(1&te&&(a.j41(0,"div",9),a.DNE(1,E,1,0,"ng-container",10),a.k0s()),2&te){const K=a.XpG(2);a.R7$(),a.Y8G("ngTemplateOutlet",K.title)("ngTemplateOutletContext",K.item.context)}}function I(te,ae){if(1&te&&a.nrm(0,"div",11),2&te){const K=a.XpG(2);a.Y8G("innerHTML",K.title,a.npT)}}function b(te,ae){1&te&&a.eu8(0)}function L(te,ae){if(1&te&&(a.j41(0,"div",12),a.DNE(1,b,1,0,"ng-container",10),a.k0s()),2&te){const K=a.XpG(2);a.R7$(),a.Y8G("ngTemplateOutlet",K.content)("ngTemplateOutletContext",K.item.context)}}function o(te,ae){if(1&te&&a.nrm(0,"div",13),2&te){const K=a.XpG(2);a.Y8G("innerHTML",K.content,a.npT)}}function C(te,ae){if(1&te&&a.nrm(0,"div",14),2&te){const K=a.XpG(2);a.Y8G("innerHTML",K.safeSvg,a.npT)}}function w(te,ae){if(1&te&&(a.j41(0,"div"),a.DNE(1,y,2,2,"div",6)(2,I,1,1,"ng-template",null,0,a.C5r)(4,L,2,2,"div",7)(5,o,1,1,"ng-template",null,1,a.C5r)(7,C,1,1,"div",8),a.k0s()),2&te){const K=a.sdS(3),de=a.sdS(6),Me=a.XpG();a.R7$(),a.Y8G("ngIf",Me.titleIsTemplate)("ngIfElse",K),a.R7$(3),a.Y8G("ngIf",Me.contentIsTemplate)("ngIfElse",de),a.R7$(3),a.Y8G("ngIf","bare"!==Me.item.icon)}}function M(te,ae){1&te&&a.eu8(0)}function q(te,ae){if(1&te&&(a.j41(0,"div",17),a.DNE(1,M,1,0,"ng-container",10),a.k0s()),2&te){const K=a.XpG(2);a.R7$(),a.Y8G("ngTemplateOutlet",K.item.html)("ngTemplateOutletContext",K.item.context)}}function z(te,ae){if(1&te&&a.nrm(0,"div",13),2&te){const K=a.XpG(2);a.Y8G("innerHTML",K.safeInputHtml,a.npT)}}function F(te,ae){if(1&te){const K=a.RV6();a.j41(0,"div",18),a.bIt("click",function(Me){a.eBV(K);const me=a.XpG(2);return a.Njj(me.onClickIcon(Me))}),a.k0s()}if(2&te){const K=a.XpG(2);a.AVh("icon-hover",K.clickIconToClose),a.Y8G("innerHTML",K.safeSvg,a.npT)}}function U(te,ae){if(1&te&&(a.j41(0,"div"),a.DNE(1,q,2,2,"div",15)(2,z,1,1,"ng-template",null,2,a.C5r)(4,F,1,3,"div",16),a.k0s()),2&te){const K=a.sdS(3),de=a.XpG();a.R7$(),a.Y8G("ngIf",de.htmlIsTemplate)("ngIfElse",K),a.R7$(3),a.Y8G("ngIf",de.item.icon)}}function k(te,ae){if(1&te&&(a.j41(0,"div",19),a.nrm(1,"span",20),a.k0s()),2&te){const K=a.XpG();a.R7$(),a.Y8G("ngStyle",a.eq3(1,D,K.progressWidth+"%"))}}function Y(te,ae){if(1&te&&a.nrm(0,"simple-notification",2),2&te){const K=ae.$implicit,de=ae.index,Me=a.XpG();a.Y8G("item",K)("timeOut",Me.timeOut)("clickToClose",Me.clickToClose)("clickIconToClose",Me.clickIconToClose)("maxLength",Me.maxLength)("showProgressBar",Me.showProgressBar)("pauseOnHover",Me.pauseOnHover)("theClass",Me.theClass)("rtl",Me.rtl)("animate",Me.animate)("position",de)}}const x={alert:'\n        <svg class="simple-notification-svg" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" height="24" viewBox="0 0 24 24" width="24">\n            <path d="M0 0h24v24H0z" fill="none"/>\n            <path d="M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"/>\n        </svg>\n    ',error:'\n        <svg class="simple-notification-svg" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" height="24" viewBox="0 0 24 24" width="24">\n            <path d="M0 0h24v24H0V0z" fill="none"/>\n            <path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/>\n        </svg>\n    ',info:'\n        <svg class="simple-notification-svg" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" height="24" viewBox="0 0 24 24" width="24">\n            <path d="M0 0h24v24H0z" fill="none"/>\n            <path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"/>\n        </svg>\n    ',success:'\n        <svg class="simple-notification-svg" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" height="24" viewBox="0 0 24 24" width="24">\n            <path d="M0 0h24v24H0z" fill="none"/>\n            <path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/>\n        </svg>\n    ',warn:'\n        <svg class="simple-notification-svg" xmlns="http://www.w3.org/2000/svg" fill="#ffffff" width="64" viewBox="0 0 64 64" height="64">\n          <circle cx="32.086" cy="50.142" r="2.256"/>\n          <path d="M30.08 25.012V42.32c0 1.107.897 2.005 2.006 2.005s2.006-.897 2.006-2.005V25.012c0-1.107-.897-2.006-2.006-2.006s-2.006.898-2.006 2.006z"/>\n          <path d="M63.766 59.234L33.856 3.082c-.697-1.308-2.844-1.308-3.54 0L.407 59.234c-.331.622-.312 1.372.051 1.975.362.605 1.015.975 1.72.975h59.816c.705 0 1.357-.369 1.721-.975.361-.603.381-1.353.051-1.975zM5.519 58.172L32.086 8.291l26.568 49.881H5.519z"/>\n        </svg>\n    '};var B=function(te){return te.Success="success",te.Error="error",te.Alert="alert",te.Info="info",te.Warn="warn",te.Bare="bare",te}(B||{});let j=(()=>{class te{globalOptions;constructor(K){this.globalOptions=K}emitter=new g.B;icons=x;set(K,de){return K.id=K.override&&K.override.id?K.override.id:Math.random().toString(36).substring(3),K.click=new a.bkB,K.clickIcon=new a.bkB,K.timeoutEnd=new a.bkB,this.emitter.next({command:"set",notification:K,add:de}),K}success(K="",de="",Me,me){return this.set({title:K,content:de||"",type:B.Success,icon:this.icons.success,override:Me,context:me},!0)}error(K="",de="",Me,me){return this.set({title:K,content:de||"",type:B.Error,icon:this.icons.error,override:Me,context:me},!0)}alert(K="",de="",Me,me){return this.set({title:K,content:de||"",type:B.Alert,icon:this.icons.alert,override:Me,context:me},!0)}info(K="",de="",Me,me){return this.set({title:K,content:de||"",type:B.Info,icon:this.icons.info,override:Me,context:me},!0)}warn(K="",de="",Me,me){return this.set({title:K,content:de||"",type:B.Warn,icon:this.icons.warn,override:Me,context:me},!0)}bare(K="",de="",Me,me){return this.set({title:K,content:de||"",type:B.Bare,icon:"bare",override:Me,context:me},!0)}create(K="",de="",Me=B.Success,me,be){return this.set({title:K,content:de,type:Me,icon:this.icons[Me],override:me,context:be},!0)}html(K,de=B.Success,Me,me="bare",be){return this.set({html:K,type:de,icon:this.icons[me],override:Me,context:be},!0)}remove(K){this.emitter.next(K?{command:"clean",id:K}:{command:"cleanAll"})}static \u0275fac=function(de){return new(de||te)(a.KVO("options"))};static \u0275prov=a.jDH({token:te,factory:te.\u0275fac})}return te})(),$=(()=>{class te{notificationService;domSanitizer;cd;zone;timeOut;showProgressBar;pauseOnHover;clickToClose;clickIconToClose;maxLength;theClass;rtl;animate;position;item;title;content;titleIsTemplate=!1;contentIsTemplate=!1;htmlIsTemplate=!1;progressWidth=0;safeSvg;safeInputHtml;stopTime=!1;timer;framesPerSecond=40;sleepTime;startTime;endTime;pauseStart;icon;constructor(K,de,Me,me){this.notificationService=K,this.domSanitizer=de,this.cd=Me,this.zone=me}ngOnInit(){this.item.override&&this.attachOverrides(),this.animate&&(this.item.state=this.animate),0!==this.timeOut&&this.startTimeOut(),this.contentType(this.item.title,"title"),this.contentType(this.item.content,"content"),this.contentType(this.item.html,"html"),this.safeSvg=this.domSanitizer.bypassSecurityTrustHtml(this.icon||this.item.icon),this.safeInputHtml=this.domSanitizer.bypassSecurityTrustHtml(this.item.html)}ngOnDestroy(){clearTimeout(this.timer),this.cd.detach()}startTimeOut(){this.sleepTime=1e3/this.framesPerSecond,this.startTime=(new Date).getTime(),this.endTime=this.startTime+this.timeOut,this.zone.runOutsideAngular(()=>this.timer=setTimeout(this.instance,this.sleepTime))}onEnter(){this.pauseOnHover&&(this.stopTime=!0,this.pauseStart=(new Date).getTime())}onLeave(){this.pauseOnHover&&(this.stopTime=!1,this.startTime+=(new Date).getTime()-this.pauseStart,this.endTime+=(new Date).getTime()-this.pauseStart,this.zone.runOutsideAngular(()=>setTimeout(this.instance,this.sleepTime)))}onClick(K){this.item.click.emit(K),this.clickToClose&&this.remove()}onClickIcon(K){this.item.clickIcon.emit(K),this.clickIconToClose&&this.remove()}attachOverrides(){Object.keys(this.item.override).forEach(K=>{this.hasOwnProperty(K)&&(this[K]=this.item.override[K])})}instance=()=>{const K=(new Date).getTime();this.endTime<K?(this.remove(),this.item.timeoutEnd.emit()):this.stopTime||(this.showProgressBar&&(this.progressWidth=Math.min(100*(K-this.startTime+this.sleepTime)/this.timeOut,100)),this.timer=setTimeout(this.instance,this.sleepTime)),this.zone.run(()=>{this.cd.destroyed||this.cd.detectChanges()})};remove(){this.animate?(this.item.state=this.animate+"Out",setTimeout(()=>{this.notificationService.set(this.item,!1)},310)):this.notificationService.set(this.item,!1)}contentType(K,de){this[de]=K instanceof a.C4Q?K:this.domSanitizer.bypassSecurityTrustHtml(K),this[de+"IsTemplate"]=K instanceof a.C4Q}static \u0275fac=function(de){return new(de||te)(a.rXU(j),a.rXU(m.up),a.rXU(a.gRc),a.rXU(a.SKi))};static \u0275cmp=a.VBU({type:te,selectors:[["simple-notification"]],inputs:{timeOut:"timeOut",showProgressBar:"showProgressBar",pauseOnHover:"pauseOnHover",clickToClose:"clickToClose",clickIconToClose:"clickIconToClose",maxLength:"maxLength",theClass:"theClass",rtl:"rtl",animate:"animate",position:"position",item:"item"},decls:4,vars:16,consts:[["regularTitle",""],["regularContent",""],["regularHtml",""],[1,"simple-notification",3,"click","mouseenter","mouseleave","ngClass"],[4,"ngIf"],["class","sn-progress-loader",4,"ngIf"],["class","sn-title",4,"ngIf","ngIfElse"],["class","sn-content",4,"ngIf","ngIfElse"],["class","icon",3,"innerHTML",4,"ngIf"],[1,"sn-title"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"sn-title",3,"innerHTML"],[1,"sn-content"],[1,"sn-content",3,"innerHTML"],[1,"icon",3,"innerHTML"],["class","sn-html",4,"ngIf","ngIfElse"],["class","icon",3,"icon-hover","innerHTML","click",4,"ngIf"],[1,"sn-html"],[1,"icon",3,"click","innerHTML"],[1,"sn-progress-loader"],[3,"ngStyle"]],template:function(de,Me){1&de&&(a.j41(0,"div",3),a.bIt("click",function(be){return Me.onClick(be)})("mouseenter",function(){return Me.onEnter()})("mouseleave",function(){return Me.onLeave()}),a.DNE(1,w,8,5,"div",4)(2,U,5,3,"div",4)(3,k,2,3,"div",5),a.k0s()),2&de&&(a.HbH(Me.theClass),a.Y8G("@enterLeave",Me.item.state)("ngClass",a.lV(7,O,"alert"===Me.item.type,"error"===Me.item.type,"warn"===Me.item.type,"success"===Me.item.type,"info"===Me.item.type,"bare"===Me.item.type,Me.rtl,"bare"!==Me.item.icon)),a.R7$(),a.Y8G("ngIf",!Me.item.html),a.R7$(),a.Y8G("ngIf",Me.item.html),a.R7$(),a.Y8G("ngIf",Me.showProgressBar))},dependencies:[T.YU,T.bT,T.T3,T.B3],styles:[".simple-notification{width:100%;padding:10px 20px;box-sizing:border-box;position:relative;float:left;margin-bottom:10px;color:#fff;cursor:pointer;transition:all .5s;min-height:70px}.simple-notification .sn-title,.simple-notification .sn-content,.simple-notification .sn-html{margin:0}.simple-notification .sn-title{line-height:30px;font-size:20px}.simple-notification .sn-content{font-size:16px;line-height:20px}.simple-notification.has-icon .sn-title,.simple-notification.has-icon .sn-content,.simple-notification.has-icon .sn-html{padding:0 50px 0 0}.simple-notification .icon{position:absolute;box-sizing:border-box;top:0;right:0;width:70px;height:70px;padding:10px}.simple-notification .icon.icon-hover:hover{opacity:.5}.simple-notification .icon svg{fill:#fff;width:100%;height:100%}.simple-notification .icon svg g{fill:#fff}.simple-notification.rtl-mode.has-icon .sn-title,.simple-notification.rtl-mode.has-icon .sn-content,.simple-notification.rtl-mode.has-icon .sn-html{padding:0 0 0 50px}.simple-notification.rtl-mode{direction:rtl}.simple-notification.rtl-mode .sn-content{padding:0 0 0 50px}.simple-notification.rtl-mode svg{left:0;right:auto}.simple-notification.error{background:#F44336}.simple-notification.success{background:#8BC34A}.simple-notification.alert{background:#ffdb5b}.simple-notification.info{background:#03A9F4}.simple-notification.warn{background:#ffdb5b}.simple-notification .sn-progress-loader{position:absolute;top:0;left:0;width:100%;height:5px}.simple-notification .sn-progress-loader span{float:left;height:100%}.simple-notification.success .sn-progress-loader span{background:#689F38}.simple-notification.error .sn-progress-loader span{background:#D32F2F}.simple-notification.alert .sn-progress-loader span{background:#edc242}.simple-notification.info .sn-progress-loader span{background:#0288D1}.simple-notification.warn .sn-progress-loader span{background:#edc242}.simple-notification.bare .sn-progress-loader span{background:#ccc}.simple-notification.warn div .sn-title,.simple-notification.warn div .sn-content,.simple-notification.warn div .sn-html{color:#444}\n"],encapsulation:2,data:{animation:[(0,n.hZ)("enterLeave",[(0,n.wk)("fade",(0,n.iF)({opacity:1})),(0,n.kY)("* => fade",[(0,n.iF)({opacity:0}),(0,n.i0)("400ms ease-in-out")]),(0,n.wk)("fadeOut",(0,n.iF)({opacity:0})),(0,n.kY)("fade => fadeOut",[(0,n.iF)({opacity:1}),(0,n.i0)("300ms ease-in-out")]),(0,n.wk)("fromTop",(0,n.iF)({opacity:1,transform:"translateY(0)"})),(0,n.kY)("* => fromTop",[(0,n.iF)({opacity:0,transform:"translateY(-5%)"}),(0,n.i0)("400ms ease-in-out")]),(0,n.wk)("fromTopOut",(0,n.iF)({opacity:0,transform:"translateY(5%)"})),(0,n.kY)("fromTop => fromTopOut",[(0,n.iF)({opacity:1,transform:"translateY(0)"}),(0,n.i0)("300ms ease-in-out")]),(0,n.wk)("fromRight",(0,n.iF)({opacity:1,transform:"translateX(0)"})),(0,n.kY)("* => fromRight",[(0,n.iF)({opacity:0,transform:"translateX(5%)"}),(0,n.i0)("400ms ease-in-out")]),(0,n.wk)("fromRightOut",(0,n.iF)({opacity:0,transform:"translateX(-5%)"})),(0,n.kY)("fromRight => fromRightOut",[(0,n.iF)({opacity:1,transform:"translateX(0)"}),(0,n.i0)("300ms ease-in-out")]),(0,n.wk)("fromBottom",(0,n.iF)({opacity:1,transform:"translateY(0)"})),(0,n.kY)("* => fromBottom",[(0,n.iF)({opacity:0,transform:"translateY(5%)"}),(0,n.i0)("400ms ease-in-out")]),(0,n.wk)("fromBottomOut",(0,n.iF)({opacity:0,transform:"translateY(-5%)"})),(0,n.kY)("fromBottom => fromBottomOut",[(0,n.iF)({opacity:1,transform:"translateY(0)"}),(0,n.i0)("300ms ease-in-out")]),(0,n.wk)("fromLeft",(0,n.iF)({opacity:1,transform:"translateX(0)"})),(0,n.kY)("* => fromLeft",[(0,n.iF)({opacity:0,transform:"translateX(-5%)"}),(0,n.i0)("400ms ease-in-out")]),(0,n.wk)("fromLeftOut",(0,n.iF)({opacity:0,transform:"translateX(5%)"})),(0,n.kY)("fromLeft => fromLeftOut",[(0,n.iF)({opacity:1,transform:"translateX(0)"}),(0,n.i0)("300ms ease-in-out")]),(0,n.wk)("scale",(0,n.iF)({opacity:1,transform:"scale(1)"})),(0,n.kY)("* => scale",[(0,n.iF)({opacity:0,transform:"scale(0)"}),(0,n.i0)("400ms ease-in-out")]),(0,n.wk)("scaleOut",(0,n.iF)({opacity:0,transform:"scale(0)"})),(0,n.kY)("scale => scaleOut",[(0,n.iF)({opacity:1,transform:"scale(1)"}),(0,n.i0)("400ms ease-in-out")]),(0,n.wk)("rotate",(0,n.iF)({opacity:1,transform:"rotate(0deg)"})),(0,n.kY)("* => rotate",[(0,n.iF)({opacity:0,transform:"rotate(5deg)"}),(0,n.i0)("400ms ease-in-out")]),(0,n.wk)("rotateOut",(0,n.iF)({opacity:0,transform:"rotate(-5deg)"})),(0,n.kY)("rotate => rotateOut",[(0,n.iF)({opacity:1,transform:"rotate(0deg)"}),(0,n.i0)("400ms ease-in-out")])])]},changeDetection:0})}return te})();var H=function(te){return te.Fade="fade",te.FromTop="fromTop",te.FromRight="fromRight",te.FromBottom="fromBottom",te.FromLeft="fromLeft",te.Scale="scale",te.Rotate="rotate",te}(H||{});let ie=(()=>{class te{service;cd;constructor(K,de){this.service=K,this.cd=de}set options(K){this.usingComponentOptions=!0,this.attachChanges(K)}create=new a.bkB;destroy=new a.bkB;notifications=[];position=["bottom","right"];lastNotificationCreated;listener;lastOnBottom=!0;maxStack=8;preventLastDuplicates=!1;preventDuplicates=!1;timeOut=0;maxLength=0;clickToClose=!0;clickIconToClose=!1;showProgressBar=!0;pauseOnHover=!0;theClass="";rtl=!1;animate=H.FromRight;usingComponentOptions=!1;ngOnInit(){this.usingComponentOptions||this.attachChanges(this.service.globalOptions),this.listener=this.service.emitter.subscribe(K=>{switch(K.command){case"cleanAll":this.notifications=[];break;case"clean":this.cleanSingle(K.id);break;case"set":K.add?this.add(K.notification):this.defaultBehavior(K);break;default:this.defaultBehavior(K)}this.cd.destroyed||this.cd.detectChanges()})}ngOnDestroy(){this.listener&&this.listener.unsubscribe(),this.cd.detach()}defaultBehavior(K){this.notifications.splice(this.notifications.indexOf(K.notification),1),this.destroy.emit(this.buildEmit(K.notification,!1))}add(K){K.createdOn=new Date;const de=!(!this.preventLastDuplicates&&!this.preventDuplicates)&&this.block(K);this.lastNotificationCreated=K,K.override&&K.override.icons&&K.override.icons[K.type]&&(K.icon=K.override.icons[K.type]),de||(this.lastOnBottom?(this.notifications.length>=this.maxStack&&this.notifications.splice(0,1),this.notifications.push(K)):(this.notifications.length>=this.maxStack&&this.notifications.splice(this.notifications.length-1,1),this.notifications.splice(0,0,K)),this.create.emit(this.buildEmit(K,!0)))}block(K){const de=K.html?this.checkHtml:this.checkStandard;if(this.preventDuplicates&&this.notifications.length>0)for(const Me of this.notifications)if(de(Me,K))return!0;if(this.preventLastDuplicates){let Me;if("visible"===this.preventLastDuplicates&&this.notifications.length>0)Me=this.lastOnBottom?this.notifications[this.notifications.length-1]:this.notifications[0];else{if("all"!==this.preventLastDuplicates||!this.lastNotificationCreated)return!1;Me=this.lastNotificationCreated}return de(Me,K)}return!1}checkStandard(K,de){return K.type===de.type&&K.title===de.title&&K.content===de.content}checkHtml(K,de){return!!K.html&&K.type===de.type&&K.title===de.title&&K.content===de.content&&K.html===de.html}attachChanges(K){for(const de in K)this.hasOwnProperty(de)?this[de]=K[de]:"icons"===de&&(this.service.icons=K[de])}buildEmit(K,de){const Me={createdOn:K.createdOn,type:K.type,icon:K.icon,id:K.id};return K.html?Me.html=K.html:(Me.title=K.title,Me.content=K.content),de||(Me.destroyedOn=new Date),Me}cleanSingle(K){let me,de=0,Me=!1;this.notifications.forEach((be,Le)=>{be.id===K&&(de=Le,me=be,Me=!0)}),Me&&(this.notifications.splice(de,1),this.destroy.emit(this.buildEmit(me,!1)))}static \u0275fac=function(de){return new(de||te)(a.rXU(j),a.rXU(a.gRc))};static \u0275cmp=a.VBU({type:te,selectors:[["simple-notifications"]],inputs:{options:"options"},outputs:{create:"create",destroy:"destroy"},decls:2,vars:2,consts:[[1,"simple-notification-wrapper",3,"ngClass"],[3,"item","timeOut","clickToClose","clickIconToClose","maxLength","showProgressBar","pauseOnHover","theClass","rtl","animate","position",4,"ngFor","ngForOf"],[3,"item","timeOut","clickToClose","clickIconToClose","maxLength","showProgressBar","pauseOnHover","theClass","rtl","animate","position"]],template:function(de,Me){1&de&&(a.j41(0,"div",0),a.DNE(1,Y,1,11,"simple-notification",1),a.k0s()),2&de&&(a.Y8G("ngClass",Me.position),a.R7$(),a.Y8G("ngForOf",Me.notifications))},dependencies:[T.YU,T.Sq,$],styles:[".simple-notification-wrapper{position:fixed;width:300px;z-index:1000}.simple-notification-wrapper.left{left:20px}.simple-notification-wrapper.top{top:20px}.simple-notification-wrapper.right{right:20px}.simple-notification-wrapper.bottom{bottom:20px}.simple-notification-wrapper.center{left:50%;transform:translate(-50%)}.simple-notification-wrapper.middle{top:50%;transform:translateY(-50%)}.simple-notification-wrapper.middle.center{transform:translate(-50%,-50%)}@media (max-width: 340px){.simple-notification-wrapper{width:auto;left:20px;right:20px}}\n"],encapsulation:2,changeDetection:0})}return te})();const ne={position:["bottom","right"],timeOut:0,showProgressBar:!0,pauseOnHover:!0,lastOnBottom:!0,clickToClose:!0,clickIconToClose:!1,maxLength:0,maxStack:8,preventDuplicates:!1,preventLastDuplicates:!1,theClass:"",rtl:!1,animate:H.FromRight,icons:x},Q=new a.nKC("options");function le(te){return{...ne,...te}}let pe=(()=>{class te{static forRoot(K={}){return{ngModule:te,providers:[j,{provide:Q,useValue:K},{provide:"options",useFactory:le,deps:[Q]}]}}static \u0275fac=function(de){return new(de||te)};static \u0275mod=a.$C({type:te});static \u0275inj=a.G2t({imports:[T.MD]})}return te})()},29771:(at,N,s)=>{"use strict";s.d(N,{fL:()=>b,o3:()=>z,xQ:()=>I});const n=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),a=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),g=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),m=/[^\p{L}\d]+/giu,T="$1\0$2",O="";function D($){let H=$.trim();H=H.replace(n,T).replace(a,T),H=H.replace(m,"\0");let ie=0,ne=H.length;for(;"\0"===H.charAt(ie);)ie++;if(ie===ne)return[];for(;"\0"===H.charAt(ne-1);)ne--;return H.slice(ie,ne).split(/\0/g)}function E($){const H=D($);for(let ie=0;ie<H.length;ie++){const ne=H[ie],Q=g.exec(ne);if(Q){const le=Q.index+(Q[1]??Q[2]).length;H.splice(ie,1,ne.slice(0,le),ne.slice(le))}}return H}function I($,H){const[ie,ne,Q]=j($,H),le=k(H?.locale),pe=Y(H?.locale),te=H?.mergeAmbiguousCharacters?x(le,pe):B(le,pe);return ie+ne.map((ae,K)=>0===K?le(ae):te(ae,K)).join(H?.delimiter??"")+Q}function b($,H){const[ie,ne,Q]=j($,H),le=k(H?.locale),pe=Y(H?.locale),te=H?.mergeAmbiguousCharacters?x(le,pe):B(le,pe);return ie+ne.map(te).join(H?.delimiter??"")+Q}function z($,H){const[ie,ne,Q]=j($,H),le=k(H?.locale),pe=Y(H?.locale),te=x(le,pe);return ie+ne.map((ae,K)=>0===K?te(ae):le(ae)).join(H?.delimiter??" ")+Q}function k($){return!1===$?H=>H.toLowerCase():H=>H.toLocaleLowerCase($)}function Y($){return!1===$?H=>H.toUpperCase():H=>H.toLocaleUpperCase($)}function x($,H){return ie=>`${H(ie[0])}${$(ie.slice(1))}`}function B($,H){return(ie,ne)=>{const Q=ie[0];return(ne>0&&Q>="0"&&Q<="9"?"_"+Q:H(Q))+$(ie.slice(1))}}function j($,H={}){const ie=H.split??(H.separateNumbers?E:D),ne=H.prefixCharacters??O,Q=H.suffixCharacters??O;let le=0,pe=$.length;for(;le<$.length;){const te=$.charAt(le);if(!ne.includes(te))break;le++}for(;pe>le;){const te=pe-1,ae=$.charAt(te);if(!Q.includes(ae))break;pe=te}return[$.slice(0,le),ie($.slice(le,pe)),$.slice(pe)]}},26708:(at,N,s)=>{"use strict";var n;s.d(N,{Am:()=>M,d0:()=>q,g$:()=>w});var a=s(93953),g=s(21413),m=s(18359),T=s(5964),O=s(96354),D=s(83712);class E{constructor(k,Y,x){this.name=k,this.drake=Y,this.options=x,this.initEvents=!1}}var y=function(U){return U.Cancel="cancel",U.Cloned="cloned",U.Drag="drag",U.DragEnd="dragend",U.Drop="drop",U.Out="out",U.Over="over",U.Remove="remove",U.Shadow="shadow",U.DropModel="dropModel",U.RemoveModel="removeModel",U}(y||{});const I=Object.keys(y).map(U=>y[U]),b=D||n||(n=s.t(D,2));class L{constructor(k=b){this.build=k}}const o=(U,k,Y)=>x=>x.pipe((0,T.p)(({event:B,name:j})=>B===U&&(void 0===k||j===k)),(0,O.T)(({name:B,args:j})=>Y(B,j))),C=(U,[k,Y,x])=>({name:U,el:k,container:Y,source:x});let w=(()=>{class U{constructor(Y){this.drakeFactory=Y,this.groups={},this.dispatch$=new g.B,this.elContainerSource=x=>B=>this.dispatch$.pipe(o(x,B,C)),this.cancel=this.elContainerSource(y.Cancel),this.remove=this.elContainerSource(y.Remove),this.shadow=this.elContainerSource(y.Shadow),this.over=this.elContainerSource(y.Over),this.out=this.elContainerSource(y.Out),this.drag=x=>this.dispatch$.pipe(o(y.Drag,x,(B,[j,$])=>({name:B,el:j,source:$}))),this.dragend=x=>this.dispatch$.pipe(o(y.DragEnd,x,(B,[j])=>({name:B,el:j}))),this.drop=x=>this.dispatch$.pipe(o(y.Drop,x,(B,[j,$,H,ie])=>({name:B,el:j,target:$,source:H,sibling:ie}))),this.cloned=x=>this.dispatch$.pipe(o(y.Cloned,x,(B,[j,$,H])=>({name:B,clone:j,original:$,cloneType:H}))),this.dropModel=x=>this.dispatch$.pipe(o(y.DropModel,x,(B,[j,$,H,ie,ne,Q,le,pe,te])=>({name:B,el:j,target:$,source:H,sibling:ie,item:ne,sourceModel:Q,targetModel:le,sourceIndex:pe,targetIndex:te}))),this.removeModel=x=>this.dispatch$.pipe(o(y.RemoveModel,x,(B,[j,$,H,ie,ne,Q])=>({name:B,el:j,container:$,source:H,item:ie,sourceModel:ne,sourceIndex:Q}))),null==this.drakeFactory&&(this.drakeFactory=new L)}add(Y){if(this.find(Y.name))throw new Error('Group named: "'+Y.name+'" already exists.');return this.groups[Y.name]=Y,this.handleModels(Y),this.setupEvents(Y),Y}find(Y){return this.groups[Y]}destroy(Y){const x=this.find(Y);x&&(x.drake&&x.drake.destroy(),delete this.groups[Y])}createGroup(Y,x){return this.add(new E(Y,this.drakeFactory.build([],x),x))}handleModels({name:Y,drake:x,options:B}){let j,$,H;x.on("remove",(ie,ne,Q)=>{if(!x.models)return;let le=x.models[x.containers.indexOf(Q)];le=le.slice(0);const pe=le.splice($,1)[0];this.dispatch$.next({event:y.RemoveModel,name:Y,args:[ie,ne,Q,pe,le,$]})}),x.on("drag",(ie,ne)=>{x.models&&(j=ie,$=this.domIndexOf(ie,ne))}),x.on("drop",(ie,ne,Q,le)=>{if(!x.models||!ne)return;H=this.domIndexOf(ie,ne);let ae,pe=x.models[x.containers.indexOf(Q)],te=x.models[x.containers.indexOf(ne)];if(ne===Q)pe=pe.slice(0),ae=pe.splice($,1)[0],pe.splice(H,0,ae),te=pe;else{const K=j!==ie;if(ae=pe[$],K){if(!B.copyItem)throw new Error("If you have enabled `copy` on a group, you must provide a `copyItem` function.");ae=B.copyItem(ae)}if(K||(pe=pe.slice(0),pe.splice($,1)),te=te.slice(0),te.splice(H,0,ae),K)try{ne.removeChild(ie)}catch{}}this.dispatch$.next({event:y.DropModel,name:Y,args:[ie,ne,Q,le,ae,pe,te,$,H]})})}setupEvents(Y){if(Y.initEvents)return;Y.initEvents=!0;const x=Y.name;I.forEach($=>{switch($){case y.Drag:case y.Drop:case y.DragEnd:case y.Cancel:case y.Remove:case y.Shadow:case y.Over:case y.Out:case y.Cloned:case y.DropModel:case y.RemoveModel:Y.drake.on($,(...H)=>{this.dispatch$.next({event:$,name:x,args:H})})}})}domIndexOf(Y,x){if(x)return Array.prototype.indexOf.call(x.children,Y)}static#e=this.\u0275fac=function(x){return new(x||U)(a.KVO(L,8))};static#t=this.\u0275prov=a.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})(),M=(()=>{class U{get container(){return this.el&&this.el.nativeElement}constructor(Y,x){this.el=Y,this.dragulaService=x,this.dragulaModelChange=new a.bkB}ngOnChanges(Y){if(Y&&Y.dragula){const{previousValue:x,currentValue:B}=Y.dragula,H=!!B;!!x&&this.teardown(x),H&&this.setup()}else if(Y&&Y.dragulaModel){const{previousValue:x,currentValue:B}=Y.dragulaModel,$=this.group?.drake;if(this.dragula&&$){$.models=$.models||[];const H=$.models.indexOf(x);-1!==H?($.models.splice(H,1),B&&$.models.splice(H,0,B)):B&&$.models.push(B)}}}setup(){if(!this.dragula)return;let x=this.dragulaService.find(this.dragula);x||(x=this.dragulaService.createGroup(this.dragula,{})),(B=>{this.dragulaModel&&(B.drake?.models?B.drake?.models?.push(this.dragulaModel):B.drake&&(B.drake.models=[this.dragulaModel]))})(x),x.drake?.containers.push(this.container),this.subscribe(this.dragula),this.group=x}subscribe(Y){this.subs=new m.yU,this.subs.add(this.dragulaService.dropModel(Y).subscribe(({source:x,target:B,sourceModel:j,targetModel:$})=>{x===this.el.nativeElement?this.dragulaModelChange.emit(j):B===this.el.nativeElement&&this.dragulaModelChange.emit($)})),this.subs.add(this.dragulaService.removeModel(Y).subscribe(({source:x,sourceModel:B})=>{x===this.el.nativeElement&&this.dragulaModelChange.emit(B)}))}teardown(Y){this.subs&&this.subs.unsubscribe();const x=this.dragulaService.find(Y);if(x){const B=x.drake?.containers.indexOf(this.el.nativeElement);if(-1!==B&&x.drake?.containers.splice(B,1),this.dragulaModel&&x.drake&&x.drake.models){const j=x.drake.models.indexOf(this.dragulaModel);-1!==j&&x.drake.models.splice(j,1)}}}ngOnDestroy(){this.dragula&&this.teardown(this.dragula)}static#e=this.\u0275fac=function(x){return new(x||U)(a.rXU(a.aKT),a.rXU(w))};static#t=this.\u0275dir=a.FsC({type:U,selectors:[["","dragula",""]],inputs:{dragula:"dragula",dragulaModel:"dragulaModel"},outputs:{dragulaModelChange:"dragulaModelChange"},features:[a.OA$]})}return U})(),q=(()=>{class U{static forRoot(){return{ngModule:U,providers:[w]}}static#e=this.\u0275fac=function(x){return new(x||U)};static#t=this.\u0275mod=a.$C({type:U});static#n=this.\u0275inj=a.G2t({providers:[w]})}return U})();new L((U,k)=>new F(U,k));class F{constructor(k=[],Y={},x){this.containers=k,this.options=Y,this.models=x,this.emitter$=new g.B,this.subs=new m.yU,this.dragging=!1}on(k,Y){this.subs.add(this.emitter$.pipe((0,T.p)(({eventType:x})=>x===k)).subscribe(({eventType:x,args:B})=>{if(x!==y.Drag)if(x!==y.Drop)if(x!==y.Remove)Y(B);else{const j=Array.from(B);Y(j[0],j[1],j[2])}else{const j=Array.from(B);Y(j[0],j[1],j[2],j[3])}else{const j=Array.from(B);Y(j[0],j[1])}}))}start(k){this.dragging=!0}end(){this.dragging=!1}cancel(k){this.dragging=!1}canMove(k){return!!this.options.accepts&&this.options.accepts(k)}remove(){this.dragging=!1}destroy(){this.subs.unsubscribe()}emit(k,...Y){this.emitter$.next({eventType:k,args:Y})}}},49689:(at,N,s)=>{"use strict";s.d(N,{c6:()=>Hm,Lk:()=>Om});var n={};s.r(n),s.d(n,{AbortException:()=>Z1,AnnotationEditorLayer:()=>el,AnnotationEditorParamsType:()=>wl,AnnotationEditorType:()=>Oa,AnnotationEditorUIManager:()=>j0,AnnotationLayer:()=>ec,AnnotationMode:()=>Zn,CMapCompressionType:()=>s1,ColorPicker:()=>$l,DOMSVGFactory:()=>X0,DrawLayer:()=>dr,FeatureTest:()=>Nl,GlobalWorkerOptions:()=>u1,ImageKind:()=>Fr,InvalidPDFException:()=>a0,MissingPDFException:()=>Ru,OPS:()=>Uc,PDFDataRangeTransport:()=>f0,PDFDateString:()=>qr,PDFWorker:()=>tc,PasswordResponses:()=>D1,PermissionFlag:()=>Gc,PixelsPerInch:()=>P1,RenderingCancelledException:()=>xl,TextLayer:()=>mc,UnexpectedResponseException:()=>nc,Util:()=>o1,VerbosityLevel:()=>yl,XfaLayer:()=>_c,build:()=>l0,createValidAbsoluteUrl:()=>qc,fetchData:()=>cu,getDocument:()=>T0,getFilenameFromUrl:()=>Js,getPdfFilenameFromUrl:()=>Vl,getXfaPageViewport:()=>ot,isDataScheme:()=>wt,isPdfFile:()=>ct,noContextMenu:()=>Nt,normalizeUnicode:()=>pn,setLayerDimensions:()=>Vn,shadow:()=>je,version:()=>Kn});var a={};s.r(a),s.d(a,{AnnotationLayerBuilder:()=>_d,DownloadManager:()=>gd,EventBus:()=>mh,FindState:()=>Id,GenericL10n:()=>_h,LinkTarget:()=>bd,PDFFindController:()=>qp,PDFHistory:()=>qh,PDFLinkService:()=>su,PDFPageView:()=>Zu,PDFScriptingManager:()=>bm,PDFSinglePageViewer:()=>ku,PDFViewer:()=>gh,ProgressBar:()=>vp,RenderingStates:()=>bh,ScrollMode:()=>Mc,SimpleLinkService:()=>$m,SpreadMode:()=>Zd,StructTreeLayerBuilder:()=>Mh,TextLayerBuilder:()=>Zo,XfaLayerBuilder:()=>as,parseQueryString:()=>Mf});var g=s(93953),m=s(33726),T=s(21413),O=s(22806),D=s(56977),E=s(70152),y=s(5964),I=s(10467),b={d:(qe,d)=>{for(var f in d)b.o(d,f)&&!b.o(qe,f)&&Object.defineProperty(qe,f,{enumerable:!0,get:d[f]})},o:(qe,d)=>Object.prototype.hasOwnProperty.call(qe,d)},L=globalThis.pdfjsLib={};b.d(L,{AbortException:()=>Ne,AnnotationEditorLayer:()=>j1,AnnotationEditorParamsType:()=>B,AnnotationEditorType:()=>x,AnnotationEditorUIManager:()=>fe,AnnotationLayer:()=>Rs,AnnotationMode:()=>k,CMapCompressionType:()=>Me,ColorPicker:()=>Ja,DOMSVGFactory:()=>pt,DrawLayer:()=>ii,FeatureTest:()=>Kt,GlobalWorkerOptions:()=>gr,ImageKind:()=>H,InvalidPDFException:()=>gt,MissingPDFException:()=>Ge,OPS:()=>me,PDFDataRangeTransport:()=>Io,PDFDateString:()=>ei,PDFWorker:()=>Ut,PasswordResponses:()=>be,PermissionFlag:()=>j,PixelsPerInch:()=>ln,RenderingCancelledException:()=>Tn,TextLayer:()=>ur,UnexpectedResponseException:()=>Se,Util:()=>wn,VerbosityLevel:()=>de,XfaLayer:()=>pl,build:()=>R0,createValidAbsoluteUrl:()=>Ye,fetchData:()=>os,getDocument:()=>Pr,getFilenameFromUrl:()=>$i,getPdfFilenameFromUrl:()=>Nn,getXfaPageViewport:()=>Hi,isDataScheme:()=>vi,isPdfFile:()=>ui,noContextMenu:()=>ri,normalizeUnicode:()=>Wt,setLayerDimensions:()=>mi,shadow:()=>Ct,version:()=>Y0});const o=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),C=[1,0,0,1,0,0],w=[.001,0,0,.001,0,0],q=1.35,k={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},x={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15},B={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_DEFAULT_COLOR:32,HIGHLIGHT_THICKNESS:33,HIGHLIGHT_FREE:34,HIGHLIGHT_SHOW_ALL:35},j={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},H={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},de={ERRORS:0,WARNINGS:1,INFOS:5},Me={NONE:0,BINARY:1},me={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93},be={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let Le=de.WARNINGS;function Oe(){return Le}function Xe(qe){Le>=de.INFOS&&console.log(`Info: ${qe}`)}function Pe(qe){Le>=de.WARNINGS&&console.log(`Warning: ${qe}`)}function $e(qe){throw new Error(qe)}function ze(qe,d){qe||$e(d)}function Ye(qe,d=null,f=null){if(!qe)return null;try{if(f&&"string"==typeof qe&&(f.addDefaultProtocol&&qe.startsWith("www.")&&qe.match(/\./g)?.length>=2&&(qe=`http://${qe}`),f.tryConvertEncoding))try{qe=function jn(qe){return decodeURIComponent(escape(qe))}(qe)}catch{}const R=d?new URL(qe,d):new URL(qe);if(function Be(qe){switch(qe?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(R))return R}catch{}return null}function Ct(qe,d,f,R=!1){return Object.defineProperty(qe,d,{value:f,enumerable:!R,configurable:!0,writable:!1}),f}const Lt=function(){function d(f,R){this.message=f,this.name=R}return d.prototype=new Error,d.constructor=d,d}();class Vt extends Lt{constructor(d,f){super(d,"PasswordException"),this.code=f}}class ht extends Lt{constructor(d,f){super(d,"UnknownErrorException"),this.details=f}}class gt extends Lt{constructor(d){super(d,"InvalidPDFException")}}class Ge extends Lt{constructor(d){super(d,"MissingPDFException")}}class Se extends Lt{constructor(d,f){super(d,"UnexpectedResponseException"),this.status=f}}class ke extends Lt{constructor(d){super(d,"FormatError")}}class Ne extends Lt{constructor(d){super(d,"AbortException")}}function Je(qe){("object"!=typeof qe||void 0===qe?.length)&&$e("Invalid argument for bytesToString");const d=qe.length,f=8192;if(d<f)return String.fromCharCode.apply(null,qe);const R=[];for(let J=0;J<d;J+=f){const re=Math.min(J+f,d),ve=qe.subarray(J,re);R.push(String.fromCharCode.apply(null,ve))}return R.join("")}function Qe(qe){"string"!=typeof qe&&$e("Invalid argument for stringToBytes");const d=qe.length,f=new Uint8Array(d);for(let R=0;R<d;++R)f[R]=255&qe.charCodeAt(R);return f}function Xt(qe){const d=Object.create(null);for(const[f,R]of qe)d[f]=R;return d}class Kt{static get isLittleEndian(){return Ct(this,"isLittleEndian",function It(){const qe=new Uint8Array(4);return qe[0]=1,1===new Uint32Array(qe.buffer,0,1)[0]}())}static get isEvalSupported(){return Ct(this,"isEvalSupported",function In(){try{return new Function(""),!0}catch{return!1}}())}static get isOffscreenCanvasSupported(){return Ct(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}static get platform(){return typeof navigator<"u"&&"string"==typeof navigator?.platform?Ct(this,"platform",{isMac:navigator.platform.includes("Mac")}):Ct(this,"platform",{isMac:!1})}static get isCSSRoundSupported(){return Ct(this,"isCSSRoundSupported",globalThis.CSS?.supports?.("width: round(1.5px, 1px)"))}}const Ze=Array.from(Array(256).keys(),qe=>qe.toString(16).padStart(2,"0"));class wn{static makeHexColor(d,f,R){return`#${Ze[d]}${Ze[f]}${Ze[R]}`}static scaleMinMax(d,f){let R;d[0]?(d[0]<0&&(R=f[0],f[0]=f[2],f[2]=R),f[0]*=d[0],f[2]*=d[0],d[3]<0&&(R=f[1],f[1]=f[3],f[3]=R),f[1]*=d[3],f[3]*=d[3]):(R=f[0],f[0]=f[1],f[1]=R,R=f[2],f[2]=f[3],f[3]=R,d[1]<0&&(R=f[1],f[1]=f[3],f[3]=R),f[1]*=d[1],f[3]*=d[1],d[2]<0&&(R=f[0],f[0]=f[2],f[2]=R),f[0]*=d[2],f[2]*=d[2]),f[0]+=d[4],f[1]+=d[5],f[2]+=d[4],f[3]+=d[5]}static transform(d,f){return[d[0]*f[0]+d[2]*f[1],d[1]*f[0]+d[3]*f[1],d[0]*f[2]+d[2]*f[3],d[1]*f[2]+d[3]*f[3],d[0]*f[4]+d[2]*f[5]+d[4],d[1]*f[4]+d[3]*f[5]+d[5]]}static applyTransform(d,f){return[d[0]*f[0]+d[1]*f[2]+f[4],d[0]*f[1]+d[1]*f[3]+f[5]]}static applyInverseTransform(d,f){const R=f[0]*f[3]-f[1]*f[2];return[(d[0]*f[3]-d[1]*f[2]+f[2]*f[5]-f[4]*f[3])/R,(-d[0]*f[1]+d[1]*f[0]+f[4]*f[1]-f[5]*f[0])/R]}static getAxialAlignedBoundingBox(d,f){const R=this.applyTransform(d,f),J=this.applyTransform(d.slice(2,4),f),re=this.applyTransform([d[0],d[3]],f),ve=this.applyTransform([d[2],d[1]],f);return[Math.min(R[0],J[0],re[0],ve[0]),Math.min(R[1],J[1],re[1],ve[1]),Math.max(R[0],J[0],re[0],ve[0]),Math.max(R[1],J[1],re[1],ve[1])]}static inverseTransform(d){const f=d[0]*d[3]-d[1]*d[2];return[d[3]/f,-d[1]/f,-d[2]/f,d[0]/f,(d[2]*d[5]-d[4]*d[3])/f,(d[4]*d[1]-d[5]*d[0])/f]}static singularValueDecompose2dScale(d){const f=[d[0],d[2],d[1],d[3]],R=d[0]*f[0]+d[1]*f[2],ve=d[2]*f[1]+d[3]*f[3],Ie=(R+ve)/2,Fe=Math.sqrt((R+ve)**2-4*(R*ve-(d[2]*f[0]+d[3]*f[2])*(d[0]*f[1]+d[1]*f[3])))/2,zt=Ie-Fe||1;return[Math.sqrt(Ie+Fe||1),Math.sqrt(zt)]}static normalizeRect(d){const f=d.slice(0);return d[0]>d[2]&&(f[0]=d[2],f[2]=d[0]),d[1]>d[3]&&(f[1]=d[3],f[3]=d[1]),f}static intersect(d,f){const R=Math.max(Math.min(d[0],d[2]),Math.min(f[0],f[2])),J=Math.min(Math.max(d[0],d[2]),Math.max(f[0],f[2]));if(R>J)return null;const re=Math.max(Math.min(d[1],d[3]),Math.min(f[1],f[3])),ve=Math.min(Math.max(d[1],d[3]),Math.max(f[1],f[3]));return re>ve?null:[R,re,J,ve]}static#e(d,f,R,J,re,ve,Ie,Fe,St,zt){if(St<=0||St>=1)return;const Ht=1-St,bn=St*St,xn=bn*St,Zt=Ht*(Ht*(Ht*d+3*St*f)+3*bn*R)+xn*J,Mi=Ht*(Ht*(Ht*re+3*St*ve)+3*bn*Ie)+xn*Fe;zt[0]=Math.min(zt[0],Zt),zt[1]=Math.min(zt[1],Mi),zt[2]=Math.max(zt[2],Zt),zt[3]=Math.max(zt[3],Mi)}static#t(d,f,R,J,re,ve,Ie,Fe,St,zt,Ht,bn){if(Math.abs(St)<1e-12)return void(Math.abs(zt)>=1e-12&&this.#e(d,f,R,J,re,ve,Ie,Fe,-Ht/zt,bn));const xn=zt**2-4*Ht*St;if(xn<0)return;const Zt=Math.sqrt(xn),Mi=2*St;this.#e(d,f,R,J,re,ve,Ie,Fe,(-zt+Zt)/Mi,bn),this.#e(d,f,R,J,re,ve,Ie,Fe,(-zt-Zt)/Mi,bn)}static bezierBoundingBox(d,f,R,J,re,ve,Ie,Fe,St){return St?(St[0]=Math.min(St[0],d,Ie),St[1]=Math.min(St[1],f,Fe),St[2]=Math.max(St[2],d,Ie),St[3]=Math.max(St[3],f,Fe)):St=[Math.min(d,Ie),Math.min(f,Fe),Math.max(d,Ie),Math.max(f,Fe)],this.#t(d,R,re,Ie,f,J,ve,Fe,3*(3*(R-re)-d+Ie),6*(d-2*R+re),3*(R-d),St),this.#t(d,R,re,Ie,f,J,ve,Fe,3*(3*(J-ve)-f+Fe),6*(f-2*J+ve),3*(J-f),St),St}}let Rn=null,Qt=null;function Wt(qe){return Rn||(Rn=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,Qt=new Map([["\ufb05","\u017ft"]])),qe.replaceAll(Rn,(d,f,R)=>f?f.normalize("NFKC"):Qt.get(R))}const Mn="pdfjs_internal_id_";class Ue{addFilter(d){return"none"}addHCMFilter(d,f){return"none"}addAlphaFilter(d){return"none"}addLuminosityFilter(d){return"none"}addHighlightHCMFilter(d,f,R,J,re){return"none"}destroy(d=!1){}}class Un{#e=!1;constructor({enableHWA:d=!1}={}){this.#e=d}create(d,f){if(d<=0||f<=0)throw new Error("Invalid canvas size");const R=this._createCanvas(d,f);return{canvas:R,context:R.getContext("2d",{willReadFrequently:!this.#e})}}reset(d,f,R){if(!d.canvas)throw new Error("Canvas is not specified");if(f<=0||R<=0)throw new Error("Invalid canvas size");d.canvas.width=f,d.canvas.height=R}destroy(d){if(!d.canvas)throw new Error("Canvas is not specified");d.canvas.width=0,d.canvas.height=0,d.canvas=null,d.context=null}_createCanvas(d,f){$e("Abstract method `_createCanvas` called.")}}class _n{constructor({baseUrl:d=null,isCompressed:f=!0}){this.baseUrl=d,this.isCompressed=f}fetch({name:d}){var f=this;return(0,I.A)(function*(){if(!f.baseUrl)throw new Error("Ensure that the `cMapUrl` and `cMapPacked` API parameters are provided.");if(!d)throw new Error("CMap name must be specified.");const R=f.baseUrl+d+(f.isCompressed?".bcmap":"");return f._fetchData(R,f.isCompressed?Me.BINARY:Me.NONE).catch(re=>{throw new Error(`Unable to load ${f.isCompressed?"binary ":""}CMap at: ${R}`)})})()}_fetchData(d,f){$e("Abstract method `_fetchData` called.")}}class Xn{constructor({baseUrl:d=null}){this.baseUrl=d}fetch({filename:d}){var f=this;return(0,I.A)(function*(){if(!f.baseUrl)throw new Error("Ensure that the `standardFontDataUrl` API parameter is provided.");if(!d)throw new Error("Font filename must be specified.");const R=`${f.baseUrl}${d}`;return f._fetchData(R).catch(J=>{throw new Error(`Unable to load font data at: ${R}`)})})()}_fetchData(d){$e("Abstract method `_fetchData` called.")}}class Ii{create(d,f,R=!1){if(d<=0||f<=0)throw new Error("Invalid SVG dimensions");const J=this._createSVG("svg:svg");return J.setAttribute("version","1.1"),R||(J.setAttribute("width",`${d}px`),J.setAttribute("height",`${f}px`)),J.setAttribute("preserveAspectRatio","none"),J.setAttribute("viewBox",`0 0 ${d} ${f}`),J}createElement(d){if("string"!=typeof d)throw new Error("Invalid SVG element type");return this._createSVG(d)}_createSVG(d){$e("Abstract method `_createSVG` called.")}}const En="http://www.w3.org/2000/svg";class ln{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF}function os(qe){return Fs.apply(this,arguments)}function Fs(){return(Fs=(0,I.A)(function*(qe,d="text"){if(Qn(qe,document.baseURI)){const f=yield fetch(qe);if(!f.ok)throw new Error(f.statusText);switch(d){case"arraybuffer":return f.arrayBuffer();case"blob":return f.blob();case"json":return f.json()}return f.text()}return new Promise((f,R)=>{const J=new XMLHttpRequest;J.open("GET",qe,!0),J.responseType=d,J.onreadystatechange=()=>{if(J.readyState===XMLHttpRequest.DONE){if(200===J.status||0===J.status){switch(d){case"arraybuffer":case"blob":case"json":return void f(J.response)}return void f(J.responseText)}R(new Error(J.statusText))}},J.send(null)})})).apply(this,arguments)}class sn extends _n{_fetchData(d,f){return os(d,this.isCompressed?"arraybuffer":"text").then(R=>({cMapData:R instanceof ArrayBuffer?new Uint8Array(R):Qe(R),compressionType:f}))}}class oi extends Xn{_fetchData(d){return os(d,"arraybuffer").then(f=>new Uint8Array(f))}}class pt extends Ii{_createSVG(d){return document.createElementNS(En,d)}}class cn{constructor({viewBox:d,scale:f,rotation:R,offsetX:J=0,offsetY:re=0,dontFlip:ve=!1}){this.viewBox=d,this.scale=f,this.rotation=R,this.offsetX=J,this.offsetY=re;const Ie=(d[2]+d[0])/2,Fe=(d[3]+d[1])/2;let St,zt,Ht,bn,xn,Zt,Mi,Ki;switch((R%=360)<0&&(R+=360),R){case 180:St=-1,zt=0,Ht=0,bn=1;break;case 90:St=0,zt=1,Ht=1,bn=0;break;case 270:St=0,zt=-1,Ht=-1,bn=0;break;case 0:St=1,zt=0,Ht=0,bn=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}ve&&(Ht=-Ht,bn=-bn),0===St?(xn=Math.abs(Fe-d[1])*f+J,Zt=Math.abs(Ie-d[0])*f+re,Mi=(d[3]-d[1])*f,Ki=(d[2]-d[0])*f):(xn=Math.abs(Ie-d[0])*f+J,Zt=Math.abs(Fe-d[1])*f+re,Mi=(d[2]-d[0])*f,Ki=(d[3]-d[1])*f),this.transform=[St*f,zt*f,Ht*f,bn*f,xn-St*f*Ie-Ht*f*Fe,Zt-zt*f*Ie-bn*f*Fe],this.width=Mi,this.height=Ki}get rawDims(){const{viewBox:d}=this;return Ct(this,"rawDims",{pageWidth:d[2]-d[0],pageHeight:d[3]-d[1],pageX:d[0],pageY:d[1]})}clone({scale:d=this.scale,rotation:f=this.rotation,offsetX:R=this.offsetX,offsetY:J=this.offsetY,dontFlip:re=!1}={}){return new cn({viewBox:this.viewBox.slice(),scale:d,rotation:f,offsetX:R,offsetY:J,dontFlip:re})}convertToViewportPoint(d,f){return wn.applyTransform([d,f],this.transform)}convertToViewportRectangle(d){const f=wn.applyTransform([d[0],d[1]],this.transform),R=wn.applyTransform([d[2],d[3]],this.transform);return[f[0],f[1],R[0],R[1]]}convertToPdfPoint(d,f){return wn.applyInverseTransform([d,f],this.transform)}}class Tn extends Lt{constructor(d,f=0){super(d,"RenderingCancelledException"),this.extraDelay=f}}function vi(qe){const d=qe.length;let f=0;for(;f<d&&""===qe[f].trim();)f++;return"data:"===qe.substring(f,f+5).toLowerCase()}function ui(qe){return"string"==typeof qe&&/\.pdf$/i.test(qe)}function $i(qe){return[qe]=qe.split(/[#?]/,1),qe.substring(qe.lastIndexOf("/")+1)}function Nn(qe,d="document.pdf"){if("string"!=typeof qe)return d;if(vi(qe))return Pe('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),d;const R=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,J=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(qe);let re=R.exec(J[1])||R.exec(J[2])||R.exec(J[3]);if(re&&(re=re[0],re.includes("%")))try{re=R.exec(decodeURIComponent(re))[0]}catch{}return re||d}class Hn{started=Object.create(null);times=[];time(d){d in this.started&&Pe(`Timer is already running for ${d}`),this.started[d]=Date.now()}timeEnd(d){d in this.started||Pe(`Timer has not been started for ${d}`),this.times.push({name:d,start:this.started[d],end:Date.now()}),delete this.started[d]}toString(){const d=[];let f=0;for(const{name:R}of this.times)f=Math.max(R.length,f);for(const{name:R,start:J,end:re}of this.times)d.push(`${R.padEnd(f)} ${re-J}ms\n`);return d.join("")}}function Qn(qe,d){try{const{protocol:f}=d?new URL(qe,d):new URL(qe);return"http:"===f||"https:"===f}catch{return!1}}function ri(qe){qe.preventDefault()}let Fi;class ei{static toDateObject(d){if(!d||"string"!=typeof d)return null;Fi||=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?");const f=Fi.exec(d);if(!f)return null;const R=parseInt(f[1],10);let J=parseInt(f[2],10);J=J>=1&&J<=12?J-1:0;let re=parseInt(f[3],10);re=re>=1&&re<=31?re:1;let ve=parseInt(f[4],10);ve=ve>=0&&ve<=23?ve:0;let Ie=parseInt(f[5],10);Ie=Ie>=0&&Ie<=59?Ie:0;let Fe=parseInt(f[6],10);Fe=Fe>=0&&Fe<=59?Fe:0;const St=f[7]||"Z";let zt=parseInt(f[8],10);zt=zt>=0&&zt<=23?zt:0;let Ht=parseInt(f[9],10)||0;return Ht=Ht>=0&&Ht<=59?Ht:0,"-"===St?(ve+=zt,Ie+=Ht):"+"===St&&(ve-=zt,Ie-=Ht),new Date(Date.UTC(R,J,re,ve,Ie,Fe))}}function Hi(qe,{scale:d=1,rotation:f=0}){const{width:R,height:J}=qe.attributes.style,re=[0,0,parseInt(R),parseInt(J)];return new cn({viewBox:re,scale:d,rotation:f})}function gn(qe){if(qe.startsWith("#")){const d=parseInt(qe.slice(1),16);return[(16711680&d)>>16,(65280&d)>>8,255&d]}return qe.startsWith("rgb(")?qe.slice(4,-1).split(",").map(d=>parseInt(d)):qe.startsWith("rgba(")?qe.slice(5,-1).split(",").map(d=>parseInt(d)).slice(0,3):(Pe(`Not a valid color format: "${qe}"`),[0,0,0])}function hn(qe){const{a:d,b:f,c:R,d:J,e:re,f:ve}=qe.getTransform();return[d,f,R,J,re,ve]}function Bn(qe){const{a:d,b:f,c:R,d:J,e:re,f:ve}=qe.getTransform().invertSelf();return[d,f,R,J,re,ve]}function mi(qe,d,f=!1,R=!0){if(d instanceof cn){const{pageWidth:J,pageHeight:re}=d.rawDims,{style:ve}=qe,Ie=Kt.isCSSRoundSupported,Fe=`var(--scale-factor) * ${J}px`,St=`var(--scale-factor) * ${re}px`,zt=Ie?`round(${Fe}, 1px)`:`calc(${Fe})`,Ht=Ie?`round(${St}, 1px)`:`calc(${St})`;f&&d.rotation%180!=0?(ve.width=Ht,ve.height=zt):(ve.width=zt,ve.height=Ht)}R&&qe.setAttribute("data-main-rotation",d.rotation)}class wi{#e=null;#t=null;#n;#i=null;#s=null;static#o=null;constructor(d){this.#n=d,wi.#o||=Object.freeze({freetext:"pdfjs-editor-remove-freetext-button",highlight:"pdfjs-editor-remove-highlight-button",ink:"pdfjs-editor-remove-ink-button",stamp:"pdfjs-editor-remove-stamp-button"})}render(){const d=this.#e=document.createElement("div");d.className="editToolbar",d.setAttribute("role","toolbar");const f=this.#n._uiManager._signal;d.addEventListener("contextmenu",ri,{signal:f}),d.addEventListener("pointerdown",wi.#a,{signal:f});const R=this.#i=document.createElement("div");R.className="buttons",d.append(R);const J=this.#n.toolbarPosition;if(J){const{style:re}=d,ve="ltr"===this.#n._uiManager.direction?1-J[0]:J[0];re.insetInlineEnd=100*ve+"%",re.top=`calc(${100*J[1]}% + var(--editor-toolbar-vert-offset))`}return this.#u(),d}static#a(d){d.stopPropagation()}#l(d){this.#n._focusEventsAllowed=!1,d.preventDefault(),d.stopPropagation()}#d(d){this.#n._focusEventsAllowed=!0,d.preventDefault(),d.stopPropagation()}#c(d){const f=this.#n._uiManager._signal;d.addEventListener("focusin",this.#l.bind(this),{capture:!0,signal:f}),d.addEventListener("focusout",this.#d.bind(this),{capture:!0,signal:f}),d.addEventListener("contextmenu",ri,{signal:f})}hide(){this.#e.classList.add("hidden"),this.#t?.hideDropdown()}show(){this.#e.classList.remove("hidden"),this.#s?.shown()}#u(){const{editorType:d,_uiManager:f}=this.#n,R=document.createElement("button");R.className="delete",R.tabIndex=0,R.setAttribute("data-l10n-id",wi.#o[d]),this.#c(R),R.addEventListener("click",J=>{f.delete()},{signal:f._signal}),this.#i.append(R)}get#r(){const d=document.createElement("div");return d.className="divider",d}addAltText(d){var f=this;return(0,I.A)(function*(){const R=yield d.render();f.#c(R),f.#i.prepend(R,f.#r),f.#s=d})()}addColorPicker(d){this.#t=d;const f=d.renderButton();this.#c(f),this.#i.prepend(f,this.#r)}remove(){this.#e.remove(),this.#t?.destroy(),this.#t=null}}class Si{#e=null;#t=null;#n;constructor(d){this.#n=d}#i(){const d=this.#t=document.createElement("div");d.className="editToolbar",d.setAttribute("role","toolbar"),d.addEventListener("contextmenu",ri,{signal:this.#n._signal});const f=this.#e=document.createElement("div");return f.className="buttons",d.append(f),this.#o(),d}#s(d,f){let R=0,J=0;for(const re of d){const ve=re.y+re.height;if(ve<R)continue;const Ie=re.x+(f?re.width:0);ve>R?(J=Ie,R=ve):f?Ie>J&&(J=Ie):Ie<J&&(J=Ie)}return[f?1-J:J,R]}show(d,f,R){const[J,re]=this.#s(f,R),{style:ve}=this.#t||=this.#i();d.append(this.#t),ve.insetInlineEnd=100*J+"%",ve.top=`calc(${100*re}% + var(--editor-toolbar-vert-offset))`}hide(){this.#t.remove()}#o(){const d=document.createElement("button");d.className="highlightButton",d.tabIndex=0,d.setAttribute("data-l10n-id","pdfjs-highlight-floating-button1");const f=document.createElement("span");d.append(f),f.className="visuallyHidden",f.setAttribute("data-l10n-id","pdfjs-highlight-floating-button-label");const R=this.#n._signal;d.addEventListener("contextmenu",ri,{signal:R}),d.addEventListener("click",()=>{this.#n.highlightSelection("floating_button")},{signal:R}),this.#e.append(d)}}function Cn(qe,d,f){for(const R of f)d.addEventListener(R,qe[R].bind(qe))}class Mt{#e=0;get id(){return"pdfjs_internal_editor_"+this.#e++}}class Bt{#e=function Yt(){if(typeof crypto<"u"&&"function"==typeof crypto?.randomUUID)return crypto.randomUUID();const qe=new Uint8Array(32);if(typeof crypto<"u"&&"function"==typeof crypto?.getRandomValues)crypto.getRandomValues(qe);else for(let d=0;d<32;d++)qe[d]=Math.floor(255*Math.random());return Je(qe)}();#t=0;#n=null;static get _isSVGFittingCanvas(){const R=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),J=new Image;return J.src='data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 1 1" width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" style="fill:red;"/></svg>',Ct(this,"_isSVGFittingCanvas",J.decode().then(()=>(R.drawImage(J,0,0,1,1,0,0,1,3),0===new Uint32Array(R.getImageData(0,0,1,1).data.buffer)[0])))}#i(d,f){var R=this;return(0,I.A)(function*(){R.#n||=new Map;let J=R.#n.get(d);if(null===J)return null;if(J?.bitmap)return J.refCounter+=1,J;try{let re;if(J||={bitmap:null,id:`image_${R.#e}_${R.#t++}`,refCounter:0,isSvg:!1},"string"==typeof f?(J.url=f,re=yield os(f,"blob")):re=J.file=f,"image/svg+xml"===re.type){const ve=Bt._isSVGFittingCanvas,Ie=new FileReader,Fe=new Image,St=new Promise((zt,Ht)=>{Fe.onload=()=>{J.bitmap=Fe,J.isSvg=!0,zt()},Ie.onload=(0,I.A)(function*(){const bn=J.svgUrl=Ie.result;Fe.src=(yield ve)?`${bn}#svgView(preserveAspectRatio(none))`:bn}),Fe.onerror=Ie.onerror=Ht});Ie.readAsDataURL(re),yield St}else J.bitmap=yield createImageBitmap(re);J.refCounter=1}catch(re){console.error(re),J=null}return R.#n.set(d,J),J&&R.#n.set(J.id,J),J})()}getFromFile(d){var f=this;return(0,I.A)(function*(){const{lastModified:R,name:J,size:re,type:ve}=d;return f.#i(`${R}_${J}_${re}_${ve}`,d)})()}getFromUrl(d){var f=this;return(0,I.A)(function*(){return f.#i(d,d)})()}getFromId(d){var f=this;return(0,I.A)(function*(){f.#n||=new Map;const R=f.#n.get(d);return R?R.bitmap?(R.refCounter+=1,R):R.file?f.getFromFile(R.file):f.getFromUrl(R.url):null})()}getSvgUrl(d){const f=this.#n.get(d);return f?.isSvg?f.svgUrl:null}deleteId(d){this.#n||=new Map;const f=this.#n.get(d);f&&(f.refCounter-=1,0===f.refCounter&&(f.bitmap=null))}isValidId(d){return d.startsWith(`image_${this.#e}_`)}}class Rt{#e=[];#t=!1;#n;#i=-1;constructor(d=128){this.#n=d}add({cmd:d,undo:f,post:R,mustExec:J,type:re=NaN,overwriteIfSameType:ve=!1,keepUndo:Ie=!1}){if(J&&d(),this.#t)return;const Fe={cmd:d,undo:f,post:R,type:re};if(-1===this.#i)return this.#e.length>0&&(this.#e.length=0),this.#i=0,void this.#e.push(Fe);if(ve&&this.#e[this.#i].type===re)return Ie&&(Fe.undo=this.#e[this.#i].undo),void(this.#e[this.#i]=Fe);const St=this.#i+1;St===this.#n?this.#e.splice(0,1):(this.#i=St,St<this.#e.length&&this.#e.splice(St)),this.#e.push(Fe)}undo(){if(-1===this.#i)return;this.#t=!0;const{undo:d,post:f}=this.#e[this.#i];d(),f?.(),this.#t=!1,this.#i-=1}redo(){if(this.#i<this.#e.length-1){this.#i+=1,this.#t=!0;const{cmd:d,post:f}=this.#e[this.#i];d(),f?.(),this.#t=!1}}hasSomethingToUndo(){return-1!==this.#i}hasSomethingToRedo(){return this.#i<this.#e.length-1}destroy(){this.#e=null}}class Jt{constructor(d){this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const{isMac:f}=Kt.platform;for(const[R,J,re={}]of d)for(const ve of R){const Ie=ve.startsWith("mac+");f&&Ie?(this.callbacks.set(ve.slice(4),{callback:J,options:re}),this.allKeys.add(ve.split("+").at(-1))):!f&&!Ie&&(this.callbacks.set(ve,{callback:J,options:re}),this.allKeys.add(ve.split("+").at(-1)))}}#e(d){d.altKey&&this.buffer.push("alt"),d.ctrlKey&&this.buffer.push("ctrl"),d.metaKey&&this.buffer.push("meta"),d.shiftKey&&this.buffer.push("shift"),this.buffer.push(d.key);const f=this.buffer.join("+");return this.buffer.length=0,f}exec(d,f){if(!this.allKeys.has(f.key))return;const R=this.callbacks.get(this.#e(f));if(!R)return;const{callback:J,options:{bubbles:re=!1,args:ve=[],checker:Ie=null}}=R;Ie&&!Ie(d,f)||(J.bind(d,...ve,f)(),re||(f.stopPropagation(),f.preventDefault()))}}class He{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){const d=new Map([["CanvasText",null],["Canvas",null]]);return function yn(qe){const d=document.createElement("span");d.style.visibility="hidden",document.body.append(d);for(const f of qe.keys()){d.style.color=f;const R=window.getComputedStyle(d).color;qe.set(f,gn(R))}d.remove()}(d),Ct(this,"_colors",d)}convert(d){const f=gn(d);if(!window.matchMedia("(forced-colors: active)").matches)return f;for(const[R,J]of this._colors)if(J.every((re,ve)=>re===f[ve]))return He._colorsMapping.get(R);return f}getHexCode(d){const f=this._colors.get(d);return f?wn.makeHexColor(...f):d}}let fe=(()=>{class qe{#e=new AbortController;#t=null;#n=new Map;#i=new Map;#s=null;#o=null;#a=null;#l=new Rt;#d=null;#c=0;#u=new Set;#r=null;#p=null;#f=new Set;#h=!1;#m=!1;#g=!1;#_=null;#b=null;#O=null;#A=null;#v=!1;#E=null;#P=new Mt;#C=!1;#y=!1;#z=null;#T=null;#I=null;#w=null;#S=x.NONE;#M=new Set;#D=null;#R=null;#x=null;#j={isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1};#B=[0,0];#N=null;#F=null;#W=null;static TRANSLATE_SMALL=1;static TRANSLATE_BIG=10;static get _keyboardManager(){const f=qe.prototype,R=Ie=>Ie.#F.contains(document.activeElement)&&"BUTTON"!==document.activeElement.tagName&&Ie.hasSomethingToControl(),J=(Ie,{target:Fe})=>{if(Fe instanceof HTMLInputElement){const{type:St}=Fe;return"text"!==St&&"number"!==St}return!0},re=this.TRANSLATE_SMALL,ve=this.TRANSLATE_BIG;return Ct(this,"_keyboardManager",new Jt([[["ctrl+a","mac+meta+a"],f.selectAll,{checker:J}],[["ctrl+z","mac+meta+z"],f.undo,{checker:J}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],f.redo,{checker:J}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],f.delete,{checker:J}],[["Enter","mac+Enter"],f.addNewEditorFromKeyboard,{checker:(Ie,{target:Fe})=>!(Fe instanceof HTMLButtonElement)&&Ie.#F.contains(Fe)&&!Ie.isEnterHandled}],[[" ","mac+ "],f.addNewEditorFromKeyboard,{checker:(Ie,{target:Fe})=>!(Fe instanceof HTMLButtonElement)&&Ie.#F.contains(document.activeElement)}],[["Escape","mac+Escape"],f.unselectAll],[["ArrowLeft","mac+ArrowLeft"],f.translateSelectedEditors,{args:[-re,0],checker:R}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],f.translateSelectedEditors,{args:[-ve,0],checker:R}],[["ArrowRight","mac+ArrowRight"],f.translateSelectedEditors,{args:[re,0],checker:R}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],f.translateSelectedEditors,{args:[ve,0],checker:R}],[["ArrowUp","mac+ArrowUp"],f.translateSelectedEditors,{args:[0,-re],checker:R}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],f.translateSelectedEditors,{args:[0,-ve],checker:R}],[["ArrowDown","mac+ArrowDown"],f.translateSelectedEditors,{args:[0,re],checker:R}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],f.translateSelectedEditors,{args:[0,ve],checker:R}]]))}constructor(f,R,J,re,ve,Ie,Fe,St,zt,Ht,bn){const xn=this._signal=this.#e.signal;this.#F=f,this.#W=R,this.#s=J,this._eventBus=re,re._on("editingaction",this.onEditingAction.bind(this),{signal:xn}),re._on("pagechanging",this.onPageChanging.bind(this),{signal:xn}),re._on("scalechanging",this.onScaleChanging.bind(this),{signal:xn}),re._on("rotationchanging",this.onRotationChanging.bind(this),{signal:xn}),re._on("setpreference",this.onSetPreference.bind(this),{signal:xn}),re._on("switchannotationeditorparams",Zt=>this.updateParams(Zt.type,Zt.value),{signal:xn}),this.#Z(),this.#ie(),this.#V(),this.#o=ve.annotationStorage,this.#_=ve.filterFactory,this.#R=Ie,this.#A=Fe||null,this.#h=St,this.#m=zt,this.#g=Ht,this.#w=bn||null,this.viewParameters={realScale:ln.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1}destroy(){this.#e?.abort(),this.#e=null,this._signal=null;for(const f of this.#i.values())f.destroy();this.#i.clear(),this.#n.clear(),this.#f.clear(),this.#t=null,this.#M.clear(),this.#l.destroy(),this.#s?.destroy(),this.#E?.hide(),this.#E=null,this.#b&&(clearTimeout(this.#b),this.#b=null),this.#N&&(clearTimeout(this.#N),this.#N=null)}combinedSignal(f){return AbortSignal.any([this._signal,f.signal])}get mlManager(){return this.#w}get useNewAltTextFlow(){return this.#m}get useNewAltTextWhenAddingImage(){return this.#g}get hcmFilter(){return Ct(this,"hcmFilter",this.#R?this.#_.addHCMFilter(this.#R.foreground,this.#R.background):"none")}get direction(){return Ct(this,"direction",getComputedStyle(this.#F).direction)}get highlightColors(){return Ct(this,"highlightColors",this.#A?new Map(this.#A.split(",").map(f=>f.split("=").map(R=>R.trim()))):null)}get highlightColorNames(){return Ct(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,f=>f.reverse())):null)}setMainHighlightColorPicker(f){this.#I=f}editAltText(f,R=!1){this.#s?.editAltText(this,f,R)}switchToMode(f,R){this._eventBus.on("annotationeditormodechanged",R,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:f})}setPreference(f,R){this._eventBus.dispatch("setpreference",{source:this,name:f,value:R})}onSetPreference({name:f,value:R}){"enableNewAltTextWhenAddingImage"===f&&(this.#g=R)}onPageChanging({pageNumber:f}){this.#c=f-1}focusMainContainer(){this.#F.focus()}findParent(f,R){for(const J of this.#i.values()){const{x:re,y:ve,width:Ie,height:Fe}=J.div.getBoundingClientRect();if(f>=re&&f<=re+Ie&&R>=ve&&R<=ve+Fe)return J}return null}disableUserSelect(f=!1){this.#W.classList.toggle("noUserSelect",f)}addShouldRescale(f){this.#f.add(f)}removeShouldRescale(f){this.#f.delete(f)}onScaleChanging({scale:f}){this.commitOrRemove(),this.viewParameters.realScale=f*ln.PDF_TO_CSS_UNITS;for(const R of this.#f)R.onScaleChanging()}onRotationChanging({pagesRotation:f}){this.commitOrRemove(),this.viewParameters.rotation=f}#k({anchorNode:f}){return f.nodeType===Node.TEXT_NODE?f.parentElement:f}#$(f){const{currentLayer:R}=this;if(R.hasTextLayer(f))return R;for(const J of this.#i.values())if(J.hasTextLayer(f))return J;return null}highlightSelection(f=""){const R=document.getSelection();if(!R||R.isCollapsed)return;const{anchorNode:J,anchorOffset:re,focusNode:ve,focusOffset:Ie}=R,Fe=R.toString(),zt=this.#k(R).closest(".textLayer"),Ht=this.getSelectionBoxes(zt);if(!Ht)return;R.empty();const bn=this.#$(zt),xn=this.#S===x.NONE,Zt=()=>{bn?.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:f,boxes:Ht,anchorNode:J,anchorOffset:re,focusNode:ve,focusOffset:Ie,text:Fe}),xn&&this.showAllEditors("highlight",!0,!0)};xn?this.switchToMode(x.HIGHLIGHT,Zt):Zt()}#J(){const f=document.getSelection();if(!f||f.isCollapsed)return;const J=this.#k(f).closest(".textLayer"),re=this.getSelectionBoxes(J);re&&(this.#E||=new Si(this),this.#E.show(J,re,"ltr"===this.direction))}addToAnnotationStorage(f){!f.isEmpty()&&this.#o&&!this.#o.has(f.id)&&this.#o.setValue(f.id,f)}#Q(){const f=document.getSelection();if(!f||f.isCollapsed)return void(this.#D&&(this.#E?.hide(),this.#D=null,this.#L({hasSelectedText:!1})));const{anchorNode:R}=f;if(R===this.#D)return;const re=this.#k(f).closest(".textLayer");if(re){if(this.#E?.hide(),this.#D=R,this.#L({hasSelectedText:!0}),(this.#S===x.HIGHLIGHT||this.#S===x.NONE)&&(this.#S===x.HIGHLIGHT&&this.showAllEditors("highlight",!0,!0),this.#v=this.isShiftKeyDown,!this.isShiftKeyDown)){const ve=this.#S===x.HIGHLIGHT?this.#$(re):null;ve?.toggleDrawing();const Ie=new AbortController,Fe=this.combinedSignal(Ie),St=zt=>{"pointerup"===zt.type&&0!==zt.button||(Ie.abort(),ve?.toggleDrawing(!0),"pointerup"===zt.type&&this.#q("main_toolbar"))};window.addEventListener("pointerup",St,{signal:Fe}),window.addEventListener("blur",St,{signal:Fe})}}else this.#D&&(this.#E?.hide(),this.#D=null,this.#L({hasSelectedText:!1}))}#q(f=""){this.#S===x.HIGHLIGHT?this.highlightSelection(f):this.#h&&this.#J()}#Z(){document.addEventListener("selectionchange",this.#Q.bind(this),{signal:this._signal})}#ee(){if(this.#O)return;this.#O=new AbortController;const f=this.combinedSignal(this.#O);window.addEventListener("focus",this.focus.bind(this),{signal:f}),window.addEventListener("blur",this.blur.bind(this),{signal:f})}#te(){this.#O?.abort(),this.#O=null}blur(){if(this.isShiftKeyDown=!1,this.#v&&(this.#v=!1,this.#q("main_toolbar")),!this.hasSelection)return;const{activeElement:f}=document;for(const R of this.#M)if(R.div.contains(f)){this.#T=[R,f],R._focusEventsAllowed=!1;break}}focus(){if(!this.#T)return;const[f,R]=this.#T;this.#T=null,R.addEventListener("focusin",()=>{f._focusEventsAllowed=!0},{once:!0,signal:this._signal}),R.focus()}#V(){if(this.#z)return;this.#z=new AbortController;const f=this.combinedSignal(this.#z);window.addEventListener("keydown",this.keydown.bind(this),{signal:f}),window.addEventListener("keyup",this.keyup.bind(this),{signal:f})}#ne(){this.#z?.abort(),this.#z=null}#H(){if(this.#d)return;this.#d=new AbortController;const f=this.combinedSignal(this.#d);document.addEventListener("copy",this.copy.bind(this),{signal:f}),document.addEventListener("cut",this.cut.bind(this),{signal:f}),document.addEventListener("paste",this.paste.bind(this),{signal:f})}#Y(){this.#d?.abort(),this.#d=null}#ie(){const f=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:f}),document.addEventListener("drop",this.drop.bind(this),{signal:f})}addEditListeners(){this.#V(),this.#H()}removeEditListeners(){this.#ne(),this.#Y()}dragOver(f){for(const{type:R}of f.dataTransfer.items)for(const J of this.#p)if(J.isHandlingMimeForPasting(R))return f.dataTransfer.dropEffect="copy",void f.preventDefault()}drop(f){for(const R of f.dataTransfer.items)for(const J of this.#p)if(J.isHandlingMimeForPasting(R.type))return J.paste(R,this.currentLayer),void f.preventDefault()}copy(f){if(f.preventDefault(),this.#t?.commitOrRemove(),!this.hasSelection)return;const R=[];for(const J of this.#M){const re=J.serialize(!0);re&&R.push(re)}0!==R.length&&f.clipboardData.setData("application/pdfjs",JSON.stringify(R))}cut(f){this.copy(f),this.delete()}paste(f){f.preventDefault();const{clipboardData:R}=f;for(const ve of R.items)for(const Ie of this.#p)if(Ie.isHandlingMimeForPasting(ve.type))return void Ie.paste(ve,this.currentLayer);let J=R.getData("application/pdfjs");if(!J)return;try{J=JSON.parse(J)}catch(ve){return void Pe(`paste: "${ve.message}".`)}if(!Array.isArray(J))return;this.unselectAll();const re=this.currentLayer;try{const ve=[];for(const St of J){const zt=re.deserialize(St);if(!zt)return;ve.push(zt)}this.addCommands({cmd:()=>{for(const St of ve)this.#X(St);this.#K(ve)},undo:()=>{for(const St of ve)St.remove()},mustExec:!0})}catch(ve){Pe(`paste: "${ve.message}".`)}}keydown(f){!this.isShiftKeyDown&&"Shift"===f.key&&(this.isShiftKeyDown=!0),this.#S!==x.NONE&&!this.isEditorHandlingKeyboard&&qe._keyboardManager.exec(this,f)}keyup(f){this.isShiftKeyDown&&"Shift"===f.key&&(this.isShiftKeyDown=!1,this.#v&&(this.#v=!1,this.#q("main_toolbar")))}onEditingAction({name:f}){switch(f){case"undo":case"redo":case"delete":case"selectAll":this[f]();break;case"highlightSelection":this.highlightSelection("context_menu")}}#L(f){Object.entries(f).some(([J,re])=>this.#j[J]!==re)&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#j,f)}),this.#S===x.HIGHLIGHT&&!1===f.hasSelectedEditor&&this.#U([[B.HIGHLIGHT_FREE,!0]]))}#U(f){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:f})}setEditingState(f){f?(this.#ee(),this.#H(),this.#L({isEditing:this.#S!==x.NONE,isEmpty:this.#G(),hasSomethingToUndo:this.#l.hasSomethingToUndo(),hasSomethingToRedo:this.#l.hasSomethingToRedo(),hasSelectedEditor:!1})):(this.#te(),this.#Y(),this.#L({isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(f){if(!this.#p){this.#p=f;for(const R of this.#p)this.#U(R.defaultPropertiesToUpdate)}}getId(){return this.#P.id}get currentLayer(){return this.#i.get(this.#c)}getLayer(f){return this.#i.get(f)}get currentPageIndex(){return this.#c}addLayer(f){this.#i.set(f.pageIndex,f),this.#C?f.enable():f.disable()}removeLayer(f){this.#i.delete(f.pageIndex)}updateMode(f,R=null,J=!1){if(this.#S!==f){if(this.#S=f,f===x.NONE)return this.setEditingState(!1),void this.#oe();this.setEditingState(!0),this.#se(),this.unselectAll();for(const re of this.#i.values())re.updateMode(f);if(!R&&J)return void this.addNewEditorFromKeyboard();if(R)for(const re of this.#n.values())if(re.annotationElementId===R){this.setSelected(re),re.enterInEditMode();break}}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(f){f!==this.#S&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:f})}updateParams(f,R){if(this.#p){switch(f){case B.CREATE:return void this.currentLayer.addNewEditor();case B.HIGHLIGHT_DEFAULT_COLOR:this.#I?.updateColor(R);break;case B.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(this.#x||=new Map).set(f,R),this.showAllEditors("highlight",R)}for(const J of this.#M)J.updateParams(f,R);for(const J of this.#p)J.updateDefaultParams(f,R)}}showAllEditors(f,R,J=!1){for(const ve of this.#n.values())ve.editorType===f&&ve.show(R);(this.#x?.get(B.HIGHLIGHT_SHOW_ALL)??!0)!==R&&this.#U([[B.HIGHLIGHT_SHOW_ALL,R]])}enableWaiting(f=!1){if(this.#y!==f){this.#y=f;for(const R of this.#i.values())f?R.disableClick():R.enableClick(),R.div.classList.toggle("waiting",f)}}#se(){if(!this.#C){this.#C=!0;for(const f of this.#i.values())f.enable();for(const f of this.#n.values())f.enable()}}#oe(){if(this.unselectAll(),this.#C){this.#C=!1;for(const f of this.#i.values())f.disable();for(const f of this.#n.values())f.disable()}}getEditors(f){const R=[];for(const J of this.#n.values())J.pageIndex===f&&R.push(J);return R}getEditor(f){return this.#n.get(f)}addEditor(f){this.#n.set(f.id,f)}removeEditor(f){f.div.contains(document.activeElement)&&(this.#b&&clearTimeout(this.#b),this.#b=setTimeout(()=>{this.focusMainContainer(),this.#b=null},0)),this.#n.delete(f.id),this.unselect(f),(!f.annotationElementId||!this.#u.has(f.annotationElementId))&&this.#o?.remove(f.id)}addDeletedAnnotationElement(f){this.#u.add(f.annotationElementId),this.addChangedExistingAnnotation(f),f.deleted=!0}isDeletedAnnotationElement(f){return this.#u.has(f)}removeDeletedAnnotationElement(f){this.#u.delete(f.annotationElementId),this.removeChangedExistingAnnotation(f),f.deleted=!1}#X(f){const R=this.#i.get(f.pageIndex);R?R.addOrRebuild(f):(this.addEditor(f),this.addToAnnotationStorage(f))}setActiveEditor(f){this.#t!==f&&(this.#t=f,f&&this.#U(f.propertiesToUpdate))}get#re(){let f=null;for(f of this.#M);return f}updateUI(f){this.#re===f&&this.#U(f.propertiesToUpdate)}toggleSelected(f){if(this.#M.has(f))return this.#M.delete(f),f.unselect(),void this.#L({hasSelectedEditor:this.hasSelection});this.#M.add(f),f.select(),this.#U(f.propertiesToUpdate),this.#L({hasSelectedEditor:!0})}setSelected(f){for(const R of this.#M)R!==f&&R.unselect();this.#M.clear(),this.#M.add(f),f.select(),this.#U(f.propertiesToUpdate),this.#L({hasSelectedEditor:!0})}isSelected(f){return this.#M.has(f)}get firstSelectedEditor(){return this.#M.values().next().value}unselect(f){f.unselect(),this.#M.delete(f),this.#L({hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==this.#M.size}get isEnterHandled(){return 1===this.#M.size&&this.firstSelectedEditor.isEnterHandled}undo(){this.#l.undo(),this.#L({hasSomethingToUndo:this.#l.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#G()})}redo(){this.#l.redo(),this.#L({hasSomethingToUndo:!0,hasSomethingToRedo:this.#l.hasSomethingToRedo(),isEmpty:this.#G()})}addCommands(f){this.#l.add(f),this.#L({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#G()})}#G(){if(0===this.#n.size)return!0;if(1===this.#n.size)for(const f of this.#n.values())return f.isEmpty();return!1}delete(){if(this.commitOrRemove(),!this.hasSelection)return;const f=[...this.#M];this.addCommands({cmd:()=>{for(const re of f)re.remove()},undo:()=>{for(const re of f)this.#X(re)},mustExec:!0})}commitOrRemove(){this.#t?.commitOrRemove()}hasSomethingToControl(){return this.#t||this.hasSelection}#K(f){for(const R of this.#M)R.unselect();this.#M.clear();for(const R of f)R.isEmpty()||(this.#M.add(R),R.select());this.#L({hasSelectedEditor:this.hasSelection})}selectAll(){for(const f of this.#M)f.commit();this.#K(this.#n.values())}unselectAll(){if((!this.#t||(this.#t.commitOrRemove(),this.#S===x.NONE))&&this.hasSelection){for(const f of this.#M)f.unselect();this.#M.clear(),this.#L({hasSelectedEditor:!1})}}translateSelectedEditors(f,R,J=!1){if(J||this.commitOrRemove(),!this.hasSelection)return;this.#B[0]+=f,this.#B[1]+=R;const[re,ve]=this.#B,Ie=[...this.#M];this.#N&&clearTimeout(this.#N),this.#N=setTimeout(()=>{this.#N=null,this.#B[0]=this.#B[1]=0,this.addCommands({cmd:()=>{for(const St of Ie)this.#n.has(St.id)&&St.translateInPage(re,ve)},undo:()=>{for(const St of Ie)this.#n.has(St.id)&&St.translateInPage(-re,-ve)},mustExec:!1})},1e3);for(const St of Ie)St.translateInPage(f,R)}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),this.#r=new Map;for(const f of this.#M)this.#r.set(f,{savedX:f.x,savedY:f.y,savedPageIndex:f.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!this.#r)return!1;this.disableUserSelect(!1);const f=this.#r;this.#r=null;let R=!1;for(const[{x:re,y:ve,pageIndex:Ie},Fe]of f)Fe.newX=re,Fe.newY=ve,Fe.newPageIndex=Ie,R||=re!==Fe.savedX||ve!==Fe.savedY||Ie!==Fe.savedPageIndex;if(!R)return!1;const J=(re,ve,Ie,Fe)=>{if(this.#n.has(re.id)){const St=this.#i.get(Fe);St?re._setParentAndPosition(St,ve,Ie):(re.pageIndex=Fe,re.x=ve,re.y=Ie)}};return this.addCommands({cmd:()=>{for(const[re,{newX:ve,newY:Ie,newPageIndex:Fe}]of f)J(re,ve,Ie,Fe)},undo:()=>{for(const[re,{savedX:ve,savedY:Ie,savedPageIndex:Fe}]of f)J(re,ve,Ie,Fe)},mustExec:!0}),!0}dragSelectedEditors(f,R){if(this.#r)for(const J of this.#r.keys())J.drag(f,R)}rebuild(f){if(null===f.parent){const R=this.getLayer(f.pageIndex);R?(R.changeParent(f),R.addOrRebuild(f)):(this.addEditor(f),this.addToAnnotationStorage(f),f.rebuild())}else f.parent.addOrRebuild(f)}get isEditorHandlingKeyboard(){return this.getActive()?.shouldGetKeyboardEvents()||1===this.#M.size&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(f){return this.#t===f}getActive(){return this.#t}getMode(){return this.#S}get imageManager(){return Ct(this,"imageManager",new Bt)}getSelectionBoxes(f){if(!f)return null;const R=document.getSelection();for(let zt=0,Ht=R.rangeCount;zt<Ht;zt++)if(!f.contains(R.getRangeAt(zt).commonAncestorContainer))return null;const{x:J,y:re,width:ve,height:Ie}=f.getBoundingClientRect();let Fe;switch(f.getAttribute("data-main-rotation")){case"90":Fe=(zt,Ht,bn,xn)=>({x:(Ht-re)/Ie,y:1-(zt+bn-J)/ve,width:xn/Ie,height:bn/ve});break;case"180":Fe=(zt,Ht,bn,xn)=>({x:1-(zt+bn-J)/ve,y:1-(Ht+xn-re)/Ie,width:bn/ve,height:xn/Ie});break;case"270":Fe=(zt,Ht,bn,xn)=>({x:1-(Ht+xn-re)/Ie,y:(zt-J)/ve,width:xn/Ie,height:bn/ve});break;default:Fe=(zt,Ht,bn,xn)=>({x:(zt-J)/ve,y:(Ht-re)/Ie,width:bn/ve,height:xn/Ie})}const St=[];for(let zt=0,Ht=R.rangeCount;zt<Ht;zt++){const bn=R.getRangeAt(zt);if(!bn.collapsed)for(const{x:xn,y:Zt,width:Mi,height:Ki}of bn.getClientRects())0===Mi||0===Ki||St.push(Fe(xn,Zt,Mi,Ki))}return 0===St.length?null:St}addChangedExistingAnnotation({annotationElementId:f,id:R}){(this.#a||=new Map).set(f,R)}removeChangedExistingAnnotation({annotationElementId:f}){this.#a?.delete(f)}renderAnnotationElement(f){const R=this.#a?.get(f.data.id);if(!R)return;const J=this.#o.getRawValue(R);J&&(this.#S===x.NONE&&!J.hasBeenModified||J.renderAnnotationElement(f))}}return qe})(),nt=(()=>{class qe{#e=null;#t=!1;#n=null;#i=null;#s=null;#o=!1;#a=null;#l=null;#d=null;#c=null;#u=!1;static _l10nPromise=null;constructor(f){this.#l=f,this.#u=f._uiManager.useNewAltTextFlow}static initialize(f){qe._l10nPromise||=f}render(){var f=this;return(0,I.A)(function*(){const R=f.#n=document.createElement("button");let J;R.className="altText",f.#u?(R.classList.add("new"),J=yield qe._l10nPromise.get("pdfjs-editor-new-alt-text-missing-button-label")):J=yield qe._l10nPromise.get("pdfjs-editor-alt-text-button-label"),R.textContent=J,R.setAttribute("aria-label",J),R.tabIndex="0";const re=f.#l._uiManager._signal;R.addEventListener("contextmenu",ri,{signal:re}),R.addEventListener("pointerdown",Ie=>Ie.stopPropagation(),{signal:re});const ve=Ie=>{Ie.preventDefault(),f.#l._uiManager.editAltText(f.#l),f.#u&&f.#l._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:f.#r}})};return R.addEventListener("click",ve,{capture:!0,signal:re}),R.addEventListener("keydown",Ie=>{Ie.target===R&&"Enter"===Ie.key&&(f.#o=!0,ve(Ie))},{signal:re}),yield f.#p(),R})()}get#r(){return(this.#e?"added":null===this.#e&&this.guessedText&&"review")||"missing"}finish(){this.#n&&(this.#n.focus({focusVisible:this.#o}),this.#o=!1)}isEmpty(){return this.#u?null===this.#e:!this.#e&&!this.#t}hasData(){return this.#u?null!==this.#e||!!this.#d:this.isEmpty()}get guessedText(){return this.#d}setGuessedText(f){var R=this;return(0,I.A)(function*(){null===R.#e&&(R.#d=f,R.#c=yield qe._l10nPromise.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer")({generatedAltText:f}),R.#p())})()}toggleAltTextBadge(f=!1){if(!this.#u||this.#e)return this.#a?.remove(),void(this.#a=null);if(!this.#a){const R=this.#a=document.createElement("div");R.className="noAltTextBadge",this.#l.div.append(R)}this.#a.classList.toggle("hidden",!f)}serialize(f){let R=this.#e;return!f&&this.#d===R&&(R=this.#c),{altText:R,decorative:this.#t,guessedText:this.#d,textWithDisclaimer:this.#c}}get data(){return{altText:this.#e,decorative:this.#t}}set data({altText:f,decorative:R,guessedText:J,textWithDisclaimer:re,cancel:ve=!1}){J&&(this.#d=J,this.#c=re),(this.#e!==f||this.#t!==R)&&(ve||(this.#e=f,this.#t=R),this.#p())}toggle(f=!1){this.#n&&(!f&&this.#s&&(clearTimeout(this.#s),this.#s=null),this.#n.disabled=!f)}shown(){this.#l._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:this.#r}})}destroy(){this.#n?.remove(),this.#n=null,this.#i=null,this.#a?.remove(),this.#a=null}#p(){var f=this;return(0,I.A)(function*(){const R=f.#n;if(!R)return;if(f.#u){const ve=f.#r,Ie="review"===ve?"to-review":ve;if(R.classList.toggle("done",!!f.#e),qe._l10nPromise.get(`pdfjs-editor-new-alt-text-${Ie}-button-label`).then(Fe=>{R.setAttribute("aria-label",Fe);for(const St of R.childNodes)if(St.nodeType===Node.TEXT_NODE){St.textContent=Fe;break}}),!f.#e)return void f.#i?.remove()}else{if(!f.#e&&!f.#t)return R.classList.remove("done"),void f.#i?.remove();R.classList.add("done"),qe._l10nPromise.get("pdfjs-editor-alt-text-edit-button-label").then(ve=>{R.setAttribute("aria-label",ve)})}let J=f.#i;if(!J){f.#i=J=document.createElement("span"),J.className="tooltip",J.setAttribute("role","tooltip");const ve=J.id=`alt-text-tooltip-${f.#l.id}`;R.setAttribute("aria-describedby",ve);const Ie=100,Fe=f.#l._uiManager._signal;Fe.addEventListener("abort",()=>{clearTimeout(f.#s),f.#s=null},{once:!0}),R.addEventListener("mouseenter",()=>{f.#s=setTimeout(()=>{f.#s=null,f.#i.classList.add("show"),f.#l._reportTelemetry({action:"alt_text_tooltip"})},Ie)},{signal:Fe}),R.addEventListener("mouseleave",()=>{f.#s&&(clearTimeout(f.#s),f.#s=null),f.#i?.classList.remove("show")},{signal:Fe})}J.innerText=f.#t?yield qe._l10nPromise.get("pdfjs-editor-alt-text-decorative-tooltip"):f.#e,J.parentNode||R.append(J),f.#l.getImageForAltText()?.setAttribute("aria-describedby",J.id)})()}}return qe})();class Ot{#e=null;#t=null;#n=null;#i=!1;#s=!1;#o=null;#a=null;#l=null;#d="";#c=!1;#u=null;#r=!1;#p=!1;#f=!1;#h=null;#m=0;#g=0;#_=null;_editToolbar=null;_initialOptions=Object.create(null);_isVisible=!0;_uiManager=null;_focusEventsAllowed=!0;static _l10nPromise=null;static _l10nResizer=null;#b=!1;#O=Ot._zIndex++;static _borderLineWidth=-1;static _colorManager=new He;static _zIndex=1;static _telemetryTimeout=1e3;static get _resizerKeyboardManager(){const d=Ot.prototype._resizeWithKeyboard,f=fe.TRANSLATE_SMALL,R=fe.TRANSLATE_BIG;return Ct(this,"_resizerKeyboardManager",new Jt([[["ArrowLeft","mac+ArrowLeft"],d,{args:[-f,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],d,{args:[-R,0]}],[["ArrowRight","mac+ArrowRight"],d,{args:[f,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],d,{args:[R,0]}],[["ArrowUp","mac+ArrowUp"],d,{args:[0,-f]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],d,{args:[0,-R]}],[["ArrowDown","mac+ArrowDown"],d,{args:[0,f]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],d,{args:[0,R]}],[["Escape","mac+Escape"],Ot.prototype._stopResizingWithKeyboard]]))}constructor(d){this.parent=d.parent,this.id=d.id,this.width=this.height=null,this.pageIndex=d.parent.pageIndex,this.name=d.name,this.div=null,this._uiManager=d.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=d.isCentered,this._structTreeParentId=null;const{rotation:f,rawDims:{pageWidth:R,pageHeight:J,pageX:re,pageY:ve}}=this.parent.viewport;this.rotation=f,this.pageRotation=(360+f-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[R,J],this.pageTranslation=[re,ve];const[Ie,Fe]=this.parentDimensions;this.x=d.x/Ie,this.y=d.y/Fe,this.isAttachedToDOM=!1,this.deleted=!1}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get _defaultLineColor(){return Ct(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(d){const f=new rn({id:d.parent.getNextId(),parent:d.parent,uiManager:d._uiManager});f.annotationElementId=d.annotationElementId,f.deleted=!0,f._uiManager.addToAnnotationStorage(f)}static initialize(d,f,R){if(Ot._l10nResizer||=Object.freeze({topLeft:"pdfjs-editor-resizer-top-left",topMiddle:"pdfjs-editor-resizer-top-middle",topRight:"pdfjs-editor-resizer-top-right",middleRight:"pdfjs-editor-resizer-middle-right",bottomRight:"pdfjs-editor-resizer-bottom-right",bottomMiddle:"pdfjs-editor-resizer-bottom-middle",bottomLeft:"pdfjs-editor-resizer-bottom-left",middleLeft:"pdfjs-editor-resizer-middle-left"}),Ot._l10nPromise||=new Map([...["pdfjs-editor-alt-text-button-label","pdfjs-editor-alt-text-edit-button-label","pdfjs-editor-alt-text-decorative-tooltip","pdfjs-editor-new-alt-text-added-button-label","pdfjs-editor-new-alt-text-missing-button-label","pdfjs-editor-new-alt-text-to-review-button-label"].map(re=>[re,d.get(re)]),...["pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer"].map(re=>[re,d.get.bind(d,re)])]),R?.strings)for(const re of R.strings)Ot._l10nPromise.set(re,d.get(re));if(-1!==Ot._borderLineWidth)return;const J=getComputedStyle(document.documentElement);Ot._borderLineWidth=parseFloat(J.getPropertyValue("--outline-width"))||0}static updateDefaultParams(d,f){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(d){return!1}static paste(d,f){$e("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return this.#b}set _isDraggable(d){this.#b=d,this.div?.classList.toggle("draggable",d)}get isEnterHandled(){return!0}center(){const[d,f]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*f/(2*d),this.y+=this.width*d/(2*f);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*f/(2*d),this.y-=this.width*d/(2*f);break;default:this.x-=this.width/2,this.y-=this.height/2}this.fixAndSetPosition()}addCommands(d){this._uiManager.addCommands(d)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#O}setParent(d){null!==d?(this.pageIndex=d.pageIndex,this.pageDimensions=d.pageDimensions):this.#x(),this.parent=d}focusin(d){this._focusEventsAllowed&&(this.#c?this.#c=!1:this.parent.setSelected(this))}focusout(d){!this._focusEventsAllowed||!this.isAttachedToDOM||d.relatedTarget?.closest(`#${this.id}`)||(d.preventDefault(),this.parent?.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(d,f,R,J){const[re,ve]=this.parentDimensions;[R,J]=this.screenToPageTranslation(R,J),this.x=(d+R)/re,this.y=(f+J)/ve,this.fixAndSetPosition()}#A([d,f],R,J){[R,J]=this.screenToPageTranslation(R,J),this.x+=R/d,this.y+=J/f,this.fixAndSetPosition()}translate(d,f){this.#A(this.parentDimensions,d,f)}translateInPage(d,f){this.#u||=[this.x,this.y],this.#A(this.pageDimensions,d,f),this.div.scrollIntoView({block:"nearest"})}drag(d,f){this.#u||=[this.x,this.y];const[R,J]=this.parentDimensions;if(this.x+=d/R,this.y+=f/J,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:St,y:zt}=this.div.getBoundingClientRect();this.parent.findNewParent(this,St,zt)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:re,y:ve}=this;const[Ie,Fe]=this.getBaseTranslation();re+=Ie,ve+=Fe,this.div.style.left=`${(100*re).toFixed(2)}%`,this.div.style.top=`${(100*ve).toFixed(2)}%`,this.div.scrollIntoView({block:"nearest"})}get _hasBeenMoved(){return!!this.#u&&(this.#u[0]!==this.x||this.#u[1]!==this.y)}getBaseTranslation(){const[d,f]=this.parentDimensions,{_borderLineWidth:R}=Ot,J=R/d,re=R/f;switch(this.rotation){case 90:return[-J,re];case 180:return[J,re];case 270:return[J,-re];default:return[-J,-re]}}get _mustFixPosition(){return!0}fixAndSetPosition(d=this.rotation){const[f,R]=this.pageDimensions;let{x:J,y:re,width:ve,height:Ie}=this;if(ve*=f,Ie*=R,J*=f,re*=R,this._mustFixPosition)switch(d){case 0:J=Math.max(0,Math.min(f-ve,J)),re=Math.max(0,Math.min(R-Ie,re));break;case 90:J=Math.max(0,Math.min(f-Ie,J)),re=Math.min(R,Math.max(ve,re));break;case 180:J=Math.min(f,Math.max(ve,J)),re=Math.min(R,Math.max(Ie,re));break;case 270:J=Math.min(f,Math.max(Ie,J)),re=Math.max(0,Math.min(R-ve,re))}this.x=J/=f,this.y=re/=R;const[Fe,St]=this.getBaseTranslation();J+=Fe,re+=St;const{style:zt}=this.div;zt.left=`${(100*J).toFixed(2)}%`,zt.top=`${(100*re).toFixed(2)}%`,this.moveInDOM()}static#v(d,f,R){switch(R){case 90:return[f,-d];case 180:return[-d,-f];case 270:return[-f,d];default:return[d,f]}}screenToPageTranslation(d,f){return Ot.#v(d,f,this.parentRotation)}pageTranslationToScreen(d,f){return Ot.#v(d,f,360-this.parentRotation)}#E(d){switch(d){case 90:{const[f,R]=this.pageDimensions;return[0,-f/R,R/f,0]}case 180:return[-1,0,0,-1];case 270:{const[f,R]=this.pageDimensions;return[0,f/R,-R/f,0]}default:return[1,0,0,1]}}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:d,pageDimensions:[f,R]}=this,J=f*d,re=R*d;return Kt.isCSSRoundSupported?[Math.round(J),Math.round(re)]:[J,re]}setDims(d,f){const[R,J]=this.parentDimensions;this.div.style.width=`${(100*d/R).toFixed(2)}%`,this.#s||(this.div.style.height=`${(100*f/J).toFixed(2)}%`)}fixDims(){const{style:d}=this.div,{height:f,width:R}=d,J=R.endsWith("%"),re=!this.#s&&f.endsWith("%");if(J&&re)return;const[ve,Ie]=this.parentDimensions;J||(d.width=`${(100*parseFloat(R)/ve).toFixed(2)}%`),!this.#s&&!re&&(d.height=`${(100*parseFloat(f)/Ie).toFixed(2)}%`)}getInitialTranslation(){return[0,0]}#P(){if(this.#o)return;this.#o=document.createElement("div"),this.#o.classList.add("resizers");const d=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],f=this._uiManager._signal;for(const R of d){const J=document.createElement("div");this.#o.append(J),J.classList.add("resizer",R),J.setAttribute("data-resizer-name",R),J.addEventListener("pointerdown",this.#C.bind(this,R),{signal:f}),J.addEventListener("contextmenu",ri,{signal:f}),J.tabIndex=-1}this.div.prepend(this.#o)}#C(d,f){f.preventDefault();const{isMac:R}=Kt.platform;if(0!==f.button||f.ctrlKey&&R)return;this.#n?.toggle(!1);const J=this._isDraggable;this._isDraggable=!1;const re=new AbortController,ve=this._uiManager.combinedSignal(re);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",this.#z.bind(this,d),{passive:!0,capture:!0,signal:ve}),window.addEventListener("contextmenu",ri,{signal:ve});const Ie=this.x,Fe=this.y,St=this.width,zt=this.height,Ht=this.parent.div.style.cursor,bn=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(f.target).cursor;const xn=()=>{re.abort(),this.parent.togglePointerEvents(!0),this.#n?.toggle(!0),this._isDraggable=J,this.parent.div.style.cursor=Ht,this.div.style.cursor=bn,this.#y(Ie,Fe,St,zt)};window.addEventListener("pointerup",xn,{signal:ve}),window.addEventListener("blur",xn,{signal:ve})}#y(d,f,R,J){const re=this.x,ve=this.y,Ie=this.width,Fe=this.height;re===d&&ve===f&&Ie===R&&Fe===J||this.addCommands({cmd:()=>{this.width=Ie,this.height=Fe,this.x=re,this.y=ve;const[St,zt]=this.parentDimensions;this.setDims(St*Ie,zt*Fe),this.fixAndSetPosition()},undo:()=>{this.width=R,this.height=J,this.x=d,this.y=f;const[St,zt]=this.parentDimensions;this.setDims(St*R,zt*J),this.fixAndSetPosition()},mustExec:!0})}#z(d,f){const[R,J]=this.parentDimensions,re=this.x,ve=this.y,Ie=this.width,Fe=this.height,St=Ot.MIN_SIZE/R,zt=Ot.MIN_SIZE/J,Ht=Vr=>Math.round(1e4*Vr)/1e4,bn=this.#E(this.rotation),xn=(Vr,fo)=>[bn[0]*Vr+bn[2]*fo,bn[1]*Vr+bn[3]*fo],Zt=this.#E(360-this.rotation);let Ki,Pi,hs=!1,Cs=!1;switch(d){case"topLeft":hs=!0,Ki=(Vr,fo)=>[0,0],Pi=(Vr,fo)=>[Vr,fo];break;case"topMiddle":Ki=(Vr,fo)=>[Vr/2,0],Pi=(Vr,fo)=>[Vr/2,fo];break;case"topRight":hs=!0,Ki=(Vr,fo)=>[Vr,0],Pi=(Vr,fo)=>[0,fo];break;case"middleRight":Cs=!0,Ki=(Vr,fo)=>[Vr,fo/2],Pi=(Vr,fo)=>[0,fo/2];break;case"bottomRight":hs=!0,Ki=(Vr,fo)=>[Vr,fo],Pi=(Vr,fo)=>[0,0];break;case"bottomMiddle":Ki=(Vr,fo)=>[Vr/2,fo],Pi=(Vr,fo)=>[Vr/2,0];break;case"bottomLeft":hs=!0,Ki=(Vr,fo)=>[0,fo],Pi=(Vr,fo)=>[Vr,0];break;case"middleLeft":Cs=!0,Ki=(Vr,fo)=>[0,fo/2],Pi=(Vr,fo)=>[Vr,fo/2]}const Es=Ki(Ie,Fe),Ts=Pi(Ie,Fe);let xs=xn(...Ts);const Gs=Ht(re+xs[0]),no=Ht(ve+xs[1]);let gs=1,oo=1,[ko,A1]=this.screenToPageTranslation(f.movementX,f.movementY);if([ko,A1]=[Zt[0]*(Vr=ko/R)+Zt[2]*(fo=A1/J),Zt[1]*Vr+Zt[3]*fo],hs){const Vr=Math.hypot(Ie,Fe);gs=oo=Math.max(Math.min(Math.hypot(Ts[0]-Es[0]-ko,Ts[1]-Es[1]-A1)/Vr,1/Ie,1/Fe),St/Ie,zt/Fe)}else Cs?gs=Math.max(St,Math.min(1,Math.abs(Ts[0]-Es[0]-ko)))/Ie:oo=Math.max(zt,Math.min(1,Math.abs(Ts[1]-Es[1]-A1)))/Fe;var Vr,fo;const sa=Ht(Ie*gs),Or=Ht(Fe*oo);xs=xn(...Pi(sa,Or));const x1=Gs-xs[0],Fc=no-xs[1];this.width=sa,this.height=Or,this.x=x1,this.y=Fc,this.setDims(R*sa,J*Or),this.fixAndSetPosition()}altTextFinish(){this.#n?.finish()}addEditToolbar(){var d=this;return(0,I.A)(function*(){return d._editToolbar||d.#p||(d._editToolbar=new wi(d),d.div.append(d._editToolbar.render()),d.#n&&(yield d._editToolbar.addAltText(d.#n))),d._editToolbar})()}removeEditToolbar(){this._editToolbar&&(this._editToolbar.remove(),this._editToolbar=null,this.#n?.destroy())}getClientDimensions(){return this.div.getBoundingClientRect()}addAltTextButton(){var d=this;return(0,I.A)(function*(){d.#n||(nt.initialize(Ot._l10nPromise),d.#n=new nt(d),d.#e&&(d.#n.data=d.#e,d.#e=null),yield d.addEditToolbar())})()}get altTextData(){return this.#n?.data}set altTextData(d){this.#n&&(this.#n.data=d)}get guessedAltText(){return this.#n?.guessedText}setGuessedAltText(d){var f=this;return(0,I.A)(function*(){yield f.#n?.setGuessedText(d)})()}serializeAltText(d){return this.#n?.serialize(d)}hasAltText(){return!!this.#n&&!this.#n.isEmpty()}hasAltTextData(){return this.#n?.hasData()??!1}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.tabIndex=this.#i?-1:0,this._isVisible||this.div.classList.add("hidden"),this.setInForeground(),this.#w();const[d,f]=this.parentDimensions;this.parentRotation%180!=0&&(this.div.style.maxWidth=`${(100*f/d).toFixed(2)}%`,this.div.style.maxHeight=`${(100*d/f).toFixed(2)}%`);const[R,J]=this.getInitialTranslation();return this.translate(R,J),Cn(this,this.div,["pointerdown"]),this.div}pointerdown(d){const{isMac:f}=Kt.platform;0!==d.button||d.ctrlKey&&f?d.preventDefault():(this.#c=!0,this._isDraggable?this.#I(d):this.#T(d))}#T(d){const{isMac:f}=Kt.platform;d.ctrlKey&&!f||d.shiftKey||d.metaKey&&f?this.parent.toggleSelected(this):this.parent.setSelected(this)}#I(d){const f=this._uiManager.isSelected(this);this._uiManager.setUpDragSession();const R=new AbortController,J=this._uiManager.combinedSignal(R);f&&(this.div.classList.add("moving"),this.#m=d.clientX,this.#g=d.clientY,window.addEventListener("pointermove",Ie=>{const{clientX:Fe,clientY:St}=Ie,[zt,Ht]=this.screenToPageTranslation(Fe-this.#m,St-this.#g);this.#m=Fe,this.#g=St,this._uiManager.dragSelectedEditors(zt,Ht)},{passive:!0,capture:!0,signal:J}));const re=()=>{R.abort(),f&&this.div.classList.remove("moving"),this.#c=!1,this._uiManager.endDragSession()||this.#T(d)};window.addEventListener("pointerup",re,{signal:J}),window.addEventListener("blur",re,{signal:J})}moveInDOM(){this.#h&&clearTimeout(this.#h),this.#h=setTimeout(()=>{this.#h=null,this.parent?.moveEditorInDOM(this)},0)}_setParentAndPosition(d,f,R){d.changeParent(this),this.x=f,this.y=R,this.fixAndSetPosition()}getRect(d,f,R=this.rotation){const J=this.parentScale,[re,ve]=this.pageDimensions,[Ie,Fe]=this.pageTranslation,St=d/J,zt=f/J,Ht=this.x*re,bn=this.y*ve,xn=this.width*re,Zt=this.height*ve;switch(R){case 0:return[Ht+St+Ie,ve-bn-zt-Zt+Fe,Ht+St+xn+Ie,ve-bn-zt+Fe];case 90:return[Ht+zt+Ie,ve-bn+St+Fe,Ht+zt+Zt+Ie,ve-bn+St+xn+Fe];case 180:return[Ht-St-xn+Ie,ve-bn+zt+Fe,Ht-St+Ie,ve-bn+zt+Zt+Fe];case 270:return[Ht-zt-Zt+Ie,ve-bn-St-xn+Fe,Ht-zt+Ie,ve-bn-St+Fe];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(d,f){const[R,J,re,ve]=d,Ie=re-R,Fe=ve-J;switch(this.rotation){case 0:return[R,f-ve,Ie,Fe];case 90:return[R,f-J,Fe,Ie];case 180:return[re,f-J,Ie,Fe];case 270:return[re,f-ve,Fe,Ie];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){this.#p=!0}disableEditMode(){this.#p=!1}isInEditMode(){return this.#p}shouldGetKeyboardEvents(){return this.#f}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}#w(){if(this.#l||!this.div)return;this.#l=new AbortController;const d=this._uiManager.combinedSignal(this.#l);this.div.addEventListener("focusin",this.focusin.bind(this),{signal:d}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:d})}rebuild(){this.#w()}rotate(d){}serialize(d=!1,f=null){$e("An editor must be serializable")}static deserialize(d,f,R){const J=new this.prototype.constructor({parent:f,id:f.getNextId(),uiManager:R});J.rotation=d.rotation,J.#e=d.accessibilityData;const[re,ve]=J.pageDimensions,[Ie,Fe,St,zt]=J.getRectInCurrentCoords(d.rect,ve);return J.x=Ie/re,J.y=Fe/ve,J.width=St/re,J.height=zt/ve,J}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||null!==this.serialize())}remove(){if(this.#l?.abort(),this.#l=null,this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),this.#h&&(clearTimeout(this.#h),this.#h=null),this.#x(),this.removeEditToolbar(),this.#_){for(const d of this.#_.values())clearTimeout(d);this.#_=null}this.parent=null}get isResizable(){return!1}makeResizable(){this.isResizable&&(this.#P(),this.#o.classList.remove("hidden"),Cn(this,this.div,["keydown"]))}get toolbarPosition(){return null}keydown(d){if(!this.isResizable||d.target!==this.div||"Enter"!==d.key)return;this._uiManager.setSelected(this),this.#a={savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height};const f=this.#o.children;if(!this.#t){this.#t=Array.from(f);const ve=this.#S.bind(this),Ie=this.#M.bind(this),Fe=this._uiManager._signal;for(const St of this.#t){const zt=St.getAttribute("data-resizer-name");St.setAttribute("role","spinbutton"),St.addEventListener("keydown",ve,{signal:Fe}),St.addEventListener("blur",Ie,{signal:Fe}),St.addEventListener("focus",this.#D.bind(this,zt),{signal:Fe}),St.setAttribute("data-l10n-id",Ot._l10nResizer[zt])}}const R=this.#t[0];let J=0;for(const ve of f){if(ve===R)break;J++}const re=(360-this.rotation+this.parentRotation)%360/90*(this.#t.length/4);if(re!==J){if(re<J)for(let Ie=0;Ie<J-re;Ie++)this.#o.append(this.#o.firstChild);else if(re>J)for(let Ie=0;Ie<re-J;Ie++)this.#o.firstChild.before(this.#o.lastChild);let ve=0;for(const Ie of f){const St=this.#t[ve++].getAttribute("data-resizer-name");Ie.setAttribute("data-l10n-id",Ot._l10nResizer[St])}}this.#R(0),this.#f=!0,this.#o.firstChild.focus({focusVisible:!0}),d.preventDefault(),d.stopImmediatePropagation()}#S(d){Ot._resizerKeyboardManager.exec(this,d)}#M(d){this.#f&&d.relatedTarget?.parentNode!==this.#o&&this.#x()}#D(d){this.#d=this.#f?d:""}#R(d){if(this.#t)for(const f of this.#t)f.tabIndex=d}_resizeWithKeyboard(d,f){this.#f&&this.#z(this.#d,{movementX:d,movementY:f})}#x(){if(this.#f=!1,this.#R(-1),this.#a){const{savedX:d,savedY:f,savedWidth:R,savedHeight:J}=this.#a;this.#y(d,f,R,J),this.#a=null}}_stopResizingWithKeyboard(){this.#x(),this.div.focus()}select(){this.makeResizable(),this.div?.classList.add("selectedEditor"),this._editToolbar?(this._editToolbar?.show(),this.#n?.toggleAltTextBadge(!1)):this.addEditToolbar().then(()=>{this.div?.classList.contains("selectedEditor")&&this._editToolbar?.show()})}unselect(){this.#o?.classList.add("hidden"),this.div?.classList.remove("selectedEditor"),this.div?.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),this._editToolbar?.hide(),this.#n?.toggleAltTextBadge(!0)}updateParams(d,f){}disableEditing(){}enableEditing(){}enterInEditMode(){}getImageForAltText(){return null}get contentDiv(){return this.div}get isEditing(){return this.#r}set isEditing(d){this.#r=d,this.parent&&(d?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}setAspectRatio(d,f){this.#s=!0;const R=d/f,{style:J}=this.div;J.aspectRatio=R,J.height="auto"}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(d,f=!1){if(f){this.#_||=new Map;const{action:R}=d;let J=this.#_.get(R);return J&&clearTimeout(J),J=setTimeout(()=>{this._reportTelemetry(d),this.#_.delete(R),0===this.#_.size&&(this.#_=null)},Ot._telemetryTimeout),void this.#_.set(R,J)}d.type||=this.editorType,this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:d}})}show(d=this._isVisible){this.div.classList.toggle("hidden",!d),this._isVisible=d}enable(){this.div&&(this.div.tabIndex=0),this.#i=!1}disable(){this.div&&(this.div.tabIndex=-1),this.#i=!0}renderAnnotationElement(d){let f=d.container.querySelector(".annotationContent");if(f){if("CANVAS"===f.nodeName){const R=f;f=document.createElement("div"),f.classList.add("annotationContent",this.editorType),R.before(f)}}else f=document.createElement("div"),f.classList.add("annotationContent",this.editorType),d.container.prepend(f);return f}resetAnnotationElement(d){const{firstChild:f}=d.container;"DIV"===f.nodeName&&f.classList.contains("annotationContent")&&f.remove()}}class rn extends Ot{constructor(d){super(d),this.annotationElementId=d.annotationElementId,this.deleted=!0}serialize(){return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex}}}const Jn=3285377520,Oi=4294901760,Ci=65535;class Ui{constructor(d){this.h1=d?4294967295&d:Jn,this.h2=d?4294967295&d:Jn}update(d){let f,R;if("string"==typeof d){f=new Uint8Array(2*d.length),R=0;for(let Mi=0,Ki=d.length;Mi<Ki;Mi++){const Pi=d.charCodeAt(Mi);Pi<=255?f[R++]=Pi:(f[R++]=Pi>>>8,f[R++]=255&Pi)}}else{if(!ArrayBuffer.isView(d))throw new Error("Invalid data format, must be a string or TypedArray.");f=d.slice(),R=f.byteLength}const J=R>>2,re=R-4*J,ve=new Uint32Array(f.buffer,0,J);let Ie=0,Fe=0,St=this.h1,zt=this.h2;const Ht=3432918353,bn=461845907;for(let Mi=0;Mi<J;Mi++)1&Mi?(Ie=ve[Mi],Ie=Ie*Ht&Oi|11601*Ie&Ci,Ie=Ie<<15|Ie>>>17,Ie=Ie*bn&Oi|13715*Ie&Ci,St^=Ie,St=St<<13|St>>>19,St=5*St+3864292196):(Fe=ve[Mi],Fe=Fe*Ht&Oi|11601*Fe&Ci,Fe=Fe<<15|Fe>>>17,Fe=Fe*bn&Oi|13715*Fe&Ci,zt^=Fe,zt=zt<<13|zt>>>19,zt=5*zt+3864292196);switch(Ie=0,re){case 3:Ie^=f[4*J+2]<<16;case 2:Ie^=f[4*J+1]<<8;case 1:Ie^=f[4*J],Ie=Ie*Ht&Oi|11601*Ie&Ci,Ie=Ie<<15|Ie>>>17,Ie=Ie*bn&Oi|13715*Ie&Ci,1&J?St^=Ie:zt^=Ie}this.h1=St,this.h2=zt}hexdigest(){let d=this.h1,f=this.h2;return d^=f>>>1,d=3981806797*d&Oi|36045*d&Ci,f=4283543511*f&Oi|(2950163797*(f<<16|d>>>16)&Oi)>>>16,d^=f>>>1,d=444984403*d&Oi|60499*d&Ci,f=3301882366*f&Oi|(3120437893*(f<<16|d>>>16)&Oi)>>>16,d^=f>>>1,(d>>>0).toString(16).padStart(8,"0")+(f>>>0).toString(16).padStart(8,"0")}}const ps=Object.freeze({map:null,hash:"",transfer:void 0});class Ji{#e=!1;#t=null;#n=new Map;constructor(){this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(d,f){const R=this.#n.get(d);return void 0===R?f:Object.assign(f,R)}getRawValue(d){return this.#n.get(d)}remove(d){if(this.#n.delete(d),0===this.#n.size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(const f of this.#n.values())if(f instanceof Ot)return;this.onAnnotationEditor(null)}}setValue(d,f){const R=this.#n.get(d);let J=!1;if(void 0!==R)for(const[re,ve]of Object.entries(f))R[re]!==ve&&(J=!0,R[re]=ve);else J=!0,this.#n.set(d,f);J&&this.#i(),f instanceof Ot&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(f.constructor._type)}has(d){return this.#n.has(d)}getAll(){return this.#n.size>0?Xt(this.#n):null}setAll(d){for(const[f,R]of Object.entries(d))this.setValue(f,R)}get size(){return this.#n.size}#i(){this.#e||(this.#e=!0,"function"==typeof this.onSetModified&&this.onSetModified())}resetModified(){this.#e&&(this.#e=!1,"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new _s(this)}get serializable(){if(0===this.#n.size)return ps;const d=new Map,f=new Ui,R=[],J=Object.create(null);let re=!1;for(const[ve,Ie]of this.#n){const Fe=Ie instanceof Ot?Ie.serialize(!1,J):Ie;Fe&&(d.set(ve,Fe),f.update(`${ve}:${JSON.stringify(Fe)}`),re||=!!Fe.bitmap)}if(re)for(const ve of d.values())ve.bitmap&&R.push(ve.bitmap);return d.size>0?{map:d,hash:f.hexdigest(),transfer:R}:ps}get editorStats(){let d=null;const f=new Map;for(const R of this.#n.values()){if(!(R instanceof Ot))continue;const J=R.telemetryFinalData;if(!J)continue;const{type:re}=J;f.has(re)||f.set(re,Object.getPrototypeOf(R).constructor),d||=Object.create(null);const ve=d[re]||=new Map;for(const[Ie,Fe]of Object.entries(J)){if("type"===Ie)continue;let St=ve.get(Ie);St||(St=new Map,ve.set(Ie,St));const zt=St.get(Fe)??0;St.set(Fe,zt+1)}}for(const[R,J]of f)d[R]=J.computeTelemetryFinalData(d[R]);return d}resetModifiedIds(){this.#t=null}get modifiedIds(){if(this.#t)return this.#t;const d=[];for(const f of this.#n.values())!(f instanceof Ot)||!f.annotationElementId||!f.serialize()||d.push(f.annotationElementId);return this.#t={ids:new Set(d),hash:d.join(",")}}}class _s extends Ji{#e;constructor(d){super();const{map:f,hash:R,transfer:J}=d.serializable,re=structuredClone(f,J?{transfer:J}:null);this.#e={map:re,hash:R,transfer:J}}get print(){$e("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#e}get modifiedIds(){return Ct(this,"modifiedIds",{ids:new Set,hash:""})}}class js{#e=new Set;constructor({ownerDocument:d=globalThis.document,styleElement:f=null}){this._document=d,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(d){this.nativeFontFaces.add(d),this._document.fonts.add(d)}removeNativeFontFace(d){this.nativeFontFaces.delete(d),this._document.fonts.delete(d)}insertRule(d){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));const f=this.styleElement.sheet;f.insertRule(d,f.cssRules.length)}clear(){for(const d of this.nativeFontFaces)this._document.fonts.delete(d);this.nativeFontFaces.clear(),this.#e.clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}loadSystemFont({systemFontInfo:d,_inspectFont:f}){var R=this;return(0,I.A)(function*(){if(d&&!R.#e.has(d.loadedName)){if(ze(!R.disableFontFace,"loadSystemFont shouldn't be called when `disableFontFace` is set."),R.isFontLoadingAPISupported){const{loadedName:J,src:re,style:ve}=d,Ie=new FontFace(J,re,ve);R.addNativeFontFace(Ie);try{yield Ie.load(),R.#e.add(J),f?.(d)}catch{Pe(`Cannot load system font: ${d.baseFontName}, installing it could help to improve PDF rendering.`),R.removeNativeFontFace(Ie)}return}$e("Not implemented: loadSystemFont without the Font Loading API.")}})()}bind(d){var f=this;return(0,I.A)(function*(){if(d.attached||d.missingFile&&!d.systemFontInfo)return;if(d.attached=!0,d.systemFontInfo)return void(yield f.loadSystemFont(d));if(f.isFontLoadingAPISupported){const J=d.createNativeFontFace();if(J){f.addNativeFontFace(J);try{yield J.loaded}catch(re){throw Pe(`Failed to load font '${J.family}': '${re}'.`),d.disableFontFace=!0,re}}return}const R=d.createFontFaceRule();if(R){if(f.insertRule(R),f.isSyncFontLoadingSupported)return;yield new Promise(J=>{const re=f._queueLoadingCallback(J);f._prepareFontLoadEvent(d,re)})}})()}get isFontLoadingAPISupported(){return Ct(this,"isFontLoadingAPISupported",!!this._document?.fonts)}get isSyncFontLoadingSupported(){let d=!1;return(o||typeof navigator<"u"&&"string"==typeof navigator?.userAgent&&/Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent))&&(d=!0),Ct(this,"isSyncFontLoadingSupported",d)}_queueLoadingCallback(d){const{loadingRequests:R}=this,J={done:!1,complete:function f(){for(ze(!J.done,"completeRequest() cannot be called twice."),J.done=!0;R.length>0&&R[0].done;){const re=R.shift();setTimeout(re.callback,0)}},callback:d};return R.push(J),J}get _loadTestFont(){return Ct(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(d,f){function R(Es,Ts){return Es.charCodeAt(Ts)<<24|Es.charCodeAt(Ts+1)<<16|Es.charCodeAt(Ts+2)<<8|255&Es.charCodeAt(Ts+3)}function J(Es,Ts,xs,Gs){return Es.substring(0,Ts)+Gs+Es.substring(Ts+xs)}let re,ve;const Ie=this._document.createElement("canvas");Ie.width=1,Ie.height=1;const Fe=Ie.getContext("2d");let St=0;const Ht=`lt${Date.now()}${this.loadTestFontId++}`;let bn=this._loadTestFont;bn=J(bn,976,Ht.length,Ht);const Mi=1482184792;let Ki=R(bn,16);for(re=0,ve=Ht.length-3;re<ve;re+=4)Ki=Ki-Mi+R(Ht,re)|0;re<Ht.length&&(Ki=Ki-Mi+R(Ht+"XXX",re)|0),bn=J(bn,16,4,function rt(qe){return String.fromCharCode(qe>>24&255,qe>>16&255,qe>>8&255,255&qe)}(Ki));const Pi=`url(data:font/opentype;base64,${btoa(bn)});`;this.insertRule(`@font-face {font-family:"${Ht}";src:${Pi}}`);const Cs=this._document.createElement("div");Cs.style.visibility="hidden",Cs.style.width=Cs.style.height="10px",Cs.style.position="absolute",Cs.style.top=Cs.style.left="0px";for(const Es of[d.loadedName,Ht]){const Ts=this._document.createElement("span");Ts.textContent="Hi",Ts.style.fontFamily=Es,Cs.append(Ts)}this._document.body.append(Cs),function zt(Es,Ts){if(++St>30)return Pe("Load test font never loaded."),void Ts();Fe.font="30px "+Es,Fe.fillText(".",0,20),Fe.getImageData(0,0,1,1).data[3]>0?Ts():setTimeout(zt.bind(null,Es,Ts))}(Ht,()=>{Cs.remove(),f.complete()})}}class es{constructor(d,{disableFontFace:f=!1,inspectFont:R=null}){this.compiledGlyphs=Object.create(null);for(const J in d)this[J]=d[J];this.disableFontFace=!0===f,this._inspectFont=R}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let d;if(this.cssFontInfo){const f={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(f.style=`oblique ${this.cssFontInfo.italicAngle}deg`),d=new FontFace(this.cssFontInfo.fontFamily,this.data,f)}else d=new FontFace(this.loadedName,this.data,{});return this._inspectFont?.(this),d}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const d=Je(this.data),f=`url(data:${this.mimetype};base64,${btoa(d)});`;let R;if(this.cssFontInfo){let J=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(J+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),R=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${J}src:${f}}`}else R=`@font-face {font-family:"${this.loadedName}";src:${f}}`;return this._inspectFont?.(this,f),R}getPathGenerator(d,f){if(void 0!==this.compiledGlyphs[f])return this.compiledGlyphs[f];let R;try{R=d.get(this.loadedName+"_path_"+f)}catch(re){Pe(`getPathGenerator - ignoring character: "${re}".`)}if(!Array.isArray(R)||0===R.length)return this.compiledGlyphs[f]=function(re,ve){};const J=[];for(let re=0,ve=R.length;re<ve;)switch(R[re++]){case 0:{const[Ie,Fe,St,zt,Ht,bn]=R.slice(re,re+6);J.push(xn=>xn.bezierCurveTo(Ie,Fe,St,zt,Ht,bn)),re+=6}break;case 1:{const[Ie,Fe]=R.slice(re,re+2);J.push(St=>St.moveTo(Ie,Fe)),re+=2}break;case 2:{const[Ie,Fe]=R.slice(re,re+2);J.push(St=>St.lineTo(Ie,Fe)),re+=2}break;case 3:{const[Ie,Fe,St,zt]=R.slice(re,re+4);J.push(Ht=>Ht.quadraticCurveTo(Ie,Fe,St,zt)),re+=4}break;case 4:J.push(Ie=>Ie.restore());break;case 5:J.push(Ie=>Ie.save());break;case 6:ze(2===J.length,"Scale command is only valid at the third position.");break;case 7:{const[Ie,Fe,St,zt,Ht,bn]=R.slice(re,re+6);J.push(xn=>xn.transform(Ie,Fe,St,zt,Ht,bn)),re+=6}break;case 8:{const[Ie,Fe]=R.slice(re,re+2);J.push(St=>St.translate(Ie,Fe)),re+=2}}return this.compiledGlyphs[f]=function(ve,Ie){J[0](ve),J[1](ve),ve.scale(Ie,-Ie);for(let Fe=2,St=J.length;Fe<St;Fe++)J[Fe](ve)}}}if(o){var zs=Promise.withResolvers(),Gi=null;(function(){var d=(0,I.A)(function*(){const f=yield import("fs"),R=yield import("http"),J=yield import("https"),re=yield import("url");return new Map(Object.entries({fs:f,http:R,https:J,url:re,canvas:void 0,path2d:void 0}))});return function(){return d.apply(this,arguments)}})()().then(d=>{Gi=d,zs.resolve()},d=>{Pe(`loadPackages: ${d}`),Gi=new Map,zs.resolve()})}class ds{static get promise(){return zs.promise}static get(d){return Gi?.get(d)}}const rs=function(qe){return ds.get("fs").promises.readFile(qe).then(f=>new Uint8Array(f))};function A0(qe,d){if(!d)return;const f=d[2]-d[0],R=d[3]-d[1],J=new Path2D;J.rect(d[0],d[1],f,R),qe.clip(J)}class oa{getPattern(){$e("Abstract method `getPattern` called.")}}class bi extends oa{constructor(d){super(),this._type=d[1],this._bbox=d[2],this._colorStops=d[3],this._p0=d[4],this._p1=d[5],this._r0=d[6],this._r1=d[7],this.matrix=null}_createGradient(d){let f;"axial"===this._type?f=d.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(f=d.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const R of this._colorStops)f.addColorStop(R[0],R[1]);return f}getPattern(d,f,R,J){let re;if("Stroke"===J||"Fill"===J){const ve=f.current.getClippedPathBoundingBox(J,hn(d))||[0,0,0,0],Ie=Math.ceil(ve[2]-ve[0])||1,Fe=Math.ceil(ve[3]-ve[1])||1,St=f.cachedCanvases.getCanvas("pattern",Ie,Fe,!0),zt=St.context;zt.clearRect(0,0,zt.canvas.width,zt.canvas.height),zt.beginPath(),zt.rect(0,0,zt.canvas.width,zt.canvas.height),zt.translate(-ve[0],-ve[1]),R=wn.transform(R,[1,0,0,1,ve[0],ve[1]]),zt.transform(...f.baseTransform),this.matrix&&zt.transform(...this.matrix),A0(zt,this._bbox),zt.fillStyle=this._createGradient(zt),zt.fill(),re=d.createPattern(St.canvas,"no-repeat");const Ht=new DOMMatrix(R);re.setTransform(Ht)}else A0(d,this._bbox),re=this._createGradient(d);return re}}function Po(qe,d,f,R,J,re,ve,Ie){const Fe=d.coords,St=d.colors,zt=qe.data,Ht=4*qe.width;let bn;Fe[f+1]>Fe[R+1]&&(bn=f,f=R,R=bn,bn=re,re=ve,ve=bn),Fe[R+1]>Fe[J+1]&&(bn=R,R=J,J=bn,bn=ve,ve=Ie,Ie=bn),Fe[f+1]>Fe[R+1]&&(bn=f,f=R,R=bn,bn=re,re=ve,ve=bn);const xn=(Fe[f]+d.offsetX)*d.scaleX,Zt=(Fe[f+1]+d.offsetY)*d.scaleY,Mi=(Fe[R]+d.offsetX)*d.scaleX,Ki=(Fe[R+1]+d.offsetY)*d.scaleY,Pi=(Fe[J]+d.offsetX)*d.scaleX,hs=(Fe[J+1]+d.offsetY)*d.scaleY;if(Zt>=hs)return;const Cs=St[re],Es=St[re+1],Ts=St[re+2],xs=St[ve],Gs=St[ve+1],no=St[ve+2],gs=St[Ie],oo=St[Ie+1],ko=St[Ie+2],A1=Math.round(Zt),sa=Math.round(hs);let Or,x1,Fc,Vr,fo,y1,Ec,nl;for(let il=A1;il<=sa;il++){if(il<Ki){const Tl=il<Zt?0:(Zt-il)/(Zt-Ki);Or=xn-(xn-Mi)*Tl,x1=Cs-(Cs-xs)*Tl,Fc=Es-(Es-Gs)*Tl,Vr=Ts-(Ts-no)*Tl}else{let Tl;Tl=il>hs?1:Ki===hs?0:(Ki-il)/(Ki-hs),Or=Mi-(Mi-Pi)*Tl,x1=xs-(xs-gs)*Tl,Fc=Gs-(Gs-oo)*Tl,Vr=no-(no-ko)*Tl}let Ya;Ya=il<Zt?0:il>hs?1:(Zt-il)/(Zt-hs),fo=xn-(xn-Pi)*Ya,y1=Cs-(Cs-gs)*Ya,Ec=Es-(Es-oo)*Ya,nl=Ts-(Ts-ko)*Ya;const lc=Math.round(Math.min(Or,fo)),Oc=Math.round(Math.max(Or,fo));let kl=Ht*il+4*lc;for(let Tl=lc;Tl<=Oc;Tl++)Ya=(Or-Tl)/(Or-fo),Ya<0?Ya=0:Ya>1&&(Ya=1),zt[kl++]=x1-(x1-y1)*Ya|0,zt[kl++]=Fc-(Fc-Ec)*Ya|0,zt[kl++]=Vr-(Vr-nl)*Ya|0,zt[kl++]=255}}function Pn(qe,d,f){const R=d.coords,J=d.colors;let re,ve;switch(d.type){case"lattice":const Ie=d.verticesPerRow,Fe=Math.floor(R.length/Ie)-1,St=Ie-1;for(re=0;re<Fe;re++){let zt=re*Ie;for(let Ht=0;Ht<St;Ht++,zt++)Po(qe,f,R[zt],R[zt+1],R[zt+Ie],J[zt],J[zt+1],J[zt+Ie]),Po(qe,f,R[zt+Ie+1],R[zt+1],R[zt+Ie],J[zt+Ie+1],J[zt+1],J[zt+Ie])}break;case"triangles":for(re=0,ve=R.length;re<ve;re+=3)Po(qe,f,R[re],R[re+1],R[re+2],J[re],J[re+1],J[re+2]);break;default:throw new Error("illegal figure")}}class Ei extends oa{constructor(d){super(),this._coords=d[2],this._colors=d[3],this._figures=d[4],this._bounds=d[5],this._bbox=d[7],this._background=d[8],this.matrix=null}_createMeshCanvas(d,f,R){const Ie=Math.floor(this._bounds[0]),Fe=Math.floor(this._bounds[1]),St=Math.ceil(this._bounds[2])-Ie,zt=Math.ceil(this._bounds[3])-Fe,Ht=Math.min(Math.ceil(Math.abs(St*d[0]*1.1)),3e3),bn=Math.min(Math.ceil(Math.abs(zt*d[1]*1.1)),3e3),xn=St/Ht,Zt=zt/bn,Mi={coords:this._coords,colors:this._colors,offsetX:-Ie,offsetY:-Fe,scaleX:1/xn,scaleY:1/Zt},hs=R.getCanvas("mesh",Ht+4,bn+4,!1),Cs=hs.context,Es=Cs.createImageData(Ht,bn);if(f){const xs=Es.data;for(let Gs=0,no=xs.length;Gs<no;Gs+=4)xs[Gs]=f[0],xs[Gs+1]=f[1],xs[Gs+2]=f[2],xs[Gs+3]=255}for(const xs of this._figures)Pn(Es,xs,Mi);return Cs.putImageData(Es,2,2),{canvas:hs.canvas,offsetX:Ie-2*xn,offsetY:Fe-2*Zt,scaleX:xn,scaleY:Zt}}getPattern(d,f,R,J){let re;if(A0(d,this._bbox),"Shading"===J)re=wn.singularValueDecompose2dScale(hn(d));else if(re=wn.singularValueDecompose2dScale(f.baseTransform),this.matrix){const Ie=wn.singularValueDecompose2dScale(this.matrix);re=[re[0]*Ie[0],re[1]*Ie[1]]}const ve=this._createMeshCanvas(re,"Shading"===J?null:this._background,f.cachedCanvases);return"Shading"!==J&&(d.setTransform(...f.baseTransform),this.matrix&&d.transform(...this.matrix)),d.translate(ve.offsetX,ve.offsetY),d.scale(ve.scaleX,ve.scaleY),d.createPattern(ve.canvas,"no-repeat")}}class fi extends oa{getPattern(){return"hotpink"}}let za=(()=>{class qe{static MAX_PATTERN_SIZE=3e3;constructor(f,R,J,re,ve){this.operatorList=f[2],this.matrix=f[3],this.bbox=f[4],this.xstep=f[5],this.ystep=f[6],this.paintType=f[7],this.tilingType=f[8],this.color=R,this.ctx=J,this.canvasGraphicsFactory=re,this.baseTransform=ve}createPatternCanvas(f){const R=this.operatorList,J=this.bbox,re=this.xstep,ve=this.ystep,Ie=this.paintType,St=this.color,zt=this.canvasGraphicsFactory;Xe("TilingType: "+this.tilingType);const Ht=J[0],bn=J[1],xn=J[2],Zt=J[3],Mi=wn.singularValueDecompose2dScale(this.matrix),Ki=wn.singularValueDecompose2dScale(this.baseTransform),Pi=[Mi[0]*Ki[0],Mi[1]*Ki[1]],hs=this.getSizeAndScale(re,this.ctx.canvas.width,Pi[0]),Cs=this.getSizeAndScale(ve,this.ctx.canvas.height,Pi[1]),Es=f.cachedCanvases.getCanvas("pattern",hs.size,Cs.size,!0),Ts=Es.context,xs=zt.createCanvasGraphics(Ts);xs.groupLevel=f.groupLevel,this.setFillAndStrokeStyleToContext(xs,Ie,St);let Gs=Ht,no=bn,gs=xn,oo=Zt;return Ht<0&&(Gs=0,gs+=Math.abs(Ht)),bn<0&&(no=0,oo+=Math.abs(bn)),Ts.translate(-hs.scale*Gs,-Cs.scale*no),xs.transform(hs.scale,0,0,Cs.scale,0,0),Ts.save(),this.clipBbox(xs,Gs,no,gs,oo),xs.baseTransform=hn(xs.ctx),xs.executeOperatorList(R),xs.endDrawing(),{canvas:Es.canvas,scaleX:hs.scale,scaleY:Cs.scale,offsetX:Gs,offsetY:no}}getSizeAndScale(f,R,J){f=Math.abs(f);const re=Math.max(qe.MAX_PATTERN_SIZE,R);let ve=Math.ceil(f*J);return ve>=re?ve=re:J=ve/f,{scale:J,size:ve}}clipBbox(f,R,J,re,ve){f.ctx.rect(R,J,re-R,ve-J),f.current.updateRectMinMax(hn(f.ctx),[R,J,re,ve]),f.clip(),f.endPath()}setFillAndStrokeStyleToContext(f,R,J){const re=f.ctx,ve=f.current;switch(R){case 1:const Ie=this.ctx;re.fillStyle=Ie.fillStyle,re.strokeStyle=Ie.strokeStyle,ve.fillColor=Ie.fillStyle,ve.strokeColor=Ie.strokeStyle;break;case 2:const Fe=wn.makeHexColor(J[0],J[1],J[2]);re.fillStyle=Fe,re.strokeStyle=Fe,ve.fillColor=Fe,ve.strokeColor=Fe;break;default:throw new ke(`Unsupported paint type: ${R}`)}}getPattern(f,R,J,re){let ve=J;"Shading"!==re&&(ve=wn.transform(ve,R.baseTransform),this.matrix&&(ve=wn.transform(ve,this.matrix)));const Ie=this.createPatternCanvas(R);let Fe=new DOMMatrix(ve);Fe=Fe.translate(Ie.offsetX,Ie.offsetY),Fe=Fe.scale(1/Ie.scaleX,1/Ie.scaleY);const St=f.createPattern(Ie.canvas,"repeat");return St.setTransform(Fe),St}}return qe})();function Yn({src:qe,srcPos:d=0,dest:f,width:R,height:J,nonBlackColor:re=4294967295,inverseDecode:ve=!1}){const Ie=Kt.isLittleEndian?4278190080:255,[Fe,St]=ve?[re,Ie]:[Ie,re],zt=R>>3,Ht=7&R,bn=qe.length;f=new Uint32Array(f.buffer);let xn=0;for(let Zt=0;Zt<J;Zt++){for(const Ki=d+zt;d<Ki;d++){const Pi=d<bn?qe[d]:255;f[xn++]=128&Pi?St:Fe,f[xn++]=64&Pi?St:Fe,f[xn++]=32&Pi?St:Fe,f[xn++]=16&Pi?St:Fe,f[xn++]=8&Pi?St:Fe,f[xn++]=4&Pi?St:Fe,f[xn++]=2&Pi?St:Fe,f[xn++]=1&Pi?St:Fe}if(0===Ht)continue;const Mi=d<bn?qe[d++]:255;for(let Ki=0;Ki<Ht;Ki++)f[xn++]=Mi&1<<7-Ki?St:Fe}return{srcPos:d,destPos:xn}}class Ol{constructor(d){this.canvasFactory=d,this.cache=Object.create(null)}getCanvas(d,f,R){let J;return void 0!==this.cache[d]?(J=this.cache[d],this.canvasFactory.reset(J,f,R)):(J=this.canvasFactory.create(f,R),this.cache[d]=J),J}delete(d){delete this.cache[d]}clear(){for(const d in this.cache)this.canvasFactory.destroy(this.cache[d]),delete this.cache[d]}}function Wa(qe,d,f,R,J,re,ve,Ie,Fe,St){const[zt,Ht,bn,xn,Zt,Mi]=hn(qe);if(0===Ht&&0===bn){const Cs=Math.round(ve*zt+Zt),Ts=Math.round(Ie*xn+Mi),Gs=Math.abs(Math.round((ve+Fe)*zt+Zt)-Cs)||1,gs=Math.abs(Math.round((Ie+St)*xn+Mi)-Ts)||1;return qe.setTransform(Math.sign(zt),0,0,Math.sign(xn),Cs,Ts),qe.drawImage(d,f,R,J,re,0,0,Gs,gs),qe.setTransform(zt,Ht,bn,xn,Zt,Mi),[Gs,gs]}if(0===zt&&0===xn){const Cs=Math.round(Ie*bn+Zt),Ts=Math.round(ve*Ht+Mi),Gs=Math.abs(Math.round((Ie+St)*bn+Zt)-Cs)||1,gs=Math.abs(Math.round((ve+Fe)*Ht+Mi)-Ts)||1;return qe.setTransform(0,Math.sign(Ht),Math.sign(bn),0,Cs,Ts),qe.drawImage(d,f,R,J,re,0,0,gs,Gs),qe.setTransform(zt,Ht,bn,xn,Zt,Mi),[gs,Gs]}return qe.drawImage(d,f,R,J,re,ve,Ie,Fe,St),[Math.hypot(zt,Ht)*Fe,Math.hypot(bn,xn)*St]}class p0{constructor(d,f){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=C,this.textMatrixScale=1,this.fontMatrix=w,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=0,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps="none",this.startNewPathAndClipBox([0,0,d,f])}clone(){const d=Object.create(this);return d.clipBox=this.clipBox.slice(),d}setCurrentPoint(d,f){this.x=d,this.y=f}updatePathMinMax(d,f,R){[f,R]=wn.applyTransform([f,R],d),this.minX=Math.min(this.minX,f),this.minY=Math.min(this.minY,R),this.maxX=Math.max(this.maxX,f),this.maxY=Math.max(this.maxY,R)}updateRectMinMax(d,f){const R=wn.applyTransform(f,d),J=wn.applyTransform(f.slice(2),d),re=wn.applyTransform([f[0],f[3]],d),ve=wn.applyTransform([f[2],f[1]],d);this.minX=Math.min(this.minX,R[0],J[0],re[0],ve[0]),this.minY=Math.min(this.minY,R[1],J[1],re[1],ve[1]),this.maxX=Math.max(this.maxX,R[0],J[0],re[0],ve[0]),this.maxY=Math.max(this.maxY,R[1],J[1],re[1],ve[1])}updateScalingPathMinMax(d,f){wn.scaleMinMax(d,f),this.minX=Math.min(this.minX,f[0]),this.minY=Math.min(this.minY,f[1]),this.maxX=Math.max(this.maxX,f[2]),this.maxY=Math.max(this.maxY,f[3])}updateCurvePathMinMax(d,f,R,J,re,ve,Ie,Fe,St,zt){const Ht=wn.bezierBoundingBox(f,R,J,re,ve,Ie,Fe,St,zt);zt||this.updateRectMinMax(d,Ht)}getPathBoundingBox(d="Fill",f=null){const R=[this.minX,this.minY,this.maxX,this.maxY];if("Stroke"===d){f||$e("Stroke bounding box must include transform.");const J=wn.singularValueDecompose2dScale(f),re=J[0]*this.lineWidth/2,ve=J[1]*this.lineWidth/2;R[0]-=re,R[1]-=ve,R[2]+=re,R[3]+=ve}return R}updateClipFromPath(){const d=wn.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(d||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(d){this.clipBox=d,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(d="Fill",f=null){return wn.intersect(this.clipBox,this.getPathBoundingBox(d,f))}}function Tr(qe,d){if(typeof ImageData<"u"&&d instanceof ImageData)return void qe.putImageData(d,0,0);const f=d.height,R=d.width,J=f%16,re=(f-J)/16,ve=0===J?re:re+1,Ie=qe.createImageData(R,16);let St,Fe=0;const zt=d.data,Ht=Ie.data;let bn,xn,Zt,Mi;if(d.kind===H.GRAYSCALE_1BPP){const Ki=zt.byteLength,Pi=new Uint32Array(Ht.buffer,0,Ht.byteLength>>2),hs=Pi.length,Cs=R+7>>3,Es=4294967295,Ts=Kt.isLittleEndian?4278190080:255;for(bn=0;bn<ve;bn++){for(Zt=bn<re?16:J,St=0,xn=0;xn<Zt;xn++){const xs=Ki-Fe;let Gs=0;const no=xs>Cs?R:8*xs-7,gs=-8&no;let oo=0,ko=0;for(;Gs<gs;Gs+=8)ko=zt[Fe++],Pi[St++]=128&ko?Es:Ts,Pi[St++]=64&ko?Es:Ts,Pi[St++]=32&ko?Es:Ts,Pi[St++]=16&ko?Es:Ts,Pi[St++]=8&ko?Es:Ts,Pi[St++]=4&ko?Es:Ts,Pi[St++]=2&ko?Es:Ts,Pi[St++]=1&ko?Es:Ts;for(;Gs<no;Gs++)0===oo&&(ko=zt[Fe++],oo=128),Pi[St++]=ko&oo?Es:Ts,oo>>=1}for(;St<hs;)Pi[St++]=0;qe.putImageData(Ie,0,16*bn)}}else if(d.kind===H.RGBA_32BPP){for(xn=0,Mi=16*R*4,bn=0;bn<re;bn++)Ht.set(zt.subarray(Fe,Fe+Mi)),Fe+=Mi,qe.putImageData(Ie,0,xn),xn+=16;bn<ve&&(Mi=R*J*4,Ht.set(zt.subarray(Fe,Fe+Mi)),qe.putImageData(Ie,0,xn))}else{if(d.kind!==H.RGB_24BPP)throw new Error(`bad image kind: ${d.kind}`);for(Zt=16,Mi=R*Zt,bn=0;bn<ve;bn++){for(bn>=re&&(Zt=J,Mi=R*Zt),St=0,xn=Mi;xn--;)Ht[St++]=zt[Fe++],Ht[St++]=zt[Fe++],Ht[St++]=zt[Fe++],Ht[St++]=255;qe.putImageData(Ie,0,16*bn)}}}function Ta(qe,d){if(d.bitmap)return void qe.drawImage(d.bitmap,0,0);const f=d.height,R=d.width,J=f%16,re=(f-J)/16,ve=0===J?re:re+1,Ie=qe.createImageData(R,16);let Fe=0;const St=d.data,zt=Ie.data;for(let Ht=0;Ht<ve;Ht++){const bn=Ht<re?16:J;({srcPos:Fe}=Yn({src:St,srcPos:Fe,dest:zt,width:R,height:bn,nonBlackColor:0})),qe.putImageData(Ie,0,16*Ht)}}function Ao(qe,d){const f=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font","filter"];for(const R of f)void 0!==qe[R]&&(d[R]=qe[R]);void 0!==qe.setLineDash&&(d.setLineDash(qe.getLineDash()),d.lineDashOffset=qe.lineDashOffset)}function Da(qe){if(qe.strokeStyle=qe.fillStyle="#000000",qe.fillRule="nonzero",qe.globalAlpha=1,qe.lineWidth=1,qe.lineCap="butt",qe.lineJoin="miter",qe.miterLimit=10,qe.globalCompositeOperation="source-over",qe.font="10px sans-serif",void 0!==qe.setLineDash&&(qe.setLineDash([]),qe.lineDashOffset=0),!o){const{filter:d}=qe;"none"!==d&&""!==d&&(qe.filter="none")}}function y0(qe,d){if(d)return!0;const f=wn.singularValueDecompose2dScale(qe);f[0]=Math.fround(f[0]),f[1]=Math.fround(f[1]);const R=Math.fround((globalThis.devicePixelRatio||1)*ln.PDF_TO_CSS_UNITS);return f[0]<=R&&f[1]<=R}const ma=["butt","round","square"],Lr=["miter","round","bevel"],Ia={},Vs={};class Ar{constructor(d,f,R,J,re,{optionalContentConfig:ve,markedContentStack:Ie=null},Fe,St){this.ctx=d,this.current=new p0(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=f,this.objs=R,this.canvasFactory=J,this.filterFactory=re,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=Ie||[],this.optionalContentConfig=ve,this.cachedCanvases=new Ol(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=Fe,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.pageColors=St,this._cachedScaleForStroking=[-1,0],this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(d,f=null){return"string"==typeof d?d.startsWith("g_")?this.commonObjs.get(d):this.objs.get(d):f}beginDrawing({transform:d,viewport:f,transparency:R=!1,background:J=null}){const re=this.ctx.canvas.width,ve=this.ctx.canvas.height,Ie=this.ctx.fillStyle;if(this.ctx.fillStyle=J||"#ffffff",this.ctx.fillRect(0,0,re,ve),this.ctx.fillStyle=Ie,R){const Fe=this.cachedCanvases.getCanvas("transparent",re,ve);this.compositeCtx=this.ctx,this.transparentCanvas=Fe.canvas,this.ctx=Fe.context,this.ctx.save(),this.ctx.transform(...hn(this.compositeCtx))}this.ctx.save(),Da(this.ctx),d&&(this.ctx.transform(...d),this.outputScaleX=d[0],this.outputScaleY=d[0]),this.ctx.transform(...f.transform),this.viewportScale=f.scale,this.baseTransform=hn(this.ctx)}executeOperatorList(d,f,R,J){const re=d.argsArray,ve=d.fnArray;let Ie=f||0;const Fe=re.length;if(Fe===Ie)return Ie;const St=Fe-Ie>10&&"function"==typeof R,zt=St?Date.now()+15:0;let Ht=0;const bn=this.commonObjs,xn=this.objs;let Zt;for(;;){if(void 0!==J&&Ie===J.nextBreakPoint)return J.breakIt(Ie,R),Ie;if(Zt=ve[Ie],Zt!==me.dependency)this[Zt].apply(this,re[Ie]);else for(const Mi of re[Ie]){const Ki=Mi.startsWith("g_")?bn:xn;if(!Ki.has(Mi))return Ki.get(Mi,R),Ie}if(Ie++,Ie===Fe)return Ie;if(St&&++Ht>10){if(Date.now()>zt)return R(),Ie;Ht=0}}}#e(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.current.activeSMask=null,this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){this.#e(),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const d of this._cachedBitmapsMap.values()){for(const f of d.values())typeof HTMLCanvasElement<"u"&&f instanceof HTMLCanvasElement&&(f.width=f.height=0);d.clear()}this._cachedBitmapsMap.clear(),this.#t()}#t(){if(this.pageColors){const d=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if("none"!==d){const f=this.ctx.filter;this.ctx.filter=d,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=f}}}_scaleImage(d,f){const R=d.width,J=d.height;let zt,Ht,re=Math.max(Math.hypot(f[0],f[1]),1),ve=Math.max(Math.hypot(f[2],f[3]),1),Ie=R,Fe=J,St="prescale1";for(;re>2&&Ie>1||ve>2&&Fe>1;){let bn=Ie,xn=Fe;re>2&&Ie>1&&(bn=Ie>=16384?Math.floor(Ie/2)-1||1:Math.ceil(Ie/2),re/=Ie/bn),ve>2&&Fe>1&&(xn=Fe>=16384?Math.floor(Fe/2)-1||1:Math.ceil(Fe)/2,ve/=Fe/xn),zt=this.cachedCanvases.getCanvas(St,bn,xn),Ht=zt.context,Ht.clearRect(0,0,bn,xn),Ht.drawImage(d,0,0,Ie,Fe,0,0,bn,xn),d=zt.canvas,Ie=bn,Fe=xn,St="prescale1"===St?"prescale2":"prescale1"}return{img:d,paintWidth:Ie,paintHeight:Fe}}_createMaskCanvas(d){const f=this.ctx,{width:R,height:J}=d,re=this.current.fillColor,ve=this.current.patternFill,Ie=hn(f);let Fe,St,zt,Ht;if((d.bitmap||d.data)&&d.count>1){const no=d.bitmap||d.data.buffer;St=JSON.stringify(ve?Ie:[Ie.slice(0,4),re]),Fe=this._cachedBitmapsMap.get(no),Fe||(Fe=new Map,this._cachedBitmapsMap.set(no,Fe));const gs=Fe.get(St);if(gs&&!ve)return{canvas:gs,offsetX:Math.round(Math.min(Ie[0],Ie[2])+Ie[4]),offsetY:Math.round(Math.min(Ie[1],Ie[3])+Ie[5])};zt=gs}zt||(Ht=this.cachedCanvases.getCanvas("maskCanvas",R,J),Ta(Ht.context,d));let bn=wn.transform(Ie,[1/R,0,0,-1/J,0,0]);bn=wn.transform(bn,[1,0,0,1,0,-J]);const[xn,Zt,Mi,Ki]=wn.getAxialAlignedBoundingBox([0,0,R,J],bn),Pi=Math.round(Mi-xn)||1,hs=Math.round(Ki-Zt)||1,Cs=this.cachedCanvases.getCanvas("fillCanvas",Pi,hs),Es=Cs.context,Ts=xn,xs=Zt;Es.translate(-Ts,-xs),Es.transform(...bn),zt||(zt=this._scaleImage(Ht.canvas,Bn(Es)),zt=zt.img,Fe&&ve&&Fe.set(St,zt)),Es.imageSmoothingEnabled=y0(hn(Es),d.interpolate),Wa(Es,zt,0,0,zt.width,zt.height,0,0,R,J),Es.globalCompositeOperation="source-in";const Gs=wn.transform(Bn(Es),[1,0,0,1,-Ts,-xs]);return Es.fillStyle=ve?re.getPattern(f,this,Gs,"Fill"):re,Es.fillRect(0,0,R,J),Fe&&!ve&&(this.cachedCanvases.delete("fillCanvas"),Fe.set(St,Cs.canvas)),{canvas:Cs.canvas,offsetX:Math.round(Ts),offsetY:Math.round(xs)}}setLineWidth(d){d!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=d,this.ctx.lineWidth=d}setLineCap(d){this.ctx.lineCap=ma[d]}setLineJoin(d){this.ctx.lineJoin=Lr[d]}setMiterLimit(d){this.ctx.miterLimit=d}setDash(d,f){const R=this.ctx;void 0!==R.setLineDash&&(R.setLineDash(d),R.lineDashOffset=f)}setRenderingIntent(d){}setFlatness(d){}setGState(d){for(const[f,R]of d)switch(f){case"LW":this.setLineWidth(R);break;case"LC":this.setLineCap(R);break;case"LJ":this.setLineJoin(R);break;case"ML":this.setMiterLimit(R);break;case"D":this.setDash(R[0],R[1]);break;case"RI":this.setRenderingIntent(R);break;case"FL":this.setFlatness(R);break;case"Font":this.setFont(R[0],R[1]);break;case"CA":this.current.strokeAlpha=R;break;case"ca":this.current.fillAlpha=R,this.ctx.globalAlpha=R;break;case"BM":this.ctx.globalCompositeOperation=R;break;case"SMask":this.current.activeSMask=R?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(R)}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const d=this.inSMaskMode;this.current.activeSMask&&!d?this.beginSMaskMode():!this.current.activeSMask&&d&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const J=this.cachedCanvases.getCanvas("smaskGroupAt"+this.groupLevel,this.ctx.canvas.width,this.ctx.canvas.height);this.suspendedCtx=this.ctx,this.ctx=J.context;const re=this.ctx;re.setTransform(...hn(this.suspendedCtx)),Ao(this.suspendedCtx,re),function cl(qe,d){if(qe._removeMirroring)throw new Error("Context is already forwarding operations.");qe.__originalSave=qe.save,qe.__originalRestore=qe.restore,qe.__originalRotate=qe.rotate,qe.__originalScale=qe.scale,qe.__originalTranslate=qe.translate,qe.__originalTransform=qe.transform,qe.__originalSetTransform=qe.setTransform,qe.__originalResetTransform=qe.resetTransform,qe.__originalClip=qe.clip,qe.__originalMoveTo=qe.moveTo,qe.__originalLineTo=qe.lineTo,qe.__originalBezierCurveTo=qe.bezierCurveTo,qe.__originalRect=qe.rect,qe.__originalClosePath=qe.closePath,qe.__originalBeginPath=qe.beginPath,qe._removeMirroring=()=>{qe.save=qe.__originalSave,qe.restore=qe.__originalRestore,qe.rotate=qe.__originalRotate,qe.scale=qe.__originalScale,qe.translate=qe.__originalTranslate,qe.transform=qe.__originalTransform,qe.setTransform=qe.__originalSetTransform,qe.resetTransform=qe.__originalResetTransform,qe.clip=qe.__originalClip,qe.moveTo=qe.__originalMoveTo,qe.lineTo=qe.__originalLineTo,qe.bezierCurveTo=qe.__originalBezierCurveTo,qe.rect=qe.__originalRect,qe.closePath=qe.__originalClosePath,qe.beginPath=qe.__originalBeginPath,delete qe._removeMirroring},qe.save=function(){d.save(),this.__originalSave()},qe.restore=function(){d.restore(),this.__originalRestore()},qe.translate=function(R,J){d.translate(R,J),this.__originalTranslate(R,J)},qe.scale=function(R,J){d.scale(R,J),this.__originalScale(R,J)},qe.transform=function(R,J,re,ve,Ie,Fe){d.transform(R,J,re,ve,Ie,Fe),this.__originalTransform(R,J,re,ve,Ie,Fe)},qe.setTransform=function(R,J,re,ve,Ie,Fe){d.setTransform(R,J,re,ve,Ie,Fe),this.__originalSetTransform(R,J,re,ve,Ie,Fe)},qe.resetTransform=function(){d.resetTransform(),this.__originalResetTransform()},qe.rotate=function(R){d.rotate(R),this.__originalRotate(R)},qe.clip=function(R){d.clip(R),this.__originalClip(R)},qe.moveTo=function(f,R){d.moveTo(f,R),this.__originalMoveTo(f,R)},qe.lineTo=function(f,R){d.lineTo(f,R),this.__originalLineTo(f,R)},qe.bezierCurveTo=function(f,R,J,re,ve,Ie){d.bezierCurveTo(f,R,J,re,ve,Ie),this.__originalBezierCurveTo(f,R,J,re,ve,Ie)},qe.rect=function(f,R,J,re){d.rect(f,R,J,re),this.__originalRect(f,R,J,re)},qe.closePath=function(){d.closePath(),this.__originalClosePath()},qe.beginPath=function(){d.beginPath(),this.__originalBeginPath()}}(re,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),Ao(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(d){this.current.activeSMask&&(d?(d[0]=Math.floor(d[0]),d[1]=Math.floor(d[1]),d[2]=Math.ceil(d[2]),d[3]=Math.ceil(d[3])):d=[0,0,this.ctx.canvas.width,this.ctx.canvas.height],this.composeSMask(this.suspendedCtx,this.current.activeSMask,this.ctx,d),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore())}composeSMask(d,f,R,J){const re=J[0],ve=J[1],Ie=J[2]-re,Fe=J[3]-ve;0===Ie||0===Fe||(this.genericComposeSMask(f.context,R,Ie,Fe,f.subtype,f.backdrop,f.transferMap,re,ve,f.offsetX,f.offsetY),d.save(),d.globalAlpha=1,d.globalCompositeOperation="source-over",d.setTransform(1,0,0,1,0,0),d.drawImage(R.canvas,0,0),d.restore())}genericComposeSMask(d,f,R,J,re,ve,Ie,Fe,St,zt,Ht){let bn=d.canvas,xn=Fe-zt,Zt=St-Ht;if(ve)if(xn<0||Zt<0||xn+R>bn.width||Zt+J>bn.height){const Ki=this.cachedCanvases.getCanvas("maskExtension",R,J),Pi=Ki.context;Pi.drawImage(bn,-xn,-Zt),ve.some(hs=>0!==hs)&&(Pi.globalCompositeOperation="destination-atop",Pi.fillStyle=wn.makeHexColor(...ve),Pi.fillRect(0,0,R,J),Pi.globalCompositeOperation="source-over"),bn=Ki.canvas,xn=Zt=0}else if(ve.some(Ki=>0!==Ki)){d.save(),d.globalAlpha=1,d.setTransform(1,0,0,1,0,0);const Ki=new Path2D;Ki.rect(xn,Zt,R,J),d.clip(Ki),d.globalCompositeOperation="destination-atop",d.fillStyle=wn.makeHexColor(...ve),d.fillRect(xn,Zt,R,J),d.restore()}f.save(),f.globalAlpha=1,f.setTransform(1,0,0,1,0,0),"Alpha"===re&&Ie?f.filter=this.filterFactory.addAlphaFilter(Ie):"Luminosity"===re&&(f.filter=this.filterFactory.addLuminosityFilter(Ie));const Mi=new Path2D;Mi.rect(Fe,St,R,J),f.clip(Mi),f.globalCompositeOperation="destination-in",f.drawImage(bn,xn,Zt,R,J,Fe,St,R,J),f.restore()}save(){this.inSMaskMode?(Ao(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();const d=this.current;this.stateStack.push(d),this.current=d.clone()}restore(){0===this.stateStack.length&&this.inSMaskMode&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),Ao(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}transform(d,f,R,J,re,ve){this.ctx.transform(d,f,R,J,re,ve),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(d,f,R){const J=this.ctx,re=this.current;let Fe,St,ve=re.x,Ie=re.y;const zt=hn(J),Ht=0===zt[0]&&0===zt[3]||0===zt[1]&&0===zt[2],bn=Ht?R.slice(0):null;for(let xn=0,Zt=0,Mi=d.length;xn<Mi;xn++)switch(0|d[xn]){case me.rectangle:ve=f[Zt++],Ie=f[Zt++];const Ki=f[Zt++],Pi=f[Zt++],hs=ve+Ki,Cs=Ie+Pi;J.moveTo(ve,Ie),0===Ki||0===Pi?J.lineTo(hs,Cs):(J.lineTo(hs,Ie),J.lineTo(hs,Cs),J.lineTo(ve,Cs)),Ht||re.updateRectMinMax(zt,[ve,Ie,hs,Cs]),J.closePath();break;case me.moveTo:ve=f[Zt++],Ie=f[Zt++],J.moveTo(ve,Ie),Ht||re.updatePathMinMax(zt,ve,Ie);break;case me.lineTo:ve=f[Zt++],Ie=f[Zt++],J.lineTo(ve,Ie),Ht||re.updatePathMinMax(zt,ve,Ie);break;case me.curveTo:Fe=ve,St=Ie,ve=f[Zt+4],Ie=f[Zt+5],J.bezierCurveTo(f[Zt],f[Zt+1],f[Zt+2],f[Zt+3],ve,Ie),re.updateCurvePathMinMax(zt,Fe,St,f[Zt],f[Zt+1],f[Zt+2],f[Zt+3],ve,Ie,bn),Zt+=6;break;case me.curveTo2:Fe=ve,St=Ie,J.bezierCurveTo(ve,Ie,f[Zt],f[Zt+1],f[Zt+2],f[Zt+3]),re.updateCurvePathMinMax(zt,Fe,St,ve,Ie,f[Zt],f[Zt+1],f[Zt+2],f[Zt+3],bn),ve=f[Zt+2],Ie=f[Zt+3],Zt+=4;break;case me.curveTo3:Fe=ve,St=Ie,ve=f[Zt+2],Ie=f[Zt+3],J.bezierCurveTo(f[Zt],f[Zt+1],ve,Ie,ve,Ie),re.updateCurvePathMinMax(zt,Fe,St,f[Zt],f[Zt+1],ve,Ie,ve,Ie,bn),Zt+=4;break;case me.closePath:J.closePath()}Ht&&re.updateScalingPathMinMax(zt,bn),re.setCurrentPoint(ve,Ie)}closePath(){this.ctx.closePath()}stroke(d=!0){const f=this.ctx,R=this.current.strokeColor;f.globalAlpha=this.current.strokeAlpha,this.contentVisible&&("object"==typeof R&&R?.getPattern?(f.save(),f.strokeStyle=R.getPattern(f,this,Bn(f),"Stroke"),this.rescaleAndStroke(!1),f.restore()):this.rescaleAndStroke(!0)),d&&this.consumePath(this.current.getClippedPathBoundingBox()),f.globalAlpha=this.current.fillAlpha}closeStroke(){this.closePath(),this.stroke()}fill(d=!0){const f=this.ctx,R=this.current.fillColor;let re=!1;this.current.patternFill&&(f.save(),f.fillStyle=R.getPattern(f,this,Bn(f),"Fill"),re=!0);const ve=this.current.getClippedPathBoundingBox();this.contentVisible&&null!==ve&&(this.pendingEOFill?(f.fill("evenodd"),this.pendingEOFill=!1):f.fill()),re&&f.restore(),d&&this.consumePath(ve)}eoFill(){this.pendingEOFill=!0,this.fill()}fillStroke(){this.fill(!1),this.stroke(!1),this.consumePath()}eoFillStroke(){this.pendingEOFill=!0,this.fillStroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}endPath(){this.consumePath()}clip(){this.pendingClip=Ia}eoClip(){this.pendingClip=Vs}beginText(){this.current.textMatrix=C,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}endText(){const d=this.pendingTextPaths,f=this.ctx;if(void 0!==d){f.save(),f.beginPath();for(const R of d)f.setTransform(...R.transform),f.translate(R.x,R.y),R.addToPath(f,R.fontSize);f.restore(),f.clip(),f.beginPath(),delete this.pendingTextPaths}else f.beginPath()}setCharSpacing(d){this.current.charSpacing=d}setWordSpacing(d){this.current.wordSpacing=d}setHScale(d){this.current.textHScale=d/100}setLeading(d){this.current.leading=-d}setFont(d,f){const R=this.commonObjs.get(d),J=this.current;if(!R)throw new Error(`Can't find font for ${d}`);if(J.fontMatrix=R.fontMatrix||w,(0===J.fontMatrix[0]||0===J.fontMatrix[3])&&Pe("Invalid font matrix for font "+d),f<0?(f=-f,J.fontDirection=-1):J.fontDirection=1,this.current.font=R,this.current.fontSize=f,R.isType3Font)return;const re=R.loadedName||"sans-serif",ve=R.systemFontInfo?.css||`"${re}", ${R.fallbackName}`;let Ie="normal";R.black?Ie="900":R.bold&&(Ie="bold");const Fe=R.italic?"italic":"normal";let St=f;f<16?St=16:f>100&&(St=100),this.current.fontSizeScale=f/St,this.ctx.font=`${Fe} ${Ie} ${St}px ${ve}`}setTextRenderingMode(d){this.current.textRenderingMode=d}setTextRise(d){this.current.textRise=d}moveText(d,f){this.current.x=this.current.lineX+=d,this.current.y=this.current.lineY+=f}setLeadingMoveText(d,f){this.setLeading(-f),this.moveText(d,f)}setTextMatrix(d,f,R,J,re,ve){this.current.textMatrix=[d,f,R,J,re,ve],this.current.textMatrixScale=Math.hypot(d,f),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(d,f,R,J){const re=this.ctx,ve=this.current,Ie=ve.font,Fe=ve.textRenderingMode,St=ve.fontSize/ve.fontSizeScale,zt=3&Fe,Ht=!!(4&Fe),bn=ve.patternFill&&!Ie.missingFile;let xn;(Ie.disableFontFace||Ht||bn)&&(xn=Ie.getPathGenerator(this.commonObjs,d)),Ie.disableFontFace||bn?(re.save(),re.translate(f,R),re.beginPath(),xn(re,St),J&&re.setTransform(...J),(0===zt||2===zt)&&re.fill(),(1===zt||2===zt)&&re.stroke(),re.restore()):((0===zt||2===zt)&&re.fillText(d,f,R),(1===zt||2===zt)&&re.strokeText(d,f,R)),Ht&&(this.pendingTextPaths||=[]).push({transform:hn(re),x:f,y:R,fontSize:St,addToPath:xn})}get isFontSubpixelAAEnabled(){const{context:d}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);d.scale(1.5,1),d.fillText("I",0,10);const f=d.getImageData(0,0,10,10).data;let R=!1;for(let J=3;J<f.length;J+=4)if(f[J]>0&&f[J]<255){R=!0;break}return Ct(this,"isFontSubpixelAAEnabled",R)}showText(d){const f=this.current,R=f.font;if(R.isType3Font)return this.showType3Text(d);const J=f.fontSize;if(0===J)return;const re=this.ctx,ve=f.fontSizeScale,Ie=f.charSpacing,Fe=f.wordSpacing,St=f.fontDirection,zt=f.textHScale*St,Ht=d.length,bn=R.vertical,xn=bn?1:-1,Zt=R.defaultVMetrics,Mi=J*f.fontMatrix[0],Ki=0===f.textRenderingMode&&!R.disableFontFace&&!f.patternFill;let Pi;if(re.save(),re.transform(...f.textMatrix),re.translate(f.x,f.y+f.textRise),re.scale(zt,St>0?-1:1),f.patternFill){re.save();const xs=f.fillColor.getPattern(re,this,Bn(re),"Fill");Pi=hn(re),re.restore(),re.fillStyle=xs}let hs=f.lineWidth;const Cs=f.textMatrixScale;if(0===Cs||0===hs){const xs=3&f.textRenderingMode;(1===xs||2===xs)&&(hs=this.getSinglePixelWidth())}else hs/=Cs;if(1!==ve&&(re.scale(ve,ve),hs/=ve),re.lineWidth=hs,R.isInvalidPDFjsFont){const xs=[];let Gs=0;for(const no of d)xs.push(no.unicode),Gs+=no.width;return re.fillText(xs.join(""),0,0),f.x+=Gs*Mi*zt,re.restore(),void this.compose()}let Ts,Es=0;for(Ts=0;Ts<Ht;++Ts){const xs=d[Ts];if("number"==typeof xs){Es+=xn*xs*J/1e3;continue}let Gs=!1;const no=(xs.isSpace?Fe:0)+Ie,gs=xs.fontChar,oo=xs.accent;let ko,A1,sa=xs.width;if(bn){const x1=xs.vmetric||Zt,Fc=-(xs.vmetric?x1[1]:.5*sa)*Mi;sa=x1?-x1[0]:sa,ko=Fc/ve,A1=(Es+x1[2]*Mi)/ve}else ko=Es/ve,A1=0;if(R.remeasure&&sa>0){const x1=1e3*re.measureText(gs).width/J*ve;if(sa<x1&&this.isFontSubpixelAAEnabled){const Fc=sa/x1;Gs=!0,re.save(),re.scale(Fc,1),ko/=Fc}else sa!==x1&&(ko+=(sa-x1)/2e3*J/ve)}this.contentVisible&&(xs.isInFont||R.missingFile)&&(Ki&&!oo?re.fillText(gs,ko,A1):(this.paintChar(gs,ko,A1,Pi),oo&&this.paintChar(oo.fontChar,ko+J*oo.offset.x/ve,A1-J*oo.offset.y/ve,Pi))),Es+=bn?sa*Mi-no*St:sa*Mi+no*St,Gs&&re.restore()}bn?f.y-=Es:f.x+=Es*zt,re.restore(),this.compose()}showType3Text(d){const f=this.ctx,R=this.current,J=R.font,re=R.fontSize,ve=R.fontDirection,Ie=J.vertical?1:-1,Fe=R.charSpacing,St=R.wordSpacing,zt=R.textHScale*ve,Ht=R.fontMatrix||w,bn=d.length;let Zt,Mi,Ki,Pi;if(3!==R.textRenderingMode&&0!==re){for(this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,f.save(),f.transform(...R.textMatrix),f.translate(R.x,R.y),f.scale(zt,ve),Zt=0;Zt<bn;++Zt){if(Mi=d[Zt],"number"==typeof Mi){Pi=Ie*Mi*re/1e3,this.ctx.translate(Pi,0),R.x+=Pi*zt;continue}const hs=(Mi.isSpace?St:0)+Fe,Cs=J.charProcOperatorList[Mi.operatorListId];Cs?(this.contentVisible&&(this.processingType3=Mi,this.save(),f.scale(re,re),f.transform(...Ht),this.executeOperatorList(Cs),this.restore()),Ki=wn.applyTransform([Mi.width,0],Ht)[0]*re+hs,f.translate(Ki,0),R.x+=Ki*zt):Pe(`Type3 character "${Mi.operatorListId}" is not available.`)}f.restore(),this.processingType3=null}}setCharWidth(d,f){}setCharWidthAndBounds(d,f,R,J,re,ve){this.ctx.rect(R,J,re-R,ve-J),this.ctx.clip(),this.endPath()}getColorN_Pattern(d){let f;if("TilingPattern"===d[0]){const R=d[1],J=this.baseTransform||hn(this.ctx);f=new za(d,R,this.ctx,{createCanvasGraphics:ve=>new Ar(ve,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})},J)}else f=this._getPattern(d[1],d[2]);return f}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(d,f,R){this.ctx.strokeStyle=this.current.strokeColor=wn.makeHexColor(d,f,R)}setStrokeTransparent(){this.ctx.strokeStyle=this.current.strokeColor="transparent"}setFillRGBColor(d,f,R){this.ctx.fillStyle=this.current.fillColor=wn.makeHexColor(d,f,R),this.current.patternFill=!1}setFillTransparent(){this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}_getPattern(d,f=null){let R;return this.cachedPatterns.has(d)?R=this.cachedPatterns.get(d):(R=function Ks(qe){switch(qe[0]){case"RadialAxial":return new bi(qe);case"Mesh":return new Ei(qe);case"Dummy":return new fi}throw new Error(`Unknown IR type: ${qe[0]}`)}(this.getObject(d)),this.cachedPatterns.set(d,R)),f&&(R.matrix=f),R}shadingFill(d){if(!this.contentVisible)return;const f=this.ctx;this.save();const R=this._getPattern(d);f.fillStyle=R.getPattern(f,this,Bn(f),"Shading");const J=Bn(f);if(J){const{width:re,height:ve}=f.canvas,[Ie,Fe,St,zt]=wn.getAxialAlignedBoundingBox([0,0,re,ve],J);this.ctx.fillRect(Ie,Fe,St-Ie,zt-Fe)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){$e("Should not call beginInlineImage")}beginImageData(){$e("Should not call beginImageData")}paintFormXObjectBegin(d,f){this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),d&&this.transform(...d),this.baseTransform=hn(this.ctx),f)&&(this.ctx.rect(f[0],f[1],f[2]-f[0],f[3]-f[1]),this.current.updateRectMinMax(hn(this.ctx),f),this.clip(),this.endPath())}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(d){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const f=this.ctx;d.isolated||Xe("TODO: Support non-isolated groups."),d.knockout&&Pe("Knockout groups not supported.");const R=hn(f);if(d.matrix&&f.transform(...d.matrix),!d.bbox)throw new Error("Bounding box is required.");let J=wn.getAxialAlignedBoundingBox(d.bbox,hn(f));J=wn.intersect(J,[0,0,f.canvas.width,f.canvas.height])||[0,0,0,0];const ve=Math.floor(J[0]),Ie=Math.floor(J[1]),Fe=Math.max(Math.ceil(J[2])-ve,1),St=Math.max(Math.ceil(J[3])-Ie,1);this.current.startNewPathAndClipBox([0,0,Fe,St]);let zt="groupAt"+this.groupLevel;d.smask&&(zt+="_smask_"+this.smaskCounter++%2);const Ht=this.cachedCanvases.getCanvas(zt,Fe,St),bn=Ht.context;bn.translate(-ve,-Ie),bn.transform(...R),d.smask?this.smaskStack.push({canvas:Ht.canvas,context:bn,offsetX:ve,offsetY:Ie,subtype:d.smask.subtype,backdrop:d.smask.backdrop,transferMap:d.smask.transferMap||null,startTransformInverse:null}):(f.setTransform(1,0,0,1,0,0),f.translate(ve,Ie),f.save()),Ao(f,bn),this.ctx=bn,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(f),this.groupLevel++}endGroup(d){if(!this.contentVisible)return;this.groupLevel--;const f=this.ctx,R=this.groupStack.pop();if(this.ctx=R,this.ctx.imageSmoothingEnabled=!1,d.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const J=hn(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...J);const re=wn.getAxialAlignedBoundingBox([0,0,f.canvas.width,f.canvas.height],J);this.ctx.drawImage(f.canvas,0,0),this.ctx.restore(),this.compose(re)}}beginAnnotation(d,f,R,J,re){if(this.#e(),Da(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),f){const ve=f[2]-f[0],Ie=f[3]-f[1];if(re&&this.annotationCanvasMap){(R=R.slice())[4]-=f[0],R[5]-=f[1],(f=f.slice())[0]=f[1]=0,f[2]=ve,f[3]=Ie;const[Fe,St]=wn.singularValueDecompose2dScale(hn(this.ctx)),{viewportScale:zt}=this,Ht=Math.ceil(ve*this.outputScaleX*zt),bn=Math.ceil(Ie*this.outputScaleY*zt);this.annotationCanvas=this.canvasFactory.create(Ht,bn);const{canvas:xn,context:Zt}=this.annotationCanvas;this.annotationCanvasMap.set(d,xn),this.annotationCanvas.savedCtx=this.ctx,this.ctx=Zt,this.ctx.save(),this.ctx.setTransform(Fe,0,0,-St,0,Ie*St),Da(this.ctx)}else Da(this.ctx),this.ctx.rect(f[0],f[1],ve,Ie),this.ctx.clip(),this.endPath()}this.current=new p0(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...R),this.transform(...J)}endAnnotation(){this.annotationCanvas&&(this.ctx.restore(),this.#t(),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(d){if(!this.contentVisible)return;const f=d.count;(d=this.getObject(d.data,d)).count=f;const R=this.ctx,J=this.processingType3;if(J&&(void 0===J.compiled&&(J.compiled=function Jr(qe){const{width:d,height:f}=qe;if(d>1e3||f>1e3)return null;const J=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),re=d+1;let Ie,Fe,St,ve=new Uint8Array(re*(f+1));const zt=d+7&-8;let Ht=new Uint8Array(zt*f),bn=0;for(const Pi of qe.data){let hs=128;for(;hs>0;)Ht[bn++]=Pi&hs?0:255,hs>>=1}let xn=0;for(bn=0,0!==Ht[bn]&&(ve[0]=1,++xn),Fe=1;Fe<d;Fe++)Ht[bn]!==Ht[bn+1]&&(ve[Fe]=Ht[bn]?2:1,++xn),bn++;for(0!==Ht[bn]&&(ve[Fe]=2,++xn),Ie=1;Ie<f;Ie++){bn=Ie*zt,St=Ie*re,Ht[bn-zt]!==Ht[bn]&&(ve[St]=Ht[bn]?1:8,++xn);let Pi=(Ht[bn]?4:0)+(Ht[bn-zt]?8:0);for(Fe=1;Fe<d;Fe++)Pi=(Pi>>2)+(Ht[bn+1]?4:0)+(Ht[bn-zt+1]?8:0),J[Pi]&&(ve[St+Fe]=J[Pi],++xn),bn++;if(Ht[bn-zt]!==Ht[bn]&&(ve[St+Fe]=Ht[bn]?2:4,++xn),xn>1e3)return null}for(bn=zt*(f-1),St=Ie*re,0!==Ht[bn]&&(ve[St]=8,++xn),Fe=1;Fe<d;Fe++)Ht[bn]!==Ht[bn+1]&&(ve[St+Fe]=Ht[bn]?4:8,++xn),bn++;if(0!==Ht[bn]&&(ve[St+Fe]=4,++xn),xn>1e3)return null;const Zt=new Int32Array([0,re,-1,0,-re,0,0,0,1]),Mi=new Path2D;for(Ie=0;xn&&Ie<=f;Ie++){let Pi=Ie*re;const hs=Pi+d;for(;Pi<hs&&!ve[Pi];)Pi++;if(Pi===hs)continue;Mi.moveTo(Pi%re,Ie);const Cs=Pi;let Es=ve[Pi];do{const Ts=Zt[Es];do{Pi+=Ts}while(!ve[Pi]);const xs=ve[Pi];5!==xs&&10!==xs?(Es=xs,ve[Pi]=0):(Es=xs&51*Es>>4,ve[Pi]&=Es>>2|Es<<2),Mi.lineTo(Pi%re,Pi/re|0),ve[Pi]||--xn}while(Cs!==Pi);--Ie}return Ht=null,ve=null,function(Pi){Pi.save(),Pi.scale(1/d,-1/f),Pi.translate(0,-f),Pi.fill(Mi),Pi.beginPath(),Pi.restore()}}(d)),J.compiled))return void J.compiled(R);const re=this._createMaskCanvas(d),ve=re.canvas;R.save(),R.setTransform(1,0,0,1,0,0),R.drawImage(ve,re.offsetX,re.offsetY),R.restore(),this.compose()}paintImageMaskXObjectRepeat(d,f,R=0,J=0,re,ve){if(!this.contentVisible)return;d=this.getObject(d.data,d);const Ie=this.ctx;Ie.save();const Fe=hn(Ie);Ie.transform(f,R,J,re,0,0);const St=this._createMaskCanvas(d);Ie.setTransform(1,0,0,1,St.offsetX-Fe[4],St.offsetY-Fe[5]);for(let zt=0,Ht=ve.length;zt<Ht;zt+=2){const bn=wn.transform(Fe,[f,R,J,re,ve[zt],ve[zt+1]]),[xn,Zt]=wn.applyTransform([0,0],bn);Ie.drawImage(St.canvas,xn,Zt)}Ie.restore(),this.compose()}paintImageMaskXObjectGroup(d){if(!this.contentVisible)return;const f=this.ctx,R=this.current.fillColor,J=this.current.patternFill;for(const re of d){const{data:ve,width:Ie,height:Fe,transform:St}=re,zt=this.cachedCanvases.getCanvas("maskCanvas",Ie,Fe),Ht=zt.context;Ht.save(),Ta(Ht,this.getObject(ve,re)),Ht.globalCompositeOperation="source-in",Ht.fillStyle=J?R.getPattern(Ht,this,Bn(f),"Fill"):R,Ht.fillRect(0,0,Ie,Fe),Ht.restore(),f.save(),f.transform(...St),f.scale(1,-1),Wa(f,zt.canvas,0,0,Ie,Fe,0,-1,1,1),f.restore()}this.compose()}paintImageXObject(d){if(!this.contentVisible)return;const f=this.getObject(d);f?this.paintInlineImageXObject(f):Pe("Dependent image isn't ready yet")}paintImageXObjectRepeat(d,f,R,J){if(!this.contentVisible)return;const re=this.getObject(d);if(!re)return void Pe("Dependent image isn't ready yet");const ve=re.width,Ie=re.height,Fe=[];for(let St=0,zt=J.length;St<zt;St+=2)Fe.push({transform:[f,0,0,R,J[St],J[St+1]],x:0,y:0,w:ve,h:Ie});this.paintInlineImageXObjectGroup(re,Fe)}applyTransferMapsToCanvas(d){return"none"!==this.current.transferMaps&&(d.filter=this.current.transferMaps,d.drawImage(d.canvas,0,0),d.filter="none"),d.canvas}applyTransferMapsToBitmap(d){if("none"===this.current.transferMaps)return d.bitmap;const{bitmap:f,width:R,height:J}=d,re=this.cachedCanvases.getCanvas("inlineImage",R,J),ve=re.context;return ve.filter=this.current.transferMaps,ve.drawImage(f,0,0),ve.filter="none",re.canvas}paintInlineImageXObject(d){if(!this.contentVisible)return;const f=d.width,R=d.height,J=this.ctx;if(this.save(),!o){const{filter:Ie}=J;"none"!==Ie&&""!==Ie&&(J.filter="none")}let re;if(J.scale(1/f,-1/R),d.bitmap)re=this.applyTransferMapsToBitmap(d);else if("function"==typeof HTMLElement&&d instanceof HTMLElement||!d.data)re=d;else{const Fe=this.cachedCanvases.getCanvas("inlineImage",f,R).context;Tr(Fe,d),re=this.applyTransferMapsToCanvas(Fe)}const ve=this._scaleImage(re,Bn(J));J.imageSmoothingEnabled=y0(hn(J),d.interpolate),Wa(J,ve.img,0,0,ve.paintWidth,ve.paintHeight,0,-R,f,R),this.compose(),this.restore()}paintInlineImageXObjectGroup(d,f){if(!this.contentVisible)return;const R=this.ctx;let J;if(d.bitmap)J=d.bitmap;else{const Fe=this.cachedCanvases.getCanvas("inlineImage",d.width,d.height).context;Tr(Fe,d),J=this.applyTransferMapsToCanvas(Fe)}for(const re of f)R.save(),R.transform(...re.transform),R.scale(1,-1),Wa(R,J,re.x,re.y,re.w,re.h,0,-1,1,1),R.restore();this.compose()}paintSolidColorImageMask(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}markPoint(d){}markPointProps(d,f){}beginMarkedContent(d){this.markedContentStack.push({visible:!0})}beginMarkedContentProps(d,f){this.markedContentStack.push("OC"===d?{visible:this.optionalContentConfig.isVisible(f)}:{visible:!0}),this.contentVisible=this.isContentVisible()}endMarkedContent(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}beginCompat(){}endCompat(){}consumePath(d){const f=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(d);const R=this.ctx;this.pendingClip&&(f||(this.pendingClip===Vs?R.clip("evenodd"):R.clip()),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),R.beginPath()}getSinglePixelWidth(){if(!this._cachedGetSinglePixelWidth){const d=hn(this.ctx);if(0===d[1]&&0===d[2])this._cachedGetSinglePixelWidth=1/Math.min(Math.abs(d[0]),Math.abs(d[3]));else{const f=Math.abs(d[0]*d[3]-d[2]*d[1]),R=Math.hypot(d[0],d[2]),J=Math.hypot(d[1],d[3]);this._cachedGetSinglePixelWidth=Math.max(R,J)/f}}return this._cachedGetSinglePixelWidth}getScaleForStroking(){if(-1===this._cachedScaleForStroking[0]){const{lineWidth:d}=this.current,{a:f,b:R,c:J,d:re}=this.ctx.getTransform();let ve,Ie;if(0===R&&0===J){const Fe=Math.abs(f),St=Math.abs(re);if(Fe===St)if(0===d)ve=Ie=1/Fe;else{const zt=Fe*d;ve=Ie=zt<1?1/zt:1}else if(0===d)ve=1/Fe,Ie=1/St;else{const zt=Fe*d,Ht=St*d;ve=zt<1?1/zt:1,Ie=Ht<1?1/Ht:1}}else{const Fe=Math.abs(f*re-R*J),St=Math.hypot(f,R),zt=Math.hypot(J,re);if(0===d)ve=zt/Fe,Ie=St/Fe;else{const Ht=d*Fe;ve=zt>Ht?zt/Ht:1,Ie=St>Ht?St/Ht:1}}this._cachedScaleForStroking[0]=ve,this._cachedScaleForStroking[1]=Ie}return this._cachedScaleForStroking}rescaleAndStroke(d){const{ctx:f}=this,{lineWidth:R}=this.current,[J,re]=this.getScaleForStroking();if(f.lineWidth=R||1,1===J&&1===re)return void f.stroke();const ve=f.getLineDash();if(d&&f.save(),f.scale(J,re),ve.length>0){const Ie=Math.max(J,re);f.setLineDash(ve.map(Fe=>Fe/Ie)),f.lineDashOffset/=Ie}f.stroke(),d&&f.restore()}isContentVisible(){for(let d=this.markedContentStack.length-1;d>=0;d--)if(!this.markedContentStack[d].visible)return!1;return!0}}for(const qe in me)void 0!==Ar.prototype[qe]&&(Ar.prototype[me[qe]]=Ar.prototype[qe]);class gr{static#e=null;static#t="";static get workerPort(){return this.#e}static set workerPort(d){if(!(typeof Worker<"u"&&d instanceof Worker)&&null!==d)throw new Error("Invalid `workerPort` type.");this.#e=d}static get workerSrc(){return this.#t}static set workerSrc(d){if("string"!=typeof d)throw new Error("Invalid `workerSrc` type.");this.#t=d}}function Co(qe){switch(qe instanceof Error||"object"==typeof qe&&null!==qe||$e('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),qe.name){case"AbortException":return new Ne(qe.message);case"MissingPDFException":return new Ge(qe.message);case"PasswordException":return new Vt(qe.message,qe.code);case"UnexpectedResponseException":return new Se(qe.message,qe.status);case"UnknownErrorException":return new ht(qe.message,qe.details);default:return new ht(qe.message,qe.toString())}}class Ka{constructor(d,f,R){this.sourceName=d,this.targetName=f,this.comObj=R,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=J=>{const re=J.data;if(re.targetName!==this.sourceName)return;if(re.stream)return void this.#t(re);if(re.callback){const Ie=re.callbackId,Fe=this.callbackCapabilities[Ie];if(!Fe)throw new Error(`Cannot resolve callback ${Ie}`);if(delete this.callbackCapabilities[Ie],1===re.callback)Fe.resolve(re.data);else{if(2!==re.callback)throw new Error("Unexpected callback case");Fe.reject(Co(re.reason))}return}const ve=this.actionHandler[re.action];if(!ve)throw new Error(`Unknown action from worker: ${re.action}`);if(re.callbackId){const Ie=this.sourceName,Fe=re.sourceName;new Promise(function(St){St(ve(re.data))}).then(function(St){R.postMessage({sourceName:Ie,targetName:Fe,callback:1,callbackId:re.callbackId,data:St})},function(St){R.postMessage({sourceName:Ie,targetName:Fe,callback:2,callbackId:re.callbackId,reason:Co(St)})})}else re.streamId?this.#e(re):ve(re.data)},R.addEventListener("message",this._onComObjOnMessage)}on(d,f){const R=this.actionHandler;if(R[d])throw new Error(`There is already an actionName called "${d}"`);R[d]=f}send(d,f,R){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:d,data:f},R)}sendWithPromise(d,f,R){const J=this.callbackId++,re=Promise.withResolvers();this.callbackCapabilities[J]=re;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:d,callbackId:J,data:f},R)}catch(ve){re.reject(ve)}return re.promise}sendWithStream(d,f,R,J){const re=this.streamId++,ve=this.sourceName,Ie=this.targetName,Fe=this.comObj;return new ReadableStream({start:St=>{const zt=Promise.withResolvers();return this.streamControllers[re]={controller:St,startCall:zt,pullCall:null,cancelCall:null,isClosed:!1},Fe.postMessage({sourceName:ve,targetName:Ie,action:d,streamId:re,data:f,desiredSize:St.desiredSize},J),zt.promise},pull:St=>{const zt=Promise.withResolvers();return this.streamControllers[re].pullCall=zt,Fe.postMessage({sourceName:ve,targetName:Ie,stream:6,streamId:re,desiredSize:St.desiredSize}),zt.promise},cancel:St=>{ze(St instanceof Error,"cancel must have a valid reason");const zt=Promise.withResolvers();return this.streamControllers[re].cancelCall=zt,this.streamControllers[re].isClosed=!0,Fe.postMessage({sourceName:ve,targetName:Ie,stream:1,streamId:re,reason:Co(St)}),zt.promise}},R)}#e(d){const f=d.streamId,R=this.sourceName,J=d.sourceName,re=this.comObj,ve=this,Ie=this.actionHandler[d.action],Fe={enqueue(St,zt=1,Ht){if(this.isCancelled)return;const bn=this.desiredSize;this.desiredSize-=zt,bn>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),re.postMessage({sourceName:R,targetName:J,stream:4,streamId:f,chunk:St},Ht)},close(){this.isCancelled||(this.isCancelled=!0,re.postMessage({sourceName:R,targetName:J,stream:3,streamId:f}),delete ve.streamSinks[f])},error(St){ze(St instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,re.postMessage({sourceName:R,targetName:J,stream:5,streamId:f,reason:Co(St)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:d.desiredSize,ready:null};Fe.sinkCapability.resolve(),Fe.ready=Fe.sinkCapability.promise,this.streamSinks[f]=Fe,new Promise(function(St){St(Ie(d.data,Fe))}).then(function(){re.postMessage({sourceName:R,targetName:J,stream:8,streamId:f,success:!0})},function(St){re.postMessage({sourceName:R,targetName:J,stream:8,streamId:f,reason:Co(St)})})}#t(d){const f=d.streamId,R=this.sourceName,J=d.sourceName,re=this.comObj,ve=this.streamControllers[f],Ie=this.streamSinks[f];switch(d.stream){case 8:d.success?ve.startCall.resolve():ve.startCall.reject(Co(d.reason));break;case 7:d.success?ve.pullCall.resolve():ve.pullCall.reject(Co(d.reason));break;case 6:if(!Ie){re.postMessage({sourceName:R,targetName:J,stream:7,streamId:f,success:!0});break}Ie.desiredSize<=0&&d.desiredSize>0&&Ie.sinkCapability.resolve(),Ie.desiredSize=d.desiredSize,new Promise(function(Fe){Fe(Ie.onPull?.())}).then(function(){re.postMessage({sourceName:R,targetName:J,stream:7,streamId:f,success:!0})},function(Fe){re.postMessage({sourceName:R,targetName:J,stream:7,streamId:f,reason:Co(Fe)})});break;case 4:if(ze(ve,"enqueue should have stream controller"),ve.isClosed)break;ve.controller.enqueue(d.chunk);break;case 3:if(ze(ve,"close should have stream controller"),ve.isClosed)break;ve.isClosed=!0,ve.controller.close(),this.#n(ve,f);break;case 5:ze(ve,"error should have stream controller"),ve.controller.error(Co(d.reason)),this.#n(ve,f);break;case 2:d.success?ve.cancelCall.resolve():ve.cancelCall.reject(Co(d.reason)),this.#n(ve,f);break;case 1:if(!Ie)break;new Promise(function(Fe){Fe(Ie.onCancel?.(Co(d.reason)))}).then(function(){re.postMessage({sourceName:R,targetName:J,stream:2,streamId:f,success:!0})},function(Fe){re.postMessage({sourceName:R,targetName:J,stream:2,streamId:f,reason:Co(Fe)})}),Ie.sinkCapability.reject(Co(d.reason)),Ie.isCancelled=!0,delete this.streamSinks[f];break;default:throw new Error("Unexpected stream case")}}#n(d,f){var R=this;return(0,I.A)(function*(){yield Promise.allSettled([d.startCall?.promise,d.pullCall?.promise,d.cancelCall?.promise]),delete R.streamControllers[f]})()}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}class tr{#e;#t;constructor({parsedData:d,rawData:f}){this.#e=d,this.#t=f}getRaw(){return this.#t}get(d){return this.#e.get(d)??null}getAll(){return Xt(this.#e)}has(d){return this.#e.has(d)}}const yr=Symbol("INTERNAL");class kr{#e=!1;#t=!1;#n=!1;#i=!0;constructor(d,{name:f,intent:R,usage:J}){this.#e=!!(2&d),this.#t=!!(4&d),this.name=f,this.intent=R,this.usage=J}get visible(){if(this.#n)return this.#i;if(!this.#i)return!1;const{print:d,view:f}=this.usage;return this.#e?"OFF"!==f?.viewState:!this.#t||"OFF"!==d?.printState}_setVisible(d,f,R=!1){d!==yr&&$e("Internal method `_setVisible` called."),this.#n=R,this.#i=f}}class Uo{#e=null;#t=new Map;#n=null;#i=null;constructor(d,f=2){if(this.renderingIntent=f,this.name=null,this.creator=null,null!==d){this.name=d.name,this.creator=d.creator,this.#i=d.order;for(const R of d.groups)this.#t.set(R.id,new kr(f,R));if("OFF"===d.baseState)for(const R of this.#t.values())R._setVisible(yr,!1);for(const R of d.on)this.#t.get(R)._setVisible(yr,!0);for(const R of d.off)this.#t.get(R)._setVisible(yr,!1);this.#n=this.getHash()}}#s(d){const f=d.length;if(f<2)return!0;const R=d[0];for(let J=1;J<f;J++){const re=d[J];let ve;if(Array.isArray(re))ve=this.#s(re);else{if(!this.#t.has(re))return Pe(`Optional content group not found: ${re}`),!0;ve=this.#t.get(re).visible}switch(R){case"And":if(!ve)return!1;break;case"Or":if(ve)return!0;break;case"Not":return!ve;default:return!0}}return"And"===R}isVisible(d){if(0===this.#t.size)return!0;if(!d)return Xe("Optional content group not defined."),!0;if("OCG"===d.type)return this.#t.has(d.id)?this.#t.get(d.id).visible:(Pe(`Optional content group not found: ${d.id}`),!0);if("OCMD"===d.type){if(d.expression)return this.#s(d.expression);if(!d.policy||"AnyOn"===d.policy){for(const f of d.ids){if(!this.#t.has(f))return Pe(`Optional content group not found: ${f}`),!0;if(this.#t.get(f).visible)return!0}return!1}if("AllOn"===d.policy){for(const f of d.ids){if(!this.#t.has(f))return Pe(`Optional content group not found: ${f}`),!0;if(!this.#t.get(f).visible)return!1}return!0}if("AnyOff"===d.policy){for(const f of d.ids){if(!this.#t.has(f))return Pe(`Optional content group not found: ${f}`),!0;if(!this.#t.get(f).visible)return!0}return!1}if("AllOff"===d.policy){for(const f of d.ids){if(!this.#t.has(f))return Pe(`Optional content group not found: ${f}`),!0;if(this.#t.get(f).visible)return!1}return!0}return Pe(`Unknown optional content policy ${d.policy}.`),!0}return Pe(`Unknown group type ${d.type}.`),!0}setVisibility(d,f=!0){const R=this.#t.get(d);R?(R._setVisible(yr,!!f,!0),this.#e=null):Pe(`Optional content group not found: ${d}`)}setOCGState({state:d}){let R;for(const J of d){switch(J){case"ON":case"OFF":case"Toggle":R=J;continue}const re=this.#t.get(J);if(re)switch(R){case"ON":re._setVisible(yr,!0);break;case"OFF":re._setVisible(yr,!1);break;case"Toggle":re._setVisible(yr,!re.visible)}}this.#e=null}get hasInitialVisibility(){return null===this.#n||this.getHash()===this.#n}getOrder(){return this.#t.size?this.#i?this.#i.slice():[...this.#t.keys()]:null}getGroups(){return this.#t.size>0?Xt(this.#t):null}getGroup(d){return this.#t.get(d)||null}getHash(){if(null!==this.#e)return this.#e;const d=new Ui;for(const[f,R]of this.#t)d.update(`${f}:${R.visible}`);return this.#e=d.hexdigest()}}class sr{constructor(d,{disableRange:f=!1,disableStream:R=!1}){ze(d,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.');const{length:J,initialData:re,progressiveDone:ve,contentDispositionFilename:Ie}=d;if(this._queuedChunks=[],this._progressiveDone=ve,this._contentDispositionFilename=Ie,re?.length>0){const Fe=re instanceof Uint8Array&&re.byteLength===re.buffer.byteLength?re.buffer:new Uint8Array(re).buffer;this._queuedChunks.push(Fe)}this._pdfDataRangeTransport=d,this._isStreamingSupported=!R,this._isRangeSupported=!f,this._contentLength=J,this._fullRequestReader=null,this._rangeReaders=[],d.addRangeListener((Fe,St)=>{this._onReceiveData({begin:Fe,chunk:St})}),d.addProgressListener((Fe,St)=>{this._onProgress({loaded:Fe,total:St})}),d.addProgressiveReadListener(Fe=>{this._onReceiveData({chunk:Fe})}),d.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),d.transportReady()}_onReceiveData({begin:d,chunk:f}){const R=f instanceof Uint8Array&&f.byteLength===f.buffer.byteLength?f.buffer:new Uint8Array(f).buffer;void 0===d?this._fullRequestReader?this._fullRequestReader._enqueue(R):this._queuedChunks.push(R):ze(this._rangeReaders.some(function(re){return re._begin===d&&(re._enqueue(R),!0)}),"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(d){void 0===d.total?this._rangeReaders[0]?.onProgress?.({loaded:d.loaded}):this._fullRequestReader?.onProgress?.({loaded:d.loaded,total:d.total})}_onProgressiveDone(){this._fullRequestReader?.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(d){const f=this._rangeReaders.indexOf(d);f>=0&&this._rangeReaders.splice(f,1)}getFullReader(){ze(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const d=this._queuedChunks;return this._queuedChunks=null,new J1(this,d,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(d,f){if(f<=this._progressiveDataLength)return null;const R=new uo(this,d,f);return this._pdfDataRangeTransport.requestDataRange(d,f),this._rangeReaders.push(R),R}cancelAllRequests(d){this._fullRequestReader?.cancel(d);for(const f of this._rangeReaders.slice(0))f.cancel(d);this._pdfDataRangeTransport.abort()}}class J1{constructor(d,f,R=!1,J=null){this._stream=d,this._done=R||!1,this._filename=ui(J)?J:null,this._queuedChunks=f||[],this._loaded=0;for(const re of this._queuedChunks)this._loaded+=re.byteLength;this._requests=[],this._headersReady=Promise.resolve(),d._fullRequestReader=this,this.onProgress=null}_enqueue(d){this._done||(this._requests.length>0?this._requests.shift().resolve({value:d,done:!1}):this._queuedChunks.push(d),this._loaded+=d.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}read(){var d=this;return(0,I.A)(function*(){if(d._queuedChunks.length>0)return{value:d._queuedChunks.shift(),done:!1};if(d._done)return{value:void 0,done:!0};const f=Promise.withResolvers();return d._requests.push(f),f.promise})()}cancel(d){this._done=!0;for(const f of this._requests)f.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class uo{constructor(d,f,R){this._stream=d,this._begin=f,this._end=R,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(d){if(!this._done){if(0===this._requests.length)this._queuedChunk=d;else{this._requests.shift().resolve({value:d,done:!1});for(const R of this._requests)R.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}read(){var d=this;return(0,I.A)(function*(){if(d._queuedChunk){const R=d._queuedChunk;return d._queuedChunk=null,{value:R,done:!1}}if(d._done)return{value:void 0,done:!0};const f=Promise.withResolvers();return d._requests.push(f),f.promise})()}cancel(d){this._done=!0;for(const f of this._requests)f.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}function mo({getResponseHeader:qe,isHttp:d,rangeChunkSize:f,disableRange:R}){const J={allowRangeRequests:!1,suggestedLength:void 0},re=parseInt(qe("Content-Length"),10);return!Number.isInteger(re)||(J.suggestedLength=re,re<=2*f)||R||!d||"bytes"!==qe("Accept-Ranges")||"identity"!==(qe("Content-Encoding")||"identity")||(J.allowRangeRequests=!0),J}function vl(qe){const d=qe("Content-Disposition");if(d){let f=function Dl(qe){let d=!0,f=R("filename\\*","i").exec(qe);if(f){f=f[1];let zt=Ie(f);return zt=unescape(zt),zt=Fe(zt),zt=St(zt),re(zt)}if(f=function ve(zt){const Ht=[];let bn;const xn=R("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(bn=xn.exec(zt));){let[,Mi,Ki,Pi]=bn;if(Mi=parseInt(Mi,10),Mi in Ht){if(0===Mi)break}else Ht[Mi]=[Ki,Pi]}const Zt=[];for(let Mi=0;Mi<Ht.length&&Mi in Ht;++Mi){let[Ki,Pi]=Ht[Mi];Pi=Ie(Pi),Ki&&(Pi=unescape(Pi),0===Mi&&(Pi=Fe(Pi))),Zt.push(Pi)}return Zt.join("")}(qe),f)return re(St(f));if(f=R("filename","i").exec(qe),f){f=f[1];let zt=Ie(f);return zt=St(zt),re(zt)}function R(zt,Ht){return new RegExp("(?:^|;)\\s*"+zt+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',Ht)}function J(zt,Ht){if(zt){if(!/^[\x00-\xFF]+$/.test(Ht))return Ht;try{const bn=new TextDecoder(zt,{fatal:!0}),xn=Qe(Ht);Ht=bn.decode(xn),d=!1}catch{}}return Ht}function re(zt){return d&&/[\x80-\xff]/.test(zt)&&(zt=J("utf-8",zt),d&&(zt=J("iso-8859-1",zt))),zt}function Ie(zt){if(zt.startsWith('"')){const Ht=zt.slice(1).split('\\"');for(let bn=0;bn<Ht.length;++bn){const xn=Ht[bn].indexOf('"');-1!==xn&&(Ht[bn]=Ht[bn].slice(0,xn),Ht.length=bn+1),Ht[bn]=Ht[bn].replaceAll(/\\(.)/g,"$1")}zt=Ht.join('"')}return zt}function Fe(zt){const Ht=zt.indexOf("'");return-1===Ht?zt:J(zt.slice(0,Ht),zt.slice(Ht+1).replace(/^[^']*'/,""))}function St(zt){return!zt.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(zt)?zt:zt.replaceAll(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(Ht,bn,xn,Zt){if("q"===xn||"Q"===xn)return J(bn,Zt=(Zt=Zt.replaceAll("_"," ")).replaceAll(/=([0-9a-fA-F]{2})/g,function(Mi,Ki){return String.fromCharCode(parseInt(Ki,16))}));try{Zt=atob(Zt)}catch{}return J(bn,Zt)})}return""}(d);if(f.includes("%"))try{f=decodeURIComponent(f)}catch{}if(ui(f))return f}return null}function ea(qe,d){return 404===qe||0===qe&&d.startsWith("file:")?new Ge('Missing PDF "'+d+'".'):new Se(`Unexpected server response (${qe}) while retrieving PDF "${d}".`,qe)}function Nr(qe){return 200===qe||206===qe}function Pl(qe,d,f){return{method:"GET",headers:qe,signal:f.signal,mode:"cors",credentials:d?"include":"same-origin",redirect:"follow"}}function ra(qe){const d=new Headers;for(const f in qe){const R=qe[f];void 0!==R&&d.append(f,R)}return d}function ul(qe){return qe instanceof Uint8Array?qe.buffer:qe instanceof ArrayBuffer?qe:(Pe(`getArrayBuffer - unexpected data format: ${qe}`),new Uint8Array(qe).buffer)}class g1{constructor(d){this.source=d,this.isHttp=/^https?:/i.test(d.url),this.httpHeaders=this.isHttp&&d.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return ze(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new hc(this),this._fullRequestReader}getRangeReader(d,f){if(f<=this._progressiveDataLength)return null;const R=new Dr(this,d,f);return this._rangeRequestReaders.push(R),R}cancelAllRequests(d){this._fullRequestReader?.cancel(d);for(const f of this._rangeRequestReaders.slice(0))f.cancel(d)}}class hc{constructor(d){this._stream=d,this._reader=null,this._loaded=0,this._filename=null;const f=d.source;this._withCredentials=f.withCredentials||!1,this._contentLength=f.length,this._headersCapability=Promise.withResolvers(),this._disableRange=f.disableRange||!1,this._rangeChunkSize=f.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!f.disableStream,this._isRangeSupported=!f.disableRange,this._headers=ra(this._stream.httpHeaders);const R=f.url;fetch(R,Pl(this._headers,this._withCredentials,this._abortController)).then(J=>{if(!Nr(J.status))throw ea(J.status,R);this._reader=J.body.getReader(),this._headersCapability.resolve();const re=Fe=>J.headers.get(Fe),{allowRangeRequests:ve,suggestedLength:Ie}=mo({getResponseHeader:re,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=ve,this._contentLength=Ie||this._contentLength,this._filename=vl(re),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new Ne("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var d=this;return(0,I.A)(function*(){yield d._headersCapability.promise;const{value:f,done:R}=yield d._reader.read();return R?{value:f,done:R}:(d._loaded+=f.byteLength,d.onProgress?.({loaded:d._loaded,total:d._contentLength}),{value:ul(f),done:!1})})()}cancel(d){this._reader?.cancel(d),this._abortController.abort()}}class Dr{constructor(d,f,R){this._stream=d,this._reader=null,this._loaded=0;const J=d.source;this._withCredentials=J.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!J.disableStream,this._abortController=new AbortController,this._headers=ra(this._stream.httpHeaders),this._headers.append("Range",`bytes=${f}-${R-1}`);const re=J.url;fetch(re,Pl(this._headers,this._withCredentials,this._abortController)).then(ve=>{if(!Nr(ve.status))throw ea(ve.status,re);this._readCapability.resolve(),this._reader=ve.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}read(){var d=this;return(0,I.A)(function*(){yield d._readCapability.promise;const{value:f,done:R}=yield d._reader.read();return R?{value:f,done:R}:(d._loaded+=f.byteLength,d.onProgress?.({loaded:d._loaded}),{value:ul(f),done:!1})})()}cancel(d){this._reader?.cancel(d),this._abortController.abort()}}class _a{constructor(d,f={}){this.url=d,this.isHttp=/^https?:/i.test(d),this.httpHeaders=this.isHttp&&f.httpHeaders||Object.create(null),this.withCredentials=f.withCredentials||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(d,f,R){const J={begin:d,end:f};for(const re in R)J[re]=R[re];return this.request(J)}requestFull(d){return this.request(d)}request(d){const f=new XMLHttpRequest,R=this.currXhrId++,J=this.pendingRequests[R]={xhr:f};f.open("GET",this.url),f.withCredentials=this.withCredentials;for(const re in this.httpHeaders){const ve=this.httpHeaders[re];void 0!==ve&&f.setRequestHeader(re,ve)}return this.isHttp&&"begin"in d&&"end"in d?(f.setRequestHeader("Range",`bytes=${d.begin}-${d.end-1}`),J.expectedStatus=206):J.expectedStatus=200,f.responseType="arraybuffer",d.onError&&(f.onerror=function(re){d.onError(f.status)}),f.onreadystatechange=this.onStateChange.bind(this,R),f.onprogress=this.onProgress.bind(this,R),J.onHeadersReceived=d.onHeadersReceived,J.onDone=d.onDone,J.onError=d.onError,J.onProgress=d.onProgress,f.send(null),R}onProgress(d,f){const R=this.pendingRequests[d];R&&R.onProgress?.(f)}onStateChange(d,f){const R=this.pendingRequests[d];if(!R)return;const J=R.xhr;if(J.readyState>=2&&R.onHeadersReceived&&(R.onHeadersReceived(),delete R.onHeadersReceived),4!==J.readyState||!(d in this.pendingRequests))return;if(delete this.pendingRequests[d],0===J.status&&this.isHttp)return void R.onError?.(J.status);const re=J.status||200;if((200!==re||206!==R.expectedStatus)&&re!==R.expectedStatus)return void R.onError?.(J.status);const Ie=function W0(qe){const d=qe.response;return"string"!=typeof d?d:Qe(d).buffer}(J);if(206===re){const Fe=J.getResponseHeader("Content-Range"),St=/bytes (\d+)-(\d+)\/(\d+)/.exec(Fe);R.onDone({begin:parseInt(St[1],10),chunk:Ie})}else Ie?R.onDone({begin:0,chunk:Ie}):R.onError?.(J.status)}getRequestXhr(d){return this.pendingRequests[d].xhr}isPendingRequest(d){return d in this.pendingRequests}abortRequest(d){const f=this.pendingRequests[d].xhr;delete this.pendingRequests[d],f.abort()}}class L1{constructor(d){this._source=d,this._manager=new _a(d.url,{httpHeaders:d.httpHeaders,withCredentials:d.withCredentials}),this._rangeChunkSize=d.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(d){const f=this._rangeRequestReaders.indexOf(d);f>=0&&this._rangeRequestReaders.splice(f,1)}getFullReader(){return ze(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new h0(this._manager,this._source),this._fullRequestReader}getRangeReader(d,f){const R=new z1(this._manager,d,f);return R.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(R),R}cancelAllRequests(d){this._fullRequestReader?.cancel(d);for(const f of this._rangeRequestReaders.slice(0))f.cancel(d)}}class h0{constructor(d,f){this._manager=d;const R={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=f.url,this._fullRequestId=d.requestFull(R),this._headersReceivedCapability=Promise.withResolvers(),this._disableRange=f.disableRange||!1,this._contentLength=f.length,this._rangeChunkSize=f.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const d=this._fullRequestId,f=this._manager.getRequestXhr(d),R=ve=>f.getResponseHeader(ve),{allowRangeRequests:J,suggestedLength:re}=mo({getResponseHeader:R,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});J&&(this._isRangeSupported=!0),this._contentLength=re||this._contentLength,this._filename=vl(R),this._isRangeSupported&&this._manager.abortRequest(d),this._headersReceivedCapability.resolve()}_onDone(d){if(d&&(this._requests.length>0?this._requests.shift().resolve({value:d.chunk,done:!1}):this._cachedChunks.push(d.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const f of this._requests)f.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(d){this._storedError=ea(d,this._url),this._headersReceivedCapability.reject(this._storedError);for(const f of this._requests)f.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(d){this.onProgress?.({loaded:d.loaded,total:d.lengthComputable?d.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}read(){var d=this;return(0,I.A)(function*(){if(d._storedError)throw d._storedError;if(d._cachedChunks.length>0)return{value:d._cachedChunks.shift(),done:!1};if(d._done)return{value:void 0,done:!0};const f=Promise.withResolvers();return d._requests.push(f),f.promise})()}cancel(d){this._done=!0,this._headersReceivedCapability.reject(d);for(const f of this._requests)f.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class z1{constructor(d,f,R){this._manager=d;const J={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=d.url,this._requestId=d.requestRange(f,R,J),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(d){const f=d.chunk;this._requests.length>0?this._requests.shift().resolve({value:f,done:!1}):this._queuedChunk=f,this._done=!0;for(const R of this._requests)R.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(d){this._storedError=ea(d,this._url);for(const f of this._requests)f.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(d){this.isStreamingSupported||this.onProgress?.({loaded:d.loaded})}get isStreamingSupported(){return!1}read(){var d=this;return(0,I.A)(function*(){if(d._storedError)throw d._storedError;if(null!==d._queuedChunk){const R=d._queuedChunk;return d._queuedChunk=null,{value:R,done:!1}}if(d._done)return{value:void 0,done:!0};const f=Promise.withResolvers();return d._requests.push(f),f.promise})()}cancel(d){this._done=!0;for(const f of this._requests)f.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}const un=/^[a-z][a-z0-9\-+.]+:/i;function Dt(qe,d,f){return"http:"===qe.protocol?ds.get("http").request(qe,{headers:d},f):ds.get("https").request(qe,{headers:d},f)}class qn{constructor(d){this.source=d,this.url=function tn(qe){if(un.test(qe))return new URL(qe);const d=ds.get("url");return new URL(d.pathToFileURL(qe))}(d.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&d.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return ze(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new P0(this):new xr(this),this._fullRequestReader}getRangeReader(d,f){if(f<=this._progressiveDataLength)return null;const R=this.isFsUrl?new Eo(this,d,f):new Al(this,d,f);return this._rangeRequestReaders.push(R),R}cancelAllRequests(d){this._fullRequestReader?.cancel(d);for(const f of this._rangeRequestReaders.slice(0))f.cancel(d)}}class zi{constructor(d){this._url=d.url,this._done=!1,this._storedError=null,this.onProgress=null;const f=d.source;this._contentLength=f.length,this._loaded=0,this._filename=null,this._disableRange=f.disableRange||!1,this._rangeChunkSize=f.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!f.disableStream,this._isRangeSupported=!f.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var d=this;return(0,I.A)(function*(){if(yield d._readCapability.promise,d._done)return{value:void 0,done:!0};if(d._storedError)throw d._storedError;const f=d._readableStream.read();return null===f?(d._readCapability=Promise.withResolvers(),d.read()):(d._loaded+=f.length,d.onProgress?.({loaded:d._loaded,total:d._contentLength}),{value:new Uint8Array(f).buffer,done:!1})})()}cancel(d){this._readableStream?this._readableStream.destroy(d):this._error(d)}_error(d){this._storedError=d,this._readCapability.resolve()}_setReadableStream(d){this._readableStream=d,d.on("readable",()=>{this._readCapability.resolve()}),d.on("end",()=>{d.destroy(),this._done=!0,this._readCapability.resolve()}),d.on("error",f=>{this._error(f)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new Ne("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class yo{constructor(d){this._url=d.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!d.source.disableStream}get isStreamingSupported(){return this._isStreamingSupported}read(){var d=this;return(0,I.A)(function*(){if(yield d._readCapability.promise,d._done)return{value:void 0,done:!0};if(d._storedError)throw d._storedError;const f=d._readableStream.read();return null===f?(d._readCapability=Promise.withResolvers(),d.read()):(d._loaded+=f.length,d.onProgress?.({loaded:d._loaded}),{value:new Uint8Array(f).buffer,done:!1})})()}cancel(d){this._readableStream?this._readableStream.destroy(d):this._error(d)}_error(d){this._storedError=d,this._readCapability.resolve()}_setReadableStream(d){this._readableStream=d,d.on("readable",()=>{this._readCapability.resolve()}),d.on("end",()=>{d.destroy(),this._done=!0,this._readCapability.resolve()}),d.on("error",f=>{this._error(f)}),this._storedError&&this._readableStream.destroy(this._storedError)}}class xr extends zi{constructor(d){super(d),this._request=Dt(this._url,d.httpHeaders,R=>{if(404===R.statusCode){const Ie=new Ge(`Missing PDF "${this._url}".`);return this._storedError=Ie,void this._headersCapability.reject(Ie)}this._headersCapability.resolve(),this._setReadableStream(R);const J=Ie=>this._readableStream.headers[Ie.toLowerCase()],{allowRangeRequests:re,suggestedLength:ve}=mo({getResponseHeader:J,isHttp:d.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=re,this._contentLength=ve||this._contentLength,this._filename=vl(J)}),this._request.on("error",R=>{this._storedError=R,this._headersCapability.reject(R)}),this._request.end()}}class Al extends yo{constructor(d,f,R){super(d),this._httpHeaders={};for(const re in d.httpHeaders){const ve=d.httpHeaders[re];void 0!==ve&&(this._httpHeaders[re]=ve)}this._httpHeaders.Range=`bytes=${f}-${R-1}`,this._request=Dt(this._url,this._httpHeaders,re=>{if(404!==re.statusCode)this._setReadableStream(re);else{const ve=new Ge(`Missing PDF "${this._url}".`);this._storedError=ve}}),this._request.on("error",re=>{this._storedError=re}),this._request.end()}}class P0 extends zi{constructor(d){super(d);const f=ds.get("fs");f.promises.lstat(this._url).then(R=>{this._contentLength=R.size,this._setReadableStream(f.createReadStream(this._url)),this._headersCapability.resolve()},R=>{"ENOENT"===R.code&&(R=new Ge(`Missing PDF "${this._url}".`)),this._storedError=R,this._headersCapability.reject(R)})}}class Eo extends yo{constructor(d,f,R){super(d);const J=ds.get("fs");this._setReadableStream(J.createReadStream(this._url,{start:f,end:R-1}))}}class ur{#e=Promise.withResolvers();#t=null;#n=!1;#i=!!globalThis.FontInspector?.enabled;#s=null;#o=null;#a=0;#l=0;#d=null;#c=null;#u=0;#r=0;#p=Object.create(null);#f=[];#h=null;#m=[];#g=new WeakMap;#_=null;static#b=new Map;static#O=new Map;static#A=null;static#v=new Set;constructor({textContentSource:d,container:f,viewport:R}){if(d instanceof ReadableStream)this.#h=d;else{if("object"!=typeof d)throw new Error('No "textContentSource" parameter specified.');this.#h=new ReadableStream({start(Fe){Fe.enqueue(d),Fe.close()}})}this.#t=this.#c=f,this.#r=R.scale*(globalThis.devicePixelRatio||1),this.#u=R.rotation,this.#o={prevFontSize:null,prevFontFamily:null,div:null,properties:null,ctx:null};const{pageWidth:J,pageHeight:re,pageX:ve,pageY:Ie}=R.rawDims;this.#_=[1,0,0,-1,-ve,Ie+re],this.#l=J,this.#a=re,ur.#z(),mi(f,R),this.#e.promise.catch(()=>{}).then(()=>{ur.#v.delete(this),this.#o=null,this.#p=null})}render(){const d=()=>{this.#d.read().then(({value:f,done:R})=>{R?this.#e.resolve():(this.#s??=f.lang,Object.assign(this.#p,f.styles),this.#E(f.items),d())},this.#e.reject)};return this.#d=this.#h.getReader(),ur.#v.add(this),d(),this.#e.promise}update({viewport:d,onBefore:f=null}){const R=d.scale*(globalThis.devicePixelRatio||1),J=d.rotation;if(J!==this.#u&&(f?.(),this.#u=J,mi(this.#c,{rotation:J})),R!==this.#r){f?.(),this.#r=R;const re={prevFontSize:null,prevFontFamily:null,div:null,properties:null,ctx:ur.#y(this.#s)};for(const ve of this.#m)re.properties=this.#g.get(ve),re.div=ve,this.#C(re)}}cancel(){const d=new Ne("TextLayer task cancelled.");this.#d?.cancel(d).catch(()=>{}),this.#d=null,this.#e.reject(d)}get textDivs(){return this.#m}get textContentItemsStr(){return this.#f}#E(d){if(this.#n)return;this.#o.ctx??=ur.#y(this.#s);const f=this.#m,R=this.#f;for(const J of d){if(f.length>1e5)return Pe("Ignoring additional textDivs for performance reasons."),void(this.#n=!0);if(void 0!==J.str)R.push(J.str),this.#P(J);else if("beginMarkedContentProps"===J.type||"beginMarkedContent"===J.type){const re=this.#t;this.#t=document.createElement("span"),this.#t.classList.add("markedContent"),null!==J.id&&this.#t.setAttribute("id",`${J.id}`),re.append(this.#t)}else"endMarkedContent"===J.type&&(this.#t=this.#t.parentNode)}}#P(d){const f=document.createElement("span"),R={angle:0,canvasWidth:0,hasText:""!==d.str,hasEOL:d.hasEOL,fontSize:0};this.#m.push(f);const J=wn.transform(this.#_,d.transform);let re=Math.atan2(J[1],J[0]);const ve=this.#p[d.fontName];ve.vertical&&(re+=Math.PI/2);const Ie=this.#i&&ve.fontSubstitution||ve.fontFamily,Fe=Math.hypot(J[2],J[3]),St=Fe*ur.#T(Ie,this.#s);let zt,Ht;0===re?(zt=J[4],Ht=J[5]-St):(zt=J[4]+St*Math.sin(re),Ht=J[5]-St*Math.cos(re));const bn="calc(var(--scale-factor)*",xn=f.style;this.#t===this.#c?(xn.left=`${(100*zt/this.#l).toFixed(2)}%`,xn.top=`${(100*Ht/this.#a).toFixed(2)}%`):(xn.left=`${bn}${zt.toFixed(2)}px)`,xn.top=`${bn}${Ht.toFixed(2)}px)`),xn.fontSize=`${bn}${(ur.#A*Fe).toFixed(2)}px)`,xn.fontFamily=Ie,R.fontSize=Fe,f.setAttribute("role","presentation"),f.textContent=d.str,f.dir=d.dir,this.#i&&(f.dataset.fontName=ve.fontSubstitutionLoadedName||d.fontName),0!==re&&(R.angle=re*(180/Math.PI));let Zt=!1;if(d.str.length>1)Zt=!0;else if(" "!==d.str&&d.transform[0]!==d.transform[3]){const Mi=Math.abs(d.transform[0]),Ki=Math.abs(d.transform[3]);Mi!==Ki&&Math.max(Mi,Ki)/Math.min(Mi,Ki)>1.5&&(Zt=!0)}if(Zt&&(R.canvasWidth=ve.vertical?d.height:d.width),this.#g.set(f,R),this.#o.div=f,this.#o.properties=R,this.#C(this.#o),R.hasText&&this.#t.append(f),R.hasEOL){const Mi=document.createElement("br");Mi.setAttribute("role","presentation"),this.#t.append(Mi)}}#C(d){const{div:f,properties:R,ctx:J,prevFontSize:re,prevFontFamily:ve}=d,{style:Ie}=f;let Fe="";if(ur.#A>1&&(Fe=`scale(${1/ur.#A})`),0!==R.canvasWidth&&R.hasText){const{fontFamily:St}=Ie,{canvasWidth:zt,fontSize:Ht}=R;(re!==Ht||ve!==St)&&(J.font=`${Ht*this.#r}px ${St}`,d.prevFontSize=Ht,d.prevFontFamily=St);const{width:bn}=J.measureText(f.textContent);bn>0&&(Fe=`scaleX(${zt*this.#r/bn}) ${Fe}`)}0!==R.angle&&(Fe=`rotate(${R.angle}deg) ${Fe}`),Fe.length>0&&(Ie.transform=Fe)}static cleanup(){if(!(this.#v.size>0)){this.#b.clear();for(const{canvas:d}of this.#O.values())d.remove();this.#O.clear()}}static#y(d=null){let f=this.#O.get(d||="");if(!f){const R=document.createElement("canvas");R.className="hiddenCanvasElement",R.lang=d,document.body.append(R),f=R.getContext("2d",{alpha:!1,willReadFrequently:!0}),this.#O.set(d,f)}return f}static#z(){if(null!==this.#A)return;const d=document.createElement("div");d.style.opacity=0,d.style.lineHeight=1,d.style.fontSize="1px",d.style.position="absolute",d.textContent="X",document.body.append(d),this.#A=d.getBoundingClientRect().height,d.remove()}static#T(d,f){const R=this.#b.get(d);if(R)return R;const J=this.#y(f),re=J.font;J.canvas.width=J.canvas.height=30,J.font=`30px ${d}`;const ve=J.measureText("");let Ie=ve.fontBoundingBoxAscent,Fe=Math.abs(ve.fontBoundingBoxDescent);if(Ie){const Ht=Ie/(Ie+Fe);return this.#b.set(d,Ht),J.canvas.width=J.canvas.height=0,J.font=re,Ht}J.strokeStyle="red",J.clearRect(0,0,30,30),J.strokeText("g",0,0);let St=J.getImageData(0,0,30,30).data;Fe=0;for(let Ht=St.length-1-3;Ht>=0;Ht-=4)if(St[Ht]>0){Fe=Math.ceil(Ht/4/30);break}J.clearRect(0,0,30,30),J.strokeText("A",0,30),St=J.getImageData(0,0,30,30).data,Ie=0;for(let Ht=0,bn=St.length;Ht<bn;Ht+=4)if(St[Ht]>0){Ie=30-Math.floor(Ht/4/30);break}J.canvas.width=J.canvas.height=0,J.font=re;const zt=Ie?Ie/(Ie+Fe):.8;return this.#b.set(d,zt),zt}}class w1{static textContent(d){const f=[],R={items:f,styles:Object.create(null)};return function J(re){if(!re)return;let ve=null;const Ie=re.name;if("#text"===Ie)ve=re.value;else{if(!w1.shouldBuildText(Ie))return;re?.attributes?.textContent?ve=re.attributes.textContent:re.value&&(ve=re.value)}if(null!==ve&&f.push({str:ve}),re.children)for(const Fe of re.children)J(Fe)}(d),R}static shouldBuildText(d){return!("textarea"===d||"input"===d||"option"===d||"select"===d)}}const So=65536,jl=o?class wo extends Un{_createCanvas(d,f){return ds.get("canvas").createCanvas(d,f)}}:class Ai extends Un{constructor({ownerDocument:d=globalThis.document,enableHWA:f=!1}={}){super({enableHWA:f}),this._document=d}_createCanvas(d,f){const R=this._document.createElement("canvas");return R.width=d,R.height=f,R}},Zl=o?class zr extends _n{_fetchData(d,f){return rs(d).then(R=>({cMapData:R,compressionType:f}))}}:sn,ba=o?class ao extends Ue{}:class Dn extends Ue{#e;#t;#n;#i;#s;#o;#a=0;constructor({docId:d,ownerDocument:f=globalThis.document}={}){super(),this.#i=d,this.#s=f}get#l(){return this.#t||=new Map}get#d(){return this.#o||=new Map}get#c(){if(!this.#n){const d=this.#s.createElement("div"),{style:f}=d;f.visibility="hidden",f.contain="strict",f.width=f.height=0,f.position="absolute",f.top=f.left=0,f.zIndex=-1;const R=this.#s.createElementNS(En,"svg");R.setAttribute("width",0),R.setAttribute("height",0),this.#n=this.#s.createElementNS(En,"defs"),d.append(R),R.append(this.#n),this.#s.body.append(d)}return this.#n}#u(d){if(1===d.length){const Fe=d[0],St=new Array(256);for(let Ht=0;Ht<256;Ht++)St[Ht]=Fe[Ht]/255;const zt=St.join(",");return[zt,zt,zt]}const[f,R,J]=d,re=new Array(256),ve=new Array(256),Ie=new Array(256);for(let Fe=0;Fe<256;Fe++)re[Fe]=f[Fe]/255,ve[Fe]=R[Fe]/255,Ie[Fe]=J[Fe]/255;return[re.join(","),ve.join(","),Ie.join(",")]}#r(d){if(void 0===this.#e){this.#e="";const f=this.#s.URL;f!==this.#s.baseURI&&(vi(f)?Pe('#createUrl: ignore "data:"-URL for performance reasons.'):this.#e=f.split("#",1)[0])}return`url(${this.#e}#${d})`}addFilter(d){if(!d)return"none";let f=this.#l.get(d);if(f)return f;const[R,J,re]=this.#u(d),ve=1===d.length?R:`${R}${J}${re}`;if(f=this.#l.get(ve),f)return this.#l.set(d,f),f;const Ie=`g_${this.#i}_transfer_map_${this.#a++}`,Fe=this.#r(Ie);this.#l.set(d,Fe),this.#l.set(ve,Fe);const St=this.#h(Ie);return this.#g(R,J,re,St),Fe}addHCMFilter(d,f){const R=`${d}-${f}`,J="base";let re=this.#d.get(J);if(re?.key===R||(re?(re.filter?.remove(),re.key=R,re.url="none",re.filter=null):(re={key:R,url:"none",filter:null},this.#d.set(J,re)),!d||!f))return re.url;const ve=this.#b(d);d=wn.makeHexColor(...ve);const Ie=this.#b(f);if(f=wn.makeHexColor(...Ie),this.#c.style.color="","#000000"===d&&"#ffffff"===f||d===f)return re.url;const Fe=new Array(256);for(let xn=0;xn<=255;xn++){const Zt=xn/255;Fe[xn]=Zt<=.03928?Zt/12.92:((Zt+.055)/1.055)**2.4}const St=Fe.join(","),zt=`g_${this.#i}_hcm_filter`,Ht=re.filter=this.#h(zt);this.#g(St,St,St,Ht),this.#f(Ht);const bn=(xn,Zt)=>{const Mi=ve[xn]/255,Ki=Ie[xn]/255,Pi=new Array(Zt+1);for(let hs=0;hs<=Zt;hs++)Pi[hs]=Mi+hs/Zt*(Ki-Mi);return Pi.join(",")};return this.#g(bn(0,5),bn(1,5),bn(2,5),Ht),re.url=this.#r(zt),re.url}addAlphaFilter(d){let f=this.#l.get(d);if(f)return f;const[R]=this.#u([d]),J=`alpha_${R}`;if(f=this.#l.get(J),f)return this.#l.set(d,f),f;const re=`g_${this.#i}_alpha_map_${this.#a++}`,ve=this.#r(re);this.#l.set(d,ve),this.#l.set(J,ve);const Ie=this.#h(re);return this.#_(R,Ie),ve}addLuminosityFilter(d){let R,J,f=this.#l.get(d||"luminosity");if(f)return f;if(d?([R]=this.#u([d]),J=`luminosity_${R}`):J="luminosity",f=this.#l.get(J),f)return this.#l.set(d,f),f;const re=`g_${this.#i}_luminosity_map_${this.#a++}`,ve=this.#r(re);this.#l.set(d,ve),this.#l.set(J,ve);const Ie=this.#h(re);return this.#p(Ie),d&&this.#_(R,Ie),ve}addHighlightHCMFilter(d,f,R,J,re){const ve=`${f}-${R}-${J}-${re}`;let Ie=this.#d.get(d);if(Ie?.key===ve||(Ie?(Ie.filter?.remove(),Ie.key=ve,Ie.url="none",Ie.filter=null):(Ie={key:ve,url:"none",filter:null},this.#d.set(d,Ie)),!f||!R))return Ie.url;const[Fe,St]=[f,R].map(this.#b.bind(this));let zt=Math.round(.2126*Fe[0]+.7152*Fe[1]+.0722*Fe[2]),Ht=Math.round(.2126*St[0]+.7152*St[1]+.0722*St[2]),[bn,xn]=[J,re].map(this.#b.bind(this));Ht<zt&&([zt,Ht,bn,xn]=[Ht,zt,xn,bn]),this.#c.style.color="";const Zt=(Pi,hs,Cs)=>{const Es=new Array(256),Ts=(Ht-zt)/Cs,xs=Pi/255,Gs=(hs-Pi)/(255*Cs);let no=0;for(let gs=0;gs<=Cs;gs++){const oo=Math.round(zt+gs*Ts),ko=xs+gs*Gs;for(let A1=no;A1<=oo;A1++)Es[A1]=ko;no=oo+1}for(let gs=no;gs<256;gs++)Es[gs]=Es[no-1];return Es.join(",")},Mi=`g_${this.#i}_hcm_${d}_filter`,Ki=Ie.filter=this.#h(Mi);return this.#f(Ki),this.#g(Zt(bn[0],xn[0],5),Zt(bn[1],xn[1],5),Zt(bn[2],xn[2],5),Ki),Ie.url=this.#r(Mi),Ie.url}destroy(d=!1){d&&0!==this.#d.size||(this.#n&&(this.#n.parentNode.parentNode.remove(),this.#n=null),this.#t&&(this.#t.clear(),this.#t=null),this.#a=0)}#p(d){const f=this.#s.createElementNS(En,"feColorMatrix");f.setAttribute("type","matrix"),f.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),d.append(f)}#f(d){const f=this.#s.createElementNS(En,"feColorMatrix");f.setAttribute("type","matrix"),f.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),d.append(f)}#h(d){const f=this.#s.createElementNS(En,"filter");return f.setAttribute("color-interpolation-filters","sRGB"),f.setAttribute("id",d),this.#c.append(f),f}#m(d,f,R){const J=this.#s.createElementNS(En,f);J.setAttribute("type","discrete"),J.setAttribute("tableValues",R),d.append(J)}#g(d,f,R,J){const re=this.#s.createElementNS(En,"feComponentTransfer");J.append(re),this.#m(re,"feFuncR",d),this.#m(re,"feFuncG",f),this.#m(re,"feFuncB",R)}#_(d,f){const R=this.#s.createElementNS(En,"feComponentTransfer");f.append(R),this.#m(R,"feFuncA",d)}#b(d){return this.#c.style.color=d,gn(getComputedStyle(this.#c).getPropertyValue("color"))}},qa=o?class Ea extends Xn{_fetchData(d){return rs(d)}}:oi;function Pr(qe={}){"string"==typeof qe||qe instanceof URL?qe={url:qe}:(qe instanceof ArrayBuffer||ArrayBuffer.isView(qe))&&(qe={data:qe});const d=new Yr,{docId:f}=d,R=qe.url?function fc(qe){if(qe instanceof URL)return qe.href;try{return new URL(qe,window.location).href}catch{if(o&&"string"==typeof qe)return qe}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}(qe.url):null,J=qe.data?function I0(qe){if(o&&typeof Buffer<"u"&&qe instanceof Buffer)throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(qe instanceof Uint8Array&&qe.byteLength===qe.buffer.byteLength)return qe;if("string"==typeof qe)return Qe(qe);if(qe instanceof ArrayBuffer||ArrayBuffer.isView(qe)||"object"==typeof qe&&!isNaN(qe?.length))return new Uint8Array(qe);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}(qe.data):null,re=qe.httpHeaders||null,ve=!0===qe.withCredentials,Ie=qe.password??null,Fe=qe.range instanceof Io?qe.range:null,St=Number.isInteger(qe.rangeChunkSize)&&qe.rangeChunkSize>0?qe.rangeChunkSize:So;let zt=qe.worker instanceof Ut?qe.worker:null;const Ht=qe.verbosity,bn="string"!=typeof qe.docBaseUrl||vi(qe.docBaseUrl)?null:qe.docBaseUrl,xn="string"==typeof qe.cMapUrl?qe.cMapUrl:null,Zt=!1!==qe.cMapPacked,Mi=qe.CMapReaderFactory||Zl,Ki="string"==typeof qe.standardFontDataUrl?qe.standardFontDataUrl:null,Pi=qe.StandardFontDataFactory||qa,hs=!0!==qe.stopAtErrors,Cs=Number.isInteger(qe.maxImageSize)&&qe.maxImageSize>-1?qe.maxImageSize:-1,Es=!1!==qe.isEvalSupported,Ts="boolean"==typeof qe.isOffscreenCanvasSupported?qe.isOffscreenCanvasSupported:!o,xs=Number.isInteger(qe.canvasMaxAreaInBytes)?qe.canvasMaxAreaInBytes:-1,Gs="boolean"==typeof qe.disableFontFace?qe.disableFontFace:o,no=!0===qe.fontExtraProperties,gs=!0===qe.enableXfa,oo=qe.ownerDocument||globalThis.document,ko=!0===qe.disableRange,A1=!0===qe.disableStream,sa=!0===qe.disableAutoFetch,Or=!0===qe.pdfBug,x1=!0===qe.enableHWA,Fc=Fe?Fe.length:qe.length??NaN,Vr="boolean"==typeof qe.useSystemFonts?qe.useSystemFonts:!o&&!Gs,fo="boolean"==typeof qe.useWorkerFetch?qe.useWorkerFetch:Mi===sn&&Pi===oi&&xn&&Ki&&Qn(xn,document.baseURI)&&Qn(Ki,document.baseURI),y1=qe.canvasFactory||new jl({ownerDocument:oo,enableHWA:x1}),Ec=qe.filterFactory||new ba({docId:f,ownerDocument:oo});!function Ae(qe){Number.isInteger(qe)&&(Le=qe)}(Ht);const il={canvasFactory:y1,filterFactory:Ec};if(fo||(il.cMapReaderFactory=new Mi({baseUrl:xn,isCompressed:Zt}),il.standardFontDataFactory=new Pi({baseUrl:Ki})),!zt){const Oc={verbosity:Ht,port:gr.workerPort};zt=Oc.port?Ut.fromPort(Oc):new Ut(Oc),d._worker=zt}const Ya={docId:f,apiVersion:"4.6.82",data:J,password:Ie,disableAutoFetch:sa,rangeChunkSize:St,length:Fc,docBaseUrl:bn,enableXfa:gs,evaluatorOptions:{maxImageSize:Cs,disableFontFace:Gs,ignoreErrors:hs,isEvalSupported:Es,isOffscreenCanvasSupported:Ts,canvasMaxAreaInBytes:xs,fontExtraProperties:no,useSystemFonts:Vr,cMapUrl:fo?xn:null,standardFontDataUrl:fo?Ki:null}},lc={disableFontFace:Gs,fontExtraProperties:no,ownerDocument:oo,pdfBug:Or,styleElement:null,loadingParams:{disableAutoFetch:sa,enableXfa:gs}};return zt.promise.then(function(){if(d.destroyed)throw new Error("Loading aborted");if(zt.destroyed)throw new Error("Worker was destroyed");const Oc=zt.messageHandler.sendWithPromise("GetDocRequest",Ya,J?[J.buffer]:null);let kl;if(Fe)kl=new sr(Fe,{disableRange:ko,disableStream:A1});else if(!J){if(!R)throw new Error("getDocument - no `url` parameter provided.");n0={url:R,length:Fc,httpHeaders:re,withCredentials:ve,rangeChunkSize:St,disableRange:ko,disableStream:A1},kl=o?typeof fetch<"u"&&typeof Response<"u"&&"body"in Response.prototype&&Qn(n0.url)?new g1(n0):new qn(n0):Qn(n0.url)?new g1(n0):new L1(n0)}var n0;return Oc.then(Tl=>{if(d.destroyed)throw new Error("Loading aborted");if(zt.destroyed)throw new Error("Worker was destroyed");const n0=new Ka(f,Tl,zt.port),$h=new ss(n0,d,kl,lc,il);d._transport=$h,n0.send("Ready",null)})}).catch(d._capability.reject),d}function Il(qe){return"object"==typeof qe&&Number.isInteger(qe?.num)&&qe.num>=0&&Number.isInteger(qe?.gen)&&qe.gen>=0}class Yr{static#e=0;constructor(){this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId="d"+Yr.#e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null}get promise(){return this._capability.promise}destroy(){var d=this;return(0,I.A)(function*(){d.destroyed=!0;try{d._worker?.port&&(d._worker._pendingDestroy=!0),yield d._transport?.destroy()}catch(f){throw d._worker?.port&&delete d._worker._pendingDestroy,f}d._transport=null,d._worker&&(d._worker.destroy(),d._worker=null)})()}}class Io{constructor(d,f,R=!1,J=null){this.length=d,this.initialData=f,this.progressiveDone=R,this.contentDispositionFilename=J,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=Promise.withResolvers()}addRangeListener(d){this._rangeListeners.push(d)}addProgressListener(d){this._progressListeners.push(d)}addProgressiveReadListener(d){this._progressiveReadListeners.push(d)}addProgressiveDoneListener(d){this._progressiveDoneListeners.push(d)}onDataRange(d,f){for(const R of this._rangeListeners)R(d,f)}onDataProgress(d,f){this._readyCapability.promise.then(()=>{for(const R of this._progressListeners)R(d,f)})}onDataProgressiveRead(d){this._readyCapability.promise.then(()=>{for(const f of this._progressiveReadListeners)f(d)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const d of this._progressiveDoneListeners)d()})}transportReady(){this._readyCapability.resolve()}requestDataRange(d,f){$e("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}class b1{constructor(d,f){this._pdfInfo=d,this._transport=f}get annotationStorage(){return this._transport.annotationStorage}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return Ct(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(d){return this._transport.getPage(d)}getPageIndex(d){return this._transport.getPageIndex(d)}getDestinations(){return this._transport.getDestinations()}getDestination(d){return this._transport.getDestination(d)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:d="display"}={}){const{renderingIntent:f}=this._transport.getRenderingIntent(d);return this._transport.getOptionalContentConfig(f)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(d=!1){return this._transport.startCleanup(d||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(d){return this._transport.cachedPageNumber(d)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}class Wn{#e=null;#t=!1;constructor(d,f,R,J=!1){this._pageIndex=d,this._pageInfo=f,this._transport=R,this._stats=J?new Hn:null,this._pdfBug=J,this.commonObjs=R.commonObjs,this.objs=new Us,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:d,rotation:f=this.rotate,offsetX:R=0,offsetY:J=0,dontFlip:re=!1}={}){return new cn({viewBox:this.view,scale:d,rotation:f,offsetX:R,offsetY:J,dontFlip:re})}getAnnotations({intent:d="display"}={}){const{renderingIntent:f}=this._transport.getRenderingIntent(d);return this._transport.getAnnotations(this._pageIndex,f)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return Ct(this,"isPureXfa",!!this._transport._htmlForXfa)}getXfa(){var d=this;return(0,I.A)(function*(){return d._transport._htmlForXfa?.children[d._pageIndex]||null})()}render({canvasContext:d,viewport:f,intent:R="display",annotationMode:J=k.ENABLE,transform:re=null,background:ve=null,optionalContentConfigPromise:Ie=null,annotationCanvasMap:Fe=null,pageColors:St=null,printAnnotationStorage:zt=null,isEditing:Ht=!1}){this._stats?.time("Overall");const bn=this._transport.getRenderingIntent(R,J,zt,Ht),{renderingIntent:xn,cacheKey:Zt}=bn;this.#t=!1,this.#i(),Ie||=this._transport.getOptionalContentConfig(xn);let Mi=this._intentStates.get(Zt);Mi||(Mi=Object.create(null),this._intentStates.set(Zt,Mi)),Mi.streamReaderCancelTimeout&&(clearTimeout(Mi.streamReaderCancelTimeout),Mi.streamReaderCancelTimeout=null);const Ki=!!(4&xn);Mi.displayReadyCapability||(Mi.displayReadyCapability=Promise.withResolvers(),Mi.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(bn));const Pi=Es=>{Mi.renderTasks.delete(hs),(this._maybeCleanupAfterRender||Ki)&&(this.#t=!0),this.#n(!Ki),Es?(hs.capability.reject(Es),this._abortOperatorList({intentState:Mi,reason:Es instanceof Error?Es:new Error(Es)})):hs.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),globalThis.Stats?.enabled&&globalThis.Stats.add(this.pageNumber,this._stats))},hs=new wr({callback:Pi,params:{canvasContext:d,viewport:f,transform:re,background:ve},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:Fe,operatorList:Mi.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!Ki,pdfBug:this._pdfBug,pageColors:St});(Mi.renderTasks||=new Set).add(hs);const Cs=hs.task;return Promise.all([Mi.displayReadyCapability.promise,Ie]).then(([Es,Ts])=>{if(this.destroyed)Pi();else{if(this._stats?.time("Rendering"),!(Ts.renderingIntent&xn))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");hs.initializeGraphics({transparency:Es,optionalContentConfig:Ts}),hs.operatorListChanged()}}).catch(Pi),Cs}getOperatorList({intent:d="display",annotationMode:f=k.ENABLE,printAnnotationStorage:R=null,isEditing:J=!1}={}){const ve=this._transport.getRenderingIntent(d,f,R,J,!0);let Fe,Ie=this._intentStates.get(ve.cacheKey);return Ie||(Ie=Object.create(null),this._intentStates.set(ve.cacheKey,Ie)),Ie.opListReadCapability||(Fe=Object.create(null),Fe.operatorListChanged=function re(){Ie.operatorList.lastChunk&&(Ie.opListReadCapability.resolve(Ie.operatorList),Ie.renderTasks.delete(Fe))},Ie.opListReadCapability=Promise.withResolvers(),(Ie.renderTasks||=new Set).add(Fe),Ie.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(ve)),Ie.opListReadCapability.promise}streamTextContent({includeMarkedContent:d=!1,disableNormalization:f=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:!0===d,disableNormalization:!0===f},{highWaterMark:100,size:J=>J.items.length})}getTextContent(d={}){if(this._transport._htmlForXfa)return this.getXfa().then(R=>w1.textContent(R));const f=this.streamTextContent(d);return new Promise(function(R,J){const ve=f.getReader(),Ie={items:[],styles:Object.create(null),lang:null};!function re(){ve.read().then(function({value:Fe,done:St}){St?R(Ie):(Ie.lang??=Fe.lang,Object.assign(Ie.styles,Fe.styles),Ie.items.push(...Fe.items),re())},J)}()})}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const d=[];for(const f of this._intentStates.values())if(this._abortOperatorList({intentState:f,reason:new Error("Page was destroyed."),force:!0}),!f.opListReadCapability)for(const R of f.renderTasks)d.push(R.completed),R.cancel();return this.objs.clear(),this.#t=!1,this.#i(),Promise.all(d)}cleanup(d=!1){this.#t=!0;const f=this.#n(!1);return d&&f&&(this._stats&&=new Hn),f}#n(d=!1){if(this.#i(),!this.#t||this.destroyed)return!1;if(d)return this.#e=setTimeout(()=>{this.#e=null,this.#n(!1)},5e3),!1;for(const{renderTasks:f,operatorList:R}of this._intentStates.values())if(f.size>0||!R.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),this.#t=!1,!0}#i(){this.#e&&(clearTimeout(this.#e),this.#e=null)}_startRenderPage(d,f){const R=this._intentStates.get(f);R&&(this._stats?.timeEnd("Page Request"),R.displayReadyCapability?.resolve(d))}_renderPageChunk(d,f){for(let R=0,J=d.length;R<J;R++)f.operatorList.fnArray.push(d.fnArray[R]),f.operatorList.argsArray.push(d.argsArray[R]);f.operatorList.lastChunk=d.lastChunk,f.operatorList.separateAnnots=d.separateAnnots;for(const R of f.renderTasks)R.operatorListChanged();d.lastChunk&&this.#n(!0)}_pumpOperatorList({renderingIntent:d,cacheKey:f,annotationStorageSerializable:R,modifiedIds:J}){const{map:re,transfer:ve}=R,Fe=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:d,cacheKey:f,annotationStorage:re,modifiedIds:J},ve).getReader(),St=this._intentStates.get(f);St.streamReader=Fe;const zt=()=>{Fe.read().then(({value:Ht,done:bn})=>{bn?St.streamReader=null:this._transport.destroyed||(this._renderPageChunk(Ht,St),zt())},Ht=>{if(St.streamReader=null,!this._transport.destroyed){if(St.operatorList){St.operatorList.lastChunk=!0;for(const bn of St.renderTasks)bn.operatorListChanged();this.#n(!0)}if(St.displayReadyCapability)St.displayReadyCapability.reject(Ht);else{if(!St.opListReadCapability)throw Ht;St.opListReadCapability.reject(Ht)}}})};zt()}_abortOperatorList({intentState:d,reason:f,force:R=!1}){if(d.streamReader){if(d.streamReaderCancelTimeout&&(clearTimeout(d.streamReaderCancelTimeout),d.streamReaderCancelTimeout=null),!R){if(d.renderTasks.size>0)return;if(f instanceof Tn){let J=100;return f.extraDelay>0&&f.extraDelay<1e3&&(J+=f.extraDelay),void(d.streamReaderCancelTimeout=setTimeout(()=>{d.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:d,reason:f,force:!0})},J))}}if(d.streamReader.cancel(new Ne(f.message)).catch(()=>{}),d.streamReader=null,!this._transport.destroyed){for(const[J,re]of this._intentStates)if(re===d){this._intentStates.delete(J);break}this.cleanup()}}}get stats(){return this._stats}}class yi{#e=new Set;#t=Promise.resolve();postMessage(d,f){const R={data:structuredClone(d,f?{transfer:f}:null)};this.#t.then(()=>{for(const J of this.#e)J.call(this,R)})}addEventListener(d,f){this.#e.add(f)}removeEventListener(d,f){this.#e.delete(f)}terminate(){this.#e.clear()}}class Ut{static#e=0;static#t=!1;static#n;static#i=(()=>{o&&(this.#t=!0,gr.workerSrc||="./pdf.worker.mjs"),this._isSameOrigin=(d,f)=>{let R;try{if(R=new URL(d),!R.origin||"null"===R.origin)return!1}catch{return!1}const J=new URL(f,R);return R.origin===J.origin},this._createCDNWrapper=d=>URL.createObjectURL(new Blob([`await import("${d}");`],{type:"text/javascript"}))})();constructor({name:d=null,port:f=null,verbosity:R=Oe()}={}){if(this.name=d,this.destroyed=!1,this.verbosity=R,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,f){if(Ut.#n?.has(f))throw new Error("Cannot use more than one PDFWorker per port.");return(Ut.#n||=new WeakMap).set(f,this),void this._initializeFromPort(f)}this._initialize()}get promise(){return o?Promise.all([ds.promise,this._readyCapability.promise]):this._readyCapability.promise}#s(){this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(d){this._port=d,this._messageHandler=new Ka("main","worker",d),this._messageHandler.on("ready",function(){}),this.#s()}_initialize(){if(Ut.#t||Ut.#o)return void this._setupFakeWorker();let{workerSrc:d}=Ut;try{Ut._isSameOrigin(window.location.href,d)||(d=Ut._createCDNWrapper(new URL(d,window.location).href));const f=new Worker(d,{type:"module"}),R=new Ka("main","worker",f),J=()=>{re.abort(),R.destroy(),f.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},re=new AbortController;f.addEventListener("error",()=>{this._webWorker||J()},{signal:re.signal}),R.on("test",Ie=>{re.abort(),!this.destroyed&&Ie?(this._messageHandler=R,this._port=f,this._webWorker=f,this.#s()):J()}),R.on("ready",Ie=>{if(re.abort(),this.destroyed)J();else try{ve()}catch{this._setupFakeWorker()}});const ve=()=>{const Ie=new Uint8Array;R.send("test",Ie,[Ie.buffer])};return void ve()}catch{Xe("The worker has been disabled.")}this._setupFakeWorker()}_setupFakeWorker(){Ut.#t||(Pe("Setting up fake worker."),Ut.#t=!0),Ut._setupFakeWorkerGlobal.then(d=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const f=new yi;this._port=f;const R="fake"+Ut.#e++,J=new Ka(R+"_worker",R,f);d.setup(J,f),this._messageHandler=new Ka(R,R+"_worker",f),this.#s()}).catch(d=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${d.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),Ut.#n?.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(d){if(!d?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");const f=this.#n?.get(d.port);if(f){if(f._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return f}return new Ut(d)}static get workerSrc(){if(gr.workerSrc)return gr.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get#o(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){var d=this;return Ct(this,"_setupFakeWorkerGlobal",function(){var R=(0,I.A)(function*(){return d.#o?d.#o:(yield import(d.workerSrc)).WorkerMessageHandler});return function(){return R.apply(this,arguments)}}()())}}class ss{#e=new Map;#t=new Map;#n=new Map;#i=new Map;#s=null;constructor(d,f,R,J,re){this.messageHandler=d,this.loadingTask=f,this.commonObjs=new Us,this.fontLoader=new js({ownerDocument:J.ownerDocument,styleElement:J.styleElement}),this.loadingParams=J.loadingParams,this._params=J,this.canvasFactory=re.canvasFactory,this.filterFactory=re.filterFactory,this.cMapReaderFactory=re.cMapReaderFactory,this.standardFontDataFactory=re.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=R,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}#o(d,f=null){const R=this.#e.get(d);if(R)return R;const J=this.messageHandler.sendWithPromise(d,f);return this.#e.set(d,J),J}get annotationStorage(){return Ct(this,"annotationStorage",new Ji)}getRenderingIntent(d,f=k.ENABLE,R=null,J=!1,re=!1){let ve=2,Ie=ps;switch(d){case"any":ve=1;break;case"display":break;case"print":ve=4;break;default:Pe(`getRenderingIntent - invalid intent: ${d}`)}const Fe=4&ve&&R instanceof _s?R:this.annotationStorage;switch(f){case k.DISABLE:ve+=64;break;case k.ENABLE:break;case k.ENABLE_FORMS:ve+=16;break;case k.ENABLE_STORAGE:ve+=32,Ie=Fe.serializable;break;default:Pe(`getRenderingIntent - invalid annotationMode: ${f}`)}J&&(ve+=128),re&&(ve+=256);const{ids:St,hash:zt}=Fe.modifiedIds;return{renderingIntent:ve,cacheKey:[ve,Ie.hash,zt].join("_"),annotationStorageSerializable:Ie,modifiedIds:St}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),this.#s?.reject(new Error("Worker was destroyed during onPassword callback"));const d=[];for(const R of this.#t.values())d.push(R._destroy());this.#t.clear(),this.#n.clear(),this.#i.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const f=this.messageHandler.sendWithPromise("Terminate",null);return d.push(f),Promise.all(d).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#e.clear(),this.filterFactory.destroy(),ur.cleanup(),this._networkStream?.cancelAllRequests(new Ne("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:d,loadingTask:f}=this;d.on("GetReader",(R,J)=>{ze(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=re=>{this._lastProgress={loaded:re.loaded,total:re.total}},J.onPull=()=>{this._fullReader.read().then(function({value:re,done:ve}){ve?J.close():(ze(re instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),J.enqueue(new Uint8Array(re),1,[re]))}).catch(re=>{J.error(re)})},J.onCancel=re=>{this._fullReader.cancel(re),J.ready.catch(ve=>{if(!this.destroyed)throw ve})}}),d.on("ReaderHeadersReady",R=>{const J=Promise.withResolvers(),re=this._fullReader;return re.headersReady.then(()=>{(!re.isStreamingSupported||!re.isRangeSupported)&&(this._lastProgress&&f.onProgress?.(this._lastProgress),re.onProgress=ve=>{f.onProgress?.({loaded:ve.loaded,total:ve.total})}),J.resolve({isStreamingSupported:re.isStreamingSupported,isRangeSupported:re.isRangeSupported,contentLength:re.contentLength})},J.reject),J.promise}),d.on("GetRangeReader",(R,J)=>{ze(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const re=this._networkStream.getRangeReader(R.begin,R.end);re?(J.onPull=()=>{re.read().then(function({value:ve,done:Ie}){Ie?J.close():(ze(ve instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),J.enqueue(new Uint8Array(ve),1,[ve]))}).catch(ve=>{J.error(ve)})},J.onCancel=ve=>{re.cancel(ve),J.ready.catch(Ie=>{if(!this.destroyed)throw Ie})}):J.close()}),d.on("GetDoc",({pdfInfo:R})=>{this._numPages=R.numPages,this._htmlForXfa=R.htmlForXfa,delete R.htmlForXfa,f._capability.resolve(new b1(R,this))}),d.on("DocException",function(R){let J;switch(R.name){case"PasswordException":J=new Vt(R.message,R.code);break;case"InvalidPDFException":J=new gt(R.message);break;case"MissingPDFException":J=new Ge(R.message);break;case"UnexpectedResponseException":J=new Se(R.message,R.status);break;case"UnknownErrorException":J=new ht(R.message,R.details);break;default:$e("DocException - expected a valid Error.")}f._capability.reject(J)}),d.on("PasswordRequest",R=>{if(this.#s=Promise.withResolvers(),f.onPassword){const J=re=>{re instanceof Error?this.#s.reject(re):this.#s.resolve({password:re})};try{f.onPassword(J,R.code)}catch(re){this.#s.reject(re)}}else this.#s.reject(new Vt(R.message,R.code));return this.#s.promise}),d.on("DataLoaded",R=>{f.onProgress?.({loaded:R.length,total:R.length}),this.downloadInfoCapability.resolve(R)}),d.on("StartRenderPage",R=>{this.destroyed||this.#t.get(R.pageIndex)._startRenderPage(R.transparency,R.cacheKey)}),d.on("commonobj",([R,J,re])=>{if(this.destroyed||this.commonObjs.has(R))return null;switch(J){case"Font":const{disableFontFace:ve,fontExtraProperties:Ie,pdfBug:Fe}=this._params;if("error"in re){const bn=re.error;Pe(`Error during font loading: ${bn}`),this.commonObjs.resolve(R,bn);break}const St=Fe&&globalThis.FontInspector?.enabled?(bn,xn)=>globalThis.FontInspector.fontAdded(bn,xn):null,zt=new es(re,{disableFontFace:ve,inspectFont:St});this.fontLoader.bind(zt).catch(()=>d.sendWithPromise("FontFallback",{id:R})).finally(()=>{!Ie&&zt.data&&(zt.data=null),this.commonObjs.resolve(R,zt)});break;case"CopyLocalImage":const{imageRef:Ht}=re;ze(Ht,"The imageRef must be defined.");for(const bn of this.#t.values())for(const[,xn]of bn.objs)if(xn?.ref===Ht)return xn.dataLen?(this.commonObjs.resolve(R,structuredClone(xn)),xn.dataLen):null;break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(R,re);break;default:throw new Error(`Got unknown common object type ${J}`)}return null}),d.on("obj",([R,J,re,ve])=>{if(this.destroyed)return;const Ie=this.#t.get(J);if(!Ie.objs.has(R)){if(0===Ie._intentStates.size)return void ve?.bitmap?.close();switch(re){case"Image":Ie.objs.resolve(R,ve),ve?.dataLen>1e7&&(Ie._maybeCleanupAfterRender=!0);break;case"Pattern":Ie.objs.resolve(R,ve);break;default:throw new Error(`Got unknown object type ${re}`)}}}),d.on("DocProgress",R=>{this.destroyed||f.onProgress?.({loaded:R.loaded,total:R.total})}),d.on("FetchBuiltInCMap",R=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.cMapReaderFactory?this.cMapReaderFactory.fetch(R):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),d.on("FetchStandardFontData",R=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.standardFontDataFactory?this.standardFontDataFactory.fetch(R):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){this.annotationStorage.size<=0&&Pe("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");const{map:d,transfer:f}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:d,filename:this._fullReader?.filename??null},f).finally(()=>{this.annotationStorage.resetModified()})}getPage(d){if(!Number.isInteger(d)||d<=0||d>this._numPages)return Promise.reject(new Error("Invalid page request."));const f=d-1,R=this.#n.get(f);if(R)return R;const J=this.messageHandler.sendWithPromise("GetPage",{pageIndex:f}).then(re=>{if(this.destroyed)throw new Error("Transport destroyed");re.refStr&&this.#i.set(re.refStr,d);const ve=new Wn(f,re,this,this._params.pdfBug);return this.#t.set(f,ve),ve});return this.#n.set(f,J),J}getPageIndex(d){return Il(d)?this.messageHandler.sendWithPromise("GetPageIndex",{num:d.num,gen:d.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(d,f){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:d,intent:f})}getFieldObjects(){return this.#o("GetFieldObjects")}hasJSActions(){return this.#o("HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(d){return"string"!=typeof d?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:d})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getDocJSActions(){return this.#o("GetDocJSActions")}getPageJSActions(d){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:d})}getStructTree(d){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:d})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(d){return this.#o("GetOptionalContentConfig").then(f=>new Uo(f,d))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const d="GetMetadata",f=this.#e.get(d);if(f)return f;const R=this.messageHandler.sendWithPromise(d,null).then(J=>({info:J[0],metadata:J[1]?new tr(J[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}));return this.#e.set(d,R),R}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}startCleanup(d=!1){var f=this;return(0,I.A)(function*(){if(!f.destroyed){yield f.messageHandler.sendWithPromise("Cleanup",null);for(const R of f.#t.values())if(!R.cleanup())throw new Error(`startCleanup: Page ${R.pageNumber} is currently rendering.`);f.commonObjs.clear(),d||f.fontLoader.clear(),f.#e.clear(),f.filterFactory.destroy(!0),ur.cleanup()}})()}cachedPageNumber(d){return Il(d)?this.#i.get(0===d.gen?`${d.num}R`:`${d.num}R${d.gen}`)??null:null}}const vs=Symbol("INITIAL_DATA");class Us{#e=Object.create(null);#t(d){return this.#e[d]||={...Promise.withResolvers(),data:vs}}get(d,f=null){if(f){const J=this.#t(d);return J.promise.then(()=>f(J.data)),null}const R=this.#e[d];if(!R||R.data===vs)throw new Error(`Requesting object that isn't resolved yet ${d}.`);return R.data}has(d){const f=this.#e[d];return!!f&&f.data!==vs}resolve(d,f=null){const R=this.#t(d);R.data=f,R.resolve()}clear(){for(const d in this.#e){const{data:f}=this.#e[d];f?.bitmap?.close()}this.#e=Object.create(null)}*[Symbol.iterator](){for(const d in this.#e){const{data:f}=this.#e[d];f!==vs&&(yield[d,f])}}}class or{#e=null;constructor(d){this.#e=d,this.onContinue=null}get promise(){return this.#e.capability.promise}cancel(d=0){this.#e.cancel(null,d)}get separateAnnots(){const{separateAnnots:d}=this.#e.operatorList;if(!d)return!1;const{annotationCanvasMap:f}=this.#e;return d.form||d.canvas&&f?.size>0}}class wr{#e=null;static#t=new WeakSet;constructor({callback:d,params:f,objs:R,commonObjs:J,annotationCanvasMap:re,operatorList:ve,pageIndex:Ie,canvasFactory:Fe,filterFactory:St,useRequestAnimationFrame:zt=!1,pdfBug:Ht=!1,pageColors:bn=null}){this.callback=d,this.params=f,this.objs=R,this.commonObjs=J,this.annotationCanvasMap=re,this.operatorListIdx=null,this.operatorList=ve,this._pageIndex=Ie,this.canvasFactory=Fe,this.filterFactory=St,this._pdfBug=Ht,this.pageColors=bn,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===zt&&typeof window<"u",this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new or(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=f.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:d=!1,optionalContentConfig:f}){if(this.cancelled)return;if(this._canvas){if(wr.#t.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");wr.#t.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:R,viewport:J,transform:re,background:ve}=this.params;this.gfx=new Ar(R,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:f},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:re,viewport:J,transparency:d,background:ve}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback?.()}cancel(d=null,f=0){this.running=!1,this.cancelled=!0,this.gfx?.endDrawing(),this.#e&&(window.cancelAnimationFrame(this.#e),this.#e=null),wr.#t.delete(this._canvas),this.callback(d||new Tn(`Rendering cancelled, page ${this._pageIndex+1}`,f))}operatorListChanged(){this.graphicsReady?(this.stepper?.updateOperatorList(this.operatorList),!this.running&&this._continue()):this.graphicsReadyCallback||=this._continueBound}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?this.#e=window.requestAnimationFrame(()=>{this.#e=null,this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}_next(){var d=this;return(0,I.A)(function*(){d.cancelled||(d.operatorListIdx=d.gfx.executeOperatorList(d.operatorList,d.operatorListIdx,d._continueBound,d.stepper),d.operatorListIdx===d.operatorList.argsArray.length&&(d.running=!1,d.operatorList.lastChunk&&(d.gfx.endDrawing(),wr.#t.delete(d._canvas),d.callback())))})()}}const Y0="4.6.82",R0="9b541910f";function $a(qe){return Math.floor(255*Math.max(0,Math.min(1,qe))).toString(16).padStart(2,"0")}function Ra(qe){return Math.max(0,Math.min(255,255*qe))}class o0{static CMYK_G([d,f,R,J]){return["G",1-Math.min(1,.3*d+.59*R+.11*f+J)]}static G_CMYK([d]){return["CMYK",0,0,0,1-d]}static G_RGB([d]){return["RGB",d,d,d]}static G_rgb([d]){return[d=Ra(d),d,d]}static G_HTML([d]){const f=$a(d);return`#${f}${f}${f}`}static RGB_G([d,f,R]){return["G",.3*d+.59*f+.11*R]}static RGB_rgb(d){return d.map(Ra)}static RGB_HTML(d){return`#${d.map($a).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([d,f,R,J]){return["RGB",1-Math.min(1,d+J),1-Math.min(1,R+J),1-Math.min(1,f+J)]}static CMYK_rgb([d,f,R,J]){return[Ra(1-Math.min(1,d+J)),Ra(1-Math.min(1,R+J)),Ra(1-Math.min(1,f+J))]}static CMYK_HTML(d){const f=this.CMYK_RGB(d).slice(1);return this.RGB_HTML(f)}static RGB_CMYK([d,f,R]){const J=1-d,re=1-f,ve=1-R;return["CMYK",J,re,ve,Math.min(J,re,ve)]}}class pl{static setupStorage(d,f,R,J,re){const ve=J.getValue(f,{value:null});switch(R.name){case"textarea":if(null!==ve.value&&(d.textContent=ve.value),"print"===re)break;d.addEventListener("input",Ie=>{J.setValue(f,{value:Ie.target.value})});break;case"input":if("radio"===R.attributes.type||"checkbox"===R.attributes.type){if(ve.value===R.attributes.xfaOn?d.setAttribute("checked",!0):ve.value===R.attributes.xfaOff&&d.removeAttribute("checked"),"print"===re)break;d.addEventListener("change",Ie=>{J.setValue(f,{value:Ie.target.getAttribute(Ie.target.checked?"xfaOn":"xfaOff")})})}else{if(null!==ve.value&&d.setAttribute("value",ve.value),"print"===re)break;d.addEventListener("input",Ie=>{J.setValue(f,{value:Ie.target.value})})}break;case"select":if(null!==ve.value){d.setAttribute("value",ve.value);for(const Ie of R.children)Ie.attributes.value===ve.value?Ie.attributes.selected=!0:Ie.attributes.hasOwnProperty("selected")&&delete Ie.attributes.selected}d.addEventListener("input",Ie=>{const Fe=Ie.target.options;J.setValue(f,{value:-1===Fe.selectedIndex?"":Fe[Fe.selectedIndex].value})})}}static setAttributes({html:d,element:f,storage:R=null,intent:J,linkService:re}){const{attributes:ve}=f,Ie=d instanceof HTMLAnchorElement;"radio"===ve.type&&(ve.name=`${ve.name}-${J}`);for(const[Fe,St]of Object.entries(ve))if(null!=St)switch(Fe){case"class":St.length&&d.setAttribute(Fe,St.join(" "));break;case"dataId":break;case"id":d.setAttribute("data-element-id",St);break;case"style":Object.assign(d.style,St);break;case"textContent":d.textContent=St;break;default:(!Ie||"href"!==Fe&&"newWindow"!==Fe)&&d.setAttribute(Fe,St)}Ie&&re.addLinkAttributes(d,ve.href,ve.newWindow),R&&ve.dataId&&this.setupStorage(d,ve.dataId,f,R)}static render(d){const f=d.annotationStorage,R=d.linkService,J=d.xfaHtml,re=d.intent||"display",ve=document.createElement(J.name);J.attributes&&this.setAttributes({html:ve,element:J,intent:re,linkService:R});const Ie="richText"!==re,Fe=d.div;if(Fe.append(ve),d.viewport){const Ht=`matrix(${d.viewport.transform.join(",")})`;Fe.style.transform=Ht}Ie&&Fe.setAttribute("class","xfaLayer xfaFont");const St=[];if(0===J.children.length){if(J.value){const Ht=document.createTextNode(J.value);ve.append(Ht),Ie&&w1.shouldBuildText(J.name)&&St.push(Ht)}return{textDivs:St}}const zt=[[J,-1,ve]];for(;zt.length>0;){const[Ht,bn,xn]=zt.at(-1);if(bn+1===Ht.children.length){zt.pop();continue}const Zt=Ht.children[++zt.at(-1)[1]];if(null===Zt)continue;const{name:Mi}=Zt;if("#text"===Mi){const Pi=document.createTextNode(Zt.value);St.push(Pi),xn.append(Pi);continue}const Ki=Zt?.attributes?.xmlns?document.createElementNS(Zt.attributes.xmlns,Mi):document.createElement(Mi);if(xn.append(Ki),Zt.attributes&&this.setAttributes({html:Ki,element:Zt,storage:f,intent:re,linkService:R}),Zt.children?.length>0)zt.push([Zt,-1,Ki]);else if(Zt.value){const Pi=document.createTextNode(Zt.value);Ie&&w1.shouldBuildText(Mi)&&St.push(Pi),Ki.append(Pi)}}for(const Ht of Fe.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))Ht.setAttribute("readOnly",!0);return{textDivs:St}}static update(d){const f=`matrix(${d.viewport.transform.join(",")})`;d.div.style.transform=f,d.div.hidden=!1}}const B0=1e3,Gr=new WeakSet;function xo(qe){return{width:qe[2]-qe[0],height:qe[3]-qe[1]}}class rr{static create(d){switch(d.data.annotationType){case 2:return new B1(d);case 1:return new Q1(d);case 20:switch(d.data.fieldType){case"Tx":return new Rl(d);case"Btn":return d.data.radioButton?new Ul(d):d.data.checkBox?new hr(d):new t1(d);case"Ch":return new L0(d);case"Sig":return new hl(d)}return new br(d);case 16:return new Ll(d);case 3:return new Gl(d);case 4:return new fl(d);case 5:return new N1(d);case 6:return new bt(d);case 8:return new Ln(d);case 14:return new dn(d);case 15:return new si(d);case 7:return new kt(d);case 9:return new is(d);case 10:return new bs(d);case 11:return new Xs(d);case 12:return new jr(d);case 13:return new Mr(d);case 17:return new Ma(d);default:return new aa(d)}}}class aa{#e=null;#t=!1;#n=null;constructor(d,{isRenderable:f=!1,ignoreBorder:R=!1,createQuadrilaterals:J=!1}={}){this.isRenderable=f,this.data=d.data,this.layer=d.layer,this.linkService=d.linkService,this.downloadManager=d.downloadManager,this.imageResourcesPath=d.imageResourcesPath,this.renderForms=d.renderForms,this.svgFactory=d.svgFactory,this.annotationStorage=d.annotationStorage,this.enableScripting=d.enableScripting,this.hasJSActions=d.hasJSActions,this._fieldObjects=d.fieldObjects,this.parent=d.parent,f&&(this.container=this._createContainer(R)),J&&this._createQuadrilaterals()}static _hasPopupData({titleObj:d,contentsObj:f,richText:R}){return!!(d?.str||f?.str||R?.str)}get _isEditable(){return this.data.isEditable}get hasPopupData(){return aa._hasPopupData(this.data)}updateEdited(d){if(!this.container)return;this.#e||={rect:this.data.rect.slice(0)};const{rect:f}=d;f&&this.#i(f),this.#n?.popup.updateEdited(d)}resetEdited(){this.#e&&(this.#i(this.#e.rect),this.#n?.popup.resetEdited(),this.#e=null)}#i(d){const{container:{style:f},data:{rect:R,rotation:J},parent:{viewport:{rawDims:{pageWidth:re,pageHeight:ve,pageX:Ie,pageY:Fe}}}}=this;R?.splice(0,4,...d);const{width:St,height:zt}=xo(d);f.left=100*(d[0]-Ie)/re+"%",f.top=100*(ve-d[3]+Fe)/ve+"%",0===J?(f.width=100*St/re+"%",f.height=100*zt/ve+"%"):this.setRotation(J)}_createContainer(d){const{data:f,parent:{page:R,viewport:J}}=this,re=document.createElement("section");re.setAttribute("data-annotation-id",f.id),this instanceof br||(re.tabIndex=B0);const{style:ve}=re;if(ve.zIndex=this.parent.zIndex++,f.popupRef&&re.setAttribute("aria-haspopup","dialog"),f.alternativeText&&(re.title=f.alternativeText),f.noRotate&&re.classList.add("norotate"),!f.rect||this instanceof Ll){const{rotation:Mi}=f;return!f.hasOwnCanvas&&0!==Mi&&this.setRotation(Mi,re),re}const{width:Ie,height:Fe}=xo(f.rect);if(!d&&f.borderStyle.width>0){ve.borderWidth=`${f.borderStyle.width}px`;const Mi=f.borderStyle.horizontalCornerRadius,Ki=f.borderStyle.verticalCornerRadius;switch(Mi>0||Ki>0?ve.borderRadius=`calc(${Mi}px * var(--scale-factor)) / calc(${Ki}px * var(--scale-factor))`:this instanceof Ul&&(ve.borderRadius=`calc(${Ie}px * var(--scale-factor)) / calc(${Fe}px * var(--scale-factor))`),f.borderStyle.style){case 1:ve.borderStyle="solid";break;case 2:ve.borderStyle="dashed";break;case 3:Pe("Unimplemented border style: beveled");break;case 4:Pe("Unimplemented border style: inset");break;case 5:ve.borderBottomStyle="solid"}const Pi=f.borderColor||null;Pi?(this.#t=!0,ve.borderColor=wn.makeHexColor(0|Pi[0],0|Pi[1],0|Pi[2])):ve.borderWidth=0}const St=wn.normalizeRect([f.rect[0],R.view[3]-f.rect[1]+R.view[1],f.rect[2],R.view[3]-f.rect[3]+R.view[1]]),{pageWidth:zt,pageHeight:Ht,pageX:bn,pageY:xn}=J.rawDims;ve.left=100*(St[0]-bn)/zt+"%",ve.top=100*(St[1]-xn)/Ht+"%";const{rotation:Zt}=f;return f.hasOwnCanvas||0===Zt?(ve.width=100*Ie/zt+"%",ve.height=100*Fe/Ht+"%"):this.setRotation(Zt,re),re}setRotation(d,f=this.container){if(!this.data.rect)return;const{pageWidth:R,pageHeight:J}=this.parent.viewport.rawDims,{width:re,height:ve}=xo(this.data.rect);let Ie,Fe;d%180==0?(Ie=100*re/R,Fe=100*ve/J):(Ie=100*ve/R,Fe=100*re/J),f.style.width=`${Ie}%`,f.style.height=`${Fe}%`,f.setAttribute("data-main-rotation",(360-d)%360)}get _commonActions(){const d=(f,R,J)=>{const re=J.detail[f],ve=re[0],Ie=re.slice(1);J.target.style[R]=o0[`${ve}_HTML`](Ie),this.annotationStorage.setValue(this.data.id,{[R]:o0[`${ve}_rgb`](Ie)})};return Ct(this,"_commonActions",{display:f=>{const{display:R}=f.detail,J=R%2==1;this.container.style.visibility=J?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:J,noPrint:1===R||2===R})},print:f=>{this.annotationStorage.setValue(this.data.id,{noPrint:!f.detail.print})},hidden:f=>{const{hidden:R}=f.detail;this.container.style.visibility=R?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:R,noView:R})},focus:f=>{setTimeout(()=>f.target.focus({preventScroll:!1}),0)},userName:f=>{f.target.title=f.detail.userName},readonly:f=>{f.target.disabled=f.detail.readonly},required:f=>{this._setRequired(f.target,f.detail.required)},bgColor:f=>{d("bgColor","backgroundColor",f)},fillColor:f=>{d("fillColor","backgroundColor",f)},fgColor:f=>{d("fgColor","color",f)},textColor:f=>{d("textColor","color",f)},borderColor:f=>{d("borderColor","borderColor",f)},strokeColor:f=>{d("strokeColor","borderColor",f)},rotation:f=>{const R=f.detail.rotation;this.setRotation(R),this.annotationStorage.setValue(this.data.id,{rotation:R})}})}_dispatchEventFromSandbox(d,f){const R=this._commonActions;for(const J of Object.keys(f.detail))(d[J]||R[J])?.(f)}_setDefaultPropertiesFromJS(d){if(!this.enableScripting)return;const f=this.annotationStorage.getRawValue(this.data.id);if(!f)return;const R=this._commonActions;for(const[J,re]of Object.entries(f)){const ve=R[J];ve&&(ve({detail:{[J]:re},target:d}),delete f[J])}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:d}=this.data;if(!d)return;const[f,R,J,re]=this.data.rect.map(Mi=>Math.fround(Mi));if(8===d.length){const[Mi,Ki,Pi,hs]=d.subarray(2,6);if(J===Mi&&re===Ki&&f===Pi&&R===hs)return}const{style:ve}=this.container;let Ie;if(this.#t){const{borderColor:Mi,borderWidth:Ki}=ve;ve.borderWidth=0,Ie=["url('data:image/svg+xml;utf8,",'<svg xmlns="http://www.w3.org/2000/svg"',' preserveAspectRatio="none" viewBox="0 0 1 1">',`<g fill="transparent" stroke="${Mi}" stroke-width="${Ki}">`],this.container.classList.add("hasBorder")}const Fe=J-f,St=re-R,{svgFactory:zt}=this,Ht=zt.createElement("svg");Ht.classList.add("quadrilateralsContainer"),Ht.setAttribute("width",0),Ht.setAttribute("height",0);const bn=zt.createElement("defs");Ht.append(bn);const xn=zt.createElement("clipPath"),Zt=`clippath_${this.data.id}`;xn.setAttribute("id",Zt),xn.setAttribute("clipPathUnits","objectBoundingBox"),bn.append(xn);for(let Mi=2,Ki=d.length;Mi<Ki;Mi+=8){const Pi=d[Mi],hs=d[Mi+1],Cs=d[Mi+2],Es=d[Mi+3],Ts=zt.createElement("rect"),xs=(Cs-f)/Fe,Gs=(re-hs)/St,no=(Pi-Cs)/Fe,gs=(hs-Es)/St;Ts.setAttribute("x",xs),Ts.setAttribute("y",Gs),Ts.setAttribute("width",no),Ts.setAttribute("height",gs),xn.append(Ts),Ie?.push(`<rect vector-effect="non-scaling-stroke" x="${xs}" y="${Gs}" width="${no}" height="${gs}"/>`)}this.#t&&(Ie.push("</g></svg>')"),ve.backgroundImage=Ie.join("")),this.container.append(Ht),this.container.style.clipPath=`url(#${Zt})`}_createPopup(){const{container:d,data:f}=this;d.setAttribute("aria-haspopup","dialog");const R=this.#n=new Ll({data:{color:f.color,titleObj:f.titleObj,modificationDate:f.modificationDate,contentsObj:f.contentsObj,richText:f.richText,parentRect:f.rect,borderStyle:0,id:`popup_${f.id}`,rotation:f.rotation},parent:this.parent,elements:[this]});this.parent.div.append(R.render())}render(){$e("Abstract method `AnnotationElement.render` called")}_getElementsByName(d,f=null){const R=[];if(this._fieldObjects){const J=this._fieldObjects[d];if(J)for(const{page:re,id:ve,exportValues:Ie}of J){if(-1===re||ve===f)continue;const Fe="string"==typeof Ie?Ie:null,St=document.querySelector(`[data-element-id="${ve}"]`);!St||Gr.has(St)?R.push({id:ve,exportValue:Fe,domElement:St}):Pe(`_getElementsByName - element not allowed: ${ve}`)}return R}for(const J of document.getElementsByName(d)){const{exportValue:re}=J,ve=J.getAttribute("data-element-id");ve!==f&&Gr.has(J)&&R.push({id:ve,exportValue:re,domElement:J})}return R}show(){this.container&&(this.container.hidden=!1),this.popup?.maybeShow()}hide(){this.container&&(this.container.hidden=!0),this.popup?.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const d=this.getElementsToTriggerPopup();if(Array.isArray(d))for(const f of d)f.classList.add("highlightArea");else d.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:d,data:{id:f}}=this;this.container.addEventListener("dblclick",()=>{this.linkService.eventBus?.dispatch("switchannotationeditormode",{source:this,mode:d,editId:f})})}}class B1 extends aa{constructor(d,f=null){super(d,{isRenderable:!0,ignoreBorder:!!f?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=d.data.isTooltipOnly}render(){const{data:d,linkService:f}=this,R=document.createElement("a");R.setAttribute("data-element-id",d.id);let J=!1;return d.url?(f.addLinkAttributes(R,d.url,d.newWindow),J=!0):d.action?(this._bindNamedAction(R,d.action),J=!0):d.attachment?(this.#t(R,d.attachment,d.attachmentDest),J=!0):d.setOCGState?(this.#n(R,d.setOCGState),J=!0):d.dest?(this._bindLink(R,d.dest),J=!0):(d.actions&&(d.actions.Action||d.actions["Mouse Up"]||d.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(R,d),J=!0),d.resetForm?(this._bindResetFormAction(R,d.resetForm),J=!0):this.isTooltipOnly&&!J&&(this._bindLink(R,""),J=!0)),this.container.classList.add("linkAnnotation"),J&&this.container.append(R),this.container}#e(){this.container.setAttribute("data-internal-link","")}_bindLink(d,f){d.href=this.linkService.getDestinationHash(f),d.onclick=()=>(f&&this.linkService.goToDestination(f),!1),(f||""===f)&&this.#e()}_bindNamedAction(d,f){d.href=this.linkService.getAnchorUrl(""),d.onclick=()=>(this.linkService.executeNamedAction(f),!1),this.#e()}#t(d,f,R=null){d.href=this.linkService.getAnchorUrl(""),f.description&&(d.title=f.description),d.onclick=()=>(this.downloadManager?.openOrDownloadData(f.content,f.filename,R),!1),this.#e()}#n(d,f){d.href=this.linkService.getAnchorUrl(""),d.onclick=()=>(this.linkService.executeSetOCGState(f),!1),this.#e()}_bindJSAction(d,f){d.href=this.linkService.getAnchorUrl("");const R=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const J of Object.keys(f.actions)){const re=R.get(J);re&&(d[re]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:f.id,name:J}}),!1))}d.onclick||(d.onclick=()=>!1),this.#e()}_bindResetFormAction(d,f){const R=d.onclick;if(R||(d.href=this.linkService.getAnchorUrl("")),this.#e(),!this._fieldObjects)return Pe('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(R||(d.onclick=()=>!1));d.onclick=()=>{R?.();const{fields:J,refs:re,include:ve}=f,Ie=[];if(0!==J.length||0!==re.length){const zt=new Set(re);for(const Ht of J){const bn=this._fieldObjects[Ht]||[];for(const{id:xn}of bn)zt.add(xn)}for(const Ht of Object.values(this._fieldObjects))for(const bn of Ht)zt.has(bn.id)===ve&&Ie.push(bn)}else for(const zt of Object.values(this._fieldObjects))Ie.push(...zt);const Fe=this.annotationStorage,St=[];for(const zt of Ie){const{id:Ht}=zt;switch(St.push(Ht),zt.type){case"text":case"combobox":case"listbox":Fe.setValue(Ht,{value:zt.defaultValue||""});break;case"checkbox":case"radiobutton":Fe.setValue(Ht,{value:zt.defaultValue===zt.exportValues});break;default:continue}const bn=document.querySelector(`[data-element-id="${Ht}"]`);bn&&(Gr.has(bn)?bn.dispatchEvent(new Event("resetform")):Pe(`_bindResetFormAction - element not allowed: ${Ht}`))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:St,name:"ResetForm"}}),!1}}}class Q1 extends aa{constructor(d){super(d,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const d=document.createElement("img");return d.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",d.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),d.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(d),this.container}}class br extends aa{render(){return this.container}showElementAndHideCanvas(d){this.data.hasOwnCanvas&&("CANVAS"===d.previousSibling?.nodeName&&(d.previousSibling.hidden=!0),d.hidden=!1)}_getKeyModifier(d){return Kt.platform.isMac?d.metaKey:d.ctrlKey}_setEventListener(d,f,R,J,re){R.includes("mouse")?d.addEventListener(R,ve=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:J,value:re(ve),shift:ve.shiftKey,modifier:this._getKeyModifier(ve)}})}):d.addEventListener(R,ve=>{if("blur"===R){if(!f.focused||!ve.relatedTarget)return;f.focused=!1}else if("focus"===R){if(f.focused)return;f.focused=!0}re&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:J,value:re(ve)}})})}_setEventListeners(d,f,R,J){for(const[re,ve]of R)("Action"===ve||this.data.actions?.[ve])&&(("Focus"===ve||"Blur"===ve)&&(f||={focused:!1}),this._setEventListener(d,f,re,ve,J),"Focus"!==ve||this.data.actions?.Blur?"Blur"===ve&&!this.data.actions?.Focus&&this._setEventListener(d,f,"focus","Focus",null):this._setEventListener(d,f,"blur","Blur",null))}_setBackgroundColor(d){const f=this.data.backgroundColor||null;d.style.backgroundColor=null===f?"transparent":wn.makeHexColor(f[0],f[1],f[2])}_setTextStyle(d){const{fontColor:R}=this.data.defaultAppearanceData,J=this.data.defaultAppearanceData.fontSize||9,re=d.style;let ve;const Fe=St=>Math.round(10*St)/10;if(this.data.multiLine){const St=Math.abs(this.data.rect[3]-this.data.rect[1]-2),zt=Math.round(St/(q*J))||1;ve=Math.min(J,Fe(St/zt/q))}else{const St=Math.abs(this.data.rect[3]-this.data.rect[1]-2);ve=Math.min(J,Fe(St/q))}re.fontSize=`calc(${ve}px * var(--scale-factor))`,re.color=wn.makeHexColor(R[0],R[1],R[2]),null!==this.data.textAlignment&&(re.textAlign=["left","center","right"][this.data.textAlignment])}_setRequired(d,f){f?d.setAttribute("required",!0):d.removeAttribute("required"),d.setAttribute("aria-required",f)}}class Rl extends br{constructor(d){super(d,{isRenderable:d.renderForms||d.data.hasOwnCanvas||!d.data.hasAppearance&&!!d.data.fieldValue})}setPropertyOnSiblings(d,f,R,J){const re=this.annotationStorage;for(const ve of this._getElementsByName(d.name,d.id))ve.domElement&&(ve.domElement[f]=R),re.setValue(ve.id,{[J]:R})}render(){const d=this.annotationStorage,f=this.data.id;this.container.classList.add("textWidgetAnnotation");let R=null;if(this.renderForms){const J=d.getValue(f,{value:this.data.fieldValue});let re=J.value||"";const ve=d.getValue(f,{charLimit:this.data.maxLen}).charLimit;ve&&re.length>ve&&(re=re.slice(0,ve));let Ie=J.formattedValue||this.data.textContent?.join("\n")||null;Ie&&this.data.comb&&(Ie=Ie.replaceAll(/\s+/g,""));const Fe={userValue:re,formattedValue:Ie,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(R=document.createElement("textarea"),R.textContent=Ie??re,this.data.doNotScroll&&(R.style.overflowY="hidden")):(R=document.createElement("input"),R.type="text",R.setAttribute("value",Ie??re),this.data.doNotScroll&&(R.style.overflowX="hidden")),this.data.hasOwnCanvas&&(R.hidden=!0),Gr.add(R),R.setAttribute("data-element-id",f),R.disabled=this.data.readOnly,R.name=this.data.fieldName,R.tabIndex=B0,this._setRequired(R,this.data.required),ve&&(R.maxLength=ve),R.addEventListener("input",zt=>{d.setValue(f,{value:zt.target.value}),this.setPropertyOnSiblings(R,"value",zt.target.value,"value"),Fe.formattedValue=null}),R.addEventListener("resetform",zt=>{R.value=Fe.userValue=this.data.defaultFieldValue??"",Fe.formattedValue=null});let St=zt=>{const{formattedValue:Ht}=Fe;null!=Ht&&(zt.target.value=Ht),zt.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){R.addEventListener("focus",Ht=>{if(Fe.focused)return;const{target:bn}=Ht;Fe.userValue&&(bn.value=Fe.userValue),Fe.lastCommittedValue=bn.value,Fe.commitKey=1,this.data.actions?.Focus||(Fe.focused=!0)}),R.addEventListener("updatefromsandbox",Ht=>{this.showElementAndHideCanvas(Ht.target),this._dispatchEventFromSandbox({value(xn){Fe.userValue=xn.detail.value??"",d.setValue(f,{value:Fe.userValue.toString()}),xn.target.value=Fe.userValue},formattedValue(xn){const{formattedValue:Zt}=xn.detail;Fe.formattedValue=Zt,null!=Zt&&xn.target!==document.activeElement&&(xn.target.value=Zt),d.setValue(f,{formattedValue:Zt})},selRange(xn){xn.target.setSelectionRange(...xn.detail.selRange)},charLimit:xn=>{const{charLimit:Zt}=xn.detail,{target:Mi}=xn;if(0===Zt)return void Mi.removeAttribute("maxLength");Mi.setAttribute("maxLength",Zt);let Ki=Fe.userValue;!Ki||Ki.length<=Zt||(Ki=Ki.slice(0,Zt),Mi.value=Fe.userValue=Ki,d.setValue(f,{value:Ki}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:f,name:"Keystroke",value:Ki,willCommit:!0,commitKey:1,selStart:Mi.selectionStart,selEnd:Mi.selectionEnd}}))}},Ht)}),R.addEventListener("keydown",Ht=>{Fe.commitKey=1;let bn=-1;if("Escape"===Ht.key?bn=0:"Enter"!==Ht.key||this.data.multiLine?"Tab"===Ht.key&&(Fe.commitKey=3):bn=2,-1===bn)return;const{value:xn}=Ht.target;Fe.lastCommittedValue!==xn&&(Fe.lastCommittedValue=xn,Fe.userValue=xn,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:f,name:"Keystroke",value:xn,willCommit:!0,commitKey:bn,selStart:Ht.target.selectionStart,selEnd:Ht.target.selectionEnd}}))});const zt=St;St=null,R.addEventListener("blur",Ht=>{if(!Fe.focused||!Ht.relatedTarget)return;this.data.actions?.Blur||(Fe.focused=!1);const{value:bn}=Ht.target;Fe.userValue=bn,Fe.lastCommittedValue!==bn&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:f,name:"Keystroke",value:bn,willCommit:!0,commitKey:Fe.commitKey,selStart:Ht.target.selectionStart,selEnd:Ht.target.selectionEnd}}),zt(Ht)}),this.data.actions?.Keystroke&&R.addEventListener("beforeinput",Ht=>{Fe.lastCommittedValue=null;const{data:bn,target:xn}=Ht,{value:Zt,selectionStart:Mi,selectionEnd:Ki}=xn;let Pi=Mi,hs=Ki;switch(Ht.inputType){case"deleteWordBackward":{const Cs=Zt.substring(0,Mi).match(/\w*[^\w]*$/);Cs&&(Pi-=Cs[0].length);break}case"deleteWordForward":{const Cs=Zt.substring(Mi).match(/^[^\w]*\w*/);Cs&&(hs+=Cs[0].length);break}case"deleteContentBackward":Mi===Ki&&(Pi-=1);break;case"deleteContentForward":Mi===Ki&&(hs+=1)}Ht.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:f,name:"Keystroke",value:Zt,change:bn||"",willCommit:!1,selStart:Pi,selEnd:hs}})}),this._setEventListeners(R,Fe,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Ht=>Ht.target.value)}if(St&&R.addEventListener("blur",St),this.data.comb){const Ht=(this.data.rect[2]-this.data.rect[0])/ve;R.classList.add("comb"),R.style.letterSpacing=`calc(${Ht}px * var(--scale-factor) - 1ch)`}}else R=document.createElement("div"),R.textContent=this.data.fieldValue,R.style.verticalAlign="middle",R.style.display="table-cell",this.data.hasOwnCanvas&&(R.hidden=!0);return this._setTextStyle(R),this._setBackgroundColor(R),this._setDefaultPropertiesFromJS(R),this.container.append(R),this.container}}class hl extends br{constructor(d){super(d,{isRenderable:!!d.data.hasOwnCanvas})}}class hr extends br{constructor(d){super(d,{isRenderable:d.renderForms})}render(){const d=this.annotationStorage,f=this.data,R=f.id;let J=d.getValue(R,{value:f.exportValue===f.fieldValue}).value;"string"==typeof J&&(J="Off"!==J,d.setValue(R,{value:J})),this.container.classList.add("buttonWidgetAnnotation","checkBox");const re=document.createElement("input");return Gr.add(re),re.setAttribute("data-element-id",R),re.disabled=f.readOnly,this._setRequired(re,this.data.required),re.type="checkbox",re.name=f.fieldName,J&&re.setAttribute("checked",!0),re.setAttribute("exportValue",f.exportValue),re.tabIndex=B0,re.addEventListener("change",ve=>{const{name:Ie,checked:Fe}=ve.target;for(const St of this._getElementsByName(Ie,R)){const zt=Fe&&St.exportValue===f.exportValue;St.domElement&&(St.domElement.checked=zt),d.setValue(St.id,{value:zt})}d.setValue(R,{value:Fe})}),re.addEventListener("resetform",ve=>{ve.target.checked=(f.defaultFieldValue||"Off")===f.exportValue}),this.enableScripting&&this.hasJSActions&&(re.addEventListener("updatefromsandbox",ve=>{this._dispatchEventFromSandbox({value(Fe){Fe.target.checked="Off"!==Fe.detail.value,d.setValue(R,{value:Fe.target.checked})}},ve)}),this._setEventListeners(re,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],ve=>ve.target.checked)),this._setBackgroundColor(re),this._setDefaultPropertiesFromJS(re),this.container.append(re),this.container}}class Ul extends br{constructor(d){super(d,{isRenderable:d.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");const d=this.annotationStorage,f=this.data,R=f.id;let J=d.getValue(R,{value:f.fieldValue===f.buttonValue}).value;if("string"==typeof J&&(J=J!==f.buttonValue,d.setValue(R,{value:J})),J)for(const ve of this._getElementsByName(f.fieldName,R))d.setValue(ve.id,{value:!1});const re=document.createElement("input");if(Gr.add(re),re.setAttribute("data-element-id",R),re.disabled=f.readOnly,this._setRequired(re,this.data.required),re.type="radio",re.name=f.fieldName,J&&re.setAttribute("checked",!0),re.tabIndex=B0,re.addEventListener("change",ve=>{const{name:Ie,checked:Fe}=ve.target;for(const St of this._getElementsByName(Ie,R))d.setValue(St.id,{value:!1});d.setValue(R,{value:Fe})}),re.addEventListener("resetform",ve=>{const Ie=f.defaultFieldValue;ve.target.checked=null!=Ie&&Ie===f.buttonValue}),this.enableScripting&&this.hasJSActions){const ve=f.buttonValue;re.addEventListener("updatefromsandbox",Ie=>{this._dispatchEventFromSandbox({value:St=>{const zt=ve===St.detail.value;for(const Ht of this._getElementsByName(St.target.name)){const bn=zt&&Ht.id===R;Ht.domElement&&(Ht.domElement.checked=bn),d.setValue(Ht.id,{value:bn})}}},Ie)}),this._setEventListeners(re,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Ie=>Ie.target.checked)}return this._setBackgroundColor(re),this._setDefaultPropertiesFromJS(re),this.container.append(re),this.container}}class t1 extends B1{constructor(d){super(d,{ignoreBorder:d.data.hasAppearance})}render(){const d=super.render();d.classList.add("buttonWidgetAnnotation","pushButton");const f=d.lastChild;return this.enableScripting&&this.hasJSActions&&f&&(this._setDefaultPropertiesFromJS(f),f.addEventListener("updatefromsandbox",R=>{this._dispatchEventFromSandbox({},R)})),d}}class L0 extends br{constructor(d){super(d,{isRenderable:d.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");const d=this.annotationStorage,f=this.data.id,R=d.getValue(f,{value:this.data.fieldValue}),J=document.createElement("select");Gr.add(J),J.setAttribute("data-element-id",f),J.disabled=this.data.readOnly,this._setRequired(J,this.data.required),J.name=this.data.fieldName,J.tabIndex=B0;let re=this.data.combo&&this.data.options.length>0;this.data.combo||(J.size=this.data.options.length,this.data.multiSelect&&(J.multiple=!0)),J.addEventListener("resetform",zt=>{const Ht=this.data.defaultFieldValue;for(const bn of J.options)bn.selected=bn.value===Ht});for(const zt of this.data.options){const Ht=document.createElement("option");Ht.textContent=zt.displayValue,Ht.value=zt.exportValue,R.value.includes(zt.exportValue)&&(Ht.setAttribute("selected",!0),re=!1),J.append(Ht)}let ve=null;if(re){const zt=document.createElement("option");zt.value=" ",zt.setAttribute("hidden",!0),zt.setAttribute("selected",!0),J.prepend(zt),ve=()=>{zt.remove(),J.removeEventListener("input",ve),ve=null},J.addEventListener("input",ve)}const Ie=zt=>{const Ht=zt?"value":"textContent",{options:bn,multiple:xn}=J;return xn?Array.prototype.filter.call(bn,Zt=>Zt.selected).map(Zt=>Zt[Ht]):-1===bn.selectedIndex?null:bn[bn.selectedIndex][Ht]};let Fe=Ie(!1);const St=zt=>Array.prototype.map.call(zt.target.options,bn=>({displayValue:bn.textContent,exportValue:bn.value}));return this.enableScripting&&this.hasJSActions?(J.addEventListener("updatefromsandbox",zt=>{this._dispatchEventFromSandbox({value(bn){ve?.();const xn=bn.detail.value,Zt=new Set(Array.isArray(xn)?xn:[xn]);for(const Mi of J.options)Mi.selected=Zt.has(Mi.value);d.setValue(f,{value:Ie(!0)}),Fe=Ie(!1)},multipleSelection(bn){J.multiple=!0},remove(bn){const xn=J.options,Zt=bn.detail.remove;xn[Zt].selected=!1,J.remove(Zt),xn.length>0&&-1===Array.prototype.findIndex.call(xn,Ki=>Ki.selected)&&(xn[0].selected=!0),d.setValue(f,{value:Ie(!0),items:St(bn)}),Fe=Ie(!1)},clear(bn){for(;0!==J.length;)J.remove(0);d.setValue(f,{value:null,items:[]}),Fe=Ie(!1)},insert(bn){const{index:xn,displayValue:Zt,exportValue:Mi}=bn.detail.insert,Ki=J.children[xn],Pi=document.createElement("option");Pi.textContent=Zt,Pi.value=Mi,Ki?Ki.before(Pi):J.append(Pi),d.setValue(f,{value:Ie(!0),items:St(bn)}),Fe=Ie(!1)},items(bn){const{items:xn}=bn.detail;for(;0!==J.length;)J.remove(0);for(const Zt of xn){const{displayValue:Mi,exportValue:Ki}=Zt,Pi=document.createElement("option");Pi.textContent=Mi,Pi.value=Ki,J.append(Pi)}J.options.length>0&&(J.options[0].selected=!0),d.setValue(f,{value:Ie(!0),items:St(bn)}),Fe=Ie(!1)},indices(bn){const xn=new Set(bn.detail.indices);for(const Zt of bn.target.options)Zt.selected=xn.has(Zt.index);d.setValue(f,{value:Ie(!0)}),Fe=Ie(!1)},editable(bn){bn.target.disabled=!bn.detail.editable}},zt)}),J.addEventListener("input",zt=>{const Ht=Ie(!0),bn=Ie(!1);d.setValue(f,{value:Ht}),zt.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:f,name:"Keystroke",value:Fe,change:bn,changeEx:Ht,willCommit:!1,commitKey:1,keyDown:!1}})}),this._setEventListeners(J,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],zt=>zt.target.value)):J.addEventListener("input",function(zt){d.setValue(f,{value:Ie(!0)})}),this.data.combo&&this._setTextStyle(J),this._setBackgroundColor(J),this._setDefaultPropertiesFromJS(J),this.container.append(J),this.container}}class Ll extends aa{constructor(d){const{data:f,elements:R}=d;super(d,{isRenderable:aa._hasPopupData(f)}),this.elements=R,this.popup=null}render(){this.container.classList.add("popupAnnotation");const d=this.popup=new k0({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open}),f=[];for(const R of this.elements)R.popup=d,f.push(R.data.id),R.addHighlightArea();return this.container.setAttribute("aria-controls",f.map(R=>`${Mn}${R}`).join(",")),this.container}}class k0{#e=this.#P.bind(this);#t=this.#T.bind(this);#n=this.#z.bind(this);#i=this.#y.bind(this);#s=null;#o=null;#a=null;#l=null;#d=null;#c=null;#u=null;#r=!1;#p=null;#f=null;#h=null;#m=null;#g=null;#_=null;#b=!1;constructor({container:d,color:f,elements:R,titleObj:J,modificationDate:re,contentsObj:ve,richText:Ie,parent:Fe,rect:St,parentRect:zt,open:Ht}){this.#o=d,this.#g=J,this.#a=ve,this.#m=Ie,this.#c=Fe,this.#s=f,this.#h=St,this.#u=zt,this.#d=R,this.#l=ei.toDateObject(re),this.trigger=R.flatMap(bn=>bn.getElementsToTriggerPopup());for(const bn of this.trigger)bn.addEventListener("click",this.#i),bn.addEventListener("mouseenter",this.#n),bn.addEventListener("mouseleave",this.#t),bn.classList.add("popupTriggerArea");for(const bn of R)bn.container?.addEventListener("keydown",this.#e);this.#o.hidden=!0,Ht&&this.#y()}render(){if(this.#p)return;const d=this.#p=document.createElement("div");if(d.className="popup",this.#s){const re=d.style.outlineColor=wn.makeHexColor(...this.#s);d.style.backgroundColor=CSS.supports("background-color","color-mix(in srgb, red 30%, white)")?`color-mix(in srgb, ${re} 30%, white)`:wn.makeHexColor(...this.#s.map(Ie=>Math.floor(.7*(255-Ie)+Ie)))}const f=document.createElement("span");f.className="header";const R=document.createElement("h1");if(f.append(R),({dir:R.dir,str:R.textContent}=this.#g),d.append(f),this.#l){const re=document.createElement("span");re.classList.add("popupDate"),re.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),re.setAttribute("data-l10n-args",JSON.stringify({dateObj:this.#l.valueOf()})),f.append(re)}const J=this.#O;if(J)pl.render({xfaHtml:J,intent:"richText",div:d}),d.lastChild.classList.add("richText","popupContent");else{const re=this._formatContents(this.#a);d.append(re)}this.#o.append(d)}get#O(){const d=this.#m,f=this.#a;return d?.str&&(!f?.str||f.str===d.str)&&this.#m.html||null}get#A(){return this.#O?.attributes?.style?.fontSize||0}get#v(){return this.#O?.attributes?.style?.color||null}#E(d){const f=[],R={str:d,html:{name:"div",attributes:{dir:"auto"},children:[{name:"p",children:f}]}},J={style:{color:this.#v,fontSize:this.#A?`calc(${this.#A}px * var(--scale-factor))`:""}};for(const re of d.split("\n"))f.push({name:"span",value:re,attributes:J});return R}_formatContents({str:d,dir:f}){const R=document.createElement("p");R.classList.add("popupContent"),R.dir=f;const J=d.split(/(?:\r\n?|\n)/);for(let re=0,ve=J.length;re<ve;++re)R.append(document.createTextNode(J[re])),re<ve-1&&R.append(document.createElement("br"));return R}#P(d){d.altKey||d.shiftKey||d.ctrlKey||d.metaKey||("Enter"===d.key||"Escape"===d.key&&this.#r)&&this.#y()}updateEdited({rect:d,popupContent:f}){this.#_||={contentsObj:this.#a,richText:this.#m},d&&(this.#f=null),f&&(this.#m=this.#E(f),this.#a=null),this.#p?.remove(),this.#p=null}resetEdited(){this.#_&&(({contentsObj:this.#a,richText:this.#m}=this.#_),this.#_=null,this.#p?.remove(),this.#p=null,this.#f=null)}#C(){if(null!==this.#f)return;const{page:{view:d},viewport:{rawDims:{pageWidth:f,pageHeight:R,pageX:J,pageY:re}}}=this.#c;let ve=!!this.#u,Ie=ve?this.#u:this.#h;for(const Zt of this.#d)if(!Ie||null!==wn.intersect(Zt.data.rect,Ie)){Ie=Zt.data.rect,ve=!0;break}const Fe=wn.normalizeRect([Ie[0],d[3]-Ie[1]+d[1],Ie[2],d[3]-Ie[3]+d[1]]);this.#f=[100*(Fe[0]+(ve?Ie[2]-Ie[0]+5:0)-J)/f,100*(Fe[1]-re)/R];const{style:xn}=this.#o;xn.left=`${this.#f[0]}%`,xn.top=`${this.#f[1]}%`}#y(){this.#r=!this.#r,this.#r?(this.#z(),this.#o.addEventListener("click",this.#i),this.#o.addEventListener("keydown",this.#e)):(this.#T(),this.#o.removeEventListener("click",this.#i),this.#o.removeEventListener("keydown",this.#e))}#z(){this.#p||this.render(),this.isVisible?this.#r&&this.#o.classList.add("focused"):(this.#C(),this.#o.hidden=!1,this.#o.style.zIndex=parseInt(this.#o.style.zIndex)+1e3)}#T(){this.#o.classList.remove("focused"),!this.#r&&this.isVisible&&(this.#o.hidden=!0,this.#o.style.zIndex=parseInt(this.#o.style.zIndex)-1e3)}forceHide(){this.#b=this.isVisible,this.#b&&(this.#o.hidden=!0)}maybeShow(){this.#b&&(this.#p||this.#z(),this.#b=!1,this.#o.hidden=!1)}get isVisible(){return!1===this.#o.hidden}}class Gl extends aa{constructor(d){super(d,{isRenderable:!0,ignoreBorder:!0}),this.textContent=d.data.textContent,this.textPosition=d.data.textPosition,this.annotationEditorType=x.FREETEXT}render(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){const d=document.createElement("div");d.classList.add("annotationTextContent"),d.setAttribute("role","comment");for(const f of this.textContent){const R=document.createElement("span");R.textContent=f,d.append(R)}this.container.append(d)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}}class fl extends aa{#e=null;constructor(d){super(d,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("lineAnnotation");const d=this.data,{width:f,height:R}=xo(d.rect),J=this.svgFactory.create(f,R,!0),re=this.#e=this.svgFactory.createElement("svg:line");return re.setAttribute("x1",d.rect[2]-d.lineCoordinates[0]),re.setAttribute("y1",d.rect[3]-d.lineCoordinates[1]),re.setAttribute("x2",d.rect[2]-d.lineCoordinates[2]),re.setAttribute("y2",d.rect[3]-d.lineCoordinates[3]),re.setAttribute("stroke-width",d.borderStyle.width||1),re.setAttribute("stroke","transparent"),re.setAttribute("fill","transparent"),J.append(re),this.container.append(J),!d.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class N1 extends aa{#e=null;constructor(d){super(d,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("squareAnnotation");const d=this.data,{width:f,height:R}=xo(d.rect),J=this.svgFactory.create(f,R,!0),re=d.borderStyle.width,ve=this.#e=this.svgFactory.createElement("svg:rect");return ve.setAttribute("x",re/2),ve.setAttribute("y",re/2),ve.setAttribute("width",f-re),ve.setAttribute("height",R-re),ve.setAttribute("stroke-width",re||1),ve.setAttribute("stroke","transparent"),ve.setAttribute("fill","transparent"),J.append(ve),this.container.append(J),!d.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class bt extends aa{#e=null;constructor(d){super(d,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("circleAnnotation");const d=this.data,{width:f,height:R}=xo(d.rect),J=this.svgFactory.create(f,R,!0),re=d.borderStyle.width,ve=this.#e=this.svgFactory.createElement("svg:ellipse");return ve.setAttribute("cx",f/2),ve.setAttribute("cy",R/2),ve.setAttribute("rx",f/2-re/2),ve.setAttribute("ry",R/2-re/2),ve.setAttribute("stroke-width",re||1),ve.setAttribute("stroke","transparent"),ve.setAttribute("fill","transparent"),J.append(ve),this.container.append(J),!d.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class Ln extends aa{#e=null;constructor(d){super(d,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.classList.add(this.containerClassName);const{data:{rect:d,vertices:f,borderStyle:R,popupRef:J}}=this;if(!f)return this.container;const{width:re,height:ve}=xo(d),Ie=this.svgFactory.create(re,ve,!0);let Fe=[];for(let zt=0,Ht=f.length;zt<Ht;zt+=2)Fe.push(`${f[zt]-d[0]},${d[3]-f[zt+1]}`);Fe=Fe.join(" ");const St=this.#e=this.svgFactory.createElement(this.svgElementName);return St.setAttribute("points",Fe),St.setAttribute("stroke-width",R.width||1),St.setAttribute("stroke","transparent"),St.setAttribute("fill","transparent"),Ie.append(St),this.container.append(Ie),!J&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class kt extends Ln{constructor(d){super(d),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}}class dn extends aa{constructor(d){super(d,{isRenderable:!0,ignoreBorder:!0})}render(){return this.container.classList.add("caretAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}}class si extends aa{#e=[];constructor(d){super(d,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline",this.annotationEditorType=x.INK}render(){this.container.classList.add(this.containerClassName);const{data:{rect:d,inkLists:f,borderStyle:R,popupRef:J}}=this,{width:re,height:ve}=xo(d),Ie=this.svgFactory.create(re,ve,!0);for(const Fe of f){let St=[];for(let Ht=0,bn=Fe.length;Ht<bn;Ht+=2)St.push(`${Fe[Ht]-d[0]},${d[3]-Fe[Ht+1]}`);St=St.join(" ");const zt=this.svgFactory.createElement(this.svgElementName);this.#e.push(zt),zt.setAttribute("points",St),zt.setAttribute("stroke-width",R.width||1),zt.setAttribute("stroke","transparent"),zt.setAttribute("fill","transparent"),!J&&this.hasPopupData&&this._createPopup(),Ie.append(zt)}return this.container.append(Ie),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class is extends aa{constructor(d){super(d,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("highlightAnnotation"),this.container}}class bs extends aa{constructor(d){super(d,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("underlineAnnotation"),this.container}}class Xs extends aa{constructor(d){super(d,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("squigglyAnnotation"),this.container}}class jr extends aa{constructor(d){super(d,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("strikeoutAnnotation"),this.container}}class Mr extends aa{constructor(d){super(d,{isRenderable:!0,ignoreBorder:!0})}render(){return this.container.classList.add("stampAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}}class Ma extends aa{#e=null;constructor(d){super(d,{isRenderable:!0});const{file:f}=this.data;this.filename=f.filename,this.content=f.content,this.linkService.eventBus?.dispatch("fileattachmentannotation",{source:this,...f})}render(){this.container.classList.add("fileAttachmentAnnotation");const{container:d,data:f}=this;let R;f.hasAppearance||0===f.fillAlpha?R=document.createElement("div"):(R=document.createElement("img"),R.src=`${this.imageResourcesPath}annotation-${/paperclip/i.test(f.name)?"paperclip":"pushpin"}.svg`,f.fillAlpha&&f.fillAlpha<1&&(R.style=`filter: opacity(${Math.round(100*f.fillAlpha)}%);`)),R.addEventListener("dblclick",this.#t.bind(this)),this.#e=R;const{isMac:J}=Kt.platform;return d.addEventListener("keydown",re=>{"Enter"===re.key&&(J?re.metaKey:re.ctrlKey)&&this.#t()}),!f.popupRef&&this.hasPopupData?this._createPopup():R.classList.add("popupTriggerArea"),d.append(R),d}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}#t(){this.downloadManager?.openOrDownloadData(this.content,this.filename)}}class Rs{#e=null;#t=null;#n=new Map;constructor({div:d,accessibilityManager:f,annotationCanvasMap:R,annotationEditorUIManager:J,page:re,viewport:ve}){this.div=d,this.#e=f,this.#t=R,this.page=re,this.viewport=ve,this.zIndex=0,this._annotationEditorUIManager=J}hasEditableAnnotations(){return this.#n.size>0}#i(d,f){const R=d.firstChild||d;R.id=`${Mn}${f}`,this.div.append(d),this.#e?.moveElementInDOM(this.div,d,R,!1)}render(d){var f=this;return(0,I.A)(function*(){const{annotations:R}=d,J=f.div;mi(J,f.viewport);const re=new Map,ve={data:null,layer:J,linkService:d.linkService,downloadManager:d.downloadManager,imageResourcesPath:d.imageResourcesPath||"",renderForms:!1!==d.renderForms,svgFactory:new pt,annotationStorage:d.annotationStorage||new Ji,enableScripting:!0===d.enableScripting,hasJSActions:d.hasJSActions,fieldObjects:d.fieldObjects,parent:f,elements:null};for(const Ie of R){if(Ie.noHTML)continue;const Fe=16===Ie.annotationType;if(Fe){const Ht=re.get(Ie.id);if(!Ht)continue;ve.elements=Ht}else{const{width:Ht,height:bn}=xo(Ie.rect);if(Ht<=0||bn<=0)continue}ve.data=Ie;const St=rr.create(ve);if(!St.isRenderable)continue;if(!Fe&&Ie.popupRef){const Ht=re.get(Ie.popupRef);Ht?Ht.push(St):re.set(Ie.popupRef,[St])}const zt=St.render();Ie.hidden&&(zt.style.visibility="hidden"),f.#i(zt,Ie.id),St._isEditable&&(f.#n.set(St.data.id,St),f._annotationEditorUIManager?.renderAnnotationElement(St))}f.#s()})()}update({viewport:d}){const f=this.div;this.viewport=d,mi(f,{rotation:d.rotation}),this.#s(),f.hidden=!1}#s(){if(!this.#t)return;const d=this.div;for(const[f,R]of this.#t){const J=d.querySelector(`[data-annotation-id="${f}"]`);if(!J)continue;R.className="annotationContent";const{firstChild:re}=J;re?"CANVAS"===re.nodeName?re.replaceWith(R):re.classList.contains("annotationContent")?re.after(R):re.before(R):J.append(R)}this.#t.clear()}getEditableAnnotations(){return Array.from(this.#n.values())}getEditableAnnotation(d){return this.#n.get(d)}}const fr=/\r\n?|\n/g;class Fo extends Ot{#e;#t="";#n=`${this.id}-editor`;#i=null;#s;#o=null;static _freeTextDefaultContent="";static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static get _keyboardManager(){const d=Fo.prototype,f=re=>re.isEmpty(),R=fe.TRANSLATE_SMALL,J=fe.TRANSLATE_BIG;return Ct(this,"_keyboardManager",new Jt([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],d.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],d.commitOrRemove],[["ArrowLeft","mac+ArrowLeft"],d._translateEmpty,{args:[-R,0],checker:f}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],d._translateEmpty,{args:[-J,0],checker:f}],[["ArrowRight","mac+ArrowRight"],d._translateEmpty,{args:[R,0],checker:f}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],d._translateEmpty,{args:[J,0],checker:f}],[["ArrowUp","mac+ArrowUp"],d._translateEmpty,{args:[0,-R],checker:f}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],d._translateEmpty,{args:[0,-J],checker:f}],[["ArrowDown","mac+ArrowDown"],d._translateEmpty,{args:[0,R],checker:f}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],d._translateEmpty,{args:[0,J],checker:f}]]))}static _type="freetext";static _editorType=x.FREETEXT;constructor(d){super({...d,name:"freeTextEditor"}),this.#e=d.color||Fo._defaultColor||Ot._defaultLineColor,this.#s=d.fontSize||Fo._defaultFontSize}static initialize(d,f){Ot.initialize(d,f,{strings:["pdfjs-free-text-default-content"]});const R=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(R.getPropertyValue("--freetext-padding"))}static updateDefaultParams(d,f){switch(d){case B.FREETEXT_SIZE:Fo._defaultFontSize=f;break;case B.FREETEXT_COLOR:Fo._defaultColor=f}}updateParams(d,f){switch(d){case B.FREETEXT_SIZE:this.#a(f);break;case B.FREETEXT_COLOR:this.#l(f)}}static get defaultPropertiesToUpdate(){return[[B.FREETEXT_SIZE,Fo._defaultFontSize],[B.FREETEXT_COLOR,Fo._defaultColor||Ot._defaultLineColor]]}get propertiesToUpdate(){return[[B.FREETEXT_SIZE,this.#s],[B.FREETEXT_COLOR,this.#e]]}#a(d){const f=J=>{this.editorDiv.style.fontSize=`calc(${J}px * var(--scale-factor))`,this.translate(0,-(J-this.#s)*this.parentScale),this.#s=J,this.#c()},R=this.#s;this.addCommands({cmd:f.bind(this,d),undo:f.bind(this,R),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:B.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#l(d){const f=J=>{this.#e=this.editorDiv.style.color=J},R=this.#e;this.addCommands({cmd:f.bind(this,d),undo:f.bind(this,R),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:B.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}_translateEmpty(d,f){this._uiManager.translateSelectedEditors(d,f,!0)}getInitialTranslation(){const d=this.parentScale;return[-Fo._internalPadding*d,-(Fo._internalPadding+this.#s)*d]}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(this.isInEditMode())return;this.parent.setEditingState(!1),this.parent.updateToolbar(x.FREETEXT),super.enableEditMode(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),this.#i=new AbortController;const d=this._uiManager.combinedSignal(this.#i);this.editorDiv.addEventListener("keydown",this.editorDivKeydown.bind(this),{signal:d}),this.editorDiv.addEventListener("focus",this.editorDivFocus.bind(this),{signal:d}),this.editorDiv.addEventListener("blur",this.editorDivBlur.bind(this),{signal:d}),this.editorDiv.addEventListener("input",this.editorDivInput.bind(this),{signal:d}),this.editorDiv.addEventListener("paste",this.editorDivPaste.bind(this),{signal:d})}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",this.#n),this._isDraggable=!0,this.#i?.abort(),this.#i=null,this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"))}focusin(d){this._focusEventsAllowed&&(super.focusin(d),d.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus(),this._initialOptions?.isCentered&&this.center(),this._initialOptions=null)}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),super.remove()}#d(){const d=[];this.editorDiv.normalize();for(const f of this.editorDiv.childNodes)d.push(Fo.#u(f));return d.join("\n")}#c(){const[d,f]=this.parentDimensions;let R;if(this.isAttachedToDOM)R=this.div.getBoundingClientRect();else{const{currentLayer:J,div:re}=this,ve=re.style.display,Ie=re.classList.contains("hidden");re.classList.remove("hidden"),re.style.display="hidden",J.div.append(this.div),R=re.getBoundingClientRect(),re.remove(),re.style.display=ve,re.classList.toggle("hidden",Ie)}this.rotation%180==this.parentRotation%180?(this.width=R.width/d,this.height=R.height/f):(this.width=R.height/d,this.height=R.width/f),this.fixAndSetPosition()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();const d=this.#t,f=this.#t=this.#d().trimEnd();if(d===f)return;const R=J=>{this.#t=J,J?(this.#r(),this._uiManager.rebuild(this),this.#c()):this.remove()};this.addCommands({cmd:()=>{R(f)},undo:()=>{R(d)},mustExec:!1}),this.#c()}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}dblclick(d){this.enterInEditMode()}keydown(d){d.target===this.div&&"Enter"===d.key&&(this.enterInEditMode(),d.preventDefault())}editorDivKeydown(d){Fo._keyboardManager.exec(this,d)}editorDivFocus(d){this.isEditing=!0}editorDivBlur(d){this.isEditing=!1}editorDivInput(d){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}render(){if(this.div)return this.div;let d,f;this.width&&(d=this.x,f=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",this.#n),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text"),this.enableEditing(),Ot._l10nPromise.get("pdfjs-free-text-default-content").then(J=>this.editorDiv?.setAttribute("default-content",J)),this.editorDiv.contentEditable=!0;const{style:R}=this.editorDiv;if(R.fontSize=`calc(${this.#s}px * var(--scale-factor))`,R.color=this.#e,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),Cn(this,this.div,["dblclick","keydown"]),this.width){const[J,re]=this.parentDimensions;if(this.annotationElementId){const{position:ve}=this.#o;let[Ie,Fe]=this.getInitialTranslation();[Ie,Fe]=this.pageTranslationToScreen(Ie,Fe);const[St,zt]=this.pageDimensions,[Ht,bn]=this.pageTranslation;let xn,Zt;switch(this.rotation){case 0:xn=d+(ve[0]-Ht)/St,Zt=f+this.height-(ve[1]-bn)/zt;break;case 90:xn=d+(ve[0]-Ht)/St,Zt=f-(ve[1]-bn)/zt,[Ie,Fe]=[Fe,-Ie];break;case 180:xn=d-this.width+(ve[0]-Ht)/St,Zt=f-(ve[1]-bn)/zt,[Ie,Fe]=[-Ie,-Fe];break;case 270:xn=d+(ve[0]-Ht-this.height*zt)/St,Zt=f+(ve[1]-bn-this.width*St)/zt,[Ie,Fe]=[-Fe,Ie]}this.setAt(xn*J,Zt*re,Ie,Fe)}else this.setAt(d*J,f*re,this.width*J,this.height*re);this.#r(),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}static#u(d){return(d.nodeType===Node.TEXT_NODE?d.nodeValue:d.innerText).replaceAll(fr,"")}editorDivPaste(d){const f=d.clipboardData||window.clipboardData,{types:R}=f;if(1===R.length&&"text/plain"===R[0])return;d.preventDefault();const J=Fo.#f(f.getData("text")||"").replaceAll(fr,"\n");if(!J)return;const re=window.getSelection();if(!re.rangeCount)return;this.editorDiv.normalize(),re.deleteFromDocument();const ve=re.getRangeAt(0);if(!J.includes("\n"))return ve.insertNode(document.createTextNode(J)),this.editorDiv.normalize(),void re.collapseToStart();const{startContainer:Ie,startOffset:Fe}=ve,St=[],zt=[];if(Ie.nodeType===Node.TEXT_NODE){const xn=Ie.parentElement;if(zt.push(Ie.nodeValue.slice(Fe).replaceAll(fr,"")),xn!==this.editorDiv){let Zt=St;for(const Mi of this.editorDiv.childNodes)Mi!==xn?Zt.push(Fo.#u(Mi)):Zt=zt}St.push(Ie.nodeValue.slice(0,Fe).replaceAll(fr,""))}else if(Ie===this.editorDiv){let xn=St,Zt=0;for(const Mi of this.editorDiv.childNodes)Zt++===Fe&&(xn=zt),xn.push(Fo.#u(Mi))}this.#t=`${St.join("\n")}${J}${zt.join("\n")}`,this.#r();const Ht=new Range;let bn=St.reduce((xn,Zt)=>xn+Zt.length,0);for(const{firstChild:xn}of this.editorDiv.childNodes)if(xn.nodeType===Node.TEXT_NODE){const Zt=xn.nodeValue.length;if(bn<=Zt){Ht.setStart(xn,bn),Ht.setEnd(xn,bn);break}bn-=Zt}re.removeAllRanges(),re.addRange(Ht)}#r(){if(this.editorDiv.replaceChildren(),this.#t)for(const d of this.#t.split("\n")){const f=document.createElement("div");f.append(d?document.createTextNode(d):document.createElement("br")),this.editorDiv.append(f)}}#p(){return this.#t.replaceAll("\xa0"," ")}static#f(d){return d.replaceAll(" ","\xa0")}get contentDiv(){return this.editorDiv}static deserialize(d,f,R){let J=null;if(d instanceof Gl){const{data:{defaultAppearanceData:{fontSize:ve,fontColor:Ie},rect:Fe,rotation:St,id:zt},textContent:Ht,textPosition:bn,parent:{page:{pageNumber:xn}}}=d;if(!Ht||0===Ht.length)return null;J=d={annotationType:x.FREETEXT,color:Array.from(Ie),fontSize:ve,value:Ht.join("\n"),position:bn,pageIndex:xn-1,rect:Fe.slice(0),rotation:St,id:zt,deleted:!1}}const re=super.deserialize(d,f,R);return re.#s=d.fontSize,re.#e=wn.makeHexColor(...d.color),re.#t=Fo.#f(d.value),re.annotationElementId=d.id||null,re.#o=J,re}serialize(d=!1){if(this.isEmpty())return null;if(this.deleted)return{pageIndex:this.pageIndex,id:this.annotationElementId,deleted:!0};const f=Fo._internalPadding*this.parentScale,R=this.getRect(f,f),J=Ot._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:this.#e),re={annotationType:x.FREETEXT,color:J,fontSize:this.#s,value:this.#p(),pageIndex:this.pageIndex,rect:R,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return d?re:this.annotationElementId&&!this.#h(re)?null:(re.id=this.annotationElementId,re)}#h(d){const{value:f,fontSize:R,color:J,pageIndex:re}=this.#o;return this._hasBeenMoved||d.value!==f||d.fontSize!==R||d.color.some((ve,Ie)=>ve!==J[Ie])||d.pageIndex!==re}renderAnnotationElement(d){const f=super.renderAnnotationElement(d);if(this.deleted)return f;const{style:R}=f;R.fontSize=`calc(${this.#s}px * var(--scale-factor))`,R.color=this.#e,f.replaceChildren();for(const re of this.#t.split("\n")){const ve=document.createElement("div");ve.append(re?document.createTextNode(re):document.createElement("br")),f.append(ve)}const J=Fo._internalPadding*this.parentScale;return d.updateEdited({rect:this.getRect(J,J),popupContent:this.#t}),f}resetAnnotationElement(d){super.resetAnnotationElement(d),d.resetEdited()}}class Va{#e;#t=[];#n=[];constructor(d,f=0,R=0,J=!0){let re=1/0,ve=-1/0,Ie=1/0,Fe=-1/0;const zt=10**-4;for(const{x:Pi,y:hs,width:Cs,height:Es}of d){const Ts=Math.floor((Pi-f)/zt)*zt,xs=Math.ceil((Pi+Cs+f)/zt)*zt,Gs=Math.floor((hs-f)/zt)*zt,no=Math.ceil((hs+Es+f)/zt)*zt;this.#t.push([Ts,Gs,no,!0],[xs,Gs,no,!1]),re=Math.min(re,Ts),ve=Math.max(ve,xs),Ie=Math.min(Ie,Gs),Fe=Math.max(Fe,no)}const Ht=ve-re+2*R,bn=Fe-Ie+2*R,xn=re-R,Zt=Ie-R,Mi=this.#t.at(J?-1:-2),Ki=[Mi[0],Mi[2]];for(const Pi of this.#t){const[hs,Cs,Es]=Pi;Pi[0]=(hs-xn)/Ht,Pi[1]=(Cs-Zt)/bn,Pi[2]=(Es-Zt)/bn}this.#e={x:xn,y:Zt,width:Ht,height:bn,lastPoint:Ki}}getOutlines(){this.#t.sort((f,R)=>f[0]-R[0]||f[1]-R[1]||f[2]-R[2]);const d=[];for(const f of this.#t)f[3]?(d.push(...this.#l(f)),this.#o(f)):(this.#a(f),d.push(...this.#l(f)));return this.#i(d)}#i(d){const f=[],R=new Set;for(const ve of d){const[Ie,Fe,St]=ve;f.push([Ie,Fe,ve],[Ie,St,ve])}f.sort((ve,Ie)=>ve[1]-Ie[1]||ve[0]-Ie[0]);for(let ve=0,Ie=f.length;ve<Ie;ve+=2){const Fe=f[ve][2],St=f[ve+1][2];Fe.push(St),St.push(Fe),R.add(Fe),R.add(St)}const J=[];let re;for(;R.size>0;){const ve=R.values().next().value;let[Ie,Fe,St,zt,Ht]=ve;R.delete(ve);let bn=Ie,xn=Fe;for(re=[Ie,St],J.push(re);;){let Zt;if(R.has(zt))Zt=zt;else{if(!R.has(Ht))break;Zt=Ht}R.delete(Zt),[Ie,Fe,St,zt,Ht]=Zt,bn!==Ie&&(re.push(bn,xn,Ie,xn===Fe?Fe:St),bn=Ie),xn=xn===Fe?St:Fe}re.push(bn,xn)}return new k1(J,this.#e)}#s(d){const f=this.#n;let R=0,J=f.length-1;for(;R<=J;){const re=R+J>>1,ve=f[re][0];if(ve===d)return re;ve<d?R=re+1:J=re-1}return J+1}#o([,d,f]){const R=this.#s(d);this.#n.splice(R,0,[d,f])}#a([,d,f]){const R=this.#s(d);for(let J=R;J<this.#n.length;J++){const[re,ve]=this.#n[J];if(re!==d)break;if(re===d&&ve===f)return void this.#n.splice(J,1)}for(let J=R-1;J>=0;J--){const[re,ve]=this.#n[J];if(re!==d)break;if(re===d&&ve===f)return void this.#n.splice(J,1)}}#l(d){const[f,R,J]=d,re=[[f,R,J]],ve=this.#s(J);for(let Ie=0;Ie<ve;Ie++){const[Fe,St]=this.#n[Ie];for(let zt=0,Ht=re.length;zt<Ht;zt++){const[,bn,xn]=re[zt];if(!(St<=bn||xn<=Fe)){if(bn>=Fe){if(xn>St)re[zt][1]=St;else{if(1===Ht)return[];re.splice(zt,1),zt--,Ht--}continue}re[zt][2]=Fe,xn>St&&re.push([f,St,xn])}}}return re}}class E0{toSVGPath(){throw new Error("Abstract method `toSVGPath` must be implemented.")}get box(){throw new Error("Abstract getter `box` must be implemented.")}serialize(d,f){throw new Error("Abstract method `serialize` must be implemented.")}get free(){return this instanceof ta}}class k1 extends E0{#e;#t;constructor(d,f){super(),this.#t=d,this.#e=f}toSVGPath(){const d=[];for(const f of this.#t){let[R,J]=f;d.push(`M${R} ${J}`);for(let re=2;re<f.length;re+=2){const ve=f[re],Ie=f[re+1];ve===R?(d.push(`V${Ie}`),J=Ie):Ie===J&&(d.push(`H${ve}`),R=ve)}d.push("Z")}return d.join(" ")}serialize([d,f,R,J],re){const ve=[],Ie=R-d,Fe=J-f;for(const St of this.#t){const zt=new Array(St.length);for(let Ht=0;Ht<St.length;Ht+=2)zt[Ht]=d+St[Ht]*Ie,zt[Ht+1]=J-St[Ht+1]*Fe;ve.push(zt)}return ve}get box(){return this.#e}}class n1{#e;#t=[];#n;#i;#s=[];#o=new Float64Array(18);#a;#l;#d;#c;#u;#r;#p=[];static#f=8;static#h=2;static#m=n1.#f+n1.#h;constructor({x:d,y:f},R,J,re,ve,Ie=0){this.#e=R,this.#r=re*J,this.#i=ve,this.#o.set([NaN,NaN,NaN,NaN,d,f],6),this.#n=Ie,this.#c=n1.#f*J,this.#d=n1.#m*J,this.#u=J,this.#p.push(d,f)}get free(){return!0}isEmpty(){return isNaN(this.#o[8])}#g(){const d=this.#o.subarray(4,6),f=this.#o.subarray(16,18),[R,J,re,ve]=this.#e;return[(this.#a+(d[0]-f[0])/2-R)/re,(this.#l+(d[1]-f[1])/2-J)/ve,(this.#a+(f[0]-d[0])/2-R)/re,(this.#l+(f[1]-d[1])/2-J)/ve]}add({x:d,y:f}){this.#a=d,this.#l=f;const[R,J,re,ve]=this.#e;let[Ie,Fe,St,zt]=this.#o.subarray(8,12);const Ht=d-St,bn=f-zt,xn=Math.hypot(Ht,bn);if(xn<this.#d)return!1;const Zt=xn-this.#c,Mi=Zt/xn,Ki=Mi*Ht,Pi=Mi*bn;let hs=Ie,Cs=Fe;Ie=St,Fe=zt,St+=Ki,zt+=Pi,this.#p?.push(d,f);const xs=-Pi/Zt*this.#r,Gs=Ki/Zt*this.#r;return this.#o.set(this.#o.subarray(2,8),0),this.#o.set([St+xs,zt+Gs],4),this.#o.set(this.#o.subarray(14,18),12),this.#o.set([St-xs,zt-Gs],16),isNaN(this.#o[6])?(0===this.#s.length&&(this.#o.set([Ie+xs,Fe+Gs],2),this.#s.push(NaN,NaN,NaN,NaN,(Ie+xs-R)/re,(Fe+Gs-J)/ve),this.#o.set([Ie-xs,Fe-Gs],14),this.#t.push(NaN,NaN,NaN,NaN,(Ie-xs-R)/re,(Fe-Gs-J)/ve)),this.#o.set([hs,Cs,Ie,Fe,St,zt],6),!this.isEmpty()):(this.#o.set([hs,Cs,Ie,Fe,St,zt],6),Math.abs(Math.atan2(Cs-Fe,hs-Ie)-Math.atan2(Pi,Ki))<Math.PI/2?([Ie,Fe,St,zt]=this.#o.subarray(2,6),this.#s.push(NaN,NaN,NaN,NaN,((Ie+St)/2-R)/re,((Fe+zt)/2-J)/ve),[Ie,Fe,hs,Cs]=this.#o.subarray(14,18),this.#t.push(NaN,NaN,NaN,NaN,((hs+Ie)/2-R)/re,((Cs+Fe)/2-J)/ve),!0):([hs,Cs,Ie,Fe,St,zt]=this.#o.subarray(0,6),this.#s.push(((hs+5*Ie)/6-R)/re,((Cs+5*Fe)/6-J)/ve,((5*Ie+St)/6-R)/re,((5*Fe+zt)/6-J)/ve,((Ie+St)/2-R)/re,((Fe+zt)/2-J)/ve),[St,zt,Ie,Fe,hs,Cs]=this.#o.subarray(12,18),this.#t.push(((hs+5*Ie)/6-R)/re,((Cs+5*Fe)/6-J)/ve,((5*Ie+St)/6-R)/re,((5*Fe+zt)/6-J)/ve,((Ie+St)/2-R)/re,((Fe+zt)/2-J)/ve),!0))}toSVGPath(){if(this.isEmpty())return"";const d=this.#s,f=this.#t,R=this.#o.subarray(4,6),J=this.#o.subarray(16,18),[re,ve,Ie,Fe]=this.#e,[St,zt,Ht,bn]=this.#g();if(isNaN(this.#o[6])&&!this.isEmpty())return`M${(this.#o[2]-re)/Ie} ${(this.#o[3]-ve)/Fe} L${(this.#o[4]-re)/Ie} ${(this.#o[5]-ve)/Fe} L${St} ${zt} L${Ht} ${bn} L${(this.#o[16]-re)/Ie} ${(this.#o[17]-ve)/Fe} L${(this.#o[14]-re)/Ie} ${(this.#o[15]-ve)/Fe} Z`;const xn=[];xn.push(`M${d[4]} ${d[5]}`);for(let Zt=6;Zt<d.length;Zt+=6)isNaN(d[Zt])?xn.push(`L${d[Zt+4]} ${d[Zt+5]}`):xn.push(`C${d[Zt]} ${d[Zt+1]} ${d[Zt+2]} ${d[Zt+3]} ${d[Zt+4]} ${d[Zt+5]}`);xn.push(`L${(R[0]-re)/Ie} ${(R[1]-ve)/Fe} L${St} ${zt} L${Ht} ${bn} L${(J[0]-re)/Ie} ${(J[1]-ve)/Fe}`);for(let Zt=f.length-6;Zt>=6;Zt-=6)isNaN(f[Zt])?xn.push(`L${f[Zt+4]} ${f[Zt+5]}`):xn.push(`C${f[Zt]} ${f[Zt+1]} ${f[Zt+2]} ${f[Zt+3]} ${f[Zt+4]} ${f[Zt+5]}`);return xn.push(`L${f[4]} ${f[5]} Z`),xn.join(" ")}getOutlines(){const d=this.#s,f=this.#t,R=this.#o,J=R.subarray(4,6),re=R.subarray(16,18),[ve,Ie,Fe,St]=this.#e,zt=new Float64Array((this.#p?.length??0)+2);for(let Pi=0,hs=zt.length-2;Pi<hs;Pi+=2)zt[Pi]=(this.#p[Pi]-ve)/Fe,zt[Pi+1]=(this.#p[Pi+1]-Ie)/St;zt[zt.length-2]=(this.#a-ve)/Fe,zt[zt.length-1]=(this.#l-Ie)/St;const[Ht,bn,xn,Zt]=this.#g();if(isNaN(R[6])&&!this.isEmpty()){const Pi=new Float64Array(36);return Pi.set([NaN,NaN,NaN,NaN,(R[2]-ve)/Fe,(R[3]-Ie)/St,NaN,NaN,NaN,NaN,(R[4]-ve)/Fe,(R[5]-Ie)/St,NaN,NaN,NaN,NaN,Ht,bn,NaN,NaN,NaN,NaN,xn,Zt,NaN,NaN,NaN,NaN,(R[16]-ve)/Fe,(R[17]-Ie)/St,NaN,NaN,NaN,NaN,(R[14]-ve)/Fe,(R[15]-Ie)/St],0),new ta(Pi,zt,this.#e,this.#u,this.#n,this.#i)}const Mi=new Float64Array(this.#s.length+24+this.#t.length);let Ki=d.length;for(let Pi=0;Pi<Ki;Pi+=2)isNaN(d[Pi])?Mi[Pi]=Mi[Pi+1]=NaN:(Mi[Pi]=d[Pi],Mi[Pi+1]=d[Pi+1]);Mi.set([NaN,NaN,NaN,NaN,(J[0]-ve)/Fe,(J[1]-Ie)/St,NaN,NaN,NaN,NaN,Ht,bn,NaN,NaN,NaN,NaN,xn,Zt,NaN,NaN,NaN,NaN,(re[0]-ve)/Fe,(re[1]-Ie)/St],Ki),Ki+=24;for(let Pi=f.length-6;Pi>=6;Pi-=6)for(let hs=0;hs<6;hs+=2)isNaN(f[Pi+hs])?(Mi[Ki]=Mi[Ki+1]=NaN,Ki+=2):(Mi[Ki]=f[Pi+hs],Mi[Ki+1]=f[Pi+hs+1],Ki+=2);return Mi.set([NaN,NaN,NaN,NaN,f[4],f[5]],Ki),new ta(Mi,zt,this.#e,this.#u,this.#n,this.#i)}}class ta extends E0{#e;#t=null;#n;#i;#s;#o;#a;constructor(d,f,R,J,re,ve){super(),this.#a=d,this.#s=f,this.#e=R,this.#o=J,this.#n=re,this.#i=ve,this.#c(ve);const{x:Ie,y:Fe,width:St,height:zt}=this.#t;for(let Ht=0,bn=d.length;Ht<bn;Ht+=2)d[Ht]=(d[Ht]-Ie)/St,d[Ht+1]=(d[Ht+1]-Fe)/zt;for(let Ht=0,bn=f.length;Ht<bn;Ht+=2)f[Ht]=(f[Ht]-Ie)/St,f[Ht+1]=(f[Ht+1]-Fe)/zt}toSVGPath(){const d=[`M${this.#a[4]} ${this.#a[5]}`];for(let f=6,R=this.#a.length;f<R;f+=6)isNaN(this.#a[f])?d.push(`L${this.#a[f+4]} ${this.#a[f+5]}`):d.push(`C${this.#a[f]} ${this.#a[f+1]} ${this.#a[f+2]} ${this.#a[f+3]} ${this.#a[f+4]} ${this.#a[f+5]}`);return d.push("Z"),d.join(" ")}serialize([d,f,R,J],re){const ve=R-d,Ie=J-f;let Fe,St;switch(re){case 0:Fe=this.#l(this.#a,d,J,ve,-Ie),St=this.#l(this.#s,d,J,ve,-Ie);break;case 90:Fe=this.#d(this.#a,d,f,ve,Ie),St=this.#d(this.#s,d,f,ve,Ie);break;case 180:Fe=this.#l(this.#a,R,f,-ve,Ie),St=this.#l(this.#s,R,f,-ve,Ie);break;case 270:Fe=this.#d(this.#a,R,J,-ve,-Ie),St=this.#d(this.#s,R,J,-ve,-Ie)}return{outline:Array.from(Fe),points:[Array.from(St)]}}#l(d,f,R,J,re){const ve=new Float64Array(d.length);for(let Ie=0,Fe=d.length;Ie<Fe;Ie+=2)ve[Ie]=f+d[Ie]*J,ve[Ie+1]=R+d[Ie+1]*re;return ve}#d(d,f,R,J,re){const ve=new Float64Array(d.length);for(let Ie=0,Fe=d.length;Ie<Fe;Ie+=2)ve[Ie]=f+d[Ie+1]*J,ve[Ie+1]=R+d[Ie]*re;return ve}#c(d){const f=this.#a;let R=f[4],J=f[5],re=R,ve=J,Ie=R,Fe=J,St=R,zt=J;const Ht=d?Math.max:Math.min;for(let Ki=6,Pi=f.length;Ki<Pi;Ki+=6){if(isNaN(f[Ki]))re=Math.min(re,f[Ki+4]),ve=Math.min(ve,f[Ki+5]),Ie=Math.max(Ie,f[Ki+4]),Fe=Math.max(Fe,f[Ki+5]),zt<f[Ki+5]?(St=f[Ki+4],zt=f[Ki+5]):zt===f[Ki+5]&&(St=Ht(St,f[Ki+4]));else{const hs=wn.bezierBoundingBox(R,J,...f.slice(Ki,Ki+6));re=Math.min(re,hs[0]),ve=Math.min(ve,hs[1]),Ie=Math.max(Ie,hs[2]),Fe=Math.max(Fe,hs[3]),zt<hs[3]?(St=hs[2],zt=hs[3]):zt===hs[3]&&(St=Ht(St,hs[2]))}R=f[Ki+4],J=f[Ki+5]}const bn=re-this.#n,xn=ve-this.#n,Zt=Ie-re+2*this.#n,Mi=Fe-ve+2*this.#n;this.#t={x:bn,y:xn,width:Zt,height:Mi,lastPoint:[St,zt]}}get box(){return this.#t}getNewOutline(d,f){const{x:R,y:J,width:re,height:ve}=this.#t,[Ie,Fe,St,zt]=this.#e,Ht=re*St,bn=ve*zt,xn=R*St+Ie,Zt=J*zt+Fe,Mi=new n1({x:this.#s[0]*Ht+xn,y:this.#s[1]*bn+Zt},this.#e,this.#o,d,this.#i,f??this.#n);for(let Ki=2;Ki<this.#s.length;Ki+=2)Mi.add({x:this.#s[Ki]*Ht+xn,y:this.#s[Ki+1]*bn+Zt});return Mi.getOutlines()}}class Ja{#e=this.#h.bind(this);#t=this.#g.bind(this);#n=null;#i=null;#s;#o=null;#a=!1;#l=!1;#d=null;#c;#u=null;#r;static get _keyboardManager(){return Ct(this,"_keyboardManager",new Jt([[["Escape","mac+Escape"],Ja.prototype._hideDropdownFromKeyboard],[[" ","mac+ "],Ja.prototype._colorSelectFromKeyboard],[["ArrowDown","ArrowRight","mac+ArrowDown","mac+ArrowRight"],Ja.prototype._moveToNext],[["ArrowUp","ArrowLeft","mac+ArrowUp","mac+ArrowLeft"],Ja.prototype._moveToPrevious],[["Home","mac+Home"],Ja.prototype._moveToBeginning],[["End","mac+End"],Ja.prototype._moveToEnd]]))}constructor({editor:d=null,uiManager:f=null}){d?(this.#l=!1,this.#r=B.HIGHLIGHT_COLOR,this.#d=d):(this.#l=!0,this.#r=B.HIGHLIGHT_DEFAULT_COLOR),this.#u=d?._uiManager||f,this.#c=this.#u._eventBus,this.#s=d?.color||this.#u?.highlightColors.values().next().value||"#FFFF98"}renderButton(){const d=this.#n=document.createElement("button");d.className="colorPicker",d.tabIndex="0",d.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-button"),d.setAttribute("aria-haspopup",!0);const f=this.#u._signal;d.addEventListener("click",this.#m.bind(this),{signal:f}),d.addEventListener("keydown",this.#e,{signal:f});const R=this.#i=document.createElement("span");return R.className="swatch",R.setAttribute("aria-hidden",!0),R.style.backgroundColor=this.#s,d.append(R),d}renderMainDropdown(){const d=this.#o=this.#p();return d.setAttribute("aria-orientation","horizontal"),d.setAttribute("aria-labelledby","highlightColorPickerLabel"),d}#p(){const d=document.createElement("div"),f=this.#u._signal;d.addEventListener("contextmenu",ri,{signal:f}),d.className="dropdown",d.role="listbox",d.setAttribute("aria-multiselectable",!1),d.setAttribute("aria-orientation","vertical"),d.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-dropdown");for(const[R,J]of this.#u.highlightColors){const re=document.createElement("button");re.tabIndex="0",re.role="option",re.setAttribute("data-color",J),re.title=R,re.setAttribute("data-l10n-id",`pdfjs-editor-colorpicker-${R}`);const ve=document.createElement("span");re.append(ve),ve.className="swatch",ve.style.backgroundColor=J,re.setAttribute("aria-selected",J===this.#s),re.addEventListener("click",this.#f.bind(this,J),{signal:f}),d.append(re)}return d.addEventListener("keydown",this.#e,{signal:f}),d}#f(d,f){f.stopPropagation(),this.#c.dispatch("switchannotationeditorparams",{source:this,type:this.#r,value:d})}_colorSelectFromKeyboard(d){if(d.target===this.#n)return void this.#m(d);const f=d.target.getAttribute("data-color");f&&this.#f(f,d)}_moveToNext(d){this.#_?d.target!==this.#n?d.target.nextSibling?.focus():this.#o.firstChild?.focus():this.#m(d)}_moveToPrevious(d){d.target!==this.#o?.firstChild&&d.target!==this.#n?(this.#_||this.#m(d),d.target.previousSibling?.focus()):this.#_&&this._hideDropdownFromKeyboard()}_moveToBeginning(d){this.#_?this.#o.firstChild?.focus():this.#m(d)}_moveToEnd(d){this.#_?this.#o.lastChild?.focus():this.#m(d)}#h(d){Ja._keyboardManager.exec(this,d)}#m(d){if(this.#_)return void this.hideDropdown();if(this.#a=0===d.detail,window.addEventListener("pointerdown",this.#t,{signal:this.#u._signal}),this.#o)return void this.#o.classList.remove("hidden");const f=this.#o=this.#p();this.#n.append(f)}#g(d){this.#o?.contains(d.target)||this.hideDropdown()}hideDropdown(){this.#o?.classList.add("hidden"),window.removeEventListener("pointerdown",this.#t)}get#_(){return this.#o&&!this.#o.classList.contains("hidden")}_hideDropdownFromKeyboard(){if(!this.#l){if(!this.#_)return void this.#d?.unselect();this.hideDropdown(),this.#n.focus({preventScroll:!0,focusVisible:this.#a})}}updateColor(d){if(this.#i&&(this.#i.style.backgroundColor=d),!this.#o)return;const f=this.#u.highlightColors.values();for(const R of this.#o.children)R.setAttribute("aria-selected",f.next().value===d)}destroy(){this.#n?.remove(),this.#n=null,this.#i=null,this.#o?.remove(),this.#o=null}}class ir extends Ot{#e=null;#t=0;#n;#i=null;#s=null;#o=null;#a=null;#l=0;#d=null;#c=null;#u=null;#r=!1;#p=null;#f;#h=null;#m="";#g;#_="";static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=12;static _l10nPromise;static _type="highlight";static _editorType=x.HIGHLIGHT;static _freeHighlightId=-1;static _freeHighlight=null;static _freeHighlightClipId="";static get _keyboardManager(){const d=ir.prototype;return Ct(this,"_keyboardManager",new Jt([[["ArrowLeft","mac+ArrowLeft"],d._moveCaret,{args:[0]}],[["ArrowRight","mac+ArrowRight"],d._moveCaret,{args:[1]}],[["ArrowUp","mac+ArrowUp"],d._moveCaret,{args:[2]}],[["ArrowDown","mac+ArrowDown"],d._moveCaret,{args:[3]}]]))}constructor(d){super({...d,name:"highlightEditor"}),this.color=d.color||ir._defaultColor,this.#g=d.thickness||ir._defaultThickness,this.#f=d.opacity||ir._defaultOpacity,this.#n=d.boxes||null,this.#_=d.methodOfCreation||"",this.#m=d.text||"",this._isDraggable=!1,d.highlightId>-1?(this.#r=!0,this.#O(d),this.#C()):(this.#e=d.anchorNode,this.#t=d.anchorOffset,this.#a=d.focusNode,this.#l=d.focusOffset,this.#b(),this.#C(),this.rotate(this.rotation))}get telemetryInitialData(){return{action:"added",type:this.#r?"free_highlight":"highlight",color:this._uiManager.highlightColorNames.get(this.color),thickness:this.#g,methodOfCreation:this.#_}}get telemetryFinalData(){return{type:"highlight",color:this._uiManager.highlightColorNames.get(this.color)}}static computeTelemetryFinalData(d){return{numberOfColors:d.get("color").size}}#b(){const d=new Va(this.#n,.001);this.#c=d.getOutlines(),({x:this.x,y:this.y,width:this.width,height:this.height}=this.#c.box);const f=new Va(this.#n,.0025,.001,"ltr"===this._uiManager.direction);this.#o=f.getOutlines();const{lastPoint:R}=this.#o.box;this.#p=[(R[0]-this.x)/this.width,(R[1]-this.y)/this.height]}#O({highlightOutlines:d,highlightId:f,clipPathId:R}){if(this.#c=d,this.#o=d.getNewOutline(this.#g/2+1.5,.0025),f>=0)this.#u=f,this.#i=R,this.parent.drawLayer.finalizeLine(f,d),this.#h=this.parent.drawLayer.highlightOutline(this.#o);else if(this.parent){const zt=this.parent.viewport.rotation;this.parent.drawLayer.updateLine(this.#u,d),this.parent.drawLayer.updateBox(this.#u,ir.#y(this.#c.box,(zt-this.rotation+360)%360)),this.parent.drawLayer.updateLine(this.#h,this.#o),this.parent.drawLayer.updateBox(this.#h,ir.#y(this.#o.box,zt))}const{x:re,y:ve,width:Ie,height:Fe}=d.box;switch(this.rotation){case 0:this.x=re,this.y=ve,this.width=Ie,this.height=Fe;break;case 90:{const[zt,Ht]=this.parentDimensions;this.x=ve,this.y=1-re,this.width=Ie*Ht/zt,this.height=Fe*zt/Ht;break}case 180:this.x=1-re,this.y=1-ve,this.width=Ie,this.height=Fe;break;case 270:{const[zt,Ht]=this.parentDimensions;this.x=1-ve,this.y=re,this.width=Ie*Ht/zt,this.height=Fe*zt/Ht;break}}const{lastPoint:St}=this.#o.box;this.#p=[(St[0]-re)/Ie,(St[1]-ve)/Fe]}static initialize(d,f){Ot.initialize(d,f),ir._defaultColor||=f.highlightColors?.values().next().value||"#fff066"}static updateDefaultParams(d,f){switch(d){case B.HIGHLIGHT_DEFAULT_COLOR:ir._defaultColor=f;break;case B.HIGHLIGHT_THICKNESS:ir._defaultThickness=f}}translateInPage(d,f){}get toolbarPosition(){return this.#p}updateParams(d,f){switch(d){case B.HIGHLIGHT_COLOR:this.#A(f);break;case B.HIGHLIGHT_THICKNESS:this.#v(f)}}static get defaultPropertiesToUpdate(){return[[B.HIGHLIGHT_DEFAULT_COLOR,ir._defaultColor],[B.HIGHLIGHT_THICKNESS,ir._defaultThickness]]}get propertiesToUpdate(){return[[B.HIGHLIGHT_COLOR,this.color||ir._defaultColor],[B.HIGHLIGHT_THICKNESS,this.#g||ir._defaultThickness],[B.HIGHLIGHT_FREE,this.#r]]}#A(d){const f=J=>{this.color=J,this.parent?.drawLayer.changeColor(this.#u,J),this.#s?.updateColor(J)},R=this.color;this.addCommands({cmd:f.bind(this,d),undo:f.bind(this,R),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:B.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.highlightColorNames.get(d)},!0)}#v(d){const f=this.#g,R=J=>{this.#g=J,this.#E(J)};this.addCommands({cmd:R.bind(this,d),undo:R.bind(this,f),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:B.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:d},!0)}addEditToolbar(){var d=()=>super.addEditToolbar,f=this;return(0,I.A)(function*(){const R=yield d().call(f);return R?(f._uiManager.highlightColors&&(f.#s=new Ja({editor:f}),R.addColorPicker(f.#s)),R):null})()}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}fixAndSetPosition(){return super.fixAndSetPosition(this.#I())}getBaseTranslation(){return[0,0]}getRect(d,f){return super.getRect(d,f,this.#I())}onceAdded(){this.parent.addUndoableEditor(this),this.div.focus()}remove(){this.#P(),this._reportTelemetry({action:"deleted"}),super.remove()}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(this.#C(),this.isAttachedToDOM||this.parent.add(this)))}setParent(d){let f=!1;this.parent&&!d?this.#P():d&&(this.#C(d),f=!this.parent&&this.div?.classList.contains("selectedEditor")),super.setParent(d),this.show(this._isVisible),f&&this.select()}#E(d){if(!this.#r)return;this.#O({highlightOutlines:this.#c.getNewOutline(d/2)}),this.fixAndSetPosition();const[f,R]=this.parentDimensions;this.setDims(this.width*f,this.height*R)}#P(){null===this.#u||!this.parent||(this.parent.drawLayer.remove(this.#u),this.#u=null,this.parent.drawLayer.remove(this.#h),this.#h=null)}#C(d=this.parent){null===this.#u&&(({id:this.#u,clipPathId:this.#i}=d.drawLayer.highlight(this.#c,this.color,this.#f)),this.#h=d.drawLayer.highlightOutline(this.#o),this.#d&&(this.#d.style.clipPath=this.#i))}static#y({x:d,y:f,width:R,height:J},re){switch(re){case 90:return{x:1-f-J,y:d,width:J,height:R};case 180:return{x:1-d-R,y:1-f-J,width:R,height:J};case 270:return{x:f,y:1-d-R,width:J,height:R}}return{x:d,y:f,width:R,height:J}}rotate(d){const{drawLayer:f}=this.parent;let R;R=this.#r?ir.#y(this.#c.box,d=(d-this.rotation+360)%360):ir.#y(this,d),f.rotate(this.#u,d),f.rotate(this.#h,d),f.updateBox(this.#u,R),f.updateBox(this.#h,ir.#y(this.#o.box,d))}render(){if(this.div)return this.div;const d=super.render();this.#m&&(d.setAttribute("aria-label",this.#m),d.setAttribute("role","mark")),this.#r?d.classList.add("free"):this.div.addEventListener("keydown",this.#z.bind(this),{signal:this._uiManager._signal});const f=this.#d=document.createElement("div");d.append(f),f.setAttribute("aria-hidden","true"),f.className="internal",f.style.clipPath=this.#i;const[R,J]=this.parentDimensions;return this.setDims(this.width*R,this.height*J),Cn(this,this.#d,["pointerover","pointerleave"]),this.enableEditing(),d}pointerover(){this.parent.drawLayer.addClass(this.#h,"hovered")}pointerleave(){this.parent.drawLayer.removeClass(this.#h,"hovered")}#z(d){ir._keyboardManager.exec(this,d)}_moveCaret(d){switch(this.parent.unselect(this),d){case 0:case 2:this.#T(!0);break;case 1:case 3:this.#T(!1)}}#T(d){if(!this.#e)return;const f=window.getSelection();d?f.setPosition(this.#e,this.#t):f.setPosition(this.#a,this.#l)}select(){super.select(),this.#h&&(this.parent?.drawLayer.removeClass(this.#h,"hovered"),this.parent?.drawLayer.addClass(this.#h,"selected"))}unselect(){super.unselect(),this.#h&&(this.parent?.drawLayer.removeClass(this.#h,"selected"),this.#r||this.#T(!1))}get _mustFixPosition(){return!this.#r}show(d=this._isVisible){super.show(d),this.parent&&(this.parent.drawLayer.show(this.#u,d),this.parent.drawLayer.show(this.#h,d))}#I(){return this.#r?this.rotation:0}#w(){if(this.#r)return null;const[d,f]=this.pageDimensions,[R,J]=this.pageTranslation,re=this.#n,ve=new Float32Array(8*re.length);let Ie=0;for(const{x:Fe,y:St,width:zt,height:Ht}of re){const bn=Fe*d+R,xn=(1-St-Ht)*f+J;ve[Ie]=ve[Ie+4]=bn,ve[Ie+1]=ve[Ie+3]=xn,ve[Ie+2]=ve[Ie+6]=bn+zt*d,ve[Ie+5]=ve[Ie+7]=xn+Ht*f,Ie+=8}return ve}#S(d){return this.#c.serialize(d,this.#I())}static startHighlighting(d,f,{target:R,x:J,y:re}){const{x:ve,y:Ie,width:Fe,height:St}=R.getBoundingClientRect(),zt=new AbortController,Ht=d.combinedSignal(zt),xn=Zt=>{zt.abort(),this.#D(d,Zt)};window.addEventListener("blur",xn,{signal:Ht}),window.addEventListener("pointerup",xn,{signal:Ht}),window.addEventListener("pointerdown",Zt=>{Zt.preventDefault(),Zt.stopPropagation()},{capture:!0,passive:!1,signal:Ht}),window.addEventListener("contextmenu",ri,{signal:Ht}),R.addEventListener("pointermove",this.#M.bind(this,d),{signal:Ht}),this._freeHighlight=new n1({x:J,y:re},[ve,Ie,Fe,St],d.scale,this._defaultThickness/2,f,.001),({id:this._freeHighlightId,clipPathId:this._freeHighlightClipId}=d.drawLayer.highlight(this._freeHighlight,this._defaultColor,this._defaultOpacity,!0))}static#M(d,f){this._freeHighlight.add(f)&&d.drawLayer.updatePath(this._freeHighlightId,this._freeHighlight)}static#D(d,f){this._freeHighlight.isEmpty()?d.drawLayer.removeFreeHighlight(this._freeHighlightId):d.createAndAddNewEditor(f,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""}static deserialize(d,f,R){const J=super.deserialize(d,f,R),{rect:[re,ve,Ie,Fe],color:St,quadPoints:zt}=d;J.color=wn.makeHexColor(...St),J.#f=d.opacity;const[Ht,bn]=J.pageDimensions;J.width=(Ie-re)/Ht,J.height=(Fe-ve)/bn;const xn=J.#n=[];for(let Zt=0;Zt<zt.length;Zt+=8)xn.push({x:(zt[4]-Ie)/Ht,y:(Fe-(1-zt[Zt+5]))/bn,width:(zt[Zt+2]-zt[Zt])/Ht,height:(zt[Zt+5]-zt[Zt+1])/bn});return J.#b(),J}serialize(d=!1){if(this.isEmpty()||d)return null;const f=this.getRect(0,0),R=Ot._colorManager.convert(this.color);return{annotationType:x.HIGHLIGHT,color:R,opacity:this.#f,thickness:this.#g,quadPoints:this.#w(),outlines:this.#S(f),pageIndex:this.pageIndex,rect:f,rotation:this.#I(),structTreeParentId:this._structTreeParentId}}static canCreateNewEmptyEditor(){return!1}}class la extends Ot{#e=0;#t=0;#n=null;#i=new Path2D;#s=!1;#o=null;#a=!1;#l=!1;#d=null;#c=null;#u=0;#r=0;#p=null;static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=1;static _type="ink";static _editorType=x.INK;constructor(d){super({...d,name:"inkEditor"}),this.color=d.color||null,this.thickness=d.thickness||null,this.opacity=d.opacity||null,this.paths=[],this.bezierPath2D=[],this.allRawPaths=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0,this._willKeepAspectRatio=!0}static initialize(d,f){Ot.initialize(d,f)}static updateDefaultParams(d,f){switch(d){case B.INK_THICKNESS:la._defaultThickness=f;break;case B.INK_COLOR:la._defaultColor=f;break;case B.INK_OPACITY:la._defaultOpacity=f/100}}updateParams(d,f){switch(d){case B.INK_THICKNESS:this.#f(f);break;case B.INK_COLOR:this.#h(f);break;case B.INK_OPACITY:this.#m(f)}}static get defaultPropertiesToUpdate(){return[[B.INK_THICKNESS,la._defaultThickness],[B.INK_COLOR,la._defaultColor||Ot._defaultLineColor],[B.INK_OPACITY,Math.round(100*la._defaultOpacity)]]}get propertiesToUpdate(){return[[B.INK_THICKNESS,this.thickness||la._defaultThickness],[B.INK_COLOR,this.color||la._defaultColor||Ot._defaultLineColor],[B.INK_OPACITY,Math.round(100*(this.opacity??la._defaultOpacity))]]}#f(d){const f=J=>{this.thickness=J,this.#k()},R=this.thickness;this.addCommands({cmd:f.bind(this,d),undo:f.bind(this,R),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:B.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}#h(d){const f=J=>{this.color=J,this.#y()},R=this.color;this.addCommands({cmd:f.bind(this,d),undo:f.bind(this,R),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:B.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}#m(d){const f=J=>{this.opacity=J,this.#y()},R=this.opacity;this.addCommands({cmd:f.bind(this,d/=100),undo:f.bind(this,R),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:B.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(this.canvas||(this.#w(),this.#S()),this.isAttachedToDOM||(this.parent.add(this),this.#M()),this.#k()))}remove(){null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,this.#n&&(clearTimeout(this.#n),this.#n=null),this.#d?.disconnect(),this.#d=null,super.remove())}setParent(d){!this.parent&&d?this._uiManager.removeShouldRescale(this):this.parent&&null===d&&this._uiManager.addShouldRescale(this),super.setParent(d)}onScaleChanging(){const[d,f]=this.parentDimensions;this.setDimensions(this.width*d,this.height*f)}enableEditMode(){this.#s||null===this.canvas||(super.enableEditMode(),this._isDraggable=!1,this.#z())}disableEditMode(){!this.isInEditMode()||null===this.canvas||(super.disableEditMode(),this._isDraggable=!this.isEmpty(),this.div.classList.remove("editing"),this.#T())}onceAdded(){this._isDraggable=!this.isEmpty()}isEmpty(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}#g(){const{parentRotation:d,parentDimensions:[f,R]}=this;switch(d){case 90:return[0,R,R,f];case 180:return[f,R,f,R];case 270:return[f,0,R,f];default:return[0,0,f,R]}}#_(){const{ctx:d,color:f,opacity:R,thickness:J,parentScale:re,scaleFactor:ve}=this;d.lineWidth=J*re/ve,d.lineCap="round",d.lineJoin="round",d.miterLimit=10,d.strokeStyle=`${f}${function ut(qe){return Math.round(Math.min(255,Math.max(1,255*qe))).toString(16).padStart(2,"0")}(R)}`}#b(d,f){this.canvas.addEventListener("contextmenu",ri,{signal:this._uiManager._signal}),this.#T(),this.#o=new AbortController;const R=this._uiManager.combinedSignal(this.#o);this.canvas.addEventListener("pointerleave",this.canvasPointerleave.bind(this),{signal:R}),this.canvas.addEventListener("pointermove",this.canvasPointermove.bind(this),{signal:R}),this.canvas.addEventListener("pointerup",this.canvasPointerup.bind(this),{signal:R}),this.isEditing=!0,this.#l||(this.#l=!0,this.#M(),this.thickness||=la._defaultThickness,this.color||=la._defaultColor||Ot._defaultLineColor,this.opacity??=la._defaultOpacity),this.currentPath.push([d,f]),this.#a=!1,this.#_(),this.#p=()=>{this.#E(),this.#p&&window.requestAnimationFrame(this.#p)},window.requestAnimationFrame(this.#p)}#O(d,f){const[R,J]=this.currentPath.at(-1);if(this.currentPath.length>1&&d===R&&f===J)return;const re=this.currentPath;let ve=this.#i;if(re.push([d,f]),this.#a=!0,re.length<=2)return ve.moveTo(...re[0]),void ve.lineTo(d,f);3===re.length&&(this.#i=ve=new Path2D,ve.moveTo(...re[0])),this.#P(ve,...re.at(-3),...re.at(-2),d,f)}#A(){if(0===this.currentPath.length)return;const d=this.currentPath.at(-1);this.#i.lineTo(...d)}#v(d,f){let R;if(this.#p=null,d=Math.min(Math.max(d,0),this.canvas.width),f=Math.min(Math.max(f,0),this.canvas.height),this.#O(d,f),this.#A(),1!==this.currentPath.length)R=this.#C();else{const Fe=[d,f];R=[[Fe,Fe.slice(),Fe.slice(),Fe]]}const J=this.#i,re=this.currentPath;this.currentPath=[],this.#i=new Path2D,this.addCommands({cmd:()=>{this.allRawPaths.push(re),this.paths.push(R),this.bezierPath2D.push(J),this._uiManager.rebuild(this)},undo:()=>{this.allRawPaths.pop(),this.paths.pop(),this.bezierPath2D.pop(),0===this.paths.length?this.remove():(this.canvas||(this.#w(),this.#S()),this.#k())},mustExec:!0})}#E(){if(!this.#a)return;this.#a=!1;Math.ceil(this.thickness*this.parentScale);const f=this.currentPath.slice(-3),R=f.map(zt=>zt[0]),J=f.map(zt=>zt[1]),{ctx:St}=(Math.min(...R),Math.max(...R),Math.min(...J),Math.max(...J),this);St.save(),St.clearRect(0,0,this.canvas.width,this.canvas.height);for(const zt of this.bezierPath2D)St.stroke(zt);St.stroke(this.#i),St.restore()}#P(d,f,R,J,re,ve,Ie){const Fe=(f+J)/2,St=(R+re)/2,zt=(J+ve)/2,Ht=(re+Ie)/2;d.bezierCurveTo(Fe+2*(J-Fe)/3,St+2*(re-St)/3,zt+2*(J-zt)/3,Ht+2*(re-Ht)/3,zt,Ht)}#C(){const d=this.currentPath;if(d.length<=2)return[[d[0],d[0],d.at(-1),d.at(-1)]];const f=[];let R,[J,re]=d[0];for(R=1;R<d.length-2;R++){const[bn,xn]=d[R],[Zt,Mi]=d[R+1],Ki=(bn+Zt)/2,Pi=(xn+Mi)/2;f.push([[J,re],[J+2*(bn-J)/3,re+2*(xn-re)/3],[Ki+2*(bn-Ki)/3,Pi+2*(xn-Pi)/3],[Ki,Pi]]),[J,re]=[Ki,Pi]}const[ve,Ie]=d[R],[Fe,St]=d[R+1];return f.push([[J,re],[J+2*(ve-J)/3,re+2*(Ie-re)/3],[Fe+2*(ve-Fe)/3,St+2*(Ie-St)/3],[Fe,St]]),f}#y(){if(this.isEmpty())return void this.#R();this.#_();const{canvas:d,ctx:f}=this;f.setTransform(1,0,0,1,0,0),f.clearRect(0,0,d.width,d.height),this.#R();for(const R of this.bezierPath2D)f.stroke(R)}commit(){this.#s||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),this.#s=!0,this.div.classList.add("disabled"),this.#k(!0),this.select(),this.parent.addInkEditorIfNeeded(!0),this.moveInDOM(),this.div.focus({preventScroll:!0}))}focusin(d){this._focusEventsAllowed&&(super.focusin(d),this.enableEditMode())}#z(){if(this.#c)return;this.#c=new AbortController;const d=this._uiManager.combinedSignal(this.#c);this.canvas.addEventListener("pointerdown",this.canvasPointerdown.bind(this),{signal:d})}#T(){this.pointerdownAC?.abort(),this.pointerdownAC=null}canvasPointerdown(d){0!==d.button||!this.isInEditMode()||this.#s||(this.setInForeground(),d.preventDefault(),this.div.contains(document.activeElement)||this.div.focus({preventScroll:!0}),this.#b(d.offsetX,d.offsetY))}canvasPointermove(d){d.preventDefault(),this.#O(d.offsetX,d.offsetY)}canvasPointerup(d){d.preventDefault(),this.#I(d)}canvasPointerleave(d){this.#I(d)}#I(d){this.#o?.abort(),this.#o=null,this.#z(),this.#n&&clearTimeout(this.#n),this.#n=setTimeout(()=>{this.#n=null,this.canvas.removeEventListener("contextmenu",ri)},10),this.#v(d.offsetX,d.offsetY),this.addToAnnotationStorage(),this.setInBackground()}#w(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",this.canvas.setAttribute("data-l10n-id","pdfjs-ink-canvas"),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}#S(){this.#d=new ResizeObserver(d=>{const f=d[0].contentRect;f.width&&f.height&&this.setDimensions(f.width,f.height)}),this.#d.observe(this.div),this._uiManager._signal.addEventListener("abort",()=>{this.#d?.disconnect(),this.#d=null},{once:!0})}get isResizable(){return!this.isEmpty()&&this.#s}render(){if(this.div)return this.div;let d,f;this.width&&(d=this.x,f=this.y),super.render(),this.div.setAttribute("data-l10n-id","pdfjs-ink");const[R,J,re,ve]=this.#g();if(this.setAt(R,J,0,0),this.setDims(re,ve),this.#w(),this.width){const[Ie,Fe]=this.parentDimensions;this.setAspectRatio(this.width*Ie,this.height*Fe),this.setAt(d*Ie,f*Fe,this.width*Ie,this.height*Fe),this.#l=!0,this.#M(),this.setDims(this.width*Ie,this.height*Fe),this.#y(),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return this.#S(),this.div}#M(){if(!this.#l)return;const[d,f]=this.parentDimensions;this.canvas.width=Math.ceil(this.width*d),this.canvas.height=Math.ceil(this.height*f),this.#R()}setDimensions(d,f){const R=Math.round(d),J=Math.round(f);if(this.#u===R&&this.#r===J)return;this.#u=R,this.#r=J,this.canvas.style.visibility="hidden";const[re,ve]=this.parentDimensions;this.width=d/re,this.height=f/ve,this.fixAndSetPosition(),this.#s&&this.#D(d,f),this.#M(),this.#y(),this.canvas.style.visibility="visible",this.fixDims()}#D(d,f){const R=this.#W(),J=(d-R)/this.#t,re=(f-R)/this.#e;this.scaleFactor=Math.min(J,re)}#R(){const d=this.#W()/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+d,this.translationY*this.scaleFactor+d)}static#x(d){const f=new Path2D;for(let R=0,J=d.length;R<J;R++){const[re,ve,Ie,Fe]=d[R];0===R&&f.moveTo(...re),f.bezierCurveTo(ve[0],ve[1],Ie[0],Ie[1],Fe[0],Fe[1])}return f}static#j(d,f,R){const[J,re,ve,Ie]=f;switch(R){case 0:for(let Fe=0,St=d.length;Fe<St;Fe+=2)d[Fe]+=J,d[Fe+1]=Ie-d[Fe+1];break;case 90:for(let Fe=0,St=d.length;Fe<St;Fe+=2){const zt=d[Fe];d[Fe]=d[Fe+1]+J,d[Fe+1]=zt+re}break;case 180:for(let Fe=0,St=d.length;Fe<St;Fe+=2)d[Fe]=ve-d[Fe],d[Fe+1]+=re;break;case 270:for(let Fe=0,St=d.length;Fe<St;Fe+=2){const zt=d[Fe];d[Fe]=ve-d[Fe+1],d[Fe+1]=Ie-zt}break;default:throw new Error("Invalid rotation")}return d}static#B(d,f,R){const[J,re,ve,Ie]=f;switch(R){case 0:for(let Fe=0,St=d.length;Fe<St;Fe+=2)d[Fe]-=J,d[Fe+1]=Ie-d[Fe+1];break;case 90:for(let Fe=0,St=d.length;Fe<St;Fe+=2){const zt=d[Fe];d[Fe]=d[Fe+1]-re,d[Fe+1]=zt-J}break;case 180:for(let Fe=0,St=d.length;Fe<St;Fe+=2)d[Fe]=ve-d[Fe],d[Fe+1]-=re;break;case 270:for(let Fe=0,St=d.length;Fe<St;Fe+=2){const zt=d[Fe];d[Fe]=Ie-d[Fe+1],d[Fe+1]=ve-zt}break;default:throw new Error("Invalid rotation")}return d}#N(d,f,R,J){const re=[],ve=this.thickness/2,Ie=d*f+ve,Fe=d*R+ve;for(const St of this.paths){const zt=[],Ht=[];for(let bn=0,xn=St.length;bn<xn;bn++){const[Zt,Mi,Ki,Pi]=St[bn];if(Zt[0]===Pi[0]&&Zt[1]===Pi[1]&&1===xn){const oo=d*Zt[0]+Ie,ko=d*Zt[1]+Fe;zt.push(oo,ko),Ht.push(oo,ko);break}const hs=d*Zt[0]+Ie,Cs=d*Zt[1]+Fe,Es=d*Mi[0]+Ie,Ts=d*Mi[1]+Fe,xs=d*Ki[0]+Ie,Gs=d*Ki[1]+Fe,no=d*Pi[0]+Ie,gs=d*Pi[1]+Fe;0===bn&&(zt.push(hs,Cs),Ht.push(hs,Cs)),zt.push(Es,Ts,xs,Gs,no,gs),Ht.push(Es,Ts),bn===xn-1&&Ht.push(no,gs)}re.push({bezier:la.#j(zt,J,this.rotation),points:la.#j(Ht,J,this.rotation)})}return re}#F(){let d=1/0,f=-1/0,R=1/0,J=-1/0;for(const re of this.paths)for(const[ve,Ie,Fe,St]of re){const zt=wn.bezierBoundingBox(...ve,...Ie,...Fe,...St);d=Math.min(d,zt[0]),R=Math.min(R,zt[1]),f=Math.max(f,zt[2]),J=Math.max(J,zt[3])}return[d,R,f,J]}#W(){return this.#s?Math.ceil(this.thickness*this.parentScale):0}#k(d=!1){if(this.isEmpty())return;if(!this.#s)return void this.#y();const f=this.#F(),R=this.#W();this.#t=Math.max(Ot.MIN_SIZE,f[2]-f[0]),this.#e=Math.max(Ot.MIN_SIZE,f[3]-f[1]);const J=Math.ceil(R+this.#t*this.scaleFactor),re=Math.ceil(R+this.#e*this.scaleFactor),[ve,Ie]=this.parentDimensions;this.width=J/ve,this.height=re/Ie,this.setAspectRatio(J,re);const Fe=this.translationX,St=this.translationY;this.translationX=-f[0],this.translationY=-f[1],this.#M(),this.#y(),this.#u=J,this.#r=re,this.setDims(J,re);const zt=d?R/this.scaleFactor/2:0;this.translate(Fe-this.translationX-zt,St-this.translationY-zt)}static deserialize(d,f,R){if(d instanceof si)return null;const J=super.deserialize(d,f,R);J.thickness=d.thickness,J.color=wn.makeHexColor(...d.color),J.opacity=d.opacity;const[re,ve]=J.pageDimensions,Ie=J.width*re,Fe=J.height*ve,St=J.parentScale,zt=d.thickness/2;J.#s=!0,J.#u=Math.round(Ie),J.#r=Math.round(Fe);const{paths:Ht,rect:bn,rotation:xn}=d;for(let{bezier:Mi}of Ht){Mi=la.#B(Mi,bn,xn);const Ki=[];J.paths.push(Ki);let Pi=St*(Mi[0]-zt),hs=St*(Mi[1]-zt);for(let Es=2,Ts=Mi.length;Es<Ts;Es+=6){const oo=St*(Mi[Es+4]-zt),ko=St*(Mi[Es+5]-zt);Ki.push([[Pi,hs],[St*(Mi[Es]-zt),St*(Mi[Es+1]-zt)],[St*(Mi[Es+2]-zt),St*(Mi[Es+3]-zt)],[oo,ko]]),Pi=oo,hs=ko}const Cs=this.#x(Ki);J.bezierPath2D.push(Cs)}const Zt=J.#F();return J.#t=Math.max(Ot.MIN_SIZE,Zt[2]-Zt[0]),J.#e=Math.max(Ot.MIN_SIZE,Zt[3]-Zt[1]),J.#D(Ie,Fe),J}serialize(){if(this.isEmpty())return null;const d=this.getRect(0,0),f=Ot._colorManager.convert(this.ctx.strokeStyle);return{annotationType:x.INK,color:f,thickness:this.thickness,opacity:this.opacity,paths:this.#N(this.scaleFactor/this.parentScale,this.translationX,this.translationY,d),pageIndex:this.pageIndex,rect:d,rotation:this.rotation,structTreeParentId:this._structTreeParentId}}}class c1 extends Ot{#e=null;#t=null;#n=null;#i=null;#s=null;#o="";#a=null;#l=null;#d=null;#c=!1;#u=!1;static _type="stamp";static _editorType=x.STAMP;constructor(d){super({...d,name:"stampEditor"}),this.#i=d.bitmapUrl,this.#s=d.bitmapFile}static initialize(d,f){Ot.initialize(d,f)}static get supportedTypes(){return Ct(this,"supportedTypes",["apng","avif","bmp","gif","jpeg","png","svg+xml","webp","x-icon"].map(f=>`image/${f}`))}static get supportedTypesStr(){return Ct(this,"supportedTypesStr",this.supportedTypes.join(","))}static isHandlingMimeForPasting(d){return this.supportedTypes.includes(d)}static paste(d,f){f.pasteEditor(x.STAMP,{bitmapFile:d.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){return{type:"stamp",hasAltText:!!this.altTextData?.altText}}static computeTelemetryFinalData(d){const f=d.get("hasAltText");return{hasAltText:f.get(!0)??0,hasNoAltText:f.get(!1)??0}}#r(d,f=!1){d?(this.#e=d.bitmap,f||(this.#t=d.id,this.#c=d.isSvg),d.file&&(this.#o=d.file.name),this.#h()):this.remove()}#p(){if(this.#n=null,this._uiManager.enableWaiting(!1),this.#a){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&this.#e)return this._editToolbar.hide(),void this._uiManager.editAltText(this,!0);if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&this.#e){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch{}}this.div.focus()}}mlGuessAltText(d=null,f=!0){var R=this;return(0,I.A)(function*(){if(R.hasAltTextData())return null;const{mlManager:J}=R._uiManager;if(!J)throw new Error("No ML.");if(!(yield J.isEnabledFor("altText")))throw new Error("ML isn't enabled for alt text.");const{data:re,width:ve,height:Ie}=d||R.copyCanvas(null,!0).imageData,Fe=yield J.guess({name:"altText",request:{data:re,width:ve,height:Ie,channels:re.length/(ve*Ie)}});if(!Fe)throw new Error("No response from the AI service.");if(Fe.error)throw new Error("Error from the AI service.");if(Fe.cancel)return null;if(!Fe.output)throw new Error("No valid response from the AI service.");const St=Fe.output;return yield R.setGuessedAltText(St),f&&!R.hasAltTextData()&&(R.altTextData={alt:St,decorative:!1}),St})()}#f(){var d=this;if(this.#t)return this._uiManager.enableWaiting(!0),void this._uiManager.imageManager.getFromId(this.#t).then(J=>this.#r(J,!0)).finally(()=>this.#p());if(this.#i){const J=this.#i;return this.#i=null,this._uiManager.enableWaiting(!0),void(this.#n=this._uiManager.imageManager.getFromUrl(J).then(re=>this.#r(re)).finally(()=>this.#p()))}if(this.#s){const J=this.#s;return this.#s=null,this._uiManager.enableWaiting(!0),void(this.#n=this._uiManager.imageManager.getFromFile(J).then(re=>this.#r(re)).finally(()=>this.#p()))}const f=document.createElement("input");f.type="file",f.accept=c1.supportedTypesStr;const R=this._uiManager._signal;this.#n=new Promise(J=>{f.addEventListener("change",(0,I.A)(function*(){if(f.files&&0!==f.files.length){d._uiManager.enableWaiting(!0);const re=yield d._uiManager.imageManager.getFromFile(f.files[0]);d._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:d._uiManager.useNewAltTextFlow}}),d.#r(re)}else d.remove();J()}),{signal:R}),f.addEventListener("cancel",()=>{this.remove(),J()},{signal:R})}).finally(()=>this.#p()),f.click()}remove(){this.#t&&(this.#e=null,this._uiManager.imageManager.deleteId(this.#t),this.#a?.remove(),this.#a=null,this.#l?.disconnect(),this.#l=null,this.#d&&(clearTimeout(this.#d),this.#d=null)),super.remove()}rebuild(){this.parent?(super.rebuild(),null!==this.div&&(this.#t&&null===this.#a&&this.#f(),this.isAttachedToDOM||this.parent.add(this))):this.#t&&this.#f()}onceAdded(){this._isDraggable=!0,this.div.focus()}isEmpty(){return!(this.#n||this.#e||this.#i||this.#s||this.#t)}get isResizable(){return!0}render(){if(this.div)return this.div;let d,f;if(this.width&&(d=this.x,f=this.y),super.render(),this.div.hidden=!0,this.addAltTextButton(),this.#e?this.#h():this.#f(),this.width){const[R,J]=this.parentDimensions;this.setAt(d*R,f*J,this.width*R,this.height*J)}return this.div}#h(){const{div:d}=this;let{width:f,height:R}=this.#e;const[J,re]=this.pageDimensions;if(this.width)f=this.width*J,R=this.height*re;else if(f>.75*J||R>.75*re){const zt=Math.min(.75*J/f,.75*re/R);f*=zt,R*=zt}const[Ie,Fe]=this.parentDimensions;this.setDims(f*Ie/J,R*Fe/re),this._uiManager.enableWaiting(!1);const St=this.#a=document.createElement("canvas");d.append(St),(!this._uiManager.useNewAltTextWhenAddingImage||!this._uiManager.useNewAltTextFlow)&&(d.hidden=!1),this.#_(f,R),this.#O(),this.#u||(this.parent.addUndoableEditor(this),this.#u=!0),this._reportTelemetry({action:"inserted_image"}),this.#o&&St.setAttribute("aria-label",this.#o)}copyCanvas(d,f=!1){d||(d=224);const{width:R,height:J}=this.#e,re=document.createElement("canvas");let ve=this.#e,Ie=R,Fe=J;if(R>d||J>d){const Mi=Math.min(d/R,d/J);Ie=Math.floor(R*Mi),Fe=Math.floor(J*Mi),this.#c||(ve=this.#g(Ie,Fe))}re.width=Ie,re.height=Fe;const St=re.getContext("2d");St.filter=this._uiManager.hcmFilter;let zt="white",Ht="#cfcfd8";"none"!==this._uiManager.hcmFilter?Ht="black":window.matchMedia?.("(prefers-color-scheme: dark)").matches&&(zt="#8f8f9d",Ht="#42414d");const xn=new OffscreenCanvas(30,30),Zt=xn.getContext("2d");if(Zt.fillStyle=zt,Zt.fillRect(0,0,30,30),Zt.fillStyle=Ht,Zt.fillRect(0,0,15,15),Zt.fillRect(15,15,15,15),St.fillStyle=St.createPattern(xn,"repeat"),St.fillRect(0,0,Ie,Fe),f){const Mi=new OffscreenCanvas(Ie,Fe),Ki=Mi.getContext("2d",{willReadFrequently:!0});Ki.drawImage(ve,0,0,ve.width,ve.height,0,0,Ie,Fe);const Pi=Ki.getImageData(0,0,Ie,Fe).data;return St.drawImage(Mi,0,0),{canvas:re,imageData:{width:Ie,height:Fe,data:Pi}}}return St.drawImage(ve,0,0,ve.width,ve.height,0,0,Ie,Fe),{canvas:re,imageData:null}}#m(d,f){const[R,J]=this.parentDimensions;this.width=d/R,this.height=f/J,this.setDims(d,f),this._initialOptions?.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,null!==this.#d&&clearTimeout(this.#d),this.#d=setTimeout(()=>{this.#d=null,this.#_(d,f)},200)}#g(d,f){const{width:R,height:J}=this.#e;let re=R,ve=J,Ie=this.#e;for(;re>2*d||ve>2*f;){const Fe=re,St=ve;re>2*d&&(re=re>=16384?Math.floor(re/2)-1:Math.ceil(re/2)),ve>2*f&&(ve=ve>=16384?Math.floor(ve/2)-1:Math.ceil(ve/2));const zt=new OffscreenCanvas(re,ve);zt.getContext("2d").drawImage(Ie,0,0,Fe,St,0,0,re,ve),Ie=zt.transferToImageBitmap()}return Ie}#_(d,f){d=Math.ceil(d),f=Math.ceil(f);const R=this.#a;if(!R||R.width===d&&R.height===f)return;R.width=d,R.height=f;const J=this.#c?this.#e:this.#g(d,f),re=R.getContext("2d");re.filter=this._uiManager.hcmFilter,re.drawImage(J,0,0,J.width,J.height,0,0,d,f)}getImageForAltText(){return this.#a}#b(d){if(d){if(this.#c){const J=this._uiManager.imageManager.getSvgUrl(this.#t);if(J)return J}const f=document.createElement("canvas");return({width:f.width,height:f.height}=this.#e),f.getContext("2d").drawImage(this.#e,0,0),f.toDataURL()}if(this.#c){const[f,R]=this.pageDimensions,J=Math.round(this.width*f*ln.PDF_TO_CSS_UNITS),re=Math.round(this.height*R*ln.PDF_TO_CSS_UNITS),ve=new OffscreenCanvas(J,re);return ve.getContext("2d").drawImage(this.#e,0,0,this.#e.width,this.#e.height,0,0,J,re),ve.transferToImageBitmap()}return structuredClone(this.#e)}#O(){this._uiManager._signal&&(this.#l=new ResizeObserver(d=>{const f=d[0].contentRect;f.width&&f.height&&this.#m(f.width,f.height)}),this.#l.observe(this.div),this._uiManager._signal.addEventListener("abort",()=>{this.#l?.disconnect(),this.#l=null},{once:!0}))}static deserialize(d,f,R){if(d instanceof Mr)return null;const J=super.deserialize(d,f,R),{rect:re,bitmapUrl:ve,bitmapId:Ie,isSvg:Fe,accessibilityData:St}=d;Ie&&R.imageManager.isValidId(Ie)?J.#t=Ie:J.#i=ve,J.#c=Fe;const[zt,Ht]=J.pageDimensions;return J.width=(re[2]-re[0])/zt,J.height=(re[3]-re[1])/Ht,St&&(J.altTextData=St),J}serialize(d=!1,f=null){if(this.isEmpty())return null;const R={annotationType:x.STAMP,bitmapId:this.#t,pageIndex:this.pageIndex,rect:this.getRect(0,0),rotation:this.rotation,isSvg:this.#c,structTreeParentId:this._structTreeParentId};if(d)return R.bitmapUrl=this.#b(!0),R.accessibilityData=this.serializeAltText(!0),R;const{decorative:J,altText:re}=this.serializeAltText(!1);if(!J&&re&&(R.accessibilityData={type:"Figure",alt:re}),null===f)return R;f.stamps||=new Map;const ve=this.#c?(R.rect[2]-R.rect[0])*(R.rect[3]-R.rect[1]):null;if(f.stamps.has(this.#t)){if(this.#c){const Ie=f.stamps.get(this.#t);ve>Ie.area&&(Ie.area=ve,Ie.serialized.bitmap.close(),Ie.serialized.bitmap=this.#b(!1))}}else f.stamps.set(this.#t,{area:ve,serialized:R}),R.bitmap=this.#b(!1);return R}}let j1=(()=>{class qe{#e;#t=!1;#n=null;#i=null;#s=null;#o=new Map;#a=!1;#l=!1;#d=!1;#c=null;#u=null;#r;static _initialized=!1;static#p=new Map([Fo,la,c1,ir].map(f=>[f._editorType,f]));constructor({uiManager:f,pageIndex:R,div:J,accessibilityManager:re,annotationLayer:ve,drawLayer:Ie,textLayer:Fe,viewport:St,l10n:zt}){const Ht=[...qe.#p.values()];if(!qe._initialized){qe._initialized=!0;for(const bn of Ht)bn.initialize(zt,f)}f.registerEditorTypes(Ht),this.#r=f,this.pageIndex=R,this.div=J,this.#e=re,this.#n=ve,this.viewport=St,this.#c=Fe,this.drawLayer=Ie,this.#r.addLayer(this)}get isEmpty(){return 0===this.#o.size}get isInvisible(){return this.isEmpty&&this.#r.getMode()===x.NONE}updateToolbar(f){this.#r.updateToolbar(f)}updateMode(f=this.#r.getMode()){switch(this.#_(),f){case x.NONE:return this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),void this.disableClick();case x.INK:this.addInkEditorIfNeeded(!1),this.disableTextSelection(),this.togglePointerEvents(!0),this.disableClick();break;case x.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);const{classList:R}=this.div;for(const J of qe.#p.values())R.toggle(`${J._type}Editing`,f===J._editorType);this.div.hidden=!1}hasTextLayer(f){return f===this.#c?.div}addInkEditorIfNeeded(f){if(this.#r.getMode()===x.INK){if(!f)for(const J of this.#o.values())if(J.isEmpty())return void J.setInBackground();this.createAndAddNewEditor({offsetX:0,offsetY:0},!1).setInBackground()}}setEditingState(f){this.#r.setEditingState(f)}addCommands(f){this.#r.addCommands(f)}toggleDrawing(f=!1){this.div.classList.toggle("drawing",!f)}togglePointerEvents(f=!1){this.div.classList.toggle("disabled",!f)}toggleAnnotationLayerPointerEvents(f=!1){this.#n?.div.classList.toggle("disabled",!f)}enable(){this.div.tabIndex=0,this.togglePointerEvents(!0);const f=new Set;for(const J of this.#o.values())J.enableEditing(),J.show(!0),J.annotationElementId&&(this.#r.removeChangedExistingAnnotation(J),f.add(J.annotationElementId));if(!this.#n)return;const R=this.#n.getEditableAnnotations();for(const J of R){if(J.hide(),this.#r.isDeletedAnnotationElement(J.data.id)||f.has(J.data.id))continue;const re=this.deserialize(J);re&&(this.addOrRebuild(re),re.enableEditing())}}disable(){this.#d=!0,this.div.tabIndex=-1,this.togglePointerEvents(!1);const f=new Map,R=new Map;for(const re of this.#o.values())if(re.disableEditing(),re.annotationElementId){if(null!==re.serialize()){f.set(re.annotationElementId,re);continue}R.set(re.annotationElementId,re),this.getEditableAnnotation(re.annotationElementId)?.show(),re.remove()}if(this.#n){const re=this.#n.getEditableAnnotations();for(const ve of re){const{id:Ie}=ve.data;if(this.#r.isDeletedAnnotationElement(Ie))continue;let Fe=R.get(Ie);Fe?(Fe.resetAnnotationElement(ve),Fe.show(!1),ve.show()):(Fe=f.get(Ie),Fe&&(this.#r.addChangedExistingAnnotation(Fe),Fe.renderAnnotationElement(ve),Fe.show(!1)),ve.show())}}this.#_(),this.isEmpty&&(this.div.hidden=!0);const{classList:J}=this.div;for(const re of qe.#p.values())J.remove(`${re._type}Editing`);this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),this.#d=!1}getEditableAnnotation(f){return this.#n?.getEditableAnnotation(f)||null}setActiveEditor(f){this.#r.getActive()!==f&&this.#r.setActiveEditor(f)}enableTextSelection(){if(this.div.tabIndex=-1,this.#c?.div&&!this.#u){this.#u=new AbortController;const f=this.#r.combinedSignal(this.#u);this.#c.div.addEventListener("pointerdown",this.#f.bind(this),{signal:f}),this.#c.div.classList.add("highlighting")}}disableTextSelection(){this.div.tabIndex=0,this.#c?.div&&this.#u&&(this.#u.abort(),this.#u=null,this.#c.div.classList.remove("highlighting"))}#f(f){this.#r.unselectAll();const{target:R}=f;if(R===this.#c.div||R.classList.contains("endOfContent")&&this.#c.div.contains(R)){const{isMac:J}=Kt.platform;if(0!==f.button||f.ctrlKey&&J)return;this.#r.showAllEditors("highlight",!0,!0),this.#c.div.classList.add("free"),this.toggleDrawing(),ir.startHighlighting(this,"ltr"===this.#r.direction,f),this.#c.div.addEventListener("pointerup",()=>{this.#c.div.classList.remove("free"),this.toggleDrawing(!0)},{once:!0,signal:this.#r._signal}),f.preventDefault()}}enableClick(){if(this.#i)return;this.#i=new AbortController;const f=this.#r.combinedSignal(this.#i);this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:f}),this.div.addEventListener("pointerup",this.pointerup.bind(this),{signal:f})}disableClick(){this.#i?.abort(),this.#i=null}attach(f){this.#o.set(f.id,f);const{annotationElementId:R}=f;R&&this.#r.isDeletedAnnotationElement(R)&&this.#r.removeDeletedAnnotationElement(f)}detach(f){this.#o.delete(f.id),this.#e?.removePointerInTextLayer(f.contentDiv),!this.#d&&f.annotationElementId&&this.#r.addDeletedAnnotationElement(f)}remove(f){this.detach(f),this.#r.removeEditor(f),f.div.remove(),f.isAttachedToDOM=!1,this.#l||this.addInkEditorIfNeeded(!1)}changeParent(f){f.parent!==this&&(f.parent&&f.annotationElementId&&(this.#r.addDeletedAnnotationElement(f.annotationElementId),Ot.deleteAnnotationElement(f),f.annotationElementId=null),this.attach(f),f.parent?.detach(f),f.setParent(this),f.div&&f.isAttachedToDOM&&(f.div.remove(),this.div.append(f.div)))}add(f){if(f.parent!==this||!f.isAttachedToDOM){if(this.changeParent(f),this.#r.addEditor(f),this.attach(f),!f.isAttachedToDOM){const R=f.render();this.div.append(R),f.isAttachedToDOM=!0}f.fixAndSetPosition(),f.onceAdded(),this.#r.addToAnnotationStorage(f),f._reportTelemetry(f.telemetryInitialData)}}moveEditorInDOM(f){if(!f.isAttachedToDOM)return;const{activeElement:R}=document;f.div.contains(R)&&!this.#s&&(f._focusEventsAllowed=!1,this.#s=setTimeout(()=>{this.#s=null,f.div.contains(document.activeElement)?f._focusEventsAllowed=!0:(f.div.addEventListener("focusin",()=>{f._focusEventsAllowed=!0},{once:!0,signal:this.#r._signal}),R.focus())},0)),f._structTreeParentId=this.#e?.moveElementInDOM(this.div,f.div,f.contentDiv,!0)}addOrRebuild(f){f.needsToBeRebuilt()?(f.parent||=this,f.rebuild(),f.show()):this.add(f)}addUndoableEditor(f){this.addCommands({cmd:()=>f._uiManager.rebuild(f),undo:()=>{f.remove()},mustExec:!1})}getNextId(){return this.#r.getId()}get#h(){return qe.#p.get(this.#r.getMode())}combinedSignal(f){return this.#r.combinedSignal(f)}#m(f){const R=this.#h;return R?new R.prototype.constructor(f):null}canCreateNewEmptyEditor(){return this.#h?.canCreateNewEmptyEditor()}pasteEditor(f,R){this.#r.updateToolbar(f),this.#r.updateMode(f);const{offsetX:J,offsetY:re}=this.#g(),ve=this.getNextId(),Ie=this.#m({parent:this,id:ve,x:J,y:re,uiManager:this.#r,isCentered:!0,...R});Ie&&this.add(Ie)}deserialize(f){return qe.#p.get(f.annotationType??f.annotationEditorType)?.deserialize(f,this,this.#r)||null}createAndAddNewEditor(f,R,J={}){const re=this.getNextId(),ve=this.#m({parent:this,id:re,x:f.offsetX,y:f.offsetY,uiManager:this.#r,isCentered:R,...J});return ve&&this.add(ve),ve}#g(){const{x:f,y:R,width:J,height:re}=this.div.getBoundingClientRect(),ve=Math.max(0,f),Ie=Math.max(0,R),zt=(ve+Math.min(window.innerWidth,f+J))/2-f,Ht=(Ie+Math.min(window.innerHeight,R+re))/2-R,[bn,xn]=this.viewport.rotation%180==0?[zt,Ht]:[Ht,zt];return{offsetX:bn,offsetY:xn}}addNewEditor(){this.createAndAddNewEditor(this.#g(),!0)}setSelected(f){this.#r.setSelected(f)}toggleSelected(f){this.#r.toggleSelected(f)}isSelected(f){return this.#r.isSelected(f)}unselect(f){this.#r.unselect(f)}pointerup(f){const{isMac:R}=Kt.platform;if(!(0!==f.button||f.ctrlKey&&R)&&f.target===this.div&&this.#a){if(this.#a=!1,!this.#t)return void(this.#t=!0);if(this.#r.getMode()===x.STAMP)return void this.#r.unselectAll();this.createAndAddNewEditor(f,!1)}}pointerdown(f){if(this.#r.getMode()===x.HIGHLIGHT&&this.enableTextSelection(),this.#a)return void(this.#a=!1);const{isMac:R}=Kt.platform;if(0!==f.button||f.ctrlKey&&R||f.target!==this.div)return;this.#a=!0;const J=this.#r.getActive();this.#t=!J||J.isEmpty()}findNewParent(f,R,J){const re=this.#r.findParent(R,J);return null!==re&&re!==this&&(re.changeParent(f),!0)}destroy(){this.#r.getActive()?.parent===this&&(this.#r.commitOrRemove(),this.#r.setActiveEditor(null)),this.#s&&(clearTimeout(this.#s),this.#s=null);for(const f of this.#o.values())this.#e?.removePointerInTextLayer(f.contentDiv),f.setParent(null),f.isAttachedToDOM=!1,f.div.remove();this.div=null,this.#o.clear(),this.#r.removeLayer(this)}#_(){this.#l=!0;for(const f of this.#o.values())f.isEmpty()&&f.remove();this.#l=!1}render({viewport:f}){this.viewport=f,mi(this.div,f);for(const R of this.#r.getEditors(this.pageIndex))this.add(R),R.rebuild();this.updateMode()}update({viewport:f}){this.#r.commitOrRemove(),this.#_();const R=this.viewport.rotation,J=f.rotation;if(this.viewport=f,mi(this.div,{rotation:J}),R!==J)for(const re of this.#o.values())re.rotate(J);this.addInkEditorIfNeeded(!1)}get pageDimensions(){const{pageWidth:f,pageHeight:R}=this.viewport.rawDims;return[f,R]}get scale(){return this.#r.viewParameters.realScale}}return qe})();class ii{#e=null;#t=0;#n=new Map;#i=new Map;constructor({pageIndex:d}){this.pageIndex=d}setParent(d){if(this.#e){if(this.#e!==d){if(this.#n.size>0)for(const f of this.#n.values())f.remove(),d.append(f);this.#e=d}}else this.#e=d}static get _svgFactory(){return Ct(this,"_svgFactory",new pt)}static#s(d,{x:f=0,y:R=0,width:J=1,height:re=1}={}){const{style:ve}=d;ve.top=100*R+"%",ve.left=100*f+"%",ve.width=100*J+"%",ve.height=100*re+"%"}#o(d){const f=ii._svgFactory.create(1,1,!0);return this.#e.append(f),f.setAttribute("aria-hidden",!0),ii.#s(f,d),f}#a(d,f){const R=ii._svgFactory.createElement("clipPath");d.append(R);const J=`clip_${f}`;R.setAttribute("id",J),R.setAttribute("clipPathUnits","objectBoundingBox");const re=ii._svgFactory.createElement("use");return R.append(re),re.setAttribute("href",`#${f}`),re.classList.add("clip"),J}highlight(d,f,R,J=!1){const re=this.#t++,ve=this.#o(d.box);ve.classList.add("highlight"),d.free&&ve.classList.add("free");const Ie=ii._svgFactory.createElement("defs");ve.append(Ie);const Fe=ii._svgFactory.createElement("path");Ie.append(Fe);const St=`path_p${this.pageIndex}_${re}`;Fe.setAttribute("id",St),Fe.setAttribute("d",d.toSVGPath()),J&&this.#i.set(re,Fe);const zt=this.#a(Ie,St),Ht=ii._svgFactory.createElement("use");return ve.append(Ht),ve.setAttribute("fill",f),ve.setAttribute("fill-opacity",R),Ht.setAttribute("href",`#${St}`),this.#n.set(re,ve),{id:re,clipPathId:`url(#${zt})`}}highlightOutline(d){const f=this.#t++,R=this.#o(d.box);R.classList.add("highlightOutline");const J=ii._svgFactory.createElement("defs");R.append(J);const re=ii._svgFactory.createElement("path");J.append(re);const ve=`path_p${this.pageIndex}_${f}`;let Ie;if(re.setAttribute("id",ve),re.setAttribute("d",d.toSVGPath()),re.setAttribute("vector-effect","non-scaling-stroke"),d.free){R.classList.add("free");const zt=ii._svgFactory.createElement("mask");J.append(zt),Ie=`mask_p${this.pageIndex}_${f}`,zt.setAttribute("id",Ie),zt.setAttribute("maskUnits","objectBoundingBox");const Ht=ii._svgFactory.createElement("rect");zt.append(Ht),Ht.setAttribute("width","1"),Ht.setAttribute("height","1"),Ht.setAttribute("fill","white");const bn=ii._svgFactory.createElement("use");zt.append(bn),bn.setAttribute("href",`#${ve}`),bn.setAttribute("stroke","none"),bn.setAttribute("fill","black"),bn.setAttribute("fill-rule","nonzero"),bn.classList.add("mask")}const Fe=ii._svgFactory.createElement("use");R.append(Fe),Fe.setAttribute("href",`#${ve}`),Ie&&Fe.setAttribute("mask",`url(#${Ie})`);const St=Fe.cloneNode();return R.append(St),Fe.classList.add("mainOutline"),St.classList.add("secondaryOutline"),this.#n.set(f,R),f}finalizeLine(d,f){const R=this.#i.get(d);this.#i.delete(d),this.updateBox(d,f.box),R.setAttribute("d",f.toSVGPath())}updateLine(d,f){this.#n.get(d).firstChild.firstChild.setAttribute("d",f.toSVGPath())}removeFreeHighlight(d){this.remove(d),this.#i.delete(d)}updatePath(d,f){this.#i.get(d).setAttribute("d",f.toSVGPath())}updateBox(d,f){ii.#s(this.#n.get(d),f)}show(d,f){this.#n.get(d).classList.toggle("hidden",!f)}rotate(d,f){this.#n.get(d).setAttribute("data-main-rotation",f)}changeColor(d,f){this.#n.get(d).setAttribute("fill",f)}changeOpacity(d,f){this.#n.get(d).setAttribute("fill-opacity",f)}addClass(d,f){this.#n.get(d).classList.add(f)}removeClass(d,f){this.#n.get(d).classList.remove(f)}remove(d){null!==this.#e&&(this.#n.get(d).remove(),this.#n.delete(d))}destroy(){this.#e=null;for(const d of this.#n.values())d.remove();this.#n.clear()}}var Z1=L.AbortException,el=L.AnnotationEditorLayer,wl=L.AnnotationEditorParamsType,Oa=L.AnnotationEditorType,j0=L.AnnotationEditorUIManager,ec=L.AnnotationLayer,Zn=L.AnnotationMode,s1=L.CMapCompressionType,$l=L.ColorPicker,X0=L.DOMSVGFactory,dr=L.DrawLayer,Nl=L.FeatureTest,u1=L.GlobalWorkerOptions,Fr=L.ImageKind,a0=L.InvalidPDFException,Ru=L.MissingPDFException,Uc=L.OPS,f0=L.PDFDataRangeTransport,qr=L.PDFDateString,tc=L.PDFWorker,D1=L.PasswordResponses,Gc=L.PermissionFlag,P1=L.PixelsPerInch,xl=L.RenderingCancelledException,mc=L.TextLayer,nc=L.UnexpectedResponseException,o1=L.Util,yl=L.VerbosityLevel,_c=L.XfaLayer,l0=L.build,qc=L.createValidAbsoluteUrl,cu=L.fetchData,T0=L.getDocument,Js=L.getFilenameFromUrl,Vl=L.getPdfFilenameFromUrl,ot=L.getXfaPageViewport,wt=L.isDataScheme,ct=L.isPdfFile,Nt=L.noContextMenu,pn=L.normalizeUnicode,Vn=L.setLayerDimensions,je=L.shadow,Kn=L.version;function De(qe,d){this.v=qe,this.k=d}function Pt(qe){return new De(qe,0)}function mt(qe){return function(){return new pi(qe.apply(this,arguments))}}function pi(qe){var d,f;function R(re,ve){try{var Ie=qe[re](ve),Fe=Ie.value,St=Fe instanceof De;Promise.resolve(St?Fe.v:Fe).then(function(zt){if(St){var Ht="return"===re?"return":"next";if(!Fe.k||zt.done)return R(Ht,zt);zt=qe[Ht](zt).value}J(Ie.done?"return":"normal",zt)},function(zt){R("throw",zt)})}catch(zt){J("throw",zt)}}function J(re,ve){switch(re){case"return":d.resolve({value:ve,done:!0});break;case"throw":d.reject(ve);break;default:d.resolve({value:ve,done:!1})}(d=d.next)?R(d.key,d.arg):f=null}this._invoke=function(re,ve){return new Promise(function(Ie,Fe){var St={key:re,arg:ve,resolve:Ie,reject:Fe,next:null};f?f=f.next=St:(d=f=St,R(re,ve))})},"function"!=typeof qe.return&&(this.return=void 0)}function lo(qe){function d(f){if(Object(f)!==f)return Promise.reject(new TypeError(f+" is not an object."));var R=f.done;return Promise.resolve(f.value).then(function(J){return{value:J,done:R}})}return(lo=function(R){this.s=R,this.n=R.next}).prototype={s:null,n:null,next:function(){return d(this.n.apply(this.s,arguments))},return:function(R){var J=this.s.return;return void 0===J?Promise.resolve({value:R,done:!0}):d(J.apply(this.s,arguments))},throw:function(R){var J=this.s.return;return void 0===J?Promise.reject(R):d(J.apply(this.s,arguments))}},new lo(qe)}pi.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},pi.prototype.next=function(qe){return this._invoke("next",qe)},pi.prototype.throw=function(qe){return this._invoke("throw",qe)},pi.prototype.return=function(qe){return this._invoke("return",qe)};var Ro={d:(qe,d)=>{for(var f in d)Ro.o(d,f)&&!Ro.o(qe,f)&&Object.defineProperty(qe,f,{enumerable:!0,get:d[f]})},o:(qe,d)=>Object.prototype.hasOwnProperty.call(qe,d)},to=globalThis.pdfjsViewer={};Ro.d(to,{AnnotationLayerBuilder:()=>pp,DownloadManager:()=>_f,EventBus:()=>yc,FindState:()=>Go,GenericL10n:()=>Sr,LinkTarget:()=>_l,PDFFindController:()=>ml,PDFHistory:()=>Ca,PDFLinkService:()=>vo,PDFPageView:()=>Dd,PDFScriptingManager:()=>ac,PDFSinglePageViewer:()=>fh,PDFViewer:()=>Gh,ProgressBar:()=>he,RenderingStates:()=>lt,ScrollMode:()=>an,SimpleLinkService:()=>Lu,SpreadMode:()=>fn,StructTreeLayerBuilder:()=>pa,TextLayerBuilder:()=>Xc,XfaLayerBuilder:()=>Op,parseQueryString:()=>Ws});const lt={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3},an={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2,PAGE:3},fn={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};class Ri{constructor(){const d=window.devicePixelRatio||1;this.sx=d,this.sy=d}get scaled(){return 1!==this.sx||1!==this.sy}}function Bi(qe,d,f=!1){let R=qe.offsetParent;if(!R)return void console.error("offsetParent is not set -- cannot scroll");let J=qe.offsetTop+qe.clientTop,re=qe.offsetLeft+qe.clientLeft;for(;R.clientHeight===R.scrollHeight&&R.clientWidth===R.scrollWidth||f&&(R.classList.contains("markedContent")||"hidden"===getComputedStyle(R).overflow);)if(J+=R.offsetTop,re+=R.offsetLeft,R=R.offsetParent,!R)return;d&&(void 0!==d.top&&(J+=d.top),void 0!==d.left&&(re+=d.left,R.scrollLeft=re)),R.scrollTop=J}function Ws(qe){const d=new Map;for(const[f,R]of new URLSearchParams(qe))d.set(f.toLowerCase(),R);return d}const Wo=/[\x00-\x1F]/g;function ro(qe,d=!1){return Wo.test(qe)?d?qe.replaceAll(Wo,f=>"\0"===f?"":" "):qe.replaceAll("\0",""):qe}function Bo(qe,d,f=0){let R=f,J=qe.length-1;if(J<0||!d(qe[J]))return qe.length;if(d(qe[R]))return R;for(;R<J;){const re=R+J>>1;d(qe[re])?J=re:R=re+1}return R}function Xo(qe){if(Math.floor(qe)===qe)return[qe,1];const d=1/qe;if(d>8)return[1,8];if(Math.floor(d)===d)return[1,d];const R=qe>1?d:qe;let Fe,J=0,re=1,ve=1,Ie=1;for(;;){const St=J+ve,zt=re+Ie;if(zt>8)break;R<=St/zt?(ve=St,Ie=zt):(J=St,re=zt)}return Fe=R-J/re<ve/Ie-R?R===qe?[J,re]:[re,J]:R===qe?[ve,Ie]:[Ie,ve],Fe}function ar(qe,d){return qe-qe%d}function K0(qe){return Number.isInteger(qe)&&qe%90==0}function we(qe){return qe.width<=qe.height}new Promise(function(qe){window.requestAnimationFrame(qe)});const qt=document.documentElement.style;class he{#e=null;#t=null;#n=0;#i=null;#s=!0;constructor(d){this.#e=d.classList,this.#i=d.style}get percent(){return this.#n}set percent(d){this.#n=function An(qe,d,f){return Math.min(Math.max(qe,d),f)}(d,0,100),isNaN(d)?this.#e.add("indeterminate"):(this.#e.remove("indeterminate"),this.#i.setProperty("--progressBar-percent",`${this.#n}%`))}setWidth(d){if(!d)return;const R=d.parentNode.offsetWidth-d.offsetWidth;R>0&&this.#i.setProperty("--progressBar-end-offset",`${R}px`)}setDisableAutoFetch(d=5e3){100===this.#n||isNaN(this.#n)||(this.#t&&clearTimeout(this.#t),this.show(),this.#t=setTimeout(()=>{this.#t=null,this.hide()},d))}hide(){this.#s&&(this.#s=!1,this.#e.add("hidden"))}show(){this.#s||(this.#s=!0,this.#e.remove("hidden"))}}function U0(qe){return function Bs(qe){return qe<11904}(qe)?function Ds(qe){return!(65408&qe)}(qe)?function Ba(qe){return 32===qe||9===qe||13===qe||10===qe}(qe)?0:function ho(qe){return qe>=97&&qe<=122||qe>=65&&qe<=90}(qe)||function Aa(qe){return qe>=48&&qe<=57}(qe)||95===qe?1:2:function Zc(qe){return 3584==(65408&qe)}(qe)?7:160===qe?0:1:function J0(qe){return qe>=13312&&qe<=40959||qe>=63744&&qe<=64255}(qe)?3:function U1(qe){return qe>=12448&&qe<=12543}(qe)?4:function gc(qe){return qe>=12352&&qe<=12447}(qe)?5:function Vu(qe){return qe>=65376&&qe<=65439}(qe)?6:1}let ca;const Go={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3},As={"\u2010":"-","\u2018":"'","\u2019":"'","\u201a":"'","\u201b":"'","\u201c":'"',"\u201d":'"',"\u201e":'"',"\u201f":'"',"\xbc":"1/4","\xbd":"1/2","\xbe":"3/4"},Kr=new Set([12441,12442,2381,2509,2637,2765,2893,3021,3149,3277,3387,3388,3405,3530,3642,3770,3972,4153,4154,5908,5940,6098,6752,6980,7082,7083,7154,7155,11647,43014,43052,43204,43347,43456,43766,44013,3158,3953,3954,3962,3963,3964,3965,3968,3956]);let Ns;const Mo=new RegExp("\\p{M}+","gu"),Qo=new RegExp("([.*+?^${}()|[\\]\\\\])|(\\p{P})|(\\s+)|(\\p{M})|(\\p{L})","gu"),Hs=new RegExp("([^\\p{M}])\\p{M}*$","u"),ua=new RegExp("^\\p{M}*([^\\p{M}])","u"),bc=/[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g,O1=new Map,c0=new Map;let Qa=null,w0=null;function Za(qe){const d=[];let f,R;for(;null!==(f=bc.exec(qe));){let{index:xn}=f;for(const Zt of f[0]){let Mi=O1.get(Zt);Mi||(Mi=Zt.normalize("NFD").length,O1.set(Zt,Mi)),d.push([Mi,xn++])}}if(0===d.length&&Qa)R=Qa;else if(d.length>0&&w0)R=w0;else{const Pi=`([${Object.keys(As).join("")}])|([${function Zs(){return ca||="\xa0\xa8\xaa\xaf\xb2-\xb5\xb8-\xba\xbc-\xbe\u0132-\u0133\u013f-\u0140\u0149\u017f\u01c4-\u01cc\u01f1-\u01f3\u02b0-\u02b8\u02d8-\u02dd\u02e0-\u02e4\u0374\u037a\u037e\u0384-\u0385\u0387\u03d0-\u03d6\u03f0-\u03f2\u03f4-\u03f5\u03f9\u0587\u0675-\u0678\u0958-\u095f\u09dc-\u09dd\u09df\u0a33\u0a36\u0a59-\u0a5b\u0a5e\u0b5c-\u0b5d\u0e33\u0eb3\u0edc-\u0edd\u0f0c\u0f43\u0f4d\u0f52\u0f57\u0f5c\u0f69\u10fc\u1d2c-\u1d2e\u1d30-\u1d3a\u1d3c-\u1d4d\u1d4f-\u1d6a\u1d78\u1d9b-\u1dbf\u1e9a-\u1e9b\u1f71\u1f73\u1f75\u1f77\u1f79\u1f7b\u1f7d\u1fbb\u1fbd-\u1fc1\u1fc9\u1fcb\u1fcd-\u1fcf\u1fd3\u1fdb\u1fdd-\u1fdf\u1fe3\u1feb\u1fed-\u1fef\u1ff9\u1ffb\u1ffd-\u1ffe\u2000-\u200a\u2011\u2017\u2024-\u2026\u202f\u2033-\u2034\u2036-\u2037\u203c\u203e\u2047-\u2049\u2057\u205f\u2070-\u2071\u2074-\u208e\u2090-\u209c\u20a8\u2100-\u2103\u2105-\u2107\u2109-\u2113\u2115-\u2116\u2119-\u211d\u2120-\u2122\u2124\u2126\u2128\u212a-\u212d\u212f-\u2131\u2133-\u2139\u213b-\u2140\u2145-\u2149\u2150-\u217f\u2189\u222c-\u222d\u222f-\u2230\u2329-\u232a\u2460-\u24ea\u2a0c\u2a74-\u2a76\u2adc\u2c7c-\u2c7d\u2d6f\u2e9f\u2ef3\u2f00-\u2fd5\u3000\u3036\u3038-\u303a\u309b-\u309c\u309f\u30ff\u3131-\u318e\u3192-\u319f\u3200-\u321e\u3220-\u3247\u3250-\u327e\u3280-\u33ff\ua69c-\ua69d\ua770\ua7f2-\ua7f4\ua7f8-\ua7f9\uab5c-\uab5f\uab69\uf900-\ufa0d\ufa10\ufa12\ufa15-\ufa1e\ufa20\ufa22\ufa25-\ufa26\ufa2a-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfc\ufe10-\ufe19\ufe30-\ufe44\ufe47-\ufe52\ufe54-\ufe66\ufe68-\ufe6b\ufe70-\ufe72\ufe74\ufe76-\ufefc\uff01-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc\uffe0-\uffe6",ca}()}])|((?:\u3099|\u309a)\\n)|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|((?:\\p{Ideographic}|[\u3040-\u30ff])\\n)|(\\n)`;R=0===d.length?Qa=new RegExp(Pi+"|(\\u0000)","gum"):w0=new RegExp(Pi+"|([\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f])","gum")}const J=[];for(;null!==(f=Mo.exec(qe));)J.push([f[0].length,f.index]);let re=qe.normalize("NFD");const ve=[[0,0]];let Ie=0,Fe=0,St=0,zt=0,Ht=0,bn=!1;return re=re.replace(R,(xn,Zt,Mi,Ki,Pi,hs,Cs,Es,Ts,xs)=>{if(xs-=zt,Zt){const Gs=As[Zt],no=Gs.length;for(let gs=1;gs<no;gs++)ve.push([xs-St+gs,St-gs]);return St-=no-1,Gs}if(Mi){let Gs=c0.get(Mi);Gs||(Gs=Mi.normalize("NFKC"),c0.set(Mi,Gs));const no=Gs.length;for(let gs=1;gs<no;gs++)ve.push([xs-St+gs,St-gs]);return St-=no-1,Gs}if(Ki)return bn=!0,xs+Ht===J[Ie]?.[1]?++Ie:(ve.push([xs-1-St+1,St-1]),St-=1,zt+=1),ve.push([xs-St+1,St]),zt+=1,Ht+=1,Ki.charAt(0);if(Pi){const Gs=Pi.endsWith("\n"),no=Gs?Pi.length-2:Pi.length;bn=!0;let gs=no;xs+Ht===J[Ie]?.[1]&&(gs-=J[Ie][0],++Ie);for(let oo=1;oo<=gs;oo++)ve.push([xs-1-St+oo,St-oo]);return St-=gs,zt+=gs,Gs?(ve.push([(xs+=no-1)-St+1,1+St]),St+=1,zt+=1,Ht+=1,Pi.slice(0,no)):Pi}if(hs)return ve.push([xs-St+(hs.length-2),1+St]),St+=1,zt+=1,Ht+=1,hs.slice(0,-2);if(Cs)return ve.push([xs-St+(Cs.length-1),St]),zt+=1,Ht+=1,Cs.slice(0,-1);if(Es)return ve.push([xs-St+1,St-1]),St-=1,zt+=1,Ht+=1," ";if(xs+Ht===d[Fe]?.[1]){const Gs=d[Fe][0]-1;++Fe;for(let no=1;no<=Gs;no++)ve.push([xs-(St-no),St-no]);St-=Gs,zt+=Gs}return Ts}),ve.push([re.length,St]),[re,ve,bn]}class ml{#e=null;#t=!0;#n=0;constructor({linkService:d,eventBus:f,updateMatchesCountOnProgress:R=!0}){this._linkService=d,this._eventBus=f,this.#t=R,this.onIsPageVisible=null,this.#s(),f._on("find",this.#i.bind(this)),f._on("findbarclose",this.#b.bind(this))}get highlightMatches(){return this._highlightMatches}get pageMatches(){return this._pageMatches}get pageMatchesLength(){return this._pageMatchesLength}get selected(){return this._selected}get state(){return this.#e}setDocument(d){this._pdfDocument&&this.#s(),d&&(this._pdfDocument=d,this._firstPageCapability.resolve())}#i(d){if(!d)return;const f=this._pdfDocument,{type:R}=d;(null===this.#e||this.#a(d))&&(this._dirtyMatch=!0),this.#e=d,"highlightallchange"!==R&&this.#v(Go.PENDING),this._firstPageCapability.promise.then(()=>{if(!this._pdfDocument||f&&this._pdfDocument!==f)return;this.#u();const J=!this._highlightMatches,re=!!this._findTimeout;this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),R?this._dirtyMatch?this.#f():"again"===R?(this.#f(),J&&this.#e.highlightAll&&this.#p()):"highlightallchange"===R?(re?this.#f():this._highlightMatches=!0,this.#p()):this.#f():this._findTimeout=setTimeout(()=>{this.#f(),this._findTimeout=null},250)})}scrollMatchIntoView({element:d=null,selectedLeft:f=0,pageIndex:R=-1,matchIndex:J=-1}){this._scrollMatches&&d&&-1!==J&&J===this._selected.matchIdx&&-1!==R&&R===this._selected.pageIdx&&(this._scrollMatches=!1,Bi(d,{top:-50,left:f+-400},!0))}#s(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this.#n=0,this.#e=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._hasDiacritics=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=Promise.withResolvers()}get#o(){const{query:d}=this.#e;return"string"==typeof d?(d!==this._rawQuery&&(this._rawQuery=d,[this._normalizedQuery]=Za(d)),this._normalizedQuery):(d||[]).filter(f=>!!f).map(f=>Za(f)[0])}#a(d){const f=d.query,R=this.#e.query,J=typeof f;if(J!==typeof R)return!0;if("string"===J){if(f!==R)return!0}else if(JSON.stringify(f)!==JSON.stringify(R))return!0;switch(d.type){case"again":const ve=this._selected.pageIdx+1,Ie=this._linkService;return ve>=1&&ve<=Ie.pagesCount&&ve!==Ie.page&&!(this.onIsPageVisible?.(ve)??1);case"highlightallchange":return!1}return!0}#l(d,f,R){let J=d.slice(0,f).match(Hs);if(J){const re=d.charCodeAt(f),ve=J[1].charCodeAt(0);if(U0(re)===U0(ve))return!1}if(J=d.slice(f+R).match(ua),J){const re=d.charCodeAt(f+R-1),ve=J[1].charCodeAt(0);if(U0(re)===U0(ve))return!1}return!0}#d(d,f){const{matchDiacritics:R}=this.#e;let J=!1;return(d=d.replaceAll(Qo,(ve,Ie,Fe,St,zt,Ht)=>Ie?`[ ]*\\${Ie}[ ]*`:Fe?`[ ]*${Fe}[ ]*`:St?"[ ]+":R?zt||Ht:zt?Kr.has(zt.charCodeAt(0))?zt:"":f?(J=!0,`${Ht}\\p{M}*`):Ht)).endsWith("[ ]*")&&(d=d.slice(0,d.length-4)),R&&f&&(Ns||=String.fromCharCode(...Kr),J=!0,d=`${d}(?=[${Ns}]|[^\\p{M}]|$)`),[J,d]}#c(d){const f=this.#o;if(0===f.length)return;const J=this.match(f,this._pageContents[d],d),re=this._pageMatches[d]=[],ve=this._pageMatchesLength[d]=[],Ie=this._pageDiffs[d];J?.forEach(({index:St,length:zt})=>{const[Ht,bn]=function Fl(qe,d,f){if(!qe)return[d,f];const R=d,J=d+f-1;let re=Bo(qe,zt=>zt[0]>=R);qe[re][0]>R&&--re;let ve=Bo(qe,zt=>zt[0]>=J,re);qe[ve][0]>J&&--ve;const Ie=R+qe[re][1];return[Ie,J+qe[ve][1]+1-Ie]}(Ie,St,zt);bn&&(re.push(Ht),ve.push(bn))}),this.#e.highlightAll&&this.#r(d),this._resumePageIdx===d&&(this._resumePageIdx=null,this.#m());const Fe=re.length;this._matchesCountTotal+=Fe,this.#t?Fe>0&&this.#A():++this.#n===this._linkService.pagesCount&&this.#A()}match(d,f,R){const J=this._hasDiacritics[R];let re=!1;if("string"==typeof d?[re,d]=this.#d(d,J):d=d.sort().reverse().map(Ht=>{const[bn,xn]=this.#d(Ht,J);return re||=bn,`(${xn})`}).join("|"),!d)return;const{caseSensitive:ve,entireWord:Ie}=this.#e;d=new RegExp(d,`g${re?"u":""}${ve?"":"i"}`);const St=[];let zt;for(;null!==(zt=d.exec(f));)Ie&&!this.#l(f,zt.index,zt[0].length)||St.push({index:zt.index,length:zt[0].length});return St}#u(){if(this._extractTextPromises.length>0)return;let d=Promise.resolve();const f={disableNormalization:!0};for(let R=0,J=this._linkService.pagesCount;R<J;R++){const{promise:re,resolve:ve}=Promise.withResolvers();this._extractTextPromises[R]=re,d=d.then(()=>this._pdfDocument.getPage(R+1).then(Ie=>Ie.getTextContent(f)).then(Ie=>{const Fe=[];for(const St of Ie.items)Fe.push(St.str),St.hasEOL&&Fe.push("\n");[this._pageContents[R],this._pageDiffs[R],this._hasDiacritics[R]]=Za(Fe.join("")),ve()},Ie=>{console.error(`Unable to get text content for page ${R+1}`,Ie),this._pageContents[R]="",this._pageDiffs[R]=null,this._hasDiacritics[R]=!1,ve()}))}}#r(d){this._scrollMatches&&this._selected.pageIdx===d&&(this._linkService.page=d+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:d})}#p(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}#f(){const d=this.#e.findPrevious,f=this._linkService.page-1,R=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=f,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this.#n=0,this._matchesCountTotal=0,this.#p();for(let ve=0;ve<R;ve++)this._pendingFindMatches.has(ve)||(this._pendingFindMatches.add(ve),this._extractTextPromises[ve].then(()=>{this._pendingFindMatches.delete(ve),this.#c(ve)}))}if(0===this.#o.length)return void this.#v(Go.FOUND);if(this._resumePageIdx)return;const re=this._offset;if(this._pagesToSearch=R,null!==re.matchIdx){if(!d&&re.matchIdx+1<this._pageMatches[re.pageIdx].length||d&&re.matchIdx>0)return re.matchIdx=d?re.matchIdx-1:re.matchIdx+1,void this.#_(!0);this.#g(d)}this.#m()}#h(d){const f=this._offset,R=d.length,J=this.#e.findPrevious;return R?(f.matchIdx=J?R-1:0,this.#_(!0),!0):(this.#g(J),!!(f.wrapped&&(f.matchIdx=null,this._pagesToSearch<0))&&(this.#_(!1),!0))}#m(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");let d=null;do{const f=this._offset.pageIdx;if(d=this._pageMatches[f],!d){this._resumePageIdx=f;break}}while(!this.#h(d))}#g(d){const f=this._offset,R=this._linkService.pagesCount;f.pageIdx=d?f.pageIdx-1:f.pageIdx+1,f.matchIdx=null,this._pagesToSearch--,(f.pageIdx>=R||f.pageIdx<0)&&(f.pageIdx=d?R-1:0,f.wrapped=!0)}#_(d=!1){let f=Go.NOT_FOUND;const R=this._offset.wrapped;if(this._offset.wrapped=!1,d){const J=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,f=R?Go.WRAPPED:Go.FOUND,-1!==J&&J!==this._selected.pageIdx&&this.#r(J)}this.#v(f,this.#e.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this.#r(this._selected.pageIdx))}#b(d){const f=this._pdfDocument;this._firstPageCapability.promise.then(()=>{!this._pdfDocument||f&&this._pdfDocument!==f||(this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),this._resumePageIdx&&(this._resumePageIdx=null,this._dirtyMatch=!0),this.#v(Go.FOUND),this._highlightMatches=!1,this.#p())})}#O(){const{pageIdx:d,matchIdx:f}=this._selected;let R=0,J=this._matchesCountTotal;if(-1!==f){for(let re=0;re<d;re++)R+=this._pageMatches[re]?.length||0;R+=f+1}return(R<1||R>J)&&(R=J=0),{current:R,total:J}}#A(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this.#O()})}#v(d,f=!1){!this.#t&&(this.#n!==this._linkService.pagesCount||d===Go.PENDING)||this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:d,previous:f,entireWord:this.#e?.entireWord??null,matchesCount:this.#O(),rawQuery:this.#e?.query??null})}}const _l={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};class vo{externalLinkEnabled=!0;constructor({eventBus:d,externalLinkTarget:f=null,externalLinkRel:R=null,ignoreDestinationZoom:J=!1}={}){this.eventBus=d,this.externalLinkTarget=f,this.externalLinkRel=R,this._ignoreDestinationZoom=J,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null}setDocument(d,f=null){this.baseUrl=f,this.pdfDocument=d}setViewer(d){this.pdfViewer=d}setHistory(d){this.pdfHistory=d}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return this.pdfDocument?this.pdfViewer.currentPageNumber:1}set page(d){this.pdfDocument&&(this.pdfViewer.currentPageNumber=d)}get rotation(){return this.pdfDocument?this.pdfViewer.pagesRotation:0}set rotation(d){this.pdfDocument&&(this.pdfViewer.pagesRotation=d)}get isInPresentationMode(){return!!this.pdfDocument&&this.pdfViewer.isInPresentationMode}goToDestination(d){var f=this;return(0,I.A)(function*(){if(!f.pdfDocument)return;let R,J,re;if("string"==typeof d?(R=d,J=yield f.pdfDocument.getDestination(d)):(R=null,J=yield d),!Array.isArray(J))return void console.error(`goToDestination: "${J}" is not a valid destination array, for dest="${d}".`);const[ve]=J;if(ve&&"object"==typeof ve){if(re=f.pdfDocument.cachedPageNumber(ve),!re)try{re=(yield f.pdfDocument.getPageIndex(ve))+1}catch{return void console.error(`goToDestination: "${ve}" is not a valid page reference, for dest="${d}".`)}}else Number.isInteger(ve)&&(re=ve+1);!re||re<1||re>f.pagesCount?console.error(`goToDestination: "${re}" is not a valid page number, for dest="${d}".`):(f.pdfHistory&&(f.pdfHistory.pushCurrentPosition(),f.pdfHistory.push({namedDest:R,explicitDest:J,pageNumber:re})),f.pdfViewer.scrollPageIntoView({pageNumber:re,destArray:J,ignoreDestinationZoom:f._ignoreDestinationZoom}))})()}goToPage(d){if(!this.pdfDocument)return;const f="string"==typeof d&&this.pdfViewer.pageLabelToPageNumber(d)||0|d;Number.isInteger(f)&&f>0&&f<=this.pagesCount?(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.pushPage(f)),this.pdfViewer.scrollPageIntoView({pageNumber:f})):console.error(`PDFLinkService.goToPage: "${d}" is not a valid page.`)}addLinkAttributes(d,f,R=!1){if(!f||"string"!=typeof f)throw new Error('A valid "url" parameter must provided.');const J=R?_l.BLANK:this.externalLinkTarget,re=this.externalLinkRel;this.externalLinkEnabled?d.href=d.title=f:(d.href="",d.title=`Disabled: ${f}`,d.onclick=()=>!1);let ve="";switch(J){case _l.NONE:break;case _l.SELF:ve="_self";break;case _l.BLANK:ve="_blank";break;case _l.PARENT:ve="_parent";break;case _l.TOP:ve="_top"}d.target=ve,d.rel="string"==typeof re?re:"noopener noreferrer nofollow"}getDestinationHash(d){if("string"==typeof d){if(d.length>0)return this.getAnchorUrl("#"+escape(d))}else if(Array.isArray(d)){const f=JSON.stringify(d);if(f.length>0)return this.getAnchorUrl("#"+escape(f))}return this.getAnchorUrl("")}getAnchorUrl(d){return this.baseUrl?this.baseUrl+d:d}setHash(d){if(!this.pdfDocument)return;let f,R;if(d.includes("=")){const J=Ws(d);if(J.has("search")){const re=J.get("search").replaceAll('"',""),ve="true"===J.get("phrase");this.eventBus.dispatch("findfromurlhash",{source:this,query:ve?re:re.match(/\S+/g)})}if(J.has("page")&&(f=0|J.get("page")||1),J.has("zoom")){const re=J.get("zoom").split(","),ve=re[0],Ie=parseFloat(ve);ve.includes("Fit")?"Fit"===ve||"FitB"===ve?R=[null,{name:ve}]:"FitH"===ve||"FitBH"===ve||"FitV"===ve||"FitBV"===ve?R=[null,{name:ve},re.length>1?0|re[1]:null]:"FitR"===ve?5!==re.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):R=[null,{name:ve},0|re[1],0|re[2],0|re[3],0|re[4]]:console.error(`PDFLinkService.setHash: "${ve}" is not a valid zoom value.`):R=[null,{name:"XYZ"},re.length>1?0|re[1]:null,re.length>2?0|re[2]:null,Ie?Ie/100:ve]}return R?this.pdfViewer.scrollPageIntoView({pageNumber:f||this.page,destArray:R,allowNegativeOffset:!0}):f&&(this.page=f),J.has("pagemode")&&this.eventBus.dispatch("pagemode",{source:this,mode:J.get("pagemode")}),void(J.has("nameddest")&&this.goToDestination(J.get("nameddest")))}R=unescape(d);try{R=JSON.parse(R),Array.isArray(R)||(R=R.toString())}catch{}"string"==typeof R||vo.#e(R)?this.goToDestination(R):console.error(`PDFLinkService.setHash: "${unescape(d)}" is not a valid destination.`)}executeNamedAction(d){if(this.pdfDocument){switch(d){case"GoBack":this.pdfHistory?.back();break;case"GoForward":this.pdfHistory?.forward();break;case"NextPage":this.pdfViewer.nextPage();break;case"PrevPage":this.pdfViewer.previousPage();break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:d})}}executeSetOCGState(d){var f=this;return(0,I.A)(function*(){if(!f.pdfDocument)return;const R=f.pdfDocument,J=yield f.pdfViewer.optionalContentConfigPromise;R===f.pdfDocument&&(J.setOCGState(d),f.pdfViewer.optionalContentConfigPromise=Promise.resolve(J))})()}static#e(d){if(!Array.isArray(d)||d.length<2)return!1;const[f,R,...J]=d;if(("object"!=typeof f||!Number.isInteger(f?.num)||!Number.isInteger(f?.gen))&&!Number.isInteger(f)||"object"!=typeof R||"string"!=typeof R?.name)return!1;const re=J.length;let ve=!0;switch(R.name){case"XYZ":if(re<2||re>3)return!1;break;case"Fit":case"FitB":return 0===re;case"FitH":case"FitBH":case"FitV":case"FitBV":if(re>1)return!1;break;case"FitR":if(4!==re)return!1;ve=!1;break;default:return!1}for(const Ie of J)if(!("number"==typeof Ie||ve&&null===Ie))return!1;return!0}}class Lu extends vo{setDocument(d,f=null){}}const{AbortException:cd,AnnotationEditorLayer:tl,AnnotationEditorType:a1,AnnotationEditorUIManager:z0,AnnotationLayer:ud,AnnotationMode:t0,createValidAbsoluteUrl:ic,DrawLayer:I1,fetchData:wu,getPdfFilenameFromUrl:Uf,isPdfFile:ih,normalizeUnicode:Xu,PermissionFlag:tu,PixelsPerInch:hd,RenderingCancelledException:sc,setLayerDimensions:cr,shadow:xp,TextLayer:sh,version:du,XfaLayer:pu}=globalThis.pdfjsLib;class pp{#e=null;#t=null;constructor({pdfPage:d,linkService:f,downloadManager:R,annotationStorage:J=null,imageResourcesPath:re="",renderForms:ve=!0,enableScripting:Ie=!1,hasJSActionsPromise:Fe=null,fieldObjectsPromise:St=null,annotationCanvasMap:zt=null,accessibilityManager:Ht=null,annotationEditorUIManager:bn=null,onAppend:xn=null}){this.pdfPage=d,this.linkService=f,this.downloadManager=R,this.imageResourcesPath=re,this.renderForms=ve,this.annotationStorage=J,this.enableScripting=Ie,this._hasJSActionsPromise=Fe||Promise.resolve(!1),this._fieldObjectsPromise=St||Promise.resolve(null),this._annotationCanvasMap=zt,this._accessibilityManager=Ht,this._annotationEditorUIManager=bn,this.#e=xn,this.annotationLayer=null,this.div=null,this._cancelled=!1,this._eventBus=f.eventBus}render(d,f="display"){var R=this;return(0,I.A)(function*(){if(R.div){if(R._cancelled||!R.annotationLayer)return;return void R.annotationLayer.update({viewport:d.clone({dontFlip:!0})})}const[J,re,ve]=yield Promise.all([R.pdfPage.getAnnotations({intent:f}),R._hasJSActionsPromise,R._fieldObjectsPromise]);if(R._cancelled)return;const Ie=R.div=document.createElement("div");Ie.className="annotationLayer",R.#e?.(Ie),0!==J.length?(R.annotationLayer=new ud({div:Ie,accessibilityManager:R._accessibilityManager,annotationCanvasMap:R._annotationCanvasMap,annotationEditorUIManager:R._annotationEditorUIManager,page:R.pdfPage,viewport:d.clone({dontFlip:!0})}),yield R.annotationLayer.render({annotations:J,imageResourcesPath:R.imageResourcesPath,renderForms:R.renderForms,linkService:R.linkService,downloadManager:R.downloadManager,annotationStorage:R.annotationStorage,enableScripting:R.enableScripting,hasJSActions:re,fieldObjects:ve}),R.linkService.isInPresentationMode&&R.#n(3),R.#t||(R.#t=new AbortController,R._eventBus?._on("presentationmodechanged",Fe=>{R.#n(Fe.state)},{signal:R.#t.signal}))):R.hide()})()}cancel(){this._cancelled=!0,this.#t?.abort(),this.#t=null}hide(){this.div&&(this.div.hidden=!0)}hasEditableAnnotations(){return!!this.annotationLayer?.hasEditableAnnotations()}#n(d){if(!this.div)return;let f=!1;switch(d){case 3:f=!0;break;case 1:break;default:return}for(const R of this.div.childNodes)R.hasAttribute("data-internal-link")||(R.inert=f)}}function hp(qe,d){const f=document.createElement("a");if(!f.click)throw new Error('DownloadManager: "a.click()" is not supported.');f.href=qe,f.target="_parent","download"in f&&(f.download=d),(document.body||document.documentElement).append(f),f.click(),f.remove()}class _f{#e=new WeakMap;downloadData(d,f,R){hp(URL.createObjectURL(new Blob([d],{type:R})),f)}openOrDownloadData(d,f,R=null){const re=ih(f)?"application/pdf":"";return this.downloadData(d,f,re),!1}download(d,f,R){let J;if(d)J=URL.createObjectURL(new Blob([d],{type:"application/pdf"}));else{if(!ic(f,"http://example.com"))return void console.error(`download - not a valid URL: ${f}`);J=f+"#pdfjs.action=download"}hp(J,R)}}const Hd_EVENT="event",Hd_TIMEOUT="timeout";function hu(){return(hu=(0,I.A)(function*({target:qe,name:d,delay:f=0}){if("object"!=typeof qe||!d||"string"!=typeof d||!(Number.isInteger(f)&&f>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");const{promise:R,resolve:J}=Promise.withResolvers(),re=new AbortController;function ve(St){re.abort(),clearTimeout(Fe),J(St)}qe[qe instanceof yc?"_on":"addEventListener"](d,ve.bind(null,Hd_EVENT),{signal:re.signal});const Fe=setTimeout(ve.bind(null,Hd_TIMEOUT),f);return R})).apply(this,arguments)}class yc{#e=Object.create(null);on(d,f,R=null){this._on(d,f,{external:!0,once:R?.once,signal:R?.signal})}off(d,f,R=null){this._off(d,f)}dispatch(d,f){const R=this.#e[d];if(!R||0===R.length)return;let J;for(const{listener:re,external:ve,once:Ie}of R.slice(0))Ie&&this._off(d,re),ve?(J||=[]).push(re):re(f);if(J){for(const re of J)re(f);J=null}}_on(d,f,R=null){let J=null;if(R?.signal instanceof AbortSignal){const{signal:ve}=R;if(ve.aborted)return void console.error("Cannot use an `aborted` signal.");const Ie=()=>this._off(d,f);J=()=>ve.removeEventListener("abort",Ie),ve.addEventListener("abort",Ie)}(this.#e[d]||=[]).push({listener:f,external:!0===R?.external,once:!0===R?.once,rmAbort:J})}_off(d,f,R=null){const J=this.#e[d];if(J)for(let re=0,ve=J.length;re<ve;re++){const Ie=J[re];if(Ie.listener===f)return Ie.rmAbort?.(),void J.splice(re,1)}}}class _o{constructor(d){this.value=d}valueOf(){return this.value}}class G0 extends _o{constructor(d="???"){super(d)}toString(d){return`{${this.value}}`}}class m0 extends _o{constructor(d,f={}){super(d),this.opts=f}toString(d){try{return d.memoizeIntlObject(Intl.NumberFormat,this.opts).format(this.value)}catch(f){return d.reportError(f),this.value.toString(10)}}}class N0 extends _o{constructor(d,f={}){super(d),this.opts=f}toString(d){try{return d.memoizeIntlObject(Intl.DateTimeFormat,this.opts).format(this.value)}catch(f){return d.reportError(f),new Date(this.value).toISOString()}}}const Br=100,Hc="\u2068",oc="\u2069";function _0(qe,d,f){return f===d||f instanceof m0&&d instanceof m0&&f.value===d.value||d instanceof m0&&"string"==typeof f&&f===qe.memoizeIntlObject(Intl.PluralRules,d.opts).select(d.value)}function Yd(qe,d,f){return d[f]?Ku(qe,d[f].value):(qe.reportError(new RangeError("No default")),new G0)}function fu(qe,d){const f=[],R=Object.create(null);for(const J of d)"narg"===J.type?R[J.name]=Wp(qe,J.value):f.push(Wp(qe,J));return{positional:f,named:R}}function Wp(qe,d){switch(d.type){case"str":return d.value;case"num":return new m0(d.value,{minimumFractionDigits:d.precision});case"var":return function na(qe,{name:d}){let f;if(qe.params){if(!Object.prototype.hasOwnProperty.call(qe.params,d))return new G0(`$${d}`);f=qe.params[d]}else{if(!qe.args||!Object.prototype.hasOwnProperty.call(qe.args,d))return qe.reportError(new ReferenceError(`Unknown variable: $${d}`)),new G0(`$${d}`);f=qe.args[d]}if(f instanceof _o)return f;switch(typeof f){case"string":return f;case"number":return new m0(f);case"object":if(f instanceof Date)return new N0(f.getTime());default:return qe.reportError(new TypeError(`Variable type not supported: $${d}, ${typeof f}`)),new G0(`$${d}`)}}(qe,d);case"mesg":return function fp(qe,{name:d,attr:f}){const R=qe.bundle._messages.get(d);if(!R)return qe.reportError(new ReferenceError(`Unknown message: ${d}`)),new G0(d);if(f){const J=R.attributes[f];return J?Ku(qe,J):(qe.reportError(new ReferenceError(`Unknown attribute: ${f}`)),new G0(`${d}.${f}`))}return R.value?Ku(qe,R.value):(qe.reportError(new ReferenceError(`No value: ${d}`)),new G0(d))}(qe,d);case"term":return function rh(qe,{name:d,attr:f,args:R}){const J=`-${d}`,re=qe.bundle._terms.get(J);if(!re)return qe.reportError(new ReferenceError(`Unknown term: ${J}`)),new G0(J);if(f){const Ie=re.attributes[f];if(Ie){qe.params=fu(qe,R).named;const Fe=Ku(qe,Ie);return qe.params=null,Fe}return qe.reportError(new ReferenceError(`Unknown attribute: ${f}`)),new G0(`${J}.${f}`)}qe.params=fu(qe,R).named;const ve=Ku(qe,re.value);return qe.params=null,ve}(qe,d);case"func":return function Td(qe,{name:d,args:f}){let R=qe.bundle._functions[d];if(!R)return qe.reportError(new ReferenceError(`Unknown function: ${d}()`)),new G0(`${d}()`);if("function"!=typeof R)return qe.reportError(new TypeError(`Function ${d}() is not callable`)),new G0(`${d}()`);try{let J=fu(qe,f);return R(J.positional,J.named)}catch(J){return qe.reportError(J),new G0(`${d}()`)}}(qe,d);case"select":return function mp(qe,{selector:d,variants:f,star:R}){let J=Wp(qe,d);if(J instanceof G0)return Yd(qe,f,R);for(const re of f)if(_0(qe,J,Wp(qe,re.key)))return Ku(qe,re.value);return Yd(qe,f,R)}(qe,d);default:return new G0}}function _p(qe,d){if(qe.dirty.has(d))return qe.reportError(new RangeError("Cyclic reference")),new G0;qe.dirty.add(d);const f=[],R=qe.bundle._useIsolating&&d.length>1;for(const J of d)if("string"!=typeof J){if(qe.placeables++,qe.placeables>Br)throw qe.dirty.delete(d),new RangeError(`Too many placeables expanded: ${qe.placeables}, max allowed is ${Br}`);R&&f.push(Hc),f.push(Wp(qe,J).toString(qe)),R&&f.push(oc)}else f.push(qe.bundle._transform(J));return qe.dirty.delete(d),f.join("")}function Ku(qe,d){return"string"==typeof d?qe.bundle._transform(d):_p(qe,d)}class Bp{constructor(d,f,R){this.dirty=new WeakSet,this.params=null,this.placeables=0,this.bundle=d,this.errors=f,this.args=R}reportError(d){if(!(this.errors&&d instanceof Error))throw d;this.errors.push(d)}memoizeIntlObject(d,f){let R=this.bundle._intls.get(d);R||(R={},this.bundle._intls.set(d,R));let J=JSON.stringify(f);return R[J]||(R[J]=new d(this.bundle.locales,f)),R[J]}}function Xd(qe,d){const f=Object.create(null);for(const[R,J]of Object.entries(qe))d.includes(R)&&(f[R]=J.valueOf());return f}const rc=["unitDisplay","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function _r(qe,d){let f=qe[0];if(f instanceof G0)return new G0(`NUMBER(${f.valueOf()})`);if(f instanceof m0)return new m0(f.valueOf(),{...f.opts,...Xd(d,rc)});if(f instanceof N0)return new m0(f.valueOf(),{...Xd(d,rc)});throw new TypeError("Invalid argument to NUMBER")}const Cd=["dateStyle","timeStyle","fractionalSecondDigits","dayPeriod","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function ah(qe,d){let f=qe[0];if(f instanceof G0)return new G0(`DATETIME(${f.valueOf()})`);if(f instanceof N0)return new N0(f.valueOf(),{...f.opts,...Xd(d,Cd)});if(f instanceof m0)return new N0(f.valueOf(),{...Xd(d,Cd)});throw new TypeError("Invalid argument to DATETIME")}const gp=new Map;class gm{constructor(d,{functions:f,useIsolating:R=!0,transform:J=re=>re}={}){this._terms=new Map,this._messages=new Map,this.locales=Array.isArray(d)?d:[d],this._functions={NUMBER:_r,DATETIME:ah,...f},this._useIsolating=R,this._transform=J,this._intls=function Vi(qe){const d=Array.isArray(qe)?qe.join(" "):qe;let f=gp.get(d);return void 0===f&&(f=new Map,gp.set(d,f)),f}(d)}hasMessage(d){return this._messages.has(d)}getMessage(d){return this._messages.get(d)}addResource(d,{allowOverrides:f=!1}={}){const R=[];for(let J=0;J<d.body.length;J++){let re=d.body[J];if(re.id.startsWith("-")){if(!1===f&&this._terms.has(re.id)){R.push(new Error(`Attempt to override an existing term: "${re.id}"`));continue}this._terms.set(re.id,re)}else{if(!1===f&&this._messages.has(re.id)){R.push(new Error(`Attempt to override an existing message: "${re.id}"`));continue}this._messages.set(re.id,re)}}return R}formatPattern(d,f=null,R=null){if("string"==typeof d)return this._transform(d);let J=new Bp(this,R,f);try{return _p(J,d).toString(J)}catch(re){if(J.errors&&re instanceof Error)return J.errors.push(re),(new G0).toString(J);throw re}}}const Kd=/^(-?[a-zA-Z][\w-]*) *= */gm,bp=/\.([a-zA-Z][\w-]*) *= */y,lh=/\*?\[/y,Au=/(-?[0-9]+(?:\.([0-9]+))?)/y,fd=/([a-zA-Z][\w-]*)/y,Jd=/([$-])?([a-zA-Z][\w-]*)(?:\.([a-zA-Z][\w-]*))?/y,gf=/^[A-Z][A-Z0-9_-]*$/,Wh=/([^{}\n\r]+)/y,qf=/([^\\"\n\r]*)/y,ws=/\\([\\"])/y,La=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{6})/y,Bh=/^\n+/,Ju=/ +$/,q0=/ *\r?\n/g,kp=/( *)$/,Qd=/{\s*/y,d1=/\s*}/y,Mp=/\[\s*/y,wc=/\s*] */y,zd=/\s*\(\s*/y,ch=/\s*->\s*/y,kh=/\s*:\s*/y,jh=/\s*,?\s*/y,mu=/\s+/y;class bf{constructor(d){this.body=[],Kd.lastIndex=0;let f=0;for(;;){let gs=Kd.exec(d);if(null===gs)break;f=Kd.lastIndex;try{this.body.push(Fe(gs[1]))}catch(oo){if(oo instanceof SyntaxError)continue;throw oo}}function R(gs){return gs.lastIndex=f,gs.test(d)}function J(gs,oo){if(d[f]===gs)return f++,!0;if(oo)throw new oo(`Expected ${gs}`);return!1}function re(gs,oo){if(R(gs))return f=gs.lastIndex,!0;if(oo)throw new oo(`Expected ${gs.toString()}`);return!1}function ve(gs){gs.lastIndex=f;let oo=gs.exec(d);if(null===oo)throw new SyntaxError(`Expected ${gs.toString()}`);return f=gs.lastIndex,oo}function Ie(gs){return ve(gs)[1]}function Fe(gs){let oo=zt(),ko=function St(){let gs=Object.create(null);for(;R(bp);){let oo=Ie(bp),ko=zt();if(null===ko)throw new SyntaxError("Expected attribute value");gs[oo]=ko}return gs}();if(null===oo&&0===Object.keys(ko).length)throw new SyntaxError("Expected message value or attributes");return{id:gs,value:oo,attributes:ko}}function zt(){let gs;if(R(Wh)&&(gs=Ie(Wh)),"{"===d[f]||"}"===d[f])return Ht(gs?[gs]:[],1/0);let oo=xs();return oo?gs?Ht([gs,oo],oo.length):(oo.value=Gs(oo.value,Bh),Ht([oo],oo.length)):gs?Gs(gs,Ju):null}function Ht(gs=[],oo){for(;;){if(R(Wh)){gs.push(Ie(Wh));continue}if("{"===d[f]){gs.push(bn());continue}if("}"===d[f])throw new SyntaxError("Unbalanced closing brace");let Or=xs();if(!Or)break;gs.push(Or),oo=Math.min(oo,Or.length)}let ko=gs.length-1,A1=gs[ko];"string"==typeof A1&&(gs[ko]=Gs(A1,Ju));let sa=[];for(let Or of gs)Or instanceof Nc&&(Or=Or.value.slice(0,Or.value.length-oo)),Or&&sa.push(Or);return sa}function bn(){re(Qd,SyntaxError);let gs=xn();if(re(d1))return gs;if(re(ch)){let oo=function Ki(){let ko,gs=[],oo=0;for(;R(lh);){J("*")&&(ko=oo);let A1=Pi(),sa=zt();if(null===sa)throw new SyntaxError("Expected variant value");gs[oo++]={key:A1,value:sa}}if(0===oo)return null;if(void 0===ko)throw new SyntaxError("Expected default variant");return{variants:gs,star:ko}}();return re(d1,SyntaxError),{type:"select",selector:gs,...oo}}throw new SyntaxError("Unclosed placeable")}function xn(){if("{"===d[f])return bn();if(R(Jd)){let[,gs,oo,ko=null]=ve(Jd);if("$"===gs)return{type:"var",name:oo};if(re(zd)){let A1=function Zt(){let gs=[];for(;;){switch(d[f]){case")":return f++,gs;case void 0:throw new SyntaxError("Unclosed argument list")}gs.push(Mi()),re(jh)}}();if("-"===gs)return{type:"term",name:oo,attr:ko,args:A1};if(gf.test(oo))return{type:"func",name:oo,args:A1};throw new SyntaxError("Function names must be all upper-case")}return"-"===gs?{type:"term",name:oo,attr:ko,args:[]}:{type:"mesg",name:oo,attr:ko}}return hs()}function Mi(){let gs=xn();return"mesg"!==gs.type?gs:re(kh)?{type:"narg",name:gs.name,value:hs()}:gs}function Pi(){let gs;return re(Mp,SyntaxError),gs=R(Au)?Cs():{type:"str",value:Ie(fd)},re(wc,SyntaxError),gs}function hs(){if(R(Au))return Cs();if('"'===d[f])return function Es(){J('"',SyntaxError);let gs="";for(;;){if(gs+=Ie(qf),"\\"!==d[f]){if(J('"'))return{type:"str",value:gs};throw new SyntaxError("Unclosed string literal")}gs+=Ts()}}();throw new SyntaxError("Invalid expression")}function Cs(){let[,gs,oo=""]=ve(Au),ko=oo.length;return{type:"num",value:parseFloat(gs),precision:ko}}function Ts(){if(R(ws))return Ie(ws);if(R(La)){let[,gs,oo]=ve(La),ko=parseInt(gs||oo,16);return ko<=55295||57344<=ko?String.fromCodePoint(ko):"\ufffd"}throw new SyntaxError("Unknown escape sequence")}function xs(){let gs=f;switch(re(mu),d[f]){case".":case"[":case"*":case"}":case void 0:return!1;case"{":return no(d.slice(gs,f))}return" "===d[f-1]&&no(d.slice(gs,f))}function Gs(gs,oo){return gs.replace(oo,"")}function no(gs){let oo=gs.replace(q0,"\n"),ko=kp.exec(gs)[1].length;return new Nc(oo,ko)}}}class Nc{constructor(d,f){this.value=d,this.length=f}}const El=/<|&#?\w+;/,Z0={"http://www.w3.org/1999/xhtml":["em","strong","small","s","cite","q","dfn","abbr","data","time","code","var","samp","kbd","sub","sup","i","b","u","mark","bdi","bdo","span","br","wbr"]},yu={"http://www.w3.org/1999/xhtml":{global:["title","aria-label","aria-valuetext"],a:["download"],area:["download","alt"],input:["alt","placeholder"],menuitem:["label"],menu:["label"],optgroup:["label"],option:["label"],track:["label"],img:["alt"],textarea:["placeholder"],th:["abbr"]},"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul":{global:["accesskey","aria-label","aria-valuetext","label","title","tooltiptext"],description:["value"],key:["key","keycode"],label:["value"],textbox:["placeholder","value"]}};function md(qe,d){const{value:f}=d;if("string"==typeof f)if("title"===qe.localName&&"http://www.w3.org/1999/xhtml"===qe.namespaceURI)qe.textContent=f;else if(El.test(f)){const R=qe.ownerDocument.createElementNS("http://www.w3.org/1999/xhtml","template");R.innerHTML=f,function uh(qe,d){for(const f of qe.childNodes)if(f.nodeType!==f.TEXT_NODE){if(f.hasAttribute("data-l10n-name")){const R=jp(d,f);qe.replaceChild(R,f);continue}if(q1(f)){const R=nu(f);qe.replaceChild(R,f);continue}console.warn(`An element of forbidden type "${f.localName}" was found in the translation. Only safe text-level elements and elements with data-l10n-name are allowed.`),qe.replaceChild(Sl(f),f)}d.textContent="",d.appendChild(qe)}(R.content,qe)}else qe.textContent=f;io(d,qe)}function dh(qe,d){if(!qe)return!1;for(let f of qe)if(f.name===d)return!0;return!1}function io(qe,d){const f=d.hasAttribute("data-l10n-attrs")?d.getAttribute("data-l10n-attrs").split(",").map(R=>R.trim()):null;for(const R of Array.from(d.attributes))Wu(R.name,d,f)&&!dh(qe.attributes,R.name)&&d.removeAttribute(R.name);if(qe.attributes)for(const R of Array.from(qe.attributes))Wu(R.name,d,f)&&d.getAttribute(R.name)!==R.value&&d.setAttribute(R.name,R.value)}function jp(qe,d){const f=d.getAttribute("data-l10n-name"),R=qe.querySelector(`[data-l10n-name="${f}"]`);return R?R.localName!==d.localName?(console.warn(`An element named "${f}" was found in the translation but its type ${d.localName} didn't match the element found in the source (${R.localName}).`),Sl(d)):(qe.removeChild(R),_e(d,R.cloneNode(!1))):(console.warn(`An element named "${f}" wasn't found in the source.`),Sl(d))}function nu(qe){const d=qe.ownerDocument.createElement(qe.localName);return _e(qe,d)}function Sl(qe){return qe.ownerDocument.createTextNode(qe.textContent)}function q1(qe){const d=Z0[qe.namespaceURI];return d&&d.includes(qe.localName)}function Wu(qe,d,f=null){if(f&&f.includes(qe))return!0;const R=yu[d.namespaceURI];if(!R)return!1;const J=qe.toLowerCase(),re=d.localName;if(R.global.includes(J))return!0;if(!R[re])return!1;if(R[re].includes(J))return!0;if("http://www.w3.org/1999/xhtml"===d.namespaceURI&&"input"===re&&"value"===J){const ve=d.type.toLowerCase();if("submit"===ve||"button"===ve||"reset"===ve)return!0}return!1}function _e(qe,d){return d.textContent=qe.textContent,io(qe,d),d}class At extends Array{static from(d){return d instanceof this?d:new this(d)}}Symbol;class Ee extends At{constructor(d){if(super(),Symbol.asyncIterator in Object(d))this.iterator=d[Symbol.asyncIterator]();else{if(!(Symbol.iterator in Object(d)))throw new TypeError("Argument must implement the iteration protocol.");this.iterator=d[Symbol.iterator]()}}[Symbol.asyncIterator](){const d=this;let f=0;return{next:()=>(0,I.A)(function*(){return d.length<=f&&d.push(d.iterator.next()),d[f++]})()}}touchNext(d=1){var f=this;return(0,I.A)(function*(){let R=0;for(;R++<d;){const J=f[f.length-1];if(J&&(yield J).done)break;f.push(f.iterator.next())}return f[f.length-1]})()}}class tt{constructor(d=[],f){this.resourceIds=d,this.generateBundles=f,this.onChange(!0)}addResourceIds(d,f=!1){return this.resourceIds.push(...d),this.onChange(f),this.resourceIds.length}removeResourceIds(d){return this.resourceIds=this.resourceIds.filter(f=>!d.includes(f)),this.onChange(),this.resourceIds.length}formatWithFallback(d,f){var R=this;return(0,I.A)(function*(){const J=[];let re=!1;var Fe,ve=!1,Ie=!1;try{for(var zt,St=function Ls(qe){var d,f,R,J=2;for(typeof Symbol<"u"&&(f=Symbol.asyncIterator,R=Symbol.iterator);J--;){if(f&&null!=(d=qe[f]))return d.call(qe);if(R&&null!=(d=qe[R]))return new lo(d.call(qe));f="@@asyncIterator",R="@@iterator"}throw new TypeError("Object is not async iterable")}(R.bundles);ve=!(zt=yield St.next()).done;ve=!1){const Ht=zt.value;{re=!0;const bn=qi(f,Ht,d,J);if(0===bn.size)break;if(typeof console<"u"){const xn=Ht.locales[0],Zt=Array.from(bn).join(", ");console.warn(`[fluent] Missing translations in ${xn}: ${Zt}`)}}}}catch(Ht){Ie=!0,Fe=Ht}finally{try{ve&&null!=St.return&&(yield St.return())}finally{if(Ie)throw Fe}}return!re&&typeof console<"u"&&console.warn(`[fluent] Request for keys failed because no resource bundles got generated.\n  keys: ${JSON.stringify(d)}.\n  resourceIds: ${JSON.stringify(R.resourceIds)}.`),J})()}formatMessages(d){return this.formatWithFallback(d,$n)}formatValues(d){return this.formatWithFallback(d,mn)}formatValue(d,f){var R=this;return(0,I.A)(function*(){const[J]=yield R.formatValues([{id:d,args:f}]);return J})()}handleEvent(){this.onChange()}onChange(d=!1){this.bundles=Ee.from(this.generateBundles(this.resourceIds)),d&&this.bundles.touchNext(2)}}function mn(qe,d,f,R){return f.value?qe.formatPattern(f.value,R,d):null}function $n(qe,d,f,R){const J={value:null,attributes:null};f.value&&(J.value=qe.formatPattern(f.value,R,d));let re=Object.keys(f.attributes);if(re.length>0){J.attributes=new Array(re.length);for(let[ve,Ie]of re.entries()){let Fe=qe.formatPattern(f.attributes[Ie],R,d);J.attributes[ve]={name:Ie,value:Fe}}}return J}function qi(qe,d,f,R){const J=[],re=new Set;return f.forEach(({id:ve,args:Ie},Fe)=>{if(void 0!==R[Fe])return;let St=d.getMessage(ve);if(St){if(J.length=0,R[Fe]=qe(d,J,St,Ie),J.length>0&&typeof console<"u"){const zt=d.locales[0],Ht=J.join(", ");console.warn(`[fluent][resolver] errors in ${zt}/${ve}: ${Ht}.`)}}else re.add(ve)}),re}const Xi="data-l10n-id",Zi="data-l10n-args",fs=`[${Xi}]`;class eo extends tt{constructor(d,f){super(d,f),this.roots=new Set,this.pendingrAF=null,this.pendingElements=new Set,this.windowElement=null,this.mutationObserver=null,this.observerConfig={attributes:!0,characterData:!1,childList:!0,subtree:!0,attributeFilter:[Xi,Zi]}}onChange(d=!1){super.onChange(d),this.roots&&this.translateRoots()}setAttributes(d,f,R){return d.setAttribute(Xi,f),R?d.setAttribute(Zi,JSON.stringify(R)):d.removeAttribute(Zi),d}getAttributes(d){return{id:d.getAttribute(Xi),args:JSON.parse(d.getAttribute(Zi)||null)}}connectRoot(d){for(const f of this.roots)if(f===d||f.contains(d)||d.contains(f))throw new Error("Cannot add a root that overlaps with existing root.");if(this.windowElement){if(this.windowElement!==d.ownerDocument.defaultView)throw new Error("Cannot connect a root:\n          DOMLocalization already has a root from a different window.")}else this.windowElement=d.ownerDocument.defaultView,this.mutationObserver=new this.windowElement.MutationObserver(f=>this.translateMutations(f));this.roots.add(d),this.mutationObserver.observe(d,this.observerConfig)}disconnectRoot(d){return this.roots.delete(d),this.pauseObserving(),0===this.roots.size?(this.mutationObserver=null,this.windowElement&&this.pendingrAF&&this.windowElement.cancelAnimationFrame(this.pendingrAF),this.windowElement=null,this.pendingrAF=null,this.pendingElements.clear(),!0):(this.resumeObserving(),!1)}translateRoots(){const d=Array.from(this.roots);return Promise.all(d.map(f=>this.translateFragment(f)))}pauseObserving(){this.mutationObserver&&(this.translateMutations(this.mutationObserver.takeRecords()),this.mutationObserver.disconnect())}resumeObserving(){if(this.mutationObserver)for(const d of this.roots)this.mutationObserver.observe(d,this.observerConfig)}translateMutations(d){for(const f of d)switch(f.type){case"attributes":f.target.hasAttribute("data-l10n-id")&&this.pendingElements.add(f.target);break;case"childList":for(const R of f.addedNodes)if(R.nodeType===R.ELEMENT_NODE)if(R.childElementCount)for(const J of this.getTranslatables(R))this.pendingElements.add(J);else R.hasAttribute(Xi)&&this.pendingElements.add(R)}this.pendingElements.size>0&&null===this.pendingrAF&&(this.pendingrAF=this.windowElement.requestAnimationFrame(()=>{this.translateElements(Array.from(this.pendingElements)),this.pendingElements.clear(),this.pendingrAF=null}))}translateFragment(d){return this.translateElements(this.getTranslatables(d))}translateElements(d){var f=this;return(0,I.A)(function*(){if(!d.length)return;const R=d.map(f.getKeysForElement),J=yield f.formatMessages(R);return f.applyTranslations(d,J)})()}applyTranslations(d,f){this.pauseObserving();for(let R=0;R<d.length;R++)void 0!==f[R]&&md(d[R],f[R]);this.resumeObserving()}getTranslatables(d){const f=Array.from(d.querySelectorAll(fs));return"function"==typeof d.hasAttribute&&d.hasAttribute(Xi)&&f.push(d),f}getKeysForElement(d){return{id:d.getAttribute(Xi),args:JSON.parse(d.getAttribute(Zi)||null)}}}class po{#e;#t=new Set;#n;#i;constructor({lang:d,isRTL:f},R=null){this.#n=po.#s(d),this.#i=R,this.#e=f??po.#o(this.#n)?"rtl":"ltr"}_setL10n(d){this.#i=d}getLanguage(){return this.#n}getDirection(){return this.#e}get(d,f=null,R){var J=this;return(0,I.A)(function*(){return Array.isArray(d)?(d=d.map(Ie=>({id:Ie})),(yield J.#i.formatMessages(d)).map(Ie=>Ie.value)):(yield J.#i.formatMessages([{id:d,args:f}]))[0]?.value||R})()}translate(d){var f=this;return(0,I.A)(function*(){f.#t.add(d);try{f.#i.connectRoot(d),yield f.#i.translateRoots()}catch{}})()}translateOnce(d){var f=this;return(0,I.A)(function*(){try{yield f.#i.translateElements([d])}catch(R){console.error(`translateOnce: "${R}".`)}})()}destroy(){var d=this;return(0,I.A)(function*(){for(const f of d.#t)d.#i.disconnectRoot(f);d.#t.clear(),d.#i.pauseObserving()})()}pause(){this.#i.pauseObserving()}resume(){this.#i.resumeObserving()}static#s(d){return{en:"en-us",es:"es-es",fy:"fy-nl",ga:"ga-ie",gu:"gu-in",hi:"hi-in",hy:"hy-am",nb:"nb-no",ne:"ne-np",nn:"nn-no",pa:"pa-in",pt:"pt-pt",sv:"sv-se",zh:"zh-cn"}[d=d?.toLowerCase()||"en-us"]||d}static#o(d){const f=d.split("-",1)[0];return["ar","he","fa","ps","ur"].includes(f)}}function ya(qe,d){const f=new bf(d),R=new gm(qe),J=R.addResource(f);return J.length&&console.error("L10n errors",J),R}class Sr extends po{constructor(d){super({lang:d});const f=d?Sr.#e.bind(Sr,"en-us",this.getLanguage()):Sr.#i.bind(Sr,this.getLanguage());this._setL10n(new eo([],f))}static#e(d,f){var R=this;return mt(function*(){const{baseURL:J,paths:re}=yield Pt(R.#n()),ve=[f];if(d!==f){const Ie=f.split("-",1)[0];Ie!==f&&ve.push(Ie),ve.push(d)}for(const Ie of ve){const Fe=yield Pt(R.#t(Ie,J,re));Fe?yield Fe:"en-us"===Ie&&(yield R.#s(Ie))}})()}static#t(d,f,R){return(0,I.A)(function*(){const J=R[d];if(!J)return null;const re=new URL(J,f),ve=yield wu(re,"text");return ya(d,ve)})()}static#n(){return(0,I.A)(function*(){try{const{href:d}=document.querySelector('link[type="application/l10n"]'),f=yield wu(d,"json");return{baseURL:d.replace(/[^/]*$/,"")||"./",paths:f}}catch{}return{baseURL:"./",paths:Object.create(null)}})()}static#i(d){var f=this;return mt(function*(){yield f.#s(d)})()}static#s(d){return(0,I.A)(function*(){return ya(d,'pdfjs-previous-button =\n    .title = Previous Page\npdfjs-previous-button-label = Previous\npdfjs-next-button =\n    .title = Next Page\npdfjs-next-button-label = Next\npdfjs-page-input =\n    .title = Page\npdfjs-of-pages = of { $pagesCount }\npdfjs-page-of-pages = ({ $pageNumber } of { $pagesCount })\npdfjs-zoom-out-button =\n    .title = Zoom Out\npdfjs-zoom-out-button-label = Zoom Out\npdfjs-zoom-in-button =\n    .title = Zoom In\npdfjs-zoom-in-button-label = Zoom In\npdfjs-zoom-select =\n    .title = Zoom\npdfjs-presentation-mode-button =\n    .title = Switch to Presentation Mode\npdfjs-presentation-mode-button-label = Presentation Mode\npdfjs-open-file-button =\n    .title = Open File\npdfjs-open-file-button-label = Open\npdfjs-print-button =\n    .title = Print\npdfjs-print-button-label = Print\npdfjs-save-button =\n    .title = Save\npdfjs-save-button-label = Save\npdfjs-download-button =\n    .title = Download\npdfjs-download-button-label = Download\npdfjs-bookmark-button =\n    .title = Current Page (View URL from Current Page)\npdfjs-bookmark-button-label = Current Page\npdfjs-tools-button =\n    .title = Tools\npdfjs-tools-button-label = Tools\npdfjs-first-page-button =\n    .title = Go to First Page\npdfjs-first-page-button-label = Go to First Page\npdfjs-last-page-button =\n    .title = Go to Last Page\npdfjs-last-page-button-label = Go to Last Page\npdfjs-page-rotate-cw-button =\n    .title = Rotate Clockwise\npdfjs-page-rotate-cw-button-label = Rotate Clockwise\npdfjs-page-rotate-ccw-button =\n    .title = Rotate Counterclockwise\npdfjs-page-rotate-ccw-button-label = Rotate Counterclockwise\npdfjs-cursor-text-select-tool-button =\n    .title = Enable Text Selection Tool\npdfjs-cursor-text-select-tool-button-label = Text Selection Tool\npdfjs-cursor-hand-tool-button =\n    .title = Enable Hand Tool\npdfjs-cursor-hand-tool-button-label = Hand Tool\npdfjs-scroll-page-button =\n    .title = Use Page Scrolling\npdfjs-scroll-page-button-label = Page Scrolling\npdfjs-scroll-vertical-button =\n    .title = Use Vertical Scrolling\npdfjs-scroll-vertical-button-label = Vertical Scrolling\npdfjs-scroll-horizontal-button =\n    .title = Use Horizontal Scrolling\npdfjs-scroll-horizontal-button-label = Horizontal Scrolling\npdfjs-scroll-wrapped-button =\n    .title = Use Wrapped Scrolling\npdfjs-scroll-wrapped-button-label = Wrapped Scrolling\npdfjs-spread-none-button =\n    .title = Do not join page spreads\npdfjs-spread-none-button-label = No Spreads\npdfjs-spread-odd-button =\n    .title = Join page spreads starting with odd-numbered pages\npdfjs-spread-odd-button-label = Odd Spreads\npdfjs-spread-even-button =\n    .title = Join page spreads starting with even-numbered pages\npdfjs-spread-even-button-label = Even Spreads\npdfjs-document-properties-button =\n    .title = Document Properties\u2026\npdfjs-document-properties-button-label = Document Properties\u2026\npdfjs-document-properties-file-name = File name:\npdfjs-document-properties-file-size = File size:\npdfjs-document-properties-size-kb = { NUMBER($kb, maximumSignificantDigits: 3) } KB ({ $b } bytes)\npdfjs-document-properties-size-mb = { NUMBER($mb, maximumSignificantDigits: 3) } MB ({ $b } bytes)\npdfjs-document-properties-title = Title:\npdfjs-document-properties-author = Author:\npdfjs-document-properties-subject = Subject:\npdfjs-document-properties-keywords = Keywords:\npdfjs-document-properties-creation-date = Creation Date:\npdfjs-document-properties-modification-date = Modification Date:\npdfjs-document-properties-date-time-string = { DATETIME($dateObj, dateStyle: "short", timeStyle: "medium") }\npdfjs-document-properties-creator = Creator:\npdfjs-document-properties-producer = PDF Producer:\npdfjs-document-properties-version = PDF Version:\npdfjs-document-properties-page-count = Page Count:\npdfjs-document-properties-page-size = Page Size:\npdfjs-document-properties-page-size-unit-inches = in\npdfjs-document-properties-page-size-unit-millimeters = mm\npdfjs-document-properties-page-size-orientation-portrait = portrait\npdfjs-document-properties-page-size-orientation-landscape = landscape\npdfjs-document-properties-page-size-name-a-three = A3\npdfjs-document-properties-page-size-name-a-four = A4\npdfjs-document-properties-page-size-name-letter = Letter\npdfjs-document-properties-page-size-name-legal = Legal\npdfjs-document-properties-page-size-dimension-string = { $width } \xd7 { $height } { $unit } ({ $orientation })\npdfjs-document-properties-page-size-dimension-name-string = { $width } \xd7 { $height } { $unit } ({ $name }, { $orientation })\npdfjs-document-properties-linearized = Fast Web View:\npdfjs-document-properties-linearized-yes = Yes\npdfjs-document-properties-linearized-no = No\npdfjs-document-properties-close-button = Close\npdfjs-print-progress-message = Preparing document for printing\u2026\npdfjs-print-progress-percent = { $progress }%\npdfjs-print-progress-close-button = Cancel\npdfjs-printing-not-supported = Warning: Printing is not fully supported by this browser.\npdfjs-printing-not-ready = Warning: The PDF is not fully loaded for printing.\npdfjs-toggle-sidebar-button =\n    .title = Toggle Sidebar\npdfjs-toggle-sidebar-notification-button =\n    .title = Toggle Sidebar (document contains outline/attachments/layers)\npdfjs-toggle-sidebar-button-label = Toggle Sidebar\npdfjs-document-outline-button =\n    .title = Show Document Outline (double-click to expand/collapse all items)\npdfjs-document-outline-button-label = Document Outline\npdfjs-attachments-button =\n    .title = Show Attachments\npdfjs-attachments-button-label = Attachments\npdfjs-layers-button =\n    .title = Show Layers (double-click to reset all layers to the default state)\npdfjs-layers-button-label = Layers\npdfjs-thumbs-button =\n    .title = Show Thumbnails\npdfjs-thumbs-button-label = Thumbnails\npdfjs-current-outline-item-button =\n    .title = Find Current Outline Item\npdfjs-current-outline-item-button-label = Current Outline Item\npdfjs-findbar-button =\n    .title = Find in Document\npdfjs-findbar-button-label = Find\npdfjs-additional-layers = Additional Layers\npdfjs-thumb-page-title =\n    .title = Page { $page }\npdfjs-thumb-page-canvas =\n    .aria-label = Thumbnail of Page { $page }\npdfjs-find-input =\n    .title = Find\n    .placeholder = Find in document\u2026\npdfjs-find-previous-button =\n    .title = Find the previous occurrence of the phrase\npdfjs-find-previous-button-label = Previous\npdfjs-find-next-button =\n    .title = Find the next occurrence of the phrase\npdfjs-find-next-button-label = Next\npdfjs-find-highlight-checkbox = Highlight All\npdfjs-find-match-case-checkbox-label = Match Case\npdfjs-find-match-diacritics-checkbox-label = Match Diacritics\npdfjs-find-entire-word-checkbox-label = Whole Words\npdfjs-find-reached-top = Reached top of document, continued from bottom\npdfjs-find-reached-bottom = Reached end of document, continued from top\npdfjs-find-match-count =\n    { $total ->\n        [one] { $current } of { $total } match\n       *[other] { $current } of { $total } matches\n    }\npdfjs-find-match-count-limit =\n    { $limit ->\n        [one] More than { $limit } match\n       *[other] More than { $limit } matches\n    }\npdfjs-find-not-found = Phrase not found\npdfjs-page-scale-width = Page Width\npdfjs-page-scale-fit = Page Fit\npdfjs-page-scale-auto = Automatic Zoom\npdfjs-page-scale-actual = Actual Size\npdfjs-page-scale-percent = { $scale }%\npdfjs-page-landmark =\n    .aria-label = Page { $page }\npdfjs-loading-error = An error occurred while loading the PDF.\npdfjs-invalid-file-error = Invalid or corrupted PDF file.\npdfjs-missing-file-error = Missing PDF file.\npdfjs-unexpected-response-error = Unexpected server response.\npdfjs-rendering-error = An error occurred while rendering the page.\npdfjs-annotation-date-time-string = { DATETIME($dateObj, dateStyle: "short", timeStyle: "medium") }\npdfjs-text-annotation-type =\n    .alt = [{ $type } Annotation]\npdfjs-password-label = Enter the password to open this PDF file.\npdfjs-password-invalid = Invalid password. Please try again.\npdfjs-password-ok-button = OK\npdfjs-password-cancel-button = Cancel\npdfjs-web-fonts-disabled = Web fonts are disabled: unable to use embedded PDF fonts.\npdfjs-editor-free-text-button =\n    .title = Text\npdfjs-editor-free-text-button-label = Text\npdfjs-editor-ink-button =\n    .title = Draw\npdfjs-editor-ink-button-label = Draw\npdfjs-editor-stamp-button =\n    .title = Add or edit images\npdfjs-editor-stamp-button-label = Add or edit images\npdfjs-editor-highlight-button =\n    .title = Highlight\npdfjs-editor-highlight-button-label = Highlight\npdfjs-highlight-floating-button1 =\n    .title = Highlight\n    .aria-label = Highlight\npdfjs-highlight-floating-button-label = Highlight\npdfjs-editor-remove-ink-button =\n    .title = Remove drawing\npdfjs-editor-remove-freetext-button =\n    .title = Remove text\npdfjs-editor-remove-stamp-button =\n    .title = Remove image\npdfjs-editor-remove-highlight-button =\n    .title = Remove highlight\npdfjs-editor-free-text-color-input = Color\npdfjs-editor-free-text-size-input = Size\npdfjs-editor-ink-color-input = Color\npdfjs-editor-ink-thickness-input = Thickness\npdfjs-editor-ink-opacity-input = Opacity\npdfjs-editor-stamp-add-image-button =\n    .title = Add image\npdfjs-editor-stamp-add-image-button-label = Add image\npdfjs-editor-free-highlight-thickness-input = Thickness\npdfjs-editor-free-highlight-thickness-title =\n    .title = Change thickness when highlighting items other than text\npdfjs-free-text =\n    .aria-label = Text Editor\npdfjs-free-text-default-content = Start typing\u2026\npdfjs-ink =\n    .aria-label = Draw Editor\npdfjs-ink-canvas =\n    .aria-label = User-created image\npdfjs-editor-alt-text-button-label = Alt text\npdfjs-editor-alt-text-edit-button-label = Edit alt text\npdfjs-editor-alt-text-dialog-label = Choose an option\npdfjs-editor-alt-text-dialog-description = Alt text (alternative text) helps when people can\u2019t see the image or when it doesn\u2019t load.\npdfjs-editor-alt-text-add-description-label = Add a description\npdfjs-editor-alt-text-add-description-description = Aim for 1-2 sentences that describe the subject, setting, or actions.\npdfjs-editor-alt-text-mark-decorative-label = Mark as decorative\npdfjs-editor-alt-text-mark-decorative-description = This is used for ornamental images, like borders or watermarks.\npdfjs-editor-alt-text-cancel-button = Cancel\npdfjs-editor-alt-text-save-button = Save\npdfjs-editor-alt-text-decorative-tooltip = Marked as decorative\npdfjs-editor-alt-text-textarea =\n    .placeholder = For example, \u201cA young man sits down at a table to eat a meal\u201d\npdfjs-editor-resizer-top-left =\n    .aria-label = Top left corner \u2014 resize\npdfjs-editor-resizer-top-middle =\n    .aria-label = Top middle \u2014 resize\npdfjs-editor-resizer-top-right =\n    .aria-label = Top right corner \u2014 resize\npdfjs-editor-resizer-middle-right =\n    .aria-label = Middle right \u2014 resize\npdfjs-editor-resizer-bottom-right =\n    .aria-label = Bottom right corner \u2014 resize\npdfjs-editor-resizer-bottom-middle =\n    .aria-label = Bottom middle \u2014 resize\npdfjs-editor-resizer-bottom-left =\n    .aria-label = Bottom left corner \u2014 resize\npdfjs-editor-resizer-middle-left =\n    .aria-label = Middle left \u2014 resize\npdfjs-editor-highlight-colorpicker-label = Highlight color\npdfjs-editor-colorpicker-button =\n    .title = Change color\npdfjs-editor-colorpicker-dropdown =\n    .aria-label = Color choices\npdfjs-editor-colorpicker-yellow =\n    .title = Yellow\npdfjs-editor-colorpicker-green =\n    .title = Green\npdfjs-editor-colorpicker-blue =\n    .title = Blue\npdfjs-editor-colorpicker-pink =\n    .title = Pink\npdfjs-editor-colorpicker-red =\n    .title = Red\npdfjs-editor-highlight-show-all-button-label = Show all\npdfjs-editor-highlight-show-all-button =\n    .title = Show all\npdfjs-editor-new-alt-text-dialog-edit-label = Edit alt text (image description)\npdfjs-editor-new-alt-text-dialog-add-label = Add alt text (image description)\npdfjs-editor-new-alt-text-textarea =\n    .placeholder = Write your description here\u2026\npdfjs-editor-new-alt-text-description = Short description for people who can\u2019t see the image or when the image doesn\u2019t load.\npdfjs-editor-new-alt-text-disclaimer1 = This alt text was created automatically and may be inaccurate.\npdfjs-editor-new-alt-text-disclaimer-learn-more-url = Learn more\npdfjs-editor-new-alt-text-create-automatically-button-label = Create alt text automatically\npdfjs-editor-new-alt-text-not-now-button = Not now\npdfjs-editor-new-alt-text-error-title = Couldn\u2019t create alt text automatically\npdfjs-editor-new-alt-text-error-description = Please write your own alt text or try again later.\npdfjs-editor-new-alt-text-error-close-button = Close\npdfjs-editor-new-alt-text-ai-model-downloading-progress = Downloading alt text AI model ({ $downloadedSize } of { $totalSize } MB)\n    .aria-valuetext = Downloading alt text AI model ({ $downloadedSize } of { $totalSize } MB)\npdfjs-editor-new-alt-text-added-button-label = Alt text added\npdfjs-editor-new-alt-text-missing-button-label = Missing alt text\npdfjs-editor-new-alt-text-to-review-button-label = Review alt text\npdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer = Created automatically: { $generatedAltText }\npdfjs-image-alt-text-settings-button =\n    .title = Image alt text settings\npdfjs-image-alt-text-settings-button-label = Image alt text settings\npdfjs-editor-alt-text-settings-dialog-label = Image alt text settings\npdfjs-editor-alt-text-settings-automatic-title = Automatic alt text\npdfjs-editor-alt-text-settings-create-model-button-label = Create alt text automatically\npdfjs-editor-alt-text-settings-create-model-description = Suggests descriptions to help people who can\u2019t see the image or when the image doesn\u2019t load.\npdfjs-editor-alt-text-settings-download-model-label = Alt text AI model ({ $totalSize } MB)\npdfjs-editor-alt-text-settings-ai-model-description = Runs locally on your device so your data stays private. Required for automatic alt text.\npdfjs-editor-alt-text-settings-delete-model-button = Delete\npdfjs-editor-alt-text-settings-download-model-button = Download\npdfjs-editor-alt-text-settings-downloading-model-button = Downloading\u2026\npdfjs-editor-alt-text-settings-editor-title = Alt text editor\npdfjs-editor-alt-text-settings-show-dialog-button-label = Show alt text editor right away when adding an image\npdfjs-editor-alt-text-settings-show-dialog-description = Helps you make sure all your images have alt text.\npdfjs-editor-alt-text-settings-close-button = Close')})()}}function u0(){return document.location.hash}class Ca{#e=null;constructor({linkService:d,eventBus:f}){this.linkService=d,this.eventBus=f,this._initialized=!1,this._fingerprint="",this.reset(),this.eventBus._on("pagesinit",()=>{this._isPagesLoaded=!1,this.eventBus._on("pagesloaded",R=>{this._isPagesLoaded=!!R.pagesCount},{once:!0})})}initialize({fingerprint:d,resetHistory:f=!1,updateUrl:R=!1}){if(!d||"string"!=typeof d)return void console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.');this._initialized&&this.reset();const J=""!==this._fingerprint&&this._fingerprint!==d;this._fingerprint=d,this._updateUrl=!0===R,this._initialized=!0,this.#u();const re=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=u0(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this.#s(re,!0)||f){const{hash:Ie,page:Fe,rotation:St}=this.#a(!0);return!Ie||J||f?void this.#t(null,!0):void this.#t({hash:Ie,page:Fe,rotation:St},!0)}const ve=re.destination;this.#o(ve,re.uid,!0),void 0!==ve.rotation&&(this._initialRotation=ve.rotation),ve.dest?(this._initialBookmark=JSON.stringify(ve.dest),this._destination.page=null):ve.hash?this._initialBookmark=ve.hash:ve.page&&(this._initialBookmark=`page=${ve.page}`)}reset(){this._initialized&&(this.#c(),this._initialized=!1,this.#r()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}push({namedDest:d=null,explicitDest:f,pageNumber:R}){if(!this._initialized)return;if(d&&"string"!=typeof d)return void console.error(`PDFHistory.push: "${d}" is not a valid namedDest parameter.`);if(!Array.isArray(f))return void console.error(`PDFHistory.push: "${f}" is not a valid explicitDest parameter.`);if(!this.#i(R)&&(null!==R||this._destination))return void console.error(`PDFHistory.push: "${R}" is not a valid pageNumber parameter.`);const J=d||JSON.stringify(f);if(!J)return;let re=!1;if(this._destination&&(function ia(qe,d){return"string"==typeof qe&&"string"==typeof d&&(qe===d||Ws(qe).get("nameddest")===d)}(this._destination.hash,J)||function d0(qe,d){function f(R,J){if(typeof R!=typeof J||Array.isArray(R)||Array.isArray(J))return!1;if(null!==R&&"object"==typeof R&&null!==J){if(Object.keys(R).length!==Object.keys(J).length)return!1;for(const re in R)if(!f(R[re],J[re]))return!1;return!0}return R===J||Number.isNaN(R)&&Number.isNaN(J)}if(!Array.isArray(qe)||!Array.isArray(d)||qe.length!==d.length)return!1;for(let R=0,J=qe.length;R<J;R++)if(!f(qe[R],d[R]))return!1;return!0}(this._destination.dest,f))){if(this._destination.page)return;re=!0}this._popStateInProgress&&!re||(this.#t({dest:f,hash:J,page:R,rotation:this.linkService.rotation},re),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1})))}pushPage(d){if(this._initialized){if(!this.#i(d))return void console.error(`PDFHistory.pushPage: "${d}" is not a valid page number.`);this._destination?.page!==d&&(this._popStateInProgress||(this.#t({dest:null,hash:`page=${d}`,page:d,rotation:this.linkService.rotation}),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1}))))}}pushCurrentPosition(){!this._initialized||this._popStateInProgress||this.#n()}back(){if(!this._initialized||this._popStateInProgress)return;const d=window.history.state;this.#s(d)&&d.uid>0&&window.history.back()}forward(){if(!this._initialized||this._popStateInProgress)return;const d=window.history.state;this.#s(d)&&d.uid<this._maxUid&&window.history.forward()}get popStateInProgress(){return this._initialized&&(this._popStateInProgress||this._blockHashChange>0)}get initialBookmark(){return this._initialized?this._initialBookmark:null}get initialRotation(){return this._initialized?this._initialRotation:null}#t(d,f=!1){const R=f||!this._destination,J={fingerprint:this._fingerprint,uid:R?this._uid:this._uid+1,destination:d};let re;if(this.#o(d,J.uid),this._updateUrl&&d?.hash){const ve=document.location.href.split("#",1)[0];ve.startsWith("file://")||(re=`${ve}#${d.hash}`)}R?window.history.replaceState(J,"",re):window.history.pushState(J,"",re)}#n(d=!1){if(!this._position)return;let f=this._position;if(d&&(f=Object.assign(Object.create(null),this._position),f.temporary=!0),!this._destination)return void this.#t(f);if(this._destination.temporary)return void this.#t(f,!0);if(this._destination.hash===f.hash||!this._destination.page&&this._numPositionUpdates<=50)return;let R=!1;if(this._destination.page>=f.first&&this._destination.page<=f.page){if(void 0!==this._destination.dest||!this._destination.first)return;R=!0}this.#t(f,R)}#i(d){return Number.isInteger(d)&&d>0&&d<=this.linkService.pagesCount}#s(d,f=!1){if(!d)return!1;if(d.fingerprint!==this._fingerprint){if(!f)return!1;{if("string"!=typeof d.fingerprint||d.fingerprint.length!==this._fingerprint.length)return!1;const[R]=performance.getEntriesByType("navigation");if("reload"!==R?.type)return!1}}return!(!Number.isInteger(d.uid)||d.uid<0||null===d.destination||"object"!=typeof d.destination)}#o(d,f,R=!1){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),R&&d?.temporary&&delete d.temporary,this._destination=d,this._uid=f,this._maxUid=Math.max(this._maxUid,f),this._numPositionUpdates=0}#a(d=!1){const f=unescape(u0()).substring(1),R=Ws(f),J=R.get("nameddest")||"";let re=0|R.get("page");return(!this.#i(re)||d&&J.length>0)&&(re=null),{hash:f,page:re,rotation:this.linkService.rotation}}#l({location:d}){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:d.pdfOpenParams.substring(1),page:this.linkService.page,first:d.pageNumber,rotation:d.rotation},!this._popStateInProgress&&(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout(()=>{this._popStateInProgress||this.#n(!0),this._updateViewareaTimeout=null},1e3))}#d({state:d}){const f=u0(),R=this._currentHash!==f;if(this._currentHash=f,!d){this._uid++;const{hash:re,page:ve,rotation:Ie}=this.#a();return void this.#t({hash:re,page:ve,rotation:Ie},!0)}if(!this.#s(d))return;this._popStateInProgress=!0,R&&(this._blockHashChange++,function Gf(qe){return hu.apply(this,arguments)}({target:window,name:"hashchange",delay:1e3}).then(()=>{this._blockHashChange--}));const J=d.destination;this.#o(J,d.uid,!0),K0(J.rotation)&&(this.linkService.rotation=J.rotation),J.dest?this.linkService.goToDestination(J.dest):J.hash?this.linkService.setHash(J.hash):J.page&&(this.linkService.page=J.page),Promise.resolve().then(()=>{this._popStateInProgress=!1})}#c(){(!this._destination||this._destination.temporary)&&this.#n()}#u(){if(this.#e)return;this.#e=new AbortController;const{signal:d}=this.#e;this.eventBus._on("updateviewarea",this.#l.bind(this),{signal:d}),window.addEventListener("popstate",this.#d.bind(this),{signal:d}),window.addEventListener("pagehide",this.#c.bind(this),{signal:d})}#r(){this.#e?.abort(),this.#e=null}}class v1{#e=null;#t=null;#n=null;#i=null;#s;constructor(d){this.pdfPage=d.pdfPage,this.accessibilityManager=d.accessibilityManager,this.l10n=d.l10n,this.l10n||=new Sr,this.annotationEditorLayer=null,this.div=null,this._cancelled=!1,this.#s=d.uiManager,this.#e=d.annotationLayer||null,this.#i=d.textLayer||null,this.#t=d.drawLayer||null,this.#n=d.onAppend||null}render(d,f="display"){var R=this;return(0,I.A)(function*(){if("display"!==f||R._cancelled)return;const J=d.clone({dontFlip:!0});if(R.div)return R.annotationEditorLayer.update({viewport:J}),void R.show();const re=R.div=document.createElement("div");re.className="annotationEditorLayer",re.hidden=!0,re.dir=R.#s.direction,R.#n?.(re),R.annotationEditorLayer=new tl({uiManager:R.#s,div:re,accessibilityManager:R.accessibilityManager,pageIndex:R.pdfPage.pageNumber-1,l10n:R.l10n,viewport:J,annotationLayer:R.#e,textLayer:R.#i,drawLayer:R.#t}),R.annotationEditorLayer.render({viewport:J,div:re,annotations:null,intent:f}),R.show()})()}cancel(){this._cancelled=!0,this.div&&this.annotationEditorLayer.destroy()}hide(){this.div&&(this.div.hidden=!0)}show(){!this.div||this.annotationEditorLayer.isInvisible||(this.div.hidden=!1)}}{var x0=new Map;const qe=navigator.userAgent||"",d=navigator.platform||"",f=navigator.maxTouchPoints||1,R=/Android/.test(qe);(/\b(iPad|iPhone|iPod)(?=;)/.test(qe)||"MacIntel"===d&&f>1||R)&&x0.set("maxCanvasPixels",5242880),R&&x0.set("useSystemFonts",!1)}const F0={BOOLEAN:1,NUMBER:2,OBJECT:4,STRING:8,UNDEFINED:16},pr={allowedGlobalEvents:{value:null,kind:1},canvasMaxAreaInBytes:{value:-1,kind:5},isInAutomation:{value:!1,kind:1},localeProperties:{value:{lang:navigator.language||"en-US"},kind:1},nimbusDataStr:{value:"",kind:1},supportsCaretBrowsingMode:{value:!1,kind:1},supportsDocumentFonts:{value:!0,kind:1},supportsIntegratedFind:{value:!1,kind:1},supportsMouseWheelZoomCtrlKey:{value:!0,kind:1},supportsMouseWheelZoomMetaKey:{value:!0,kind:1},supportsPinchToZoom:{value:!0,kind:1},toolbarDensity:{value:0,kind:17},altTextLearnMoreUrl:{value:"",kind:130},annotationEditorMode:{value:0,kind:130},annotationMode:{value:2,kind:130},cursorToolOnLoad:{value:0,kind:130},debuggerSrc:{value:"./debugger.mjs",kind:2},defaultZoomDelay:{value:400,kind:130},defaultZoomValue:{value:"",kind:130},disableHistory:{value:!1,kind:2},disablePageLabels:{value:!1,kind:130},enableAltText:{value:!1,kind:130},enableAltTextModelDownload:{value:!0,kind:146},enableGuessAltText:{value:!0,kind:146},enableHighlightFloatingButton:{value:!1,kind:130},enableNewAltTextWhenAddingImage:{value:!0,kind:130},enablePermissions:{value:!1,kind:130},enablePrintAutoRotate:{value:!0,kind:130},enableScripting:{value:!0,kind:130},enableUpdatedAddImage:{value:!1,kind:130},externalLinkRel:{value:"noopener noreferrer nofollow",kind:2},externalLinkTarget:{value:0,kind:130},highlightEditorColors:{value:"yellow=#FFFF98,green=#53FFBC,blue=#80EBFF,pink=#FFCBE6,red=#FF4F5F",kind:130},historyUpdateUrl:{value:!1,kind:130},ignoreDestinationZoom:{value:!1,kind:130},imageResourcesPath:{value:"./images/",kind:2},maxCanvasPixels:{value:2**25,kind:2},forcePageColors:{value:!1,kind:130},pageColorsBackground:{value:"Canvas",kind:130},pageColorsForeground:{value:"CanvasText",kind:130},pdfBugEnabled:{value:!1,kind:130},printResolution:{value:150,kind:2},sidebarViewOnLoad:{value:-1,kind:130},scrollModeOnLoad:{value:-1,kind:130},spreadModeOnLoad:{value:-1,kind:130},textLayerMode:{value:1,kind:130},viewOnLoad:{value:0,kind:130},cMapPacked:{value:!0,kind:4},cMapUrl:{value:"../web/cmaps/",kind:4},disableAutoFetch:{value:!1,kind:132},disableFontFace:{value:!1,kind:132},disableRange:{value:!1,kind:132},disableStream:{value:!1,kind:132},docBaseUrl:{value:"",kind:4},enableHWA:{value:!0,kind:134},enableXfa:{value:!0,kind:132},fontExtraProperties:{value:!1,kind:4},isEvalSupported:{value:!0,kind:4},isOffscreenCanvasSupported:{value:!0,kind:4},maxImageSize:{value:-1,kind:4},pdfBug:{value:!1,kind:4},standardFontDataUrl:{value:"../web/standard_fonts/",kind:4},useSystemFonts:{value:void 0,kind:4,type:F0.BOOLEAN+F0.UNDEFINED},verbosity:{value:1,kind:4},workerPort:{value:null,kind:8},workerSrc:{value:"../build/pdf.worker.mjs",kind:8},defaultUrl:{value:"compressed.tracemonkey-pldi-09.pdf",kind:2},sandboxBundleSrc:{value:"../build/pdf.sandbox.mjs",kind:2},viewerCssTheme:{value:0,kind:130},enableFakeMLManager:{value:!0,kind:2},disablePreferences:{value:!1,kind:2}};class g0{static eventBus;static#e=new Map;static#t=(()=>{for(const d in pr)this.#e.set(d,pr[d].value);for(const[d,f]of x0)this.#e.set(d,f);this._hasInvokedSet=!1,this._checkDisablePreferences=()=>!!this.get("disablePreferences")||(this._hasInvokedSet&&console.warn('The Preferences may override manually set AppOptions; please use the "disablePreferences"-option to prevent that.'),!1)})();static get(d){return this.#e.get(d)}static getAll(d=null,f=!1){const R=Object.create(null);for(const J in pr){const re=pr[J];d&&!(d&re.kind)||(R[J]=f?re.value:this.#e.get(J))}return R}static set(d,f){this.setAll({[d]:f})}static setAll(d,f=!1){let R;this._hasInvokedSet||=!0;for(const J in d){const re=pr[J],ve=d[J];if(!re||!(typeof ve==typeof re.value||F0[(typeof ve).toUpperCase()]&re.type))continue;const{kind:Ie}=re;f&&!(1&Ie||128&Ie)||(this.eventBus&&16&Ie&&(R||=new Map).set(J,ve),this.#e.set(J,ve))}if(R)for(const[J,re]of R)this.eventBus.dispatch(J.toLowerCase(),{source:this,value:re})}}class $0{#e=null;constructor(d){this.pageIndex=d.pageIndex}render(d="display"){var f=this;return(0,I.A)(function*(){"display"!==d||f.#e||f._cancelled||(f.#e=new I1({pageIndex:f.pageIndex}))})()}cancel(){this._cancelled=!0,this.#e&&(this.#e.destroy(),this.#e=null)}setParent(d){this.#e?.setParent(d)}getDrawLayer(){return this.#e}}const iu={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},Wl=/^H(\d+)$/;class pa{#e=void 0;get renderingDone(){return void 0!==this.#e}render(d){if(void 0!==this.#e)return this.#e;const f=this.#n(d);return f?.classList.add("structTree"),this.#e=f}hide(){this.#e&&!this.#e.hidden&&(this.#e.hidden=!0)}show(){this.#e?.hidden&&(this.#e.hidden=!1)}#t(d,f){const{alt:R,id:J,lang:re}=d;void 0!==R&&f.setAttribute("aria-label",ro(R)),void 0!==J&&f.setAttribute("aria-owns",J),void 0!==re&&f.setAttribute("lang",ro(re,!0))}#n(d){if(!d)return null;const f=document.createElement("span");if("role"in d){const{role:R}=d,J=R.match(Wl);J?(f.setAttribute("role","heading"),f.setAttribute("aria-level",J[1])):iu[R]&&f.setAttribute("role",iu[R])}if(this.#t(d,f),d.children)if(1===d.children.length&&"id"in d.children[0])this.#t(d.children[0],f);else for(const R of d.children)f.append(this.#n(R));return f}}class Yc{#e=!1;#t=null;#n=new Map;#i=new Map;setTextMapping(d){this.#t=d}static#s(d,f){const R=d.getBoundingClientRect(),J=f.getBoundingClientRect();if(0===R.width&&0===R.height)return 1;if(0===J.width&&0===J.height)return-1;const Ie=R.y+R.height/2,zt=J.y+J.height/2;return Ie<=J.y&&zt>=R.y+R.height?-1:zt<=R.y&&Ie>=J.y+J.height?1:R.x+R.width/2-(J.x+J.width/2)}enable(){if(this.#e)throw new Error("TextAccessibilityManager is already enabled.");if(!this.#t)throw new Error("Text divs and strings have not been set.");if(this.#e=!0,this.#t=this.#t.slice(),this.#t.sort(Yc.#s),this.#n.size>0){const d=this.#t;for(const[f,R]of this.#n)document.getElementById(f)?this.#o(f,d[R]):this.#n.delete(f)}for(const[d,f]of this.#i)this.addPointerInTextLayer(d,f);this.#i.clear()}disable(){this.#e&&(this.#i.clear(),this.#t=null,this.#e=!1)}removePointerInTextLayer(d){if(!this.#e)return void this.#i.delete(d);const f=this.#t;if(!f||0===f.length)return;const{id:R}=d,J=this.#n.get(R);if(void 0===J)return;const re=f[J];this.#n.delete(R);let ve=re.getAttribute("aria-owns");ve?.includes(R)&&(ve=ve.split(" ").filter(Ie=>Ie!==R).join(" "),ve?re.setAttribute("aria-owns",ve):(re.removeAttribute("aria-owns"),re.setAttribute("role","presentation")))}#o(d,f){const R=f.getAttribute("aria-owns");R?.includes(d)||f.setAttribute("aria-owns",R?`${R} ${d}`:d),f.removeAttribute("role")}addPointerInTextLayer(d,f){const{id:R}=d;if(!R)return null;if(!this.#e)return this.#i.set(d,f),null;f&&this.removePointerInTextLayer(d);const J=this.#t;if(!J||0===J.length)return null;const re=Bo(J,St=>Yc.#s(d,St)<0),ve=Math.max(0,re-1),Ie=J[ve];this.#o(R,Ie),this.#n.set(R,ve);const Fe=Ie.parentNode;return Fe?.classList.contains("markedContent")?Fe.id:null}moveElementInDOM(d,f,R,J){const re=this.addPointerInTextLayer(R,J);if(!d.hasChildNodes())return d.append(f),re;const ve=Array.from(d.childNodes).filter(St=>St!==f);if(0===ve.length)return re;const Ie=R||f,Fe=Bo(ve,St=>Yc.#s(Ie,St)<0);return 0===Fe?ve[0].before(f):ve[Fe-1].after(f),re}}class ph{#e=null;constructor({findController:d,eventBus:f,pageIndex:R}){this.findController=d,this.matches=[],this.eventBus=f,this.pageIdx=R,this.textDivs=null,this.textContentItemsStr=null,this.enabled=!1}setTextMapping(d,f){this.textDivs=d,this.textContentItemsStr=f}enable(){if(!this.textDivs||!this.textContentItemsStr)throw new Error("Text divs and strings have not been set.");if(this.enabled)throw new Error("TextHighlighter is already enabled.");this.enabled=!0,this.#e||(this.#e=new AbortController,this.eventBus._on("updatetextlayermatches",d=>{(d.pageIndex===this.pageIdx||-1===d.pageIndex)&&this._updateMatches()},{signal:this.#e.signal})),this._updateMatches()}disable(){this.enabled&&(this.enabled=!1,this.#e?.abort(),this.#e=null,this._updateMatches(!0))}_convertMatches(d,f){if(!d)return[];const{textContentItemsStr:R}=this;let J=0,re=0;const ve=R.length-1,Ie=[];for(let Fe=0,St=d.length;Fe<St;Fe++){let zt=d[Fe];for(;J!==ve&&zt>=re+R[J].length;)re+=R[J].length,J++;J===R.length&&console.error("Could not find a matching mapping");const Ht={begin:{divIdx:J,offset:zt-re}};for(zt+=f[Fe];J!==ve&&zt>re+R[J].length;)re+=R[J].length,J++;Ht.end={divIdx:J,offset:zt-re},Ie.push(Ht)}return Ie}_renderMatches(d){if(0===d.length)return;const{findController:f,pageIdx:R}=this,{textContentItemsStr:J,textDivs:re}=this,ve=R===f.selected.pageIdx,Ie=f.selected.matchIdx;let St=null;function Ht(Pi,hs){const Cs=Pi.divIdx;return re[Cs].textContent="",bn(Cs,0,Pi.offset,hs)}function bn(Pi,hs,Cs,Es){let Ts=re[Pi];if(Ts.nodeType===Node.TEXT_NODE){const no=document.createElement("span");Ts.before(no),no.append(Ts),re[Pi]=no,Ts=no}const xs=J[Pi].substring(hs,Cs),Gs=document.createTextNode(xs);if(Es){const no=document.createElement("span");return no.className=`${Es} appended`,no.append(Gs),Ts.append(no),Es.includes("selected")?no.offsetLeft:0}return Ts.append(Gs),0}let xn=Ie,Zt=xn+1;if(f.state.highlightAll)xn=0,Zt=d.length;else if(!ve)return;let Mi=-1,Ki=-1;for(let Pi=xn;Pi<Zt;Pi++){const hs=d[Pi],Cs=hs.begin;if(Cs.divIdx===Mi&&Cs.offset===Ki)continue;Mi=Cs.divIdx,Ki=Cs.offset;const Es=hs.end,Ts=ve&&Pi===Ie,xs=Ts?" selected":"";let Gs=0;if(St&&Cs.divIdx===St.divIdx?bn(St.divIdx,St.offset,Cs.offset):(null!==St&&bn(St.divIdx,St.offset,undefined),Ht(Cs)),Cs.divIdx===Es.divIdx)Gs=bn(Cs.divIdx,Cs.offset,Es.offset,"highlight"+xs);else{Gs=bn(Cs.divIdx,Cs.offset,undefined,"highlight begin"+xs);for(let no=Cs.divIdx+1,gs=Es.divIdx;no<gs;no++)re[no].className="highlight middle"+xs;Ht(Es,"highlight end"+xs)}St=Es,Ts&&f.scrollMatchIntoView({element:re[Cs.divIdx],selectedLeft:Gs,pageIndex:R,matchIndex:Ie})}St&&bn(St.divIdx,St.offset,undefined)}_updateMatches(d=!1){if(!this.enabled&&!d)return;const{findController:f,matches:R,pageIdx:J}=this,{textContentItemsStr:re,textDivs:ve}=this;let Ie=-1;for(const zt of R){for(let bn=Math.max(Ie,zt.begin.divIdx),xn=zt.end.divIdx;bn<=xn;bn++){const Zt=ve[bn];Zt.textContent=re[bn],Zt.className=""}Ie=zt.end.divIdx+1}f?.highlightMatches&&!d&&(this.matches=this._convertMatches(f.pageMatches[J]||null,f.pageMatchesLength[J]||null),this._renderMatches(this.matches))}}class Xc{#e=!1;#t=null;#n=!1;#i=null;static#s=new Map;static#o=null;constructor({pdfPage:d,highlighter:f=null,accessibilityManager:R=null,enablePermissions:J=!1,onAppend:re=null}){this.pdfPage=d,this.highlighter=f,this.accessibilityManager=R,this.#e=!0===J,this.#t=re,this.div=document.createElement("div"),this.div.tabIndex=0,this.div.className="textLayer"}render(d,f=null){var R=this;return(0,I.A)(function*(){if(R.#n&&R.#i)return R.#i.update({viewport:d,onBefore:R.hide.bind(R)}),void R.show();R.cancel(),R.#i=new sh({textContentSource:R.pdfPage.streamTextContent(f||{includeMarkedContent:!0,disableNormalization:!0}),container:R.div,viewport:d});const{textDivs:J,textContentItemsStr:re}=R.#i;R.highlighter?.setTextMapping(J,re),R.accessibilityManager?.setTextMapping(J),yield R.#i.render(),R.#n=!0;const ve=document.createElement("div");ve.className="endOfContent",R.div.append(ve),R.#a(ve),R.#t?.(R.div),R.highlighter?.enable(),R.accessibilityManager?.enable()})()}hide(){!this.div.hidden&&this.#n&&(this.highlighter?.disable(),this.div.hidden=!0)}show(){this.div.hidden&&this.#n&&(this.div.hidden=!1,this.highlighter?.enable())}cancel(){this.#i?.cancel(),this.#i=null,this.highlighter?.disable(),this.accessibilityManager?.disable(),Xc.#l(this.div)}#a(d){const{div:f}=this;f.addEventListener("mousedown",()=>{f.classList.add("selecting")}),f.addEventListener("copy",R=>{if(!this.#e){const J=document.getSelection();R.clipboardData.setData("text/plain",ro(Xu(J.toString())))}R.preventDefault(),R.stopPropagation()}),Xc.#s.set(f,d),Xc.#d()}static#l(d){this.#s.delete(d),0===this.#s.size&&(this.#o?.abort(),this.#o=null)}static#d(){if(this.#o)return;this.#o=new AbortController;const{signal:d}=this.#o,f=(ve,Ie)=>{Ie.append(ve),ve.style.width="",ve.style.height="",Ie.classList.remove("selecting")};let R=!1;var J,re;document.addEventListener("pointerdown",()=>{R=!0},{signal:d}),document.addEventListener("pointerup",()=>{R=!1,this.#s.forEach(f)},{signal:d}),window.addEventListener("blur",()=>{R=!1,this.#s.forEach(f)},{signal:d}),document.addEventListener("keyup",()=>{R||this.#s.forEach(f)},{signal:d}),document.addEventListener("selectionchange",()=>{const ve=document.getSelection();if(0===ve.rangeCount)return void this.#s.forEach(f);const Ie=new Set;for(let xn=0;xn<ve.rangeCount;xn++){const Zt=ve.getRangeAt(xn);for(const Mi of this.#s.keys())!Ie.has(Mi)&&Zt.intersectsNode(Mi)&&Ie.add(Mi)}for(const[xn,Zt]of this.#s)Ie.has(xn)?xn.classList.add("selecting"):f(Zt,xn);if(J??="none"===getComputedStyle(this.#s.values().next().value).getPropertyValue("-moz-user-select"),J)return;const Fe=ve.getRangeAt(0),St=re&&(0===Fe.compareBoundaryPoints(Range.END_TO_END,re)||0===Fe.compareBoundaryPoints(Range.START_TO_END,re));let zt=St?Fe.startContainer:Fe.endContainer;zt.nodeType===Node.TEXT_NODE&&(zt=zt.parentNode);const Ht=zt.parentElement.closest(".textLayer"),bn=this.#s.get(Ht);bn&&(bn.style.width=Ht.style.width,bn.style.height=Ht.style.height,zt.parentElement.insertBefore(bn,St?zt:zt.nextSibling)),re=Fe.cloneRange()},{signal:d})}}class Op{constructor({pdfPage:d,annotationStorage:f=null,linkService:R,xfaHtml:J=null}){this.pdfPage=d,this.annotationStorage=f,this.linkService=R,this.xfaHtml=J,this.div=null,this._cancelled=!1}render(d,f="display"){var R=this;return(0,I.A)(function*(){if("print"===f){const ve={viewport:d.clone({dontFlip:!0}),div:R.div,xfaHtml:R.xfaHtml,annotationStorage:R.annotationStorage,linkService:R.linkService,intent:f};return R.div=document.createElement("div"),ve.div=R.div,pu.render(ve)}const J=yield R.pdfPage.getXfa();if(R._cancelled||!J)return{textDivs:[]};const re={viewport:d.clone({dontFlip:!0}),div:R.div,xfaHtml:J,annotationStorage:R.annotationStorage,linkService:R.linkService,intent:f};return R.div?pu.update(re):(R.div=document.createElement("div"),re.div=R.div,pu.render(re))})()}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}const hh={annotationEditorUIManager:null,annotationStorage:null,downloadManager:null,enableScripting:!1,fieldObjectsPromise:null,findController:null,hasJSActionsPromise:null,get linkService(){return new Lu}},_u=new Map([["canvasWrapper",0],["textLayer",1],["annotationLayer",2],["annotationEditorLayer",3],["xfaLayer",3]]);class Dd{#e=t0.ENABLE_FORMS;#t=!1;#n=!1;#i=!1;#s=null;#o=null;#a=null;#l=null;#d=lt.INITIAL;#c=1;#u={directDrawing:!0,initialOptionalContent:!0,regularAnnotations:!0};#r=new WeakMap;#p=[null,null,null,null];constructor(d){const f=d.container,R=d.defaultViewport;this.id=d.id,this.renderingId="page"+this.id,this.#s=d.layerProperties||hh,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=d.scale||1,this.viewport=R,this.pdfPageRotate=R.rotation,this._optionalContentConfigPromise=d.optionalContentConfigPromise||null,this.#c=d.textLayerMode??1,this.#e=d.annotationMode??t0.ENABLE_FORMS,this.imageResourcesPath=d.imageResourcesPath||"",this.maxCanvasPixels=d.maxCanvasPixels??g0.get("maxCanvasPixels"),this.pageColors=d.pageColors||null,this.#t=d.enableHWA||!1,this.eventBus=d.eventBus,this.renderingQueue=d.renderingQueue,this.l10n=d.l10n,this.l10n||=new Sr,this.renderTask=null,this.resume=null,this._isStandalone=!this.renderingQueue?.hasViewer(),this._container=f,this._annotationCanvasMap=null,this.annotationLayer=null,this.annotationEditorLayer=null,this.textLayer=null,this.zoomLayer=null,this.xfaLayer=null,this.structTreeLayer=null,this.drawLayer=null;const J=document.createElement("div");if(J.className="page",J.setAttribute("data-page-number",this.id),J.setAttribute("role","region"),J.setAttribute("data-l10n-id","pdfjs-page-landmark"),J.setAttribute("data-l10n-args",JSON.stringify({page:this.id})),this.div=J,this.#h(),f?.append(J),this._isStandalone){f?.style.setProperty("--scale-factor",this.scale*hd.PDF_TO_CSS_UNITS);const{optionalContentConfigPromise:re}=d;re&&re.then(ve=>{re===this._optionalContentConfigPromise&&(this.#u.initialOptionalContent=ve.hasInitialVisibility)}),d.l10n||this.l10n.translate(this.div)}}#f(d,f){const R=_u.get(f),J=this.#p[R];if(this.#p[R]=d,J)J.replaceWith(d);else{for(let re=R-1;re>=0;re--){const ve=this.#p[re];if(ve)return void ve.after(d)}this.div.prepend(d)}}get renderingState(){return this.#d}set renderingState(d){if(d!==this.#d)switch(this.#d=d,this.#o&&(clearTimeout(this.#o),this.#o=null),d){case lt.PAUSED:this.div.classList.remove("loading");break;case lt.RUNNING:this.div.classList.add("loadingIcon"),this.#o=setTimeout(()=>{this.div.classList.add("loading"),this.#o=null},0);break;case lt.INITIAL:case lt.FINISHED:this.div.classList.remove("loadingIcon","loading")}}#h(){const{viewport:d}=this;if(this.pdfPage){if(this.#a===d.rotation)return;this.#a=d.rotation}cr(this.div,d,!0,!1)}setPdfPage(d){this._isStandalone&&("CanvasText"===this.pageColors?.foreground||"Canvas"===this.pageColors?.background)&&(this._container?.style.setProperty("--hcm-highlight-filter",d.filterFactory.addHighlightHCMFilter("highlight","CanvasText","Canvas","HighlightText","Highlight")),this._container?.style.setProperty("--hcm-highlight-selected-filter",d.filterFactory.addHighlightHCMFilter("highlight_selected","CanvasText","Canvas","HighlightText","Highlight"))),this.pdfPage=d,this.pdfPageRotate=d.rotate,this.viewport=d.getViewport({scale:this.scale*hd.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.#h(),this.reset()}destroy(){this.reset(),this.pdfPage?.cleanup()}hasEditableAnnotations(){return!!this.annotationLayer?.hasEditableAnnotations()}get _textHighlighter(){return xp(this,"_textHighlighter",new ph({pageIndex:this.id-1,eventBus:this.eventBus,findController:this.#s.findController}))}#m(d,f){this.eventBus.dispatch(d,{source:this,pageNumber:this.id,error:f})}#g(){var d=this;return(0,I.A)(function*(){let f=null;try{yield d.annotationLayer.render(d.viewport,"display")}catch(R){console.error(`#renderAnnotationLayer: "${R}".`),f=R}finally{d.#m("annotationlayerrendered",f)}})()}#_(){var d=this;return(0,I.A)(function*(){let f=null;try{yield d.annotationEditorLayer.render(d.viewport,"display")}catch(R){console.error(`#renderAnnotationEditorLayer: "${R}".`),f=R}finally{d.#m("annotationeditorlayerrendered",f)}})()}#b(){var d=this;return(0,I.A)(function*(){try{yield d.drawLayer.render("display")}catch(f){console.error(`#renderDrawLayer: "${f}".`)}})()}#O(){var d=this;return(0,I.A)(function*(){let f=null;try{const R=yield d.xfaLayer.render(d.viewport,"display");R?.textDivs&&d._textHighlighter&&d.#E(R.textDivs)}catch(R){console.error(`#renderXfaLayer: "${R}".`),f=R}finally{d.xfaLayer?.div&&(d.l10n.pause(),d.#f(d.xfaLayer.div,"xfaLayer"),d.l10n.resume()),d.#m("xfalayerrendered",f)}})()}#A(){var d=this;return(0,I.A)(function*(){if(!d.textLayer)return;let f=null;try{yield d.textLayer.render(d.viewport)}catch(R){if(R instanceof cd)return;console.error(`#renderTextLayer: "${R}".`),f=R}d.#m("textlayerrendered",f),d.#v()})()}#v(){var d=this;return(0,I.A)(function*(){if(!d.textLayer)return;d.structTreeLayer||=new pa;const f=yield d.structTreeLayer.renderingDone?null:d.pdfPage.getStructTree(),R=d.structTreeLayer?.render(f);R&&(d.l10n.pause(),d.canvas?.append(R),d.l10n.resume()),d.structTreeLayer?.show()})()}#E(d){var f=this;return(0,I.A)(function*(){const R=yield f.pdfPage.getTextContent(),J=[];for(const re of R.items)J.push(re.str);f._textHighlighter.setTextMapping(d,J),f._textHighlighter.enable()})()}_resetZoomLayer(d=!1){if(!this.zoomLayer)return;const f=this.zoomLayer.firstChild;this.#r.delete(f),f.width=0,f.height=0,d&&this.zoomLayer.remove(),this.zoomLayer=null}reset({keepZoomLayer:d=!1,keepAnnotationLayer:f=!1,keepAnnotationEditorLayer:R=!1,keepXfaLayer:J=!1,keepTextLayer:re=!1}={}){this.cancelRendering({keepAnnotationLayer:f,keepAnnotationEditorLayer:R,keepXfaLayer:J,keepTextLayer:re}),this.renderingState=lt.INITIAL;const ve=this.div,Ie=ve.childNodes,Fe=d&&this.zoomLayer||null,St=f&&this.annotationLayer?.div||null,zt=R&&this.annotationEditorLayer?.div||null,Ht=J&&this.xfaLayer?.div||null,bn=re&&this.textLayer?.div||null;for(let xn=Ie.length-1;xn>=0;xn--){const Zt=Ie[xn];switch(Zt){case Fe:case St:case zt:case Ht:case bn:continue}Zt.remove();const Mi=this.#p.indexOf(Zt);Mi>=0&&(this.#p[Mi]=null)}ve.removeAttribute("data-loaded"),St&&this.annotationLayer.hide(),zt&&this.annotationEditorLayer.hide(),Ht&&this.xfaLayer.hide(),bn&&this.textLayer.hide(),this.structTreeLayer?.hide(),Fe||(this.canvas&&(this.#r.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer())}toggleEditingMode(d){this.hasEditableAnnotations()&&(this.#i=d,this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0,keepTextLayer:!0}))}update({scale:d=0,rotation:f=null,optionalContentConfigPromise:R=null,drawingDelay:J=-1}){if(this.scale=d||this.scale,"number"==typeof f&&(this.rotation=f),R instanceof Promise&&(this._optionalContentConfigPromise=R,R.then(ve=>{R===this._optionalContentConfigPromise&&(this.#u.initialOptionalContent=ve.hasInitialVisibility)})),this.#u.directDrawing=!0,this.viewport=this.viewport.clone({scale:this.scale*hd.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.#h(),this._isStandalone&&this._container?.style.setProperty("--scale-factor",this.viewport.scale),this.canvas){let ve=!1;if(this.#n)if(0===this.maxCanvasPixels)ve=!0;else if(this.maxCanvasPixels>0){const{width:Fe,height:St}=this.viewport,{sx:zt,sy:Ht}=this.outputScale;ve=(Math.floor(Fe)*zt|0)*(Math.floor(St)*Ht|0)>this.maxCanvasPixels}const Ie=J>=0&&J<1e3;if(Ie||ve){if(Ie&&!ve&&this.renderingState!==lt.FINISHED&&(this.cancelRendering({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0,keepTextLayer:!0,cancelExtraDelay:J}),this.renderingState=lt.FINISHED,this.#u.directDrawing=!1),this.cssTransform({target:this.canvas,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0,redrawTextLayer:!Ie,hideTextLayer:Ie}),Ie)return;return void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this.#l})}!this.zoomLayer&&!this.canvas.hidden&&(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform({target:this.zoomLayer.firstChild}),this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0,keepTextLayer:!0})}cancelRendering({keepAnnotationLayer:d=!1,keepAnnotationEditorLayer:f=!1,keepXfaLayer:R=!1,keepTextLayer:J=!1,cancelExtraDelay:re=0}={}){this.renderTask&&(this.renderTask.cancel(re),this.renderTask=null),this.resume=null,this.textLayer&&(!J||!this.textLayer.div)&&(this.textLayer.cancel(),this.textLayer=null),this.structTreeLayer&&!this.textLayer&&(this.structTreeLayer=null),this.annotationLayer&&(!d||!this.annotationLayer.div)&&(this.annotationLayer.cancel(),this.annotationLayer=null,this._annotationCanvasMap=null),this.annotationEditorLayer&&(!f||!this.annotationEditorLayer.div)&&(this.drawLayer&&(this.drawLayer.cancel(),this.drawLayer=null),this.annotationEditorLayer.cancel(),this.annotationEditorLayer=null),this.xfaLayer&&(!R||!this.xfaLayer.div)&&(this.xfaLayer.cancel(),this.xfaLayer=null,this._textHighlighter?.disable())}cssTransform({target:d,redrawAnnotationLayer:f=!1,redrawAnnotationEditorLayer:R=!1,redrawXfaLayer:J=!1,redrawTextLayer:re=!1,hideTextLayer:ve=!1}){if(!d.hasAttribute("zooming")){d.setAttribute("zooming",!0);const{style:Fe}=d;Fe.width=Fe.height=""}const Ie=this.#r.get(d);if(this.viewport!==Ie){const Fe=this.viewport.rotation-Ie.rotation,St=Math.abs(Fe);let zt=1,Ht=1;if(90===St||270===St){const{width:bn,height:xn}=this.viewport;zt=xn/bn,Ht=bn/xn}d.style.transform=`rotate(${Fe}deg) scale(${zt}, ${Ht})`}f&&this.annotationLayer&&this.#g(),R&&this.annotationEditorLayer&&(this.drawLayer&&this.#b(),this.#_()),J&&this.xfaLayer&&this.#O(),this.textLayer&&(ve?(this.textLayer.hide(),this.structTreeLayer?.hide()):re&&this.#A())}get width(){return this.viewport.width}get height(){return this.viewport.height}getPagePoint(d,f){return this.viewport.convertToPdfPoint(d,f)}#P(d,f=null){var R=this;return(0,I.A)(function*(){if(d===R.renderTask&&(R.renderTask=null),f instanceof sc)R.#l=null;else if(R.#l=f,R.renderingState=lt.FINISHED,R._resetZoomLayer(!0),R.#u.regularAnnotations=!d.separateAnnots,R.eventBus.dispatch("pagerendered",{source:R,pageNumber:R.id,cssTransform:!1,timestamp:performance.now(),error:R.#l}),f)throw f})()}draw(){var d=this;return(0,I.A)(function*(){d.renderingState!==lt.INITIAL&&(console.error("Must be in new state before drawing"),d.reset());const{div:f,l10n:R,pageColors:J,pdfPage:re,viewport:ve}=d;if(!re)throw d.renderingState=lt.FINISHED,new Error("pdfPage is not loaded");d.renderingState=lt.RUNNING;const Ie=document.createElement("div");if(Ie.classList.add("canvasWrapper"),d.#f(Ie,"canvasWrapper"),!d.textLayer&&0!==d.#c&&!re.isPureXfa&&(d._accessibilityManager||=new Yc,d.textLayer=new Xc({pdfPage:re,highlighter:d._textHighlighter,accessibilityManager:d._accessibilityManager,enablePermissions:2===d.#c,onAppend:Gs=>{d.l10n.pause(),d.#f(Gs,"textLayer"),d.l10n.resume()}})),!d.annotationLayer&&d.#e!==t0.DISABLE){const{annotationStorage:Gs,annotationEditorUIManager:no,downloadManager:gs,enableScripting:oo,fieldObjectsPromise:ko,hasJSActionsPromise:A1,linkService:sa}=d.#s;d._annotationCanvasMap||=new Map,d.annotationLayer=new pp({pdfPage:re,annotationStorage:Gs,imageResourcesPath:d.imageResourcesPath,renderForms:d.#e===t0.ENABLE_FORMS,linkService:sa,downloadManager:gs,enableScripting:oo,hasJSActionsPromise:A1,fieldObjectsPromise:ko,annotationCanvasMap:d._annotationCanvasMap,accessibilityManager:d._accessibilityManager,annotationEditorUIManager:no,onAppend:Or=>{d.#f(Or,"annotationLayer")}})}const{width:St,height:zt}=ve,Ht=document.createElement("canvas");Ht.setAttribute("role","presentation"),Ht.hidden=!0;const bn=!(!J?.background||!J?.foreground);let xn=Gs=>{(!bn||Gs)&&(Ht.hidden=!1,xn=null)};Ie.append(Ht),d.canvas=Ht;const Zt=Ht.getContext("2d",{alpha:!1,willReadFrequently:!d.#t}),Mi=d.outputScale=new Ri;if(0===d.maxCanvasPixels){const Gs=1/d.scale;Mi.sx*=Gs,Mi.sy*=Gs,d.#n=!0}else if(d.maxCanvasPixels>0){const no=Math.sqrt(d.maxCanvasPixels/(St*zt));Mi.sx>no||Mi.sy>no?(Mi.sx=no,Mi.sy=no,d.#n=!0):d.#n=!1}const Ki=Xo(Mi.sx),Pi=Xo(Mi.sy);Ht.width=ar(St*Mi.sx,Ki[0]),Ht.height=ar(zt*Mi.sy,Pi[0]);const{style:hs}=Ht;hs.width=ar(St,Ki[1])+"px",hs.height=ar(zt,Pi[1])+"px",d.#r.set(Ht,ve);const Es={canvasContext:Zt,transform:Mi.scaled?[Mi.sx,0,0,Mi.sy,0,0]:null,viewport:ve,annotationMode:d.#e,optionalContentConfigPromise:d._optionalContentConfigPromise,annotationCanvasMap:d._annotationCanvasMap,pageColors:J,isEditing:d.#i},Ts=d.renderTask=re.render(Es);Ts.onContinue=Gs=>{if(xn?.(!1),d.renderingQueue&&!d.renderingQueue.isHighestPriority(d))return d.renderingState=lt.PAUSED,void(d.resume=()=>{d.renderingState=lt.RUNNING,Gs()});Gs()};const xs=Ts.promise.then((0,I.A)(function*(){xn?.(!0),yield d.#P(Ts),d.#A(),d.annotationLayer&&(yield d.#g());const{annotationEditorUIManager:Gs}=d.#s;Gs&&(d.drawLayer||=new $0({pageIndex:d.id}),yield d.#b(),d.drawLayer.setParent(Ie),d.annotationEditorLayer||=new v1({uiManager:Gs,pdfPage:re,l10n:R,accessibilityManager:d._accessibilityManager,annotationLayer:d.annotationLayer?.annotationLayer,textLayer:d.textLayer,drawLayer:d.drawLayer.getDrawLayer(),onAppend:no=>{d.#f(no,"annotationEditorLayer")}}),d.#_())}),Gs=>(Gs instanceof sc||xn?.(!0),d.#P(Ts,Gs)));if(re.isPureXfa){if(!d.xfaLayer){const{annotationStorage:Gs,linkService:no}=d.#s;d.xfaLayer=new Op({pdfPage:re,annotationStorage:Gs,linkService:no})}d.#O()}return f.setAttribute("data-loaded",!0),d.eventBus.dispatch("pagerender",{source:d,pageNumber:d.id}),xs})()}setPageLabel(d){this.pageLabel="string"==typeof d?d:null,this.div.setAttribute("data-l10n-args",JSON.stringify({page:this.pageLabel??this.id})),null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}get thumbnailCanvas(){const{directDrawing:d,initialOptionalContent:f,regularAnnotations:R}=this.#u;return d&&f&&R?this.canvas:null}}function Bu(){return(Bu=(0,I.A)(function*(qe){const f="".split("#",1)[0];let{info:R,metadata:J,contentDispositionFilename:re,contentLength:ve}=yield qe.getMetadata();if(!ve){const{length:Ie}=yield qe.getDownloadInfo();ve=Ie}return{...R,baseURL:f,filesize:ve,filename:re||Uf(""),metadata:J?.getRaw(),authors:J?.get("dc:creator"),numPages:qe.numPages,URL:""}})).apply(this,arguments)}class Kc{constructor(d){this._ready=new Promise((f,R)=>{import(d).then(re=>{f(re.QuickJSSandbox())}).catch(R)})}createSandbox(d){var f=this;return(0,I.A)(function*(){(yield f._ready).create(d)})()}dispatchEventInSandbox(d){var f=this;return(0,I.A)(function*(){const R=yield f._ready;setTimeout(()=>R.dispatchEvent(d),0)})()}destroySandbox(){var d=this;return(0,I.A)(function*(){(yield d._ready).nukeSandbox()})()}}class Uh{#e=null;#t=null;#n=null;#i=null;#s=null;#o=null;#a=null;#l=null;#d=!1;#c=null;#u=null;constructor({eventBus:d,externalServices:f=null,docProperties:R=null}){this.#s=d,this.#o=f,this.#n=R}setViewer(d){this.#l=d}setDocument(d){var f=this;return(0,I.A)(function*(){if(f.#a&&(yield f.#m()),f.#a=d,!d)return;const[R,J,re]=yield Promise.all([d.getFieldObjects(),d.getCalculationOrderIds(),d.getJSActions()]);if(!R&&!re)return void(yield f.#m());if(d!==f.#a)return;try{f.#c=f.#h()}catch(Fe){return console.error(`setDocument: "${Fe.message}".`),void(yield f.#m())}const ve=f.#s;f.#i=new AbortController;const{signal:Ie}=f.#i;ve._on("updatefromsandbox",Fe=>{Fe?.source===window&&f.#r(Fe.detail)},{signal:Ie}),ve._on("dispatcheventinsandbox",Fe=>{f.#c?.dispatchEventInSandbox(Fe.detail)},{signal:Ie}),ve._on("pagechanging",({pageNumber:Fe,previous:St})=>{Fe!==St&&(f.#f(St),f.#p(Fe))},{signal:Ie}),ve._on("pagerendered",({pageNumber:Fe})=>{f._pageOpenPending.has(Fe)&&Fe===f.#l.currentPageNumber&&f.#p(Fe)},{signal:Ie}),ve._on("pagesdestroy",(0,I.A)(function*(){yield f.#f(f.#l.currentPageNumber),yield f.#c?.dispatchEventInSandbox({id:"doc",name:"WillClose"}),f.#e?.resolve()}),{signal:Ie});try{const Fe=yield f.#n(d);if(d!==f.#a)return;yield f.#c.createSandbox({objects:R,calculationOrder:J,appInfo:{platform:navigator.platform,language:navigator.language},docInfo:{...Fe,actions:re}}),ve.dispatch("sandboxcreated",{source:f})}catch(Fe){return console.error(`setDocument: "${Fe.message}".`),void(yield f.#m())}yield f.#c?.dispatchEventInSandbox({id:"doc",name:"Open"}),yield f.#p(f.#l.currentPageNumber,!0),Promise.resolve().then(()=>{d===f.#a&&(f.#d=!0)})})()}dispatchWillSave(){var d=this;return(0,I.A)(function*(){return d.#c?.dispatchEventInSandbox({id:"doc",name:"WillSave"})})()}dispatchDidSave(){var d=this;return(0,I.A)(function*(){return d.#c?.dispatchEventInSandbox({id:"doc",name:"DidSave"})})()}dispatchWillPrint(){var d=this;return(0,I.A)(function*(){if(d.#c){yield d.#u?.promise,d.#u=Promise.withResolvers();try{yield d.#c.dispatchEventInSandbox({id:"doc",name:"WillPrint"})}catch(f){throw d.#u.resolve(),d.#u=null,f}yield d.#u.promise}})()}dispatchDidPrint(){var d=this;return(0,I.A)(function*(){return d.#c?.dispatchEventInSandbox({id:"doc",name:"DidPrint"})})()}get destroyPromise(){return this.#t?.promise||null}get ready(){return this.#d}get _pageOpenPending(){return xp(this,"_pageOpenPending",new Set)}get _visitedPages(){return xp(this,"_visitedPages",new Map)}#r(d){var f=this;return(0,I.A)(function*(){const R=f.#l,J=R.isInPresentationMode||R.isChangingPresentationMode,{id:re,siblings:ve,command:Ie,value:Fe}=d;if(!re){switch(Ie){case"clear":console.clear();break;case"error":console.error(Fe);break;case"layout":if(!J){const zt=function Et(qe){let d=an.VERTICAL,f=fn.NONE;switch(qe){case"SinglePage":d=an.PAGE;break;case"OneColumn":break;case"TwoPageLeft":d=an.PAGE;case"TwoColumnLeft":f=fn.ODD;break;case"TwoPageRight":d=an.PAGE;case"TwoColumnRight":f=fn.EVEN}return{scrollMode:d,spreadMode:f}}(Fe);R.spreadMode=zt.spreadMode}break;case"page-num":R.currentPageNumber=Fe+1;break;case"print":yield R.pagesPromise,f.#s.dispatch("print",{source:f});break;case"println":console.log(Fe);break;case"zoom":J||(R.currentScaleValue=Fe);break;case"SaveAs":f.#s.dispatch("download",{source:f});break;case"FirstPage":R.currentPageNumber=1;break;case"LastPage":R.currentPageNumber=R.pagesCount;break;case"NextPage":R.nextPage();break;case"PrevPage":R.previousPage();break;case"ZoomViewIn":J||R.increaseScale();break;case"ZoomViewOut":J||R.decreaseScale();break;case"WillPrintFinished":f.#u?.resolve(),f.#u=null}return}if(J&&d.focus)return;delete d.id,delete d.siblings;const St=ve?[re,...ve]:[re];for(const zt of St){const Ht=document.querySelector(`[data-element-id="${zt}"]`);Ht?Ht.dispatchEvent(new CustomEvent("updatefromsandbox",{detail:d})):f.#a?.annotationStorage.setValue(zt,d)}})()}#p(d,f=!1){var R=this;return(0,I.A)(function*(){const J=R.#a,re=R._visitedPages;if(f&&(R.#e=Promise.withResolvers()),!R.#e)return;const ve=R.#l.getPageView(d-1);if(ve?.renderingState!==lt.FINISHED)return void R._pageOpenPending.add(d);R._pageOpenPending.delete(d);const Ie=(0,I.A)(function*(){const Fe=yield re.has(d)?null:ve.pdfPage?.getJSActions();J===R.#a&&(yield R.#c?.dispatchEventInSandbox({id:"page",name:"PageOpen",pageNumber:d,actions:Fe}))})();re.set(d,Ie)})()}#f(d){var f=this;return(0,I.A)(function*(){const R=f.#a,J=f._visitedPages;if(!f.#e||f._pageOpenPending.has(d))return;const re=J.get(d);re&&(J.set(d,null),yield re,R===f.#a&&(yield f.#c?.dispatchEventInSandbox({id:"page",name:"PageClose",pageNumber:d})))})()}#h(){if(this.#t=Promise.withResolvers(),this.#c)throw new Error("#initScripting: Scripting already exists.");return this.#o.createScripting()}#m(){var d=this;return(0,I.A)(function*(){if(!d.#c)return d.#a=null,void d.#t?.resolve();d.#e&&(yield Promise.race([d.#e.promise,new Promise(f=>{setTimeout(f,1e3)})]).catch(()=>{}),d.#e=null),d.#a=null;try{yield d.#c.destroySandbox()}catch{}d.#u?.reject(new Error("Scripting destroyed.")),d.#u=null,d.#i?.abort(),d.#i=null,d._pageOpenPending.clear(),d._visitedPages.clear(),d.#c=null,d.#d=!1,d.#t?.resolve()})()}}class ac extends Uh{constructor(d){d.externalServices||window.addEventListener("updatefromsandbox",f=>{d.eventBus.dispatch("updatefromsandbox",{source:window,detail:f.detail})}),d.externalServices||={createScripting:()=>new Kc(d.sandboxBundleSrc)},d.docProperties||=f=>function Qu(qe){return Bu.apply(this,arguments)}(f),super(d)}}class Eu{constructor(){this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1,Object.defineProperty(this,"hasViewer",{value:()=>!!this.pdfViewer})}setViewer(d){this.pdfViewer=d}setThumbnailViewer(d){this.pdfThumbnailViewer=d}isHighestPriority(d){return this.highestPriorityPage===d.renderingId}renderHighestPriority(d){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),!this.pdfViewer.forceRendering(d)&&(this.isThumbnailViewEnabled&&this.pdfThumbnailViewer?.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4)))}getHighestPriority(d,f,R,J=!1){const re=d.views,ve=re.length;if(0===ve)return null;for(let Ht=0;Ht<ve;Ht++){const bn=re[Ht].view;if(!this.isViewFinished(bn))return bn}const Ie=d.first.id,Fe=d.last.id;if(Fe-Ie+1>ve){const Ht=d.ids;for(let bn=1,xn=Fe-Ie;bn<xn;bn++){const Zt=R?Ie+bn:Fe-bn;if(Ht.has(Zt))continue;const Mi=f[Zt-1];if(!this.isViewFinished(Mi))return Mi}}let St=R?Fe:Ie-2,zt=f[St];return zt&&!this.isViewFinished(zt)||J&&(St+=R?1:-1,zt=f[St],zt&&!this.isViewFinished(zt))?zt:null}isViewFinished(d){return d.renderingState===lt.FINISHED}renderView(d){switch(d.renderingState){case lt.FINISHED:return!1;case lt.PAUSED:this.highestPriorityPage=d.renderingId,d.resume();break;case lt.RUNNING:this.highestPriorityPage=d.renderingId;break;case lt.INITIAL:this.highestPriorityPage=d.renderingId,d.draw().finally(()=>{this.renderHighestPriority()}).catch(f=>{f instanceof sc||console.error(`renderView: "${f}"`)})}return!0}}function Bl(qe){return Object.values(a1).includes(qe)&&qe!==a1.DISABLE}class Os{#e=new Set;#t=0;constructor(d){this.#t=d}push(d){const f=this.#e;f.has(d)&&f.delete(d),f.add(d),f.size>this.#t&&this.#n()}resize(d,f=null){this.#t=d;const R=this.#e;if(f){const J=R.size;let re=1;for(const ve of R)if(f.has(ve.id)&&(R.delete(ve),R.add(ve)),++re>J)break}for(;R.size>this.#t;)this.#n()}has(d){return this.#e.has(d)}[Symbol.iterator](){return this.#e.keys()}#n(){const d=this.#e.keys().next().value;d?.destroy(),this.#e.delete(d)}}class Gh{#e=null;#t=null;#n=null;#i=a1.NONE;#s=null;#o=t0.ENABLE_FORMS;#a=null;#l=!1;#d=!1;#c=!1;#u=!1;#r=!1;#p=null;#f=null;#h=null;#m=null;#g=!1;#_=null;#b=!1;#O=0;#A=new ResizeObserver(this.#F.bind(this));#v=null;#E=null;#P=1;constructor(d){const f="4.6.82";if(du!==f)throw new Error(`The API version "${du}" does not match the Viewer version "${f}".`);if(this.container=d.container,this.viewer=d.viewer||d.container.firstElementChild,"DIV"!==this.container?.tagName||"DIV"!==this.viewer?.tagName)throw new Error("Invalid `container` and/or `viewer` option.");if(this.container.offsetParent&&"absolute"!==getComputedStyle(this.container).position)throw new Error("The `container` must be absolutely positioned.");this.#A.observe(this.container),this.eventBus=d.eventBus,this.linkService=d.linkService||new Lu,this.downloadManager=d.downloadManager||null,this.findController=d.findController||null,this.#t=d.altTextManager||null,this.findController&&(this.findController.onIsPageVisible=J=>this._getVisiblePages().ids.has(J)),this._scriptingManager=d.scriptingManager||null,this.#P=d.textLayerMode??1,this.#o=d.annotationMode??t0.ENABLE_FORMS,this.#i=d.annotationEditorMode??a1.NONE,this.#n=d.annotationEditorHighlightColors||null,this.#d=!0===d.enableHighlightFloatingButton,this.#u=!0===d.enableUpdatedAddImage,this.#r=!0===d.enableNewAltTextWhenAddingImage,this.imageResourcesPath=d.imageResourcesPath||"",this.enablePrintAutoRotate=d.enablePrintAutoRotate||!1,this.removePageBorders=d.removePageBorders||!1,this.maxCanvasPixels=d.maxCanvasPixels,this.l10n=d.l10n,this.l10n||=new Sr,this.#c=d.enablePermissions||!1,this.pageColors=d.pageColors||null,this.#f=d.mlManager||null,this.#l=d.enableHWA||!1,this.defaultRenderingQueue=!d.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new Eu,this.renderingQueue.setViewer(this)):this.renderingQueue=d.renderingQueue;const{abortSignal:R}=d;R?.addEventListener("abort",()=>{this.#A.disconnect(),this.#A=null},{once:!0}),this.scroll=function ts(qe,d,f){const R=function(ve){re||(re=window.requestAnimationFrame(function(){re=null;const Fe=qe.scrollLeft,St=J.lastX;Fe!==St&&(J.right=Fe>St),J.lastX=Fe;const zt=qe.scrollTop,Ht=J.lastY;zt!==Ht&&(J.down=zt>Ht),J.lastY=zt,d(J)}))},J={right:!0,down:!0,lastX:qe.scrollLeft,lastY:qe.scrollTop,_eventHandler:R};let re=null;return qe.addEventListener("scroll",R,{useCapture:!0,signal:f}),f?.addEventListener("abort",()=>window.cancelAnimationFrame(re),{once:!0}),J}(this.container,this._scrollUpdate.bind(this),R),this.presentationModeState=0,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),this.#N(),this.eventBus._on("thumbnailrendered",({pageNumber:J,pdfPage:re})=>{this.#e.has(this._pages[J-1])||re?.cleanup()}),d.l10n||this.l10n.translate(this.container)}get pagesCount(){return this._pages.length}getPageView(d){return this._pages[d]}getCachedPageViews(){return new Set(this.#e)}get pageViewsReady(){return this._pages.every(d=>d?.pdfPage)}get renderForms(){return this.#o===t0.ENABLE_FORMS}get enableScripting(){return!!this._scriptingManager}get currentPageNumber(){return this._currentPageNumber}set currentPageNumber(d){if(!Number.isInteger(d))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(d,!0)||console.error(`currentPageNumber: "${d}" is not a valid page.`))}_setCurrentPageNumber(d,f=!1){if(this._currentPageNumber===d)return f&&this.#R(),!0;if(!(0<d&&d<=this.pagesCount))return!1;const R=this._currentPageNumber;return this._currentPageNumber=d,this.eventBus.dispatch("pagechanging",{source:this,pageNumber:d,pageLabel:this._pageLabels?.[d-1]??null,previous:R}),f&&this.#R(),!0}get currentPageLabel(){return this._pageLabels?.[this._currentPageNumber-1]??null}set currentPageLabel(d){if(!this.pdfDocument)return;let f=0|d;if(this._pageLabels){const R=this._pageLabels.indexOf(d);R>=0&&(f=R+1)}this._setCurrentPageNumber(f,!0)||console.error(`currentPageLabel: "${d}" is not a valid page.`)}get currentScale(){return 0!==this._currentScale?this._currentScale:1}set currentScale(d){if(isNaN(d))throw new Error("Invalid numeric scale.");this.pdfDocument&&this.#D(d,{noScroll:!1})}get currentScaleValue(){return this._currentScaleValue}set currentScaleValue(d){this.pdfDocument&&this.#D(d,{noScroll:!1})}get pagesRotation(){return this._pagesRotation}set pagesRotation(d){if(!K0(d))throw new Error("Invalid pages rotation angle.");if(!this.pdfDocument||((d%=360)<0&&(d+=360),this._pagesRotation===d))return;this._pagesRotation=d;const f=this._currentPageNumber;this.refresh(!0,{rotation:d}),this._currentScaleValue&&this.#D(this._currentScaleValue,{noScroll:!0}),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:d,pageNumber:f}),this.defaultRenderingQueue&&this.update()}get firstPagePromise(){return this.pdfDocument?this._firstPageCapability.promise:null}get onePageRendered(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}get pagesPromise(){return this.pdfDocument?this._pagesCapability.promise:null}get _layerProperties(){const d=this;return xp(this,"_layerProperties",{get annotationEditorUIManager(){return d.#s},get annotationStorage(){return d.pdfDocument?.annotationStorage},get downloadManager(){return d.downloadManager},get enableScripting(){return!!d._scriptingManager},get fieldObjectsPromise(){return d.pdfDocument?.getFieldObjects()},get findController(){return d.findController},get hasJSActionsPromise(){return d.pdfDocument?.hasJSActions()},get linkService(){return d.linkService}})}#C(d){const f={annotationEditorMode:this.#i,annotationMode:this.#o,textLayerMode:this.#P};return d&&(!d.includes(tu.COPY)&&1===this.#P&&(f.textLayerMode=2),d.includes(tu.MODIFY_CONTENTS)||(f.annotationEditorMode=a1.DISABLE),!d.includes(tu.MODIFY_ANNOTATIONS)&&!d.includes(tu.FILL_INTERACTIVE_FORMS)&&this.#o===t0.ENABLE_FORMS&&(f.annotationMode=t0.ENABLE)),f}#y(d){var f=this;return(0,I.A)(function*(){if("hidden"===document.visibilityState||!f.container.offsetParent||0===f._getVisiblePages().views.length)return;const R=Promise.withResolvers();function J(){"hidden"===document.visibilityState&&R.resolve()}document.addEventListener("visibilitychange",J,{signal:d}),yield Promise.race([f._onePageRenderedCapability.promise,R.promise]),document.removeEventListener("visibilitychange",J)})()}getAllText(){var d=this;return(0,I.A)(function*(){const f=[],R=[];for(let J=1,re=d.pdfDocument.numPages;J<=re;++J){if(d.#b)return null;R.length=0;const ve=yield d.pdfDocument.getPage(J),{items:Ie}=yield ve.getTextContent();for(const Fe of Ie)Fe.str&&R.push(Fe.str),Fe.hasEOL&&R.push("\n");f.push(ro(R.join("")))}return f.join("\n")})()}#z(d,f){const R=document.getSelection(),{focusNode:J,anchorNode:re}=R;if(re&&J&&R.containsNode(this.#_)){if(this.#g||2===d)return f.preventDefault(),void f.stopPropagation();this.#g=!0;const{classList:ve}=this.viewer;ve.add("copyAll");const Ie=new AbortController;window.addEventListener("keydown",Fe=>this.#b="Escape"===Fe.key,{signal:Ie.signal}),this.getAllText().then(function(){var Fe=(0,I.A)(function*(St){null!==St&&(yield navigator.clipboard.writeText(St))});return function(St){return Fe.apply(this,arguments)}}()).catch(Fe=>{console.warn(`Something goes wrong when extracting the text: ${Fe.message}`)}).finally(()=>{this.#g=!1,this.#b=!1,Ie.abort(),ve.remove("copyAll")}),f.preventDefault(),f.stopPropagation()}}setDocument(d){var f=this;if(this.pdfDocument&&(this.eventBus.dispatch("pagesdestroy",{source:this}),this._cancelRendering(),this._resetView(),this.findController?.setDocument(null),this._scriptingManager?.setDocument(null),this.#s?.destroy(),this.#s=null),this.pdfDocument=d,!d)return;const R=d.numPages,J=d.getPage(1),re=d.getOptionalContentConfig({intent:"display"}),ve=this.#c?d.getPermissions():Promise.resolve(),{eventBus:Ie,pageColors:Fe,viewer:St}=this;this.#p=new AbortController;const{signal:zt}=this.#p;if(R>1e4){console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document.");const xn=this._scrollMode=an.PAGE;Ie.dispatch("scrollmodechanged",{source:this,mode:xn})}this._pagesCapability.promise.then(()=>{Ie.dispatch("pagesloaded",{source:this,pagesCount:R})},()=>{}),Ie._on("pagerender",xn=>{const Zt=this._pages[xn.pageNumber-1];Zt&&this.#e.push(Zt)},{signal:zt});const bn=xn=>{xn.cssTransform||(this._onePageRenderedCapability.resolve({timestamp:xn.timestamp}),Ie._off("pagerendered",bn))};Ie._on("pagerendered",bn,{signal:zt}),Promise.all([J,ve]).then(([xn,Zt])=>{if(d!==this.pdfDocument)return;this._firstPageCapability.resolve(xn),this._optionalContentConfigPromise=re;const{annotationEditorMode:Mi,annotationMode:Ki,textLayerMode:Pi}=this.#C(Zt);if(0!==Pi){const Ts=this.#_=document.createElement("div");Ts.id="hiddenCopyElement",St.before(Ts)}if("function"==typeof AbortSignal.any&&Mi!==a1.DISABLE){const Ts=Mi;d.isPureXfa?console.warn("Warning: XFA-editing is not implemented."):Bl(Ts)?(this.#s=new z0(this.container,St,this.#t,Ie,d,Fe,this.#n,this.#d,this.#u,this.#r,this.#f),Ie.dispatch("annotationeditoruimanager",{source:this,uiManager:this.#s}),Ts!==a1.NONE&&(Ts===a1.STAMP&&this.#f?.loadModel("altText"),this.#s.updateMode(Ts))):console.error(`Invalid AnnotationEditor mode: ${Ts}`)}const hs=this._scrollMode===an.PAGE?null:St,Cs=this.currentScale,Es=xn.getViewport({scale:Cs*hd.PDF_TO_CSS_UNITS});St.style.setProperty("--scale-factor",Es.scale),("CanvasText"===Fe?.foreground||"Canvas"===Fe?.background)&&(St.style.setProperty("--hcm-highlight-filter",d.filterFactory.addHighlightHCMFilter("highlight","CanvasText","Canvas","HighlightText","Highlight")),St.style.setProperty("--hcm-highlight-selected-filter",d.filterFactory.addHighlightHCMFilter("highlight_selected","CanvasText","Canvas","HighlightText","ButtonText")));for(let Ts=1;Ts<=R;++Ts){const xs=new Dd({container:hs,eventBus:Ie,id:Ts,scale:Cs,defaultViewport:Es.clone(),optionalContentConfigPromise:re,renderingQueue:this.renderingQueue,textLayerMode:Pi,annotationMode:Ki,imageResourcesPath:this.imageResourcesPath,maxCanvasPixels:this.maxCanvasPixels,pageColors:Fe,l10n:this.l10n,layerProperties:this._layerProperties,enableHWA:this.#l});this._pages.push(xs)}this._pages[0]?.setPdfPage(xn),this._scrollMode===an.PAGE?this.#T():this._spreadMode!==fn.NONE&&this._updateSpreadMode(),this.#y(zt).then((0,I.A)(function*(){if(d!==f.pdfDocument)return;if(f.findController?.setDocument(d),f._scriptingManager?.setDocument(d),f.#_&&document.addEventListener("copy",f.#z.bind(f,Pi),{signal:zt}),f.#s&&Ie.dispatch("annotationeditormodechanged",{source:f,mode:f.#i}),d.loadingParams.disableAutoFetch||R>5e3)return void f._pagesCapability.resolve();let Ts=R-1;if(Ts<=0)f._pagesCapability.resolve();else for(let xs=2;xs<=R;++xs){const Gs=d.getPage(xs).then(no=>{const gs=f._pages[xs-1];gs.pdfPage||gs.setPdfPage(no),0==--Ts&&f._pagesCapability.resolve()},no=>{console.error(`Unable to get page ${xs} to initialize viewer`,no),0==--Ts&&f._pagesCapability.resolve()});xs%250==0&&(yield Gs)}})),Ie.dispatch("pagesinit",{source:this}),d.getMetadata().then(({info:Ts})=>{d===this.pdfDocument&&Ts.Language&&(St.lang=Ts.Language)}),this.defaultRenderingQueue&&this.update()}).catch(xn=>{console.error("Unable to initialize viewer",xn),this._pagesCapability.reject(xn)})}setPageLabels(d){if(this.pdfDocument){d?Array.isArray(d)&&this.pdfDocument.numPages===d.length?this._pageLabels=d:(this._pageLabels=null,console.error("setPageLabels: Invalid page labels.")):this._pageLabels=null;for(let f=0,R=this._pages.length;f<R;f++)this._pages[f].setPageLabel(this._pageLabels?.[f]??null)}}_resetView(){this._pages=[],this._currentPageNumber=1,this._currentScale=0,this._currentScaleValue=null,this._pageLabels=null,this.#e=new Os(10),this._location=null,this._pagesRotation=0,this._optionalContentConfigPromise=null,this._firstPageCapability=Promise.withResolvers(),this._onePageRenderedCapability=Promise.withResolvers(),this._pagesCapability=Promise.withResolvers(),this._scrollMode=an.VERTICAL,this._previousScrollMode=an.UNKNOWN,this._spreadMode=fn.NONE,this.#v={previousPageNumber:1,scrollDown:!0,pages:[]},this.#p?.abort(),this.#p=null,this.viewer.textContent="",this._updateScrollMode(),this.viewer.removeAttribute("lang"),this.#_?.remove(),this.#_=null,this.#W()}#T(){if(this._scrollMode!==an.PAGE)throw new Error("#ensurePageViewVisible: Invalid scrollMode value.");const d=this._currentPageNumber,f=this.#v,R=this.viewer;if(R.textContent="",f.pages.length=0,this._spreadMode!==fn.NONE||this.isInPresentationMode){const J=new Set,re=this._spreadMode-1;-1===re?J.add(d-1):d%2!==re?(J.add(d-1),J.add(d)):(J.add(d-2),J.add(d-1));const ve=document.createElement("div");if(ve.className="spread",this.isInPresentationMode){const Ie=document.createElement("div");Ie.className="dummyPage",ve.append(Ie)}for(const Ie of J){const Fe=this._pages[Ie];Fe&&(ve.append(Fe.div),f.pages.push(Fe))}R.append(ve)}else{const J=this._pages[d-1];R.append(J.div),f.pages.push(J)}f.scrollDown=d>=f.previousPageNumber,f.previousPageNumber=d}_scrollUpdate(){0!==this.pagesCount&&this.update()}#I(d,f=null){const{div:R,id:J}=d;if(this._currentPageNumber!==J&&this._setCurrentPageNumber(J),this._scrollMode===an.PAGE&&(this.#T(),this.update()),!f&&!this.isInPresentationMode){const re=R.offsetLeft+R.clientLeft,ve=re+R.clientWidth,{scrollLeft:Ie,clientWidth:Fe}=this.container;(this._scrollMode===an.HORIZONTAL||re<Ie||ve>Ie+Fe)&&(f={left:0,top:0})}Bi(R,f),!this._currentScaleValue&&this._location&&(this._location=null)}#w(d){return d===this._currentScale||Math.abs(d-this._currentScale)<1e-15}#S(d,f,{noScroll:R=!1,preset:J=!1,drawingDelay:re=-1,origin:ve=null}){if(this._currentScaleValue=f.toString(),this.#w(d))return void(J&&this.eventBus.dispatch("scalechanging",{source:this,scale:d,presetValue:f}));this.viewer.style.setProperty("--scale-factor",d*hd.PDF_TO_CSS_UNITS);const Ie=re>=0&&re<1e3;this.refresh(!0,{scale:d,drawingDelay:Ie?re:-1}),Ie&&(this.#E=setTimeout(()=>{this.#E=null,this.refresh()},re));const Fe=this._currentScale;if(this._currentScale=d,!R){let zt,St=this._currentPageNumber;if(this._location&&!(this.isInPresentationMode||this.isChangingPresentationMode)&&(St=this._location.pageNumber,zt=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:St,destArray:zt,allowNegativeOffset:!0}),Array.isArray(ve)){const Ht=d/Fe-1,[bn,xn]=this.containerTopLeft;this.container.scrollLeft+=(ve[0]-xn)*Ht,this.container.scrollTop+=(ve[1]-bn)*Ht}}this.eventBus.dispatch("scalechanging",{source:this,scale:d,presetValue:J?f:void 0}),this.defaultRenderingQueue&&this.update()}get#M(){return this._spreadMode!==fn.NONE&&this._scrollMode!==an.HORIZONTAL?2:1}#D(d,f){let R=parseFloat(d);if(R>0)f.preset=!1,this.#S(R,d,f);else{const J=this._pages[this._currentPageNumber-1];if(!J)return;let re=40,ve=5;this.isInPresentationMode?(re=ve=4,this._spreadMode!==fn.NONE&&(re*=2)):this.removePageBorders?re=ve=0:this._scrollMode===an.HORIZONTAL&&([re,ve]=[ve,re]);const Ie=(this.container.clientWidth-re)/J.width*J.scale/this.#M,Fe=(this.container.clientHeight-ve)/J.height*J.scale;switch(d){case"page-actual":R=1;break;case"page-width":R=Ie;break;case"page-height":R=Fe;break;case"page-fit":R=Math.min(Ie,Fe);break;case"auto":const St=we(J)?Ie:Math.min(Fe,Ie);R=Math.min(1.25,St);break;default:return void console.error(`#setScale: "${d}" is an unknown zoom value.`)}f.preset=!0,this.#S(R,d,f)}}#R(){const d=this._pages[this._currentPageNumber-1];this.isInPresentationMode&&this.#D(this._currentScaleValue,{noScroll:!0}),this.#I(d)}pageLabelToPageNumber(d){if(!this._pageLabels)return null;const f=this._pageLabels.indexOf(d);return f<0?null:f+1}scrollPageIntoView({pageNumber:d,destArray:f=null,allowNegativeOffset:R=!1,ignoreDestinationZoom:J=!1}){if(!this.pdfDocument)return;const re=Number.isInteger(d)&&this._pages[d-1];if(!re)return void console.error(`scrollPageIntoView: "${d}" is not a valid pageNumber parameter.`);if(this.isInPresentationMode||!f)return void this._setCurrentPageNumber(d,!0);let zt,Ht,ve=0,Ie=0,Fe=0,St=0;const bn=re.rotation%180!=0,xn=(bn?re.height:re.width)/re.scale/hd.PDF_TO_CSS_UNITS,Zt=(bn?re.width:re.height)/re.scale/hd.PDF_TO_CSS_UNITS;let Mi=0;switch(f[1].name){case"XYZ":ve=f[2],Ie=f[3],Mi=f[4],ve=null!==ve?ve:0,Ie=null!==Ie?Ie:Zt;break;case"Fit":case"FitB":Mi="page-fit";break;case"FitH":case"FitBH":Ie=f[2],Mi="page-width",null===Ie&&this._location?(ve=this._location.left,Ie=this._location.top):("number"!=typeof Ie||Ie<0)&&(Ie=Zt);break;case"FitV":case"FitBV":ve=f[2],Fe=xn,St=Zt,Mi="page-height";break;case"FitR":ve=f[2],Ie=f[3],Fe=f[4]-ve,St=f[5]-Ie;let Cs=40,Es=5;this.removePageBorders&&(Cs=Es=0),zt=(this.container.clientWidth-Cs)/Fe/hd.PDF_TO_CSS_UNITS,Ht=(this.container.clientHeight-Es)/St/hd.PDF_TO_CSS_UNITS,Mi=Math.min(Math.abs(zt),Math.abs(Ht));break;default:return void console.error(`scrollPageIntoView: "${f[1].name}" is not a valid destination type.`)}if(J||(Mi&&Mi!==this._currentScale?this.currentScaleValue=Mi:0===this._currentScale&&(this.currentScaleValue="auto")),"page-fit"===Mi&&!f[4])return void this.#I(re);const Ki=[re.viewport.convertToViewportPoint(ve,Ie),re.viewport.convertToViewportPoint(ve+Fe,Ie+St)];let Pi=Math.min(Ki[0][0],Ki[1][0]),hs=Math.min(Ki[0][1],Ki[1][1]);R||(Pi=Math.max(Pi,0),hs=Math.max(hs,0)),this.#I(re,{left:Pi,top:hs})}_updateLocation(d){const f=this._currentScale,R=this._currentScaleValue,J=parseFloat(R)===f?Math.round(1e4*f)/100:R,re=d.id,Ie=this.container,Fe=this._pages[re-1].getPagePoint(Ie.scrollLeft-d.x,Ie.scrollTop-d.y),St=Math.round(Fe[0]),zt=Math.round(Fe[1]);let Ht=`#page=${re}`;this.isInPresentationMode||(Ht+=`&zoom=${J},${St},${zt}`),this._location={pageNumber:re,scale:J,top:zt,left:St,rotation:this._pagesRotation,pdfOpenParams:Ht}}update(){const d=this._getVisiblePages(),f=d.views,R=f.length;if(0===R)return;const J=Math.max(10,2*R+1);this.#e.resize(J,d.ids),this.renderingQueue.renderHighestPriority(d);const re=this._spreadMode===fn.NONE&&(this._scrollMode===an.PAGE||this._scrollMode===an.VERTICAL),ve=this._currentPageNumber;let Ie=!1;for(const Fe of f){if(Fe.percent<100)break;if(Fe.id===ve&&re){Ie=!0;break}}this._setCurrentPageNumber(Ie?ve:f[0].id),this._updateLocation(d.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}#x(){const d=this._getVisiblePages(),f=[],{ids:R,views:J}=d;for(const re of J){const{view:ve}=re;ve.hasEditableAnnotations()?f.push(re):R.delete(ve.id)}return 0===f.length?null:(this.renderingQueue.renderHighestPriority({first:f[0],last:f.at(-1),views:f,ids:R}),R)}containsElement(d){return this.container.contains(d)}focus(){this.container.focus()}get _isContainerRtl(){return"rtl"===getComputedStyle(this.container).direction}get isInPresentationMode(){return 3===this.presentationModeState}get isChangingPresentationMode(){return 2===this.presentationModeState}get isHorizontalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}get isVerticalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}_getVisiblePages(){const d=this._scrollMode===an.PAGE?this.#v.pages:this._pages,f=this._scrollMode===an.HORIZONTAL;return function $r({scrollEl:qe,views:d,sortByVisibility:f=!1,horizontal:R=!1,rtl:J=!1}){const re=qe.scrollTop,ve=re+qe.clientHeight,Ie=qe.scrollLeft,Fe=Ie+qe.clientWidth,Ht=[],bn=new Set,xn=d.length;let Zt=Bo(d,R?function zt(hs){const Cs=hs.div,Es=Cs.offsetLeft+Cs.clientLeft;return J?Es<Fe:Es+Cs.clientWidth>Ie}:function St(hs){const Cs=hs.div;return Cs.offsetTop+Cs.clientTop+Cs.clientHeight>re});Zt>0&&Zt<xn&&!R&&(Zt=function mr(qe,d,f){if(qe<2)return qe;let R=d[qe].div,J=R.offsetTop+R.clientTop;J>=f&&(R=d[qe-1].div,J=R.offsetTop+R.clientTop);for(let re=qe-2;re>=0&&(R=d[re].div,!(R.offsetTop+R.clientTop+R.clientHeight<=J));--re)qe=re;return qe}(Zt,d,re));let Mi=R?Fe:-1;for(let hs=Zt;hs<xn;hs++){const Cs=d[hs],Es=Cs.div,Ts=Es.offsetLeft+Es.clientLeft,xs=Es.offsetTop+Es.clientTop,Gs=Es.clientWidth,no=Es.clientHeight,gs=Ts+Gs,oo=xs+no;if(-1===Mi)oo>=ve&&(Mi=oo);else if((R?Ts:xs)>Mi)break;if(oo<=re||xs>=ve||gs<=Ie||Ts>=Fe)continue;const ko=Math.max(0,re-xs)+Math.max(0,oo-ve),Or=(Gs-(Math.max(0,Ie-Ts)+Math.max(0,gs-Fe)))/Gs;Ht.push({id:Cs.id,x:Ts,y:xs,view:Cs,percent:(no-ko)/no*Or*100|0,widthPercent:100*Or|0}),bn.add(Cs.id)}const Ki=Ht[0],Pi=Ht.at(-1);return f&&Ht.sort(function(hs,Cs){const Es=hs.percent-Cs.percent;return Math.abs(Es)>.001?-Es:hs.id-Cs.id}),{first:Ki,last:Pi,views:Ht,ids:bn}}({scrollEl:this.container,views:d,sortByVisibility:!0,horizontal:f,rtl:f&&this._isContainerRtl})}cleanup(){for(const d of this._pages)d.renderingState!==lt.FINISHED&&d.reset()}_cancelRendering(){for(const d of this._pages)d.cancelRendering()}#j(d){var f=this;return(0,I.A)(function*(){if(d.pdfPage)return d.pdfPage;try{const R=yield f.pdfDocument.getPage(d.id);return d.pdfPage||d.setPdfPage(R),R}catch(R){return console.error("Unable to get page for page view",R),null}})()}#B(d){if(1===d.first?.id)return!0;if(d.last?.id===this.pagesCount)return!1;switch(this._scrollMode){case an.PAGE:return this.#v.scrollDown;case an.HORIZONTAL:return this.scroll.right}return this.scroll.down}forceRendering(d){const f=d||this._getVisiblePages(),R=this.#B(f),re=this.renderingQueue.getHighestPriority(f,this._pages,R,this._spreadMode!==fn.NONE&&this._scrollMode!==an.HORIZONTAL);return!!re&&(this.#j(re).then(()=>{this.renderingQueue.renderView(re)}),!0)}get hasEqualPageSizes(){const d=this._pages[0];for(let f=1,R=this._pages.length;f<R;++f){const J=this._pages[f];if(J.width!==d.width||J.height!==d.height)return!1}return!0}getPagesOverview(){let d;return this._pages.map(f=>{const R=f.pdfPage.getViewport({scale:1}),J=we(R);if(void 0===d)d=J;else if(this.enablePrintAutoRotate&&J!==d)return{width:R.height,height:R.width,rotation:(R.rotation-90)%360};return{width:R.width,height:R.height,rotation:R.rotation}})}get optionalContentConfigPromise(){return this.pdfDocument?this._optionalContentConfigPromise?this._optionalContentConfigPromise:(console.error("optionalContentConfigPromise: Not initialized yet."),this.pdfDocument.getOptionalContentConfig({intent:"display"})):Promise.resolve(null)}set optionalContentConfigPromise(d){if(!(d instanceof Promise))throw new Error(`Invalid optionalContentConfigPromise: ${d}`);this.pdfDocument&&this._optionalContentConfigPromise&&(this._optionalContentConfigPromise=d,this.refresh(!1,{optionalContentConfigPromise:d}),this.eventBus.dispatch("optionalcontentconfigchanged",{source:this,promise:d}))}get scrollMode(){return this._scrollMode}set scrollMode(d){if(this._scrollMode!==d){if(!function yt(qe){return Number.isInteger(qe)&&Object.values(an).includes(qe)&&qe!==an.UNKNOWN}(d))throw new Error(`Invalid scroll mode: ${d}`);this.pagesCount>1e4||(this._previousScrollMode=this._scrollMode,this._scrollMode=d,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:d}),this._updateScrollMode(this._currentPageNumber))}}_updateScrollMode(d=null){const f=this._scrollMode,R=this.viewer;R.classList.toggle("scrollHorizontal",f===an.HORIZONTAL),R.classList.toggle("scrollWrapped",f===an.WRAPPED),this.pdfDocument&&d&&(f===an.PAGE?this.#T():this._previousScrollMode===an.PAGE&&this._updateSpreadMode(),this._currentScaleValue&&isNaN(this._currentScaleValue)&&this.#D(this._currentScaleValue,{noScroll:!0}),this._setCurrentPageNumber(d,!0),this.update())}get spreadMode(){return this._spreadMode}set spreadMode(d){if(this._spreadMode!==d){if(!function it(qe){return Number.isInteger(qe)&&Object.values(fn).includes(qe)&&qe!==fn.UNKNOWN}(d))throw new Error(`Invalid spread mode: ${d}`);this._spreadMode=d,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:d}),this._updateSpreadMode(this._currentPageNumber)}}_updateSpreadMode(d=null){if(!this.pdfDocument)return;const f=this.viewer,R=this._pages;if(this._scrollMode===an.PAGE)this.#T();else if(f.textContent="",this._spreadMode===fn.NONE)for(const J of this._pages)f.append(J.div);else{const J=this._spreadMode-1;let re=null;for(let ve=0,Ie=R.length;ve<Ie;++ve)null===re?(re=document.createElement("div"),re.className="spread",f.append(re)):ve%2===J&&(re=re.cloneNode(!1),f.append(re)),re.append(R[ve].div)}d&&(this._currentScaleValue&&isNaN(this._currentScaleValue)&&this.#D(this._currentScaleValue,{noScroll:!0}),this._setCurrentPageNumber(d,!0),this.update())}_getPageAdvance(d,f=!1){switch(this._scrollMode){case an.WRAPPED:{const{views:R}=this._getVisiblePages(),J=new Map;for(const{id:re,y:ve,percent:Ie,widthPercent:Fe}of R){if(0===Ie||Fe<100)continue;let St=J.get(ve);St||J.set(ve,St||=[]),St.push(re)}for(const re of J.values()){const ve=re.indexOf(d);if(-1===ve)continue;const Ie=re.length;if(1===Ie)break;if(f)for(let Fe=ve-1,St=0;Fe>=St;Fe--){const Ht=re[Fe+1]-1;if(re[Fe]<Ht)return d-Ht}else for(let Fe=ve+1,St=Ie;Fe<St;Fe++){const Ht=re[Fe-1]+1;if(re[Fe]>Ht)return Ht-d}if(f){const Fe=re[0];if(Fe<d)return d-Fe+1}else{const Fe=re[Ie-1];if(Fe>d)return Fe-d+1}break}break}case an.HORIZONTAL:break;case an.PAGE:case an.VERTICAL:{if(this._spreadMode===fn.NONE)break;const R=this._spreadMode-1;if(f&&d%2!==R)break;if(!f&&d%2===R)break;const{views:J}=this._getVisiblePages(),re=f?d-1:d+1;for(const{id:ve,percent:Ie,widthPercent:Fe}of J)if(ve===re){if(Ie>0&&100===Fe)return 2;break}break}}return 1}nextPage(){const d=this._currentPageNumber,f=this.pagesCount;if(d>=f)return!1;const R=this._getPageAdvance(d,!1)||1;return this.currentPageNumber=Math.min(d+R,f),!0}previousPage(){const d=this._currentPageNumber;if(d<=1)return!1;const f=this._getPageAdvance(d,!0)||1;return this.currentPageNumber=Math.max(d-f,1),!0}updateScale({drawingDelay:d,scaleFactor:f=null,steps:R=null,origin:J}){if(null===R&&null===f)throw new Error("Invalid updateScale options: either `steps` or `scaleFactor` must be provided.");if(!this.pdfDocument)return;let re=this._currentScale;if(f>0&&1!==f)re=Math.round(re*f*100)/100;else if(R){const ve=R>0?1.1:1/1.1,Ie=R>0?Math.ceil:Math.floor;R=Math.abs(R);do{re=Ie(10*(re*ve).toFixed(2))/10}while(--R>0)}re=Math.max(.1,Math.min(10,re)),this.#D(re,{noScroll:!1,drawingDelay:d,origin:J})}increaseScale(d={}){this.updateScale({...d,steps:d.steps??1})}decreaseScale(d={}){this.updateScale({...d,steps:-(d.steps??1)})}#N(d=this.container.clientHeight){d!==this.#O&&(this.#O=d,qt.setProperty("--viewer-container-height",`${d}px`))}#F(d){for(const f of d)if(f.target===this.container){this.#N(Math.floor(f.borderBoxSize[0].blockSize)),this.#a=null;break}}get containerTopLeft(){return this.#a||=[this.container.offsetTop,this.container.offsetLeft]}#W(){this.#h&&(this.eventBus._off("pagerendered",this.#h),this.#h=null),null!==this.#m&&(clearTimeout(this.#m),this.#m=null)}get annotationEditorMode(){return this.#s?this.#i:a1.DISABLE}set annotationEditorMode({mode:d,editId:f=null,isFromKeyboard:R=!1}){if(!this.#s)throw new Error("The AnnotationEditor is not enabled.");if(this.#i===d)return;if(!Bl(d))throw new Error(`Invalid AnnotationEditor mode: ${d}`);if(!this.pdfDocument)return;d===a1.STAMP&&this.#f?.loadModel("altText");const{eventBus:J}=this,re=()=>{this.#W(),this.#i=d,this.#s.updateMode(d,f,R),J.dispatch("annotationeditormodechanged",{source:this,mode:d})};if(d===a1.NONE||this.#i===a1.NONE){const ve=d!==a1.NONE;ve||this.pdfDocument.annotationStorage.resetModifiedIds();for(const Fe of this._pages)Fe.toggleEditingMode(ve);const Ie=this.#x();if(ve&&Ie){this.#W(),this.#h=({pageNumber:St})=>{Ie.delete(St),0===Ie.size&&(this.#m=setTimeout(re,0))};const{signal:Fe}=this.#p;return void J._on("pagerendered",this.#h,{signal:Fe})}}re()}refresh(d=!1,f=Object.create(null)){if(this.pdfDocument){for(const R of this._pages)R.update(f);null!==this.#E&&(clearTimeout(this.#E),this.#E=null),d||this.update()}}}class fh extends Gh{_resetView(){super._resetView(),this._scrollMode=an.PAGE,this._spreadMode=fn.NONE}set scrollMode(d){}_updateScrollMode(){}set spreadMode(d){}_updateSpreadMode(){}}var _d=to.AnnotationLayerBuilder,gd=to.DownloadManager,mh=to.EventBus,Id=to.FindState,_h=to.GenericL10n,bd=to.LinkTarget,qp=to.PDFFindController,qh=to.PDFHistory,su=to.PDFLinkService,Zu=to.PDFPageView,bm=to.PDFScriptingManager,ku=to.PDFSinglePageViewer,gh=to.PDFViewer,vp=to.ProgressBar,bh=to.RenderingStates,Mc=to.ScrollMode,$m=to.SimpleLinkService,Zd=to.SpreadMode,Mh=to.StructTreeLayerBuilder,Zo=to.TextLayerBuilder,as=to.XfaLayerBuilder,Mf=to.parseQueryString;const Vm=["pdfViewerContainer"];function Ap(qe,d,f){qe[d]=f}function yp(){return typeof window>"u"}yp()||Ap(n,"verbosity",yl.INFOS),typeof Promise.withResolvers>"u"&&window&&(window.Promise.withResolvers=()=>{let qe,d;return{promise:new Promise((R,J)=>{qe=R,d=J}),resolve:qe,reject:d}});var Oh=function(qe){return qe[qe.DISABLED=0]="DISABLED",qe[qe.ENABLED=1]="ENABLED",qe[qe.ENHANCED=2]="ENHANCED",qe}(Oh||{});let Hm=(()=>{class qe{element;ngZone;static CSS_UNITS=96/72;static BORDER_WIDTH=9;pdfViewerContainer;eventBus;pdfLinkService;pdfFindController;pdfViewer;isVisible=!1;_cMapsUrl=typeof n<"u"?`https://unpkg.com/pdfjs-dist@${Kn}/cmaps/`:null;_imageResourcesPath=typeof n<"u"?`https://unpkg.com/pdfjs-dist@${Kn}/web/images/`:void 0;_renderText=!0;_renderTextMode=Oh.ENABLED;_stickToPage=!1;_originalSize=!0;_pdf;_page=1;_zoom=1;_zoomScale="page-width";_rotation=0;_showAll=!0;_canAutoResize=!0;_fitToPage=!1;_externalLinkTarget="blank";_showBorders=!1;lastLoaded;_latestScrolledPage;pageScrollTimeout=null;isInitialized=!1;loadingTask;destroy$=new T.B;afterLoadComplete=new g.bkB;pageRendered=new g.bkB;pageInitialized=new g.bkB;textLayerRendered=new g.bkB;onError=new g.bkB;onProgress=new g.bkB;pageChange=new g.bkB(!0);src;set cMapsUrl(f){this._cMapsUrl=f}set page(f){const R=f=parseInt(f,10)||1;this._pdf&&(f=this.getValidPageNumber(f)),this._page=f,R!==f&&this.pageChange.emit(f)}set renderText(f){this._renderText=f}set renderTextMode(f){this._renderTextMode=f}set originalSize(f){this._originalSize=f}set showAll(f){this._showAll=f}set stickToPage(f){this._stickToPage=f}set zoom(f){f<=0||(this._zoom=f)}get zoom(){return this._zoom}set zoomScale(f){this._zoomScale=f}get zoomScale(){return this._zoomScale}set rotation(f){"number"==typeof f&&f%90==0?this._rotation=f:console.warn("Invalid pages rotation angle.")}set externalLinkTarget(f){this._externalLinkTarget=f}set autoresize(f){this._canAutoResize=!!f}set fitToPage(f){this._fitToPage=!!f}set showBorders(f){this._showBorders=!!f}static getLinkTarget(f){switch(f){case"blank":return bd.BLANK;case"none":return bd.NONE;case"self":return bd.SELF;case"parent":return bd.PARENT;case"top":return bd.TOP}return null}constructor(f,R){if(this.element=f,this.ngZone=R,yp())return;let J;const re=Kn;J=window[`pdfWorkerSrc${re}`]||(window.hasOwnProperty("pdfWorkerSrc")&&"string"==typeof window.pdfWorkerSrc&&window.pdfWorkerSrc?window.pdfWorkerSrc:`https://cdn.jsdelivr.net/npm/pdfjs-dist@${re}/legacy/build/pdf.worker.min.mjs`),Ap(u1,"workerSrc",J)}ngAfterViewChecked(){if(this.isInitialized)return;const f=this.pdfViewerContainer.nativeElement.offsetParent;!0!==this.isVisible||null!=f?!1===this.isVisible&&null!=f&&(this.isVisible=!0,setTimeout(()=>{this.initialize(),this.ngOnChanges({src:this.src})})):this.isVisible=!1}ngOnInit(){this.initialize(),this.setupResizeListener()}ngOnDestroy(){this.clear(),this.destroy$.next(),this.loadingTask=null}ngOnChanges(f){if(!yp()&&this.isVisible)if("src"in f)this.loadPDF();else if(this._pdf){if(("renderText"in f||"showAll"in f)&&(this.setupViewer(),this.resetPdfDocument()),"page"in f){const{page:R}=f;if(R.currentValue===this._latestScrolledPage)return;this.pdfViewer.scrollPageIntoView({pageNumber:this._page})}this.update()}}updateSize(){(0,O.H)(this._pdf.getPage(this.pdfViewer.currentPageNumber)).pipe((0,D.Q)(this.destroy$)).subscribe({next:f=>{const R=this._rotation+f.rotate,J=f.getViewport({scale:this._zoom,rotation:R}).width*qe.CSS_UNITS;let re=this._zoom,ve=!0;if(!this._originalSize||this._fitToPage&&J>this.pdfViewerContainer.nativeElement.clientWidth){const Ie=f.getViewport({scale:1,rotation:R});re=this.getScale(Ie.width,Ie.height),ve=!this._stickToPage}this.pdfViewer.pagesPromise?.then(()=>{this.pdfViewer.currentScale=re,ve&&this.pdfViewer.scrollPageIntoView({pageNumber:f.pageNumber,ignoreDestinationZoom:!0})})}})}clear(){this.loadingTask&&!this.loadingTask.destroyed&&this.loadingTask.destroy(),this._pdf&&(this._latestScrolledPage=0,this._pdf.destroy(),this._pdf=void 0),this.pdfViewer&&this.pdfViewer.setDocument(null),this.pdfLinkService&&this.pdfLinkService.setDocument(null,null),this.pdfFindController&&this.pdfFindController.setDocument(null)}getPDFLinkServiceConfig(){const f=qe.getLinkTarget(this._externalLinkTarget);return f?{externalLinkTarget:f}:{}}initEventBus(){this.eventBus=function Mm(qe,d){const f=new qe.EventBus;return function xc(qe,d){(0,m.R)(qe,"documentload").pipe((0,D.Q)(d)).subscribe(()=>{const f=document.createEvent("CustomEvent");f.initCustomEvent("documentload",!0,!0,{}),window.dispatchEvent(f)}),(0,m.R)(qe,"pagerendered").pipe((0,D.Q)(d)).subscribe(({pageNumber:f,cssTransform:R,source:J})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("pagerendered",!0,!0,{pageNumber:f,cssTransform:R}),J.div.dispatchEvent(re)}),(0,m.R)(qe,"textlayerrendered").pipe((0,D.Q)(d)).subscribe(({pageNumber:f,source:R})=>{const J=document.createEvent("CustomEvent");J.initCustomEvent("textlayerrendered",!0,!0,{pageNumber:f}),R.textLayerDiv?.dispatchEvent(J)}),(0,m.R)(qe,"pagechanging").pipe((0,D.Q)(d)).subscribe(({pageNumber:f,source:R})=>{const J=document.createEvent("UIEvents");J.initEvent("pagechanging",!0,!0),J.pageNumber=f,R.container.dispatchEvent(J)}),(0,m.R)(qe,"pagesinit").pipe((0,D.Q)(d)).subscribe(({source:f})=>{const R=document.createEvent("CustomEvent");R.initCustomEvent("pagesinit",!0,!0,null),f.container.dispatchEvent(R)}),(0,m.R)(qe,"pagesloaded").pipe((0,D.Q)(d)).subscribe(({pagesCount:f,source:R})=>{const J=document.createEvent("CustomEvent");J.initCustomEvent("pagesloaded",!0,!0,{pagesCount:f}),R.container.dispatchEvent(J)}),(0,m.R)(qe,"scalechange").pipe((0,D.Q)(d)).subscribe(({scale:f,presetValue:R,source:J})=>{const re=document.createEvent("UIEvents");re.initEvent("scalechange",!0,!0),re.scale=f,re.presetValue=R,J.container.dispatchEvent(re)}),(0,m.R)(qe,"updateviewarea").pipe((0,D.Q)(d)).subscribe(({location:f,source:R})=>{const J=document.createEvent("UIEvents");J.initEvent("updateviewarea",!0,!0),J.location=f,R.container.dispatchEvent(J)}),(0,m.R)(qe,"find").pipe((0,D.Q)(d)).subscribe(({source:f,type:R,query:J,phraseSearch:re,caseSensitive:ve,highlightAll:Ie,findPrevious:Fe})=>{if(f===window)return;const St=document.createEvent("CustomEvent");St.initCustomEvent("find"+R,!0,!0,{query:J,phraseSearch:re,caseSensitive:ve,highlightAll:Ie,findPrevious:Fe}),window.dispatchEvent(St)}),(0,m.R)(qe,"attachmentsloaded").pipe((0,D.Q)(d)).subscribe(({attachmentsCount:f,source:R})=>{const J=document.createEvent("CustomEvent");J.initCustomEvent("attachmentsloaded",!0,!0,{attachmentsCount:f}),R.container.dispatchEvent(J)}),(0,m.R)(qe,"sidebarviewchanged").pipe((0,D.Q)(d)).subscribe(({view:f,source:R})=>{const J=document.createEvent("CustomEvent");J.initCustomEvent("sidebarviewchanged",!0,!0,{view:f}),R.outerContainer.dispatchEvent(J)}),(0,m.R)(qe,"pagemode").pipe((0,D.Q)(d)).subscribe(({mode:f,source:R})=>{const J=document.createEvent("CustomEvent");J.initCustomEvent("pagemode",!0,!0,{mode:f}),R.pdfViewer.container.dispatchEvent(J)}),(0,m.R)(qe,"namedaction").pipe((0,D.Q)(d)).subscribe(({action:f,source:R})=>{const J=document.createEvent("CustomEvent");J.initCustomEvent("namedaction",!0,!0,{action:f}),R.pdfViewer.container.dispatchEvent(J)}),(0,m.R)(qe,"presentationmodechanged").pipe((0,D.Q)(d)).subscribe(({active:f,switchInProgress:R})=>{const J=document.createEvent("CustomEvent");J.initCustomEvent("presentationmodechanged",!0,!0,{active:f,switchInProgress:R}),window.dispatchEvent(J)}),(0,m.R)(qe,"outlineloaded").pipe((0,D.Q)(d)).subscribe(({outlineCount:f,source:R})=>{const J=document.createEvent("CustomEvent");J.initCustomEvent("outlineloaded",!0,!0,{outlineCount:f}),R.container.dispatchEvent(J)})}(f,d),f}(a,this.destroy$),(0,m.R)(this.eventBus,"pagerendered").pipe((0,D.Q)(this.destroy$)).subscribe(f=>{this.pageRendered.emit(f)}),(0,m.R)(this.eventBus,"pagesinit").pipe((0,D.Q)(this.destroy$)).subscribe(f=>{this.pageInitialized.emit(f)}),(0,m.R)(this.eventBus,"pagechanging").pipe((0,D.Q)(this.destroy$)).subscribe(({pageNumber:f})=>{this.pageScrollTimeout&&clearTimeout(this.pageScrollTimeout),this.pageScrollTimeout=window.setTimeout(()=>{this._latestScrolledPage=f,this.pageChange.emit(f)},100)}),(0,m.R)(this.eventBus,"textlayerrendered").pipe((0,D.Q)(this.destroy$)).subscribe(f=>{this.textLayerRendered.emit(f)})}initPDFServices(){this.pdfLinkService=new su({eventBus:this.eventBus,...this.getPDFLinkServiceConfig()}),this.pdfFindController=new qp({eventBus:this.eventBus,linkService:this.pdfLinkService})}getPDFOptions(){return{eventBus:this.eventBus,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfLinkService,textLayerMode:this._renderText?this._renderTextMode:Oh.DISABLED,findController:this.pdfFindController,l10n:new _h("en"),imageResourcesPath:this._imageResourcesPath,annotationEditorMode:Oa.DISABLE}}setupViewer(){this.pdfViewer&&this.pdfViewer.setDocument(null),Ap(n,"disableTextLayer",!this._renderText),this.initPDFServices(),this.pdfViewer=this._showAll?new gh(this.getPDFOptions()):new ku(this.getPDFOptions()),this.pdfLinkService.setViewer(this.pdfViewer),this.pdfViewer._currentPageNumber=this._page}getValidPageNumber(f){return f<1?1:f>this._pdf.numPages?this._pdf.numPages:f}getDocumentParams(){const f=typeof this.src;if(!this._cMapsUrl)return this.src;const R={cMapUrl:this._cMapsUrl,cMapPacked:!0,enableXfa:!0,isEvalSupported:!1};return"string"===f?R.url=this.src:"object"===f&&(void 0!==this.src.byteLength?R.data=this.src:Object.assign(R,this.src)),R}loadPDF(){if(!this.src)return;if(this.lastLoaded===this.src)return void this.update();this.clear(),this.setupViewer(),this.loadingTask=T0(this.getDocumentParams()),this.loadingTask.onProgress=R=>{this.onProgress.emit(R)};const f=this.src;(0,O.H)(this.loadingTask.promise).pipe((0,D.Q)(this.destroy$)).subscribe({next:R=>{this._pdf=R,this.lastLoaded=f,this.afterLoadComplete.emit(R),this.resetPdfDocument(),this.update()},error:R=>{this.lastLoaded=null,this.onError.emit(R)}})}update(){this.page=this._page,this.render()}render(){this._page=this.getValidPageNumber(this._page),(0!==this._rotation||this.pdfViewer.pagesRotation!==this._rotation)&&setTimeout(()=>{this.pdfViewer.pagesRotation=this._rotation}),this._stickToPage&&setTimeout(()=>{this.pdfViewer.currentPageNumber=this._page}),this.updateSize()}getScale(f,R){const J=this._showBorders?2*qe.BORDER_WIDTH:0,re=this.pdfViewerContainer.nativeElement.clientWidth-J,ve=this.pdfViewerContainer.nativeElement.clientHeight-J;if(0===ve||0===R||0===re||0===f)return 1;let Ie=1;switch(this._zoomScale){case"page-fit":Ie=Math.min(ve/R,re/f);break;case"page-height":Ie=ve/R;break;default:Ie=re/f}return this._zoom*Ie/qe.CSS_UNITS}resetPdfDocument(){this.pdfLinkService.setDocument(this._pdf,null),this.pdfFindController.setDocument(this._pdf),this.pdfViewer.setDocument(this._pdf)}initialize(){yp()||!this.isVisible||(this.isInitialized=!0,this.initEventBus(),this.setupViewer())}setupResizeListener(){yp()||this.ngZone.runOutsideAngular(()=>{(0,m.R)(window,"resize").pipe((0,E.B)(100),(0,y.p)(()=>this._canAutoResize&&!!this._pdf),(0,D.Q)(this.destroy$)).subscribe(()=>{this.updateSize()})})}static \u0275fac=function(R){return new(R||qe)(g.rXU(g.aKT),g.rXU(g.SKi))};static \u0275cmp=g.VBU({type:qe,selectors:[["pdf-viewer"]],viewQuery:function(R,J){if(1&R&&g.GBs(Vm,5),2&R){let re;g.mGM(re=g.lsd())&&(J.pdfViewerContainer=re.first)}},inputs:{src:"src",cMapsUrl:[0,"c-maps-url","cMapsUrl"],page:"page",renderText:[0,"render-text","renderText"],renderTextMode:[0,"render-text-mode","renderTextMode"],originalSize:[0,"original-size","originalSize"],showAll:[0,"show-all","showAll"],stickToPage:[0,"stick-to-page","stickToPage"],zoom:"zoom",zoomScale:[0,"zoom-scale","zoomScale"],rotation:"rotation",externalLinkTarget:[0,"external-link-target","externalLinkTarget"],autoresize:"autoresize",fitToPage:[0,"fit-to-page","fitToPage"],showBorders:[0,"show-borders","showBorders"]},outputs:{afterLoadComplete:"after-load-complete",pageRendered:"page-rendered",pageInitialized:"pages-initialized",textLayerRendered:"text-layer-rendered",onError:"error",onProgress:"on-progress",pageChange:"pageChange"},features:[g.OA$],decls:3,vars:0,consts:[["pdfViewerContainer",""],[1,"ng2-pdf-viewer-container"],[1,"pdfViewer"]],template:function(R,J){1&R&&(g.j41(0,"div",1,0),g.nrm(2,"div",2),g.k0s())},styles:['.ng2-pdf-viewer-container[_ngcontent-%COMP%]{overflow-x:auto;position:absolute;height:100%;width:100%;-webkit-overflow-scrolling:touch}[_nghost-%COMP%]{display:block;position:relative}[_nghost-%COMP%]    {--pdfViewer-padding-bottom: 0;--page-margin: 1px auto -8px;--page-border: 9px solid transparent;--spreadHorizontalWrapped-margin-LR: -3.5px;--viewer-container-height: 0;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width=\'1px\' height=\'1px\' xmlns=\'http://www.w3.org/2000/svg\'><rect width=\'100%\' height=\'100%\' style=\'fill:rgba(0, 54, 255, 0.13);\'/></svg>");--xfa-unfocused-field-background: var( --annotation-unfocused-field-background );--page-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAA1ElEQVQ4jbWUWw6EIAxFy2NFs/8NzR4UJhpqLsdi5mOmSSMUOfYWqv3S0gMr4XlYH/64gZa/gN3ANYA7KAXALt4ktoQ5MI9YxqaG8bWmsIysMuT6piSQCa4whZThCu8CM4zP9YJaKci9jicPq3NcBWYoPMGUlhG7ivtkB+gVyFY75wXghOvh8t5mto1Mdim6e+MBqH6XsY+YAwjpq3vGF7weTWQptLEDVCZvPTMl5JZZsdh47FHW6qFMyvLYqjcnmdFfY9Xk/KDOlzCusX2mi/ofM7MPkzBcSp4Q1/wAAAAASUVORK5CYII=) 9 9 repeat;--scale-factor: 1;--focus-outline: solid 2px blue;--hover-outline: dashed 2px blue;--freetext-line-height: 1.35;--freetext-padding: 2px;--editorInk-editing-cursor: pointer}@media screen and (forced-colors: active){[_nghost-%COMP%]    {--pdfViewer-padding-bottom: 9px;--page-margin: 8px auto -1px;--page-border: 1px solid CanvasText;--page-border-image: none;--spreadHorizontalWrapped-margin-LR: 3.5px}}@media (forced-colors: active){[_nghost-%COMP%]    {--focus-outline: solid 3px ButtonText;--hover-outline: dashed 3px ButtonText}}[_nghost-%COMP%]     .textLayer{position:absolute;text-align:initial;inset:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}[_nghost-%COMP%]     .textLayer span, [_nghost-%COMP%]     .textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}[_nghost-%COMP%]     .textLayer span.markedContent{top:0;height:0}[_nghost-%COMP%]     .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}[_nghost-%COMP%]     .textLayer .highlight.appended{position:initial}[_nghost-%COMP%]     .textLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%]     .textLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%]     .textLayer .highlight.middle{border-radius:0}[_nghost-%COMP%]     .textLayer .highlight.selected{background-color:#006400}[_nghost-%COMP%]     .textLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%]     .textLayer br::selection{background:transparent}[_nghost-%COMP%]     .textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}[_nghost-%COMP%]     .textLayer .endOfContent.active{top:0}@media (forced-colors: active){[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%]     .annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0}[_nghost-%COMP%]     .annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0}[_nghost-%COMP%]     .annotationLayer .linkAnnotation>a, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.pushButton>canvas{width:100%;height:100%}[_nghost-%COMP%]     .annotationLayer .linkAnnotation>a:hover, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgb(255,255,0);box-shadow:0 2px 10px #ff0}[_nghost-%COMP%]     .annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input, [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea, [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid red}[_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select option{padding:0}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea{resize:none}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input[disabled], [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea[disabled], [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select[disabled], [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input:hover, [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea:hover, [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select:hover, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:hover, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgb(0,0,0)}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input:focus, [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea:focus, [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input :focus, [_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation textarea :focus, [_nghost-%COMP%]     .annotationLayer .choiceWidgetAnnotation select :focus, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox :focus, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}[_nghost-%COMP%]     .annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}[_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%]     .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;appearance:none}[_nghost-%COMP%]     .annotationLayer .popupTriggerArea{height:100%;width:100%}[_nghost-%COMP%]     .annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}[_nghost-%COMP%]     .annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}[_nghost-%COMP%]     .annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%]     .annotationLayer .popup h1{display:inline-block}[_nghost-%COMP%]     .annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}[_nghost-%COMP%]     .annotationLayer .popupContent{border-top:1px solid rgb(51,51,51);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}[_nghost-%COMP%]     .annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%]     .annotationLayer .highlightAnnotation, [_nghost-%COMP%]     .annotationLayer .underlineAnnotation, [_nghost-%COMP%]     .annotationLayer .squigglyAnnotation, [_nghost-%COMP%]     .annotationLayer .strikeoutAnnotation, [_nghost-%COMP%]     .annotationLayer .freeTextAnnotation, [_nghost-%COMP%]     .annotationLayer .lineAnnotation svg line, [_nghost-%COMP%]     .annotationLayer .squareAnnotation svg rect, [_nghost-%COMP%]     .annotationLayer .circleAnnotation svg ellipse, [_nghost-%COMP%]     .annotationLayer .polylineAnnotation svg polyline, [_nghost-%COMP%]     .annotationLayer .polygonAnnotation svg polygon, [_nghost-%COMP%]     .annotationLayer .caretAnnotation, [_nghost-%COMP%]     .annotationLayer .inkAnnotation svg polyline, [_nghost-%COMP%]     .annotationLayer .stampAnnotation, [_nghost-%COMP%]     .annotationLayer .fileAttachmentAnnotation{cursor:pointer}[_nghost-%COMP%]     .annotationLayer section svg{position:absolute;width:100%;height:100%}[_nghost-%COMP%]     .annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}[_nghost-%COMP%]     .annotationLayer .annotationTextContent span{width:100%;display:inline-block}@media (forced-colors: active){[_nghost-%COMP%]     .xfaLayer *:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%]     .xfaLayer .highlight{margin:-1px;padding:1px;background-color:#efcbed;border-radius:4px}[_nghost-%COMP%]     .xfaLayer .highlight.appended{position:initial}[_nghost-%COMP%]     .xfaLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%]     .xfaLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%]     .xfaLayer .highlight.middle{border-radius:0}[_nghost-%COMP%]     .xfaLayer .highlight.selected{background-color:#cbdfcb}[_nghost-%COMP%]     .xfaLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%]     .xfaPage{overflow:hidden;position:relative}[_nghost-%COMP%]     .xfaContentarea{position:absolute}[_nghost-%COMP%]     .xfaPrintOnly{display:none}[_nghost-%COMP%]     .xfaLayer{position:absolute;text-align:initial;top:0;left:0;transform-origin:0 0;line-height:1.2}[_nghost-%COMP%]     .xfaLayer *{color:inherit;font:inherit;font-style:inherit;font-weight:inherit;font-kerning:inherit;letter-spacing:-.01px;text-align:inherit;text-decoration:inherit;box-sizing:border-box;background-color:transparent;padding:0;margin:0;pointer-events:auto;line-height:inherit}[_nghost-%COMP%]     .xfaLayer *:required{outline:1.5px solid red}[_nghost-%COMP%]     .xfaLayer div{pointer-events:none}[_nghost-%COMP%]     .xfaLayer svg{pointer-events:none}[_nghost-%COMP%]     .xfaLayer svg *{pointer-events:none}[_nghost-%COMP%]     .xfaLayer a{color:#00f}[_nghost-%COMP%]     .xfaRich li{margin-left:3em}[_nghost-%COMP%]     .xfaFont{color:#000;font-weight:400;font-kerning:none;font-size:10px;font-style:normal;letter-spacing:0;text-decoration:none;vertical-align:0}[_nghost-%COMP%]     .xfaCaption{overflow:hidden;flex:0 0 auto}[_nghost-%COMP%]     .xfaCaptionForCheckButton{overflow:hidden;flex:1 1 auto}[_nghost-%COMP%]     .xfaLabel{height:100%;width:100%}[_nghost-%COMP%]     .xfaLeft{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%]     .xfaRight{display:flex;flex-direction:row-reverse;align-items:center}[_nghost-%COMP%]     .xfaLeft>.xfaCaption, [_nghost-%COMP%]     .xfaLeft>.xfaCaptionForCheckButton, [_nghost-%COMP%]     .xfaRight>.xfaCaption, [_nghost-%COMP%]     .xfaRight>.xfaCaptionForCheckButton{max-height:100%}[_nghost-%COMP%]     .xfaTop{display:flex;flex-direction:column;align-items:flex-start}[_nghost-%COMP%]     .xfaBottom{display:flex;flex-direction:column-reverse;align-items:flex-start}[_nghost-%COMP%]     .xfaTop>.xfaCaption, [_nghost-%COMP%]     .xfaTop>.xfaCaptionForCheckButton, [_nghost-%COMP%]     .xfaBottom>.xfaCaption, [_nghost-%COMP%]     .xfaBottom>.xfaCaptionForCheckButton{width:100%}[_nghost-%COMP%]     .xfaBorder{background-color:transparent;position:absolute;pointer-events:none}[_nghost-%COMP%]     .xfaWrapped{width:100%;height:100%}[_nghost-%COMP%]     .xfaTextfield:focus, [_nghost-%COMP%]     .xfaSelect:focus{background-image:none;background-color:transparent;outline:auto;outline-offset:-1px}[_nghost-%COMP%]     .xfaCheckbox:focus, [_nghost-%COMP%]     .xfaRadio:focus{outline:auto}[_nghost-%COMP%]     .xfaTextfield, [_nghost-%COMP%]     .xfaSelect{height:100%;width:100%;flex:1 1 auto;border:none;resize:none;background-image:var(--xfa-unfocused-field-background)}[_nghost-%COMP%]     .xfaTop>.xfaTextfield, [_nghost-%COMP%]     .xfaTop>.xfaSelect, [_nghost-%COMP%]     .xfaBottom>.xfaTextfield, [_nghost-%COMP%]     .xfaBottom>.xfaSelect{flex:0 1 auto}[_nghost-%COMP%]     .xfaButton{cursor:pointer;width:100%;height:100%;border:none;text-align:center}[_nghost-%COMP%]     .xfaLink{width:100%;height:100%;position:absolute;top:0;left:0}[_nghost-%COMP%]     .xfaCheckbox, [_nghost-%COMP%]     .xfaRadio{width:100%;height:100%;flex:0 0 auto;border:none}[_nghost-%COMP%]     .xfaRich{white-space:pre-wrap;width:100%;height:100%}[_nghost-%COMP%]     .xfaImage{object-position:left top;object-fit:contain;width:100%;height:100%}[_nghost-%COMP%]     .xfaLrTb, [_nghost-%COMP%]     .xfaRlTb, [_nghost-%COMP%]     .xfaTb{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%]     .xfaLr{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%]     .xfaRl{display:flex;flex-direction:row-reverse;align-items:stretch}[_nghost-%COMP%]     .xfaTb>div{justify-content:left}[_nghost-%COMP%]     .xfaPosition{position:relative}[_nghost-%COMP%]     .xfaArea{position:relative}[_nghost-%COMP%]     .xfaValignMiddle{display:flex;align-items:center}[_nghost-%COMP%]     .xfaTable{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%]     .xfaTable .xfaRow{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%]     .xfaTable .xfaRlRow{display:flex;flex-direction:row-reverse;align-items:stretch;flex:1}[_nghost-%COMP%]     .xfaTable .xfaRlRow>div{flex:1}[_nghost-%COMP%]     .xfaNonInteractive input, [_nghost-%COMP%]     .xfaNonInteractive textarea, [_nghost-%COMP%]     .xfaDisabled input, [_nghost-%COMP%]     .xfaDisabled textarea, [_nghost-%COMP%]     .xfaReadOnly input, [_nghost-%COMP%]     .xfaReadOnly textarea{background:initial}@media print{[_nghost-%COMP%]     .xfaTextfield, [_nghost-%COMP%]     .xfaSelect{background:transparent}[_nghost-%COMP%]     .xfaSelect{-webkit-appearance:none;appearance:none;text-indent:1px;text-overflow:""}}[_nghost-%COMP%]     [data-editor-rotation="90"]{transform:rotate(90deg)}[_nghost-%COMP%]     [data-editor-rotation="180"]{transform:rotate(180deg)}[_nghost-%COMP%]     [data-editor-rotation="270"]{transform:rotate(270deg)}[_nghost-%COMP%]     .annotationEditorLayer{background:transparent;position:absolute;top:0;left:0;font-size:calc(100px * var(--scale-factor));transform-origin:0 0}[_nghost-%COMP%]     .annotationEditorLayer .selectedEditor{outline:var(--focus-outline);resize:none}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor{position:absolute;background:transparent;border-radius:3px;padding:calc(var(--freetext-padding) * var(--scale-factor));resize:none;width:auto;height:auto;z-index:1;transform-origin:0 0;touch-action:none}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor .internal{background:transparent;border:none;top:0;left:0;overflow:visible;white-space:nowrap;resize:none;font:10px sans-serif;line-height:var(--freetext-line-height)}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor .overlay{position:absolute;display:none;background:transparent;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor .overlay.enabled{display:block}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor .internal:empty:before{content:attr(default-content);color:gray}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor .internal:focus{outline:none}[_nghost-%COMP%]     .annotationEditorLayer .inkEditor.disabled{resize:none}[_nghost-%COMP%]     .annotationEditorLayer .inkEditor.disabled.selectedEditor{resize:horizontal}[_nghost-%COMP%]     .annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor), [_nghost-%COMP%]     .annotationEditorLayer .inkEditor:hover:not(.selectedEditor){outline:var(--hover-outline)}[_nghost-%COMP%]     .annotationEditorLayer .inkEditor{position:absolute;background:transparent;border-radius:3px;overflow:auto;width:100%;height:100%;z-index:1;transform-origin:0 0;cursor:auto}[_nghost-%COMP%]     .annotationEditorLayer .inkEditor.editing{resize:none;cursor:var(--editorInk-editing-cursor),pointer}[_nghost-%COMP%]     .annotationEditorLayer .inkEditor .inkEditorCanvas{position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none}[_nghost-%COMP%]     [data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[_nghost-%COMP%]     [data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[_nghost-%COMP%]     [data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}[_nghost-%COMP%]     .pdfViewer{padding-bottom:var(--pdfViewer-padding-bottom)}[_nghost-%COMP%]     .pdfViewer .canvasWrapper{overflow:hidden}[_nghost-%COMP%]     .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:var(--page-margin);position:relative;overflow:visible;border:var(--page-border);border-image:var(--page-border-image);background-clip:content-box;background-color:#fff}[_nghost-%COMP%]     .pdfViewer .dummyPage{position:relative;width:0;height:var(--viewer-container-height)}[_nghost-%COMP%]     .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}[_nghost-%COMP%]     .pdfViewer.singlePageView{display:inline-block}[_nghost-%COMP%]     .pdfViewer.singlePageView .page{margin:0;border:none}[_nghost-%COMP%]     .pdfViewer.scrollHorizontal, [_nghost-%COMP%]     .pdfViewer.scrollWrapped, [_nghost-%COMP%]     .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}[_nghost-%COMP%]     .pdfViewer.scrollHorizontal, [_nghost-%COMP%]     .spread{white-space:nowrap}[_nghost-%COMP%]     .pdfViewer.removePageBorders, [_nghost-%COMP%]     .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%]     .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}[_nghost-%COMP%]     .spread .page, [_nghost-%COMP%]     .spread .dummyPage, [_nghost-%COMP%]     .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%]     .pdfViewer.scrollWrapped .page, [_nghost-%COMP%]     .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%]     .pdfViewer.scrollWrapped .spread{display:inline-block;vertical-align:middle}[_nghost-%COMP%]     .spread .page, [_nghost-%COMP%]     .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%]     .pdfViewer.scrollWrapped .page{margin-left:var(--spreadHorizontalWrapped-margin-LR);margin-right:var(--spreadHorizontalWrapped-margin-LR)}[_nghost-%COMP%]     .pdfViewer.removePageBorders .spread .page, [_nghost-%COMP%]     .pdfViewer.removePageBorders.scrollHorizontal .page, [_nghost-%COMP%]     .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}[_nghost-%COMP%]     .pdfViewer .page canvas{margin:0;display:block}[_nghost-%COMP%]     .pdfViewer .page canvas[hidden]{display:none}[_nghost-%COMP%]     .pdfViewer .page .loadingIcon{position:absolute;display:block;inset:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQQAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/ilPcHRpbWl6ZWQgd2l0aCBodHRwczovL2V6Z2lmLmNvbS9vcHRpbWl6ZQAh+QQJBwAQACwAAAAAGAAYAAAFmiAkjiTkOGVaBgjZNGSgkgKjjM8zLoI8iy+BKCdiCX8iBeMAhEEIPRXLxViYUE9CbCQoFAzFhHY3zkaT3oPvBz1zE4UBsr1eWZH4vAowOBwGAHk8AoQLfH6Agm0Ed3qOAXWOIgQKiWyFJQgDgJEpdG+WEACNEFNFmKVlVzJQk6qdkwqBoi1mebJ3ALNGeIZHtGSwNDS1RZKueCEAIfkECQcAEAAsAAAAABgAGAAABZcgJI4kpChlWgYCWRQkEKgjURgjw4zOg9CjVwuiEyEeO6CxkBC9nA+HiuUqLEyoBZI0Mx4SAFFgQCDZuguBoGv6Dtg0gvpqdhxQQDkBzuUr/4A1JwMKP39pc2mDhYCIc4GQYn6QCwCMeY91l0p6dBAEJ0OfcFRimZ91Mwt0alxxAIZyRmuAsKxDLKKvZbM1tJxmvGKRpn8hACH5BAkHABAALAAAAAAYABgAAAWhICSOJGQYZVoGAnkcJBKoI3EAY1GMCtPSosSBINKJBIwGkHdwBGGQA0OhYpEGQxNqkYzNIITBACEKKBaxxNfBeOCO4vMy0Hg8nDHFeCktkKtfNAtoS4UqAicKBj9zBAKPC4iKi4aRkISGmWWBmjUIAIyHkCUEAKCVo2WmREecVqoCgZhgP4NHrGWCj7e3szSpuxAsoVWxnp6cVV4kyZW+KSEAIfkECQcAEAAsAAAAABgAGAAABZkgJI4kBABlWgYEOQykEKgjMSDjcYxG0dKi108nEhQKQN4rCIMkCgbawjWYnSCLY2yGVSgEooBhWqsGGwxc0RtNBgoMhmJ1QgETjANYFeBKyUmBKQQIdT9JDmgPDQ6EhoKJD4sOgpWWgiwChyqEBH5hmptSoSOZgJ4kLKWkYTF7C2SaqaM/hEWygay4mYG8t6uffFuzl1iANCEAIfkECQcAEAAsAAAAABgAGAAABZ0gJI4khCBlmhKkopBCoI6LIozDMAIHO4uuBVBnOiR+I4FrCDwAZsKdQnaCLIwwmRUA8JmioprWUCjcwlwUMnAoG0qL03k2KCS8cC0UjOzDCQKBfHQFDAwFU4CCfgqFhy9+kZJWgzSKSAcPZn+BfQENDw8OljGWJAFeDoZPYTBnC1GdSXqnsoBolSulX2GyP6hgvnG0KrS3NJNhuSQhACH5BAkHABAALAAAAAAYABgAAAWaICSOJCQIZZoupGGQRKCOC0CMijIiwz2LABtQZxoMfjQhxAXszWQ7gOwECRhh0MCJJRJARTUoIHFAgbfI6uBwAJS01J/i4PClVYHvfV8lbLlIBmwFbQt+aGmChG18jXeGT4dICQxlb4g/AQUMDER9XjR6BAdiDQwINDBmkAsPDVh4cX4imw53iLKuaVqAcUsPqEiidkt6j4AzIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiREEGWaBiSCtCoZCMsIAKOg1LEo0KKbaKFQ9EYLoOkFuQlirNxzCQkUW9GZ0hQd4nyDAWr4G/esYSbyZFYZwu3jqiuvr8u8I2BwOAwASXh1e31/doeHC3klWnElfAlTd46MfQUGk2stCVEGBQWSdCciDg5VDAVYKoEiDQ0iBwxGcj9RDw8+qHIzebc2DJJQJK6qiKVyIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiS0LGWaBiRBtCoZCKgoCCMB1DF0sz6cCQDo5W62l28XAyZFpyECBv3lnCbhUqHMIo0Qg4Jbmn1jRCa4iV27TzfXGjEecOFWMN1OdvvfPGUuXSoKBw6EXokrAwcHRVU0UAeEBANAAAmUI1gNDyhjJgUHLW0iDg8FIqOnBQZrDA9TELE2rEYIDw4jta2LMpCrqld/YQpgIQAh+QQJBwAQACwAAAAAGAAYAAAFmyAkjiS0LGWaBiRBkKw6BgIqCsJcyyMe4yJajhcEml5H26o1PN2QQd3uFiv2AADlAgflIbDdZLgkABOJgep5LfWty4p4zeU+w+XsvJWXliEKDwdEBgMKYQ4PDw1qK3EDCCMAiQ5BCV0LCj+FSDQkgCgGBiYHAy2MIgoMghAHqw4HAGsNDEMFBTekdgwKI7aRB2MwkL2rVHoQoWchACH5BAkHABAALAAAAAAYABgAAAWWICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkfbqjU83ZBB3e4WK0qrCxyU55peid0qcUwuixyNx6PhILsAcAJazXYj4lvz2MkLiFsHDAlEcABKZwwMBX8pBgoKQxAIigpBA1sLBj+PSDQkB4uSACYDlTMyBgWDEKVnl2QFBUigN61gBQYjtLV5JZ4jtlR6omMhACH5BAkHABAALAAAAAAYABgAAAWaICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkdbidYanm7I4AjwYDh6saJuJ3JUG1mZi9srPA7EcRimJLrfJYWZUVC8TziXnEG3u/E+cIJaPAFrPQl1aQAIbRAGBZGHJQiMUQKRBkEKbQsAPZaEXQcslSYKmjMyAAdXj34ACkNEiUgDA5t+PAQHn6Ogjkuzry2DNwhuIQAh+QQFBwAQACwAAAAAGAAYAAAFnCAkjiS0LGVaBgBJEGSguo8zCsK4CPIsMg+ECCcKEH0ix6MwhJl4KiOp8UCdmrEbo6EoHpxF8A6aBBZ6vhf5dmAkkGr0CoWs21WGQ2FvsI9xC3l7B311fy93iWGKJQQOhHCAJQB6A3IqcWwJLU90i2FkUiMKlhBELEI6MwgDXRAGhQgAYD6tTqRFAJxpA6mvrqazSKJJhUWMpjlIIQA7) center no-repeat}[_nghost-%COMP%]     .pdfViewer .page .loadingIcon.notVisible{background:none}[_nghost-%COMP%]     .pdfViewer.enablePermissions .textLayer span{-webkit-user-select:none!important;user-select:none!important;cursor:not-allowed}[_nghost-%COMP%]     .pdfPresentationMode .pdfViewer{padding-bottom:0}[_nghost-%COMP%]     .pdfPresentationMode .spread{margin:0}[_nghost-%COMP%]     .pdfPresentationMode .pdfViewer .page{margin:0 auto;border:2px solid transparent}']})}return qe})(),Om=(()=>{class qe{static \u0275fac=function(R){return new(R||qe)};static \u0275mod=g.$C({type:qe});static \u0275inj=g.G2t({})}return qe})()},2490:(at,N,s)=>{"use strict";s.d(N,{O:()=>g});var n=s(93953),a=s(60177);let g=(()=>{class m{constructor(O,D){this.document=O,this.platformId=D,this.documentIsAccessible=(0,a.UE)(this.platformId)}static getCookieRegExp(O){const D=O.replace(/([\[\]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+D+"|;\\s*"+D+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(O){try{return decodeURIComponent(O)}catch{return O}}check(O){return!!this.documentIsAccessible&&(O=encodeURIComponent(O),m.getCookieRegExp(O).test(this.document.cookie))}get(O){if(this.documentIsAccessible&&this.check(O)){O=encodeURIComponent(O);const E=m.getCookieRegExp(O).exec(this.document.cookie);return E[1]?m.safeDecodeURIComponent(E[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const O={},D=this.document;return D.cookie&&""!==D.cookie&&D.cookie.split(";").forEach(E=>{const[y,I]=E.split("=");O[m.safeDecodeURIComponent(y.replace(/^ /,""))]=m.safeDecodeURIComponent(I)}),O}set(O,D,E,y,I,b,L,o){if(!this.documentIsAccessible)return;if("number"==typeof E||E instanceof Date||y||I||b||L)return void this.set(O,D,{expires:E,path:y,domain:I,secure:b,sameSite:L||"Lax",partitioned:o});let C=encodeURIComponent(O)+"="+encodeURIComponent(D)+";";const w=E||{};w.expires&&(C+="number"==typeof w.expires?"expires="+new Date((new Date).getTime()+1e3*w.expires*60*60*24).toUTCString()+";":"expires="+w.expires.toUTCString()+";"),w.path&&(C+="path="+w.path+";"),w.domain&&(C+="domain="+w.domain+";"),!1===w.secure&&"None"===w.sameSite&&(w.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${O} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),w.secure&&(C+="secure;"),w.sameSite||(w.sameSite="Lax"),C+="sameSite="+w.sameSite+";",w.partitioned&&(C+="Partitioned;"),this.document.cookie=C}delete(O,D,E,y,I="Lax"){this.documentIsAccessible&&this.set(O,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:D,domain:E,secure:y,sameSite:I})}deleteAll(O,D,E,y="Lax"){if(!this.documentIsAccessible)return;const I=this.getAll();for(const b in I)I.hasOwnProperty(b)&&this.delete(b,O,D,E,y)}static#e=this.\u0275fac=function(D){return new(D||m)(n.KVO(a.qQ),n.KVO(n.Agw))};static#t=this.\u0275prov=n.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})()},32266:(at,N,s)=>{"use strict";s.d(N,{Kg:()=>x});var n=s(93953),a=s(60177);const g={UKNOWN:"Unknown"},m={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:g.UKNOWN},T={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n      A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n      MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n      ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n      WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n      XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n      XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n      GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n      GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n      GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n      GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n      GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n      GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n      GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n      GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n      GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n      GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n      GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n      GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n      GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n      GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n      GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n      GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n      GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n      SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n      SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n      SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n      SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n      SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n      SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n      SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n      SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n      SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n      SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n      SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n      SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n      SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n      SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n      SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n      SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n      SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n      SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n      SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n      SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n      SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n      SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n      SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n      SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|\n      SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n      SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n      SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n      SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n      SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n      SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n      SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n      GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n      GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n      GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n      SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n      SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n      SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n      LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n      C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n      LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n      VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n      MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n        IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n        IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n        CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n        P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n        SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|\n        CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel|Mobile; rv:49.0|Mobile; ALCATEL 4052R; rv:48.0/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n        up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},O={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n        GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n        SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n        GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n        SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n        GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n        SHV-E230S|SHW-M180K|SHW-M180L|SM-T865|SM-T290|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n        SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n        GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T385M|SM-P585M|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n        SM-P601|SM-P605|SM-P615|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n        GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n        SM-T510|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n        SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T500|SM-T330|\n        SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n        SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n        SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n        SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n        SM-T719|SM-T725|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n        SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-P585Y|SM-X200|SM-T970"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n        KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome        /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n        TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n        Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n        ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n        ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n        W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n        \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n        PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n        PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n        PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n        PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n        YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n        B8000|B8080)(-|)(FL|F|HV|H|)|TB-X606F|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L|TB-8504F"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n        TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n        TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n        TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n        TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n         Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n        SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n        EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n        SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n        MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n        MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n        MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n        Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n        Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n        S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09|AGS-L09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\bNabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n        TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n        TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n        TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n        TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n        TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n        TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n        T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n        Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n        PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n        PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n        PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n        TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n        TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n        TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n        TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n        TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n        TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n        MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n        TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n        GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n        TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n        TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n        FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n        FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n        Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n        Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n        S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n        P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n        Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n        Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n        Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n        Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n        PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n        PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n        TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n        NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n        \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n        \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n        \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n        \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n        \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n        \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n        \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n        \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n        V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n        V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n        Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n        \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n        MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n        POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n        FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n        TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,Honeywell:/RT10A/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n        A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n        Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")},D={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",MAC:"Macintosh",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:g.UKNOWN,HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",HONEYWELL:"Honeywell",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone",MI_SE_9:"Mi SE 9"},E=[D.PS4,D.CHROME_BOOK,D.MAC,D.DELL,D.ASUS,D.UNKNOWN],y={WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:g.UKNOWN},I={WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_11_0:"mac-os-x-11-0",MACOSX_16:"mac-os-x-16",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",ANDROID_9:"android-9",UNKNOWN:g.UKNOWN.toLowerCase()},b={WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},o={...T,...O,...b,FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/,Tesla:/Tesla\/([0-9]{4}.[0-9]{1,2}.?[0-9]{0,2}.?[0-9]{0,2})-(.{7})/,MI_SE_9:/\bXiaomi\b/,MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\b/,/\bWindows Phone\b/]}}]}},C={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,MACOSX_16:/(Mac OS X 10.16)/,MACOSX_11_0:{or:[/11_0 like Mac OS X/,/Mac OS X 11/]},iOS:/(iPhone OS\s*[0-9_]+)/,ANDROID_9:/(Android 9)/},w={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},M=Object.keys(C).reduce((B,j)=>(B[j]=C[j],B),{}),q=Object.keys(w).reduce((B,j)=>(B[m[j]]=w[j],B),{});var z=Object.freeze({__proto__:null,BROWSERS:m,BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},BROWSER_VERSIONS_RE:q,BROWSER_VERSIONS_RE_MAP:w,DESKTOP_DEVICES:E,DEVICES:D,DEVICES_RE:o,GENERAL:g,MOBILES_RE:T,OS:y,OS_RE:b,OS_VERSIONS:I,OS_VERSIONS_RE:M,OS_VERSIONS_RE_MAP:C,TABLETS_RE:O});class F{constructor(){}test(j,$){return"string"==typeof $&&($=new RegExp($)),$ instanceof RegExp?$.test(j):$&&Array.isArray($.and)?$.and.every(H=>this.test(j,H)):$&&Array.isArray($.or)?$.or.some(H=>this.test(j,H)):!(!$||!$.not||this.test(j,$.not))}exec(j,$){return"string"==typeof $&&($=new RegExp($)),$ instanceof RegExp?$.exec(j):$&&Array.isArray($)?$.reduce((H,ie)=>H||this.exec(j,ie),null):null}}var U=function(B){return B.Mobile="mobile",B.Tablet="tablet",B.Desktop="desktop",B.Unknown="unknown",B}(U||{}),k=function(B){return B.Portrait="portrait",B.Landscape="landscape",B}(k||{});const Y="iPad";let x=(()=>{class B{constructor($){this.platformId=$,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new F,this.deviceType="",this.orientation="",(0,a.UE)(this.platformId)&&typeof window<"u"&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}setDeviceInfo($=this.userAgent){$!==this.userAgent&&(this.userAgent=$);const H=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(H.forEach(ie=>{this[ie.prop]=Object.keys(z[ie.const]).reduce((ne,Q)=>"device"===z[ie.const][Q]&&(0,a.UE)(this.platformId)&&(this.reTree.test(this.userAgent,O[Y])||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(ne[z[ie.const][Q]]=Y,Object):(ne[z[ie.const][Q]]=this.reTree.test($,z[`${ie.const}_RE`][Q]),ne),{})}),H.forEach(ie=>{this[ie.prop]=Object.keys(z[ie.const]).map(ne=>z[ie.const][ne]).reduce((ne,Q)=>"device"===ie.prop&&ne===z[ie.const].ANDROID?this[ie.prop][Q]?Q:ne:ne===z[ie.const].UNKNOWN&&this[ie.prop][Q]?Q:ne,z[ie.const].UNKNOWN)}),this.browser_version="0",this.browser!==m.UNKNOWN){const ne=this.reTree.exec($,q[this.browser]);ne&&(this.browser_version=ne[1])}this.orientation=typeof window<"u"&&window.matchMedia?window.matchMedia("(orientation: landscape)").matches?k.Landscape:k.Portrait:g.UKNOWN,this.deviceType=this.isTablet()?U.Tablet:this.isMobile(this.userAgent)?U.Mobile:this.isDesktop(this.userAgent)?U.Desktop:U.Unknown}getDeviceInfo(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version,deviceType:this.deviceType,orientation:this.orientation}}isMobile($=this.userAgent){return!this.isTablet($)&&!!Object.keys(T).find(ie=>this.reTree.test($,T[ie]))}isTablet($=this.userAgent){return!(!(0,a.UE)(this.platformId)||!(this.reTree.test(this.userAgent,O[Y])||typeof navigator<"u"&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))||!!Object.keys(O).find(ie=>!!this.reTree.test($,O[ie]))}isDesktop($=this.userAgent){return(this.device!==D.UNKNOWN||!this.isMobile($)&&!this.isTablet($))&&E.indexOf(this.device)>-1}static#e=this.\u0275fac=function(H){return new(H||B)(n.KVO(n.Agw))};static#t=this.\u0275prov=n.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},10467:(at,N,s)=>{"use strict";function n(g,m,T,O,D,E,y){try{var I=g[E](y),b=I.value}catch(L){return void T(L)}I.done?m(b):Promise.resolve(b).then(O,D)}function a(g){return function(){var m=this,T=arguments;return new Promise(function(O,D){var E=g.apply(m,T);function y(b){n(E,O,D,y,I,"next",b)}function I(b){n(E,O,D,y,I,"throw",b)}y(void 0)})}}s.d(N,{A:()=>a})},31635:(at,N,s)=>{"use strict";function L(de,Me,me,be){return new(me||(me=Promise))(function(Ae,Oe){function Xe(ze){try{$e(be.next(ze))}catch(Be){Oe(Be)}}function Pe(ze){try{$e(be.throw(ze))}catch(Be){Oe(Be)}}function $e(ze){ze.done?Ae(ze.value):function Le(Ae){return Ae instanceof me?Ae:new me(function(Oe){Oe(Ae)})}(ze.value).then(Xe,Pe)}$e((be=be.apply(de,Me||[])).next())})}function k(de){return this instanceof k?(this.v=de,this):new k(de)}function Y(de,Me,me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Le,be=me.apply(de,Me||[]),Ae=[];return Le={},Xe("next"),Xe("throw"),Xe("return",function Oe(Ct){return function(Lt){return Promise.resolve(Lt).then(Ct,Be)}}),Le[Symbol.asyncIterator]=function(){return this},Le;function Xe(Ct,Lt){be[Ct]&&(Le[Ct]=function(Vt){return new Promise(function(ht,gt){Ae.push([Ct,Vt,ht,gt])>1||Pe(Ct,Vt)})},Lt&&(Le[Ct]=Lt(Le[Ct])))}function Pe(Ct,Lt){try{!function $e(Ct){Ct.value instanceof k?Promise.resolve(Ct.value.v).then(ze,Be):Ye(Ae[0][2],Ct)}(be[Ct](Lt))}catch(Vt){Ye(Ae[0][3],Vt)}}function ze(Ct){Pe("next",Ct)}function Be(Ct){Pe("throw",Ct)}function Ye(Ct,Lt){Ct(Lt),Ae.shift(),Ae.length&&Pe(Ae[0][0],Ae[0][1])}}function B(de){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,Me=de[Symbol.asyncIterator];return Me?Me.call(de):(de=function M(de){var Me="function"==typeof Symbol&&Symbol.iterator,me=Me&&de[Me],be=0;if(me)return me.call(de);if(de&&"number"==typeof de.length)return{next:function(){return de&&be>=de.length&&(de=void 0),{value:de&&de[be++],done:!de}}};throw new TypeError(Me?"Object is not iterable.":"Symbol.iterator is not defined.")}(de),me={},be("next"),be("throw"),be("return"),me[Symbol.asyncIterator]=function(){return this},me);function be(Ae){me[Ae]=de[Ae]&&function(Oe){return new Promise(function(Xe,Pe){!function Le(Ae,Oe,Xe,Pe){Promise.resolve(Pe).then(function($e){Ae({value:$e,done:Xe})},Oe)}(Xe,Pe,(Oe=de[Ae](Oe)).done,Oe.value)})}}}s.d(N,{AQ:()=>Y,N3:()=>k,sH:()=>L,xN:()=>B}),"function"==typeof SuppressedError&&SuppressedError},21681:at=>{"use strict";at.exports=JSON.parse('{"version":"2024a","zones":["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Nairobi|LMT +0230 EAT +0245|-2r.g -2u -30 -2J|012132|-2ua2r.g N6nV.g 3Fbu h1cu dzbJ|47e5","Africa/Algiers|LMT PMT WET WEST CET CEST|-c.c -9.l 0 -10 -10 -20|01232323232323232454542423234542324|-3bQ0c.c MDA2.P cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT GMT +0030 WAT|-d.z 0 -u -10|01023|-2B40d.z 7iod.z dnXK.p dLzH.z|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldX0 2xoo0|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|LMT EET EEST|-25.9 -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2MBC5.9 1AQM5.9 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0 kSp0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0|15e6","Africa/Casablanca|LMT +00 +01|u.k 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5","Africa/Ceuta|LMT WET WEST CET CEST|l.g 0 -10 -10 -20|0121212121212121212121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2M0M0 GdX0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 +00 +01|Q.M 10 0 -10|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|20e4","Africa/Johannesburg|LMT SAST SAST SAST|-1Q -1u -20 -30|0123232|-39EpQ qTcm 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Juba|LMT CAT CAST EAT|-26.s -20 -30 -30|012121212121212121212121212121212131|-1yW26.s 1zK06.s 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 PeX0|","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|012121212121212121212121212121212131|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0 HjL0|51e5","Africa/Monrovia|LMT MMT MMT GMT|H.8 H.8 I.u 0|0123|-3ygng.Q 1usM0 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Sao_Tome|LMT LMT GMT WAT|-q.U A.J 0 -10|01232|-3tooq.U 18aoq.U 4i6N0 2q00|","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|LMT PMT CET CEST|-E.I -9.l -10 -20|01232323232323232323232323232323232|-3zO0E.I 1cBAv.n 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|LMT +0130 SAST SAST CAT WAT|-18.o -1u -20 -30 -20 -10|012324545454545454545454545454545454545454545454545454|-39Ep8.o qTbC.o 1Ajdu 1cL0 1SqL0 9Io0 16P0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|LMT LMT NST NWT NPT BST BDT AHST HST HDT|-cd.m bK.C b0 a0 a0 b0 a0 a0 a0 90|01234256565656565656565656565656565678989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898|-48Pzs.L 1jVzf.p 1EX1d.m 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|LMT LMT AST AWT APT AHST AHDT YST AKST AKDT|-e0.o 9X.A a0 90 90 a0 90 90 90 80|01234256565656565656565656565656565678989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898|-48Pzs.L 1jVxs.n 1EX20.o 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Puerto_Rico|LMT AST AWT APT|4o.p 40 30 30|01231|-2Qi7z.z 1IUbz.z 7XT0 iu0|24e5","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|LMT CMT -04 -03 -02|3R.M 4g.M 40 30 20|012323232323232323232323232323232323232323234343434343434343|-331U6.c 125cn pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Catamarca|LMT CMT -04 -03 -02|4n.8 4g.M 40 30 20|012323232323232323232323232323232323232323234343434243432343|-331TA.Q 125bR.E pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Cordoba|LMT CMT -04 -03 -02|4g.M 4g.M 40 30 20|012323232323232323232323232323232323232323234343434243434343|-331TH.c 125c0 pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0|","America/Argentina/Jujuy|LMT CMT -04 -03 -02|4l.c 4g.M 40 30 20|0123232323232323232323232323232323232323232343434232434343|-331TC.M 125bT.A pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0|","America/Argentina/La_Rioja|LMT CMT -04 -03 -02|4r.o 4g.M 40 30 20|0123232323232323232323232323232323232323232343434342343432343|-331Tw.A 125bN.o pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Mendoza|LMT CMT -04 -03 -02|4z.g 4g.M 40 30 20|012323232323232323232323232323232323232323234343423232432343|-331To.I 125bF.w pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0|","America/Argentina/Rio_Gallegos|LMT CMT -04 -03 -02|4A.Q 4g.M 40 30 20|012323232323232323232323232323232323232323234343434343432343|-331Tn.8 125bD.U pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0|","America/Argentina/Salta|LMT CMT -04 -03 -02|4l.E 4g.M 40 30 20|0123232323232323232323232323232323232323232343434342434343|-331TC.k 125bT.8 pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0|","America/Argentina/San_Juan|LMT CMT -04 -03 -02|4y.4 4g.M 40 30 20|0123232323232323232323232323232323232323232343434342343432343|-331Tp.U 125bG.I pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0|","America/Argentina/San_Luis|LMT CMT -04 -03 -02|4p.o 4g.M 40 30 20|0123232323232323232323232323232323232323232343434232323432323|-331Ty.A 125bP.o pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0|","America/Argentina/Tucuman|LMT CMT -04 -03 -02|4k.Q 4g.M 40 30 20|01232323232323232323232323232323232323232323434343424343234343|-331TD.8 125bT.U pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0|","America/Argentina/Ushuaia|LMT CMT -04 -03 -02|4x.c 4g.M 40 30 20|012323232323232323232323232323232323232323234343434343432343|-331Tq.M 125bH.A pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0|","America/Asuncion|LMT AMT -04 -03|3O.E 3O.E 40 30|0123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-3eLw9.k 1FGo0 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Panama|LMT CMT EST|5i.8 5j.A 50|012|-3eLuF.Q Iy01.s|15e5","America/Bahia_Banderas|LMT MST CST MDT PST CDT|71 70 60 60 80 50|0121312141313131313131313131313131313152525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|84e3","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Barbados|LMT AST ADT -0330|3W.t 40 30 3u|0121213121212121|-2m4k1.v 1eAN1.v RB0 1Bz0 Op0 1rb0 11d0 1jJc0 IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CWT CPT CDT|5Q.M 60 5u 50 50 50|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121215151|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu Rcu 7Bt0 Ni0 4nd0 Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu e9Au qn0 lxB0 mn0|57e3","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|LMT BMT -05 -04|4U.g 4U.g 50 40|01232|-3sTv3.I 1eIo0 38yo3.I 1PX0|90e5","America/Boise|LMT PST PDT MST MWT MPT MDT|7I.N 80 70 70 60 60 60|01212134536363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-3tFE0 1nEe0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDT CST CDT EST|0 70 60 60 60 60 50 50|012314141414141414141414141414141414141414141414141414141414567541414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-21Jc0 RO90 8x20 ix0 14HB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|LMT CMT -0430 -04|4r.I 4r.E 4u 40|012323|-3eLvw.g ROnX.U 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Chicago|LMT CST CDT EST CWT CPT|5O.A 60 50 50 50 50|012121212121212121212121212121212121213121212121214512121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFG0 1nEe0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST MDT CDT|74.k 70 60 60 50|0121312424231313131313131313131313131313131313131313131313132|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4","America/Ciudad_Juarez|LMT MST CST MDT CDT|75.U 70 60 60 50|01213124242313131313131313131313131313131313131313131313131321313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 cm0 EP0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Costa_Rica|LMT SJMT CST CDT|5A.d 5A.d 60 50|01232323232|-3eLun.L 1fyo0 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Phoenix|LMT MST MDT MWT|7s.i 70 60 60|012121313121|-3tFF0 1nEe0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Cuiaba|LMT -04 -03|3I.k 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson_Creek|LMT PST PDT PWT PPT MST|80.U 80 70 70 70 70|01213412121212121212121212121212121212121212121212121212125|-3tofX.4 1nspX.4 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Dawson|LMT YST YDT YWT YPT YDDT PST PDT MST|9h.E 90 80 80 80 70 80 70 70|0121213415167676767676767676767676767676767676767676767676767676767676767676767676767676767678|-2MSeG.k GWpG.k 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|13e2","America/Denver|LMT MST MDT MWT MPT|6X.U 70 60 60 60|012121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFF0 1nEe0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|0123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 JxX1 SMX 1cN0 1cL0 aW10 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|0121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 XQp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 4Q00 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|LMT PST PDT PWT PPT MST|8a.L 80 70 70 70 70|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121215|-3tofN.d 1nspN.d 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|LMT CST CDT CWT CPT EST EDT|5I.C 60 50 50 50 50 40|0121212134121212121212121212151565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02 -01|3q.U 30 20 10|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 2so0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|LMT NST NDT NST NDT NWT NPT AST ADT ADDT|41.E 3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|0121343434343434356343434343434343434343434343434343434343437878787878787878787878787878787878787878787879787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787|-3tojW.k 1nspt.c 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|LMT KMT EST EDT AST|4I.w 57.a 50 40 40|01232323232323232323232323232323232323232323232323232323232323232323232323243232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3eLvf.s RK0m.C 2HHBQ.O 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 7jA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|LMT QMT -05 -04|5j.k 5e 50 40|01232|-3eLuE.E 1DNzS.E 2uILK rz0|27e5","America/Guyana|LMT -04 -0345 -03|3Q.D 40 3J 30|01231|-2mf87.l 8Hc7.l 2r7bJ Ey0f|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|LMT HMT CST CDT|5t.s 5t.A 50 40|0123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3eLuu.w 1qx00.8 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST MDT PST|7n.Q 70 60 60 80|0121312141313131|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|LMT CST CDT CWT CPT EST|5K.u 60 50 50 50 50|01212134121212121212121212121212121212151212121212121212121212121212121212121212121212121252121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Marengo|LMT CST CDT CWT CPT EST EDT|5J.n 60 50 50 50 50 40|01212134121212121212121215656565656525656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Petersburg|LMT CST CDT CWT CPT EST EDT|5N.7 60 50 50 50 50 40|012121341212121212121212121215121212121212121212121252125656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Tell_City|LMT CST CDT CWT CPT EST EDT|5L.3 60 50 50 50 50 40|012121341212121212121212121512165652121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 8wn0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vevay|LMT CST CDT CWT CPT EST EDT|5E.g 60 50 50 50 50 40|0121213415656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Vincennes|LMT CST CDT CWT CPT EST EDT|5O.7 60 50 50 50 50 40|012121341212121212121212121212121565652125656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Indiana/Winamac|LMT CST CDT CWT CPT EST EDT|5K.p 60 50 50 50 50 40|012121341212121212121212121212121212121565652165656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Inuvik|-00 PST PDT MDT MST|0 80 70 60 70|01212121212121213434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-FnA0 L3K0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDT CST CDT|0 40 40 50 40 60 50|0123434343434343434343434343434343434343434343434343434343456343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-16K00 7nX0 iv0 14HB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|LMT KMT EST EDT|57.a 57.a 50 40|01232323232323232323232|-3eLuQ.O RK00 2uM1Q.O 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|LMT LMT PST PWT PPT PDT YDT YST AKST AKDT|-f2.j 8V.F 80 70 70 70 80 90 90 80|0123425252525252525252525252625252578989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898|-48Pzs.L 1jVwq.s 1EX12.j 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|LMT CST CDT CWT CPT EST EDT|5H.2 60 50 50 50 50 40|01212121213412121212121212121212121212565656565656525656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 1nX1 e0X 9vd0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Kentucky/Monticello|LMT CST CDT CWT CPT EST EDT|5D.o 60 50 50 50 50 40|01212134121212121212121212121212121212121212121212121212121212121212121212565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFG0 1nEe0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/La_Paz|LMT CMT BST -04|4w.A 4w.A 3w.A 40|0123|-3eLvr.o 1FIo0 13b0|19e5","America/Lima|LMT LMT -05 -04|58.c 58.A 50 40|01232323232323232|-3eLuP.M JcM0.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|LMT PST PDT PWT PPT|7Q.W 80 70 70 70|0121213412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFE0 1nEe0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|LMT MMT CST EST CDT|5J.8 5J.c 60 50 50|01232424232324242|-3eLue.Q 1Mhc0.4 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|LMT FFMT AST ADT|44.k 44.k 40 30|01232|-3eLvT.E PTA0 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6u 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST MDT PST|75.E 70 60 60 80|0121312141313131313131313131313131313131313131313131313131313131|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|44e4","America/Menominee|LMT CST CDT CWT CPT EST|5O.r 60 50 50 50 50|012121341212152121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3pdG9.x 1jce9.x 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|11e5","America/Metlakatla|LMT LMT PST PWT PPT PDT AKST AKDT|-fd.G 8K.i 80 70 70 70 90 80|0123425252525252525252525252525252526767672676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-48Pzs.L 1jVwf.5 1EX1d.G 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST MDT CDT CWT|6A.A 70 60 60 50 50|012131242425242424242424242424242424242424242424242424242424242424242|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mxUf.k 2LHcf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|LMT EST AST ADT AWT APT|4j.8 50 40 30 30 30|0123232323232323232323245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3txvE.Q J4ME.Q CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|41e5","America/Montevideo|LMT MMT -04 -03 -0330 -0230 -02 -0130|3I.P 3I.P 40 30 3u 2u 20 1u|012343434343434343434343435353636353636375363636363636363636363636363636363636363636363|-2tRUf.9 sVc0 8jcf.9 1db0 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1fAu 1cLu 1o0u 11zu NAu 3jXu zXu Dq0u 19Xu pcu jz0 cm10 19X0 6tB0 1fbu 3o0u jX0 4vB0 xz0 3Cp0 mmu 1a10 IMu Db0 4c10 uL0 1Nd0 An0 1SN0 uL0 mp0 28L0 iPB0 un0 1SN0 xz0 1zd0 Lz0 1zd0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|LMT EST EDT EWT EPT|5h.w 50 40 40 40|012121212121212121212121212121212121212121212123412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-32B6G.s UFdG.s 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1qL0 11B0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/New_York|LMT EST EDT EWT EPT|4U.2 50 40 40 40|012121212121212121212121212121212121212121212121213412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tFH0 1nEe0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nome|LMT LMT NST NWT NPT BST BDT YST AKST AKDT|-cW.m b1.C b0 a0 a0 b0 a0 90 90 80|01234256565656565656565656565656565678989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898|-48Pzs.L 1jVyu.p 1EX1W.m 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|LMT MST MDT MWT MPT CST CDT|6L.7 70 60 60 60 60 50|0121213412121212121212121212121212121212121212121212121212121212121212121212121212121212121212125656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFF0 1nEe0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/Center|LMT MST MDT MWT MPT CST CDT|6J.c 70 60 60 60 60 50|0121213412121212121212121212121212121212121212121212121212125656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFF0 1nEe0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/North_Dakota/New_Salem|LMT MST MDT MWT MPT CST CDT|6J.D 70 60 60 60 60 50|0121213412121212121212121212121212121212121212121212121212121212121212121212121212565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tFF0 1nEe0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","America/Ojinaga|LMT MST CST MDT CDT|6V.E 70 60 60 50|0121312424231313131313131313131313131313131313131313131313132424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 Rc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Port-au-Prince|LMT PPMT EST EDT|4N.k 4N 50 40|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3eLva.E 15RLX.E 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Punta_Arenas|LMT SMT -05 -04 -03|4H.E 4G.J 50 40 30|01213132323232323232343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-3eLvg.k MJbX.5 fJAh.f 5knG.J 1Vzh.f jRAG.J 1pbh.f 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|","America/Winnipeg|LMT CST CDT CWT CPT|6s.A 60 50 50 50|0121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3kLtv.o 1a3bv.o WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Rankin_Inlet|-00 CST CDT EST|0 60 50 50|01212121212121212121212121212121212121212121212121212121212321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-vDc0 Bjk0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDT EST|0 60 50 50|01212121212121212121212121212121212121212121212121212121212321212121212321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-SnA0 103I0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|LMT SMT -05 -04 -03|4G.J 4G.J 50 40 30|0121313232323232323432343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-3eLvh.f MJc0 fJAh.f 5knG.J 1Vzh.f jRAG.J 1pbh.f 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 hX0 1q10 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0|62e5","America/Santo_Domingo|LMT SDMT EST EDT -0430 AST|4D.A 4E 50 40 4u 40|012324242424242525|-3eLvk.o 1Jic0.o 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|012132323232323232323232323232323232323232323232323232323232323232323232323232323232323232121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 2pA0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|452","America/Sitka|LMT LMT PST PWT PPT PDT YST AKST AKDT|-eW.L 91.d 80 70 70 70 90 90 80|0123425252525252525252525252525252567878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787|-48Pzs.L 1jVwu 1EX0W.L 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|LMT NST NDT NST NDT NWT NPT NDDT|3u.Q 3u.Q 2u.Q 3u 2u 2u 2u 1u|012121212121212121212121212121212121213434343434343435634343434343434343434343434343434343434343434343434343434343434343434343434343434343437343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-3tokt.8 1l020 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Vancouver|LMT PST PDT PWT PPT|8c.s 80 70 70 70|01213412121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3tofL.w 1nspL.w 1in0 UGp0 8x10 iy0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|LMT YST YDT YWT YPT YDDT PST PDT MST|90.c 90 80 80 80 70 80 70 70|0121213415167676767676767676767676767676767676767676767676767676767676767676767676767676767678|-2MSeX.M GWpX.M 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 LA0 ytd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/Yakutat|LMT LMT YST YWT YPT YDT AKST AKDT|-eF.5 9i.T 90 80 80 80 90 80|0123425252525252525252525252525252526767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-48Pzs.L 1jVwL.G 1EX1F.5 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","Antarctica/Casey|-00 +08 +11|0 -80 -b0|012121212121212121|-2q00 1DjS0 T90 40P0 KL0 blz0 3m10 1o30 14k0 1kr0 12l0 1o01 14kX 1lf1 14kX 1lf1 13bX|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Pacific/Port_Moresby|LMT PMMT +10|-9M.E -9M.w -a0|012|-3D8VM.E AvA0.8|25e4","Antarctica/Macquarie|-00 AEST AEDT|0 -a0 -b0|0121012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2OPc0 Fb40 1a00 4SK0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 3Co0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|LMT NZMT NZST NZST NZDT|-bD.4 -bu -cu -c0 -d0|012131313131313131313131313134343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-46jLD.4 2nEO9.4 Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +07 +05|0 -70 -50|01012|-tjA0 1rWh0 1Nj0 1aTv0|25","Europe/Berlin|LMT CET CEST CEMT|-R.s -10 -20 -30|012121212121212321212321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-36RcR.s UbWR.s 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|41e5","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|0123232323232323232323212323232323232323232323232321|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 L4m0|15e5","Asia/Amman|LMT EET EEST +03|-2n.I -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212123|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|","Asia/Baghdad|LMT BMT +03 +04|-2V.E -2V.A -30 -40|0123232323232323232323232323232323232323232323232323232|-3eLCV.E 18ao0.4 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|LMT BMT +07|-6G.4 -6G.4 -70|012|-3D8SG.4 1C000|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|","Asia/Beirut|LMT EET EEST|-2m -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3D8Om 1BWom 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|42e4","Asia/Kolkata|LMT HMT MMT IST +0630|-5R.s -5R.k -5l.a -5u -6u|01234343|-4Fg5R.s BKo0.8 1rDcw.a 1r2LP.a 1un0 HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|LMT CST CDT|-85.H -80 -90|012121212121212121212121212121|-2M0U5.H Iuo5.H 18n0 OjB0 Rz0 11d0 1wL0 A10 8HX0 1G10 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 aL0 1tU30 Rb0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|LMT MMT +0530 +06 +0630|-5j.o -5j.w -5u -60 -6u|012342432|-3D8Rj.o 13inX.Q 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|LMT HMT +0630 +0530 +06 +07|-61.E -5R.k -6u -5u -60 -70|01232454|-3eLG1.E 26008.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST +03|-2p.c -20 -30 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212123|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|","Asia/Gaza|LMT EET EEST IST IDT|-2h.Q -20 -30 -20 -30|0121212121212121212121212121212121234343434343434343434343434343431212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2MBCh.Q 1Azeh.Q MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 1cN0 1cL0 1a10 1fz0 17d0 1in0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1lb0 14p0 1in0 17d0 1cL0 1cN0 19X0 1fB0 14n0 jB0 2L0 11B0 WL0 gN0 8n0 11B0 TX0 gN0 bb0 11B0 On0 jB0 dX0 11B0 Lz0 gN0 mn0 WN0 IL0 gN0 pb0 WN0 Db0 jB0 rX0 11B0 xz0 gN0 xz0 11B0 rX0 jB0 An0 11B0 pb0 gN0 IL0 WN0 mn0 gN0 Lz0 WN0 gL0 jB0 On0 11B0 bb0 gN0 TX0 11B0 5z0 jB0 WL0 11B0 2L0 jB0 11z0 1ip0 19X0 1cN0 1cL0 17d0 1in0 14p0 1lb0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1nX0 14p0 1in0 17d0 1fz0 1a10 19X0 1fB0 17b0 gN0 2L0 WN0 14n0 gN0 5z0 WN0 WL0 jB0 8n0 11B0 Rb0 gN0 dX0 11B0 Lz0 jB0 gL0 11B0 IL0 jB0 mn0 WN0 FX0 gN0 rX0 WN0 An0 jB0 uL0 11B0 uL0 gN0 An0 11B0 rX0 gN0 Db0 11B0 mn0 jB0 FX0 11B0 jz0 gN0 On0 WN0 dX0 jB0 Rb0 WN0 bb0 jB0 TX0 11B0 5z0 gN0 11z0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0|18e5","Asia/Hebron|LMT EET EEST IST IDT|-2k.n -20 -30 -20 -30|012121212121212121212121212121212123434343434343434343434343434343121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2MBCk.n 1Azek.n MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 pBa0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nA0 1210 1qL0 WN0 1qL0 WN0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 1cN0 1cL0 1a10 1fz0 17d0 1in0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1lb0 14p0 1in0 17d0 1cL0 1cN0 19X0 1fB0 14n0 jB0 2L0 11B0 WL0 gN0 8n0 11B0 TX0 gN0 bb0 11B0 On0 jB0 dX0 11B0 Lz0 gN0 mn0 WN0 IL0 gN0 pb0 WN0 Db0 jB0 rX0 11B0 xz0 gN0 xz0 11B0 rX0 jB0 An0 11B0 pb0 gN0 IL0 WN0 mn0 gN0 Lz0 WN0 gL0 jB0 On0 11B0 bb0 gN0 TX0 11B0 5z0 jB0 WL0 11B0 2L0 jB0 11z0 1ip0 19X0 1cN0 1cL0 17d0 1in0 14p0 1lb0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1nX0 14p0 1in0 17d0 1fz0 1a10 19X0 1fB0 17b0 gN0 2L0 WN0 14n0 gN0 5z0 WN0 WL0 jB0 8n0 11B0 Rb0 gN0 dX0 11B0 Lz0 jB0 gL0 11B0 IL0 jB0 mn0 WN0 FX0 gN0 rX0 WN0 An0 jB0 uL0 11B0 uL0 gN0 An0 11B0 rX0 gN0 Db0 11B0 mn0 jB0 FX0 11B0 jz0 gN0 On0 WN0 dX0 jB0 Rb0 WN0 bb0 jB0 TX0 11B0 5z0 gN0 11z0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.u -76.u -70 -80 -90|0123423232|-2yC76.u bK00 1h7b6.u 5lz0 18o0 3Oq0 k5c0 aVX0 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST HKWT JST|-7A.G -80 -90 -8u -90|0123412121212121212121212121212121212121212121212121212121212121212121|-2CFH0 1taO0 Hc0 xUu 9tBu 11z0 1tDu Rc0 1wo0 11A0 1cM0 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|LMT IMT +07 +08 +09|-6V.5 -6V.5 -70 -80 -90|012343434343434343434343234343434343434343434343434343434343434343|-3D8SV.5 1Bxc0 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|LMT IMT EET EEST +03 +04|-1T.Q -1U.U -20 -30 -30 -40|01232323232323232323232323232323232323232323232345423232323232323232323232323232323232323232323232323232323232323234|-3D8NT.Q 1ePXW.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSN0 CL0 mp0 1Vz0 1gN0 8yn0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1ip0 19X0 1ip0 17b0 qdB0 38L0 1jd0 Tz0 l6O0 11A0 WN0 1qL0 TB0 1tX0 U10 1tz0 11B0 1in0 17d0 z90 cne0 pb0 2Cp0 1800 14o0 1dc0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|LMT BMT +0720 +0730 +09 +08 WIB|-77.c -77.c -7k -7u -90 -80 -70|012343536|-49jH7.c 2hiLL.c luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|LMT JMT IST IDT IDDT|-2k.S -2k.E -20 -30 -40|012323232323232432323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3D8Ok.S 1wvA0.e SyOk.E MM0 iM0 4JA0 10o0 1pA0 10M0 1pA0 16o0 1jA0 16o0 1jA0 3LA0 Eo0 oo0 1co0 1dA0 16o0 10M0 1jc0 1tA0 14o0 1cM0 1a00 11A0 1Nc0 Ao0 1Nc0 Ao0 1Ko0 LA0 1o00 WM0 EQK0 Db0 1fB0 Rb0 bXB0 gM0 8Q00 IM0 1wo0 TX0 1HB0 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|LMT +04 +0430|-4A.M -40 -4u|012|-3eLEA.M 2dTcA.M|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|LMT SMT +07 +0720 +0730 +09 +08|-6T.p -6T.p -70 -7k -7u -90 -80|01234546|-2M0ST.p aIM0 17anT.p l5XE 17bO 8Fyu 1so10|71e5","Asia/Macau|LMT CST +09 +10 CDT|-7y.a -80 -90 -a0 -90|012323214141414141414141414141414141414141414141414141414141414141414141|-2CFHy.a 1uqKy.a PX0 1kn0 15B0 11b0 4Qq0 1oM0 11c0 1ko0 1u00 11A0 1cM0 11c0 1o00 11A0 1o00 11A0 1oo0 1400 1o00 11A0 1o00 U00 1tA0 U00 1wo0 Rc0 1wru U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cK0 1cO0 1cK0 1cO0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|LMT LMT PST PDT JST|fU -84 -80 -90 -90|01232423232|-54m84 2clc0 1vfc4 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|012313|-2um8n 97XR 1lTzu 2Onc0 6BA0|29e5","Asia/Qostanay|LMT +04 +05 +06|-4e.s -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc4e.s eUoe.s 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 Mv90|","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|01232323232323232323232323232323232323232323232|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 zQl0|73e4","Asia/Rangoon|LMT RMT +0630 +09|-6o.L -6o.L -6u -90|01232|-3D8So.L 1BnA0 SmnS.L 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -a0 -9u|012343434343151515151515134343|-2um8r.Q 97XV.Q 1m1zu 6CM0 Fz0 1kN0 14n0 1kN0 14L0 1zd0 On0 69B0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|LMT CST JST CDT|-86 -80 -90 -90|012131313131313131313131313131313131313131|-30bk6 1FDc6 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|LMT TBMT +03 +04 +05|-2X.b -2X.b -30 -40 -50|01234343434343434343434323232343434343434343434323|-3D8OX.b 1LUM0 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +0430 +04 +05|-3p.I -3p.I -3u -4u -40 -50|012345423232323232323232323232323232323232323232323232323232323232323232|-2btDp.I Llc0 1FHaT.I 1pc0 120u Rc0 XA0 Wou JX0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|LMT JST JDT|-9i.X -90 -a0|0121212121|-3jE90 2qSo0 Rc0 1lc0 14o0 1zc0 Oo0 1zc0 Oo0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|LMT HMT -02 -01 +00 WET|1G.E 1S.w 20 10 0 0|01232323232323232323232323232323232323232323234323432343234323232323232323232323232323232323232323232343434343434343434343434343434345434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-3tomh.k 18aoh.k aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|LMT BMT BST AST ADT|4j.i 4j.i 3j.i 40 30|0121213434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-3eLvE.G 16mo0 1bb0 1i10 11X0 ru30 thbE.G 1PX0 11B0 1tz0 Rd0 1zb0 Op0 1zb0 3I10 Lz0 1EN0 FX0 1HB0 FX0 1Kp0 Db0 1Kp0 Db0 1Kp0 FX0 93d0 11z0 GAp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2ldW0 1eEo0 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|LMT FMT -01 +00 +01 WET WEST|17.A 17.A 10 0 -10 0 -10|01232323232323232323232323232323232323232323234323432343234323232323232323232323232323232323232323232565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-3tomQ.o 18anQ.o aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e4","Atlantic/South_Georgia|LMT -02|2q.8 20|01|-3eLxx.Q|30","Atlantic/Stanley|LMT SMT -04 -03 -02|3P.o 3P.o 40 30 20|0123232323232323434323232323232323232323232323232323232323232323232323|-3eLw8.A S200 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|LMT AEST AEDT|-a4.Q -a0 -b0|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-32oW4.Q RlC4.Q xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|LMT ACST ACST ACDT|-9e.k -90 -9u -au|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-32oVe.k ak0e.k H1Bu xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|LMT AEST AEDT|-ac.8 -a0 -b0|012121212121212121|-32Bmc.8 Ry2c.8 xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|LMT AEST ACST ACST ACDT|-9p.M -a0 -90 -9u -au|0123434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-32oVp.M 3Lzp.M 6wp0 H1Bu xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Hobart|LMT AEST AEDT|-9N.g -a0 -b0|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-3109N.g Pk1N.g 1a00 1qM0 Oo0 1zc0 Oo0 TAo0 yM0 1cM0 1cM0 1fA0 1a00 VfA0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Darwin|LMT ACST ACST ACDT|-8H.k -90 -9u -au|01232323232|-32oUH.k ajXH.k H1Bu xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00|12e4","Australia/Eucla|LMT +0845 +0945|-8z.s -8J -9J|01212121212121212121|-30nIz.s PkpO.s xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Lord_Howe|LMT AEST +1030 +1130 +11|-aA.k -a0 -au -bu -b0|01232323232424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424|-32oWA.k 3tzAA.k 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|LMT AEST AEDT|-9T.U -a0 -b0|0121212121212121212121|-32BlT.U Ry1T.U xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|LMT AEST AEDT|-9D.Q -a0 -b0|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-32oVD.Q RlBD.Q xc0 10jc0 yM0 1cM0 1cM0 1fA0 1a00 17c00 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|LMT AWST AWDT|-7H.o -80 -90|01212121212121212121|-30nHH.o PkpH.o xc0 10jc0 yM0 1cM0 1cM0 1gSo0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|","Pacific/Easter|LMT EMT -07 -06 -05|7h.s 7h.s 70 60 50|0123232323232323232323232323234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-3eLsG.w 1HRc0 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0|30e2","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|","Europe/Dublin|LMT DMT IST GMT BST IST|p.l p.l -y.D 0 -10 -10|012343434343435353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353|-3BHby.D 1ra20 Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g600 14o0 1wo0 17c0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|12e5","EST|EST|50|0||","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Etc/GMT-0|GMT|0|0||","Etc/GMT-1|+01|-10|0||","Etc/GMT-10|+10|-a0|0||","Etc/GMT-11|+11|-b0|0||","Etc/GMT-12|+12|-c0|0||","Etc/GMT-13|+13|-d0|0||","Etc/GMT-14|+14|-e0|0||","Etc/GMT-2|+02|-20|0||","Etc/GMT-3|+03|-30|0||","Etc/GMT-4|+04|-40|0||","Etc/GMT-5|+05|-50|0||","Etc/GMT-6|+06|-60|0||","Etc/GMT-7|+07|-70|0||","Etc/GMT-8|+08|-80|0||","Etc/GMT-9|+09|-90|0||","Etc/GMT+1|-01|10|0||","Etc/GMT+10|-10|a0|0||","Etc/GMT+11|-11|b0|0||","Etc/GMT+12|-12|c0|0||","Etc/GMT+2|-02|20|0||","Etc/GMT+3|-03|30|0||","Etc/GMT+4|-04|40|0||","Etc/GMT+5|-05|50|0||","Etc/GMT+6|-06|60|0||","Etc/GMT+7|-07|70|0||","Etc/GMT+8|-08|80|0||","Etc/GMT+9|-09|90|0||","Etc/UTC|UTC|0|0||","Europe/Brussels|LMT BMT WET CET CEST WEST|-h.u -h.u 0 -10 -20 -10|012343434325252525252525252525252525252525252525252525434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-3D8Mh.u u1Ah.u SO00 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|21e5","Europe/Andorra|LMT WET CET CEST|-6.4 0 -10 -20|0123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2M0M6.4 1Pnc6.4 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|10e5","Europe/Athens|LMT AMT EET EEST CEST CET|-1y.Q -1y.Q -20 -30 -20 -10|0123234545232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-30SNy.Q OMM1 CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|35e5","Europe/London|LMT GMT BST BDST|1.f 0 -10 -20|01212121212121212121212121212121212121212121212121232323232321212321212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-4VgnW.J 2KHdW.J Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|LMT CET CEST|-1m -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3topm 2juLm 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|12e5","Europe/Prague|LMT PMT CET CEST GMT|-V.I -V.I -10 -20 0|0123232323232323232423232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-4QbAV.I 1FDc0 XPaV.I 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 1qM0 11c0 mp0 xA0 mn0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|13e5","Europe/Bucharest|LMT BMT EET EEST|-1I.o -1I.o -20 -30|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3awpI.o 1AU00 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|LMT CET CEST|-1g.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-3cK1g.k 124Lg.k 11d0 1iO0 11A0 1o00 11A0 1oo0 11c0 1lc0 17c0 O1V0 3Nf0 WM0 1fA0 1cM0 1cM0 1oJ0 1dd0 1020 1fX0 1cp0 1cM0 1cM0 1cM0 1fA0 1a00 bhy0 Rb0 1wr0 Rc0 1C00 LA0 1C00 LA0 SNW0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cO0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|LMT BMT CET CEST|-y.8 -t.K -10 -20|0123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-4HyMy.8 1Dw04.m 1SfAt.K 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|LMT CMT BMT EET EEST CEST CET MSK MSD|-1T.k -1T -1I.o -20 -30 -20 -10 -30 -40|0123434343434343434345656578787878787878787878434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-3D8NT.k 1wNA0.k wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|67e4","Europe/Gibraltar|LMT GMT BST BDST CET CEST|l.o 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123232323232121232121212121212121212145454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-3BHbC.A 1ra1C.A Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|LMT HMT EET EEST|-1D.N -1D.N -20 -30|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3H0ND.N 1Iu00 OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|LMT CET CEST EET EEST MSK MSD +03|-1m -10 -20 -20 -30 -30 -40 -30|012121212121212343565656565656565654343434343434343434343434343434343434343434373|-36Rdm UbXm 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 390 7A0 1en0 12N0 1pbb0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|LMT KMT EET MSK CEST CET MSD EEST|-22.4 -22.4 -20 -30 -20 -10 -40 -30|01234545363636363636363636367272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-3D8O2.4 1LUM0 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o10 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05 MSD MSK MSK|-3i.M -30 -40 -50 -40 -30 -40|0123232323232323232454524545454545454545454545454545454545454565|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 2pz0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2le00 aPX0 Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Europe/Madrid|LMT WET WEST WEMT CET CEST|e.I 0 -10 -20 -10 -20|0121212121212121212321454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2M0M0 G5z0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|62e5","Europe/Malta|LMT CET CEST|-W.4 -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-35rcW.4 SXzW.4 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|LMT MMT EET MSK CEST CET MSD EEST +03|-1O.g -1O -20 -30 -20 -10 -40 -30 -30|012345454363636363636363636372727272727272727272727272727272727272728|-3D8NO.g 1LUM0.g eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Paris|LMT PMT WET WEST CEST CET WEMT|-9.l -9.l 0 -10 -20 -10 -20|01232323232323232323232323232323232323232323232323234545463654545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-3bQ09.l MDA0 cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|11e6","Europe/Moscow|LMT MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|01232434565756865656565656565656565698656565656565656565656565656565656565656a6|-3D8Ou.h 1sQM0 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Riga|LMT RMT LST EET MSK CEST CET MSD EEST|-1A.y -1A.y -2A.y -20 -30 -20 -10 -40 -30|0121213456565647474747474747474838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383838383|-3D8NA.y 1xde0 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|64e4","Europe/Rome|LMT RMT CET CEST|-N.U -N.U -10 -20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-4aU0N.U 15snN.U T000 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810|","Europe/Simferopol|LMT SMT EET MSK CEST CET MSD EEST MSK|-2g.o -2g -20 -30 -20 -10 -40 -30 -40|0123454543636363636363636363272727636363727272727272727272727272727272727283|-3D8Og.o 1LUM0.o eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eN0 1cM0 1cM0 1cM0 1cM0 dV0 WO0 1cM0 1cM0 1fy0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|LMT IMT EET CET CEST EEST|-1x.g -1U.U -20 -10 -20 -30|0123434325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-3D8Nx.g AiLA.k 1UFeU.U WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|12e5","Europe/Tallinn|LMT TMT CET CEST EET MSK MSD EEST|-1D -1D -10 -20 -20 -30 -40 -30|0123214532323565656565656565657474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474747474|-3D8ND 1wI00 teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|13e5","Europe/Vienna|LMT CET CEST|-15.l -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-36Rd5.l UbX5.l 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1ao0 1co0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|LMT WMT KMT CET EET MSK CEST MSD EEST|-1F.g -1o -1z.A -10 -20 -30 -20 -40 -30|0123435636365757575757575757584848484848484848463648484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484848484|-3D8NF.g 1u5Ah.g 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05 MSD MSK MSK|-2V.E -30 -40 -50 -40 -30 -40|012323232323232324545452454545454545454545454545454545454545456525|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1fA0 1cM0 2pz0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 9Jd0 5gn0|10e5","Europe/Warsaw|LMT WMT CET CEST EET EEST|-1o -1o -10 -20 -20 -30|0123232345423232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-3D8No 1qDA0 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|17e5","HST|HST|a0|0||","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Maldives|LMT MMT +05|-4S -4S -50|012|-3D8QS 3eLA0|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Pacific/Kwajalein|LMT +11 +10 +09 -12 +12|-b9.k -b0 -a0 -90 c0 -c0|0123145|-2M0X9.k 1rDA9.k akp0 6Up0 12ry0 Wan0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|","MST|MST|70|0||","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","Pacific/Chatham|LMT +1215 +1245 +1345|-cd.M -cf -cJ -dJ|0123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-46jMd.M 37RbW.M 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|LMT LMT -1130 -11 -10 +14 +13|-cx.4 bq.U bu b0 a0 -e0 -d0|012343456565656565656565656|-38Fox.4 J1A0 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Bougainville|LMT PMMT +10 +09 +11|-am.g -9M.w -a0 -90 -b0|012324|-3D8Wm.g AvAx.I 1TCLM.w 7CN0 2MQp0|18e4","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|012121212121212121212121|-2l9nd.g 2uNXd.g Dc0 n610 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-00 -12 -11 +13|0 c0 b0 -d0|0123|-1iIo0 1GsA0 B7X0|1","Pacific/Fakaofo|LMT -11 +13|bo.U b0 -d0|012|-2M0Az.4 4ufXz.4|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|012121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 20o0 pc0 2hc0 bc0|88e4","Pacific/Tarawa|LMT +12|-bw.4 -c0|01|-2M0Xw.4|29e3","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|LMT LMT GST +09 GDT ChST|el -9D -a0 -90 -b0 -a0|0123242424242424242425|-54m9D 2glc0 1DFbD 6pB0 AhB0 3QL0 g2p0 3p91 WOX rX0 1zd0 Rb0 1wp0 Rb0 5xd0 rX0 5sN0 zb1 1C0X On0 ULb0|17e4","Pacific/Honolulu|LMT HST HDT HWT HPT HST|av.q au 9u 9u 9u a0|01213415|-3061s.y 1uMdW.y 8x0 lef0 8wWu iAu 46p0|37e4","Pacific/Kiritimati|LMT -1040 -10 +14|at.k aE a0 -e0|0123|-2M0Bu.E 3bIMa.E B7Xk|51e2","Pacific/Kosrae|LMT LMT +11 +09 +10 +12|d8.4 -aP.U -b0 -90 -a0 -c0|0123243252|-54maP.U 2glc0 xsnP.U axC0 HBy0 akp0 axd0 WOK0 1bdz0|66e2","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT LMT SST|-cB.c bm.M b0|012|-38FoB.c J1A0|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E QCnB.E 7mqu 1lnbu|10e3","Pacific/Niue|LMT -1120 -11|bj.E bk b0|012|-FScE.k suo0.k|12e2","Pacific/Norfolk|LMT +1112 +1130 +1230 +11 +12|-bb.Q -bc -bu -cu -b0 -c0|0123245454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2M0Xb.Q 21ILX.Q W01G Oo0 1COo0 9Jcu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Palau|LMT LMT +09|f2.4 -8V.U -90|012|-54m8V.U 2glc0|21e3","Pacific/Pitcairn|LMT -0830 -08|8E.k 8u 80|012|-2M0Dj.E 3UVXN.E|56","Pacific/Rarotonga|LMT LMT -1030 -0930 -10|-dk.U aD.4 au 9u a0|01234343434343434343434343434|-2Otpk.U 28zc0 13tbO.U IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|LMT +1220 +13 +14|-cj.c -ck -d0 -e0|01232323232|-XbMj.c BgLX.c 1yndk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00|75e3","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|"],"links":["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Iceland","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Chicago|US/Central","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|America/Yellowknife","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Godthab|America/Nuuk","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Iqaluit|America/Pangnirtung","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Phoenix|America/Creston","America/Phoenix|US/Arizona","America/Puerto_Rico|America/Anguilla","America/Puerto_Rico|America/Antigua","America/Puerto_Rico|America/Aruba","America/Puerto_Rico|America/Blanc-Sablon","America/Puerto_Rico|America/Curacao","America/Puerto_Rico|America/Dominica","America/Puerto_Rico|America/Grenada","America/Puerto_Rico|America/Guadeloupe","America/Puerto_Rico|America/Kralendijk","America/Puerto_Rico|America/Lower_Princes","America/Puerto_Rico|America/Marigot","America/Puerto_Rico|America/Montserrat","America/Puerto_Rico|America/Port_of_Spain","America/Puerto_Rico|America/St_Barthelemy","America/Puerto_Rico|America/St_Kitts","America/Puerto_Rico|America/St_Lucia","America/Puerto_Rico|America/St_Thomas","America/Puerto_Rico|America/St_Vincent","America/Puerto_Rico|America/Tortola","America/Puerto_Rico|America/Virgin","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|America/Nassau","America/Toronto|America/Nipigon","America/Toronto|America/Thunder_Bay","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|America/Rainy_River","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Indian/Christmas","Asia/Brunei|Asia/Kuching","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Reunion","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Riyadh|Antarctica/Syowa","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Currie","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT-0|Etc/GMT","Etc/GMT-0|Etc/GMT+0","Etc/GMT-0|Etc/GMT0","Etc/GMT-0|Etc/Greenwich","Etc/GMT-0|GMT","Etc/GMT-0|GMT+0","Etc/GMT-0|GMT-0","Etc/GMT-0|GMT0","Etc/GMT-0|Greenwich","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Berlin|Arctic/Longyearbyen","Europe/Berlin|Atlantic/Jan_Mayen","Europe/Berlin|Europe/Copenhagen","Europe/Berlin|Europe/Oslo","Europe/Berlin|Europe/Stockholm","Europe/Brussels|Europe/Amsterdam","Europe/Brussels|Europe/Luxembourg","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Kiev|Europe/Kyiv","Europe/Kiev|Europe/Uzhgorod","Europe/Kiev|Europe/Zaporozhye","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Paris|Europe/Monaco","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Maldives|Indian/Kerguelen","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Enderbury|Pacific/Kanton","Pacific/Guadalcanal|Pacific/Pohnpei","Pacific/Guadalcanal|Pacific/Ponape","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Port_Moresby|Antarctica/DumontDUrville","Pacific/Port_Moresby|Pacific/Chuuk","Pacific/Port_Moresby|Pacific/Truk","Pacific/Port_Moresby|Pacific/Yap","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Majuro","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"],"countries":["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Puerto_Rico America/Antigua","AI|America/Puerto_Rico America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Troll Antarctica/Vostok Pacific/Auckland Pacific/Port_Moresby Asia/Riyadh Antarctica/McMurdo Antarctica/DumontDUrville Antarctica/Syowa","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Puerto_Rico America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Puerto_Rico America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Kuching Asia/Brunei","BO|America/La_Paz","BQ|America/Puerto_Rico America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Toronto America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Toronto America/Iqaluit America/Winnipeg America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Inuvik America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver America/Panama America/Puerto_Rico America/Phoenix America/Blanc-Sablon America/Atikokan America/Creston","CC|Asia/Yangon Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Puerto_Rico America/Curacao","CX|Asia/Bangkok Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Berlin Europe/Copenhagen","DM|America/Puerto_Rico America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Kosrae Pacific/Port_Moresby Pacific/Guadalcanal Pacific/Chuuk Pacific/Pohnpei","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Puerto_Rico America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Abidjan Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Puerto_Rico America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Africa/Abidjan Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Kanton Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Puerto_Rico America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Puerto_Rico America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Brussels Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Paris Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Puerto_Rico America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Tarawa Pacific/Kwajalein Pacific/Majuro","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Puerto_Rico America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Chihuahua America/Ciudad_Juarez America/Ojinaga America/Mazatlan America/Bahia_Banderas America/Hermosillo America/Tijuana","MY|Asia/Kuching Asia/Singapore Asia/Kuala_Lumpur","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Brussels Europe/Amsterdam","NO|Europe/Berlin Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Asia/Dubai Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Asia/Dubai Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Berlin Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Berlin Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Puerto_Rico America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Asia/Dubai Indian/Maldives Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Puerto_Rico America/Port_of_Spain","TV|Pacific/Tarawa Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kyiv","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Tarawa Pacific/Midway Pacific/Wake","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Puerto_Rico America/St_Vincent","VE|America/Caracas","VG|America/Puerto_Rico America/Tortola","VI|America/Puerto_Rico America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Tarawa Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}')}},at=>{at(at.s=81844)}]);